/* ===========================
   CMS SEKOLAH — FRONTEND CSS
   Premium School Website
   =========================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
    --primary: #059669;
    --primary-dark: #047857;
    --primary-light: #34d399;
    --primary-50: #ecfdf5;
    --primary-100: #d1fae5;
    --gradient-brand: linear-gradient(180deg, #34d399 0%, #059669 100%);
    --accent: #0ea5e9;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --dark-3: #334155;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --bg: #ffffff;
    --bg-2: #f8fafc;
    --bg-3: #f1f5f9;
    --radius: .75rem;
    --radius-lg: 1.25rem;
    --shadow: 0 4px 24px rgba(15,23,42,.08);
    --shadow-lg: 0 12px 48px rgba(15,23,42,.15);
    --nav-height: 70px;
    --ticker-h: 0px; /* set by body.has-ticker — tinggi bar pengumuman */
    --layout-max: 1320px;
    --layout-pad: 1.15rem;
    --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* Bar pengumuman aktif: geser navbar + progress (fixed) agar tidak menindih ticker */
body.has-ticker {
    --ticker-h: 3.125rem; /* 50px — sejajar dengan .announce-bar min-height */
}
body.has-ticker .site-nav {
    top: var(--ticker-h);
}
body.has-ticker #scroll-progress {
    top: var(--ticker-h);
}
/* Setelah bar pengumuman ter-scroll keluar: navbar + progress menempel ke atas viewport */
body.has-ticker.ticker-passed .site-nav {
    top: 0;
}
body.has-ticker.ticker-passed #scroll-progress {
    top: 0;
}

/* --- Reset & Base --- */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
    font-family:'Poppins',sans-serif;
    color:var(--text);
    background:var(--bg);
    line-height:1.65;
    font-size:15px;
    overflow-x:hidden;
}
img { max-width:100%; height:auto; display:block; }
a { color:inherit; text-decoration:none; }
ul,ol { list-style:none; }
h1,h2,h3,h4,h5,h6 { line-height:1.25; font-weight:700; }
button { cursor:pointer; font-family:inherit; border:none; background:none; }

/* --- Scroll Progress Bar --- */
#scroll-progress { position:fixed; top:0; left:0; width:0; height:3px; background:linear-gradient(90deg,var(--primary),var(--primary-light)); z-index:9999; transition:width .1s; }

/* ============ NAVBAR ============ */
.site-nav {
    position:fixed;
    top:0; left:0; right:0;
    z-index:1000;
    width:100%;
    min-height:var(--nav-height);
    height:var(--nav-height);
    transition:background var(--transition), box-shadow var(--transition);
    background:transparent;
    /* padding disamakan saat scroll — hindari "melorot" / lompatan vertikal */
    padding:0;
    transform:translate3d(0,0,0);
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
}
.site-nav.scrolled {
    background:#fff;
    box-shadow:0 2px 20px rgba(15,23,42,.1);
    border-bottom:1px solid var(--primary-100);
}
.site-nav.scrolled .nav-logo-text,
.site-nav.scrolled .nav-link-item:not(.nav-active) { color:var(--text); }
.site-nav.scrolled .nav-brand-sub { color:var(--text-light); }
.site-nav.scrolled .nav-link-item:not(.nav-active):hover { background:var(--bg-3); color:var(--primary); }

.nav-container { max-width:var(--layout-max); margin:0 auto; padding:0 var(--layout-pad); height:100%; display:flex; align-items:center; gap:.75rem; }
.nav-brand { display:flex; align-items:center; gap:.65rem; flex-shrink:0; min-width:0; max-width:min(280px, 32vw); }
.nav-logo { height:42px; width:auto; border-radius:.375rem; object-fit:contain; }
.nav-logo-placeholder {
    width:42px; height:42px; border-radius:.5rem;
    background:var(--primary);
    display:flex; align-items:center; justify-content:center;
    color:#fff; font-weight:800; font-size:1.25rem;
    flex-shrink:0;
}
.nav-logo-text {
    color:var(--text);
    font-weight:700;
    font-size:.95rem;
    line-height:1.2;
    letter-spacing:.03em;
    text-transform:uppercase;
    transition:color var(--transition);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.nav-brand-sub { display:none; }

.nav-links { display:flex; align-items:center; gap:.1rem; margin-left:auto; flex:1; justify-content:flex-end; min-width:0; flex-wrap:nowrap; }
.nav-link-item {
    color:var(--text);
    font-weight:500;
    font-size:.9rem;
    padding:.48rem .8rem;
    border-radius:.45rem;
    transition:all var(--transition);
    white-space:nowrap;
}
.nav-link-item:hover { color:var(--primary); background:var(--bg-3); }
/* Active nav item — green pill */
.nav-link-item.nav-active {
    color:#fff !important;
    background:var(--primary);
    font-weight:700;
    box-shadow:0 2px 10px rgba(5,150,105,.35);
}
.nav-link-item.nav-active:hover { background:var(--primary-dark) !important; color:#fff !important; }
.site-nav.scrolled .nav-link-item.nav-active {
    color:#fff !important;
    background:var(--primary);
}
.nav-mobile-link.nav-active { color:#fff !important; background:var(--primary); border-radius:.5rem; font-weight:700; }
.nav-cta-group { display:flex; align-items:center; gap:.5rem; margin-left:.5rem; }
.btn-nav-login {
    color:#fff; border:1.5px solid rgba(255,255,255,.6);
    padding:.4rem 1rem; border-radius:2rem;
    font-size:.82rem; font-weight:500;
    transition:all var(--transition);
}
.site-nav.scrolled .btn-nav-login { color:var(--primary); border-color:var(--primary); }
.btn-nav-login:hover { background:rgba(255,255,255,.15); }
.site-nav.scrolled .btn-nav-login:hover { background:var(--primary-50); }
.btn-nav-daftar {
    background:var(--primary); color:#fff;
    padding:.4rem 1.1rem; border-radius:2rem;
    font-size:.82rem; font-weight:600;
    box-shadow:0 2px 8px rgba(5,150,105,.35);
    transition:all var(--transition);
}
.btn-nav-daftar:hover { background:var(--primary-dark); transform:translateY(-1px); box-shadow:0 4px 16px rgba(5,150,105,.4); }

/* Mobile hamburger */
.nav-hamburger {
    display:none; flex-direction:column; gap:5px;
    width:40px; height:40px; padding:8px;
    border-radius:.5rem; margin-left:auto;
    cursor:pointer; transition:background var(--transition), border-color var(--transition);
    border:1px solid var(--border);
    background:var(--bg-3);
    flex-shrink:0;
    position:relative;
    z-index:2;
}
.nav-hamburger span { display:block; height:2px; background:var(--primary-dark); border-radius:2px; transition:all var(--transition); }
.site-nav.scrolled .nav-hamburger span { background:var(--primary-dark); }
.nav-hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity:0; }
.nav-hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer (z-index di atas .site-nav:1000 agar tidak menumpuk / double close) */
.nav-mobile-overlay { display:none; position:fixed; inset:0; background:rgba(15,23,42,.5); z-index:1100; }
.nav-mobile-overlay.open { display:block; }
.nav-mobile-drawer {
    position:fixed; top:0; right:-320px; width:300px; height:100vh;
    background:#fff; z-index:1110; padding:1rem 1.25rem 1.5rem;
    box-shadow:-4px 0 32px rgba(0,0,0,.15);
    transition:right var(--transition);
    display:flex; flex-direction:column; gap:.75rem;
    overflow-y:auto;
}
.nav-mobile-drawer.open { right:0; }
.nav-mobile-drawer-top {
    display:flex;
    justify-content:flex-end;
    align-items:center;
    flex-shrink:0;
    min-height:40px;
}
.nav-mobile-close {
    width:40px; height:40px; border-radius:.5rem; background:var(--bg-3);
    display:flex; align-items:center; justify-content:center; color:var(--text); font-size:1.15rem;
    flex-shrink:0;
}
.nav-mobile-links { display:flex; flex-direction:column; gap:.25rem; }
.nav-mobile-link { padding:.75rem 1rem; border-radius:.5rem; font-weight:500; color:var(--text); transition:background var(--transition); }
.nav-mobile-link:hover { background:var(--bg-3); color:var(--primary); }
.nav-mobile-btns { display:flex; flex-direction:column; gap:.5rem; margin-top:auto; }
.nav-mobile-btns .btn-nav-daftar, .nav-mobile-btns .btn-nav-login { text-align:center; display:block; padding:.65rem; border-radius:2rem; }
.nav-mobile-btns .btn-nav-login { color:var(--primary); border-color:var(--primary); }
.nav-mobile-btns .btn-nav-login:hover { background:var(--primary-50); }

/* ============ LANGUAGE SWITCHER (browser translate) ============ */
.nav-lang {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-left: .35rem;
    flex-shrink: 0;
}
.nav-lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid transparent;
    overflow: hidden;
    padding: 0;
    background: #fff;
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.nav-lang-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, .12);
}
.nav-lang-btn.is-active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, .15);
}
.nav-lang-flag {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Google Translate — widget tersembunyi; sembunyikan bar "Diterjemahkan ke..." */
.gt-hidden,
#google_translate_element {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
body > .skiptranslate,
body > .skiptranslate > iframe,
.skiptranslate.goog-te-banner-frame,
.goog-te-gadget-icon,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-menu-frame,
.skiptranslate.goog-te-spinner-pos,
#goog-gt-,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
html.translated-ltr,
html.translated-rtl,
body,
body.translated-ltr,
body.translated-rtl {
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: static !important;
}
.goog-te-gadget {
    font-size: 0 !important;
    color: transparent !important;
}

/* ============ HERO BANNER — FULL WIDTH ============ */
.hero-section--fullwidth {
    position: relative;
    margin-top: calc(var(--nav-height) + var(--ticker-h));
    overflow: hidden;
    background: #0f172a;
}
.hero-section--fullwidth .hero-slides {
    position: relative;
    min-height: clamp(600px, 88vh, 960px);
}
.hero-section--fullwidth .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s ease;
    pointer-events: none;
}
.hero-section--fullwidth .hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}
.hero-section--fullwidth .hero-media {
    position: absolute;
    inset: 0;
}
.hero-section--fullwidth .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-section--fullwidth .hero-media-fallback {
    width: 100%;
    height: 100%;
    background: var(--gradient-brand);
}
.hero-section--fullwidth .hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .2) 42%, transparent 68%);
    z-index: 1;
}
.hero-section--fullwidth .hero-caption {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 2rem 6%;
    max-width: 1280px;
    margin: 0 auto;
    left: 0;
    right: 0;
}
.hero-section--fullwidth .hero-caption-box {
    max-width: 640px;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
}
.hero-section--fullwidth .hero-title {
    color: #fff;
    font-size: clamp(1.85rem, 3.8vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.025em;
    text-transform: none;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
}
.hero-section--fullwidth .hero-title-link {
    color: inherit;
    text-decoration: none;
}
.hero-section--fullwidth .hero-line {
    width: 40px;
    height: 3px;
    background: var(--primary-light);
    margin: .85rem 0 1rem;
    border-radius: 2px;
}
.hero-section--fullwidth .hero-subtitle {
    color: rgba(255, 255, 255, .92);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 520px;
    font-weight: 400;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .3);
}
.hero-section--fullwidth .hero-edge-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, .75);
    font-size: 1.35rem;
    cursor: pointer;
    transition: color var(--transition), transform var(--transition);
}
.hero-section--fullwidth .hero-edge-nav:hover {
    color: #fff;
    transform: translateY(-50%) scale(1.06);
}
.hero-section--fullwidth .hero-prev { left: 1.25rem; }
.hero-section--fullwidth .hero-next { right: 1.25rem; }
.hero-section--fullwidth .hero-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
}
.hero-section--fullwidth .hero-progress {
    height: 3px;
    background: rgba(255, 255, 255, .2);
}
.hero-section--fullwidth .hero-progress-fill {
    height: 100%;
    background: var(--gradient-brand);
    width: 0%;
}
.hero-section--fullwidth .hero-dots-wrap {
    display: flex;
    justify-content: center;
    padding: 1rem 0 1.35rem;
}
.hero-section--fullwidth .hero-dots {
    display: flex;
    align-items: center;
    gap: .55rem;
}
.hero-section--fullwidth .hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: all .35s ease;
}
.hero-section--fullwidth .hero-dot.active {
    background: #fff;
    width: 26px;
    border-radius: 5px;
}
.hero-section--fullwidth:has(.hero-slide:only-child) .hero-edge-nav {
    display: none;
}
@media (max-width: 768px) {
    .hero-section--fullwidth .hero-slides {
        min-height: clamp(480px, 72vh, 720px);
    }
    .hero-section--fullwidth .hero-caption {
        padding: 1.5rem 1.25rem;
        align-items: center;
    }
    .hero-section--fullwidth .hero-title {
        font-size: 1.5rem;
    }
    .hero-section--fullwidth .hero-prev { left: .35rem; }
    .hero-section--fullwidth .hero-next { right: .35rem; }
}

