/* ========================================
   BAF SEMC - Complete Stylesheet
   Modern Educational Institution Theme
   Colors: Cyan (#0dcaf0) & Gold (#ffc107)
   ======================================== */

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors - Cyan */
    --primary: #0dcaf0;
    --primary-dark: #0aa2c0;
    --primary-light: #5dd9f5;
    
    /* Accent Colors - Gold */
    --accent: #ffc107;
    --accent-dark: #d9a406;
    --accent-light: #ffcd39;
    
    /* Neutrals */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Semantic */
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-notice: 'Plus Jakarta Sans', var(--font-body);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 10px 30px -10px rgba(255, 193, 7, 0.5);
    --shadow-primary: 0 10px 30px -10px rgba(13, 202, 240, 0.4);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* BAFSK-style header palette */
    --navy: #0a1f3d;
    --navy-dark: #061428;
    --navy-light: #12325c;
    --gold: #ffc107;
    --gold-dark: #d9a406;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
}

.is-manual-scroll {
    cursor: grab;
    touch-action: pan-x pan-y;
}

.is-manual-scroll.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
}

.is-manual-scroll.is-dragging * {
    pointer-events: none;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ===== Utility Classes ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

.section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section { padding: 5rem 0; }
}

@media (min-width: 1024px) {
    .section { padding: 6rem 0; }
}

.section-sm {
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .section-sm { padding: 3rem 0; }
}

.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold {
    color: var(--accent);
}

/* Icons */
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--gray-900);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px rgba(255, 193, 7, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-full {
    width: 100%;
}

/* ===== Section Labels & Titles ===== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: rgba(13, 202, 240, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-label.light {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.section-label .dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
    .section-title { font-size: 3rem; }
}

.section-title-light {
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title-light { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
    .section-title-light { font-size: 3rem; }
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-500);
    max-width: 42rem;
}

@media (min-width: 768px) {
    .section-subtitle { font-size: 1.125rem; }
}

.section-subtitle-light {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 42rem;
}

@media (min-width: 768px) {
    .section-subtitle-light { font-size: 1.125rem; }
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.section-header-center {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 3rem;
}

.section-header-center .section-subtitle,
.section-header-center .section-subtitle-light {
    margin: 0 auto;
}

.gold-underline {
    position: relative;
    display: inline-block;
}

.gold-underline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: var(--radius-full);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 0;
    display: none;
}

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

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--white);
}

.contact-info .contact-item:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    transition: color var(--transition-fast);
}

.social-links a:hover {
    color: var(--accent);
}

.main-nav {
    background: var(--white);
    padding: 1rem 0;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.main-nav.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 48px;
    width: auto;
}

@media (min-width: 768px) {
    .logo img { height: 56px; }
}

.logo-text {
    display: block;
    padding-left: 0px;
}

@media only screen and (min-width:320px) and (max-width:720px){
   .logo img {
        height: 43px !important;
        width: auto;
        padding: 4px !important;
    }
    .hero-title {
        font-size: clamp(0.92rem, 4.2vw, 1.15rem) !important;
    }
}

@media (min-width: 640px) {
    .logo-text { display: block; }
}

.logo-text h1 {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .logo-text h1 { font-size: 1rem; }
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

@media (min-width: 768px) {
    .logo-text p { font-size: 0.875rem; }
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 1024px) {
    .nav-menu { display: flex; }
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

@media only screen and (max-width: 991px) {
    .nav-menu > li > a {
        padding: 5px 7px !important;
    }
}

.nav-menu > li > a:hover {
    color: var(--primary);
    background: var(--gray-100);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    border-radius: var(--radius-md);
}

.dropdown-menu li a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.nav-cta {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 1024px) {
    .nav-cta { display: flex; }
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--gray-700);
}

@media (min-width: 1024px) {
    .mobile-menu-toggle { display: none; }
}

/* Mobile Menu */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-200);
}

.nav-menu.active > li {
    width: 100%;
}

.nav-menu.active > li > a {
    width: 100%;
    padding: 0.75rem 1rem;
}

.nav-menu.active .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 1rem;
}

/* ===== NOTICE TICKER ===== */
.notice-ticker-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 0.625rem 0;
    margin-top: 80px;
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    .notice-ticker-section { margin-top: 5px; }
}

.notice-ticker-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notice-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: var(--accent);
    color: var(--gray-900);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    flex-shrink: 0;
    box-shadow: var(--shadow-gold);
}

.notice-label span {
    display: none;
}

@media (min-width: 640px) {
    .notice-label span { display: inline; }
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 18s linear infinite;
}

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

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

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.ticker-item:hover {
    color: var(--accent);
}

.ticker-item .dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.payment-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: var(--accent);
    color: var(--gray-900);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    flex-shrink: 0;
    box-shadow: var(--shadow-gold);
    transition: all var(--transition-base);
}

.payment-btn:hover {
    background: var(--accent-light);
}

.payment-btn span {
    display: none;
}

@media (min-width: 640px) {
    .payment-btn span { display: inline; }
}

/* ===== HERO SECTION ===== */
.hero {
    --hero-aspect: 1593 / 845;
    --hero-max-h: 780px;
    --hero-stats-h: 5.25rem;
    position: relative;
    width: 100%;
    aspect-ratio: var(--hero-aspect);
    max-height: min(82vh, var(--hero-max-h));
    height: auto;
    min-height: 0;
    overflow: hidden;
    background: #061428;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    overflow: hidden;
    transition: opacity 1.15s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.15s;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    transform: none;
    filter: none;
}

.hero-slide.active img {
    animation: none;
}

.hero-slide:nth-child(even).active img {
    animation: none;
}

@keyframes heroKenBurns {
    from { transform: scale(1.06) translate3d(0, 0, 0); }
    to { transform: scale(1.16) translate3d(-1.4%, -0.6%, 0); }
}

@keyframes heroKenBurnsAlt {
    from { transform: scale(1.16) translate3d(-1%, 0, 0); }
    to { transform: scale(1.06) translate3d(0.8%, -0.4%, 0); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(6, 20, 40, 0.18) 0%,
            rgba(6, 20, 40, 0.12) 38%,
            rgba(6, 20, 40, 0.55) 68%,
            rgba(6, 20, 40, 0.88) 100%),
        linear-gradient(90deg, rgba(6, 20, 40, 0.28) 0%, transparent 42%);
    pointer-events: none;
}

.hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--hero-stats-h);
    z-index: 10;
    height: auto;
    display: block;
    padding: 0 0 1.35rem;
    transform: none;
    top: auto;
}

.hero-caption {
    max-width: 100%;
}

.hero-caption.is-out {
    animation: heroCaptionOut 0.28s ease forwards;
}

.hero-caption.is-in {
    animation: heroCaptionIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

@keyframes heroCaptionOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-12px);
    }
}

.hero-caption-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.7rem;
}

.hero-caption-rule {
    display: block;
    width: 72px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(255, 193, 7, 0));
    border-radius: var(--radius-full);
}

.hero-text {
    max-width: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem 0.85rem;
    background: var(--accent);
    color: var(--gray-900);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-gold);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: var(--gray-900);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-caption-main {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-width: 0;
}

.hero-title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: clamp(1.05rem, 2.15vw, 2.05rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.25;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.hero-description {
    display: none;
    margin: 0.45rem 0 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-description:not(.is-empty) {
    display: block;
}

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

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

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-caption.is-in,
    .hero-caption.is-out,
    .indicator.running::after {
        animation: none !important;
        transition: opacity 0.35s ease !important;
    }

    .hero-slide img,
    .hero-slide.active img {
        animation: none !important;
        transform: none;
    }
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: rgba(13, 202, 240, 0.95);
    backdrop-filter: blur(10px);
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0;
}

@media (min-width: 768px) {
    .stats-row {
        justify-content: flex-start;
        gap: 4rem;
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

@media (min-width: 768px) {
    .stat-number { font-size: 2rem; }
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    display: none;
}

@media (min-width: 640px) {
    .stat-divider { display: block; }
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: calc(50% - (var(--hero-stats-h) / 2));
    transform: translateY(-50%);
    z-index: 20;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: var(--white);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    transition: all var(--transition-base);
}

.slider-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--gray-900);
    transform: translateY(-50%) scale(1.06);
}

.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }

@media (min-width: 768px) {
    .slider-prev { left: 1.5rem; }
    .slider-next { right: 1.5rem; }
}

.slider-indicators {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    z-index: 20;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.45rem;
}

.indicator {
    position: relative;
    width: 8px;
    height: 8px;
    overflow: hidden;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.38);
    transition: width 0.35s ease, background 0.35s ease;
}

.indicator.active {
    width: 42px;
    background: rgba(255, 255, 255, 0.22);
}

.indicator.running::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--accent);
    transform-origin: left center;
    animation: indicatorFill 6.5s linear forwards;
}

.indicator.paused::after {
    animation-play-state: paused;
}

@keyframes indicatorFill {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* ===== ABOUT SECTION ===== */
.about {
    background:
        radial-gradient(circle at 12% 18%, rgba(13, 202, 240, 0.2), transparent 34%),
        radial-gradient(circle at 88% 82%, rgba(255, 193, 7, 0.16), transparent 30%),
        linear-gradient(160deg, #061428 0%, #0a1f3d 48%, #0aa2c0 100%);
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.92);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--gold), var(--primary), transparent);
    z-index: 2;
    opacity: 0.85;
}

.about-hero-intro {
    padding-top: clamp(2.75rem, 5vw, 4rem);
}

.about-hero-rays {
    position: absolute;
    inset: -20% -10%;
    background:
        conic-gradient(from 210deg at 50% 40%, rgba(13, 202, 240, 0.12), transparent 35%, rgba(255, 193, 7, 0.08), transparent 70%);
    opacity: 0.55;
    animation: aboutHeroRays 18s linear infinite;
    pointer-events: none;
}

@keyframes aboutHeroRays {
    to { transform: rotate(360deg); }
}

.about-intro-shell {
    position: relative;
    padding: clamp(1.35rem, 3vw, 2.25rem);
    border-radius: 1.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.about-intro-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(120deg, rgba(13, 202, 240, 0.45), rgba(255, 193, 7, 0.35), rgba(13, 202, 240, 0.2));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: aboutShellBorder 10s ease-in-out infinite;
}

.about-intro-shell::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: min(42vw, 320px);
    height: min(42vw, 320px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 202, 240, 0.14), transparent 68%);
    pointer-events: none;
    animation: aboutSideGlow 7s ease-in-out infinite;
}

@keyframes aboutShellBorder {
    0%, 100% { background-position: 0% 50%; opacity: 0.75; }
    50% { background-position: 100% 50%; opacity: 1; }
}

@keyframes aboutSideGlow {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
    50% { transform: translate(-8%, 6%) scale(1.08); opacity: 0.85; }
}

.about-title-semc {
    font-size: 0.55em;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.72);
    vertical-align: middle;
}

.about-title-gold {
    background: linear-gradient(105deg, #ffe082 0%, var(--gold) 45%, #fff3c4 70%, var(--gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: aboutGoldShimmer 5s ease-in-out infinite;
}

@keyframes aboutGoldShimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.about-hero-intro .about-intro-motion {
    opacity: 0;
    transform: translateY(16px);
}

.about-hero-intro.is-motion-ready .about-intro-motion {
    animation: aboutIntroReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.08s + (var(--about-i, 0) * 0.07s));
}

@keyframes aboutIntroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-hero-intro.is-motion-ready .about-trust-item-icon {
    animation: aboutTrustIconPop 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
    animation-delay: calc(0.22s + (var(--about-i, 0) * 0.07s));
}

@keyframes aboutTrustIconPop {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.about-hero-intro.is-motion-ready .about-value-tag {
    animation: aboutIntroReveal 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        aboutValueFloat 4.5s ease-in-out infinite;
    animation-delay: calc(0.08s + (var(--about-i, 0) * 0.07s)), calc(1.2s + (var(--about-i, 0) * 0.35s));
}

@keyframes aboutValueFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.about-hero-intro.is-motion-ready .about-cta--hero .btn-primary {
    animation: aboutBtnGlow 3.2s ease-in-out infinite;
}

@keyframes aboutBtnGlow {
    0%, 100% { box-shadow: 0 8px 24px rgba(13, 202, 240, 0.25); }
    50% { box-shadow: 0 10px 32px rgba(13, 202, 240, 0.42); }
}

@media (prefers-reduced-motion: reduce) {
    .about-hero-intro .about-intro-motion {
        opacity: 1;
        transform: none;
        animation: none !important;
    }

    .about-intro-shell::before,
    .about-title-gold,
    .about-hero-intro.is-motion-ready .about-value-tag,
    .about-hero-intro.is-motion-ready .about-cta--hero .btn-primary {
        animation: none !important;
    }
}

.about-intro-hero {
    max-width: none;
    margin: 0;
    text-align: left;
}

.about-intro-split {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: stretch;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .about-intro-split {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
        gap: clamp(1.5rem, 3vw, 2.25rem);
    }
}

.about-intro-main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

.about-intro-side {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 992px) {
    .about-intro-side {
        padding-left: clamp(1.25rem, 2.5vw, 2rem);
        border-left: 1px solid rgba(255, 255, 255, 0.12);
        background: linear-gradient(90deg, rgba(13, 202, 240, 0.06), transparent 55%);
    }
}

.about-intro-head .section-label {
    margin-left: 0;
    margin-right: auto;
}

.about-intro-head .about-lead {
    margin-left: 0;
    margin-right: auto;
}

.about-title-break {
    display: none;
}

@media (min-width: 640px) {
    .about-title-break {
        display: inline;
    }
}

.about-trust-list {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0.85rem 0 0;
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.35), rgba(13, 202, 240, 0.35), transparent) 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
}

.about-trust-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-trust-item-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: var(--gold);
}

.about-trust-item-copy {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.about-trust-item-title {
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.about-trust-item-sub {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.35;
}

@media (min-width: 768px) {
    .about-trust-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem 1.25rem;
        padding-top: 1rem;
    }

    .about-trust-item {
        flex: 1 1 auto;
        min-width: 0;
        border-bottom: none;
        padding: 0;
        padding-right: 1.25rem;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .about-trust-item:last-child {
        border-right: none;
        padding-right: 0;
    }
}

.about-side-kicker {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 193, 7, 0.85);
}

.about-values-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
}

.about-value-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.about-value-tag:hover {
    border-color: rgba(13, 202, 240, 0.45);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.about-value-tag i,
.about-value-tag svg {
    width: 0.95rem;
    height: 0.95rem;
    color: var(--gold);
    flex-shrink: 0;
}

.about-location-line {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0.15rem 0 0;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.14);
    font-size: 0.62rem;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
}

.about-location-line i,
.about-location-line svg {
    width: 0.95rem;
    height: 0.95rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
    color: var(--gold);
}

/* About intro — mobile: hide trust strip, tighter hero */
@media (max-width: 767px) {
    .about-hero-intro {
        padding-top: 2.25rem;
    }

    .about-hero-intro .about-trust-list--desktop {
        display: none !important;
    }

    .about-hero-intro .about-intro-head {
        text-align: center;
    }

    .about-hero-intro .about-intro-head .section-label {
        margin-left: auto;
        margin-right: auto;
    }

    .about-hero-intro .about-intro-head .about-lead {
        margin-left: auto;
        margin-right: auto;
        max-width: 22rem;
        font-size: 0.88rem;
        line-height: 1.65;
    }

    .about-hero-intro .about-hero-title {
        font-size: clamp(1.45rem, 6.5vw, 1.85rem);
        line-height: 1.25;
    }

    .about-hero-intro .about-intro-main {
        gap: 0.5rem;
    }

    .about-hero-intro .about-intro-side {
        align-items: stretch;
        gap: 0.85rem;
        padding-top: 1rem;
        margin-top: 0.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        background: linear-gradient(180deg, rgba(13, 202, 240, 0.05), transparent 40%);
        border-radius: 0 0 1.1rem 1.1rem;
        margin-left: -0.15rem;
        margin-right: -0.15rem;
        padding-left: 0.15rem;
        padding-right: 0.15rem;
    }

    .about-hero-intro .about-side-kicker {
        text-align: center;
    }

    .about-hero-intro .about-values-row {
        justify-content: center;
    }

    .about-hero-intro .about-value-tag {
        flex: 1 1 calc(33.333% - 0.4rem);
        justify-content: center;
        min-width: 0;
        padding: 0.5rem 0.35rem;
        font-size: 0.72rem;
        gap: 0.3rem;
    }

    .about-hero-intro .about-value-tag i,
    .about-hero-intro .about-value-tag svg {
        width: 0.85rem;
        height: 0.85rem;
    }

    .about-hero-intro .about-location-line {
        justify-content: center;
        text-align: left;
        max-width: 16rem;
        margin-left: auto;
        margin-right: auto;
        border-top: none;
        padding-top: 0.35rem;
    }

    .about-hero-intro .about-cta--hero {
        margin-top: 0.25rem;
    }

    .about-hero-intro .about-cta--hero .btn-outline-light {
        display: none;
    }

    .about-hero-intro .about-intro-shell {
        padding: 1.25rem 1.1rem 1.1rem;
    }
}

@media (min-width: 768px) {
    .about-trust-list--desktop {
        display: flex;
    }
}

.about-cta--hero {
    justify-content: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    margin-top: 0.35rem;
    padding-top: 0;
}

.about-cta--hero .btn {
    width: 100%;
}

@media (min-width: 992px) {
    .about-cta--hero {
        margin-top: auto;
    }
}

.about-hero-title {
    margin-bottom: 0.75rem;
}

.about-lead--on-dark {
    color: rgba(255, 255, 255, 0.82);
}

.about-hero-intro .btn-outline-light {
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.04);
}

.about-hero-intro .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.65);
    color: var(--white);
    transform: translateY(-2px);
}

.about .stats-cards {
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
    padding-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.about-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    animation: aboutBlobFloat 12s ease-in-out infinite;
}

.about-blob-1 {
    width: 320px;
    height: 320px;
    background: rgba(13, 202, 240, 0.22);
    top: -80px;
    right: -60px;
}

.about-blob-2 {
    width: 240px;
    height: 240px;
    background: rgba(255, 193, 7, 0.18);
    bottom: 10%;
    left: -40px;
    animation-delay: -4s;
}

.about-blob-3 {
    width: 180px;
    height: 180px;
    background: rgba(13, 202, 240, 0.16);
    top: 40%;
    right: 15%;
    animation-delay: -8s;
}

@keyframes aboutBlobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -15px) scale(1.05); }
    66% { transform: translate(-15px, 10px) scale(0.95); }
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.about-image {
    position: relative;
}

.about-visual {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
}

.about-visual-orbit {
    position: absolute;
    inset: 8% 6%;
    border-radius: 2rem;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    animation: aboutOrbitSpin 22s linear infinite;
    pointer-events: none;
}

.about-visual-spark {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(255, 193, 7, 0.65);
    pointer-events: none;
}

.about-visual-spark--1 {
    top: 12%;
    right: 4%;
    animation: aboutSparkFloat 4s ease-in-out infinite;
}

.about-visual-spark--2 {
    bottom: 18%;
    left: 0;
    background: var(--primary);
    box-shadow: 0 0 16px rgba(13, 202, 240, 0.55);
    animation: aboutSparkFloat 4.5s ease-in-out infinite reverse;
}

@keyframes aboutOrbitSpin {
    to { transform: rotate(360deg); }
}

@keyframes aboutSparkFloat {
    0%, 100% { transform: translateY(0); opacity: 0.85; }
    50% { transform: translateY(-8px); opacity: 1; }
}

.about-image-stage {
    position: relative;
    z-index: 1;
}

.about-image-cover {
    aspect-ratio: 4 / 5;
    max-height: min(62vh, 440px);
    border-radius: 1.35rem;
    overflow: hidden;
}

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

.about-image-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(6, 20, 40, 0.55) 100%);
    pointer-events: none;
}

.about-visual-chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(6, 20, 40, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.about-visual-chip--cambridge {
    top: 1rem;
    left: 1rem;
}

.about-visual-chip--baf {
    top: 1rem;
    right: 1rem;
}

.about-visual .floating-badge {
    left: 50%;
    bottom: -0.85rem;
    z-index: 4;
    animation: aboutBadgeFloat 3s ease-in-out infinite;
}

@keyframes aboutBadgeFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

.about-image-glow {
    position: absolute;
    inset: -16px;
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.45), rgba(255, 193, 7, 0.35));
    border-radius: calc(var(--radius-2xl) + 8px);
    z-index: 0;
    animation: aboutGlowPulse 4s ease-in-out infinite;
    filter: blur(2px);
}

@keyframes aboutGlowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

.image-wrapper {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.about-image:hover .image-wrapper img {
    transform: scale(1.04);
}

.image-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.35) 50%,
        transparent 60%
    );
    transform: translateX(-100%);
    animation: imageShine 5s ease-in-out infinite;
}

@keyframes imageShine {
    0%, 70%, 100% { transform: translateX(-100%); }
    85% { transform: translateX(100%); }
}

.image-decoration-1 {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 12rem;
    height: 12rem;
    background: rgba(255, 193, 7, 0.2);
    border-radius: var(--radius-2xl);
    z-index: 0;
    animation: decorPulse 6s ease-in-out infinite;
}

.image-decoration-2 {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    width: 8rem;
    height: 8rem;
    background: rgba(13, 202, 240, 0.1);
    border-radius: var(--radius-2xl);
    z-index: 0;
    animation: decorPulse 6s ease-in-out infinite reverse;
}

@keyframes decorPulse {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(6deg); }
}

.floating-badge {
    position: absolute;
    bottom: -1rem;
    left: 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 3s ease-in-out infinite;
}

.badge-pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(255, 193, 7, 0.4);
    animation: badgePulse 2s ease-out infinite;
    pointer-events: none;
}

@keyframes badgePulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.15); opacity: 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 193, 7, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    display: block;
}

.badge-text {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.about-content {
    space-y: 1.5rem;
}

.about-lead {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--gray-600);
    margin: 1rem 0 1.35rem;
    max-width: 36rem;
}

.about-hero-intro .about-lead,
.about-hero-intro .about-lead.about-lead--on-dark {
    color: rgba(255, 255, 255, 0.94);
}

.about-watermark {
    position: absolute;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(4rem, 16vw, 11rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.035);
    pointer-events: none;
    white-space: nowrap;
}

.about-image-frame {
    position: relative;
    z-index: 1;
    padding: 0.45rem;
    border-radius: 1.5rem;
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.65), rgba(13, 202, 240, 0.5), rgba(255, 255, 255, 0.2));
    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(13, 202, 240, 0.2);
    animation: aboutFrameGlow 5s ease-in-out infinite;
}

@keyframes aboutFrameGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.08); }
}

.about-highlights {
    display: grid;
    gap: 0.75rem;
    margin: 1.35rem 0 1.5rem;
}

@media (min-width: 640px) {
    .about-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.about-highlight-item--location {
    font-size: 0.62rem;
    line-height: 1.35;
    padding: 0.65rem 0.75rem;
}

.about-highlight-item--location span {
    white-space: normal;
}

@media (min-width: 640px) {
    .about-hero-intro .about-highlights {
        grid-template-columns: 1fr 1.15fr;
        align-items: stretch;
    }

    .about-highlight-item--location {
        font-size: 0.6rem;
    }
}

@media (max-width: 420px) {
    .about-highlight-item--location {
        font-size: 0.58rem;
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }
}

.about-highlight-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 0.85rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.26);
    border-color: rgba(13, 202, 240, 0.35);
}

.about-highlight-item i {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.about-text {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.principles-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.principle-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    transition: all var(--transition-base);
}

.principle-chip:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 202, 240, 0.55);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
    color: var(--white);
}

.principle-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 193, 7, 0.16);
    border-radius: 50%;
    color: var(--accent);
}

.principle-icon i {
    width: 14px;
    height: 14px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

@media (min-width: 640px) {
    .highlights-grid { grid-template-columns: 1fr 1fr; }
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.highlight-icon {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

.highlight-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.motto-box {
    position: relative;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-xl);
    margin: 1.5rem 0;
    overflow: hidden;
}

.motto-box::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 200%;
    animation: mottoBorderShift 4s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

@keyframes mottoBorderShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.motto-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.motto-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.about-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 991px) {
    .about-hero-intro .about-visual,
    .about-hero-intro .about-image {
        display: block !important;
        max-width: min(100%, 380px);
        margin: 0 auto 1.75rem;
    }

    .about-hero-intro .about-visual-chip {
        font-size: 0.55rem;
        padding: 0.3rem 0.5rem;
    }

    .about-hero-intro .about-visual-chip--baf span {
        max-width: 7.5rem;
        line-height: 1.2;
    }

    .about-hero-intro .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-hero-intro .about-content {
        text-align: center;
    }

    .about-hero-intro .about-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .about-hero-intro .principles-row,
    .about-hero-intro .about-cta {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .about-intro-shell {
        padding: 1.15rem;
        border-radius: 1.25rem;
    }

    .about-intro-split {
        grid-template-columns: 1fr;
    }
}

/* Stats Cards */
.stats-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 5rem;
}

.stats-cards-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
    width: 100%;
}

.stats-cards-row > .stat-card {
    min-height: 210px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .stats-cards-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .stats-cards-row {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .stat-card-cambridge {
        display: none !important;
    }
}

.stat-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    overflow: hidden;
    border: 1px solid rgba(13, 202, 240, 0.08);
}

.stat-card-combined {
    padding: 1.35rem 1.15rem;
    text-align: left;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 246, 251, 0.95) 100%);
}

.stat-combined-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0.55rem;
    align-items: stretch;
}

.stat-combined-divider {
    display: block;
    width: 1px;
    align-self: stretch;
    background: linear-gradient(180deg, transparent, rgba(13, 202, 240, 0.22), transparent);
}

@media (min-width: 640px) {
    .stat-combined-grid {
        gap: 0.85rem;
    }
}

.stat-combined-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.35rem 0.25rem;
}

.stat-combined-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 0.75rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stat-combined-icon i {
    width: 24px;
    height: 24px;
}

.stat-combined-icon--gold {
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.22), rgba(255, 193, 7, 0.08));
    color: #b8860b;
    border: 1px solid rgba(255, 193, 7, 0.28);
}

.stat-combined-icon--cyan {
    background: linear-gradient(145deg, rgba(13, 202, 240, 0.2), rgba(13, 202, 240, 0.06));
    color: var(--primary-dark);
    border: 1px solid rgba(13, 202, 240, 0.22);
}

.stat-combined-icon--navy {
    background: linear-gradient(145deg, rgba(10, 31, 61, 0.12), rgba(10, 31, 61, 0.04));
    color: var(--navy);
    border: 1px solid rgba(10, 31, 61, 0.12);
}

.stat-combined-icon--violet {
    background: linear-gradient(145deg, rgba(111, 66, 193, 0.2), rgba(111, 66, 193, 0.06));
    color: #6f42c1;
    border: 1px solid rgba(111, 66, 193, 0.22);
}

.stat-card-combined:hover .stat-combined-icon {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 22px rgba(10, 31, 61, 0.1);
}

.stat-combined-value {
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-combined-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-500);
    line-height: 1.35;
    max-width: 7.5rem;
}

.stat-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 1rem 0.75rem 0.95rem;
    text-align: center;
    min-height: auto;
}

.stat-action-desc {
    flex: 0 1 auto;
    margin-bottom: 0.35rem;
}

.stat-action-btn {
    margin-top: 0.15rem;
}

.stat-action-card--software {
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 1) 0%, rgba(232, 248, 255, 0.92) 100%);
}

.stat-action-card--fees {
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 1) 0%, rgba(255, 249, 232, 0.92) 100%);
}

.stat-action-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 0.65rem;
    border-radius: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 12px 28px rgba(13, 202, 240, 0.28);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stat-action-card--fees .stat-action-icon {
    background: linear-gradient(145deg, #e6a817, var(--accent));
    box-shadow: 0 12px 28px rgba(255, 193, 7, 0.32);
}

.stat-action-card:hover .stat-action-icon {
    transform: translateY(-4px) scale(1.06);
}

.stat-action-icon i {
    width: 26px;
    height: 26px;
}

.stat-action-title {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 0.35rem;
    line-height: 1.25;
}

.stat-action-desc {
    font-size: 0.72rem;
    color: var(--gray-500);
    line-height: 1.35;
    margin: 0 auto 0.75rem;
    max-width: 11rem;
}

.stat-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: auto;
    padding: 0.62rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 10px 24px rgba(13, 202, 240, 0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.stat-action-btn i {
    width: 16px;
    height: 16px;
}

.stat-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(13, 202, 240, 0.35);
    filter: brightness(1.04);
    color: var(--white);
}

.stat-action-btn--gold {
    background: linear-gradient(135deg, var(--accent), #e6a817);
    box-shadow: 0 10px 24px rgba(255, 193, 7, 0.32);
}

.stat-action-btn--gold:hover {
    box-shadow: 0 14px 30px rgba(255, 193, 7, 0.4);
    color: var(--white);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-card:hover::after {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.stat-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: rgba(13, 202, 240, 0.1);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all var(--transition-base);
}

.stat-card:hover .stat-card-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
}

.stat-card-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.stat-card-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.stat-card-cambridge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0.85rem;
}

.stat-card-cambridge .cambridge-seal {
    width: 72px;
    height: 72px;
    margin: 0 auto 0.65rem;
    flex-shrink: 0;
}

.stat-card-cambridge .stat-card-icon {
    display: none;
}

.cambridge-seal {
    position: relative;
    width: 86px;
    height: 86px;
    margin: 0 auto 0.85rem;
}

.cambridge-seal-spin {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        conic-gradient(from 0deg, var(--gold) 0 18%, transparent 18% 25%, var(--gold) 25% 43%, transparent 43% 50%, var(--gold) 50% 68%, transparent 68% 75%, var(--gold) 75% 93%, transparent 93% 100%);
    animation: cambridgeSealSpin 8s linear infinite;
}

.cambridge-seal-spin::before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: var(--white);
}

.cambridge-seal-core {
    position: absolute;
    inset: 11px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.05rem;
    background: linear-gradient(160deg, #0a1f3d 0%, #163a6b 100%);
    border: 2px solid var(--gold);
    box-shadow: 0 8px 20px rgba(10, 31, 61, 0.22), inset 0 0 12px rgba(255, 193, 7, 0.18);
    color: var(--gold);
    z-index: 1;
}

.cambridge-seal-core i {
    width: 22px;
    height: 22px;
}

.cambridge-seal-core small {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--gold);
}

.cambridge-badge-word {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.04em;
    line-height: 1.15;
}

.stat-card-cambridge .stat-card-label {
    margin-top: 0.15rem;
    font-weight: 600;
    color: var(--gray-600);
}

.stat-card-british-council,
.stat-card-baf,
.stat-card-partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0.85rem;
}

.stat-partner-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 140px;
    min-height: 68px;
    margin: 0 auto 0.65rem;
    padding: 0.25rem 0.4rem;
}

.stat-partner-logo-wrap--baf {
    max-width: 82px;
    min-height: 82px;
    margin-bottom: 0.7rem;
}

.stat-partner-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.stat-partner-logo--bc {
    max-height: 58px;
}

.stat-partner-logo--baf {
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.stat-partner-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 0.3rem;
}

.stat-partner-desc {
    display: block;
    font-size: 0.72rem;
    line-height: 1.35;
    color: var(--gray-500);
    max-width: 11rem;
    margin: 0 auto;
}

.stat-card-british-council {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.35rem 1rem;
}

.british-council-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 150px;
    min-height: 72px;
    margin: 0 auto 0.75rem;
    padding: 0.35rem 0.5rem;
}

.british-council-logo {
    width: 100%;
    height: auto;
    max-height: 64px;
    object-fit: contain;
    display: block;
}

