/* HERA KPK Government Theme v2 */
:root {
    --hera-primary: #033517;
    --hera-primary-light: #0a5c2e;
    --hera-primary-dark: #021f0f;
    --hera-accent: #1a8f4a;
    --hera-accent-light: #eef6f1;
    --hera-gold: #b8922a;
    --hera-text: #1a2e1c;
    --hera-text-muted: #5a6b5c;
    --hera-white: #ffffff;
    --hera-light: #f7faf8;
    --hera-border: #d5e3d9;
    --hera-shadow-sm: 0 2px 8px rgba(3, 53, 23, 0.06);
    --hera-shadow: 0 4px 20px rgba(3, 53, 23, 0.08);
    --hera-shadow-lg: 0 12px 40px rgba(3, 53, 23, 0.12);
    --hera-radius: 6px;
    --hera-radius-lg: 10px;
    --hera-font: 'Source Sans 3', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --hera-container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--hera-font);
    color: var(--hera-text);
    line-height: 1.65;
    background: var(--hera-white);
    font-size: 16px;
}

a { text-decoration: none; transition: color 0.2s, background 0.2s, border-color 0.2s; }
img { max-width: 100%; height: auto; display: block; }

.hera-container {
    max-width: var(--hera-container);
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* ===== TOP UTILITY BAR ===== */
.hera-top-utility {
    background: var(--hera-primary-dark);
    border-bottom: 2px solid var(--hera-gold);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
    padding: 0.45rem 0;
}

.utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

/* Notice ticker (top bar) */
.utility-ticker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.ticker-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    background: var(--hera-gold);
    color: var(--hera-primary-dark);
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0.28rem 0.65rem;
    border-radius: 3px;
    white-space: nowrap;
}

.ticker-badge i {
    font-size: 0.625rem;
}

.ticker-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: hera-ticker 40s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    padding-inline-end: 3rem;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8125rem;
}

.ticker-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #7dffb0;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.ticker-link:hover {
    color: #fff;
}

.ticker-link i {
    font-size: 0.65rem;
}

@keyframes hera-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
        flex-wrap: wrap;
        width: auto;
    }

    .ticker-content[aria-hidden="true"] {
        display: none;
    }

    .ticker-viewport {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

.utility-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}

.hera-social-links {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.hera-social-links .social-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.75);
    margin-inline-end: 0.35rem;
}

.hera-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.85rem;
    transition: background 0.2s, transform 0.2s;
}

.hera-social-links a:hover {
    background: var(--hera-gold);
    color: #fff;
    transform: translateY(-1px);
}

.hera-social-links--footer a {
    background: rgba(255, 255, 255, 0.08);
}

.hera-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
}

.hera-lang-switch .lang-btn {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 3px;
    text-decoration: none;
}

.hera-lang-switch .lang-btn.active {
    background: var(--hera-gold);
    color: #fff;
}

.hera-lang-switch .lang-btn:hover:not(.active) {
    color: #fff;
}

.hera-lang-switch .lang-divider {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
}

/* ===== RTL SUPPORT ===== */
body.hera-rtl {
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
}

/* --- RTL: header & footer only (English layout unchanged) --- */
html[dir="rtl"] .hera-brand {
    text-align: right;
}

html[dir="rtl"] .hera-brand-text .gov-label {
    letter-spacing: 0;
    text-transform: none;
}

html[dir="rtl"] .hera-brand-text .site-title {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.55;
}

html[dir="rtl"] .hera-brand-text .site-tagline {
    line-height: 1.75;
    max-width: 520px;
}

html[dir="rtl"] .hera-header-contact {
    align-items: flex-end;
    text-align: left;
}

html[dir="rtl"] .hera-contact-chip {
    flex-direction: row;
    text-align: left;
}

html[dir="rtl"] .hera-main-nav .nav-link {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.875rem;
    padding: 0.85rem 0.6rem !important;
    white-space: nowrap;
}

html[dir="rtl"] .hera-main-nav .dropdown-menu {
    text-align: right;
}

html[dir="rtl"] .hera-main-nav .dropdown-toggle::after {
    margin-left: 0;
    margin-right: 0.35em;
}

