/* =========================================================
   Institut Binamadani Indonesia — Stylesheet Publik
   Dibangun dari master desain final, warna inti (--emerald, --gold, --ink,
   --parchment) tetap dikontrol dari Pengaturan Situs; seluruh turunan
   warna (ramp hijau, muted, line) dihitung otomatis dari situ.
   ========================================================= */

:root {
  --emerald: #0d4a35;
  --emerald-dark: #08321f;
  --gold: #b08d3e;
  --gold-light: #dcc788;
  --parchment: #f5f1e6;
  --ink: #1e1b16;
  --maroon: #7a2e2e;
  --maroon-dark: #5e2020;
  --white: #ffffff;

  --font-display: "Plus Jakarta Sans", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;

  --green-950: color-mix(in srgb, var(--emerald) 55%, black 45%);
  --green-900: color-mix(in srgb, var(--emerald) 72%, black 28%);
  --green-800: color-mix(in srgb, var(--emerald) 88%, black 12%);
  --green-700: var(--emerald);
  --green-600: color-mix(in srgb, var(--emerald) 88%, white 12%);
  --green-500: color-mix(in srgb, var(--emerald) 68%, white 32%);
  --green-100: color-mix(in srgb, var(--emerald) 10%, white 90%);
  --green-50:  color-mix(in srgb, var(--emerald) 5%, white 95%);
  --emerald-light: var(--green-500);

  --muted: color-mix(in srgb, var(--ink) 58%, white 42%);
  --ink-soft: var(--muted);
  --line: color-mix(in srgb, var(--ink) 9%, white 91%);
  --blue: #0d6fa8;

  --shadow: 0 14px 40px rgba(11,83,42,.10);
  --shadow-lg: 0 28px 70px rgba(8,61,32,.16);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: linear-gradient(90deg, var(--green-950), var(--green-800));
  color: #dff6e8;
  font-size: 12px;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 24px;
}
.topbar-contact { display: flex; gap: 20px; align-items: center; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-links { display: flex; gap: 24px; align-items: center; }
.topbar a:hover { color: var(--gold-light); }

.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(18px);
}
.nav-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 16px; min-width: 260px; }
.logo-mark { width: 64px; height: 64px; flex-shrink: 0; position: relative; }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-mark.text-mark {
  border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #fff 0 19%, transparent 20%),
    conic-gradient(from 0deg, var(--green-700), var(--green-500), var(--green-700));
  box-shadow: inset 0 0 0 5px var(--green-100), 0 8px 22px rgba(12,110,52,.18);
}
.logo-mark.text-mark:after {
  content: attr(data-initials); position: absolute; inset: 0;
  display: grid; place-items: center; font-size: 17px; font-weight: 800; color: var(--green-900);
}
.brand-title { font-family: var(--font-display); font-size: 17px; font-weight: 800; line-height: 1.2; color: var(--green-900); letter-spacing: .01em; }
.brand-sub { margin-top: 4px; font-size: 12px; color: var(--muted); }

