@import url('https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,600;0,7..72,700;1,7..72,400&family=Noto+Serif+Devanagari:wght@400;600;700&family=Plus+Jakarta+Sans:wght@700;800&family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap');

/* ============================================
   Jan Ayush Sansthan - Modern Website Design
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --primary: #d2691e;
    --primary-dark: #b85a1a;
    --primary-light: #e67e22;
    
    /* Secondary Colors */
    --secondary: #008b8b;
    --secondary-dark: #006666;
    --secondary-light: #00a8a8;
    
    /* Accent Colors */
    --accent-blue: #0066cc;
    --accent-yellow: #ffd700;
    --accent-green: #27ae60;
    --accent-red: #e74c3c;
    
    /* Neutral Colors */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #2c3e50;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #e0e0e0;

    /* Study volume pages — book typography */
    --study-book-font: "Literata", Georgia, "Times New Roman", serif;
    --study-book-font-hi: "Noto Serif Devanagari", "Literata", Georgia, serif;
    --study-book-size: 1.085rem;
    --study-book-leading: 1.82;
    --study-book-ink: #2c241c;
    --study-book-ink-muted: #4a4036;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Main text column (home welcome + inner pages) */
    --content-max-width: 1080px;

    /* Hero: JS sets pixel height from 1st slide; fallback = old min-height */
    --hero-slider-height: clamp(380px, 52vh, 600px);

    /* Header org name: teal → saffron (matches primary + secondary) */
    --site-title-gradient: linear-gradient(
        115deg,
        var(--secondary-dark) 0%,
        var(--secondary) 28%,
        var(--primary) 72%,
        var(--primary-dark) 100%
    );
}

/* Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.skip-link {
    position: absolute;
    left: 0;
    top: -120px;
    z-index: 10000;
    padding: 10px 16px;
    background: var(--secondary);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 10px 0;
    box-shadow: var(--shadow-md);
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Homepage: sticky Admission {year} tab — vertical strip, teal→green gradient + bold sans */
.sticky-admission-tab {
    /* Tall enough: after -90°, string width runs along viewport vertical axis = needs this inner height */
    --tab-h: 188px;
    --tab-pad-y: 10px;
    position: fixed;
    right: 0;
    top: 56%;
    transform: translateY(-50%);
    z-index: 9998;
    box-sizing: border-box;
    width: 36px;
    height: var(--tab-h);
    padding: calc(var(--tab-pad-y) / 2) 4px calc(var(--tab-pad-y) / 2) 7px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(
        168deg,
        var(--secondary-light) 0%,
        var(--secondary) 28%,
        var(--accent-green) 62%,
        #1a7a43 100%
    );
    color: #fff;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-weight: 800;
    font-size: 0.9375rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: 13px 0 0 13px;
    box-shadow: -4px 4px 20px rgba(15, 23, 42, 0.18), -2px 0 16px rgba(0, 139, 139, 0.28);
    transition: background 0.25s ease, box-shadow 0.25s ease, filter 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.sticky-admission-tab__inner {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.sticky-admission-tab:hover {
    background: linear-gradient(
        168deg,
        var(--secondary) 0%,
        var(--accent-green) 45%,
        #196f3d 100%
    );
    box-shadow: -5px 5px 24px rgba(15, 23, 42, 0.22), -2px 0 18px rgba(39, 174, 96, 0.35);
    color: #fff;
    filter: brightness(1.04);
}

.sticky-admission-tab:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -6px;
}

.sticky-admission-tab__text {
    display: block;
    white-space: nowrap;
    line-height: 1;
    box-sizing: border-box;
    padding: 0 4px;
    margin: 0;
    font-family: inherit;
    font-weight: 800;
    transform: rotate(-90deg);
    transform-origin: center center;
}

@media (max-width: 576px) {
    .sticky-admission-tab {
        --tab-h: 168px;
        --tab-pad-y: 8px;
        top: 58%;
        width: 34px;
        padding: calc(var(--tab-pad-y) / 2) 3px calc(var(--tab-pad-y) / 2) 6px;
        font-size: 0.875rem;
        font-weight: 800;
        border-radius: 11px 0 0 11px;
        box-shadow: -3px 3px 14px rgba(15, 23, 42, 0.18), -2px 0 14px rgba(0, 139, 139, 0.24);
    }

    .sticky-admission-tab__text {
        padding: 0 3px;
    }
}

@media print {
    .sticky-admission-tab {
        display: none !important;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

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

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(8px, 3vw, 20px);
}

/* Top Bar */
.top-bar {
    background: #1e3a5f;
    color: white;
    padding: 10px 0;
    font-size: 13px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: slide 15s infinite;
}

@keyframes slide {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    padding: 5px 0;
}

.contact-info span:hover {
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.contact-info i {
    font-size: 14px;
    color: var(--accent-yellow);
}

/* Top Menu Right */
.top-menu-right {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.top-menu-links {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-right: 25px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.top-menu-links a {
    color: white;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 4px;
}

.top-menu-links a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.top-menu-links a.is-current {
    background: rgba(255,255,255,0.2);
    font-weight: 600;
}

.top-menu-links a i {
    font-size: 12px;
}

.top-social-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.top-social-links a {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

.top-social-links a:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px) scale(1.1);
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

.follow-label {
    margin-right: 10px;
    font-weight: 600;
    color: inherit;
}

.main-footer .follow-label {
    color: rgba(255, 255, 255, 0.92);
}

/* Header */
.main-header {
    background: #f5f5dc;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-lg);
    background: #f5f5dc;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    gap: 20px;
    min-width: 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    min-width: 0;
}

.logo-img {
    display: block;
    height: auto;
    width: auto;
    max-height: 56px;
    max-width: min(280px, 42vw);
    object-fit: contain;
    flex-shrink: 1;
    transition: var(--transition);
}

.logo-link:hover .logo-img {
    transform: scale(1.03);
    filter: drop-shadow(0 4px 12px rgba(44, 95, 95, 0.2));
}

.site-brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    min-width: 0;
}

.site-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    white-space: nowrap;
    line-height: 1.2;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
    .site-title {
        background: var(--site-title-gradient);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

.site-tagline {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.35;
    letter-spacing: 0.02em;
    max-width: 20rem;
}

@media (max-width: 992px) {
    .site-title {
        white-space: normal;
    }
}

/* Home: larger header logo (no circle), tighter vertical padding */
.page-home .nav-wrapper {
    padding: 8px 0;
    align-items: center;
}

.page-home .logo-img {
    max-height: 76px;
    max-width: min(360px, 52vw);
}

.page-home .site-title {
    font-size: 25px;
    line-height: 1.15;
}

.page-home .site-tagline {
    font-size: 13px;
    max-width: 24rem;
}

/* Primary nav shell (all pages) */
.navbar {
    width: 100%;
    min-width: 0;
}

/* Navigation */
.nav-menu {
    flex: 1;
    min-width: 0;
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 2px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.main-nav > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 12px;
    font-weight: 600;
    color: #2c3e50;
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
    font-size: 13px;
    white-space: nowrap;
}

.main-nav > li > a i {
    font-size: 12px;
    width: 14px;
    text-align: center;
    transition: var(--transition);
    opacity: 0.8;
    flex-shrink: 0;
}

.main-nav > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(210, 105, 30, 0.1), rgba(0, 139, 139, 0.1));
    border-radius: 8px;
    opacity: 0;
    transition: var(--transition);
}

.main-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: var(--transition);
    z-index: 1;
}

.main-nav > li > a:hover::before,
.main-nav > li.active > a::before {
    opacity: 1;
}

.main-nav > li > a:hover::after,
.main-nav > li.active > a::after {
    width: 70%;
}

.main-nav > li > a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.main-nav > li > a:hover i {
    transform: scale(1.2);
    color: var(--primary);
}

.main-nav > li.active > a {
    color: var(--primary);
}

.main-nav > li.active > a i {
    color: var(--primary);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 10px;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    background: var(--bg-white);
    list-style: none;
    min-width: 280px;
    box-shadow: var(--shadow-xl);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: var(--transition);
    z-index: 1000;
    padding: 15px 0;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--primary);
}

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

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-dark);
    transition: var(--transition);
}

.dropdown-menu a i {
    font-size: 14px;
    width: 18px;
    text-align: center;
    color: var(--primary);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(210, 105, 30, 0.1), transparent);
    color: var(--primary);
    padding-left: 28px;
    transform: translateX(5px);
}

.dropdown-menu a:hover i {
    transform: scale(1.2);
    color: var(--secondary);
}

/* Header Actions */
.header-actions {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.search-toggle {
    background: var(--bg-light);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-dark);
    transition: var(--transition);
}

.search-toggle:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.search-box {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    width: min(320px, calc(100vw - 24px));
    min-width: 0;
    max-width: calc(100vw - 16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.search-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-box form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-box label {
    font-weight: 600;
    color: var(--text-dark);
}

.search-box input {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1);
}

.search-box button {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
    padding: 8px;
}

/* Hero Section */
.hero-slider.hero-slider--measuring {
    height: auto !important;
    min-height: clamp(380px, 52vh, 600px) !important;
}

.hero-slider {
    position: relative;
    height: var(--hero-slider-height);
    min-height: var(--hero-slider-height);
    padding: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8e8e8 50%, #f0f4f8 100%);
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(44, 95, 95, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(210, 105, 30, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(44,95,95,0.1)"/></svg>');
    opacity: 0.6;
}

.hero-slider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(255,255,255,0.9), transparent);
    z-index: 1;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.slider-track {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    width: 100%;
}

.slider-controls {
    display: contents;
}

.slide {
    display: none;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background-color: #e8eef2;
}

.slide.active {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
    animation: slideFadeIn 0.8s ease-out;
}

/* Hero: full-section CSS background (photo behind content) */
.slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #e8eef2;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Readability: stronger light wash on the left + room for glass text panel */
.slide-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(252, 253, 255, 0.78) 0%,
        rgba(248, 250, 252, 0.72) 14%,
        rgba(248, 250, 252, 0.58) 26%,
        rgba(248, 250, 252, 0.40) 40%,
        rgba(248, 250, 252, 0.18) 55%,
        rgba(248, 250, 252, 0.08) 68%,
        transparent 82%
    );
}

@keyframes slideFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 32px 48px 40px 48px;
    max-width: 1350px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    min-height: 0;
    box-sizing: border-box;
}

.slide-left {
    z-index: 2;
    position: relative;
    max-width: 640px;
    width: 100%;
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-text {
    color: #1a4d4d;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: fadeInText 1s ease-out;
}

.org-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e3a5f;
    letter-spacing: 1px;
}

.org-name-hindi {
    font-size: 18px;
    margin-bottom: 12px;
    color: #2c5f5f;
    font-weight: 600;
}

.main-heading {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.22;
    margin-bottom: 14px;
    color: #0a1f33;
    position: relative;
    z-index: 1;
    letter-spacing: -0.35px;
    animation: fadeInUp 0.8s ease-out;
    max-width: min(100%, 40rem);
    text-shadow:
        0 0 1px rgba(255, 255, 255, 1),
        0 0 12px rgba(255, 255, 255, 0.95),
        0 0 28px rgba(255, 255, 255, 0.75),
        0 0 48px rgba(255, 255, 255, 0.45),
        0 0 64px rgba(0, 139, 139, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.12);
}

.hero-subheading {
    font-size: clamp(1.2rem, 2.6vw, 1.75rem);
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 18px;
    padding: 0;
    color: #102a45;
    letter-spacing: -0.02em;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.95),
        0 0 20px rgba(255, 255, 255, 0.65),
        0 1px 3px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.85s ease-out 0.08s both;
}

.main-heading.animated-heading {
    animation: slideInFade 1s ease-out;
}

@keyframes slideInFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.banner-strip {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    padding: 14px 32px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    font-weight: 700;
    font-size: 22px;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.2) inset,
        0 10px 30px rgba(0, 102, 102, 0.35),
        0 4px 12px rgba(15, 39, 68, 0.12);
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.45),
        0 0 24px rgba(255, 255, 255, 0.25),
        0 1px 3px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
    letter-spacing: 0.8px;
    animation: slideInScale 0.9s ease-out 0.3s both;
}

@keyframes slideInScale {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.banner-strip:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(210, 105, 30, 0.45);
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
}

.banner-strip::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.banner-strip .plus {
    color: var(--accent-yellow);
    font-size: 32px;
    text-shadow:
        0 0 12px rgba(255, 215, 0, 0.95),
        0 0 26px rgba(255, 215, 0, 0.55);
}

.banner-strip .banner-text {
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.5),
        0 1px 3px rgba(0, 0, 0, 0.35);
    min-width: 0;
}

/* Home hero: one line inside pill; undo slide-text aggressive wrapping */
.page-home .slide-text .banner-strip {
    flex-wrap: nowrap;
    align-items: center;
    max-width: 100%;
    box-sizing: border-box;
    font-size: clamp(0.62rem, 0.42vw + 0.58rem, 1.22rem);
    letter-spacing: 0.15px;
    gap: clamp(6px, 1vw, 16px);
    padding-inline: clamp(8px, 1.6vw, 26px);
    padding-block: clamp(8px, 0.9vw, 14px);
}

.page-home .slide-text .banner-strip,
.page-home .slide-text .banner-strip .banner-text,
.page-home .slide-text .banner-strip .banner-text a {
    overflow-wrap: normal;
    word-break: normal;
}

.page-home .slide-text .banner-strip .banner-text,
.page-home .slide-text .banner-strip .banner-text a {
    white-space: nowrap;
    min-width: min-content;
}

.page-home .slide-text .banner-strip .plus {
    flex-shrink: 0;
    line-height: 1;
    font-size: clamp(0.95rem, 0.55vw + 0.62rem, 1.75rem);
}

.banner-strip .banner-text a {
    color: inherit;
    text-decoration: none;
}

.banner-strip .banner-text a:hover {
    color: #fff;
    opacity: 0.95;
}

/* Home hero — primary actions */
.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    align-items: center;
    margin-top: 18px;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: clamp(0.9rem, 0.2vw + 0.86rem, 0.98rem);
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

.hero-cta-btn i {
    font-size: 1.05em;
    flex-shrink: 0;
}

.hero-cta-btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 102, 102, 0.35);
}

.hero-cta-btn--primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 102, 102, 0.42);
}

.hero-cta-btn--outline {
    background: rgba(255, 255, 255, 0.88);
    color: #0a1f33;
    border-color: rgba(22, 67, 102, 0.28);
    box-shadow: 0 2px 10px rgba(15, 39, 68, 0.08);
}

.hero-cta-btn--outline:hover {
    color: #173f5f;
    background: #fff;
    border-color: rgba(22, 67, 102, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 39, 68, 0.12);
}

.main-heading a {
    color: inherit;
    text-decoration: none;
}

.main-heading a:hover {
    opacity: 0.88;
}

.sub-text.blue a,
.sub-text.yellow a {
    color: #0a5c7a;
    font-weight: 700;
    text-decoration: none;
}

.sub-text.blue a:hover,
.sub-text.yellow a:hover {
    color: var(--secondary-dark);
}

.sub-text {
    font-size: 19px;
    font-weight: 600;
    margin: 16px 0;
    line-height: 1.65;
    animation: fadeInUp 1s ease-out 0.2s both;
    opacity: 1;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.95),
        0 0 20px rgba(255, 255, 255, 0.65),
        0 0 36px rgba(255, 255, 255, 0.35),
        0 1px 2px rgba(0, 0, 0, 0.08);
}

.sub-text.blue {
    color: #0c2038;
    font-weight: 600;
}

.sub-text.yellow {
    color: #a34f0f;
    font-weight: 600;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.95),
        0 0 22px rgba(255, 248, 220, 0.85),
        0 0 36px rgba(255, 220, 170, 0.45),
        0 1px 2px rgba(0, 0, 0, 0.06);
}

