/* ==========================================================
   SCHOOL WEBSITE - MODERN ISLAMIC EDUCATION
   ========================================================== */

:root {
    --primary: #0f5132;
    --primary-dark: #0a3a24;
    --primary-light: #e8f3ee;
    --secondary: #d4af37;
    --secondary-dark: #b8932c;
    --accent: #d4af37;
    --background: #ffffff;
    --surface: #f7f9f8;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
    --radius: 14px;
    --shadow: 0 4px 18px rgba(15, 81, 50, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 81, 50, 0.14);
    --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 104px; }

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.65;
    overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--primary-dark); }

.section { padding: 80px 0; background-image: url('../images/ornament.svg'); background-size: 150px; background-attachment: scroll; }
.section-alt { background-color: var(--surface); background-image: url('../images/ornament.svg'); background-size: 150px; background-attachment: scroll; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-eyebrow {
    display: inline-block;
    color: var(--secondary-dark);
    background: rgba(212, 175, 55, 0.12);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
    cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-gold { background: var(--secondary); color: var(--primary-dark); }
.btn-gold:hover { background: var(--secondary-dark); box-shadow: var(--shadow-lg); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: #fff; color: var(--primary-dark); }
.btn-block { width: 100%; text-align: center; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #f4f4f4;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 18px rgba(15, 81, 50, 0.06);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(38px, 5vw, 80px);
    padding: 14px 5%;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 310px;
}
.brand-logo {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 4px 14px rgba(15, 81, 50, 0.12);
}
.brand-logo-footer { height: 65px; width: 65px; filter: none; }
.brand-name { font-weight: 800; font-size: 1.15rem; color: var(--primary-dark); display: none; }
.brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 14px;
    border-left: 3px solid var(--primary);
    line-height: 1.12;
}
.brand-copy strong {
    max-width: 210px;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 900;
}
.brand-copy small {
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
}

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav ul { display: flex; gap: 22px; margin: 0; padding: 0; align-items: center; }
.has-dropdown.social-dropdown .social-dropdown-menu {
    left: 50%;
    right: auto;
    top: 100%;
    transform: translateX(-50%) translateY(10px);
    min-width: 360px;
    padding: 13px !important;
    border-top: 3px solid var(--secondary);
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .13);
}
.has-dropdown.social-dropdown:hover .social-dropdown-menu,
.has-dropdown.social-dropdown.dropdown-open .social-dropdown-menu {
    transform: translateX(-50%) translateY(0);
}
.has-dropdown.social-dropdown .social-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: translateX(-50%) rotate(45deg);
}
.social-unit-row {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 9px 8px;
    border-radius: 11px;
}
.social-unit-row + .social-unit-row { border-top: 1px solid rgba(15,81,50,.08); }
.social-unit-row:hover { background: #f1f8f4; }
.social-unit-label {
    color: var(--primary-dark);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .02em;
}
.social-unit-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    min-width: 0;
}
.social-dropdown-menu .nav-social-link {
    position: relative;
    width: 34px;
    height: 34px;
    min-height: 34px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 0;
    overflow: hidden;
    border: 1px solid rgba(15,81,50,.1) !important;
    border-radius: 999px;
    color: var(--text) !important;
    background: #fff;
    font-size: .82rem;
    font-weight: 800;
    box-shadow: 0 5px 14px rgba(15,81,50,.06);
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.social-dropdown-menu .nav-social-link svg {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 17px;
    height: 17px;
    margin: 0;
    transform: translate(-50%, -50%);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.social-dropdown-menu .nav-social-link.social-facebook svg,
.social-dropdown-menu .nav-social-link.social-tiktok svg { fill: currentColor; stroke: none; }
.social-dropdown-menu .nav-social-link.social-facebook svg { color: #1877f2; }
.social-dropdown-menu .nav-social-link.social-instagram svg { color: #e4405f; }
.social-dropdown-menu .nav-social-link.social-tiktok svg { color: #111827; filter: drop-shadow(1px 0 #fe2c55) drop-shadow(-1px 0 #25f4ee); }
.social-dropdown-menu .nav-social-link.social-youtube svg { color: #ff0033; }
.social-dropdown-menu .nav-social-link.social-youtube svg rect { fill: currentColor; stroke: none; }
.social-dropdown-menu .nav-social-link.social-youtube svg path { fill: #fff; stroke: none; }
.social-dropdown-menu .nav-social-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.social-dropdown-menu .nav-social-link:hover {
    transform: translateY(-2px);
    color: var(--primary) !important;
    background: var(--primary-light) !important;
}
@media (max-width: 1180px) {
    .header-inner { gap: clamp(20px, 3vw, 40px); }
    .main-nav { gap: 16px; }
    .main-nav ul { gap: 14px; }
    .main-nav a,
    .main-nav .dropdown-trigger { font-size: .88rem; }
    .social-dropdown-menu { min-width: 330px; }
}
.main-nav a,
.main-nav .dropdown-trigger {
    font-size: 0.94rem;
    font-family: inherit;
    font-weight: 600;
    color: var(--text);
    background: transparent;
    padding: 24px 2px;
    border: 0;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.main-nav a:hover, .main-nav a.active,
.main-nav .dropdown-trigger:hover, .main-nav .dropdown-trigger.active { color: var(--primary); border-color: var(--secondary); }
.main-nav a:focus-visible,
.main-nav .dropdown-trigger:focus-visible,
.nav-toggle:focus-visible,
.btn:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.42);
    outline-offset: 4px;
}
.nav-cta { white-space: nowrap; padding: 10px 24px !important; border-bottom: none !important; border-radius: 999px; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-arrow { transition: transform 0.2s; }
.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    min-width: 200px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 10px 0 !important;
    border: 1px solid var(--border);
    z-index: 100;
}
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.has-dropdown.dropdown-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.has-dropdown.dropdown-open .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu li { width: 100%; }
.dropdown-menu a {
    padding: 10px 24px !important;
    border-bottom: none !important;
    color: var(--text) !important;
    width: 100%;
}
.dropdown-menu a:hover, .dropdown-menu a.active {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--primary-dark); border-radius: 2px; transition: 0.25s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    background-image: url('../images/school/gedung-sekolah.optimized.webp');
    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center 42%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    padding: 0;
    min-height: 100vh;
    min-height: calc(100svh - 104px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 50% 46%, rgba(212, 175, 55, 0.16), transparent 24%),
        linear-gradient(90deg, rgba(3, 30, 19, 0.86), rgba(10, 58, 36, 0.7) 45%, rgba(10, 58, 36, 0.52)),
        linear-gradient(0deg, rgba(3, 30, 19, 0.72), rgba(3, 30, 19, 0.08) 46%, rgba(3, 30, 19, 0.28));
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(0deg, rgba(3, 30, 19, 0.78), transparent);
    pointer-events: none;
    z-index: 1;
}
.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 960px;
    color: #fff;
    display: block;
    padding-top: clamp(20px, 4vw, 54px);
}
.hero-eyebrow {
    display: inline-block;
    background: rgba(212, 175, 55, 0.92);
    color: var(--primary-dark);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}
.hero h1 {
    font-size: clamp(2.8rem, 5.4vw, 4.6rem);
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 8px 24px rgba(0,0,0,0.36);
}
.hero h1 span { color: var(--secondary); }
.hero h1 .school-name {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    font-family: 'El Messiri', 'Segoe UI', sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    color: #fff;
}
.hero p {
    color: rgba(255,255,255,0.93);
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    margin: 0 auto 32px;
    max-width: 680px;
    text-shadow: 0 4px 16px rgba(0,0,0,0.28);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-actions .btn {
    min-width: 146px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.16);
}
.hero-media { display: none; }

/* ===== ABOUT (2 cols) ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.about-photo-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    background: var(--primary-dark);
    cursor: zoom-in;
    text-align: left;
}
.about-photo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(3,30,19,0.5), transparent 50%);
    pointer-events: none;
}
.about-photo-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.about-photo-card:hover img { transform: scale(1.04); }
.about-photo-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(255,255,255,0.92);
    box-shadow: var(--shadow);
    line-height: 1.15;
}
.about-photo-badge strong {
    color: var(--primary-dark);
    font-size: 0.96rem;
}
.about-photo-badge span {
    color: var(--secondary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.about-text .section-eyebrow { margin-bottom: 14px; }
.about-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.about-text p { color: var(--muted); margin-bottom: 22px; }

/* ===== CARDS GRID ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; flex: 1; }
.unit-card-visual,
.activity-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 190px;
    background:
        radial-gradient(circle at 26% 22%, rgba(212,175,55,0.22), transparent 26%),
        linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}

/* Announcement ticker without deprecated <marquee>. */
.announcement-bar {
    overflow: hidden;
    color: #fff;
    background: var(--primary-dark);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.announcement-track {
    width: max-content;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 42px;
    padding: 11px max(24px, calc((100vw - 1200px) / 2));
    font-size: 0.84rem;
    font-weight: 700;
    animation: announcement-scroll 34s linear infinite;
    will-change: transform;
}
.announcement-track span { display: inline-flex; align-items: center; gap: 12px; }
.announcement-track span::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    flex: none;
}
.announcement-track:hover { animation-play-state: paused; }
@keyframes announcement-scroll {
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
    .announcement-track { width: auto; flex-wrap: wrap; animation: none !important; transform: none !important; }
    .announcement-track span[aria-hidden="true"] { display: none; }
}
.unit-card-visual svg,
.activity-visual svg {
    width: 72px;
    height: 72px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.95;
}
.unit-card-visual span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    color: rgba(255,255,255,0.92);
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}
.activity-card .card-body h3,
.unit-card .card-body h3 { color: var(--primary-dark); }
.unit-card-photo {
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
}
.unit-card-photo img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.unit-card:hover .unit-card-photo img { transform: scale(1.05); }
.unit-card-actions { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: auto; }
.unit-card-actions .btn { width: 100%; justify-content: center; padding-inline: 14px; white-space: normal; text-align: center; }
.unit-card-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(3,30,19,0.72), rgba(3,30,19,0.08) 55%);
}
.unit-card-photo span {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.unit-card-photo svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.activity-visual {
    min-height: 170px;
    background:
        radial-gradient(circle at 72% 18%, rgba(255,255,255,0.14), transparent 22%),
        linear-gradient(145deg, var(--primary), var(--primary-dark));
}
.activity-visual svg {
    width: 68px;
    height: 68px;
    color: var(--secondary);
}
.activity-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.activity-card {
    position: relative;
    border: 1px solid rgba(15,81,50,0.12);
}
.activity-photo {
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
}
.activity-photo img {
    width: 100%;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.activity-card:hover .activity-photo img {
    transform: scale(1.06);
}
.activity-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3,30,19,0.04), transparent 42%),
        linear-gradient(0deg, rgba(3,30,19,0.66), transparent 48%);
    pointer-events: none;
}
.activity-photo span {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: var(--primary-dark);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: var(--shadow);
}
.activity-card .card-body {
    padding: 18px;
}
.activity-card .card-body h3 {
    font-family: 'El Messiri', 'Segoe UI', sans-serif;
    font-size: 1.18rem;
}
.activity-card .card-body p {
    font-size: 0.88rem;
    line-height: 1.6;
}
.activity-page-grid .activity-photo img {
    aspect-ratio: 4 / 3.35;
}

/* Program cards */
.program-card {
    background: var(--primary-light);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    transition: transform 0.2s ease, background 0.2s ease;
    border: 1px solid transparent;
}
.program-card:hover { transform: translateY(-6px); background: #fff; border-color: var(--secondary); box-shadow: var(--shadow); }
.program-icon {
    width: 58px; height: 58px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
}
.program-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.program-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.program-card p { color: var(--muted); font-size: 0.88rem; }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-item {
    display: flex;
    gap: 16px;
    background: #fff;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.why-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(15,81,50,.26); }
.why-icon {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: 10px;
    background: rgba(212,175,55,0.15);
    color: var(--secondary-dark);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.why-item h3 { font-size: 1rem; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 0.88rem; }
.why-link { display: inline-flex; gap: 7px; margin-top: 10px; color: var(--primary); font-size: .78rem; font-weight: 800; }

/* Advantage detail */
.advantage-hero { padding: 76px 0; background: linear-gradient(135deg, #eef7f2, #fffaf0); }
.advantage-hero-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.72fr); gap: 64px; align-items: center; }
.advantage-hero h1 { max-width: 720px; margin: 8px 0 18px; font-family: 'El Messiri', Georgia, serif; font-size: clamp(2.5rem,5vw,4.4rem); }
.advantage-hero p { max-width: 690px; color: var(--muted); font-size: 1.08rem; }
.back-link { display: block; margin-bottom: 30px; color: var(--primary); font-size: .88rem; font-weight: 700; }
.back-link.light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    margin: 0 12px 18px 0;
    padding: 10px 16px;
    border: 1px solid rgba(212,175,55,.55);
    border-radius: 999px;
    color: var(--primary-dark);
    background: var(--secondary);
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
    vertical-align: middle;
    white-space: nowrap;
}
.page-kicker { vertical-align: middle; }
.back-link.light:hover {
    color: #fff;
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.45);
}
.advantage-actions { justify-content: flex-start; margin-top: 30px; }
.advantage-highlight { min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; padding: 36px; border-radius: 28px; color: #fff; background: radial-gradient(circle at 70% 20%,rgba(212,175,55,.35),transparent 25%),linear-gradient(145deg,var(--primary),var(--primary-dark)); box-shadow: var(--shadow-lg); }
.advantage-highlight span { font-size: 7rem; line-height: .9; color: var(--secondary); font-weight: 900; opacity: .92; }
.advantage-highlight strong { margin-top: 20px; font-size: 1.35rem; }
.advantage-detail-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 70px; align-items: start; }
.advantage-detail-grid h2 { font-size: clamp(1.8rem,3vw,2.6rem); margin-bottom: 16px; }
.advantage-lead { color: var(--muted); }
.advantage-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.advantage-points > div { display: flex; gap: 14px; align-items: center; min-height: 94px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.advantage-points span { color: var(--secondary-dark); font-weight: 900; }
.advantage-points p { color: var(--primary-dark); font-weight: 700; }
.advantage-nav-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.advantage-nav-grid a { display: grid; gap: 7px; min-height: 160px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: transform .2s,box-shadow .2s; }
.advantage-nav-grid a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.advantage-nav-grid span { color: var(--secondary-dark); font-size: .78rem; font-weight: 900; }
.advantage-nav-grid strong { color: var(--primary-dark); }
.advantage-nav-grid small { color: var(--muted); }
.empty-public-state { text-align: center; padding-block: 50px; }
.empty-public-state h2 { margin-bottom: 24px; }

/* Stats */
.stats-section { background: var(--primary); color: #fff; padding: clamp(64px, 7vw, 92px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { position: relative; padding: 12px 18px; }
.stat-item + .stat-item::before { position: absolute; top: 12%; bottom: 12%; left: -12px; width: 1px; background: rgba(255,255,255,.13); content: ''; }
.stat-item strong { display: block; margin-bottom: 10px; color: var(--secondary); font-size: clamp(2.7rem, 4.5vw, 4.6rem); font-weight: 850; line-height: 1; letter-spacing: -.035em; }
.stat-item > span { color: rgba(255,255,255,.86); font-size: clamp(.95rem, 1.3vw, 1.12rem); font-weight: 700; letter-spacing: .02em; }

/* Achievement cards */
.achievement-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: -4px 0 28px;
}
.achievement-tab {
    appearance: none;
    border: 1px solid rgba(15,81,50,0.14);
    border-radius: 999px;
    background: #fff;
    color: var(--primary-dark);
    padding: 10px 18px;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15,81,50,0.06);
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.achievement-tab:hover {
    transform: translateY(-2px);
    border-color: var(--secondary);
}
.achievement-tab.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary-dark);
}
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.achieve-card {
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.achieve-card.is-hidden {
    display: none;
}
.achieve-card.is-faded {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    pointer-events: none;
}
.achieve-image-wrap {
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
}
.achieve-image-wrap img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.achieve-card:hover .achieve-image-wrap img {
    transform: scale(1.05);
}
.achieve-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3,30,19,0.18), transparent 35%),
        linear-gradient(0deg, rgba(0,0,0,0.72), rgba(0,0,0,0.05) 62%);
    pointer-events: none;
}
.achieve-tag,
.achieve-unit-badge {
    position: absolute;
    z-index: 1;
    top: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.achieve-tag {
    left: 14px;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 7px 12px;
}
.achieve-unit-badge {
    right: 14px;
    background: rgba(255,255,255,0.92);
    color: var(--primary-dark);
    padding: 7px 11px;
    box-shadow: var(--shadow);
}
.achieve-overlay {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 54px 20px 20px;
}
.achieve-overlay h3 {
    color: #fff;
    font-family: 'El Messiri', 'Segoe UI', sans-serif;
    font-size: clamp(1.18rem, 2vw, 1.55rem);
    line-height: 1.18;
    text-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.achieve-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 16px 18px;
    background: #fff;
}
.achieve-info span {
    min-width: 0;
    color: var(--primary-dark);
    font-size: 0.84rem;
    font-weight: 800;
}
.achieve-info strong {
    display: block;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}
.achievement-detail-body {
    padding-top: 0;
}
.achievement-detail-body p {
    flex: 0;
}

/* News cards */
.news-date { color: var(--secondary-dark); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 0.04em; }
.news-link { font-weight: 700; color: var(--primary); font-size: 0.9rem; }
.news-link:hover { text-decoration: underline; }

/* Gallery grid */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; }
.gallery-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(15,81,50,0.85));
    color: #fff; padding: 30px 14px 12px;
    font-size: 0.85rem; font-weight: 600;
}
.album-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.gallery-album-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(15,81,50,0.12);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.gallery-album-card:hover {
    transform: translateY(-7px);
    border-color: rgba(212,175,55,0.55);
    box-shadow: var(--shadow-lg);
}