.stat-card-british-council .stat-card-label {
    margin-top: 0.1rem;
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.82rem;
    line-height: 1.3;
    max-width: 11rem;
}

@keyframes cambridgeSealSpin {
    to { transform: rotate(360deg); }
}

/* ===== EVENTS SECTION ===== */
.events {
    --events-navy: #061428;
    background:
        radial-gradient(circle at 12% 18%, rgba(13, 202, 240, 0.16), transparent 32%),
        radial-gradient(circle at 88% 82%, rgba(255, 193, 7, 0.14), transparent 28%),
        linear-gradient(165deg, #061428 0%, #0a1f3d 48%, #12325c 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100%;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.events.section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.events-inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.events-bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.events-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}

.events-blob-1 {
    width: 480px;
    height: 480px;
    background: rgba(13, 202, 240, 0.22);
    top: -140px;
    left: -120px;
}

.events-blob-2 {
    width: 380px;
    height: 380px;
    background: rgba(255, 193, 7, 0.18);
    bottom: -100px;
    right: -80px;
}

.events-blob-3 {
    width: 240px;
    height: 240px;
    background: rgba(13, 202, 240, 0.12);
    top: 42%;
    left: 46%;
}

.events-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 78%);
    opacity: 0.7;
}

.events .container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
}

.events-header {
    margin-bottom: 2.25rem;
}

.events-header .section-subtitle-light {
    margin-top: 1.15rem;
}

/* Events Auto-Scroll Carousel — full viewport width */
.events-carousel-wrap {
    position: relative;
    width: 100%;
    margin-top: 0.5rem;
}

.events-carousel-viewport {
    overflow: hidden;
    padding: 1.25rem 0 1.75rem;
}

.events-carousel-track {
    display: flex;
    gap: 1.75rem;
    width: max-content;
    animation: none;
}

.events-carousel-viewport.is-in-view .events-carousel-track {
    animation: eventsCarouselScroll 42s linear infinite;
}

.events-carousel-viewport.is-paused .events-carousel-track {
    animation-play-state: paused;
}

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

.events-list-page .container,
.events-list-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.events-list-page .events-grid {
    justify-content: center;
    justify-items: center;
}

.events-grid {
    display: grid;
    gap: 1.75rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    justify-items: center;
    place-content: center;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

@media (min-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 320px));
        justify-content: center;
    }
}

@media (min-width: 1200px) {
    .events-grid {
        grid-template-columns: repeat(4, minmax(0, 280px));
        justify-content: center;
    }
}

.events-grid .event-card {
    width: 100%;
    max-width: 100%;
    flex-shrink: initial;
    margin: 0 auto;
}

.events-carousel-track .event-card {
    flex-shrink: 0;
    width: min(86vw, 360px);
    margin: 0;
}

.event-card {
    scroll-snap-align: start;
    position: relative;
    background: var(--white);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
    .events-carousel-track .event-card { width: 400px; }
}

@media (min-width: 1200px) {
    .events-carousel-track .event-card { width: 440px; }
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 193, 7, 0.35);
}

.event-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.event-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(6, 20, 40, 0.72) 100%);
    opacity: 0.75;
    transition: opacity var(--transition-base);
}

.event-card:hover .event-image img {
    transform: scale(1.08);
}

.event-card:hover .event-image-overlay {
    opacity: 0.9;
}

.event-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.32rem 0.9rem;
    background: var(--accent);
    color: var(--gray-900);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius-full);
    z-index: 2;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.event-date-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.55rem 0.8rem;
    background: rgba(6, 20, 40, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 193, 7, 0.45);
    border-radius: var(--radius-lg);
    z-index: 2;
    box-shadow: var(--shadow-md);
    min-width: 58px;
}

.event-date-day {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.event-date-month {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 0.18rem;
}

.event-content {
    padding: 1.35rem 1.4rem 1.3rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    border-top: 3px solid var(--accent);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.event-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.event-title {
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.55rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition-fast);
    line-height: 1.4;
}

.event-card:hover .event-title {
    color: var(--navy);
}

.event-excerpt {
    font-size: 0.9rem;
    color: var(--gray-500);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    line-height: 1.6;
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 1.05rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--gray-100);
}

.event-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
}

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

.event-link i {
    transition: transform var(--transition-fast);
}

.event-link:hover i {
    transform: translateX(4px);
}

/* ===== ACHIEVEMENTS SECTION ===== */
.achievements {
    background: linear-gradient(160deg, #061428 0%, #0aa2c0 55%, #0dcaf0 100%);
    position: relative;
    overflow: hidden;
}

.achievements-inner {
    position: relative;
    z-index: 1;
}

.achievement-carousel-wrap {
    position: relative;
    width: 100%;
    margin-top: 0.5rem;
}

.achievement-carousel-viewport {
    overflow: hidden;
    padding: 0.75rem 0 1.5rem;
}

.achievement-carousel-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: none;
}

.achievement-carousel-viewport.is-in-view .achievement-carousel-track {
    animation: achievementCarouselScroll 36s linear infinite;
}

.achievement-carousel-viewport.is-paused .achievement-carousel-track {
    animation-play-state: paused;
}

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

.achievement-card {
    flex-shrink: 0;
    scroll-snap-align: start;
    width: min(78vw, 320px);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .achievement-card { width: 340px; }
}

.achievement-card-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    border: 0;
    padding: 0;
    border-radius: 1.15rem;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.achievement-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.achievement-card:hover .achievement-card-media img {
    transform: scale(1.08);
}

.achievement-card-title {
    margin: 0.85rem 0.15rem 0;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--white);
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.achievement-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.achievement-gallery .achievement-card {
    width: 100%;
}

@media (min-width: 768px) {
    .achievement-gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.achievement-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
}

.achievement-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.achievement-item:hover img {
    transform: scale(1.1);
}

.achievement-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transform: translateY(100%);
    transition: all var(--transition-base);
}

.achievement-item:hover .achievement-overlay {
    opacity: 1;
    transform: translateY(0);
}

.achievement-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
}

@media (min-width: 768px) {
    .achievement-title { font-size: 1rem; }
}

.achievement-year {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.achievement-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    background: linear-gradient(180deg, transparent 40%, rgba(6, 20, 40, 0.45) 100%);
}

.achievement-card:hover .achievement-zoom,
.achievement-item:hover .achievement-zoom {
    opacity: 1;
}

.achievement-zoom i {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.achievement-bg-1,
.achievement-bg-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.achievement-bg-1 {
    top: 0;
    right: 0;
    width: 16rem;
    height: 16rem;
    background: rgba(255, 193, 7, 0.1);
    filter: blur(60px);
}

.achievement-bg-2 {
    bottom: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
    background: rgba(255, 255, 255, 0.05);
    filter: blur(60px);
}

/* ===== MESSAGES SECTION ===== */
.messages {
    background:
        radial-gradient(circle at 8% 12%, rgba(13, 202, 240, 0.1), transparent 32%),
        radial-gradient(circle at 92% 88%, rgba(255, 193, 7, 0.1), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 48%, #f1f7fb 100%);
    position: relative;
    overflow: hidden;
}

.messages-watermark {
    position: absolute;
    top: 4.5rem;
    right: 6%;
    color: rgba(13, 202, 240, 0.08);
    pointer-events: none;
    z-index: 0;
    animation: messageWatermarkFloat 8s ease-in-out infinite;
}

.messages-watermark i {
    width: 180px;
    height: 180px;
}

.messages .container {
    position: relative;
    z-index: 1;
}

.messages-grid {
    display: grid;
    gap: 2rem;
    max-width: 74rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .messages-grid { grid-template-columns: repeat(2, 1fr); }
}

.message-card {
    position: relative;
    background: var(--white);
    border-radius: 1.35rem;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(10, 31, 61, 0.08);
    border: 1px solid rgba(13, 202, 240, 0.12);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.message-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 50px rgba(10, 31, 61, 0.16);
}

.message-accent-bar {
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: messageAccentShift 5s linear infinite;
}

.message-content {
    padding: 2rem 1.85rem 1.75rem;
}

.message-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.35rem;
}

.message-image {
    position: relative;
    flex-shrink: 0;
    width: 108px;
    height: 108px;
}

.message-photo-ring {
    position: absolute;
    inset: -6px;
    border-radius: 28px;
    background: conic-gradient(from 0deg, var(--gold), transparent 28%, var(--primary) 48%, transparent 72%, var(--gold));
    animation: messageRingSpin 9s linear infinite;
}

.message-photo-ring::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 24px;
    background: var(--white);
}

.message-image img {
    position: relative;
    z-index: 1;
    width: 108px;
    height: 108px;
    border-radius: 22px;
    object-fit: cover;
    object-position: top;
    box-shadow: var(--shadow-md);
}

.message-card:hover .message-image img {
    transform: scale(1.04);
    transition: transform 0.5s ease;
}

.star-badge {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--gold), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
    z-index: 2;
    animation: messageStarPulse 2.4s ease-in-out infinite;
}

.star-badge i {
    width: 16px;
    height: 16px;
    color: var(--navy);
    fill: var(--navy);
}

.message-info {
    flex: 1;
    padding-top: 0.35rem;
}

.message-role {
    display: inline-block;
    padding: 0.28rem 0.8rem;
    background: rgba(13, 202, 240, 0.12);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius-full);
    margin-bottom: 0.55rem;
}

.message-name {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}

.message-designation {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.3rem;
}

.quote-icon {
    margin-bottom: 0.7rem;
    animation: messageQuoteFloat 3.6s ease-in-out infinite;
}

.quote-icon i {
    width: 34px;
    height: 34px;
    color: rgba(255, 193, 7, 0.55);
}

.message-quote {
    font-size: 0.98rem;
    font-style: italic;
    color: var(--gray-600);
    line-height: 1.75;
    position: relative;
}

.message-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-100);
}

.stars {
    display: flex;
    gap: 0.22rem;
}

.star-filled {
    width: 16px;
    height: 16px;
    color: var(--accent);
    fill: var(--accent);
    animation: messageStarTwinkle 2.2s ease-in-out infinite;
}

.stars .star-filled:nth-child(2) { animation-delay: 0.15s; }
.stars .star-filled:nth-child(3) { animation-delay: 0.3s; }
.stars .star-filled:nth-child(4) { animation-delay: 0.45s; }
.stars .star-filled:nth-child(5) { animation-delay: 0.6s; }

.excellence-text {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.messages-bg-1,
.messages-bg-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.messages-bg-1 {
    top: -4rem;
    right: -3rem;
    width: 24rem;
    height: 24rem;
    background: rgba(13, 202, 240, 0.12);
    filter: blur(70px);
    animation: messageBlobDrift 12s ease-in-out infinite;
}

.messages-bg-2 {
    bottom: -5rem;
    left: -4rem;
    width: 26rem;
    height: 26rem;
    background: rgba(255, 193, 7, 0.12);
    filter: blur(70px);
    animation: messageBlobDrift 14s ease-in-out infinite reverse;
}

@keyframes messageAccentShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes messageRingSpin {
    to { transform: rotate(360deg); }
}

@keyframes messageStarPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

@keyframes messageQuoteFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes messageStarTwinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.88); }
}

@keyframes messageWatermarkFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(12px) rotate(-6deg); }
}

@keyframes messageBlobDrift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(18px, -14px); }
}

/* ===== TEACHERS SECTION ===== */
.teachers {
    background:
        radial-gradient(circle at 12% 20%, rgba(13, 202, 240, 0.08), transparent 34%),
        radial-gradient(circle at 88% 80%, rgba(255, 193, 7, 0.08), transparent 30%),
        linear-gradient(180deg, var(--white), var(--gray-50));
    position: relative;
    overflow: hidden;
}

.teachers-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(10, 31, 61, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 31, 61, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
}

.teachers-inner {
    position: relative;
    z-index: 1;
}

.teachers-header {
    margin-bottom: 1.5rem;
}

.carousel-nav {
    display: flex;
    gap: 0.75rem;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid rgba(13, 202, 240, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.teachers-carousel-wrap {
    width: 100%;
}

.teachers-carousel-viewport {
    overflow: hidden;
    padding: 0.75rem 0 1.5rem;
}

.teachers-carousel-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: none;
}

.teachers-carousel-viewport.is-in-view .teachers-carousel-track {
    animation: teachersCarouselScroll 38s linear infinite;
}

.teachers-carousel-viewport.is-paused .teachers-carousel-track {
    animation-play-state: paused;
}

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

.teacher-card {
    flex-shrink: 0;
    width: min(78vw, 280px);
    scroll-snap-align: start;
    background: var(--white);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(10, 31, 61, 0.1);
    border: 1px solid rgba(13, 202, 240, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@media (min-width: 768px) {
    .teacher-card { width: 300px; }
}

.teachers-grid .teacher-card {
    width: 100%;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 44px rgba(10, 31, 61, 0.16);
}

.teacher-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform var(--transition-slow);
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.08);
}

.department-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.28rem 0.8rem;
    background: var(--accent);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-gold);
    z-index: 2;
}

.teacher-email {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.teacher-card:hover .teacher-email {
    opacity: 1;
    transform: translateX(0);
}

.teacher-email:hover {
    background: var(--primary);
    color: var(--white);
}

.teacher-body {
    padding: 1.05rem 1.15rem 1.2rem;
    border-top: 3px solid var(--accent);
    text-align: center;
}

.teacher-name {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.teacher-designation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: var(--gray-500);
    font-size: 0.84rem;
    font-weight: 500;
    margin: 0;
}

.teacher-designation i {
    color: var(--accent);
    width: 16px;
    height: 16px;
}

.teacher-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
}

.teacher-overlay .teacher-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.teacher-overlay .teacher-designation {
    color: rgba(255, 255, 255, 0.9);
}

.teacher-footer {
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.pulse-dot-sm {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.teacher-footer i {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.teacher-card:hover .teacher-footer i {
    color: var(--accent);
    transform: translateX(4px);
}

/* ===== ANNUAL SPORTS SCOREBOARD (HOME) ===== */
.sports-scoreboard {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(13, 202, 240, 0.18), transparent 34%),
        radial-gradient(circle at 88% 82%, rgba(255, 193, 7, 0.16), transparent 30%),
        linear-gradient(160deg, #061428 0%, #0a1f3d 48%, #0aa2c0 100%);
    color: rgba(255, 255, 255, 0.92);
    padding: clamp(2.25rem, 3.5vw, 3rem) 0;
}

.sports-scoreboard .section-header-center {
    margin-bottom: 1.35rem;
}

.sports-scoreboard .section-title-light {
    margin-bottom: 0.65rem;
}

.sports-scoreboard .section-label.light {
    margin-bottom: 0.65rem;
}

.sports-scoreboard-inner {
    position: relative;
    z-index: 1;
}

.sports-scoreboard-header {
    margin-bottom: 0;
}

.sports-score-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 720px;
    margin: 0 auto 1.15rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
}

.sports-score-tabs--triple {
    max-width: 920px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sports-score-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    text-align: left;
    transition: background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
}

.sports-score-tab-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    min-width: 0;
}

.sports-score-tab-text strong {
    font-size: clamp(0.78rem, 2.2vw, 0.92rem);
    line-height: 1.25;
    color: inherit;
}

.sports-score-tab-text small {
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.55);
}

.sports-score-tab.is-active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    box-shadow: 0 10px 28px rgba(13, 202, 240, 0.28);
}

.sports-score-tab.is-active .sports-score-tab-text small {
    color: rgba(255, 255, 255, 0.82);
}

.sports-score-panel {
    display: none;
}

.sports-score-panel.is-active {
    display: block;
}

.sports-score-panel--animate {
    animation: sportsPanelReveal 0.48s ease both;
}

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

@keyframes sportsChampionGlow {
    0%, 100% {
        box-shadow:
            0 0 0 1px color-mix(in srgb, var(--house-color) 35%, transparent),
            0 14px 34px rgba(0, 0, 0, 0.14);
    }
    50% {
        box-shadow:
            0 0 0 3px color-mix(in srgb, var(--house-color) 28%, white),
            0 0 22px color-mix(in srgb, var(--house-color) 35%, transparent),
            0 18px 40px rgba(0, 0, 0, 0.18);
    }
}

@keyframes sportsCrownFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
    .sports-score-panel--animate,
    .sports-podium-item--champion,
    .sports-board-th--champion,
    .sports-board-cell--champion-col,
    .sports-indoor-highlight--champion,
    .sports-indoor-row--champion,
    .sports-football-result--champion,
    .sports-house-card--champion {
        animation: none !important;
    }
}

.sports-panel-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 1rem;
}

.sports-panel-title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.sports-panel-desc {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
}

.sports-scoreboard-header .section-subtitle-light {
    margin-left: auto;
    margin-right: auto;
}

.sports-indoor-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.sports-indoor-highlight {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    padding: 0.65rem 0.85rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, var(--house-tint), var(--white));
    border: 1px solid color-mix(in srgb, var(--house-color) 24%, transparent);
    box-shadow: var(--shadow-sm);
}

.sports-indoor-highlight--champion {
    border-color: color-mix(in srgb, var(--house-color) 45%, transparent);
    animation: sportsChampionGlow 2.8s ease-in-out infinite;
}

.sports-indoor-highlight--runner-lead {
    border-style: dashed;
}

.sports-indoor-highlight-name {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--house-color);
}

.sports-indoor-highlight-scores {
    display: flex;
    gap: 0.65rem;
    font-size: 0.82rem;
    color: var(--gray-600);
}

.sports-indoor-highlight-scores strong {
    color: var(--gray-900);
}

.sports-indoor-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-left: auto;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--house-color);
    background: color-mix(in srgb, var(--house-color) 12%, white);
}

.sports-indoor-badge--runner {
    color: var(--gray-700);
    background: rgba(10, 31, 61, 0.06);
}

.sports-indoor-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.sports-indoor-th,
.sports-indoor-row td,
.sports-indoor-house {
    padding: 0.65rem 0.55rem;
    text-align: center;
    border: 1px solid rgba(10, 31, 61, 0.07);
}

.sports-indoor-th--house,
.sports-indoor-house {
    text-align: left;
    font-weight: 700;
    white-space: nowrap;
}

.sports-indoor-th--group {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(13, 202, 240, 0.08);
    color: var(--gray-800);
}

.sports-indoor-th--group-runner {
    background: rgba(10, 31, 61, 0.05);
}

.sports-indoor-th--sub {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-50);
}

.sports-indoor-th--total {
    color: var(--gray-800);
    font-weight: 700;
}

.sports-indoor-row--champion td,
.sports-indoor-row--champion .sports-indoor-house {
    background: color-mix(in srgb, var(--house-color) 16%, white);
}

.sports-indoor-row--champion .sports-indoor-total strong {
    animation: sportsCrownFloat 2.4s ease-in-out infinite;
}

.sports-indoor-row--runner-lead td {
    outline: 1px dashed rgba(10, 31, 61, 0.12);
    outline-offset: -1px;
}

.sports-indoor-row td {
    font-weight: 600;
    color: var(--gray-800);
    background: var(--house-tint);
}

.sports-indoor-house {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--house-color);
    background: color-mix(in srgb, var(--house-color) 8%, white);
}

.sports-indoor-total strong {
    display: inline-flex;
    min-width: 1.75rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    color: var(--house-color);
    background: color-mix(in srgb, var(--house-color) 14%, white);
}

.sports-indoor-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.sports-indoor-split-block h5 {
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-600);
}

.sports-indoor-split-block--runner h5 {
    color: var(--gray-700);
}

.sports-indoor-mobile .sports-house-stats {
    grid-template-columns: 1fr;
}

.sports-football-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    max-width: 980px;
    margin: 0 auto;
}

.sports-football-card {
    background: var(--white);
    border-radius: 1.15rem;
    border: 1px solid rgba(10, 31, 61, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.sports-football-card-head {
    padding: 0.85rem 1rem 0.75rem;
    border-bottom: 1px solid rgba(10, 31, 61, 0.06);
    background: linear-gradient(180deg, rgba(10, 31, 61, 0.03), transparent);
}

.sports-football-card-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
    color: var(--navy);
}

.sports-football-card-title h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.sports-football-finals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.sports-football-result {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.85rem;
    border: 1px solid color-mix(in srgb, var(--house-color) 28%, transparent);
    background: linear-gradient(145deg, var(--house-tint), rgba(255, 255, 255, 0.96));
}

.sports-football-result-tag {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.sports-football-result--champion .sports-football-result-tag {
    color: var(--house-color);
}

.sports-football-result--champion {
    animation: sportsChampionGlow 2.8s ease-in-out infinite;
}

.sports-football-result--runner .sports-football-result-tag {
    color: var(--gray-600);
}

.sports-football-result-house {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--house-color);
    line-height: 1.3;
}

.sports-football-final {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid color-mix(in srgb, var(--house-color) 28%, transparent);
    background: var(--house-tint);
    color: var(--house-color);
}

.sports-football-final--runner {
    opacity: 0.92;
}

.sports-football-awards-scroll {
    max-height: 9.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.65rem 0.85rem 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(10, 31, 61, 0.25) transparent;
}

.sports-football-awards-scroll:focus {
    outline: 2px solid rgba(13, 202, 240, 0.45);
    outline-offset: -2px;
}

.sports-football-awards-scroll::-webkit-scrollbar {
    width: 6px;
}

.sports-football-awards-scroll::-webkit-scrollbar-thumb {
    background: rgba(10, 31, 61, 0.22);
    border-radius: 999px;
}

.sports-football-award + .sports-football-award {
    margin-top: 0.55rem;
    padding-top: 0.55rem;
    border-top: 1px dashed rgba(10, 31, 61, 0.1);
}

.sports-football-award-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.35rem;
}

.sports-football-students {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sports-football-students li {
    padding: 0.4rem 0.55rem;
    border-radius: 0.65rem;
    background: var(--gray-50);
    border: 1px solid rgba(10, 31, 61, 0.06);
}

.sports-football-students strong {
    display: block;
    font-size: 0.82rem;
    color: var(--gray-900);
    line-height: 1.35;
}

.sports-football-students span {
    display: block;
    font-size: 0.72rem;
    color: var(--gray-600);
    margin-top: 0.1rem;
    line-height: 1.4;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sports-podium {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.15rem;
    align-items: end;
}

.sports-podium-item {
    position: relative;
    text-align: center;
    padding: 0.85rem 0.65rem 0.95rem;
    border-radius: 1.15rem;
    background: var(--white);
    border: 1px solid rgba(10, 31, 61, 0.08);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.sports-podium-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.sports-podium-item--rank-1 {
    order: 2;
    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
    border-color: color-mix(in srgb, var(--house-color) 35%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--house-color) 12%, white), var(--white));
}

.sports-podium-item--rank-2 { order: 1; }
.sports-podium-item--rank-3 { order: 3; }
.sports-podium-item--rank-4 { order: 4; }

.sports-podium-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.35rem;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    background: var(--house-color);
}

.sports-podium-house {
    display: block;
    font-weight: 700;
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    color: var(--gray-800);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sports-podium-total {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.1;
    color: var(--house-color);
    margin-top: 0.25rem;
}

.sports-podium-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
}

.sports-podium-item--champion {
    animation: sportsChampionGlow 2.8s ease-in-out infinite;
    z-index: 1;
}

.sports-podium-crown {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.45rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--house-color);
    background: color-mix(in srgb, var(--house-color) 14%, white);
    animation: sportsCrownFloat 2.4s ease-in-out infinite;
}

.sports-board-th--champion {
    position: relative;
    animation: sportsChampionGlow 3s ease-in-out infinite;
}

.sports-board-champion-tag {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--house-color);
}

.sports-board-cell--champion-col {
    background: color-mix(in srgb, var(--house-color) 18%, white) !important;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--house-color) 22%, transparent);
}

.sports-house-card--champion {
    animation: sportsChampionGlow 2.8s ease-in-out infinite;
    border-width: 2px;
}

.sports-board-wrap {
    max-width: 920px;
    margin: 0 auto;
}

.sports-board-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(10, 31, 61, 0.08);
    box-shadow: 0 24px 60px rgba(10, 31, 61, 0.08);
    overflow: hidden;
}

.sports-board-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sports-board-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.sports-board-th,
.sports-board-cell,
.sports-board-row-label {
    padding: 0.85rem 1rem;
    text-align: center;
    border: 1px solid rgba(10, 31, 61, 0.07);
}

.sports-board-th--label,
.sports-board-row-label {
    text-align: left;
    font-weight: 700;
    color: var(--gray-700);
    background: rgba(13, 202, 240, 0.06);
}

.sports-board-th {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-800);
    background: var(--house-tint);
}

.sports-board-house-dot {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    margin-right: 0.35rem;
    border-radius: 50%;
    background: var(--house-color);
    vertical-align: middle;
}

.sports-board-cell {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-800);
    background: var(--house-tint);
}

.sports-board-row-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.sports-medal {
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

.sports-medal--gold { background: linear-gradient(145deg, #ffe566, #d4a017); }
.sports-medal--silver { background: linear-gradient(145deg, #eef1f5, #9aa3ad); }
.sports-medal--bronze { background: linear-gradient(145deg, #e8a86a, #a0522d); }

.sports-board-row-total .sports-board-row-label--total {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sports-board-cell--total strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 1.1rem;
    color: var(--house-color);
    background: color-mix(in srgb, var(--house-color) 12%, white);
}

.sports-board-mobile {
    display: none;
    padding: 0.75rem;
    gap: 0.75rem;
}

.sports-mobile-carousel-viewport {
    overflow: hidden;
    border-radius: 1.1rem;
}

.sports-mobile-carousel-track {
    display: flex;
    align-items: stretch;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.sports-mobile-carousel-dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.65rem;
}

.sports-mobile-carousel-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.sports-mobile-carousel-dot.is-active {
    width: 1.35rem;
    background: var(--gold);
}

.sports-house-card {
    border-radius: 1.15rem;
    border: 1px solid color-mix(in srgb, var(--house-color) 22%, transparent);
    background: linear-gradient(145deg, var(--house-tint), var(--white));
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow-sm);
}

.sports-house-card-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.sports-house-card-head h3 {
    flex: 1;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--house-color);
}

.sports-house-champion {
    color: var(--house-color);
}

.sports-house-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin: 0;
}

.sports-house-stats div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.65rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.75);
}

.sports-house-stats dt {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-600);
}

.sports-house-stats dd {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
}

.sports-house-stats-total {
    grid-column: 1 / -1;
    border: 1px dashed color-mix(in srgb, var(--house-color) 35%, transparent);
}

.sports-house-stats-total dd {
    font-size: 1.25rem;
    color: var(--house-color);
}

@media (max-width: 991px) {
    .sports-podium {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sports-podium-item--rank-1 {
        grid-column: 1 / -1;
        order: 0;
    }

    .sports-podium-item--rank-2,
    .sports-podium-item--rank-3,
    .sports-podium-item--rank-4 {
        order: unset;
    }
}

@media (max-width: 767px) {
    .sports-score-tabs,
    .sports-score-tabs--triple {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.45rem;
        overflow: visible;
        scroll-snap-type: none;
        border-radius: 1.1rem;
        max-width: 100%;
        padding: 0.45rem;
    }

    .sports-score-tab {
        flex: unset;
        width: 100%;
        scroll-snap-align: unset;
        justify-content: flex-start;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.04);
    }

    .sports-score-tab.is-active {
        border-color: transparent;
    }

    .sports-football-finals {
        grid-template-columns: 1fr;
    }

    .sports-football-grid {
        grid-template-columns: 1fr;
    }

    .sports-football-awards-scroll {
        max-height: 8.5rem;
    }

    .sports-indoor-highlights {
        grid-template-columns: 1fr;
    }

    .sports-indoor-split {
        grid-template-columns: 1fr;
    }

    .sports-board-table-scroll {
        display: none;
    }

    .sports-board-mobile {
        display: block;
        padding: 0.75rem;
    }

    .sports-mobile-carousel-viewport {
        overflow: hidden;
        border-radius: 1.1rem;
        touch-action: pan-y;
    }

    .sports-mobile-carousel-dots {
        display: flex;
    }

    .sports-mobile-carousel-track > .sports-house-card,
    .sports-mobile-carousel-track > .sports-football-card {
        flex: 0 0 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .sports-indoor-mobile .sports-indoor-split {
        grid-template-columns: 1fr 1fr;
    }

    .sports-football-grid.sports-mobile-carousel {
        display: block;
        max-width: none;
    }

    .sports-football-grid.sports-mobile-carousel .sports-football-card {
        min-height: 0;
    }

    .sports-podium {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.35rem;
        align-items: stretch;
        margin-bottom: 0.85rem;
    }

    .sports-podium-item,
    .sports-podium-item--rank-1 {
        grid-column: auto;
        order: unset;
        padding: 0.55rem 0.2rem 0.65rem;
    }

    .sports-podium-item--rank-1 {
        padding-top: 0.55rem;
        padding-bottom: 0.65rem;
    }

    .sports-podium-rank {
        width: 1.4rem;
        height: 1.4rem;
        font-size: 0.62rem;
        margin-bottom: 0.2rem;
    }

    .sports-podium-house {
        font-size: 0.5rem;
        line-height: 1.15;
        letter-spacing: 0.02em;
    }

    .sports-podium-total {
        font-size: 0.92rem;
        margin-top: 0.08rem;
    }

    .sports-podium-label {
        font-size: 0.42rem;
        letter-spacing: 0.04em;
    }

    .sports-podium-crown {
        margin-top: 0.2rem;
        padding: 0.12rem 0.28rem;
        font-size: 0.38rem;
        gap: 0.12rem;
    }

    .sports-podium-crown .icon-sm {
        width: 0.55rem;
        height: 0.55rem;
    }
}

@media (min-width: 768px) {
    .sports-football-grid.sports-mobile-carousel {
        display: block;
        max-width: 980px;
    }

    .sports-football-grid.sports-mobile-carousel .sports-mobile-carousel-viewport {
        overflow: visible;
    }

    .sports-football-grid.sports-mobile-carousel .sports-mobile-carousel-track {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
        width: 100%;
        transform: none !important;
        transition: none;
    }

    .sports-football-grid.sports-mobile-carousel .sports-mobile-carousel-dots {
        display: none;
    }
}

@media (min-width: 992px) {
    .sports-football-grid.sports-mobile-carousel .sports-mobile-carousel-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .sports-mobile-carousel-track {
        transition: none;
    }
}

@media (max-width: 480px) {
    .sports-podium {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.3rem;
    }

    .sports-podium-item--rank-1 {
        grid-column: auto;
    }

    .sports-podium-house {
        font-size: 0.46rem;
    }

    .sports-podium-total {
        font-size: 0.85rem;
    }
}

/* ===== UPCOMING ACTIVITIES SIDEBAR (inside notices section) ===== */
.ua-sidebar-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.4rem 1.35rem 1.55rem;
    border-radius: var(--radius-2xl);
    background: linear-gradient(145deg, rgba(10, 31, 61, 0.96), rgba(18, 50, 92, 0.92));
    border: 1px solid rgba(13, 202, 240, 0.28);
    box-shadow: 0 20px 50px rgba(10, 31, 61, 0.25);
    overflow: hidden;
}

.ua-sidebar-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 193, 7, 0.14), transparent 42%),
        radial-gradient(circle at bottom left, rgba(13, 202, 240, 0.1), transparent 38%);
    pointer-events: none;
}

.ua-sidebar-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ua-sidebar-header-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 8px 20px rgba(13, 202, 240, 0.35);
    flex-shrink: 0;
}

.ua-sidebar-header-text {
    min-width: 0;
}

.ua-sidebar-header h3 {
    color: var(--white);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    margin-bottom: 0.15rem;
}

.ua-sidebar-header p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
}