@keyframes fadeInText {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Homepage content blocks (moved from inline styles) */
.welcome-lead {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.welcome-legal-block {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px;
    border-radius: 16px;
    border-left: 5px solid var(--primary);
    margin: 30px 0;
}

.welcome-legal-block h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.welcome-legal-block h3 .fa-gavel {
    margin-right: 10px;
}

.welcome-legal-block .legal-case-line {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.welcome-legal-block .legal-case-ref {
    margin-top: 15px;
}

/* Supreme Court building — legal / CMS narrative sections */
.supreme-court-figure {
    margin: 0 0 18px;
    max-width: min(100%, 440px);
}

.supreme-court-figure figcaption {
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.4;
}

.supreme-court-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    object-fit: cover;
    max-height: 200px;
}

.supreme-court-img--contain {
    object-fit: contain;
    background: rgba(255, 255, 255, 0.92);
    padding: 8px;
}

.course-legal-banner__grid {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.course-legal-banner__copy > :first-child {
    margin-top: 0;
}

@media (max-width: 640px) {
    .course-legal-banner__grid {
        grid-template-columns: 1fr;
    }

    .course-legal-banner__grid .supreme-court-figure {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

.supreme-court-figure--on-dark .supreme-court-img {
    max-height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.supreme-court-figure--on-dark figcaption {
    color: rgba(255, 255, 255, 0.82);
}

.course-highlights-panel {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    color: white;
}

.course-highlights-panel h3 {
    color: white;
    margin-bottom: 20px;
}

.course-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px 18px;
    text-align: left;
}

.course-highlights-cta {
    display: inline-block;
    margin-top: 25px;
    padding: 15px 40px;
    background: white;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
}

.course-highlights-cta:hover {
    color: var(--primary-dark);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.news-notice-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.news-notice-heading-row h2 .section-heading-icon {
    margin-right: 10px;
}

.news-notice-card {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary);
}

.news-notice-card--accent {
    border-left-color: var(--secondary);
    margin-bottom: 0;
}

.news-notice-card--important {
    border-left-color: var(--accent-red);
    position: relative;
}

.news-notice-card__badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    background: var(--accent-red);
    color: white;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
}

.news-notice-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 14px;
}

.news-notice-card__meta--padded-top {
    margin-top: 25px;
}

.news-notice-card h4 {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.news-notice-card p {
    margin: 0;
    font-size: 14px;
}

.news-notice-card--blue-accent {
    border-left-color: var(--accent-blue);
    margin-bottom: 0;
}

/* Slider Navigation (desktop: hidden until pointer/focus inside hero) */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(22, 67, 102, 0.28);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: #173f5f;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.28s ease,
        visibility 0.28s ease,
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(18, 52, 82, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-slider:hover .slider-nav,
.hero-slider:focus-within .slider-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.slider-nav:hover {
    background: rgba(22, 67, 102, 0.9);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 24px rgba(18, 52, 82, 0.3);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(44, 95, 95, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    width: 35px;
    border-radius: 6px;
    border-color: white;
    box-shadow: var(--shadow-md);
}

/* Sections */
section {
    padding: 80px 0;
}

section.hero-slider {
    padding: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: var(--content-max-width);
    margin: 20px auto 0;
}

/* Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #f0f0f0 100%);
    position: relative;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
}

.welcome-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    text-align: center;
}

.welcome-content h2 {
    font-size: 36px;
    margin-bottom: 25px;
}

.welcome-content p {
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}

.welcome-content p a,
.cms-diploma-section__intro a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.welcome-content p a:hover,
.cms-diploma-section__intro a:hover {
    color: var(--primary-dark);
}

.courses-section .course-card h3 a {
    color: var(--primary);
    text-decoration: none;
}

.courses-section .course-card h3 a:hover {
    color: var(--primary-dark);
}

.courses-section .course-card p a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.courses-section .course-card p a:hover {
    color: var(--primary-dark);
}

.read-more-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.read-more-btn:hover::before {
    width: 300px;
    height: 300px;
}

.read-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Home — reviews band + marquee cards (hero → welcome) — Google-style reviews */
.home-reviews-band {
    --gr-font: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --gr-ink: #202124;
    --gr-ink-secondary: #5f6368;
    --gr-ink-body: #3c4043;
    --gr-border: #dadce0;
    --gr-link: #1a73e8;
    --gr-star: #fbbc04;
    --gr-bg: #fff;
    --gr-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    --gr-shadow-hover: 0 1px 3px rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
    padding: 40px 0 36px;
    background: #f8f9fa;
    border-bottom: 1px solid var(--gr-border);
    font-family: var(--gr-font);
}

.home-reviews-header {
    display: flex;
    align-items: center;
    gap: 18px 22px;
    flex-wrap: wrap;
    max-width: 56rem;
    margin: 0 auto 22px;
    padding: 0 4px;
}

.home-reviews-header__logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.12);
    border: 1px solid rgba(0, 105, 92, 0.15);
    flex-shrink: 0;
    background: #fff;
}

.home-reviews-header__text {
    flex: 1 1 min(100%, 28rem);
    min-width: 0;
}

.home-reviews-header h2 {
    margin: 0;
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 400;
    color: var(--gr-ink);
    letter-spacing: 0;
    line-height: 1.3;
    font-family: var(--gr-font);
}

/* Full-bleed marquee row */
.home-reviews-marquee-shell {
    width: 100%;
    overflow: hidden;
    padding: 6px 0 18px;
}

.home-reviews-marquee {
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 48px, #000 calc(100% - 48px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 48px, #000 calc(100% - 48px), transparent 100%);
}

.home-reviews-marquee__track {
    display: flex;
    width: max-content;
    animation: home-reviews-marquee-scroll 70s linear infinite;
    will-change: transform;
}

.home-reviews-marquee:hover .home-reviews-marquee__track {
    animation-play-state: paused;
}

@keyframes home-reviews-marquee-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.home-reviews-marquee__group {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 14px;
    padding: 4px 10px 4px 10px;
    box-sizing: border-box;
}

/* Card: Google Maps–style review (flat white, Roboto, Material-like shadow) */
.home-review-marquee-card {
    flex: 0 0 auto;
    width: min(280px, 82vw);
    margin: 0;
    padding: 16px 18px 18px;
    background: var(--gr-bg);
    border-radius: 8px;
    border: 1px solid var(--gr-border);
    box-shadow: var(--gr-shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
    font-family: var(--gr-font);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-review-marquee-card:hover {
    box-shadow: var(--gr-shadow-hover);
    border-color: #c4c7c5;
}

.home-review-marquee-card__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-top: 0;
}

.home-review-marquee-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--gr-font);
    text-shadow: none;
}

/* Per-reviewer avatar colours (flatter, closer to Google profile circles) */
.home-review-marquee-card__avatar--1 {
    background: linear-gradient(145deg, #4285f4, #1967d2);
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.25);
}

.home-review-marquee-card__avatar--2 {
    background: linear-gradient(145deg, #00acc1, #00838f);
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.25);
}

.home-review-marquee-card__avatar--3 {
    background: linear-gradient(145deg, #f9ab00, #e37400);
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.25);
}

.home-review-marquee-card__avatar--4 {
    background: linear-gradient(145deg, #a142f4, #7627bb);
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.25);
}

.home-review-marquee-card__avatar--5 {
    background: linear-gradient(145deg, #1e8e3e, #137333);
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.25);
}

.home-review-marquee-card__avatar--6 {
    background: linear-gradient(145deg, #ea4335, #c5221f);
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.25);
}

.home-review-marquee-card__avatar--7 {
    background: linear-gradient(145deg, #5f6368, #3c4043);
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.25);
}

.home-review-marquee-card__who {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.home-review-marquee-card__name {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gr-ink);
    line-height: 1.43;
    letter-spacing: 0;
}

.home-review-marquee-card__role {
    margin: 0;
    font-size: 0.75rem;
    color: var(--gr-ink-secondary);
    line-height: 1.4;
    font-weight: 400;
}

.home-review-marquee-card__role a {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
}

.home-review-marquee-card__role a:hover {
    color: inherit;
}

/* “Human” review row: relative time / context (maps-style) */
.home-review-marquee-card__meta {
    margin: 5px 0 0;
    font-size: 0.6875rem;
    color: var(--gr-ink-secondary);
    line-height: 1.35;
    font-weight: 400;
}

.home-review-marquee-card__star--empty {
    color: #e8eaed;
}

.home-review-marquee-card__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.home-review-marquee-card__stars {
    color: var(--gr-star);
    font-size: 0.6875rem;
    letter-spacing: 1px;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
    transform: translateZ(0);
}

.home-review-marquee-card__stars i {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

.home-review-marquee-card__stars .fa-star {
    filter: none;
}

.home-review-marquee-card__score {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gr-ink-secondary);
    letter-spacing: 0;
}

.home-review-marquee-card__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.43;
    color: var(--gr-ink-body);
    text-align: left;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

.home-review-marquee-card__text a {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
}

.home-review-marquee-card__text a:hover {
    color: inherit;
}

@media (prefers-reduced-motion: reduce) {
    .home-reviews-marquee__track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        max-width: 72rem;
        margin: 0 auto;
        justify-content: center;
        row-gap: 16px;
    }

    .home-reviews-marquee__group[aria-hidden="true"] {
        display: none;
    }

    .home-reviews-marquee__group {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .home-reviews-marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

@media (max-width: 576px) {
    .home-reviews-band {
        padding: 28px 0 26px;
    }

    .home-reviews-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .home-reviews-header__logo {
        width: 56px;
        height: 56px;
    }

    .home-reviews-marquee {
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12px, #000 calc(100% - 12px), transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0%, #000 12px, #000 calc(100% - 12px), transparent 100%);
    }

    .home-reviews-marquee__track {
        animation-duration: 55s;
    }
}

/* Courses Section */
.courses-section {
    background: var(--bg-white);
    position: relative;
}

.courses-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--secondary));
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background: linear-gradient(135deg, var(--bg-white), #fafafa);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(210, 105, 30, 0.1), transparent);
    transition: left 0.5s;
}

.course-card:hover::before {
    left: 100%;
}

.course-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
    background: var(--bg-white);
}

.course-icon {
    font-size: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    transition: var(--transition);
    display: inline-block;
}

.course-card:hover .course-icon {
    transform: scale(1.2) rotate(5deg);
}

.course-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.course-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.course-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.course-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* CMS & ED Diploma — home section */
.cms-diploma-section {
    padding: 72px 0 88px;
    background:
        radial-gradient(ellipse 120% 80% at 10% 20%, rgba(0, 139, 139, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 100% 70% at 90% 80%, rgba(210, 105, 30, 0.09) 0%, transparent 50%),
        linear-gradient(180deg, #fafbfc 0%, var(--bg-white) 45%, #f6f8f9 100%);
}

.cms-diploma-section .container {
    position: relative;
    z-index: 0;
}

.cms-diploma-section__header {
    margin-bottom: 48px;
}

.cms-diploma-section__title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, var(--secondary-dark) 0%, var(--secondary) 35%, var(--primary) 78%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .cms-diploma-section__title {
        color: var(--text-dark);
        -webkit-text-fill-color: unset;
        background: none;
    }
}

.cms-diploma-section__lead {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    margin-bottom: 14px;
}

.cms-diploma-section__intro {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-light);
}

.cms-diploma-section .courses-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}

.cms-diploma-section .course-card {
    flex: 1 1 300px;
    max-width: min(380px, 100%);
    border: 1px solid rgba(0, 139, 139, 0.12);
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.06);
    backdrop-filter: blur(4px);
}

/* CMS diploma cards — top image strip (court / WHO / practice), uniform height */
.cms-diploma-section .cms-diploma-card {
    --cms-diploma-media-h: 228px;
    padding: 0 0 32px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
}

.cms-diploma-section .cms-diploma-card__media {
    margin: 0;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    height: var(--cms-diploma-media-h);
    min-height: var(--cms-diploma-media-h);
    max-height: var(--cms-diploma-media-h);
    background: #e8eef2;
    border-bottom: 1px solid rgba(0, 139, 139, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cms-diploma-section .cms-diploma-card__media--brand {
    background: linear-gradient(180deg, #f5fafb 0%, #eef6f7 100%);
}

.cms-diploma-section .cms-diploma-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.cms-diploma-section .cms-diploma-card__img--contain {
    width: auto;
    height: auto;
    max-width: min(240px, 92%);
    max-height: calc(var(--cms-diploma-media-h) - 36px);
    object-fit: contain;
}

.cms-diploma-section .cms-diploma-card > h3 {
    margin-top: 22px;
}

.cms-diploma-section .cms-diploma-card > h3,
.cms-diploma-section .cms-diploma-card > p {
    padding-left: 24px;
    padding-right: 24px;
}

.cms-diploma-section .cms-diploma-card .course-btn {
    align-self: center;
    margin-top: 4px;
}

.cms-diploma-section .course-highlights-panel {
    margin-top: 48px;
    padding: 36px 28px 40px;
    background: linear-gradient(145deg, var(--secondary-dark) 0%, var(--secondary) 42%, var(--primary) 100%);
    box-shadow: 0 20px 48px rgba(0, 102, 102, 0.25), 0 4px 0 rgba(255, 255, 255, 0.12) inset;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cms-diploma-section .course-highlights-panel h3 {
    font-size: 1.5rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.98;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.course-highlight-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    line-height: 1.55;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.course-highlight-option:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.course-highlight-option .fa-check-circle {
    margin-top: 2px;
    flex-shrink: 0;
    color: var(--accent-yellow);
    font-size: 1.1rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.course-highlight-option strong {
    color: #fff;
    font-weight: 700;
}

.cms-diploma-section .course-highlights-cta {
    margin-top: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.cms-diploma-section .course-highlights-cta:hover {
    transform: translateY(-2px);
}

/* Course page hero */
.page-header--course {
    padding: 88px 0 96px;
}

.page-header--course .page-header__eyebrow {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.page-header--course .page-header__lead {
    position: relative;
    z-index: 1;
    max-width: 36rem;
    margin: 18px auto 0;
    font-size: 1.15rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
}

.page-header--course .page-header__title-course {
    font-size: clamp(1.85rem, 5vw, 2.75rem);
    line-height: 1.15;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

/* Course page — programme cards directly under hero */
.course-page-programmes {
    padding: 48px 0 56px;
    background:
        linear-gradient(180deg, #f0f4f6 0%, var(--bg-white) 28%, var(--bg-white) 100%);
}

.course-page-programmes__title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    text-align: center;
    margin: 0 auto 1.25rem;
    max-width: 40rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.course-list-table-wrap {
    width: 100%;
    max-width: min(1000px, 100%);
    margin: 0 auto 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 139, 139, 0.15);
    background: var(--bg-white);
}

.course-list-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: var(--bg-white);
}

.course-list-table caption {
    caption-side: top;
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
    color: var(--text-dark);
    background: linear-gradient(145deg, rgba(0, 139, 139, 0.1), rgba(210, 105, 30, 0.06));
    border-bottom: 1px solid rgba(0, 139, 139, 0.12);
}

.course-list-table th,
.course-list-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.course-list-table th {
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 700;
    white-space: nowrap;
}

.course-list-table tbody tr:nth-child(even) {
    background: rgba(0, 139, 139, 0.04);
}

.course-list-table tbody tr:hover {
    background: rgba(210, 105, 30, 0.06);
}

.course-list-table td:first-child {
    font-weight: 700;
    color: var(--primary);
    width: 3rem;
    text-align: center;
}

.course-list-table__sub {
    display: block;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 4px;
    line-height: 1.35;
}

.course-list-table a {
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
}

.course-list-table a:hover {
    text-decoration: underline;
}

/* Dedicated course detail pages (course-*.html) */
.course-detail-page .legal-doc .course-detail-breadcrumb {
    font-size: 0.92rem;
    color: var(--text-light);
    margin: 0 0 1.25rem;
}

.course-detail-page .legal-doc .course-detail-breadcrumb a {
    color: var(--primary);
    font-weight: 600;
}

.course-detail-page .legal-doc .course-detail-breadcrumb a:hover {
    text-decoration: underline;
}

.course-detail-mpypcp {
    background: linear-gradient(145deg, rgba(0, 139, 139, 0.11), rgba(210, 105, 30, 0.07));
    border: 1px solid rgba(0, 139, 139, 0.22);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    margin: 1.75rem 0;
}

.course-detail-mpypcp h2 {
    font-size: 1.15rem;
    margin: 0 0 0.65rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-detail-mpypcp h2 i {
    color: var(--primary);
}

.course-detail-mpypcp p {
    margin: 0 0 0.75rem;
    color: var(--text-light);
    line-height: 1.65;
}

.course-detail-mpypcp ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-light);
    line-height: 1.75;
}

.course-detail-mpypcp li + li {
    margin-top: 0.35rem;
}

.course-detail-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 1.5rem 0 2rem;
}

.course-detail-facts__item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    border-left: 4px solid var(--primary);
}

.course-detail-facts__item h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-light);
    margin: 0 0 0.35rem;
}

.course-detail-facts__item p {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
}

.course-detail-related-list {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.course-detail-related-list a {
    display: inline-block;
    padding: 8px 14px;
    background: var(--bg-light);
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid rgba(0, 139, 139, 0.2);
}

.course-detail-related-list a:hover {
    background: rgba(0, 139, 139, 0.08);
}

.course-detail-cta {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.course-detail-cta .course-btn,
.course-detail-cta a.course-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.course-page-programmes__grid {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 24px;
    align-items: stretch;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.course-page-programmes__grid .course-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
    box-sizing: border-box;
    padding: 26px 22px 28px;
    align-items: stretch;
    text-align: center;
}

.course-page-programmes__grid .course-card .course-icon {
    margin-bottom: 14px;
    flex-shrink: 0;
    font-size: 52px;
}

@media (max-width: 600px) {
    .course-page-programmes__grid .course-card {
        min-height: 0;
    }
}

.course-page-programmes__grid .course-card h3 {
    margin-bottom: 8px;
    flex-shrink: 0;
    font-size: 1.2rem;
    line-height: 1.25;
}

.course-page-programmes__grid .course-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    width: 100%;
    text-align: center;
}

.course-page-programmes__grid .course-card__body p {
    margin: 0 0 0.65rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-light);
}

.course-page-programmes__grid .course-card .course-btn {
    margin-top: auto;
    align-self: center;
    flex-shrink: 0;
}

.course-page-programmes__grid .course-page-card-meta {
    list-style: none;
    margin: 0;
    padding: 12px 14px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(145deg, rgba(0, 139, 139, 0.07), rgba(210, 105, 30, 0.05));
    border: 1px solid rgba(0, 139, 139, 0.12);
    border-radius: 12px;
}

.course-page-programmes__grid .course-page-card-meta li + li {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.course-page-programmes__grid .course-page-card-meta__label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
}

.course-page-programmes__grid .course-page-card-meta__label i {
    font-size: 0.85rem;
    opacity: 0.9;
}

.course-page-programmes__grid .course-page-card-meta__value {
    display: block;
    font-size: 0.86rem;
    line-height: 1.45;
    color: var(--text-dark);
    font-weight: 500;
}

.course-page-programmes__grid .course-page-card-meta__value a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.course-page-programmes__grid .course-page-card-meta__value a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.course-page-programmes__partner {
    text-align: center;
    margin: 2.25rem auto 0;
    max-width: 40rem;
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-light);
}

.course-page-programmes__partner a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.course-page-programmes__partner a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.page-header--eml {
    background: linear-gradient(145deg, #0d3d4a 0%, #1a5f6f 42%, #2c7873 100%);
}

/* WHO logo — used on WHO-related sections */
.who-logo {
    display: block;
    height: auto;
    max-width: 100%;
}

.who-logo--hero {
    max-width: min(100%, 340px);
    margin: 0 auto 20px;
}

.who-logo--page-header {
    max-height: 64px;
    width: auto;
    margin: 0 auto 12px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.who-page-header-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.who-page-header-brand h1 {
    margin: 0;
}

.who-logo--card {
    max-height: 44px;
    width: auto;
    margin-bottom: 16px;
    object-fit: contain;
    align-self: flex-start;
}

.who-inline-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 16px 18px;
    background: rgba(0, 102, 204, 0.06);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.who-inline-block .who-logo--inline {
    max-height: 52px;
    width: auto;
    flex-shrink: 0;
}

.who-inline-block p {
    margin: 0;
    flex: 1;
    min-width: 0;
}

.who-section-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.who-section-title-row h2 {
    margin: 0;
}

.who-section-title-row .who-logo--inline {
    max-height: 36px;
    width: auto;
}

/* WHO alignment page (who.html) — layout moved from inline styles */
.who-intro {
    text-align: center;
    margin-bottom: clamp(32px, 8vw, 50px);
}

.who-intro__title {
    font-size: clamp(1.35rem, 5vw, 2.25rem);
    margin-bottom: 16px;
    color: var(--text-dark);
}

.who-intro__text {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: var(--text-light);
    max-width: var(--content-max-width);
    margin: 0 auto;
    line-height: 1.65;
}

.who-pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(16px, 4vw, 30px);
    margin-bottom: clamp(32px, 8vw, 50px);
}

.who-pillar {
    color: #fff;
    padding: clamp(22px, 5vw, 40px);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.who-pillar--brand {
    background: linear-gradient(135deg, #0066cc, #0052a3);
}

.who-pillar--standards {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

a.who-pillar--eml {
    display: block;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-green), #229954);
    transition: var(--transition);
}

a.who-pillar--eml:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.who-pillar__logo {
    filter: brightness(0) invert(1);
    opacity: 0.95;
    max-height: 48px;
    width: auto;
    margin-bottom: 16px;
    object-fit: contain;
}

.who-pillar__icon {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 16px;
    line-height: 1;
}

.who-pillar h3 {
    color: #fff;
    margin: 0 0 12px;
    font-size: 1.15rem;
}

.who-pillar p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
    font-size: 0.98rem;
}

.who-panel-list {
    background: var(--bg-light);
    padding: clamp(20px, 4vw, 30px);
    border-radius: 16px;
    margin: clamp(20px, 4vw, 30px) 0;
}

.who-panel-list ul {
    color: var(--text-light);
    line-height: 1.8;
    padding-left: 1.25rem;
    margin: 0;
}

.who-panel-list li strong {
    color: var(--text-dark);
}

.who-panel-list a {
    color: var(--primary);
    font-weight: 600;
}

.who-mini-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: clamp(14px, 3vw, 20px);
    margin: clamp(20px, 4vw, 30px) 0;
}

.who-mini-card {
    background: var(--bg-light);
    padding: clamp(18px, 3vw, 25px);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.who-mini-card--secondary {
    border-left-color: var(--secondary);
}

.who-mini-card--green {
    border-left-color: var(--accent-green);
}

.who-mini-card--blue {
    border-left-color: var(--accent-blue);
}

.who-mini-card h4 {
    color: var(--text-dark);
    margin: 0 0 10px;
    font-size: 1rem;
}

.who-mini-card h4 i {
    margin-right: 8px;
    color: var(--primary);
}

.who-mini-card--secondary h4 i {
    color: var(--secondary);
}

.who-mini-card--green h4 i {
    color: var(--accent-green);
}

.who-mini-card--blue h4 i {
    color: var(--accent-blue);
}

.who-mini-card h4 a {
    color: inherit;
    text-decoration: none;
}

.who-mini-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
}

.who-mini-card p a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.who-title-icon {
    margin-right: 10px;
}

.who-title-icon--primary {
    color: var(--primary);
}

.who-title-icon--secondary {
    color: var(--secondary);
}

.who-title-icon--blue {
    color: var(--accent-blue);
}

.who-title-icon--green {
    color: var(--accent-green);
}

.who-commitment-panel {
    background: linear-gradient(135deg, var(--bg-light), #f0f0f0);
    padding: clamp(20px, 4vw, 30px);
    border-radius: 16px;
    margin: clamp(20px, 4vw, 30px) 0;
    border-left: 5px solid var(--primary);
}

.who-commitment-panel h3 {
    color: var(--text-dark);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: clamp(1.05rem, 3vw, 1.25rem);
}

.who-commitment-panel h3 .who-logo--inline {
    max-height: 32px;
}

.who-principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
    gap: 12px 14px;
    margin-top: 18px;
}

.who-principle-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.who-principle-row i {
    color: var(--accent-green);
    flex-shrink: 0;
}

.who-principle-row span,
.who-principle-row a {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.who-principle-row a {
    text-decoration: none;
}

.who-principle-row a:hover {
    color: var(--primary);
}

/* WHO IRIS publication link (SEARO essential drugs for PHC) */
.who-iris-pub {
    margin: clamp(24px, 5vw, 40px) 0 0;
    padding: clamp(18px, 4vw, 26px);
    border-radius: 14px;
    border: 1px solid rgba(0, 139, 139, 0.22);
    background: linear-gradient(145deg, #f8fcfd 0%, #fff 100%);
    box-shadow: 0 6px 22px rgba(44, 62, 80, 0.05);
}

.who-iris-pub h3 {
    margin: 0 0 12px;
    font-size: clamp(1.05rem, 2.5vw, 1.22rem);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.35;
}

.who-iris-pub p {
    margin: 0 0 10px;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.98rem;
}

.who-iris-pub__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    align-items: center;
}

.who-iris-pub__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.who-iris-pub__btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 139, 139, 0.25);
}

.who-iris-pub__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 139, 139, 0.32);
    color: #fff;
}

