/* ================================================================
   跨维度公共接口 — Portal Custom Stylesheet
   Interdimensional Public Interface · SYS-v4.1.7
   ================================================================ */

/* ================================================================
   PORTAL LOADER
================================================================ */

#portal-loader {
	position: fixed;
	inset: 0;
	background: #05070d;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.9s ease;
}
#portal-loader.fade-out {
	opacity: 0;
	pointer-events: none;
}

#loader-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.loader-content {
	position: relative;
	z-index: 1;
	text-align: center;
	width: min(380px, 90vw);
}

.loader-logo {
	width: 76px;
	height: 76px;
	margin: 0 auto 2em;
	border: 1px solid rgba(26,37,53,0.9);
	background: rgba(8,11,18,0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
}
.loader-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: brightness(0.9) saturate(0.5) drop-shadow(0 0 6px rgba(126,200,216,0.3));
}

.loader-sys-id {
	font-size: 0.58em;
	letter-spacing: 0.42em;
	text-transform: uppercase;
	color: #4a5a6a;
	margin-bottom: 0.9em;
}

.loader-title-zh {
	font-size: 1.55em;
	font-weight: 200;
	letter-spacing: 0.42em;
	color: #eaf2f8;
	margin-bottom: 0.3em;
	text-shadow:
		0 0 12px rgba(126,200,216,0.65),
		0 0 28px rgba(126,200,216,0.28),
		0 0 55px rgba(126,200,216,0.12);
}

.loader-title-en {
	font-size: 0.58em;
	letter-spacing: 0.38em;
	color: #7ec8d8;
	opacity: 0.7;
	margin-bottom: 2.4em;
}

/* Progress bar */
.loader-bar-track {
	width: 100%;
	height: 1px;
	background: #1a2535;
	margin-bottom: 0.9em;
	position: relative;
}
.loader-bar-fill {
	position: absolute;
	top: 0; left: 0; bottom: 0;
	width: 0%;
	background: #7ec8d8;
	box-shadow: 0 0 10px rgba(126,200,216,0.6), 0 0 24px rgba(126,200,216,0.2);
}
/* Bright head dot on bar */
.loader-bar-head {
	position: absolute;
	top: 50%;
	left: 0%;
	transform: translate(-50%, -50%);
	width: 4px;
	height: 4px;
	background: #c8eaf2;
	border-radius: 50%;
	box-shadow: 0 0 6px rgba(200,234,242,0.9), 0 0 14px rgba(126,200,216,0.6);
}

/* Status line */
.loader-info {
	display: flex;
	justify-content: space-between;
	font-size: 0.62em;
	letter-spacing: 0.1em;
}
#loader-pct {
	color: #7ec8d8;
	font-weight: 400;
	min-width: 3em;
	text-align: left;
}
#loader-msg {
	color: #4a5a6a;
	text-align: right;
	letter-spacing: 0.06em;
}

/* ================================================================
   CSS VARIABLES
================================================================ */
:root {
	--bg:      #080b12;
	--panel:   #0d1118;
	--border:  #1a2535;
	--accent:  #7ec8d8;
	--muted:   #8099aa;      /* lifted for legibility */
	--text:    #d0dde6;      /* slightly brighter */
	--heading: #eaf2f8;
}

/* ================================================================
   GLOBAL BASE
================================================================ */
*, *::before, *::after { box-sizing: border-box; }

body, #page-wrapper {
	background-color: var(--bg) !important;
	color: var(--text) !important;
}

/* Background grid overlay */
body::before {
	content: '';
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background-image:
		repeating-linear-gradient(0deg,  transparent, transparent 59px, rgba(26,37,53,0.3) 60px),
		repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(26,37,53,0.3) 60px);
	pointer-events: none;
	z-index: 0;
}

/* Subtle animated background drift */
@keyframes bgDrift {
	0%   { background-position: 0% 0%; }
	100% { background-position: 100% 100%; }
}