.ua-scroll-viewport {
    position: relative;
    z-index: 1;
    height: 720px;
    overflow: hidden;
    mask-image: linear-gradient(180deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.ua-scroll-track {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    animation: none;
}

.ua-scroll-viewport.is-in-view .ua-scroll-track {
    animation: uaScrollUp 40s linear infinite;
}

.ua-scroll-viewport.is-paused .ua-scroll-track {
    animation-play-state: paused;
}

@keyframes uaScrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.ua-item {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: stretch;
}

.ua-item-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1.1rem;
}

.ua-item-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.22);
    flex-shrink: 0;
    z-index: 2;
}

.ua-item--today .ua-item-dot {
    background: #ff6b6b;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.25);
    animation: uaDotPulse 1.8s ease-out infinite;
}

.ua-item-line {
    flex: 1;
    width: 2px;
    margin-top: 0.35rem;
    background: linear-gradient(180deg, rgba(255, 193, 7, 0.55), rgba(13, 202, 240, 0.25));
    border-radius: var(--radius-full);
    min-height: 24px;
}

.ua-item:last-child .ua-item-line {
    opacity: 0;
}

@keyframes uaDotPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.45); }
    70% { box-shadow: 0 0 0 8px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

.ua-item-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 0.95rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.ua-item-card:hover {
    border-color: rgba(255, 193, 7, 0.45);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.ua-item--today .ua-item-card {
    background: linear-gradient(135deg, #fffdf5 0%, #fff8e1 100%);
    border-color: rgba(255, 193, 7, 0.55);
}

.ua-item-date {
    flex-shrink: 0;
    width: 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.35rem;
    border-radius: 0.85rem;
    background: linear-gradient(180deg, var(--navy), var(--navy-light));
    color: var(--white);
    box-shadow: 0 6px 16px rgba(10, 31, 61, 0.2);
}

.ua-item--today .ua-item-date {
    background: linear-gradient(160deg, #7a4e00 0%, #d9a406 70%, #ffc107 140%);
}

.ua-item--past .ua-item-date {
    background: linear-gradient(160deg, #334155 0%, #475569 100%);
}

.ua-item-month {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}

.ua-item--today .ua-item-month,
.ua-item--past .ua-item-month {
    color: rgba(255, 255, 255, 0.92);
}

.ua-item-day {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin: 0.08rem 0;
}

.ua-item-year {
    font-size: 0.62rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
}

.ua-item-body {
    min-width: 0;
    flex: 1;
}

.ua-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    margin-bottom: 0.3rem;
}

.ua-item-badge {
    display: inline-flex;
    padding: 0.16rem 0.55rem;
    border-radius: var(--radius-full);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ua-item-badge--soon {
    background: rgba(13, 202, 240, 0.14);
    color: #087990;
}

.ua-item-badge--today {
    background: rgba(255, 193, 7, 0.22);
    color: #7a4e00;
}

.ua-item-badge--past {
    background: var(--gray-100);
    color: var(--gray-600);
}

.ua-item-weekday {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--gray-500);
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.ua-item-weekday i {
    width: 13px;
    height: 13px;
    color: var(--primary);
}

.ua-item-title {
    margin: 0 0 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ua-item-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0.28rem 0.62rem;
    border-radius: var(--radius-full);
    background: rgba(255, 193, 7, 0.14);
    color: #7a4e00;
    font-size: 0.74rem;
    font-weight: 700;
}

.ua-item-meta i {
    width: 13px;
    height: 13px;
    color: var(--gold-dark);
}

.ua-item--past .ua-item-meta {
    background: var(--gray-100);
    color: var(--gray-600);
}

/* ===== HOME ECA CLUBS SECTION ===== */
.home-clubs {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 18%, rgba(13, 202, 240, 0.12), transparent 38%),
        radial-gradient(circle at 86% 78%, rgba(255, 193, 7, 0.14), transparent 34%),
        linear-gradient(180deg, #f0f9ff 0%, var(--white) 55%, #f8fafc 100%);
    color: var(--navy);
    padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.home-clubs-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.home-clubs-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    animation: homeClubsOrbFloat 12s ease-in-out infinite;
}

.home-clubs-orb--1 {
    width: 260px;
    height: 260px;
    top: -70px;
    left: 6%;
    background: rgba(13, 202, 240, 0.22);
}

.home-clubs-orb--2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 10%;
    background: rgba(255, 193, 7, 0.2);
    animation-delay: -4s;
}

.home-clubs-orb--3 {
    width: 140px;
    height: 140px;
    top: 42%;
    right: 32%;
    background: rgba(111, 66, 193, 0.12);
    animation-delay: -7s;
}

.home-clubs-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 31, 61, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 31, 61, 0.03) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 72%);
}

@keyframes homeClubsOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(18px, -22px) scale(1.08); }
}

.home-clubs-inner {
    position: relative;
    z-index: 1;
}

.home-clubs-header {
    margin-bottom: 2.25rem;
}

.home-clubs-cta {
    margin-top: 1.25rem;
}

.home-clubs-marquee {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.home-clubs-row {
    width: 100%;
}

.home-clubs-viewport {
    overflow: hidden;
    padding: 0.35rem 0;
}

.home-clubs-track {
    display: flex;
    gap: 0.85rem;
    width: max-content;
    animation: none;
}

.home-clubs-viewport.is-in-view .home-clubs-track {
    animation: homeClubsScrollForward 42s linear infinite;
}

.home-clubs-row--reverse .home-clubs-viewport.is-in-view .home-clubs-track {
    animation: homeClubsScrollReverse 48s linear infinite;
}

.home-clubs-viewport.is-paused .home-clubs-track {
    animation-play-state: paused;
}

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

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

.home-club-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.72rem 1.15rem 0.72rem 0.72rem;
    border-radius: var(--radius-full);
    background: var(--white);
    border: 1px solid rgba(10, 31, 61, 0.08);
    color: var(--navy);
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(10, 31, 61, 0.08);
}

.home-club-chip:hover {
    transform: translateY(-3px) scale(1.03);
    background: var(--white);
    border-color: color-mix(in srgb, var(--club-accent, var(--primary)) 45%, transparent);
    box-shadow:
        0 14px 32px rgba(10, 31, 61, 0.12),
        0 0 0 1px color-mix(in srgb, var(--club-accent, var(--primary)) 25%, transparent);
    color: var(--navy);
    text-decoration: none;
}

.home-club-chip-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--club-accent, var(--primary)), color-mix(in srgb, var(--club-accent, var(--navy)) 70%, #000));
    color: var(--gold);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--club-accent, var(--primary)) 35%, transparent);
    transition: transform 0.35s ease;
}

.home-club-chip:hover .home-club-chip-icon {
    transform: rotate(-8deg) scale(1.08);
}

.home-club-chip-icon i {
    width: 18px;
    height: 18px;
}

.home-club-chip-name {
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.01em;
    color: var(--navy);
}

@media (max-width: 575px) {
    .home-clubs-marquee {
        mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    }

    .home-club-chip {
        padding: 0.62rem 0.95rem 0.62rem 0.62rem;
    }

    .home-club-chip-name {
        font-size: 0.84rem;
    }
}

/* ===== TEACHER LIST — ECA CLUBS SECTION ===== */
.teacher-list-clubs {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 15%, rgba(13, 202, 240, 0.09), transparent 34%),
        radial-gradient(circle at 90% 85%, rgba(255, 193, 7, 0.1), transparent 30%),
        linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5rem);
}

.teacher-list-clubs-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.tlc-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
    animation: tlcOrbDrift 14s ease-in-out infinite;
}

.tlc-orb--1 {
    width: 260px;
    height: 260px;
    top: -70px;
    right: 10%;
    background: rgba(13, 202, 240, 0.25);
}

.tlc-orb--2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 8%;
    background: rgba(255, 193, 7, 0.22);
    animation-delay: -6s;
}

@keyframes tlcOrbDrift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-16px, 20px); }
}

.teacher-list-clubs-inner {
    position: relative;
    z-index: 1;
}

.teacher-list-clubs-header {
    margin-bottom: 2.5rem;
}

.teacher-list-clubs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
}

@media (max-width: 991px) {
    .teacher-list-clubs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .teacher-list-clubs-grid {
        grid-template-columns: 1fr;
    }
}

.tlc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.65rem 1.45rem;
    background: var(--white);
    border-radius: 1.25rem;
    border: 1px solid rgba(10, 31, 61, 0.08);
    box-shadow: 0 10px 28px rgba(10, 31, 61, 0.07);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.tlc-card-glow {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--club-accent, var(--primary)), var(--gold));
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.tlc-card::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: calc(1.25rem - 1px);
    background: var(--white);
    z-index: 0;
    transition: background 0.35s ease;
}

.tlc-card > *:not(.tlc-card-glow) {
    position: relative;
    z-index: 1;
}

.tlc-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--club-accent, var(--navy)), var(--gold));
    z-index: 2;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.tlc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 44px rgba(10, 31, 61, 0.14);
    border-color: color-mix(in srgb, var(--club-accent, var(--primary)) 30%, transparent);
    color: inherit;
    text-decoration: none;
}

.tlc-card:hover .tlc-card-glow {
    opacity: 0.12;
}

.tlc-card:hover::after {
    transform: scaleX(1);
}

.tlc-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--club-accent, var(--navy)), color-mix(in srgb, var(--club-accent, var(--navy)) 65%, #000));
    color: var(--gold);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--club-accent, var(--primary)) 35%, transparent);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.tlc-card:hover .tlc-card-icon {
    transform: rotate(-6deg) scale(1.08);
    animation: tlcIconPulse 1.2s ease-in-out infinite;
}

@keyframes tlcIconPulse {
    0%, 100% { box-shadow: 0 6px 18px color-mix(in srgb, var(--club-accent, var(--primary)) 35%, transparent); }
    50% { box-shadow: 0 8px 26px color-mix(in srgb, var(--club-accent, var(--primary)) 55%, transparent); }
}

.tlc-card-icon i {
    width: 24px;
    height: 24px;
}

.tlc-card-name {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    line-height: 1.35;
}

.tlc-card-room {
    font-size: 0.84rem;
    color: var(--gray-600);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.tlc-card-link {
    margin-top: auto;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.25s ease, color 0.25s ease;
}

.tlc-card:hover .tlc-card-link {
    gap: 0.55rem;
    color: color-mix(in srgb, var(--club-accent, var(--primary)) 80%, var(--navy));
}

.teacher-list-clubs-footer {
    margin-top: 2.5rem;
    text-align: center;
}

.teacher-list-clubs .animate-on-scroll.is-visible .tlc-card {
    animation: tlcCardReveal 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes tlcCardReveal {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== O/A LEVEL ACHIEVERS SECTION ===== */
.oa-achievers {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 193, 7, 0.14), transparent 38%),
        radial-gradient(circle at 82% 88%, rgba(13, 202, 240, 0.12), transparent 34%),
        linear-gradient(165deg, #061224 0%, var(--navy) 45%, #0f2847 100%);
    padding: clamp(2.5rem, 4.5vw, 3.75rem) 0;
    color: var(--white);
}

.oa-achievers-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.oa-achievers-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
    animation: oaAchieversOrb 14s ease-in-out infinite;
}

.oa-achievers-orb--1 {
    width: 260px;
    height: 260px;
    top: -70px;
    left: 6%;
    background: rgba(255, 193, 7, 0.28);
}

.oa-achievers-orb--2 {
    width: 220px;
    height: 220px;
    bottom: -60px;
    right: 8%;
    background: rgba(13, 202, 240, 0.22);
    animation-delay: -5s;
}

.oa-achievers-rays {
    position: absolute;
    inset: -20%;
    background: conic-gradient(from 210deg at 50% 50%, transparent 0deg, rgba(255, 193, 7, 0.04) 40deg, transparent 80deg, rgba(13, 202, 240, 0.04) 140deg, transparent 200deg);
    animation: oaRaysSpin 28s linear infinite;
    pointer-events: none;
}

@keyframes oaRaysSpin {
    to { transform: rotate(360deg); }
}

@keyframes oaAchieversOrb {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(14px, -18px); }
}

.oa-achievers-inner {
    position: relative;
    z-index: 1;
}

.oa-achievers-header {
    margin-bottom: 1.25rem;
}

.oa-year-rail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.oa-year-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    min-width: 108px;
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.oa-year-pill:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 193, 7, 0.45);
    background: rgba(255, 255, 255, 0.09);
}

.oa-year-pill.is-active {
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.22), rgba(255, 193, 7, 0.08));
    border-color: rgba(255, 193, 7, 0.55);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.oa-year-pill-num {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}

.oa-year-pill-meta {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.85;
}

.oa-year-pill-meta em {
    font-style: normal;
    color: var(--gold);
    font-weight: 800;
}

.oa-showcase-wrap {
    position: relative;
}

.oa-showcase-panel {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.oa-showcase-panel.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.oa-showcase-panel[hidden] {
    display: none;
}

.oa-carousel-wrap {
    width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.oa-carousel-viewport {
    overflow: hidden;
    padding: 0.35rem 0 0.65rem;
    cursor: grab;
}

.oa-carousel-viewport.is-dragging {
    cursor: grabbing;
}

.oa-carousel-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: none;
}

.oa-carousel-viewport.is-in-view .oa-carousel-track {
    animation: oaCarouselScroll 34s linear infinite;
}

.oa-carousel-viewport.is-paused .oa-carousel-track {
    animation-play-state: paused;
}

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

.oa-laurel-card {
    position: relative;
    flex-shrink: 0;
    width: min(82vw, 280px);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 1rem 0.95rem 0.95rem 0.85rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.oa-laurel-card-glow {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold), rgba(255, 193, 7, 0.2));
    opacity: 0.9;
}

.oa-laurel-card--country .oa-laurel-card-glow {
    background: linear-gradient(180deg, var(--primary), rgba(13, 202, 240, 0.2));
}

.oa-laurel-card--honor .oa-laurel-card-glow {
    background: linear-gradient(180deg, #a78bfa, rgba(167, 139, 250, 0.2));
}

.oa-laurel-card:hover {
    transform: translateY(-5px) scale(1.01);
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 193, 7, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.oa-laurel-card--country:hover {
    border-color: rgba(13, 202, 240, 0.4);
}

.oa-laurel-card--honor:hover {
    border-color: rgba(167, 139, 250, 0.45);
}

.oa-laurel-medal {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
    position: relative;
    z-index: 1;
}

.oa-laurel-medal::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255, 193, 7, 0.35);
    animation: oaMedalRing 2.8s ease-in-out infinite;
}

.oa-laurel-medal--world {
    background: linear-gradient(145deg, #ffd54f, #ffb300);
    color: var(--navy);
    box-shadow: 0 8px 22px rgba(255, 193, 7, 0.4);
}

.oa-laurel-medal--country {
    background: linear-gradient(145deg, #4dd4f5, #0dcaf0);
    color: var(--navy);
    box-shadow: 0 8px 22px rgba(13, 202, 240, 0.35);
}

.oa-laurel-medal--country::before {
    border-color: rgba(13, 202, 240, 0.4);
}

.oa-laurel-medal--honor {
    background: linear-gradient(145deg, #c4b5fd, #8b5cf6);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(139, 92, 246, 0.35);
}

.oa-laurel-medal--honor::before {
    border-color: rgba(167, 139, 250, 0.45);
}

@keyframes oaMedalRing {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.12); opacity: 0.35; }
}

.oa-laurel-medal i {
    width: 22px;
    height: 22px;
}

.oa-laurel-content {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.oa-laurel-top {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
}

.oa-laurel-level {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.oa-laurel-level--o-level { background: rgba(13, 202, 240, 0.2); }
.oa-laurel-level--a-level { background: rgba(255, 255, 255, 0.14); }
.oa-laurel-level--as-level { background: rgba(167, 139, 250, 0.22); }

.oa-laurel-tier {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
}

.oa-laurel-tier--world {
    background: rgba(255, 193, 7, 0.18);
    color: var(--gold);
}

.oa-laurel-tier--country {
    background: rgba(13, 202, 240, 0.18);
    color: #7ee8fc;
}

.oa-laurel-tier--honor {
    background: rgba(167, 139, 250, 0.2);
    color: #ddd6fe;
}

.oa-laurel-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.2rem;
    line-height: 1.3;
}

.oa-laurel-subject {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.62);
    margin: 0 0 0.45rem;
}

.oa-laurel-ribbon {
    display: block;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.35;
    padding: 0.35rem 0.6rem;
    border-radius: 0.55rem;
    background: rgba(255, 193, 7, 0.14);
    color: #ffe082;
    border: 1px solid rgba(255, 193, 7, 0.22);
}

.oa-laurel-ribbon--country {
    background: rgba(13, 202, 240, 0.12);
    color: #a5f3fc;
    border-color: rgba(13, 202, 240, 0.22);
}

.oa-laurel-ribbon--honor {
    background: rgba(167, 139, 250, 0.14);
    color: #e9d5ff;
    border-color: rgba(167, 139, 250, 0.25);
}

@media (max-width: 575px) {
    .oa-year-pill {
        min-width: 92px;
        padding: 0.62rem 0.95rem;
    }

    .oa-year-pill-num {
        font-size: 1.15rem;
    }

    .oa-laurel-card {
        width: min(88vw, 260px);
    }
}

/* ===== APPOINTMENT SECTION ===== */
.appointment-banner {
    display: block;
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
}

.appointment-banner:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.appointment-banner img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-slow);
}

.appointment-banner:hover img {
    transform: scale(1.02);
}

.appointment-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 202, 240, 0.1);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.appointment-banner:hover .appointment-overlay {
    opacity: 1;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background:
        radial-gradient(circle at 12% 18%, rgba(13, 202, 240, 0.18), transparent 34%),
        radial-gradient(circle at 88% 82%, rgba(255, 193, 7, 0.16), transparent 30%),
        linear-gradient(160deg, #061428 0%, #0a1f3d 48%, #0aa2c0 100%);
    padding: 5.5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stats-watermark {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(5rem, 18vw, 14rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.035);
    pointer-events: none;
    white-space: nowrap;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (min-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

.stats-box {
    text-align: center;
    padding: 2rem 1.4rem 1.7rem;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.35rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.stats-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
    background-size: 200% 100%;
    animation: statsAccentShift 5s linear infinite;
}

.stats-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.22);
}

.stats-icon {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.35rem;
    background: rgba(255, 193, 7, 0.14);
    border-radius: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.stats-icon i {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1;
}

.stats-icon-ring {
    position: absolute;
    inset: -7px;
    border-radius: 1.35rem;
    border: 1px dashed rgba(255, 193, 7, 0.45);
    animation: statsIconSpin 10s linear infinite;
}

.stats-box:hover .stats-icon {
    transform: scale(1.08) rotate(-4deg);
}

.stats-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.1rem;
    min-height: 3.2rem;
}

.stats-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    display: inline;
    line-height: 1;
}

@media (min-width: 768px) {
    .stats-number { font-size: 3.05rem; }
}

.stats-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stats-label {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--white);
    margin: 0.7rem 0 0.35rem;
}

.stats-desc {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.5;
    max-width: 16rem;
    margin: 0 auto;
}

.stats-bg-1,
.stats-bg-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.stats-bg-1 {
    top: 50%;
    left: -4rem;
    transform: translateY(-50%);
    width: 18rem;
    height: 18rem;
    background: rgba(255, 193, 7, 0.16);
    filter: blur(70px);
    animation: statsBlobDrift 12s ease-in-out infinite;
}

.stats-bg-2 {
    top: 50%;
    right: -3rem;
    transform: translateY(-50%);
    width: 14rem;
    height: 14rem;
    background: rgba(13, 202, 240, 0.18);
    filter: blur(60px);
    animation: statsBlobDrift 14s ease-in-out infinite reverse;
}

@keyframes statsAccentShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes statsIconSpin {
    to { transform: rotate(360deg); }
}

@keyframes statsBlobDrift {
    0%, 100% { transform: translateY(-50%) translate(0, 0); }
    50% { transform: translateY(-50%) translate(14px, -12px); }
}

/* ===== GOVERNING BODY SECTION ===== */
.governing {
    background:
        radial-gradient(circle at 10% 12%, rgba(13, 202, 240, 0.08), transparent 34%),
        radial-gradient(circle at 90% 88%, rgba(255, 193, 7, 0.08), transparent 30%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.governing-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(10, 31, 61, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 31, 61, 0.03) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: radial-gradient(ellipse at center, #000 25%, transparent 78%);
}

.governing .container {
    position: relative;
    z-index: 1;
}

.chairman-card {
    max-width: 44rem;
    margin: 0 auto 2.75rem;
    background: var(--white);
    border-radius: 1.5rem;
    padding: 2.25rem 2rem 2rem;
    box-shadow: 0 18px 42px rgba(10, 31, 61, 0.1);
    position: relative;
    border: 1px solid rgba(255, 193, 7, 0.22);
}

.chairman-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    border-radius: 1.5rem 1.5rem 0 0;
    background: linear-gradient(90deg, var(--navy), var(--gold), var(--primary));
}

.crown-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gold), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
    z-index: 2;
}

.crown-badge--dual {
    width: auto;
    min-width: 56px;
    padding: 0 0.55rem;
    gap: 0.2rem;
    border-radius: var(--radius-full);
}

.crown-badge i {
    width: 16px;
    height: 16px;
    color: var(--navy);
    fill: var(--navy);
}

.crown-badge--dual i {
    width: 14px;
    height: 14px;
}

.chairman-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .chairman-content {
        flex-direction: row;
        text-align: left;
        gap: 2rem;
    }
}

.chairman-image {
    position: relative;
    flex-shrink: 0;
    width: 148px;
    height: 148px;
}

.chairman-photo-ring {
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--gold), transparent 30%, var(--primary) 55%, transparent 78%, var(--gold));
    animation: chairmanRingSpin 10s linear infinite;
}

.chairman-photo-ring::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: var(--white);
}

.chairman-image img {
    position: relative;
    z-index: 1;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
    .chairman-image,
    .chairman-image img {
        width: 168px;
        height: 168px;
    }
}

.chairman-role {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: rgba(255, 193, 7, 0.18);
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius-full);
    margin-bottom: 0.65rem;
}

.chairman-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}

@media (min-width: 768px) {
    .chairman-name { font-size: 1.55rem; }
}

.chairman-designation {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 0.35rem;
}

.chairman-title {
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-top: 0.55rem;
}

.members-grid,
.members-carousel-wrap {
    width: 100%;
}

.members-carousel-viewport {
    overflow: hidden;
    padding: 0.5rem 0 1.25rem;
}

.members-carousel-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: none;
}

.members-carousel-viewport.is-in-view .members-carousel-track {
    animation: membersCarouselScroll 34s linear infinite;
}

.members-carousel-viewport.is-paused .members-carousel-track {
    animation-play-state: paused;
}

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

.members-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .members-carousel-viewport {
        overflow: visible;
        padding: 0;
        scroll-snap-type: none;
    }

    .members-carousel-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        width: 100%;
        animation: none !important;
        transform: none !important;
    }

    .members-carousel-track .member-card[aria-hidden="true"] {
        display: none;
    }

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

@media (min-width: 1024px) {
    .members-carousel-track,
    .members-grid { grid-template-columns: repeat(4, 1fr); }
}

.member-card {
    background: var(--white);
    border-radius: 1.15rem;
    padding: 1.4rem 1.1rem 1.25rem;
    text-align: center;
    box-shadow: 0 12px 28px rgba(10, 31, 61, 0.08);
    border: 1px solid rgba(13, 202, 240, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    flex-shrink: 0;
    width: min(82vw, 300px);
}

@media (min-width: 768px) {
    .member-card {
        width: 100%;
    }
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 36px rgba(10, 31, 61, 0.14);
}

.member-image img {
    width: 108px;
    height: 108px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 3px solid rgba(255, 193, 7, 0.45);
    transition: border-color var(--transition-fast), transform 0.35s ease;
    display: block;
}

.member-card:hover .member-image img {
    border-color: var(--gold);
    transform: scale(1.05);
}

.member-role {
    display: inline-block;
    padding: 0.18rem 0.65rem;
    background: rgba(13, 202, 240, 0.12);
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: var(--radius-full);
    margin-bottom: 0.55rem;
}

.member-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    transition: color var(--transition-fast);
}

.member-card:hover .member-name {
    color: var(--primary-dark);
}

.member-designation {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-top: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.governing-cta {
    margin-top: 2.25rem;
}

@keyframes chairmanRingSpin {
    to { transform: rotate(360deg); }
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: 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.05'%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;
}

.cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .cta-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.cta-text {
    max-width: 40rem;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0.5rem 0 1rem;
}

@media (min-width: 640px) {
    .cta-title { font-size: 1.875rem; }
}

@media (min-width: 1024px) {
    .cta-title { font-size: 2.25rem; }
}

.cta-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .cta-description { font-size: 1.125rem; }
}

.cta-bg-1,
.cta-bg-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cta-bg-1 {
    top: 0;
    right: 0;
    width: 16rem;
    height: 16rem;
    background: rgba(255, 193, 7, 0.2);
    filter: blur(60px);
}

.cta-bg-2 {
    bottom: 0;
    left: 0;
    width: 12rem;
    height: 12rem;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(40px);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background:
        radial-gradient(circle at 8% 15%, rgba(13, 202, 240, 0.07), transparent 32%),
        radial-gradient(circle at 92% 85%, rgba(255, 193, 7, 0.08), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.contact--page {
    padding-top: 0;
}

.contact-page-hero {
    position: relative;
    min-height: clamp(240px, 34vw, 360px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.contact-page-hero__media {
    position: absolute;
    inset: 0;
}

.contact-page-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 992px) {
    .contact-page-hero__media img.mobile {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .contact-page-hero__media img.desktop {
        display: none !important;
    }
}

.contact-page-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 31, 61, 0.72) 0%, rgba(10, 31, 61, 0.55) 45%, rgba(10, 31, 61, 0.82) 100%),
        radial-gradient(circle at 18% 20%, rgba(13, 202, 240, 0.18), transparent 42%),
        radial-gradient(circle at 82% 18%, rgba(255, 193, 7, 0.14), transparent 38%);
}

.contact-page-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: clamp(3.5rem, 8vw, 5rem) 1rem clamp(2.5rem, 5vw, 3.5rem);
}

.contact-page-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--white);
    margin: 0 0 0.75rem;
    line-height: 1.15;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.contact-page-hero__subtitle {
    max-width: 560px;
    margin: 0 auto 1rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.92rem, 1.6vw, 1.05rem);
    line-height: 1.65;
}

.contact-page-hero__breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-page-hero__breadcrumb ul li {
    display: inline;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.contact-page-hero__breadcrumb ul li a {
    color: var(--white);
    text-decoration: none;
}

.contact-page-hero__breadcrumb ul li a:hover {
    opacity: 0.8;
}

.contact-page-hero__breadcrumb ul li:after {
    content: "";
    margin: 0 6px 0 12px;
    background: var(--gold);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.contact-page-hero__breadcrumb ul li:last-child:after {
    content: unset;
    margin: 0;
}

.section-label--light {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

/* ===== Unified Page Hero (merged banner + content header) ===== */
.page-hero-unified {
    position: relative;
    z-index: 2;
    min-height: clamp(260px, 36vw, 380px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.page-hero-unified--compact {
    min-height: clamp(220px, 30vw, 320px);
}

.page-hero-unified__media {
    position: absolute;
    inset: 0;
}

.page-hero-unified__media--fallback {
    background:
        linear-gradient(135deg, rgba(10, 31, 61, 0.92) 0%, rgba(26, 58, 92, 0.82) 48%, rgba(10, 31, 61, 0.9) 100%),
        radial-gradient(circle at 20% 20%, rgba(255, 193, 7, 0.12), transparent 42%);
}

.page-hero-unified__media--banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero-unified .breadcrumbs-title {
    width: 100%;
    margin: 0 0 0.75rem;
    text-align: center;
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: clamp(1.75rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    text-transform: capitalize;
}

.page-hero-unified__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 31, 61, 0.62) 0%, rgba(10, 31, 61, 0.48) 55%, rgba(255, 255, 255, 0.94) 100%),
        radial-gradient(circle at 15% 22%, rgba(13, 202, 240, 0.14), transparent 42%),
        radial-gradient(circle at 85% 18%, rgba(255, 193, 7, 0.12), transparent 38%);
}

.page-hero-unified--dark .page-hero-unified__overlay {
    background:
        linear-gradient(180deg, rgba(6, 20, 40, 0.68) 0%, rgba(6, 20, 40, 0.52) 55%, rgba(6, 20, 40, 0.92) 100%),
        radial-gradient(circle at 18% 20%, rgba(13, 202, 240, 0.16), transparent 42%),
        radial-gradient(circle at 82% 18%, rgba(255, 193, 7, 0.12), transparent 38%);
}

.page-hero-unified__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: clamp(3.25rem, 7vw, 4.75rem) 1rem clamp(2rem, 4vw, 2.75rem);
}

.page-hero-unified--compact .page-hero-unified__content {
    padding: clamp(2.75rem, 6vw, 4rem) 1rem clamp(1.75rem, 3.5vw, 2.25rem);
}

.page-hero-unified__breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0.85rem 0 0;
}

.page-hero-unified__breadcrumb ul li {
    display: inline;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
}

.page-hero-unified__breadcrumb ul li a {
    color: var(--white);
    text-decoration: none;
}

.page-hero-unified__breadcrumb ul li a:hover {
    opacity: 0.8;
}

.page-hero-unified__breadcrumb ul li:after {
    content: "";
    margin: 0 6px 0 12px;
    background: var(--gold);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.page-hero-unified__breadcrumb ul li:last-child:after {
    content: unset;
    margin: 0;
}

.section--with-hero {
    padding-top: 0;
}

.section--with-hero > .sm-page-bg,
.section--with-hero > .ct-page-bg,
.section--with-hero > .prefect-page-bg,
.section--with-hero > .pg-page-bg,
.section--with-hero > .governing-bg,
.section--with-hero > .club-page-bg,
.section--with-hero > .notice-page-bg-decor,
.section--with-hero > .newsletter-page-bg-decor {
    z-index: 0;
}

.page-hero-unified .sm-hero,
.page-hero-unified .ct-hero,
.page-hero-unified .prefect-hero,
.page-hero-unified .pg-hero,
.page-hero-unified .section-header-center,
.page-hero-unified .club-hero {
    margin-bottom: 0;
}

.page-hero-unified .sm-hero-title,
.page-hero-unified .ct-hero-title,
.page-hero-unified .prefect-hero-title,
.page-hero-unified .pg-hero-title,
.page-hero-unified .section-title {
    color: var(--white);
    text-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}

.page-hero-unified .sm-hero-sub,
.page-hero-unified .ct-hero-sub,
.page-hero-unified .prefect-hero-sub,
.page-hero-unified .pg-hero-desc,
.page-hero-unified .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.page-hero-unified .sm-hero-badge,
.page-hero-unified .ct-hero-badge,
.page-hero-unified .prefect-hero-badge,
.page-hero-unified .pg-hero-badge,
.page-hero-unified .section-label:not(.light) {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.page-hero-unified .text-gradient {
    background: linear-gradient(135deg, #7ee8fc, #ffd966);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-unified .pg-hero-title span {
    color: var(--gold);
    -webkit-text-fill-color: var(--gold);
}

.page-hero-unified .sm-stat {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
    color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
}

.page-hero-unified .sm-stat--temp {
    background: rgba(255, 193, 7, 0.22);
    border-color: rgba(255, 193, 7, 0.38);
    color: #fff8e1;
}

.page-hero-unified .club-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    text-align: left;
}

/* ECA club hero card sits on the banner — use dark text on the white panel */
.page-hero-unified .club-hero {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 42px rgba(10, 31, 61, 0.2);
    padding: clamp(1.15rem, 3vw, 2rem);
    border-radius: 1.35rem;
    backdrop-filter: blur(10px);
}

.page-hero-unified .club-hero-title {
    color: var(--navy) !important;
    text-shadow: none !important;
}

.page-hero-unified .club-hero-icon {
    background: linear-gradient(135deg, var(--club-accent, var(--navy)), rgba(10, 31, 61, 0.82));
    border: none;
    color: var(--gold);
    backdrop-filter: none;
}

.page-hero-unified .club-room-card {
    background: #f1f5f9;
    border: 1px solid rgba(10, 31, 61, 0.08);
    color: var(--navy);
}

.page-hero-unified .club-room-label {
    color: var(--gray-600);
}

.page-hero-unified .club-room-card strong {
    color: var(--navy);
}

.page-hero-unified .club-room-card i {
    color: var(--club-accent, var(--primary));
}

.page-hero-unified .section-subtitle-light {
    color: rgba(255, 255, 255, 0.88);
}

.page-hero-unified .section-title .text-gold,
.page-hero-unified .section-title-light .text-gold {
    color: var(--gold);
    -webkit-text-fill-color: var(--gold);
}

.contact-map-section {
    margin-top: 2rem;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(13, 202, 240, 0.12);
    border-radius: var(--radius-2xl);
    box-shadow: 0 14px 40px rgba(10, 31, 61, 0.08);
}

.contact-map-section__head {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-map-section__head h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    color: var(--navy);
    margin: 0.35rem 0 0.45rem;
}

.contact-map-section__head p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.92rem;
}

.map-container--full {
    height: clamp(240px, 42vw, 420px);
}

.contact-teacher-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
    margin-top: 2rem;
    padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.25rem, 3vw, 2rem);
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 193, 7, 0.22);
    box-shadow: 0 14px 36px rgba(10, 31, 61, 0.18);
}