/* ============ ABOUT SECTION ============ */
.about-section {
    background: #fff;
}
.about-section--fullwidth {
    width: 100%;
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
}
.about-section--fullwidth .about-inner {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 4rem);
    text-align: center;
}
.about-section--fullwidth .section-title {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.about-excerpt {
    color: var(--text-light);
    font-size: clamp(1rem, 1.15vw, 1.125rem);
    line-height: 1.85;
    margin: 1rem auto 1.75rem;
    max-width: min(960px, 100%);
}
.about-cta { display: inline-flex; }
.btn-hero-primary {
    background: var(--gradient-brand);
    color: #fff;
    padding: .75rem 1.85rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: .9rem;
    box-shadow: 0 8px 24px rgba(5, 150, 105, .22);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    border: none;
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(5, 150, 105, .32);
    color: #fff;
}
.gallery-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 2.5rem 1rem;
    background: var(--bg-2);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border);
}
/* Legacy elegant hero — hidden */
.hero-section--elegant {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3.5rem;
}
.hero-section--elegant .hero-slides {
    position: relative;
    min-height: 420px;
}
.hero-section--elegant .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .85s ease, visibility .85s ease;
    pointer-events: none;
}
.hero-section--elegant .hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}
.hero-section--elegant .hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
    min-height: 420px;
    padding: 2.5rem 0 3.25rem;
}
/* Visual (left) */
.hero-section--elegant .hero-visual {
    position: relative;
    min-height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #eef2f6;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
}
.hero-section--elegant .hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}
.hero-section--elegant .hero-visual--brand {
    background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 45%, #f8fafc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-section--elegant .hero-visual-accent {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--gradient-brand);
    opacity: .18;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.hero-section--elegant .hero-visual-icon {
    position: relative;
    z-index: 1;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    box-shadow: 0 12px 32px rgba(5, 150, 105, .28);
}
/* Copy (right) */
.hero-section--elegant .hero-copy {
    padding: .5rem 0 .5rem 1rem;
}
.hero-section--elegant .hero-eyebrow {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(12px);
    transition: all .65s .15s ease;
}
.hero-section--elegant .hero-slide.active .hero-eyebrow {
    opacity: 1;
    transform: translateY(0);
}
.hero-section--elegant .hero-title {
    color: var(--dark);
    font-size: clamp(1.75rem, 3.2vw, 2.65rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.02em;
    max-width: 520px;
    opacity: 0;
    transform: translateY(20px);
    transition: all .75s .28s ease;
}
.hero-section--elegant .hero-slide.active .hero-title {
    opacity: 1;
    transform: translateY(0);
}
.hero-section--elegant .hero-title-link {
    color: inherit;
    text-decoration: none;
    transition: color .15s ease;
}
.hero-section--elegant .hero-title-link:hover {
    color: var(--primary);
}
@media (min-width: 769px) {
    .hero-section--elegant .hero-title-link {
        pointer-events: none;
        cursor: default;
    }
    .hero-section--elegant .hero-title-link:hover {
        color: inherit;
    }
}
.hero-section--elegant .hero-line {
    width: 48px;
    height: 3px;
    background: var(--gradient-brand);
    border-radius: 2px;
    margin: 1.1rem 0 1.25rem;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: all .55s .42s ease;
}
.hero-section--elegant .hero-slide.active .hero-line {
    opacity: 1;
    transform: scaleX(1);
}
.hero-section--elegant .hero-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 1.75rem;
    opacity: 0;
    transform: translateY(16px);
    transition: all .65s .52s ease;
}
.hero-section--elegant .hero-slide.active .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
}
.hero-section--elegant .hero-actions {
    opacity: 0;
    transform: translateY(14px);
    transition: all .6s .62s ease;
}
.hero-section--elegant .hero-slide.active .hero-actions {
    opacity: 1;
    transform: translateY(0);
}
.hero-section--elegant .btn-hero-primary {
    background: var(--gradient-brand);
    color: #fff;
    padding: .75rem 1.85rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: .9rem;
    box-shadow: 0 8px 24px rgba(5, 150, 105, .22);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}