body {
	background-image: radial-gradient(ellipse at 30% 20%, #0b1525 0%, var(--bg) 70%);
	background-size: 300% 300%;
	animation: bgDrift 180s ease-in-out infinite alternate;
}

h1, h2, h3, h4 { color: var(--heading); }
a              { color: var(--accent); }
hr             { border-color: var(--border) !important; }
p              { color: var(--text); }

/* ================================================================
   HEADER
================================================================ */

/* Kill Helios homepage full-screen sizing and padding */
body.homepage #header,
#header {
	height: auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	position: relative !important;
	z-index: 100 !important;          /* sit above body::before grid & banner */
	background: #040609 !important;   /* solid — no bleed-through */
	border-bottom: 1px solid var(--border) !important;
}

/* Also suppress the ::after overlay Helios adds on homepage */
body.homepage #header::after {
	display: none !important;
}

#header .inner { background: transparent !important; }

#header .inner header h1 a,
#header .inner header h1 a#logo {
	color: var(--heading) !important;
	font-size: 1.25em;
	letter-spacing: 0.25em;
	text-transform: none;
	font-weight: 300;
	text-shadow: none;
}

#header .inner header hr  { border-color: var(--border) !important; }

#header .inner header p {
	color: var(--muted);
	font-size: 0.68em;
	letter-spacing: 0.25em;
	text-transform: uppercase;
}

#nav > ul > li > a {
	color: var(--text) !important;
	letter-spacing: 0.12em;
	font-size: 0.78em;
	text-transform: uppercase;
}
#nav > ul > li > a:hover { color: var(--accent) !important; }

#nav ul ul {
	background: #090c14 !important;
	border: 1px solid var(--border) !important;
}
#nav ul ul li a {
	color: var(--text) !important;
	font-size: 0.75em;
	letter-spacing: 0.08em;
}
#nav ul ul li a:hover { color: var(--accent) !important; }

/* Scroll enter button */
.button.circled.scrolly {
	background: transparent !important;
	border: 1px solid var(--accent) !important;
	color: var(--accent) !important;
	border-radius: 0 !important;
	letter-spacing: 0.25em;
	font-size: 0.7em;
	text-transform: uppercase;
	padding: 0.6em 1.8em;
	box-shadow: none !important;
}
.button.circled.scrolly:hover {
	background: rgba(126,200,216,0.08) !important;
}

/* ================================================================
   HERO / BANNER
================================================================ */
#banner {
	background: transparent !important;
	padding: 6em 2em 5em;
	position: relative;
	text-align: center;
	border-bottom: 1px solid var(--border);
	overflow: hidden;
}

/* Particle canvas — absolute fill inside banner */
#hero-particles {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	pointer-events: none;
	z-index: 0;
}

/* All hero content above canvas */
#banner header {
	position: relative;
	z-index: 1;
}

/* Edge glow panels */
.banner-edge-glow {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 220px;
	pointer-events: none;
	z-index: 1;
	will-change: opacity;
}
.banner-edge-glow--left {
	left: 0;
	background: linear-gradient(
		to right,
		rgba(126, 200, 216, 0.18) 0%,
		rgba(126, 200, 216, 0.06) 50%,
		transparent 100%
	);
}
.banner-edge-glow--right {
	right: 0;
	background: linear-gradient(
		to left,
		rgba(126, 200, 216, 0.18) 0%,
		rgba(126, 200, 216, 0.06) 50%,
		transparent 100%
	);
}

/* Hero logo */
.hero-logo {
	margin: 0 auto 2em;
	width: 88px;
	height: 88px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--border);
	padding: 14px;
	background: rgba(13, 17, 24, 0.6);
}

.hero-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: brightness(0.9) saturate(0.6);
	opacity: 0.85;
}

.hero-node-label {
	display: block;
	font-size: 0.65em;
	letter-spacing: 0.45em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 2em;
}