.contact-teacher-cta__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 193, 7, 0.15);
    color: var(--gold);
    flex-shrink: 0;
}

.contact-teacher-cta__icon i {
    width: 24px;
    height: 24px;
}

.contact-teacher-cta__text {
    flex: 1 1 220px;
}

.contact-teacher-cta__text h3 {
    margin: 0 0 0.25rem;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.contact-teacher-cta__text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    line-height: 1.55;
}

.contact-teacher-cta__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.contact-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(10, 31, 61, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 31, 61, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 78%);
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-header {
    margin-bottom: 1.75rem;
}

.contact-subtitle {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.contact-quick-bar {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.contact-quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.65rem 0.4rem;
    background: var(--white);
    border: 1px solid rgba(13, 202, 240, 0.18);
    border-radius: var(--radius-lg);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(10, 31, 61, 0.06);
    transition: all var(--transition-fast);
}

.contact-quick-item i {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.contact-quick-item:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.contact-quick-item:hover i {
    color: var(--gold);
}

.contact-hours-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.25rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 193, 7, 0.22);
    box-shadow: 0 10px 30px rgba(10, 31, 61, 0.18);
}

.contact-hours-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 193, 7, 0.15);
    color: var(--gold);
    flex-shrink: 0;
}

.contact-hours-icon i {
    width: 22px;
    height: 22px;
}

.contact-hours-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.contact-hours-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.contact-hours-text strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.35;
}

.contact-hours-note {
    flex: 1 1 100%;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
}

@media (min-width: 768px) {
    .contact-hours-banner {
        padding: 1.15rem 1.5rem;
        margin-bottom: 1.75rem;
    }

    .contact-hours-note {
        flex: 1 1 auto;
        margin-left: auto;
        text-align: right;
        max-width: 280px;
    }

    .contact-hours-text strong {
        font-size: 1.1rem;
    }
}

.contact-departments {
    margin-bottom: 1.75rem;
}

#contactDepartments,
#contactMap {
    scroll-margin-top: 1.25rem;
}

@media (min-width: 768px) {
    #contactDepartments,
    #contactMap {
        scroll-margin-top: 1.75rem;
    }
}

.contact-departments .contact-hours-banner {
    margin-top: 1.25rem;
    margin-bottom: 0;
}

.contact-departments-head {
    text-align: center;
    margin-bottom: 1.25rem;
}

.contact-departments-head h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.contact-departments-head p {
    font-size: 0.88rem;
    color: var(--gray-500);
}

.contact-departments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

@media (min-width: 768px) {
    .contact-departments-grid {
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .contact-departments-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.dept-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.15rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(13, 202, 240, 0.12);
    box-shadow: 0 8px 24px rgba(10, 31, 61, 0.07);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.dept-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--dept-accent, var(--primary));
}

.dept-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(10, 31, 61, 0.12);
    border-color: rgba(13, 202, 240, 0.25);
}

.dept-card--cyan { --dept-accent: var(--primary); }
.dept-card--gold { --dept-accent: var(--accent); }
.dept-card--navy { --dept-accent: var(--navy); }
.dept-card--green { --dept-accent: #22c55e; }

.dept-card-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dept-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(13, 202, 240, 0.1);
    color: var(--primary);
}

.dept-card--gold .dept-icon {
    background: rgba(255, 193, 7, 0.15);
    color: var(--accent-dark);
}

.dept-card--navy .dept-icon {
    background: rgba(10, 31, 61, 0.1);
    color: var(--navy);
}

.dept-card--green .dept-icon {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

.dept-icon i {
    width: 20px;
    height: 20px;
}

.dept-card-top h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}

.dept-phones {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dept-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    color: var(--navy);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    word-break: break-all;
}

.dept-phone i {
    width: 15px;
    height: 15px;
    color: var(--primary);
    flex-shrink: 0;
}

.dept-card--gold .dept-phone i { color: var(--accent-dark); }
.dept-card--navy .dept-phone i { color: var(--navy); }
.dept-card--green .dept-phone i { color: #16a34a; }

.dept-phone:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    transform: translateX(3px);
}

.dept-phone:hover i {
    color: var(--gold);
}

.contact-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.15fr;
        gap: 2rem;
        align-items: start;
    }
}

.contact-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .contact-info-cards {
        gap: 1rem;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    gap: 0.75rem;
    padding: 0.9rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(13, 202, 240, 0.12);
    box-shadow: 0 6px 20px rgba(10, 31, 61, 0.06);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

@media (min-width: 768px) {
    .info-card {
        padding: 1.15rem;
        gap: 1rem;
    }
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(10, 31, 61, 0.1);
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .info-icon {
        width: 48px;
        height: 48px;
    }
}

.info-icon i {
    width: 20px;
    height: 20px;
}

.info-icon--location { background: rgba(13, 202, 240, 0.12); color: var(--primary); }
.info-icon--phone { background: rgba(40, 167, 69, 0.12); color: #28a745; }
.info-icon--email { background: rgba(255, 193, 7, 0.15); color: var(--accent-dark); }
.info-icon--hours { background: rgba(10, 31, 61, 0.08); color: var(--navy); }

.info-content {
    min-width: 0;
}

.info-content h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

@media (min-width: 768px) {
    .info-content h4 {
        font-size: 0.88rem;
    }
}

.info-content p,
.info-content a {
    font-size: 0.75rem;
    color: var(--gray-600);
    line-height: 1.45;
    word-break: break-word;
}

@media (min-width: 768px) {
    .info-content p,
    .info-content a {
        font-size: 0.875rem;
    }
}

.info-content a:hover {
    color: var(--primary);
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 160px;
    border: 1px solid rgba(13, 202, 240, 0.12);
    box-shadow: 0 8px 24px rgba(10, 31, 61, 0.08);
}

@media (min-width: 768px) {
    .map-container {
        height: 200px;
    }
}

@media (min-width: 1024px) {
    .map-container {
        height: 220px;
        flex: 1;
    }
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 1.25rem;
    box-shadow: 0 14px 40px rgba(10, 31, 61, 0.1);
    border: 1px solid rgba(13, 202, 240, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--primary), var(--gold));
}

@media (min-width: 768px) {
    .contact-form-wrapper {
        padding: 2rem;
    }
}

.contact-form-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.contact-form-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--navy), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-form-icon i {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.contact-form-wrapper h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.15rem;
}

.contact-form-head p {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin: 0;
}

@media (min-width: 768px) {
    .contact-form-wrapper h3 {
        font-size: 1.25rem;
    }

    .contact-form-head p {
        font-size: 0.85rem;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

@media (min-width: 768px) {
    .contact-form {
        gap: 1.1rem;
    }
}

.form-row {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 768px) {
    .form-row { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-700);
}

@media (min-width: 768px) {
    .form-group label {
        font-size: 0.875rem;
    }
}

.form-group .req {
    color: #e53935;
    font-weight: 700;
}

.field-error {
    font-size: 0.72rem;
    color: #e53935;
}

.form-group input,
.form-group textarea {
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    color: var(--gray-900);
    font-size: 0.875rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

@media (min-width: 768px) {
    .form-group input,
    .form-group textarea {
        padding: 0.75rem 1rem;
    }
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(13, 202, 240, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

@media (min-width: 768px) {
    .form-group textarea {
        min-height: 110px;
    }
}

.form-group-captcha {
    transform: scale(0.92);
    transform-origin: left top;
    margin-bottom: -0.25rem;
}

@media (min-width: 768px) {
    .form-group-captcha {
        transform: none;
        margin-bottom: 0;
    }
}

.contact-submit-btn {
    margin-top: 0.25rem;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
    box-shadow: 0 6px 20px rgba(13, 202, 240, 0.25);
}

@media (max-width: 767px) {
    .contact.section {
        padding: 2.5rem 0;
    }

    .contact--page.section {
        padding-top: 0;
    }

    .contact-page-hero {
        min-height: 220px;
        margin-bottom: 1.5rem;
    }

    .contact-teacher-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .contact-teacher-cta__icon {
        margin: 0 auto;
    }

    .contact-teacher-cta__btn {
        width: 100%;
        justify-content: center;
    }

    .contact-header {
        margin-bottom: 1.1rem;
    }

    .contact-header .section-title {
        font-size: 1.55rem;
    }

    .contact-header .section-subtitle {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .contact-quick-bar {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-departments {
        margin-bottom: 1.25rem;
    }

    .contact-departments-head h3 {
        font-size: 1.25rem;
    }

    .contact-departments .contact-hours-banner {
        margin-top: 1rem;
    }

    .dept-card {
        gap: 0.65rem;
        padding: 0.85rem 0.65rem;
    }

    .dept-card-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.45rem;
    }

    .dept-icon {
        width: 36px;
        height: 36px;
    }

    .dept-icon i {
        width: 17px;
        height: 17px;
    }

    .dept-card-top h4 {
        font-size: 0.72rem;
        line-height: 1.25;
    }

    .dept-phone {
        justify-content: center;
        padding: 0.45rem 0.35rem;
        font-size: 0.68rem;
        gap: 0.3rem;
    }

    .dept-phone i {
        width: 13px;
        height: 13px;
    }

    .dept-phone span {
        font-size: 0.68rem;
    }

    .contact-grid {
        gap: 1.1rem;
    }

    .contact-side {
        order: 2;
    }

    .contact-form-wrapper {
        order: 1;
    }

    .map-container {
        height: 140px;
    }
}


/* ===== VISITOR STATS SECTION ===== */
.visitor-stats {
    background:
        radial-gradient(circle at 8% 20%, rgba(13, 202, 240, 0.1), transparent 32%),
        radial-gradient(circle at 92% 80%, rgba(255, 193, 7, 0.12), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #eef6fb 100%);
    position: relative;
    overflow: hidden;
    padding-top: 4.5rem;
    padding-bottom: 4.75rem;
}

.visitor-stats-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(10, 31, 61, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 31, 61, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}

.visitor-stats-glow {
    position: absolute;
    left: 50%;
    bottom: -120px;
    transform: translateX(-50%);
    width: min(90vw, 680px);
    height: 220px;
    background: radial-gradient(circle, rgba(13, 202, 240, 0.18), transparent 68%);
    pointer-events: none;
}

.visitor-stats .container {
    position: relative;
    z-index: 1;
}

.visitor-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
}

@media (min-width: 1024px) {
    .visitor-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.35rem;
    }
}

.visitor-stat-card {
    position: relative;
    text-align: center;
    padding: 1.65rem 1.1rem 1.45rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(13, 202, 240, 0.12);
    border-radius: 1.25rem;
    box-shadow: 0 14px 34px rgba(10, 31, 61, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
}

.visitor-stat-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), rgba(13, 202, 240, 0.35));
}

.visitor-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 40px rgba(10, 31, 61, 0.12);
    border-color: rgba(13, 202, 240, 0.28);
}

.visitor-stat-icon {
    position: relative;
    width: 62px;
    height: 62px;
    margin: 0 auto 1rem;
    border-radius: 1rem;
    background: rgba(13, 202, 240, 0.1);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.visitor-stat-icon i {
    width: 26px;
    height: 26px;
    position: relative;
    z-index: 1;
}

.visitor-stat-ring {
    position: absolute;
    inset: -6px;
    border-radius: 1.2rem;
    border: 1px dashed rgba(13, 202, 240, 0.35);
    animation: visitorRingSpin 12s linear infinite;
}

.visitor-stat-value {
    min-height: 2.8rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.visitor-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.visitor-stat-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 0.45rem;
}

.visitor-stat-label-short {
    display: none;
}

@media (max-width: 640px) {
    .visitor-stat-label-long {
        display: none;
    }

    .visitor-stat-label-short {
        display: inline;
    }
}

.visitor-stat-desc {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.visitor-stat-card--total {
    grid-column: 1 / -1;
    padding: 2rem 1.35rem 1.65rem;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.22), transparent 42%),
        linear-gradient(145deg, #0a1f3d 0%, #0d2847 52%, #0aa2c0 100%);
    border: 1px solid rgba(255, 193, 7, 0.45);
    box-shadow: 0 24px 48px rgba(10, 31, 61, 0.22);
}

.visitor-stat-card--total::before {
    height: 4px;
    background: linear-gradient(90deg, var(--gold), #fff3b0, var(--gold));
    background-size: 200% 100%;
    animation: statsAccentShift 5s linear infinite;
}

.visitor-stat-card--total:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 54px rgba(10, 31, 61, 0.28);
}

.visitor-stat-total-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.72rem;
    border-radius: var(--radius-full);
    background: rgba(255, 193, 7, 0.18);
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.visitor-stat-total-badge i {
    width: 13px;
    height: 13px;
}

.visitor-stat-icon--total {
    background: rgba(255, 193, 7, 0.16);
    color: var(--gold);
}

.visitor-stat-icon--total .visitor-stat-ring {
    border-color: rgba(255, 193, 7, 0.45);
}

.visitor-stat-number--total {
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    color: var(--white);
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.visitor-stat-label--total {
    color: var(--white);
    font-size: 1.05rem;
}

.visitor-stat-card--total .visitor-stat-desc {
    color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 1024px) {
    .visitor-stat-card--total {
        grid-column: auto;
    }
}

@keyframes visitorRingSpin {
    to { transform: rotate(360deg); }
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 0%, rgba(13, 202, 240, 0.14), transparent 34%),
        radial-gradient(circle at 88% 100%, rgba(255, 193, 7, 0.1), transparent 30%),
        linear-gradient(165deg, var(--navy-dark) 0%, var(--navy) 45%, var(--navy-light) 100%);
    color: var(--white);
}

.footer-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.footer-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
}

.footer-glow-1 {
    width: 280px;
    height: 280px;
    top: -80px;
    right: 8%;
    background: rgba(13, 202, 240, 0.22);
}

.footer-glow-2 {
    width: 220px;
    height: 220px;
    bottom: 10%;
    left: -40px;
    background: rgba(255, 193, 7, 0.16);
}

.footer-watermark {
    position: absolute;
    right: -1rem;
    bottom: 2rem;
    font-family: var(--font-heading);
    font-size: clamp(5rem, 18vw, 12rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.025);
    white-space: nowrap;
}

.footer-main {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    padding: 3.25rem 0 2.75rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.35fr 0.9fr 0.95fr 1.15fr;
        gap: 2.5rem;
        padding: 4.25rem 0 3.25rem;
    }
}

.footer-col-brand {
    grid-column: 1 / -1;
}

@media (min-width: 1024px) {
    .footer-col-brand {
        grid-column: auto;
    }
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.15rem;
    position: relative;
    padding-bottom: 0.65rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    margin-bottom: 1.1rem;
}

.footer-logo-mark {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    padding: 0.45rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.footer-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo-text h3 {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin: 0.15rem 0;
}

.footer-logo-kicker {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-light);
}

.footer-logo-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.06em;
}

.footer-about {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: 1.1rem;
    max-width: 26rem;
}

.footer-motto {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.footer-motto span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.72rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-motto i {
    width: 13px;
    height: 13px;
    color: var(--accent);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
    background: linear-gradient(145deg, var(--accent), var(--accent-dark));
    border-color: transparent;
    color: var(--navy-dark);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-links li a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links li a i {
    width: 14px;
    height: 14px;
    color: var(--primary-light);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.footer-links li a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-links li a:hover i {
    color: var(--accent);
    transform: translateX(2px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 202, 240, 0.12);
    border: 1px solid rgba(13, 202, 240, 0.22);
    color: var(--primary-light);
}

.footer-contact-icon i {
    width: 16px;
    height: 16px;
}

.footer-contact-item p,
.footer-contact-item a {
    font-size: 0.84rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    padding-top: 0.35rem;
}

.footer-contact-item a:hover {
    color: var(--accent);
}

.footer-actions {
    display: grid;
    gap: 0.65rem;
}

@media (min-width: 480px) and (max-width: 1023px) {
    .footer-col-contact {
        grid-column: 1 / -1;
    }

    .footer-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.footer-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.68rem 0.95rem;
    border-radius: 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.95), rgba(10, 162, 192, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(13, 202, 240, 0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-action-btn i {
    width: 16px;
    height: 16px;
}

.footer-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(13, 202, 240, 0.32);
    color: var(--white);
}

.footer-action-btn--gold {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 10px 24px rgba(255, 193, 7, 0.24);
}

.footer-action-btn--gold:hover {
    box-shadow: 0 14px 28px rgba(255, 193, 7, 0.34);
    color: var(--navy-dark);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(6, 20, 40, 0.45);
    backdrop-filter: blur(8px);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    padding: 1.15rem 0 1.35rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copy {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.68);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.68);
    transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

.footer-bottom-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-xl);
    transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

#lightboxImage.is-changing {
    opacity: 0;
    transform: scale(0.94);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-base);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent);
    color: var(--gray-900);
}

.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 1rem 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    border-radius: var(--radius-xl);
}

.lightbox-caption h3 {
    font-size: 1.25rem;
    color: var(--white);
}

.lightbox-caption p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transform: translateX(150%);
    transition: transform var(--transition-base);
}

.toast.active {
    transform: translateX(0);
}

.toast-icon {
    width: 24px;
    height: 24px;
    color: var(--success);
}

.toast-message {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 640px) {
    .hero {
        --hero-stats-h: 0px;
        --hero-max-h: none;
        aspect-ratio: 1593 / 845;
        max-height: none;
        min-height: 0;
    }

    .page-hero-unified,
    .page-hero-unified--compact {
        min-height: clamp(155px, 28vw, 180px);
    }

    .hero-content {
        padding-bottom: 0.55rem;
    }

    .hero-caption-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
    }

    .hero-title {
        width: 100%;
        font-size: clamp(0.74rem, 3.6vw, 0.88rem);
    }

    .slider-nav {
        width: 38px;
        height: 38px;
    }

    .slider-prev { left: 0.6rem; }
    .slider-next { right: 0.6rem; }

    .hero-stats {
        padding: 0.75rem 0;
    }
    
    .stats-row {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
}

/* ========================================
   BAFSK-STYLE HEADER & NOTICE UI
   ======================================== */

.semc-site-header {
    position: relative;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(6, 20, 40, 0.18);
    transition: box-shadow var(--transition-base);
}

.semc-site-header.is-scrolled {
    box-shadow: 0 12px 40px rgba(6, 20, 40, 0.28);
}

/* Top Bar */
.semc-top-bar {
    background: linear-gradient(90deg, var(--navy-dark), var(--navy));
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.semc-top-bar-inner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 58px;
    padding: 0.4rem 1.15rem;
    max-width: none;
    width: 100%;
    margin: 0;
}

.semc-top-contact {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    flex: 0 0 auto;
    max-width: none;
}

.semc-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.92);
    transition: color var(--transition-fast);
}

.semc-contact-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 220px;
}

.semc-contact-email span {
    display: inline;
    max-width: none;
}

.semc-contact-link:hover {
    color: var(--gold);
}

.semc-top-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex: 0 0 auto;
}

.semc-social-links {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.semc-social-links a,
.semc-social-link {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white) !important;
    font-size: 14px;
    line-height: 1;
    transition: all var(--transition-fast);
}

.semc-social-links a:hover,
.semc-social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-dark) !important;
    transform: translateY(-2px) scale(1.05);
}

.semc-social-links .fa {
    display: inline-block;
    line-height: 1;
}

.semc-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.7rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy-dark);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.35);
    transition: transform var(--transition-fast);
}

.semc-login-btn:hover {
    transform: translateY(-2px);
}

/* Top Notice Ticker */
.semc-top-ticker {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    width: 100%;
    max-width: none;
    min-height: 48px;
    padding: 0.28rem 0.4rem 0.28rem 0.22rem;
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.12), rgba(255, 255, 255, 0.06) 18%, rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 193, 7, 0.22);
    border-radius: var(--radius-full);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.semc-ticker-label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.38rem 0.7rem 0.38rem 0.55rem;
    background: linear-gradient(135deg, var(--gold), #ffda47);
    color: var(--navy-dark);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius-full);
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.35);
}

.semc-ticker-label-short {
    display: none;
}

.semc-ticker-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c62828;
    box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.55);
    animation: semcTickerPulse 1.6s ease-out infinite;
    flex-shrink: 0;
}

@keyframes semcTickerPulse {
    0% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(198, 40, 40, 0); }
    100% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0); }
}

.semc-ticker-viewport {
    flex: 1;
    overflow: hidden;
    min-width: 0;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.semc-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: semcTickerScroll 55s linear infinite;
}

.semc-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.2rem 2.75rem 0.2rem 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.96rem;
    white-space: nowrap;
    transition: color var(--transition-fast);
    position: relative;
    z-index: 1;
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto;
}

.semc-ticker-item::after {
    content: '';
    position: absolute;
    right: 1.15rem;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.7);
    transform: translateY(-50%);
}

.semc-ticker-item:hover {
    color: var(--gold);
}

.semc-badge-new {
    display: inline-flex;
    align-items: center;
    padding: 0.14rem 0.5rem;
    background: #e53935;
    color: var(--white);
    font-size: 0.64rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    letter-spacing: 0.04em;
}

.semc-ticker-date {
    display: inline-flex;
    padding: 0.16rem 0.58rem;
    background: rgba(255, 193, 7, 0.22);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 193, 7, 0.35);
}

.semc-ticker-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--gold);
    flex-shrink: 0;
}

.semc-ticker-title {
    font-family: var(--font-notice);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.semc-ticker-item,
.semc-ticker-date,
.semc-ticker-label {
    font-family: var(--font-notice);
}

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

/* Brand Bar */
.semc-brand-bar {
    background: var(--white);
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    overflow: visible;
}

.semc-brand-bar .container {
    display: flex;
    justify-content: center;
    max-width: 100%;
    width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.semc-brand-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0.65rem 0;
}

.semc-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
    align-self: center;
    position: relative;
    z-index: 2;
}

.semc-brand-logo-left {
    order: 1;
}

.semc-brand-logo-right {
    order: 3;
}

.semc-brand-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
}

.semc-logo-animate img {
    animation: semcLogoFloat 4.5s ease-in-out infinite;
}

.semc-logo-animate-delay img {
    animation-delay: 0.8s;
}

@keyframes semcLogoFloat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.04);
    }
}

.semc-brand-logo:hover img {
    animation-play-state: paused;
    transform: scale(1.08);
}

.semc-brand-center {
    order: 2;
    flex: 1 1 auto;
    text-align: center;
    min-width: 0;
    width: auto;
    overflow: hidden;
    container-type: inline-size;
    container-name: brand-center;
}

.semc-brand-title {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 3.3cqi, 2.05rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    margin: 0;
    width: 100%;
}

.semc-brand-title-short,
.semc-brand-title-mobile {
    display: none;
}

.semc-title-animate {
    display: block;
    width: 100%;
    max-width: 100%;
    color: var(--navy);
    text-shadow: 0 2px 10px rgba(10, 31, 61, 0.08);
}

.semc-title-accent {
    color: var(--navy);
    font-weight: 800;
}

.black-ops-one-regular {
    font-family: "Black Ops One", system-ui, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.semc-brand-subtitle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.2rem 0.35rem;
    margin-top: 0.15rem;
    margin-bottom: 0;
    font-size: 0.88rem;
    color: var(--gray-600);
}

.semc-brand-divider {
    color: var(--gold-dark);
    font-weight: 700;
}

/* Desktop: single-line full college name */
@media (min-width: 992px) {
    .semc-brand-inner .semc-nav-toggle {
        display: none;
    }

    .semc-brand-title {
        font-size: clamp(0.95rem, 3.3cqi, 2.05rem);
        white-space: nowrap;
        line-height: 1.1;
    }

    .semc-brand-title-full {
        display: inline;
    }

    .semc-brand-title-short,
    .semc-brand-title-mobile {
        display: none;
    }
}

@media (min-width: 1401px) {
    .semc-brand-title {
        font-size: clamp(1rem, 3.5cqi, 2.15rem);
    }
}

/* Navigation Bar */
.semc-nav-bar {
    background: linear-gradient(180deg, var(--navy-light), var(--navy));
    border-bottom: 2px solid rgba(255, 193, 7, 0.35);
}

.semc-nav-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    min-height: 52px;
    position: relative;
    flex-wrap: nowrap;
}

.semc-nav-scroll {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 193, 7, 0.45) transparent;
}

@media (min-width: 992px) {
    .semc-nav-scroll {
        overflow: visible;
    }

    .semc-nav-bar > .semc-nav-inner {
        overflow: visible;
    }

    .semc-nav-menu {
        flex-wrap: wrap;
        width: 100%;
        min-width: 0;
    }

    .semc-nav-menu .has-dropdown:hover > .semc-dropdown,
    .semc-nav-menu .has-dropdown.open > .semc-dropdown,
    .semc-nav-menu .semc-dropdown .has-dropdown:hover > .semc-dropdown,
    .semc-nav-menu .semc-dropdown .has-dropdown.open > .semc-dropdown {
        display: block;
    }
}

.semc-nav-scroll::-webkit-scrollbar {
    height: 4px;
}

.semc-nav-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.semc-nav-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 193, 7, 0.45);
    border-radius: 999px;
}

.semc-nav-menu {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.15rem;
    width: max-content;
    min-width: 100%;
}

.semc-nav-menu > li {
    position: relative;
}

.semc-nav-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.85rem 0.9rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.84rem;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all var(--transition-fast);
}

.semc-nav-menu > li > a:hover,
.semc-nav-menu > li > a.active {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.06);
    border-bottom-color: var(--gold);
}

.semc-nav-arrow {
    opacity: 0.75;
}

.semc-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    display: none;
    background: var(--white);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0.45rem 0;
    z-index: 1300;
}

.semc-dropdown > li {
    position: relative;
}

.semc-dropdown a {
    display: block;
    padding: 0.65rem 1rem;
    color: var(--gray-700);
    font-size: 0.84rem;
    transition: all var(--transition-fast);
}

.semc-dropdown a:hover {
    background: var(--gray-100);
    color: var(--navy);
    padding-left: 1.15rem;
}

.semc-dropdown .semc-dropdown {
    top: 0;
    left: 100%;
    border-radius: var(--radius-lg);
}

.semc-nav-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-left: auto;
}

.semc-allmenus-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.76rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
}

.semc-allmenus-btn--desktop {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 193, 7, 0.12) 100%);
    border-color: rgba(255, 193, 7, 0.35);
    padding: 0.48rem 0.95rem;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
}

.semc-allmenus-btn:hover,
.semc-allmenus-btn[aria-expanded="true"] {
    background: rgba(255, 193, 7, 0.16);
    border-color: rgba(255, 193, 7, 0.45);
    color: var(--gold);
}

.semc-allmenus-chevron {
    opacity: 0.75;
    transition: transform var(--transition-fast);
}

.semc-allmenus-btn[aria-expanded="true"] .semc-allmenus-chevron {
    transform: rotate(180deg);
}

.semc-allmenus-btn--mobile {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 38px;
    height: 38px;
    padding: 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border: 1px solid rgba(255, 193, 7, 0.42);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 14px rgba(6, 20, 40, 0.18);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.semc-allmenus-btn--mobile:hover,
.semc-allmenus-btn--mobile[aria-expanded="true"] {
    background: linear-gradient(135deg, var(--navy-light) 0%, #1a4478 100%);
    border-color: rgba(255, 193, 7, 0.65);
    color: var(--gold);
    box-shadow: 0 6px 18px rgba(6, 20, 40, 0.24);
}

/* All Menus Popup */
.semc-allmenus-overlay {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 5.5rem 1rem 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.semc-allmenus-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.semc-allmenus-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 18, 36, 0.62);
    backdrop-filter: blur(4px);
}

.semc-allmenus-modal {
    position: relative;
    width: min(1180px, calc(100vw - 2rem));
    max-height: min(84vh, 760px);
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 60px rgba(10, 31, 61, 0.28);
    overflow: hidden;
    transform: translateY(16px) scale(0.98);
    transition: transform var(--transition-base);
}

.semc-allmenus-overlay.is-open .semc-allmenus-modal {
    transform: translateY(0) scale(1);
}

.semc-allmenus-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-bottom: 2px solid rgba(255, 193, 7, 0.35);
}

.semc-allmenus-kicker {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 193, 7, 0.85);
    margin-bottom: 0.15rem;
}

.semc-allmenus-title {
    margin: 0;
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.semc-allmenus-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.semc-allmenus-close:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.45);
    color: var(--gold);
}

.semc-allmenus-body {
    overflow-y: auto;
    padding: 0.85rem;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.semc-allmenus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 0.55rem;
    align-items: start;
}

.semc-allmenus-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    height: auto;
}

.semc-allmenus-card:not(:has(.semc-allmenus-sublist)) {
    align-self: start;
}

.semc-allmenus-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 193, 7, 0.35);
}

.semc-allmenus-card-head:hover {
    color: var(--navy-dark);
    background: rgba(255, 193, 7, 0.08);
}