.who-iris-pub__btn--secondary {
    background: #fff;
    color: var(--primary-dark);
    border: 2px solid rgba(0, 139, 139, 0.35);
}

.who-iris-pub__btn--secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.who-external-cta {
    text-align: center;
    margin-top: clamp(36px, 8vw, 50px);
    padding: clamp(24px, 5vw, 40px);
    background: linear-gradient(135deg, #0066cc, #0052a3);
    border-radius: 16px;
    color: #fff;
}

.who-external-cta .who-logo--cta {
    display: block;
    filter: brightness(0) invert(1);
    max-width: min(100%, 260px);
    margin: 0 auto 18px;
}

.who-external-cta h3 {
    color: #fff;
    margin: 0 0 16px;
}

.who-external-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 22px;
    line-height: 1.65;
}

.who-external-cta__btn {
    display: inline-block;
    padding: 14px clamp(22px, 6vw, 40px);
    background: #fff;
    color: #0066cc;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.who-external-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* WHO Essential Medicines / CMS & ED reference page */
.course-official-sources {
    background: linear-gradient(135deg, #f8fafc 0%, #eef6f8 100%);
    border: 1px solid rgba(30, 58, 95, 0.2);
    border-radius: 14px;
    padding: 22px 24px 20px;
    margin: 24px 0 28px;
}

.course-official-sources h3 {
    margin: 0 0 14px;
    font-size: 1.12rem;
    color: var(--text-dark);
    line-height: 1.35;
}

.course-official-sources h3 i {
    color: #1e3a5f;
    margin-right: 8px;
}

.course-official-sources ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-light);
    line-height: 1.78;
}

.course-official-sources li {
    margin-bottom: 12px;
}

.course-official-sources li:last-child {
    margin-bottom: 0;
}