.hero-sep {
	display: block;
	width: 80px;
	height: 1px;
	background: var(--accent);
	opacity: 0.45;
	margin: 1.6em auto;
}

/* Main title — fluorescent glow */
.hero-title-zh {
	font-size: 2.8em;
	font-weight: 200;
	letter-spacing: 0.45em;
	color: var(--heading);
	margin: 0;
	line-height: 1.2;
	text-shadow:
		0 0 14px rgba(126, 200, 216, 0.75),
		0 0 32px rgba(126, 200, 216, 0.40),
		0 0 60px rgba(126, 200, 216, 0.18);
}

.hero-title-en {
	font-size: 0.82em;
	font-weight: 300;
	letter-spacing: 0.55em;
	color: var(--accent);
	text-transform: uppercase;
	margin: 0.6em 0 0;
	opacity: 0.85;
	text-shadow: 0 0 18px rgba(126, 200, 216, 0.35);
}

/* Hero intro block */
.hero-intro {
	margin: 2em auto 0;
	max-width: 560px;
	border: 1px solid var(--border);
	background: rgba(13, 17, 24, 0.55);
	padding: 1.4em 1.8em;
	text-align: left;
}

.hero-intro p {
	font-size: 0.8em;
	color: var(--text);
	line-height: 1.9;
	letter-spacing: 0.04em;
	margin: 0 0 0.6em;
}
.hero-intro p:last-child { margin-bottom: 0; }

.hero-intro .intro-stat {
	color: var(--accent);
	font-weight: 400;
}

.hero-desc {
	font-size: 0.82em;
	color: var(--muted);
	letter-spacing: 0.08em;
	max-width: 540px;
	margin: 0 auto;
	line-height: 1.9;
}

.scroll-anchor {
	display: inline-block;
	margin-top: 2.6em;
	padding: 0.55em 2.2em;
	border: 1px solid var(--border);
	color: var(--muted);
	font-size: 0.68em;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	text-decoration: none;
	transition: border-color 0.25s, color 0.25s;
}
.scroll-anchor:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* ================================================================
   CAROUSEL
================================================================ */
.carousel-header {
	text-align: center;
	padding: 2.5em 2em 0.5em;
	border-top: 1px solid var(--border);
}

.carousel {
	background: var(--panel) !important;
	border-bottom: 1px solid var(--border) !important;
}

.carousel .reel article {
	background: #090d16 !important;
	border: 1px solid var(--border) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	transition: transform 0.2s ease, border-color 0.2s ease;
	overflow: hidden;
	vertical-align: top !important; /* keep inline-block cards top-aligned */
	width: 24em !important;          /* uniform card width — matches longest card */
}
.carousel .reel article:hover {
	border-color: var(--accent) !important;
	transform: translateY(-4px);
}

/* Fixed-height image zone — same across all cards */
.carousel .reel article .image.featured {
	position: relative !important;
	left: 0 !important;
	width: 100% !important;
	height: 160px !important;
	margin: 0 0 1.2em 0 !important;
	overflow: hidden !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #07090f !important;
	border-bottom: 1px solid var(--border) !important;
}
.carousel .reel article .image.featured img {
	width: auto !important;
	height: 72px !important;
	max-width: 75% !important;
	object-fit: contain !important;
	display: block !important;
	filter: brightness(0.85) saturate(0.55) drop-shadow(0 0 8px rgba(126,200,216,0.12));
}

/* Closed institution logos — greyed out */
.carousel .reel article.inst-closed .image.featured img {
	filter: brightness(0.4) saturate(0.1) grayscale(0.8) !important;
}

.carousel .reel article header h3 {
	margin: 0 0 0.15em !important;
	line-height: 1.3 !important;
}
.carousel .reel article header h3 a {
	color: var(--heading) !important;
	letter-spacing: 0.04em;
	font-weight: 400;
	font-size: 0.95em;
}
.carousel .reel article header h3 a:hover { color: var(--accent) !important; }