.semc-allmenus-card-arrow {
    opacity: 0.45;
    flex-shrink: 0;
    margin-top: 0.15rem;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.semc-allmenus-card-head:hover .semc-allmenus-card-arrow {
    opacity: 1;
    transform: translate(1px, -1px);
}

.semc-allmenus-sublist > li > a:hover {
    background: var(--gray-100);
    color: var(--navy);
    padding-left: 0.58rem;
}

.semc-allmenus-nested a:hover {
    color: var(--navy);
    background: var(--gray-50);
}

.semc-allmenus-card-head {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.55rem 0.62rem;
    background: linear-gradient(180deg, rgba(10, 31, 61, 0.04) 0%, transparent 100%);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 700;
    border-bottom: 1px solid var(--gray-100);
    transition: all var(--transition-fast);
    min-height: 0;
}

.semc-allmenus-card:not(:has(.semc-allmenus-sublist)) .semc-allmenus-card-head {
    border-bottom: none;
}

.semc-allmenus-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(10, 31, 61, 0.08);
    color: var(--navy);
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.semc-allmenus-card-title {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.25;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.semc-allmenus-sublist {
    list-style: none;
    margin: 0;
    padding: 0.28rem 0.4rem 0.42rem;
}

.semc-allmenus-sublist > li > a {
    display: block;
    padding: 0.28rem 0.42rem;
    border-radius: var(--radius-sm);
    color: var(--gray-700);
    font-size: 0.74rem;
    font-weight: 500;
    line-height: 1.25;
    transition: all var(--transition-fast);
}

.semc-allmenus-nested {
    list-style: none;
    margin: 0.1rem 0 0.22rem;
    padding: 0 0 0 0.65rem;
    border-left: 2px solid rgba(255, 193, 7, 0.35);
}

.semc-allmenus-nested a {
    display: block;
    padding: 0.22rem 0.35rem;
    color: var(--gray-600);
    font-size: 0.7rem;
    line-height: 1.2;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

@media (min-width: 992px) {
    .semc-allmenus-overlay {
        padding: 4.75rem 1rem 1rem;
    }

    .semc-allmenus-body {
        padding: 0.75rem 0.85rem 0.9rem;
    }

    .semc-allmenus-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .semc-allmenus-header {
        padding: 0.85rem 1rem;
    }

    .semc-allmenus-title {
        font-size: 1.15rem;
    }
}

body.allmenus-open {
    overflow: hidden;
}

body.allmenus-open .semc-mobile-dock {
    z-index: 1500;
}

@media (max-width: 991px) {
    .semc-allmenus-overlay {
        z-index: 1700;
        padding: 4.25rem 0.65rem calc(6.5rem + env(safe-area-inset-bottom, 0px));
        align-items: flex-start;
    }

    .semc-allmenus-modal {
        width: min(100%, calc(100vw - 1.25rem));
        max-height: min(calc(100dvh - 7.5rem - env(safe-area-inset-bottom, 0px)), 680px);
        margin-bottom: 0.25rem;
    }

    .semc-allmenus-body {
        padding-bottom: 0.5rem;
    }
}

.semc-allmenus-eca-panel {
    margin-top: 1rem;
    padding: 1rem 1.05rem 1.1rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(10, 31, 61, 0.05) 0%, rgba(255, 193, 7, 0.1) 100%);
    border: 1px solid rgba(255, 193, 7, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.semc-allmenus-eca-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.semc-allmenus-eca-kicker {
    display: block;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(10, 31, 61, 0.55);
    margin-bottom: 0.12rem;
}

.semc-allmenus-eca-title {
    margin: 0;
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 1.05rem;
    color: var(--navy);
    line-height: 1.2;
}

.semc-allmenus-eca-desc {
    margin: 0.2rem 0 0;
    font-size: 0.72rem;
    color: var(--gray-600);
}

.semc-allmenus-eca-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-full);
    background: var(--navy);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    transition: all var(--transition-fast);
}

.semc-allmenus-eca-all-link:hover {
    background: var(--navy-light);
    color: var(--gold);
}

.semc-allmenus-eca-chips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 0.45rem;
}

.semc-allmenus-eca-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2.15rem;
    padding: 0.42rem 0.72rem;
    border-radius: var(--radius-full);
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    transition: all var(--transition-fast);
    box-shadow: 0 1px 2px rgba(10, 31, 61, 0.06);
}

.semc-allmenus-eca-chip-icon {
    color: var(--gold);
    flex-shrink: 0;
}

.semc-allmenus-eca-chip:hover {
    border-color: rgba(255, 193, 7, 0.55);
    background: rgba(255, 193, 7, 0.12);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.semc-allmenus-eca-chip span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.semc-nav-toggle {
    display: none;
    order: 4;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0.55rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
}

.semc-nav-toggle span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.semc-nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.semc-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.semc-nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Notice Showcase Section */
.notices-showcase {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
}

.notices-showcase.section {
    padding-top: 2.5rem;
}

.notices-container {
    max-width: 1320px;
}

.notice-activities-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    gap: 1.5rem;
    align-items: stretch;
}

.notices-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(13, 202, 240, 0.08), transparent 35%),
        radial-gradient(circle at 90% 80%, rgba(255, 193, 7, 0.1), transparent 30%);
    pointer-events: none;
}

.notice-feed-panel {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 1.4rem 1.65rem 1.55rem;
    border-radius: var(--radius-2xl);
    background: linear-gradient(145deg, rgba(10, 31, 61, 0.96), rgba(18, 50, 92, 0.92));
    border: 1px solid rgba(255, 193, 7, 0.25);
    box-shadow: 0 20px 50px rgba(10, 31, 61, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.notice-feed-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 193, 7, 0.12), transparent 45%);
    pointer-events: none;
}

.notice-feed-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notice-feed-header-text {
    min-width: 0;
    flex: 1;
}

.notice-feed-header-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #ffda47);
    color: var(--navy-dark);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.35);
    flex-shrink: 0;
}

.notice-feed-header h3 {
    color: var(--white);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-feed-header p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
}

.notice-feed-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
    padding: 0.58rem 1.15rem;
    background: linear-gradient(135deg, var(--gold), #ffda47);
    color: var(--navy-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.32);
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.notice-feed-all-btn:hover {
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(255, 193, 7, 0.45);
}

.notice-feed-viewport {
    position: relative;
    z-index: 1;
    height: 720px;
    overflow: hidden;
    mask-image: linear-gradient(180deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.notice-feed-track {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    animation: none;
}

.notice-feed-viewport.is-in-view .notice-feed-track {
    animation: noticeFeedScrollUp 40s linear infinite;
}

.notice-feed-viewport.is-paused .notice-feed-track {
    animation-play-state: paused;
}

@keyframes noticeFeedScrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.notice-feed-item {
    display: grid;
    grid-template-columns: 72px 42px 1fr 42px;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1rem;
    position: relative;
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.notice-feed-item:hover {
    transform: translateX(6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.notice-feed-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.45rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--navy), var(--navy-light));
    color: var(--white);
    text-align: center;
    min-height: 58px;
}

.notice-feed-day {
    font-family: var(--font-notice);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    color: var(--gold);
}

.notice-feed-month {
    font-family: var(--font-notice);
    margin-top: 0.2rem;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.92;
}

.notice-feed-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(13, 202, 240, 0.12);
    color: var(--primary-dark);
    border: 1px solid rgba(13, 202, 240, 0.25);
}

.notice-feed-content {
    min-width: 0;
}

.notice-feed-badge {
    display: inline-flex;
    margin-bottom: 0.3rem;
    padding: 0.12rem 0.5rem;
    background: rgba(229, 57, 53, 0.12);
    color: #c62828;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.notice-feed-title {
    font-family: var(--font-notice);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--navy);
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-feed-text {
    font-family: var(--font-notice);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--gray-500);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-feed-action {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.15);
    color: var(--gold-dark);
    border: 1px solid rgba(255, 193, 7, 0.35);
    transition: all var(--transition-fast);
}

.notice-feed-action::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
}

.notice-feed-action:hover {
    background: var(--gold);
    color: var(--navy-dark);
    transform: scale(1.08);
}

.notices-cta {
    display: none;
}

/* Scroll Animations — visible by default; JS hides then reveals (no blank content if JS fails) */
.animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js-anim-ready .animate-on-scroll:not(.is-visible) {
    opacity: 0;
    transform: translateY(28px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Homepage: skip scroll-reveal transforms — they make page scroll feel stepped/janky */
body.is-homepage .animate-on-scroll,
body.is-homepage html.js-anim-ready .animate-on-scroll:not(.is-visible) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

body.is-homepage .about-hero-intro .about-intro-motion {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

@media (max-width: 767px) {
    body.is-homepage .about-hero-intro .about-intro-shell {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body.is-homepage .about-hero-intro .about-hero-rays,
    body.is-homepage .about-hero-intro .about-blob {
        animation: none !important;
    }
}

/* Keep homepage marquees running while the page scrolls (no pause). */

html.is-page-scrolling .semc-mobile-dock {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: linear-gradient(180deg, rgba(12, 32, 62, 0.97) 0%, rgba(8, 22, 44, 0.98) 100%);
    border-color: rgba(255, 193, 7, 0.22);
}

/* Club pages: faculty, about, and hero must stay readable even before scroll JS runs */
.club-page .page-hero-unified.animate-on-scroll,
.club-page .club-about.animate-on-scroll,
.club-page .club-faculty-section.animate-on-scroll,
.club-page .club-activities-section.animate-on-scroll,
.club-page .club-pdf-section.animate-on-scroll {
    opacity: 1;
    transform: none;
}

.about-image.animate-on-scroll.is-visible .floating-badge {
    animation: float 3s ease-in-out infinite;
}

/* Hero spacing with new header */
.hero {
    margin-top: 0 !important;
}

.notice-ticker-section {
    margin-top: 0 !important;
}

/* Tablet / small desktop header */
@media (min-width: 992px) and (max-width: 1400px) {
    .semc-brand-bar .container {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .semc-brand-inner {
        gap: 0.75rem;
        width: 100%;
        max-width: 100%;
        padding: 0.55rem 0;
    }

    .semc-brand-logo {
        width: 64px;
        height: 64px;
        flex: 0 0 64px;
    }

    .semc-brand-logo img {
        width: 64px;
        height: 64px;
    }

    .semc-brand-center {
        min-width: 0;
    }

    .semc-brand-title {
        font-size: clamp(0.88rem, 3cqi, 1.85rem);
        white-space: nowrap;
        line-height: 1.1;
    }

    .semc-brand-title-full {
        display: inline;
    }

    .semc-brand-title-short {
        display: none;
    }

    .semc-brand-subtitle {
        font-size: 0.84rem;
        flex-wrap: wrap;
    }

    .semc-nav-menu > li > a {
        padding: 0.85rem 0.72rem;
        font-size: 0.8rem;
    }
}

/* Mobile Responsive Header */
@media (max-width: 991px) {
    .semc-brand-bar {
        order: 1;
    }

    .semc-top-bar {
        order: 2;
        border-bottom: none;
    }

    .semc-nav-bar {
        order: 3;
        background: transparent;
        border-bottom: none;
        position: relative;
    }

    .semc-nav-inner {
        min-height: 0;
        padding: 0;
        gap: 0;
        justify-content: flex-end;
        position: static;
    }

    .semc-nav-scroll {
        flex: none;
        min-width: 0;
        overflow: visible;
        width: auto;
    }

    .semc-allmenus-btn--mobile {
        display: inline-flex !important;
        order: 4;
        margin-left: 0.1rem;
    }

    .semc-nav-toggle {
        display: none !important;
    }

    .semc-nav-bar {
        display: none;
    }

    .semc-brand-inner .semc-nav-toggle {
        order: 4;
        margin-left: 0.15rem;
    }

    .semc-brand-logo-right {
        order: 3;
    }

    .semc-brand-center {
        order: 2;
    }

    .semc-brand-logo-left {
        order: 1;
    }

    .semc-allmenus-btn--desktop {
        display: none !important;
    }

    .semc-allmenus-overlay {
        padding: calc(0.65rem + env(safe-area-inset-top, 0px)) 0.55rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
        align-items: stretch;
    }

    .semc-allmenus-modal {
        width: 100%;
        max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 1.25rem);
    }

    .semc-allmenus-eca-chips {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .semc-allmenus-grid {
        grid-template-columns: 1fr;
    }

    .semc-top-bar-inner {
        flex-wrap: nowrap;
        gap: 0;
        padding: 0;
        min-height: 0;
    }

    .semc-top-contact,
    .semc-top-actions {
        display: none;
    }

    .semc-top-ticker {
        order: 0;
        flex: 1 1 100%;
        width: 100%;
        min-height: 40px;
        padding: 0;
        gap: 0;
        border: none;
        border-radius: 0;
        background: var(--navy-dark);
        box-shadow: none;
    }

    .semc-ticker-label {
        gap: 0.28rem;
        padding: 0.7rem 1.35rem 0.7rem 0.85rem;
        font-size: 0.72rem;
        letter-spacing: 0.06em;
        border-radius: 0;
        clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
        box-shadow: none;
    }

    .semc-ticker-label-full,
    .semc-ticker-pulse {
        display: none;
    }

    .semc-ticker-label-short {
        display: inline;
    }

    .semc-ticker-viewport {
        padding-left: 0.65rem;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .semc-ticker-item {
        font-size: 0.82rem;
        padding-right: 1.5rem;
        gap: 0.4rem;
    }

    .semc-ticker-icon,
    .semc-badge-new {
        display: none;
    }

    .semc-brand-bar .container {
        padding: 0 0.35rem;
        max-width: none;
    }

    .semc-brand-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: none;
        gap: 0.28rem;
        padding: 0.4rem 0;
    }

    .semc-brand-center {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0;
    }

    .semc-brand-logo-left,
    .semc-brand-logo-right {
        flex: 0 0 42px;
    }

    .semc-brand-logo {
        width: 42px;
        height: 42px;
    }

    .semc-brand-logo img {
        width: 42px;
        height: 42px;
    }

    .semc-allmenus-btn--mobile {
        width: 34px;
        height: 34px;
        margin-left: 0;
    }

    .semc-brand-title {
        font-size: clamp(0.72rem, 3.1vw, 0.98rem);
        white-space: normal;
        line-height: 1.2;
    }

    .semc-brand-title-full {
        display: none;
    }

    .semc-brand-title-short {
        display: none;
    }

    .semc-brand-title-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.12rem;
        width: 100%;
        text-align: center;
        white-space: normal;
        overflow: visible;
        line-height: 1.1;
    }

    .semc-brand-title-mobile.black-ops-one-regular .semc-brand-line-top,
    .semc-brand-title-mobile.black-ops-one-regular .semc-brand-line-bottom {
        display: block;
        width: 100%;
        max-width: 100%;
        text-align: center;
        text-transform: uppercase;
        color: var(--navy);
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        font-family: "Black Ops One", system-ui, sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: clamp(0.72rem, 3.72vw, 0.98rem);
        letter-spacing: 0.016em;
        line-height: 1.06;
    }

    .semc-brand-title-mobile .semc-title-accent {
        display: none;
    }

    .semc-title-animate {
        transform: none;
        animation: none;
    }

    .semc-brand-subtitle {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        margin-top: 0.15rem;
        font-size: clamp(0.68rem, 2.8vw, 0.78rem);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .semc-brand-location {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .about-image {
        display: none !important;
    }

    .about-hero-intro .about-visual,
    .about-hero-intro .about-image {
        display: block !important;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .semc-brand-slogan,
    .semc-brand-divider {
        display: none;
    }

    .semc-nav-toggle {
        display: none !important;
    }

    .semc-nav-toggle span {
        background: var(--navy);
    }

    .semc-nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        width: 100%;
        min-width: 0;
        background: var(--navy);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: var(--shadow-xl);
        max-height: 70vh;
        overflow-y: auto;
        padding: 0.5rem 0;
        z-index: 120;
    }

    .semc-nav-menu.show {
        display: flex;
    }

    .semc-nav-menu > li > a {
        width: 100%;
        padding: 0.85rem 1rem;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .semc-nav-menu > li > a.active,
    .semc-nav-menu > li > a:hover {
        border-left-color: var(--gold);
        background: rgba(255, 255, 255, 0.05);
    }

    .semc-dropdown {
        position: static;
        display: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 0;
        padding: 0;
    }

    .semc-dropdown a {
        color: rgba(255, 255, 255, 0.9);
        padding-left: 1.75rem;
    }

    .semc-dropdown .semc-dropdown a {
        padding-left: 2.5rem;
    }

    .semc-nav-actions {
        display: none;
    }

    .notice-feed-viewport,
    .ua-scroll-viewport {
        height: 620px;
    }

    .notice-activities-grid {
        grid-template-columns: 1fr;
    }

    .notice-feed-header h3 {
        white-space: normal;
    }

    .notice-feed-all-btn {
        padding: 0.5rem 0.9rem;
        font-size: 0.75rem;
    }

    .notice-feed-item {
        grid-template-columns: 62px 36px 1fr 36px;
        gap: 0.55rem;
        padding: 0.75rem;
    }

    .hero {
        --hero-stats-h: 0px;
        --hero-max-h: none;
        aspect-ratio: 1593 / 845;
        max-height: none;
        min-height: 0;
    }

    .page-hero-unified,
    .page-hero-unified--compact {
        min-height: clamp(170px, 32vw, 200px);
    }

    .hero-content {
        bottom: 0;
        padding-bottom: 0.65rem;
    }

    .hero-caption-main {
        flex-direction: row;
        align-items: center;
        gap: 0.55rem;
    }

    .hero-title {
        font-size: clamp(0.78rem, 3.4vw, 0.95rem);
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-description {
        display: none;
    }

    .slider-nav {
        width: 34px;
        height: 34px;
    }

    .slider-prev { left: 0.45rem; }
    .slider-next { right: 0.45rem; }

    .members-carousel-viewport {
        overflow: hidden;
        padding: 0.35rem 0 1rem;
    }

    .members-carousel-track {
        display: flex;
        gap: 1rem;
        width: max-content;
        animation: membersCarouselScroll 34s linear infinite;
    }

    .member-card {
        width: min(calc(100vw - 2.5rem), 320px);
        scroll-snap-align: start;
        flex-shrink: 0;
    }
}

@media (max-width: 640px) {
    .achievement-card {
        width: min(78vw, 280px);
    }

    .achievement-card-title {
        font-size: 0.92rem;
    }

    .achievement-gallery {
        grid-template-columns: 1fr;
    }

    .teachers-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .teacher-card {
        width: min(78vw, 260px);
    }

    .semc-brand-bar .container {
        padding-left: 0.28rem;
        padding-right: 0.28rem;
    }

    .semc-brand-inner {
        gap: 0.22rem;
    }

    .semc-brand-logo-left,
    .semc-brand-logo-right {
        flex: 0 0 38px;
    }

    .semc-brand-logo {
        width: 38px;
        height: 38px;
    }

    .semc-brand-logo img {
        width: 38px;
        height: 38px;
    }

    .semc-allmenus-btn--mobile {
        width: 32px;
        height: 32px;
    }

    .semc-brand-title {
        font-size: inherit;
        line-height: 1.15;
    }

    .semc-brand-title-mobile.black-ops-one-regular .semc-brand-line-top,
    .semc-brand-title-mobile.black-ops-one-regular .semc-brand-line-bottom {
        font-size: clamp(0.66rem, 3.5vw, 0.92rem);
        letter-spacing: 0.012em;
        line-height: 1.05;
    }

    .ua-mobile-tab {
        display: flex;
    }

    .ua-sidebar-panel {
        display: none;
        padding: 0;
        margin-top: 0.65rem;
    }

    .ua-sidebar-panel.is-open {
        display: block;
        padding: 1rem 0.9rem 1.05rem;
    }

    .ua-sidebar-panel > .ua-sidebar-header {
        display: none;
    }

    .ua-item-card {
        padding: 0.75rem 0.85rem;
    }

    .ua-item-title {
        font-size: 0.88rem;
    }

    .notice-feed-header {
        flex-wrap: wrap;
    }

    .notice-feed-all-btn {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 0.15rem;
    }

    .notice-feed-item {
        grid-template-columns: 58px 34px minmax(0, 1fr) 34px;
        grid-template-areas: "date icon content action";
        align-items: center;
        gap: 0.55rem;
        padding: 0.75rem;
    }

    .notice-feed-date {
        grid-area: date;
        align-self: center;
    }

    .notice-feed-icon {
        grid-area: icon;
        align-self: center;
        justify-self: start;
    }

    .notice-feed-content {
        grid-area: content;
        align-self: center;
        min-width: 0;
    }

    .notice-feed-action {
        grid-area: action;
        align-self: center;
        justify-self: end;
        width: 34px;
        height: 34px;
    }

    .notice-feed-badge {
        display: inline-flex;
        margin-bottom: 0.18rem;
        font-size: 0.6rem;
        padding: 0.1rem 0.42rem;
    }

    .notice-feed-title {
        font-size: 0.86rem;
        line-height: 1.32;
        margin-bottom: 0;
        -webkit-line-clamp: 2;
    }

    .notice-feed-text {
        display: none;
    }

    .events-carousel-track .event-card {
        width: min(86vw, 300px);
    }

    .events {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }

    .events.section {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }

    .events-header {
        margin-bottom: 1.5rem;
    }

    .events-carousel-viewport,
    .achievement-carousel-viewport,
    .teachers-carousel-viewport,
    .members-carousel-viewport,
    .home-clubs-viewport {
        touch-action: pan-y;
    }

    .principles-row {
        gap: 0.5rem;
    }

    .principle-chip {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }

    .stats-cards {
        margin-top: 3rem;
        gap: 0.65rem;
    }

    .stats-cards-row {
        gap: 0.65rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-cards-row > .stat-card-partner,
    .stats-cards-row > .stat-card-baf,
    .stats-cards-row > .stat-card-british-council {
        min-height: 150px;
    }

    .stats-cards-row > .stat-action-card {
        grid-column: auto;
    }

    .stat-card-combined {
        grid-column: auto;
    }

    .stat-card-combined {
        padding: 0.7rem 0.35rem;
    }

    .stat-combined-grid {
        gap: 0.3rem;
    }

    .stat-combined-icon {
        width: 34px;
        height: 34px;
        margin-bottom: 0.35rem;
        border-radius: 0.65rem;
    }

    .stat-combined-icon i {
        width: 15px;
        height: 15px;
    }

    .stat-combined-label {
        font-size: 0.5rem;
        line-height: 1.15;
        max-width: none;
    }

    .stat-combined-item:last-child .stat-combined-label {
        font-size: 0.46rem;
    }

    .stat-card-combined .stat-card-number {
        font-size: clamp(0.88rem, 3.8vw, 1.05rem);
    }

    .stat-card-combined .stat-card-suffix {
        font-size: clamp(0.72rem, 3vw, 0.88rem);
    }

    .stat-action-card {
        padding: 0.65rem 0.4rem 0.55rem;
        gap: 0.25rem;
        justify-content: center;
    }

    .stat-action-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.2rem;
    }

    .stat-action-icon i {
        width: 18px;
        height: 18px;
    }

    .stat-action-title {
        font-size: 0.68rem;
        line-height: 1.2;
        margin-bottom: 0.25rem;
    }

    .stat-action-desc {
        display: none;
        flex: 0 0 auto;
        margin: 0;
    }

    .stat-action-btn {
        width: 100%;
        margin-top: 0.2rem;
        padding: 0.48rem 0.35rem;
        font-size: 0.64rem;
    }

    .stat-card-cambridge {
        padding: 1rem 0.75rem;
    }

    .stat-card-british-council,
    .stat-card-baf,
    .stat-card-partner {
        padding: 1rem 0.75rem;
    }

    .stat-partner-logo-wrap {
        max-width: 120px;
        min-height: 54px;
        margin-bottom: 0.5rem;
    }

    .stat-partner-logo-wrap--baf {
        max-width: 68px;
        min-height: 68px;
    }

    .stat-partner-logo--bc {
        max-height: 48px;
    }

    .stat-partner-logo--baf {
        width: 66px;
        height: 66px;
    }

    .stat-partner-title {
        font-size: 0.76rem;
    }

    .stat-partner-desc {
        font-size: 0.66rem;
        max-width: none;
    }

    .british-council-logo-wrap {
        max-width: 130px;
        min-height: 58px;
        margin-bottom: 0.55rem;
    }

    .british-council-logo {
        max-height: 52px;
    }

    .stat-card-british-council .stat-card-label {
        font-size: 0.72rem;
    }

    .cambridge-seal {
        width: 72px;
        height: 72px;
        margin-bottom: 0.55rem;
    }

    .cambridge-badge-word {
        font-size: 1rem;
    }

    .stat-card-number {
        font-size: 2rem;
    }

    .chairman-card {
        padding: 1.75rem 1.25rem 1.5rem;
        margin-bottom: 2rem;
    }

    .chairman-image,
    .chairman-image img {
        width: 120px;
        height: 120px;
    }

    .chairman-name {
        font-size: 1.15rem;
    }

    .members-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .member-image img {
        width: 96px;
        height: 96px;
    }

    .visitor-stats {
        padding-top: 3rem;
        padding-bottom: 3.25rem;
    }

    .visitor-stats .section-header-center {
        margin-bottom: 1.35rem;
    }

    .visitor-stats .section-subtitle {
        font-size: 0.82rem;
    }

    .visitor-stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .visitor-stat-card {
        padding: 0.75rem 0.3rem 0.7rem;
        border-radius: 0.9rem;
        box-shadow: 0 8px 20px rgba(10, 31, 61, 0.07);
    }

    .visitor-stat-card:hover {
        transform: translateY(-4px);
    }

    .visitor-stat-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 0.45rem;
        border-radius: 0.65rem;
    }

    .visitor-stat-icon i {
        width: 16px;
        height: 16px;
    }

    .visitor-stat-ring {
        inset: -4px;
        border-radius: 0.75rem;
    }

    .visitor-stat-value {
        min-height: 1.35rem;
    }

    .visitor-stat-number {
        font-size: clamp(0.82rem, 3.4vw, 1rem);
    }

    .visitor-stat-number--total {
        font-size: clamp(0.88rem, 3.6vw, 1.05rem);
    }

    .visitor-stat-label {
        font-size: 0.58rem;
        margin-top: 0.2rem;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .visitor-stat-label--total {
        font-size: 0.58rem;
    }

    .visitor-stat-desc {
        display: none;
    }

    .visitor-stat-card--total {
        grid-column: auto;
        padding: 0.75rem 0.3rem 0.7rem;
    }

    .visitor-stat-total-badge {
        display: none;
    }

    .footer-grid {
        padding: 2.5rem 0 2rem;
        gap: 1.25rem 1rem;
        grid-template-columns: 1fr 1fr;
    }

    .footer-col-brand {
        grid-column: 1 / -1;
    }

    .footer-col-contact--desktop {
        display: none;
    }

    .footer-col:nth-child(2),
    .footer-col:nth-child(3) {
        grid-column: span 1;
    }

    .footer-logo {
        align-items: flex-start;
    }

    .footer-logo-mark {
        width: 64px;
        height: 64px;
    }

    .footer-logo-text h3 {
        font-size: 1rem;
    }

    .footer-watermark {
        display: none;
    }

    .footer-actions {
        grid-template-columns: 1fr;
    }

    .footer-action-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-blob,
    .about-hero-rays,
    .about-image-glow,
    .about-intro-shell::before,
    .image-shine,
    .image-decoration-1,
    .image-decoration-2,
    .floating-badge,
    .badge-pulse-ring,
    .motto-box::before,
    .events-carousel-track,
    .achievement-carousel-track,
    .teachers-carousel-track,
    .ua-scroll-track,
    .members-carousel-track,
    .notice-feed-track,
    .semc-ticker-track,
    .semc-ticker-pulse,
    .notice-doc-badge,
    .notice-doc-badge-new,
    .notice-doc-date-stamp,
    .notice-doc-card.is-visible .notice-doc-card-link,
    .cambridge-seal-spin,
    .message-accent-bar,
    .message-photo-ring,
    .star-badge,
    .quote-icon,
    .star-filled,
    .messages-watermark,
    .messages-bg-1,
    .messages-bg-2,
    .stats-icon-ring,
    .stats-box::before,
    .stats-bg-1,
    .stats-bg-2,
    .chairman-photo-ring,
    .visitor-stat-ring {
        animation: none !important;
    }

    .events-carousel-track {
        transform: none;
    }

    .achievement-carousel-track {
        transform: none;
    }

    .teachers-carousel-track {
        transform: none;
    }

    .ua-scroll-track {
        transform: none;
    }

    .members-carousel-track {
        transform: none;
    }
}

body.nav-open {
    overflow: hidden;
}

/* ===== ECA CLUBS ===== */
.clubs-index {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.clubs-index-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 991px) {
    .clubs-index-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .clubs-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .club-index-card {
        padding: 1rem 0.65rem;
        gap: 0.45rem;
        border-radius: 1rem;
    }

    .club-index-icon {
        width: 2.25rem;
        height: 2.25rem;
    }

    .club-index-icon i {
        width: 18px;
        height: 18px;
    }

    .club-index-name {
        font-size: 0.78rem;
        line-height: 1.25;
    }

    .club-index-room {
        font-size: 0.62rem;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .club-index-link {
        font-size: 0.68rem;
    }
}

.club-index-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.75rem 1.5rem;
    background: var(--white);
    border-radius: 1.25rem;
    border: 1px solid rgba(10, 31, 61, 0.08);
    box-shadow: 0 8px 24px rgba(10, 31, 61, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.club-index-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--club-accent, var(--navy)), var(--gold));
}

.club-index-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(10, 31, 61, 0.12);
    border-color: rgba(255, 193, 7, 0.35);
    color: inherit;
    text-decoration: none;
}

.club-index-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--club-accent, var(--navy)), rgba(10, 31, 61, 0.75));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.club-index-icon i { width: 24px; height: 24px; }

.club-index-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    line-height: 1.35;
}

.club-index-room {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.club-index-link {
    margin-top: auto;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Club detail page */
.club-page {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 10%, rgba(13, 202, 240, 0.07), transparent 32%),
        radial-gradient(circle at 92% 90%, rgba(255, 193, 7, 0.08), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.club-page-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(10, 31, 61, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 31, 61, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
}

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

.club-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    margin-bottom: 2.5rem;
    background: var(--white);
    border-radius: 1.5rem;
    border: 1px solid rgba(10, 31, 61, 0.08);
    box-shadow: 0 12px 32px rgba(10, 31, 61, 0.08);
}

.club-hero-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--club-accent, var(--navy)), rgba(10, 31, 61, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.club-hero-icon i { width: 36px; height: 36px; }

.club-hero-cover {
    flex: 0 0 min(100%, 280px);
    width: min(100%, 280px);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(10, 31, 61, 0.14);
    border: 1px solid rgba(10, 31, 61, 0.08);
}

.club-hero-cover img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.club-hero-body {
    flex: 1 1 240px;
    min-width: 0;
}

.club-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background: rgba(255, 193, 7, 0.15);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.club-hero-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 1rem;
}

.club-room-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.club-room-card {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    background: #f1f5f9;
    border-radius: 12px;
    min-width: 220px;
}

.club-room-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-600);
    margin-bottom: 0.15rem;
}

.club-section { margin-bottom: 3rem; }

/* Merged faculty — head + co-moderators panel */
.club-faculty-section {
    margin-bottom: 2.75rem;
}

.club-faculty-panel {
    margin-top: 1.5rem;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    border: 1px solid rgba(10, 31, 61, 0.08);
    border-radius: 1.5rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 16px 40px rgba(10, 31, 61, 0.07);
    position: relative;
    overflow: hidden;
}

.club-faculty-panel::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--club-accent, var(--navy)), var(--gold), var(--primary));
}

/* Head / Moderator — featured row */
.club-faculty-heads {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.club-faculty-head-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
    text-align: center;
    padding: 1.35rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.08), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(255, 193, 7, 0.28);
    border-radius: 1.25rem;
    box-shadow: 0 8px 22px rgba(10, 31, 61, 0.06);
}

@media (min-width: 640px) {
    .club-faculty-head-card {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem 1.75rem;
    }
}

.club-faculty-head-photo {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
}

@media (min-width: 768px) {
    .club-faculty-head-photo {
        width: 132px;
        height: 132px;
    }
}

.club-faculty-head-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--gold), transparent 35%, var(--primary) 60%, transparent 82%, var(--gold));
    animation: chairmanRingSpin 12s linear infinite;
}

.club-faculty-head-ring::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #fffdf8;
}

.club-faculty-head-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    box-shadow: 0 10px 24px rgba(10, 31, 61, 0.14);
}

.club-faculty-head-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--gold), #ffe082);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-gold);
}

.club-faculty-head-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .club-faculty-head-name { font-size: 1.28rem; }
}

.club-faculty-head-role {
    font-size: 0.88rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.45;
}

/* Co-Moderators grid */
.club-faculty-co-wrap.has-head-above {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(10, 31, 61, 0.12);
}

.club-faculty-co-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.club-faculty-co-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
}