html[dir="rtl"] .hera-nav-search {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hera-nav-search input {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .btn-apply {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.8125rem;
    padding: 0.5rem 0.9rem;
}

html[dir="rtl"] .ticker-badge {
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
}

html[dir="rtl"] .ticker-content {
    font-size: 0.875rem;
    line-height: 1.6;
}

html[dir="rtl"] .hera-social-links .social-label {
    text-transform: none;
    letter-spacing: 0;
}

html[dir="rtl"] .hera-footer {
    text-align: right;
}

html[dir="rtl"] .hera-footer h5 {
    display: block;
    width: 100%;
}

html[dir="rtl"] .hera-footer ul li a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

html[dir="rtl"] .hera-footer ul li a i {
    margin-right: 0;
    transform: scaleX(-1);
}

html[dir="rtl"] .hera-footer-contact li {
    flex-direction: row;
    text-align: right;
}

html[dir="rtl"] .hera-alert-box {
    border-left: none;
    border-right: 3px solid var(--hera-gold);
    text-align: right;
    line-height: 1.75;
}

html[dir="rtl"] .hera-footer-bar .hera-container > div {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hera-footer-bar .hera-social-links {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hera-alert-box .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

html[dir="rtl"] .hera-footer-bar p {
    direction: rtl;
}

html[dir="rtl"] .hera-prefooter {
    text-align: right;
}

html[dir="rtl"] .hera-subscribe-panel input {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .hera-subscribe-panel .btn-sub {
    letter-spacing: 0;
}

/* --- RTL: content sections (unchanged behaviour) --- */
html[dir="rtl"] .hera-service-row:hover {
    transform: translateX(-4px);
}

html[dir="rtl"] .hera-about-features .feature-item,
html[dir="rtl"] .hera-pillar-card,
html[dir="rtl"] .bottom-card {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .hera-aside-links a {
    flex-direction: row-reverse;
}

html[dir="rtl"] .ticker-track {
    animation-name: hera-ticker-rtl;
}

html[dir="rtl"] .ticker-viewport {
    -webkit-mask-image: linear-gradient(to left, transparent, #000 3%, #000 97%, transparent);
    mask-image: linear-gradient(to left, transparent, #000 3%, #000 97%, transparent);
}

html[dir="rtl"] .ticker-link i,
html[dir="rtl"] .ticker-content .fa-arrow-right {
    transform: scaleX(-1);
}

@keyframes hera-ticker-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

html[dir="rtl"] .hero-nav-prev {
    left: auto;
    right: 0;
}

html[dir="rtl"] .hero-nav-next {
    right: auto;
    left: 0;
}

html[dir="rtl"] .hero-nav-btn.hero-nav-prev i,
html[dir="rtl"] .hero-nav-btn.hero-nav-next i {
    transform: scaleX(-1);
}

html[dir="rtl"] .svc-arrow i,
html[dir="rtl"] .news-link i,
html[dir="rtl"] .btn-read i {
    transform: scaleX(-1);
}

html[dir="rtl"] .hera-service-row .svc-arrow i {
    transform: scaleX(-1);
}

/* ===== SITE HEADER ===== */
.hera-site-header {
    background: var(--hera-white);
    border-bottom: 1px solid var(--hera-border);
    padding: 0.85rem 0;
}

.hera-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hera-brand {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    flex: 1;
    min-width: 0;
    color: inherit;
}

.hera-brand:hover { color: inherit; }

.hera-brand-logo {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background: #fff;
    /* border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius);
    box-shadow: var(--hera-shadow-sm); */
}

.hera-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hera-brand-text {
    min-width: 0;
}

.hera-brand-text .gov-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--hera-gold);
    margin: 0 0 0.25rem;
    line-height: 1.2;
}

.hera-brand-text .site-title {
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 800;
    color: var(--hera-primary);
    margin: 0;
    line-height: 1.25;
}

.hera-brand-text .site-tagline {
    font-size: 0.8125rem;
    color: var(--hera-text-muted);
    margin: 0.35rem 0 0;
    line-height: 1.45;
    max-width: 480px;
}

.hera-header-divider {
    width: 1px;
    height: 72px;
    background: var(--hera-border);
    flex-shrink: 0;
}

.hera-header-contact {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    align-items: flex-end;
    flex-shrink: 0;
}

.hera-contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--hera-text);
}

.hera-contact-chip i {
    width: 28px;
    height: 28px;
    background: var(--hera-accent-light);
    color: var(--hera-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* ===== MAIN NAV ===== */
.hera-main-nav {
    background: var(--hera-primary);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 12px rgba(3,53,23,0.25);
}

.hera-main-nav .nav-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    min-height: 50px;
}

.hera-main-nav .navbar-nav {
    flex-direction: row;
    gap: 0;
    align-items: stretch;
    height: 100%;
}

.hera-main-nav .nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.hera-main-nav .nav-link {
    position: relative;
    color: rgba(255,255,255,0.82) !important;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    align-self: stretch;
    width: 100%;
    padding: 0 1rem !important;
    border: none !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.hera-main-nav .nav-item.is-active > .nav-link {
    color: #fff !important;
    font-weight: 700;
}

.hera-main-nav .nav-link:hover {
    color: #fff !important;
    background: transparent !important;
}

.hera-main-nav .dropdown-toggle::after {
    margin-left: 0.4em;
    vertical-align: 0.1em;
}

/* Active indicator — full-width bar on nav item, not on link text */
.hera-main-nav .nav-item.is-active::after {
    content: '';
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0;
    height: 3px;
    background: var(--hera-gold);
    border-radius: 2px 2px 0 0;
    pointer-events: none;
}

@media (min-width: 992px) {
    .hera-main-nav .nav-item:not(.is-active):hover::after {
        content: '';
        position: absolute;
        left: 0.85rem;
        right: 0.85rem;
        bottom: 0;
        height: 2px;
        background: rgba(184, 146, 42, 0.45);
        border-radius: 2px 2px 0 0;
        pointer-events: none;
    }
}

.hera-main-nav .dropdown-toggle.show {
    color: #fff !important;
}

.hera-main-nav .dropdown-menu {
    border: none;
    border-top: 3px solid var(--hera-gold);
    border-radius: 0 0 var(--hera-radius) var(--hera-radius);
    box-shadow: var(--hera-shadow-lg);
    margin-top: 0;
    padding: 0.35rem 0;
}

.hera-main-nav .dropdown-item {
    font-size: 0.875rem;
    padding: 0.55rem 1.25rem;
}

.hera-main-nav .dropdown-item:hover {
    background: var(--hera-accent-light);
    color: var(--hera-primary);
}

.hera-main-nav .dropdown-item.active,
.hera-main-nav .dropdown-item.active:hover {
    background: var(--hera-accent-light);
    color: var(--hera-primary);
    font-weight: 700;
    border-left: 3px solid var(--hera-gold);
    padding-left: calc(1.25rem - 3px);
}

.hera-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hera-nav-search {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
}

.hera-nav-search input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0.4rem 0.75rem;
    font-size: 0.8125rem;
    width: 140px;
    outline: none;
}

.hera-nav-search input::placeholder { color: rgba(255,255,255,0.55); }

.hera-nav-search button {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    padding: 0.4rem 0.65rem;
    cursor: pointer;
}

.btn-apply {
    background: var(--hera-gold);
    color: #fff;
    border: none;
    padding: 0.5rem 1.1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    white-space: nowrap;
}

.btn-apply:hover { background: #d4a832; color: #fff; }

.hera-nav-toggler {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 0.35rem 0.55rem;
    border-radius: 4px;
    font-size: 1.1rem;
    line-height: 1;
}

.hera-nav-toggler--header {
    flex-shrink: 0;
    margin-inline-start: auto;
    background: var(--hera-accent-light);
    border: 1px solid var(--hera-border);
    color: var(--hera-primary);
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hera-nav-toggler--header:hover,
.hera-nav-toggler--header:focus {
    background: var(--hera-primary);
    border-color: var(--hera-primary);
    color: #fff;
}

.hera-nav-mobile-actions {
    padding: 0.75rem 0 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.hera-nav-search--mobile {
    width: 100%;
}

.hera-nav-search--mobile input {
    width: 100%;
    flex: 1;
}

.btn-apply--mobile {
    display: block;
    text-align: center;
    width: 100%;
    padding: 0.65rem 1rem;
}

.hera-mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding-top: 0.35rem;
}

.hera-mobile-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
}

.hera-mobile-contact-link i {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.hera-mobile-contact-link:hover {
    color: #fff;
}

/* ===== BUTTONS ===== */
.btn-hera-primary {
    background: var(--hera-primary);
    color: #fff;
    border: 2px solid var(--hera-primary);
    padding: 0.65rem 1.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hera-primary:hover { background: var(--hera-primary-light); border-color: var(--hera-primary-light); color: #fff; }

.btn-hera-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
    padding: 0.65rem 1.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
}

.btn-hera-outline:hover { background: #fff; color: var(--hera-primary); border-color: #fff; }

.btn-hera-outline-dark {
    background: transparent;
    color: var(--hera-primary);
    border: 2px solid var(--hera-primary);
    padding: 0.65rem 1.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
}

.btn-hera-outline-dark:hover { background: var(--hera-primary); color: #fff; }

.btn-hera-gold {
    background: var(--hera-gold);
    color: var(--hera-primary-dark);
    border: 2px solid var(--hera-gold);
    padding: 0.75rem 1.35rem;
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-hera-gold:hover {
    background: #c9a227;
    border-color: #c9a227;
    color: var(--hera-primary-dark);
    transform: translateY(-1px);
}

/* ===== SECTION SYSTEM ===== */
.hera-section {
    padding: 4rem 0;
}

.hera-section-alt {
    background: var(--hera-light);
}

.hera-section-dark {
    background: var(--hera-primary);
    color: #fff;
}

.hera-section-header {
    margin-bottom: 2.5rem;
}

.hera-section-header.center { text-align: center; }

.hera-section-header .section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--hera-accent);
    margin-bottom: 0.5rem;
}

.hera-section-dark .hera-section-header .section-label { color: var(--hera-gold); }

.hera-section-header h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--hera-text);
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.hera-section-dark .hera-section-header h2 { color: #fff; }

.hera-section-header p {
    color: var(--hera-text-muted);
    margin: 0;
    font-size: 1rem;
    max-width: 600px;
}

.hera-section-header.center p { margin-left: auto; margin-right: auto; }

.hera-section-header .title-rule {
    width: 60px;
    height: 4px;
    background: var(--hera-gold);
    margin-top: 1rem;
}

.hera-section-header.center .title-rule { margin-left: auto; margin-right: auto; }

/* ===== HERO ZONE (slider + stats) ===== */
.hera-hero-zone {
    position: relative;
}

.hera-hero-zone-main {
    position: relative;
}

/* Hero quick actions — simple vertical buttons on right edge */
.hera-hero-side-btns {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 12;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

html[dir="rtl"] .hera-hero-side-btns {
    right: auto;
    left: 0;
}

.hera-side-btn {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 158px;
    padding: 0.7rem 0.65rem 0.7rem 0.75rem;
    background: rgba(2, 38, 17, 0.94);
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
    border: none;
    border-right: 3px solid var(--hera-gold);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s, color 0.2s;
}

html[dir="rtl"] .hera-side-btn {
    flex-direction: row-reverse;
    padding: 0.7rem 0.75rem 0.7rem 0.65rem;
    border-right: none;
    border-left: 3px solid var(--hera-gold);
}

.hera-side-btn:first-child {
    border-top-left-radius: 6px;
}

html[dir="rtl"] .hera-side-btn:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 6px;
}

.hera-side-btn:last-child {
    border-bottom: none;
    border-bottom-left-radius: 6px;
}

html[dir="rtl"] .hera-side-btn:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 6px;
}

.hera-side-btn:hover {
    background: var(--hera-gold);
    color: var(--hera-primary);
}

.hera-side-btn i {
    width: 1.125rem;
    text-align: center;
    flex-shrink: 0;
    color: var(--hera-gold);
    font-size: 0.875rem;
}

.hera-side-btn:hover i {
    color: var(--hera-primary);
}

.hera-side-btn-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.4);
    z-index: 2;
    pointer-events: none;
    animation: hera-side-dot-pulse 1.6s ease-in-out infinite;
}

@keyframes hera-side-dot-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.55); }
}

/* Home hero quick actions — mobile: fixed bottom-right, compact desktop-style tabs */
@media (max-width: 991.98px) {
    .hera-hero-zone .hera-hero-side-btns {
        position: fixed;
        right: 0;
        left: auto;
        top: auto;
        bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
        transform: none;
        flex-direction: column;
        overflow: visible;
        padding: 0;
        gap: 0;
        background: transparent;
        border: none;
        z-index: 1018;
        pointer-events: none;
        max-height: min(52vh, 320px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: none;
    }

    .hera-hero-zone .hera-hero-side-btns::-webkit-scrollbar {
        display: none;
    }

    html[dir="rtl"] .hera-hero-zone .hera-hero-side-btns {
        right: auto;
        left: 0;
    }

    .hera-hero-zone .hera-side-btn {
        pointer-events: auto;
        width: 118px;
        padding: 0.42rem 0.35rem 0.42rem 0.5rem;
        font-size: 0.625rem;
        gap: 0.35rem;
        line-height: 1.2;
        border-radius: 0;
        border-right: 3px solid var(--hera-gold);
        border-top: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hera-hero-zone .hera-side-btn span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }

    .hera-hero-zone .hera-side-btn i {
        width: 0.875rem;
        font-size: 0.6875rem;
    }

    html[dir="rtl"] .hera-hero-zone .hera-side-btn {
        flex-direction: row-reverse;
        padding: 0.42rem 0.5rem 0.42rem 0.35rem;
        border-right: none;
        border-left: 3px solid var(--hera-gold);
        border-top: none;
    }

    .hera-hero-zone .hera-side-btn:first-child {
        border-top-left-radius: 5px;
    }

    html[dir="rtl"] .hera-hero-zone .hera-side-btn:first-child {
        border-top-left-radius: 0;
        border-top-right-radius: 5px;
    }

    .hera-hero-zone .hera-side-btn:last-child {
        border-bottom: none;
        border-bottom-left-radius: 5px;
    }

    html[dir="rtl"] .hera-hero-zone .hera-side-btn:last-child {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 5px;
    }

    .hera-hero-zone .hera-side-btn-dot {
        top: 0.2rem;
        left: 0.15rem;
    }

    html[dir="rtl"] .hera-hero-zone .hera-side-btn-dot {
        left: auto;
        right: 0.15rem;
    }
}

/* ===== HERO SLIDER ===== */
.hera-hero-slider {
    position: relative;
    background: var(--hera-primary);
    overflow: hidden;
    padding-bottom: 0;
}

.hera-hero-slides {
    position: relative;
    min-height: 480px;
    padding-bottom: 3rem;
}

.hera-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s ease, visibility 0.65s ease;
    overflow: hidden;
}

.hera-hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hera-hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hera-hero-bg--subtle {
    background-image: url('https://picsum.photos/seed/hera-campus/1600/700');
    opacity: 0.22;
}

.hera-hero-bg--clear {
    opacity: 1;
}

.hera-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hera-hero-overlay--default {
    background: linear-gradient(105deg, rgba(3,53,23,0.97) 0%, rgba(3,53,23,0.88) 45%, rgba(3,53,23,0.75) 100%);
}

.hera-hero-overlay--photo {
    background: linear-gradient(105deg, rgba(3,53,23,0.62) 0%, rgba(3,53,23,0.38) 48%, rgba(3,53,23,0.22) 100%);
}

.hera-hero-overlay--photo-alt {
    background: linear-gradient(115deg, rgba(3,53,23,0.68) 0%, rgba(3,53,23,0.42) 52%, rgba(3,53,23,0.28) 100%);
}

.hera-hero-slide .hera-container {
    position: relative;
    z-index: 2;
    height: 100%;
}

.hera-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: center;
    padding: 4rem 0 3.5rem;
    min-height: 480px;
}

.hera-hero-grid--wide {
    grid-template-columns: 1fr;
    max-width: 720px;
}

/* Slider navigation — centered on hero/stats seam (not inside stats card) */
.hera-stats-bar {
    position: relative;
    z-index: 10;
    margin-top: -2.75rem;
    margin-bottom: 0;
    padding-top: 0;
}

.hera-hero-nav-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 40;
    pointer-events: none;
}

.hera-hero-nav {
    position: relative;
    height: 44px;
    pointer-events: none;
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.92);
    background: rgba(3, 53, 23, 0.65);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
    transition: background 0.2s, border-color 0.2s;
    backdrop-filter: blur(4px);
    pointer-events: auto;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.hero-nav-prev {
    left: 0;
}

.hero-nav-next {
    right: 0;
}

.hero-nav-btn:hover {
    background: var(--hera-primary);
    border-color: var(--hera-gold);
    color: #fff;
}

.hero-nav-dots {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 0.55rem;
    pointer-events: auto;
    z-index: 1;
}

.hero-nav-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.hero-nav-dots button:hover {
    background: rgba(255, 255, 255, 0.6);
}

.hero-nav-dots button.active {
    background: var(--hera-gold);
    width: 11px;
    height: 11px;
    box-shadow: 0 0 0 2px rgba(184, 146, 42, 0.35);
}

.hera-hero-content .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(201,162,39,0.2);
    border: 1px solid var(--hera-gold);
    color: var(--hera-gold);
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    margin-bottom: 1.25rem;
}

.hera-hero-content h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hera-hero-content .hero-lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 2rem;
    max-width: 540px;
    line-height: 1.7;
}

.hera-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hera-hero-card {
    background: #fff;
    border-radius: var(--hera-radius-lg);
    overflow: hidden;
    box-shadow: var(--hera-shadow-lg);
}

.hera-hero-card-head {
    background: var(--hera-primary-dark);
    color: #fff;
    padding: 0.85rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hera-hero-card-body { padding: 1.25rem; }

.hera-hero-card .official-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--hera-border);
}

.hera-hero-card .official-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 3px solid var(--hera-accent-light);
    flex-shrink: 0;
}

.hera-hero-card .official-name {
    font-weight: 700;
    color: var(--hera-text);
    font-size: 0.9375rem;
    margin: 0 0 0.15rem;
}

.hera-hero-card .official-role {
    font-size: 0.8125rem;
    color: var(--hera-primary);
    font-weight: 600;
    margin: 0;
}

.hera-hero-card .welcome-text {
    font-size: 0.875rem;
    color: var(--hera-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ===== STATS BAR ===== */
.hera-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: var(--hera-radius-lg);
    box-shadow: var(--hera-shadow-lg);
    overflow: hidden;
    border: 1px solid var(--hera-border);
    padding-top: 1.5rem;
}

.hera-stat-item {
    padding: 1.75rem 1.25rem;
    text-align: center;
    border-right: 1px solid var(--hera-border);
}

.hera-stat-item:last-child { border-right: none; }

.hera-stat-item .stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--hera-primary);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.hera-stat-item .stat-text {
    font-size: 0.8125rem;
    color: var(--hera-text-muted);
    font-weight: 600;
    line-height: 1.35;
}