.carousel .reel article p {
	color: var(--text) !important;
	font-size: 0.78em;
	line-height: 1.7;
}

/* Institution card internals */
.carousel .reel article {
	position: relative; /* for badge positioning */
}

.inst-name-en {
	display: block;
	font-size: 0.62em;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	opacity: 0.6;
	margin-top: 0.2em;
	font-weight: 300;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.inst-desc-sub {
	display: block;
	font-size: 0.88em;
	color: var(--muted);
	opacity: 0.6;
	margin-top: 0.4em;
	line-height: 1.65;
}

/* Closed / coming-soon badge */
.inst-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 0.58em;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 0.22em 0.7em;
	border: 1px solid #c06060;
	color: #c06060;
	background: rgba(8, 11, 18, 0.88);
	z-index: 2;
	pointer-events: none;
}

/* "More institutions" card */
.carousel .reel article.inst-more .image.featured {
	background: #07090f !important;
}
.carousel .reel article.inst-more .image.featured img {
	display: none !important;
}
.inst-more-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 0.6em;
}
.inst-more-dot {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--border);
	display: inline-block;
	margin: 0 3px;
}
.inst-more-dots { opacity: 0.5; }
.carousel .reel article.inst-more header h3 a {
	color: var(--muted) !important;
	letter-spacing: 0.08em;
}
.carousel .reel article.inst-more p {
	color: var(--muted) !important;
	opacity: 0.55;
	font-size: 0.75em !important;
}

/* ================================================================
   SECTION UTILITIES
================================================================ */
.section-label {
	display: block;
	font-size: 0.65em;
	letter-spacing: 0.45em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 0.5em;
	opacity: 0.75;
}

.section-title {
	font-size: 1.35em;
	font-weight: 300;
	letter-spacing: 0.2em;
	color: var(--heading);
	margin: 0 0 0.4em;
}

.section-divider {
	width: 40px;
	height: 1px;
	background: var(--border);
	margin: 1em 0 1.8em;
}
.section-divider.centered { margin-left: auto; margin-right: auto; }

.wrapper.style1,
.wrapper.style2 { background: transparent !important; }

.xd-container {
	max-width: 1200px;
	margin: 0 auto;
}

/* ================================================================
   ANNOUNCEMENTS + NEWS
================================================================ */
.news-section {
	border-top: 1px solid var(--border);
	padding: 4em 2em;
}

.news-section .news-head {
	text-align: center;
	margin-bottom: 2.5em;
}

.news-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	border: 1px solid var(--border);
}

@media (max-width: 768px) {
	.news-grid { grid-template-columns: 1fr; }
}

.news-col {
	background: var(--panel);
	padding: 2.5em;
	border-right: 1px solid var(--border);
}
.news-col:last-child { border-right: none; }

@media (max-width: 768px) {
	.news-col {
		border-right: none;
		border-bottom: 1px solid var(--border);
	}
	.news-col:last-child { border-bottom: none; }
}

.announcement-item {
	padding: 1.3em 0;
	border-bottom: 1px solid var(--border);
}
.announcement-item:last-child { border-bottom: none; }

.ann-meta {
	font-size: 0.62em;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent);
	opacity: 0.7;
	margin-bottom: 0.4em;
}

.ann-title {
	font-size: 0.9em;
	color: var(--heading);
	letter-spacing: 0.04em;
	font-weight: 400;
}

.ann-body {
	font-size: 0.8em;
	color: var(--text);
	line-height: 1.8;
	margin-top: 0.45em;
}

.news-item {
	padding: 0.95em 0;
	border-bottom: 1px solid var(--border);
}
.news-item:last-child { border-bottom: none; }

.news-item-title {
	font-size: 0.84em;
	color: var(--heading);
	letter-spacing: 0.03em;
	line-height: 1.55;
}