@media (min-width: 640px) {
    .club-faculty-co-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 992px) {
    .club-faculty-co-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.club-faculty-co-card {
    background: var(--white);
    border-radius: 1.15rem;
    padding: 1.35rem 1rem 1.2rem;
    text-align: center;
    border: 1px solid rgba(13, 202, 240, 0.12);
    box-shadow: 0 10px 24px rgba(10, 31, 61, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.club-faculty-co-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(10, 31, 61, 0.12);
    border-color: rgba(255, 193, 7, 0.35);
}

.club-faculty-co-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 193, 7, 0.4);
    box-shadow: 0 6px 16px rgba(10, 31, 61, 0.1);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.club-faculty-co-card:hover .club-faculty-co-photo {
    border-color: var(--gold);
    transform: scale(1.03);
}

.club-faculty-co-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.club-faculty-co-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 0.35rem;
    line-height: 1.35;
}

.club-faculty-co-role {
    font-size: 0.8rem;
    color: var(--primary-dark);
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    min-height: 2.2em;
}

@media (max-width: 575px) {
    .club-faculty-panel {
        padding: 1.35rem 1rem;
    }

    .club-faculty-co-photo {
        width: 88px;
        height: 88px;
    }
}

.club-about {
    margin-bottom: 3rem;
}

.club-about-inner {
    background: var(--white);
    border-radius: 1.25rem;
    padding: 2rem;
    border-left: 4px solid var(--club-accent, var(--gold));
    box-shadow: 0 8px 24px rgba(10, 31, 61, 0.06);
}

.club-about-inner h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    color: var(--navy);
    margin: 0 0 1rem;
}

.club-about-text {
    color: var(--gray-700);
    line-height: 1.75;
    font-size: 1rem;
}

/* Club activities — static gallery grid */
.club-activities-section {
    margin-bottom: 2.5rem;
}

.club-activities-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .club-activities-gallery {
        gap: 1.25rem;
    }
}

@media (min-width: 992px) {
    .club-activities-gallery {
        gap: 1.5rem;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

.club-activity-item--clickable {
    cursor: pointer;
}

.club-activity-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    text-align: left;
    cursor: zoom-in;
}

.club-activity-item {
    margin: 0;
}

.club-activity-item.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.club-activity-item.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.club-activity-image {
    position: relative;
    display: block;
    border-radius: 0.85rem;
    overflow: hidden;
    aspect-ratio: 1;
    background: #eef2f7;
    box-shadow: 0 8px 22px rgba(10, 31, 61, 0.08);
    border: 1px solid rgba(10, 31, 61, 0.06);
}

@media (min-width: 768px) {
    .club-activity-image {
        border-radius: 1.1rem;
        min-height: clamp(200px, 28vw, 360px);
        aspect-ratio: 4 / 3;
        box-shadow: 0 12px 32px rgba(10, 31, 61, 0.1);
    }
}

.club-activity-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.club-activity-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 31, 61, 0.28);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    opacity: 0;
    transition: opacity 0.35s ease, background 0.35s ease;
}

.club-activity-overlay i {
    width: 42px;
    height: 42px;
    color: var(--white);
    padding: 0.55rem;
    background: rgba(255, 193, 7, 0.95);
    border-radius: 50%;
    transform: scale(0.92);
    transition: transform 0.35s ease;
}

.club-activity-overlay-text {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.club-activity-trigger:hover .club-activity-image img,
.club-activity-trigger:focus-visible .club-activity-image img {
    transform: scale(1.03);
}

.club-activity-trigger:hover .club-activity-overlay,
.club-activity-trigger:focus-visible .club-activity-overlay {
    opacity: 1;
}

.club-activity-trigger:hover .club-activity-overlay i,
.club-activity-trigger:focus-visible .club-activity-overlay i {
    transform: scale(1);
}

@media (max-width: 767px) {
    .club-activity-overlay {
        opacity: 1;
        background: linear-gradient(180deg, transparent 55%, rgba(10, 31, 61, 0.55) 100%);
        align-items: flex-end;
        justify-content: center;
        padding-bottom: 0.45rem;
    }

    .club-activity-overlay i {
        width: 26px;
        height: 26px;
        padding: 0.32rem;
    }

    .club-activity-overlay-text {
        display: none;
    }

    .club-activity-caption {
        margin-top: 0.4rem;
        font-size: 0.62rem;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

.lightbox.club-lightbox-active img {
    max-width: min(96vw, 1400px);
    max-height: 92vh;
    width: auto;
    height: auto;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.04);
}

.club-activity-caption {
    margin: 0.75rem 0 0;
    padding: 0 0.15rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.45;
}

.club-activities-placeholder {
    margin-top: 1.5rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 1.25rem;
    border: 2px dashed rgba(10, 31, 61, 0.12);
    background: rgba(255, 255, 255, 0.85);
    color: var(--gray-600);
}

.club-activities-placeholder i {
    width: 42px;
    height: 42px;
    color: var(--club-accent, var(--navy));
    margin-bottom: 0.75rem;
}

.club-activities-placeholder p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Club PDF attachment */
.club-pdf-section {
    margin-bottom: 1rem;
}

.club-pdf-card {
    background: var(--white);
    border-radius: 1.25rem;
    border: 1px solid rgba(10, 31, 61, 0.08);
    box-shadow: 0 10px 28px rgba(10, 31, 61, 0.08);
    overflow: hidden;
}

.club-pdf-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    background: linear-gradient(135deg, rgba(10, 31, 61, 0.04), rgba(255, 193, 7, 0.08));
    border-bottom: 1px solid rgba(10, 31, 61, 0.06);
}

.club-pdf-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--club-accent, var(--navy)), rgba(10, 31, 61, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.club-pdf-icon i { width: 22px; height: 22px; }

.club-pdf-header h3 {
    margin: 0 0 0.2rem;
    font-size: 1.1rem;
    color: var(--navy);
}

.club-pdf-header p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.club-pdf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 1rem 1.5rem 0;
}

.club-pdf-btn,
.club-pdf-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
}

.club-pdf-btn-outline {
    border: 1px solid rgba(10, 31, 61, 0.15);
    color: var(--navy);
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    text-decoration: none;
}

.club-pdf-btn-outline:hover {
    background: var(--gray-100);
    color: var(--navy);
    text-decoration: none;
}

.club-pdf-viewer {
    margin: 1rem 1.5rem 1.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(10, 31, 61, 0.1);
    background: #f8fafc;
}

.club-pdf-viewer iframe {
    width: 100%;
    height: 520px;
    border: none;
    display: block;
}

@media (max-width: 767px) {
    .club-pdf-viewer iframe {
        height: 360px;
    }
}

.club-student-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 991px) {
    .club-student-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .club-student-grid { grid-template-columns: 1fr; }
}

.club-student-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(10, 31, 61, 0.07);
    box-shadow: 0 6px 16px rgba(10, 31, 61, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.club-student-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(10, 31, 61, 0.1);
}

.club-student-avatar {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--club-accent, var(--navy)), rgba(10, 31, 61, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-weight: 800;
    font-size: 1.25rem;
}

.club-student-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 0.25rem;
}

.club-student-meta {
    font-size: 0.78rem;
    color: var(--gray-600);
    margin: 0;
}

.club-activities-empty {
    margin-top: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    background: var(--white);
    border: 2px dashed rgba(10, 31, 61, 0.12);
    border-radius: 1.25rem;
    color: var(--gray-600);
}

.club-activities-empty i {
    width: 48px;
    height: 48px;
    color: var(--club-accent, var(--navy));
    opacity: 0.45;
    margin-bottom: 0.75rem;
}

.club-activities-empty p {
    margin: 0;
    font-size: 0.95rem;
}
/* ===== SCHOOL PREFECTS PAGE ===== */
.prefect-page {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #f0f7ff 100%);
}

.prefect-page-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 193, 7, 0.12), transparent 35%),
        radial-gradient(circle at 90% 20%, rgba(13, 202, 240, 0.1), transparent 32%);
    pointer-events: none;
}

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

.prefect-intro {
    max-width: 780px;
    margin: 0.75rem auto 0;
    text-align: center;
    color: var(--gray-600);
    font-size: 0.98rem;
    line-height: 1.75;
}

.prefect-intro p {
    margin-bottom: 0.75rem;
}

.prefect-leadership {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0 2rem;
}

.prefect-leader-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.35rem;
    background: var(--white);
    border-radius: 1.25rem;
    border: 1px solid rgba(10, 31, 61, 0.08);
    box-shadow: 0 12px 32px rgba(10, 31, 61, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prefect-leader-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(10, 31, 61, 0.12);
}

.prefect-leader-card--head_prefect {
    background: linear-gradient(135deg, #ffffff 0%, #fff9e6 100%);
    border-color: rgba(255, 193, 7, 0.25);
}

.prefect-leader-card--deputy_head_prefect {
    background: linear-gradient(135deg, #ffffff 0%, #eef8ff 100%);
    border-color: rgba(13, 202, 240, 0.2);
}

.prefect-leader-photo {
    position: relative;
    flex-shrink: 0;
}

.prefect-photo-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(255, 193, 7, 0.45);
    animation: prefectRingPulse 3s ease-in-out infinite;
}

.prefect-leader-photo img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 8px 20px rgba(10, 31, 61, 0.15);
}

.prefect-role-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy);
    background: rgba(255, 193, 7, 0.18);
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.45rem;
}

.prefect-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--navy);
    margin: 0 0 0.35rem;
}

.prefect-class {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gray-600);
    font-size: 0.88rem;
    margin: 0 0 0.45rem;
}

.prefect-motto {
    font-style: italic;
    color: var(--gray-500);
    font-size: 0.86rem;
    margin: 0;
    line-height: 1.45;
}

.prefect-group {
    margin-bottom: 2.5rem;
}

.prefect-group-header {
    margin-bottom: 1.25rem;
    text-align: center;
}

.prefect-group-title {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--navy);
    margin: 0;
    padding-bottom: 0.45rem;
    border-bottom: 3px solid var(--gold);
}

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

.prefect-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(10, 31, 61, 0.08);
    box-shadow: 0 8px 24px rgba(10, 31, 61, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prefect-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(10, 31, 61, 0.12);
}

.prefect-card-photo {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #eef3f8;
}

.prefect-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.prefect-card:hover .prefect-card-photo img {
    transform: scale(1.05);
}

.prefect-card-badge {
    position: absolute;
    left: 0.65rem;
    bottom: 0.65rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--white);
    background: rgba(10, 31, 61, 0.82);
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.prefect-card-body {
    padding: 1rem 0.9rem 1.1rem;
    text-align: center;
}

.prefect-card-name {
    font-size: 1rem;
    color: var(--navy);
    margin: 0 0 0.25rem;
}

.prefect-card-class {
    font-size: 0.82rem;
    color: var(--gray-600);
    margin: 0 0 0.35rem;
}

.prefect-card-motto {
    font-size: 0.78rem;
    color: var(--gray-500);
    font-style: italic;
    margin: 0;
    line-height: 1.35;
}

.prefect-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--white);
    border: 2px dashed rgba(10, 31, 61, 0.12);
    border-radius: 1.25rem;
    color: var(--gray-600);
}

.prefect-empty i {
    width: 48px;
    height: 48px;
    color: var(--navy);
    opacity: 0.4;
    margin-bottom: 0.75rem;
}

@keyframes prefectRingPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.04); opacity: 1; }
}

@media (max-width: 991px) {
    .prefect-leadership {
        grid-template-columns: 1fr;
    }

    .prefect-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .prefect-leader-card {
        flex-direction: column;
        text-align: center;
    }

    .prefect-class {
        justify-content: center;
    }

    .prefect-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== SCHOOL PREFECTS FULLSCREEN (2025-26) ===== */
.react-breadcrumbs--compact .breadcrumbs-wrap { min-height: 180px; }
.react-breadcrumbs--compact .breadcrumbs-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.prefect-container {
    width: min(100%, 1280px);
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
}

.prefect-page--fullscreen {
    position: relative;
    overflow: hidden;
    padding: 2rem 0 4rem;
    background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 40%, #eef4fa 100%);
    min-height: calc(100vh - 180px);
}

.prefect-page .prefect-container,
.prefect-page .prefect-page-inner {
    position: relative;
    z-index: 1;
}

.prefect-page-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.prefect-hero { text-align: center; margin-bottom: 0; }
.prefect-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(73, 128, 181, 0.12);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.prefect-hero-title { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--navy); margin: 0 0 0.65rem; }
.prefect-hero-sub { max-width: 720px; margin: 0 auto; color: var(--gray-600); font-size: 0.95rem; line-height: 1.6; }

.prefect-section {
    width: 100%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(10, 31, 61, 0.08);
    border-radius: 1.5rem;
    padding: clamp(1.35rem, 2.5vw, 2.25rem);
    margin-bottom: 1.75rem;
    box-shadow: 0 18px 44px rgba(10, 31, 61, 0.07);
}
.prefect-section--junior { background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(248, 251, 255, 0.98) 100%); }

.prefect-section-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.85rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(73, 128, 181, 0.15);
    text-align: left;
}
.prefect-section-head > div { flex: 1; max-width: 100%; }

.prefect-section-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4980b5, #3a6a99);
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(73, 128, 181, 0.28);
}
.prefect-section-icon--junior { background: linear-gradient(135deg, #ffc107, #e6a800); color: var(--navy); }
.prefect-section-title { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.2vw, 1.65rem); color: var(--navy); margin: 0 0 0.2rem; }
.prefect-section-desc { margin: 0; color: var(--gray-600); font-size: 0.88rem; }

.prefect-subsection { margin-top: 1.85rem; }
.prefect-subsection-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--navy);
    margin: 0 0 1.1rem;
    padding-left: 0.75rem;
    border-left: 4px solid var(--gold);
    text-align: left;
}

.prefect-appointments-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.15rem;
    justify-items: stretch;
}

.prefect-appointment-card {
    grid-column: span 3;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.05rem 1.15rem;
    border-radius: 1.1rem;
    background: #fff;
    border: 1px solid rgba(10, 31, 61, 0.08);
    border-left: 4px solid rgba(73, 128, 181, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    min-height: 100%;
}

.prefect-appointment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(10, 31, 61, 0.11);
    border-color: rgba(73, 128, 181, 0.18);
}

.prefect-appointment-card--college_prefect {
    grid-column: 1 / -1;
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
    padding: 1.35rem 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #fff9e6 55%, #fff 100%);
    border: 1px solid rgba(255, 193, 7, 0.35);
    border-left: 5px solid var(--gold);
    box-shadow: 0 16px 36px rgba(255, 193, 7, 0.14);
}

.prefect-appointment-card--college_games_prefect { border-left-color: #27ae60; }
.prefect-appointment-card--college_community_service_prefect { border-left-color: #8e44ad; }
.prefect-appointment-card--college_cultural_prefect { border-left-color: #e67e22; }

.prefect-appointment-card--college_prefect .prefect-appointment-avatar {
    width: 78px;
    height: 78px;
}

.prefect-appointment-avatar,
.prefect-pair-avatar,
.prefect-house-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #eef4fa, #dbe8f5);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 6px 16px rgba(10, 31, 61, 0.12);
}

.prefect-appointment-avatar img,
.prefect-pair-avatar img,
.prefect-house-avatar img { width: 100%; height: 100%; object-fit: cover; }

.prefect-initials,
.prefect-pair-avatar span,
.prefect-house-avatar span { font-weight: 800; font-size: 1.1rem; color: var(--navy); }

.prefect-appointment-body { min-width: 0; text-align: left; }

.prefect-role-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy);
    background: rgba(255, 193, 7, 0.18);
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.35rem;
}

.prefect-name {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    color: var(--navy);
    margin: 0 0 0.25rem;
    line-height: 1.25;
}

.prefect-class {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.84rem;
}

.prefect-gender-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    margin-bottom: 0.35rem;
    margin-right: 0.25rem;
}
.prefect-gender-tag--boy { background: rgba(41, 128, 185, 0.15); color: #1f5f8b; }
.prefect-gender-tag--girl { background: rgba(192, 57, 43, 0.12); color: #922b21; }

.prefect-houses-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.prefect-house-block {
    background: #fff;
    border: 1px solid rgba(10, 31, 61, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(10, 31, 61, 0.05);
    height: 100%;
}

.prefect-house-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,251,255,0.95));
    border-bottom: 2px solid var(--house-color, #4980b5);
}

.prefect-house-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--house-color, #4980b5);
    box-shadow: 0 0 0 4px rgba(73, 128, 181, 0.15);
}

.prefect-house-head h5 { margin: 0; font-size: 0.95rem; color: var(--navy); font-family: var(--font-heading); }
.prefect-house-list { padding: 0.75rem; display: flex; flex-direction: column; gap: 0.65rem; }
.prefect-house-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem; border-radius: 0.75rem; background: #f8fafc; transition: background 0.2s ease; }
.prefect-house-row:hover { background: #eef4fa; }
.prefect-house-avatar { width: 46px; height: 46px; }
.prefect-house-avatar span { font-size: 0.85rem; }
.prefect-house-info { min-width: 0; text-align: left; }
.prefect-house-info strong { display: block; color: var(--navy); font-size: 0.88rem; line-height: 1.3; }
.prefect-house-info small { display: block; color: var(--gray-600); font-size: 0.76rem; margin-top: 0.15rem; }
.prefect-house-meta { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; margin-bottom: 0.2rem; }
.prefect-house-role { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; color: var(--gray-500); }

.prefect-pair-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    justify-content: center;
}

.prefect-pair-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(10, 31, 61, 0.08);
    border-radius: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.prefect-pair-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(10, 31, 61, 0.08); }
.prefect-pair-card--band { background: linear-gradient(135deg, #fff, #f3f8ff); }
.prefect-pair-card h4 { margin: 0.15rem 0 0.25rem; font-size: 1rem; color: var(--navy); font-family: var(--font-heading); }
.prefect-pair-card p { margin: 0; font-size: 0.82rem; color: var(--gray-600); }

@media (min-width: 1400px) {
    .prefect-container { width: min(100%, 1320px); max-width: 1320px; }
    .prefect-appointment-card:not(.prefect-appointment-card--college_prefect) { grid-column: span 3; }
}

@media (max-width: 1199px) {
    .prefect-houses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .prefect-appointment-card:not(.prefect-appointment-card--college_prefect) { grid-column: span 6; }
}

@media (max-width: 767px) {
    .prefect-page--fullscreen { padding: 1.25rem 0 2.5rem; }
    .prefect-section-head { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
    .prefect-houses-grid,
    .prefect-pair-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }
    .prefect-appointments-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }
    .prefect-appointment-card,
    .prefect-appointment-card--college_prefect { grid-column: auto; max-width: none; }
    .prefect-pair-card,
    .prefect-house-block {
        min-width: 0;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .prefect-houses-grid,
    .prefect-pair-grid,
    .prefect-appointments-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ===== NOTICE LIST PAGE ===== */
.notice-page {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 55%, var(--gray-100) 100%);
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.notice-page-bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.notice-page-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
}

.notice-page-blob-1 {
    width: 420px;
    height: 420px;
    background: rgba(13, 202, 240, 0.14);
    top: -120px;
    left: -100px;
}

.notice-page-blob-2 {
    width: 360px;
    height: 360px;
    background: rgba(255, 193, 7, 0.12);
    bottom: -80px;
    right: -60px;
}

.notice-page-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
}

.notice-list-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.notice-list-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.15rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--gray-600);
    box-shadow: var(--shadow-sm);
}

.notice-list-stat strong {
    color: var(--navy);
    font-weight: 700;
}

/* Notice Search */
.notice-search-bar {
    max-width: 820px;
    margin: 0 auto 2rem;
}

.notice-search-form {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.85rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    box-shadow: 0 12px 32px rgba(10, 31, 61, 0.08);
}

.notice-search-field {
    position: relative;
    flex: 1;
    min-width: 180px;
}

.notice-search-field-main {
    flex: 2;
    min-width: 220px;
}

.notice-search-field-date {
    max-width: 200px;
}

.notice-search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

.notice-search-input {
    width: 100%;
    height: 44px;
    padding: 0 0.9rem 0 2.5rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.notice-search-input:focus {
    outline: none;
    border-color: rgba(13, 202, 240, 0.5);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(13, 202, 240, 0.12);
}

.notice-search-btn,
.notice-search-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: 44px;
    padding: 0 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.notice-search-btn {
    border: none;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
    cursor: pointer;
}

.notice-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(10, 31, 61, 0.2);
}

.notice-search-clear {
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.notice-search-clear:hover {
    color: var(--navy);
    background: var(--gray-200);
}

.notice-search-clear.is-hidden {
    display: none;
}

.notice-search-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.65rem;
    font-size: 0.78rem;
    color: var(--gray-500);
    text-align: center;
}

/* Collapsible search — mobile: single Search button opens filters */
.search-collapsible-trigger {
    display: none;
}

@media (max-width: 991px) {
    .search-collapsible.is-collapsed .search-collapsible-trigger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        width: 100%;
        height: 44px;
        min-height: 44px;
        max-height: 44px;
        padding: 0 1rem;
        border: none;
        border-radius: var(--radius-full);
        background: linear-gradient(135deg, var(--navy), var(--navy-light));
        color: var(--white);
        font-size: 0.875rem;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 10px 24px rgba(10, 31, 61, 0.15);
    }

    .search-collapsible-trigger--dark {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
        border: 1px solid rgba(255, 255, 255, 0.22);
        color: var(--white);
    }

    .search-collapsible.is-collapsed .search-collapsible-panel[hidden] {
        display: none;
    }

    .search-collapsible.is-collapsed.is-open .search-collapsible-panel,
    .search-collapsible.is-collapsed .search-collapsible-panel:not([hidden]) {
        display: block;
        margin-top: 0.75rem;
        animation: searchPanelReveal 0.28s ease;
    }

    .search-collapsible.is-open .search-collapsible-chevron {
        transform: rotate(180deg);
    }

    .search-collapsible-chevron {
        transition: transform 0.25s ease;
    }
}

@keyframes searchPanelReveal {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notice-search-empty {
    text-align: center;
    max-width: 28rem;
    margin: 2rem auto 0;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius-2xl);
    border: 1px dashed var(--gray-300);
    box-shadow: var(--shadow-md);
}

.notice-search-empty.is-hidden,
.notice-doc-grid.is-hidden {
    display: none;
}

.notice-list-grid,
.notice-doc-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    justify-items: stretch;
}

@media (min-width: 768px) {
    .notice-doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Official Notice Document Cards (List) */
.notice-doc-card {
    position: relative;
}

.notice-doc-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid rgba(10, 31, 61, 0.1);
    box-shadow: 0 12px 32px rgba(10, 31, 61, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    color: inherit;
    position: relative;
}

.notice-doc-card.is-visible .notice-doc-card-link {
    animation: noticeCardEnter 0.65s ease both;
}

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

.notice-doc-card-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--primary), var(--gold));
    z-index: 1;
}

.notice-doc-card-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 193, 7, 0.06) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.65s ease;
    pointer-events: none;
}

.notice-doc-card-link:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 26px 52px rgba(10, 31, 61, 0.16), 0 0 0 1px rgba(255, 193, 7, 0.4);
    border-color: rgba(255, 193, 7, 0.45);
}

.notice-doc-card-link:hover::after {
    transform: translateX(120%);
}

.notice-doc-letterhead {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px dashed rgba(10, 31, 61, 0.12);
}

.notice-doc-logos {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notice-doc-logo {
    object-fit: contain;
    transition: transform 0.35s ease;
}

.notice-doc-card-link:hover .notice-doc-logo-college {
    transform: scale(1.06);
}

.notice-doc-logo-seal {
    width: 42px;
    height: 42px;
}

.notice-doc-logo-college {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 0;
    background: transparent;
}

.notice-doc-letterhead-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

.notice-doc-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.85rem;
    background: linear-gradient(135deg, var(--gold), #ffda47);
    color: var(--navy-dark);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 16px rgba(255, 193, 7, 0.45);
    animation: noticeBadgePulse 2.8s ease-in-out infinite;
}

@keyframes noticeBadgePulse {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(255, 193, 7, 0.35);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 22px rgba(255, 193, 7, 0.55);
        transform: scale(1.04);
    }
}

.notice-doc-badge-new {
    background: linear-gradient(135deg, #e53935, #c62828);
    color: var(--white);
    animation: noticeLatestPulse 2.8s ease-in-out infinite;
}

@keyframes noticeLatestPulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(229, 57, 53, 0.35); }
    50% { box-shadow: 0 6px 20px rgba(229, 57, 53, 0.55); }
}

.notice-doc-date-stamp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.65rem;
    min-width: 58px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--navy-dark), var(--navy));
    border: 2px solid var(--gold);
    text-align: center;
    box-shadow: 0 6px 18px rgba(255, 193, 7, 0.28);
    animation: noticeDateGlow 3.2s ease-in-out infinite;
}

@keyframes noticeDateGlow {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(255, 193, 7, 0.25);
        border-color: rgba(255, 193, 7, 0.7);
    }
    50% {
        box-shadow: 0 8px 24px rgba(255, 193, 7, 0.5);
        border-color: var(--gold);
    }
}

.notice-doc-date-day {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    text-shadow: 0 1px 8px rgba(255, 193, 7, 0.35);
}

.notice-doc-date-month {
    margin-top: 0.15rem;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.9);
}

.notice-doc-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.2rem 1.25rem 1.25rem;
}

.notice-doc-title {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.55rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition-fast);
    padding-left: 0.75rem;
    border-left: 4px solid var(--gold);
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.08), transparent 65%);
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    padding-right: 0.25rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.notice-doc-card-link:hover .notice-doc-title {
    color: var(--primary-dark);
    border-left-color: var(--primary);
}

.notice-doc-excerpt {
    font-size: 0.84rem;
    color: var(--gray-500);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.notice-doc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
}

.notice-doc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.notice-doc-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.18rem 0.55rem;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: var(--radius-full);
}

.notice-doc-tag-pdf {
    background: rgba(13, 202, 240, 0.12);
    color: var(--primary-dark);
}

.notice-doc-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
    transition: color var(--transition-fast), gap var(--transition-fast);
}

.notice-doc-card-link:hover .notice-doc-action {
    color: var(--primary-dark);
    gap: 0.55rem;
}

.notice-empty-state {
    text-align: center;
    max-width: 28rem;
    margin: 2rem auto 0;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--radius-2xl);
    border: 1px dashed var(--gray-300);
    box-shadow: var(--shadow-md);
}

.notice-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(13, 202, 240, 0.1);
    color: var(--primary-dark);
}

.notice-empty-state h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.notice-empty-state p {
    font-size: 0.925rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.notice-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.notice-empty-btn:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(10, 31, 61, 0.25);
}

/* ===== NOTICE DETAIL PAGE ===== */
.notice-detail-page {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.notice-detail-container {
    max-width: 1280px;
}

.notice-detail-layout {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 992px) {
    .notice-detail-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 2.25rem;
    }
}

.notice-detail-page--pdf {
    padding-top: 2rem;
    padding-bottom: 2rem;
    background: #eef2f7;
}

.notice-detail-layout--pdf {
    align-items: stretch;
}

/* Official Notice Document (Text) */
.notice-official-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(10, 31, 61, 0.1);
    box-shadow: 0 20px 50px rgba(10, 31, 61, 0.1);
    overflow: hidden;
    position: relative;
}

.notice-official-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 95% 5%, rgba(255, 193, 7, 0.06), transparent 35%),
        radial-gradient(circle at 5% 95%, rgba(13, 202, 240, 0.05), transparent 30%);
    pointer-events: none;
}

.notice-official-card--compact {
    margin-top: 1.25rem;
    padding: 1.25rem 1.5rem;
}

.notice-official-letterhead {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem 1.25rem;
    padding: 1.75rem 2rem 1.25rem;
}

.notice-official-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.notice-official-logo-seal {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.notice-official-logo-college {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid rgba(255, 193, 7, 0.4);
    padding: 2px;
    background: var(--white);
}

.notice-official-letterhead-text {
    text-align: center;
}

.notice-official-org {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.notice-official-college {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin: 0 0 0.35rem;
}

.notice-official-college span {
    color: var(--primary-dark);
}

.notice-official-location {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin: 0;
}

.notice-official-stamp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.85rem;
    min-width: 80px;
    border: 2px solid var(--navy);
    border-radius: var(--radius-lg);
    transform: rotate(-3deg);
    background: rgba(255, 255, 255, 0.9);
}

.notice-official-stamp-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #c62828;
}

.notice-official-stamp-date {
    margin-top: 0.2rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--navy);
}

.notice-official-divider {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 2rem;
    color: var(--gold);
}

.notice-official-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.6), transparent);
}

.notice-official-content {
    position: relative;
    z-index: 1;
    padding: 1.5rem 2rem 2rem;
}

.notice-official-type {
    display: inline-flex;
    margin-bottom: 0.65rem;
    padding: 0.25rem 0.7rem;
    background: rgba(13, 202, 240, 0.12);
    color: var(--primary-dark);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius-full);
}

.notice-official-title {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin: 0 0 1.25rem;
    text-align: center;
}

.notice-official-body,
.notice-official-card--compact .notice-official-body {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--gray-700);
}

.notice-official-body p { margin-bottom: 1rem; }
.notice-official-body h1, .notice-official-body h2, .notice-official-body h3 { color: var(--navy); margin: 1.25rem 0 0.65rem; }
.notice-official-body ul, .notice-official-body ol { margin: 0 0 1rem 1.25rem; list-style: disc; }
.notice-official-body ol { list-style: decimal; }
.notice-official-body a { color: var(--primary-dark); text-decoration: underline; }

.notice-official-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 2rem 1.75rem;
    border-top: 1px dashed rgba(10, 31, 61, 0.12);
}

.notice-official-back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    transition: color var(--transition-fast);
}

.notice-official-back:hover { color: var(--primary-dark); }

.notice-official-seal-mark {
    opacity: 0.18;
}

.notice-official-seal-mark img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

/* Full-page PDF Viewer */
.notice-pdf-shell {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(10, 31, 61, 0.1);
}

.notice-pdf-toolbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem 1.25rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
    border-bottom: 1px solid rgba(255, 193, 7, 0.2);
}

.notice-pdf-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.notice-pdf-back:hover { color: var(--gold); }

.notice-pdf-toolbar-info {
    min-width: 0;
    text-align: center;
}

.notice-pdf-toolbar-badge {
    display: inline-flex;
    margin-bottom: 0.25rem;
    padding: 0.15rem 0.55rem;
    background: rgba(255, 193, 7, 0.2);
    color: var(--gold);
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--radius-full);
}

.notice-pdf-toolbar-title {
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    font-weight: 600;
    color: var(--white);
    margin: 0 0 0.2rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-pdf-toolbar-date {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.notice-pdf-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.notice-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    white-space: nowrap;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.notice-pdf-btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.notice-pdf-btn-outline:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
}

.notice-pdf-btn-primary {
    background: linear-gradient(135deg, var(--gold), #ffda47);
    color: var(--navy-dark);
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.3);
}

.notice-pdf-btn-primary:hover {
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255, 193, 7, 0.4);
}

.notice-pdf-summary {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid var(--gray-200);
    border-top: 1px solid rgba(255, 193, 7, 0.25);
    position: relative;
}

.notice-pdf-summary::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold), var(--primary));
}

.notice-pdf-summary-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(13, 202, 240, 0.12);
    color: var(--primary-dark);
    border: 1px solid rgba(13, 202, 240, 0.22);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.notice-pdf-summary-content {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.notice-pdf-summary-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0.55rem;
    padding: 0.18rem 0.65rem;
    background: rgba(10, 31, 61, 0.06);
    color: var(--navy);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--radius-full);
}

.notice-pdf-summary-body {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--gray-700);
    max-width: 720px;
    margin: 0 auto;
}

.notice-pdf-summary-body p {
    margin: 0 0 0.5rem;
}

.notice-pdf-summary-body p:last-child {
    margin-bottom: 0;
}