.course-official-sources__link {
    margin: 16px 0 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.course-official-sources__link a {
    color: var(--primary);
    font-weight: 600;
    word-break: break-word;
}

/* Brochure-aligned 42-medicine table (course page) */
.brochure-42-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.brochure-42-table th,
.brochure-42-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.brochure-42-table th {
    background: linear-gradient(135deg, #2c5f5f, #1e4a4a);
    color: #fff;
    font-weight: 700;
}

.brochure-42-table td:first-child {
    width: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    background: rgba(44, 95, 95, 0.06);
}

.brochure-42-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.brochure-42-table tbody tr:hover {
    background: rgba(44, 120, 115, 0.06);
}

/* CMS & ED course page — 42 medicines with extra teaching columns */
.brochure-42-table--detail {
    font-size: 0.86rem;
    min-width: 720px;
}

.brochure-42-table--detail th:nth-child(1),
.brochure-42-table--detail td:nth-child(1) {
    width: 2.5rem;
}

.brochure-42-table--detail th:nth-child(2),
.brochure-42-table--detail td:nth-child(2) {
    min-width: 9.5rem;
}

.brochure-42-table--detail th:nth-child(3),
.brochure-42-table--detail td:nth-child(3) {
    min-width: 7rem;
}

.brochure-42-table--detail th:nth-child(4),
.brochure-42-table--detail td:nth-child(4) {
    min-width: 13rem;
}

@media (max-width: 768px) {
    .brochure-42-table--detail {
        font-size: 0.8rem;
    }

    .brochure-42-table--detail th,
    .brochure-42-table--detail td {
        padding: 6px 8px;
    }
}

.eml-validation-callout {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
    border: 1px solid rgba(0, 102, 204, 0.25);
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 28px;
}

.eml-validation-callout--scope {
    background: linear-gradient(135deg, #fff9f0 0%, #fff3e6 100%);
    border-color: rgba(180, 110, 40, 0.35);
}

.eml-validation-callout--scope p {
    margin-bottom: 12px;
}

.eml-validation-callout h3 {
    margin: 0 0 12px;
    font-size: 1.15rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.eml-validation-callout h3 i {
    color: var(--primary);
}

.eml-validation-callout p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-dark);
}

.eml-validation-callout a {
    color: var(--primary);
    font-weight: 600;
}

.eml-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}

.eml-stat-card {
    background: linear-gradient(135deg, var(--bg-white), #f6faf9);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.eml-stat-card--accent {
    border-left: 5px solid var(--secondary);
}

.eml-stat-card__num {
    display: block;
    font-size: clamp(2.5rem, 6vw, 3.25rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.eml-stat-card--accent .eml-stat-card__num {
    color: #1a6b6b;
}

.eml-stat-card__label {
    display: block;
    margin-top: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.eml-stat-card__meta {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.eml-lead {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-dark);
    margin-bottom: 32px;
    padding: 20px 22px;
    background: rgba(0, 102, 204, 0.06);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

/* Official WHO resources — heading full width; intro wraps around floated logo */
.eml-who-resources__title {
    margin: 0 0 16px;
    font-size: 1.35rem;
    color: var(--text-dark);
    line-height: 1.35;
}

.eml-who-resources__float-wrap::after {
    content: '';
    display: table;
    clear: both;
}

.eml-who-resources__figure {
    margin: 0;
    padding: clamp(12px, 2vw, 18px);
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    box-shadow: 0 4px 16px rgba(0, 60, 120, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
}

.eml-who-resources__figure--float-right {
    float: right;
    max-width: min(220px, 42vw);
    margin: 4px 0 12px 20px;
}

.eml-who-resources__logo {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Flat teal SVG heading icons (professional medical style) */
.eml-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35em;
    height: 1.35em;
    margin-right: 0.45em;
    vertical-align: -0.18em;
    color: var(--secondary);
    flex-shrink: 0;
}

.eml-heading-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.eml-heading-icon--pills {
    width: 2.4em;
    height: 1.15em;
    vertical-align: -0.12em;
}

.eml-page h2 .eml-heading-icon,
.eml-page h3 .eml-heading-icon,
.eml-validation-callout h3 .eml-heading-icon,
.eml-who-resources__title .eml-heading-icon {
    color: var(--secondary);
}

.btn-primary-inline .eml-heading-icon {
    width: 1.15em;
    height: 1.15em;
    margin-right: 0;
    color: inherit;
}

.eml-who-resources__intro {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Same float flow as intro — list uses remaining width beside logo */
.eml-who-resources__link-list {
    margin-top: 12px;
}

@media (max-width: 520px) {
    .eml-who-resources__figure--float-right {
        float: none;
        max-width: 220px;
        margin: 0 auto 16px;
    }

    .eml-who-resources__float-wrap {
        text-align: center;
    }

    .eml-who-resources__intro {
        text-align: left;
    }
}

.eml-ref-box {
    background: var(--bg-light);
    padding: 28px 26px;
    border-radius: 16px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.eml-ref-box.eml-ref-box--who-official {
    background: linear-gradient(165deg, #ffffff 0%, #f4f9fc 55%, #eef4f8 100%);
    border: 1px solid rgba(0, 102, 204, 0.14);
    box-shadow: 0 8px 28px rgba(0, 51, 102, 0.06);
}

.eml-ref-box h2 {
    margin-top: 0;
    font-size: 1.35rem;
    color: var(--text-dark);
}

.eml-ref-links {
    margin: 0;
    padding-left: 1.25rem;
    line-height: 1.9;
    color: var(--text-light);
}

.eml-ref-links a {
    color: var(--primary);
    font-weight: 600;
}

.eml-ref-links a:hover {
    text-decoration: none;
    color: var(--primary-dark);
}

.eml-table-wrap {
    overflow-x: auto;
    margin: 24px 0 36px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.eml-table-caption {
    caption-side: top;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--text-dark);
    padding: 16px 16px 12px;
    margin: 0;
    background: linear-gradient(180deg, #f6fafb, #fff);
    border-bottom: 1px solid var(--border-color);
}

.eml-section-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: var(--bg-white);
}

.eml-section-table th,
.eml-section-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.eml-section-table th {
    background: linear-gradient(180deg, #f0f7f7, #e8f2f2);
    color: var(--text-dark);
    font-weight: 700;
}

.eml-section-table tbody tr:hover {
    background: rgba(44, 120, 115, 0.06);
}

.eml-section-table--compact td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.eml-bullet-list {
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 28px;
}

.eml-self-care-h3 {
    font-size: 1.12rem;
    margin: 1.5rem 0 0.65rem;
    color: var(--text-dark);
    font-weight: 700;
}

.eml-self-care-steps {
    margin-bottom: 1rem;
    padding-left: 1.35rem;
}

.eml-self-care-steps li {
    margin-bottom: 0.45rem;
}

.eml-self-care-inn-line {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-light);
    padding: 14px 16px;
    background: #f4f8fb;
    border-radius: 8px;
    border-left: 4px solid #5a7fa3;
    margin: 0 0 1rem;
}

.eml-note {
    background: #fff8e6;
    border: 1px solid rgba(210, 150, 30, 0.35);
    border-radius: 12px;
    padding: 20px 22px;
    margin: 32px 0;
}

.eml-note p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.7;
}

.eml-cta {
    text-align: center;
    margin-top: 44px;
    padding: 36px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    color: white;
}

.eml-cta h3 {
    margin: 0 0 18px;
    color: white;
    font-size: 1.4rem;
}

.eml-cta p {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.btn-primary-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: white;
    color: var(--primary);
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

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

.btn-primary-inline--ghost {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-primary-inline--ghost:hover {
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
    .eml-section-table {
        font-size: 0.88rem;
    }

    .eml-section-table th,
    .eml-section-table td {
        padding: 10px 10px;
    }
}

/* Forms: select & options */
.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d2691e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

.form-group select:hover {
    border-color: rgba(210, 105, 30, 0.45);
}

.form-group select option {
    padding: 12px 14px;
    font-weight: 500;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.form-group select option[value=""] {
    color: var(--text-light);
    font-weight: 500;
}

/* News & Notice Section */
.news-notice-section {
    background: var(--bg-light);
}

.news-notice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.news-section,
.notice-section {
    background: linear-gradient(135deg, var(--bg-white), #fafafa);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.news-section:hover,
.notice-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.news-section h2,
.notice-section h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.view-all-btn {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.view-all-btn:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.page-header h1 {
    font-size: 48px;
    margin: 0;
    position: relative;
    z-index: 1;
}

.page-header a {
    text-decoration: none;
}

.page-header a:hover {
    opacity: 0.92;
}

/* MoU pages — document-style hero (warm, official note tone) */
.mou-page .page-header--mou {
    background: linear-gradient(180deg, #faf8f3 0%, #f2ebe0 100%);
    color: #1f2d3a;
    padding: 52px 16px 44px;
    text-align: center;
    border-bottom: 3px double #c9bda8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.mou-page .page-header--mou::before {
    opacity: 0.06;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 38px,
        rgba(90, 110, 130, 0.08) 38px,
        rgba(90, 110, 130, 0.08) 39px
    );
}

.page-header__eyebrow-mou {
    font-family: "Times New Roman", Georgia, serif;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #6b5b48;
    margin: 0 0 10px 0;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.mou-page .page-header--mou h1 {
    font-family: "Times New Roman", Georgia, serif;
    font-size: clamp(1.55rem, 4vw, 2.05rem);
    font-weight: 700;
    color: #1a2836;
    line-height: 1.28;
    max-width: 22em;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-header__lead-mou {
    font-family: "Times New Roman", Georgia, serif;
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    color: #4a5d6e;
    margin: 14px auto 0;
    max-width: 36em;
    line-height: 1.55;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* Content Section */
.content-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.content-wrapper {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.content-wrapper .contact-form {
    max-width: 100%;
}

/* Legal pages (privacy, terms) */
.legal-doc {
    max-width: 44rem;
}

.legal-doc__lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.75rem;
}

.legal-doc h2 {
    font-size: 1.2rem;
    margin: 1.75rem 0 0.65rem;
    color: var(--text-dark);
}

.legal-doc p,
.legal-doc ul {
    color: var(--text-light);
    line-height: 1.75;
    margin: 0 0 1rem;
}

.legal-doc ul {
    padding-left: 1.35rem;
}

.legal-doc a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.legal-doc a:hover {
    text-decoration: underline;
}

/* Terms page: full-width legal column within site container */
.content-wrapper.legal-doc.legal-doc--full {
    max-width: 100%;
    width: 100%;
}

.legal-doc--full .legal-doc__lead {
    font-size: 1.12rem;
    line-height: 1.78;
    padding: 1.25rem 1.35rem;
    margin-bottom: 2rem;
    background: rgba(0, 105, 92, 0.06);
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    color: var(--text-dark);
}

.legal-doc--full h2 {
    font-size: 1.35rem;
    margin: 2.35rem 0 0.85rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid rgba(0, 105, 92, 0.14);
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.legal-doc--full h2:first-of-type {
    margin-top: 0.5rem;
}

.legal-doc--full h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1.35rem 0 0.5rem;
}

.legal-doc--full p,
.legal-doc--full ul {
    font-size: 1.02rem;
    line-height: 1.82;
    margin-bottom: 1.05rem;
}

.legal-doc--full ul {
    margin-bottom: 1.15rem;
    padding-left: 1.5rem;
}

.legal-doc--full li {
    margin-bottom: 0.55rem;
}

.legal-doc--full li:last-child {
    margin-bottom: 0;
}

.page-header--legal .page-header__legal-meta {
    margin: 14px 0 0;
    max-width: none;
    font-size: 1rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.page-header--legal .page-header__legal-meta a {
    color: #fff;
    text-decoration: underline;
}

/* Admission page — brochure CTA in page header (right on wide screens) */
.page-header--legal.page-header--admission {
    text-align: left;
}

.page-header--legal.page-header--admission .page-header__admission-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 28px;
    position: relative;
    z-index: 1;
}

.page-header--legal.page-header--admission .page-header__admission-text {
    flex: 1 1 auto;
    min-width: min(100%, 260px);
}

.page-header--legal.page-header--admission .page-header__admission-text h1 {
    text-align: left;
}

.page-header--legal.page-header--admission .page-header__admission-cta {
    flex: 0 0 auto;
}

.page-header--legal.page-header--admission .admission-brochure-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    background: rgba(255, 255, 255, 0.96);
    color: #0d3d3d;
    font-weight: 700;
    font-size: 0.94rem;
    line-height: 1.2;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.55);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.page-header--legal.page-header--admission .admission-brochure-cta:hover {
    background: #fff;
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.page-header--legal.page-header--admission .admission-brochure-cta i {
    font-size: 1.15em;
    color: #b42318;
}

@media (max-width: 640px) {
    .page-header--legal.page-header--admission .page-header__admission-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .page-header--legal.page-header--admission .page-header__admission-cta {
        order: -1;
    }

    .page-header--legal.page-header--admission .admission-brochure-cta {
        width: 100%;
    }
}

/* ---------- Contact page ---------- */
.contact-page .page-header--contact {
    padding: 88px 16px 96px;
}

.contact-page .page-header--contact::before {
    opacity: 0.25;
}

.page-header__eyebrow-contact {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.page-header__lead-contact {
    position: relative;
    z-index: 1;
    max-width: 38rem;
    margin: 18px auto 0;
    font-size: 1.08rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.94);
    font-weight: 500;
}

.page-header__lead-contact a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-header__lead-contact a:hover {
    opacity: 0.92;
}

.contact-page__section {
    padding-top: 64px;
    padding-bottom: 88px;
}

.contact-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
}

.contact-page__h2 {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
    color: var(--text-dark);
    position: relative;
    padding-bottom: 12px;
}

.contact-page__h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 52px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.contact-page__h3 {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.contact-page__intro {
    margin: 0 0 24px;
    color: var(--text-light);
    line-height: 1.75;
    font-size: 1.02rem;
}

.contact-page__methods {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-page__method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 18px 18px 16px;
    background: linear-gradient(145deg, var(--bg-white), #f6f8f9);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a.contact-page__method:hover {
    border-color: rgba(0, 139, 139, 0.35);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-page__method--static {
    cursor: default;
}

.contact-page__method-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.contact-page__method-icon--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.contact-page__method-icon--secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

.contact-page__method-icon--blue {
    background: linear-gradient(135deg, var(--accent-blue), #0052a3);
}

.contact-page__method-icon--muted {
    background: linear-gradient(135deg, #5a6c7d, #3d4f5f);
}

.contact-page__method-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    text-align: left;
}

.contact-page__method-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
}

.contact-page__method-value {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-dark);
    word-break: break-word;
}

a.contact-page__method .contact-page__method-value {
    color: var(--primary-dark);
}

.contact-page__method-value--break {
    word-break: break-all;
}

.contact-page__method-value a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.contact-page__method-value a:hover {
    text-decoration: underline;
}

.contact-page__social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border-color);
}

.contact-page__social-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

.contact-page__social-links {
    display: flex;
    gap: 10px;
}

.contact-page__social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--primary);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-page__social-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-color: transparent;
}

.contact-page__quick {
    margin-top: 28px;
}

.contact-page__quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.contact-page__quick-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.contact-page__quick-link i {
    color: var(--secondary);
    font-size: 0.95rem;
}

.contact-page__quick-link:hover {
    border-color: var(--secondary);
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.contact-page__form-card {
    background: var(--bg-white);
    padding: 28px 26px 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 40px rgba(44, 62, 80, 0.08);
}

.contact-page__form-note {
    margin: 0 0 18px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-light);
}

.contact-page__form-note a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.contact-page__form-note a:hover {
    text-decoration: underline;
}

.contact-page__feedback {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(0, 139, 139, 0.1);
    border: 1px solid rgba(0, 139, 139, 0.25);
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.55;
    outline: none;
}

.contact-page__feedback:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 139, 139, 0.25);
}

.contact-page__form .form-group {
    gap: 8px;
}

.contact-page__submit i {
    margin-right: 8px;
}

@media (max-width: 960px) {
    .contact-page__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-page__quick-grid {
        grid-template-columns: 1fr;
    }
}

/* Admission page — policy overview above form */
.admission-policy-overview {
    margin-bottom: 2rem;
    padding: 1.75rem 1.75rem 1.35rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    max-width: 100%;
}

.admission-policy-overview__title {
    font-size: 1.35rem;
    margin: 0 0 0.75rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.admission-policy-overview__lead {
    margin: 0 0 0.25rem;
    color: var(--text-light);
    line-height: 1.82;
    font-size: 1.02rem;
}

.admission-policy-overview__subsection {
    margin-top: 1.25rem;
}

.admission-policy-overview h3 {
    font-size: 1.06rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.45rem;
}

.admission-policy-overview p {
    margin: 0 0 0.65rem;
    color: var(--text-light);
    line-height: 1.78;
    font-size: 1.01rem;
}

.admission-policy-overview p:last-child {
    margin-bottom: 0;
}

.admission-policy-overview ul {
    margin: 0.35rem 0 0;
    padding-left: 1.4rem;
    color: var(--text-light);
    line-height: 1.78;
    font-size: 1.01rem;
}

.admission-policy-overview li {
    margin-bottom: 0.45rem;
}

.admission-policy-overview li:last-child {
    margin-bottom: 0;
}

.admission-policy-overview a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.admission-policy-overview a:hover {
    text-decoration: underline;
}

.admission-policy-overview__footer-links {
    margin-top: 1.35rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-light);
}

.admission-policy-overview__footer-links a {
    font-weight: 600;
}

@media (max-width: 768px) {
    .admission-policy-overview {
        padding: 1.35rem 1.15rem 1.15rem;
    }

    .admission-policy-overview__title {
        font-size: 1.2rem;
    }
}

/* Admission page — form first with right sidebar */
.content-wrapper.admission-page {
    max-width: 100%;
}

.admission-page .admission-main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
}

.admission-page .admission-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
    max-width: none;
    margin: 0;
}

.admission-page .admission-sidebar {
    position: sticky;
    top: 24px;
}

.admission-upi-block,
.admission-contact-block {
    background: var(--bg-white);
    padding: 36px 28px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
}

.admission-upi-block h2,
.admission-contact-block h2 {
    font-size: 1.45rem;
    margin-top: 0;
    margin-bottom: 22px;
    color: var(--text-dark);
}

.admission-upi-figure {
    margin: 0 0 16px;
}

.admission-upi-block img {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.admission-upi-note {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

.admission-contact-lead {
    font-size: 17px;
    color: var(--text-dark);
    margin: 0 0 24px;
    text-align: center;
    font-weight: 500;
}

.admission-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admission-contact-list li {
    margin: 14px 0;
}

.admission-contact-list a {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.admission-contact-list a:hover {
    color: var(--secondary-dark);
}

@media (max-width: 992px) {
    .admission-page .admission-main-layout {
        grid-template-columns: 1fr;
    }

    .admission-page .admission-sidebar {
        position: static;
    }
}

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

.admission-form-section {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.admission-form-heading {
    font-size: 1.75rem;
    margin: 0 0 12px;
    color: var(--text-dark);
    text-align: center;
}

.admission-form-intro {
    text-align: center;
    max-width: 52rem;
    margin: 0 auto 32px;
    color: var(--text-light);
    line-height: 1.75;
}

.admission-enquiry-form {
    margin: 0 auto;
    background: var(--bg-light);
    padding: 36px 32px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    gap: 15px;
}

.form-row--2 {
    grid-template-columns: repeat(2, 1fr);
}

.form-row--3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .form-row--2,
    .form-row--3 {
        grid-template-columns: 1fr;
    }

    .admission-enquiry-form {
        padding: 28px 20px 32px;
    }
}

/* Admission: personal fields + student photo frame (top right on desktop) */
.admission-personal-layout {
    display: grid;
    grid-template-columns: 1fr minmax(136px, 184px);
    gap: 20px 24px;
    align-items: start;
    margin-bottom: 0;
}

/* Email + mobiles: one row directly under photo + name block */
.admission-contact-under-photo {
    margin-top: 10px;
    margin-bottom: 6px;
}

.admission-personal-fields {
    min-width: 0;
}

.admission-photo-aside {
    position: sticky;
    top: 88px;
}

.admission-photo-group {
    margin-bottom: 0;
}

.admission-photo-label {
    display: block;
    text-align: center;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 13px;
}

.admission-photo-box.file-upload-box,
.admission-photo-box {
    align-items: center;
    padding: 4px 4px 6px;
    width: 100%;
    max-width: 210px;
    margin-left: auto;
}

.admission-photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 252px;
    border: 2px solid rgba(0, 139, 139, 0.4);
    border-radius: 10px;
    background: linear-gradient(165deg, #f2f6f9 0%, #e4ebf0 100%);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.admission-photo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px;
    text-align: center;
    font-size: 10px;
    color: var(--text-light);
    line-height: 1.35;
    pointer-events: none;
}

.admission-photo-placeholder .fa-user {
    font-size: 2.15rem;
    opacity: 0.38;
    color: var(--secondary);
}

.admission-photo-box.has-file .admission-photo-placeholder {
    display: none;
}

.admission-photo-preview {
    position: absolute;
    inset: 0;
    width: 100% !important;
    min-height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admission-photo-preview:empty {
    display: none !important;
}

.admission-photo-preview:not(:empty) {
    display: flex !important;
}

.admission-photo-preview .file-preview-img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.admission-photo-preview .file-preview-error {
    margin: 8px;
    font-size: 11px;
    text-align: center;
}

.admission-photo-frame-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
    padding: 4px 5px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(0, 139, 139, 0.22);
    border-radius: 0 0 8px 8px;
}

.admission-photo-box.has-file .admission-photo-frame-footer {
    background: linear-gradient(transparent, rgba(20, 35, 45, 0.72));
    border-top: none;
}

.admission-photo-choose {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-dark);
    background: #fff;
    border: 1px solid rgba(0, 139, 139, 0.35);
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.admission-photo-choose:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.admission-photo-box.has-file .admission-photo-choose {
    color: var(--secondary-dark);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.5);
}

.admission-photo-box.has-file .admission-photo-choose:hover {
    background: #fff;
}

.admission-photo-frame-footer .admission-photo-remove,
.admission-photo-frame-footer .file-remove-btn.admission-photo-remove {
    margin: 0;
    padding: 3px 7px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 5px;
}

.admission-photo-box.has-file .admission-photo-frame-footer .admission-photo-remove,
.admission-photo-box.has-file .admission-photo-frame-footer .file-remove-btn.admission-photo-remove {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
}

.admission-photo-box.has-file .admission-photo-frame-footer .admission-photo-remove:hover,
.admission-photo-box.has-file .admission-photo-frame-footer .file-remove-btn.admission-photo-remove:hover {
    background: rgba(231, 76, 60, 0.35);
    border-color: rgba(255, 200, 200, 0.6);
}

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

    .admission-photo-aside {
        position: static;
        order: -1;
        margin-bottom: 4px;
    }

    .admission-photo-box {
        margin-left: auto;
        margin-right: auto;
        max-width: 210px;
    }

    .admission-photo-frame {
        max-height: 252px;
    }
}

.form-row .form-group {
    margin-bottom: 0;
}

.req {
    color: var(--accent-red);
    font-weight: 700;
}

.form-footnote {
    font-size: 13px;
    color: var(--text-light);
    margin: 8px 0 20px;
    line-height: 1.55;
    text-align: justify;
}

.admission-form-block-title {
    font-size: 1.15rem;
    margin: 36px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 139, 139, 0.2);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.admission-form-block-title:first-of-type {
    margin-top: 8px;
}

.admission-form-block-title--compact {
    margin: 18px 0 10px;
    padding-bottom: 6px;
}

.admission-course-row {
    margin-bottom: 6px;
}

.admission-study-centre-group {
    gap: 10px;
}

.admission-form-block-title .fas {
    color: var(--secondary);
}

.admission-upload-hint {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    margin: -8px 0 12px;
    line-height: 1.45;
}

.form-group--file .file-field-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.qualification-docs-guidance {
    margin: -2px 0 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(30, 58, 95, 0.06);
    border: 1px solid rgba(30, 58, 95, 0.2);
    color: var(--text-dark);
    font-size: 13px;
    line-height: 1.5;
}

.qualification-doc-chip-row {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: 4px;
    vertical-align: middle;
}

.qualification-doc-chip {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(0, 139, 139, 0.08);
    border: 1px solid rgba(0, 139, 139, 0.28);
    font-size: 12px;
    line-height: 1.4;
}

#qualification-doc-upload-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
    width: 100%;
    padding-bottom: 0;
}

#qualification-doc-upload-list .form-group--file {
    min-width: 0;
    margin: 0;
}

#qualification-doc-upload-list .file-upload-box {
    width: 100%;
    gap: 8px;
}

#qualification-doc-upload-list .file-upload-trigger {
    font-size: 12px;
    color: #ffffff;
    font-weight: 500;
    padding: 8px 10px;
}

#qualification-doc-upload-list .file-preview-area {
    margin-top: 0;
}

#qualification-doc-upload-list .file-preview-list {
    gap: 6px;
}

#qualification-doc-upload-list .file-upload-box.has-file .file-upload-trigger {
    display: none;
}

#qualification-doc-upload-list .file-remove-btn {
    display: none !important;
}

#adm-id-proof-upload-row .file-upload-box.has-file .file-upload-trigger {
    display: none;
}

#adm-id-proof-upload-row .file-remove-btn {
    display: none !important;
}

.file-upload-trigger {
    color: #ffffff;
}

.admission-photo-choose {
    color: #ffffff;
}

.file-upload-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    background: var(--bg-white);
    transition: var(--transition);
}

.file-upload-box.has-file {
    border-color: rgba(0, 139, 139, 0.45);
    border-style: solid;
}

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

.file-upload-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.file-upload-trigger:hover {
    filter: brightness(1.05);
    box-shadow: var(--shadow-sm);
}

.file-preview-area {
    min-height: 0;
    width: 100%;
}

.file-preview-area:empty {
    display: none;
}

.file-upload-box.has-file .file-preview-area:not(:empty) {
    display: block;
}

.file-preview-success {
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(39, 174, 96, 0.12);
    border: 1px solid rgba(39, 174, 96, 0.35);
    color: #1f7a45;
    font-size: 13px;
    font-weight: 600;
}

.file-preview-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.file-preview-link {
    display: block;
    text-decoration: none;
    width: 100%;
}

.file-preview-img {
    max-width: 100%;
    max-height: 220px;
    width: auto;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.file-preview-pdf {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(231, 76, 60, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(231, 76, 60, 0.25);
    color: var(--text-dark);
    width: 100%;
}

.file-preview-pdf .fa-file-pdf {
    font-size: 2rem;
    color: var(--accent-red);
}

.file-preview-filename {
    font-weight: 600;
    word-break: break-all;
    font-size: 13px;
}

.file-preview-generic {
    padding: 12px;
    font-size: 14px;
    color: var(--text-light);
    word-break: break-all;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    width: 100%;
}

.file-preview-card {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-preview-card-actions {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.file-preview-tick {
    color: #26a65b;
    font-size: 14px;
}

.file-preview-cut-btn {
    border: 1px solid rgba(231, 76, 60, 0.5);
    background: #fff;
    color: #c0392b;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.file-preview-card .fa-file-pdf {
    color: var(--accent-red);
}

.file-preview-card .fa-image,
.file-preview-card .fa-file {
    color: var(--secondary);
}

.file-preview-title {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #6b7d90;
}

.file-add-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px dashed rgba(0, 139, 139, 0.5);
    border-radius: 50%;
    background: rgba(0, 139, 139, 0.08);
    color: #1e6f6f;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
}

#qualification-doc-upload-list .file-add-more-btn {
    display: none;
}

#qualification-doc-upload-list .file-upload-box.has-file .file-add-more-btn {
    display: inline-flex;
}

#adm-id-proof-upload-row .file-add-more-btn {
    display: none;
}

#adm-id-proof-upload-row .file-upload-box.has-file .file-add-more-btn {
    display: inline-flex;
}

#adm-payment-screenshot-box .file-upload-trigger {
    color: #ffffff;
}

#adm-payment-screenshot-box.has-file .file-upload-trigger {
    display: none;
}

#adm-payment-screenshot-box .file-remove-btn {
    display: none !important;
}

#adm-payment-screenshot-box .file-add-more-btn {
    display: none;
}

#adm-payment-screenshot-box.has-file .file-add-more-btn {
    display: inline-flex;
}

.file-add-more-btn:hover {
    background: rgba(0, 139, 139, 0.14);
}

.file-preview-error {
    margin: 0;
    font-size: 14px;
    color: var(--accent-red);
    font-weight: 600;
}

.file-remove-btn {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-red);
    background: transparent;
    border: 1px solid rgba(231, 76, 60, 0.4);
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

.file-remove-btn:hover {
    background: rgba(231, 76, 60, 0.08);
}

.form-group--checkbox {
    margin-top: 8px;
}

.form-group--checkbox .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1.5;
}

.form-group--checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--secondary);
}

/* Admission — Educational Qualification (tabular pattern) */
.edu-qual-section {
    margin-top: 8px;
    padding: 28px 24px 32px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.edu-qual-section .form-group {
    margin-bottom: 0;
}

.edu-qual-section__title {
    margin: 0 0 22px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.edu-qual-section__title .fa-graduation-cap {
    font-size: 1.35rem;
}

.req-star {
    color: #e6a800;
    font-weight: 800;
}

.edu-qual-details-block {
    margin: 0 0 -1px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.edu-qual-details-label {
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    font-size: 13px;
    line-height: 1.1;
}

.edu-qual-status {
    margin: 0;
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    line-height: 1.35;
}

.edu-qual-status .fa-info-circle {
    color: var(--accent-blue);
}

.edu-qual-status--success {
    color: var(--accent-green);
    font-weight: 600;
}

.edu-qual-status--success .fa-check-circle {
    color: var(--accent-green);
}

.edu-qual-form-error {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-red);
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.35);
}

.admission-form-client-error {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-red);
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.35);
}

.edu-qual-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 0;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: #fafbfc;
}

.edu-qual-add-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

.edu-add-level-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    color: var(--accent-green);
    background: rgba(39, 174, 96, 0.08);
    border: 2px solid var(--accent-green);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.edu-add-level-btn:hover:not(:disabled) {
    background: rgba(39, 174, 96, 0.18);
    transform: translateY(-1px);
}

.edu-add-level-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.edu-qual-level-cell-wrap {
    vertical-align: middle;
}

.edu-qual-pct-cell {
    width: 6.25rem;
    text-align: center;
    vertical-align: middle;
}

.edu-qual-pct-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.edu-qual-pct-suffix {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-dark);
    opacity: 0.75;
    flex-shrink: 0;
}

.edu-qual-pct-out {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 4.25rem;
    padding: 10px 6px;
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    font-family: inherit;
    background: #f0f4f8;
    color: var(--secondary-dark);
    cursor: default;
}

.edu-qual-pct-out--warn {
    color: var(--accent-red);
    border-color: rgba(231, 76, 60, 0.5);
    background: rgba(231, 76, 60, 0.06);
}

.edu-qual-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    font-size: 14px;
}

.edu-qual-table thead th {
    padding: 14px 10px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #5c6c7c;
    text-transform: uppercase;
    background: #eef1f4;
    border-bottom: 2px solid var(--border-color);
}

.edu-qual-table tbody td {
    padding: 10px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-white);
}

.edu-qual-level-cell {
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--text-dark);
    white-space: nowrap;
}

.edu-qual-input {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    transition: var(--transition);
}

.edu-qual-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.12);
}

.edu-qual-row.edu-row--confirmed .edu-qual-input:not(:placeholder-shown),
.edu-qual-row.edu-row--confirmed .edu-qual-input:placeholder-shown {
    border-color: rgba(39, 174, 96, 0.45);
}

.edu-qual-row.edu-row--confirmed .edu-qual-level-cell {
    color: var(--accent-green);
}

.edu-qual-actions {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.edu-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.edu-btn--confirm {
    background: var(--accent-green);
    color: #fff;
    border-color: var(--accent-green);
}

.edu-btn--confirm:hover {
    filter: brightness(1.08);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.35);
}