.news-item-ts {
	font-size: 0.65em;
	color: var(--muted);
	letter-spacing: 0.1em;
	margin-top: 0.3em;
}

/* ================================================================
   ABOUT SECTION
================================================================ */
.about-section {
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 4em 2em;
}

.about-section .about-head {
	text-align: center;
	margin-bottom: 2.5em;
}

.about-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid var(--border);
}

@media (max-width: 768px) {
	.about-grid { grid-template-columns: 1fr; }
}

.about-block {
	padding: 2.2em 2.4em;
	border-right: 1px solid var(--border);
}
.about-block:last-child { border-right: none; }

@media (max-width: 768px) {
	.about-block {
		border-right: none;
		border-bottom: 1px solid var(--border);
	}
	.about-block:last-child { border-bottom: none; }
}

.about-heading {
	font-size: 0.62em;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1.1em;
	opacity: 0.8;
}

.about-content {
	font-size: 0.84em;
	color: var(--text);
	line-height: 1.9;
}

/* ================================================================
   WORLDVIEW INDEX
================================================================ */
.worldview-section {
	border-top: 1px solid var(--border);
	padding: 4em 2em;
}

.worldview-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 1.6em 0 2em;
}

.wv-tag {
	padding: 0.4em 1.05em;
	border: 1px solid var(--border);
	font-size: 0.68em;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--muted);
	cursor: pointer;
	background: transparent;
	border-radius: 0;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
	font-family: inherit;
	/* strip browser button defaults */
	-webkit-appearance: none;
	appearance: none;
	outline: none;
	box-shadow: none;
	-webkit-tap-highlight-color: transparent;
}
.wv-tag:focus,
.wv-tag:focus-visible {
	outline: none;
	border-color: var(--accent);
	color: var(--accent);
}
.wv-tag:active {
	background: rgba(126, 200, 216, 0.12);
	border-color: var(--accent);
	color: var(--accent);
}
.wv-tag:hover {
	border-color: var(--accent);
	color: var(--accent);
}
.wv-tag.active {
	background: rgba(126, 200, 216, 0.08);
	border-color: var(--accent);
	color: var(--accent);
}

.wv-panels { position: relative; }

@keyframes panelEnter {
	from { opacity: 0; transform: translateY(5px); }
	to   { opacity: 1; transform: translateY(0); }
}

@keyframes panelScan {
	0%   { top: -1px; opacity: 0; }
	4%   { opacity: 1; }
	92%  { opacity: 0.4; }
	100% { top: calc(100% + 1px); opacity: 0; }
}

@keyframes instLogoPulse {
	0%, 100% { border-color: var(--border); }
	50%       { border-color: rgba(126, 200, 216, 0.32); }
}

@keyframes activeStatusBlink {
	0%, 75%, 100% { opacity: 1; }
	38%            { opacity: 0.2; }
}

.wv-panel {
	display: none;
	background: var(--panel);
	border: 1px solid var(--border);
	padding: 2.2em;
	position: relative;
	overflow: hidden;
}
.wv-panel.active {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 2.5em;
	animation: panelEnter 0.35s ease;
}

/* Scan line sweeps across active panel */
.wv-panel.active::before {
	content: '';
	position: absolute;
	left: -5%;
	right: -5%;
	height: 1px;
	background: linear-gradient(to right,
		transparent 0%,
		rgba(126, 200, 216, 0.18) 35%,
		rgba(126, 200, 216, 0.32) 50%,
		rgba(126, 200, 216, 0.18) 65%,
		transparent 100%
	);
	animation: panelScan 7s ease-in-out infinite;
	pointer-events: none;
	z-index: 5;
}

@media (max-width: 768px) {
	.wv-panel.active { grid-template-columns: 1fr; }
}

.wv-panel-text h3 {
	font-size: 1em;
	font-weight: 400;
	letter-spacing: 0.2em;
	color: var(--heading);
	margin: 0 0 0.9em;
}