.notice-pdf-frame-wrap {
    width: 100%;
    height: calc(100vh - 220px);
    min-height: 520px;
    background: #525659;
}

.notice-pdf-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
}

/* Notice Detail Sidebar */
.notice-sidebar-panel {
    background: linear-gradient(145deg, rgba(10, 31, 61, 0.96), rgba(18, 50, 92, 0.92));
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 193, 7, 0.25);
    box-shadow: 0 20px 50px rgba(10, 31, 61, 0.2);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.notice-sidebar-header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.25rem 1.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notice-sidebar-header-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #ffda47);
    color: var(--navy-dark);
    flex-shrink: 0;
}

.notice-sidebar-header h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.notice-sidebar-header p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
    margin: 0;
}

.notice-sidebar-list {
    max-height: 480px;
    overflow-y: auto;
    padding: 0.75rem;
}

.notice-sidebar-list::-webkit-scrollbar {
    width: 4px;
}

.notice-sidebar-list::-webkit-scrollbar-thumb {
    background: rgba(255, 193, 7, 0.4);
    border-radius: var(--radius-full);
}

.notice-sidebar-item a {
    display: grid;
    grid-template-columns: 52px 1fr 24px;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid transparent;
    margin-bottom: 0.5rem;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
    color: inherit;
}

.notice-sidebar-item:last-child a {
    margin-bottom: 0;
}

.notice-sidebar-item a:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 193, 7, 0.25);
    transform: translateX(4px);
}

.notice-sidebar-item.is-active a {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 193, 7, 0.45);
}

.notice-sidebar-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, var(--navy), var(--navy-light));
    text-align: center;
    min-height: 48px;
}

.notice-sidebar-item.is-active .notice-sidebar-date {
    background: linear-gradient(180deg, var(--navy-dark), var(--navy));
}

.notice-sidebar-day {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    color: var(--gold);
}

.notice-sidebar-month {
    margin-top: 0.12rem;
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.78);
}

.notice-sidebar-content {
    min-width: 0;
}

.notice-sidebar-content h4 {
    font-size: 0.82rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-sidebar-item.is-active .notice-sidebar-content h4 {
    color: var(--navy);
}

.notice-sidebar-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.55);
}

.notice-sidebar-item.is-active .notice-sidebar-meta {
    color: var(--gray-500);
}

.notice-sidebar-arrow {
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition-fast);
}

.notice-sidebar-item.is-active .notice-sidebar-arrow {
    color: var(--navy);
}

.notice-sidebar-item a:hover .notice-sidebar-arrow {
    color: var(--gold);
}

.notice-sidebar-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.75rem 1rem 1.25rem;
    padding: 0.65rem 1rem;
    background: linear-gradient(135deg, var(--gold), #ffda47);
    color: var(--navy-dark);
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.notice-sidebar-all-btn:hover {
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 193, 7, 0.4);
}

@media (max-width: 991px) {
    .notice-sidebar-panel {
        position: static;
    }

    .notice-pdf-frame-wrap {
        height: calc(100vh - 280px);
        min-height: 460px;
    }

    .notice-pdf-toolbar {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .notice-pdf-back {
        justify-self: start;
    }

    .notice-pdf-toolbar-actions {
        justify-content: center;
    }

    .notice-pdf-summary {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem 1.15rem;
    }

    .notice-pdf-summary-icon {
        margin-top: 0;
    }

    .notice-official-letterhead {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.25rem 1.25rem 1rem;
    }

    .notice-official-logos {
        flex-direction: row;
        justify-content: center;
    }

    .notice-official-stamp {
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .notice-doc-letterhead {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.65rem;
    }

    .notice-doc-logos {
        justify-content: center;
    }

    .notice-doc-date-stamp {
        margin: 0 auto;
    }

    .notice-doc-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .notice-search-form {
        flex-direction: column;
    }

    .notice-search-field,
    .notice-search-field-main,
    .notice-search-field-date {
        max-width: none;
        width: 100%;
    }

    .notice-search-btn,
    .notice-search-clear {
        width: 100%;
    }

    .notice-official-content,
    .notice-official-footer {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    .notice-official-divider {
        padding: 0 1.15rem;
    }

    .notice-pdf-frame-wrap {
        height: calc(100vh - 320px);
        min-height: 400px;
    }

    .notice-page {
        padding-top: 3rem;
        padding-bottom: 3.5rem;
    }
}

/* ===== NEWSLETTER LIST PAGE ===== */
.newsletter-page {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 55%, var(--gray-100) 100%);
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.newsletter-page-bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.newsletter-page-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
}

.newsletter-page-blob-1 {
    width: 420px;
    height: 420px;
    background: rgba(10, 31, 61, 0.08);
    top: -120px;
    right: -80px;
}

.newsletter-page-blob-2 {
    width: 360px;
    height: 360px;
    background: rgba(255, 193, 7, 0.14);
    bottom: -80px;
    left: -60px;
}

.newsletter-page-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
}

.newsletter-list-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.newsletter-list-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.15rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--gray-600);
    box-shadow: var(--shadow-sm);
}

.newsletter-list-stat strong {
    color: var(--navy);
    font-weight: 700;
}

.newsletter-editions-grid {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .newsletter-editions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .newsletter-editions-grid { grid-template-columns: repeat(3, 1fr); }
}

.newsletter-edition-card {
    height: 100%;
}

.newsletter-edition-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: 0 12px 35px rgba(10, 31, 61, 0.08);
    color: inherit;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.newsletter-edition-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(10, 31, 61, 0.14);
    border-color: rgba(255, 193, 7, 0.45);
}

.newsletter-edition-cover {
    position: relative;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.newsletter-edition-cover-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 31, 61, 0.95) 0%, rgba(18, 50, 92, 0.88) 55%, rgba(255, 193, 7, 0.25) 100%);
}

.newsletter-edition-cover-icon {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 193, 7, 0.45);
    color: var(--gold);
    backdrop-filter: blur(6px);
}

.newsletter-edition-latest {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    padding: 0.28rem 0.65rem;
    background: rgba(229, 57, 53, 0.92);
    color: var(--white);
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    z-index: 2;
}

.newsletter-edition-vol-issue {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    z-index: 2;
}

.newsletter-edition-vol-issue span {
    padding: 0.3rem 0.65rem;
    background: rgba(255, 193, 7, 0.92);
    color: var(--navy-dark);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.newsletter-edition-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.35rem 1.35rem;
}

.newsletter-edition-period {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    padding: 0.35rem 0.75rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 193, 7, 0.14);
    border: 1px solid rgba(255, 193, 7, 0.35);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy);
}

.newsletter-edition-title {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newsletter-edition-excerpt {
    font-size: 0.82rem;
    color: var(--gray-600);
    line-height: 1.55;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newsletter-edition-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.85rem;
    margin-top: auto;
    border-top: 1px solid var(--gray-100);
}

.newsletter-edition-date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 600;
}

.newsletter-edition-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy);
}

.newsletter-edition-link:hover .newsletter-edition-action {
    color: var(--gold-dark, #c9a000);
}

.newsletter-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.newsletter-timeline-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

.newsletter-timeline-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1.75rem;
}

.newsletter-timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #ffda47);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.45);
    z-index: 2;
    flex-shrink: 0;
}

.newsletter-timeline-line {
    flex: 1;
    width: 2px;
    margin-top: 0.35rem;
    background: linear-gradient(180deg, rgba(255, 193, 7, 0.55), rgba(10, 31, 61, 0.08));
    min-height: 40px;
}

.newsletter-card {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--gray-200);
    box-shadow: 0 10px 30px rgba(10, 31, 61, 0.07);
    color: inherit;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.newsletter-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(10, 31, 61, 0.12);
    border-color: rgba(255, 193, 7, 0.45);
}

.newsletter-card-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, rgba(10, 31, 61, 0.06), rgba(13, 202, 240, 0.08));
    color: var(--navy);
}

.newsletter-card-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    padding: 0.2rem 0.5rem;
    background: rgba(229, 57, 53, 0.92);
    color: var(--white);
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius-full);
}

.newsletter-card-content {
    min-width: 0;
}

.newsletter-card-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 0.35rem;
}

.newsletter-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.newsletter-card-excerpt {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0.65rem;
    line-height: 1.55;
}

.newsletter-card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy);
}

.newsletter-card:hover .newsletter-card-action {
    color: var(--gold-dark, #c9a000);
}

.newsletter-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: var(--radius-2xl);
    border: 1px dashed var(--gray-300);
}

.newsletter-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(10, 31, 61, 0.06);
    color: var(--navy);
}

.newsletter-empty-state h3 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.newsletter-empty-state p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.newsletter-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.25rem;
    background: linear-gradient(135deg, var(--gold), #ffda47);
    color: var(--navy-dark);
    font-weight: 700;
    border-radius: var(--radius-full);
}

/* ===== NEWSLETTER FULL-PAGE READER ===== */
body.newsletter-reader-page .footer {
    display: none;
}

body.newsletter-reader-page .semc-site-header {
    display: none;
}

body.newsletter-reader-page {
    overflow: hidden;
    height: 100dvh;
    background: #3d4246;
}

.newsletter-fullpage {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    background: #3d4246;
}

.newsletter-fullpage-topbar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 1.15rem;
    background: rgba(8, 22, 42, 0.72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 193, 7, 0.18);
    z-index: 5;
}

.newsletter-fullpage-topbar-left,
.newsletter-fullpage-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.newsletter-fullpage-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background var(--transition-fast);
}

.newsletter-fullpage-back:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.newsletter-fullpage-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    min-width: 0;
}

.newsletter-fullpage-period {
    padding: 0.32rem 0.7rem;
    background: rgba(255, 193, 7, 0.18);
    border: 1px solid rgba(255, 193, 7, 0.35);
    border-radius: var(--radius-full);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.newsletter-fullpage-vol {
    padding: 0.32rem 0.7rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.newsletter-fullpage-zoom {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-full);
}

.newsletter-fullpage-zoom-btn {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.newsletter-fullpage-zoom-btn:hover {
    background: rgba(255, 193, 7, 0.22);
    color: var(--gold);
}

.newsletter-fullpage-zoom-label {
    min-width: 42px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
}

.newsletter-fullpage-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.48rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    white-space: nowrap;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.newsletter-fullpage-btn-download {
    background: linear-gradient(135deg, var(--gold), #ffda47);
    color: var(--navy-dark);
}

.newsletter-fullpage-btn-download:hover {
    color: var(--navy-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.35);
}

.newsletter-fullpage-btn-open {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.newsletter-fullpage-btn-open:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.newsletter-fullpage-viewer {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    background: #525659;
}

.newsletter-fullpage-viewer iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.newsletter-fullpage-viewer iframe.is-ready {
    opacity: 1;
}

.newsletter-fullpage-loader {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: rgba(61, 66, 70, 0.92);
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
    padding: 1rem;
}

.newsletter-fullpage-loader.is-active {
    display: flex;
}

.newsletter-fullpage-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.newsletter-fullpage-spinner {
    animation: spin 1s linear infinite;
}

.newsletter-fullpage-load-status {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-fullpage-progress-wrap {
    width: min(280px, 72vw);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
}

.newsletter-fullpage-progress-track {
    width: 100%;
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.newsletter-fullpage-progress-bar {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #ffc107 0%, #ffdb4d 100%);
    transition: width 0.18s ease;
}

.newsletter-fullpage-progress-percent {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.03em;
}

.newsletter-fullpage-home:hover {
    background: rgba(255, 193, 7, 0.18);
    color: var(--gold);
}

.newsletter-fullpage-load-btn {
    margin-top: 0.25rem;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 193, 7, 0.45);
    background: rgba(255, 193, 7, 0.14);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.newsletter-fullpage-load-btn:hover {
    background: rgba(255, 193, 7, 0.24);
}

.newsletter-fullpage-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 60vh;
    color: rgba(255, 255, 255, 0.75);
}

.newsletter-fullpage-empty a {
    color: var(--gold);
    font-weight: 700;
}

@media (max-width: 767px) {
    .newsletter-fullpage-back-text,
    .newsletter-fullpage-btn-open-text {
        display: none;
    }

    .newsletter-fullpage-topbar {
        padding: 0.55rem 0.65rem;
        flex-wrap: wrap;
    }

    .newsletter-fullpage-info {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

/* legacy detail styles kept for reference - unused */
.newsletter-detail-page {
    background: var(--gray-50);
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}

.newsletter-detail-container {
    max-width: 1400px;
}

.newsletter-detail-layout {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .newsletter-detail-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        align-items: start;
    }
}

.newsletter-detail-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: 0 16px 45px rgba(10, 31, 61, 0.08);
    overflow: hidden;
}

.newsletter-detail-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.newsletter-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
}

.newsletter-detail-back:hover {
    color: var(--navy);
}

.newsletter-detail-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    background: rgba(255, 193, 7, 0.15);
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.newsletter-detail-period {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    background: rgba(255, 193, 7, 0.15);
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.newsletter-detail-vol {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    background: rgba(10, 31, 61, 0.08);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.newsletter-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.newsletter-sidebar-period {
    display: block;
    font-size: 0.68rem;
    color: rgba(255, 193, 7, 0.85);
    margin-top: 0.15rem;
}

.newsletter-sidebar-vol {
    display: block;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.1rem;
}

.newsletter-detail-title {
    padding: 0 1.5rem;
    margin: 1rem 0 0.75rem;
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    color: var(--navy);
    line-height: 1.3;
}

.newsletter-detail-description {
    padding: 0 1.5rem 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.95rem;
}

.newsletter-pdf-section {
    margin-top: 0.5rem;
}

.newsletter-pdf-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(135deg, rgba(10, 31, 61, 0.96), rgba(18, 50, 92, 0.92));
    color: var(--white);
}

.newsletter-pdf-toolbar-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.newsletter-pdf-toolbar-info strong {
    display: block;
    font-size: 0.9rem;
}

.newsletter-pdf-toolbar-info span {
    display: block;
    font-size: 0.75rem;
    opacity: 0.75;
}

.newsletter-pdf-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.newsletter-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    white-space: nowrap;
}

.newsletter-pdf-btn-download {
    background: linear-gradient(135deg, var(--gold), #ffda47);
    color: var(--navy-dark);
}

.newsletter-pdf-btn-download:hover {
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.35);
}

.newsletter-pdf-btn-open {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.newsletter-pdf-btn-open:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-pdf-viewer {
    position: relative;
    width: 100%;
    height: calc(100vh - 220px);
    min-height: 520px;
    background: #525659;
}

.newsletter-pdf-viewer iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.newsletter-sidebar-panel {
    background: linear-gradient(145deg, rgba(10, 31, 61, 0.96), rgba(18, 50, 92, 0.92));
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 193, 7, 0.25);
    box-shadow: 0 20px 50px rgba(10, 31, 61, 0.2);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.newsletter-sidebar-header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.25rem 1.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-sidebar-header-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: rgba(255, 193, 7, 0.18);
    color: var(--gold);
    flex-shrink: 0;
}

.newsletter-sidebar-header h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.newsletter-sidebar-header p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.75rem;
    margin: 0;
}

.newsletter-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    max-height: 420px;
    overflow-y: auto;
}

.newsletter-sidebar-item a {
    display: grid;
    grid-template-columns: 52px 1fr 20px;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    border-left: 3px solid transparent;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.newsletter-sidebar-item a:hover,
.newsletter-sidebar-item.is-active a {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--gold);
}

.newsletter-sidebar-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.35rem 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    min-width: 48px;
}

.newsletter-sidebar-day {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.newsletter-sidebar-month {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 0.1rem;
}

.newsletter-sidebar-content h4 {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newsletter-sidebar-arrow {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-sidebar-all-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0.5rem 1.25rem 1.25rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.35);
    border-radius: var(--radius-lg);
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
}

.newsletter-sidebar-all-btn:hover {
    background: rgba(255, 193, 7, 0.25);
    color: var(--gold);
}

@media (max-width: 767px) {
    .newsletter-editions-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-pdf-viewer {
        height: calc(100vh - 180px);
        min-height: 420px;
    }

    .newsletter-pdf-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== CLASS TEACHERS PAGE ===== */
.ct-container { max-width: min(1920px, 100%); margin-left: auto; margin-right: auto; padding-left: clamp(1rem, 3vw, 2.5rem); padding-right: clamp(1rem, 3vw, 2.5rem); }
.ct-page { position: relative; overflow: hidden; padding: 2rem 0 4rem; background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 40%, #eef4fa 100%); min-height: calc(100vh - 180px); }
.ct-page-bg { position: absolute; inset: 0; background: radial-gradient(circle at 8% 12%, rgba(73, 128, 181, 0.1), transparent 34%), radial-gradient(circle at 92% 18%, rgba(255, 193, 7, 0.1), transparent 32%); pointer-events: none; }
.ct-page .ct-container { position: relative; z-index: 1; }
.ct-hero { text-align: center; margin-bottom: 2rem; }
.ct-hero-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.9rem; border-radius: 999px; background: rgba(73, 128, 181, 0.12); color: var(--navy); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.75rem; }
.ct-hero-title { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--navy); margin: 0 0 0.65rem; }
.ct-hero-sub { max-width: 760px; margin: 0 auto; color: var(--gray-600); font-size: 0.95rem; line-height: 1.65; }
.ct-filter-bar { display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center; margin-bottom: 2rem; }
.ct-filter-btn { border: 1px solid rgba(10, 31, 61, 0.12); background: #fff; color: var(--navy); padding: 0.45rem 0.95rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; }
.ct-filter-btn:hover, .ct-filter-btn.is-active { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 8px 20px rgba(10, 31, 61, 0.15); }

/* Class block — highlighted header */
.ct-class-block {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(10, 31, 61, 0.08);
    border-radius: 1.5rem;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    margin-bottom: 1.75rem;
    box-shadow: 0 16px 40px rgba(10, 31, 61, 0.06);
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.ct-class-block--many { border-left: 4px solid #4980b5; }
.ct-class-block--few { border-left: 4px solid var(--gold); }
.ct-class-block--focused {
    border-color: rgba(255, 193, 7, 0.55);
    box-shadow: 0 20px 50px rgba(73, 128, 181, 0.18), 0 0 0 3px rgba(255, 193, 7, 0.2);
    transform: scale(1.005);
}
.ct-class-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(73, 128, 181, 0.08) 0%, rgba(255, 193, 7, 0.06) 100%);
    border-bottom: none;
    position: relative;
    overflow: hidden;
}
.ct-class-head::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: translateX(-100%);
    animation: ctHeadShine 4s ease-in-out infinite;
}
@keyframes ctHeadShine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}
.ct-class-head-text { position: relative; z-index: 1; }
.ct-class-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    background: rgba(255, 193, 7, 0.2);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    margin-bottom: 0.3rem;
}
.ct-class-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    animation: ctIconPulse 3s ease-in-out infinite;
}
.ct-class-icon--flower { background: linear-gradient(135deg, #4980b5, #3a6a99); box-shadow: 0 6px 18px rgba(73, 128, 181, 0.35); }
.ct-class-icon--bird { background: linear-gradient(135deg, #ffc107, #e6a800); color: var(--navy); box-shadow: 0 6px 18px rgba(255, 193, 7, 0.35); }
@keyframes ctIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
.ct-class-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    color: var(--navy);
    margin: 0 0 0.2rem;
    background: linear-gradient(135deg, var(--navy) 60%, #4980b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ct-class-desc { margin: 0; color: var(--gray-600); font-size: 0.86rem; }
.ct-class-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
}

/* Cards wrap — few cards: grid; many cards: auto-scroll carousel */
.ct-cards-wrap { position: relative; width: 100%; }
.ct-cards-wrap--center {
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
    padding: 0.5rem 0;
}
.ct-cards-wrap--center .ct-cards-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.1rem;
    width: 100%;
    max-width: none;
    animation: none !important;
    transform: none !important;
}
.ct-cards-wrap--center .ct-card {
    width: 100%;
    max-width: 320px;
    justify-self: center;
    flex-shrink: 0;
    animation: ctCardFadeIn 0.6s ease backwards;
    animation-delay: var(--ct-delay, 0s);
}

.ct-cards-wrap--scroll {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    padding: 0.5rem 0 0.75rem;
}
.ct-cards-wrap--scroll .ct-cards-track {
    display: flex;
    gap: 1.1rem;
    width: max-content;
    animation: none;
}
.ct-cards-wrap--scroll.is-in-view .ct-cards-track {
    animation: ctMarquee 45s linear infinite;
}
.ct-cards-wrap--scroll.is-paused .ct-cards-track {
    animation-play-state: paused;
}
.ct-cards-wrap--scroll .ct-card {
    width: 260px;
    max-width: 260px;
    flex-shrink: 0;
    animation: ctCardFadeIn 0.6s ease backwards;
    animation-delay: var(--ct-delay, 0s);
}
.ct-cards-wrap--scroll .ct-card--clone {
    display: block;
}
@keyframes ctMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes ctCardFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.ct-scroll-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    z-index: 2;
    pointer-events: none;
}
.ct-scroll-fade--left { left: 0; background: linear-gradient(90deg, rgba(255,255,255,0.95), transparent); }
.ct-scroll-fade--right { right: 0; background: linear-gradient(270deg, rgba(255,255,255,0.95), transparent); }

/* Card — premium profile style */
.ct-card {
    position: relative;
    background: #fff;
    border-radius: 1.35rem;
    overflow: hidden;
    border: 1px solid rgba(10, 31, 61, 0.07);
    box-shadow: 0 4px 6px rgba(10, 31, 61, 0.04), 0 14px 32px rgba(10, 31, 61, 0.08);
    transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.ct-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy) 0%, #4980b5 50%, var(--gold) 100%);
    z-index: 2;
}
.ct-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.ct-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 16px rgba(10, 31, 61, 0.06), 0 24px 48px rgba(73, 128, 181, 0.18);
    border-color: rgba(255, 193, 7, 0.35);
}
.ct-card-photo-wrap {
    position: relative;
    padding: 1.25rem 1.25rem 0.75rem;
    background: linear-gradient(180deg, #f0f5fa 0%, #fff 100%);
}
.ct-card-photo {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(145deg, #e8f0f8, #d4e4f2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(10, 31, 61, 0.12), inset 0 0 0 3px rgba(255, 255, 255, 0.9);
}
.ct-card-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid rgba(255, 193, 7, 0.25);
    pointer-events: none;
    z-index: 1;
}
.ct-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.ct-card:hover .ct-card-photo img { transform: scale(1.07); }
.ct-card-initials {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--navy);
    opacity: 0.35;
    letter-spacing: 0.05em;
}

/* Section ribbon on photo */
.ct-card-section {
    position: absolute;
    top: 1.5rem;
    right: 0.85rem;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    background: linear-gradient(135deg, #ffc107, #ffe066);
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.5);
    z-index: 3;
    animation: ctSectionPulse 2.8s ease-in-out infinite;
}
@keyframes ctSectionPulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(255, 193, 7, 0.45); transform: scale(1); }
    50% { box-shadow: 0 6px 20px rgba(255, 193, 7, 0.65); transform: scale(1.05); }
}

.ct-card-body {
    padding: 1rem 1.15rem 1.25rem;
    text-align: center;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(10, 31, 61, 0.05);
}
.ct-card-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4980b5;
    background: rgba(73, 128, 181, 0.1);
    border: 1px solid rgba(73, 128, 181, 0.15);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}
.ct-card-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--navy);
    margin: 0 0 0.65rem;
    line-height: 1.4;
    font-weight: 600;
}
.ct-card-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(73, 128, 181, 0.1), rgba(255, 193, 7, 0.12));
    border: 1px solid rgba(73, 128, 181, 0.15);
    transition: all 0.25s ease;
    margin-top: auto;
}
.ct-card-contact:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    text-decoration: none;
    transform: scale(1.03);
}
.ct-card-contact i { width: 14px; height: 14px; }
.ct-empty { text-align: center; padding: 3rem 1.5rem; background: #fff; border: 2px dashed rgba(10, 31, 61, 0.12); border-radius: 1.25rem; color: var(--gray-600); }
.ct-empty i { width: 48px; height: 48px; color: var(--navy); opacity: 0.4; margin-bottom: 0.75rem; }
@media (max-width: 767px) {
    .ct-page { padding: 1.25rem 0 2.5rem; }
    .ct-container { padding-left: 0.65rem; padding-right: 0.65rem; }
    .ct-class-head { flex-direction: row; align-items: center; padding: 0.7rem 0.85rem; }
    .ct-class-icon { width: 42px; height: 42px; border-radius: 11px; }
    .ct-class-title { font-size: 1.1rem; }
    .ct-class-desc { font-size: 0.78rem; }
    .ct-filter-bar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.35rem; -webkit-overflow-scrolling: touch; }

    /* Mobile: 3 cards per row — grid layout */
    .ct-cards-wrap--center,
    .ct-cards-wrap--scroll {
        overflow: visible;
        mask-image: none;
        -webkit-mask-image: none;
        padding: 0.25rem 0;
    }
    .ct-scroll-fade { display: none; }
    .ct-cards-wrap--center .ct-cards-track,
    .ct-cards-wrap--scroll .ct-cards-track {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.55rem;
        width: 100%;
        max-width: none;
        animation: none !important;
        transform: none !important;
    }
    .ct-cards-wrap--center .ct-card,
    .ct-cards-wrap--scroll .ct-card {
        width: 100%;
        min-width: 0;
    }
    .ct-card--clone { display: none !important; }

    /* Compact card for 3-column mobile */
    .ct-card { border-radius: 0.85rem; }
    .ct-card-accent { height: 3px; }
    .ct-card:hover { transform: translateY(-3px) scale(1); }
    .ct-card-photo-wrap { padding: 0.55rem 0.55rem 0.4rem; }
    .ct-card-photo { border-radius: 0.65rem; aspect-ratio: 1; box-shadow: 0 4px 12px rgba(10, 31, 61, 0.1); }
    .ct-card-photo::before { border-width: 1px; }
    .ct-card-section {
        top: 0.65rem;
        right: 0.45rem;
        font-size: 0.48rem;
        padding: 0.18rem 0.38rem;
        letter-spacing: 0.02em;
        max-width: calc(100% - 0.9rem);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .ct-card-body { padding: 0.45rem 0.35rem 0.55rem; }
    .ct-card-badge {
        font-size: 0.48rem;
        padding: 0.15rem 0.35rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .ct-card-name {
        font-size: 0.72rem;
        margin: 0 0 0.35rem;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .ct-card-contact {
        font-size: 0.58rem;
        padding: 0.28rem 0.45rem;
        gap: 0.2rem;
        width: 100%;
        justify-content: center;
    }
    .ct-card-contact span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .ct-card-contact i { width: 11px; height: 11px; flex-shrink: 0; }
    .ct-card-initials { font-size: 1.4rem; }
}

@media (max-width: 380px) {
    .ct-cards-wrap--center .ct-cards-track,
    .ct-cards-wrap--scroll .ct-cards-track {
        gap: 0.4rem;
    }
    .ct-card-name { font-size: 0.68rem; }
    .ct-card-section { font-size: 0.44rem; }
}

/* ===== PHOTO GALLERY ===== */
.photo-gallery-section {
    position: relative;
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem);
    overflow: hidden;
    background: linear-gradient(180deg, #f4f8fc 0%, #ffffff 45%, #eef6fb 100%);
}

.pg-page-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(13, 202, 240, 0.11), transparent 34%),
        radial-gradient(circle at 88% 12%, rgba(255, 193, 7, 0.1), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(10, 31, 61, 0.04), transparent 40%);
}

.pg-container {
    position: relative;
    z-index: 1;
}

.pg-hero {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.pg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(13, 202, 240, 0.12);
    border: 1px solid rgba(13, 202, 240, 0.22);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pg-hero-badge i {
    width: 15px;
    height: 15px;
}

.pg-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.15;
    margin: 0 0 1rem;
}

.pg-hero-title span {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pg-hero-desc {
    margin: 0 auto;
    max-width: 560px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
}

.pg-hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.pg-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(10, 31, 61, 0.08);
    box-shadow: 0 8px 24px rgba(10, 31, 61, 0.06);
    color: var(--gray-600);
    font-size: 0.85rem;
}

.pg-stat-pill i {
    width: 16px;
    height: 16px;
    color: var(--primary-dark);
}

.pg-stat-pill strong {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
}

.pg-stat-pill span {
    font-weight: 600;
}

.photo-album-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .photo-album-grid { grid-template-columns: repeat(2, 1fr); gap: 1.65rem; }
}

@media (min-width: 992px) {
    .photo-album-grid { grid-template-columns: repeat(3, 1fr); gap: 1.85rem; }
}

@media (min-width: 1200px) {
    .photo-album-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

.photo-album-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(10, 31, 61, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    outline: 1px solid rgba(10, 31, 61, 0.06);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.photo-album-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 48px rgba(10, 31, 61, 0.14);
    text-decoration: none;
    color: inherit;
}

.photo-album-cover {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(145deg, #eef4fa, #dbe8f5);
}

.photo-album-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 31, 61, 0.35) 100%);
    z-index: 1;
    opacity: 0.6;
    transition: opacity 0.35s ease;
}

.photo-album-card:hover .photo-album-cover::before {
    opacity: 0.85;
}

.photo-album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.photo-album-card:hover .photo-album-cover img {
    transform: scale(1.08);
}

.photo-album-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 31, 61, 0.25);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.photo-album-card:hover .photo-album-overlay {
    opacity: 1;
}

.photo-album-view {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.photo-album-view i {
    width: 18px;
    height: 18px;
}

.photo-album-count {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.78rem;
    border-radius: 999px;
    background: rgba(10, 31, 61, 0.78);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.photo-album-count i {
    width: 14px;
    height: 14px;
}

.photo-album-info {
    padding: 1.15rem 1.25rem 1.3rem;
    border-top: 1px solid rgba(10, 31, 61, 0.06);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.photo-album-title {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.55rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.photo-album-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-dark);
    transition: gap 0.25s ease, color 0.25s ease;
}

.photo-album-card:hover .photo-album-link {
    gap: 0.65rem;
    color: var(--primary);
}

.photo-album-link i {
    width: 16px;
    height: 16px;
}

.photo-gallery-empty {
    text-align: center;
    padding: 4rem 1.5rem;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px dashed rgba(13, 202, 240, 0.25);
}

.photo-gallery-empty i {
    width: 56px;
    height: 56px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.photo-gallery-empty h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.photo-gallery-empty p {
    color: var(--gray-600);
    margin-bottom: 0;
}

.photo-gallery-bg-1,
.photo-gallery-bg-2 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.photo-gallery-bg-1 {
    width: 380px;
    height: 380px;
    top: 5%;
    right: -100px;
    background: radial-gradient(circle, rgba(13, 202, 240, 0.14), transparent 70%);
    animation: galleryBgFloat 9s ease-in-out infinite;
}

.photo-gallery-bg-2 {
    width: 300px;
    height: 300px;
    bottom: 8%;
    left: -70px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.12), transparent 70%);
    animation: galleryBgFloat 11s ease-in-out infinite reverse;
}

@media (max-width: 767px) {
    .pg-hero {
        margin-bottom: 2rem;
    }

    .pg-hero-desc {
        font-size: 0.92rem;
    }

    .pg-hero-stats {
        margin-top: 1.25rem;
    }
}

.pg-search-bar {
    margin-bottom: 1.75rem;
}

.pg-search-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.pg-search-bar-dark .notice-search-form {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.pg-search-bar-dark .notice-search-input {
    background: rgba(255, 255, 255, 0.95);
}

.pg-search-bar-dark .notice-search-hint {
    color: rgba(255, 255, 255, 0.75);
}

.photo-album-date {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.photo-album-date i {
    width: 12px;
    height: 12px;
    color: var(--primary-dark);
}

#pgAlbumGrid.is-hidden,
#pgPhotoGrid.is-hidden {
    display: none;
}

.photo-details-section {
    padding-top: 3rem;
}

.photo-details-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.photo-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid rgba(13, 202, 240, 0.2);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.photo-back-btn:hover {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-color: var(--primary);
}

.photo-back-btn i {
    width: 16px;
    height: 16px;
}

.photo-details-count {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(13, 202, 240, 0.1);
    color: var(--primary-dark);
    font-size: 0.875rem;
    font-weight: 600;
}

.photo-details-count i {
    width: 16px;
    height: 16px;
}

.lightbox-counter {
    display: inline-block;
    margin-bottom: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.04em;
}

/* ===== PHOTO GALLERY ANIMATIONS ===== */
@keyframes galleryItemReveal {
    0% {
        opacity: 0;
        transform: translateY(48px) scale(0.86) rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0);
    }
}

@keyframes galleryShineSweep {
    0% { transform: translateX(-120%) skewX(-18deg); }
    100% { transform: translateX(220%) skewX(-18deg); }
}

@keyframes galleryZoomPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.14); }
}

