/* =========================================================
   FEB UMUS — Website Frontend
   Biru tua (utama) · Emas (aksen) · Putih (latar) · Abu-abu (pendukung)
   ========================================================= */
:root {
    --navy: #0b2e5f;
    --navy-2: #143f7c;
    --navy-dark: #061c3d;
    --gold: #c8a24a;
    --gold-2: #e3c26f;
    --gold-soft: #f8f1df;
    --ink: #1b2536;
    --muted: #5d6b80;
    --line: #e5e9f0;
    --soft: #f5f7fb;
    --radius: 16px;
    --shadow: 0 10px 30px -12px rgba(6, 28, 61, .18);
    --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-body-color: var(--ink);
    --bs-link-color: var(--navy-2);
    --bs-link-color-rgb: 20, 63, 124;
    --bs-link-hover-color: var(--gold);
    --bs-primary: var(--navy);
    --bs-primary-rgb: 11, 46, 95;
}
body { background: #fff; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: "Poppins", var(--bs-body-font-family); color: var(--navy-dark); font-weight: 600; line-height: 1.25; }
a { text-decoration: none; transition: color .15s; }
img { max-width: 100%; height: auto; }
.text-gold { color: var(--gold) !important; }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: var(--gold); color: var(--navy-dark); padding: .5rem 1rem; border-radius: 8px; }
.preview-bar { background: #fff3cd; color: #6b4e00; text-align: center; padding: .5rem 1rem; font-size: .9rem; border-bottom: 1px solid #f2d27a; }

/* Buttons & badges */
.btn { border-radius: 10px; font-weight: 500; }
.btn-navy { background: var(--navy); color: #fff; border: 0; } .btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy-dark); border: 0; font-weight: 600; } .btn-gold:hover { background: var(--gold-2); color: var(--navy-dark); }
.btn-outline-navy { border: 1.5px solid var(--navy); color: var(--navy); } .btn-outline-navy:hover { background: var(--navy); color: #fff; }
.badge-navy { background: var(--navy); color: #fff; }
.badge-gold { background: var(--gold); color: var(--navy-dark); }
.badge-soft { background: var(--gold-soft); color: #7a5b12; }
.badge { font-weight: 600; letter-spacing: .02em; border-radius: 6px; }
.link-arrow { font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow i { transition: transform .2s; font-size: .8em; } .link-arrow:hover i { transform: translateX(4px); }
.page-link { color: var(--navy); border-radius: 8px !important; margin: 0 2px; border-color: var(--line); }
.active > .page-link { background: var(--navy); border-color: var(--navy); }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(200,162,74,.2); }

/* Topbar & brand */
.topbar { background: var(--navy-dark); color: #b9c6dc; padding: .45rem 0; }
.topbar a { color: #b9c6dc; } .topbar a:hover { color: var(--gold-2); }
.social { display: flex; gap: .5rem; flex-wrap: wrap; }
.social a { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }
.social a:hover { background: var(--gold); color: var(--navy-dark); }
.social-sm a { width: 26px; height: 26px; font-size: .78rem; }
.brandbar { background: #fff; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .85rem; color: var(--navy-dark); min-width: 0; }
.brand-logo { height: 60px; width: auto; object-fit: contain; }
.brand-placeholder { width: 58px; height: 58px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--gold-2); display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }
.brand-placeholder.sm { width: 48px; height: 48px; font-size: 1.2rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-fak { font-family: Poppins, sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.brand-univ { font-weight: 600; color: var(--gold); font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.brand-tag { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.btn-search, .btn-menu { border: 1px solid var(--line); background: #fff; color: var(--navy); height: 44px; min-width: 44px; border-radius: 12px; }
.btn-search:hover, .btn-menu:hover { background: var(--navy); color: #fff; }
.search-modal { border-radius: 16px; padding: .5rem; border: 0; }
@media (max-width: 575.98px) { .brand-fak { font-size: .98rem; } .brand-univ { font-size: .72rem; } .brand-logo { height: 44px; } .brand-placeholder { width: 44px; height: 44px; font-size: 1.1rem; } }

/* Main navigation */
.mainnav { background: var(--navy); position: sticky; top: 0; z-index: 1030; box-shadow: 0 6px 18px -10px rgba(0,0,0,.4); }
.mainnav { --nav-pad: .85rem; --nav-fs: .93rem; }
.mainnav .navbar-nav { flex-direction: row; flex-wrap: wrap; gap: .1rem; }
.mainnav .nav-link { color: #dbe4f3; padding: .95rem var(--nav-pad); font-weight: 500; font-size: var(--nav-fs); position: relative; }
/* Desktop: semua menu selalu satu baris (tidak pernah turun ke baris kedua); jarak & huruf menyesuaikan lebar layar */
@media (min-width: 992px) {
    .mainnav { --nav-pad: .4rem; --nav-fs: .84rem; }
    .mainnav .navbar-nav { flex-wrap: nowrap; gap: 0; }
    .mainnav .nav-link { white-space: nowrap; }
    /* Dropdown melayang di bawah induknya: tidak ikut melebarkan item menu sehingga menu di sebelahnya tidak bergeser */
    .mainnav .navbar-nav .nav-item.dropdown { position: relative; }
    .mainnav .navbar-nav .dropdown-menu { position: absolute; top: 100%; left: 0; right: auto; margin: 0; width: max-content; max-width: 340px; }
    /* tiga menu terakhir: dropdown rata kanan agar tidak keluar dari layar */
    .mainnav .navbar-nav .nav-item.dropdown:nth-last-child(-n+3) > .dropdown-menu { left: auto; right: 0; }
}
@media (min-width: 1200px) { .mainnav { --nav-pad: .65rem; --nav-fs: .92rem; } }
@media (min-width: 1400px) { .mainnav { --nav-pad: .85rem; --nav-fs: .93rem; } .mainnav .navbar-nav { gap: .1rem; } }
.mainnav .nav-link:hover, .mainnav .nav-link.active, .mainnav .nav-link.show { color: #fff; }
.mainnav .nav-link.active::after { content: ""; position: absolute; left: var(--nav-pad); right: var(--nav-pad); bottom: 0; height: 3px; background: var(--gold); border-radius: 3px 3px 0 0; }
.mainnav .dropdown-menu { border: 0; border-radius: 12px; box-shadow: var(--shadow); padding: .5rem; margin-top: 0; min-width: 240px; border-top: 3px solid var(--gold); }
.mainnav .dropdown-item { border-radius: 8px; padding: .55rem .8rem; font-size: .92rem; color: var(--ink); }
.mainnav .dropdown-item:hover, .mainnav .dropdown-item.active { background: var(--gold-soft); color: var(--navy); }
@media (min-width: 992px) {
    .mainnav .dropdown:hover > .dropdown-menu { display: block; }
    .mainnav .offcanvas-header { display: none; }
}
@media (max-width: 991.98px) {
    .mainnav { position: static; box-shadow: none; }
    .mainnav .offcanvas-lg { background: var(--navy-dark); color: #fff; }
    .mainnav .offcanvas-title { color: #fff; }
    .mainnav .navbar-nav { flex-direction: column; }
    .mainnav .nav-link { padding: .75rem .25rem; border-bottom: 1px solid rgba(255,255,255,.06); }
    .mainnav .nav-link.active::after { display: none; }
    .mainnav .nav-link.active { color: var(--gold-2); }
    .mainnav .dropdown-menu { background: rgba(255,255,255,.04); box-shadow: none; border-top: 0; }
    .mainnav .dropdown-item { color: #cfd9ea; }
    .mainnav .dropdown-item:hover, .mainnav .dropdown-item.active { background: rgba(255,255,255,.08); color: var(--gold-2); }
    .mainnav > .container { padding: 0; }
}

/* Hero */
.hero { position: relative; background: var(--navy-dark); }
.hero-img { width: 100%; height: min(78vh, 640px) !important; min-height: 420px; object-fit: cover; display: block; }
.hero-caption { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(6,28,61,.88) 0%, rgba(6,28,61,.55) 45%, rgba(6,28,61,.05) 80%); }
.hero-box { max-width: 640px; color: #fff; }
.hero-eyebrow { display: inline-block; background: rgba(200,162,74,.18); border: 1px solid rgba(227,194,111,.5); color: var(--gold-2); padding: .3rem .9rem; border-radius: 99px; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.hero-title { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; margin-bottom: 1rem; text-wrap: balance; }
.hero-text { font-size: 1.12rem; opacity: .9; margin-bottom: 1.75rem; max-width: 540px; }
.carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 4px; background: #fff; opacity: .45; }
.carousel-indicators .active { background: var(--gold); opacity: 1; width: 44px; }
@media (max-width: 767.98px) { .hero-caption { background: linear-gradient(0deg, rgba(6,28,61,.92) 30%, rgba(6,28,61,.35)); align-items: flex-end; padding-bottom: 3.2rem; } .hero-img { min-height: 480px; } .hero-text { font-size: 1rem; } }

/* Quick links */
.quicklinks { position: relative; z-index: 5; margin-top: -46px; }
.quicklinks .row { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.quicklink { display: flex; align-items: center; gap: 1rem; padding: 1.35rem 1.5rem; color: var(--ink); border-right: 1px solid var(--line); height: 100%; }
.col-6:last-child .quicklink { border-right: 0; }
.quicklink i { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-size: 1.3rem; flex-shrink: 0; transition: .2s; }
.quicklink strong { display: block; color: var(--navy-dark); font-family: Poppins, sans-serif; font-weight: 600; }
.quicklink small { color: var(--muted); }
.quicklink:hover i { background: var(--navy); color: var(--gold-2); }
@media (max-width: 991.98px) { .quicklinks { margin-top: 0; padding-top: 1.25rem; } .quicklink { border-bottom: 1px solid var(--line); padding: 1rem; } .quicklink i { width: 42px; height: 42px; font-size: 1.05rem; } }

/* Sections */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.bg-soft { background: var(--soft); }
.section-head { max-width: 640px; margin: 0 auto 3rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: .6rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--gold-2); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; margin-bottom: 1rem; }
.lead-muted { font-size: 1.08rem; color: var(--muted); }
@media (max-width: 767.98px) { .section { padding: 3.25rem 0; } }

/* Dean */
.dean-photo { position: relative; max-width: 420px; margin: 0 auto; }
.dean-photo::before { content: ""; position: absolute; inset: 24px -18px -18px 24px; border: 3px solid var(--gold); border-radius: 22px; }
.dean-photo img { position: relative; border-radius: 22px; width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.dean-card { position: absolute; left: -12px; bottom: 28px; background: var(--navy); color: #fff; padding: .9rem 1.2rem; border-radius: 12px; box-shadow: var(--shadow); max-width: 85%; }
.dean-card strong { display: block; font-family: Poppins, sans-serif; } .dean-card span { color: var(--gold-2); font-size: .85rem; }
.quote-mark { font-size: 2.4rem; color: var(--gold); opacity: .4; line-height: 1; margin-bottom: .5rem; }
.dekanat-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.dekanat-mini img { border-radius: 50%; object-fit: cover; }
.dekanat-mini strong { display: block; font-size: .85rem; color: var(--navy-dark); line-height: 1.3; }
.dekanat-mini small { color: var(--muted); font-size: .78rem; }

/* Prodi card */
.prodi-card { background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%; box-shadow: 0 1px 2px rgba(6,28,61,.06); border: 1px solid var(--line); position: relative; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.prodi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.prodi-img { position: relative; aspect-ratio: 10/7; overflow: hidden; }
.prodi-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prodi-card:hover .prodi-img img { transform: scale(1.06); }
.prodi-icon { position: absolute; right: 1rem; bottom: -22px; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--gold); color: var(--navy-dark); font-size: 1.2rem; box-shadow: 0 6px 14px rgba(0,0,0,.15); }
.prodi-body { padding: 1.5rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.prodi-body h3 { font-size: 1.15rem; }
.prodi-body p { color: var(--muted); font-size: .92rem; flex: 1; }

/* Stats */
.stats-band { background: linear-gradient(120deg, var(--navy-dark), var(--navy-2)); padding: 3.5rem 0; color: #fff; position: relative; overflow: hidden; }
.stats-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 50px solid rgba(200,162,74,.1); right: -120px; top: -160px; }
.stat-item { position: relative; z-index: 1; }
.stat-item i { font-size: 1.6rem; color: var(--gold-2); margin-bottom: .6rem; display: block; }
.stat-num { display: block; font-family: Poppins, sans-serif; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.1; }
.stat-lbl { color: #b9c6dc; font-size: .92rem; }

/* News */
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; font-size: .82rem; color: var(--muted); margin-bottom: .6rem; }
.news-meta i { margin-right: .3rem; color: var(--gold); }
.news-featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.75rem; align-items: center; }
.news-featured-img, .news-img { display: block; overflow: hidden; border-radius: 14px; }
.news-featured-img img, .news-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .5s; }
.news-featured-img:hover img, .news-img:hover img { transform: scale(1.05); }
.news-featured h3 { font-size: 1.4rem; } .news-featured h3 a, .news-card h3 a { color: var(--navy-dark); } .news-featured h3 a:hover, .news-card h3 a:hover { color: var(--gold); }
.news-featured p { color: var(--muted); }
.news-card { height: 100%; }
.news-card .news-body { padding-top: .9rem; }
.news-card h3 { font-size: 1.02rem; line-height: 1.4; }
.news-list-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.news-list-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.news-list-card .news-img { border-radius: 0; }
.news-list-card .news-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.news-list-card h2 { font-size: 1.1rem; line-height: 1.4; } .news-list-card h2 a { color: var(--navy-dark); } .news-list-card h2 a:hover { color: var(--gold); }
.news-list-card p { color: var(--muted); font-size: .93rem; flex: 1; }
@media (max-width: 767.98px) { .news-featured { grid-template-columns: 1fr; gap: 1rem; } }

/* Side panels */
.side-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; background: var(--navy); color: #fff; }
.side-head h2 { font-size: 1rem; color: #fff; margin: 0; }
.side-head a { color: var(--gold-2); font-size: .85rem; font-weight: 600; }
.announce-list, .agenda-list { list-style: none; margin: 0; padding: .5rem 1.25rem; }
.announce-list li { display: flex; gap: .9rem; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.announce-list li:last-child, .agenda-list li:last-child { border-bottom: 0; }
.announce-list a { color: var(--ink); font-weight: 500; font-size: .93rem; line-height: 1.4; display: block; } .announce-list a:hover { color: var(--gold); }
.announce-list small { color: var(--muted); font-size: .78rem; }
.date-box { flex-shrink: 0; width: 52px; text-align: center; background: var(--gold-soft); color: #7a5b12; border-radius: 10px; padding: .35rem 0; font-size: .72rem; text-transform: uppercase; font-weight: 600; line-height: 1.2; }
.date-box b { display: block; font-size: 1.25rem; color: var(--navy); font-family: Poppins, sans-serif; }
.agenda-list li { padding: .75rem 0 .75rem .9rem; border-left: 3px solid var(--navy); margin: .6rem 0; }
.agenda-list li strong { display: block; font-size: .92rem; color: var(--navy-dark); font-weight: 600; }
.agenda-list li small { color: var(--muted); }
.b-warning { border-left-color: var(--gold) !important; } .b-danger { border-left-color: #c0392b !important; } .b-success { border-left-color: #198754 !important; } .b-secondary { border-left-color: #94a3b8 !important; }

/* Prestasi */
.bg-navy-pattern { background: radial-gradient(circle at 15% 20%, rgba(200,162,74,.14), transparent 40%), linear-gradient(135deg, var(--navy-dark), var(--navy)); }
.achv-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; height: 100%; color: #dbe4f3; transition: transform .2s; }
.achv-card:hover { transform: translateY(-5px); }
.achv-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.achv-body { padding: 1.25rem; } .achv-body h3 { color: #fff; font-size: 1.08rem; } .achv-body p { margin: 0; font-size: .9rem; opacity: .8; }

/* Galeri mosaic */
.gallery-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; }
.mosaic-item { position: relative; overflow: hidden; border-radius: 14px; display: block; }
.mosaic-item.big { grid-column: span 2; grid-row: span 2; }
.mosaic-item img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .5s; }
.mosaic-item:hover img { transform: scale(1.07); }
.mosaic-cap { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem .9rem; background: linear-gradient(transparent, rgba(6,28,61,.9)); color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.mosaic-cap small { display: block; color: var(--gold-2); font-weight: 500; font-size: .75rem; }
@media (max-width: 767.98px) { .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }

/* CTA */
.cta-pmb { padding: 0 0 4rem; }
.cta-box { background: linear-gradient(120deg, var(--gold), var(--gold-2)); border-radius: 22px; padding: 2.5rem 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; right: 20%; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.18); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin-bottom: .4rem; }
.cta-box p { color: #3b2f12; max-width: 640px; }
.cta-box .btn-gold { background: var(--navy); color: #fff; } .cta-box .btn-gold:hover { background: var(--navy-dark); }
@media (max-width: 575.98px) { .cta-box { padding: 1.75rem; } }

/* Partners */
.partners { border-top: 1px solid var(--line); }
.partner-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 2rem; }
.partner img { height: 76px; width: 76px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: .2s; border-radius: 12px; }
.partner:hover img { filter: none; opacity: 1; }

/* Page hero (halaman dalam) */
.page-hero { --hero-bg: none; position: relative; background: var(--navy); background-image: linear-gradient(110deg, rgba(6,28,61,.95), rgba(20,63,124,.85)), var(--hero-bg); background-size: cover; background-position: center; color: #fff; padding: 3.5rem 0 3rem; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(200,162,74,.14); }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; margin: 0; max-width: 900px; }
.page-hero .lead { color: #c7d3e6; margin-top: .6rem; font-size: 1.05rem; }
.page-hero .breadcrumb { margin-bottom: .9rem; font-size: .88rem; }
.page-hero .breadcrumb-item a { color: var(--gold-2); } .page-hero .breadcrumb-item.active { color: #c7d3e6; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: #8193b0; }

/* Content */
.content-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.prose { font-size: 1.04rem; line-height: 1.8; color: #2a3546; }
.prose h2, .prose h3 { margin-top: 1.8rem; } .prose img { height: auto; border-radius: 12px; margin: 1rem 0; }
.prose blockquote { border-left: 4px solid var(--gold); background: var(--gold-soft); padding: 1rem 1.25rem; border-radius: 0 12px 12px 0; font-style: italic; margin: 1.5rem 0; }
.prose table { width: 100%; margin: 1rem 0; } .prose table td, .prose table th { padding: .6rem .75rem; border: 1px solid var(--line); } .prose table th { background: var(--soft); }
.prose ul li, .prose ol li { margin-bottom: .4rem; }
.prose iframe { max-width: 100%; border-radius: 12px; }
.sidebar-nav-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 80px; }
.sidebar-nav-card h2 { font-size: 1rem; padding: 1rem 1.25rem; margin: 0; background: var(--navy); color: #fff; }
.sidebar-nav-card a { display: flex; align-items: center; gap: .6rem; padding: .8rem 1.25rem; color: var(--ink); border-bottom: 1px solid var(--line); font-size: .94rem; }
.sidebar-nav-card a:last-child { border-bottom: 0; }
.sidebar-nav-card a:hover { background: var(--soft); color: var(--navy); }
.sidebar-nav-card a.active { background: var(--gold-soft); color: var(--navy); font-weight: 600; box-shadow: inset 4px 0 0 var(--gold); }
.sidebar-nav-card a i { color: var(--gold); width: 18px; text-align: center; }
.vm-box { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--radius); padding: 2.25rem; position: relative; overflow: hidden; }
.vm-box p { font-size: 1.2rem; font-family: Poppins, sans-serif; line-height: 1.6; margin: 0; }
.vm-box i.bg { position: absolute; right: 1.5rem; bottom: -1rem; font-size: 7rem; opacity: .08; }
.num-list { counter-reset: n; list-style: none; padding: 0; margin: 0; }
.num-list li { counter-increment: n; position: relative; padding: 1rem 1rem 1rem 3.75rem; border: 1px solid var(--line); border-radius: 12px; margin-bottom: .75rem; background: #fff; }
.num-list li::before { content: counter(n); position: absolute; left: 1rem; top: 1rem; width: 32px; height: 32px; border-radius: 9px; background: var(--gold-soft); color: var(--navy); font-weight: 700; display: grid; place-items: center; font-family: Poppins, sans-serif; }

/* People cards */
.person-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; height: 100%; transition: .2s; position: relative; }
.person-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.person-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--soft); }
.person-card .p-body { padding: 1rem 1rem 1.25rem; }
.person-card h3 { font-size: 1rem; margin-bottom: .25rem; line-height: 1.35; }
.person-card .role { color: var(--gold); font-weight: 600; font-size: .85rem; }
.person-card small { color: var(--muted); display: block; font-size: .8rem; }
.org-chart { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.org-level { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; position: relative; }
.org-node { width: 210px; }

/* Prodi detail */
.prodi-hero-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.prodi-hero-meta span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); padding: .35rem .85rem; border-radius: 99px; font-size: .85rem; }
.prodi-tabs { position: sticky; top: 52px; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.prodi-tabs .nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.prodi-tabs .nav-link { color: var(--muted); font-weight: 500; white-space: nowrap; padding: 1rem .9rem; border-bottom: 3px solid transparent; border-radius: 0; }
.prodi-tabs .nav-link.active, .prodi-tabs .nav-link:hover { color: var(--navy); border-bottom-color: var(--gold); }
.info-tile { background: var(--soft); border-radius: 12px; padding: 1rem 1.15rem; height: 100%; }
.info-tile small { color: var(--muted); display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.info-tile strong { color: var(--navy-dark); font-family: Poppins, sans-serif; }
.leader-card { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem; }
.leader-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.table-kurikulum th { background: var(--navy); color: #fff; font-weight: 500; font-size: .88rem; }
.table-kurikulum td { font-size: .92rem; }
@media (max-width: 991.98px) { .prodi-tabs { top: 0; } }

/* Filters & misc */
.filter-bar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin-bottom: 2rem; }
.chip { display: inline-block; padding: .4rem .95rem; border-radius: 99px; border: 1px solid var(--line); color: var(--ink); font-size: .88rem; margin: 0 .35rem .5rem 0; background: #fff; }
.chip:hover { border-color: var(--gold); color: var(--navy); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.empty-state { text-align: center; padding: 3.5rem 1rem; color: var(--muted); }
.empty-state i { font-size: 2.6rem; color: #c6cfdc; margin-bottom: .75rem; }
.doc-item { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.25rem; transition: .2s; }
.doc-item:hover { border-color: var(--gold); box-shadow: 0 6px 18px -10px rgba(6,28,61,.25); }
.doc-icon { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: #fdecea; color: #c0392b; font-size: 1.3rem; flex-shrink: 0; }
.doc-icon.word { background: #e7effd; color: #2b5797; } .doc-icon.excel { background: #e6f4ea; color: #1e7145; } .doc-icon.ppt { background: #fdeee5; color: #d24726; } .doc-icon.zip { background: #f1f1f1; color: #555; }
.doc-item h3 { font-size: 1rem; margin: 0 0 .2rem; }
.doc-item small { color: var(--muted); }
.album-card { display: block; border-radius: var(--radius); overflow: hidden; position: relative; background: #000; }
.album-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; opacity: .9; transition: transform .5s, opacity .3s; }
.album-card:hover img { transform: scale(1.06); opacity: 1; }
.album-card .cap { position: absolute; inset: auto 0 0 0; padding: 3rem 1.15rem 1rem; background: linear-gradient(transparent, rgba(6,28,61,.95)); color: #fff; }
.album-card .cap h2 { font-size: 1.05rem; color: #fff; margin: .25rem 0 0; }
.album-card .count { position: absolute; top: .8rem; right: .8rem; background: rgba(6,28,61,.75); color: #fff; padding: .25rem .65rem; border-radius: 99px; font-size: .8rem; }
.photo-thumb { display: block; border-radius: 12px; overflow: hidden; }
.photo-thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s; }
.photo-thumb:hover img { transform: scale(1.06); }
.research-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; height: 100%; display: flex; gap: 1.15rem; }
.research-item img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.research-item h2 { font-size: 1.05rem; line-height: 1.4; } .research-item h2 a { color: var(--navy-dark); } .research-item h2 a:hover { color: var(--gold); }
@media (max-width: 575.98px) { .research-item { flex-direction: column; } .research-item img { width: 100%; height: 160px; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: flex; gap: 1rem; align-items: flex-start; height: 100%; }
.contact-card i { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold-2); flex-shrink: 0; }
.contact-card strong { display: block; color: var(--navy-dark); }
.map-frame iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); }
.share-links a { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--navy); margin-right: .35rem; }
.share-links a:hover { background: var(--navy); color: #fff; }
.cal-month { font-family: Poppins, sans-serif; color: var(--navy); font-size: 1.1rem; margin: 2rem 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--gold); display: inline-block; }
.search-result { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.search-result h3 { font-size: 1.08rem; margin: .2rem 0; }
mark { background: #fff1c2; padding: 0 .15em; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #b9c6dc; padding-top: 4rem; margin-top: 0; }
.footer-logo { height: 56px; width: auto; background: #fff; border-radius: 12px; padding: 4px; }
.footer-title { color: #fff; font-size: 1.02rem; margin-bottom: 1.1rem; position: relative; padding-bottom: .7rem; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; background: var(--gold); border-radius: 3px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a, .footer-contact a { color: #b9c6dc; font-size: .93rem; } .footer-links a:hover, .footer-contact a:hover { color: var(--gold-2); }
.footer-contact { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .92rem; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .7rem; } .footer-contact i { color: var(--gold); margin-top: .3rem; }
.footer-map iframe { width: 100%; height: 160px; border: 0; border-radius: 12px; filter: grayscale(.3); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0; margin-top: 3rem; }
.footer-bottom a { color: #b9c6dc; } .footer-bottom a:hover { color: var(--gold-2); }
.back-to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--gold); color: var(--navy-dark); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .25s; z-index: 1040; }
.back-to-top.show { opacity: 1; visibility: visible; }

/* Reveal animation */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
    .reveal.in { opacity: 1; transform: none; }
}

/* Mobile: gutter besar (g-5) melebihi padding container → cegah scroll horizontal */
@media (max-width: 991.98px) { .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; } }
html, body { overflow-x: clip; }
