/* ==========================================================================
   DGAUIS — Dark Authority + Glassmorphism Design System
   Emerald accent on deep navy. Taste-skill compliant.
   No pure black. No purple/blue AI gradient. Spring physics everywhere.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. Custom Properties
   --------------------------------------------------------------------------- */
:root {
	/* Navy palette (NO pure #000000) */
	--dg-navy-deep: #040a14;
	--dg-navy: #0a1628;
	--dg-navy-mid: #0f2847;
	--dg-navy-light: #1a3a6c;
	--dg-navy-surface: #0d1f3c;

	/* Emerald accent (single accent, saturation < 80%) */
	--dg-accent: #10B981;
	--dg-accent-dark: #FA422D;
	--dg-accent-glow: rgba(16, 185, 129, 0.3);
	--dg-accent-subtle: rgba(16, 185, 129, 0.1);

	/* Text hierarchy on dark */
	--dg-text-bright: #ffffff;
	--dg-text-primary: rgba(255, 255, 255, 0.95);
	--dg-text-dim: rgba(255, 255, 255, 0.75);
	--dg-text-ghost: rgba(255, 255, 255, 0.65);

	/* Glass surfaces */
	--dg-glass-bg: rgba(15, 40, 71, 0.55);
	--dg-glass-bg-heavy: rgba(10, 22, 40, 0.85);
	--dg-glass-border: rgba(255, 255, 255, 0.08);
	--dg-glass-border-strong: rgba(255, 255, 255, 0.15);
	--dg-glass-blur: 20px;

	/* Bento radii (taste-skill mandated) */
	--radius-lg: 2.5rem;
	--radius-md: 1.5rem;
	--radius-sm: 0.75rem;
	--radius-full: 9999px;

	/* Diffusion shadows (navy-tinted, NOT pure black) */
	--shadow-diffusion: 0 20px 40px -15px rgba(4, 10, 20, 0.4);
	--shadow-heavy: 0 40px 100px -20px rgba(4, 10, 20, 0.6);
	--shadow-card: 0 8px 32px rgba(4, 10, 20, 0.35);
	--shadow-inset-glass: inset 0 1px 0 rgba(255, 255, 255, 0.08);

	/* Timing functions */
	--t-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
	--t-smooth: cubic-bezier(0.16, 1, 0.3, 1);

	/* Fonts */
	--font-heading: 'DM Sans', sans-serif;
	--font-body: 'Satoshi', 'DM Sans', sans-serif;

	/* Layout constraints */
	--container-max: 1400px;
	--container-narrow: 1200px;
}

/* ---------------------------------------------------------------------------
   2. Global Resets & Base
   --------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	background-color: var(--dg-navy-deep);
	color: var(--dg-text-primary);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	overflow-x: hidden;
}

::selection {
	background: var(--dg-accent);
	color: var(--dg-navy-deep);
}

/* Custom scrollbar */
::-webkit-scrollbar {
	width: 8px;
}
::-webkit-scrollbar-track {
	background: var(--dg-navy-deep);
}
::-webkit-scrollbar-thumb {
	background: var(--dg-navy-light);
	border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
	background: var(--dg-accent);
}

/* ---------------------------------------------------------------------------
   3. Skip Link (Accessibility)
   --------------------------------------------------------------------------- */
.skip-link {
	position: absolute;
	top: -100%;
	left: 24px;
	z-index: 10000;
	padding: 12px 24px;
	background: var(--dg-accent);
	color: var(--dg-navy-deep);
	font-weight: 700;
	font-size: 0.875rem;
	text-decoration: none;
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	transition: top 0.2s ease;
}
.skip-link:focus {
	top: 0;
	outline: 3px solid var(--dg-text-bright);
	outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
   4. Noise Texture Utility
   --------------------------------------------------------------------------- */
.has-noise {
	position: relative;
}
.has-noise::after {
	display: none;
}

/* ---------------------------------------------------------------------------
   5. Scroll Reveal System
   --------------------------------------------------------------------------- */
.reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.8s var(--t-smooth),
	            transform 0.8s var(--t-smooth);
}
.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---------------------------------------------------------------------------
   6. Global Effects
   --------------------------------------------------------------------------- */

/* Hover lift with spring physics */
.hover-lift {
	transition: transform 0.4s var(--t-spring), box-shadow 0.4s var(--t-spring);
}
.hover-lift:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-heavy);
}
.hover-lift:active {
	transform: translateY(-2px);
}

/* Counter base (animated by JS) */
.counter {
	font-variant-numeric: tabular-nums;
	will-change: contents;
}

/* Arrow link */
.arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	color: var(--dg-text-bright);
	text-decoration: none;
	padding-top: 1.5rem;
}
.arrow-link i {
	transition: transform 0.3s var(--t-smooth);
}
.arrow-link:hover i {
	transform: translateX(5px);
}

/* View all wrapper */
.view-all-wrap {
	margin-top: 4rem;
	display: flex;
	justify-content: center;
}

/* ---------------------------------------------------------------------------
   7. Top Utility Bar
   --------------------------------------------------------------------------- */

/* Kill WP core block margin that adds 24px gap between blocks */
:where(.wp-site-blocks) > * { margin-block-start: 0 !important; }

.top-bar {
	background: #001029;
	color: #ffffff;
	font-size: 0.75rem;
	letter-spacing: 0.02em;
	padding: 6px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.top-bar-inner,
.top-bar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: var(--container-narrow);
	margin: 0 auto;
	padding: 0 24px;
	gap: 24px;
}
.top-bar__info {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}
.top-bar__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.top-bar__item svg {
	opacity: 0.5;
	flex-shrink: 0;
}
.top-bar a,
.top-bar span {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition: color 0.15s ease;
}
.top-bar a:hover {
	color: #fff;
}

/* Gov badge from draft */
.gov-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	opacity: 0.8;
}
.gov-badge i {
	color: var(--dg-accent);
	font-size: 1rem;
}

/* Top bar right side */
.top-bar-right,
.top-bar__right {
	display: flex;
	gap: 1.5rem;
	align-items: center;
}
.top-btn {
	background: transparent;
	border: none;
	color: white;
	opacity: 0.8;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-family: inherit;
	font-size: inherit;
	transition: opacity 0.2s ease;
}
.top-btn:hover {
	opacity: 1;
}

/* Language switch */
.lang-switch span {
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.2s ease;
}
.lang-switch span.active {
	opacity: 1;
	font-weight: 700;
}
.lang-switch .divider {
	opacity: 0.3;
	margin: 0 0.5rem;
	cursor: default;
}

/* Accessibility toolbar */
.a11y-toolbar {
	display: flex;
	gap: 4px;
}
.a11y-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 4px;
	color: var(--dg-text-ghost);
	cursor: pointer;
	font-size: 0.625rem;
	font-weight: 700;
	transition: all 0.2s var(--t-spring);
	font-family: inherit;
}
.a11y-btn:hover,
.a11y-btn:focus-visible {
	background: rgba(255, 255, 255, 0.1);
	color: var(--dg-text-bright);
	border-color: var(--dg-glass-border-strong);
}

@media (max-width: 768px) {
	.top-bar { display: none; }
}

/* ---------------------------------------------------------------------------
   Floating Accessibility Widget
   --------------------------------------------------------------------------- */