.edu-row--confirmed .edu-btn--confirm {
    background: #1e8449;
    border-color: #1e8449;
}

.edu-btn--delete {
    background: transparent;
    color: var(--accent-red);
    border-color: var(--accent-red);
}

.edu-btn--delete:hover {
    background: rgba(231, 76, 60, 0.08);
}

@media (max-width: 768px) {
    .edu-qual-section {
        padding: 20px 16px 24px;
    }
}

.content-wrapper h2 {
    font-size: 32px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.content-wrapper p {
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}

/* MoU page typography tuning for h2-h3 rhythm */
.mou-page .content-wrapper h2 {
    font-family: "Times New Roman", Georgia, serif;
    font-size: 1.75rem;
    line-height: 1.3;
    margin-top: 1.85rem;
    margin-bottom: 6px;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #e4ebf3;
}

.mou-page .mou-vision-callout + h2 {
    margin-top: 1.35rem;
}

.mou-page .content-wrapper {
    position: relative;
    overflow: hidden;
    border: 1px solid #d5deea;
    border-top: 4px solid #c4d3e6;
    border-bottom: 4px solid #c4d3e6;
    border-radius: 8px;
    background: linear-gradient(180deg, #fffefb 0%, #fffdfa 100%);
    box-shadow: 0 10px 28px rgba(34, 55, 78, 0.08);
    padding: 24px 28px;
}

.mou-page .content-wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    background: linear-gradient(180deg, #d9e4f2 0%, #c9d8ea 100%);
    box-shadow: inset -1px 0 0 rgba(56, 84, 114, 0.18);
}

.mou-page .content-wrapper h3 {
    font-family: "Times New Roman", Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.45;
    margin-top: 0;
    margin-bottom: 10px;
    color: #3f5f7c;
    font-weight: 600;
}

.mou-page .content-wrapper p,
.mou-page .content-wrapper li,
.mou-page .content-wrapper summary {
    font-family: "Times New Roman", Georgia, serif;
    font-size: 1.03rem;
    line-height: 1.75;
}

.mou-page .content-wrapper p {
    text-align: justify;
}

.mou-page .mou-doc-header {
    border-bottom: 1px solid #d8e0ea;
    padding-bottom: 10px;
    margin-bottom: 16px;
}

.mou-page .mou-doc-header p {
    margin-bottom: 4px;
}

.mou-page .mou-toc {
    background: #f8fbff;
    border: 1px solid #d8e4f1;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 18px;
}

.mou-page .mou-toc h3 {
    margin-bottom: 6px;
    color: #2e4f70;
}

.mou-page .mou-toc ol {
    margin: 0;
    padding-left: 22px;
    line-height: 1.65;
}

.mou-page .mou-toc a {
    color: #2a4a68;
    text-decoration: none;
    border-bottom: none;
}

.mou-page .mou-toc a:hover {
    color: var(--primary);
    border-bottom: none;
}

.mou-page .mou-doc-list {
    color: var(--text-light);
    margin-bottom: 16px;
    padding-left: 28px;
}

.mou-page .mou-doc-list li {
    margin-bottom: 6px;
    padding-left: 4px;
}

.mou-page .mou-doc-list--vision li {
    margin-bottom: 10px;
}

.mou-vision-callout {
    margin: 0 0 1.35rem 0;
    padding: 14px 18px 16px 20px;
    border-left: 4px solid #5a7fa3;
    background: linear-gradient(180deg, #f6f9fc 0%, #eef4fa 100%);
    border-radius: 0 8px 8px 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.mou-vision-callout__label {
    font-family: "Times New Roman", Georgia, serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2e4f70;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.mou-vision-callout p:last-child {
    margin-bottom: 0;
}

.mou-doc-closing {
    margin-top: 1.35rem;
    padding-top: 16px;
    border-top: 1px dashed #c9d6e4;
    font-style: italic;
    color: #3a4f63;
}

.mou-mpypcp-sitelink {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.mou-mpypcp-sitelink:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.mou-partner-intro__note {
    font-size: 0.98rem;
    color: #4a5d6e;
    margin-top: 14px;
    margin-bottom: 0;
    padding: 10px 12px;
    background: rgba(90, 127, 163, 0.06);
    border-radius: 6px;
    border-left: 3px solid #8aa9c4;
}

.mou-page .content-wrapper details p {
    margin-bottom: 12px;
}

.mou-page .content-wrapper details p:last-child {
    margin-bottom: 0;
}

.mou-page .content-wrapper details {
    border: 1px solid #d6dfeb;
    border-radius: 6px;
    background: #fbfdff;
    padding: 8px 12px;
    margin-bottom: 10px;
}

.mou-page .content-wrapper details summary {
    cursor: pointer;
    font-weight: 700;
    color: #314f6b;
}

/* Forms */
.contact-form,
.form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1);
}

.submit-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    align-self: flex-start;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a252f 100%);
    color: white;
    padding: 60px 0 0;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Social Links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

/* Footer Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.footer-links a i {
    font-size: 10px;
    color: var(--primary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a:hover i {
    color: var(--secondary);
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 20px;
    color: var(--primary);
    margin-top: 5px;
    min-width: 24px;
}

.contact-item strong {
    display: block;
    color: white;
    margin-bottom: 5px;
    font-size: 14px;
}

.contact-item p {
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-size: 14px;
}

/* EEAT / trust disclaimer — above copyright row */
.footer-eeat {
    margin-top: 12px;
    margin-bottom: 0;
    padding: 18px 20px 20px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-eeat p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
}

.footer-eeat p:last-child {
    margin-bottom: 0;
}

.footer-eeat a {
    color: var(--accent-yellow);
    font-weight: 600;
}

.footer-eeat a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-eeat + .footer-bottom {
    margin-top: 16px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    margin-top: 40px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

.footer-bottom-links span {
    color: rgba(255,255,255,0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 clamp(8px, 2.5vw, 16px);
    }
    
    .main-nav > li > a {
        padding: 12px 10px;
        font-size: 12px;
    }
}

@media (max-width: 968px) {
    :root {
        --hero-slider-height: clamp(260px, 48vh, 460px);
    }

    .hero-slider.hero-slider--measuring {
        min-height: clamp(260px, 48vh, 460px) !important;
    }

    .slide-content {
        padding: 18px clamp(10px, 3vw, 18px) 46px;
        max-width: 100%;
        align-items: flex-end;
    }

    .slide-left {
        max-width: 100%;
    }

    .slide-bg {
        background-size: cover;
        background-position: center center;
    }

    .slide-bg-overlay {
        background: linear-gradient(
            165deg,
            rgba(252, 253, 255, 0.99) 0%,
            rgba(248, 250, 252, 0.94) 22%,
            rgba(248, 250, 252, 0.72) 42%,
            rgba(248, 250, 252, 0.35) 58%,
            rgba(248, 250, 252, 0.1) 72%,
            transparent 88%
        );
    }

    .page-home .slide-bg-overlay {
        background: linear-gradient(
            165deg,
            rgba(252, 253, 255, 0.995) 0%,
            rgba(248, 250, 252, 0.96) 28%,
            rgba(248, 250, 252, 0.78) 48%,
            rgba(248, 250, 252, 0.42) 64%,
            rgba(248, 250, 252, 0.12) 78%,
            transparent 92%
        );
    }

    .main-heading {
        font-size: clamp(1.65rem, 5.2vw, 2.65rem);
    }

    .hero-subheading {
        font-size: clamp(1.1rem, 2.4vw, 1.5rem);
    }
    
    .banner-strip {
        font-size: clamp(1.05rem, 3.2vw, 1.5rem);
        padding: 12px 18px;
        gap: 12px;
        margin: 12px 0;
    }

    .page-home .slide-text .banner-strip {
        flex-wrap: nowrap;
        max-width: 100%;
        font-size: clamp(0.62rem, 2.2vw + 0.32rem, 1.02rem);
        padding: 10px 14px;
        gap: 10px;
        letter-spacing: 0.35px;
    }

    .page-home .slide-text .banner-strip .banner-text,
    .page-home .slide-text .banner-strip .banner-text a {
        white-space: nowrap;
    }

    .page-home .sub-text {
        margin: 10px 0;
    }
    
    .news-notice-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        position: relative;
    }

    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        z-index: 1200;
    }
    
    .nav-menu.active {
        max-height: 1000px;
        padding: 14px 12px 16px;
    }
    
    .main-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .main-nav > li {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8fafc;
        margin-top: 6px;
        border: 1px solid #d9e2ec;
        border-top: 1px solid #d9e2ec;
        border-radius: 12px;
        padding: 0;
        min-width: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.28s ease, padding 0.2s ease;
    }

    .dropdown.mobile-open .dropdown-menu {
        max-height: min(92vh, 960px);
        padding: 6px 0;
    }

    .main-nav > li > a {
        padding: 11px 12px;
        font-size: 14px;
        border-radius: 10px;
    }

    .dropdown-toggle {
        justify-content: space-between;
    }

    .dropdown-toggle .fa-chevron-down {
        margin-left: auto;
        font-size: 11px;
        opacity: 0.85;
    }

    .dropdown.mobile-open > .dropdown-toggle .fa-chevron-down {
        transform: rotate(180deg);
    }

    .dropdown-menu a {
        padding: 10px 12px;
        gap: 10px;
        font-size: 0.97rem;
        border-radius: 8px;
        margin: 0 6px;
        line-height: 1.5;
    }

    .dropdown-menu a:hover {
        padding-left: 12px;
        transform: none;
        background: rgba(23, 63, 95, 0.08);
    }

    .dropdown-menu a i {
        width: 16px;
        font-size: 13px;
    }

    body.page-home {
        --hero-slider-height: clamp(220px, 38vh, 340px);
    }

    .page-home .hero-slider.hero-slider--measuring {
        min-height: clamp(220px, 38vh, 340px) !important;
    }

    .page-home .slide-text {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .page-home .main-heading {
        font-size: clamp(1.2rem, 4.5vw, 1.65rem);
        line-height: 1.18;
        margin-bottom: 6px;
        letter-spacing: -0.02em;
        max-width: 100%;
        text-shadow:
            0 0 1px rgba(255, 255, 255, 0.95),
            0 1px 2px rgba(255, 255, 255, 0.85),
            0 2px 6px rgba(0, 0, 0, 0.06);
    }

    .page-home .hero-subheading {
        font-size: clamp(0.95rem, 3.1vw, 1.12rem);
        line-height: 1.32;
        margin: 0 0 8px;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.92);
    }

    .page-home .slide-text .banner-strip {
        margin: 8px 0 6px;
        padding: 7px 10px;
        gap: 7px;
        letter-spacing: 0.22px;
        flex-wrap: nowrap;
        justify-content: center;
        max-width: 100%;
        font-size: clamp(0.54rem, 2.55vw + 0.28rem, 0.86rem);
    }

    .page-home .slide-text .banner-strip .banner-text,
    .page-home .slide-text .banner-strip .banner-text a {
        white-space: nowrap;
    }

    .page-home .slide-text .banner-strip .plus {
        font-size: 1.15rem;
        line-height: 1;
    }

    .page-home .sub-text {
        font-size: clamp(0.82rem, 2.7vw, 0.95rem);
        line-height: 1.45;
        margin: 6px 0;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
    }

    .page-home .slide-text {
        text-align: left;
    }

    .page-home .hero-cta-row {
        margin-top: 10px;
        gap: 8px 10px;
    }

    .page-home .hero-cta-btn {
        padding: 10px 16px;
        font-size: clamp(0.8rem, 0.45vw + 0.72rem, 0.9rem);
        gap: 8px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    /* Footer Responsive */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .top-bar .container {
        max-width: none;
        width: 100%;
        padding-left: clamp(4px, 2vw, 10px);
        padding-right: clamp(4px, 2vw, 10px);
        box-sizing: border-box;
    }

    .container {
        padding-left: clamp(6px, 2.8vw, 14px);
        padding-right: clamp(6px, 2.8vw, 14px);
    }

    .top-bar .top-bar-content {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }

    .top-bar .contact-info {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 10px 14px;
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 6px 0 8px;
        box-sizing: border-box;
    }

    .top-bar .contact-info::-webkit-scrollbar {
        display: none;
    }

    .top-bar .contact-info > span:nth-child(3) {
        display: none;
    }

    .top-bar .contact-info > span:nth-child(-n + 2) {
        flex: 0 0 auto;
        justify-content: center;
        align-items: center;
        font-weight: 700;
        font-size: clamp(12px, 3.2vw, 15px);
        line-height: 1.2;
        white-space: nowrap;
        padding: 6px 4px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.08);
    }

    .top-bar .contact-info > span:nth-child(-n + 2) i {
        font-size: clamp(13px, 3.5vw, 16px);
        flex-shrink: 0;
    }

    .contact-info {
        gap: 15px;
        font-size: 12px;
    }
    
    .top-menu-right {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 6px 10px;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 2px 0;
        box-sizing: border-box;
    }

    .top-menu-right::-webkit-scrollbar {
        display: none;
    }

    .slide-content {
        padding: 14px clamp(8px, 2.5vw, 14px) 38px;
        align-items: flex-end;
    }

    .page-home .slide-content {
        padding-bottom: 36px;
        align-items: stretch;
    }

    .page-home .slide-left {
        width: 100%;
        max-width: 100%;
        padding: 14px 12px 16px;
        border-radius: 14px;
        background: rgba(255, 252, 249, 0.58);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 4px 22px rgba(10, 31, 51, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.6);
        box-sizing: border-box;
    }

    .who-inline-block {
        flex-direction: column;
        align-items: center;
        border-left: none;
        border-top: 4px solid var(--primary);
        padding: 20px 16px;
        gap: 0;
    }

    .who-inline-block .who-logo--inline {
        max-height: 56px;
        width: auto;
        margin: 0 0 14px;
    }

    .who-inline-block p {
        flex: none;
        width: 100%;
        max-width: 40rem;
        margin-inline: auto;
        text-align: left;
        font-size: clamp(0.94rem, 3.1vw, 1.02rem);
        line-height: 1.65;
    }

    .welcome-content h2 {
        font-size: clamp(1.45rem, 5vw, 1.9rem);
        line-height: 1.2;
    }

    .welcome-content p {
        text-align: left;
    }

    /* Hero: swipeable slides + compact controls at bottom */
    .hero-slider .slider-track {
        display: flex;
        flex-direction: row;
        flex: 1 1 auto;
        min-height: 0;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .hero-slider .slider-track::-webkit-scrollbar {
        height: 5px;
    }

    .hero-slider .slider-track::-webkit-scrollbar-thumb {
        background: rgba(22, 67, 102, 0.35);
        border-radius: 4px;
    }

    .hero-slider .slider-track .slide {
        display: flex !important;
        flex-direction: column;
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        height: 100%;
        min-height: 0;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        animation: none;
    }

    .hero-slider .slider-controls {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px 14px;
        padding: 4px 12px 10px;
        flex-shrink: 0;
        position: relative;
        z-index: 22;
        background: linear-gradient(to top, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.55) 55%, transparent 100%);
    }

    .hero-slider .slider-controls .slider-nav {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-width: 1px;
        background: rgba(255, 255, 255, 0.82);
        box-shadow: 0 2px 12px rgba(18, 52, 82, 0.16);
    }

    .hero-slider .slider-controls .slider-nav:hover {
        transform: scale(1.06);
    }

    .hero-slider .slider-controls .slider-dots {
        position: static;
        transform: none;
        bottom: auto;
        left: auto;
        gap: 8px;
    }

    .page-home .slide-content {
        padding-bottom: 12px;
    }

    .top-menu-links {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 4px 8px;
        width: auto;
        flex: 0 0 auto;
        padding-right: 6px;
        padding-bottom: 0;
        margin: 0;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.22);
        justify-content: flex-start;
    }

    .top-menu-links a {
        font-size: 11px;
        padding: 3px 3px;
        white-space: nowrap;
    }

    .top-menu-links a i {
        font-size: 11px;
    }

    .study-topic-columns {
        grid-template-columns: 1fr;
        gap: 6px 14px;
    }

    .study-book-layout {
        gap: 16px;
    }

    .study-book-toc {
        padding: 16px 14px 14px;
    }

    .study-book-toc ol {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .study-book-content {
        padding: 22px 16px 22px 36px;
        font-size: 1.02rem;
        background:
            radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.5) 0, rgba(255, 255, 255, 0) 34%),
            radial-gradient(circle at 78% 66%, rgba(0, 0, 0, 0.03) 0, rgba(0, 0, 0, 0) 36%),
            linear-gradient(90deg, rgba(182, 149, 120, 0.22) 0, rgba(182, 149, 120, 0.22) 1px, transparent 1px) 28px 0 / 100% 100% no-repeat,
            linear-gradient(180deg, #fdfbf6 0%, #f4ebe0 55%, #efe4d6 100%);
    }

    .study-chapter::before {
        top: 8px;
        right: 10px;
        font-size: 0.66rem;
        padding: 3px 7px;
    }

    .study-hero,
    .study-topic-panel,
    .study-action-box,
    .study-entry-card {
        padding: 16px 14px;
    }

    .top-social-links {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        width: auto;
        flex: 0 0 auto;
    }

    .top-social-links .follow-label {
        margin-right: 4px;
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 11px;
    }

    .top-social-links a {
        width: 28px;
        height: 28px;
        font-size: 12px;
        flex-shrink: 0;
    }
    
    .main-nav > li > a i {
        display: none;
    }
    
    .dropdown-menu a i {
        display: inline-block;
    }
}

@media (max-width: 400px) {
    .top-menu-right {
        gap: 4px 8px;
    }

    .top-menu-links {
        gap: 2px 4px;
        padding-right: 4px;
    }

    .top-menu-links a {
        font-size: 0;
        letter-spacing: 0;
        line-height: 1;
        padding: 2px 2px;
    }

    .top-menu-links a i {
        font-size: 15px;
        color: #fff;
    }

    .top-social-links {
        position: relative;
        gap: 4px;
    }

    .top-social-links .follow-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .top-social-links a {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    :root {
        --hero-slider-height: clamp(240px, 44vh, 400px);
    }

    .hero-slider.hero-slider--measuring {
        min-height: clamp(240px, 44vh, 400px) !important;
    }

    body.page-home {
        --hero-slider-height: clamp(200px, 34vh, 300px);
    }

    .page-home .hero-slider.hero-slider--measuring {
        min-height: clamp(200px, 34vh, 300px) !important;
    }

    .slide-content {
        padding: 12px clamp(6px, 2vw, 10px) 34px;
    }

    .page-home .slide-content {
        padding: 10px clamp(6px, 2vw, 10px) 32px;
    }

    .page-home .slide-left {
        padding: 10px 10px 12px;
        border-radius: 12px;
    }

    .who-inline-block {
        padding: 16px 12px;
    }

    .main-heading {
        font-size: clamp(1.2rem, 6.2vw, 1.65rem);
        line-height: 1.2;
    }

    .page-home .main-heading {
        font-size: clamp(1.05rem, 5.4vw, 1.38rem);
        line-height: 1.16;
        margin-bottom: 4px;
    }

    .hero-subheading {
        font-size: 1.02rem;
    }

    .page-home .hero-subheading {
        font-size: clamp(0.88rem, 3.4vw, 1rem);
        margin-bottom: 6px;
    }
    
    .banner-strip {
        font-size: clamp(0.9rem, 3.6vw, 1.05rem);
        padding: 12px 14px;
        gap: 8px;
        flex-wrap: nowrap;
        justify-content: center;
        max-width: 100%;
        letter-spacing: 0.4px;
    }

    .page-home .slide-text .banner-strip {
        font-size: clamp(0.5rem, 2.75vw + 0.24rem, 0.76rem);
        padding: 6px 8px;
        gap: 5px;
        margin: 6px 0 4px;
        letter-spacing: 0.12px;
        flex-wrap: nowrap;
    }

    .page-home .slide-text .banner-strip .banner-text,
    .page-home .slide-text .banner-strip .banner-text a {
        white-space: nowrap;
    }

    .banner-strip .plus {
        font-size: 1.35rem;
    }

    .page-home .slide-text .banner-strip .plus {
        font-size: 1rem;
    }

    .sub-text {
        font-size: clamp(0.92rem, 3.1vw, 1rem);
        margin: 12px 0;
    }

    .page-home .sub-text {
        font-size: clamp(0.78rem, 2.9vw, 0.88rem);
        line-height: 1.42;
        margin: 4px 0;
    }

    .page-home .hero-cta-row {
        margin-top: 8px;
        gap: 6px 8px;
    }

    .page-home .hero-cta-btn {
        padding: 9px 14px;
        font-size: clamp(0.78rem, 2.4vw + 0.14rem, 0.88rem);
        flex: 1 1 auto;
        min-width: min(100%, 140px);
        justify-content: center;
        gap: 8px;
    }

    .hero-slider .slider-controls .slider-nav {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .top-bar .contact-info > span:nth-child(-n + 2) {
        font-size: clamp(13px, 3.8vw, 16px);
        padding: 6px 4px;
    }

    .top-bar .contact-info > span:nth-child(-n + 2) i {
        font-size: clamp(14px, 4vw, 17px);
    }
    
    .page-header h1 {
        font-size: 32px;
    }

    .page-home .logo-img {
        max-height: 52px;
        max-width: min(260px, 58vw);
    }

    .page-home .site-title {
        font-size: 17px;
    }

    .page-home .site-tagline {
        font-size: 11px;
        max-width: 14rem;
    }

    .page-home .nav-wrapper {
        padding: 6px 0;
    }

    .logo-img {
        max-height: 48px;
        max-width: min(220px, 50vw);
    }

    .site-title {
        white-space: normal;
    }

    .site-tagline {
        font-size: 11px;
        max-width: 12rem;
    }
}

/* Inline page imagery (shared across inner pages + home previews) */
.page-banner-img {
    display: block;
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto 28px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    object-fit: cover;
    max-height: 280px;
}

.page-inline-img {
    display: block;
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto 28px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    object-fit: cover;
    max-height: 360px;
}

.page-inline-img--contain {
    object-fit: contain;
    background: var(--bg-light);
    padding: 12px;
}

/* Verification hub pages — certificate, second DB, membership (embedded partner forms) */
.page-header--verify {
    padding: clamp(52px, 11vw, 84px) 0 clamp(40px, 7vw, 68px);
}

.page-header--verify h1 {
    font-size: clamp(1.5rem, 4vw, 2.35rem);
    line-height: 1.22;
    max-width: 22em;
    margin-left: auto;
    margin-right: auto;
}

.page-header__lead-verify {
    position: relative;
    z-index: 1;
    margin: 16px auto 0;
    max-width: 38rem;
    font-size: clamp(0.94rem, 2vw, 1.06rem);
    line-height: 1.55;
    opacity: 0.94;
    font-weight: 500;
}

.verify-hub.content-section {
    padding-top: clamp(36px, 6vw, 52px);
    padding-bottom: clamp(48px, 9vw, 80px);
    background: linear-gradient(180deg, #f0fafb 0%, #f8fcfd 38%, #fff 72%);
}

.verify-hub-page .verify-page {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.verify-db-banner {
    text-align: center;
    margin-bottom: clamp(24px, 4vw, 36px);
    padding: 20px 22px;
    border-radius: 16px;
    border: 1px solid rgba(0, 139, 139, 0.22);
    border-left: 4px solid var(--primary);
    background: linear-gradient(145deg, #fff 0%, #f4fbfc 100%);
    box-shadow: 0 8px 28px rgba(44, 62, 80, 0.07);
}

.verify-db-banner--membership {
    text-align: left;
    border-left-color: var(--secondary);
}

.verify-db-banner__hi {
    margin: 0 0 12px;
    font-size: clamp(0.95rem, 2.2vw, 1.08rem);
    line-height: 1.55;
    color: var(--text-dark);
}

.verify-db-banner__hi strong {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.verify-db-banner__en {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.68;
    color: var(--text-light);
}

.verify-db-banner__en--solo {
    font-size: 0.98rem;
}

.verify-db-banner__en a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.verify-db-banner__en a:hover {
    text-decoration: underline;
}

.verify-page__intro {
    text-align: left;
    margin: 0 0 clamp(20px, 3vw, 28px);
    padding-bottom: 4px;
}

.verify-page__intro-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 12px;
    font-size: clamp(1.12rem, 2.5vw, 1.38rem);
    color: var(--text-dark);
    line-height: 1.3;
}

.verify-page__intro-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.verify-page__intro-icon--primary {
    background: linear-gradient(145deg, rgba(0, 139, 139, 0.18), rgba(0, 139, 139, 0.06));
    color: var(--primary-dark);
}

.verify-page__intro-icon--secondary {
    background: linear-gradient(145deg, rgba(4, 93, 93, 0.16), rgba(4, 93, 93, 0.05));
    color: var(--secondary-dark, #045d5d);
}

.verify-page__intro-text {
    margin: 0;
    max-width: 52rem;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-light);
}

.verify-page__intro-text a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.verify-page__intro-text a:hover {
    text-decoration: underline;
}

.verify-panel {
    max-width: 960px;
    margin: 0 auto;
}

.verify-panel__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(0, 139, 139, 0.09), rgba(30, 58, 95, 0.06));
    border: 1px solid rgba(0, 139, 139, 0.2);
    border-bottom: none;
    border-radius: 14px 14px 0 0;
}

.verify-panel__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    color: var(--primary-dark);
    text-transform: uppercase;
}

.verify-panel__badge i {
    opacity: 0.88;
}

.verify-panel__membership-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark, #045d5d));
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.86rem;
    box-shadow: 0 4px 12px rgba(4, 93, 93, 0.25);
}

.verify-panel__membership-link:hover {
    filter: brightness(1.05);
}

.verify-panel__host {
    font-size: 0.84rem;
    color: var(--text-light);
    line-height: 1.45;
    max-width: 26rem;
    text-align: right;
}

.verify-trust-note {
    max-width: 960px;
    margin: 12px auto 0;
    padding: 12px 16px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-light);
    background: rgba(30, 58, 95, 0.04);
    border-radius: 10px;
    border: 1px dashed rgba(0, 139, 139, 0.22);
}

.verify-trust-note i {
    margin-right: 6px;
    color: var(--primary);
}

.verify-trust-note a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.verify-trust-note a:hover {
    text-decoration: underline;
}

.verify-guide {
    max-width: 960px;
    margin: 16px auto 0;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid rgba(0, 139, 139, 0.2);
    background: linear-gradient(145deg, #ffffff 0%, #f5fafc 100%);
    box-shadow: 0 8px 22px rgba(44, 62, 80, 0.06);
}

.verify-guide h2 {
    margin: 0 0 12px;
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    color: var(--text-dark);
}

.verify-guide h3 {
    margin: 16px 0 10px;
    font-size: 1rem;
    color: var(--text-dark);
}

.verify-guide__steps,
.verify-guide__points {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.verify-guide__steps li + li,
.verify-guide__points li + li {
    margin-top: 6px;
}

.verify-guide__note {
    margin: 14px 0 0;
    padding: 10px 12px;
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    background: rgba(0, 139, 139, 0.06);
    color: var(--text-dark);
    font-size: 0.92rem;
    line-height: 1.6;
}

.verify-journey {
    max-width: 960px;
    margin: 22px auto 0;
    padding: 20px 22px;
    border-radius: 14px;
    border: 1px solid rgba(30, 58, 95, 0.12);
    background: linear-gradient(180deg, #fff 0%, #fbfeff 100%);
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.07);
}

.verify-journey h2 {
    margin: 0 0 12px;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    color: var(--text-dark);
    line-height: 1.35;
}

.verify-journey__selfcheck {
    margin: 0 0 14px;
    padding: 10px 12px;
    font-size: 0.87rem;
    line-height: 1.58;
    color: var(--text-light);
    background: rgba(251, 191, 36, 0.12);
    border-radius: 8px;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.verify-journey__selfcheck strong {
    color: var(--text-dark);
}

.verify-journey__plan {
    margin: 0 0 18px;
    padding-left: 1.25rem;
    font-size: 0.93rem;
    line-height: 1.72;
    color: var(--text-light);
}

.verify-journey__plan li + li {
    margin-top: 8px;
}

.verify-journey__plan strong {
    color: var(--text-dark);
}

.verify-journey__code {
    font-size: 0.85em;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    background: rgba(30, 58, 95, 0.07);
}

.verify-iframe-wrap {
    width: 100%;
    max-width: 960px;
    margin: 0 auto 28px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 95, 0.14);
    box-shadow: 0 10px 32px rgba(44, 62, 80, 0.1);
    background: #f9fafb;
}

.verify-iframe-wrap--panel {
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 0 0 14px 14px;
    border-top: none;
}

.verify-iframe-wrap iframe {
    display: block;
    width: 100%;
    height: min(70vh, 620px);
    border: 0;
    margin: 0;
    padding: 0;
}

.verify-iframe-wrap--tall iframe {
    height: min(1500px, 88vh);
}

.verify-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: center;
    margin-top: clamp(26px, 5vw, 36px);
    padding: 20px 18px;
    border-radius: 16px;
    background: linear-gradient(145deg, #fff 0%, #f4fafc 100%);
    border: 1px solid rgba(0, 139, 139, 0.14);
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.06);
}

.verify-actions__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.verify-actions__btn--secondary {
    background: linear-gradient(135deg, var(--bg-white), #fafafa);
    color: var(--primary-dark);
    border: 2px solid rgba(0, 139, 139, 0.38);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.08);
}

.verify-actions__btn--secondary:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark, #045d5d));
    border-color: transparent;
}

.verify-last-link {
    margin: 14px 0 0;
    text-align: center;
    font-size: 0.86rem;
}

.verify-last-link a {
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 1px dotted rgba(30, 58, 95, 0.35);
}

.verify-last-link a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

@media (max-width: 640px) {
    .verify-panel__host {
        text-align: left;
        max-width: none;
    }

    .verify-panel__badge {
        font-size: 0.82rem;
    }

    .verify-panel__membership-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .verify-iframe-wrap:not(.verify-iframe-wrap--tall) iframe {
        height: min(62vh, 540px);
    }

    .verify-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .verify-actions .verify-actions__btn,
    .verify-actions .course-btn {
        justify-content: center;
        width: 100%;
    }
}

.home-preview-thumb {
    width: 100%;
    max-height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 14px;
}

/* Homepage latest awareness: image-only cards (no icon/title/body under image) */
.latest-awareness-section .latest-awareness-card.course-card {
    padding: 0;
    text-align: left;
}

.latest-awareness-section .latest-awareness-card.course-card::before {
    display: none;
}

.latest-awareness-section .latest-awareness-card.course-card:hover {
    transform: translateY(-8px);
}

.latest-awareness-section .latest-awareness-card__link {
    display: block;
    line-height: 0;
    border-radius: 14px;
    overflow: hidden;
    outline: none;
}

.latest-awareness-section .latest-awareness-card__link:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.latest-awareness-section .latest-awareness-card__img {
    display: block;
    width: 100%;
    height: clamp(200px, 28vw, 260px);
    object-fit: cover;
    object-position: center;
}

.latest-awareness-section .latest-awareness-card__title {
    margin: 10px 12px 14px;
    font-size: 1.02rem;
    line-height: 1.35;
    color: var(--text-dark);
}

.latest-awareness-section .latest-awareness-card__title a {
    color: inherit;
    text-decoration: none;
}

.latest-awareness-section .latest-awareness-card__title a:hover {
    color: var(--primary);
}

.latest-awareness-section .latest-awareness-card__excerpt {
    margin: 0 12px 14px;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.latest-awareness-section .latest-awareness-card__cta {
    margin: 0 12px 16px;
}

.latest-awareness-note {
    margin-top: 14px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Language switcher + rich awareness content blocks */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.lang-switcher__btn {
    border: 0;
    background: transparent;
    color: var(--text-dark);
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-switcher__btn:hover {
    background: rgba(210, 105, 30, 0.12);
}

.lang-switcher__btn.is-active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}

/* Study section (bilingual) */
:root {
    --study-page-width: min(1180px, 100%);
}

.study-page .content-wrapper {
    max-width: var(--study-page-width);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-section.study-page > .container {
    max-width: var(--study-page-width);
}

.study-page [data-lang-block] {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
}

/* Keep HTML hidden attribute authoritative for language blocks */
.study-page [data-lang-block][hidden] {
    display: none !important;
}

.study-page [data-lang-block] > section,
.study-page [data-lang-block] > .study-book-layout {
    width: 100%;
    max-width: var(--study-page-width);
    margin-left: auto;
    margin-right: auto;
}

.study-hero {
    background:
        radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0) 36%),
        radial-gradient(circle at 86% 78%, rgba(0, 0, 0, 0.04) 0, rgba(0, 0, 0, 0) 38%),
        linear-gradient(180deg, #fefcf9 0%, #f6efe5 100%);
    border: 1px solid rgba(90, 66, 49, 0.18);
    border-left: 5px solid var(--secondary);
    border-radius: 16px;
    padding: 22px 24px;
    margin: 0;
    box-shadow:
        inset 0 0 0 1px rgba(90, 66, 49, 0.08),
        0 10px 22px rgba(60, 42, 30, 0.10);
}

.study-hero h2 {
    margin: 0 0 10px;
    font-size: clamp(1.3rem, 2.8vw, 1.8rem);
}

.study-hero p {
    margin: 0 0 10px;
    color: var(--text-light);
    line-height: 1.75;
}

/* Study hub: bookshelf + 3D book covers */
.page-header--study {
    background:
        radial-gradient(ellipse 120% 80% at 50% 0%, rgba(210, 105, 30, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, #2c2419 0%, #3d3228 42%, #4a3d32 100%);
    color: #fdf8f0;
    border-bottom: 4px solid #6b5344;
    box-shadow: inset 0 -20px 40px rgba(0, 0, 0, 0.25);
}

.page-header--study::before {
    background: url('data:image/svg+xml,<svg width="80" height="80" xmlns="http://www.w3.org/2000/svg"><path d="M4 68 L76 68" stroke="rgba(255,255,255,0.06)" stroke-width="1"/><circle cx="12" cy="20" r="1.2" fill="rgba(255,255,255,0.07)"/></svg>');
    opacity: 0.45;
}

.page-header--study h1 {
    color: #fff8ee;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.page-header__tagline--study {
    position: relative;
    z-index: 1;
    margin: 8px auto 0;
    font-size: 0.98rem;
    opacity: 0.92;
    color: #e8dcc8;
    max-width: 36rem;
}

.study-bookshelf {
    position: relative;
    margin: 0;
    padding: 26px 18px 36px;
    border-radius: 18px;
    background:
        radial-gradient(ellipse 90% 55% at 50% 0%, rgba(255, 252, 245, 0.45) 0%, transparent 52%),
        linear-gradient(185deg, #d9cfc2 0%, #c9bba8 38%, #b8a896 100%);
    border: 1px solid rgba(74, 58, 42, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -2px 8px rgba(60, 48, 36, 0.12),
        0 14px 28px rgba(45, 35, 26, 0.18);
}

.study-bookshelf__title {
    margin: 0 0 6px;
    text-align: center;
    font-size: clamp(1.1rem, 2.4vw, 1.35rem);
    color: #3a2e22;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.study-bookshelf__lead {
    margin: 0 auto 22px;
    max-width: 42rem;
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #524636;
}

.study-bookshelf__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 20px 24px;
    padding: 8px 6px 14px;
    perspective: 1200px;
}

.study-bookshelf__plank {
    height: 14px;
    margin: 0 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, #7a5c45 0%, #5c4333 55%, #3d2d22 100%);
    box-shadow:
        0 4px 0 #2a1f18,
        0 10px 18px rgba(0, 0, 0, 0.35);
}

.study-volume-book {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    text-decoration: none;
    color: #fff;
    border-radius: 3px 10px 10px 3px;
    min-height: 220px;
    max-width: 100%;
    transform-style: preserve-3d;
    transform: perspective(920px) rotateY(-11deg);
    box-shadow:
        -6px 10px 24px rgba(30, 22, 16, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease;
}

.study-volume-book:hover {
    transform: perspective(920px) rotateY(-2deg) translateY(-8px);
    box-shadow:
        -4px 18px 32px rgba(30, 22, 16, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.study-volume-book:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

.study-volume-book__spine {
    flex: 0 0 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 3px 0 0 3px;
    box-shadow: inset -3px 0 6px rgba(0, 0, 0, 0.25);
}

.study-volume-book__cover {
    flex: 1 1 140px;
    min-width: 132px;
    max-width: 168px;
    padding: 16px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-radius: 0 8px 8px 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.study-volume-book__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.92;
}

.study-volume-book__subtitle {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.study-volume-book__hint {
    margin-top: 4px;
    font-size: 0.78rem;
    line-height: 1.45;
    opacity: 0.88;
    font-weight: 500;
}

.study-volume-book__open {
    margin-top: auto;
    padding-top: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0.95;
}

.study-volume-book__open i {
    font-size: 0.88rem;
}

.study-volume-book__edge {
    flex: 0 0 11px;
    border-radius: 0 8px 8px 0;
    background: repeating-linear-gradient(
        90deg,
        #f2ebe0 0 2px,
        #e4d9ca 2px 3px,
        #efe6da 3px 4px
    );
    box-shadow: inset -2px 0 5px rgba(0, 0, 0, 0.15);
}

.study-volume-book--v1 .study-volume-book__spine {
    background: linear-gradient(90deg, #0f3d36 0%, #1a5c52 100%);
    color: #d8f5ef;
}

.study-volume-book--v1 .study-volume-book__cover {
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.35) 0%, transparent 42%),
        linear-gradient(160deg, #1e7a6c 0%, #145a50 55%, #0d3f38 100%);
}

.study-volume-book--v2 .study-volume-book__spine {
    background: linear-gradient(90deg, #5c3018 0%, #8b4513 100%);
    color: #fde8d8;
}

.study-volume-book--v2 .study-volume-book__cover {
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.28) 0%, transparent 42%),
        linear-gradient(160deg, #b5652c 0%, #8b4513 50%, #5c2e16 100%);
}

.study-volume-book--v3 .study-volume-book__spine {
    background: linear-gradient(90deg, #1a3d24 0%, #2d5a36 100%);
    color: #dff3e4;
}

.study-volume-book--v3 .study-volume-book__cover {
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.26) 0%, transparent 42%),
        linear-gradient(160deg, #3d8c52 0%, #2d6b3d 52%, #1a4026 100%);
}

.study-volume-book--v4 .study-volume-book__spine {
    background: linear-gradient(90deg, #1e2d4a 0%, #2c3d5c 100%);
    color: #e4eaf8;
}

.study-volume-book--v4 .study-volume-book__cover {
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.22) 0%, transparent 42%),
        linear-gradient(160deg, #4a6fa8 0%, #3a5580 50%, #243552 100%);
}

@media (max-width: 768px) {
    .study-volume-book {
        transform: perspective(920px) rotateY(-5deg);
        min-height: 200px;
    }

    .study-volume-book:hover {
        transform: perspective(920px) rotateY(0deg) translateY(-4px);
    }

    .study-volume-book__cover {
        min-width: 118px;
        max-width: 100%;
    }

    .study-bookshelf__row {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .study-volume-book {
        transform: none;
        width: 100%;
        max-width: 320px;
    }

    .study-volume-book:hover {
        transform: translateY(-4px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .study-volume-book {
        transition: none;
        transform: none;
    }

    .study-volume-book:hover {
        transform: none;
    }
}

.study-topic-panel {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px 18px 16px;
    margin-bottom: 22px;
}

.study-topic-panel h3 {
    margin: 0 0 12px;
}

.study-topic-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
}

.study-topic-columns ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-light);
    line-height: 1.75;
}

.study-action-box {
    border-radius: 16px;
    padding: 22px 24px;
    width: 100%;
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0) 38%),
        linear-gradient(135deg, rgba(210, 105, 30, 0.10), rgba(0, 139, 139, 0.10)),
        linear-gradient(180deg, #fffdf8 0%, #f7f1e6 100%);
    border: 1px solid rgba(90, 66, 49, 0.20);
    box-shadow:
        inset 0 0 0 1px rgba(90, 66, 49, 0.10),
        0 10px 22px rgba(60, 42, 30, 0.10);
}

.study-action-box h3 {
    margin: 0 0 10px;
}

.study-action-box ol {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.study-page .study-action-box {
    font-family: var(--study-book-font);
}

.study-page [data-lang-block="hi"] .study-action-box {
    font-family: var(--study-book-font-hi);
}

.study-note {
    margin: 12px 0 0;
    color: var(--text-light);
    font-size: 0.92rem;
}

.study-entry-section {
    padding: 40px 0 30px;
    background: #fff;
}

.study-entry-card {
    max-width: var(--content-max-width);
    margin: 0 auto;
    border-radius: 14px;
    border: 1px solid rgba(30, 58, 95, 0.15);
    background: linear-gradient(135deg, #f8fbfd 0%, #f4f9fb 100%);
    padding: 22px 22px 20px;
    text-align: center;
}

.study-entry-card h2 {
    margin: 0 0 10px;
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

.study-entry-card p {
    margin: 0 0 8px;
    color: var(--text-light);
}

.study-entry-card__hi {
    font-weight: 600;
    color: var(--text-dark);
}

.study-entry-card .read-more-btn {
    margin-top: 12px;
}

/* Home — hub (admission, camps, partner) + news/notices preview */
.home-hub-section {
    padding: 36px 0 28px;
    background: linear-gradient(180deg, #fafcfd 0%, #fff 55%);
    border-top: 1px solid rgba(0, 139, 139, 0.08);
}

.home-hub-section .section-header {
    text-align: center;
    margin-bottom: 28px;
}

.home-hub-section .section-header h2 {
    margin-bottom: 8px;
}

.home-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    align-items: stretch;
}

.home-hub-card {
    border-radius: 14px;
    border: 1px solid rgba(30, 58, 95, 0.12);
    background: #fff;
    padding: 20px 20px 18px;
    box-shadow: 0 8px 28px rgba(44, 62, 80, 0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-hub-card h3 {
    margin: 0 0 4px;
    font-size: 1.15rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-hub-card h3 i {
    color: var(--primary);
}

.home-hub-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-light);
    line-height: 1.75;
    font-size: 0.98rem;
    flex: 1 1 auto;
}

.home-hub-lead {
    margin: 0;
    color: var(--text-light);
    line-height: 1.75;
    font-size: 0.98rem;
    flex: 1 1 auto;
}

.home-hub-card .read-more-btn {
    align-self: flex-start;
    margin-top: 4px;
}

.home-hub-secondary {
    align-self: flex-start;
    margin-top: 6px;
}

.home-hub-note {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-light);
}

.home-hub-note a {
    color: var(--primary);
    font-weight: 600;
}

.home-hub-programmes {
    margin-top: 28px;
    padding: 20px 22px;
    border-radius: 14px;
    border: 1px dashed rgba(0, 139, 139, 0.25);
    background: rgba(0, 139, 139, 0.04);
    text-align: center;
}

.home-hub-programmes__title {
    margin: 0 0 12px;
    font-size: 1.1rem;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-hub-programmes__title i {
    color: var(--primary);
}

.home-hub-programmes__list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
}

.home-hub-programmes__list a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.home-hub-programmes__list a:hover {
    text-decoration: underline;
}

.home-newsnotice-section {
    padding: 32px 0 40px;
    background: #fff;
    border-top: 1px solid rgba(0, 139, 139, 0.08);
}

.home-newsnotice-heading {
    text-align: center;
    margin: 0 0 22px;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    color: var(--text-dark);
}

.home-newsnotice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.home-newsnotice-card {
    border-radius: 14px;
    border: 1px solid rgba(30, 58, 95, 0.12);
    padding: 20px 20px 18px;
    background: linear-gradient(145deg, #fbfdfe 0%, #fff 100%);
    box-shadow: 0 6px 24px rgba(44, 62, 80, 0.05);
}

.home-newsnotice-card__head {
    margin-bottom: 10px;
}

.home-newsnotice-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0, 139, 139, 0.12);
    color: var(--primary-dark);
}

.home-newsnotice-badge--notice {
    background: rgba(192, 57, 43, 0.12);
    color: #922b21;
}

.home-newsnotice-card h3 {
    margin: 0 0 10px;
    font-size: 1.12rem;
    color: var(--text-dark);
}

.home-newsnotice-excerpt {
    margin: 0 0 14px;
    color: var(--text-light);
    line-height: 1.75;
    font-size: 0.98rem;
}

.home-notice-preview-list {
    margin: 0 0 14px;
    padding-left: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.96rem;
}

.home-faq-section {
    padding: 40px 0 44px;
    background: linear-gradient(180deg, #f4fafb 0%, #fff 65%);
    border-top: 1px solid rgba(0, 139, 139, 0.1);
}

.home-faq-section .section-header {
    text-align: center;
    margin-bottom: 28px;
}

/* Compact home FAQ header — avoid global 42px course-style title */
.home-faq-section .section-header h2 {
    font-size: clamp(1.3rem, 2.6vw, 1.72rem);
    margin-bottom: 10px;
    line-height: 1.25;
}

.home-faq-section .section-header h2::after {
    width: 64px;
    height: 3px;
    bottom: -8px;
}

.home-faq-section .section-header p {
    font-size: clamp(0.94rem, 1.15vw, 1.05rem);
    margin: 16px auto 0;
    max-width: 38em;
    line-height: 1.65;
}

.home-faq-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.home-faq-section .home-faq {
    margin: 0;
    padding: 0;
}

/* Card-style Q + A (dt/dd only — valid dl) */
.home-faq-section .home-faq dt {
    margin: 18px 0 0;
    padding: 16px 18px 10px 20px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.45;
    font-size: clamp(0.98rem, 1.1vw, 1.06rem);
    background: linear-gradient(145deg, #f8fcfd 0%, #fff 100%);
    border: 1px solid rgba(30, 58, 95, 0.12);
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    border-left: 3px solid var(--primary);
    padding-left: 17px;
}

.home-faq-section .home-faq dt:first-of-type {
    margin-top: 0;
}

.home-faq-section .home-faq dd {
    margin: 0;
    padding: 0 18px 18px 20px;
    line-height: 1.75;
    color: var(--text-light);
    font-size: 0.97rem;
    background: #fff;
    border: 1px solid rgba(30, 58, 95, 0.12);
    border-top: none;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 8px 26px rgba(44, 62, 80, 0.06);
    border-left: 3px solid rgba(0, 139, 139, 0.35);
    padding-left: 17px;
}

.home-faq-section .home-faq dd a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.home-faq-section .home-faq dd a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .home-faq-section .home-faq dt,
    .home-faq-section .home-faq dd {
        padding-left: 14px;
        padding-right: 14px;
    }

    .home-faq-section .home-faq dt {
        padding-top: 14px;
    }

    .home-faq-section .home-faq dd {
        padding-bottom: 16px;
    }
}

.study-book-layout {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    max-width: var(--study-page-width);
    margin: 0 auto;
}

.study-book-toc {
    align-self: stretch;
    position: static;
    width: 100%;
    font-family: var(--study-book-font);
    border: 1px solid rgba(90, 66, 49, 0.22);
    border-radius: 16px;
    background:
        radial-gradient(circle at 14% 16%, rgba(255, 255, 255, 0.6) 0, rgba(255, 255, 255, 0) 38%),
        radial-gradient(circle at 84% 80%, rgba(0, 0, 0, 0.04) 0, rgba(0, 0, 0, 0) 40%),
        linear-gradient(180deg, #fffdf8 0%, #f5ecdc 100%);
    padding: 20px 22px 18px;
    box-shadow:
        inset 0 0 0 1px rgba(90, 66, 49, 0.10),
        0 10px 22px rgba(60, 42, 30, 0.12);
}

.study-book-toc::before {
    content: "Volume Map";
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 10px;
}

.study-page [data-lang-block="hi"] .study-book-toc::before {
    content: "Volume Map";
}

.study-book-toc ol {
    counter-reset: tocItem;
    list-style: none;
    padding-left: 0;
    margin: 6px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px 18px;
}

.study-book-toc ol > li {
    counter-increment: tocItem;
    position: relative;
    padding: 8px 10px 8px 38px;
    margin: 0 !important;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(90, 66, 49, 0.12);
    line-height: 1.45;
}

.study-book-toc ol > li::before {
    content: counter(tocItem);
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark, #045d5d));
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
}

.study-book-toc li + li {
    margin-top: 0;
}

.study-book-toc h3 {
    margin: 0 0 10px;
    font-family: var(--study-book-font);
    font-size: 1.12rem;
    font-weight: 700;
}

.study-book-toc ol {
    margin: 0;
    padding-left: 1.15rem;
    line-height: 1.6;
}

.study-book-toc li + li {
    margin-top: 8px;
}

.study-book-toc a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-family: var(--study-book-font);
    font-size: 0.98rem;
}

.study-book-toc a:hover {
    color: var(--primary-dark);
}

.study-book-toc p {
    margin: 12px 0 0;
    font-size: 0.94rem;
    color: var(--study-book-ink-muted);
    line-height: 1.65;
}

.study-book-content {
    counter-reset: chapter;
    position: relative;
    display: grid;
    gap: 22px;
    padding: 32px 28px 32px 52px;
    width: 100%;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    border-radius: 4px 18px 18px 4px;
    font-family: var(--study-book-font);
    font-size: var(--study-book-size);
    line-height: var(--study-book-leading);
    color: var(--study-book-ink);
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0) 34%),
        radial-gradient(circle at 78% 66%, rgba(0, 0, 0, 0.03) 0, rgba(0, 0, 0, 0) 36%),
        linear-gradient(90deg, rgba(182, 149, 120, 0.22) 0, rgba(182, 149, 120, 0.22) 1px, transparent 1px) 44px 0 / 100% 100% no-repeat,
        linear-gradient(180deg, #fdfbf6 0%, #f4ebe0 55%, #efe4d6 100%);
    box-shadow:
        inset 0 0 0 1px rgba(90, 66, 49, 0.12),
        inset 12px 0 24px rgba(255, 255, 255, 0.35),
        0 14px 32px rgba(60, 42, 30, 0.16);
}

.study-book-content::before {
    content: "";
    position: absolute;
    display: none;
}

.study-chapter {
    counter-increment: chapter;
    position: relative;
    border-radius: 3px;
    background: linear-gradient(180deg, #fffdf9 0%, #faf5ec 100%);
    border: 1px solid rgba(106, 77, 56, 0.22);
    box-shadow:
        0 4px 14px rgba(54, 36, 24, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    padding: 26px 26px 22px 28px;
}

.study-chapter::before {
    content: "CH-" counter(chapter, decimal-leading-zero);
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: rgba(103, 78, 58, 0.75);
    background: rgba(247, 239, 228, 0.92);
    border: 1px solid rgba(129, 96, 69, 0.25);
    border-radius: 999px;
    padding: 4px 8px;
    font-family: var(--study-book-font);
}

.study-chapter h3 {
    margin: 0 0 14px;
    font-size: clamp(1.2rem, 2.4vw, 1.45rem);
    font-weight: 700;
    line-height: 1.28;
    color: var(--study-book-ink);
    font-family: var(--study-book-font);
    letter-spacing: 0.01em;
    border-bottom: 2px double rgba(95, 71, 53, 0.35);
    padding-bottom: 12px;
}

.study-chapter > p {
    margin: 0 0 12px;
    color: var(--study-book-ink-muted);
    line-height: var(--study-book-leading);
    font-family: var(--study-book-font);
    font-size: 1em;
    text-align: justify;
    text-justify: inter-word;
}

.study-chapter li {
    font-family: var(--study-book-font);
    line-height: var(--study-book-leading);
    color: var(--study-book-ink-muted);
    font-size: 0.98em;
}

.study-chapter h4 {
    margin: 1.35em 0 0.55em;
    font-family: var(--study-book-font);
    font-size: 1.05rem;
    font-weight: 700;
    font-style: italic;
    color: #5c3d24;
    letter-spacing: 0.01em;
    line-height: 1.35;
}

.study-chapter h4:first-of-type {
    margin-top: 0.85em;
}

.study-chapter ol,
.study-chapter ul {
    margin: 0.35em 0 12px;
    padding-left: 1.35rem;
}

.study-chapter .study-topic-columns {
    font-size: 0.98em;
}

.study-chapter .study-topic-columns ul {
    color: var(--study-book-ink-muted);
}

.study-page [data-lang-block="hi"] .study-book-content,
.study-page [data-lang-block="hi"] .study-chapter,
.study-page [data-lang-block="hi"] .study-chapter h3,
.study-page [data-lang-block="hi"] .study-chapter h4,
.study-page [data-lang-block="hi"] .study-chapter > p,
.study-page [data-lang-block="hi"] .study-chapter li {
    font-family: var(--study-book-font-hi);
}

.study-volume-doc .page-header {
    background: linear-gradient(180deg, #2a2119 0%, #3d2f24 48%, #4a3a2c 100%);
    border-bottom: 3px solid #6b5344;
}

.study-volume-doc .page-header h1 {
    font-family: var(--study-book-font);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fffaf3;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.study-page .study-hero {
    font-family: var(--study-book-font);
    border-left-width: 4px;
}

.study-page .study-hero h2 {
    font-family: var(--study-book-font);
    font-size: clamp(1.2rem, 2.6vw, 1.5rem);
    font-weight: 700;
    line-height: 1.3;
    color: #2a2119;
}

.study-page .study-hero p {
    font-size: 1.02rem;
    line-height: var(--study-book-leading);
    color: var(--study-book-ink-muted);
}

.study-page [data-lang-block="hi"] .study-hero h2,
.study-page [data-lang-block="hi"] .study-hero p {
    font-family: var(--study-book-font-hi);
}

.study-page [data-lang-block="hi"] .study-book-toc {
    font-family: var(--study-book-font-hi);
}

.study-page [data-lang-block="hi"] .study-book-toc h3,
.study-page [data-lang-block="hi"] .study-book-toc a,
.study-page [data-lang-block="hi"] .study-book-toc p {
    font-family: var(--study-book-font-hi);
}

.study-chapter::after {
    content: "";
    position: absolute;
    top: 0;
    right: -4px;
    width: 4px;
    height: 100%;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(180deg, rgba(203, 162, 127, 0.32), rgba(139, 100, 68, 0.22));
}

.study-chapter .study-action-box {
    margin: 2px 0 0;
}

.study-chapter + .study-chapter {
    border-top: 2px dashed rgba(117, 84, 61, 0.16);
}

.study-faq {
    margin: 8px 0 18px;
    padding: 14px 16px;
    background: linear-gradient(180deg, rgba(255, 248, 235, 0.85), rgba(255, 244, 220, 0.72));
    border: 1px solid rgba(178, 134, 84, 0.22);
    border-radius: 10px;
}

.study-faq dt {
    font-weight: 700;
    color: #7a4f1f;
    margin-top: 8px;
    font-family: var(--study-book-font);
}

.study-faq dt:first-of-type {
    margin-top: 0;
}

.study-faq dd {
    margin: 4px 0 10px;
    color: #4a3520;
    line-height: 1.75;
    font-family: var(--study-book-font);
    font-size: 0.98em;
}

.study-page [data-lang-block="hi"] .study-faq dt,
.study-page [data-lang-block="hi"] .study-faq dd {
    font-family: var(--study-book-font-hi);
}

@media (max-width: 768px) {
    .study-page .content-wrapper,
    .content-section.study-page > .container,
    .study-page [data-lang-block] > section,
    .study-page [data-lang-block] > .study-book-layout {
        max-width: 100%;
    }

    .study-book-layout {
        gap: 16px;
    }

    .study-book-toc {
        padding: 16px 14px 14px;
    }

    .study-book-toc ol {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-left: 0;
    }

    .study-book-content {
        max-width: 100%;
        padding: 18px 12px 18px 14px;
        border-radius: 10px;
    }

    .study-chapter {
        padding: 18px 14px 16px;
    }

    .study-chapter::before {
        top: 8px;
        right: 8px;
        font-size: 0.66rem;
    }
}

.awareness-rich-grid {
    display: grid;
    gap: 18px;
    margin: 18px 0 22px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.awareness-rich-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
}

.awareness-rich-card h3 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.awareness-featured-links {
    margin-top: 24px;
    padding: 16px 18px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.awareness-featured-links h2 {
    margin-bottom: 10px;
    font-size: 1.08rem;
}

.awareness-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.awareness-featured-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #fff8f3 100%);
    color: var(--primary);
    font-weight: 600;
    line-height: 1.4;
    overflow: hidden;
    transition: var(--transition);
}

.awareness-featured-card img {
    width: 100%;
    height: 132px;
    object-fit: cover;
    background: var(--bg-light);
}

.awareness-featured-card span {
    display: block;
    padding: 10px 12px 12px;
}

.awareness-featured-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    color: var(--primary-dark);
    text-decoration: none;
}

.awareness-cmsed-cta {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.awareness-cmsed-cta .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.awareness-cmsed-cta .cta-btn.primary {
    background: var(--primary);
    color: #fff;
}

.awareness-cmsed-cta .cta-btn.primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    text-decoration: none;
}

.awareness-cmsed-cta .cta-btn.secondary {
    background: #fff;
    color: var(--primary);
}

.awareness-cmsed-cta .cta-btn.secondary:hover {
    background: #fff6ef;
    color: var(--primary-dark);
    border-color: var(--primary-dark);
    text-decoration: none;
}

.news-updates-layout {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: grid;
    gap: 28px;
}

.news-lead-card {
    background: linear-gradient(135deg, var(--bg-white), #fafafa);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.news-lead-card__img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: var(--bg-light);
}

.news-lead-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px 24px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.news-lead-card__meta i {
    margin-right: 6px;
    color: var(--primary);
}

.news-lead-card h2 {
    margin: 10px 24px 12px;
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
}

.news-lead-card p {
    margin: 0 24px 0;
    color: var(--text-light);
    line-height: 1.75;
}

.news-lead-card__actions {
    padding: 20px 24px 24px;
}

.news-posts-section {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 20px;
}

.news-posts-section__head h3 {
    margin-bottom: 6px;
}

.news-posts-section__head p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.news-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 14px;
}

.news-post-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.news-post-card__img {
    width: 100%;
    height: 132px;
    object-fit: cover;
    background: var(--bg-light);
}

.news-post-card__body {
    padding: 12px;
}

.news-post-card__tag {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.73rem;
    letter-spacing: 0.02em;
    font-weight: 700;
    color: var(--primary-dark);
    background: #fff0e4;
    border-radius: 999px;
    padding: 4px 10px;
}

.news-post-card h4 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.news-post-card p {
    margin: 0 0 10px;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.55;
}

.news-post-card a {
    color: var(--primary);
    font-weight: 600;
}

.news-post-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.home-notice-preview {
    width: 100%;
    max-height: 160px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 14px;
    background: var(--bg-light);
}

/* Health camps page — hero + two-up gallery */
.health-camps-gallery {
    margin-top: 28px;
    width: 100%;
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
    display: grid;
    gap: clamp(14px, 2.5vw, 22px);
}

.health-camps-gallery__hero {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg-light);
}

.health-camps-gallery__pair {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(14px, 2.5vw, 22px);
    align-items: stretch;
}

.health-camps-gallery__card {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg-light);
    min-height: 0;
}

.health-camps-gallery__img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.health-camps-gallery__img--hero {
    max-height: min(420px, 52vw);
    min-height: 200px;
}

.health-camps-gallery__card .health-camps-gallery__img {
    aspect-ratio: 4 / 3;
    max-height: 320px;
}

@media (max-width: 640px) {
    .health-camps-gallery__pair {
        grid-template-columns: 1fr;
    }

    .health-camps-gallery__img--hero {
        max-height: 260px;
    }

    .health-camps-gallery__card .health-camps-gallery__img {
        max-height: 240px;
    }
}

.health-camps-lead {
    text-align: center;
    margin-bottom: 48px;
}

.health-camps-lead__title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: 16px;
    color: var(--text-dark);
    line-height: 1.25;
}

.health-camps-lead__text {
    font-size: clamp(1rem, 2.8vw, 1.125rem);
    color: var(--text-light);
    max-width: var(--content-max-width);
    margin: 0 auto 14px;
    line-height: 1.65;
}

.health-camps-lead__text:last-of-type {
    margin-bottom: 0;
}

.health-camps-quick-facts {
    margin: 20px auto 0;
    max-width: var(--content-max-width);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.health-camps-quick-fact {
    text-align: left;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: var(--shadow-sm);
}

.health-camps-quick-fact strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-dark);
    font-size: 0.96rem;
}

.health-camps-quick-fact span {
    display: block;
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.45;
}

.health-camps-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(18px, 3vw, 30px);
    margin-bottom: 48px;
}

.health-camps-feature-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 32px 28px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.health-camps-feature-card--secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

.health-camps-feature-card--green {
    background: linear-gradient(135deg, var(--accent-green), #1e8449);
}

.health-camps-feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: 14px;
    opacity: 0.95;
}

.health-camps-feature-card h3 {
    color: #fff;
    margin: 0 0 12px;
    font-size: 1.2rem;
}

.health-camps-feature-card p {
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
}

.health-camps-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(20px, 3vw, 36px);
    align-items: center;
    margin: 44px 0;
}

.health-camps-split--reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.health-camps-split__media {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg-light);
}

.health-camps-split__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    max-height: 340px;
}

.health-camps-split__body h2 {
    margin: 0 0 12px;
    font-size: 1.35rem;
    color: var(--text-dark);
}

.health-camps-split__body p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 0 12px;
}

.health-camps-split__body p:last-child {
    margin-bottom: 0;
}

.health-camps-split__list {
    margin: 12px 0 0;
    padding-left: 1.25rem;
    color: var(--text-light);
    line-height: 1.75;
}

@media (max-width: 768px) {
    .health-camps-split,
    .health-camps-split--reverse {
        grid-template-columns: 1fr;
    }

    .health-camps-split--reverse .health-camps-split__media {
        order: -1;
    }
}

.health-camps-photo-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 2vw, 18px);
    margin: 28px 0 36px;
}

.health-camps-photo-strip figure {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg-light);
}

.health-camps-photo-strip img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    max-height: 200px;
}

.health-camps-photo-strip figcaption {
    padding: 10px 12px;
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 600;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

@media (max-width: 640px) {
    .health-camps-photo-strip {
        grid-template-columns: 1fr;
    }

    .health-camps-photo-strip img {
        max-height: 220px;
    }
}

.health-camps-location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin: 24px 0;
}

.health-camps-location-card {
    background: var(--bg-light);
    padding: 22px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.health-camps-location-card--secondary {
    border-left-color: var(--secondary);
}

.health-camps-location-card--green {
    border-left-color: var(--accent-green);
}

.health-camps-location-card h4 {
    color: var(--text-dark);
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.health-camps-location-card p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 15px;
}

.health-camps-section-title {
    margin-top: 40px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.health-camps-section-title:first-of-type {
    margin-top: 0;
}

.health-camps-prose {
    color: var(--text-light);
    line-height: 1.75;
    margin: 0 0 14px;
    max-width: 52rem;
}

.health-camps-link-list {
    max-width: 52rem;
    margin: 10px 0 0;
    padding-left: 1.2rem;
    line-height: 1.8;
}

.health-camps-link-list li {
    color: var(--text-light);
}

.health-camps-link-list a {
    color: var(--primary);
}

.health-camps-link-list a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.health-camps-callout {
    background: linear-gradient(135deg, var(--bg-light), #eee);
    padding: 26px 28px;
    border-radius: 16px;
    margin: 28px 0;
    border-left: 5px solid var(--primary);
}

.health-camps-callout h3 {
    color: var(--text-dark);
    margin: 0 0 12px;
    font-size: 1.15rem;
}

.health-camps-callout ul {
    color: var(--text-light);
    line-height: 1.8;
    padding-left: 1.25rem;
    margin: 0;
}

.health-camps-callout a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.health-camps-callout a:hover {
    color: var(--primary-dark);
}

.health-camps-services-panel {
    background: var(--bg-light);
    padding: 26px 28px;
    border-radius: 16px;
    margin: 28px 0;
}

.health-camps-services-panel h3 {
    color: var(--text-dark);
    margin: 0 0 18px;
}

.health-camps-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px 16px;
}

.health-camps-service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 15px;
}

.health-camps-service-item .fa-check-circle {
    color: var(--accent-green);
    flex-shrink: 0;
}

.health-camps-cta {
    text-align: center;
    margin-top: 48px;
    padding: 40px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    color: #fff;
}

.health-camps-cta h3 {
    color: #fff;
    margin: 0 0 14px;
}

.health-camps-cta p {
    color: rgba(255, 255, 255, 0.92);
    margin: 0 auto 22px;
    max-width: 36rem;
    line-height: 1.65;
}

.health-camps-cta .btn-cta {
    display: inline-block;
    padding: 14px 36px;
    background: #fff;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.health-camps-cta .btn-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.health-camps-cta__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.health-camps-cta .btn-cta--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: none;
}

.health-camps-cta .btn-cta--ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.whatsapp-float-btn {
    position: fixed;
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border: none;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    box-shadow: var(--shadow-lg);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.whatsapp-float-btn:hover {
    background: #1fb85a;
    transform: translateY(-2px);
}

.whatsapp-float-btn i {
    font-size: 1.25rem;
}

.wa-modal[hidden] {
    display: none;
}

.wa-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
}

.wa-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 30, 0.55);
}