.wv-panel-text p {
	font-size: 0.82em;
	color: var(--text);
	line-height: 1.9;
}

.wv-panel-meta {
	border-left: 1px solid var(--border);
	padding-left: 2.2em;
}

@media (max-width: 768px) {
	.wv-panel-meta {
		border-left: none;
		border-top: 1px solid var(--border);
		padding-left: 0;
		padding-top: 1.5em;
	}
}

.wv-meta-row {
	display: flex;
	justify-content: space-between;
	padding: 0.55em 0;
	border-bottom: 1px solid var(--border);
	font-size: 0.72em;
}
.wv-meta-row:last-child { border-bottom: none; }

.wv-meta-key {
	color: var(--muted);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.wv-meta-val {
	color: var(--accent);
	letter-spacing: 0.06em;
}

/* ACTIVE status dot indicator */
.wv-meta-active {
	position: relative;
	padding-left: 1.1em;
}
.wv-meta-active::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 5px rgba(126, 200, 216, 0.6);
	animation: activeStatusBlink 2.8s ease-in-out infinite;
}

/* ----------------------------------------------------------------
   WD Panel: Quote block
---------------------------------------------------------------- */
.wv-quote {
	margin: 1.6em 0 0;
	padding: 1em 1.4em;
	border-left: 2px solid var(--accent);
	background: rgba(126, 200, 216, 0.04);
	position: relative;
}
.wv-quote::after {
	content: '"';
	position: absolute;
	top: -0.15em;
	right: 1em;
	font-size: 3.5em;
	color: rgba(126, 200, 216, 0.08);
	font-family: Georgia, serif;
	line-height: 1;
	pointer-events: none;
}
.wv-quote-text {
	display: block;
	font-size: 0.82em;
	color: var(--text);
	line-height: 1.9;
	font-style: italic;
	letter-spacing: 0.02em;
	margin-bottom: 0.7em;
}
.wv-quote-cite {
	display: block;
	font-size: 0.62em;
	color: var(--accent);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-style: normal;
	opacity: 0.7;
}

/* ----------------------------------------------------------------
   WD Panel: Institution slots
---------------------------------------------------------------- */
.wv-institutions {
	margin-top: 1.8em;
	padding-top: 1.4em;
	border-top: 1px solid var(--border);
}