/* ===== ABOUT ===== */
.hera-about-section {
    background: var(--hera-light);
}

.hera-about-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.hera-about-intro h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--hera-text);
    margin: 0 0 0.5rem;
}

.hera-about-intro p {
    color: var(--hera-text-muted);
    margin: 0;
}

.hera-about-intro .title-rule {
    margin: 1rem auto 0;
}

.hera-about-block {
    background: #fff;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius-lg);
    box-shadow: var(--hera-shadow);
    overflow: hidden;
}

.hera-about-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

.hera-about-visual {
    display: flex;
    flex-direction: column;
    background: var(--hera-primary-dark);
    min-width: 0;
}

.hera-about-image {
    position: relative;
    flex: 1;
    min-height: 300px;
}

.hera-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hera-about-image-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(transparent, rgba(3, 53, 23, 0.95));
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
}

.hera-about-image-caption i {
    color: var(--hera-gold);
}

.hera-about-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--hera-primary);
    border-top: 3px solid var(--hera-gold);
}

.hera-about-facts .fact-item {
    padding: 1rem 0.75rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.hera-about-facts .fact-item:last-child {
    border-right: none;
}

.hera-about-facts .fact-value {
    display: block;
    font-size: 0.9375rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.hera-about-facts .fact-label {
    display: block;
    font-size: 0.625rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
}

.hera-about-body {
    display: flex;
    flex-direction: column;
    padding: 2rem 2.25rem;
    min-width: 0;
    overflow: hidden;
}

.hera-about-copy {
    width: 100%;
}

.hera-about-copy p {
    color: var(--hera-text-muted);
    font-size: 0.9375rem;
    line-height: 1.75;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hera-about-copy p:last-child {
    margin-bottom: 0;
}

.hera-about-features {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 1.75rem 0;
    padding: 1.25rem;
    background: var(--hera-light);
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius);
    width: 100%;
    box-sizing: border-box;
}

.hera-about-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
}

.hera-about-features .feature-icon {
    width: 44px;
    height: 44px;
    background: var(--hera-primary);
    color: #fff !important;
    border-radius: var(--hera-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.hera-about-features .feature-icon i {
    color: #fff;
}

.hera-about-features .feature-text {
    flex: 1;
    min-width: 0;
}

.hera-about-features .feature-item strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--hera-text);
    margin-bottom: 0.15rem;
}

.hera-about-features .feature-desc {
    display: block;
    font-size: 0.8125rem;
    color: var(--hera-text-muted);
    line-height: 1.45;
    overflow-wrap: break-word;
}

.hera-about-action {
    margin-top: auto;
    padding-top: 0.5rem;
}

.hera-about-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--hera-border);
    background: var(--hera-light);
}

.hera-about-bottom .bottom-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
}

.hera-about-bottom .bottom-card:first-child {
    border-right: 1px solid var(--hera-border);
}

.hera-about-bottom .bottom-icon {
    width: 44px;
    height: 44px;
    background: var(--hera-primary);
    color: #fff;
    border-radius: var(--hera-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.hera-about-bottom .bottom-text h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--hera-primary);
    margin: 0 0 0.4rem;
}

.hera-about-bottom .bottom-text p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--hera-text-muted);
    line-height: 1.6;
}

/* ===== SERVICES SECTION ===== */
.hera-services-section {
    background: var(--hera-light);
}

.hera-services-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

.hera-service-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.hera-service-row {
    display: grid;
    grid-template-columns: 42px 48px 1fr 36px;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius);
    padding: 1rem 1.15rem;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.hera-service-row:hover {
    border-color: var(--hera-primary);
    box-shadow: var(--hera-shadow);
    transform: translateX(4px);
    color: inherit;
}

.hera-service-row .svc-num {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--hera-gold);
    letter-spacing: 0.5px;
}

.hera-service-row .svc-icon-box {
    width: 48px;
    height: 48px;
    background: var(--hera-accent-light);
    color: var(--hera-primary);
    border-radius: var(--hera-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.hera-service-row:hover .svc-icon-box {
    background: var(--hera-primary);
    color: #fff;
}

.hera-service-row .svc-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.hera-service-row .svc-info strong {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--hera-text);
}

.hera-service-row .svc-info small {
    font-size: 0.8125rem;
    color: var(--hera-text-muted);
    line-height: 1.45;
}

.hera-service-row .svc-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid var(--hera-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hera-text-muted);
    font-size: 0.75rem;
    transition: all 0.2s;
}

.hera-service-row:hover .svc-arrow {
    background: var(--hera-primary);
    border-color: var(--hera-primary);
    color: #fff;
}

.hera-services-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 72px;
}

.hera-aside-office {
    border-radius: var(--hera-radius-lg);
    overflow: hidden;
    border: 1px solid var(--hera-border);
    box-shadow: var(--hera-shadow-sm);
    background: #fff;
}

.hera-aside-office img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.hera-aside-office .aside-office-caption {
    padding: 0.85rem 1rem;
    background: var(--hera-primary);
    color: #fff;
}

.hera-aside-office .aside-office-caption strong {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.15rem;
}

.hera-aside-office .aside-office-caption span {
    font-size: 0.75rem;
    opacity: 0.85;
}

.hera-aside-panel {
    background: var(--hera-primary);
    border-radius: var(--hera-radius-lg);
    overflow: hidden;
    color: #fff;
}

.hera-aside-head {
    background: var(--hera-primary-dark);
    padding: 1rem 1.15rem;
    font-weight: 700;
    font-size: 0.9375rem;
    border-bottom: 2px solid var(--hera-gold);
}

.hera-aside-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hera-aside-links li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hera-aside-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.15rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
    font-weight: 500;
}

.hera-aside-links a:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.hera-aside-contact {
    padding: 0.85rem 1.15rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.hera-aside-contact a {
    color: rgba(255,255,255,0.88);
    font-size: 0.8125rem;
    font-weight: 600;
}

.hera-aside-contact a i {
    color: var(--hera-gold);
    margin-right: 0.45rem;
    width: 16px;
}

.hera-aside-cta {
    display: block;
    margin: 0 1.15rem 1.15rem;
    background: var(--hera-gold);
    color: #fff;
    text-align: center;
    padding: 0.75rem;
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
}

.hera-aside-cta:hover { background: #d4a832; color: #fff; }

/* Legacy service grid - kept for compatibility */
.hera-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.hera-about-text p {
    color: var(--hera-text-muted);
    margin-bottom: 1rem;
}

.hera-mission-grid {
    display: grid;
    gap: 1rem;
}

.hera-mission-card {
    background: #fff;
    border: 1px solid var(--hera-border);
    border-left: 4px solid var(--hera-primary);
    border-radius: var(--hera-radius);
    padding: 1.5rem;
}

.hera-mission-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hera-primary);
    margin: 0 0 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hera-mission-card p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--hera-text-muted);
    line-height: 1.65;
}

/* ===== SERVICE GRID (legacy) ===== */
.hera-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.hera-service-card {
    background: #fff;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: all 0.25s;
    display: block;
    color: inherit;
}

.hera-service-card:hover {
    border-color: var(--hera-primary);
    box-shadow: var(--hera-shadow);
    transform: translateY(-3px);
    color: inherit;
}

.hera-service-card .svc-icon {
    width: 56px;
    height: 56px;
    background: var(--hera-accent-light);
    color: var(--hera-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.hera-service-card h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--hera-text);
    margin: 0 0 0.35rem;
}

.hera-service-card span {
    font-size: 0.8125rem;
    color: var(--hera-accent);
    font-weight: 600;
}

/* ===== SIDEBAR PANEL ===== */
.hera-panel {
    background: var(--hera-primary);
    border-radius: var(--hera-radius-lg);
    overflow: hidden;
    color: #fff;
    height: 100%;
}

.hera-panel-head {
    background: var(--hera-primary-dark);
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 0.9375rem;
    border-bottom: 2px solid var(--hera-gold);
}

.hera-panel-list { list-style: none; margin: 0; padding: 0; }

.hera-panel-list li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hera-panel-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
    font-weight: 500;
}

.hera-panel-list a:hover { background: rgba(255,255,255,0.06); color: #fff; }

.hera-panel-list a i.fa-chevron-right { font-size: 0.7rem; opacity: 0.5; }

.hera-panel-cta {
    padding: 1.25rem;
    background: rgba(0,0,0,0.15);
}

.hera-panel-cta .btn-panel {
    display: block;
    width: 100%;
    background: var(--hera-gold);
    color: #fff;
    text-align: center;
    padding: 0.75rem;
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
}

.hera-panel-cta .btn-panel:hover { background: #d4a832; color: #fff; }

/* ===== NEWS ===== */
.hera-empty-box {
    background: #fff;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
}

.hera-empty-box i {
    font-size: 2.5rem;
    color: var(--hera-primary);
    opacity: 0.4;
    margin-bottom: 1rem;
}

.hera-empty-box h4 { font-weight: 700; margin-bottom: 0.5rem; }
.hera-empty-box p { color: var(--hera-text-muted); margin: 0; }

.hera-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.hera-news-card {
    background: #fff;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.25s, transform 0.25s;
}

.hera-news-card:hover {
    box-shadow: var(--hera-shadow);
    transform: translateY(-3px);
}

.hera-news-card .news-thumb {
    position: relative;
    height: 170px;
    overflow: hidden;
    background: var(--hera-accent-light);
}

.hera-news-card .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hera-news-card .news-cat {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--hera-primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
}

.hera-news-card .news-body {
    padding: 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hera-news-card .news-meta {
    font-size: 0.75rem;
    color: var(--hera-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.6rem;
}

.hera-news-card .news-title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.6rem;
}

.hera-news-card .news-title a { color: var(--hera-text); }
.hera-news-card .news-title a:hover { color: var(--hera-primary); }

.hera-news-card .news-excerpt {
    font-size: 0.8125rem;
    color: var(--hera-text-muted);
    line-height: 1.55;
    margin: 0 0 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hera-news-card .news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid var(--hera-border);
    margin-top: auto;
}

.hera-news-card .news-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hera-text);
}

.hera-news-card .news-author img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.hera-news-card .news-link { color: var(--hera-primary); font-size: 0.875rem; }

.hera-news-more { text-align: center; margin-top: 2rem; }

/* ===== NEWS PAGE ===== */
.hera-page-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hera-list-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--hera-border);
}

.hera-list-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--hera-primary);
    font-size: 0.875rem;
}

.hera-list-count i { color: var(--hera-gold); }

.hera-list-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hera-list-filters .hub-chip {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.hera-list-filters--wrap {
    margin-bottom: 1rem;
}

.hera-press-search {
    flex: 1 1 320px;
    max-width: 520px;
    margin-left: auto;
}

.hera-press-search .hera-hub-search {
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 0;
    width: 100%;
}

.hera-press-search .hub-search-field {
    flex: 1 1 auto;
    min-width: 0;
}

.hera-press-search .btn-hera-primary {
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-hera-primary--sm {
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
}

.hera-table-empty {
    text-align: center;
    padding: 2rem 1rem !important;
    color: var(--hera-text-muted);
}

.hera-badge--muted {
    display: inline-block;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(3, 53, 23, 0.06);
    color: var(--hera-text-muted);
}

.hera-pagination {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
}

.hera-pagination-nav {
    width: 100%;
}

.hera-pagination-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.hera-pagination-item span,
.hera-pagination-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.65rem;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius-sm);
    color: var(--hera-text);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    background: #fff;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.hera-pagination-item a:hover {
    border-color: var(--hera-gold);
    color: var(--hera-primary);
}