.wa-modal__dialog {
    position: relative;
    box-sizing: border-box;
    width: min(440px, calc(100vw - 20px));
    max-width: min(440px, calc(100vw - 20px));
    margin: min(8vh, 70px) auto max(16px, env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-xl);
    padding: 16px 16px 14px;
    max-height: min(88vh, 620px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.wa-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 1.1rem;
    cursor: pointer;
}

.wa-modal__dialog h2 {
    margin-bottom: 6px;
    font-size: 1.2rem;
}

.wa-modal__dialog p {
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 0.94rem;
}

.wa-form {
    display: grid;
    gap: 8px;
}

.wa-form--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
}

.wa-form__field--full {
    grid-column: 1 / -1;
}

.wa-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.wa-form__field label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--text-dark);
}

.wa-form__field input,
.wa-form__field select,
.wa-form__field textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 10px;
    font: inherit;
}

.wa-form__field textarea {
    resize: vertical;
}

.wa-form__submit {
    margin-top: 2px;
    border: none;
    border-radius: 10px;
    padding: 10px 12px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.wa-form__submit:hover {
    background: #1fb85a;
}

body.wa-modal-open {
    overflow: hidden;
}

@media (max-width: 520px) {
    .wa-form--compact {
        grid-template-columns: 1fr;
    }

    .wa-form__row {
        grid-template-columns: 1fr;
    }
}

/* Camps & Awareness Programs hub + topic pages */
.camps-awareness-intro {
    max-width: var(--content-max-width);
    margin: 0 auto 32px;
}

.camps-awareness-intro p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.camps-awareness-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto 18px;
    max-width: var(--content-max-width);
}

