/*
Theme Name: LPM Unsuda
Theme URI: https://unsuda.ac.id/
Author: LPM Universitas Sunan Drajat
Author URI: https://unsuda.ac.id/
Description: Tema WordPress kustom untuk LPM Universitas Sunan Drajat, dikembangkan dari tampilan statis.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lpm-unsuda
*/

/* =========================
       SOFT GREEN THEME TOKENS
       ========================= */
    :root{
      /* Hijau lembut & cerah */
      --brand:#16a34a;        /* Emerald 600 (utama, secukupnya saja) */
      --brand-500:#22c55e;    /* Emerald 500 */
      --brand-400:#34d399;    /* Mint/teal lembut untuk aksen */
      --mint-50:#f0fdf4;      /* Latar sangat terang */
      --mint-100:#ecfdf5;     /* Gradasi terang */
      --mint-150:#e8fff2;     /* Tambahan nuansa mint */
      --lemon-50:#fcfde7;     /* Aksen kuning lembut */
      --card:#ffffff;
      --line:#e5efe8;         /* Garis lembut kehijauan */
      --text:#0f172a;         /* Slate-900 untuk kontras yang baik */
      --text-soft:#475569;    /* Slate-600 */
      --muted:#6b7280;
      --radius:16px;
      --shadow:0 10px 30px rgba(2,6,23,.06);
      --shadow-lg:0 30px 60px rgba(2,6,23,.10);
      --container:1180px;
    }

    /* ===== Base reset & Typography ===== */
    *,*::before,*::after{box-sizing:border-box}
    body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Inter,Roboto,Ubuntu,Arial,sans-serif;color:var(--text);line-height:1.65;background:var(--mint-50)}
    img{max-width:100%;display:block}
    a{color:#128147;text-decoration:none}
    a:hover{color:#0e6a39}
    .container{max-width:var(--container);margin-inline:auto;padding:0 20px}
    .btn{display:inline-flex;align-items:center;gap:.6rem;padding:.85rem 1.05rem;border-radius:12px;font-weight:700;border:1px solid transparent;cursor:pointer;transition:.25s ease}
    .btn-primary{background:var(--brand-500);color:#062a14;border-color:#bbf7d0}
    .btn-primary:hover{background:var(--brand);color:#fff}
    .btn-ghost{background:#ffffffd9;color:#065f46;border-color:#bbf7d0}
    .btn-ghost:hover{background:#ffffff}
    .btn-outline{background:#fff;border-color:#bbf7d0;color:#065f46;box-shadow:0 8px 24px rgba(15,23,42,.06)}
    .btn-outline:hover{background:#dcfce7;color:#065f46;border-color:#86efac;box-shadow:0 12px 28px rgba(15,23,42,.08)}
    .tag{display:inline-block;padding:.32rem .6rem;border-radius:999px;font-size:.78rem;font-weight:700;background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}

    .card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:18px}

    /* ===== Navbar (terang) ===== */
    .navbar{position:sticky;top:0;z-index:50;background:#ffffffd6;backdrop-filter:saturate(120%) blur(8px);border-bottom:1px solid #e6f2eb}
    .nav-inner{display:flex;align-items:center;justify-content:space-between;padding:.8rem}
    .brand{display:flex;align-items:center;gap:.8rem;font-weight:900;color:#065f46}
    .brand-text{display:flex;flex-direction:column;line-height:1.1}
    .brand-title{font-size:1rem;font-weight:900;color:#065f46}
    .brand-tagline{font-size:.78rem;font-weight:600;color:var(--text-soft)}
    .brand-logo-wrap{width:44px;height:44px;border-radius:12px;border:1px solid rgba(15,23,42,.08);box-shadow:var(--shadow);display:grid;place-items:center;background:#fff;overflow:hidden}
    .brand-logo{width:100%;height:100%;object-fit:contain}
    .brand .logo{width:40px;height:40px;border-radius:10px;background:radial-gradient(100% 100% at 50% 0%,#fffbd1 0%,#ffe97a 55%,#ffd24d 100%);border:2px solid rgba(0,0,0,.04);box-shadow:var(--shadow);display:grid;place-items:center;color:#065f46;font-size:.9rem}
    .nav-links{display:flex;gap:.25rem .5rem;align-items:center;flex-wrap:wrap;list-style:none;margin:0;padding:0}
    .nav-links li{margin:0}
    .nav-links a{padding:.55rem .8rem;border-radius:10px;color:#064e3b;font-weight:700;display:inline-block}
    .nav-links a.active,.nav-links a:hover{background:#dcfce7;color:#065f46}
    .nav-cta{display:flex;gap:.6rem;align-items:center}
    .burger{display:none;width:40px;height:40px;border-radius:10px;border:1px solid #d1fae5;background:#fff}

    .mobile-menu{display:none;border-top:1px solid #e6f2eb;background:#fff}
    .mobile-menu.is-open{display:block}
    .mobile-menu-list{list-style:none;margin:0;padding:0}
    .mobile-menu a{display:block;padding:12px 20px;border-bottom:1px dashed #e6f2eb;color:#064e3b;font-weight:700}
    .mobile-menu-list li:last-child a{border-bottom:none}

    /* ===== Hero (sangat terang, hijau lembut) ===== */
    .hero{
      color:#064e3b;
      background:
        radial-gradient(800px 320px at 90% -10%, rgba(34,197,94,.18), transparent 60%),
        radial-gradient(900px 380px at 0% 0%, rgba(52,211,153,.18), transparent 60%),
        linear-gradient(180deg, var(--mint-100), var(--mint-150) 65%, #ffffff);
    }
    .hero-wrap{display:grid;grid-template-columns:1.15fr .85fr;gap:36px;padding:66px 0}
    .kicker{display:inline-flex;align-items:center;gap:.6rem;margin-bottom:12px}
    .kicker .dot{width:8px;height:8px;border-radius:999px;background:var(--brand-400)}
    .hero h1{font-size:clamp(2rem,2.3vw + 1rem,3rem);line-height:1.15;margin:0 0 12px}
    .hero p.lead{font-size:clamp(1rem,.6vw + .95rem,1.15rem);color:#115e59;margin:0 0 18px}
    .hero-card{background:#ffffffd9;border:1px solid #d1fae5;border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}
    .cta{display:flex;gap:12px;flex-wrap:wrap}

    .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}
    .stat{background:#ffffff;border:1px solid #e6f2eb;border-radius:14px;padding:14px;text-align:center;box-shadow:var(--shadow)}
    .stat .num{font-weight:900;font-size:1.35rem;color:#065f46}
    .stat .lbl{color:#0f5132;font-size:.9rem}

    /* ===== Agenda Card ===== */
    .agenda-card{display:flex;flex-direction:column;gap:0;padding:0;border-radius:18px;background:#fff;border:1px solid #d1fae5;box-shadow:var(--shadow);overflow:hidden}
    .agenda-card__head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #d1fae5}
    .agenda-card__title{font-weight:900;color:#064e3b;font-size:1rem}
    .agenda-card__body{padding:16px}
    .agenda-card__footer{padding:0 16px 16px}
    .agenda-timeline{position:relative;padding-left:16px}
    .agenda-timeline::before{content:"";position:absolute;left:8px;top:0;bottom:0;border-left:2px dashed #d9fbe5}
    .agenda-row{position:relative;display:grid;grid-template-columns:90px 1fr;gap:14px;padding:12px 0}
    .agenda-row::before{content:"";position:absolute;left:0;top:24px;width:12px;height:12px;border-radius:50%;background:var(--agenda-color,#10b981);transform:translateX(-6px);box-shadow:0 0 0 3px #fff}
    .agenda-date{display:flex;flex-direction:column;align-items:flex-start;background:#f1f5f9;border:1px solid #d1fae5;border-radius:14px;padding:8px 10px;font-weight:900;color:#0f172a}
    .agenda-date .agenda-date__day{font-size:20px;line-height:1}
    .agenda-date .agenda-date__month{font-size:12px;color:#475569;text-transform:uppercase}
    .agenda-content{display:flex;flex-direction:column;gap:6px}
    .agenda-title{font-weight:900;font-size:.95rem;color:#0f172a}
    .agenda-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#475569}
    .agenda-chip{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;background:#f8fafc;border:1px solid #d9fbe5;font-weight:800;color:#065f46}
    .agenda-chip .agenda-dot{width:8px;height:8px;border-radius:999px;background:var(--agenda-color,#10b981)}
    .agenda-link{color:inherit;text-decoration:none}
    .agenda-link:hover{text-decoration:underline}
    .agenda-pager{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
    .agenda-pager .pages{display:flex;align-items:center;gap:6px}
    .agenda-pager .dots{color:#64748b;font-weight:700}
    .agenda-pager .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;border-radius:10px;border:1px solid #d1fae5;background:#f8fafc;color:#065f46;font-weight:800;cursor:pointer;transition:.2s ease}
    .agenda-pager .btn.primary{background:linear-gradient(180deg,#16a34a,#22c55e);border-color:#16a34a;color:#fff}
    .agenda-pager .btn:disabled{opacity:.45;cursor:not-allowed}

    /* ===== Sections ===== */
    main#site-content > section{padding:30px 0;position:relative}
    .section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:5px;margin-bottom:5px}
    .section-head h2{margin:0;font-size:clamp(1.3rem,.9vw + 1rem,2rem);color:#064e3b}
    .section-desc{color:var(--text-soft);max-width:800px}
    :target{scroll-margin-top:92px}

    /* ===== Struktur ===== */
    .grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;align-items:stretch}
    .struktur-grid{position:relative}
    .person{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px;gap:12px}
    .person-photo{width:190px;height:280px;border-radius:22px;overflow:hidden;border:3px solid #fff;box-shadow:var(--shadow);background:#e2e8f0}
    .person-photo img{width:100%;height:100%;object-fit:cover}
    .avatar{width:190px;height:280px;border-radius:22px;background:conic-gradient(from 230deg,#dcfce7,#86efac,#34d399,#dcfce7);display:grid;place-items:center;color:#065f46;font-weight:900;border:3px solid #fff;box-shadow:var(--shadow);font-size:2.6rem;text-transform:uppercase}
    .person-info{display:flex;flex-direction:column;gap:6px}
    .person .role{font-weight:800;color:#047857;letter-spacing:.4px;text-transform:uppercase;font-size:.78rem}
    .person .name{font-weight:900;color:#062a14;font-size:1.02rem}
    .person small{color:var(--text-soft);font-size:.9rem}
    .pill{display:inline-block;padding:.26rem .55rem;border-radius:999px;background:#f0fdf4;border:1px solid #d1fae5;color:#065f46;font-size:.72rem}
    .struktur-cta{margin-top:24px;display:flex;justify-content:center}

    /* ===== Single Post ===== */
    .single-section{padding:96px 0;background:linear-gradient(180deg,#f0fdf4 0%,#ffffff 45%,#f8fafc 100%)}
    .single-entry{position:relative;background:#ffffff;border:1px solid #d1fae5;border-radius:26px;padding:36px;box-shadow:0 28px 60px rgba(15, 118, 110, 0.12);max-width:860px;margin-inline:auto;overflow:hidden}
    .single-entry::before{content:"";position:absolute;inset:0;border-radius:26px;background:linear-gradient(135deg,rgba(34,197,94,.08),rgba(21,128,61,.04));z-index:0}
    .single-entry > *{position:relative;z-index:1}
    .single-entry__back{display:inline-flex;align-items:center;gap:8px;font-size:.9rem;color:#047857;font-weight:700;margin-bottom:18px;border-radius:999px;padding:6px 14px;background:#ecfdf5;border:1px solid #bbf7d0;transition:.25s ease}
    .single-entry__back:hover{background:#d1fae5;color:#065f46}
    .single-entry__back:hover{text-decoration:underline}
    .single-entry__title{margin:0 0 18px;font-size:clamp(2rem,1.6vw + 1.4rem,2.6rem);color:#022c22;line-height:1.25}
    .single-entry__meta{display:flex;gap:18px;flex-wrap:wrap;font-size:.9rem;color:#334155;margin-bottom:28px}
    .single-entry__meta-item{display:flex;flex-direction:column;gap:4px;padding:10px 14px;border-radius:16px;background:#f8fafc;border:1px solid #dbeafe;min-width:150px}
    .single-entry__meta-item--author{background:#fefce8;border-color:#fef08a}
    .single-entry__meta-item--category{background:#f0fdf4;border-color:#bbf7d0}
    .single-entry__meta-label{text-transform:uppercase;font-size:.7rem;font-weight:800;letter-spacing:.08em;color:#047857}
    .single-entry__thumbnail{margin:0 0 28px;border-radius:22px;overflow:hidden;box-shadow:0 20px 50px rgba(15, 118, 110, 0.18)}
    .single-entry__thumbnail img{width:100%;height:auto;display:block}
    .single-entry__content{color:#0f172a;font-size:1.08rem;line-height:1.85}
    .single-entry__content p{margin:0 0 1.4em}
    .single-entry__content > p:first-of-type::first-letter{font-size:3.2rem;font-weight:800;float:left;line-height:.9;margin:.08em .18em 0 0;color:#059669}
    .single-entry__content a{color:#047857;font-weight:600;text-decoration:underline;text-decoration-color:#86efac;text-decoration-thickness:2px}
    .single-entry__content a:hover{text-decoration-color:#047857}
    .single-entry__content blockquote{margin:24px 0;padding:22px 26px;border-left:5px solid #22c55e;background:linear-gradient(135deg,#f0fdf4 0%,#dcfce7 100%);border-radius:18px;color:#064e3b;font-style:italic;box-shadow:0 12px 24px rgba(34,197,94,.12)}
    .single-entry__content ul, .single-entry__content ol{margin:0 0 1.4em 1.4em;color:#0f172a}
    .single-entry__content ul li{margin-bottom:.6em;position:relative;padding-left:.4em}
    .single-entry__content ul li::marker{color:#16a34a;font-weight:700}
    .single-entry__content ol{counter-reset:counter}
    .single-entry__content table{width:100%;border-collapse:collapse;margin:24px 0;border:1px solid #dbeafe;border-radius:12px;overflow:hidden}
    .single-entry__content table th,
    .single-entry__content table td{padding:12px 16px;border-bottom:1px solid #e2e8f0;text-align:left}
    .single-entry__content table thead th{background:#f1f5f9;font-weight:700;color:#0f172a;text-transform:uppercase;font-size:.78rem;letter-spacing:.05em}
    .single-entry__content pre{background:#0f172a;color:#fff;padding:18px 22px;border-radius:14px;overflow:auto;margin:24px 0;font-size:.95rem}
    .single-entry__footer{margin-top:32px;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center}
    .single-entry__tags{font-size:.9rem;color:#475569}
    .single-entry__tags strong{margin-right:6px;color:#064e3b}
    .single-entry__share{display:flex;align-items:center;gap:12px;font-size:.9rem}
    .single-entry__share-label{font-weight:700;color:#064e3b}
    .single-entry__share-link{padding:8px 12px;border-radius:999px;border:1px solid #bbf7d0;background:#f0fdf4;color:#047857;font-weight:700;transition:.2s ease}
    .single-entry__share-link:hover{background:#22c55e;color:#fff}
    .single-navigation{max-width:860px;margin:30px auto 0;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}
    .single-navigation a{flex:1 1 280px;border:1px solid #d1fae5;border-radius:18px;padding:18px 20px;background:linear-gradient(180deg,#ffffff 0%,#f8fffb 100%);box-shadow:0 16px 40px rgba(15, 118, 110, 0.12);color:#064e3b;display:flex;flex-direction:column;gap:8px;transition:transform .25s ease, box-shadow .25s ease}
    .single-navigation a:hover{transform:translateY(-4px);box-shadow:0 20px 50px rgba(15, 118, 110, 0.18)}
    .single-navigation__label{font-size:.78rem;font-weight:700;text-transform:uppercase;color:#047857;letter-spacing:.08em}
    .single-navigation__title{font-weight:900;font-size:1.05rem}
    .single-entry__back--inline{margin-top:18px}

    /* ===== Visi & Misi ===== */
    .visi{background:linear-gradient(180deg,#ffffff,#f6fff6);border:1px solid #d9fbe5;border-radius:var(--radius);box-shadow:var(--shadow);padding:26px}
    .visi q{display:block;font-size:clamp(1.05rem,.65vw + .95rem,1.35rem);color:#062a14;quotes:"\201C" "\201D" "\2018" "\2019"}
    .visi q::before{content:open-quote;color:#22c55e;font-size:2.1rem;vertical-align:-.4rem;margin-right:.35rem}
    .visi q::after{content:close-quote;color:#22c55e;font-size:2.1rem;vertical-align:-.4rem;margin-left:.2rem}
    .misi-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
    .misi-item{position:relative;display:flex;flex-direction:column;gap:8px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:var(--shadow);overflow:hidden}
    .misi-item h3{margin:.1rem 0 .25rem;font-size:1rem}
    .misi-item .mission-body p{margin:0;color:var(--text-soft);font-size:.95rem}
    .misi-item::after{content:"";position:absolute;inset:auto -40% -55% auto;width:160px;height:160px;border-radius:50%;background:radial-gradient(120px 120px at 50% 50%,rgba(34,197,94,.18),transparent 70%)}

    /* ===== Layanan ===== */
    .cards-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
    .card h3{margin:.2rem 0 .4rem;font-size:1.02rem}
    .card p{margin:0;color:var(--text-soft)}

    /* ===== Akreditasi ===== */
    #akreditasi{padding:30px 0;background:var(--mint-50)}
    .akreditasi-container{padding:0 20px}
    .akreditasi-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px;flex-wrap:wrap}
    .akreditasi-title{margin:0;font-size:clamp(1.35rem,1.2vw + 1rem,2.1rem);font-weight:800;color:#064e3b}
    .akreditasi-sub{margin:4px 0 0;color:var(--text-soft);max-width:640px}
    .akreditasi-badge{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;border-radius:12px;padding:10px 14px;background:#0f5132;color:#fff;min-width:90px;box-shadow:0 12px 24px rgba(15,81,50,.25)}
    .akreditasi-badge span{font-size:.75rem;opacity:.85;text-transform:uppercase;letter-spacing:.6px}
    .akreditasi-badge strong{font-size:1.2rem;margin-top:4px}
    .akreditasi-card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}
    .akreditasi-filters{display:flex;flex-wrap:wrap;gap:12px;padding:18px;border-bottom:1px solid var(--line);background:#f8fafc}
    .akreditasi-filters .filter{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:1px solid #dfe7f1;border-radius:12px;background:#f1f5f9;min-width:190px;box-shadow:0 6px 16px rgba(15,23,42,.05)}
    .akreditasi-filters .filter span{font-size:.75rem;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.5px}
    .akreditasi-filters .filter select,
    .akreditasi-filters .filter input{border:none;background:transparent;outline:none;font-size:.95rem;color:var(--text);min-width:160px}
    .akreditasi-filters .filter.search input{min-width:220px}
    .filter-reset{margin-left:auto;background:linear-gradient(180deg,#16a34a,#22c55e);color:#fff;border:none;border-radius:12px;padding:12px 18px;font-weight:700;cursor:pointer;box-shadow:0 10px 24px rgba(22,163,74,.25)}
    .filter-reset:hover{background:linear-gradient(180deg,#15803d,#22c55e)}
    .table-wrap{width:100%;overflow:auto}
    #akreditasiTable{width:100%;border-collapse:separate;border-spacing:0;background:#fff}
    #akreditasiTable thead th{position:sticky;top:0;background:#f6fff9;border-bottom:1px solid var(--line);font-size:.75rem;letter-spacing:.4px;text-transform:uppercase;color:#036245;padding:14px 12px;z-index:1}
    #akreditasiTable tbody td{padding:14px 12px;border-bottom:1px solid var(--line);font-size:.93rem;color:var(--text-soft)}
    #akreditasiTable tbody tr:nth-child(even){background:#f9fdfb}
    #akreditasiTable tbody tr:hover{background:#ecfdf8}
    #akreditasiTable .col-no{width:52px;font-weight:700;color:#036245;text-align:center}
    #akreditasiTable .aksi{display:flex;gap:8px;flex-wrap:wrap}
    #akreditasiTable .aksi .btn{padding:8px 12px;font-size:.85rem}
    #akreditasiTable .aksi .btn.btn-primary{background:linear-gradient(180deg,#16a34a,#22c55e);color:#fff;border-color:#16a34a}
    #akreditasiTable .badge{display:inline-block;padding:4px 10px;border-radius:999px;font-weight:700;font-size:.78rem}
    #akreditasiTable .badge.unggul{background:#dcfce7;color:#0f5132}
    #akreditasiTable .badge.baik{background:#fef9c3;color:#854d0e}
    .akreditasi-foot{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;flex-wrap:wrap}
    .akreditasi-foot p{margin:0;color:var(--text-soft)}
    .akreditasi-pagination{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:12px;flex-wrap:wrap}
    .akreditasi-pagination.is-hidden{display:none}
    .akreditasi-pagination .page-btn{padding:8px 14px;border-radius:10px;border:1px solid #bbf7d0;background:#fff;color:#065f46;font-weight:700;cursor:pointer;transition:.2s ease}
    .akreditasi-pagination .page-btn:hover:not(:disabled){background:#dcfce7}
    .akreditasi-pagination .page-btn:disabled{opacity:.5;cursor:not-allowed;background:#f1f5f9}
    .akreditasi-pagination .page-btn.number{padding:8px 12px;min-width:44px}
    .akreditasi-pagination .page-btn.number.is-active{background:#22c55e;color:#fff;border-color:#16a34a}
    .akreditasi-pagination .page-numbers{display:flex;gap:6px;flex-wrap:wrap}

    /* ===== Dokumen SPMI ===== */
    .docs{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
    .doc{display:flex;flex-direction:column;gap:16px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:var(--shadow)}
    .doc-body h3{margin:0 0 .2rem}
    .doc-body p{margin:0;color:var(--text-soft);font-size:.94rem}
    .doc a{font-weight:800}
    .doc-action{margin-top:auto}
    .doc .meta{color:#64748b;font-size:.85rem}
    .docs-archive .section-head{text-align:center;margin-bottom:20px}
    .docs-archive .docs{margin-top:20px}

    /* ===== Galeri (Slider, terang) ===== */
    .slider{position:relative;border-radius:16px;overflow:hidden;border:1px solid #dff4e7;box-shadow:var(--shadow-lg);background:#fff}
    .slides{display:flex;transition:transform .6s cubic-bezier(.22,.61,.36,1)}
    .slide{min-width:100%;height:520px;display:grid;place-items:end;padding:20px;color:#064e3b;position:relative}
    .slide::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.2),rgba(255,255,255,.85));z-index:0;transition:background .3s ease}
    .slide.has-image::before{content:none}
    .slide .caption{position:relative;z-index:1;background:#ffffffd6;border:1px solid #d1fae5;border-radius:12px;padding:10px 12px;color:#064e3b}
    .s-1{background:linear-gradient(180deg,#e9fdf1,#e0ffe9), url('') center/cover no-repeat}
    .s-2{background:linear-gradient(180deg,#f3fff7,#e7fff0), url('') center/cover no-repeat}
    .s-3{background:linear-gradient(180deg,#fffdea,#fff8d1), url('') center/cover no-repeat}
    .slider .nav{position:absolute;inset:auto 0 12px 0;display:flex;justify-content:center;gap:8px;z-index:2}
    .dot{width:10px;height:10px;border-radius:999px;background:#bbf7d0;border:1px solid #86efac;cursor:pointer}
    .dot.active{background:#10b981;border-color:#10b981}
    .prev,.next{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:44px;height:44px;border-radius:999px;border:1px solid #d1fae5;background:#ffffffc7;color:#065f46;display:grid;place-items:center;cursor:pointer}
    .prev{left:10px}.next{right:10px}
    .prev:hover,.next:hover{background:#fff}

    /* ===== Berita ===== */
    .news{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
    .news .item{display:flex;flex-direction:column;border-radius:16px;overflow:hidden;background:#ffffff;border:1px solid rgba(15,23,42,.08);box-shadow:0 10px 40px rgba(15,23,42,.08);transition:transform .3s ease,box-shadow .3s ease}
    .news .item:hover{transform:translateY(-6px);box-shadow:0 18px 50px rgba(15,23,42,.12)}
    .news .thumb{aspect-ratio:16/9;background:linear-gradient(180deg,#e8fdf2,#dff6e9);background-size:cover;background-position:center;position:relative;overflow:hidden}
    .news .thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,42,.0) 40%,rgba(15,23,42,.12) 100%);pointer-events:none}
    .news .body{padding:18px 20px 22px}
    .news .body h3{margin:.2rem 0 .6rem;font-size:1.06rem}
    .news .body h3 a{text-decoration:none;color:#064e3b}
    .news .item:hover h3 a{color:#0f766e}
    .news .meta{display:flex;gap:10px;align-items:center;color:#64748b;font-size:.88rem;margin-bottom:10px}
    .news .meta .dot{width:6px;height:6px;border-radius:999px;background:#34d399}
    .news-link{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:#0f766e;text-decoration:none;padding:6px 0;transition:color .3s ease}
    .news-link::after{content:"›";font-size:1.1rem;transform:translateY(-1px);transition:transform .3s ease}
    .news .item:hover .news-link::after{transform:translate(4px,-1px)}
    .news-link:hover{color:#065f46}
    .news-link.is-disabled{cursor:default;color:#94a3b8}
    .news-more{margin-top:20px;text-align:center}

    /* ===== Contact & Map ===== */
    .contact{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}
    .map-box{background:linear-gradient(120deg,#dcfce7,#fff7cc);border:1px dashed #d1fae5;border-radius:14px;height:260px;display:grid;place-items:center;color:#065f46}
    .footer-wrapper{display:flex;flex-direction:column;gap:32px}
    .footer-contact .contact{margin-top:18px}
    .footer-contact .card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:var(--shadow)}
    .footer-contact__title{margin:.2rem 0 .6rem;font-size:1.2rem;font-weight:700;color:#065f46}

    /* ===== Footer (terang) ===== */
    footer{padding:24px 0;color:#064e3b;background:linear-gradient(180deg,#fafffb,#effef5);border-top:1px solid #dff4e7}
    .foot{display:flex;align-items:center;justify-content:space-between;gap:18px}
    .social{display:flex;}
    .social a{width:38px;height:38px;border-radius:10px;border:1px solid #d1fae5;display:grid;place-items:center;color:#065f46;background:#ffffff}
    .social a:hover{background:#f0fdf4}

    /* ===== Back-to-top ===== */
    .to-top{position:fixed;right:18px;bottom:18px;width:44px;height:44px;border-radius:12px;border:1px solid #d1fae5;background:#fff;display:none;place-items:center;box-shadow:var(--shadow);cursor:pointer;color:#065f46}

    /* ===== Responsive ===== */
    @media (max-width:1024px){
      .hero-wrap{grid-template-columns:1fr;padding:48px 0}
      .stats{grid-template-columns:repeat(2,1fr)}
      .grid-4{grid-template-columns:repeat(2,1fr)}
      .misi-grid{grid-template-columns:repeat(2,1fr)}
      .cards-4{grid-template-columns:repeat(2,1fr)}
      .docs{grid-template-columns:repeat(2,1fr)}
      .contact{grid-template-columns:1fr}
      .akreditasi-filters{gap:10px}
      .akreditasi-filters .filter{min-width:160px}
      .agenda-row{grid-template-columns:78px 1fr}
      .single-entry{padding:24px}
      .single-navigation{gap:12px}
      .nav-links{display:none !important}
      .nav-cta{display:flex !important;align-items:center !important}
      .nav-cta .btn{display:none !important}
      .burger{display:inline-grid !important;place-items:center !important}
    }
   /* === FIX MOBILE CENTER (override ketat) === */
@media (max-width:640px){

  /* Hero benar-benar center */
  .hero-wrap{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
    padding:48px 0 !important;
  }
  .hero .kicker{ justify-content:center !important; }
  .hero h1,
  .hero p.lead{ text-align:center !important; }
  .hero .cta{ justify-content:center !important; }
  .hero-card{ margin-inline:auto !important; }
  .agenda-card{ width:100%; }
  .agenda-row{ grid-template-columns:62px 1fr; gap:10px; padding:10px 0; }
  .agenda-date .agenda-date__day{ font-size:18px; }
  .agenda-card,
  .agenda-card__head,
  .agenda-card__body,
  .agenda-card__footer{
    text-align:left !important;
    align-items:flex-start !important;
  }
  .agenda-card__title{align-self:flex-start !important;}
  .single-entry{padding:20px}
  .single-navigation{flex-direction:column;gap:10px}
  .single-navigation a{flex:1 1 auto}

  /* Head setiap section di-tengah */
  .section-head{
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
  }
  .section-desc{ text-align:center !important; }

  /* Semua grid jadi 1 kolom + item di-center */
  .stats,
  .grid-4,
  .misi-grid,
  .cards-4,
  .docs,
  .news{
    display:grid !important;
    grid-template-columns:1fr !important;
    justify-items:center !important;
  }
  #dokumen .docs .doc:nth-child(n+2){
    display:none !important;
  }

  .akreditasi-head{
    align-items:center !important;
    text-align:center !important;
    justify-content:center !important;
  }
  .akreditasi-badge{margin:0 !important}
  .akreditasi-filters{
    flex-direction:column !important;
    align-items:stretch !important;
  }
  .akreditasi-filters .filter{width:100% !important;min-width:0 !important}
  .filter-reset{
    width:100% !important;
    margin-left:0 !important;
  }
  .table-wrap{overflow:auto}

  /* Kartu agar tidak menempel di sisi kiri */
  .person,
  .misi-item,
  .card,
  .doc,
  .news .item,
  .hero-card{
    width:100% !important;
    max-width:640px !important;
    margin-inline:auto !important;
  }

  .struktur-grid{
    grid-template-columns:1fr !important;
  }
  .struktur-grid .person{
    display:none !important;
  }
  .struktur-grid .person:first-child{
    display:flex !important;
  }
  .slide{ height:320px !important; }
}


    /* Reveal animation lembut */
    .reveal{opacity:0;transform:translateY(12px);transition:opacity .6s ease,transform .6s ease}
    .reveal.show{opacity:1;transform:none}