.hera-pagination-item.is-active span {
    background: var(--hera-primary);
    border-color: var(--hera-primary);
    color: #fff;
}

.hera-pagination-item.is-disabled span {
    opacity: 0.45;
    cursor: not-allowed;
}

.hera-list-toolbar--press {
    align-items: center;
}

@media (max-width: 575.98px) {
    .hera-press-search {
        flex: 1 1 100%;
        max-width: none;
        margin-left: 0;
    }

    .hera-press-search .hera-hub-search {
        flex-wrap: nowrap;
    }
}

.hera-data-table--press .hera-doc-title {
    min-width: 240px;
}

.hera-data-table--press .hera-table-link {
    font-weight: 700;
    color: var(--hera-text);
    text-decoration: none;
}

.hera-data-table--press .hera-table-link:hover {
    color: var(--hera-primary);
}

.hera-btn-download--sm {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
}

.hera-btn-view {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--hera-primary);
    text-decoration: none;
    white-space: nowrap;
}

.hera-btn-view:hover {
    color: var(--hera-gold);
}

.hera-press-detail-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.hera-press-back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    color: var(--hera-primary);
    text-decoration: none;
}

.hera-press-back:hover {
    color: var(--hera-gold);
}

.hera-press-detail-body {
    background: #fff;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius-lg);
    padding: 1.5rem 1.75rem;
}

.hera-press-detail-excerpt {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--hera-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.hera-press-detail-content p {
    color: var(--hera-text-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.hera-press-detail-download {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--hera-border);
}

.hera-press-detail-related {
    margin-top: 2rem;
}

.hera-press-detail-related h3 {
    font-size: 1.125rem;
    color: var(--hera-primary);
    margin-bottom: 0.85rem;
}

.hera-press-related-list {
    display: grid;
    gap: 0.65rem;
}

.hera-press-related-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.hera-press-related-item:hover {
    border-color: var(--hera-gold);
    box-shadow: 0 4px 14px rgba(3, 53, 23, 0.06);
}

.hera-press-related-date {
    font-size: 0.8125rem;
    color: var(--hera-text-muted);
    white-space: nowrap;
}

.hera-press-related-item strong {
    color: var(--hera-primary);
    font-size: 0.9375rem;
}

.hera-press-related-item i {
    color: var(--hera-gold);
}

.hera-career-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

.hera-career-detail-grid--apply .hera-career-apply-card {
    max-width: none;
}

.hera-career-apply-card--full {
    width: 100%;
    max-width: none;
}

.hera-career-detail .hera-career-detail-main {
    margin-bottom: 1.25rem;
}

.hera-career-apply-form .ts-wrapper,
.hera-career-apply-form .ts-wrapper.form-select,
.hera-career-apply-form .ts-control,
.hera-career-apply-form .hera-district-select + .ts-wrapper {
    min-height: 42px;
}

.hera-dynamic-table .ts-wrapper {
    min-width: 220px;
}

.hera-dynamic-table .ts-dropdown {
    z-index: 1100;
}

.hera-career-detail-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hera-career-section-title {
    font-size: 1.125rem;
    color: var(--hera-primary);
    margin: 0 0 0.85rem;
}

.hera-career-detail-content p {
    color: var(--hera-text-muted);
    line-height: 1.75;
    margin-bottom: 0.85rem;
}

.hera-career-requirements {
    margin: 0 0 1.25rem;
    padding-left: 1.15rem;
    color: var(--hera-text-muted);
}

.hera-career-requirements li { margin-bottom: 0.35rem; }

.hera-career-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--hera-border);
}

.hera-career-meta dt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--hera-text-muted);
    margin-bottom: 0.2rem;
}

.hera-career-meta dd {
    margin: 0;
    font-weight: 700;
    color: var(--hera-primary);
}

.hera-career-apply-form .hera-form-group {
    margin-bottom: 0.85rem;
}

.hera-career-apply-form label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--hera-primary);
    margin-bottom: 0.35rem;
}

.hera-career-apply-form label span { color: #c0392b; }

.hera-career-apply-form input,
.hera-career-apply-form textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius-sm);
    font-size: 0.9375rem;
    font-family: inherit;
}

.hera-career-apply-form input:focus,
.hera-career-apply-form textarea:focus {
    outline: none;
    border-color: var(--hera-gold);
    box-shadow: 0 0 0 3px rgba(184, 146, 42, 0.15);
}

.hera-form-hint {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.75rem;
    color: var(--hera-text-muted);
}

.hera-form-error {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #c0392b;
}

.btn-hera-primary--block {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

.hera-career-closed {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--hera-text-muted);
}

.hera-career-closed i {
    font-size: 2rem;
    color: var(--hera-gold);
    margin-bottom: 0.75rem;
}

.hera-alert {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: var(--hera-radius);
    margin-bottom: 1.25rem;
}

.hera-alert--success {
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid rgba(25, 135, 84, 0.25);
    color: #146c43;
}

.hera-alert--error {
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.25);
    color: #b02a37;
}

.hera-data-table--careers .hera-doc-title { min-width: 220px; }

.hera-tender-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    background: rgba(3, 53, 23, 0.04);
    border-radius: var(--hera-radius-sm);
    font-size: 0.9375rem;
    color: var(--hera-text-muted);
}

.hera-tender-detail-meta code {
    color: var(--hera-primary);
    font-weight: 700;
}

.hera-data-table--tenders code {
    font-size: 0.8125rem;
    color: var(--hera-primary);
}

@media (max-width: 991.98px) {
    .hera-career-detail-grid { grid-template-columns: 1fr; }
}

.hera-news-grid--page {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.hera-news-grid--page .hera-news-card--link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hera-news-grid--page .hera-news-card .news-thumb {
    height: 210px;
}

.hera-news-grid--page .hera-news-read {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--hera-primary);
}

.hera-table-wrap--page {
    background: #fff;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius-lg);
    box-shadow: var(--hera-shadow-sm);
    overflow: auto;
}

.hera-data-table--list tbody tr:nth-child(even),
.hera-data-table--docs tbody tr:nth-child(even) {
    background: rgba(3, 53, 23, 0.025);
}

.hera-data-table--list .hera-cell-date,
.hera-data-table--docs .hera-cell-date {
    white-space: nowrap;
    color: var(--hera-text-muted);
    font-size: 0.8125rem;
    width: 130px;
}

.hera-data-table--list .hera-cell-title a {
    color: var(--hera-text);
    font-weight: 600;
    text-decoration: none;
    line-height: 1.45;
}

.hera-data-table--list .hera-cell-title a:hover {
    color: var(--hera-primary);
}

.hera-list-tag {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(3, 53, 23, 0.08);
    color: var(--hera-primary);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.hera-data-table .hera-col-action {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}

.hera-table-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--hera-primary);
    text-decoration: none;
}

.hera-table-link:hover {
    color: var(--hera-primary-dark);
}

.hera-list-empty {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: var(--hera-text-muted);
    background: #fff;
    border: 1px dashed var(--hera-border);
    border-radius: var(--hera-radius-lg);
}

.hera-list-empty i {
    display: block;
    font-size: 1.75rem;
    color: var(--hera-gold);
    margin-bottom: 0.65rem;
}

/* Downloads / docs tables — keep td as table-cell; never flex on td */
.hera-data-table--docs td.hera-doc-title {
    vertical-align: middle;
    font-weight: 600;
    color: var(--hera-text);
    line-height: 1.45;
    min-width: 280px;
}

.hera-data-table--docs td.hera-doc-title .hera-doc-icon {
    display: inline-block;
    vertical-align: top;
    margin-right: 0.65rem;
    margin-top: 0.125rem;
    color: var(--hera-gold);
}

.hera-data-table--docs td.hera-doc-title > span,
.hera-data-table--docs td.hera-doc-title .hera-table-link {
    vertical-align: top;
    line-height: 1.45;
}

.hera-doc-icon {
    color: var(--hera-gold);
    flex-shrink: 0;
}

.hera-doc-type {
    display: inline-block;
    padding: 0.22rem 0.55rem;
    border-radius: 4px;
    background: rgba(3, 53, 23, 0.08);
    color: var(--hera-primary);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.hera-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--hera-primary);
    border-radius: var(--hera-radius);
    background: #fff;
    color: var(--hera-primary);
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-family: inherit;
}

.hera-btn-download:hover {
    background: var(--hera-primary);
    color: #fff;
}

.hera-data-table th:last-child,
.hera-data-table td:last-child {
    padding-right: 1.25rem;
}

.hera-data-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== LEADERSHIP ===== */
.hera-leader-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.hera-leader-card {
    background: #fff;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius-lg);
    overflow: hidden;
    box-shadow: var(--hera-shadow-sm);
    transition: box-shadow 0.25s;
}

.hera-leader-card:hover { box-shadow: var(--hera-shadow); }

.hera-leader-card .leader-photo {
    height: 260px;
    overflow: hidden;
    background: var(--hera-accent-light);
}

.hera-leader-card .leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.hera-leader-card .leader-body {
    padding: 1.25rem;
    border-top: 3px solid var(--hera-primary);
}

.hera-leader-card .leader-body h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: var(--hera-text);
}

.hera-leader-card .leader-body .role {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hera-primary);
    margin-bottom: 0.75rem;
}

.hera-leader-card .leader-body .quote {
    font-size: 0.875rem;
    color: var(--hera-text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hera-leader-card .btn-read {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--hera-primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hera-leader-card .btn-read i { margin-left: 0.35rem; font-size: 0.7rem; }

/* ===== EVENTS ===== */
.hera-events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.hera-event-feature {
    border-radius: var(--hera-radius-lg);
    overflow: hidden;
    position: relative;
    background: rgba(0,0,0,0.2);
}

.hera-event-feature img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.hera-event-feature .event-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.25rem 1.25rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.hera-event-feature h3 {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.hera-event-feature .meta {
    color: rgba(255,255,255,0.75);
    font-size: 0.8125rem;
}

.hera-schedule-box {
    background: #fff;
    border-radius: var(--hera-radius-lg);
    overflow: hidden;
    box-shadow: var(--hera-shadow);
}

.hera-schedule-tabs {
    display: flex;
    background: var(--hera-primary-dark);
}

.hera-schedule-tabs button {
    flex: 1;
    border: none;
    padding: 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    background: transparent;
    color: rgba(255,255,255,0.65);
    border-bottom: 3px solid transparent;
}

.hera-schedule-tabs button.active {
    background: #fff;
    color: var(--hera-primary);
    border-bottom-color: var(--hera-gold);
}

.hera-schedule-list { max-height: 340px; overflow-y: auto; }

.hera-schedule-row {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--hera-border);
}

.hera-schedule-row:last-child { border-bottom: none; }

.hera-schedule-row .sch-date {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--hera-primary);
    text-transform: uppercase;
    line-height: 1.4;
}

.hera-schedule-row .sch-body {
    min-width: 0;
    overflow: hidden;
}

.hera-schedule-row .sch-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--hera-text);
    margin: 0 0 0.2rem;
}

.hera-schedule-row .sch-loc {
    font-size: 0.75rem;
    color: var(--hera-text-muted);
}

.hera-schedule-row .sch-loc i { color: var(--hera-accent); margin-right: 0.25rem; }

.hera-schedule-row .sch-btn {
    border: 1px solid var(--hera-border);
    background: #fff;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--hera-text-muted);
    border-radius: 3px;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    align-self: center;
}