@keyframes galleryBgFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12px, -16px) scale(1.05); }
}

@keyframes galleryAlbumFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.photo-details-section {
    perspective: 1200px;
}

.photo-details-section .achievement-bg-1 {
    animation: galleryBgFloat 8s ease-in-out infinite;
}

.photo-details-section .achievement-bg-2 {
    animation: galleryBgFloat 10s ease-in-out infinite reverse;
}

.photo-details-section .photo-details-header.animate-on-scroll {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-details-section .photo-details-header.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.photo-details-gallery {
    position: relative;
    z-index: 1;
}

.js-gallery-thumb:not(.is-loaded),
.js-album-cover:not(.is-loaded) {
    filter: blur(6px);
    transform: scale(1.02);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.js-gallery-thumb.is-loaded,
.js-album-cover.is-loaded {
    filter: none;
    transform: none;
}

.photo-album-cover {
    background: rgba(10, 31, 61, 0.08);
}

.pg-pagination {
    display: flex;
    justify-content: center;
    margin: 2rem 0 0.5rem;
}

.pg-pagination nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
}

.pg-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pg-pagination .page-link,
.pg-pagination .page-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    min-height: 2.25rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(10, 31, 61, 0.08);
    color: var(--navy, #0a1f3d);
    font-weight: 600;
    text-decoration: none;
}

.pg-pagination .page-item.active span,
.pg-pagination .page-link:hover {
    background: var(--navy, #0a1f3d);
    color: #fff;
}

.photo-details-section .photo-gallery-item.animate-on-scroll {
    opacity: 0;
    transform: translateY(48px) scale(0.86);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
    will-change: transform, opacity;
}

.photo-details-section .photo-gallery-item.animate-on-scroll.is-visible {
    opacity: 1;
    animation: galleryItemReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--item-index, 0) * 0.07s);
}

.photo-details-section .photo-gallery-item {
    position: relative;
}

.photo-details-section .photo-gallery-item.is-visible:hover,
.photo-details-section .photo-gallery-item.animate-on-scroll.is-visible:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.38);
    border-color: rgba(255, 255, 255, 0.38);
    z-index: 2;
    animation: none;
}

.photo-details-section .photo-gallery-item img {
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-details-section .photo-gallery-item:hover img {
    transform: scale(1.12);
}

.photo-gallery-shine {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.photo-gallery-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 40%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0.08) 60%,
        transparent 100%
    );
    transform: translateX(-130%) skewX(-18deg);
}

.photo-details-section .photo-gallery-item:hover .photo-gallery-shine::after {
    animation: galleryShineSweep 0.85s ease forwards;
}

.photo-details-section .photo-gallery-item .achievement-zoom i {
    transition: transform 0.35s ease;
}

.photo-details-section .photo-gallery-item:hover .achievement-zoom i {
    animation: galleryZoomPulse 1.4s ease-in-out infinite;
}

.photo-gallery-index {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 3;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(6, 20, 40, 0.65);
    backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.photo-details-section .photo-gallery-item.is-visible .photo-gallery-index,
.photo-details-section .photo-gallery-item.animate-on-scroll.is-visible .photo-gallery-index {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.3s ease;
    transition-delay: calc(var(--item-index, 0) * 0.07s + 0.35s);
}

.photo-details-section .photo-gallery-item:hover .photo-gallery-index {
    background: rgba(13, 202, 240, 0.85);
    color: #fff;
}

.photo-album-card.animate-on-scroll {
    opacity: 0;
    transform: translateY(36px) scale(0.94);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease;
}

.photo-album-card.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.photo-album-card.is-visible:hover {
    animation: galleryAlbumFloat 3s ease-in-out infinite;
}

.pg-hero.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.pg-hero.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .photo-details-section .photo-gallery-item,
    .photo-album-card.animate-on-scroll,
    .photo-details-section .photo-details-header.animate-on-scroll,
    .pg-hero.animate-on-scroll {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }

    .photo-details-section .achievement-bg-1,
    .photo-details-section .achievement-bg-2,
    .photo-album-card.is-visible:hover {
        animation: none;
    }
}

/* ===== STAFF DIRECTORY (Admin & Supporting) ===== */
.sm-container { max-width: min(1920px, 100%); margin-left: auto; margin-right: auto; padding-left: clamp(1rem, 3vw, 2.5rem); padding-right: clamp(1rem, 3vw, 2.5rem); }
.sm-page { position: relative; overflow: hidden; padding: 2rem 0 4rem; min-height: calc(100vh - 180px); }
.sm-page--admin { background: linear-gradient(180deg, #f0f4f8 0%, #ffffff 42%, #eef3f9 100%); }
.sm-page--supporting { background: linear-gradient(180deg, #f5f8f4 0%, #ffffff 42%, #eef5ef 100%); }
.sm-page-bg { position: absolute; inset: 0; pointer-events: none; }
.sm-page--admin .sm-page-bg { background: radial-gradient(circle at 10% 15%, rgba(73, 128, 181, 0.12), transparent 35%), radial-gradient(circle at 88% 20%, rgba(255, 193, 7, 0.1), transparent 30%); }
.sm-page--supporting .sm-page-bg { background: radial-gradient(circle at 12% 18%, rgba(46, 125, 50, 0.1), transparent 34%), radial-gradient(circle at 90% 15%, rgba(73, 128, 181, 0.08), transparent 32%); }
.sm-page .sm-container { position: relative; z-index: 1; }
.sm-hero { text-align: center; margin-bottom: 2rem; }
.sm-hero-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.9rem; border-radius: 999px; background: rgba(73, 128, 181, 0.12); color: var(--navy); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.75rem; }
.sm-hero-title { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--navy); margin: 0 0 0.65rem; }
.sm-hero-sub { max-width: 780px; margin: 0 auto; color: var(--gray-600); font-size: 0.95rem; line-height: 1.65; }
.sm-stats { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1rem; }
.sm-stat { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.4rem 0.9rem; border-radius: 999px; background: rgba(255,255,255,0.85); border: 1px solid rgba(10,31,61,0.08); font-size: 0.82rem; color: var(--gray-600); }
.sm-stat strong { color: var(--navy); font-size: 1rem; }
.sm-stat--temp { background: rgba(255, 193, 7, 0.12); border-color: rgba(255, 193, 7, 0.3); }
.sm-filter-bar { display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center; margin-bottom: 2rem; }
.sm-filter-btn { border: 1px solid rgba(10, 31, 61, 0.12); background: #fff; color: var(--navy); padding: 0.45rem 0.95rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; }
.sm-filter-btn:hover, .sm-filter-btn.is-active { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 8px 20px rgba(10, 31, 61, 0.15); }

/* Group block */
.sm-group-block {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(10,31,61,0.08);
    border-radius: 1.5rem;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    margin-bottom: 1.75rem;
    box-shadow: 0 16px 40px rgba(10,31,61,0.06);
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.sm-group-block--many { border-left: 4px solid #4980b5; }
.sm-page--supporting .sm-group-block--many { border-left-color: #2e7d32; }
.sm-group-block--few { border-left: 4px solid var(--gold); }
.sm-group-block--focused {
    border-color: rgba(255, 193, 7, 0.55);
    box-shadow: 0 20px 50px rgba(73, 128, 181, 0.18), 0 0 0 3px rgba(255, 193, 7, 0.2);
    transform: scale(1.005);
}
.sm-group-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(73, 128, 181, 0.08) 0%, rgba(255, 193, 7, 0.06) 100%);
    position: relative;
    overflow: hidden;
}
.sm-page--supporting .sm-group-head { background: linear-gradient(135deg, rgba(46, 125, 50, 0.08) 0%, rgba(255, 193, 7, 0.06) 100%); }
.sm-group-head::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: translateX(-100%);
    animation: smHeadShine 4s ease-in-out infinite;
}
@keyframes smHeadShine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}
.sm-group-head-text { position: relative; z-index: 1; }
.sm-group-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    background: rgba(255, 193, 7, 0.2);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    margin-bottom: 0.3rem;
}
.sm-group-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4980b5, #3a6a99);
    color: #fff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    animation: smIconPulse 3s ease-in-out infinite;
    box-shadow: 0 6px 18px rgba(73, 128, 181, 0.35);
}
.sm-page--supporting .sm-group-icon { background: linear-gradient(135deg, #2e7d32, #388e3c); box-shadow: 0 6px 18px rgba(46, 125, 50, 0.35); }
@keyframes smIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
.sm-group-title {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    color: var(--navy);
    margin: 0 0 0.2rem;
    background: linear-gradient(135deg, var(--navy) 60%, #4980b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sm-group-desc { margin: 0; color: var(--gray-600); font-size: 0.86rem; }
.sm-group-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
}

/* Cards wrap — scroll vs center */
.sm-cards-wrap { position: relative; width: 100%; }
.sm-cards-wrap--center {
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
    padding: 0.5rem 0;
}
.sm-cards-wrap--center .sm-cards-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.1rem;
    width: 100%;
    max-width: none;
    animation: none !important;
    transform: none !important;
}
.sm-cards-wrap--center .sm-card {
    width: 100%;
    max-width: 320px;
    justify-self: center;
    flex-shrink: 0;
    animation: smCardFadeIn 0.6s ease backwards;
    animation-delay: var(--sm-delay, 0s);
}

.sm-cards-wrap--scroll {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    padding: 0.5rem 0 0.75rem;
}
.sm-cards-wrap--scroll .sm-cards-track {
    display: flex;
    gap: 1.1rem;
    width: max-content;
    animation: none;
}
.sm-cards-wrap--scroll.is-in-view .sm-cards-track {
    animation: smMarquee 45s linear infinite;
}
.sm-cards-wrap--scroll.is-paused .sm-cards-track {
    animation-play-state: paused;
}
.sm-cards-wrap--scroll .sm-card {
    width: 260px;
    max-width: 260px;
    flex-shrink: 0;
    animation: smCardFadeIn 0.6s ease backwards;
    animation-delay: var(--sm-delay, 0s);
}
.sm-cards-wrap--scroll .sm-card--clone {
    display: block;
}
@keyframes smMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes smCardFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.sm-scroll-fade { position: absolute; top: 0; bottom: 0; width: 48px; z-index: 2; pointer-events: none; }
.sm-scroll-fade--left { left: 0; background: linear-gradient(90deg, rgba(255,255,255,0.95), transparent); }
.sm-scroll-fade--right { right: 0; background: linear-gradient(270deg, rgba(255,255,255,0.95), transparent); }

/* Card — premium style */
.sm-card {
    position: relative;
    background: #fff;
    border-radius: 1.35rem;
    overflow: hidden;
    border: 1px solid rgba(10, 31, 61, 0.07);
    box-shadow: 0 4px 6px rgba(10, 31, 61, 0.04), 0 14px 32px rgba(10, 31, 61, 0.08);
    transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.sm-card--temp { border-style: dashed; border-color: rgba(255,193,7,0.45); }
.sm-card-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy) 0%, #4980b5 50%, var(--gold) 100%);
    z-index: 2;
}
.sm-page--supporting .sm-card-accent { background: linear-gradient(90deg, #2e7d32 0%, #4980b5 50%, var(--gold) 100%); }
.sm-card-inner { display: flex; flex-direction: column; height: 100%; }
.sm-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 16px rgba(10, 31, 61, 0.06), 0 24px 48px rgba(73, 128, 181, 0.18);
    border-color: rgba(255, 193, 7, 0.35);
}
.sm-card-photo-wrap {
    position: relative;
    padding: 1.25rem 1.25rem 0.75rem;
    background: linear-gradient(180deg, #f0f5fa 0%, #fff 100%);
}
.sm-card-photo {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(145deg, #e8f0f8, #d4e4f2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(10, 31, 61, 0.12), inset 0 0 0 3px rgba(255, 255, 255, 0.9);
}
.sm-card-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid rgba(255, 193, 7, 0.25);
    pointer-events: none;
    z-index: 1;
}
.sm-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1); }
.sm-card:hover .sm-card-photo img { transform: scale(1.07); }
.sm-card-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, var(--avatar-color, #4980b5), color-mix(in srgb, var(--avatar-color, #4980b5) 70%, #000));
    letter-spacing: 0.02em;
}
.sm-card-role {
    position: absolute;
    top: 1.5rem;
    right: 0.85rem;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--navy);
    background: linear-gradient(135deg, #ffc107, #ffe066);
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.5);
    z-index: 3;
    max-width: calc(100% - 1.5rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    animation: smRolePulse 2.8s ease-in-out infinite;
}
@keyframes smRolePulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(255, 193, 7, 0.45); transform: scale(1); }
    50% { box-shadow: 0 6px 20px rgba(255, 193, 7, 0.65); transform: scale(1.05); }
}
.sm-card-temp-badge {
    position: absolute;
    top: 1.5rem;
    left: 0.85rem;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy);
    background: rgba(255,193,7,0.92);
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    z-index: 3;
}
.sm-card-body {
    padding: 1rem 1.15rem 1.25rem;
    text-align: center;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(10, 31, 61, 0.05);
}
.sm-card-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4980b5;
    background: rgba(73, 128, 181, 0.1);
    border: 1px solid rgba(73, 128, 181, 0.15);
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.45rem;
}
.sm-card-name {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    color: var(--navy);
    margin: 0 0 0.65rem;
    line-height: 1.4;
    font-weight: 600;
}
.sm-card-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(73, 128, 181, 0.1), rgba(255, 193, 7, 0.12));
    border: 1px solid rgba(73, 128, 181, 0.15);
    transition: all 0.25s ease;
    margin-top: auto;
}
.sm-card-contact:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    text-decoration: none;
    transform: scale(1.03);
}
.sm-card-contact i { width: 14px; height: 14px; }
.sm-empty { text-align: center; padding: 3rem 1.5rem; background: #fff; border: 2px dashed rgba(10,31,61,0.12); border-radius: 1.25rem; color: var(--gray-600); }
.sm-empty i { width: 48px; height: 48px; color: var(--navy); opacity: 0.4; margin-bottom: 0.75rem; }

@media (max-width: 767px) {
    .sm-page { padding: 1.25rem 0 2.5rem; }
    .sm-container { padding-left: 0.65rem; padding-right: 0.65rem; }
    .sm-group-head { flex-direction: row; align-items: center; padding: 0.7rem 0.85rem; }
    .sm-group-icon { width: 42px; height: 42px; border-radius: 11px; }
    .sm-group-title { font-size: 1.05rem; }
    .sm-filter-bar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.35rem; -webkit-overflow-scrolling: touch; }

    .sm-cards-wrap--center,
    .sm-cards-wrap--scroll {
        overflow: visible;
        mask-image: none;
        -webkit-mask-image: none;
        padding: 0.25rem 0;
    }
    .sm-scroll-fade { display: none; }
    .sm-cards-wrap--center .sm-cards-track,
    .sm-cards-wrap--scroll .sm-cards-track {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.55rem;
        width: 100%;
        max-width: none;
        animation: none !important;
        transform: none !important;
    }
    .sm-cards-wrap--center .sm-card,
    .sm-cards-wrap--scroll .sm-card { width: 100%; min-width: 0; }
    .sm-card--clone { display: none !important; }

    .sm-card { border-radius: 0.85rem; }
    .sm-card-accent { height: 3px; }
    .sm-card:hover { transform: translateY(-3px) scale(1); }
    .sm-card-photo-wrap { padding: 0.55rem 0.55rem 0.4rem; }
    .sm-card-photo { border-radius: 0.65rem; box-shadow: 0 4px 12px rgba(10, 31, 61, 0.1); }
    .sm-card-photo::before { border-width: 1px; }
    .sm-card-role {
        top: 0.65rem;
        right: 0.45rem;
        font-size: 0.44rem;
        padding: 0.16rem 0.34rem;
        max-width: calc(100% - 0.9rem);
    }
    .sm-card-temp-badge { top: 0.65rem; left: 0.45rem; font-size: 0.44rem; }
    .sm-card-body { padding: 0.45rem 0.35rem 0.55rem; }
    .sm-card-badge { font-size: 0.44rem; padding: 0.12rem 0.3rem; margin-bottom: 0.25rem; }
    .sm-card-name {
        font-size: 0.72rem;
        margin: 0 0 0.35rem;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .sm-card-contact {
        font-size: 0.58rem;
        padding: 0.28rem 0.45rem;
        gap: 0.2rem;
        width: 100%;
        justify-content: center;
    }
    .sm-card-contact span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .sm-card-contact i { width: 11px; height: 11px; flex-shrink: 0; }
    .sm-card-avatar { font-size: 1.4rem; }
}

@media (max-width: 380px) {
    .sm-cards-wrap--center .sm-cards-track,
    .sm-cards-wrap--scroll .sm-cards-track { gap: 0.4rem; }
    .sm-card-name { font-size: 0.68rem; }
    .sm-card-role { font-size: 0.4rem; }
}

/* ===== Mobile UI refresh (2026-09-02) ===== */
.ua-mobile-tab {
    display: none;
    width: 100%;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    margin-top: 0.75rem;
    border: 1px solid rgba(13, 202, 240, 0.18);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(10, 31, 61, 0.04), rgba(255, 255, 255, 0.98));
    color: var(--navy);
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
}

.ua-mobile-tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: rgba(13, 202, 240, 0.12);
    color: var(--primary-dark);
    flex-shrink: 0;
}

.ua-mobile-tab-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
}

.ua-mobile-tab-text strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
}

.ua-mobile-tab-text small {
    font-size: 0.72rem;
    color: var(--gray-500);
}

.ua-mobile-tab-chevron {
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.ua-mobile-tab.is-open {
    border-color: rgba(255, 193, 7, 0.45);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.08), rgba(255, 255, 255, 1));
}

.ua-mobile-tab.is-open .ua-mobile-tab-chevron {
    transform: rotate(180deg);
}

.contact-form-toggle {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.contact-form-head-text {
    flex: 1;
    min-width: 0;
}

.contact-form-chevron {
    display: none;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.contact-form-wrapper--collapsible .contact-form-panel {
    display: block;
}

.contact-form-wrapper--collapsible:not(.is-open) .contact-form-panel {
    display: none;
}

.contact-form-wrapper--page .contact-form-toggle {
    cursor: default;
    pointer-events: none;
}

.contact-form-wrapper--page .contact-form-chevron {
    display: none !important;
}

.semc-allmenus-card {
    border: 1px solid rgba(13, 202, 240, 0.12);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
    box-shadow: 0 6px 18px rgba(10, 31, 61, 0.07);
}

.semc-allmenus-card-head {
    background: linear-gradient(135deg, rgba(10, 31, 61, 0.05) 0%, rgba(255, 193, 7, 0.06) 100%);
}

.semc-allmenus-card-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--gold);
    box-shadow: 0 3px 10px rgba(10, 31, 61, 0.16);
}

.semc-allmenus-sublist a {
    border-radius: var(--radius-sm);
}

.semc-allmenus-sublist a:hover {
    background: rgba(255, 193, 7, 0.1);
    color: var(--navy-dark);
}

@media (min-width: 992px) {
    .ua-mobile-tab {
        display: none !important;
    }

    .ua-sidebar-panel {
        display: block !important;
    }

    .ua-sidebar-panel > .ua-sidebar-header {
        display: flex !important;
    }

    .contact-form-wrapper--collapsible .contact-form-panel {
        display: block !important;
    }

    .contact-form-chevron {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .notice-feed-viewport,
    .ua-scroll-viewport {
        height: 540px;
    }

    .semc-nav-toggle {
        width: 38px;
        height: 38px;
        padding: 0.45rem;
        border-radius: var(--radius-md);
        background: rgba(10, 31, 61, 0.04);
    }

    .contact-form-head {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .contact-form-chevron {
        display: inline-flex;
    }

    .contact-form-wrapper--collapsible.is-open .contact-form-chevron {
        transform: rotate(180deg);
    }

    .stat-partner-title {
        font-size: 0.68rem;
        line-height: 1.2;
    }

    .stat-partner-desc {
        font-size: 0.6rem;
        line-height: 1.25;
    }
}

/* ===== HOMEPAGE SPLASH LOADER ===== */
body.splash-active,
body.has-splash:not(.splash-done) {
    overflow: hidden;
}

.semc-splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: radial-gradient(circle at 20% 15%, rgba(13, 202, 240, 0.12), transparent 42%),
        radial-gradient(circle at 80% 85%, rgba(255, 193, 7, 0.14), transparent 38%),
        linear-gradient(160deg, #04101f 0%, #0a1f3d 48%, #061428 100%);
    transition: opacity 0.65s ease, visibility 0.65s ease;
}

.semc-splash.is-hiding {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.semc-splash-backdrop {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.semc-splash-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    animation: splashGlowPulse 4s ease-in-out infinite;
}

.semc-splash-glow-1 {
    width: 280px;
    height: 280px;
    top: 12%;
    left: 8%;
    background: rgba(13, 202, 240, 0.28);
}

.semc-splash-glow-2 {
    width: 320px;
    height: 320px;
    right: 6%;
    bottom: 10%;
    background: rgba(255, 193, 7, 0.24);
    animation-delay: 1.2s;
}

.semc-splash-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black 20%, transparent 78%);
    opacity: 0.45;
}

.semc-splash-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 720px);
    text-align: center;
    animation: splashPanelIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.semc-splash-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.85rem, 4vw, 2rem);
    margin-bottom: clamp(1.35rem, 4vw, 2rem);
}

.semc-splash-logo-wrap {
    position: relative;
    width: clamp(72px, 18vw, 118px);
    height: clamp(72px, 18vw, 118px);
    flex-shrink: 0;
    animation: splashLogoFloat 3.2s ease-in-out infinite;
}

.semc-splash-logo-wrap--right {
    animation-delay: 0.8s;
}

.semc-splash-logo-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 193, 7, 0.35);
    animation: splashRingSpin 8s linear infinite;
}

.semc-splash-logo-wrap--right .semc-splash-logo-ring {
    animation-direction: reverse;
}

.semc-splash-logo-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    padding: 0.45rem;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.semc-splash-spinner {
    position: relative;
    width: clamp(52px, 12vw, 72px);
    height: clamp(52px, 12vw, 72px);
    flex-shrink: 0;
}

.semc-splash-spinner-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--gold);
    border-right-color: rgba(13, 202, 240, 0.85);
    animation: splashSpin 1.1s linear infinite;
}

.semc-splash-spinner-core {
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.35) 0%, rgba(255, 193, 7, 0.05) 70%);
    animation: splashCorePulse 1.6s ease-in-out infinite;
}

.semc-splash-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
}

.semc-splash-line {
    margin: 0;
    opacity: 0;
    transform: translateY(16px);
    animation: splashLineIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.semc-splash-line-1 { animation-delay: 0.35s; }
.semc-splash-line-2 { animation-delay: 0.65s; }
.semc-splash-line-3 { animation-delay: 0.95s; }

.semc-splash-kicker {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(0.72rem, 2.8vw, 0.92rem);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.35rem;
}

.semc-splash-title-main {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 4.8vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.15;
    color: var(--white);
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.semc-splash-line-2 {
    font-family: var(--font-heading);
    font-size: clamp(0.92rem, 3.8vw, 1.55rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold);
    line-height: 1.2;
}

.semc-splash-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.95rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 193, 7, 0.45);
    background: rgba(255, 193, 7, 0.1);
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-body);
    font-size: clamp(0.62rem, 2.4vw, 0.78rem);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.semc-splash-progress {
    width: min(280px, 72vw);
    height: 4px;
    margin: clamp(1.2rem, 3.5vw, 1.75rem) auto 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
    opacity: 0;
    animation: splashLineIn 0.5s ease forwards;
    animation-delay: 1.15s;
}

.semc-splash-progress-bar {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    animation: splashProgress 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.25s;
}

@keyframes splashPanelIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes splashLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes splashRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes splashSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes splashCorePulse {
    0%, 100% { transform: scale(0.92); opacity: 0.75; }
    50% { transform: scale(1.08); opacity: 1; }
}

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

@keyframes splashProgress {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes splashGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.45; }
    50% { transform: scale(1.08); opacity: 0.7; }
}

@media (min-width: 768px) {
    .semc-splash-logos {
        gap: 2.25rem;
    }

    .semc-splash-spinner-core {
        inset: 20px;
    }

    .semc-splash-progress {
        width: 320px;
    }
}

@media (max-width: 480px) {
    .semc-splash {
        padding: 1rem 0.85rem;
    }

    .semc-splash-logos {
        gap: 0.65rem;
    }

    .semc-splash-logo-wrap {
        width: 68px;
        height: 68px;
    }

    .semc-splash-spinner {
        width: 48px;
        height: 48px;
    }

    .semc-splash-spinner-core {
        inset: 14px;
    }

    .semc-splash-kicker {
        letter-spacing: 0.12em;
        font-size: 0.68rem;
    }

    .semc-splash-title-main {
        font-size: clamp(0.95rem, 5.2vw, 1.15rem);
        letter-spacing: 0.04em;
    }

    .semc-splash-line-2 {
        font-size: clamp(0.82rem, 4.2vw, 0.98rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .semc-splash,
    .semc-splash-panel,
    .semc-splash-line,
    .semc-splash-logo-wrap,
    .semc-splash-logo-ring,
    .semc-splash-spinner-orbit,
    .semc-splash-spinner-core,
    .semc-splash-glow,
    .semc-splash-progress,
    .semc-splash-progress-bar {
        animation: none !important;
        transition: none !important;
    }

    .semc-splash-line {
        opacity: 1;
        transform: none;
    }

    .semc-splash-progress-bar {
        width: 100%;
    }
}

/* ===== MOBILE BOTTOM DOCK (EduCoach-style) ===== */
    .semc-mobile-dock {
        display: none;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

@media (max-width: 991px) {
    body.has-mobile-dock {
        padding-bottom: calc(5.35rem + env(safe-area-inset-bottom, 0px));
    }

    .semc-mobile-dock {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        align-items: end;
        position: fixed;
        left: 0.55rem;
        right: 0.55rem;
        bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
        z-index: 1200;
        padding: 0.45rem 0.35rem 0.5rem;
        background: linear-gradient(180deg, rgba(12, 32, 62, 0.97) 0%, rgba(8, 22, 44, 0.98) 100%);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 193, 7, 0.22);
        border-radius: 1.15rem;
        box-shadow: 0 14px 36px rgba(6, 20, 40, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .semc-dock-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 0.22rem;
        min-height: 3rem;
        padding: 0.18rem 0.12rem 0.08rem;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.72);
        font-size: 0.58rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        transition: color 0.2s ease, transform 0.2s ease;
    }

    .semc-dock-link:hover,
    .semc-dock-link.is-active {
        color: var(--gold);
    }

    .semc-dock-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.85rem;
        height: 1.85rem;
        border-radius: 0.65rem;
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .semc-dock-icon i {
        width: 1.15rem;
        height: 1.15rem;
    }

    .semc-dock-label {
        line-height: 1;
        white-space: nowrap;
    }

    .semc-dock-link--home {
        position: relative;
        top: -0.75rem;
        gap: 0.24rem;
        color: var(--gold);
    }

    .semc-dock-home-ring {
        position: absolute;
        top: -0.1rem;
        left: 50%;
        transform: translateX(-50%);
        width: 3.15rem;
        height: 3.15rem;
        border-radius: 50%;
        background: linear-gradient(145deg, #ffe082, var(--gold));
        box-shadow: 0 10px 24px rgba(255, 193, 7, 0.5), 0 0 0 3px rgba(12, 32, 62, 0.85);
        z-index: 0;
    }

    .semc-dock-icon--home {
        position: relative;
        z-index: 1;
        width: 2.35rem;
        height: 2.35rem;
        border-radius: 50%;
        background: linear-gradient(145deg, var(--gold), #e6ac00);
        color: var(--navy);
        border: none;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }

    .semc-dock-link.is-active:not(.semc-dock-link--home) .semc-dock-icon {
        background: rgba(255, 193, 7, 0.16);
        border-color: rgba(255, 193, 7, 0.35);
        color: var(--gold);
    }

    .semc-dock-icon--home i {
        width: 1.25rem;
        height: 1.25rem;
    }

    .semc-dock-link--home.is-active .semc-dock-home-ring {
        box-shadow: 0 12px 28px rgba(255, 193, 7, 0.55), 0 0 0 3px rgba(10, 31, 61, 0.08);
    }

    .semc-dock-link--home .semc-dock-label {
        position: relative;
        z-index: 1;
        font-weight: 800;
    }
}

@media (max-width: 380px) {
    .semc-dock-label {
        font-size: 0.56rem;
    }

    .semc-dock-link--home {
        top: -0.75rem;
    }
}

/* Event detail page */
.event-detail-page {
    padding: 2rem 0 4rem;
}

.event-detail-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 12px 40px rgba(10, 31, 61, 0.08);
    border: 1px solid rgba(10, 31, 61, 0.06);
}

.event-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1rem;
}

.event-detail-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.92rem;
    color: #64748b;
}

.event-detail-type {
    background: rgba(201, 162, 39, 0.12);
    color: #8a6d12;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-weight: 600;
}

.event-detail-title {
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    line-height: 1.25;
    color: #0a1f3d;
    margin: 0 0 1.25rem;
    font-weight: 800;
}

.event-detail-description {
    color: #334155;
    line-height: 1.75;
    font-size: 1rem;
}

.event-detail-description p {
    margin-bottom: 1rem;
}

.event-detail-description img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

.event-detail-gallery-wrap {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(10, 31, 61, 0.08);
}

.event-detail-gallery-title {
    font-size: 1.35rem;
    color: #0a1f3d;
    margin: 0.35rem 0 0;
    font-weight: 700;
}

.event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
    width: 100%;
}

.event-gallery-item {
    margin: 0;
    min-width: 0;
}

.event-gallery-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
}

.event-gallery-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 0.85rem;
    overflow: hidden;
    background: #eef2f7;
    box-shadow: 0 8px 22px rgba(10, 31, 61, 0.08);
    border: 1px solid rgba(10, 31, 61, 0.06);
}

.event-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.event-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(10, 31, 61, 0.28);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-gallery-overlay i {
    width: 36px;
    height: 36px;
    padding: 0.45rem;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.95);
    color: #fff;
}

.event-gallery-trigger:hover .event-gallery-image img,
.event-gallery-trigger:focus-visible .event-gallery-image img {
    transform: scale(1.04);
}

.event-gallery-trigger:hover .event-gallery-overlay,
.event-gallery-trigger:focus-visible .event-gallery-overlay {
    opacity: 1;
}

@media (min-width: 768px) {
    .event-gallery-grid {
        gap: 1rem;
    }

    .event-gallery-image {
        border-radius: 1rem;
    }
}

@media (max-width: 767px) {
    .event-detail-page {
        padding-top: 1.25rem;
    }

    .event-detail-card {
        padding: 1rem;
        border-radius: 1rem;
    }
}