.wv-inst-grid {
	display: flex;
	flex-direction: column;
}
.wv-inst-item {
	display: flex;
	align-items: center;
	gap: 1em;
	padding: 0.75em 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.wv-inst-item:last-child { border-bottom: none; }

/* Logo placeholder box */
.wv-inst-logo {
	width: 46px;
	height: 46px;
	flex-shrink: 0;
	border: 1px solid var(--border);
	background: rgba(6, 10, 16, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	animation: instLogoPulse 4s ease-in-out infinite;
}
.wv-inst-item:nth-child(2) .wv-inst-logo { animation-delay: -1.4s; }
.wv-inst-item:nth-child(3) .wv-inst-logo { animation-delay: -2.8s; }

/* Corner accent brackets on logo box */
.wv-inst-logo::before,
.wv-inst-logo::after {
	content: '';
	position: absolute;
	width: 7px;
	height: 7px;
	border-color: var(--accent);
	border-style: solid;
	opacity: 0.45;
}
.wv-inst-logo::before {
	top: 2px; left: 2px;
	border-width: 1px 0 0 1px;
}
.wv-inst-logo::after {
	bottom: 2px; right: 2px;
	border-width: 0 1px 1px 0;
}

.wv-inst-info { flex: 1; min-width: 0; }

.wv-inst-name {
	font-size: 0.78em;
	color: var(--heading);
	letter-spacing: 0.05em;
	margin-bottom: 0.25em;
}
.wv-inst-en {
	font-size: 0.62em;
	color: var(--muted);
	letter-spacing: 0.07em;
	line-height: 1.5;
}

/* ================================================================
   NEWS ARTICLE PAGE
================================================================ */

/* Kill Helios inner hero on non-homepage too */
body.no-sidebar #header .inner { display: none !important; }
body.no-sidebar #header,
body.no-sidebar.is-preload #header {
	height: auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	position: relative !important;
	z-index: 100 !important;
	background: #040609 !important;
	border-bottom: 1px solid var(--border) !important;
}
body.no-sidebar #header::after { display: none !important; }

/* Wrapper override */
body.no-sidebar .wrapper.style1 {
	background: transparent !important;
	padding: 4em 0;
}

/* Breadcrumb */
.article-breadcrumb {
	font-size: 0.65em;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 2.5em;
	padding-bottom: 1em;
	border-bottom: 1px solid var(--border);
}
.article-breadcrumb a {
	color: var(--muted);
	text-decoration: none;
}
.article-breadcrumb a:hover { color: var(--accent); }
.article-breadcrumb .sep { margin: 0 0.6em; opacity: 0.4; }

/* Article metadata bar */
.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	border: 1px solid var(--border);
	margin-bottom: 2.5em;
}
.article-meta-cell {
	padding: 0.7em 1.4em;
	border-right: 1px solid var(--border);
	font-size: 0.65em;
	letter-spacing: 0.15em;
}
.article-meta-cell:last-child { border-right: none; }
.article-meta-label {
	text-transform: uppercase;
	color: var(--muted);
	display: block;
	margin-bottom: 0.3em;
	font-size: 0.85em;
	letter-spacing: 0.2em;
}
.article-meta-value {
	color: var(--accent);
	font-size: 1.1em;
}
@media (max-width: 600px) {
	.article-meta { flex-direction: column; }
	.article-meta-cell { border-right: none; border-bottom: 1px solid var(--border); }
	.article-meta-cell:last-child { border-bottom: none; }
}

/* Article header */
#main.news-article > header {
	text-align: left;
	margin-bottom: 2em;
}
#main.news-article > header h2 {
	font-size: 1.8em;
	font-weight: 300;
	letter-spacing: 0.1em;
	color: var(--heading);
	margin: 0 0 0.4em;
	line-height: 1.4;
}
#main.news-article > header p {
	font-size: 0.9em;
	color: var(--muted);
	letter-spacing: 0.05em;
	line-height: 1.7;
	margin: 0;
}

/* Article body */
#main.news-article p {
	font-size: 0.9em;
	color: var(--text);
	line-height: 1.95;
	margin-bottom: 1.4em;
}

#main.news-article section {
	margin-top: 2.5em;
	padding-top: 2em;
	border-top: 1px solid var(--border);
}
#main.news-article section header h3 {
	font-size: 0.75em;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1em;
	font-weight: 400;
	opacity: 0.85;
}

/* Info / notice blocks */
.article-notice {
	background: var(--panel);
	border: 1px solid var(--border);
	border-left: 3px solid var(--accent);
	padding: 1.2em 1.6em;
	margin: 1.8em 0;
	font-size: 0.82em;
	color: var(--text);
	line-height: 1.8;
}
.article-notice strong { color: var(--heading); }

/* Changelog / spec list */
.spec-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.4em;
	border: 1px solid var(--border);
}
.spec-list li {
	display: flex;
	gap: 1.2em;
	padding: 0.75em 1.2em;
	border-bottom: 1px solid var(--border);
	font-size: 0.82em;
	color: var(--text);
	line-height: 1.6;
}
.spec-list li:last-child { border-bottom: none; }
.spec-list .spec-key {
	min-width: 130px;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.9em;
	flex-shrink: 0;
}
.spec-list .spec-val { color: var(--text); }
.spec-list .tag-new  { color: var(--accent); }
.spec-list .tag-fix  { color: #d4a84b; }
.spec-list .tag-dep  { color: #c06060; }

/* Article featured image */
#main.news-article .image.featured {
	display: block;
	margin-bottom: 2.5em;
}
#main.news-article .image.featured img {
	width: 100%;
	height: auto;
	filter: brightness(0.55) saturate(0.35);
	border: 1px solid var(--border);
}