.hera-schedule-row .sch-btn:hover {
    border-color: var(--hera-primary);
    color: var(--hera-primary);
}

a.sch-btn {
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

/* ===== PUBLIC ADVISORY (homepage) ===== */
.hera-advisory-panel {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--hera-radius-lg);
    padding: 1.35rem;
}

.hera-advisory-notice {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    margin-bottom: 1.25rem;
    border-radius: var(--hera-radius);
    background: rgba(184,146,42,0.12);
    border: 1px solid rgba(184,146,42,0.35);
}

.hera-advisory-notice i {
    color: var(--hera-gold);
    font-size: 1.25rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.hera-advisory-notice p {
    margin: 0;
    color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
    line-height: 1.65;
}

.hera-advisory-steps {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.hera-advisory-steps li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.hera-advisory-steps .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--hera-gold);
    color: var(--hera-primary-dark);
    font-size: 0.75rem;
    font-weight: 800;
}

.hera-advisory-steps strong {
    display: block;
    color: #fff;
    font-size: 0.875rem;
    margin-bottom: 0.15rem;
}

.hera-advisory-steps span {
    display: block;
    color: rgba(255,255,255,0.72);
    font-size: 0.8125rem;
    line-height: 1.55;
}

.hera-advisory-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hera-advisory-stats .adv-stat {
    padding: 0.85rem 0.65rem;
    border-radius: var(--hera-radius);
    background: rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.hera-advisory-stats .adv-stat strong {
    display: block;
    color: var(--hera-gold);
    font-size: 1.35rem;
    line-height: 1.1;
}

.hera-advisory-stats .adv-stat span {
    display: block;
    margin-top: 0.25rem;
    color: rgba(255,255,255,0.65);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.35;
}

.hera-advisory-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hera-official-empty {
    padding: 2rem 1.25rem;
    text-align: center;
    color: var(--hera-text-muted);
    font-size: 0.875rem;
}

.hera-official-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    padding: 0.85rem 1.25rem;
    border-top: 1px solid var(--hera-border);
    background: rgba(3,53,23,0.03);
}

.hera-official-foot a {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--hera-primary);
    text-decoration: none;
}

.hera-official-foot a:hover { color: var(--hera-gold); }

.hera-section-dark .hera-section-header p {
    color: rgba(255,255,255,0.72);
    max-width: 36rem;
}

/* ===== QUICK ACCESS GRID ===== */
.hera-access-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.hera-access-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius);
    padding: 1rem 1.15rem;
    color: var(--hera-text);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.hera-access-item:hover {
    border-color: var(--hera-primary);
    background: var(--hera-accent-light);
    color: var(--hera-primary);
}

.hera-access-item i {
    width: 40px;
    height: 40px;
    background: var(--hera-accent-light);
    color: var(--hera-primary);
    border-radius: var(--hera-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.hera-access-item:hover i { background: var(--hera-primary); color: #fff; }

/* ===== CTA BAND ===== */
.hera-cta-band {
    background: linear-gradient(135deg, var(--hera-primary) 0%, var(--hera-primary-light) 100%);
    padding: 3.5rem 0;
    text-align: center;
    color: #fff;
}

.hera-cta-band h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.hera-cta-band p {
    opacity: 0.88;
    margin-bottom: 1.75rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== PRE-FOOTER ===== */
.hera-prefooter {
    background: var(--hera-light);
    padding: 3.5rem 0;
    border-top: 1px solid var(--hera-border);
}

.hera-subscribe-panel {
    background: var(--hera-primary);
    border-radius: var(--hera-radius-lg);
    padding: 2rem;
    color: #fff;
    height: 100%;
}

.hera-subscribe-panel h3 {
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.hera-subscribe-panel > p {
    opacity: 0.85;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.hera-subscribe-panel input {
    width: 100%;
    border: none;
    border-radius: 3px;
    padding: 0.7rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.hera-subscribe-panel .btn-sub {
    background: var(--hera-gold);
    color: #fff;
    border: none;
    padding: 0.7rem 1.5rem;
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    cursor: pointer;
}

.hera-subscribe-panel .btn-sub:hover { background: #d4a832; }

.hera-helpline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    height: 100%;
    align-content: start;
}

.hera-helpline-card {
    background: #fff;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius);
    padding: 1.5rem 1rem;
    text-align: center;
}

.hera-helpline-card i {
    font-size: 1.5rem;
    color: var(--hera-primary);
    margin-bottom: 0.65rem;
}

.hera-helpline-card .hl-value {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--hera-text);
    margin-bottom: 0.25rem;
    word-break: break-word;
}

.hera-helpline-card .hl-label {
    font-size: 0.8125rem;
    color: var(--hera-text-muted);
}

/* ===== FOOTER ===== */
.hera-footer {
    background: var(--hera-primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 3.5rem 0 0;
}

.hera-footer-brand .footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.hera-footer-brand .footer-logo-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: rgba(255,255,255,0.95);
    border-radius: var(--hera-radius);
    padding: 4px;
}

.hera-footer-brand .footer-logo-text .footer-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    margin: 0 0 0.15rem;
}

.hera-footer-brand .footer-logo-text .footer-tag {
    font-size: 0.8125rem;
    opacity: 0.75;
    margin: 0;
}

.hera-footer-brand .footer-tag {
    font-size: 0.875rem;
    opacity: 0.75;
    margin-bottom: 1rem;
}

.hera-footer h5 {
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 1.15rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--hera-gold);
    display: inline-block;
}

.hera-footer ul { list-style: none; padding: 0; margin: 0; }

.hera-footer ul li { margin-bottom: 0.55rem; }

.hera-footer ul li a {
    color: rgba(255,255,255,0.72);
    font-size: 0.875rem;
}

.hera-footer ul li a:hover { color: #fff; }

.hera-footer ul li a i {
    color: var(--hera-gold);
    margin-right: 0.45rem;
    font-size: 0.65rem;
}

.hera-footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.875rem;
}

.hera-footer-contact li i {
    color: var(--hera-gold);
    margin-top: 4px;
    flex-shrink: 0;
}

.hera-alert-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-left: 3px solid var(--hera-gold);
    border-radius: var(--hera-radius);
    padding: 1.15rem;
    font-size: 0.875rem;
}

.hera-footer-bar {
    background: rgba(0,0,0,0.25);
    padding: 1.15rem 0;
    margin-top: 2.5rem;
}

.hera-footer-bar p { margin: 0; font-size: 0.8125rem; }

.hera-social a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: #fff;
    font-size: 0.85rem;
    margin-left: 0.4rem;
}

.hera-social a:hover { background: var(--hera-gold); color: #fff; }

/* ===== SCROLL TOP ===== */
.hera-scroll-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    background: var(--hera-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1020;
    box-shadow: var(--hera-shadow-lg);
}

.hera-scroll-top.visible { display: flex; }
.hera-scroll-top:hover { background: var(--hera-primary-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .hera-hero-slides { min-height: auto; }
    .hera-hero-slide.active { position: relative; min-height: 240px; }
    .hera-hero-grid {
        grid-template-columns: 1fr;
        padding: 1.35rem 0 2rem;
        min-height: auto;
        gap: 1.25rem;
    }
    .hera-hero-content .hero-badge {
        font-size: 0.625rem;
        padding: 0.3rem 0.65rem;
        margin-bottom: 0.85rem;
        letter-spacing: 0.6px;
    }
    .hera-hero-content h1 {
        font-size: clamp(1.2rem, 4.8vw, 1.65rem);
        line-height: 1.25;
        margin-bottom: 0.75rem;
    }
    .hera-hero-content .hero-lead {
        font-size: 0.9375rem;
        line-height: 1.55;
        margin-bottom: 1.25rem;
    }
    .hera-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
    }
    .hera-hero-actions .btn-hera-primary,
    .hera-hero-actions .btn-hera-outline {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 0.7rem 1rem;
        font-size: 0.75rem;
    }
    .hera-hero-card { margin-top: 0.25rem; }
    .hera-hero-slider { padding-bottom: 0; }
    .hera-hero-slides { padding-bottom: 2.5rem; }
    .hera-stats-bar { margin-top: -2.25rem; }
    .hero-nav-btn { width: 38px; height: 38px; font-size: 0.75rem; }
    .hera-hero-nav { height: 38px; }
    .hera-stats-grid { padding-top: 1.25rem; }
    .hera-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hera-stat-item:nth-child(2) { border-right: none; }
    .hera-stat-item:nth-child(1),
    .hera-stat-item:nth-child(2) { border-bottom: 1px solid var(--hera-border); }
    .hera-about-main { grid-template-columns: 1fr; min-height: auto; }
    .hera-about-image { min-height: 280px; }
    .hera-about-bottom { grid-template-columns: 1fr; }
    .hera-about-bottom .bottom-card:first-child {
        border-right: none;
        border-bottom: 1px solid var(--hera-border);
    }
    .hera-about-body { padding: 1.5rem; }
    .hera-about-facts .fact-item { padding: 0.85rem 0.5rem; }
    .hera-services-layout { grid-template-columns: 1fr; }
    .hera-services-aside { position: static; }
    .hera-about-grid { grid-template-columns: 1fr; }
    .hera-service-row {
        grid-template-columns: 36px 44px 1fr 32px;
        gap: 0.75rem;
        padding: 0.85rem;
    }

    .hera-about-facts { grid-template-columns: 1fr; }
    .hera-about-facts .fact-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .hera-about-facts .fact-item:last-child { border-bottom: none; }
    .hera-leader-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .hera-events-grid { grid-template-columns: 1fr; }
    .hera-access-grid { grid-template-columns: repeat(2, 1fr); }
    .hera-helpline-grid { grid-template-columns: 1fr; }
    .hera-header-row { flex-direction: row; align-items: center; gap: 0.65rem; flex-wrap: nowrap; }
    .hera-header-contact { display: none !important; }
    .hera-site-header {
        padding: 0.6rem 0;
        border-bottom: none;
        box-shadow: 0 1px 0 var(--hera-border);
    }
    .hera-brand { gap: 0.65rem; align-items: center; flex: 1; min-width: 0; }
    .hera-brand-logo { width: 52px; height: 52px; padding: 2px; }
    .hera-brand-text .gov-label {
        display: block;
        font-size: 0.5625rem;
        letter-spacing: 0.6px;
        margin-bottom: 0.12rem;
        line-height: 1.15;
    }
    html[dir="rtl"] .hera-brand-text .gov-label {
        letter-spacing: 0;
        text-transform: none;
        font-size: 0.625rem;
    }
    .hera-brand-text .site-title {
        font-size: clamp(0.8125rem, 3.2vw, 1rem);
        line-height: 1.25;
        hyphens: auto;
        overflow-wrap: anywhere;
    }
    .hera-nav-toggler--header { width: 40px; height: 40px; font-size: 1rem; }
    .hera-main-nav {
        position: relative;
        top: auto;
        z-index: 1025;
        box-shadow: none;
        background: transparent;
        padding: 0 !important;
        margin: 0;
        min-height: 0;
    }
    .hera-main-nav .nav-inner {
        min-height: 0;
        padding: 0 !important;
        display: block;
    }
    .hera-main-nav .navbar-collapse:not(.show):not(.collapsing) {
        display: none !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden;
        border: none;
    }
    .hera-main-nav .navbar-collapse.show,
    .hera-main-nav .navbar-collapse.collapsing {
        background: var(--hera-primary);
        box-shadow: 0 8px 20px rgba(3, 53, 23, 0.2);
    }
    .hera-main-nav .navbar-collapse {
        padding: 0.75rem 0 1rem;
        margin: 0 -1.25rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        border-top: 2px solid var(--hera-gold);
    }
    .hera-main-nav .navbar-nav { flex-direction: column; width: 100%; }
    .hera-main-nav .nav-item.is-active::after,
    .hera-main-nav .nav-item:hover::after {
        display: none;
    }
    .hera-main-nav .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding: 0.7rem 0 !important;
        font-size: 0.8125rem;
        width: 100%;
    }
    .hera-main-nav .nav-item.is-active > .nav-link {
        border-left: 3px solid var(--hera-gold);
        padding-left: 0.65rem !important;
        background: rgba(255, 255, 255, 0.06) !important;
        border-bottom-color: rgba(255, 255, 255, 0.06) !important;
    }
    .hera-main-nav .nav-item:last-child .nav-link { border-bottom: none; }
    .hera-main-nav .dropdown-menu {
        background: rgba(0, 0, 0, 0.15);
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }
    .hera-main-nav .dropdown-item {
        color: rgba(255, 255, 255, 0.85);
        padding: 0.55rem 0 0.55rem 1rem;
        font-size: 0.8125rem;
    }
    .hera-main-nav .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
    }
    .hera-main-nav .dropdown-item.active {
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
        border-left: 3px solid var(--hera-gold);
        padding-left: calc(1rem - 3px);
    }
    .utility-inner { flex-wrap: wrap; flex-direction: row; align-items: center; gap: 0.45rem; }
    .utility-ticker { flex: 1 1 auto; min-width: 0; width: auto; }
    .utility-actions {
        width: auto;
        flex-shrink: 0;
        justify-content: flex-end;
        gap: 0.45rem;
        flex-wrap: wrap;
    }
    .hera-top-utility { padding: 0.35rem 0; }
    .ticker-badge { font-size: 0.6rem; padding: 0.2rem 0.45rem; }
    .ticker-badge i { display: none; }
    .ticker-content { font-size: 0.75rem; gap: 0.75rem; }
    .hera-social-links--top .social-label { display: none; }
    .hera-social-links a { width: 28px; height: 28px; font-size: 0.75rem; }
    .hera-lang-switch { padding: 0.15rem 0.35rem; }
    .hera-lang-switch .lang-btn { font-size: 0.6875rem; padding: 0.15rem 0.35rem; }
    .hera-news-grid { grid-template-columns: repeat(2, 1fr); }
    .hera-news-grid--page { grid-template-columns: repeat(2, 1fr); }
    .hera-news-featured { grid-template-columns: 1fr; }
    .hera-news-featured-media { min-height: 240px; }
    .hera-nav-search { display: none; }
}

@media (max-width: 767.98px) {
    .utility-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
    }

    .utility-ticker {
        width: 100%;
        flex: none;
    }

    .utility-actions {
        width: 100%;
        justify-content: space-between;
        gap: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .hera-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hera-top-utility { padding: 0.3rem 0; }
    .hera-social-links .social-label { display: none; }
    .hera-social-links a { width: 26px; height: 26px; font-size: 0.7rem; }
    .utility-actions { gap: 0.35rem; justify-content: center; }
    .ticker-link { font-size: 0.65rem; }
    .ticker-viewport {
        -webkit-mask-image: none;
        mask-image: none;
    }
    .hera-brand { gap: 0.55rem; }
    .hera-brand-logo { width: 44px; height: 44px; }
    .hera-brand-text .gov-label {
        font-size: 0.5rem;
        letter-spacing: 0.45px;
        line-height: 1.2;
    }
    html[dir="rtl"] .hera-brand-text .gov-label { font-size: 0.5625rem; letter-spacing: 0; }
    .hera-brand-text .site-title { font-size: clamp(0.72rem, 3.6vw, 0.875rem); }
    .hera-nav-toggler--header { width: 38px; height: 38px; font-size: 0.95rem; }
    .hera-main-nav .nav-inner { min-height: 0; }
    html[dir="rtl"] .hera-mobile-contact-link { flex-direction: row-reverse; }

    .hera-hero-zone .hera-hero-side-btns {
        width: 108px;
        bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    }

    .hera-hero-zone .hera-side-btn {
        width: 108px;
        padding: 0.38rem 0.3rem 0.38rem 0.45rem;
        font-size: 0.5625rem;
    }

    .hera-hero-grid { padding: 1.1rem 0 1.75rem; }
    .hera-hero-content h1 { font-size: clamp(1.1rem, 5.2vw, 1.35rem); }
    .hera-hero-content .hero-lead { font-size: 0.875rem; margin-bottom: 1rem; }
    .hera-hero-slides { padding-bottom: 2rem; }
    .hera-section { padding: 2.75rem 0; }
    .hera-stats-grid { grid-template-columns: 1fr; }
    .hera-stat-item { border-right: none !important; border-bottom: 1px solid var(--hera-border); }
    .hera-stat-item:last-child { border-bottom: none; }
    .hera-services-grid,
    .hera-access-grid,
    .hera-news-grid,
    .hera-news-grid--page { grid-template-columns: 1fr; }
    .hera-list-toolbar { flex-direction: column; align-items: stretch; }
    .hera-advisory-stats { grid-template-columns: 1fr; }
    .hera-schedule-row { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ===== HOME HUB (Verify + Spotlight + Stats Chart) ===== */
.hera-home-hub {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.hera-hub-block {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background: #fff;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius-lg);
    box-shadow: var(--hera-shadow-lg);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.hera-hub-verify {
    background: linear-gradient(145deg, var(--hera-primary-dark) 0%, var(--hera-primary) 100%);
    color: #fff;
    padding: 2rem;
    position: relative;
}

.hera-hub-verify::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(184, 146, 42, 0.08));
    pointer-events: none;
}

.hera-hub-verify-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
}

.hub-verify-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 146, 42, 0.15);
    border: 1px solid rgba(184, 146, 42, 0.35);
    border-radius: var(--hera-radius);
    color: var(--hera-gold);
    font-size: 1.35rem;
}