/* Menu-bar terpisah gaya UGM: garis emas di atas, hover jadi kotak */
.menu-bar { background: var(--white); border-top: 3px solid var(--gold); border-bottom: 1px solid var(--line); }
.menu { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; flex-wrap: wrap; padding: 10px 0; }
.menu a { position: relative; padding: 10px 16px; border-radius: 8px; transition: all .2s ease; }
.menu a:hover, .menu a.active { color: var(--green-700); background: var(--green-50); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .2s ease; z-index: 40;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 13px; }
.nav-dropdown-menu a:hover { background: var(--green-50); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn, .login-btn { border: 0; cursor: pointer; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--green-50); display: grid; place-items: center; color: var(--green-800); transition: .2s ease; flex-shrink: 0; }
.icon-btn:hover { background: var(--green-100); }
.login-btn {
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: #fff; padding: 13px 22px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  box-shadow: 0 9px 20px rgba(13,138,63,.20); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.login-btn:hover { transform: translateY(-1px); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border-radius: 999px; font-size: 13px; font-weight: 800; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--green-600), var(--green-800)); box-shadow: 0 14px 28px rgba(13,138,63,.24); }
.btn-secondary, .btn-outline, .btn-outline-dark { background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(23,68,42,.06); color: var(--ink); }
.btn-secondary:hover, .btn-outline:hover, .btn-outline-dark:hover { background: var(--green-50); }
.btn-sm { padding: 9px 16px; font-size: 12px; }

.hero {
  position: relative; overflow: hidden; min-height: 560px;
  background: radial-gradient(circle at 20% 20%, rgba(49,191,103,.12), transparent 31%),
    linear-gradient(90deg, #fff 0%, var(--green-50) 48%, var(--green-100) 100%);
  border-bottom: 1px solid var(--line);
}
.hero:before {
  content: ""; position: absolute; inset: 0; opacity: .28;
  background-image:
    linear-gradient(30deg, rgba(15,140,65,.07) 12%, transparent 12.5%, transparent 87%, rgba(15,140,65,.07) 87.5%, rgba(15,140,65,.07)),
    linear-gradient(150deg, rgba(15,140,65,.07) 12%, transparent 12.5%, transparent 87%, rgba(15,140,65,.07) 87.5%, rgba(15,140,65,.07));
  background-size: 56px 98px;
  mask-image: linear-gradient(90deg, black 0%, transparent 55%);
}
.hero-wrap {
  min-height: 560px; display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: 20px; position: relative; z-index: 1; padding: 20px 0;
}
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--green-700); text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: clamp(40px, 6vw, 70px); line-height: 1.05; letter-spacing: -.04em; margin: 0; max-width: 620px; color: #182633; }
.hero h1 .accent { display: block; color: var(--green-700); }
.hero p.lede { max-width: 590px; margin: 24px 0; color: var(--muted); font-size: 15px; }
.hero-buttons, .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.video-link { display: flex; align-items: center; gap: 10px; width: max-content; font-size: 13px; font-weight: 700; }
.play { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--green-700); border-radius: 50%; box-shadow: 0 8px 18px rgba(13,138,63,.22); font-size: 11px; }
.video-link small { color: var(--muted); font-weight: 500; }

.hero-art { height: 510px; position: relative; align-self: end; }
.campus {
  position: absolute; right: -40px; top: 0; width: 560px; height: 460px;
  border-radius: 42% 0 0 0; overflow: hidden; background-size: cover; background-position: center;
  box-shadow: inset 60px 0 90px rgba(255,255,255,.7);
}
.campus.no-photo { background: linear-gradient(155deg, var(--green-500), var(--green-800)); }
.hero-slide-item { display: none; opacity: 1; }
.hero-slide-item.is-active { display: block; animation: heroFadeIn .6s ease; }
@keyframes heroFadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-gallery-photo { width: 100%; height: 560px; background-size: cover; background-position: center; }
.people {
  position: absolute; left: 20px; bottom: 0; width: 420px; height: 300px;
  border-radius: 32px 32px 0 0; background-size: cover; background-position: center;
  box-shadow: var(--shadow-lg); border: 8px solid rgba(255,255,255,.76);
}
.people.no-photo { background: linear-gradient(155deg, var(--gold-light), var(--gold)); }

.float-card {
  position: absolute; background: rgba(255,255,255,.96); border: 1px solid rgba(20,35,49,.07);
  backdrop-filter: blur(18px); border-radius: 18px; box-shadow: var(--shadow);
  padding: 16px; display: flex; gap: 12px; align-items: flex-start; width: 210px; z-index: 2;
}
.float-card.one { right: -20px; top: 50px; }
.float-card.two { left: -22px; bottom: 34px; }
.float-card.three { right: -28px; bottom: -10px; }
.mini-icon { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 11px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; font-size: 18px; overflow: hidden; }
.mini-icon img { width: 100%; height: 100%; object-fit: cover; }
.float-card strong { display: block; font-size: 12px; margin-bottom: 4px; }
.float-card p, .float-card span { display: block; color: var(--muted); font-size: 10px; line-height: 1.45; margin: 0; }

.hero-slide-media { position: relative; min-height: 560px; background-size: cover; background-position: center; display: flex; align-items: center; }
.hero-slide-media:before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8,50,31,.90), rgba(8,50,31,.55)); }
.hero-slide-media .container { position: relative; z-index: 1; }
.hero-slide-badge { display: inline-block; background: var(--gold); color: var(--green-900); font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; margin-bottom: 16px; }
.hero-slide-media h2 { color: #fff; font-size: 38px; margin-bottom: 16px; }
.hero-slide-media .lede { color: rgba(255,255,255,.86); }

.hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; display: flex; gap: 8px; justify-content: center; }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(20,35,49,.25); cursor: pointer; padding: 0; transition: all .25s ease; }
.hero-dot.is-active { background: var(--green-700); width: 24px; border-radius: 5px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(20,35,49,.12);
  background: rgba(255,255,255,.85); color: var(--ink); font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .2s ease;
}
.hero-arrow:hover { background: var(--white); }
.hero-arrow-left { left: 20px; }
.hero-arrow-right { right: 20px; }