/* Back / related links row */
.article-footer-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 2em;
	margin-top: 2em;
	border-top: 1px solid var(--border);
	flex-wrap: wrap;
	gap: 1em;
}
.article-back-link {
	font-size: 0.72em;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted);
	text-decoration: none;
	border: 1px solid var(--border);
	padding: 0.5em 1.2em;
	transition: border-color 0.2s, color 0.2s;
}
.article-back-link:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* Related articles grid */
.related-grid {
	margin-top: 3em;
	padding-top: 2em;
	border-top: 1px solid var(--border);
}
.related-grid .related-label {
	font-size: 0.62em;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: var(--accent);
	opacity: 0.75;
	margin-bottom: 1.5em;
	display: block;
}
.related-items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--border);
}
@media (max-width: 768px) {
	.related-items { grid-template-columns: 1fr; }
}
.related-item {
	background: var(--panel);
	padding: 1.4em 1.6em;
}
.related-item-date {
	font-size: 0.62em;
	color: var(--muted);
	letter-spacing: 0.12em;
	margin-bottom: 0.5em;
}
.related-item-title {
	font-size: 0.82em;
	color: var(--heading);
	line-height: 1.5;
	text-decoration: none;
	display: block;
	transition: color 0.2s;
}
.related-item-title:hover { color: var(--accent); }

/* ================================================================
   FOOTER
================================================================ */
#footer {
	background: #040609 !important;
	border-top: 1px solid var(--border) !important;
}

h2.footer-col-heading {
	font-size: 0.68em !important;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	font-weight: 300;
	color: var(--accent) !important;
	border-bottom: 1px solid var(--border);
	padding-bottom: 0.8em;
	margin-bottom: 1em;
}

#footer .divided li { border-top-color: var(--border) !important; }

#footer .timestamp {
	color: var(--muted) !important;
	font-size: 0.68em;
	letter-spacing: 0.05em;
}

#footer .post.stub header h3 a {
	color: var(--text) !important;
	font-size: 0.87em;
	font-weight: 400;
}
#footer .post.stub header h3 a:hover { color: var(--accent) !important; }

.status-badge {
	display: inline-block;
	font-size: 0.6em;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	padding: 0.1em 0.45em;
	border: 1px solid;
	margin-right: 0.4em;
	vertical-align: middle;
}
.status-badge.ok   { color: var(--accent); border-color: var(--accent); }
.status-badge.warn { color: #d4a84b;       border-color: #d4a84b; }
.status-badge.err  { color: #c06060;       border-color: #c06060; }

.status-text {
	font-size: 0.82em;
	color: var(--text);
}

.quick-link-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin-top: 1em;
}

.quick-link {
	display: block;
	padding: 0.75em 0.5em;
	border: 1px solid var(--border);
	color: var(--muted);
	font-size: 0.72em;
	letter-spacing: 0.1em;
	text-align: center;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.quick-link:hover {
	border-color: var(--accent);
	color: var(--accent);
	background: rgba(126,200,216,0.05);
}
.quick-link-closed {
	opacity: 0.35;
	cursor: not-allowed;
	pointer-events: none;
	font-size: 0.65em;
}

#footer .contact header h3 {
	color: var(--muted) !important;
	font-size: 0.8em;
	font-weight: 300;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
#footer .contact p {
	font-size: 0.8em;
	color: var(--text);
}

#footer hr { border-color: var(--border) !important; }

.copyright ul.menu li {
	font-size: 0.72em;
	color: var(--muted) !important;
	letter-spacing: 0.1em;
}
.copyright ul.menu li a         { color: var(--muted) !important; }
.copyright ul.menu li a:hover   { color: var(--accent) !important; }