.camps-awareness-filter {
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-dark);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.camps-awareness-filter:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.camps-awareness-filter.is-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.camps-awareness-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(0, 139, 139, 0.1);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-dark);
    margin-bottom: 20px;
}

.camps-awareness-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin: 28px 0 40px;
}

.camps-awareness-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 22px 22px 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.camps-awareness-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 139, 139, 0.25);
}

.camps-awareness-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 139, 139, 0.15), rgba(210, 105, 30, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.camps-awareness-card h3 {
    margin: 0 0 10px;
    font-size: 1.12rem;
    line-height: 1.3;
}

.camps-awareness-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.camps-awareness-card h3 a:hover {
    color: var(--primary);
}

.camps-awareness-card__period {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.camps-awareness-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.65;
    flex: 1;
}

.camps-awareness-card__more {
    margin-top: 14px;
    font-weight: 600;
    font-size: 0.9rem;
}

.camps-awareness-card__more a {
    color: var(--primary);
    text-decoration: none;
}

.camps-awareness-card__more a:hover {
    color: var(--primary-dark);
}

.camps-awareness-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 28px;
}

.camps-awareness-note {
    background: rgba(0, 102, 204, 0.06);
    border-left: 4px solid var(--accent-blue);
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-top: 28px;
}

/* Disease / awareness detail pages */
.awareness-topic-page .content-wrapper {
    max-width: var(--content-max-width);
}