/* Instagram gallery memakai media native supaya Reel dapat autoplay tanpa
   memuat iframe dan telemetry Instagram ke halaman utama. */
.ig-gallery-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(212,175,55,.12), transparent 24%),
        radial-gradient(circle at 92% 88%, rgba(15,81,50,.12), transparent 28%),
        var(--surface);
}
.ig-section-eyebrow { display: inline-flex; align-items: center; gap: 7px; }
.ig-section-eyebrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ig-section-eyebrow .ig-dot { fill: currentColor; stroke: none; }
.ig-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    gap: 22px;
}
.ig-gallery-empty {
    max-width: 620px;
    margin: 0 auto;
    padding: 34px 28px;
    text-align: center;
    border: 1px solid rgba(13, 87, 54, .12);
    border-radius: 22px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 16px 42px rgba(13, 87, 54, .08);
}
.ig-gallery-empty p { margin: 0 0 18px; color: var(--text-muted); }
.ig-gallery-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(15,81,50,.12);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(10,58,36,.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ig-gallery-card[hidden] { display: none; }
.ig-gallery-card:hover {
    transform: translateY(-7px);
    border-color: rgba(212,175,55,0.55);
    box-shadow: 0 24px 54px rgba(10,58,36,.17);
}
.ig-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 66px;
    padding: 12px 14px;
    background: rgba(255,255,255,.96);
}
.ig-card-brand {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #833ab4 4%, #fd1d1d 56%, #fcb045);
    box-shadow: 0 7px 16px rgba(193,53,132,.24);
}
.ig-card-brand svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ig-card-brand .ig-dot { fill: currentColor; stroke: none; }
.ig-card-brand.ig-card-avatar { overflow: hidden; border: 2px solid #fff; border-radius: 50%; background: #fff; box-shadow: 0 7px 16px rgba(15,81,50,.2); }
.ig-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ig-card-identity { display: flex; flex: 1; min-width: 0; flex-direction: column; line-height: 1.25; }
.ig-card-identity strong { overflow: hidden; color: var(--primary-dark); font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.ig-card-identity small { overflow: hidden; color: var(--muted); font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }
.ig-card-open {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(15,81,50,.12);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1rem;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.ig-card-open:hover { color: #fff; background: var(--primary); transform: rotate(8deg); }
.ig-card-open:focus-visible,
.ig-gallery-foot a:focus-visible { outline: 3px solid rgba(212,175,55,.42); outline-offset: 3px; }
.ig-gallery-media {
    position: relative;
    isolation: isolate;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.ig-gallery-media img,
.ig-gallery-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ig-media-poster { z-index: 0; transform: scale(1.015); transition: transform .45s ease, filter .3s ease; }
.ig-media-video { z-index: 1; background: #07150e; }
.ig-media-video[hidden] { display: none; }
.ig-media-shade {
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.12), transparent 28%, transparent 70%, rgba(0,0,0,.3));
}
.ig-gallery-card:hover .ig-media-poster { transform: scale(1.055); }
.ig-media-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: rgba(5,18,12,.55);
    color: #fff;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: background .2s ease, transform .2s ease;
}
.ig-media-play svg { width: 22px; height: 22px; margin-left: 2px; fill: currentColor; }
.ig-media-play:hover { background: rgba(5,18,12,.75); transform: translate(-50%, -50%) scale(1.06); }
.ig-media-play[hidden] { display: none; }
.ig-media-kind {
    position: absolute;
    z-index: 4;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    color: #fff;
    background: rgba(5,18,12,.68);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .07em;
}
.ig-loading-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 0 rgba(212,175,55,.55);
    animation: igPulse 1.2s infinite;
}
.ig-native-card:not([data-ig-state="loading"]) .ig-loading-dot { display: none; }
@keyframes igPulse { 70% { box-shadow: 0 0 0 7px rgba(212,175,55,0); } 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); } }
.ig-gallery-foot {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    min-height: 102px;
    padding: 15px 16px 16px;
}
.ig-gallery-foot p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--text);
    font-size: .82rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.ig-gallery-foot a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--primary);
    font-size: .76rem;
    font-weight: 800;
}
.ig-gallery-foot a span:last-child { transition: transform .2s ease; }
.ig-gallery-foot a:hover span:last-child { transform: translateX(4px); }
@media (max-width: 1020px) {
    .ig-gallery-grid { grid-template-columns: repeat(2, minmax(0, 340px)); }
}
@media (max-width: 620px) {
    .ig-gallery-grid { grid-template-columns: minmax(0, 360px); gap: 22px; }
    .ig-gallery-card { border-radius: 18px; }
    .ig-card-head { min-height: 62px; }
    .ig-gallery-foot { min-height: 94px; }
}
.ig-gallery-unit-badge {
    position: absolute;
    z-index: 2;
    top: 11px;
    left: 11px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(10,25,17,.7);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(5px);
}
@media (prefers-reduced-motion: reduce) {
    .ig-gallery-card,
    .ig-media-poster,
    .ig-card-open { transition: none; }
    .ig-loading-dot { animation: none; }
}
.album-carousel {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background:
        radial-gradient(circle at 28% 18%, rgba(212,175,55,0.22), transparent 28%),
        linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.album-carousel::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3,30,19,0.08), transparent 45%),
        linear-gradient(0deg, rgba(3,30,19,0.52), transparent 55%);
    pointer-events: none;
}
.album-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.55s ease, transform 0.8s ease;
}
.album-slide.active {
    opacity: 1;
    transform: scale(1);
}
.gallery-album-card:hover .album-slide.active {
    transform: scale(1.05);
}
.album-empty-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
}
.album-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}
.album-count {
    align-self: flex-start;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(212,175,55,0.14);
    color: var(--secondary-dark);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.album-card-content h2,
.album-card-content h3 {
    color: var(--primary-dark);
    font-family: 'El Messiri', 'Segoe UI', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 8px;
}
.album-card-content p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}
.album-detail-head {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}
.album-detail-head h2 {
    font-family: 'El Messiri', 'Segoe UI', sans-serif;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    margin-bottom: 10px;
}
.album-detail-head p {
    color: var(--muted);
    margin: 0 auto 18px;
}
.album-photo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}
.album-photo-item {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    cursor: zoom-in;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.album-photo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.album-photo-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.album-photo-item:hover img {
    transform: scale(1.06);
}
.album-photo-item::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 55%;
    background: linear-gradient(0deg, rgba(3,30,19,0.78), transparent);
    pointer-events: none;
}
.album-photo-item span {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 1;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.35;
    text-align: left;
}
.album-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 26px;
}
.album-lightbox.open {
    display: flex;
}
.album-lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(3,30,19,0.72);
    -webkit-backdrop-filter: blur(8px);backdrop-filter: blur(8px);
    cursor: zoom-out;
}
.album-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(1080px, 94vw);
    max-height: 92vh;
    display: grid;
    gap: 14px;
    align-items: center;
}
.album-lightbox-dialog img {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 24px 70px rgba(0,0,0,0.38);
}
.album-lightbox-caption {
    display: grid;
    gap: 2px;
    color: #fff;
    text-align: center;
}
.album-lightbox-caption strong {
    font-size: 1rem;
}
.album-lightbox-caption span {
    color: rgba(255,255,255,0.76);
    font-size: 0.9rem;
}
.album-lightbox-close,
.album-lightbox-nav {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    border-radius: 999px;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.album-lightbox-close:hover {
    transform: scale(1.06);
    background: #f0c94f;
}
.album-lightbox-close {
    top: -16px;
    right: -16px;
    width: 42px;
    height: 42px;
    border: 0;
    background: var(--secondary);
    color: var(--primary-dark);
    font-size: 1.7rem;
    line-height: 1;
}
.album-lightbox-nav {
    top: 50%;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(212,175,55,0.55);
    background: rgba(255,255,255,0.14);
    color: #fff;
    -webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px);
    transform: translateY(-50%);
}
.album-lightbox-nav svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.album-lightbox-nav:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-50%) scale(1.06);
}
.album-lightbox-prev {
    left: -28px;
}
.album-lightbox-next {
    right: -28px;
}

/* CTA SPMB */
.cta-spmb {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    border-radius: var(--radius);
    padding: 56px 40px;
    text-align: center;
    margin: 0 20px;
    box-shadow: var(--shadow-lg);
}
.cta-spmb h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.cta-spmb p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-light), #ffffff);
    padding: 56px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 10px; }