.hera-hub-verify .section-label {
    color: var(--hera-gold);
}

.hera-hub-verify h2 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 800;
    margin: 0.35rem 0 0.5rem;
    color: #fff;
    line-height: 1.25;
}

.hera-hub-verify p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9375rem;
    line-height: 1.65;
    max-width: 520px;
}

.hera-hub-search {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.hub-search-field {
    flex: 1;
    min-width: 220px;
    position: relative;
}

.hub-search-field i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hera-gold);
    font-size: 0.875rem;
}

.hub-search-field input {
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 1rem 0.75rem 2.65rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--hera-radius);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.9375rem;
    backdrop-filter: blur(4px);
}

.hub-search-field input::placeholder { color: rgba(255, 255, 255, 0.55); }

.hub-search-field input:focus {
    outline: none;
    border-color: var(--hera-gold);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(184, 146, 42, 0.2);
}

.hub-verify-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hub-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.2s, border-color 0.2s;
}

.hub-chip:hover {
    background: rgba(184, 146, 42, 0.18);
    border-color: rgba(184, 146, 42, 0.45);
    color: #fff;
}

.hub-chip--warn:hover {
    background: rgba(220, 80, 60, 0.15);
    border-color: rgba(220, 80, 60, 0.35);
}

.hub-chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    margin-left: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 0.6875rem;
    font-weight: 800;
    line-height: 1;
}

.hera-hub-spotlight {
    padding: 2rem;
    background: linear-gradient(180deg, #fff 0%, var(--hera-light) 100%);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--hera-border);
    position: relative;
}

.hera-hub-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--hera-gold), var(--hera-primary));
}

.hub-spotlight-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hub-spotlight-title h3 {
    margin: 0.35rem 0 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--hera-text);
}

.hub-spotlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.6rem;
    background: var(--hera-primary);
    color: var(--hera-gold);
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
}

.hub-spotlight-badge i { font-size: 0.6rem; }

.hub-spotlight-all {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--hera-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    padding-top: 0.15rem;
}

.hub-spotlight-all:hover { color: var(--hera-gold); }

/* Vertical continuous news ticker (bottom → up, looping) */
.hub-spotlight-viewport {
    position: relative;
    flex: 1;
    min-height: 220px;
    max-height: 260px;
    overflow: hidden;
    border-radius: var(--hera-radius-lg);
    background: #fff;
    border: 1px solid var(--hera-border);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
}

.hub-spotlight-scroll {
    display: flex;
    flex-direction: column;
    animation: hub-spot-scroll-up 28s linear infinite;
    will-change: transform;
}

.hub-spotlight-scroll:hover {
    animation-play-state: paused;
}

@keyframes hub-spot-scroll-up {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.hub-spotlight-list {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.hub-spot-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 0.65rem 0.85rem;
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid var(--hera-border);
    color: var(--hera-text);
    text-decoration: none;
    transition: background 0.2s;
    min-height: 56px;
}

.hub-spot-row:last-child {
    border-bottom: none;
}

.hub-spot-row:hover {
    background: var(--hera-accent-light);
    color: var(--hera-primary);
}

.hub-spot-row-tag {
    display: inline-flex;
    padding: 0.15rem 0.45rem;
    background: var(--hera-accent-light);
    color: var(--hera-primary);
    font-size: 0.5625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-radius: 3px;
    white-space: nowrap;
}

.hub-spot-row:hover .hub-spot-row-tag {
    background: var(--hera-primary);
    color: var(--hera-gold);
}

.hub-spot-row-text {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.4;
    min-width: 0;
}

.hub-spot-row-date {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--hera-text-muted);
    white-space: nowrap;
}

.hub-spot-row-icon {
    font-size: 0.65rem;
    color: var(--hera-gold);
    opacity: 0.7;
}

.hub-spot-row:hover .hub-spot-row-icon {
    opacity: 1;
    color: var(--hera-primary);
}

.hub-spot-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
    color: var(--hera-text-muted);
    font-weight: 600;
    margin: 0;
    padding: 1.5rem;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .hub-spotlight-scroll {
        animation: none;
    }

    .hub-spotlight-list[aria-hidden="true"] {
        display: none;
    }

    .hub-spotlight-viewport {
        -webkit-mask-image: none;
        mask-image: none;
        max-height: none;
        overflow: auto;
    }
}

/* Hub stats + chart */
.hera-hub-stats {
    background: #fff;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius-lg);
    box-shadow: var(--hera-shadow);
    padding: 2rem 1.5rem 1.5rem;
}

.hera-hub-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1.75rem 0 1.5rem;
}

.hera-hub-stat {
    padding: 1.25rem 1rem;
    text-align: center;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius);
    background: var(--hera-light);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hera-hub-stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--hera-shadow-sm);
}

.hub-stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--hera-primary);
    color: var(--hera-gold);
    font-size: 0.95rem;
}

.hub-stat-num {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--hera-primary);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.hub-stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--hera-text-muted);
    line-height: 1.35;
    margin-bottom: 0.65rem;
    min-height: 2.4em;
}

.hub-stat-bar {
    height: 4px;
    background: var(--hera-border);
    border-radius: 999px;
    overflow: hidden;
}

.hub-stat-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--hera-primary), var(--hera-gold));
    border-radius: 999px;
    transition: width 1.2s ease;
}

.hera-hub-chart {
    padding-top: 1.25rem;
    height: 280px;
}

.hera-hub-chart-wrap {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 1.75rem;
}

.hera-hub-chart-wrap .hera-hub-chart {
    padding-top: 0;
    height: auto;
    max-width: 300px;
    margin: 0 auto;
}