.awareness-topic-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0 28px;
}

.awareness-topic-meta__box {
    background: linear-gradient(145deg, #f6fafb, #fff);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 18px;
}

.awareness-topic-meta__box strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-light);
    margin-bottom: 6px;
}

.awareness-topic-meta__box span {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 600;
}

.awareness-topic-body h2 {
    margin-top: 32px;
    font-size: 1.25rem;
}

.awareness-topic-body ul {
    padding-left: 1.25rem;
    line-height: 1.85;
    color: var(--text-light);
}

.awareness-topic-body .awareness-faq {
    margin: 0 0 1rem;
    padding: 0;
}

.awareness-topic-body .awareness-faq dt {
    margin-top: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.5;
}

.awareness-topic-body .awareness-faq dt:first-child {
    margin-top: 0;
}

.awareness-topic-body .awareness-faq dd {
    margin: 0.35rem 0 0;
    padding: 0;
    line-height: 1.85;
    color: var(--text-light);
}

.awareness-topic-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.awareness-topic-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-light);
    border-radius: 999px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.92rem;
}

.awareness-topic-nav a:hover {
    background: rgba(210, 105, 30, 0.12);
}

/* --------------------------------------------------------------------------
   CMS & ED landing (cmsed.html)
   -------------------------------------------------------------------------- */
.cmsed-hero {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 38%, var(--primary-dark) 100%);
    color: #fff;
    padding: clamp(48px, 10vw, 88px) 0 clamp(40px, 7vw, 64px);
    text-align: center;
}

.cmsed-hero__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.cmsed-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.92;
    margin-bottom: 14px;
}

.cmsed-hero__title {
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    font-size: clamp(1.85rem, 4.5vw, 2.65rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

.cmsed-hero__title-accent {
    display: block;
    font-size: 0.55em;
    font-weight: 700;
    opacity: 0.95;
    margin-top: 6px;
}

.cmsed-hero__lead {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    line-height: 1.65;
    opacity: 0.96;
    max-width: 720px;
    margin: 0 auto 28px;
}

.cmsed-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.cmsed-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.cmsed-hero__btn--primary {
    background: #fff;
    color: var(--secondary-dark);
    box-shadow: var(--shadow-md);
}

.cmsed-hero__btn--primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.cmsed-hero__btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
}

.cmsed-hero__btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

.cmsed-hero__btn--ghost {
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.cmsed-hero__btn--ghost:hover {
    background: rgba(0, 0, 0, 0.25);
}

.cmsed-strip {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: -1px;
}

.cmsed-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-top: -32px;
    position: relative;
    z-index: 2;
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
}

.cmsed-strip__item {
    padding: 22px 16px;
    text-align: center;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.cmsed-strip__item:last-child {
    border-right: 0;
}

.cmsed-strip__item i {
    font-size: 1.35rem;
    color: var(--secondary);
}

.cmsed-strip__item strong {
    font-size: 1.05rem;
    color: var(--text-dark);
}

.cmsed-strip__item span {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.35;
}

.cmsed-section-title {
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    margin: 36px 0 14px;
    color: var(--text-dark);
    padding-bottom: 8px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.cmsed-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}

.cmsed-checklist li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 12px 14px;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.cmsed-checklist i {
    color: var(--accent-green);
    margin-top: 3px;
    flex-shrink: 0;
}

.cmsed-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cmsed-pill {
    display: inline-block;
    padding: 12px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.cmsed-cta-band {
    margin-top: 40px;
    padding: 28px 24px;
    background: linear-gradient(120deg, rgba(0, 139, 139, 0.12) 0%, rgba(210, 105, 30, 0.1) 100%);
    border: 1px solid var(--border-color);
    border-radius: 14px;
}

.cmsed-cta-band__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cmsed-cta-band__title {
    margin: 0 0 8px;
    font-size: 1.35rem;
    color: var(--text-dark);
}

.cmsed-cta-band__text {
    margin: 0;
    color: var(--text-light);
    max-width: 480px;
}

.cmsed-cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Align CMSed landing with site column width; .legal-doc alone is 44rem (too narrow here) */
.cmsed-landing-page .content-wrapper.legal-doc {
    max-width: var(--content-max-width);
    width: 100%;
}

.cmsed-landing-page .legal-doc h2.cmsed-section-title {
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    margin: 36px 0 14px;
    line-height: 1.3;
    color: var(--text-dark);
}

.cmsed-landing-page .legal-doc p,
.cmsed-landing-page .legal-doc ul {
    font-size: 1.02rem;
    max-width: 70ch;
}

.cmsed-landing-page .legal-doc .course-detail-facts,
.cmsed-landing-page .legal-doc .cmsed-checklist,
.cmsed-landing-page .legal-doc .cmsed-pill-row,
.cmsed-landing-page .legal-doc .cmsed-cta-band {
    max-width: none;
}

.cmsed-landing-page .legal-doc .course-detail-breadcrumb {
    font-size: 0.92rem;
    color: var(--text-light);
    margin: 0 0 1.25rem;
}

.cmsed-landing-page .legal-doc .course-detail-breadcrumb a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.cmsed-landing-page .legal-doc .course-detail-breadcrumb a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .cmsed-strip__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cmsed-strip__item {
        border-right: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }

    .cmsed-strip__item:nth-child(2n) {
        border-right: 0;
    }

    .cmsed-strip__item:nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

@media (max-width: 520px) {
    .cmsed-strip__grid {
        grid-template-columns: 1fr;
        margin-top: -24px;
    }

    .cmsed-strip__item {
        border-right: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .cmsed-strip__item:last-child {
        border-bottom: 0;
    }

    .cmsed-hero__btn {
        width: 100%;
        justify-content: center;
    }

    .cmsed-cta-band__actions {
        width: 100%;
    }

    .cmsed-cta-band__actions .cmsed-hero__btn {
        flex: 1;
        min-width: 0;
    }
}

/* --------------------------------------------------------------------------
   Site-wide responsive helpers (loads last; complements section rules above)
   -------------------------------------------------------------------------- */
main {
    min-width: 0;
}

.content-section,
.content-wrapper {
    min-width: 0;
}

iframe,
video,
embed {
    max-width: 100%;
}

pre {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 400px) {
    .whatsapp-float-btn span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .whatsapp-float-btn {
        padding: 12px 14px;
        border-radius: 50%;
    }
}