.a11y-float {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 9990;
}
.a11y-float__toggle {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(0, 22, 61, 0.9);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	fill:white;
	padding:6px;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(0, 10, 30, 0.3);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	font-family: inherit;
}
.a11y-float__toggle:hover {
	transform: scale(1.08);
	box-shadow: 0 6px 24px rgba(0, 10, 30, 0.4);
}
.a11y-float__toggle[aria-expanded="true"] {
	background: var(--dg-accent);
	border-color: var(--dg-accent);
}
.a11y-float__panel {
	position: absolute;
	bottom: calc(100% + 0.75rem);
	right: 0;
	min-width: 200px;
	background: rgba(0, 22, 61, 0.95);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 1rem;
	padding: 1rem;
	box-shadow: 0 16px 48px rgba(0, 5, 15, 0.5);
	animation: a11ySlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.a11y-float__panel[hidden] { display: none; }
@keyframes a11ySlideUp {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}
.a11y-float__title {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.4);
	margin-bottom: 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.a11y-float__actions {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.a11y-float__btn {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	width: 100%;
	padding: 0.5rem 0.75rem;
	background: transparent;
	border: none;
	border-radius: 0.5rem;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.8125rem;
	font-weight: 500;
	font-family: inherit;
	cursor: pointer;
	transition: all 0.15s ease;
	text-align: left;
}
.a11y-float__btn:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}
.a11y-float__btn svg {
	flex-shrink: 0;
	opacity: 0.6;
}
.a11y-float__btn:hover svg {
	opacity: 1;
}

/* Font size & contrast overrides */
html.font-size-large { font-size: 112.5%; }
html.font-size-x-large { font-size: 125%; }
html.high-contrast {
	--wp--preset--color--text: #ffffff;
	--wp--preset--color--white: #000000;
	--wp--preset--color--surface: #0a0a0a;
	--wp--preset--color--surface-alt: #1a1a1a;
	--wp--preset--color--primary: #10B981;
	--wp--preset--color--primary-dark: #ffffff;
	--wp--preset--color--accent: #34d399;
	--wp--preset--color--border: #ffffff;
	--dg-navy-deep: #000000;
	--dg-navy: #000000;
	--dg-navy-mid: #111111;
	--dg-navy-light: #222222;
	--dg-navy-surface: #111111;
	--dg-text-bright: #ffffff;
	--dg-text-primary: #ffffff;
	--dg-text-dim: rgba(255, 255, 255, 0.85);
	--dg-text-ghost: rgba(255, 255, 255, 0.7);
	--dg-glass-bg: rgba(17, 17, 17, 0.95);
	--dg-glass-bg-heavy: rgba(0, 0, 0, 0.95);
	--dg-glass-border: rgba(255, 255, 255, 0.3);
	--dg-glass-border-strong: rgba(255, 255, 255, 0.5);
	--dg-accent: #34d399;
	--dg-accent-dark: #10B981;
	--dg-accent-glow: rgba(52, 211, 153, 0.4);
	--dg-accent-subtle: rgba(52, 211, 153, 0.15);
	--shadow-diffusion: 0 20px 40px -15px rgba(255, 255, 255, 0.1);
	--shadow-card: 0 8px 32px rgba(255, 255, 255, 0.1);
}
/* HC: Force ALL inner-page text white — must beat body:not(.home) specificity */
html.high-contrast body:not(.home) .wp-site-blocks > .wp-block-group:not(.hero):not(.cta-band) {
	background: #000 !important;
	color: #fff !important;
}
html.high-contrast body:not(.home) main h1,
html.high-contrast body:not(.home) main h2,
html.high-contrast body:not(.home) main h3,
html.high-contrast body:not(.home) main h4,
html.high-contrast body:not(.home) main h5,
html.high-contrast body:not(.home) main h6 {
	color: #fff !important;
}
html.high-contrast body:not(.home) main p,
html.high-contrast body:not(.home) main li,
html.high-contrast body:not(.home) main td,
html.high-contrast body:not(.home) main th,
html.high-contrast body:not(.home) main span,
html.high-contrast body:not(.home) main div,
html.high-contrast body:not(.home) main label,
html.high-contrast body:not(.home) main strong {
	color: #fff !important;
}
html.high-contrast body:not(.home) main a:not(.wp-element-button):not(.footer__cta):not(.main-nav__link),
html.high-contrast body:not(.home) main a:not(.wp-element-button):not(.footer__cta):not(.main-nav__link):visited {
	color: #34d399 !important;
}
html.high-contrast body:not(.home) main a:not(.wp-element-button):not(.footer__cta):not(.main-nav__link):hover {
	color: #6ee7b7 !important;
}
html.high-contrast body:not(.home) main a,
html.high-contrast body:not(.home) main a:visited { color: #34d399 !important; }
html.high-contrast body:not(.home) main .has-white-background-color,
html.high-contrast body:not(.home) main .has-background {
	background: #000 !important;
}
html.high-contrast body:not(.home) main .has-text-color { color: #fff !important; }
html.high-contrast body:not(.home) main [class*="has-"][class*="-color"] { color: #fff !important; }
html.high-contrast body:not(.home) main input,
html.high-contrast body:not(.home) main textarea,
html.high-contrast body:not(.home) main select {
	background: #111 !important;
	color: #fff !important;
	border-color: #fff !important;
}
html.high-contrast body:not(.home) .breadcrumbs { color: #fff !important; }
html.high-contrast body:not(.home) .breadcrumbs a { color: #34d399 !important; }
/* HC: WP post title — has-primary-dark-color class from WP preset */
html.high-contrast body:not(.home) .wp-block-post-title,
html.high-contrast body:not(.home) h1.has-primary-dark-color,
html.high-contrast body:not(.home) h1[class*="has-"][class*="-color"],
html.high-contrast body:not(.home) .wp-block-query-title { color: #fff !important; }
/* HC: Override ALL inner-page !important link/nav rules — needs same selector + :visited */
html.high-contrast body:not(.home) main .transp-page__nav-link,
html.high-contrast body:not(.home) main .transp-page__nav-link:visited { color: #fff !important; }
html.high-contrast body:not(.home) main .transp-page__nav-link:hover { color: #34d399 !important; }
html.high-contrast body:not(.home) main .achiz-hub__doc,
html.high-contrast body:not(.home) main .achiz-hub__doc:visited { color: #34d399 !important; }
html.high-contrast body:not(.home) main .decl-back-btn,
html.high-contrast body:not(.home) main .decl-back-btn:visited { background: #fff !important; color: #000 !important; }
html.high-contrast body:not(.home) main .retea-back a,
html.high-contrast body:not(.home) main .retea-back a:visited { color: #34d399 !important; }
html.high-contrast body:not(.home) main .achiz-hub__card,
html.high-contrast body:not(.home) main .achiz-hub__card:visited { color: #fff !important; }
html.high-contrast body:not(.home) main .achiz-hub__list-item,
html.high-contrast body:not(.home) main .achiz-hub__list-item:visited { color: #fff !important; }
html.high-contrast body:not(.home) main .retea-hub__card,
html.high-contrast body:not(.home) main .retea-hub__card:visited { color: #fff !important; }
html.high-contrast body:not(.home) main .transp-page__badge { color: #000 !important; }
html.high-contrast body:not(.home) main .petitii-page__badge { color: #000 !important; }
/* HC: Achiz doc links + note */
html.high-contrast body:not(.home) main .achiz-hub__doc { color: #34d399 !important; }
html.high-contrast body:not(.home) main .achiz-hub__doc:hover { color: #6ee7b7 !important; }
html.high-contrast body:not(.home) main .achiz-hub__note { background: #111 !important; color: #fff !important; border-color: #fbbf24 !important; }
/* HC: Achiz card — the <a> tag inherits link color */
html.high-contrast body:not(.home) main .achiz-hub__card { color: #fff !important; }
html.high-contrast body:not(.home) main .achiz-hub__card-title { color: #fff !important; }
html.high-contrast body:not(.home) main .achiz-hub__card-desc { color: rgba(255,255,255,0.8) !important; }
html.high-contrast body:not(.home) main .achiz-hub__list-item { color: #fff !important; }
html.high-contrast body:not(.home) main .achiz-hub__list-info h3 { color: #fff !important; }
html.high-contrast body:not(.home) main .achiz-hub__list-info p { color: rgba(255,255,255,0.7) !important; }
/* HC: Declarations hero — override the navy gradient + dim text */
html.high-contrast body:not(.home) main .decl-hero { background: #000 !important; }
html.high-contrast body:not(.home) main .decl-hero__title { color: #fff !important; }
html.high-contrast body:not(.home) main .decl-hero__desc { color: rgba(255,255,255,0.85) !important; }
html.high-contrast body:not(.home) main .decl-stat { background: #111 !important; border-color: #fff !important; border-top-color: #34d399 !important; }
html.high-contrast body:not(.home) main .decl-stat__number { color: #fff !important; }
html.high-contrast body:not(.home) main .decl-stat__label { color: rgba(255,255,255,0.7) !important; }
html.high-contrast body:not(.home) main .decl-search { background: #111 !important; border-color: #fff !important; }
html.high-contrast body:not(.home) main .decl-search svg { color: rgba(255,255,255,0.7) !important; }
html.high-contrast body:not(.home) main .decl-search__input { color: #fff !important; }
html.high-contrast body:not(.home) main .decl-tab { border-color: #fff !important; color: #fff !important; }
html.high-contrast body:not(.home) main .decl-tab.is-active { background: #fff !important; color: #000 !important; }
html.high-contrast body:not(.home) main .decl-tabs-wrap { background: #000 !important; }
html.high-contrast body:not(.home) main .decl-section { background: #000 !important; }
html.high-contrast body:not(.home) main .decl-card { background: #111 !important; border-color: #fff !important; }
html.high-contrast body:not(.home) main .decl-card__icon svg { color: #34d399 !important; }
html.high-contrast body:not(.home) main .decl-card__name { color: #fff !important; }
html.high-contrast body:not(.home) main .decl-card__role { color: rgba(255,255,255,0.7) !important; }
html.high-contrast body:not(.home) main .decl-card__year { background: #fff !important; color: #000 !important; }
html.high-contrast body:not(.home) main .decl-card__btn--avere,
html.high-contrast body:not(.home) main .decl-card__btn--interese { background: #fff !important; color: #000 !important; border-color: #fff !important; }
html.high-contrast body:not(.home) main .decl-count { color: rgba(255,255,255,0.6) !important; }
html.high-contrast body:not(.home) main .decl-legal { background: #000 !important; }
html.high-contrast body:not(.home) main .decl-legal__heading { color: #fff !important; }
html.high-contrast body:not(.home) main .decl-legal__text p { color: #fff !important; }
html.high-contrast body:not(.home) main .decl-legal-link,
html.high-contrast body:not(.home) main .decl-legal-link:visited { background: #111 !important; border-color: #fff !important; color: #fff !important; }
html.high-contrast body:not(.home) main .decl-legal-link:hover { color: #34d399 !important; }
html.high-contrast body:not(.home) main .decl-legal-link__sub { color: rgba(255,255,255,0.6) !important; }
html.high-contrast body:not(.home) main .decl-back { background: #000 !important; }
html.high-contrast body:not(.home) main .decl-back-btn,
html.high-contrast body:not(.home) main .decl-back-btn:visited { background: #fff !important; color: #000 !important; }
html.high-contrast body:not(.home) main .decl-back-btn svg { color: #000 !important; }
/* HC: Retea pages */
html.high-contrast body:not(.home) main .retea-header__badge { color: #000 !important; }
html.high-contrast body:not(.home) main .retea-header__title { color: #fff !important; }
html.high-contrast body:not(.home) main .retea-header__sub { color: rgba(255,255,255,0.7) !important; }
html.high-contrast body:not(.home) main .retea-header__pdf { background: #fff !important; color: #000 !important; }
html.high-contrast body:not(.home) main .retea-count { color: rgba(255,255,255,0.6) !important; }
html.high-contrast body:not(.home) main .retea-table-wrap { border-color: #fff !important; }
html.high-contrast body:not(.home) main .retea-table-wrap thead th { background: #111 !important; color: #fff !important; border-color: #555 !important; }
html.high-contrast body:not(.home) main .retea-table-wrap tbody td { color: #fff !important; border-color: #333 !important; }
html.high-contrast body:not(.home) main .retea-table-wrap tbody td:first-child { color: rgba(255,255,255,0.5) !important; }
html.high-contrast body:not(.home) main .retea-table-wrap tbody td:nth-child(2) { color: #fff !important; }
html.high-contrast body:not(.home) main .retea-back a { color: #34d399 !important; }
html.high-contrast body:not(.home) main .retea-hub__card { color: #fff !important; }
html.high-contrast body:not(.home) main .retea-hub__card-year { color: #fff !important; }
html.high-contrast body:not(.home) main .retea-hub__card-label { color: rgba(255,255,255,0.6) !important; }
html.high-contrast body:not(.home) main .retea-hub__intro { color: rgba(255,255,255,0.7) !important; }
/* HC: Contact + Petitii pages */
html.high-contrast body:not(.home) main .contact-page__card { background: #111 !important; border-color: #fff !important; }
html.high-contrast body:not(.home) main .contact-page__card h3 { color: #fff !important; }
html.high-contrast body:not(.home) main .contact-page__row { color: #fff !important; }
html.high-contrast body:not(.home) main .contact-page__row a { color: #34d399 !important; }
html.high-contrast body:not(.home) main .contact-page__form-wrap { background: #111 !important; border-color: #fff !important; }
html.high-contrast body:not(.home) main .contact-page__form-title { color: #fff !important; }
html.high-contrast body:not(.home) main .petitii-page__form-wrap { background: #111 !important; border-color: #fff !important; }
html.high-contrast body:not(.home) main .petitii-page__info-card { background: #111 !important; border-color: #fff !important; }
html.high-contrast body:not(.home) main .petitii-page__info-card h3 { color: #fff !important; }
html.high-contrast body:not(.home) main .petitii-page__info-card p { color: #fff !important; }
html.high-contrast body:not(.home) main .petitii-page__info-card li { color: #fff !important; }
html.high-contrast body:not(.home) main .petitii-page__contact-row { color: #fff !important; }
html.high-contrast body:not(.home) main .petitii-page__contact-row a { color: #34d399 !important; }
/* HC: Transp pages info boxes + doc cards */
html.high-contrast body:not(.home) main .transp-page__info-box { background: #111 !important; border-color: #fff !important; }
html.high-contrast body:not(.home) main .transp-page__info-box h3 { color: #fff !important; }
html.high-contrast body:not(.home) main .transp-page__info-box p { color: #fff !important; }
html.high-contrast body:not(.home) main .transp-page__info-box li { color: #fff !important; }
html.high-contrast body:not(.home) main .transp-page__doc-card { background: #111 !important; border-color: #fff !important; }
html.high-contrast body:not(.home) main .transp-page__doc-info h3 { color: #fff !important; }
html.high-contrast body:not(.home) main .transp-page__doc-info p { color: rgba(255,255,255,0.6) !important; }
html.high-contrast body:not(.home) main .transp-page__doc-btn { background: #fff !important; color: #000 !important; }
html.high-contrast body:not(.home) main .transp-page__image-card { border-color: #fff !important; }
html.high-contrast body:not(.home) main .transp-page__image-hint { background: #111 !important; color: #fff !important; }
/* HC: Post listing pages (comunicate, anunturi) */
html.high-contrast body:not(.home) .wp-block-query .wp-block-group[style*="border-bottom"] { border-color: #333 !important; }
html.high-contrast body:not(.home) .wp-block-query .wp-block-post-title a { color: #34d399 !important; }
html.high-contrast body:not(.home) .wp-block-query .wp-block-post-date { color: rgba(255,255,255,0.5) !important; }
/* HC: Front page (body.home) */
html.high-contrast .hero { background: #000 !important; }
html.high-contrast .hero__bg { opacity: 0 !important; }
html.high-contrast .hero-card { background: #111 !important; border-color: #fff !important; }
html.high-contrast .notices-section { background: #000 !important; }
html.high-contrast .news-section { background: #000 !important; }
html.high-contrast .map-section { background: #000 !important; }
html.high-contrast .dir-section { background: #000 !important; }
/* HC: A11y widget */
html.high-contrast .a11y-float__panel { background: #111 !important; border: 1px solid #fff !important; }
html.high-contrast .a11y-float__btn { background: #000 !important; border-color: #fff !important; color: #fff !important; }
html.high-contrast .a11y-float__title { color: #fff !important; }
/* HC: Search modal */
html.high-contrast .search-modal__content { background: #111 !important; border: 1px solid #fff !important; }
html.high-contrast .search-modal__input { background: #000 !important; color: #fff !important; }
html.high-contrast .search-modal__result { border-color: #333 !important; color: #fff !important; }
html.high-contrast .search-modal__result:hover { background: #1a1a1a !important; }
/* HC: Footer / header stay dark */
html.high-contrast .site-footer { background: #000 !important; }
html.high-contrast .header-wrap { background: #000 !important; }
html.high-contrast .site-header { background: #000 !important; }
html.high-contrast .top-bar { background: #000 !important; }

/* ---------------------------------------------------------------------------
   8. Header Wrapper — Sticky Container
   --------------------------------------------------------------------------- */
.header-wrap {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: transform;
}
/* Push page content below the fixed header */
.wp-site-blocks {
	padding-top: 0 !important;
}
.wp-site-blocks > .wp-block-template-part:first-child + * {
	/* This targets the main content after the header template part */
}

/* ---------------------------------------------------------------------------
   9. Site Header — Floating Glass Navbar
   --------------------------------------------------------------------------- */
.site-header {
	background: #00163d;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	transition: background 0.3s ease, box-shadow 0.3s ease;
}
.header-wrap.header--scrolled .top-bar {
	display: none;
}
.header-wrap.header--scrolled .site-header {
	background: #00163d;
	box-shadow: 0 4px 24px rgba(0, 8, 24, 0.4);
}
.header-wrap.header--hidden {
	transform: translateY(-100%);
	pointer-events: none;
}

.site-header__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: var(--container-narrow);
	margin: 0 auto;
	padding: 10px 24px;
	gap: 32px;
}
.site-header__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--dg-text-bright);
	flex-shrink: 0;
}
.site-header__logo {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--dg-accent) 0%, var(--dg-accent-dark) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 0.875rem;
	color: var(--dg-navy-deep);
	box-shadow: 0 0 24px var(--dg-accent-glow);
	flex-shrink: 0;
}
.site-header__logo-img {
	height: 72px;
	width: auto;
	object-fit: contain;
	flex-shrink: 0;
	display: block;
}
.site-header__title {
	font-weight: 700;
	font-size: 0.8125rem;
	line-height: 1.3;
	max-width: 280px;
	color: var(--dg-text-bright);
}
.site-header__subtitle {
	font-size: 0.625rem;
	color: var(--dg-text-ghost);
	letter-spacing: 0.04em;
	margin-top: 1px;
}

/* Brand logo from draft */
.brand-logo {
	height: 32px;
	width: auto;
	display: block;
}

/* ---------------------------------------------------------------------------
   10. Pill Navigation (Glass Capsule)
   --------------------------------------------------------------------------- */
.main-nav {
	display: none;
}
@media (min-width: 1080px) {
	.main-nav {
		display: flex;
	}
}
.main-nav__list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 3px;
	gap: 2px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: var(--radius-full);
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.main-nav__item {
	position: relative;
}
.main-nav__link {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 9px 16px;
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: var(--radius-full);
	transition: all 0.2s var(--t-spring);
	white-space: nowrap;
	position: relative;
}
.main-nav__link:hover {
	color: #ffffff;
	background: rgba(16, 185, 129, 0.12);
}
.main-nav__link[aria-current="page"],
.main-nav__link.is-active {
	color: #ffffff;
	background: rgba(16, 185, 129, 0.18);
	box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.25);
}
.main-nav__link:focus-visible {
	outline: 2px solid var(--dg-accent);
	outline-offset: 1px;
}

/* Dropdown arrow */
.main-nav__link[aria-haspopup="true"]::after {
	content: '';
	width: 0;
	height: 0;
	border-left: 3.5px solid transparent;
	border-right: 3.5px solid transparent;
	border-top: 4px solid currentColor;
	opacity: 0.5;
	transition: transform 0.2s var(--t-spring);
}

/* Draft-style nav (floating) */
.navbar {
	position: fixed;
	top: 3.5rem;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	max-width: var(--container-narrow);
	z-index: 100;
	pointer-events: none;
}
@media (max-width: 768px) {
	.navbar { top: 1.5rem; }
}
.nav-container {
	background: rgba(10, 22, 40, 0.85);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--dg-glass-border);
	box-shadow: var(--shadow-diffusion), var(--shadow-inset-glass);
	border-radius: var(--radius-full);
	padding: 0.75rem 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	pointer-events: auto;
}
.nav-links {
	display: flex;
	gap: 2rem;
	align-items: center;
}
.nav-item {
	font-weight: 600;
	color: var(--dg-text-dim);
	text-decoration: none;
	font-size: 0.875rem;
	padding: 0.5rem 1rem;
	border-radius: var(--radius-full);
	transition: background-color 0.3s var(--t-spring), color 0.3s var(--t-spring);
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}
.nav-item:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--dg-text-bright);
}
@media (max-width: 1024px) {
	.nav-links { display: none; }
}

/* Mega Menu */
.dropdown-trigger {
	position: relative;
}
.mega-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(10px);
	background: var(--dg-navy-surface);
	border: 1px solid var(--dg-glass-border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-heavy);
	padding: 2.5rem;
	width: 600px;
	visibility: hidden;
	opacity: 0;
	transition: all 0.3s var(--t-spring);
	pointer-events: none;
}
.dropdown-trigger:hover .mega-menu {
	visibility: visible;
	opacity: 1;
	transform: translateX(-50%) translateY(20px);
	pointer-events: auto;
}
.mega-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
}
.mega-col h4 {
	font-family: var(--font-heading);
	font-size: 1rem;
	margin-bottom: 1rem;
	color: var(--dg-text-ghost);
	border-bottom: 1px solid var(--dg-glass-border);
	padding-bottom: 0.5rem;
}
.mega-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mega-col ul li a {
	display: block;
	padding: 0.5rem 0;
	color: var(--dg-text-dim);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.875rem;
	transition: color 0.2s var(--t-spring);
}
.mega-col ul li a:hover {
	color: var(--dg-accent);
}

/* Dropdown Panel (existing nav) */
.main-nav__sub {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	min-width: 240px;
	background: #00163d;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 6px;
	z-index: 100;
	list-style: none;
	margin: 0;
	box-shadow: 0 16px 48px rgba(0, 8, 24, 0.6);
	animation: dropdownIn 0.25s var(--t-smooth);
}
.main-nav__item:hover > .main-nav__sub,
.main-nav__item:focus-within > .main-nav__sub {
	display: block;
}
.main-nav__sub::before {
	content: '';
	position: absolute;
	top: -8px;
	left: 0;
	right: 0;
	height: 8px;
}
.main-nav__sub a {
	display: block;
	padding: 10px 14px;
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	font-size: 0.8125rem;
	font-weight: 500;
	border-radius: 8px;
	transition: all 0.15s ease;
	text-transform: none;
	letter-spacing: 0;
}
.main-nav__sub a:hover,
.main-nav__sub a:focus-visible {
	color: #ffffff;
	background: rgba(16, 185, 129, 0.15);
}

@keyframes dropdownIn {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(-6px);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

/* Header search trigger */
.header-search {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: none;
	border: none;
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	transition: color 0.2s ease;
	font-family: inherit;
}
.header-search:hover {
	color: #10B981;
}
.header-search svg {
	flex-shrink: 0;
}

/* ---------------------------------------------------------------------------
   11. Mobile Menu
   --------------------------------------------------------------------------- */
.mobile-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	color: var(--dg-text-bright);
	cursor: pointer;
	transition: background 0.2s var(--t-spring);
	font-family: inherit;
}
@media (min-width: 1080px) {
	.mobile-toggle { display: none; }
}
.mobile-toggle:hover {
	background: rgba(255, 255, 255, 0.1);
}
.mobile-toggle:focus-visible {
	outline: 2px solid var(--dg-accent);
	outline-offset: 2px;
}

.mobile-menu {
	position: fixed;
	inset: 0;
	background: var(--dg-navy-deep);
	z-index: 9998;
	display: flex;
	flex-direction: column;
	padding: 80px 32px 32px;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.4s var(--t-smooth);
}
.mobile-menu.is-open {
	transform: translateX(0);
}
/* Mobile: remove gap between search icon and hamburger */
@media (max-width: 1080px) {
	.site-header__inner { gap: 12px; }
	.header-search { order: 10; }
	.mobile-toggle { order: 11; }
}

.mobile-menu__brand {
	position: absolute;
	top: 20px;
	left: 32px;
	display: flex;
	align-items: center;
}
.mobile-menu__brand img {
	height: 78px;
	width: auto;
	object-fit: contain;
	transition: opacity 0.2s ease;
}
.mobile-menu__brand:hover img {
	opacity: 0.85;
}
.mobile-menu__close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	color: var(--dg-text-dim);
	cursor: pointer;
	font-size: 1.25rem;
	font-family: inherit;
	transition: all 0.2s var(--t-spring);
}
.mobile-menu__close:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--dg-text-bright);
}
.mobile-menu__nav {
	list-style: none;
	margin: 0;
	padding: 2rem 0 0 0;
}
.mobile-menu__nav li {
	opacity: 0;
	transform: translateX(24px);
}
.mobile-menu.is-open .mobile-menu__nav li {
	opacity: 1;
	transform: translateX(0);
	transition: opacity 0.4s ease, transform 0.4s var(--t-smooth);
}
.mobile-menu.is-open .mobile-menu__nav li:nth-child(1)  { transition-delay: 0.05s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(2)  { transition-delay: 0.10s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(3)  { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(4)  { transition-delay: 0.20s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(5)  { transition-delay: 0.25s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(6)  { transition-delay: 0.30s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(7)  { transition-delay: 0.35s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(8)  { transition-delay: 0.40s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(9)  { transition-delay: 0.45s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(10) { transition-delay: 0.50s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(11) { transition-delay: 0.55s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(12) { transition-delay: 0.60s; }
.mobile-menu__nav a {
	display: block;
	padding: 16px 0;
	color: var(--dg-text-dim);
	text-decoration: none;
	font-weight: 700;
	font-size: 1.125rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	transition: color 0.15s ease, padding-left 0.2s var(--t-spring);
}
.mobile-menu__nav a:hover {
	color: var(--dg-text-bright);
	padding-left: 8px;
}
.mobile-menu__nav a.is-active {
	color: #10B981;
	border-bottom-color: rgba(16, 185, 129, 0.2);
}

/* Mobile menu — collapsible submenu accordion */
.mobile-menu__has-sub { position: relative; }
.mobile-menu__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 12px 0;
	font-size: 1.125rem;
	font-family: inherit;
	font-weight: 700;
	color: var(--dg-text-dim);
	background: none;
	border: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	cursor: pointer;
	transition: color 0.15s ease;
	text-align: left;
}
.mobile-menu__toggle:hover { color: var(--dg-text-bright); }
.mobile-menu__toggle svg {
	flex-shrink: 0;
	transition: transform 0.25s ease;
	opacity: 0.4;
}
.mobile-menu__toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
	opacity: 0.7;
}
.mobile-menu__sub {
	list-style: none;
	margin: 0;
	padding: 0 0 0.5rem 1rem;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, opacity 0.2s ease;
	opacity: 0;
}
.mobile-menu__sub.is-open {
	max-height: 400px;
	opacity: 1;
}
.mobile-menu__sub li { margin-bottom: 0; }
.mobile-menu__sub a {
	display: block;
	padding: 8px 0;
	font-size: 1rem;
	color: var(--dg-text-dim);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.03);
	transition: color 0.15s ease, padding-left 0.15s ease;
}
.mobile-menu__sub a:hover {
	color: #10B981;
	padding-left: 6px;
}
.mobile-menu__sub a.is-active { color: #10B981; }

/* Mobile menu contact info (mirrors top-bar for mobile) */
.mobile-menu__contact {
	margin-top: auto;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.mobile-menu__contact-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--dg-text-dim);
	text-decoration: none;
	font-size: 0.8125rem;
	transition: color 0.15s ease;
}
a.mobile-menu__contact-item:hover {
	color: #10B981;
}
.mobile-menu__contact-item svg {
	flex-shrink: 0;
	color:var(--dg-accent);
}

/* ---------------------------------------------------------------------------
   12. Typography
   --------------------------------------------------------------------------- */
.display-title {
	font-family: var(--font-heading);
	font-size: clamp(3.5rem, 8vw, 6rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.04em;
	margin-bottom: 2rem;
	color: var(--dg-text-bright);
}
.display-title em {
	font-style: normal;
	color: var(--dg-text-dim);
}

.title-h2 {
	font-family: var(--font-heading);
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--dg-text-bright);
}

.hero-desc {
	font-size: 1.25rem;
	color: var(--dg-text-dim);
	max-width: 500px;
	margin-bottom: 3rem;
	line-height: 1.6;
}

/* Section headings */
.section-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--dg-accent);
	margin-bottom: 12px;
}
.section-label::before {
	content: '';
	width: 20px;
	height: 2px;
	background: var(--dg-accent);
	border-radius: 1px;
}
.section-title {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 0 12px;
	color: var(--dg-navy-mid);
}
.section-desc {
	color: var(--dg-text-dim);
	font-size: 1rem;
	line-height: 1.6;
	max-width: 540px;
}

/* Section layouts from draft */
.section-container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 10rem 2rem;
}
.section-heading {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 4rem;
	flex-wrap: wrap;
	gap: 2rem;
}
.section-heading.align-right {
	justify-content: flex-end;
	text-align: right;
}
.section-heading.grid-heading {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 4rem;
	align-items: start;
}
@media (max-width: 1024px) {
	.section-heading.grid-heading { grid-template-columns: 1fr; }
}
.section-lead {
	font-size: 1.125rem;
	color: var(--dg-text-dim);
	max-width: 400px;
	margin-top: 1rem;
}

/* ---------------------------------------------------------------------------
   13. Buttons
   --------------------------------------------------------------------------- */
.action-btn {
	background: var(--dg-accent);
	color: var(--dg-navy-deep);
	border: none;
	padding: 1rem 2rem;
	border-radius: var(--radius-full);
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.25s var(--t-spring), box-shadow 0.25s var(--t-spring);
	font-family: inherit;
}
.action-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px var(--dg-accent-glow);
}
.action-btn:active {
	transform: translateY(0) scale(0.98);
}

.action-btn-small {
	background: var(--dg-accent);
	color: var(--dg-navy-deep);
	border: none;
	padding: 0.6rem 1.4rem;
	border-radius: var(--radius-full);
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: transform 0.25s var(--t-spring), box-shadow 0.25s var(--t-spring);
}
.action-btn-small:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px var(--dg-accent-glow);
}

.action-btn-dark {
	background: var(--dg-text-bright);
	color: var(--dg-navy-deep);
	border: none;
	padding: 1rem 2rem;
	border-radius: var(--radius-full);
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: transform 0.25s var(--t-spring), box-shadow 0.25s var(--t-spring);
}
.action-btn-dark:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-card);
}

.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	background: var(--dg-accent);
	color: var(--dg-navy-deep);
	font-weight: 700;
	font-size: 0.875rem;
	border: none;
	border-radius: var(--radius-sm);
	text-decoration: none;
	cursor: pointer;
	transition: all 0.25s var(--t-spring);
	font-family: inherit;
}
.btn-primary:hover {
	transform: translateY(-2px);
	color:white;
	box-shadow: 0 8px 24px var(--dg-accent-glow);
	background: var(--dg-accent-dark);
}
.btn-primary:active {
	transform: translateY(0) scale(0.98);
}

.btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	background: transparent;
	color: var(--dg-text-dim);
	font-weight: 700;
	font-size: 0.875rem;
	border: 1px solid var(--dg-glass-border-strong);
	border-radius: var(--radius-sm);
	text-decoration: none;
	cursor: pointer;
	transition: all 0.25s var(--t-spring);
	font-family: inherit;
}
.btn-outline:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.25);
	color: var(--dg-text-bright);
	transform: translateY(-1px);
}

/* Filter pills */
.filter-pills {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}
.pill {
	background: transparent;
	border: 1px solid var(--dg-glass-border-strong);
	padding: 0.75rem 1.5rem;
	border-radius: var(--radius-full);
	color: var(--dg-text-dim);
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s var(--t-spring);
	display: inline-block;
	font-family: inherit;
}
.pill.active,
.pill:hover {
	background: var(--dg-accent);
	color: var(--dg-navy-deep);
	border-color: var(--dg-accent);
}
.pill.outline {
	padding: 1rem 2rem;
	text-align: center;
}

/* ---------------------------------------------------------------------------
   14. Badges
   --------------------------------------------------------------------------- */
.badge {
	display: inline-block;
	padding: 0.4rem 1rem;
	border-radius: var(--radius-full);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 2rem;
	width: max-content;
}
.badge.emerald {
	background: var(--dg-accent-subtle);
	color: var(--dg-accent);
	border: 1px solid rgba(16, 185, 129, 0.2);
}
.badge.slate {
	background: rgba(255, 255, 255, 0.05);
	color: var(--dg-text-primary);
	border: 1px solid var(--dg-glass-border);
}
.badge.zinc {
	background: var(--dg-navy-surface);
	color: var(--dg-text-dim);
	border: 1px solid var(--dg-glass-border);
}

/* ---------------------------------------------------------------------------
   15. Hero Section
   --------------------------------------------------------------------------- */
.hero {
	position: relative;
	background: #00163d;
	color: #ffffff;
	overflow: hidden;
}
.hero__container {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	align-items: center;
	max-width: 1400px;
	margin: 0 auto;
	padding: 11rem 2.5rem 5rem;
	gap: 3rem;
	min-height: 100dvh;
}
@media (max-width: 1024px) {
	.hero__container {
		grid-template-columns: 1fr;
		padding: 9rem 1.5rem 3rem;
		gap: 2.5rem;
	}
}
.hero__left { position: relative; z-index: 2; }
.hero__right {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}
@media (max-width: 1024px) {
	.hero__right { align-items: stretch; }
}

/* Background orbs */
.hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}
.hero__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	animation: orbFloat 12s ease-in-out infinite alternate;
}
.hero__orb--1 {
	width: 500px;
	height: 500px;
	top: -180px;
	right: -100px;
	background: radial-gradient(circle, var(--dg-accent-glow) 0%, transparent 70%);
}
.hero__orb--2 {
	width: 350px;
	height: 350px;
	bottom: -120px;
	left: -60px;
	background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
	animation-delay: -4s;
	animation-duration: 15s;
}
.hero__orb--3 {
	width: 200px;
	height: 200px;
	top: 40%;
	left: 20%;
	background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
	animation-delay: -8s;
	animation-duration: 18s;
}
@keyframes orbFloat {
	0% { transform: translate(0, 0) scale(1); }
	100% { transform: translate(30px, -20px) scale(1.08); }
}

/* Grid pattern overlay */
.hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
	-webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Display title */
.display-title {
	font-family: var(--font-heading);
	font-size: clamp(3.25rem, 7.5vw, 5.5rem);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.04em;
	color: var(--dg-text-bright);
	margin: 0 0 1.5rem;
}
.display-title em {
	font-style: normal;
	color: var(--dg-text-ghost);
}
.hero-desc {
	font-size: 1.15rem;
	color: var(--dg-text-dim);
	max-width: 480px;
	line-height: 1.65;
	margin-bottom: 2rem;
}

/* Status pill with pulse dot */
.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1.2rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--dg-glass-border);
	border-radius: var(--radius-full);
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 2rem;
	box-shadow: var(--shadow-diffusion), var(--shadow-inset-glass);
	color: var(--dg-text-dim);
}
.pulse-dot {
	width: 8px;
	height: 8px;
	background: var(--dg-accent);
	border-radius: 50%;
	position: relative;
}
.pulse-dot::after {
	content: '';
	position: absolute;
	inset: -4px;
	background: var(--dg-accent);
	border-radius: 50%;
	opacity: 0.4;
	animation: pulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}
@keyframes pulse {
	0% { transform: scale(0.5); opacity: 0.8; }
	100% { transform: scale(3.5); opacity: 0; }
}

/* Hero badge (existing layout) */
.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 16px;
	border-radius: 24px;
	background: var(--dg-accent-subtle);
	border: 1px solid rgba(16, 185, 129, 0.25);
	font-size: 0.6875rem;
	font-weight: 600;
	color: var(--dg-accent);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 24px;
}
.hero__badge::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--dg-accent);
	box-shadow: 0 0 8px var(--dg-accent);
	animation: pulse 2s ease-in-out infinite;
}

/* Hero centered layout */
.hero__center {
	position: relative;
	z-index: 2;
	max-width: 740px;
	margin: 0 auto;
	padding: 9.5rem 2rem 3.5rem;
	text-align: center;
}
@media (max-width: 768px) {
	.hero__center { padding: 7.5rem 1.25rem 2.5rem; }
}
.hero__heading {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 4.5vw, 2.75rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.025em;
	color: #ffffff;
	margin: 0 0 1rem;
}
.hero__sub {
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.55;
	margin: 0 auto 2rem;
	max-width: 560px;
}

/* Quick filter pills */
.hero__quick {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: 2rem;
}
.hero__quick-label {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.35);
	font-weight: 500;
	margin-right: 0.25rem;
}
.hero__quick-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.9rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 9999px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}
.hero__quick-pill:hover {
	background: rgba(16, 185, 129, 0.12);
	border-color: rgba(16, 185, 129, 0.25);
	color: #ffffff;
}
.hero__quick-pill svg { opacity: 0.5; }
.hero__quick-pill:hover svg { opacity: 1; }
.hero__quick-count { font-weight: 700; color: var(--dg-accent); }
.hero__quick-pill--all {
	background: rgba(16, 185, 129, 0.1);
	border-color: rgba(16, 185, 129, 0.2);
	color: var(--dg-accent);
}
.hero__quick-pill--all:hover {
	background: var(--dg-accent);
	border-color: var(--dg-accent);
	color: #fff;
}

/* Compact announcements */
.hero__announcements {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}
.hero__announce {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 1rem 0.4rem 0.5rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 9999px;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.75rem;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.2s ease;
}
.hero__announce:hover {
	background: rgba(255, 255, 255, 0.07);
	color: rgba(255, 255, 255, 0.75);
}
.hero__announce-badge {
	padding: 2px 8px;
	background: rgba(16, 185, 129, 0.15);
	border-radius: 9999px;
	font-size: 0.625rem;
	font-weight: 700;
	color: var(--dg-accent);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.hero__announce-badge--blue {
	background: rgba(59, 130, 246, 0.15);
	color: #60a5fa;
}

/* ===========================================================================
   NOTICES SECTION — Separate section for important announcements
   =========================================================================== */
.notices-section {
	background: #f8fafc;
	padding: 3.5rem 2rem;
	border-top: none;
}
.notices-section__inner {
	max-width: 1400px;
	margin: 0 auto;
}
.notices-section__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}
@media (max-width: 768px) {
	.notices-section__grid { grid-template-columns: 1fr; }
}
.notice-card {
	padding: 2rem 2.25rem;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	transition: box-shadow 0.25s ease;
}
.notice-card:hover {
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.notice-card__badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: 9999px;
	background: rgba(16, 185, 129, 0.1);
	color: #047857;
	border: 1px solid rgba(16, 185, 129, 0.15);
	margin-bottom: 1rem;
}
.notice-card__badge--blue {
	background: rgba(59, 130, 246, 0.08);
	color: #1d4ed8;
	border-color: rgba(59, 130, 246, 0.15);
}
.notice-card__title {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
	margin: 0 0 0.75rem;
}
.notice-card__desc {
	font-size: 0.9375rem;
	color: #64748b;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}
.notice-card__actions {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}
.notice-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.6rem 1.25rem;
	font-size: 0.8125rem;
	font-weight: 600;
	font-family: inherit;
	border-radius: 9999px;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}
.notice-card__btn--primary {
	background: #1d4ed8;
	color: #fff;
	border: none;
}
.notice-card__btn--primary:hover {
	background: #1e40af;
	transform: translateY(-1px);
}
.notice-card__btn--accent {
	background: #10B981;
	color: #fff;
	border: none;
}
.notice-card__btn--accent:hover {
	background: var(--dg-accent-dark);
	transform: translateY(-1px);
}
.notice-card__btn--outline {
	background: transparent;
	color: #475569;
	border: 1px solid #e2e8f0;
}
.notice-card__btn--outline:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: #0f172a;
}
/* Expandable detail panel inside notice card */
.notice-card .hero-spotlight__panel {
	margin-top: 1rem;
	padding: 1.25rem 1.5rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	color: #475569;
	font-size: 0.875rem;
	line-height: 1.6;
}
.notice-card .hero-spotlight__panel[hidden] { display: none; }
.notice-card .hero-spotlight__panel strong { color: #0f172a; }
.notice-card .hero-spotlight__panel p { margin: 0 0 0.5rem; }
.notice-card .hero-spotlight__panel p:last-child { margin-bottom: 0; }

/* Override WordPress block layout margins that cause gaps between sections */
:root :where(.is-layout-flow) > * {
	margin-block-start: 0;
	margin-block-end: 0;
}
:root :where(.is-layout-constrained) > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* Force white background on all inner page content areas */
body:not(.home) .wp-site-blocks > .wp-block-group:not(.hero):not(.cta-band) {
	background: #ffffff !important;
	color: #0f172a !important;
}
body:not(.home) .wp-site-blocks > .wp-block-group .has-white-background-color {
	background-color: #ffffff !important;
}
body:not(.home) .wp-site-blocks > .wp-block-group .has-text-color {
	color: #0f172a !important;
}
/* Ensure headings on inner pages are dark */
body:not(.home) main h1,
body:not(.home) main h2,
body:not(.home) main h3,
body:not(.home) main h4,
body:not(.home) main h5,
body:not(.home) main h6 {
	color: #0f172a;
}
/* Ensure paragraphs on inner pages are readable */
body:not(.home) main p,
body:not(.home) main li,
body:not(.home) main td,
body:not(.home) main th,
body:not(.home) main span,
body:not(.home) main div {
	color: inherit;
}
/* Links on inner pages */
body:not(.home) main a:not(.wp-element-button):not(.footer__cta):not(.main-nav__link) {
	color: var(--dg-accent);
}
body:not(.home) main a:not(.wp-element-button):hover {
	color: var(--dg-accent-dark);
}
/* Form styling on inner pages */
body:not(.home) main input[type="text"],
body:not(.home) main input[type="email"],
body:not(.home) main input[type="tel"],
body:not(.home) main input[type="search"],
body:not(.home) main textarea,
body:not(.home) main select {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 0.5rem;
	padding: 0.65rem 1rem;
	font-family: inherit;
	font-size: 0.9375rem;
	color: #0f172a;
	width: 100%;
	transition: border-color 0.2s ease;
}
body:not(.home) main input:focus,
body:not(.home) main textarea:focus,
body:not(.home) main select:focus {
	border-color: var(--dg-accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
body:not(.home) main input[type="submit"],
body:not(.home) main button[type="submit"] {
	background: var(--dg-accent);
	color: #fff;
	border: none;
	padding: 0.75rem 2rem;
	border-radius: 9999px;
	font-weight: 600;
	font-family: inherit;
	font-size: 0.9375rem;
	cursor: pointer;
	transition: background 0.2s ease;
}
body:not(.home) main input[type="submit"]:hover,
body:not(.home) main button[type="submit"]:hover {
	background: var(--dg-accent-dark);
}
/* CF7 form label styling */
body:not(.home) main .wpcf7 label {
	display: block;
	font-weight: 600;
	font-size: 0.875rem;
	color: #334155;
	margin-bottom: 0.35rem;
}
body:not(.home) main .wpcf7 p {
	margin-bottom: 1rem;
}
/* Breadcrumbs on inner pages */
body:not(.home) .breadcrumbs {
	color: #64748b;
}
body:not(.home) .breadcrumbs a {
	color: #94a3b8;
}
body:not(.home) .breadcrumbs a:hover {
	color: var(--dg-accent);
}
/* WP file block styling */
body:not(.home) main .wp-block-file {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.5rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	margin-bottom: 1rem;
}
body:not(.home) main .wp-block-file a:first-child {
	font-weight: 600;
	color: #0f172a;
}
body:not(.home) main .wp-block-file .wp-block-file__button {
	background: var(--dg-accent);
	color: #fff;
	border-radius: 9999px;
	padding: 0.5rem 1.25rem;
	font-size: 0.8125rem;
	font-weight: 600;
}
/* Table styling on inner pages */
body:not(.home) main table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}
body:not(.home) main table th {
	background: #f1f5f9;
	font-weight: 700;
	text-align: left;
	padding: 0.75rem 1rem;
	border: 1px solid #e2e8f0;
	color: #0f172a;
}
body:not(.home) main table td {
	padding: 0.6rem 1rem;
	border: 1px solid #e2e8f0;
	color: #334155;
}
body:not(.home) main table tr:hover td {
	background: #f8fafc;
}
/* Image on inner pages */
body:not(.home) main .wp-block-image img {
	border-radius: 0.75rem;
	max-width: 100%;
	height: auto;
}
/* Separator */
body:not(.home) main .wp-block-separator {
	border-color: #e2e8f0;
}

/* Old hero notices (now unused but keep for safety) */
.hero__notices {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	max-width: 640px;
	margin: 0 auto;
}
.hero__notice {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 0.75rem;
	text-align: left;
	flex-wrap: wrap;
}
.hero__notice-badge {
	flex-shrink: 0;
	padding: 0.2rem 0.7rem;
	background: rgba(16, 185, 129, 0.15);
	border-radius: 9999px;
	font-size: 0.6875rem;
	font-weight: 700;
	color: var(--dg-accent);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	white-space: nowrap;
}
.hero__notice-badge--blue {
	background: rgba(59, 130, 246, 0.15);
	color: #60a5fa;
}
.hero__notice-text {
	flex: 1;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.4;
	min-width: 200px;
}
.hero__notice-actions {
	display: flex;
	gap: 0.75rem;
	flex-shrink: 0;
}
.hero__notice-link {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	transition: color 0.15s ease;
	white-space: nowrap;
}
.hero__notice-link:hover {
	color: #ffffff;
}
.hero__notice-link--accent {
	color: var(--dg-accent);
}
.hero__notice-link--accent:hover {
	color: #34d399;
}
.hero__notice-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.75rem;
	padding: 0.5rem 1.25rem;
	background: var(--dg-accent);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	border-radius: 9999px;
	text-decoration: none;
	transition: all 0.2s ease;
}
.hero__notice-btn:hover {
	background: var(--dg-accent-dark);
}
@media (max-width: 640px) {
	.hero__notice { flex-direction: column; align-items: flex-start; }
	.hero__notice-actions { margin-top: 0.25rem; }
}

/* ---------------------------------------------------------------------------
   16. Hero Search
   --------------------------------------------------------------------------- */
.hero-search {
	display: flex;
	align-items: center;
	max-width: 600px;
	margin: 0 auto 1.5rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-full);
	padding: 6px 6px 6px 20px;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.3s var(--t-spring);
	box-shadow: var(--shadow-diffusion), var(--shadow-inset-glass);
	margin-bottom: 2.5rem;
}
.hero-search:focus-within {
	border-color: rgba(16, 185, 129, 0.4);
	box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.08), var(--shadow-diffusion);
	transform: translateY(-2px);
}
.hero-search__icon {
	flex-shrink: 0;
	color: var(--dg-text-ghost);
	margin-right: 12px;
}
.hero-search input {
	flex: 1;
	background: none;
	border: none;
	outline: none;
	color: var(--dg-text-bright);
	font-size: 1rem;
	font-family: inherit;
	padding: 10px 0;
}
.hero-search input::placeholder {
	color: var(--dg-text-ghost);
}
.hero-search__btn {
	padding: 12px 28px;
	background: var(--dg-accent);
	border: none;
	border-radius: var(--radius-full);
	color: var(--dg-navy-deep);
	font-weight: 700;
	font-size: 0.875rem;
	cursor: pointer;
	transition: all 0.25s var(--t-spring);
	font-family: inherit;
	white-space: nowrap;
}
.hero-search__btn:hover {
	background: var(--dg-accent-dark);
	color:white;
	box-shadow: 0 4px 20px var(--dg-accent-glow);
}

/* Hero inline AJAX results */
.hero-search__results {
	position: relative;
	z-index: 10;
	max-width: 600px;
	margin: -4px auto 16px;
	background: rgba(10, 22, 40, 0.95);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border: 1px solid var(--dg-glass-border);
	border-top: none;
	border-radius: 0 0 var(--radius-md) var(--radius-md);
	padding: 8px;
	max-height: 300px;
	overflow-y: auto;
	animation: fadeInUp 0.25s var(--t-smooth);
	box-shadow: var(--shadow-card);
}
.hero-search__results[hidden] { display: none; }
.hero-search__results a {
	display: block;
	padding: 10px 14px;
	border-radius: 8px;
	text-decoration: none;
	color: var(--dg-text-dim);
	font-size: 0.875rem;
	transition: all 0.15s ease;
}
.hero-search__results a:hover {
	background: var(--dg-accent-subtle);
	color: var(--dg-text-bright);
}
.hero-search__results .search-type {
	font-size: 0.5625rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--dg-accent);
	font-weight: 700;
	display: inline-block;
	padding: 1px 6px;
	background: var(--dg-accent-subtle);
	border-radius: 4px;
	margin-bottom: 3px;
}
.hero-search__results .search-title {
	display: block;
	font-weight: 600;
	color: var(--dg-text-bright);
	font-size: 0.875rem;
	line-height: 1.3;
}
.hero-search__results .search-address {
	display: block;
	font-size: 0.75rem;
	color: var(--dg-text-dim);
	margin-top: 2px;
	line-height: 1.4;
}
.hero-search__results .search-hint {
	padding: 16px;
	color: var(--dg-text-ghost);
	font-size: 0.8125rem;
	text-align: center;
}
.hero-search:has(+ .hero-search__results:not([hidden])) {
	border-radius: var(--radius-full) var(--radius-full) 0 0;
}

/* Hero stats row */
.hero__stats {
	display: flex;
	align-items: center;
	gap: 0;
}
.hero__stat {
	text-align: center;
	padding: 0 1.5rem;
}
.hero__stat:first-child { padding-left: 0; }
.hero__stat-val {
	font-family: var(--font-heading);
	font-size: 2rem;
	font-weight: 800;
	color: var(--dg-text-bright);
	line-height: 1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}
.hero__stat-label {
	font-size: 0.6875rem;
	color: var(--dg-text-ghost);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 500;
	margin-top: 4px;
}
.hero__stat-divider {
	width: 1px;
	height: 32px;
	background: rgba(255, 255, 255, 0.1);
}

/* ---------------------------------------------------------------------------
   17. Hero Card — Glass Data Widget
   --------------------------------------------------------------------------- */
.hero-card {
	width: 100%;
	max-width: 380px;
	background: radial-gradient(ellipse at top left, var(--dg-navy-surface), var(--dg-navy));
	border-radius: var(--radius-lg);
	border: 1px solid var(--dg-glass-border-strong);
	box-shadow: 0 40px 80px -20px rgba(4, 10, 20, 0.5),
	            var(--shadow-inset-glass);
	padding: 2rem 2rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	will-change: transform;
	position: relative;
	overflow: hidden;
}
.hero-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
}
.hero-card__header {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--dg-text-dim);
	font-weight: 600;
	font-size: 0.875rem;
}
.hero-card__header svg { color: var(--dg-accent); opacity: 0.7; }
.hero-card__body { padding: 0.5rem 0; }
.hero-card__metric {
	display: flex;
	align-items: baseline;
	gap: 0.15rem;
}
.hero-card__number {
	font-family: var(--font-heading);
	font-size: 5rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.05em;
	color: var(--dg-text-bright);
	font-variant-numeric: tabular-nums;
}
.hero-card__unit {
	font-family: var(--font-heading);
	font-size: 3rem;
	font-weight: 700;
	color: var(--dg-accent);
	line-height: 1;
}
.hero-card__metric-label {
	font-size: 0.8125rem;
	color: var(--dg-text-dim);
	font-weight: 500;
	margin-top: 0.25rem;
}
.hero-card__bar {}
.hero-card__bar-track {
	width: 100%;
	height: 4px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 2px;
	overflow: hidden;
	margin-bottom: 0.5rem;
}
.hero-card__bar-fill {
	height: 100%;
	background: var(--dg-accent);
	border-radius: 2px;
}
.hero-card__bar-text {
	font-size: 0.75rem;
	color: var(--dg-text-ghost);
	font-weight: 500;
}
.hero-card__footer {
	display: flex;
	gap: 0.5rem;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.hero-card__tag {
	padding: 0.35rem 0.75rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: var(--radius-full);
	font-size: 0.6875rem;
	color: var(--dg-text-ghost);
	font-weight: 500;
}
.hero-card__tag strong {
	color: var(--dg-text-dim);
	font-weight: 700;
}

/* Hero spotlight (below card) */
.hero-spotlight {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.6rem 1.25rem 0.6rem 0.75rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--dg-glass-border);
	border-radius: var(--radius-full);
	cursor: pointer;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	text-align: left;
	transition: background 0.2s ease;
	width: fit-content;
}
.hero-spotlight:hover { background: rgba(255, 255, 255, 0.07); }
.hero-spotlight[aria-expanded="true"] {
	border-radius: var(--radius-full) var(--radius-full) 0 0;
	border-bottom-color: transparent;
}
.hero-spotlight__badge {
	padding: 3px 10px;
	background: var(--dg-accent-subtle);
	border-radius: var(--radius-full);
	font-size: 0.625rem;
	font-weight: 700;
	color: var(--dg-accent);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	flex-shrink: 0;
}
.hero-spotlight__text {
	font-size: 0.8125rem;
	color: var(--dg-text-dim);
	font-weight: 500;
}
.hero-spotlight__arrow {
	color: var(--dg-text-ghost);
	flex-shrink: 0;
	transition: transform 0.2s ease;
}
.hero-spotlight[aria-expanded="true"] .hero-spotlight__arrow {
	transform: rotate(180deg);
}
.hero-spotlight__panel {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--dg-glass-border);
	border-top: none;
	border-radius: 0 0 var(--radius-md) var(--radius-md);
	padding: 1.25rem 1.5rem;
	font-size: 0.8125rem;
	color: var(--dg-text-dim);
	line-height: 1.6;
	width: fit-content;
	max-width: 380px;
	animation: fadeInUp 0.25s var(--t-smooth);
}
.hero-spotlight__panel[hidden] { display: none; }
.hero-spotlight__panel strong { color: var(--dg-text-bright); }
.hero-spotlight__panel p { margin: 0 0 0.5rem; }
.hero-spotlight__panel p:last-child { margin-bottom: 0; }

/* Orb accent */
.hero__orb--accent {
	position: absolute;
	width: 400px;
	height: 400px;
	top: 20%;
	right: 10%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
	filter: blur(80px);
	pointer-events: none;
}

/* ---------------------------------------------------------------------------
   18. Spotlight Panel (Expandable)
   --------------------------------------------------------------------------- */
.hero__spotlight-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.hero__spotlight {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 18px 8px 10px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--dg-glass-border);
	border-radius: 28px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: all 0.2s var(--t-spring);
	cursor: pointer;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	text-align: left;
	box-shadow: var(--shadow-inset-glass);
}
.hero__spotlight:hover {
	background: rgba(255, 255, 255, 0.08);
}
.hero__spotlight[aria-expanded="true"] {
	border-radius: 28px 28px 0 0;
	border-bottom-color: transparent;
}
.hero__spotlight[aria-expanded="true"] .hero__spotlight-arrow {
	transform: rotate(180deg);
}
.hero__spotlight-badge {
	padding: 3px 10px;
	background: var(--dg-accent-subtle);
	border-radius: 20px;
	font-size: 0.625rem;
	font-weight: 700;
	color: var(--dg-accent);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.hero__spotlight-text {
	font-size: 0.8125rem;
	color: var(--dg-text-dim);
}
.hero__spotlight-arrow {
	color: var(--dg-text-ghost);
	transition: transform 0.2s var(--t-spring);
}
.hero__spotlight:hover .hero__spotlight-arrow {
	transform: translateX(3px);
}
.hero__spotlight-panel {
	max-width: 600px;
	width: 100%;
	overflow: hidden;
}
.hero__spotlight-panel[hidden] {
	display: none;
}
.hero__spotlight-panel-inner {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--dg-glass-border);
	border-top: none;
	border-radius: 0 0 16px 16px;
	padding: 20px 24px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--dg-text-dim);
	font-size: 0.875rem;
	line-height: 1.6;
	animation: fadeInUp 0.3s var(--t-smooth);
	box-shadow: var(--shadow-inset-glass);
}

/* ---------------------------------------------------------------------------
   19. Enrollment Banner
   --------------------------------------------------------------------------- */
.enrollment-banner {
	background: linear-gradient(90deg, rgba(16, 185, 129, 0.08) 0%, rgba(4, 120, 87, 0.08) 100%);
	border-bottom: 1px solid rgba(16, 185, 129, 0.12);
}
.enrollment-banner__inner {
	max-width: var(--container-narrow);
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}
.enrollment-banner__text {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--dg-text-primary);
}
.enrollment-banner__text svg {
	color: var(--dg-accent);
	flex-shrink: 0;
}
.enrollment-banner__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.enrollment-banner__btn {
	display: inline-flex;
	align-items: center;
	padding: 7px 16px;
	font-size: 0.75rem;
	font-weight: 700;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.25s var(--t-spring);
	background: var(--dg-accent);
	color: var(--dg-navy-deep);
	font-family: inherit;
}
.enrollment-banner__btn:hover {
	background: var(--dg-accent-dark);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px var(--dg-accent-glow);
}
.enrollment-banner__btn--secondary {
	background: transparent;
	color: var(--dg-accent);
	border: 1px solid rgba(16, 185, 129, 0.3);
}
.enrollment-banner__btn--secondary:hover {
	background: var(--dg-accent-subtle);
	color: var(--dg-accent);
}

/* ---------------------------------------------------------------------------
   20. News Section — Grid Layout (replacing tabs)
   --------------------------------------------------------------------------- */
.news-section {
	padding: 80px 24px;
	max-width: var(--container-max);
	margin: 0 auto;
}

/* Keep old tab classes for backward compatibility */
.news-tabs {
	display: flex;
	gap: 0;
	margin-bottom: 32px;
	border-bottom: 2px solid var(--dg-glass-border);
}
.news-tab {
	padding: 12px 24px;
	font-weight: 700;
	font-size: 0.875rem;
	color: var(--dg-text-ghost);
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	cursor: pointer;
	transition: all 0.2s var(--t-spring);
	font-family: inherit;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.news-tab:hover {
	color: var(--dg-text-dim);
}
.news-tab.is-active {
	color: var(--dg-accent);
	border-bottom-color: var(--dg-accent);
}
.news-panel {
	display: none;
}
.news-panel.is-active {
	display: block;
	animation: fadeInUp 0.35s var(--t-smooth);
}
@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

/* New grid-style news list (from draft) */
.news-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.news-item {
	background: var(--dg-navy-surface);
	border: 1px solid var(--dg-glass-border);
	border-radius: var(--radius-md);
	padding: 2.5rem;
	display: flex;
	gap: 2rem;
	align-items: center;
	text-decoration: none;
	box-shadow: var(--shadow-diffusion), var(--shadow-inset-glass);
	transition: transform 0.4s var(--t-spring), box-shadow 0.4s var(--t-spring);
	color: inherit;
}
.news-item:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-heavy);
}
.news-item:active {
	transform: translateY(-2px);
}
.news-date {
	font-family: var(--font-body);
	font-weight: 700;
	color: var(--dg-accent);
	background: var(--dg-accent-subtle);
	padding: 0.5rem 1rem;
	border-radius: var(--radius-sm);
	white-space: nowrap;
	font-size: 0.875rem;
}
.news-body {
	flex: 1;
}
.news-body h4 {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	color: var(--dg-text-bright);
	margin-bottom: 0.5rem;
	letter-spacing: -0.02em;
}
.news-body p {
	color: var(--dg-text-dim);
	line-height: 1.6;
}
.news-icon {
	font-size: 1.5rem;
	color: var(--dg-text-ghost);
	transition: color 0.3s var(--t-spring), transform 0.3s var(--t-spring);
}
.news-item:hover .news-icon {
	color: var(--dg-accent);
	transform: translate(4px, -4px);
}

/* Legacy news item styles (inline list) */
.news-item__date {
	flex-shrink: 0;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--dg-text-ghost);
	min-width: 90px;
	font-variant-numeric: tabular-nums;
}
.news-item__title {
	font-weight: 600;
	font-size: 0.9375rem;
	line-height: 1.4;
	color: var(--dg-text-primary);
}
.news-item__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}
.news-item__title a:hover {
	color: var(--dg-accent);
}
.news-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 24px;
	padding: 10px 20px;
	background: var(--dg-accent-subtle);
	color: var(--dg-accent);
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.8125rem;
	text-decoration: none;
	transition: all 0.25s var(--t-spring);
}
.news-more:hover {
	background: var(--dg-accent);
	color: var(--dg-navy-deep);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px var(--dg-accent-glow);
}
.news-more svg {
	transition: transform 0.2s var(--t-spring);
}
.news-more:hover svg {
	transform: translateX(3px);
}

@media (max-width: 768px) {
	.news-item {
		flex-direction: column;
		padding: 1.5rem;
		gap: 1rem;
		align-items: flex-start;
	}
}

/* ---------------------------------------------------------------------------
   21. Bento Grid — Directory Cards
   --------------------------------------------------------------------------- */
.bento-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 400px;
	gap: 1.5rem;
}
@media (max-width: 1024px) {
	.bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
	.bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
}

.b-card {
	background: var(--dg-navy-surface);
	border: 1px solid var(--dg-glass-border);
	border-radius: var(--radius-lg);
	padding: 2.5rem;
	box-shadow: var(--shadow-diffusion), var(--shadow-inset-glass);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	overflow: hidden;
	transition: transform 0.4s var(--t-spring), box-shadow 0.4s var(--t-spring);
}
.b-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-heavy);
}
.b-card-large {
	grid-column: span 2;
	display: flex;
	flex-direction: row;
	padding: 0;
}
@media (max-width: 768px) {
	.b-card-large { grid-column: span 1; flex-direction: column; }
}
.b-card-content {
	padding: 3rem;
	flex: 1;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.b-card-content h3 {
	font-size: 1.8rem;
	font-weight: 600;
	margin-bottom: 1rem;
	font-family: var(--font-heading);
	color: var(--dg-text-bright);
	letter-spacing: -0.02em;
}
.b-card-content p {
	color: var(--dg-text-dim);
	line-height: 1.6;
	margin-bottom: 1.5rem;
}
.card-director {
	font-size: 0.875rem;
	color: var(--dg-text-ghost);
	padding: 1rem 0;
	border-top: 1px solid var(--dg-glass-border);
	margin-top: auto;
}
.mt-auto {
	margin-top: auto;
}
.b-card-visual {
	flex: 1;
	background-color: var(--dg-navy);
	border-left: 1px solid var(--dg-glass-border);
	min-height: 250px;
}

/* ---------------------------------------------------------------------------
   22. Map Section — Dark Bento Tile
   --------------------------------------------------------------------------- */
.map-section {
	background: var(--dg-navy-deep);
	padding: 80px 24px;
}
.map-section__inner {
	max-width: var(--container-narrow);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}
@media (min-width: 768px) {
	.map-section__inner {
		grid-template-columns: 1.6fr 1fr;
		gap: 32px;
	}
}

/* Map bento tile (from draft) */
.map-bento {
	height: 700px;
	border-radius: var(--radius-lg);
	background: var(--dg-navy);
	border: 1px solid var(--dg-glass-border);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	padding: 3rem;
	box-shadow: var(--shadow-heavy);
}
.map-placeholder {
	position: absolute;
	top: -10%;
	left: 0;
	width: 100%;
	height: 120%;
	opacity: 0.3;
	filter: grayscale(100%) contrast(1.2);
	will-change: transform;
	object-fit: cover;
}
.map-bento iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
	opacity: 0.3;
	filter: grayscale(100%);
}
.map-overlay-card {
	background: rgba(255, 255, 255, 0.05);
	width: 100%;
	max-width: 500px;
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border: 1px solid var(--dg-glass-border-strong);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-md);
	padding: 3.5rem;
	position: relative;
	z-index: 2;
	color: var(--dg-text-bright);
	will-change: transform;
}
.map-overlay-card h3 {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	margin-bottom: 0.5rem;
	letter-spacing: -0.03em;
	color: var(--dg-text-bright);
}
.map-overlay-card p {
	color: var(--dg-text-dim);
	margin-bottom: 2rem;
	font-size: 1.125rem;
}

/* Legacy map container */
.map-container {
	border-radius: var(--radius-md);
	overflow: hidden;
	border: 1px solid var(--dg-glass-border);
	background: var(--dg-navy);
	min-height: 360px;
	position: relative;
}
.map-container iframe {
	width: 100%;
	height: 100%;
	min-height: 360px;
	border: none;
	display: block;
	filter: grayscale(80%);
	opacity: 0.6;
}

/* ---------------------------------------------------------------------------
   23. Quick Access — Bento Cards
   --------------------------------------------------------------------------- */
.quick-access__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.quick-access__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 20px;
	background: var(--dg-navy-surface);
	border: 1px solid var(--dg-glass-border);
	border-radius: var(--radius-sm);
	text-decoration: none;
	color: inherit;
	transition: all 0.3s var(--t-spring);
	position: relative;
	overflow: hidden;
	box-shadow: var(--shadow-inset-glass);
}
.quick-access__card::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--dg-accent), var(--dg-accent-dark));
	transform: scaleX(0);
	transition: transform 0.3s var(--t-smooth);
	transform-origin: left;
}
.quick-access__card:hover {
	border-color: rgba(16, 185, 129, 0.2);
	box-shadow: var(--shadow-card);
	transform: translateY(-4px);
}
.quick-access__card:hover::after {
	transform: scaleX(1);
}
.quick-access__card:active {
	transform: translateY(-1px);
}
.quick-access__icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--dg-accent-subtle);
	color: var(--dg-accent);
}
.quick-access__label {
	font-weight: 700;
	font-size: 0.8125rem;
	color: var(--dg-text-bright);
}
.quick-access__desc {
	font-size: 0.75rem;
	color: var(--dg-text-ghost);
	line-height: 1.4;
}

/* ---------------------------------------------------------------------------
   24. CTA Band — Dark Glass with Orbs
   --------------------------------------------------------------------------- */
.cta-band {
	position: relative;
	background: linear-gradient(135deg, var(--dg-navy-deep) 0%, var(--dg-navy-mid) 100%);
	padding: 80px 24px;
	text-align: center;
	overflow: hidden;
}
.cta-band__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	pointer-events: none;
}
.cta-band__orb--1 {
	width: 300px;
	height: 300px;
	top: -100px;
	left: -80px;
	background: var(--dg-accent-glow);
}
.cta-band__orb--2 {
	width: 200px;
	height: 200px;
	bottom: -80px;
	right: -40px;
	background: rgba(16, 185, 129, 0.15);
}
.cta-band__content {
	position: relative;
	z-index: 2;
	max-width: 640px;
	margin: 0 auto;
}
.cta-band__title {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3.5vw, 2.25rem);
	font-weight: 800;
	color: var(--dg-text-bright);
	letter-spacing: -0.02em;
	margin: 0 0 12px;
}
.cta-band__desc {
	color: var(--dg-text-dim);
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 32px;
}
.cta-band__actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ---------------------------------------------------------------------------
   25. Footer — 4-Column Institutional Grid
   --------------------------------------------------------------------------- */
.site-footer,
.clean-footer {
	background: var(--dg-navy-deep);
	color: var(--dg-text-dim);
	position: relative;
}
.site-footer::before,
.clean-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, var(--dg-accent) 30%, var(--dg-accent-dark) 70%, transparent 100%);
}
.clean-footer {
	padding: 8rem 2rem 2rem;
	margin-top: 5rem;
}

.footer-inner {
	max-width: var(--container-max);
	margin: 0 auto;
}

/* 4-column grid (from draft) */
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.5fr;
	gap: 4rem;
	padding-bottom: 6rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
@media (max-width: 1024px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
	.footer-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.brand-col .footer-logo {
	height: 48px;
	margin-bottom: 2rem;
}
.footer-bio {
	color: var(--dg-text-dim);
	font-size: 1.125rem;
	max-width: 400px;
	margin-bottom: 2rem;
	line-height: 1.6;
}
.social-links {
	display: flex;
	gap: 1rem;
}
.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--dg-glass-border);
	color: var(--dg-text-dim);
	transition: all 0.3s var(--t-spring);
	text-decoration: none;
}
.social-links a:hover {
	background: var(--dg-accent);
	color: var(--dg-navy-deep);
	border-color: var(--dg-accent);
	transform: translateY(-2px);
}

.footer-col h4 {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	margin-bottom: 2rem;
	color: var(--dg-text-bright);
}
.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.footer-col ul li a {
	color: var(--dg-text-dim);
	text-decoration: none;
	transition: color 0.2s var(--t-spring);
}
.footer-col ul li a:hover {
	color: var(--dg-text-bright);
}

.contact-col ul li {
	display: flex;
	gap: 1rem;
	color: var(--dg-text-dim);
	align-items: flex-start;
}
.contact-col ul li i {
	color: var(--dg-accent);
	font-size: 1.5rem;
	padding-top: 0.2rem;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 2rem;
	color: var(--dg-text-ghost);
	font-size: 0.875rem;
}
@media (max-width: 1024px) {
	.footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
.footer-legal-links {
	display: flex;
	gap: 1rem;
	align-items: center;
}
.footer-legal-links a {
	color: var(--dg-text-ghost);
	text-decoration: none;
	transition: color 0.2s ease;
}
.footer-legal-links a:hover {
	color: var(--dg-text-bright);
}
.sep {
	opacity: 0.3;
}

/* Legacy footer layout */
.footer__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 32px 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__brand {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: inherit;
}
.footer__logo {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--dg-accent), var(--dg-accent-dark));
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 0.8125rem;
	color: var(--dg-navy-deep);
}
.footer__logo-img {
	width: 160px;
	height: 90px;
	object-fit: contain;
	flex-shrink: 0;
}
.footer__brand-text span {
	display: block;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.85);
	text-align: left;
	line-height: 1.45;
	padding:0 2rem 0 2rem;
	max-width: 640px;
}

@media only screen and (max-width: 1024px) {
	.footer__top {justify-content: center;}
	.footer__brand-text span {max-width: 100%;padding:1rem 2rem 1rem 2rem;}
}

@media only screen and (max-width: 724px) {
	.footer__brand {display:inline;}
	.footer__brand-text span {text-align: center;}
	}

.footer__ctas {
	display: flex;
	gap: 8px;
}
.footer__cta {
	padding: 8px 18px;
	font-size: 0.75rem;
	font-weight: 700;
	border-radius: 7px;
	text-decoration: none;
	transition: all 0.2s var(--t-spring);
	font-family: inherit;
}
.footer__cta--outline {
	background: var(--dg-accent-subtle);
	border: 1px solid rgba(16, 185, 129, 0.25);
	color: var(--dg-accent);
}
.footer__cta--outline:hover {
	background: rgba(16, 185, 129, 0.2);
}
.footer__cta--filled {
	background: var(--dg-accent);
	border: 1px solid var(--dg-accent);
	color: var(--dg-navy-deep);
}
.footer__cta--filled:hover {
	background: var(--dg-accent-dark);
	color:white;
	transform: translateY(-1px);
}

.footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 48px 24px;
}
@media (min-width: 768px) {
	.footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1024px) {
	.footer__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}
.footer__heading {
	font-weight: 700;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: white;
	margin-bottom: 20px;
}
.footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer__list li {
	margin-bottom: 10px;
}
.footer__list a {
	color: rgba(255, 255, 255, 0.7) !important;
	text-decoration: none !important;
	font-size: 0.8125rem;
	transition: color 0.15s ease;
}
.footer__list a:hover {
	color: #fff !important;
}
.footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.7);
}
.footer__contact-item a {
	color: rgba(255, 255, 255, 0.7) !important;
	text-decoration: none !important;
	transition: color 0.15s ease;
}
.footer__contact-item a:hover {
	color: #fff !important;
}
.footer__contact-item svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: var(--dg-accent);
}
.footer__schedule {
	margin-top: 16px;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 8px;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.6);
}
.footer__schedule-title {
	font-weight: 700;
	font-size: 0.625rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--dg-accent);
	margin-bottom: 6px;
}
.footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding: 28px 24px;
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.45);
	text-align: center;
}
.footer__legal {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
}
.footer__legal a {
	color: rgba(255, 255, 255, 0.55) !important;
	text-decoration: none !important;
	transition: color 0.15s ease;
}
.footer__legal a:hover { color: #fff !important; }
.footer__sep {
	color: rgba(255, 255, 255, 0.2);
}
.footer__institutional {
	font-size: 0.6875rem;
	color: rgba(255, 255, 255, 0.3);
	font-style: italic;
}

/* ---------------------------------------------------------------------------
   26. Breadcrumbs
   --------------------------------------------------------------------------- */
.breadcrumbs {
	padding: 4rem 0 0.75rem;
	font-size: 0.8125rem;
}
.breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
}
.breadcrumb-sep {
	color: #cbd5e1;
	margin: 0 2px;
}
.breadcrumbs a {
	color: #94a3b8;
	text-decoration: none;
	padding: 3px 6px;
	border-radius: 4px;
	transition: all 0.15s ease;
}
.breadcrumbs a:hover {
	color: var(--dg-accent);
	background: rgba(16, 185, 129, 0.06);
}
.breadcrumbs [aria-current="page"] {
	color: #334155;
	font-weight: 600;
}

/* ---------------------------------------------------------------------------
   27. Search Modal
   --------------------------------------------------------------------------- */
.search-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 12vh 24px 24px;
}
.search-modal.is-open {
	display: flex;
}
.search-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 8, 24, 0.75);
	backdrop-filter: blur(16px) saturate(1.2);
	-webkit-backdrop-filter: blur(16px) saturate(1.2);
	animation: searchFadeIn 0.25s ease;
}
@keyframes searchFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}
.search-modal__content {
	position: relative;
	width: 100%;
	max-width: 640px;
	background: rgba(0, 22, 61, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-lg);
	box-shadow: 0 32px 80px rgba(0, 5, 15, 0.6),
	            inset 0 1px 0 rgba(255, 255, 255, 0.06);
	overflow: hidden;
	animation: searchSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes searchSlideIn {
	from { opacity: 0; transform: translateY(-24px) scale(0.96); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}
.search-modal__header {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.4);
}
.search-modal__header svg {
	flex-shrink: 0;
	opacity: 0.5;
}
.search-modal__input {
	flex: 1;
	background: none;
	border: none;
	outline: none;
	color: #fff;
	font-size: 1.125rem;
	font-family: inherit;
	font-weight: 500;
	letter-spacing: -0.01em;
}
.search-modal__input::placeholder {
	color: rgba(255, 255, 255, 0.25);
	font-weight: 400;
}
.search-modal__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-sm);
	color: rgba(255, 255, 255, 0.35);
	cursor: pointer;
	transition: all 0.2s ease;
	font-family: inherit;
}
.search-modal__close:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.7);
}
.search-modal__results {
	padding: 12px 16px;
	max-height: 50vh;
	overflow-y: auto;
	min-height: 60px;
}
.search-modal__results::-webkit-scrollbar { width: 4px; }
.search-modal__results::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 2px;
}
.search-modal__hint {
	color: rgba(255, 255, 255, 0.3);
	font-size: 0.875rem;
	text-align: center;
	padding: 32px 16px;
	line-height: 1.5;
}
.search-modal__result {
	display: block;
	padding: 14px 16px;
	border-radius: var(--radius-sm);
	text-decoration: none;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.4;
	transition: all 0.15s ease;
	margin-bottom: 2px;
}
.search-modal__result:hover {
	background: rgba(16, 185, 129, 0.08);
	color: #fff;
}
.search-modal__result-type {
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--dg-accent);
	font-weight: 600;
	margin-bottom: 4px;
	display: block;
}
.search-modal__loading {
	text-align: center;
	padding: 32px 16px;
	color: rgba(255, 255, 255, 0.3);
	font-size: 0.875rem;
}
.search-modal__footer {
	padding: 12px 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.search-modal__shortcut {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.25);
	display: flex;
	align-items: center;
	gap: 6px;
}
.search-modal__shortcut kbd {
	display: inline-flex;
	align-items: center;
	padding: 2px 6px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 4px;
	font-family: inherit;
	font-size: 0.6875rem;
	color: rgba(255, 255, 255, 0.4);
	line-height: 1;
}

/* ---------------------------------------------------------------------------
   28. WP Query Block Cards (archive, front page)
   --------------------------------------------------------------------------- */
.wp-block-query .wp-block-post-template .wp-block-group {
	transition: all 0.3s var(--t-spring);
}
.wp-block-query .wp-block-post-template .wp-block-group:hover {
	border-color: rgba(16, 185, 129, 0.2) !important;
	transform: translateY(-2px);
	padding:0.5rem;
}

/* ---------------------------------------------------------------------------
   29. Background Modifiers
   --------------------------------------------------------------------------- */
.bg-muted {
	background-color: var(--dg-navy);
}
.bg-surface {
	background-color: var(--dg-navy-surface);
}
.bg-deep {
	background-color: var(--dg-navy-deep);
}

/* ---------------------------------------------------------------------------
   30. Hide Old Theme/Plugin Remnants
   --------------------------------------------------------------------------- */
.apus-favorite-login-info,
.pojo-a11y-toolbar-overlay,
.pojo-a11y-toolbar,
#apus-main-content,
.widget-listingsearch,
.apus_listing_search {
	display: none !important;
}

/* ---------------------------------------------------------------------------
   31. Mobile Responsive Overrides (< 768px)
   --------------------------------------------------------------------------- */
@media (max-width: 768px) {
	/* Hero single column */
	.hero-split {
		grid-template-columns: 1fr;
		padding: 8rem 1.5rem 3rem;
		gap: 2rem;
		min-height: auto;
	}
	.display-title {
		font-size: clamp(2.5rem, 10vw, 3.5rem);
	}
	.hero-desc {
		font-size: 1rem;
	}
	.hero__content {
		padding: 80px 16px 40px;
	}

	/* Glass bento */
	.glass-bento {
		max-width: 100%;
		aspect-ratio: auto;
		padding: 2rem;
	}
	.metric-val {
		font-size: 3rem;
	}

	/* Section containers */
	.section-container {
		padding: 5rem 1.5rem;
	}
	.section-heading {
		margin-bottom: 2rem;
	}
	.section-heading.grid-heading {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	/* Footer grid */
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding-bottom: 3rem;
	}
	.footer__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 32px 16px;
	}
	.footer-bottom {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}
	.footer__bottom {
		flex-direction: column;
		gap: 8px;
		text-align: center;
		padding: 16px;
	}
	.footer__top {
		padding: 20px 16px;
		flex-direction: column;
		text-align: center;
	}

	/* News */
	.news-section {
		padding: 40px 16px;
	}

	/* Map */
	.map-bento {
		height: 400px;
		padding: 1.5rem;
	}
	.map-overlay-card {
		padding: 2rem;
	}
	.map-overlay-card h3 {
		font-size: 1.75rem;
	}
	.map-section__inner {
		grid-template-columns: 1fr;
	}

	/* Quick access */
	.quick-access__grid {
		grid-template-columns: 1fr;
	}

	/* CTA band */
	.cta-band {
		padding: 48px 16px;
	}
	.cta-band__title {
		font-size: 1.5rem;
	}

	/* Bento grid */
	.bento-grid {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
		gap: 1rem;
	}
	.b-card-large {
		grid-column: span 1;
		flex-direction: column;
	}

	/* Social links */
	.social-links {
		justify-content: center;
	}
}

/* ---------------------------------------------------------------------------
   32. Tablet Adjustments (768px - 1024px)
   --------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {
	.hero-split {
		grid-template-columns: 1fr;
		padding-top: 10rem;
	}
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
	.bento-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.section-container {
		padding: 7rem 2rem;
	}
}

/* ---------------------------------------------------------------------------
   33. Reduced Motion
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.site-header {
		transition-duration: 100ms !important;
	}
	.reveal {
		opacity: 1;
		transform: none;
	}
	.hero__orb {
		animation: none;
	}
	.hover-lift:hover {
		transform: none;
	}
	.pulse-dot::after {
		animation: none;
	}
}

/* ---------------------------------------------------------------------------
   34. Print Styles
   --------------------------------------------------------------------------- */
@media print {
	.top-bar,
	.site-header,
	.site-footer,
	.clean-footer,
	.breadcrumbs,
	.a11y-toolbar,
	.mobile-toggle,
	.mobile-menu,
	.hero__bg,
	.hero__grid,
	.hero__orb,
	.cta-band,
	.cta-band__orb,
	.search-modal,
	.enrollment-banner,
	.has-noise::after,
	.social-links {
		display: none !important;
	}
	body {
		font-size: 12pt;
		color: #1a1a1a;
		background: #fff;
	}
	.hero {
		background: none;
		color: #1a1a1a;
	}
	.display-title,
	.hero__title,
	.section-title,
	.title-h2 {
		color: #1a1a1a;
	}
	a {
		color: #1a1a1a;
		text-decoration: underline;
	}
	.news-item,
	.b-card,
	.quick-access__card {
		box-shadow: none;
		border: 1px solid #ccc;
		background: #fff;
		color: #1a1a1a;
	}
}

/* ---------------------------------------------------------------------------
   35. High Contrast Mode Support
   --------------------------------------------------------------------------- */
@media (forced-colors: active) {
	.hero__orb,
	.cta-band__orb,
	.has-noise::after {
		display: none;
	}
	.btn-primary,
	.action-btn,
	.enrollment-banner__btn {
		border: 2px solid ButtonText;
	}
	.glass-bento,
	.map-overlay-card,
	.nav-container {
		border: 2px solid CanvasText;
	}
}

/* ---------------------------------------------------------------------------
   36. Focus Visible Enhancement
   --------------------------------------------------------------------------- */
:focus-visible {
	outline: 2px solid var(--dg-accent);
	outline-offset: 2px;
	border-radius: 10px;
	padding:0.5rem 0 0.5rem 1rem;
}
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--dg-accent);
	outline-offset: 2px;	
}

/* ---------------------------------------------------------------------------
   37. Utility Classes
   --------------------------------------------------------------------------- */
.text-bright { color: var(--dg-text-bright); }
.text-dim { color: var(--dg-text-dim); }
.text-ghost { color: var(--dg-text-ghost); }
.text-accent { color: var(--dg-accent); }
.bg-glass {
	background: var(--dg-glass-bg);
	backdrop-filter: blur(var(--dg-glass-blur));
	-webkit-backdrop-filter: blur(var(--dg-glass-blur));
	border: 1px solid var(--dg-glass-border);
	box-shadow: var(--shadow-inset-glass);
}
.tabular-nums {
	font-variant-numeric: tabular-nums;
}
.tracking-tight {
	letter-spacing: -0.02em;
}
.tracking-tighter {
	letter-spacing: -0.04em;
}

/* ---------------------------------------------------------------------------
   38. BEM Class Bridge (front-page HTML uses BEM naming)
   --------------------------------------------------------------------------- */

/* Hero split layout */
.hero-split__inner {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	align-items: center;
	max-width: 1400px;
	margin: 0 auto;
	padding: 10rem 2rem 5rem;
	gap: 4rem;
}
@media (max-width: 1024px) {
	.hero-split__inner {
		grid-template-columns: 1fr;
		padding-top: 8rem;
	}
}
.hero-split__left { position: relative; z-index: 2; }
.hero-split__right { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
@media (max-width: 1024px) {
	.hero-split__right { display: none; }
}

/* Glass bento BEM variants */
.glass-bento__inner {
	background: radial-gradient(circle at top left, var(--dg-navy-surface), rgba(13, 31, 60, 0.8));
	border-radius: var(--radius-lg);
	border: 1px solid var(--dg-glass-border-strong);
	box-shadow: var(--shadow-diffusion), var(--shadow-inset-glass);
	padding: 2.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 360px;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
.glass-bento__header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--dg-text-dim);
	font-weight: 600;
	font-size: 1rem;
	margin-bottom: 2rem;
}
.glass-bento__header svg { opacity: 0.6; }
.glass-bento__metrics {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	flex: 1;
}
.glass-bento__metric {}
.glass-bento__metric .counter,
.glass-bento__metric .metric-val {
	display: block;
	font-size: 4rem;
	font-weight: 700;
	line-height: 1;
	font-family: var(--wp--preset--font-family--heading);
	letter-spacing: -0.04em;
	color: var(--dg-text-bright);
	font-variant-numeric: tabular-nums;
}
.glass-bento__metric-label {
	font-size: 0.8125rem;
	color: var(--dg-text-dim);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-top: 0.25rem;
}
.glass-bento__footer { margin-top: auto; }
.glass-bento__progress {
	width: 100%;
	height: 6px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 0.75rem;
}
.glass-bento__progress-fill {
	width: 98%;
	height: 100%;
	background: var(--dg-accent);
	border-radius: 4px;
	transition: width 1.5s var(--t-smooth);
}
.glass-bento__progress-text {
	font-size: 0.8125rem;
	color: var(--dg-text-dim);
	font-weight: 600;
}

/* News card BEM */
.news-section__grid {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 4rem;
	align-items: start;
}
@media (max-width: 1024px) {
	.news-section__grid { grid-template-columns: 1fr; }
}
.news-section__links {
	display: flex;
	gap: 1.5rem;
	margin-top: 1.5rem;
}
.news-section__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--dg-accent);
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
	transition: gap 0.25s var(--t-smooth);
}
.news-section__link:hover { gap: 0.6rem; }

.news-card {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	padding: 2rem;
	background: var(--dg-navy-surface);
	border: 1px solid var(--dg-glass-border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card), var(--shadow-inset-glass);
	text-decoration: none;
	color: inherit;
	transition: transform 0.4s var(--t-spring), box-shadow 0.4s;
}
.news-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-heavy);
}
.news-card__date {
	flex-shrink: 0;
	min-width: 56px;
	padding: 0.6rem 0.75rem;
	background: var(--dg-accent-subtle);
	border-radius: var(--radius-sm);
	text-align: center;
	line-height: 1.2;
}
.news-card__day {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--dg-accent);
	font-family: var(--wp--preset--font-family--heading);
}
.news-card__month {
	display: block;
	font-size: 0.625rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--dg-accent-dark);
	margin-top: 2px;
}
.news-card__body { flex: 1; }
.news-card__tag {
	display: inline-block;
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--dg-text-ghost);
	margin-bottom: 0.5rem;
}
.news-card__title {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--dg-text-primary);
	line-height: 1.3;
	margin-bottom: 0.5rem;
}
.news-card:hover .news-card__title { color: var(--dg-text-bright); }
.news-card__excerpt {
	font-size: 0.8125rem;
	color: var(--dg-text-dim);
	line-height: 1.5;
}
.news-card__arrow {
	flex-shrink: 0;
	color: var(--dg-text-ghost);
	transition: color 0.3s, transform 0.3s var(--t-spring);
	align-self: center;
}
.news-card:hover .news-card__arrow {
	color: var(--dg-accent);
	transform: translate(4px, -4px);
}

/* ===========================================================================
   NOUTĂȚI — Two-column news section (white bg)
   =========================================================================== */
.noutati {
	background: #ffffff;
	padding: 4.5rem 2rem;
}
.noutati__inner {
	max-width: 1400px;
	margin: 0 auto;
}
.noutati__title {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	color: #0f172a;
	margin: 0 0 2.5rem;
}
.noutati__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
}
@media (max-width: 768px) {
	.noutati__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.noutati__col-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 1rem;
	border-bottom: 2px solid #0f172a;
	margin-bottom: 0;
}
.noutati__col-title {
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0;
}
.noutati__more {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #64748b;
	text-decoration: none;
	transition: color 0.15s ease, gap 0.2s ease;
}
.noutati__more:hover {
	color: #0f172a;
	gap: 0.5rem;
}
.noutati__list {
	display: flex;
	flex-direction: column;
}
.noutati__item {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	padding: 1rem 0;
	border-bottom: 1px solid #f1f5f9;
	text-decoration: none;
	transition: padding-left 0.2s ease;
}
.noutati__item:hover {
	padding-left: 0.5rem;
}
.noutati__item:last-child {
	border-bottom: none;
}
.noutati__date {
	flex-shrink: 0;
	min-width: 85px;
	font-size: 0.75rem;
	font-weight: 600;
	color: #94a3b8;
	font-variant-numeric: tabular-nums;
}
.noutati__item-title {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.4;
	transition: color 0.15s ease;
}
.noutati__item:hover .noutati__item-title {
	color: #0f172a;
}

/* ===========================================================================
   INTERACTIVE MAP — Leaflet on white bg
   =========================================================================== */
.map-section-new {
	background: #ffffff;
	padding: 4.5rem 2rem;
}
.map-section-new__inner {
	max-width: 1400px;
	margin: 0 auto;
}
.map-section-new__header {
	margin-bottom: 1.5rem;
}
.map-section-new__title {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	color: #0f172a;
	margin: 0 0 0.5rem;
}
.map-section-new__desc {
	font-size: 1rem;
	color: #64748b;
	line-height: 1.5;
}
.map-section-new__container {
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid #e2e8f0;
}
#leaflet-map {
	width: 100%;
	height: 500px;
}
@media (max-width: 768px) {
	#leaflet-map { height: 350px; }
}
.map-legend {
	display: flex;
	gap: 1.5rem;
	padding: 1rem 0 0;
	flex-wrap: wrap;
}
.map-legend__item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8125rem;
	color: #64748b;
	font-weight: 500;
}
.map-legend__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.map-legend__dot--colegiu { background: #10B981; }
.map-legend__dot--scoala { background: #3b82f6; }
.map-legend__dot--gradinita { background: #f59e0b; }

/* CTA Band — refined */
.cta-section {
	background: #00163d;
	padding: 5rem 2rem;
	text-align: center;
}
.cta-section__inner {
	max-width: 600px;
	margin: 0 auto;
}
.cta-section__title {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -0.02em;
	margin: 0 0 0.75rem;
}
.cta-section__desc {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.55;
	margin-bottom: 2rem;
}
.cta-section__actions {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	flex-wrap: wrap;
}
.cta-section__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.875rem 2rem;
	font-weight: 700;
	font-size: 0.875rem;
	font-family: inherit;
	border-radius: 9999px;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
}
.cta-section__btn--primary {
	background: var(--dg-accent);
	color: #fff;
	border: none;
}
.cta-section__btn--primary:hover {
	background: var(--dg-accent-dark);
	transform: translateY(-1px);
}
.cta-section__btn--outline {
	background: transparent;
	color: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.15);
}
.cta-section__btn--outline:hover {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.25);
}

/* Map bento BEM */
.map-section__bento {
	height: 600px;
	border-radius: var(--radius-lg);
	background: var(--dg-navy);
	border: 1px solid var(--dg-glass-border);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	padding: 2.5rem;
	box-shadow: var(--shadow-heavy);
}
.map-section__bento iframe {
	position: absolute;
	top: -10%;
	left: 0;
	width: 100%;
	height: 120%;
	border: none;
	opacity: 0.3;
	filter: grayscale(80%) contrast(1.1);
}
.map-section__bento .map-overlay-card {
	position: relative;
	z-index: 2;
	background: var(--dg-glass-bg);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border: 1px solid var(--dg-glass-border-strong);
	box-shadow: var(--shadow-inset-glass);
	border-radius: var(--radius-md);
	padding: 2.5rem;
	max-width: 480px;
	color: #fff;
}
.map-overlay-card h3 {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	letter-spacing: -0.02em;
}
.map-overlay-card p {
	color: var(--dg-text-dim);
	margin-bottom: 1.5rem;
	line-height: 1.6;
}
.map-overlay-card .action-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.875rem 1.75rem;
	background: var(--dg-accent);
	color: #fff;
	border: none;
	border-radius: var(--radius-full);
	font-weight: 600;
	font-size: 0.875rem;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.3s var(--t-spring), box-shadow 0.3s;
}
.map-overlay-card .action-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px var(--dg-accent-glow);
}

@media (max-width: 768px) {
	.map-section__bento {
		height: 400px;
		padding: 1.5rem;
	}
	.map-section__bento .map-overlay-card {
		padding: 1.5rem;
	}
}

/* ===========================================================================
   DIRECTORY SECTION — Light/White with image cards
   =========================================================================== */
.dir-section {
	background: #ffffff;
	color: #0f172a;
	padding: 5rem 2rem;
}
.dir-section__inner {
	max-width: 1400px;
	margin: 0 auto;
}
.dir-section__title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: #0f172a;
	margin: 0 0 0.5rem;
}
.dir-section__desc {
	font-size: 1rem;
	color: #64748b;
	max-width: 500px;
	line-height: 1.6;
	margin-bottom: 2rem;
}

/* Toolbar */
.dir-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1.25rem;
}
.dir-filters {
	display: flex;
	gap: 0.4rem;
	flex-wrap: wrap;
}
.dir-filter {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 1.15rem;
	font-size: 0.8125rem;
	font-weight: 600;
	font-family: inherit;
	border: 1px solid #e2e8f0;
	border-radius: 9999px;
	background: transparent;
	color: #64748b;
	cursor: pointer;
	transition: all 0.2s ease;
}
.dir-filter svg {
	flex-shrink: 0;
	opacity: 0.6;
}
.dir-filter.is-active svg {
	opacity: 1;
}
.dir-filter:hover {
	border-color: #cbd5e1;
	color: #0f172a;
}
.dir-filter.is-active {
	background: #0f172a;
	color: #fff;
	border-color: #0f172a;
}
.dir-search {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 1rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 9999px;
	min-width: 240px;
	transition: border-color 0.2s ease;
}
.dir-search:focus-within { border-color: #94a3b8; }
.dir-search svg { flex-shrink: 0; color: #94a3b8; }
.dir-search input {
	flex: 1; border: none; outline: none; background: none;
	font-family: inherit; font-size: 0.8125rem; color: #0f172a;
}
.dir-search input::placeholder { color: #94a3b8; }
.dir-count {
	font-size: 0.8125rem;
	color: #94a3b8;
	font-weight: 500;
	margin-bottom: 1.25rem;
}

/* Grid */
.dir-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}
@media (max-width: 1200px) { .dir-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .dir-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .dir-grid { grid-template-columns: 1fr; } }

/* Card */
.dir-card {
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	overflow: hidden;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	background: #fff;
}
.dir-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
	transform: translateY(-3px);
}
.dir-card[hidden] { display: none; }
.dir-card__img {
	display: block;
	width: 100%;
	height: 160px;
	overflow: hidden;
	background: #f1f5f9;
	text-decoration: none;
}
.dir-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.dir-card:hover .dir-card__img img {
	transform: scale(1.05);
}
.dir-card__body {
	padding: 1rem 1.25rem 1.25rem;
}

/* Badge */
.dir-card__badge {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	font-size: 0.6rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-radius: 9999px;
	margin-bottom: 0.5rem;
}
.dir-card__badge--colegii {
	background: rgba(16, 185, 129, 0.1);
	color: #047857;
	border: 1px solid rgba(16, 185, 129, 0.15);
}
.dir-card__badge--scoli {
	background: rgba(59, 130, 246, 0.08);
	color: #1d4ed8;
	border: 1px solid rgba(59, 130, 246, 0.15);
}
.dir-card__badge--gradinite {
	background: rgba(245, 158, 11, 0.08);
	color: #b45309;
	border: 1px solid rgba(245, 158, 11, 0.15);
}
.dir-card__name {
	font-family: var(--font-heading);
	font-size: 0.9375rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
	margin: 0 0 0.6rem;
}
.dir-card__info {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.dir-card__row {
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
	font-size: 0.75rem;
	color: #64748b;
	line-height: 1.4;
}
.dir-card__row svg {
	flex-shrink: 0;
	margin-top: 1px;
	color: #94a3b8;
}
.dir-card__row a {
	color: #64748b;
	text-decoration: none;
	transition: color 0.15s ease;
}
.dir-card__row a:hover { color: #0f172a; }

/* Load more */
.dir-loadmore {
	text-align: center;
	margin-top: 2rem;
}
.dir-loadmore[hidden] { display: none; }
.dir-loadmore__btn {
	padding: 0.75rem 2rem;
	font-size: 0.875rem;
	font-weight: 600;
	font-family: inherit;
	background: transparent;
	color: #0f172a;
	border: 1px solid #e2e8f0;
	border-radius: 9999px;
	cursor: pointer;
	transition: all 0.2s ease;
}
.dir-loadmore__btn:hover {
	background: var(--dg-accent-dark);
	color:white;
	border-color: #cbd5e1;
}

/* Empty state */
.dir-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 3rem 2rem;
	color: #94a3b8;
	font-size: 0.9375rem;
}

/* ===========================================================================
   LIGHT / DARK MODE TOGGLE
   =========================================================================== */
html[data-theme="light"] {
	--dg-navy-deep: #ffffff;
	--dg-navy: #f8fafc;
	--dg-navy-mid: #f1f5f9;
	--dg-navy-light: #e2e8f0;
	--dg-text-bright: #0f172a;
	--dg-text-primary: #1e293b;
	--dg-text-dim: #64748b;
	--dg-text-ghost: #94a3b8;
	--dg-glass-bg: rgba(255, 255, 255, 0.85);
	--dg-glass-bg-heavy: rgba(255, 255, 255, 0.95);
	--dg-glass-border: rgba(15, 23, 42, 0.08);
	--dg-glass-border-strong: rgba(15, 23, 42, 0.12);
}
html[data-theme="light"] .hero {
	background: linear-gradient(160deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
}
/* Header stays dark blue in both modes */
html[data-theme="light"] .top-bar {
	background: #0f172a;
}
/* Nav stays the same in both modes — dark header always */
html[data-theme="light"] .display-title {
	color: #0f172a;
}
html[data-theme="light"] .display-title em {
	color: #94a3b8;
}
html[data-theme="light"] .hero-card {
	background: #ffffff;
	border-color: #e2e8f0;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}
html[data-theme="light"] .hero-card__number {
	color: #0f172a;
}
html[data-theme="light"] .hero-search {
	background: rgba(255, 255, 255, 0.8);
	border-color: #e2e8f0;
}
html[data-theme="light"] .hero-search input {
	color: #0f172a;
}
/* Header stays dark in both modes — no light overrides needed */
html[data-theme="light"] .site-footer,
html[data-theme="light"] .cta-band {
	background: #0f172a;
	color: rgba(255, 255, 255, 0.7);
}

/* ---------------------------------------------------------------------------
   LIGHT MODE — Inner page overrides
   All inner pages use hardcoded !important colors for the dark-on-white
   default. In light mode the default is already white-bg + dark-text,
   so the main thing that changes is: section backgrounds get lighter,
   cards become slightly different shades, and the overall feel softens.
   Since inner pages are already white, light mode mostly affects the
   front page sections + header/footer (handled above). Inner pages
   "just work" in light mode because they're already light.
   --------------------------------------------------------------------------- */

/* Light mode — front page sections */
html[data-theme="light"] .hero { background: linear-gradient(160deg, #f0f4f8 0%, #e2e8f0 50%, #cbd5e1 100%) !important; }
html[data-theme="light"] .hero__bg { opacity: 0 !important; }
html[data-theme="light"] .hero .display-title,
html[data-theme="light"] .hero h1 { color: #0f172a !important; }
html[data-theme="light"] .hero p { color: #475569 !important; }
html[data-theme="light"] .hero-card { background: #fff !important; border-color: #e2e8f0 !important; box-shadow: 0 8px 24px rgba(0,0,0,0.06) !important; }
html[data-theme="light"] .hero-card__number { color: #0f172a !important; }
html[data-theme="light"] .hero-card__metric-label { color: #64748b !important; }
html[data-theme="light"] .hero-search { background: #fff !important; border-color: #e2e8f0 !important; }
html[data-theme="light"] .hero-search input { color: #0f172a !important; }
html[data-theme="light"] .hero-search input::placeholder { color: #94a3b8 !important; }
html[data-theme="light"] .hero__status { color: #64748b !important; }
html[data-theme="light"] .hero__quick-label { color: #0f172a !important; }
html[data-theme="light"] .hero__quick-pill { color: #0f172a !important; }

html[data-theme="light"] .notices-section { background: #f8fafc !important; }
html[data-theme="light"] .notice-card { background: #fff !important; border-color: #e2e8f0 !important; }
html[data-theme="light"] .notice-card__title { color: #0f172a !important; }
html[data-theme="light"] .notice-card__desc { color: #64748b !important; }

html[data-theme="light"] .dir-section { background: #fff !important; color: #0f172a !important; }
html[data-theme="light"] .dir-card { background: #fff !important; border-color: #e2e8f0 !important; }

html[data-theme="light"] .news-section { background: #f1f5f9 !important; }
html[data-theme="light"] .section-title { color: #0f172a !important; }
html[data-theme="light"] .section-desc { color: #64748b !important; }
html[data-theme="light"] .news-section .section-title { color: #0f172a !important; }
html[data-theme="light"] .news-card { background: #fff !important; border-color: #e2e8f0 !important; }
html[data-theme="light"] .news-card h3 { color: #0f172a !important; }
html[data-theme="light"] .news-card .news-card__tag { color: #64748b !important; }

html[data-theme="light"] .map-section { background: #fff !important; }
html[data-theme="light"] .map-section .section-title { color: #0f172a !important; }

html[data-theme="light"] .cta-band { background: #0f172a !important; }
html[data-theme="light"] .cta-band__title {color: white !important;}
html[data-theme="light"] .btn-outline {
	color: white;
	border: 1px solid var(--dg-accent);
	}
html[data-theme="light"] .btn-outline:hover {
	background: var(--dg-accent)!important;
	border-color:#e2e8f0!important;}

/* ---------------------------------------------------------------------------
   HIGH CONTRAST MODE — Component-specific overrides
   The text/bg overrides for inner pages are at line ~433 using
   html.high-contrast body:not(.home) specificity to beat the
   inner-page cascade. Below are component-specific rules.
   --------------------------------------------------------------------------- */

/* Cards and boxes — black bg, white border */
html.high-contrast .decl-card,
html.high-contrast .dir-card,
html.high-contrast .notice-card,
html.high-contrast .news-card,
html.high-contrast .transp-page__doc-card,
html.high-contrast .transp-page__info-box,
html.high-contrast .transp-page__image-card,
html.high-contrast .achiz-hub__card,
html.high-contrast .achiz-hub__legacy,
html.high-contrast .petitii-page__form-wrap,
html.high-contrast .petitii-page__info-card,
html.high-contrast .contact-page__card,
html.high-contrast .contact-page__form-wrap,
html.high-contrast .retea-hub__card,
html.high-contrast .retea-table-wrap {
	background: #111 !important;
	border-color: #fff !important;
	color: #fff !important;
}

/* Tables */
html.high-contrast table { border-color: #fff !important; }
html.high-contrast th { background: #111 !important; color: #fff !important; border-color: #555 !important; }
html.high-contrast td { background: #000 !important; color: #fff !important; border-color: #333 !important; }
html.high-contrast tr:hover td { background: #1a1a1a !important; }

/* Buttons */
html.high-contrast .decl-card__btn,
html.high-contrast .transp-page__doc-btn,
html.high-contrast .retea-header__pdf,
html.high-contrast .achiz-hub__card-badge {
	background: #fff !important;
	color: #000 !important;
	border-color: #fff !important;
}

/* Badges */
html.high-contrast .decl-card__year,
html.high-contrast .transp-page__badge,
html.high-contrast .retea-header__badge,
html.high-contrast .petitii-page__badge {
	background: #fff !important;
	color: #000 !important;
	border-color: #fff !important;
}

/* Sections with colored backgrounds */
html.high-contrast .decl-hero { background: #000 !important; }
html.high-contrast .decl-stat { background: #111 !important; border-color: #fff !important; }
html.high-contrast .decl-tabs-wrap,
html.high-contrast .decl-section,
html.high-contrast .decl-legal,
html.high-contrast .decl-back { background: #000 !important; }
html.high-contrast .decl-legal-link { background: #111 !important; border-color: #fff !important; }

/* Search inputs */
html.high-contrast .decl-search,
html.high-contrast .retea-search {
	background: #111 !important;
	border-color: #fff !important;
}
html.high-contrast .decl-search__input,
html.high-contrast .retea-search input {
	color: #fff !important;
}

/* Tab pills */
html.high-contrast .decl-tab {
	border-color: #fff !important;
	color: #fff !important;
}
html.high-contrast .decl-tab.is-active {
	background: #fff !important;
	color: #000 !important;
}

/* Section backgrounds that are light by default */
html.high-contrast .achiz-hub__list-item { border-color: #333 !important; }
html.high-contrast .achiz-hub__list-item:hover { background: #111 !important; }
html.high-contrast .transp-page__nav { border-color: #555 !important; }
html.high-contrast .transp-page__nav-link { border-color: #333 !important; color: #fff !important; }
html.high-contrast .transp-page__nav-link:hover { color: #34d399 !important; }
html.high-contrast .transp-page__nav::before { color: #aaa !important; }

/* Form inputs */
html.high-contrast input,
html.high-contrast textarea,
html.high-contrast select {
	background: #111 !important;
	color: #fff !important;
	border-color: #fff !important;
}

/* Breadcrumbs */
html.high-contrast .breadcrumbs { color: #fff !important; }
html.high-contrast .breadcrumbs a { color: #34d399 !important; }

/* Hero on front page */
html.high-contrast .hero { background: #000 !important; }
html.high-contrast .hero-card { background: #111 !important; border-color: #fff !important; }

/* Pagination */
html.high-contrast .wp-block-query-pagination a { color: #34d399 !important; border-color: #fff !important; }

/* Post listings */
html.high-contrast .wp-block-post-featured-image img { border: 1px solid #fff; }

/* Footer + header stay dark in all modes */
html.high-contrast .site-footer { background: #000 !important; }
html.high-contrast .header-wrap { background: #000 !important; }
html.high-contrast .top-bar { background: #000 !important; }

/* Accessibility widget itself */
html.high-contrast .a11y-widget__panel { background: #111 !important; border-color: #fff !important; }
html.high-contrast .a11y-widget__btn { background: #111 !important; border-color: #fff !important; color: #fff !important; }

/* Search modal */
html.high-contrast .search-modal__content { background: #111 !important; border-color: #fff !important; }
html.high-contrast .search-modal__input { background: #000 !important; color: #fff !important; }


/* ---------------------------------------------------------------------------
   School / Unitate Info Component
   --------------------------------------------------------------------------- */
.school-info {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.school-info__row {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.school-info__row svg {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	color: var(--wp--preset--color--accent, #2563eb);
	margin-top: 2px;
}

.school-info__row div {
	flex: 1;
	min-width: 0;
}

.school-info__row strong {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--text-muted, #64748b);
	margin-bottom: 0.125rem;
}

.school-info__row p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--wp--preset--color--text, #1e293b);
}

.school-info__row a {
	color: var(--wp--preset--color--accent, #2563eb);
	text-decoration: none;
	transition: color 150ms ease;
}

.school-info__row a:hover {
	color: var(--wp--preset--color--accent-hover, #1d4ed8);
	text-decoration: underline;
}

/* School featured image rounded corners */
.school-featured-image img {
	border-radius: var(--wp--custom--border-radius--md, 1rem);
}

/* Unitate card hover effect in archive */
.unitate-card {
	transition: box-shadow 250ms ease, transform 250ms ease;
	overflow: hidden;
}

.unitate-card:hover {
	box-shadow: var(--wp--preset--shadow--md, 0 20px 40px -15px rgba(15,23,42,0.05));
	transform: translateY(-2px);
}

/* Responsive: stack columns on mobile for school detail */
@media (max-width: 781px) {
	.school-info__row {
		gap: 0.75rem;
	}
}

/* ===========================================================================
   POST LISTING PAGES (Comunicate, Anunturi)
   =========================================================================== */
/* Post list items on white pages */
body:not(.home) .wp-block-query .wp-block-group[style*="border-bottom"] {
	padding: 20px 16px !important;
	margin-left: -16px;
	margin-right: -16px;
	border-radius: 8px;
	transition: background 0.15s ease, padding-left 0.2s ease;
}
body:not(.home) .wp-block-query .wp-block-group[style*="border-bottom"]:hover {
	background: #f8fafc;
	padding-left: 24px !important;
}
/* Post title links */
body:not(.home) .wp-block-query .wp-block-post-title a {
	transition: color 0.15s ease;
}
/* Date styling */
body:not(.home) .wp-block-query .wp-block-post-date {
	font-variant-numeric: tabular-nums;
}

/* Featured image thumbnails in post listings */
body:not(.home) .wp-block-query .wp-block-post-featured-image {
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 0.5rem;
}
body:not(.home) .wp-block-query .wp-block-post-featured-image img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 0.5rem;
	transition: transform 0.3s ease;
}
body:not(.home) .wp-block-query .wp-block-group[style*="border-bottom"]:hover .wp-block-post-featured-image img {
	transform: scale(1.05);
}

/* Pagination — completely restyled */
.wp-block-query-pagination {
	gap: 6px !important;
	margin-top: 2.5rem !important;
}
.wp-block-query-pagination-numbers {
	display: flex;
	gap: 4px;
}
.wp-block-query-pagination-numbers .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #475569;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.15s ease;
}
.wp-block-query-pagination-numbers .page-numbers:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
	color: #0f172a;
}
.wp-block-query-pagination-numbers .page-numbers.current {
	background: #0f172a;
	color: #fff;
	border-color: #0f172a;
}
.wp-block-query-pagination-numbers .page-numbers.dots {
	border: none;
	background: none;
	color: #94a3b8;
	min-width: 24px;
	padding: 0;
}
/* Prev/Next buttons */
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 16px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #475569;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.15s ease;
}
.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
	color: #0f172a;
}

/* ===========================================================================
   ACHIZITII PUBLICE — Enhanced styling
   =========================================================================== */
/* Achizitii Hub — procurement landing page */
.achiz-hub__intro {
	font-size: 1rem;
	color: #64748b;
	line-height: 1.65;
	max-width: 600px;
	margin: 0 0 2.5rem;
}
.achiz-hub__section-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-heading);
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #64748b;
	margin: 2.5rem 0 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #e2e8f0;
}
.achiz-hub__section-title svg { color: #10B981; flex-shrink: 0; }

/* Card grid — recent procedures */
.achiz-hub__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}
.achiz-hub__card {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	text-decoration: none;
	color: #0f172a;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.2s ease;
}
.achiz-hub__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
	border-color: #10B981;
}
.achiz-hub__card-badge {
	display: inline-block;
	width: fit-content;
	padding: 0.15rem 0.6rem;
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: 9999px;
	background: #f1f5f9;
	color: #64748b;
	margin-bottom: 0.75rem;
}
.achiz-hub__card-badge--green { background: rgba(16, 185, 129, 0.1); color: #047857; }
.achiz-hub__card-badge--blue { background: rgba(59, 130, 246, 0.08); color: #1d4ed8; }
.achiz-hub__card-title {
	font-family: var(--font-heading);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.35;
	color: #0f172a;
	margin: 0 0 0.5rem;
}
.achiz-hub__card-desc {
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.55;
	margin: 0;
	flex: 1;
}
.achiz-hub__card-meta {
	font-size: 0.6875rem;
	color: #94a3b8;
	font-weight: 600;
	margin-top: 1rem;
	letter-spacing: 0.02em;
}
@media (max-width: 640px) { .achiz-hub__grid { grid-template-columns: 1fr; } }

/* List items — older procedures */
.achiz-hub__list {
	display: flex;
	flex-direction: column;
}
.achiz-hub__list-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid #f1f5f9;
	text-decoration: none;
	color: #0f172a;
	transition: background 0.15s ease, padding-left 0.2s ease;
}
.achiz-hub__list-item:first-child { border-top: 1px solid #f1f5f9; }
.achiz-hub__list-item:hover {
	background: #f8fafc;
	padding-left: 1.5rem;
}
.achiz-hub__list-info { flex: 1; }
.achiz-hub__list-info h3 {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #0f172a;
	margin: 0 0 0.15rem;
	line-height: 1.35;
}
.achiz-hub__list-info p {
	font-size: 0.8125rem;
	color: #64748b;
	margin: 0;
	line-height: 1.5;
}
.achiz-hub__list-arrow {
	flex-shrink: 0;
	color: #cbd5e1;
	transition: color 0.15s ease, transform 0.15s ease;
}
.achiz-hub__list-item:hover .achiz-hub__list-arrow {
	color: #10B981;
	transform: translateX(2px);
}

/* Legacy inline section — 2018 SEAP procedure */
.achiz-hub__legacy {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	padding: 1.5rem;
}
.achiz-hub__legacy-section {
	margin-bottom: 1.5rem;
}
.achiz-hub__legacy-section:last-child { margin-bottom: 0; }
.achiz-hub__legacy-section h4 {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #64748b;
	margin: 0 0 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #e2e8f0;
}
.achiz-hub__doc {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #0f172a;
	text-decoration: none;
	transition: color 0.15s ease;
}
.achiz-hub__doc:hover { color: #10B981; }
.achiz-hub__doc svg { flex-shrink: 0; color: #10B981; }
.achiz-hub__doc span { color: #94a3b8; font-weight: 400; font-size: 0.75rem; margin-left: 0.25rem; }
.achiz-hub__note {
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.55;
	margin: 0.5rem 0 0;
	padding: 0.75rem 1rem;
	background: #fff;
	border-left: 3px solid #fbbf24;
	border-radius: 0 0.375rem 0.375rem 0;
}

/* Inner-page contrast overrides */
body:not(.home) main .achiz-hub__intro { color: #64748b !important; }
body:not(.home) main .achiz-hub__section-title { color: #64748b !important; }
body:not(.home) main .achiz-hub__card { color: #0f172a !important; }
body:not(.home) main .achiz-hub__card-title { color: #0f172a !important; }
body:not(.home) main .achiz-hub__card-desc { color: #64748b !important; }
body:not(.home) main .achiz-hub__card-meta { color: #94a3b8 !important; }
body:not(.home) main .achiz-hub__list-item { color: #0f172a !important; }
body:not(.home) main .achiz-hub__list-info h3 { color: #0f172a !important; }
body:not(.home) main .achiz-hub__list-info p { color: #64748b !important; }
body:not(.home) main .achiz-hub__doc { color: #0f172a !important; }
body:not(.home) main .achiz-hub__doc:hover { color: #10B981 !important; }
body:not(.home) main .achiz-hub__note { color: #64748b !important; }
body:not(.home) main .achiz-hub__legacy-section h4 { color: #64748b !important; }

/* Sub-page links — keep for existing sub-pages */
.achiz-subpage { position: relative; overflow: hidden; }
.achiz-subpage::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #10B981; transform: scaleY(0); transition: transform 0.2s ease; }
.achiz-subpage:hover::before { transform: scaleY(1); }
.achiz-link { font-size: 0.8125rem !important; padding: 8px 12px !important; margin-bottom: 4px !important; }
.achiz-proc p[style*="font-size"] { font-size: 0.75rem !important; color: #94a3b8 !important; margin: 0 0 2px !important; }
.achiz-proc h2 { font-size: 1.125rem !important; line-height: 1.35 !important; }
.achiz-proc h3 { font-size: 0.875rem !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: 0.04em !important; color: #64748b !important; margin: 1rem 0 0.5rem !important; padding-bottom: 0.35rem !important; border-bottom: 1px solid #e2e8f0 !important; }

/* ==========================================================================
   DECLARATIONS PAGE — Transparency Dashboard
   ========================================================================== */

/* Hero */
.decl-hero {
	background: linear-gradient(135deg, #00163d 0%, #0a1628 50%, #0f2847 100%);
	color: #fff;
	padding: 8rem 2rem 4rem;
}
.decl-hero__inner {
	max-width: 1400px;
	margin: 0 auto;
}
.decl-hero__title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: #fff;
	margin: 0 0 0.75rem;
}
.decl-hero__desc {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.65);
	max-width: 600px;
	line-height: 1.65;
	margin: 0 0 2.5rem;
}

/* Stat counters row */
.decl-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	margin-bottom: 2.5rem;
}
.decl-stat {
	background: rgba(15, 40, 71, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-top: 3px solid #10B981;
	border-radius: 0.75rem;
	padding: 1.5rem 1.25rem;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	text-align: center;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.decl-stat:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.decl-stat__number {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 800;
	color: #fff;
	line-height: 1;
	margin-bottom: 0.35rem;
}
.decl-stat__label {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.5);
	font-weight: 500;
	letter-spacing: 0.02em;
}

/* Search inside hero */
.decl-search {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.65rem 1.25rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 9999px;
	max-width: 420px;
	transition: border-color 0.2s ease, background 0.2s ease;
}
.decl-search:focus-within {
	border-color: rgba(16, 185, 129, 0.4);
	background: rgba(255, 255, 255, 0.1);
}
.decl-search svg { flex-shrink: 0; color: rgba(255, 255, 255, 0.4); }
.decl-search__input {
	flex: 1;
	border: none;
	outline: none;
	background: none;
	font-family: inherit;
	font-size: 0.875rem;
	color: #fff;
}
.decl-search__input::placeholder { color: rgba(255, 255, 255, 0.35); }

@media (max-width: 768px) {
	.decl-hero { padding: 7rem 1.25rem 3rem; }
	.decl-stats { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
	.decl-stat { padding: 1.25rem 1rem; }
	.decl-stat__number { font-size: 2rem; }
	.decl-search { max-width: 100%; }
}
@media (max-width: 480px) {
	.decl-stats { grid-template-columns: 1fr 1fr; }
}

/* Year tab navigation */
.decl-tabs-wrap {
	background: #fff;
	padding: 2rem 2rem 0;
}
.decl-tabs-inner {
	max-width: 1400px;
	margin: 0 auto;
}
.decl-tabs {
	display: flex;
	gap: 0.4rem;
	flex-wrap: wrap;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #e2e8f0;
}
.decl-tab {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.5rem 1.15rem;
	font-size: 0.8125rem;
	font-weight: 600;
	font-family: inherit;
	border: 1px solid #e2e8f0;
	border-radius: 9999px;
	background: transparent;
	color: #64748b;
	cursor: pointer;
	transition: all 0.2s ease;
}
.decl-tab:hover {
	border-color: #cbd5e1;
	color: #0f172a;
}
.decl-tab.is-active {
	background: #10B981;
	color: #fff;
	border-color: #10B981;
}

/* Cards section */
.decl-section {
	background: #fff;
	padding: 2rem 2rem 4rem;
}
.decl-section__inner {
	max-width: 1400px;
	margin: 0 auto;
}
.decl-count {
	font-size: 0.8125rem;
	color: #94a3b8;
	font-weight: 500;
	margin-bottom: 1.25rem;
}
.decl-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

/* Person card */
.decl-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	padding: 1.5rem;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
	position: relative;
}
.decl-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}
.decl-card[hidden] { display: none; }
.decl-card__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 1rem;
}
.decl-card__icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(16, 185, 129, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.decl-card__icon svg { color: #10B981; }
.decl-card__year {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	font-size: 0.6875rem;
	font-weight: 700;
	border-radius: 9999px;
	background: #f1f5f9;
	color: #64748b;
}
.decl-card__name {
	font-family: var(--font-heading);
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
	margin: 0 0 0.25rem;
}
.decl-card__role {
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.5;
	margin: 0 0 1.25rem;
}
.decl-card__actions {
	display: flex;
	gap: 0.5rem;
}
.decl-card__btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.55rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 600;
	font-family: inherit;
	border-radius: 0.5rem;
	text-decoration: none;
	transition: all 0.2s ease;
	white-space: nowrap;
}
.decl-card__btn svg { flex-shrink: 0; width: 14px; height: 14px; }
.decl-card__btn--avere {
	background: rgba(16, 185, 129, 0.06);
	color: #047857;
	border: 1px solid rgba(16, 185, 129, 0.15);
}
.decl-card__btn--avere:hover {
	background: #10B981;
	color: #fff;
	border-color: #10B981;
}
.decl-card__btn--interese {
	background: rgba(59, 130, 246, 0.06);
	color: #1d4ed8;
	border: 1px solid rgba(59, 130, 246, 0.12);
}
.decl-card__btn--interese:hover {
	background: #3b82f6;
	color: #fff;
	border-color: #3b82f6;
}

/* Empty state */
.decl-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 3rem 1rem;
	color: #94a3b8;
	font-size: 0.9375rem;
}
.decl-empty svg { margin-bottom: 0.75rem; opacity: 0.4; }

@media (max-width: 1024px) { .decl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
	.decl-grid { grid-template-columns: 1fr; }
	.decl-card__actions { flex-direction: column; }
	.decl-section { padding: 1.5rem 1.25rem 3rem; }
	.decl-tabs-wrap { padding: 1.5rem 1.25rem 0; }
}

/* Legal context band */
.decl-legal {
	background: #f1f5f9;
	padding: 4rem 2rem;
}
.decl-legal__inner {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
}
.decl-legal__heading {
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 1rem;
}
.decl-legal__text p {
	font-size: 0.9375rem;
	color: #475569;
	line-height: 1.65;
	margin: 0 0 0.75rem;
}
.decl-legal__links {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.decl-legal-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.25rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	text-decoration: none;
	color: #0f172a;
	font-size: 0.875rem;
	font-weight: 600;
	transition: all 0.2s ease;
}
.decl-legal-link:hover {
	border-color: #10B981;
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
	transform: translateY(-1px);
}
.decl-legal-link svg { flex-shrink: 0; color: #10B981; }
.decl-legal-link__sub { color: #64748b; font-weight: 400; font-size: 0.8125rem; display: block; margin-top: 0.15rem; }

@media (max-width: 768px) {
	.decl-legal__inner { grid-template-columns: 1fr; gap: 2rem; }
	.decl-legal { padding: 3rem 1.25rem; }
}

/* Back button */
.decl-back {
	background: #fff;
	padding: 2rem 2rem 4rem;
	text-align: center;
}
.decl-back-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 28px;
	background: #edf2f8;
	color: #0f172a;
	font-weight: 700;
	font-size: 0.875rem;
	border-radius: 9999px;
	text-decoration: none;
	transition: all 0.2s ease;
}
.decl-back-btn:hover {
	background: #10B981;
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.decl-back-btn:hover svg { color: #fff; }
.decl-back-btn svg { flex-shrink: 0; color: #64748b; transition: color 0.2s ease; }

/* Dark mode — hero stays dark, rest adapts */
[data-theme="light"] .decl-hero {
	background: linear-gradient(135deg, #00163d 0%, #0a1628 50%, #0f2847 100%);
}
[data-theme="light"] .decl-tabs-wrap,
[data-theme="light"] .decl-section,
[data-theme="light"] .decl-back { background: #fff; }
[data-theme="light"] .decl-card { background: #fff; border-color: #e2e8f0; }
[data-theme="light"] .decl-card__name { color: #0f172a; }
[data-theme="light"] .decl-legal { background: #f1f5f9; }
[data-theme="light"] .decl-legal-link { background: #fff; }

/* Print styles for declarations */
@media print {
	.decl-hero { background: #fff !important; color: #000 !important; padding: 1rem 0 !important; }
	.decl-hero__title { color: #000 !important; }
	.decl-hero__desc { color: #333 !important; }
	.decl-stat { border: 1px solid #ccc !important; background: #fff !important; backdrop-filter: none !important; }
	.decl-stat__number { color: #000 !important; }
	.decl-stat__label { color: #666 !important; }
	.decl-search { display: none !important; }
	.decl-tabs-wrap { padding: 0.5rem 0 !important; }
	.decl-card { break-inside: avoid; box-shadow: none !important; border: 1px solid #ccc !important; }
	.decl-card[hidden] { display: block !important; }
	.decl-card__btn { border: 1px solid #999 !important; }
	.decl-back { display: none !important; }
}

/* ==========================================================================
   DECLARATIONS — Inner-page contrast overrides
   The body:not(.home) main rules force dark text everywhere.
   These overrides restore correct colors for declaration sections.
   ========================================================================== */

/* Hero section — white text on dark navy */
body:not(.home) main .decl-hero { background: linear-gradient(135deg, #00163d 0%, #0a1628 50%, #0f2847 100%) !important; color: #fff !important; }
body:not(.home) main .decl-hero h1,
body:not(.home) main .decl-hero .decl-hero__title { color: #fff !important; }
body:not(.home) main .decl-hero p,
body:not(.home) main .decl-hero .decl-hero__desc { color: rgba(255, 255, 255, 0.65) !important; }
body:not(.home) main .decl-hero div,
body:not(.home) main .decl-hero span { color: inherit !important; }
body:not(.home) main .decl-stat__number { color: #fff !important; }
body:not(.home) main .decl-stat__label { color: rgba(255, 255, 255, 0.5) !important; }
body:not(.home) main .decl-search__input { color: #040a14 !important; }
body:not(.home) main .decl-search svg { color: rgba(255, 255, 255, 0.4) !important; }

/* Tab pills */
body:not(.home) main .decl-tab { color: #64748b !important; }
body:not(.home) main .decl-tab:hover { color: #0f172a !important; }
body:not(.home) main .decl-tab.is-active { color: #fff !important; background: #10B981 !important; }

/* Person cards */
body:not(.home) main .decl-card__name { color: #0f172a !important; }
body:not(.home) main .decl-card__role { color: #64748b !important; }
body:not(.home) main .decl-card__year { color: #64748b !important; }
body:not(.home) main .decl-card__icon svg { color: #10B981 !important; }

/* Card buttons — default state */
body:not(.home) main .decl-card__btn--avere { color: #047857 !important; background: rgba(16, 185, 129, 0.06) !important; }
body:not(.home) main .decl-card__btn--interese { color: #1d4ed8 !important; background: rgba(59, 130, 246, 0.06) !important; }

/* Card buttons — hover state: white text on solid bg */
body:not(.home) main .decl-card__btn--avere:hover { color: #fff !important; background: #10B981 !important; border-color: #10B981 !important; }
body:not(.home) main .decl-card__btn--interese:hover { color: #fff !important; background: #3b82f6 !important; border-color: #3b82f6 !important; }
body:not(.home) main .decl-card__btn svg { color: inherit !important; }

/* Counter text */
body:not(.home) main .decl-count { color: #94a3b8 !important; }

/* Empty state */
body:not(.home) main .decl-empty { color: #94a3b8 !important; }

/* Legal section */
body:not(.home) main .decl-legal { background: #f1f5f9 !important; }
body:not(.home) main .decl-legal__heading { color: #0f172a !important; }
body:not(.home) main .decl-legal__text p { color: #475569 !important; }
body:not(.home) main .decl-legal__text strong { color: #0f172a !important; }
body:not(.home) main .decl-legal-link { color: #0f172a !important; }
body:not(.home) main .decl-legal-link:hover { color: #0f172a !important; }
body:not(.home) main .decl-legal-link svg { color: #10B981 !important; }
body:not(.home) main .decl-legal-link__sub { color: #64748b !important; }
body:not(.home) main .decl-legal-link .decl-legal-link__sub { color: #64748b !important; }

/* Back button */
body:not(.home) main .decl-back-btn { color: #0f172a !important; }
body:not(.home) main .decl-back-btn:hover { color: #fff !important; }
body:not(.home) main .decl-back-btn svg { color: #64748b !important; }
body:not(.home) main .decl-back-btn:hover svg { color: #fff !important; }

/* ==========================================================================
   RETEAUA DE INVATAMANT — Network Pages
   ========================================================================== */

/* Hub page — year selector cards */
.retea-hub {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}
.retea-hub__intro {
	font-size: 1rem;
	color: #64748b;
	line-height: 1.65;
	margin: 0 0 2.5rem;
}
.retea-hub__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
}
.retea-hub__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: 2.5rem 2rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	text-decoration: none;
	color: #0f172a;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.2s ease;
}
.retea-hub__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
	border-color: #10B981;
}
.retea-hub__card-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: rgba(16, 185, 129, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
}
.retea-hub__card-icon svg { color: #10B981; }
.retea-hub__card-year {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #0f172a;
}
.retea-hub__card-label {
	font-size: 0.8125rem;
	color: #64748b;
	font-weight: 500;
}
.retea-hub__card-arrow {
	margin-top: 0.5rem;
	color: #cbd5e1;
	transition: color 0.2s ease, transform 0.2s ease;
}
.retea-hub__card:hover .retea-hub__card-arrow {
	color: #10B981;
	transform: translateX(3px);
}
@media (max-width: 520px) {
	.retea-hub__grid { grid-template-columns: 1fr; }
}

/* Year page — header + table */
.retea-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 2rem;
}
.retea-header__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.85rem;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: 9999px;
	background: rgba(16, 185, 129, 0.08);
	color: #047857;
	border: 1px solid rgba(16, 185, 129, 0.12);
	margin-bottom: 1.25rem;
}
.retea-header__title {
	font-family: var(--font-heading);
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	font-weight: 700;
	color: #0f172a;
	line-height: 1.35;
	margin: 0 0 0.75rem;
}
.retea-header__sub {
	font-size: 0.9375rem;
	color: #64748b;
	line-height: 1.6;
	margin: 0 0 1.5rem;
}
.retea-header__pdf {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
	font-family: inherit;
	border-radius: 9999px;
	background: #10B981;
	color: #fff;
	text-decoration: none;
	transition: all 0.2s ease;
}
.retea-header__pdf:hover {
	background: #047857;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.retea-header__pdf svg { flex-shrink: 0; }
body:not(.home) main .retea-header__pdf { color: #fff !important; }
body:not(.home) main .retea-header__pdf:hover { color: #fff !important; }

/* Table wrapper — responsive horizontal scroll */
.retea-table-wrap {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	margin-bottom: 2rem;
}
.retea-table-wrap table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.8125rem;
	min-width: 700px;
}
.retea-table-wrap thead th {
	background: #f8fafc;
	font-weight: 700;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #64748b;
	padding: 0.75rem 1rem;
	border-bottom: 2px solid #e2e8f0;
	text-align: left;
	white-space: nowrap;
	position: sticky;
	top: 0;
	z-index: 1;
}
.retea-table-wrap thead th:first-child { text-align: center; width: 50px; }
.retea-table-wrap tbody td {
	padding: 0.6rem 1rem;
	border-bottom: 1px solid #f1f5f9;
	color: #334155;
	vertical-align: top;
}
.retea-table-wrap tbody td:first-child {
	text-align: center;
	color: #94a3b8;
	font-weight: 600;
	font-size: 0.75rem;
}
.retea-table-wrap tbody td:nth-child(2) {
	font-weight: 600;
	color: #0f172a;
}
.retea-table-wrap tbody tr:hover td {
	background: rgba(16, 185, 129, 0.03);
}
.retea-table-wrap tbody tr:last-child td {
	border-bottom: none;
}

/* Search bar above table */
.retea-search {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 9999px;
	max-width: 360px;
	margin-bottom: 1rem;
	transition: border-color 0.2s ease;
}
.retea-search:focus-within { border-color: #94a3b8; }
.retea-search svg { flex-shrink: 0; color: #94a3b8; }
.retea-search input {
	flex: 1; border: none; outline: none; background: none;
	font-family: inherit; font-size: 0.8125rem; color: #0f172a;
}
.retea-search input::placeholder { color: #94a3b8; }
.retea-count {
	font-size: 0.8125rem;
	color: #94a3b8;
	font-weight: 500;
	margin-bottom: 0.75rem;
}

/* Back to hub link */
.retea-back {
	text-align: center;
	margin-top: 2rem;
}
.retea-back a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #64748b;
	text-decoration: none;
	transition: color 0.2s ease;
}
.retea-back a:hover { color: #10B981; }
body:not(.home) main .retea-back a { color: #64748b !important; }
body:not(.home) main .retea-back a:hover { color: #10B981 !important; }

/* Inner-page contrast overrides for retea */
body:not(.home) main .retea-hub__card { color: #0f172a !important; }
body:not(.home) main .retea-hub__card-year { color: #0f172a !important; }
body:not(.home) main .retea-hub__card-label { color: #64748b !important; }
body:not(.home) main .retea-hub__intro { color: #64748b !important; }
body:not(.home) main .retea-header__badge { color: #047857 !important; }
body:not(.home) main .retea-header__title { color: #0f172a !important; }
body:not(.home) main .retea-header__sub { color: #64748b !important; }
body:not(.home) main .retea-table-wrap thead th { color: #64748b !important; }
body:not(.home) main .retea-table-wrap tbody td { color: #334155 !important; }
body:not(.home) main .retea-table-wrap tbody td:first-child { color: #94a3b8 !important; }
body:not(.home) main .retea-table-wrap tbody td:nth-child(2) { color: #0f172a !important; }
body:not(.home) main .retea-count { color: #94a3b8 !important; }

/* ==========================================================================
   TRANSPARENCY PAGES — Shared design system
   ========================================================================== */
.transp-page { max-width: 720px; margin: 0 auto; }
.transp-page__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.85rem;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: 9999px;
	background: rgba(16, 185, 129, 0.08);
	color: #047857;
	border: 1px solid rgba(16, 185, 129, 0.12);
	margin-bottom: 1.5rem;
}
.transp-page__desc {
	font-size: 0.9375rem;
	color: #475569;
	line-height: 1.7;
	margin: 0 0 1rem;
}
.transp-page__content { margin-bottom: 2rem; }
.transp-page__content p {
	font-size: 0.9375rem;
	color: #475569;
	line-height: 1.7;
	margin: 0 0 1rem;
}
.transp-page__content ul {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}
.transp-page__content li {
	font-size: 0.9375rem;
	color: #475569;
	line-height: 1.7;
	margin-bottom: 0.35rem;
}

/* Document download card */
.transp-page__doc-card {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.5rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	margin: 2rem 0;
}
.transp-page__doc-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: rgba(16, 185, 129, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.transp-page__doc-icon svg { color: #10B981; }
.transp-page__doc-info { flex: 1; }
.transp-page__doc-info h3 {
	font-family: var(--font-heading);
	font-size: 0.9375rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 0.2rem;
	line-height: 1.35;
}
.transp-page__doc-info p {
	font-size: 0.75rem;
	color: #94a3b8;
	margin: 0;
}
.transp-page__doc-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.6rem 1.25rem;
	font-size: 0.8125rem;
	font-weight: 600;
	font-family: inherit;
	border-radius: 9999px;
	background: #10B981;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	transition: all 0.2s ease;
}
.transp-page__doc-btn:hover {
	background: #047857;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
@media (max-width: 600px) {
	.transp-page__doc-card { flex-direction: column; align-items: flex-start; gap: 1rem; }
	.transp-page__doc-btn { width: 100%; justify-content: center; }
}

/* Image card (organigrama) */
.transp-page__image-card {
	margin: 2rem 0;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	overflow: hidden;
}
.transp-page__image-card a { display: block; }
.transp-page__image-card img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}
.transp-page__image-card a:hover img { transform: scale(1.02); }
.transp-page__image-hint {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.75rem;
	font-size: 0.75rem;
	color: #94a3b8;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
	margin: 0;
}

/* Info box */
.transp-page__info-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	padding: 1.5rem;
	margin: 1.5rem 0;
}
.transp-page__info-box--muted { background: #fff; }
.transp-page__info-box h3 {
	font-family: var(--font-heading);
	font-size: 0.875rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 0.75rem;
}
.transp-page__info-box p {
	font-size: 0.875rem;
	color: #475569;
	line-height: 1.65;
	margin: 0 0 0.75rem;
}
.transp-page__info-box p:last-child { margin-bottom: 0; }
.transp-page__info-box ul {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}
.transp-page__info-box li {
	font-size: 0.875rem;
	color: #475569;
	line-height: 1.65;
	margin-bottom: 0.35rem;
}
.transp-page__meta {
	font-size: 0.75rem !important;
	color: #94a3b8 !important;
	margin-top: 0.5rem !important;
}
.transp-page__contact-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.5rem 0;
	font-size: 0.875rem;
	color: #0f172a;
}
.transp-page__contact-row svg { color: #10B981; flex-shrink: 0; }

/* Nav to other transparency pages */
.transp-page__nav {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #e2e8f0;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.transp-page__nav::before {
	content: 'Alte pagini de transparență';
	display: block;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #94a3b8;
	margin-bottom: 0.75rem;
}
.transp-page__nav-link {
	display: flex;
	align-items: center;
	padding: 0.65rem 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: #0f172a;
	text-decoration: none;
	border-bottom: 1px solid #f1f5f9;
	transition: color 0.15s ease, padding-left 0.2s ease;
}
.transp-page__nav-link:hover {
	color: #10B981;
	padding-left: 0.5rem;
}

/* Inner-page contrast overrides */
body:not(.home) main .transp-page__badge { color: #047857 !important; }
body:not(.home) main .transp-page__desc { color: #475569 !important; }
body:not(.home) main .transp-page__content p { color: #475569 !important; }
body:not(.home) main .transp-page__content li { color: #475569 !important; }
body:not(.home) main .transp-page__doc-info h3 { color: #0f172a !important; }
body:not(.home) main .transp-page__doc-info p { color: #94a3b8 !important; }
body:not(.home) main .transp-page__doc-btn { color: #fff !important; }
body:not(.home) main .transp-page__doc-btn:hover { color: #fff !important; }
body:not(.home) main .transp-page__image-hint { color: #94a3b8 !important; }
body:not(.home) main .transp-page__info-box h3 { color: #0f172a !important; }
body:not(.home) main .transp-page__info-box p { color: #475569 !important; }
body:not(.home) main .transp-page__info-box li { color: #475569 !important; }
body:not(.home) main .transp-page__contact-row { color: #0f172a !important; }
body:not(.home) main .transp-page__nav-link { color: #0f172a !important; }
body:not(.home) main .transp-page__nav-link:hover { color: #10B981 !important; }

/* ==========================================================================
   PETITII PAGE — Sugestii și reclamații
   ========================================================================== */
.petitii-page { max-width: 1000px; margin: 0 auto; }
.petitii-page__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.85rem;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: 9999px;
	background: rgba(59, 130, 246, 0.08);
	color: #1d4ed8;
	border: 1px solid rgba(59, 130, 246, 0.12);
	margin-bottom: 1rem;
}
.petitii-page__intro {
	font-size: 0.9375rem;
	color: #475569;
	line-height: 1.7;
	max-width: 600px;
	margin: 0 0 2rem;
}

/* Two-column layout: form left, info right */
.petitii-page__layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 2.5rem;
	align-items: start;
}
@media (max-width: 860px) {
	.petitii-page__layout { grid-template-columns: 1fr; }
}

/* Form column */
.petitii-page__form-wrap {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	padding: 1.75rem;
}
.petitii-page__gdpr-note {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.75rem;
	color: #94a3b8;
	margin-top: 1rem;
}
.petitii-page__gdpr-note a { color: #10B981; text-decoration: none; }
.petitii-page__gdpr-note a:hover { text-decoration: underline; }
.petitii-page__gdpr-note svg { flex-shrink: 0; color: #10B981; }

/* Info column cards */
.petitii-page__info-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	padding: 1.25rem;
	margin-bottom: 1rem;
}
.petitii-page__info-card:last-child { margin-bottom: 0; }
.petitii-page__info-card h3 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-heading);
	font-size: 0.8125rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 0.75rem;
}
.petitii-page__info-card h3 svg { color: #10B981; flex-shrink: 0; }
.petitii-page__info-card p {
	font-size: 0.8125rem;
	color: #475569;
	line-height: 1.6;
	margin: 0 0 0.5rem;
}
.petitii-page__info-card p:last-child { margin-bottom: 0; }
.petitii-page__info-card ul {
	margin: 0;
	padding-left: 1.15rem;
}
.petitii-page__info-card li {
	font-size: 0.8125rem;
	color: #475569;
	line-height: 1.6;
	margin-bottom: 0.3rem;
}
.petitii-page__info-card--contact { background: #f8fafc; }
.petitii-page__contact-row {
	font-size: 0.8125rem;
	color: #475569;
	margin-bottom: 0.4rem;
	line-height: 1.5;
}
.petitii-page__contact-row a { color: #10B981; text-decoration: none; }
.petitii-page__contact-row a:hover { text-decoration: underline; }

/* Inner-page contrast overrides */
body:not(.home) main .petitii-page__badge { color: #1d4ed8 !important; }
body:not(.home) main .petitii-page__intro { color: #475569 !important; }
body:not(.home) main .petitii-page__gdpr-note { color: #94a3b8 !important; }
body:not(.home) main .petitii-page__gdpr-note a { color: #10B981 !important; }
body:not(.home) main .petitii-page__info-card h3 { color: #0f172a !important; }
body:not(.home) main .petitii-page__info-card p { color: #475569 !important; }
body:not(.home) main .petitii-page__info-card li { color: #475569 !important; }
body:not(.home) main .petitii-page__contact-row { color: #475569 !important; }
body:not(.home) main .petitii-page__contact-row a { color: #10B981 !important; }

/* ==========================================================================
   CONTACT PAGE — Redesigned layout
   ========================================================================== */
.contact-page { max-width: 1000px; margin: 0 auto; }
.contact-page__grid {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 2.5rem;
	align-items: start;
}
@media (max-width: 860px) {
	.contact-page__grid { grid-template-columns: 1fr; }
}
.contact-page__card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	padding: 1.25rem;
	margin-bottom: 1rem;
}
.contact-page__card:last-child { margin-bottom: 0; }
.contact-page__card h3 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-heading);
	font-size: 0.8125rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 0.75rem;
}
.contact-page__card h3 svg { color: #10B981; flex-shrink: 0; }
.contact-page__row {
	font-size: 0.8125rem;
	color: #475569;
	line-height: 1.6;
	margin-bottom: 0.35rem;
}
.contact-page__row a { color: #10B981; text-decoration: none; }
.contact-page__row a:hover { text-decoration: underline; }
.contact-page__note {
	font-size: 0.75rem;
	color: #94a3b8;
	margin: 0.5rem 0 0;
}
.contact-page__form-title {
	font-family: var(--font-heading);
	font-size: 1.1rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #e2e8f0;
}
.contact-page__form-wrap {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	padding: 1.75rem;
}
.contact-page__gdpr-note {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.75rem;
	color: #64748b;
	margin: 1.25rem 0 0;
	padding: 0.85rem 1rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 0.5rem;
	line-height: 1.55;
}
.contact-page__gdpr-note svg { flex-shrink: 0; color: #10B981; margin-top: 1px; }
.contact-page__gdpr-note a { color: #10B981; text-decoration: none; font-weight: 600; }
.contact-page__gdpr-note a:hover { text-decoration: underline; }
.contact-page__gdpr-note span { flex: 1; }

/* Full-width map below the grid */
.contact-page__map-full {
	margin-top: 2.5rem;
	border-radius: 0.75rem;
	overflow: hidden;
	border: 1px solid #e2e8f0;
}
.contact-page__map-full iframe { display: block; width: 100%; }

/* Inner-page overrides */
body:not(.home) main .contact-page__card h3 { color: #0f172a !important; }
body:not(.home) main .contact-page__row { color: #475569 !important; }
body:not(.home) main .contact-page__row a { color: #10B981 !important; }
body:not(.home) main .contact-page__form-title { color: #0f172a !important; }
body:not(.home) main .contact-page__note { color: #94a3b8 !important; }
body:not(.home) main .contact-page__gdpr-note { color: #64748b !important; }
body:not(.home) main .contact-page__gdpr-note a { color: #10B981 !important; }

/* ==========================================================================
   HIGH CONTRAST — FINAL OVERRIDES (must be last in file)
   These override ALL inner-page !important rules by appearing last.
   Same specificity + !important + last-in-source = wins.
   ========================================================================== */
html.high-contrast body:not(.home) main .transp-page__nav-link,
html.high-contrast body:not(.home) main .transp-page__nav-link:visited { color: #fff !important; }
html.high-contrast body:not(.home) main .transp-page__nav-link:hover { color: #34d399 !important; }
html.high-contrast body:not(.home) main .transp-page__badge { color: #000 !important; }
html.high-contrast body:not(.home) main .petitii-page__badge { color: #000 !important; }
html.high-contrast body:not(.home) main .achiz-hub__doc,
html.high-contrast body:not(.home) main .achiz-hub__doc:visited { color: #34d399 !important; }
html.high-contrast body:not(.home) main .achiz-hub__note { background: #111 !important; color: #fff !important; }
html.high-contrast body:not(.home) main .achiz-hub__card-title { color: #fff !important; }
html.high-contrast body:not(.home) main .achiz-hub__card-desc { color: rgba(255,255,255,0.8) !important; }
html.high-contrast body:not(.home) main .achiz-hub__card-meta { color: rgba(255,255,255,0.5) !important; }
html.high-contrast body:not(.home) main .achiz-hub__list-info h3 { color: #fff !important; }
html.high-contrast body:not(.home) main .achiz-hub__list-info p { color: rgba(255,255,255,0.7) !important; }
html.high-contrast body:not(.home) main .achiz-hub__legacy-section h4 { color: #fff !important; }
html.high-contrast body:not(.home) main .achiz-hub__section-title { color: #fff !important; }
html.high-contrast body:not(.home) main .decl-card__btn--avere,
html.high-contrast body:not(.home) main .decl-card__btn--interese { background: #fff !important; color: #000 !important; border-color: #fff !important; }
html.high-contrast body:not(.home) main .decl-legal { background: #000 !important; }
html.high-contrast body:not(.home) main .decl-legal__heading { color: #fff !important; }
html.high-contrast body:not(.home) main .decl-legal__text p { color: #fff !important; }
html.high-contrast body:not(.home) main .decl-legal-link,
html.high-contrast body:not(.home) main .decl-legal-link:visited { background: #111 !important; color: #fff !important; border-color: #fff !important; }
html.high-contrast body:not(.home) main .decl-legal-link__sub { color: rgba(255,255,255,0.6) !important; }
html.high-contrast body:not(.home) main .decl-back-btn,
html.high-contrast body:not(.home) main .decl-back-btn:visited { background: #fff !important; color: #000 !important; }
html.high-contrast body:not(.home) main .decl-back-btn svg { color: #000 !important; }
html.high-contrast body:not(.home) main .decl-count { color: rgba(255,255,255,0.6) !important; }
html.high-contrast body:not(.home) main .decl-card__name { color: #fff !important; }
html.high-contrast body:not(.home) main .decl-card__role { color: rgba(255,255,255,0.7) !important; }
html.high-contrast body:not(.home) main .decl-card__year { color: #000 !important; background: #fff !important; }
html.high-contrast body:not(.home) main .retea-header__title { color: #fff !important; }
html.high-contrast body:not(.home) main .retea-header__sub { color: rgba(255,255,255,0.7) !important; }
html.high-contrast body:not(.home) main .retea-header__badge { color: #000 !important; }
html.high-contrast body:not(.home) main .retea-count { color: rgba(255,255,255,0.6) !important; }
html.high-contrast body:not(.home) main .retea-hub__card-year { color: #fff !important; }
html.high-contrast body:not(.home) main .retea-hub__card-label { color: rgba(255,255,255,0.6) !important; }
html.high-contrast body:not(.home) main .retea-hub__intro { color: rgba(255,255,255,0.7) !important; }
html.high-contrast body:not(.home) main .transp-page__doc-info h3 { color: #fff !important; }
html.high-contrast body:not(.home) main .transp-page__doc-info p { color: rgba(255,255,255,0.6) !important; }
html.high-contrast body:not(.home) main .transp-page__doc-btn,
html.high-contrast body:not(.home) main .transp-page__doc-btn:visited { background: #fff !important; color: #000 !important; }
html.high-contrast body:not(.home) main .transp-page__info-box h3 { color: #fff !important; }
html.high-contrast body:not(.home) main .transp-page__info-box p { color: #fff !important; }
html.high-contrast body:not(.home) main .transp-page__info-box li { color: #fff !important; }
html.high-contrast body:not(.home) main .transp-page__image-hint { color: #fff !important; background: #111 !important; }
html.high-contrast body:not(.home) main .contact-page__card h3 { color: #fff !important; }
html.high-contrast body:not(.home) main .contact-page__row { color: #fff !important; }
html.high-contrast body:not(.home) main .contact-page__row a,
html.high-contrast body:not(.home) main .contact-page__row a:visited { color: #34d399 !important; }
html.high-contrast body:not(.home) main .contact-page__form-title { color: #fff !important; }
html.high-contrast body:not(.home) main .petitii-page__info-card h3 { color: #fff !important; }
html.high-contrast body:not(.home) main .petitii-page__info-card p { color: #fff !important; }
html.high-contrast body:not(.home) main .petitii-page__info-card li { color: #fff !important; }
html.high-contrast body:not(.home) main .petitii-page__contact-row { color: #fff !important; }
html.high-contrast body:not(.home) main .petitii-page__contact-row a,
html.high-contrast body:not(.home) main .petitii-page__contact-row a:visited { color: #34d399 !important; }
/* HC: Post listings */
html.high-contrast body:not(.home) .wp-block-query .wp-block-post-title a,
html.high-contrast body:not(.home) .wp-block-query .wp-block-post-title a:visited { color: #34d399 !important; }
html.high-contrast body:not(.home) .wp-block-query .wp-block-post-date { color: rgba(255,255,255,0.5) !important; }
/* HC: Buttons — must be absolute last to beat inner-page overrides */
html.high-contrast body:not(.home) main .decl-card__btn--avere,
html.high-contrast body:not(.home) main .decl-card__btn--interese { background: #fff !important; color: #000 !important; border-color: #fff !important; }
html.high-contrast body:not(.home) main .retea-header__pdf { background: #fff !important; color: #000 !important; }
html.high-contrast body:not(.home) main .transp-page__doc-btn { background: #fff !important; color: #000 !important; }
html.high-contrast body:not(.home) main .transp-page__info-box,
html.high-contrast body:not(.home) main .transp-page__doc-card,
html.high-contrast body:not(.home) main .achiz-hub__legacy { background: #111 !important; border-color: #fff !important; }

/* ==========================================================================
   HIGH CONTRAST — FRONT PAGE (body.home) FIXES
   Front page doesn't use body:not(.home), needs direct class targeting.
   ========================================================================== */

/* Hero — WP global styles set h1 color, must override with body-level specificity */
html.high-contrast body .hero__heading,
html.high-contrast body main .hero__heading,
html.high-contrast h1.hero__heading { color: #fff !important; }
html.high-contrast .hero__sub { color: rgba(255,255,255,0.8) !important; }
html.high-contrast .dir-section,
html.high-contrast .dir-header,
html.high-contrast .dir-toolbar,
html.high-contrast .dir-filters,
html.high-contrast .dir-loadmore { color: #fff !important; }
html.high-contrast .hero__quick-label { color: rgba(255,255,255,0.6) !important; }
html.high-contrast .hero__status { color: #fff !important; }
html.high-contrast .hero-search { background: #111 !important; border-color: #fff !important; }
html.high-contrast .hero-search input { color: #fff !important; }
html.high-contrast .hero-search input::placeholder { color: rgba(255,255,255,0.4) !important; }
html.high-contrast .hero-search__btn { background: #fff !important; color: #000 !important; }
html.high-contrast .hero__quick-pill { background: #111 !important; border-color: #fff !important; color: #fff !important; }

/* Notice cards */
html.high-contrast .notice-card { background: #111 !important; border-color: #fff !important; }
html.high-contrast .notice-card__title { color: #fff !important; }
html.high-contrast .notice-card__desc { color: rgba(255,255,255,0.8) !important; }
html.high-contrast .notice-card__badge { background: #fff !important; color: #000 !important; border-color: #fff !important; }
html.high-contrast .notice-card__btn { background: #fff !important; color: #000 !important; border-color: #fff !important; }

/* Section titles */
html.high-contrast .section-title { color: #040a14 !important; }
html.high-contrast .section-desc { color: rgba(255,255,255,0.7) !important; }

/* Directory section */
html.high-contrast .dir-section { background: #000 !important; }
html.high-contrast .dir-title { color: #fff !important; }
html.high-contrast .dir-desc { color: rgba(255,255,255,0.7) !important; }
html.high-contrast .dir-filter { border-color: #fff !important; color: #fff !important; background: transparent !important; }
html.high-contrast .dir-filter.is-active { background: #fff !important; color: #000 !important; }
html.high-contrast .dir-search { background: #111 !important; border-color: #fff !important; }
html.high-contrast .dir-search input { color: #fff !important; }
html.high-contrast .dir-count { color: rgba(255,255,255,0.5) !important; }
html.high-contrast .dir-card { background: #111 !important; border-color: #fff !important; }
html.high-contrast .dir-card__name { color: #fff !important; }
html.high-contrast .dir-card__badge { color: #000 !important; background: #fff !important; }
html.high-contrast .dir-card__info { color: rgba(255,255,255,0.7) !important; }
html.high-contrast .dir-card__row { color: rgba(255,255,255,0.7) !important; }
html.high-contrast .dir-card__row a { color: #34d399 !important; }
html.high-contrast .dir-loadmore__btn,
html.high-contrast body .dir-loadmore__btn,
html.high-contrast body main button.dir-loadmore__btn { background: #fff !important; color: #000 !important; border-color: #fff !important; }
html.high-contrast .dir-empty { color: rgba(255,255,255,0.5) !important; }

/* News section */
html.high-contrast .news-section { background: #000 !important; }
html.high-contrast .news-tab { color: #fff !important; border-color: #fff !important; }
html.high-contrast .news-tab.is-active { background: #fff !important; color: #000 !important; }
html.high-contrast .news-card { background: #111 !important; border-color: #fff !important; }
html.high-contrast .news-card h3,
html.high-contrast .news-card__title { color: #fff !important; }
html.high-contrast .news-card__tag { color: rgba(255,255,255,0.6) !important; }
html.high-contrast .news-card__date { color: rgba(255,255,255,0.5) !important; }
html.high-contrast .noutati__item { border-color: #333 !important; }
html.high-contrast .noutati__item-title { color: #040a14 !important; }
html.high-contrast .noutati__item-date { color: rgba(255,255,255,0.5) !important; }
html.high-contrast .noutati__more { color: #34d399 !important; }

/* Map section */
html.high-contrast .map-section { background: #000 !important; }
html.high-contrast .map-section h2 { color: #fff !important; }
html.high-contrast .map-section p { color: rgba(255,255,255,0.7) !important; }

/* CTA band */
html.high-contrast .cta-band { background: #000 !important; border-top: 1px solid #fff !important; }
html.high-contrast .cta-band__title { color: #fff !important; }
html.high-contrast .cta-band__desc { color: rgba(255,255,255,0.7) !important; }
html.high-contrast .cta-band__btn { background: #fff !important; color: #000 !important; border-color: #fff !important; }

/* Nav dropdown in header */
html.high-contrast .main-nav__sub { background: #111 !important; border-color: #fff !important; }
html.high-contrast .main-nav__sub a { color: #fff !important; }
html.high-contrast .main-nav__sub a:hover { color: #34d399 !important; }
html.high-contrast .main-nav__sub li { color: #fff !important; }

/* Footer overrides for schedule boxes */
html.high-contrast .footer__schedule { background: #111 !important; border-color: #fff !important; color: #fff !important; }
html.high-contrast .footer__schedule-title { color: rgba(255,255,255,0.6) !important; }
html.high-contrast .footer__heading { color: rgba(255,255,255,0.6) !important; }
html.high-contrast .footer__list a,
html.high-contrast .footer__list a:visited { color: #34d399 !important; }
html.high-contrast .footer__contact-item { color: #fff !important; }
html.high-contrast .footer__contact-item a,
html.high-contrast .footer__contact-item a:visited { color: #34d399 !important; }
html.high-contrast .footer__bottom { color: rgba(255,255,255,0.5) !important; }
html.high-contrast .footer__legal a,
html.high-contrast .footer__legal a:visited { color: rgba(255,255,255,0.6) !important; }
html.high-contrast .footer__institutional { color: rgba(255,255,255,0.4) !important; }
html.high-contrast .footer__cta--outline { background: transparent !important; border-color: #fff !important; color: #fff !important; }
html.high-contrast .footer__cta--filled { background: #fff !important; color: #000 !important; }
html.high-contrast .footer__brand-text span { color: rgba(255,255,255,0.7) !important; }

/* Notices section */
html.high-contrast .notices-section { background: #000 !important; }

/* Spotlight panel */
html.high-contrast .hero-spotlight__panel { background: #111 !important; border-color: #fff !important; color: #fff !important; }
html.high-contrast .hero-spotlight__panel strong { color: #fff !important; }

/* A11y floating widget */
html.high-contrast .a11y-float__toggle { background: #111 !important; border-color: #fff !important; }
html.high-contrast .a11y-float__panel { background: #111 !important; border: 1px solid #fff !important; }
html.high-contrast .a11y-float__title { color: #fff !important; }
html.high-contrast .a11y-float__btn { background: #000 !important; border-color: #fff !important; color: #fff !important; }
html.high-contrast .a11y-float__btn span { color: #fff !important; }

/* Mobile menu */
html.high-contrast .mobile-menu { background: #000 !important; }
html.high-contrast .mobile-menu__nav a { color: #fff !important; border-color: #333 !important; }
html.high-contrast .mobile-menu__nav a:hover { color: #34d399 !important; }
html.high-contrast .mobile-menu__toggle { color: #fff !important; border-color: #333 !important; }
html.high-contrast .mobile-menu__sub { background: #0a0a0a !important; }
html.high-contrast .mobile-menu__sub a { color: rgba(255,255,255,0.8) !important; border-color: #222 !important; }
html.high-contrast .mobile-menu__sub a:hover { color: #34d399 !important; }
html.high-contrast .mobile-menu__contact-item { color: rgba(255,255,255,0.7) !important; }

/* Search modal */
html.high-contrast .search-modal__content { background: #111 !important; border: 1px solid #fff !important; }
html.high-contrast .search-modal__input { background: #000 !important; color: #fff !important; }
html.high-contrast .search-modal__hint { color: rgba(255,255,255,0.5) !important; }
html.high-contrast .search-modal__result { color: #fff !important; border-color: #333 !important; }
html.high-contrast .search-modal__result:hover { background: #1a1a1a !important; }
html.high-contrast .search-modal__result-type { background: #fff !important; color: #000 !important; }
html.high-contrast .search-modal__footer { color: rgba(255,255,255,0.4) !important; border-color: #333 !important; }
html.high-contrast .search-modal__shortcut kbd { background: #000 !important; border-color: #fff !important; color: #fff !important; }

/* ==========================================================================
   LISTARE UNITATI — Inner page directory overrides
   3-column grid, white bg, proper text colors, map spacing
   ========================================================================== */
body:not(.home) .dir-section { background: #fff !important; color: #0f172a !important; padding: 0 24px 3rem !important; }
body:not(.home) .dir-section__inner { max-width: 1400px; margin: 0 auto; }
body:not(.home) .dir-title { color: #0f172a !important; font-size: clamp(1.5rem, 3vw, 2rem) !important; }
body:not(.home) .dir-desc { color: #64748b !important; }
body:not(.home) .dir-count { color: #94a3b8 !important; }
body:not(.home) .dir-grid { grid-template-columns: repeat(3, 1fr) !important; }
body:not(.home) .dir-card { background: #fff !important; border-color: #e2e8f0 !important; }
body:not(.home) .dir-card__name { color: #0f172a !important; }
body:not(.home) .dir-card__row { color: #475569 !important; }
body:not(.home) .dir-card__row a { color: #10B981 !important; }
body:not(.home) .dir-filter { color: #64748b !important; border-color: #e2e8f0 !important; }
body:not(.home) .dir-filter.is-active { background: #0f172a !important; color: #fff !important; border-color: #0f172a !important; }
body:not(.home) .dir-search { background: #f8fafc !important; border-color: #e2e8f0 !important; }
body:not(.home) .dir-search input { color: #0f172a !important; }
body:not(.home) .dir-empty { color: #94a3b8 !important; }
body:not(.home) .leaflet-map-section { background: #fff !important; padding: 3rem 0 4rem !important; }
body:not(.home) .leaflet-map-section .section-title { color: #0f172a !important; }
body:not(.home) .leaflet-map-section .section-label { color: #10B981 !important; }
body:not(.home) .leaflet-map-section p { color: #475569 !important; }
@media (max-width: 1024px) { body:not(.home) .dir-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 600px) { body:not(.home) .dir-grid { grid-template-columns: 1fr !important; } }

/* Leaflet map pin styles (shared between front page and listare) */
.map-pin { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 2.5px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2); transition: transform .2s ease; }
.map-pin:hover { transform: scale(1.15); }
.map-pin svg { display: block; }
.map-pin--colegiu { background: #10B981; }
.map-pin--scoala { background: #3b82f6; }
.map-pin--gradinita { background: #f59e0b; }