.hero-section--elegant .btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(5, 150, 105, .32);
}
/* Side navigation */
.hero-section--elegant .hero-edge-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 12;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .08);
    transition: all var(--transition);
}
.hero-section--elegant .hero-edge-nav:hover {
    color: var(--primary);
    border-color: var(--primary-100);
    box-shadow: 0 6px 20px rgba(5, 150, 105, .15);
}
.hero-section--elegant .hero-prev { left: .5rem; }
.hero-section--elegant .hero-next { right: .5rem; }
/* Footer bar */
.hero-section--elegant .hero-bottom {
    position: relative;
    z-index: 10;
    background: #fff;
    border-top: 1px solid var(--border);
}
.hero-section--elegant .hero-progress {
    height: 2px;
    background: var(--primary-100);
}
.hero-section--elegant .hero-progress-fill {
    height: 100%;
    background: var(--gradient-brand);
    width: 0%;
}
.hero-section--elegant .hero-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: .85rem 1.5rem;
    background: #fff;
}
.hero-section--elegant .hero-counter-cur {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.hero-section--elegant .hero-counter-sep,
.hero-section--elegant .hero-counter-total {
    color: var(--text-muted);
    font-size: .8rem;
    font-weight: 500;
}
.hero-section--elegant .hero-dots {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex: 1;
    justify-content: center;
}
.hero-section--elegant .hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all .35s ease;
}
.hero-section--elegant .hero-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}
.hero-section--elegant .hero-dot:hover:not(.active) {
    background: var(--primary-light);
}
/* Hide arrows when only one slide */
.hero-section--elegant:has(.hero-slide:only-child) .hero-edge-nav {
    display: none;
}
@media (max-width: 900px) {
    .hero-section--elegant .hero-panel {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        min-height: auto;
        padding: 2rem 0 2.5rem;
    }
    .hero-section--elegant .hero-visual {
        min-height: 240px;
        order: -1;
    }
    .hero-section--elegant .hero-visual img {
        min-height: 240px;
    }
    .hero-section--elegant .hero-copy {
        padding-left: 0;
        text-align: center;
    }
    .hero-section--elegant .hero-line {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-section--elegant .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-section--elegant .hero-actions {
        justify-content: center;
    }
}
@media (max-width: 640px) {
    .hero-section--elegant .hero-wrap {
        padding: 0 2.75rem;
    }
    .hero-section--elegant .hero-edge-nav {
        width: 38px;
        height: 38px;
        font-size: .8rem;
    }
    .hero-section--elegant .hero-prev { left: .25rem; }
    .hero-section--elegant .hero-next { right: .25rem; }
    .hero-section--elegant .hero-nav-bar {
        padding: .75rem 1rem;
    }
}
.hero-section--elegant { display: none; }

@media (max-width: 1180px) {
    .nav-link-item { font-size: .84rem; padding: .42rem .6rem; }
    .nav-logo-text { font-size: .88rem; max-width: 220px; }
}
@media (max-width: 768px) {
    .nav-lang-desktop { display: none !important; }
}

/* ============ SUBMENU ============ */
.nav-item-wrap { position:relative; }
/* Bridge the gap between nav link and dropdown so hover is not lost mid-travel */
.nav-item-wrap::after { content:''; position:absolute; top:100%; left:-12px; right:-12px; height:14px; }
.nav-item-wrap:hover .nav-dropdown { opacity:1; visibility:visible; transform:translateY(0); pointer-events:all; }
.nav-dropdown {
    position:absolute; top:calc(100% + 8px); left:0;
    background:#fff; border-radius:.75rem;
    box-shadow:0 8px 32px rgba(15,23,42,.15);
    min-width:200px; padding:.4rem;
    opacity:0; visibility:hidden; transform:translateY(-8px);
    transition:all .2s ease; pointer-events:none; z-index:100;
    border:1px solid var(--border);
}
.nav-dropdown-item {
    display:flex; align-items:center; justify-content:space-between;
    padding:.55rem .9rem; border-radius:.5rem;
    color:var(--text); font-size:.85rem; font-weight:500;
    transition:all .15s; position:relative;
}
.nav-dropdown-item:hover { background:var(--primary-50); color:var(--primary); }
.nav-dropdown-item.nav-active {
    background:var(--primary) !important;
    color:#fff !important;
}
.nav-dropdown-item.nav-active:hover { background:var(--primary-dark) !important; color:#fff !important; }
.nav-dropdown-item.nav-active .sub-arrow { color:rgba(255,255,255,.85) !important; }
.nav-dropdown-item--current-branch { background:var(--primary-50); }
.nav-dropdown-item-link {
    flex:1;
    min-width:0;
    color:inherit;
    text-decoration:none;
    align-self:center;
}
.nav-dropdown-item.nav-active > .nav-dropdown-item-link { color:#fff !important; }
.nav-dropdown-item .sub-arrow { font-size:.65rem; color:var(--text-muted); transition:transform .15s; }
.nav-dropdown-item:hover .sub-arrow { transform:rotate(-90deg); }
.nav-sub-dropdown {
    position:absolute; left:100%; top:0;
    background:#fff; border-radius:.75rem;
    box-shadow:0 8px 32px rgba(15,23,42,.15);
    min-width:190px; padding:.4rem;
    opacity:0; visibility:hidden; transform:translateX(-8px);
    transition:all .2s ease; pointer-events:none; z-index:101;
    border:1px solid var(--border);
}
.nav-dropdown-item:hover .nav-sub-dropdown { opacity:1; visibility:visible; transform:translateX(0); pointer-events:all; }
.nav-sub-dropdown a { display:block; padding:.5rem .9rem; border-radius:.5rem; color:var(--text); font-size:.83rem; font-weight:500; transition:background .15s; }
.nav-sub-dropdown a:hover { background:var(--primary-50); color:var(--primary); }
.nav-sub-dropdown a.nav-active {
    background:var(--primary) !important;
    color:#fff !important;
    font-weight:600;
}
.nav-sub-dropdown a.nav-active:hover { background:var(--primary-dark) !important; color:#fff !important; }

/* Mobile submenus */
.mobile-sub-toggle { display:flex; justify-content:space-between; align-items:center; width:100%; }
.mobile-sub-toggle .sub-indicator { transition:transform .2s; color:var(--primary); font-size:.75rem; }
.mobile-sub-toggle.open .sub-indicator { transform:rotate(180deg); }
.mobile-sub-list { display:none; padding-left:1rem; margin-top:.25rem; }
.mobile-sub-list.open { display:block; }
.mobile-sub-list a { display:block; padding:.4rem .75rem; border-radius:.5rem; font-size:.83rem; color:var(--text-light); }
.mobile-sub-list a:hover { color:var(--primary); background:var(--primary-50); }
.mobile-sub-list a.nav-active {
    color:#fff !important;
    background:var(--primary);
    font-weight:700;
}
.mobile-sub-list a.nav-active:hover { background:var(--primary-dark); color:#fff !important; }
.mobile-sub-group { margin:.35rem 0 .5rem; padding-left:.35rem; border-left:2px solid var(--primary-100); }
.mobile-sub-group-label {
    display:block;
    font-size:.72rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.06em;
    color:var(--text-muted);
    padding:.35rem .75rem .25rem;
}

/* ============ SECTIONS ============ */
.section-pad { padding:5rem 0; }
.section-pad-sm { padding:3.5rem 0; }
.container { max-width:var(--layout-max); margin:0 auto; padding:0 var(--layout-pad); }
.section-label { color:var(--primary); font-size:.8rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; display:flex; align-items:center; gap:.5rem; margin-bottom:.5rem; }
.section-label::before { content:''; display:block; width:28px; height:2px; background:var(--primary); }
.section-title { font-size:clamp(1.5rem,3vw,2.25rem); color:var(--text); margin-bottom:1rem; }
.section-subtitle { color:var(--text-light); font-size:.95rem; max-width:560px; margin:0 auto 2.5rem; line-height:1.7; }
.text-center { text-align:center; }
.why-section .section-subtitle { max-width:42rem; }
.text-center .section-label { justify-content:center; }
.text-center .section-label::before { display:none; }
.text-center .section-label::after { content:''; display:block; width:28px; height:2px; background:var(--primary); }

/* ============ FEATURES / WHY SECTION ============ */
.why-section {
    background:#fff;
    position:relative;
}
/* Subtle dot-grid pattern */
.why-section::before {
    content:'';
    position:absolute; inset:0;
    background-image:radial-gradient(circle, var(--primary-100) 1.5px, transparent 1.5px);
    background-size:28px 28px;
    opacity:.55;
    pointer-events:none;
}
.features-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; position:relative; z-index:1; }
.feature-card {
    background:#fff;
    border-radius:var(--radius-lg);
    padding:2rem 1.5rem;
    text-align:center;
    border:1px solid var(--border);
    transition:all var(--transition);
    position:relative; overflow:hidden;
    box-shadow:0 2px 12px rgba(15,23,42,.05);
}
.feature-card::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg,var(--primary-50),transparent 60%); opacity:0; transition:opacity var(--transition); }
.feature-card::after { content:''; position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:0; height:3px; background:var(--primary); border-radius:2px; transition:width var(--transition); }
.feature-card:hover { transform:translateY(-7px); box-shadow:0 16px 48px rgba(5,150,105,.15); border-color:var(--primary-100); }
.feature-card:hover::before { opacity:1; }
.feature-card:hover::after { width:60%; }
.feature-icon-wrap {
    width:70px; height:70px; border-radius:1rem;
    background:linear-gradient(135deg,var(--primary),var(--primary-dark));
    display:flex; align-items:center; justify-content:center;
    margin:0 auto 1.25rem;
    font-size:1.65rem; color:#fff;
    box-shadow:0 8px 24px rgba(5,150,105,.25);
    position:relative;
    transition:transform var(--transition);
}
.feature-card:hover .feature-icon-wrap { transform:scale(1.08) rotate(-3deg); }
.feature-card h3 { font-size:1rem; font-weight:700; color:var(--text); margin-bottom:.5rem; }
.feature-card p { color:var(--text-light); font-size:.85rem; line-height:1.6; }

/* ============ NEWS GRID ============ */
.news-section { background:var(--bg-2); }
.news-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.75rem; }
.news-card {
    border-radius:var(--radius-lg);
    overflow:hidden;
    border:1px solid var(--border);
    background:#fff;
    transition:all var(--transition);
    display:flex; flex-direction:column;
}
.news-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); border-color:transparent; }
.news-card-image {
    position:relative; height:200px; overflow:hidden;
    background:linear-gradient(135deg,var(--primary-100),var(--bg-3));
}
.news-card-image img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.news-card:hover .news-card-image img { transform:scale(1.07); }
.news-card-image .news-placeholder-icon { display:flex; align-items:center; justify-content:center; height:100%; font-size:3rem; color:var(--primary); opacity:.4; }
.news-badge {
    position:absolute; top:.75rem; left:.75rem;
    background:var(--primary); color:#fff;
    font-size:.7rem; font-weight:600; padding:.2rem .65rem;
    border-radius:2rem; text-transform:uppercase; letter-spacing:.04em;
}
.news-card-body { padding:1.25rem 1.5rem 1.5rem; flex:1; display:flex; flex-direction:column; }
.news-card-date { color:var(--text-muted); font-size:.78rem; display:flex; align-items:center; gap:.35rem; margin-bottom:.6rem; }
.news-card-title { font-size:1rem; font-weight:700; color:var(--text); margin-bottom:.75rem; line-height:1.4; flex:1; }
.news-card-title a:hover { color:var(--primary); }
.news-card-excerpt { color:var(--text-light); font-size:.83rem; line-height:1.6; margin-bottom:1rem; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.news-card-link { color:var(--primary); font-size:.83rem; font-weight:600; display:flex; align-items:center; gap:.3rem; margin-top:auto; }
.news-card-link:hover { gap:.5rem; }

/* Section header with "Lihat Semua" link */
.section-head { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:2.5rem; flex-wrap:wrap; gap:1rem; }
.btn-see-all { color:var(--primary); font-weight:600; font-size:.875rem; display:flex; align-items:center; gap:.35rem; padding:.5rem 1.25rem; border-radius:2rem; border:1.5px solid var(--primary); transition:all var(--transition); }
.btn-see-all:hover { background:var(--primary); color:#fff; }

/* ============ SAMBUTAN SECTION ============ */
.sambutan-section {
    background:linear-gradient(150deg, #f0fdf4 0%, #dcfce7 40%, #f0fdf4 100%);
    position:relative; overflow:hidden;
}
/* Decorative diagonal stripe */
.sambutan-section::before {
    content:'';
    position:absolute; top:0; right:0;
    width:45%; height:100%;
    background:linear-gradient(135deg, var(--primary-100) 0%, transparent 60%);
    pointer-events:none;
}
.sambutan-section::after {
    content:'';
    position:absolute; bottom:-80px; left:-80px;
    width:300px; height:300px; border-radius:50%;
    border:60px solid rgba(5,150,105,.07);
    pointer-events:none;
}
.sambutan-grid { display:grid; grid-template-columns:280px 1fr; gap:3.5rem; align-items:center; position:relative; z-index:1; }
.sambutan-photo-wrap { text-align:center; }
.sambutan-photo {
    width:220px; height:220px; border-radius:50%; object-fit:cover;
    margin:0 auto 1rem;
    border:5px solid #fff;
    box-shadow:0 12px 40px rgba(5,150,105,.2), 0 0 0 10px var(--primary-100);
}
.sambutan-photo-placeholder { width:220px; height:220px; border-radius:50%; background:linear-gradient(135deg,var(--primary-100),var(--bg-3)); display:flex; align-items:center; justify-content:center; margin:0 auto 1rem; font-size:4rem; color:var(--primary); opacity:.5; }
.sambutan-name { font-weight:700; color:var(--text); font-size:1.05rem; margin-bottom:.15rem; }
.sambutan-title { font-size:.8rem; color:var(--primary); font-weight:600; text-transform:uppercase; letter-spacing:.08em; }
.sambutan-content { position:relative; }
.sambutan-quote { font-size:6rem; color:var(--primary); opacity:.2; line-height:.8; margin-bottom:-.25rem; font-family:Georgia,serif; }
.sambutan-text { color:var(--text-light); line-height:1.9; font-size:.95rem; font-style:italic; margin-bottom:1.5rem; }
.sambutan-signature { display:flex; align-items:center; gap:.75rem; }
.sambutan-sig-line { width:40px; height:2px; background:var(--primary); border-radius:2px; }
.sambutan-sig-name { font-weight:700; color:var(--primary); font-size:.9rem; }
.sambutan-h2-mobile-short { display:none; }
.sambutan-text-clip { overflow:visible; }
.sambutan-readmore {
    display:none;
    align-items:center;
    gap:.4rem;
    margin-top:.35rem;
    padding:.35rem 0;
    border:none;
    background:transparent;
    color:var(--primary);
    font-weight:600;
    font-size:.88rem;
    cursor:pointer;
    font-family:inherit;
}
.sambutan-readmore-icon { font-size:.72rem; transition:transform .35s ease; }
.sambutan-readmore.is-expanded .sambutan-readmore-icon { transform:rotate(180deg); }

/* ============ GALLERY SECTION ============ */
.gallery-section {
    background:linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 45%, #ffffff 100%);
    position:relative; overflow:hidden;
}
.gallery-section::before {
    content:'';
    position:absolute; inset:0;
    background-image:radial-gradient(circle, rgba(5,150,105,.06) 1px, transparent 1px);
    background-size:24px 24px;
    pointer-events:none;
}
.gallery-section::after { content:''; position:absolute; right:-120px; top:-80px; width:350px; height:350px; border-radius:50%; border:70px solid rgba(5,150,105,.05); pointer-events:none; }
.gallery-section .section-label { color:var(--primary); }
.gallery-section .section-label::before { background:var(--primary); }
.gallery-section .section-title { color:var(--dark); }
.gallery-section .section-head { position:relative; z-index:1; }
.gallery-section .btn-see-all { color:var(--primary); border-color:var(--primary); }
.gallery-section .btn-see-all:hover { background:var(--primary); border-color:var(--primary); color:#fff; }
.gallery-section .gallery-empty { color:var(--text-light); background:#fff; border-color:var(--border); }
.gallery-section--page { padding-top:0; padding-bottom:4rem; }
body.page-inner .gallery-section--page { padding-top:0; }

/* Halaman ?page=galeri — latar putih (body + area grid) */
body.page-galeri { background:#fff; }
body.page-galeri .gallery-section.gallery-section--page {
    background:#fff;
}
body.page-galeri .gallery-section.gallery-section--page::before,
body.page-galeri .gallery-section.gallery-section--page::after { display:none; }

.gallery-section .gallery-empty,
.gallery-empty { text-align:center; padding:4rem 1.5rem; color:var(--text-light); }
body.page-galeri .gallery-empty { color:var(--text-light); }
body.page-galeri .gallery-empty i { color:var(--text-muted); opacity:.55; }
body.page-galeri .gallery-empty .btn-see-all {
    color:var(--primary); border-color:var(--primary);
}
body.page-galeri .gallery-empty .btn-see-all:hover {
    background:var(--primary); color:#fff; border-color:var(--primary);
}
.gallery-empty i { font-size:3rem; opacity:.45; display:block; margin-bottom:1rem; }
.gallery-empty p { margin:0; font-size:.95rem; line-height:1.65; max-width:26rem; margin-left:auto; margin-right:auto; }
.gallery-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.gallery-item { border-radius:var(--radius); overflow:hidden; position:relative; aspect-ratio:4/3; cursor:pointer; background:var(--dark); }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.gallery-item:hover img { transform:scale(1.08); }
.gallery-item-overlay { position:absolute; inset:0; background:linear-gradient(180deg,transparent 50%,rgba(15,23,42,.8)); opacity:0; transition:opacity var(--transition); display:flex; flex-direction:column; justify-content:flex-end; padding:.75rem; }
.gallery-item:hover .gallery-item-overlay { opacity:1; }
.gallery-item-title { color:#fff; font-size:.8rem; font-weight:600; line-height:1.3; }
.gallery-item-type { position:absolute; top:.5rem; right:.5rem; background:rgba(15,23,42,.7); color:#fff; border-radius:.35rem; width:28px; height:28px; display:flex; align-items:center; justify-content:center; font-size:.8rem; }
.gallery-play-btn { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.gallery-play-btn i { width:48px; height:48px; background:rgba(255,255,255,.9); border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--primary); font-size:1.1rem; box-shadow:0 4px 20px rgba(0,0,0,.3); transition:transform var(--transition); }
.gallery-item:hover .gallery-play-btn i { transform:scale(1.1); }
/* Lightbox */
.lightbox-overlay { position:fixed; inset:0; background:rgba(0,0,0,.92); z-index:2000; display:none; align-items:center; justify-content:center; padding:1.5rem; }
.lightbox-overlay.open { display:flex; }
.lightbox-close { position:absolute; top:1rem; right:1.25rem; color:#fff; font-size:1.6rem; cursor:pointer; z-index:10; opacity:.8; transition:opacity .2s; }
.lightbox-close:hover { opacity:1; }
.lightbox-media { max-width:900px; width:100%; max-height:90vh; border-radius:.75rem; overflow:hidden; }
.lightbox-media img { width:100%; height:auto; max-height:85vh; object-fit:contain; }
.lightbox-media iframe { width:100%; aspect-ratio:16/9; border:0; }

/* ============ FEATURED CATEGORY SECTIONS — CARD GRID STYLE ============ */

/* ── Section shell ── */
.fcs-section { position:relative; overflow:hidden; }
.fcs-v1 { background:#fff; }
.fcs-v2 { background:linear-gradient(160deg, #f0fdf4 0%, #f8fafc 60%, #f0fdf4 100%); }

/* ── Decorative layer ── */
.fcs-deco { position:absolute; inset:0; pointer-events:none; }
.fcs-deco-svg { position:absolute; }
.fcs-deco-tl { top:-80px; left:-80px; width:260px; height:260px; opacity:.55; }
.fcs-deco-br { bottom:-60px; right:-60px; width:180px; height:180px; opacity:.5; }
.fcs-deco-tr { top:-70px; right:-70px; width:240px; height:240px; opacity:.5; }
.fcs-deco-bl { bottom:-60px; left:-60px; width:160px; height:160px; opacity:.6; }

/* Dot grid (v1) */
.fcs-dot-grid {
    position:absolute; inset:0;
    background-image:radial-gradient(circle, var(--primary-100) 1.5px, transparent 1.5px);
    background-size:30px 30px; opacity:.4;
}
/* Dot grid (v2) — light green dots, no stripes */
.fcs-stripe-grid {
    position:absolute; inset:0;
    background-image:radial-gradient(circle, #bbf7d0 1.5px, transparent 1.5px);
    background-size:30px 30px; opacity:.45;
}

/* ── Section label overrides per variant ── */
.fcs-v1 .fcs-label { color:var(--primary); }
.fcs-v1 .fcs-label::before { background:var(--primary); }
.fcs-v2 .fcs-label { color:#6366f1; }
.fcs-v2 .fcs-label::before { background:#6366f1; }

/* Title accent word */
.fcs-v1 .fcs-title-accent { color:var(--primary); }
.fcs-v2 .fcs-title-accent { color:#6366f1; }

/* See-all button per variant */
.fcs-v1 .fcs-see-all { color:var(--primary); border-color:var(--primary); }
.fcs-v1 .fcs-see-all:hover { background:var(--primary); color:#fff; }
.fcs-v2 .fcs-see-all { color:#6366f1; border-color:#6366f1; }
.fcs-v2 .fcs-see-all:hover { background:#6366f1; color:#fff; }

/* ── Card grid ── */
.fcs-grid {
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:1.75rem;
}
/* If only 1 post: full width. 2 posts: 2-col */
.fcs-grid:has(.fcs-card:only-child) { grid-template-columns:1fr; max-width:480px; }
.fcs-grid:has(.fcs-card:nth-child(2):last-child) { grid-template-columns:repeat(2,1fr); }

/* ── Card ── */
.fcs-card {
    border-radius:var(--radius-lg);
    overflow:hidden;
    background:#fff;
    border:1px solid var(--border);
    transition:all var(--transition);
    display:flex; flex-direction:column;
    box-shadow:0 2px 8px rgba(15,23,42,.05);
}
.fcs-v2 .fcs-card { background:#fff; }
.fcs-card:hover { transform:translateY(-6px); box-shadow:0 16px 40px rgba(15,23,42,.12); border-color:transparent; }

/* Featured first card — taller image */
.fcs-card--featured .fcs-card-img { height:240px; }

/* Image area */
.fcs-card-img {
    display:block; position:relative;
    height:200px; overflow:hidden;
    background:linear-gradient(135deg, var(--primary-100), var(--bg-3));
}
.fcs-card-img img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.fcs-card:hover .fcs-card-img img { transform:scale(1.07); }
.fcs-card-placeholder { display:flex; align-items:center; justify-content:center; height:100%; font-size:2.5rem; color:var(--primary); opacity:.3; }

/* Category badge on image */
.fcs-card-badge {
    position:absolute; top:.75rem; left:.75rem;
    font-size:.68rem; font-weight:700; padding:.22rem .65rem;
    border-radius:2rem; text-transform:uppercase; letter-spacing:.05em;
    color:#fff;
}
.fcs-v1 .fcs-card-badge { background:var(--primary); }
.fcs-v2 .fcs-card-badge { background:#6366f1; }

/* Card body */
.fcs-card-body { padding:1.1rem 1.25rem 1.35rem; flex:1; display:flex; flex-direction:column; }
.fcs-card-date { font-size:.75rem; color:var(--text-muted); display:flex; align-items:center; gap:.35rem; margin-bottom:.55rem; }
.fcs-card-title { font-size:.975rem; font-weight:700; color:var(--text); line-height:1.4; flex:1; margin-bottom:.85rem; }
.fcs-card-title a:hover { color:var(--primary); }
.fcs-v2 .fcs-card-title a:hover { color:#6366f1; }
.fcs-card-link {
    font-size:.8rem; font-weight:600;
    display:inline-flex; align-items:center; gap:.3rem;
    margin-top:auto; transition:gap var(--transition);
}
.fcs-v1 .fcs-card-link { color:var(--primary); }
.fcs-v2 .fcs-card-link { color:#6366f1; }
.fcs-card:hover .fcs-card-link { gap:.5rem; }

/* Responsive */
@media(max-width:900px){ .fcs-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .fcs-grid { grid-template-columns:1fr; } }

/* ============ STATS SECTION ============ */
.stats-section { background:linear-gradient(135deg,var(--primary-dark) 0%,var(--primary) 100%); padding:3rem 0; position:relative; overflow:hidden; }
.stats-section::before { content:''; position:absolute; right:-5%; top:-50%; width:400px; height:400px; border-radius:50%; border:80px solid rgba(255,255,255,.05); }
.stats-section::after { content:''; position:absolute; left:-3%; bottom:-60%; width:300px; height:300px; border-radius:50%; border:60px solid rgba(255,255,255,.05); }
.stats-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:1.5rem; position:relative; z-index:1; }
.stat-item { text-align:center; }
.stat-number { font-size:2.25rem; font-weight:800; color:#fff; display:block; line-height:1; }
.stat-label { font-size:.78rem; color:rgba(255,255,255,.75); margin-top:.35rem; font-weight:500; text-transform:uppercase; letter-spacing:.06em; }
.stat-divider { width:1px; background:rgba(255,255,255,.2); }

/* ============ MAPS SECTION ============ */
.maps-section { background:var(--bg-2); }
.maps-grid { display:grid; grid-template-columns:1fr 360px; gap:2.5rem; align-items:start; }
.map-embed-wrap { border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); }
.map-embed-wrap iframe { display:block; width:100%; height:400px; border:0; }
.map-info-card { background:#fff; border-radius:var(--radius-lg); padding:2rem; box-shadow:var(--shadow); border:1px solid var(--border); }
.map-info-title { font-size:1.25rem; font-weight:700; color:var(--text); margin-bottom:1.25rem; padding-bottom:1rem; border-bottom:2px solid var(--primary-100); }
.map-info-row { display:flex; gap:.75rem; margin-bottom:1rem; }
.map-info-row:last-child { margin-bottom:0; }
.map-info-icon { width:36px; height:36px; border-radius:.5rem; background:var(--primary-50); display:flex; align-items:center; justify-content:center; color:var(--primary); flex-shrink:0; font-size:.9rem; }
.map-info-text strong { display:block; font-size:.83rem; color:var(--text); font-weight:600; }
.map-info-text span { font-size:.8rem; color:var(--text-light); line-height:1.5; }
.map-directions-btn { display:block; text-align:center; margin-top:1.25rem; padding:.7rem; border-radius:.625rem; background:var(--primary); color:#fff; font-weight:600; font-size:.875rem; transition:all var(--transition); }
.map-directions-btn:hover { background:var(--primary-dark); }

/* ============ PAGE HEADER — minimal company profile ============ */
.page-header {
    background:linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
    border-bottom:1px solid var(--border);
    padding:2.5rem 0 2.25rem;
}
.page-header-inner { text-align:left; }
.page-header-eyebrow {
    margin:0 0 .5rem;
    font-size:.7rem;
    font-weight:600;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:var(--primary);
}
.page-header-title {
    margin:0;
    font-size:clamp(1.45rem, 3.2vw, 2.05rem);
    font-weight:700;
    letter-spacing:-.03em;
    line-height:1.2;
    color:var(--text);
    max-width:48rem;
}
.page-header-title::after {
    content:'';
    display:block;
    width:2.75rem;
    height:3px;
    margin-top:1.1rem;
    border-radius:2px;
    background:var(--gradient-brand);
}

/* Halaman dalam — konten sejajar navbar */
body.page-inner > .page-header + .container,
body.page-inner > .page-header + section > .container {
    padding-top:2rem;
}
body.page-inner > .container:first-of-type:not(.page-header-inner) {
    padding-top:2rem;
}
body.page-inner .berita-layout { padding-top:0; }
body.page-inner .page-layout { padding-top:0; }

.berita-layout { display:grid; grid-template-columns:260px 1fr; gap:2.5rem; padding:0 0 3rem; }
.berita-sidebar {}
.sidebar-card { background:#fff; border-radius:var(--radius-lg); padding:1.5rem; border:1px solid var(--border); margin-bottom:1.5rem; }
.sidebar-card-title { font-size:.9rem; font-weight:700; color:var(--text); margin-bottom:1rem; padding-bottom:.75rem; border-bottom:2px solid var(--primary-100); display:flex; align-items:center; gap:.5rem; }
.sidebar-card-title i { color:var(--primary); }
.sidebar-cat-list { display:flex; flex-direction:column; gap:.25rem; }
.sidebar-cat-link { padding:.5rem .75rem; border-radius:.5rem; font-size:.85rem; color:var(--text-light); transition:all var(--transition); display:flex; align-items:center; justify-content:space-between; }
.sidebar-cat-link:hover, .sidebar-cat-link.active { background:var(--primary-50); color:var(--primary); font-weight:600; }
.sidebar-cat-link .cat-count { background:var(--primary-100); color:var(--primary); font-size:.72rem; font-weight:700; padding:.1rem .45rem; border-radius:2rem; }
.sidebar-recent-item { display:flex; gap:.75rem; padding:.6rem 0; border-bottom:1px solid var(--border); }
.sidebar-recent-item:last-child { border-bottom:none; }
.sidebar-recent-thumb { width:56px; height:56px; border-radius:.5rem; object-fit:cover; flex-shrink:0; background:var(--bg-3); }
.sidebar-recent-title { font-size:.82rem; font-weight:600; color:var(--text); line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.sidebar-recent-date { font-size:.75rem; color:var(--text-muted); margin-top:.2rem; }

.berita-main {}
.berita-filter-bar { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1.75rem; }
.filter-btn { padding:.45rem 1rem; border-radius:2rem; font-size:.82rem; font-weight:600; border:1.5px solid var(--border); color:var(--text-light); transition:all var(--transition); }
.filter-btn:hover, .filter-btn.active { background:var(--primary); color:#fff; border-color:var(--primary); box-shadow:0 2px 8px rgba(5,150,105,.25); }

.berita-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }

/* ============ NEWS DETAIL ============ */
.detail-layout { display:grid; grid-template-columns:1fr 300px; gap:2.5rem; padding:1.75rem 0 3.5rem; }
.detail-article {}
.detail-featured { border-radius:var(--radius-lg); overflow:hidden; margin-bottom:2rem; }
.detail-featured img { width:100%; height:380px; object-fit:cover; }
.detail-featured-placeholder { width:100%; height:380px; background:linear-gradient(135deg,var(--primary-100),var(--bg-3)); display:flex; align-items:center; justify-content:center; font-size:4rem; color:var(--primary); opacity:.4; border-radius:var(--radius-lg); }
.detail-meta { display:flex; flex-wrap:wrap; align-items:center; gap:.75rem; margin-bottom:1rem; }
.detail-badge { background:var(--primary); color:#fff; font-size:.72rem; font-weight:600; padding:.25rem .75rem; border-radius:2rem; }
.detail-date { color:var(--text-muted); font-size:.82rem; display:flex; align-items:center; gap:.35rem; }
.detail-title { font-size:clamp(1.4rem,3vw,2rem); color:var(--text); margin-bottom:1.25rem; line-height:1.25; }
.detail-divider { height:3px; width:60px; background:var(--primary); border-radius:2px; margin-bottom:2rem; }
.detail-body { color:var(--text); line-height:1.8; font-size:.95rem; }
.detail-body p { margin-bottom:1rem; }
.detail-body h2,
.detail-body h3 { margin:1.5rem 0 .75rem; }
.detail-body img { border-radius:.5rem; max-width:100%; margin:1rem 0; }
.detail-body a { color:var(--primary); text-decoration:underline; }
.detail-body ul,
.detail-body ol { padding-left:1.5rem; margin-bottom:1rem; list-style:disc; }
.detail-body ol { list-style:decimal; }
.detail-body blockquote { border-left:4px solid var(--primary); padding:.75rem 1.25rem; background:var(--primary-50); border-radius:0 .5rem .5rem 0; margin:1.25rem 0; color:var(--text-light); font-style:italic; }

.detail-sidebar {}
.related-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; margin-top:2.5rem; padding-top:2.5rem; border-top:2px solid var(--border); }
.related-card { border-radius:var(--radius); overflow:hidden; border:1px solid var(--border); background:#fff; transition:all var(--transition); }
.related-card:hover { transform:translateY(-3px); box-shadow:var(--shadow); }
.related-card-img { height:140px; overflow:hidden; background:var(--bg-3); }
.related-card-img img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.related-card:hover .related-card-img img { transform:scale(1.07); }
.related-card-img .related-placeholder { height:100%; display:flex; align-items:center; justify-content:center; font-size:2rem; color:var(--primary); opacity:.3; }
.related-card-body { padding:.85rem 1rem; }
.related-card-date { font-size:.72rem; color:var(--text-muted); margin-bottom:.3rem; }
.related-card-title { font-size:.83rem; font-weight:700; color:var(--text); line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ============ STATIC PAGE (with sidebar) ============ */
.page-layout { display:grid; grid-template-columns:1fr 288px; gap:2.5rem; padding:0 0 5rem; align-items:start; }
@media(max-width:860px){ .page-layout { grid-template-columns:1fr; } }
.page-main-content {}
.page-sidebar { position:sticky; top: calc(var(--nav-height) + var(--ticker-h) + 1.5rem); display:flex; flex-direction:column; gap:1.25rem; }

.static-page-wrap { padding:0; max-width:760px; }
.static-page-title { font-size:1.75rem; margin-bottom:.5rem; }
.static-page-divider { height:3px; width:60px; background:var(--primary); border-radius:2px; margin-bottom:1.75rem; }
.static-page-body { color:var(--text); line-height:1.85; font-size:.95rem; }
.static-page-body p { margin-bottom:1rem; }
.static-page-body h2,
.static-page-body h3 { margin:1.5rem 0 .75rem; }
.static-page-body img { border-radius:.5rem; max-width:100%; margin:1rem 0; }
.static-page-body a { color:var(--primary); text-decoration:underline; }
.static-page-body ul { padding-left:1.5rem; margin-bottom:1rem; list-style:disc; }
.static-page-body ol { padding-left:1.5rem; margin-bottom:1rem; list-style:decimal; }

/* Page sidebar cards */
.page-sidebar-card { background:#fff; border-radius:var(--radius-lg); padding:1.25rem 1.5rem; border:1px solid var(--border); box-shadow:0 2px 12px rgba(15,23,42,.05); }
.page-sidebar-title { font-size:.875rem; font-weight:700; color:var(--text); margin-bottom:1rem; padding-bottom:.6rem; border-bottom:2px solid var(--primary-100); display:flex; align-items:center; gap:.5rem; }
.page-sidebar-title i { color:var(--primary); }
.page-sidebar-links { display:flex; flex-direction:column; gap:.2rem; }
.page-sidebar-link { display:flex; align-items:center; gap:.5rem; padding:.5rem .6rem; border-radius:.5rem; font-size:.83rem; color:var(--text-light); transition:all var(--transition); }
.page-sidebar-link:hover, .page-sidebar-link.active { background:var(--primary-50); color:var(--primary); font-weight:600; }
.page-sidebar-link i { font-size:.65rem; color:var(--primary); flex-shrink:0; }
.page-sidebar-news { display:flex; flex-direction:column; gap:.1rem; }
.page-sidebar-news-item { display:flex; gap:.65rem; padding:.55rem 0; border-bottom:1px solid var(--border); }
.page-sidebar-news-item:last-child { border-bottom:none; }
.page-sidebar-news-thumb { width:50px; height:50px; border-radius:.4rem; object-fit:cover; flex-shrink:0; background:var(--bg-3); display:flex; align-items:center; justify-content:center; color:var(--primary); font-size:.9rem; overflow:hidden; }
.page-sidebar-news-thumb img { width:100%; height:100%; object-fit:cover; }
.page-sidebar-news-title { font-size:.79rem; font-weight:600; color:var(--text); line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.page-sidebar-news-date { font-size:.72rem; color:var(--text-muted); margin-top:.2rem; }

/* ============ FOOTER ============ */
.site-footer {
    background:linear-gradient(180deg,var(--dark-2) 0%,var(--dark) 100%);
    color:rgba(255,255,255,.75);
    padding:4rem 0 0;
}
.footer-grid { display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:2.5rem; padding-bottom:3rem; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand-logo { height:44px; width:auto; border-radius:.375rem; object-fit:contain; margin-bottom:1rem; }
.footer-brand-name { color:#fff; font-size:1.05rem; font-weight:700; margin-bottom:.5rem; }
.footer-brand-desc { font-size:.83rem; line-height:1.7; margin-bottom:1.25rem; color:rgba(255,255,255,.6); }
.footer-contact-item { display:flex; gap:.6rem; align-items:flex-start; margin-bottom:.6rem; font-size:.82rem; }
.footer-contact-item i { color:var(--primary-light); margin-top:.15rem; flex-shrink:0; }
.footer-contact-item span { color:rgba(255,255,255,.7); line-height:1.5; }
.footer-col-title { color:#fff; font-size:.92rem; font-weight:700; margin-bottom:1.25rem; letter-spacing:.02em; }
.footer-col-title::after { content:''; display:block; width:32px; height:2px; background:var(--primary); margin-top:.5rem; }
.footer-link-list { display:flex; flex-direction:column; gap:.5rem; }
.footer-link-list a { color:rgba(255,255,255,.6); font-size:.83rem; transition:all var(--transition); display:flex; align-items:center; gap:.4rem; }
.footer-link-list a:hover { color:#fff; padding-left:.4rem; }
.footer-link-list a::before { content:'›'; color:var(--primary-light); font-size:1rem; }
.social-list { display:flex; gap:.75rem; margin-top:.25rem; }
.social-icon-btn {
    width:38px; height:38px; border-radius:50%;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.15);
    display:flex; align-items:center; justify-content:center;
    color:rgba(255,255,255,.7); font-size:.9rem;
    transition:all var(--transition);
}
.social-icon-btn:hover { background:var(--primary); border-color:var(--primary); color:#fff; transform:translateY(-2px); }
.footer-bottom { text-align:center; padding:1.25rem 0 1.5rem; font-size:.8rem; color:rgba(255,255,255,.4); }
.footer-bottom-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:.35rem .65rem; }
.footer-bottom-sep { opacity:.45; user-select:none; }
.footer-bottom-link { color:rgba(255,255,255,.35); transition:color .2s; text-decoration:none; }
.footer-bottom-link:hover { color:rgba(255,255,255,.65); }
.footer-powered { margin-top:.75rem; font-size:.72rem; color:rgba(255,255,255,.32); line-height:1.55; }
.footer-powered a { color:rgba(129,140,248,.95); text-decoration:none; font-weight:600; }
.footer-powered a:hover { text-decoration:underline; color:#a5b4fc; }
.footer-powered-ver { opacity:.8; font-weight:500; }

/* ============ BUTTONS ============ */
.btn { display:inline-flex; align-items:center; gap:.4rem; padding:.6rem 1.4rem; border-radius:2rem; font-weight:600; font-size:.875rem; cursor:pointer; transition:all var(--transition); }
.btn-primary { background:var(--primary); color:#fff; box-shadow:0 2px 10px rgba(5,150,105,.3); }
.btn-primary:hover { background:var(--primary-dark); transform:translateY(-1px); }
.btn-outline { background:transparent; color:var(--primary); border:1.5px solid var(--primary); }
.btn-outline:hover { background:var(--primary); color:#fff; }

/* ============ UTILITIES ============ */
/* Hanya tinggi navbar: bar pengumuman (jika ada) sudah di alur dokumen di atas, jangan tambahkan --ticker-h lagi. */
.main-content { margin-top: var(--nav-height); }
body.home-elegant-hero .main-content,
body.home-fullwidth-hero .main-content { margin-top: 0; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.not-found { text-align:center; padding:4rem 2rem; }
.not-found-icon { font-size:4rem; color:var(--primary); opacity:.4; margin-bottom:1rem; }
.not-found h2 { color:var(--text); margin-bottom:.5rem; }
.not-found p { color:var(--text-light); }
.back-link { display:inline-flex; align-items:center; gap:.4rem; color:var(--primary); font-weight:600; font-size:.875rem; margin-bottom:1.5rem; }
.back-link:hover { text-decoration:underline; }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeLeft { from { opacity:0; transform:translateX(-30px); } to { opacity:1; transform:translateX(0); } }
@keyframes fadeRight { from { opacity:0; transform:translateX(30px); } to { opacity:1; transform:translateX(0); } }
@keyframes scaleIn { from { opacity:0; transform:scale(.9); } to { opacity:1; transform:scale(1); } }
@keyframes countUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

.fade-up   { opacity:0; transform:translateY(30px); transition:opacity .65s ease, transform .65s ease; }
.fade-left { opacity:0; transform:translateX(-30px); transition:opacity .65s ease, transform .65s ease; }
.fade-right{ opacity:0; transform:translateX(30px);  transition:opacity .65s ease, transform .65s ease; }
.scale-in  { opacity:0; transform:scale(.92);        transition:opacity .65s ease, transform .65s ease; }
.fade-up.visible, .fade-left.visible, .fade-right.visible, .scale-in.visible { opacity:1; transform:none; }

/* stagger delays */
.delay-1 { transition-delay:.1s; }
.delay-2 { transition-delay:.2s; }
.delay-3 { transition-delay:.3s; }
.delay-4 { transition-delay:.4s; }
.delay-5 { transition-delay:.5s; }

/* ============ RESPONSIVE ============ */
@media(max-width:1024px) {
    .features-grid { grid-template-columns:repeat(2,1fr); }
    .news-grid { grid-template-columns:repeat(2,1fr); }
    .maps-grid { grid-template-columns:1fr; }
    .map-info-card { max-width:100%; }
    .berita-layout { grid-template-columns:220px 1fr; }
    .berita-grid { grid-template-columns:repeat(2,1fr); }
    .detail-layout { grid-template-columns:1fr; }
    .footer-grid { grid-template-columns:1fr 1fr; }
    .related-grid { grid-template-columns:repeat(3,1fr); }
    .sambutan-grid { grid-template-columns:220px 1fr; gap:2.5rem; }
    .gallery-grid { grid-template-columns:repeat(3,1fr); }
    .feat-cat-grid { grid-template-columns:1fr 1fr; }
    .feat-cat-main { grid-row:span 1; }
    .stats-grid { grid-template-columns:repeat(3,1fr); }
}
@media(max-width:768px) {
    /* Brand 2 baris + logo sering >64px; min-height dipakai agar hero tidak menempel */
    :root { --nav-height:80px; }
    .nav-links, .nav-cta-group { display:none; }
    .nav-hamburger { display:flex; }
    .nav-hamburger span { background:var(--primary-dark) !important; }
    .nav-hamburger.open {
        background:var(--primary-50);
        border-color:var(--primary);
    }
    .site-nav { height:auto; min-height:var(--nav-height); }
    .nav-container {
        height:auto;
        min-height:var(--nav-height);
        padding-top:.45rem;
        padding-bottom:.45rem;
        box-sizing:border-box;
        gap:.5rem;
    }
    .nav-brand {
        flex:1;
        min-width:0;
        max-width:none;
    }
    .nav-logo,
    .nav-logo-placeholder {
        height:38px;
        width:38px;
        flex-shrink:0;
    }
    .nav-logo-placeholder { font-size:1.05rem; }
    .nav-logo-text {
        font-size:clamp(.72rem, 3.4vw, .92rem);
        font-weight:800;
        color:var(--primary-dark);
        letter-spacing:.04em;
        line-height:1.2;
        white-space:normal;
        text-overflow:unset;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }
    .hero-section { height:90vw; max-height:620px; min-height:420px; }
    /* Navbar + brand 2 baris: floor agar teks slider tidak menempel walaupun nav melar */
    .hero-content {
        top: max(6rem, calc(var(--nav-height) + 1.75rem));
        bottom: 0;
        left: 1.5rem;
        right: 1.5rem;
        justify-content: flex-start;
        padding-top: 0.35rem;
        padding-bottom: 6.75rem;
    }
    .hero-eyebrow { margin-bottom:0.85rem; font-size:0.7rem; padding:0.25rem 0.85rem; }
    .hero-title { font-size:1.6rem; line-height:1.12; max-width:none; }
    .hero-line { margin:0.65rem 0; }
    .hero-subtitle { font-size:0.86rem; margin-bottom:1.15rem; line-height:1.65; max-width:none; }
    .hero-actions { display:none !important; }
    .hero-title-link { -webkit-tap-highlight-color:rgba(255,255,255,.12); }
    .hero-title-link:focus-visible { outline:2px solid rgba(255,255,255,.65); outline-offset:3px; border-radius:2px; }
    .section-pad { padding:3.5rem 0; }
    .features-grid { grid-template-columns:repeat(2,1fr); gap:1rem; }
    .news-grid { grid-template-columns:1fr; }
    .berita-layout { grid-template-columns:1fr; }
    .berita-sidebar { order:-1; }
    .berita-grid { grid-template-columns:1fr; }
    .detail-layout { grid-template-columns:1fr; }
    .related-grid { grid-template-columns:1fr 1fr; }
    .footer-grid { grid-template-columns:1fr; gap:2rem; }
    .maps-grid { grid-template-columns:1fr; }
    .section-head { flex-direction:column; align-items:flex-start; }
    .sambutan-grid { grid-template-columns:1fr; text-align:center; }
    .sambutan-photo { width:180px; height:180px; }
    .sambutan-photo-placeholder { width:180px; height:180px; }
    .sambutan-content .sambutan-eyebrow { display:none !important; }
    .sambutan-h2-full { display:none; }
    .sambutan-h2-mobile-short { display:block; }
    .sambutan-quote { display:none; }
    .sambutan-content #sambutan-title.section-title { margin-bottom:.75rem !important; }
    .sambutan-text-clip {
        max-height:6.75rem;
        overflow:hidden;
        transition:max-height .45s ease;
        text-align:left;
    }
    .sambutan-text-clip.is-expanded { max-height:120rem; }
    .sambutan-text-clip .sambutan-text { margin-bottom:.35rem; }
    .sambutan-readmore { display:inline-flex; }
    .gallery-grid { grid-template-columns:repeat(2,1fr); }
    .feat-cat-grid { grid-template-columns:1fr; }
    .stats-grid { grid-template-columns:repeat(2,1fr); gap:1rem; }
    .stat-divider { display:none; }
}
@media(max-width:480px) {
    .features-grid { grid-template-columns:1fr 1fr; gap:.75rem; }
    .feature-card { padding:1.25rem 1rem; }
    .feature-icon-wrap { width:52px; height:52px; font-size:1.3rem; }
    .news-card-image { height:170px; }
    .related-grid { grid-template-columns:1fr; }
    .hero-actions { flex-direction:column; }
    .hero-content { top: max(6.35rem, calc(var(--nav-height) + 1.85rem)); }
    .hero-title { font-size:1.42rem; line-height:1.1; }
    .gallery-grid { grid-template-columns:repeat(2,1fr); }
    .stats-grid { grid-template-columns:1fr 1fr; }
}

/* ============================================================
   ANNOUNCEMENT TICKER BAR (Module: pengumuman)
   Bar di alur dokumen; navbar fixed di-offset lewat body.has-ticker + --ticker-h
   ============================================================ */
.announce-bar {
    width: 100%;
    min-height: 3.125rem;
    box-sizing: border-box;
    padding: 0.65rem 1.25rem 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    overflow: hidden;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.45;
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.announce-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 0.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.18);
    color: inherit;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
}
.announce-track {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    height: 1.5em;
    mask-image: linear-gradient(90deg, transparent 0%, #000 1.5rem, #000 calc(100% - 1.5rem), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 1.5rem, #000 calc(100% - 1.5rem), transparent 100%);
}
.announce-marquee {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 3.5rem;
    animation: announceLoop var(--announce-dur, 40s) linear infinite;
    will-change: transform;
}
.announce-duplicate {
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
}
.announce-bar--news .ticker-sep {
    display: inline-block;
    margin: 0 0.45rem;
    opacity: 0.65;
    user-select: none;
}
.ticker-item-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}
.ticker-item-link:hover {
    border-bottom-color: currentColor;
    opacity: 0.92;
}
@keyframes announceLoop {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 640px) {
    .announce-bar {
        padding: 0.55rem 0.9rem 0.6rem 0.85rem;
        font-size: 0.78rem;
        gap: 0.65rem;
    }
    .announce-icon { width: 1.75rem; height: 1.75rem; font-size: 0.72rem; }
    .announce-marquee { gap: 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    .announce-marquee { animation: none; }
    .announce-track {
        mask-image: none;
        -webkit-mask-image: none;
    }
}