.breadcrumb { color: var(--muted); font-size: 0.9rem; }
.breadcrumb a { color: var(--primary); font-weight: 600; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.92rem; }
.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
    background: #fff;
}
.form-control:focus { outline: none; border-color: var(--primary); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.spmb-form-intro { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.spmb-form-intro .section-eyebrow { margin-bottom: 7px; }
.spmb-form-intro h2 { font-size: 1.55rem; }
.spmb-form-intro p { max-width: 430px; color: var(--muted); font-size: .84rem; }
.field-help { display: block; margin-top: 7px; color: var(--muted); font-size: .74rem; }
.page-form-spmb .form-card { max-width: 760px; margin: 0 auto; padding: clamp(24px,4vw,42px); border-radius: 22px; box-shadow: 0 18px 50px rgba(15,81,50,.11); }
.spmb-form-shell { max-width: 820px; margin: 0 auto; }

.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-size: 0.92rem; font-weight: 600; }
.alert-success { background: #e6f4ea; color: var(--primary-dark); border: 1px solid #b6dfc3; }
.alert-error { background: #fdecea; color: #b3261e; border: 1px solid #f5c2c0; }

/* Quran and career pages */
.quran-page-header,
.career-page-header {
    background:
        radial-gradient(circle at 76% 12%, rgba(212,175,55,0.2), transparent 24%),
        linear-gradient(135deg, var(--primary-light), #fff);
}
.quran-hero-grid,
.career-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
    gap: 42px;
    align-items: center;
}
.quran-copy h2,
.career-intro h2,
.quran-flow h2,
.career-cta h2 {
    font-family: 'El Messiri', 'Segoe UI', sans-serif;
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    margin-bottom: 16px;
}
.quran-copy p,
.career-intro p {
    color: var(--muted);
    font-size: 1.03rem;
    margin-bottom: 26px;
}
.quran-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.quran-feature-card,
.career-note {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    padding: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 78% 18%, rgba(212,175,55,0.25), transparent 22%),
        linear-gradient(145deg, var(--primary-dark), var(--primary));
    box-shadow: var(--shadow-lg);
}
.quran-feature-card svg {
    width: 64px;
    height: 64px;
    fill: none;
    stroke: var(--secondary);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 18px;
}
.quran-feature-card h3,
.career-note h3,
.quran-program-card h3,
.quran-flow-grid h3,
.career-card h3 {
    color: inherit;
    font-family: 'El Messiri', 'Segoe UI', sans-serif;
}
.quran-feature-card p,
.career-note li {
    color: rgba(255,255,255,0.82);
}
.quran-program-grid,
.career-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.quran-program-card,
.career-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.quran-program-card:hover,
.career-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.quran-program-card h3,
.career-card h3 {
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.quran-program-card p,
.career-card p {
    color: var(--muted);
    font-size: 0.92rem;
}
.quran-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.quran-flow-grid > div {
    padding: 28px;
    border-left: 4px solid var(--secondary);
    background: var(--primary-light);
    border-radius: var(--radius);
}
.quran-flow-grid span {
    display: inline-block;
    color: var(--secondary-dark);
    font-weight: 900;
    margin-bottom: 10px;
}
.quran-flow-grid p {
    color: var(--muted);
    font-size: 0.92rem;
}
.career-note ul {
    display: grid;
    gap: 10px;
}
.career-note li {
    position: relative;
    padding-left: 24px;
}
.career-note li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
}
.career-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 42px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.career-cta h2 {
    color: #fff;
    margin-bottom: 8px;
}
.career-cta p {
    color: rgba(255,255,255,0.82);
    max-width: 620px;
}

/* ===== CAREER / JOB BOARD ===== */
.career-board-hero { position: relative; padding: 76px 0 0; color: #fff; background: radial-gradient(circle at 84% 15%,rgba(212,175,55,.22),transparent 24%),linear-gradient(135deg,#073721,var(--primary)); overflow: hidden; }
.career-board-hero-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(300px,.62fr); gap: 64px; align-items: center; padding-bottom: 72px; }
.career-kicker { display: inline-flex; padding: 7px 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #fff4bd; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.career-board-hero h1 { margin: 18px 0; color: #fff; font-family: 'El Messiri', Georgia, serif; font-size: clamp(2.7rem,5.2vw,5rem); }
.career-board-hero h1 span { color: var(--secondary); }
.career-board-hero-grid > div:first-child > p { max-width: 700px; color: rgba(255,255,255,.78); font-size: 1.08rem; }
.career-hero-card { padding: 30px; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px); }
.career-hero-card span { color: #fff4bd; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.career-hero-card strong { display: block; margin: 8px 0; color: #fff; font-size: 2.2rem; }
.career-hero-card p { color: rgba(255,255,255,.72); font-size: .9rem; }
.job-search-bar { position: relative; z-index: 2; display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 14px; align-items: end; transform: translateY(34px); padding: 20px; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(3,30,19,.2); }
.job-search-bar label { display: grid; gap: 7px; min-width: 0; }
.job-search-bar label > span { color: var(--primary-dark); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.job-search-bar input,.job-search-bar select { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); background: #fff; font: inherit; }
.job-search-bar .btn { height: 50px; white-space: nowrap; }
.job-board-section { padding: 100px 0 86px; background: var(--surface); }
.job-board-layout { display: grid; grid-template-columns: 290px minmax(0,1fr); gap: 42px; align-items: start; }
.job-sidebar { position: sticky; top: 124px; padding: 27px; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.job-sidebar h2 { margin-bottom: 12px; font-size: 1.55rem; }
.job-sidebar p { color: var(--muted); font-size: .9rem; }
.job-sidebar ul { display: grid; gap: 12px; margin: 24px 0; }
.job-sidebar li { position: relative; padding-left: 25px; color: var(--primary-dark); font-size: .88rem; font-weight: 700; }
.job-sidebar li::before { content: '✓'; position: absolute; left: 0; color: var(--secondary-dark); font-weight: 900; }
.job-reset-link { color: var(--primary); font-size: .8rem; font-weight: 800; }
.job-results-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; }
.job-results-head span { color: var(--secondary-dark); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.job-results-head h2 { margin-top: 4px; font-size: 1.65rem; }
.job-results-head > a { color: var(--primary); font-size: .82rem; font-weight: 700; }
.job-list { display: grid; gap: 16px; }
.job-card { display: grid; grid-template-columns: auto minmax(0,1fr) 180px; gap: 20px; align-items: start; padding: 24px; border: 1px solid var(--border); border-radius: 16px; color: inherit; background: #fff; box-shadow: 0 5px 18px rgba(15,81,50,.04); transition: transform .2s,box-shadow .2s,border-color .2s; cursor: pointer; }
.job-card:hover { transform: translateY(-3px); border-color: rgba(15,81,50,.28); box-shadow: var(--shadow-lg); }
.job-card.featured { border-left: 4px solid var(--secondary); }
.job-logo { width: 58px; height: 58px; padding: 4px; border: 1px solid var(--border); border-radius: 14px; background: #fff; overflow: hidden; }
.job-logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.job-card-top { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .72rem; font-weight: 700; }
.job-featured { padding: 3px 8px; border-radius: 999px; color: #866500 !important; background: #fff4c7; }
.job-card h3 { margin: 6px 0 7px; font-size: 1.2rem; }
.job-card h3 { transition: color .2s; }
.job-card:hover h3,.job-card:focus-visible h3 { color: var(--primary); }
.job-card-main > p { color: var(--muted); font-size: .87rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.job-meta span { padding: 5px 9px; border-radius: 999px; color: #365a49; background: var(--primary-light); font-size: .7rem; font-weight: 700; }
.job-card-side { align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; text-align: right; border-left: 1px solid var(--border); padding-left: 18px; }
.job-card-side small { color: var(--muted); font-size: .68rem; }
.job-card-side strong { color: var(--primary-dark); font-size: .8rem; }
.job-card-action { margin-top: auto; color: var(--primary); font-size: .78rem; font-weight: 800; }
.job-card-action b { display: inline-block; transition: transform .2s; }
.job-card:hover .job-card-action b { transform: translateX(4px); }
.job-card:focus-visible { outline: 3px solid rgba(212,175,55,.45); outline-offset: 3px; }
.job-empty { padding: 50px; text-align: center; border: 1px dashed #b9c9c0; border-radius: 18px; background: #fff; }
.job-empty p { max-width: 520px; margin: 10px auto 22px; color: var(--muted); }
.career-process-section { padding: 82px 0; background: #fff; }
.career-process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.career-process-grid > div { padding: 26px; border-top: 3px solid var(--secondary); border-radius: 0 0 14px 14px; background: var(--surface); }
.career-process-grid span { color: var(--secondary-dark); font-size: .76rem; font-weight: 900; }
.career-process-grid h3 { margin: 8px 0; font-size: 1rem; }
.career-process-grid p { color: var(--muted); font-size: .84rem; }

/* Job detail and application */
.job-detail-hero { padding: 58px 0; color: #fff; background: linear-gradient(135deg,var(--primary-dark),var(--primary)); }
.job-detail-hero .back-link { color: rgba(255,255,255,.78); }
.job-detail-heading { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 22px; align-items: center; }
.job-logo.large { width: 82px; height: 82px; border-radius: 20px; }
.job-detail-heading > div:nth-child(2) > span { color: #ffe58a; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.job-detail-heading h1 { margin: 5px 0 10px; color: #fff; font-size: clamp(2rem,4vw,3.4rem); }
.job-detail-hero .job-meta span { color: #fff; background: rgba(255,255,255,.12); }
.job-detail-section { padding: 70px 0; background: #fff; }
.job-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 50px; align-items: start; }
.job-detail-content { display: grid; gap: 38px; }
.job-detail-content section { padding-bottom: 34px; border-bottom: 1px solid var(--border); }
.job-detail-content h2 { margin-bottom: 14px; font-size: 1.45rem; }
.job-detail-content p { color: var(--muted); }
.job-detail-list { display: grid; gap: 11px; }
.job-detail-list li { position: relative; padding-left: 25px; color: #46534c; }
.job-detail-list li::before { content: ''; position: absolute; left: 3px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--secondary); }
.job-detail-list.benefit { grid-template-columns: 1fr 1fr; }
.job-detail-sidebar { position: sticky; top: 120px; }
.job-detail-sidebar > div { padding: 26px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.job-detail-sidebar h3 { margin-bottom: 20px; }
.job-detail-sidebar dl { display: grid; grid-template-columns: 1fr 1.35fr; gap: 9px 13px; margin-bottom: 24px; font-size: .8rem; }
.job-detail-sidebar dt { color: var(--muted); }
.job-detail-sidebar dd { color: var(--primary-dark); font-weight: 700; }
.job-apply-section { padding: 80px 0; background: linear-gradient(135deg,#edf6f1,#fffaf0); }
.job-apply-grid { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: 64px; align-items: start; }
.job-apply-grid > div:first-child { position: sticky; top: 120px; }
.job-apply-grid h2 { margin-bottom: 15px; font-size: clamp(2rem,4vw,3.1rem); }
.job-apply-grid > div:first-child > p { color: var(--muted); }
.application-privacy { display: grid; gap: 5px; margin-top: 28px; padding: 18px; border-left: 3px solid var(--secondary); background: rgba(255,255,255,.65); }
.application-privacy span { color: var(--muted); font-size: .82rem; }
.application-form-card { padding: 32px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); }
.application-form small { display: block; margin-top: 7px; color: var(--muted); }
.application-honeypot { position: absolute; left: -9999px; }
.file-input { padding: 9px !important; }
.related-job-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.related-job-grid a { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: transform .2s; }
.related-job-grid a:hover { transform: translateY(-4px); }
.related-job-grid span { color: var(--secondary-dark); font-size: .72rem; font-weight: 800; }
.related-job-grid h3 { margin: 10px 0 18px; }
.related-job-grid strong { color: var(--primary); font-size: .78rem; }

/* Contact page layout */
.contact-page-layout {
    display: grid;
    gap: 26px;
}
.contact-section-head {
    max-width: 640px;
}
.contact-section-head h2 {
    margin-top: 10px;
}
.location-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
    gap: 42px;
    align-items: start;
}
.contact-admin-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    width: min(100%, 1060px);
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.contact-admin-title {
    display: block;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.contact-admin-title h3 {
    margin-top: 10px;
    font-size: 1.15rem;
}
.contact-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-admin-grid .contact-info-item {
    margin-bottom: 0;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}
.contact-social-item {
    grid-column: 1 / -1;
    align-items: flex-start;
    background: #fff !important;
}
.contact-social-item > div:last-child {
    width: 100%;
    min-width: 0;
}
.contact-info-icon {
    flex-shrink: 0; width: 42px; height: 42px;
    background: var(--primary-light); color: var(--primary);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem;
}
.contact-info-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.contact-info-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-item p {
    color: var(--muted);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 24px; }
.map-wrap iframe { width: 100%; height: 260px; border: 0; display: block; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.contact-form-card {
    padding: 26px;
}
.contact-form-landscape {
    width: min(100%, 1060px);
    margin: 0 auto;
}
.contact-form-card h3 {
    margin-bottom: 16px !important;
}
.contact-form-card .form-group {
    margin-bottom: 16px;
}
.contact-form-card .form-control {
    padding: 10px 12px;
}
.contact-form-card textarea.form-control {
    min-height: 104px;
}
.contact-form-fields {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 16px;
}
.contact-message-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 16px;
    align-items: end;
}
.contact-message-row .form-group {
    margin-bottom: 0;
}
.contact-message-row .btn {
    height: 44px;
    margin-bottom: 0;
}
.contact-social-groups {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 12px;
    margin-top: 10px;
}
.contact-social-groups > div {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}
.contact-social-groups strong {
    display: block;
    color: var(--primary-dark);
    font-size: 0.82rem;
    margin-bottom: 7px;
}
.contact-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.contact-social-links a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
}
.campus-list {
    display: grid;
    gap: 18px;
    margin-bottom: 30px;
}
.campus-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}
.campus-card-head span {
    display: inline-block;
    color: var(--secondary-dark);
    background: rgba(212,175,55,0.12);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.campus-card-head h3 {
    font-size: 1.18rem;
    margin-bottom: 8px;
}
.campus-card p {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 14px;
}
.campus-direct-contact { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 0 0 16px; padding: 13px 14px; border: 1px solid rgba(15,81,50,.1); border-radius: 13px; background: linear-gradient(135deg,var(--primary-light),#fff); }
.campus-direct-contact > div:first-child { display: grid; gap: 2px; min-width: 0; }
.campus-direct-contact small { color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.campus-direct-contact > div:first-child a { color: var(--primary-dark); font-size: .9rem; font-weight: 900; }
.campus-social-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.campus-social-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 7px 9px; border: 1px solid rgba(15,81,50,.13); border-radius: 9px; color: var(--primary); background: #fff; font-size: .7rem; font-weight: 800; transition: color .2s,background .2s,transform .2s; }
.campus-social-links a:hover { color: #fff; background: var(--primary); transform: translateY(-2px); }
.campus-social-links .campus-social-whatsapp { color: #087a42; border-color: rgba(8,122,66,.2); background: #effaf4; }
.campus-social-links .campus-social-whatsapp:hover { color: #fff; background: #087a42; }
.campus-social-links svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.campus-building {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--border);
}
.campus-map {
    margin: 14px 0;
}
.campus-map iframe {
    height: 190px;
}
.contact-subhead {
    margin: 6px 0 18px;
}
.campus-number { position: absolute; top: 17px; right: 18px; color: rgba(15,81,50,.14); font-size: 2rem; font-weight: 900; line-height: 1; }
.campus-card .btn { margin-top: auto; text-align: center; }

/* Unit publications from Instagram */
.gallery-publication-head { max-width: 760px; margin: 0 auto 22px; }
.gallery-publication-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.gallery-publication-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 20px; color: inherit; background: #fff; box-shadow: var(--shadow); transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease; }
.gallery-publication-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,.6); box-shadow: var(--shadow-lg); }
.gallery-publication-card.is-hidden { display: none; }
.gallery-publication-media { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--primary-dark); }
.gallery-publication-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 55%,rgba(3,30,19,.72)); }
.gallery-publication-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-publication-card:hover img { transform: scale(1.045); }
.gallery-publication-media span { position: absolute; z-index: 1; right: 14px; bottom: 14px; padding: 6px 10px; border-radius: 999px; color: var(--primary-dark); background: var(--secondary); font-size: .68rem; font-weight: 900; letter-spacing: .05em; }
.gallery-publication-copy { padding: 19px; }
.gallery-publication-copy small { color: var(--secondary-dark); font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.gallery-publication-copy h3 { margin: 7px 0; font-size: 1.02rem; }
.gallery-publication-copy p { min-height: 66px; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.gallery-publication-copy strong { display: inline-block; margin-top: 14px; color: var(--primary); font-size: .78rem; }
.gallery-album-head { margin-top: 74px; }

/* School leadership */
.leadership-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.leadership-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 20px; color: inherit; background: #fff; box-shadow: var(--shadow); transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease; }
.leadership-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,.58); box-shadow: var(--shadow-lg); }
.leadership-card.is-hidden { display: none; }
.leadership-photo { position: relative; overflow: hidden; aspect-ratio: 4/5; background: #e8f1ec; }
.leadership-photo::after { content: ''; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(transparent,rgba(3,30,19,.5)); }
.leadership-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .35s ease; }
.leadership-card:hover img { transform: scale(1.04); }
.leadership-photo span { position: absolute; z-index: 1; right: 13px; bottom: 13px; padding: 6px 10px; border-radius: 999px; color: var(--primary-dark); background: var(--secondary); font-size: .68rem; font-weight: 900; }
.leadership-copy { padding: 20px; }
.leadership-copy small { display: block; min-height: 36px; color: var(--secondary-dark); font-size: .7rem; font-weight: 900; line-height: 1.4; text-transform: uppercase; }
.leadership-copy h3 { margin: 7px 0; font-size: 1.02rem; }
.leadership-copy p { color: var(--muted); font-size: .8rem; }
.leadership-copy strong { display: inline-block; margin-top: 15px; color: var(--primary); font-size: .77rem; }
.leader-detail-hero { padding: 72px 0; color: #fff; background: radial-gradient(circle at 80% 20%,rgba(212,175,55,.22),transparent 27%),linear-gradient(135deg,#073f29,#021c12); }
.leader-detail-grid { display: grid; grid-template-columns: minmax(280px,410px) minmax(0,1fr); gap: 64px; align-items: center; }
.leader-detail-photo { padding: 0; overflow: hidden; border: 0; border-radius: 26px; background: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.32); cursor: zoom-in; }
.leader-detail-photo img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; }
.leader-detail-copy h1 { margin: 12px 0 18px; color: #fff; font-family: 'El Messiri',Inter,sans-serif; font-size: clamp(2.5rem,5vw,4.8rem); line-height: 1; }
.leader-detail-copy > p { max-width: 720px; color: rgba(255,255,255,.76); font-size: 1.03rem; }
.leader-facts { display: grid; grid-template-columns: .55fr 1fr 1.3fr; gap: 12px; margin-top: 28px; }
.leader-facts div { padding: 15px; border: 1px solid rgba(255,255,255,.17); border-radius: 14px; background: rgba(255,255,255,.05); }
.leader-facts small { display: block; margin-bottom: 4px; color: rgba(255,255,255,.56); }
.leader-facts strong { font-size: .84rem; line-height: 1.45; }
.leader-detail-note { max-width: 840px; }
.leader-detail-note h2 { margin: 10px 0 14px; }
.leader-detail-note p { margin-bottom: 25px; color: var(--muted); }

/* ==========================================================
   2026 VISUAL SYSTEM: COMPANY PROFILE, MEDIA & INNER PAGES
   ========================================================== */
.brand-logo { object-fit: contain; box-shadow: none; }
.card > img,
.program-page-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.program-page-card .card-body { display: flex; min-height: 255px; flex-direction: column; }
.program-page-card .card-body .btn { align-self: flex-start; margin-top: auto; }
.program-link { display: inline-flex; align-items: center; margin-top: 16px; color: var(--primary); font-size: .82rem; font-weight: 800; }
.program-link:hover { color: var(--secondary-dark); }

/* Full-bleed media slider. Images fade every 3 seconds, videos advance on ended. */
.hero-slider { background: #061f15; background-image: none; background-attachment: scroll; }
.hero-slides,
.hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; visibility: hidden; transform: scale(1.035); transition: opacity .9s ease, transform 5s ease, visibility .9s; }
.hero-slide.active { opacity: 1; visibility: visible; transform: scale(1); }
.hero-slide img,
.hero-slide video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-slider::before { z-index: 1; background: linear-gradient(90deg,rgba(3,24,16,.2),rgba(3,24,16,.44) 48%,rgba(3,24,16,.9)),linear-gradient(0deg,rgba(3,24,16,.58),transparent 55%); }
.hero-slider::after { z-index: 1; height: 22%; }
.hero-slider .hero-inner { z-index: 2; display: flex; width: 100%; max-width: var(--max-width); justify-content: flex-end; align-items: center; min-height: calc(100svh - 97px); padding: 42px 20px; }
.hero-copy { display: none; width: min(100%, 630px); padding: 38px 0 38px clamp(28px,4vw,58px); border-left: 1px solid rgba(255,255,255,.44); text-align: left; animation: heroCopyIn .7s ease both; }
.hero-copy.active { display: block; }
.hero-copy h1 { font-family: 'El Messiri',Inter,sans-serif; font-size: clamp(2.7rem,5vw,5rem); }
.hero-copy p { margin-left: 0; max-width: 590px; }
.hero-copy .hero-actions { justify-content: flex-start; }
.hero-copy[data-awaits-video="1"] { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.hero-copy[data-awaits-video="1"].video-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hero-copy[data-awaits-video="1"] { opacity: 1; transform: none; transition: none; } }
.hero-pagination { position: absolute; z-index: 3; right: max(24px,calc((100vw - var(--max-width))/2)); bottom: 28px; display: flex; gap: 9px; }
.hero-pagination button { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.4); cursor: pointer; transition: width .25s,background .25s; }
.hero-pagination button.active { width: 62px; background: var(--secondary); }
@keyframes heroCopyIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Latest news + achievements immediately below hero. */
.home-pulse-section { padding: 70px 0; background: linear-gradient(180deg,#fff,#f3f8f5); background-image: none; }
.home-pulse-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(330px,.85fr); gap: 48px; align-items: start; }
.pulse-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.pulse-heading .section-eyebrow { margin-bottom: 7px; }
.pulse-heading h2 { font-size: clamp(1.45rem,2.4vw,2rem); }
.pulse-heading > div { min-width: 0; }
.pulse-heading h2,
.page-prestasi .section-head h2 { text-wrap: balance; }
.pulse-heading > a { color: var(--primary); font-size: .78rem; font-weight: 800; white-space: nowrap; }
.pulse-news-list,.pulse-achievement-list { display: grid; gap: 14px; }
.pulse-news-card { display: grid; grid-template-columns: 168px minmax(0,1fr); min-height: 124px; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(15,81,50,.06); transition: transform .2s,box-shadow .2s; }
.pulse-news-card:hover,.pulse-achievement-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pulse-news-card img { width: 100%; height: 100%; min-height: 124px; object-fit: cover; }
.pulse-news-card > div { padding: 17px 19px; }
.pulse-news-card span,.pulse-achievement-card span { color: var(--secondary-dark); font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.pulse-news-card h3,.pulse-achievement-card h3 { margin: 5px 0; font-size: .98rem; }
.pulse-news-card p { color: var(--muted); font-size: .78rem; line-height: 1.5; }
.pulse-achievement-card { display: grid; grid-template-columns: 108px minmax(0,1fr); min-height: 108px; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: #fff; transition: transform .2s,box-shadow .2s; }
.pulse-achievement-card img { width: 108px; height: 100%; object-fit: cover; }
.pulse-achievement-card > div { padding: 14px 16px; }
.pulse-achievement-card strong { color: var(--primary); font-size: .72rem; }

/* Content-aware page banners rather than one flat green header. */
.page-header { position: relative; isolation: isolate; overflow: hidden; min-height: 250px; display: flex; align-items: center; color: #fff; background-color: #0a3a24; background-position: center; background-size: cover; }
.page-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(3,30,19,.9),rgba(3,30,19,.52)); }
.page-header .container { width: 100%; text-align: left; }
.page-header h1 { color: #fff; font-family: 'El Messiri',Inter,sans-serif; font-size: clamp(2.2rem,4vw,3.8rem); }
.page-header .breadcrumb,.page-header .breadcrumb a { color: rgba(255,255,255,.78); }
.page-kicker { display: inline-flex; margin-bottom: 12px; padding: 6px 13px; border-radius: 999px; color: #fff4bd; background: rgba(212,175,55,.2); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.page-berita .page-header,.page-detail-berita .page-header { background-image: url('../images/gallery/kegiatan-sekolah/kegiatan-02.optimized.webp'); }
.page-galeri .page-header,.page-galeri-detail .page-header { background-image: url('../images/gallery/kegiatan-sekolah/kegiatan-01.optimized.webp'); }
.page-program .page-header,.page-detail-program .page-header { background-image: url('../images/gallery/kegiatan-sekolah/kegiatan-03.optimized.webp'); }
.page-prestasi .page-header { background-image: url('../images/achievements/sdit-bastian-bachtiar.webp'); }
.page-kegiatan .page-header { background-image: url('../images/activities/sdit-kegiatan.optimized.webp'); }
.page-tentang .page-header { background-image: url('../images/school/gedung-sekolah.optimized.webp'); }
.page-unit .page-header { background-image: url('../images/school/gedung-smpit.optimized.webp'); }
.page-kontak .page-header { background-image: url('../images/school/gedung-sekolah.optimized.webp'); }
.page-spmb .page-header,.page-form-spmb .page-header { background-image: url('../images/activities/tkit-kegiatan.optimized.webp'); }
.page-spmb .page-header { display: none; }
.page-spmb .hero {
    min-height: 620px;
    padding: 92px 0 98px;
}
.page-brosur .page-header,.page-brosur-unit .page-header { background-image: url('../images/activities/daycare-kegiatan.optimized.webp'); }

/* Brochures and program detail. */
.brochure-section { background: linear-gradient(180deg,#f4f9f6,#fff); background-image: none; }
.brochure-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.brochure-card { display: grid; grid-template-columns: 210px minmax(0,1fr); overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.brochure-cover { position: relative; min-height: 260px; overflow: hidden; }
.brochure-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(3,30,19,.7),transparent 60%); }
.brochure-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.brochure-card:hover .brochure-cover img { transform: scale(1.05); }
.brochure-cover span { position: absolute; z-index: 1; left: 18px; bottom: 16px; color: #fff; font-weight: 900; }
.brochure-card > div { align-self: center; padding: 26px; }
.brochure-card h3 { margin-bottom: 10px; }
.brochure-card p { margin-bottom: 20px; color: var(--muted); font-size: .88rem; }
.brochure-detail-hero,.program-detail-hero { position: relative; isolation: isolate; padding: 72px 0; color: #fff; background: #073721; overflow: hidden; }
.brochure-detail-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .3; background-image: var(--brochure-image); background-position: center; background-size: cover; filter: blur(8px); transform: scale(1.08); }
.brochure-detail-hero::after,.program-detail-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg,rgba(3,30,19,.95),rgba(15,81,50,.78)); }
.brochure-detail-grid,.program-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 420px; gap: 60px; align-items: center; }
.brochure-detail-grid h1,.program-detail-grid h1 { margin: 8px 0 18px; color: #fff; font-family: 'El Messiri',Inter,sans-serif; font-size: clamp(2.7rem,5vw,4.6rem); }
.brochure-detail-grid p,.program-detail-grid p { max-width: 680px; color: rgba(255,255,255,.82); }
.brochure-actions { justify-content: flex-start; margin-top: 28px; }
.brochure-preview,.program-detail-visual { overflow: hidden; border: 1px solid rgba(255,255,255,.24); border-radius: 22px; box-shadow: 0 28px 60px rgba(0,0,0,.28); transform: rotate(1.5deg); }
.brochure-preview img,.program-detail-visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.brochure-unavailable { align-self: center; color: #fff4bd; font-weight: 700; }
.brochure-info-grid,.program-detail-body { display: grid; grid-template-columns: minmax(0,1fr) 410px; gap: 60px; align-items: start; }
.brochure-info-grid > div:first-child > p,.program-detail-body > div:first-child > p { color: var(--muted); }
.brochure-quick-links { display: grid; gap: 12px; }
.brochure-quick-links a,.program-detail-body aside { display: grid; gap: 5px; padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.brochure-quick-links span,.program-detail-body aside p { color: var(--muted); font-size: .84rem; }
.program-detail-hero { background-image: url('../images/gallery/kegiatan-sekolah/kegiatan-03.optimized.webp'); background-position: center; background-size: cover; }
.program-detail-body aside .btn { margin-top: 16px; }

.foundation-section { background-color: #f2f7f4; background-image: none; }
.foundation-card { text-align: center; }
.foundation-avatar { display: grid; place-items: center; width: 92px; height: 92px; margin: 30px auto 0; border-radius: 50%; color: #fff; background: linear-gradient(145deg,var(--primary),var(--primary-dark)); font-family: 'El Messiri'; font-size: 2.4rem; }
.foundation-card > img { width: 92px; height: 92px; margin: 30px auto 0; border-radius: 50%; object-fit: cover; }
.foundation-grid { align-items: stretch; }
.foundation-profile-card { height: 100%; }
.foundation-profile-card .leadership-copy { display: flex; min-height: 218px; flex-direction: column; }
.foundation-profile-card .leadership-copy p { line-height: 1.65; }
.foundation-profile-card .leadership-copy strong { margin-top: auto; padding-top: 18px; }
.foundation-detail-hero { background: radial-gradient(circle at 78% 18%,rgba(212,175,55,.3),transparent 28%),linear-gradient(135deg,#0a5134,#021c12); }
.foundation-experience { margin: 24px 0; padding: 24px; border-left: 4px solid var(--secondary); border-radius: 0 16px 16px 0; background: var(--primary-light); }
.foundation-experience h3 { margin-bottom: 8px; }
.foundation-experience p { margin: 0; }

/* Editorial news experience */
.news-index-section,.news-article-section { background: linear-gradient(180deg,#f4f8f6,#fff); background-image: none; }
.news-unit-tabs { margin-bottom: 34px; }
.news-filter-card { transition: opacity .22s ease, transform .22s ease, box-shadow .2s; }
.news-filter-card.is-faded { opacity: 0; transform: translateY(10px); pointer-events: none; }
.news-filter-card.is-hidden { display: none; }
.news-unit-chip,
.news-card-unit { display: inline-flex; align-items: center; width: fit-content; padding: 6px 11px; border-radius: 999px; color: var(--primary-dark); background: #f8f2df; font-size: .68rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.news-featured-card .news-unit-chip { margin-bottom: 10px; color: #fff4bd; border: 1px solid rgba(255,244,189,.26); background: rgba(255,255,255,.08); }
.news-modern-image { position: relative; }
.news-card-unit { position: absolute; top: 14px; right: 14px; z-index: 1; box-shadow: 0 7px 18px rgba(3,30,19,.12); }
.news-filter-empty { margin-top: 28px; padding: 34px 20px; border: 1px dashed rgba(7,67,42,.2); border-radius: 16px; color: var(--muted); background: rgba(255,255,255,.72); text-align: center; }
.news-featured-card { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(360px,.75fr); overflow: hidden; min-height: 430px; border-radius: 24px; color: #fff; background: var(--primary-dark); box-shadow: 0 22px 55px rgba(3,30,19,.2); }
.news-featured-image { position: relative; overflow: hidden; }
.news-featured-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,transparent 60%,rgba(3,30,19,.4)); }
.news-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-featured-card:hover .news-featured-image img { transform: scale(1.035); }
.news-featured-image span { position: absolute; z-index: 1; top: 24px; left: 24px; padding: 7px 12px; border-radius: 999px; color: var(--primary-dark); background: var(--secondary); font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.news-featured-card > div:last-child { align-self: center; padding: 44px; }
.news-featured-card .news-date { color: #ffe88e; }
.news-featured-card h2 { margin: 10px 0 16px; color: #fff; font-family: 'El Messiri',Inter,sans-serif; font-size: clamp(2rem,3.6vw,3.2rem); }
.news-featured-card p { margin-bottom: 26px; color: rgba(255,255,255,.75); }
.news-featured-card strong { color: #fff4bd; font-size: .84rem; }
.news-index-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 72px 0 25px; }
.news-index-head .section-eyebrow { margin-bottom: 8px; }
.news-index-head > p { max-width: 480px; color: var(--muted); text-align: right; }
.news-modern-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.news-modern-card { overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: var(--shadow); transition: transform .2s,box-shadow .2s; }
.news-modern-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-modern-image { display: block; overflow: hidden; }
.news-modern-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .35s; }
.news-modern-card:hover img { transform: scale(1.045); }
.news-modern-card > div { padding: 24px; }
.news-modern-card h3 { min-height: 2.5em; margin: 7px 0 10px; font-size: 1.08rem; }
.news-modern-card p { min-height: 4.5em; margin-bottom: 16px; color: var(--muted); font-size: .86rem; }
.news-article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 52px; align-items: start; }
.news-article { overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.news-article-meta { display: flex; justify-content: space-between; padding: 22px 28px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: .76rem; font-weight: 700; }
.news-article-meta .news-date { margin: 0; }
.news-article-cover { width: 100%; max-height: 590px; aspect-ratio: 16/9; object-fit: cover; }
.news-article-content { padding: 38px clamp(25px,5vw,62px); color: #36463e; font-family: Georgia,'Times New Roman',serif; font-size: 1.08rem; line-height: 1.95; }
.news-article-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 30px; border-top: 1px solid var(--border); }
.news-share { color: var(--primary); font-size: .8rem; font-weight: 800; }
.news-article-aside { position: sticky; top: 120px; padding: 28px; border-top: 4px solid var(--secondary); border-radius: 0 0 16px 16px; background: #fff; box-shadow: var(--shadow); }
.news-article-aside h3 { margin: 4px 0 10px; }
.news-article-aside p { margin-bottom: 22px; color: var(--muted); font-size: .86rem; }

@media (max-width: 980px) {
    .hero-slider .hero-inner { justify-content: center; }
    .hero-copy { max-width: 760px; padding: 34px; border-left: 0; border-radius: 20px; text-align: center; background: rgba(3,30,19,.38); -webkit-backdrop-filter: blur(6px);backdrop-filter: blur(6px); }
    .hero-copy .hero-actions { justify-content: center; }
    .home-pulse-grid,.brochure-detail-grid,.program-detail-grid,.brochure-info-grid,.program-detail-body { grid-template-columns: 1fr; }
    .news-featured-card,.news-article-layout { grid-template-columns: 1fr; }
    .news-featured-image { min-height: 360px; }
    .news-modern-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .news-article-aside { position: static; }
    .brochure-grid { grid-template-columns: 1fr; }
    .brochure-preview,.program-detail-visual { width: min(100%,560px); transform: none; }
}
@media (max-width: 640px) {
    .hero-slider,.hero-slider .hero-inner { min-height: calc(100svh - 78px); }
    .hero-copy { padding: 25px 18px; }
    .hero-copy h1 { font-size: clamp(2.15rem,11vw,3.2rem); }
    .hero-pagination { right: 20px; bottom: 18px; }
    .pulse-news-card { grid-template-columns: 112px minmax(0,1fr); }
    .pulse-news-card img { min-height: 132px; }
    .pulse-news-card p { display: none; }
    .pulse-heading { align-items: start; }
    .brochure-card { grid-template-columns: 1fr; }
    .brochure-cover { min-height: 210px; }
    .page-header { min-height: 210px; }
    .news-featured-image { min-height: 250px; }
    .news-featured-card > div:last-child { padding: 28px; }
    .news-index-head { align-items: start; flex-direction: column; }
    .news-index-head > p { text-align: left; }
    .news-modern-grid { grid-template-columns: 1fr; }
    .news-article-footer { align-items: stretch; flex-direction: column; }
    .spmb-form-intro { align-items: stretch; flex-direction: column; }
}

/* SPMB page */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: relative; }
.step-num {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--secondary); color: var(--primary-dark);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; margin-bottom: 14px;
}
.step-item h3 { font-size: 1rem; margin-bottom: 6px; }
.step-item p { color: var(--muted); font-size: 0.85rem; }

.req-list li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px dashed var(--border); color: var(--muted); }
.req-list li:before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }

.table-wrap { overflow-x: auto; }
table.schedule { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.schedule th, table.schedule td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
table.schedule th { background: var(--primary); color: #fff; }

.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 16px 20px; font-weight: 700; cursor: pointer; background: var(--surface); font-size: 0.95rem; }
.faq-item p { padding: 4px 20px 18px; color: var(--muted); font-size: 0.9rem; }

/* Unit detail sections */
.unit-block { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--border); }
.unit-block:last-child { border-bottom: none; }
.unit-block.reverse .unit-media { order: 2; }
.unit-media {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--primary-dark);
    box-shadow: var(--shadow);
    cursor: zoom-in;
    text-align: left;
}
.unit-media img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.unit-media:hover img { transform: scale(1.04); }
.unit-media-hint {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: var(--shadow);
}
.unit-text h2 { font-size: 1.6rem; margin-bottom: 12px; }
.unit-text p { color: var(--muted); margin-bottom: 18px; }
.unit-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.unit-tags span { background: var(--primary-light); color: var(--primary-dark); padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; }

/* WhatsApp floating button */
.wa-float {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 60px; height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.wa-float svg { width: 34px; height: 34px; fill: currentColor; }
.wa-float:hover { transform: scale(1.1) rotate(5deg); }

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.image-lightbox.open { display: flex; }
.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(3, 30, 19, 0.82);
    cursor: zoom-out;
}
.image-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(1080px, 94vw);
    max-height: 90vh;
    display: grid;
    gap: 12px;
}
.image-lightbox-dialog img {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 24px 70px rgba(0,0,0,0.36);
}
.image-lightbox-dialog p {
    color: #fff;
    text-align: center;
    font-weight: 800;
}
.image-lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--primary-dark);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}

/* ===== FOOTER ===== */
/* One foundation building photo sits beneath the footer at low opacity. */
.site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(135deg, #082c1e, #031b12 72%);
    color: rgba(255,255,255,0.85);
    padding: 58px 0 0;
    margin-top: 40px;
}
.site-footer::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background-image: var(--footer-building, none);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .16;
    content: '';
    pointer-events: none;
}
.site-footer::after {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: radial-gradient(circle at 8% 0%, rgba(212,175,55,.12), transparent 34%);
    content: '';
    pointer-events: none;
}
.site-footer > * { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: minmax(280px,1.25fr) .68fr .82fr 1.05fr; gap: clamp(28px,4vw,58px); padding-bottom: 42px; align-items: start; }
.footer-col h3,
.footer-col h4 { display: flex; align-items: center; gap: 10px; color: #fff; font-size: .9rem; margin-bottom: 17px; }
.footer-col h3::after,
.footer-col h4::after { width: 28px; height: 2px; border-radius: 99px; background: var(--secondary); content: ''; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a, .footer-contact li { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.footer-col ul li a:hover { color: var(--secondary); }
.footer-brand p { font-size: 0.85rem; line-height: 1.55; margin: 14px 0; color: rgba(255,255,255,0.7); max-width: 300px; }
.footer-social { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-social a { font-size: 0.85rem; font-weight: 700; color: var(--secondary); }
.school-socials {
    display: grid;
    gap: 10px;
    max-width: 360px;
    margin-top: 19px;
    padding: 17px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    background: rgba(255,255,255,.045);
}
.footer-social-title {
    display: block;
    color: #fff;
    font-size: 0.84rem;
    margin-bottom: 2px;
}
.school-social-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
}
.school-social-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(212,175,55,0.36);
    border-radius: 50%;
    color: var(--secondary);
}
.school-social-icon.social-instagram { color: #e4405f; }
.school-social-icon.social-facebook { color: #1877f2; }
.school-social-icon.social-tiktok { color: #111827; }
.school-social-icon.social-youtube { color: #ff0033; }
.school-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.school-socials a {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.82);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}
.school-socials a:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}
.school-social-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.school-social-icon.social-facebook svg,
.school-social-icon.social-tiktok svg { fill: currentColor; stroke: none; }
.school-social-icon.social-youtube svg path:first-child { fill: currentColor; stroke: none; }
.school-social-icon.social-youtube svg path:last-child { fill: #fff; stroke: none; }
.footer-contact-list {
    display: grid;
    gap: 9px;
}
.footer-contact-list li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
    color: rgba(255,255,255,0.8);
    line-height: 1.38;
    font-size: 0.84rem;
}
.footer-contact-list svg {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: rgba(255,255,255,0.82);
}
.footer-contact-list strong {
    display: block;
    color: var(--secondary);
    font-size: 0.78rem;
    margin-bottom: 1px;
}
.footer-location-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--secondary);
    font-size: 0.86rem;
    font-weight: 800;
}
.footer-location-link:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 16px 0; background: rgba(0,0,0,.12); text-align: center; font-size: 0.8rem; }
.site-footer .brand {
    min-width: 0;
    align-items: center;
}
.site-footer .brand-copy {
    border-left-color: var(--secondary);
}
.site-footer .brand-copy strong,
.site-footer .brand-copy small {
    color: #fff;
}
.site-footer .brand-copy small {
    color: rgba(255,255,255,0.7);
}
.site-footer .brand-logo-footer {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
    filter: none;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

/* ===== GALLERY DETAIL ===== */
.detail-image-wrap { max-width: 800px; margin: 0 auto; }
.detail-image-wrap img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .why-grid, .grid-3, .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .album-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .achievement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quran-program-grid,
    .career-grid { grid-template-columns: repeat(2, 1fr); }
    .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quran-hero-grid,
    .career-intro { grid-template-columns: 1fr; }
    .quran-flow-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-media { order: -1; }
    .brand { min-width: auto; }
    .brand-copy strong { max-width: 180px; font-size: 0.92rem; }
    .brand-copy small { font-size: 0.76rem; }
    .about-grid, .contact-grid, .unit-block, .unit-block.reverse { grid-template-columns: 1fr; }
    .contact-admin-card { grid-template-columns: 1fr; }
    .contact-admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .unit-block.reverse .unit-media { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .advantage-hero-grid,.advantage-detail-grid { gap: 38px; }
    .advantage-nav-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .career-board-hero-grid { gap: 34px; }
    .job-search-bar { grid-template-columns: 1fr 1fr; }
    .job-board-layout { grid-template-columns: 1fr; }
    .job-sidebar { position: static; }
    .career-process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        display: none;
    }
    .main-nav.open { display: flex; }
    .main-nav ul { flex-direction: column; gap: 4px; align-items: stretch; }
    .main-nav a, .main-nav .dropdown-trigger { width: 100%; display: flex; padding: 12px 20px; border-bottom: 1px solid var(--border); justify-content: space-between; }
    .nav-cta { text-align: center; margin: 10px 20px; }

    /* Mobile Dropdown Fixes */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding: 0 0 0 20px !important;
        background: rgba(0,0,0,0.02);
    }
    .has-dropdown.dropdown-open .dropdown-menu {
        display: flex;
    }
    .has-dropdown:hover .dropdown-menu {
        transform: none;
    }
    .header-inner { padding: 14px 20px; justify-content: space-between; gap: 16px; }
    .brand-logo {
        width: 56px;
        height: 56px;
    }
    .brand-copy {
        padding-left: 10px;
        border-left-width: 2px;
    }
    .brand-copy strong {
        max-width: 150px;
        font-size: 0.86rem;
    }
    .brand-copy small {
        font-size: 0.68rem;
    }
    .hero {
        min-height: calc(100svh - 90px);
        background-attachment: scroll;
        background-position: center top;
        padding: 64px 0;
    }
    .hero::before {
        background:
            linear-gradient(180deg, rgba(3, 30, 19, 0.86), rgba(10, 58, 36, 0.66)),
            linear-gradient(0deg, rgba(3, 30, 19, 0.72), transparent 52%);
    }
    .hero-inner {
        width: 100%;
        min-width: 0;
        max-width: 620px;
        padding-top: 0;
    }
    .hero-eyebrow {
        max-width: 92%;
        font-size: 0.68rem;
        line-height: 1.35;
    }
    .hero h1 {
        font-size: clamp(2.15rem, 10vw, 3.35rem);
        max-width: 100%;
        overflow-wrap: anywhere;
    }
    .hero p {
        max-width: 92%;
        font-size: 1rem;
    }
    .hero-actions .btn {
        min-width: 132px;
        padding: 11px 18px;
    }

    .grid-3, .grid-2, .steps-grid, .gallery-grid, .album-grid, .why-grid { grid-template-columns: 1fr; }
    .album-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .achievement-grid { grid-template-columns: 1fr; }
    .quran-program-grid,
    .career-grid { grid-template-columns: 1fr; }
    .activity-grid { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .location-card-grid,
    .contact-admin-grid,
    .contact-form-fields,
    .contact-message-row,
    .contact-social-groups { grid-template-columns: 1fr; }
    .location-card-grid { grid-template-columns: minmax(0, 1fr); }
    .contact-page-layout,.contact-section-head,.location-card-grid,.campus-card,.campus-building,.campus-map { width: 100%; min-width: 0; max-width: 100%; }
    .contact-section-head,.campus-card { overflow: hidden; }
    .contact-section h2,.campus-card h3,.campus-card p,.campus-direct-contact a { overflow-wrap: anywhere; }
    .contact-form-landscape { width: 100%; }
    .campus-direct-contact { align-items: flex-start; flex-direction: column; }
    .campus-social-links { justify-content: flex-start; width: 100%; }
    .contact-message-row .btn { width: 100%; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-badge { position: static; margin-top: -20px; }
    .section { padding: 56px 0; }
    .form-row { grid-template-columns: 1fr; }
    .cta-spmb { padding: 40px 22px; }
    .career-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 22px;
    }
    .advantage-hero { padding: 54px 0; }
    .advantage-hero-grid,.advantage-detail-grid,.job-apply-grid { grid-template-columns: 1fr; }
    .advantage-highlight { min-height: 230px; }
    .advantage-points,.advantage-nav-grid { grid-template-columns: 1fr; }
    .career-board-hero { padding-top: 54px; }
    .career-board-hero-grid { grid-template-columns: 1fr; padding-bottom: 34px; }
    .job-search-bar { grid-template-columns: 1fr; transform: translateY(28px); }
    .job-board-section { padding-top: 72px; }
    .job-card { grid-template-columns: auto minmax(0,1fr); }
    .job-card-side { grid-column: 2; align-items: flex-start; text-align: left; border: 0; padding: 0; gap: 4px; }
    .job-card-action { margin-top: 8px; }
    .job-detail-heading { grid-template-columns: auto minmax(0,1fr); }
    .job-detail-heading > .btn { grid-column: 1/-1; }
    .job-detail-layout { grid-template-columns: 1fr; }
    .job-detail-sidebar,.job-apply-grid > div:first-child { position: static; }
    .job-detail-list.benefit,.related-job-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .gallery-grid, .grid-4 { grid-template-columns: 1fr 1fr; }
    .album-lightbox { padding: 18px; }
    .album-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    .album-lightbox-prev { left: 4px; }
    .album-lightbox-next { right: 4px; }
    .container { padding: 0 16px; }
    .unit-home-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
    .album-photo-grid { grid-template-columns: 1fr; }
}

/* ===== 2026 EXPERIENCE POLISH ===== */
html { scroll-padding-top: 110px; }
body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Homepage onboarding */
.hero-slider { min-height: calc(100svh - 97px); }
.hero-slider::before { background: linear-gradient(90deg,rgba(2,24,15,.92) 0%,rgba(3,31,20,.72) 43%,rgba(3,24,16,.22) 76%),linear-gradient(0deg,rgba(2,20,13,.72),transparent 55%); }
.hero-slider .hero-slide { transform: scale(1.06); transition: opacity .85s ease, transform 5s linear, visibility .85s; }
.hero-slider .hero-slide.active { transform: scale(1); }
.hero-slider .hero-inner { justify-content: flex-start; align-items: center; padding-top: 46px; padding-bottom: 150px; }
.hero-slider .hero-slide img,
.hero-slider .hero-slide video {
    position: absolute;
    top: -6%;
    left: 0;
    width: 100%;
    height: 112%;
    transform: translate3d(0, var(--hero-parallax, 0px), 0);
    will-change: transform;
}
.hero-content-shell { display: grid; grid-template-columns: minmax(0,760px) 150px; align-items: end; gap: 34px; width: min(100%,950px); }
.hero-copy-stack { min-width: 0; }
.hero-slider .hero-copy { width: 100%; max-width: 760px; padding: 0; border: 0; background: none; -webkit-backdrop-filter: none;backdrop-filter: none; text-align: left; }
.hero-slider .hero-copy h1 { max-width: 720px; margin: 10px 0 18px; line-height: .98; letter-spacing: -.035em; }
.hero-slider .hero-copy p { margin: 0 0 28px; max-width: 610px; line-height: 1.75; }
.hero-slider .hero-copy .hero-actions { justify-content: flex-start; }
.hero-side-note { padding: 0 0 10px 22px; border-left: 1px solid rgba(255,255,255,.35); color: #fff; }
.hero-side-note span { color: var(--secondary); font-weight: 900; letter-spacing: .14em; font-size: .74rem; }
.hero-side-note p { margin: 10px 0 0; color: rgba(255,255,255,.72); font-size: .78rem; line-height: 1.55; }
.hero-bottom { position: absolute; z-index: 3; left: 50%; bottom: 38px; transform: translateX(-50%); display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; color: #fff; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 34px; }
.hero-trust span { display: grid; gap: 2px; color: rgba(255,255,255,.58); font-size: .7rem; text-transform: uppercase; letter-spacing: .09em; }
.hero-trust strong { color: #fff; font-size: .88rem; letter-spacing: 0; text-transform: none; }
.hero-pagination { bottom: 0; left: 0; right: 0; display: flex; gap: 0; transform: none; height: 5px; }
.hero-pagination button { flex: 1; width: auto; height: 5px; padding: 0; border: 0; border-radius: 0; background: rgba(255,255,255,.22); overflow: hidden; }
.hero-pagination button span { display: block; width: 0; height: 100%; background: var(--secondary); }
.hero-pagination button.active span { width: 100%; transition: width 3s linear; }

/* Clickable cards */
.program-card, .program-page-card { color: inherit; text-decoration: none; cursor: pointer; }
.program-card { position: relative; overflow: hidden; border: 1px solid transparent; }
.program-card::after { content: ''; position: absolute; inset: auto -35px -55px auto; width: 110px; height: 110px; border-radius: 50%; background: rgba(212,175,55,.1); transition: transform .3s; }
.program-card:hover { border-color: rgba(212,175,55,.75); background: #fff; transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.program-card:hover::after { transform: scale(1.5); }
.program-page-card { height: 100%; }
.program-page-card .btn { pointer-events: none; }
.card-stretched-link { position: absolute; inset: 0; z-index: 2; }
.achieve-card { position: relative; }
.achieve-card .program-link { color: var(--primary); }

/* Program & advantages detail */
.program-detail-visual { position: relative; padding: 0; border: 0; cursor: zoom-in; }
.program-detail-visual img { aspect-ratio: 4/5; }
.program-detail-visual span, .achievement-detail-image span, .brochure-poster > span { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: 999px; color: var(--primary-dark); background: rgba(255,255,255,.92); font-size: .75rem; font-weight: 800; }
.program-journey-grid, .advantage-process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.program-journey-grid article, .advantage-process-grid article { min-height: 230px; padding: 28px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.program-journey-grid article > span, .advantage-process-grid article > span { display: block; margin-bottom: 32px; color: var(--secondary-dark); font-weight: 900; }
.program-journey-grid h3, .advantage-process-grid h3 { margin-bottom: 10px; }
.program-journey-grid p, .advantage-process-grid p { color: var(--muted); font-size: .88rem; }
.program-outcome-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.program-outcome-grid > div:first-child p { margin-bottom: 24px; color: var(--muted); }
.program-outcome-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.program-outcome-list div { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; padding: 22px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.program-outcome-list span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: var(--primary); font-weight: 900; }
.program-outcome-list p { color: var(--text); font-size: .88rem; }
.program-detail-cta { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 44px; border-radius: 24px; color: #fff; background: radial-gradient(circle at 85% 20%,rgba(212,175,55,.25),transparent 26%),var(--primary-dark); }
.program-detail-cta h2 { color: #fff; }
.program-detail-cta p { color: rgba(255,255,255,.72); }
.advantage-highlight { position: relative; justify-content: flex-end; align-content: end; text-align: left; overflow: hidden; border: 0; background-image: linear-gradient(0deg,rgba(3,30,19,.92),rgba(3,30,19,.08) 75%),var(--advantage-image); background-size: cover; background-position: center; cursor: zoom-in; }
.advantage-highlight span { font-size: 4rem; }
.advantage-highlight small { color: rgba(255,255,255,.68); }
.advantage-result-card { display: grid; grid-template-columns: .9fr 1fr auto; gap: 40px; align-items: center; padding: 40px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg); }
.advantage-result-card p { color: var(--muted); }

/* Brochure promotion */
.brochure-intro { display: grid; grid-template-columns: .8fr 1fr; gap: 56px; align-items: end; margin-bottom: 42px; }
.brochure-intro p { color: var(--muted); font-size: 1.02rem; }
.brochure-grid-premium { gap: 28px; }
.brochure-card-premium { grid-template-columns: 250px minmax(0,1fr); color: inherit; text-decoration: none; transition: transform .25s,box-shadow .25s,border-color .25s; }
.brochure-card-premium:hover { transform: translateY(-6px); border-color: rgba(212,175,55,.6); box-shadow: var(--shadow-lg); }
.brochure-card-premium .brochure-cover { min-height: 390px; }
.brochure-card-premium .brochure-cover em {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 16px;
    right: auto;
    min-width: 44px;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--primary-dark);
    background: rgba(255,255,255,.9);
    font-style: normal;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.1;
    box-shadow: 0 10px 24px rgba(0,0,0,.16);
}
.brochure-audience { display: inline-block; margin-bottom: 12px; color: var(--secondary-dark); font-size: .72rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.brochure-card-premium ul { display: grid; gap: 7px; margin: 0 0 22px; padding: 0; list-style: none; }
.brochure-card-premium li { color: var(--muted); font-size: .8rem; }
.brochure-card-premium li::before { content: '✓'; margin-right: 8px; color: var(--primary); font-weight: 900; }
.brochure-card-action { color: var(--primary); font-size: .84rem; }
.brochure-help-section { color: #fff; background: var(--primary-dark); }
.brochure-help-card { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.brochure-help-card h2 { color: #fff; }
.brochure-help-card p { color: rgba(255,255,255,.72); }
.brochure-poster { position: relative; width: min(100%,410px); justify-self: end; padding: 0; overflow: hidden; border: 0; border-radius: 22px; background: transparent; box-shadow: 0 28px 70px rgba(0,0,0,.32); cursor: zoom-in; transform: rotate(1.5deg); }
.brochure-poster img { display: block; width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.brochure-for { display: grid; gap: 2px; margin-top: 24px; padding-left: 16px; border-left: 3px solid var(--secondary); }
.brochure-for small { color: rgba(255,255,255,.58); text-transform: uppercase; letter-spacing: .08em; }
.brochure-value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.brochure-value-card { padding: 34px; border: 1px solid var(--border); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.brochure-value-card > span { color: var(--secondary-dark); font-weight: 900; }
.brochure-value-card h3 { margin: 20px 0 16px; }
.brochure-value-card ul { display: grid; gap: 12px; padding: 0; list-style: none; }
.brochure-value-card li { display: flex; gap: 10px; color: var(--muted); }
.brochure-value-card li::before { content: '✓'; color: var(--primary); font-weight: 900; }
.brochure-value-wide { grid-column: 1/-1; display: grid; grid-template-columns: auto 1fr; column-gap: 26px; align-items: center; }
.brochure-value-wide > span { grid-row: 1/4; font-size: 2rem; }
.brochure-value-wide h3 { margin: 0; }
.brochure-value-wide a { margin-top: 8px; color: var(--primary); font-weight: 800; }

/* Unit gallery collage */
.unit-page-section { position: relative; isolation: isolate; overflow: hidden; background-color: #f7faf8; background-image: url('../images/ornament.svg'),linear-gradient(180deg,#f5f9f7,#fff); background-repeat: repeat,no-repeat; background-size: 120px 120px,auto; }
.unit-page-section > .container { position: relative; z-index: 1; }
.unit-page-section::before { content: ''; position: absolute; z-index: 0; top: 5%; right: -130px; width: 440px; aspect-ratio: 1; border: 1px solid rgba(15,81,50,.08); border-radius: 50%; box-shadow: 0 0 0 55px rgba(212,175,55,.035),0 0 0 110px rgba(15,81,50,.025); pointer-events: none; }
.unit-page-section::after { content: ''; position: absolute; z-index: 0; bottom: 8%; left: -180px; width: 390px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle,rgba(212,175,55,.1),rgba(212,175,55,0) 68%); pointer-events: none; }
.unit-showcase { display: grid; grid-template-columns: minmax(330px,.75fr) minmax(0,1.25fr); gap: 58px; align-items: center; padding: 68px 0; border-bottom: 1px solid var(--border); }
.unit-showcase:nth-child(even) .unit-showcase-copy { order: 2; }
.unit-index { display: block; margin-bottom: 18px; color: var(--secondary-dark); font-size: 2.2rem; font-weight: 900; }
.unit-showcase-copy > p { margin: 14px 0 22px; color: var(--muted); }
.unit-showcase-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.unit-collage { display: grid; grid-template-columns: repeat(12,1fr); grid-auto-rows: 135px; gap: 10px; min-width: 0; }
.unit-collage-item { position: relative; grid-column: span 4; min-width: 0; padding: 0; overflow: hidden; border: 0; border-radius: 16px; background: var(--primary-dark); cursor: zoom-in; }
.unit-collage-item:first-child { grid-column: span 8; grid-row: span 2; }
.unit-collage-item:nth-child(4n+4) { grid-column: span 8; }
.unit-collage-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.unit-collage-item:hover img { transform: scale(1.05); }
.unit-collage-item > span { position: absolute; inset: auto 0 0; display: grid; gap: 3px; padding: 28px 14px 12px; color: #fff; text-align: left; background: linear-gradient(0deg,rgba(3,30,19,.88),transparent); }
.unit-collage-item small { overflow: hidden; color: rgba(255,255,255,.7); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }

/* Careers */
.career-board-hero { padding-top: 82px; }
.career-board-hero-grid { grid-template-columns: minmax(0,1fr) minmax(340px,.75fr); }
.career-hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.career-hero-points span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: rgba(255,255,255,.82); font-size: .76rem; font-weight: 700; }
.career-hero-visual { position: relative; min-height: 440px; overflow: hidden; border-radius: 28px 28px 0 28px; box-shadow: 0 34px 80px rgba(0,0,0,.25); }
.career-hero-visual > img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.career-hero-card { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 24px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(3,30,19,.82); -webkit-backdrop-filter: blur(12px);backdrop-filter: blur(12px); }
.career-hero-card strong { display: block; margin: 5px 0; }
.job-search-bar { position: relative; z-index: 5; border: 1px solid rgba(7,67,42,.08); box-shadow: 0 24px 60px rgba(3,30,19,.2); }
.job-card { transition: transform .25s,box-shadow .25s,border-color .25s; }
.job-card:hover { transform: translateY(-4px); border-color: rgba(212,175,55,.65); box-shadow: var(--shadow-lg); }

/* Sharing & achievement detail */
.social-share { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border); }
.social-share > span { width: 100%; margin-bottom: 3px; color: var(--muted); font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.social-share a, .social-share button { padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--primary); background: #fff; font: inherit; font-size: .75rem; font-weight: 800; cursor: pointer; }
.social-share a:hover, .social-share button:hover { color: #fff; background: var(--primary); }

/* Berita dibaca sebagai artikel; area berbagi dipisahkan dengan ritme yang lebih ringan. */
.news-article { border: 0; border-radius: 34px 12px 34px 12px; box-shadow: 0 28px 65px rgba(3,30,19,.1); }
.news-article-meta { padding-block: 19px; background: #f8faf7; }
.news-article-cover { max-height: 550px; }
.news-article-content { padding-bottom: 24px; }
.news-article > .social-share { margin: 32px clamp(20px,5vw,62px) 10px; padding: 25px; border: 0; border-radius: 8px 28px 8px 28px; background: linear-gradient(125deg,#f0f6ed,#fff8e9); }
.news-article > .social-share > span { color: var(--primary-dark); font-size: .84rem; letter-spacing: .025em; text-transform: none; }
.news-article > .social-share a, .news-article > .social-share button { min-height: 42px; padding-inline: 16px; border-color: rgba(15,81,50,.15); }
.news-article-footer { border-top: 0; padding-top: 8px; }
.news-article-aside { border: 0; border-left: 4px solid var(--secondary); border-radius: 0 22px 22px 0; background: #f7faf6; box-shadow: none; }
.contact-info-item a, .footer-contact-list a { color: inherit; text-decoration: underline; text-decoration-color: rgba(15,81,50,.35); text-underline-offset: 3px; }
.contact-info-item a:hover, .footer-contact-list a:hover { text-decoration-color: currentColor; }
.news-modern-card:nth-child(2n), .program-page-card:nth-child(2n), .gallery-publication-card:nth-child(2n) { border-radius: 8px 28px 8px 28px; }
@media (max-width: 760px) { .news-article { border-radius: 22px 8px 22px 8px; } .news-article > .social-share { margin-inline: 18px; padding: 18px; } }
.achievement-detail-hero { padding: 70px 0; color: #fff; background: radial-gradient(circle at 10% 10%,rgba(212,175,55,.2),transparent 30%),var(--primary-dark); }
.achievement-detail-grid { display: grid; grid-template-columns: 1fr 430px; gap: 62px; align-items: center; }
.achievement-detail-grid h1 { margin: 12px 0 18px; color: #fff; font-family: 'El Messiri',Inter,sans-serif; font-size: clamp(2.7rem,5vw,4.8rem); line-height: 1; }
.achievement-detail-grid p { color: rgba(255,255,255,.76); }
.achievement-detail-image { position: relative; padding: 0; overflow: hidden; border: 0; border-radius: 24px; background: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.3); cursor: zoom-in; }
.achievement-detail-image img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.achievement-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.achievement-facts span { display: grid; gap: 2px; min-width: 120px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; }
.achievement-facts small { color: rgba(255,255,255,.54); }
.achievement-story-grid { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 56px; align-items: start; }
.achievement-story-grid article > p { margin: 16px 0; color: var(--muted); }
.achievement-story-grid aside { padding: 28px; border-radius: 20px; background: var(--primary-light); }
.achievement-story-grid aside ul { display: grid; gap: 10px; margin: 18px 0 24px; padding-left: 20px; color: var(--muted); }

/* SPMB & form */
.spmb-unit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
.spmb-unit-grid .card { display: grid; grid-template-columns: minmax(220px,.8fr) 1fr; }
.spmb-unit-grid .card > img { height: 100%; aspect-ratio: auto; }
.form-control::placeholder { color: #8c9a93; opacity: .7; }
textarea.form-control::placeholder { color: #8c9a93; opacity: .7; }

/* General responsive cleanup */
@media (max-width: 1100px) {
    .gallery-publication-grid,.leadership-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .program-journey-grid,.advantage-process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .unit-showcase { gap: 34px; }
    .brochure-card-premium { grid-template-columns: 210px 1fr; }
}
@media (max-width: 900px) {
    html { scroll-padding-top: 84px; }
    .hero-slider .hero-inner { min-height: calc(100svh - 84px); padding: 70px 20px 170px; }
    .hero-content-shell { grid-template-columns: 1fr; }
    .hero-side-note { display: none; }
    .hero-slider .hero-copy { padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: rgba(3,30,19,.46); -webkit-backdrop-filter: blur(8px);backdrop-filter: blur(8px); }
    .hero-bottom { bottom: 28px; align-items: center; }
    .brochure-intro,.program-outcome-grid,.achievement-detail-grid,.achievement-story-grid,.leader-detail-grid { grid-template-columns: 1fr; }
    .leader-detail-photo { width: min(100%,430px); }
    .brochure-poster { justify-self: start; width: min(100%,480px); transform: none; }
    .advantage-result-card { grid-template-columns: 1fr; }
    .unit-showcase,.unit-showcase:nth-child(even) { grid-template-columns: 1fr; }
    .unit-showcase:nth-child(even) .unit-showcase-copy { order: 0; }
    .career-board-hero-grid { grid-template-columns: 1fr; }
    .career-hero-visual { min-height: 390px; }
    .spmb-unit-grid .card { grid-template-columns: 1fr; }
    .spmb-unit-grid .card > img { aspect-ratio: 16/9; }
}
@media (max-width: 768px) {
    .site-header { background: rgba(255,255,255,.97); box-shadow: 0 8px 24px rgba(3,30,19,.08); }
    .header-inner { min-height: 70px; padding: 8px 16px; }
    .brand-logo { width: 50px; height: 50px; }
    .main-nav { max-height: calc(100svh - 70px); overflow-y: auto; padding: 12px 14px 22px; }
    .main-nav a,.main-nav .dropdown-trigger { min-height: 48px; padding: 13px 14px; border-radius: 10px; }
    .main-nav a.active,.main-nav .dropdown-trigger.active { color: #fff; border: 0; background: var(--primary); }
    .dropdown-menu { margin-top: 4px; padding: 5px !important; border-radius: 12px; }
    .hero-slider,.hero-slider .hero-inner { min-height: calc(100svh - 70px); }
    .hero-slider::before { background: linear-gradient(0deg,rgba(2,24,15,.92),rgba(3,31,20,.4) 72%,rgba(3,24,16,.25)); }
    .hero-slider .hero-inner { align-items: flex-end; padding: 76px 16px 155px; }
    .hero-slider .hero-copy { padding: 22px; }
    .hero-slider .hero-copy h1 { font-size: clamp(2.1rem,10vw,3.15rem); line-height: 1.02; }
    .hero-slider .hero-copy p { font-size: .93rem; line-height: 1.6; }
    .hero-bottom { width: calc(100% - 32px); padding: 0; }
    .hero-trust { gap: 14px 20px; }
    .program-journey-grid,.advantage-process-grid,.program-outcome-list,.brochure-value-grid,.spmb-unit-grid { grid-template-columns: 1fr; }
    .brochure-value-wide { grid-column: auto; display: block; }
    .brochure-value-wide > span { display: block; margin-bottom: 20px; }
    .brochure-help-card,.program-detail-cta { flex-direction: column; align-items: flex-start; padding: 30px 22px; }
    .brochure-card-premium { grid-template-columns: 145px minmax(0,1fr); }
    .brochure-card-premium .brochure-cover { min-height: 330px; }
    .brochure-card-premium > div { padding: 20px; }
    .unit-showcase { padding: 48px 0; }
    .unit-collage { grid-auto-rows: 110px; gap: 7px; }
    .unit-collage-item,.unit-collage-item:nth-child(4n+4) { grid-column: span 6; }
    .unit-collage-item:first-child { grid-column: 1/-1; grid-row: span 2; }
    .career-board-hero { padding-top: 54px; }
    .career-hero-visual,.career-hero-visual > img { min-height: 360px; }
    .job-search-bar { margin-top: 0; transform: translateY(24px); }
    .achievement-detail-hero { padding: 48px 0; }
    .achievement-detail-image { width: min(100%,480px); }
    .social-share a,.social-share button { min-height: 40px; display: inline-flex; align-items: center; }
    .page-header { padding: 54px 0; }
    .page-header h1 { overflow-wrap: anywhere; }
    .form-card { padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider .hero-slide img,
    .hero-slider .hero-slide video {
        top: 0;
        height: 100%;
        transform: none;
        will-change: auto;
    }
}
@media (max-width: 520px) {
    .gallery-publication-grid,.leadership-grid,.leader-facts { grid-template-columns: 1fr; }
    .gallery-publication-media,.leadership-photo { aspect-ratio: 4/4.4; }
    .hero-slider .hero-copy .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-slider .hero-copy .btn { width: 100%; }
    .hero-trust strong { font-size: .78rem; }
    .brochure-card-premium { grid-template-columns: 1fr; }
    .brochure-card-premium .brochure-cover { min-height: 420px; }
    .program-journey-grid article,.advantage-process-grid article { min-height: 0; }
    .unit-showcase-actions { display: grid; }
    .unit-showcase-actions .btn { width: 100%; }
    .unit-collage-item > span small { display: none; }
    .career-hero-visual,.career-hero-visual > img { min-height: 320px; }
    .career-hero-card { right: 10px; bottom: 10px; left: 10px; }
    .achievement-facts { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Search panel karir tidak lagi terpotong oleh batas hero. */
.career-board-hero { overflow: visible; }
.career-board-hero > .container:last-child { position: relative; z-index: 8; }
.job-search-bar {
    min-height: 104px;
    transform: translateY(52px);
    padding: 18px 20px;
    gap: 12px;
    border-radius: 14px;
    box-shadow: 0 20px 48px rgba(3,30,19,.18);
}
.job-search-bar input,
.job-search-bar select,
.job-search-bar .btn { height: 50px; }
.job-search-bar input,
.job-search-bar select { padding: 0 14px; }
.job-board-section { padding-top: 126px; }

@media (max-width: 768px) {
    .job-search-bar { min-height: 0; transform: translateY(34px); padding: 16px; }
    .job-board-section { padding-top: 92px; }
}

/* ===== MOBILE EXPERIENCE 2026 =====
   Final responsive layer shared by every public page. */
@media (max-width: 768px) {
    :root {
        --radius: 16px;
        --shadow: 0 8px 24px rgba(15,81,50,.08);
        --shadow-lg: 0 16px 38px rgba(15,81,50,.14);
    }

    html { scroll-padding-top: 82px; }
    [id] { scroll-margin-top: 82px; }
    body { font-size: 15px; line-height: 1.62; }
    main, section, .container, .container > *, [class*="-grid"] > * { min-width: 0; }
    p, h1, h2, h3, h4, a, strong, small { overflow-wrap: break-word; }
    .container { width: 100%; padding-inline: 18px; }
    .section, .section-alt {
        padding-block: 52px;
        background-attachment: scroll;
        background-size: 112px;
    }
    .section-head { max-width: 560px; margin-bottom: 30px; }
    .section-head h2 { font-size: clamp(1.65rem,7vw,2.1rem); }
    .section-head p { font-size: .94rem; }
    .section-eyebrow, .page-kicker { font-size: .68rem; line-height: 1.35; }

    .btn, button, input, select, textarea { font-size: 16px; }
    .btn { min-height: 46px; padding: 11px 18px; text-align: center; }

    /* Compact sticky header and a full-width, touch-friendly menu. */
    .site-header { background: rgba(255,255,255,.98); box-shadow: 0 7px 22px rgba(3,30,19,.09); }
    .header-inner { min-height: 68px; padding: 7px 16px; }
    .brand { flex: 1 1 auto; min-width: 0; max-width: calc(100% - 58px); gap: 9px; }
    .brand-logo { width: 46px; height: 46px; }
    .brand-copy { min-width: 0; padding-left: 10px; line-height: 1.04; }
    .brand-copy strong {
        display: block;
        max-width: none;
        font-size: .92rem;
        line-height: 1.05;
    }
    .brand-copy small {
        display: block;
        font-size: .7rem;
        line-height: 1.08;
        white-space: nowrap;
    }
    .nav-toggle {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        padding: 8px;
        border-radius: 11px;
        background: var(--primary-light);
    }
    .nav-toggle span { width: 24px; height: 2px; }
    .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .main-nav {
        position: fixed;
        top: 68px;
        right: 10px;
        left: 10px;
        display: flex;
        max-height: calc(100svh - 80px);
        padding: 10px 12px 16px;
        overflow-y: auto;
        border: 1px solid var(--border);
        border-radius: 0 0 18px 18px;
        background: rgba(255,255,255,.99);
        box-shadow: 0 20px 50px rgba(3,30,19,.18);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }
    .main-nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
    .main-nav ul { width: 100%; gap: 3px; }
    .main-nav a, .main-nav .dropdown-trigger {
        min-height: 46px;
        padding: 11px 13px;
        border: 0;
        border-radius: 10px;
        font-size: .9rem;
    }
    .main-nav a.active, .main-nav .dropdown-trigger.active { color: #fff; background: var(--primary); }
    .main-nav .dropdown-menu { display: none; margin: 3px 0 6px; padding: 5px !important; border-radius: 10px; background: #f4f8f6; }
    .main-nav .has-dropdown.dropdown-open > .dropdown-menu { display: flex; }
    .dropdown-menu a { padding: 10px 12px !important; }
    .social-dropdown-trigger { display: none !important; }
    .social-dropdown {
        width: 100%;
        margin-top: 8px;
        padding-top: 12px;
        border-top: 1px solid var(--border);
    }
    .social-dropdown::before {
        content: 'Sosial Media';
        display: block;
        margin: 0 4px 9px;
        color: var(--primary);
        font-size: .72rem;
        font-weight: 900;
        letter-spacing: .08em;
        text-transform: uppercase;
    }
    .social-dropdown-menu {
        position: static;
        left: auto;
        right: auto;
        min-width: 0;
        width: 100%;
        margin: 4px 0 8px;
        padding: 8px !important;
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 7px !important;
        border: 0;
        border-radius: 14px;
        background: #f4f8f6;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none !important;
    }
    .social-dropdown-menu::before { display: none; }
    .social-unit-row {
        grid-template-columns: minmax(88px, 1fr) auto;
        gap: 12px;
        padding: 10px 12px;
        background: #fff;
        border: 0 !important;
        box-shadow: 0 5px 14px rgba(15,81,50,.06);
    }
    .social-unit-label { font-size: .72rem; }
    .social-unit-links {
        display: grid;
        grid-template-columns: repeat(4, 40px);
        align-items: center;
        justify-content: flex-end;
        justify-items: center;
        gap: 8px;
    }
    .social-unit-links:has(.nav-social-link:nth-child(2):last-child) .nav-social-link:first-child { grid-column: 3; }
    .social-unit-links:has(.nav-social-link:nth-child(3):last-child) .nav-social-link:first-child { grid-column: 2; }
    .social-dropdown-menu .nav-social-link {
        width: 40px;
        height: 40px;
        min-height: 40px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        border-radius: 11px;
        box-shadow: none;
    }
    .social-dropdown-menu .nav-social-link:hover { transform: none; }
    .social-dropdown-menu .nav-social-link svg { width: 17px; height: 17px; }

    /* Consistent inner-page banner hierarchy. */
    .page-header { min-height: 190px; padding-block: 38px; background-position: center; }
    .page-header::before { background: linear-gradient(90deg,rgba(3,30,19,.9),rgba(3,30,19,.55)); }
    .page-header h1 { max-width: 92%; margin-bottom: 8px; font-size: clamp(2rem,8.5vw,2.65rem); line-height: 1.08; }
    .page-header .container > p:not(.breadcrumb) { max-width: 94%; font-size: .9rem; }
    .breadcrumb { font-size: .78rem; }

    /* Cards and grids become readable instead of squeezed into columns. */
    .grid-2, .grid-3, .grid-4, .why-grid, .steps-grid,
    .quran-program-grid, .career-grid, .activity-grid,
    .album-grid, .achievement-grid, .news-modern-grid,
    .gallery-publication-grid, .leadership-grid,
    .brochure-grid, .spmb-unit-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
    .card, .why-item, .quran-program-card, .career-card,
    .news-modern-card, .gallery-album-card, .leadership-card,
    .brochure-card, .campus-card { border-radius: 18px; }
    .card-body { padding: 20px; }
    .program-card { min-height: 0; padding: 24px 20px; text-align: left; }
    .program-icon { margin-inline: 0; }
    .why-item { min-height: 0; padding: 22px; }

    /* Horizontal filters remain one clean row and can be swiped. */
    .achievement-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 9px;
        margin-inline: -18px;
        padding: 4px 18px 11px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
    }
    .achievement-tabs::-webkit-scrollbar { display: none; }
    .achievement-tab { flex: 0 0 auto; min-height: 44px; padding: 10px 17px; scroll-snap-align: start; }

    /* Homepage. */
    .hero-slider, .hero-slider .hero-inner { min-height: calc(100svh - 68px); }
    .hero-slider .hero-inner { padding: 64px 18px 132px; }
    .hero-slider .hero-copy { padding: 21px; border-radius: 18px; }
    .hero-slider .hero-copy h1 { font-size: clamp(2.1rem,10vw,3rem); }
    .hero-slider .hero-copy p { margin-bottom: 22px; font-size: .91rem; }
    .hero-bottom { bottom: 25px; width: calc(100% - 36px); }
    .hero-trust { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
    .hero-trust span { font-size: .62rem; }
    .home-pulse-section { padding-block: 50px; }
    .home-pulse-grid { gap: 42px; }
    .pulse-heading { margin-bottom: 18px; }
    .pulse-news-card { grid-template-columns: 108px minmax(0,1fr); min-height: 120px; }
    .pulse-news-card > div { padding: 15px; }
    .pulse-news-card img { min-height: 120px; }
    .pulse-achievement-card { grid-template-columns: 94px minmax(0,1fr); }
    .pulse-achievement-card img { width: 94px; }
    .about-grid { gap: 34px; }

    /* Program, advantages, brochures and profile details. */
    .program-detail-hero, .brochure-detail-hero, .advantage-hero,
    .leader-detail-hero, .achievement-detail-hero, .job-detail-hero { padding-block: 46px; }
    .program-detail-grid, .brochure-detail-grid, .advantage-hero-grid,
    .leader-detail-grid, .achievement-detail-grid { gap: 30px; }
    .program-detail-grid h1, .brochure-detail-grid h1,
    .leader-detail-copy h1, .advantage-hero h1 { font-size: clamp(2.15rem,10vw,3.1rem); line-height: 1.04; }
    .program-detail-visual, .brochure-poster, .brochure-preview,
    .leader-detail-photo, .achievement-detail-image { width: 100%; max-width: 480px; justify-self: center; border-radius: 20px; transform: none; }
    .program-detail-body, .brochure-info-grid, .program-outcome-grid,
    .advantage-detail-grid, .achievement-story-grid { gap: 34px; }
    .program-journey-grid, .advantage-process-grid { gap: 14px; }
    .program-journey-grid article, .advantage-process-grid article { padding: 22px; }
    .program-journey-grid article > span, .advantage-process-grid article > span { margin-bottom: 20px; }
    .program-outcome-list div { padding: 18px; }
    .program-detail-cta, .advantage-result-card { gap: 22px; padding: 26px 21px; border-radius: 20px; }
    .advantage-highlight { min-height: 260px; padding: 24px; border-radius: 20px; }
    .advantage-highlight span { font-size: 3.2rem; }
    .back-link { margin-bottom: 22px; }
    .brochure-intro { gap: 14px; margin-bottom: 28px; }
    .brochure-card-premium { grid-template-columns: minmax(0,1fr); }
    .brochure-card-premium .brochure-cover { min-height: 390px; }
    .brochure-card-premium > div, .brochure-value-card { padding: 22px; }
    .brochure-value-grid { gap: 16px; }
    .brochure-quick-links a { padding: 18px; }
    .leader-facts { gap: 9px; }
    .leadership-copy { padding: 18px; }

    /* News and achievements. */
    .news-unit-tabs { margin-bottom: 24px; }
    .news-featured-card { min-height: 0; border-radius: 20px; }
    .news-featured-image { min-height: 0; aspect-ratio: 16/10; }
    .news-featured-card > div:last-child { padding: 24px 21px 27px; }
    .news-featured-card h2 { font-size: clamp(1.75rem,8vw,2.35rem); }
    .news-index-head { gap: 10px; margin: 48px 0 20px; }
    .news-modern-card h3, .news-modern-card p { min-height: 0; }
    .news-modern-card > div { padding: 20px; }
    .news-article-layout { gap: 28px; }
    .news-article { border-radius: 18px; }
    .news-article-meta { flex-wrap: wrap; gap: 7px 14px; padding: 16px 18px; }
    .news-article-content { padding: 25px 20px; font-size: 1rem; line-height: 1.82; }
    .news-article-footer { padding: 20px; }
    .news-article-aside { padding: 22px; }
    .achievement-detail-image img { max-height: 520px; object-fit: cover; }

    /* Unit, location and gallery. */
    .unit-page-section { background-size: 100px 100px,auto; }
    .unit-showcase { gap: 28px; padding-block: 44px; }
    .unit-showcase-copy h2 { font-size: clamp(1.65rem,7vw,2rem); }
    .unit-collage { grid-auto-rows: 98px; }
    .location-card-grid { gap: 18px; }
    .campus-card { padding: 17px; }
    .campus-building { aspect-ratio: 16/10; }
    .campus-map iframe { height: 210px; }
    .campus-direct-contact { align-items: stretch; padding: 12px; }
    .campus-social-links a { min-height: 40px; padding: 8px 10px; }
    .album-detail-head { align-items: flex-start; flex-direction: column; gap: 18px; }
    .album-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .gallery-publication-copy p { min-height: 0; }
    .image-lightbox { padding: 14px; }
    .image-lightbox-dialog { width: 100%; }
    .image-lightbox-close { top: 8px; right: 8px; }

    /* SPMB, forms and job board. */
    .spmb-form-shell { width: 100%; }
    .page-form-spmb .form-card, .form-card { padding: 23px 18px; border-radius: 18px; }
    .spmb-form-intro { margin-bottom: 24px; padding-bottom: 21px; }
    .form-group { margin-bottom: 17px; }
    .form-control { min-height: 49px; padding: 12px 13px; }
    textarea.form-control { min-height: 120px; }
    .table-wrap { width: 100%; max-width: 100%; margin-inline: 0; padding: 0; }
    table.schedule { min-width: 620px; }
    .faq-item summary { min-height: 50px; padding: 14px 16px; }
    .career-board-hero { padding-top: 48px; }
    .career-board-hero-grid { gap: 28px; padding-bottom: 26px; }
    .career-board-hero h1 { font-size: clamp(2.4rem,11vw,3.35rem); line-height: 1.03; }
    .career-board-hero-grid > div:first-child > p { font-size: .98rem; }
    .career-hero-points { gap: 8px; margin-top: 20px; }
    .career-hero-visual, .career-hero-visual > img { min-height: 300px; }
    .career-hero-visual { border-radius: 21px 21px 0 21px; }
    .career-hero-card { padding: 19px; }
    .job-search-bar { gap: 12px; padding: 15px; border-radius: 16px; transform: translateY(26px); }
    .job-board-section { padding-top: 78px; }
    .job-sidebar { padding: 22px; }
    .job-card { gap: 14px; padding: 18px; }
    .job-logo { width: 50px; height: 50px; }
    .job-card-side { grid-column: 1/-1; }
    .job-detail-heading { gap: 15px; }
    .job-detail-heading > .btn { width: 100%; }
    .job-detail-layout, .job-apply-grid { gap: 30px; }

    .site-footer { margin-top: 0; padding-top: 32px; }
    .footer-grid { gap: 28px; }
    .site-footer .brand-logo-footer { width: 54px; height: 54px; }
    .school-social-links a { min-height: 32px; padding: 6px 9px; }
    .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
    .wa-float svg { width: 29px; height: 29px; }
}

@media (max-width: 480px) {
    .container { padding-inline: 16px; }
    .section, .section-alt { padding-block: 46px; }
    .page-header { min-height: 178px; padding-block: 34px; }
    .page-header h1 { max-width: 100%; }
    .hero-slider .hero-inner { padding-inline: 16px; }
    .hero-slider .hero-copy { padding: 19px 17px; }
    .hero-actions, .quran-actions, .advantage-actions,
    .brochure-actions, .cta-actions, .unit-showcase-actions {
        display: grid;
        grid-template-columns: minmax(0,1fr);
        width: 100%;
        gap: 10px;
    }
    .hero-actions .btn, .quran-actions .btn, .advantage-actions .btn,
    .brochure-actions .btn, .cta-actions .btn, .unit-showcase-actions .btn { width: 100%; }
    .achievement-tabs { margin-inline: -16px; padding-inline: 16px; }
    .stats-grid { gap: 12px; }
    .stat-item { padding: 8px; }
    .stat-item + .stat-item::before { display: none; }
    .pulse-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
    .pulse-news-card { grid-template-columns: 96px minmax(0,1fr); }
    .pulse-news-card > div { padding: 13px; }
    .pulse-news-card h3 { font-size: .9rem; }
    .pulse-achievement-card { grid-template-columns: 86px minmax(0,1fr); }
    .pulse-achievement-card img { width: 86px; }
    .program-detail-grid h1, .brochure-detail-grid h1,
    .leader-detail-copy h1, .advantage-hero h1 { font-size: clamp(2rem,10vw,2.65rem); }
    .brochure-card-premium .brochure-cover { min-height: 360px; }
    .leader-facts { grid-template-columns: minmax(0,1fr); }
    .news-featured-image { aspect-ratio: 4/3; }
    .news-featured-image span { top: 14px; left: 14px; }
    .news-article-cover { aspect-ratio: 4/3; }
    .album-photo-grid { gap: 8px; }
    .album-photo-item span { right: 8px; bottom: 8px; left: 8px; }
    .unit-collage { grid-auto-rows: 88px; }
    .campus-card-head { padding-right: 34px; }
    .campus-social-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
    .campus-social-links a { justify-content: center; padding-inline: 6px; }
    .job-card { grid-template-columns: 44px minmax(0,1fr); }
    .job-logo { width: 44px; height: 44px; border-radius: 11px; }
    .job-meta { gap: 6px; }
    .job-meta span { font-size: .68rem; }
    .job-detail-heading { grid-template-columns: minmax(0,1fr); }
    .job-detail-heading .job-logo { width: 56px; height: 56px; }
    .job-detail-heading > .btn { grid-column: auto; }
    .job-detail-list.benefit { grid-template-columns: minmax(0,1fr); }
    .form-actions { align-items: stretch; flex-direction: column-reverse; }
    .form-actions .btn, .form-actions .portal-action { width: 100%; }
    .social-unit-row { grid-template-columns: minmax(76px, 1fr) auto; padding-inline: 10px; }
    .social-unit-links { grid-template-columns: repeat(4, 38px); justify-content: flex-end; justify-items: center; gap: 7px; }
    .social-dropdown-menu .nav-social-link { width: 38px; height: 38px; min-height: 38px; }

    /* Footer: single left-aligned column with a divider between each section
       (brand / menu / unit sekolah / kontak) — kept short since the unit list
       and per-page links are already trimmed down in footer.php. */
    .site-footer { padding-top: 34px; }
    .site-footer::before { background-position: 56% center; opacity: .13; }
    .footer-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 22px; padding-bottom: 26px; text-align: left; }
    .footer-col { min-width: 0; padding-block: 20px; }
    .footer-col:first-child { padding-top: 0; }
    .footer-brand,
    .footer-col:last-child { grid-column: 1 / -1; }
    .footer-col:nth-child(2),
    .footer-col:nth-child(3),
    .footer-col:last-child { border-top: 1px solid rgba(255,255,255,.12); }
    .footer-col:nth-child(3) { padding-left: 4px; border-left: 1px solid rgba(255,255,255,.08); }
    .site-footer .footer-col h3, .site-footer .footer-col h4 { margin-bottom: 10px; font-size: .82rem; }
    .site-footer .footer-col ul li { margin-bottom: 7px; }
    .site-footer .footer-col ul li a { font-size: .82rem; }
    .site-footer .brand { justify-content: flex-start; }
    .site-footer .brand-copy { text-align: left; }
    /* The full tagline sentence repeats what the small brand subtitle already says — drop it here to save space. */
    .site-footer .footer-brand > p { display: none; }
    .school-socials { max-width: 100%; margin-top: 17px; padding: 14px; }
    .school-social-row { display: grid; grid-template-columns: 28px minmax(0,1fr); align-items: center; gap: 8px; }
    .footer-contact-list { max-width: 100%; }
    .footer-contact-list li { grid-template-columns: 22px minmax(0,1fr); gap: 10px; }
    .footer-contact-list span { overflow-wrap: anywhere; }
    .footer-bottom .container { padding-right: 74px; text-align: left; }
    .footer-bottom p { font-size: .72rem; line-height: 1.5; }
}

/* Balanced heading wrap is a pure visual nicety — guarded so it only
   applies on browsers that understand it, instead of a bare declaration. */
@supports (text-wrap: balance) {
    .hero-slider .hero-copy h1 { text-wrap: balance; }
    @media (max-width: 768px) {
        .section-head h2 { text-wrap: balance; }
        .page-header h1 { text-wrap: balance; }
    }
}

/* Official YouTube feed */
@supports (content-visibility: auto) {
    body:not(.page-index) .section,
    .page-index .section:not(:first-of-type) { content-visibility: auto; contain-intrinsic-size: auto 820px; }
}
.youtube-gallery-section { overflow: hidden; }
.youtube-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.youtube-gallery-card { min-width: 0; overflow: hidden; border: 1px solid rgba(15,81,50,.14); border-radius: 22px; background: #fff; box-shadow: 0 18px 42px rgba(3,30,19,.12); transition: transform .25s ease, box-shadow .25s ease; }
.youtube-gallery-card:hover { transform: translateY(-6px); box-shadow: 0 28px 56px rgba(3,30,19,.17); }
.youtube-gallery-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background-color: #111; background-position: center; background-size: cover; }
.youtube-gallery-frame::after { position: absolute; z-index: 0; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.36)); content: ""; pointer-events: none; }
.youtube-gallery-frame iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; }

.youtube-gallery-play { position: absolute; z-index: 3; top: 50%; left: 50%; display: grid; width: 62px; height: 62px; padding: 0; border: 0; border-radius: 50%; place-items: center; background: #e62117; box-shadow: 0 12px 32px rgba(0,0,0,.34); cursor: pointer; transform: translate(-50%,-50%); transition: transform .2s ease,background .2s ease; }
.youtube-gallery-play:hover { background: #c91810; transform: translate(-50%,-50%) scale(1.08); }
.youtube-gallery-play span { width: 0; height: 0; margin-left: 5px; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 16px solid #fff; }
.youtube-gallery-card.is-playing .youtube-gallery-play { display: none; }
.youtube-gallery-frame > span { position: absolute; z-index: 2; top: 13px; left: 13px; padding: 6px 10px; border-radius: 999px; background: #e62117; color: #fff; font-size: .66rem; font-weight: 900; letter-spacing: .06em; pointer-events: none; }
.youtube-gallery-card footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 19px 19px; }
.youtube-gallery-card footer strong { min-width: 0; overflow: hidden; color: var(--text); font-size: .94rem; text-overflow: ellipsis; white-space: nowrap; }
.youtube-gallery-card footer a { flex: 0 0 auto; color: var(--primary-dark); font-size: .78rem; font-weight: 850; }
.activity-page-grid .activity-card { scroll-margin-top: 120px; }
.activity-detail-header { padding-bottom: 54px; }
.activity-detail-header h1 { max-width: 820px; margin-inline: auto; }
.activity-article-section { background: linear-gradient(180deg,#f4f8f6,#fff); }
.activity-article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 52px; align-items: start; }
.activity-article { overflow: hidden; border: 1px solid var(--border); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.activity-article-cover { display: block; width: 100%; max-height: 620px; aspect-ratio: 16 / 10; object-fit: cover; }
.activity-article-content { padding: 38px clamp(24px,5vw,62px) 46px; color: #36463e; font-family: Georgia,'Times New Roman',serif; font-size: 1.07rem; line-height: 1.92; }
.activity-article-content p { margin: 0 0 1.35em; }
.activity-article-content p:last-child { margin-bottom: 0; }
.activity-article-lead { color: var(--text); font-size: 1.22rem; font-weight: 700; line-height: 1.7; }
.activity-article-aside { position: sticky; top: 120px; padding: 28px; border-top: 4px solid var(--secondary); border-radius: 0 0 18px 18px; background: #fff; box-shadow: var(--shadow); }
.activity-article-aside h2 { margin: 8px 0 22px; font-size: 1.35rem; }
.activity-article-aside dl { display: grid; gap: 15px; margin: 0 0 24px; }
.activity-article-aside dl div { padding-bottom: 13px; border-bottom: 1px solid var(--border); }
.activity-article-aside dt { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.activity-article-aside dd { margin: 4px 0 0; color: var(--text); font-weight: 750; }
.activity-documentation-section .section-head p { max-width: 650px; margin: 10px auto 0; color: var(--muted); }
.activity-documentation-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.activity-documentation-grid figure { overflow: hidden; margin: 0; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: 0 14px 34px rgba(12,66,41,.09); }
.activity-documentation-grid figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.activity-documentation-grid figure:hover img { transform: scale(1.035); }
.activity-documentation-grid figcaption { display: grid; gap: 4px; padding: 15px 17px 18px; }
.activity-documentation-grid figcaption strong { color: var(--text); font-size: .9rem; }
.activity-documentation-grid figcaption span { color: var(--muted); font-size: .78rem; line-height: 1.55; }
.activity-documentation-empty { grid-column: 1 / -1; padding: 30px; border: 1px dashed rgba(12,66,41,.28); border-radius: 18px; background: rgba(255,255,255,.76); text-align: center; }
.activity-documentation-empty strong { color: var(--text); }
.activity-documentation-empty p { max-width: 620px; margin: 7px auto 0; color: var(--muted); }
@media (max-width: 720px) {
    .youtube-gallery-grid { grid-template-columns: 1fr; }
    .youtube-gallery-card footer { align-items: flex-start; flex-direction: column; gap: 9px; }
    .activity-article-layout { grid-template-columns: 1fr; gap: 26px; }
    .activity-article-aside { position: static; }
    .activity-documentation-grid { grid-template-columns: 1fr; }
    .activity-article { border-radius: 18px; }
    .activity-article-cover { aspect-ratio: 4 / 3; }
    .activity-article-content { padding: 25px 20px 30px; font-size: 1rem; line-height: 1.82; }
    .activity-article-lead { font-size: 1.08rem; }
}

/* Foundation homepage mobile onboarding without a floating content card. */
@media (max-width: 640px) {
    .hero-slider::before {
        background:
            linear-gradient(0deg, rgba(2,24,15,.97) 0%, rgba(3,31,20,.84) 43%, rgba(3,31,20,.2) 78%, rgba(3,24,16,.06) 100%),
            linear-gradient(90deg, rgba(2,24,15,.18), transparent 70%);
    }
    .hero-slider .hero-inner {
        align-items: flex-end;
        padding: clamp(180px, 29vh, 250px) 16px 142px;
    }
    .hero-slider .hero-copy {
        position: relative;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    .hero-slider .hero-eyebrow {
        display: inline-flex;
        align-items: center;
        min-height: 29px;
        padding: 7px 12px;
        border: 1px solid rgba(255,225,119,.32);
        border-radius: 999px;
        color: #163f2d;
        background: linear-gradient(135deg, #f4ce4e, #d9ad28);
        box-shadow: 0 8px 22px rgba(0,0,0,.18);
        font-size: .61rem;
        font-weight: 900;
        letter-spacing: .065em;
        line-height: 1;
    }
    .hero-slider .hero-copy h1 {
        max-width: 370px;
        margin: 17px 0 15px;
        font-size: clamp(2.3rem, 10.7vw, 3.1rem);
        line-height: 1;
        letter-spacing: -.025em;
        text-shadow: 0 4px 22px rgba(0,0,0,.4);
    }
    .hero-slider .hero-copy p {
        max-width: 370px;
        margin: 0 0 24px;
        padding-left: 13px;
        border-left: 2px solid rgba(239,193,52,.85);
        color: rgba(255,255,255,.88);
        font-size: .9rem;
        line-height: 1.62;
        text-shadow: 0 2px 12px rgba(0,0,0,.32);
    }
    .hero-slider .hero-copy .hero-actions { gap: 10px; }
    .hero-slider .hero-copy .btn {
        min-height: 49px;
        border-radius: 12px;
        font-size: .84rem;
        letter-spacing: .005em;
    }
    .hero-slider .hero-copy .btn-gold {
        justify-content: space-between;
        padding-inline: 19px;
        box-shadow: 0 12px 28px rgba(0,0,0,.24);
    }
    .hero-slider .hero-copy .btn-gold::after {
        margin-left: 12px;
        content: '\2192';
        font-size: 1.12rem;
        line-height: 1;
    }
    .hero-slider .hero-copy .btn-outline-light {
        border-color: rgba(255,255,255,.52);
        background: rgba(255,255,255,.055);
        box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
    }
}
.ig-embed-card { overflow: hidden; background: #fff; border: 1px solid #e8e1d5; border-radius: 20px; box-shadow: 0 12px 30px rgba(44,36,24,.08); }
.ig-embed-card[hidden] { display: none; }
.ig-embed-heading, .ig-embed-footer { padding: 15px 18px; }
.ig-embed-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.ig-embed-heading span { font-size: .8rem; color: #81776a; }
.ig-embed-card iframe { display: block; width: 100%; height: 520px; border: 0; background: #faf8f3; }
.ig-embed-footer p { margin: 0 0 8px; line-height: 1.5; }
.ig-embed-footer a { color: #a65300; font-weight: 700; }