.hera-hub-chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.chart-legend-item {
    display: grid;
    grid-template-columns: 12px 1fr auto;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius);
    background: var(--hera-light);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.chart-legend-item:hover {
    border-color: rgba(184, 146, 42, 0.35);
    box-shadow: var(--hera-shadow-sm);
}

.chart-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.chart-legend-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.chart-legend-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--hera-text);
    line-height: 1.3;
}

.chart-legend-meta {
    font-size: 0.75rem;
    color: var(--hera-text-muted);
}

.chart-legend-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hera-primary);
    line-height: 1;
}

.chart-legend-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.15rem;
    border-radius: var(--hera-radius);
    background: var(--hera-primary);
    color: #fff;
    margin-top: 0.35rem;
}

.chart-legend-total span {
    font-size: 0.8125rem;
    font-weight: 600;
    opacity: 0.9;
}

.chart-legend-total strong {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--hera-gold);
}

.hera-hub-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

/* ===== INNER PAGES ===== */
.hera-page-hero {
    background: linear-gradient(135deg, var(--hera-primary-dark) 0%, var(--hera-primary) 55%, #0a5c2e 100%);
    color: #fff;
    padding: 2.75rem 0 2.25rem;
    position: relative;
    overflow: hidden;
}

.hera-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hera-page-hero .hera-container { position: relative; z-index: 1; }

.hera-page-hero h1 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    margin: 0.75rem 0 0.5rem;
}

.hera-page-hero p {
    max-width: 720px;
    opacity: 0.88;
    margin: 0;
    font-size: 1rem;
}

.hera-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    opacity: 0.8;
}

.hera-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
}

.hera-breadcrumb a:hover { color: var(--hera-gold); }

.hera-breadcrumb i { font-size: 0.625rem; opacity: 0.6; }

.hera-page-body {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
    background: var(--hera-light);
}

.hera-content-card {
    background: #fff;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius-lg);
    box-shadow: var(--hera-shadow);
    padding: 2rem;
}

.hera-content-card p:last-child { margin-bottom: 0; }

.hera-table-wrap {
    overflow: auto;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius);
}

.hera-data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.hera-data-table th,
.hera-data-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--hera-border);
    font-size: 0.875rem;
    vertical-align: middle;
    text-align: left;
}

.hera-data-table td.hera-col-action {
    vertical-align: middle;
    text-align: right;
}

.hera-data-table tbody tr:hover { background: var(--hera-accent-light); }

.hera-data-table th {
    background: var(--hera-primary-dark);
    color: #fff;
    font-weight: 700;
    text-align: left;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hera-badge {
    display: inline-flex;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hera-badge--success { background: #e8f5ee; color: #065f2a; }
.hera-badge--danger { background: #fdecec; color: #b42318; }
.hera-badge--warning { background: #fef3c7; color: #92400e; }
.hera-badge--neutral { background: #eef2f6; color: #64748b; }
.hera-badge--muted { background: #eef2f6; color: #64748b; }

.hera-table-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--hera-border);
}

.hera-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.hera-empty-state i {
    font-size: 2.25rem;
    color: var(--hera-gold);
    margin-bottom: 0.85rem;
    display: block;
}

.hera-powers-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.hera-powers-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--hera-border);
    font-size: 0.9375rem;
}

.hera-powers-list li:last-child { border-bottom: none; }

.hera-powers-list i {
    color: var(--hera-gold);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.hera-steps-list {
    padding-left: 1.25rem;
    line-height: 1.8;
}

.hera-steps-list li { margin-bottom: 0.5rem; }

.hera-doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hera-doc-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--hera-border);
}

.hera-doc-list li:last-child { border-bottom: none; }

.hera-doc-list a {
    color: var(--hera-primary);
    font-weight: 700;
}

.hera-doc-list a:hover { color: var(--hera-gold); }

.hera-search-results {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hera-search-results li {
    border-bottom: 1px solid var(--hera-border);
}

.hera-search-results a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0.5rem;
    color: var(--hera-text);
    font-weight: 600;
}

.hera-search-results a:hover {
    color: var(--hera-primary);
    background: var(--hera-accent-light);
    padding-left: 0.85rem;
    border-radius: var(--hera-radius);
}

.hera-search-results i { color: var(--hera-gold); font-size: 0.75rem; }

.hera-contact-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    color: var(--hera-text);
}

.hera-contact-form input,
.hera-contact-form textarea {
    width: 100%;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius);
    padding: 0.75rem 0.9rem;
    font-size: 0.9375rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hera-contact-form input:focus,
.hera-contact-form textarea:focus {
    outline: none;
    border-color: var(--hera-gold);
    box-shadow: 0 0 0 3px rgba(184, 146, 42, 0.12);
}

.hera-map-wrap iframe {
    width: 100%;
    height: 340px;
    border: 0;
    border-radius: var(--hera-radius-lg);
}

.leader-page-photo {
    width: 100%;
    max-width: 280px;
    border-radius: var(--hera-radius-lg);
    border: 3px solid var(--hera-border);
    box-shadow: var(--hera-shadow);
}

.hera-leader-page .role {
    color: var(--hera-primary);
    font-weight: 700;
    font-size: 0.875rem;
}

/* Verify page light variant */
.hera-hub-search--page {
    margin-bottom: 1rem;
}

.hub-search-field--light input {
    background: #fff;
    border: 1px solid var(--hera-border);
    color: var(--hera-text);
}

.hub-search-field--light input::placeholder { color: var(--hera-text-muted); }

.hub-search-field--light i { color: var(--hera-primary); }

.hub-verify-chips--page { margin-bottom: 0.5rem; }

.hub-chip--light {
    background: var(--hera-light);
    border-color: var(--hera-border);
    color: var(--hera-primary);
}

.hub-chip--light:hover {
    background: var(--hera-accent-light);
    border-color: var(--hera-primary);
    color: var(--hera-primary);
}

html[dir="rtl"] .hub-search-field i {
    left: auto;
    right: 1rem;
}

html[dir="rtl"] .hub-search-field input {
    padding: 0.75rem 2.65rem 0.75rem 1rem;
}

@media (max-width: 991.98px) {
    .hera-hub-block { grid-template-columns: 1fr; }
    .hera-hub-spotlight { border-left: none; border-top: 1px solid var(--hera-border); }
    .hera-hub-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hera-hub-chart-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
    .hera-hub-search { flex-direction: column; }
    .hera-hub-search .btn-hera-gold { width: 100%; justify-content: center; }
}

@media (max-width: 767.98px) {
    .hera-hub-stats-grid { grid-template-columns: 1fr; }
    .hera-hub-verify,
    .hera-hub-spotlight { padding: 1.5rem; }
    .hera-hub-chart { height: 220px; }
    .hub-spotlight-head { flex-direction: column; gap: 0.65rem; }
    .hub-spot-row {
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
    }
    .hub-spot-row-date { grid-column: 2; font-size: 0.625rem; }
    .hub-spot-row-icon { display: none; }
}

/* ===== INSTITUTION DASHBOARD ===== */
.hera-inst-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hera-inst-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.hera-inst-summary--verify {
    grid-template-columns: repeat(4, 1fr);
}

.hera-data-table--verify {
    min-width: 920px;
}

.hera-inst-summary-card {
    background: #fff;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--hera-shadow-sm);
}

.hera-inst-summary-card--accent {
    border-color: rgba(184, 146, 42, 0.35);
    background: linear-gradient(135deg, rgba(3, 53, 23, 0.04), rgba(184, 146, 42, 0.08));
}

.inst-summary-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--hera-text-muted);
    margin-bottom: 0.35rem;
}

.inst-summary-num {
    display: block;
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--hera-primary);
    line-height: 1.1;
}

.inst-summary-meta {
    display: block;
    font-size: 0.75rem;
    color: var(--hera-text-muted);
    margin-top: 0.35rem;
}

.hera-inst-filters {
    padding: 1.35rem 1.5rem;
}

.hera-inst-search-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.hera-inst-filter-row {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.hera-inst-filter-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--hera-primary);
}

.hera-inst-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hub-chip.is-active,
.hub-chip--light.is-active {
    background: var(--hera-primary);
    border-color: var(--hera-primary);
    color: #fff;
}

.hub-chip.is-active:hover,
.hub-chip--light.is-active:hover {
    background: var(--hera-primary-dark);
    color: #fff;
}

.hera-inst-district-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.55rem;
    max-height: 220px;
    overflow-y: auto;
    padding: 0.15rem;
}

.hera-district-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius);
    background: var(--hera-light);
    text-decoration: none;
    color: var(--hera-text);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.hera-district-card:hover {
    border-color: var(--hera-gold);
    background: #fff;
    transform: translateY(-1px);
    color: var(--hera-primary);
}

.hera-district-card.is-active {
    border-color: var(--hera-primary);
    background: var(--hera-primary);
    color: #fff;
}

.hera-district-card.is-active .district-count {
    color: var(--hera-gold);
}

.district-name {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25;
}

.district-count {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--hera-primary);
}

.hera-inst-filter-actions {
    padding-top: 0.25rem;
}

.hera-inst-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hera-danger, #b42318);
    text-decoration: none;
}

.hera-inst-clear:hover {
    text-decoration: underline;
}

.hera-table-wrap--wide {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.hera-data-table--inst {
    min-width: 1800px;
}

.hera-data-table--inst .inst-name-cell {
    font-weight: 600;
    min-width: 220px;
}

.hera-data-table--inst .inst-text-cell {
    min-width: 160px;
    max-width: 280px;
    white-space: normal;
    word-break: break-word;
}

.inst-reg-no {
    font-size: 0.8125rem;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    background: rgba(3, 53, 23, 0.06);
    color: var(--hera-primary);
}

.hera-empty-state--inline {
    padding: 1.5rem 1rem;
}

.hera-verify-hint {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    border-radius: var(--hera-radius);
    background: rgba(3, 53, 23, 0.05);
    border: 1px solid var(--hera-border);
}

.hera-verify-hint i {
    color: var(--hera-gold);
    margin-top: 0.15rem;
}

.hera-verify-hint p {
    margin: 0;
    color: var(--hera-text-muted);
    font-size: 0.875rem;
}

@media (max-width: 991.98px) {
    .hera-inst-summary { grid-template-columns: 1fr; }
    .hera-inst-summary--verify { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767.98px) {
    .hera-inst-district-grid {
        grid-template-columns: repeat(2, 1fr);
        max-height: 180px;
    }
}

/* ===== ILLEGAL / DE-REGISTERED LIST ===== */
.hera-illegal-dashboard .hera-inst-summary-card--warn {
    border-color: rgba(220, 38, 38, 0.25);
    background: rgba(220, 38, 38, 0.04);
}

.hera-illegal-notice-card {
    padding: 1rem 1.25rem;
}

.hera-illegal-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hera-illegal-list-title {
    margin: 0 0 0.25rem;
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--hera-primary);
}

.hera-illegal-record-count {
    margin: 0;
    color: var(--hera-text-muted);
    font-size: 0.875rem;
}

.hera-illegal-grid-note {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.65rem 0.9rem;
    border-radius: var(--hera-radius);
    background: rgba(3, 53, 23, 0.05);
    border: 1px solid rgba(3, 53, 23, 0.12);
    color: var(--hera-primary);
    font-size: 0.8125rem;
    font-weight: 700;
}

.hera-illegal-filter-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.6fr) minmax(180px, 1fr) minmax(180px, 1fr) auto;
    gap: 1rem;
    align-items: end;
}

.hera-illegal-filter-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--hera-text);
}