.stats {
  color: white;
  background: radial-gradient(circle at 10% 50%, rgba(255,255,255,.15), transparent 20%),
    linear-gradient(90deg, var(--green-800), var(--green-600), var(--green-800));
}
.stats-grid { min-height: 112px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; }
.stat { display: flex; align-items: center; gap: 14px; padding: 16px 24px; border-right: 1px solid rgba(255,255,255,.18); }
.stat:last-child { border-right: 0; }
.stat-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.13); display: grid; place-items: center; flex-shrink: 0; }
.stat-icon svg { width: 22px; height: 22px; }
.stat b, .stat-number { display: block; font-size: 26px; line-height: 1; margin-bottom: 4px; font-family: var(--font-display); }
.stat small, .stat-label { font-size: 11px; color: #dff8e7; }

section.py { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 34px; }
.section-kicker { text-transform: uppercase; color: var(--green-700); font-size: 12px; letter-spacing: .08em; font-weight: 800; }
.section-head h2 { font-size: 34px; margin: 8px 0 10px; letter-spacing: -.03em; }
.section-head p { color: var(--muted); font-size: 13px; max-width: 680px; margin: 0 auto; }
.section-cta { text-align: center; margin-top: 26px; }

.filter-tabs { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; justify-content: center; }
.filter-tab { padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--muted); font-family: var(--font-body); font-size: 14px; font-weight: 700; cursor: pointer; transition: all .2s ease; }
.filter-tab:hover { border-color: var(--gold); color: var(--green-700); }
.filter-tab.active { background: var(--green-700); border-color: var(--green-700); color: #fff; }

.programs { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.program-card { flex: 0 1 216px; }
.program-card {
  min-height: 260px; border-radius: 18px; padding: 20px 18px; color: white;
  position: relative; overflow: hidden; box-shadow: 0 16px 34px rgba(26,62,43,.12);
  transition: .25s ease;
}
.program-card:hover { transform: translateY(-9px); box-shadow: 0 26px 48px rgba(26,62,43,.24); }
.program-card:before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.18)); }
.program-card:after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(255,255,255,.17); right: -45px; bottom: -48px; }
.program-card.tone-0 { background: linear-gradient(145deg, #0a9a46, #067436); }
.program-card.tone-1 { background: linear-gradient(145deg, #a5b92e, #708c12); }
.program-card.tone-2 { background: linear-gradient(145deg, #0a9461, #076b46); }
.program-card.tone-3 { background: linear-gradient(145deg, #e5a523, #ad7211); }
.program-card.tone-4 { background: linear-gradient(145deg, #0d78af, #09527a); }
.program-card > * { position: relative; z-index: 1; }
.program-no { font-size: 19px; font-weight: 800; opacity: .95; }
.program-card h3 { font-size: 20px; line-height: 1.25; margin: 44px 0 12px; }
.program-card .program-fakultas { font-size: 11px; color: rgba(255,255,255,.86); min-height: 42px; }
.program-bottom { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; font-weight: 700; }
.program-arrow { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #15271b; display: grid; place-items: center; transition: transform .2s ease; }
.program-card:hover .program-arrow { transform: translateX(3px); }

footer.site-footer {
  margin-top: 0;
  background: linear-gradient(135deg, var(--green-950), var(--green-900) 52%, var(--green-950));
  color: #e8f7ee; padding: 0;
}
.footer-grid { padding: 52px 0 42px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.footer-brand { max-width: 270px; font-size: 11px; color: #c8e6d2; }
.footer-brand .brand-title { color: #fff; font-size: 13px; }
.footer-logo { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.socials { display: flex; gap: 8px; margin-top: 17px; }
.socials a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.10); transition: .2s ease; }
.socials a:hover { background: var(--gold); }
.socials svg { width: 14px; height: 14px; }
footer.site-footer h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 16px; color: #fff; }
footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer li { margin: 9px 0; font-size: 12px; color: #cbe3d4; }
footer.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); min-height: 54px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #bcd7c5; padding: 14px 0; flex-wrap: wrap; gap: 10px; }
.footer-links { display: flex; gap: 22px; }
.footer-admin-link { color: rgba(255,255,255,.3); }

.sticky-cta { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: var(--maroon); color: #fff; transform: translateY(-100%); transition: transform .3s ease; box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 24px; font-size: 14px; }

.beasiswa-popup-overlay { position: fixed; inset: 0; background: rgba(8,50,31,.55); backdrop-filter: blur(2px); z-index: 100; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .35s ease; padding: 20px; }
.beasiswa-popup-overlay.is-visible { opacity: 1; pointer-events: auto; }
.beasiswa-popup { background: #fff; border-radius: 18px; padding: 40px 34px; max-width: 420px; width: 100%; position: relative; transform: translateY(20px); transition: transform .35s ease; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.beasiswa-popup-overlay.is-visible .beasiswa-popup { transform: translateY(0); }
.beasiswa-popup h3 { font-size: 24px; margin: 14px 0 12px; }
.beasiswa-popup p { color: var(--muted); margin-bottom: 22px; }
.beasiswa-popup-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: none; background: var(--green-50); color: var(--muted); font-size: 20px; cursor: pointer; }
.beasiswa-kategori { display: inline-block; color: var(--green-700); background: var(--green-100); padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 12px; }

.search-inline { display: flex; align-items: center; background: var(--green-50); border-radius: 999px; transition: all .3s ease; overflow: hidden; }
.search-inline.is-open { background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.search-inline-input { width: 0; border: none; outline: none; background: transparent; font-size: 14px; color: var(--ink); padding: 0; opacity: 0; transition: all .3s ease; }
.search-inline.is-open .search-inline-input { width: 240px; padding: 0 14px 0 2px; opacity: 1; }
.search-results-dropdown {
  position: absolute; top: 100%; right: max(20px, calc((100% - 1180px)/2));
  width: 320px; background: #fff; border-radius: 14px; margin-top: 8px; overflow: hidden;
  box-shadow: var(--shadow-lg); max-height: 60vh; overflow-y: auto; display: none; z-index: 45;
}
.search-results-dropdown.has-results { display: block; }
.search-result-item { display: flex; flex-direction: column; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.search-result-item:hover { background: var(--green-50); }
.search-result-type { font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .04em; }
.search-result-label { font-size: 15px; color: var(--ink); font-weight: 700; margin-top: 2px; }
.search-result-sub { font-size: 13px; color: var(--muted); }
.search-result-item { display: flex; flex-direction: column; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.search-result-item:hover { background: var(--green-50); }
.search-result-type { font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .04em; }
.search-result-label { font-size: 15px; color: var(--ink); font-weight: 700; margin-top: 2px; }
.search-result-sub { font-size: 13px; color: var(--muted); }
.search-empty { padding: 20px; text-align: center; color: var(--muted); font-size: 14px; }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.16,.84,.44,1), transform .8s cubic-bezier(.16,.84,.44,1); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.halaman-layout { display: grid; grid-template-columns: 64px 1fr 280px; gap: 36px; align-items: start; margin-top: 8px; }
.halaman-social-rail { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 14px; }
.halaman-social-rail a { width: 40px; height: 40px; border-radius: 50%; background: var(--green-50); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--green-700); transition: all .2s ease; }
.halaman-social-rail a:hover { background: var(--green-700); color: #fff; transform: translateY(-3px); }
.halaman-social-rail svg { width: 18px; height: 18px; }
.halaman-sidebar { position: sticky; top: 100px; background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 22px; }
.halaman-sidebar h4 { color: var(--green-900); font-size: 17px; margin-bottom: 16px; }
.halaman-sidebar-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--green-50); }
.halaman-sidebar-item:last-child { border-bottom: none; }
.halaman-sidebar-item img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.halaman-sidebar-kategori { color: var(--gold); font-size: 11px; font-weight: 700; }
.halaman-sidebar-item p { font-size: 13px; color: var(--ink); margin: 2px 0 0; line-height: 1.4; }
.static-page-content { font-size: 16px; line-height: 1.8; color: var(--ink); }
.static-page-content h2 { font-size: 24px; margin: 32px 0 14px; }
.static-page-content h3 { font-size: 20px; margin: 26px 0 12px; }
.static-page-content p { margin: 0 0 18px; }
.static-page-content img { border-radius: 12px; margin: 20px 0; }
.static-page-content a { color: var(--green-700); text-decoration: underline; }

.empty-state { border: 1px dashed var(--line); padding: 32px; color: var(--muted); font-size: 15px; border-radius: 12px; }

@media (max-width: 1050px) {
  .menu { display: none; }
  .hero-wrap { grid-template-columns: 1fr; }
  .hero-art { min-height: 460px; }
  .programs { }
  .program-card { flex: 0 1 45%; }
  .halaman-layout { grid-template-columns: 1fr; }
  .halaman-social-rail { position: static; flex-direction: row; justify-content: center; margin-bottom: 16px; }
  .halaman-sidebar { position: static; order: 3; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 24px), 1180px); }
  .topbar { display: none; }
  .brand-sub { display: none; }
  .hero h1 { font-size: 40px; }
  .hero-art { height: 400px; }
  .campus { right: -140px; width: 480px; height: 380px; }
  .people { left: 10px; width: 280px; height: 220px; }
  .float-card { width: 170px; padding: 12px; }
  .float-card.one { right: 0; top: 30px; }
  .float-card.two { left: 0; bottom: 20px; }
  .float-card.three { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 14px 0; }
  .stat { min-height: 72px; border: 0; padding: 10px; }
  .stats-grid .stat:last-child { grid-column: 1/-1; }
  .program-card { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   BERITA — layout editorial (1 besar + 3 mini)
   ========================================================= */
.news-area { padding-top: 32px; }
.news-grid { display: grid; grid-template-columns: .8fr 1.45fr 1fr; gap: 18px; align-items: stretch; }
.news-intro { padding: 24px 12px 24px 0; }
.news-intro h2 { font-size: 28px; line-height: 1.15; margin: 9px 0 13px; letter-spacing: -.03em; }
.news-intro p { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.featured-news { display: block; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); min-height: 270px; }
.featured-image { min-height: 220px; background-size: cover; background-position: center; }
.featured-copy { padding: 22px; position: relative; }
.tag { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: var(--green-100); color: var(--green-700); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.date-badge {
  position: absolute; top: -30px; right: 22px;
  width: 46px; height: 54px; border-radius: 12px; background: var(--gold);
  color: #fff; display: grid; place-items: center; text-align: center;
  font-weight: 800; font-size: 10px; line-height: 1.05; box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.date-badge b { font-size: 18px; display: block; }
.featured-copy h3 { font-size: 16px; margin: 14px 0 8px; line-height: 1.4; }
.featured-copy p { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.featured-copy a { font-size: 12px; font-weight: 800; color: var(--green-700); }
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-mini { display: grid; grid-template-columns: 86px 1fr; gap: 12px; min-height: 80px; align-items: center; }
.news-mini-img { width: 86px; height: 72px; border-radius: 12px; background-size: cover; background-position: center; flex-shrink: 0; }
.news-mini span { display: block; width: max-content; font-size: 9px; font-weight: 800; padding: 4px 8px; border-radius: 999px; background: var(--green-100); color: var(--green-700); margin-bottom: 6px; text-transform: uppercase; }
.news-mini strong { display: block; font-size: 12px; line-height: 1.4; color: var(--ink); }

@media (max-width: 1050px) { .news-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .featured-news { display: block; } .featured-image { min-height: 200px; } }

/* =========================================================
   NILAI INTI (3 PILAR), RISET & PUBLIKASI, CTA SCHOLARSHIP
   ========================================================= */
.pilar-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.pilar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pilar-photo { height: 160px; background-size: cover; background-position: center; }
.pilar-photo.no-photo { background: linear-gradient(155deg, var(--green-500), var(--green-800)); }
.pilar-copy { padding: 20px; }
.pilar-copy h3 { font-size: 17px; color: var(--green-700); margin-bottom: 8px; }
.pilar-copy p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.pilar-link { font-size: 12px; font-weight: 800; color: var(--green-700); }

.riset-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: transform .25s ease, box-shadow .25s ease; }
.riset-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.riset-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green-100); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; overflow: hidden; }
.riset-icon img { width: 100%; height: 100%; object-fit: cover; }
.riset-icon-default { color: var(--green-700); }
.riset-card h3 { font-size: 16px; margin-bottom: 8px; }
.riset-card p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.riset-card a { font-size: 12px; font-weight: 800; color: var(--green-700); }
.riset-video { width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.riset-video iframe { width: 100%; height: 100%; border: 0; }

.scholarship-cta {
  background: linear-gradient(120deg, var(--green-600), var(--green-900));
  border-radius: 20px; padding: 40px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; color: #fff; position: relative; overflow: hidden;
}
.scholarship-cta h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.scholarship-cta p { color: rgba(255,255,255,.85); font-size: 14px; }
.scholarship-cta .btn-secondary { background: #fff; color: var(--green-800); border: none; white-space: nowrap; }

@media (max-width: 720px) {
  .scholarship-cta { flex-direction: column; align-items: flex-start; padding: 28px; }
}