.hera-form-select {
    width: 100%;
    min-height: 46px;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius-sm);
    background: #fff;
    color: var(--hera-text);
    font-size: 0.875rem;
}

.hera-form-select:focus {
    outline: none;
    border-color: var(--hera-primary);
    box-shadow: 0 0 0 0.15rem rgba(3, 53, 23, 0.1);
}

.hera-illegal-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.hera-data-table--illegal thead th {
    background: linear-gradient(180deg, #10703a, #095928);
    color: #fff;
    white-space: nowrap;
}

.hera-data-table--illegal .inst-name-cell {
    font-weight: 700;
    color: var(--hera-primary);
}

.hera-illegal-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 991.98px) {
    .hera-illegal-filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hera-illegal-filter-field--search,
    .hera-illegal-filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .hera-illegal-filter-grid {
        grid-template-columns: 1fr;
    }
}

.hera-illegal-empty-hint {
    color: var(--hera-text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
}

/* ===== VERIFY MODAL ===== */
.hera-verify-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.hera-verify-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hera-verify-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 53, 23, 0.45);
    backdrop-filter: blur(3px);
}

.hera-verify-modal-dialog {
    position: relative;
    width: min(100%, 440px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(3, 53, 23, 0.22);
    padding: 1.15rem 1.15rem 1rem;
    transform: translateY(10px);
    transition: transform 0.2s ease;
}

.hera-verify-modal.is-open .hera-verify-modal-dialog {
    transform: translateY(0);
}

.hera-verify-modal-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--hera-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s;
}

html[dir="rtl"] .hera-verify-modal-close {
    right: auto;
    left: 0.65rem;
}

.hera-verify-modal-close:hover {
    background: rgba(3, 53, 23, 0.08);
    color: var(--hera-primary);
}

.hera-verify-modal-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    padding-right: 1.5rem;
}

html[dir="rtl"] .hera-verify-modal-head {
    padding-right: 0;
    padding-left: 1.5rem;
}

.hera-verify-modal-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--hera-primary);
    color: var(--hera-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.hera-verify-modal-head h2 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--hera-primary);
    margin: 0 0 0.15rem;
    line-height: 1.25;
}

.hera-verify-modal-head p {
    margin: 0;
    color: var(--hera-text-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.hera-verify-modal-form {
    margin-bottom: 0.75rem;
}

.hera-verify-modal-row {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
}

.hera-verify-modal-search {
    flex: 1;
    min-width: 0;
}

.hera-verify-modal-search.hub-search-field {
    min-width: 0;
}

.hera-verify-modal-search input {
    height: 42px;
    min-height: 42px;
    font-size: 0.8125rem;
    padding-top: 0;
    padding-bottom: 0;
}

.hera-verify-modal-submit {
    flex-shrink: 0;
    height: 42px;
    padding: 0 1rem;
    font-size: 0.8125rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hera-verify-modal-help {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    background: rgba(3, 53, 23, 0.04);
    border: 1px solid rgba(3, 53, 23, 0.08);
}

.hera-verify-modal-help > i {
    color: var(--hera-gold);
    font-size: 0.8rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.hera-verify-modal-help p {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--hera-text-muted);
}

.hera-verify-modal-help span {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--hera-primary);
}

.hera-verify-modal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--hera-border);
}

.hera-verify-modal-link {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--hera-primary);
    text-decoration: none;
}

.hera-verify-modal-link:hover {
    color: var(--hera-gold);
}

.hera-verify-modal-link--warn {
    color: #b45309;
}

.hera-verify-modal-divider {
    color: var(--hera-border);
    font-size: 0.7rem;
    user-select: none;
}

@media (max-width: 479.98px) {
    .hera-verify-modal-dialog {
        padding: 1rem;
    }

    .hera-verify-modal-submit {
        padding: 0 0.75rem;
        font-size: 0.75rem;
    }

    .hera-verify-modal-search input {
        font-size: 0.75rem;
    }
}

/* ===== HOME NEWS SLIDER ===== */
.hera-news-events {
    overflow: hidden;
}

.btn-hera-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--hera-radius);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.btn-hera-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--hera-gold);
    color: #fff;
}

.hera-news-slider-wrap {
    position: relative;
    padding: 0 2.75rem;
}

.hera-news-slider-viewport {
    overflow: hidden;
}

.hera-news-slider-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.45s ease;
    will-change: transform;
}

.hera-news-slide {
    flex: 0 0 calc(33.333% - 0.84rem);
    min-width: 0;
}

.hera-news-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
}

.hera-news-slider-btn:hover {
    background: var(--hera-gold);
    color: var(--hera-primary);
}

.hera-news-slider-prev { left: 0; }
.hera-news-slider-next { right: 0; }

.hera-news-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.25rem;
}

.hera-news-slider-dots button {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    padding: 0;
    cursor: pointer;
}

.hera-news-slider-dots button.active {
    background: var(--hera-gold);
    width: 22px;
    border-radius: 999px;
}

.hera-news-card--link,
.hera-news-featured--link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.hera-news-card--link:hover,
.hera-news-featured--link:hover {
    color: inherit;
}

/* ===== NEWS DETAIL ===== */
.hera-news-detail-gallery {
    margin-bottom: 1.5rem;
}

.hera-news-detail-main {
    position: relative;
    border-radius: var(--hera-radius-lg);
    overflow: hidden;
    background: var(--hera-accent-light);
    aspect-ratio: 16 / 9;
}

.hera-news-detail-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hera-news-gallery-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(3, 53, 23, 0.85);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
}

.hera-news-detail-thumbs {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.hera-news-thumb {
    flex: 0 0 88px;
    height: 62px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    background: none;
    opacity: 0.75;
    transition: opacity 0.2s, border-color 0.2s;
}

.hera-news-thumb.is-active,
.hera-news-thumb:hover {
    opacity: 1;
    border-color: var(--hera-gold);
}

.hera-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hera-news-detail-body {
    margin-bottom: 2rem;
}

.news-cat--inline {
    display: inline-block;
    position: static;
    margin-bottom: 0.75rem;
    background: var(--hera-primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
}

.hera-news-detail-excerpt {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--hera-text);
    margin-bottom: 1rem;
}

.hera-news-detail-content p {
    color: var(--hera-text-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.hera-news-detail-related h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--hera-primary);
    margin-bottom: 1rem;
}

.hera-news-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.hera-news-related-card {
    display: block;
    border: 1px solid var(--hera-border);
    border-radius: var(--hera-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--hera-text);
    transition: box-shadow 0.2s, transform 0.2s;
}

.hera-news-related-card:hover {
    box-shadow: var(--hera-shadow-sm);
    transform: translateY(-2px);
    color: var(--hera-primary);
}

.hera-news-related-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.hera-news-related-card span {
    display: block;
    padding: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 991.98px) {
    .hera-news-slide { flex: 0 0 calc(50% - 0.625rem); }
    .hera-news-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767.98px) {
    .hera-news-slide { flex: 0 0 100%; }
    .hera-news-slider-wrap { padding: 0 2.25rem; }
    .hera-news-related-grid { grid-template-columns: 1fr; }
}

/* ===== RECENT ALERT MODAL ===== */
.hera-recent-alert {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.hera-recent-alert.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hera-recent-alert-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 53, 23, 0.55);
    backdrop-filter: blur(4px);
}

.hera-recent-alert-dialog {
    position: relative;
    width: min(100%, 880px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(3, 53, 23, 0.28);
    transform: translateY(12px);
    transition: transform 0.25s ease;
}

.hera-recent-alert--image-only .hera-recent-alert-dialog {
    width: min(100%, 920px);
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.hera-recent-alert--image-only .hera-recent-alert-body {
    padding: 0;
}

.hera-recent-alert--image-only .hera-recent-alert-image {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hera-recent-alert--image-only .hera-recent-alert-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hera-recent-alert-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 1px solid var(--hera-border);
    border-radius: 50%;
    background: #fff;
    color: var(--hera-text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hera-recent-alert.is-open .hera-recent-alert-dialog {
    transform: translateY(0);
}

.hera-recent-alert-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem 0.75rem;
    border-bottom: 1px solid var(--hera-border);
}

.hera-recent-alert-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hera-recent-alert-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.hera-recent-alert-brand strong {
    display: block;
    color: var(--hera-primary);
    font-size: 1rem;
    line-height: 1.2;
}

.hera-recent-alert-brand span {
    display: block;
    color: var(--hera-text-muted);
    font-size: 0.72rem;
    line-height: 1.3;
}

.hera-recent-alert-body {
    padding: 1.5rem 1.75rem 1.75rem;
    text-align: center;
}

.hera-recent-alert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(220, 53, 69, 0.12);
    color: #b42318;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.85rem;
}

.hera-recent-alert-body h2 {
    color: var(--hera-primary);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    margin: 0 0 0.65rem;
}

.hera-recent-alert-lead {
    color: var(--hera-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.hera-recent-alert-image {
    margin: 0 0 1rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--hera-border);
}

.hera-recent-alert-image img {
    width: 100%;
    display: block;
}

.hera-recent-alert-btn {
    min-width: 220px;
    justify-content: center;
}

.hera-recent-alert-foot {
    margin: 0.85rem 0 0;
    color: var(--hera-text-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

/* ===== CAREER APPLICATION FORM ===== */
.hera-career-form-section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--hera-border);
}

.hera-career-form-section h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--hera-primary);
    margin: 0 0 0.85rem;
}

.hera-career-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.hera-career-form-grid .hera-form-group--span-2 {
    grid-column: span 2;
}

.hera-degree-search {
    position: relative;
}

.hera-degree-search-input {
    width: 100%;
}

.hera-degree-search-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    max-height: 220px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--hera-border);
    border-radius: 8px;
    box-shadow: var(--hera-shadow);
    z-index: 20;
    display: none;
}

.hera-degree-search.is-open .hera-degree-search-list {
    display: block;
}

.hera-degree-search-option {
    display: block;
    width: 100%;
    border: none;
    background: #fff;
    text-align: left;
    padding: 0.55rem 0.75rem;
    font-size: 0.8125rem;
    cursor: pointer;
}

.hera-degree-search-option:hover,
.hera-degree-search-option.is-active {
    background: var(--hera-accent-light);
    color: var(--hera-primary);
}

.hera-dynamic-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.hera-dynamic-table th,
.hera-dynamic-table td {
    border: 1px solid var(--hera-border);
    padding: 0.45rem;
    vertical-align: top;
}

.hera-dynamic-table th {
    background: rgba(3, 53, 23, 0.04);
    font-size: 0.72rem;
    text-transform: uppercase;
}

.hera-dynamic-table input,
.hera-dynamic-table select {
    width: 100%;
    border: 1px solid var(--hera-border);
    border-radius: 4px;
    padding: 0.35rem 0.45rem;
    font-size: 0.8125rem;
}

.hera-dynamic-table-wrap {
    overflow-x: auto;
    margin-bottom: 0.65rem;
}

.hera-btn-add-row {
    border: 1px dashed var(--hera-border);
    background: #fff;
    color: var(--hera-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
}

.hera-radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    font-size: 0.875rem;
}

.hera-radio-row label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
}

.hera-required-degree-note {
    background: rgba(184, 146, 42, 0.12);
    border: 1px solid rgba(184, 146, 42, 0.35);
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    font-size: 0.8125rem;
    margin-bottom: 0.85rem;
}

@media (max-width: 767.98px) {
    .hera-career-form-grid { grid-template-columns: 1fr; }
    .hera-career-form-grid .hera-form-group--span-2 { grid-column: span 1; }
}
