:root{
  /* ========== WARM PALETTE (GLOBAL) ========== */
  --bg: #FBF7EF;          /* background halaman (warm off-white) */
  --surface: #FFFFFF;     /* background card/box */
  --surface-2: #F6EFE4;   /* background lembut (footer panel) */
  --border: #E7E0D6;      /* border warm */
  --text: #0F172A;        /* text utama */
  --muted: #475569;       /* text sekunder */

  /* highlight / note */
  --highlight: #FFF4CC;

  /* brand tetap biru (jangan diubah supaya tombol tidak rusak) */
  --brand: #2563EB;
  --brand-2: #1D4ED8;

  --primary: var(--brand);
  --primaryHover: var(--brand-2);
}

*{ box-sizing: border-box; }

html, body { height: 100%; }

body{
  background: var(--bg);
  color: var(--text);
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
}

/* Make Open Sans apply to all elements explicitly */
button, input, textarea, select{
  font-family: inherit;
}

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

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,250,252,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar__inner{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand__logo{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: .5px;
}

.brand__title{
  font-weight: 800;
  letter-spacing: .2px;
}

.brand__subtitle{
  font-size: 12px;
  color: var(--muted);
}

.nav{
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.nav a{
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav a:hover{
  color: var(--text);
  border-color: var(--border);
  background: #fff;
}

.nav a.active{
  color: var(--text);
  border-color: var(--border);
  background: #fff;
}

.navbtn{
  display: none;
  margin-left: auto;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
}

/* Sections */
.section{
  padding: 46px 0;
}

.hero{
  padding: 56px 0;
}

.hero__title{
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.hero__lead{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 760px;
}

.hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.section__title{
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.2px;
}

.section__desc{
  margin: 0 0 18px;
  color: var(--muted);
}

.page__title{
  margin: 0 0 10px;
  font-size: 34px;
  letter-spacing: -0.2px;
}

.page__desc{
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 900px;
}

/* Divider */
.divider{
  height: 1px;
  background: var(--border);
  width: 100%;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.btn:hover{
  border-color: #cbd5e1;
}

.btn-primary{
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary:hover{
  background: var(--primaryHover);
  border-color: var(--primaryHover);
}

.ctaRow{
  margin-top: 18px;
}

/* Notice (Highlight) */
.notice{
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #f3e8a5;
  background: var(--highlight);
  color: #1c1917;
}

/* Bullets / simple lists */
.bullets{
  margin: 0;
  padding-left: 20px;
}

.bullets li{
  margin: 10px 0;
  color: var(--text);
}

.link{
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.link:hover{
  color: var(--primaryHover);
}

/* Simple items (no card look: just spacing + underline) */
.simpleList{
  display: grid;
  gap: 14px;
}

.simpleItem{
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--border);
}

.simpleItem__title{
  font-weight: 700;
  margin-bottom: 4px;
}

.simpleItem__meta{
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.simpleItem__body{
  color: var(--muted);
}

code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
  background: #eef2ff;
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid #e0e7ff;
}

/* Footer */
.footer{
  border-top: 1px solid rgba(148,163,184,.45);
  padding: 18px 0;
  margin-top: 0;
  background: transparent;
}

.footer__inner{
  color: var(--muted);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 900px){
  .hero__title{ font-size: 34px; }
  .brand{ min-width: unset; }
}

@media (max-width: 820px){
  .navbtn{ display: inline-flex; }
  .nav{
    display: none;
    width: 100%;
    margin-left: 0;
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }
  .nav.open{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .topbar__inner{
    flex-wrap: wrap;
  }
}
/* FORCE LIGHT MODE (final override) */
html, body { background: var(--bg) !important; color: var(--text) !important; }

.hero { background: var(--bg) !important; }

.topbar {
  background: rgba(248,250,252,0.92) !important;
  border-bottom: 1px solid var(--border) !important;
}

.nav a { color: var(--muted) !important; }
.nav a:hover, .nav a.active { background: var(--surface) !important; color: var(--text) !important; border-color: var(--border) !important; }

.btn { background: var(--surface) !important; color: var(--text) !important; border-color: var(--border) !important; }
.btn-primary { background: var(--primary) !important; border-color: var(--primary) !important; color: #fff !important; }
.btn-primary:hover { background: var(--primaryHover) !important; border-color: var(--primaryHover) !important; }

/*Tambahan CSS (WAJIB) - Laporan Keuangan */

/* ===== Laporan Page ===== */
.reportBar{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px 0 10px;
}
.reportBar__label{
  min-width:90px;
  font-weight:700;
}
.reportBar__buttons{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.chip{
  border:1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding:8px 10px;
  border-radius:999px;
  cursor:pointer;
  font-weight:600;
  font-size:13px;
}
.chip:hover{
  border-color:#cbd5e1;
}
.chip--active{
  background: var(--primary);
  border-color: var(--primary);
  color:#fff;
}

.reportMeta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 0 16px;
}
.reportMeta__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* PDF viewer */
.pdfWrap{
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  background: var(--surface);
}
.pdfFrame{
  width:100%;
  height: 82vh;
  border:0;
  display:block;
  background: #fff;
}

.pdfFallback{
  border-top:1px solid var(--border);
  padding:12px 14px;
  background: var(--highlight);
}
.pdfFallback__title{
  font-weight:700;
  margin-bottom:4px;
  color:#1c1917;
}
.pdfFallback__desc{
  color:#1c1917;
}

@media (max-width: 820px){
  .reportBar{ flex-direction:column; }
  .reportBar__label{ min-width:auto; }
  .reportMeta{ flex-direction:column; align-items:flex-start; }
  .pdfFrame{ height: 70vh; }
}

/* ===== Hero Carousel ===== */
.heroCarousel{
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.heroCarousel__track{
  display: flex;
  width: 100%;
  transform: translateX(0);
  transition: transform 500ms ease;
}

.heroCarousel__slide{
  min-width: 100%;
}

.heroCarousel__slide img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  background: #fff;
}

.heroCarousel__dots{
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: rgba(248,250,252,0.9);
}

.heroCarousel__dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  cursor: pointer;
}

.heroCarousel__dot.active{
  background: var(--primary);
  border-color: var(--primary);
}

@media (max-width: 820px){
  .heroCarousel__slide img{ height: 240px; }
}

/* Weather box */
.weatherBox{
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.weatherBox #weatherText{
  font-weight: 600;
  color: #1c1917;
}

.weatherTime{
  font-weight: 600;
  color: #334155; /* slate-700 */
  opacity: 0.9;
}

/* ===== Hero Carousel Nav (Prev/Next) ===== */
.heroCarousel{ position: relative; }

.heroCarousel__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 8px 20px rgba(15,23,42,0.10);
}

.heroCarousel__nav:hover{
  background: rgba(255,255,255,0.95);
  border-color: #cbd5e1;
}

.heroCarousel__nav:active{
  transform: translateY(-50%) scale(0.98);
}

.heroCarousel__nav--prev{ left: 12px; }
.heroCarousel__nav--next{ right: 12px; }

@media (max-width: 820px){
  .heroCarousel__nav{
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
}

/* ===== 3-column panels (Home) ===== */
.triGrid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
@media (max-width: 980px){
  .triGrid{ grid-template-columns: 1fr; }
}

.panel{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}
.panelMeta{
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px 0;
}
.panel h3{
  margin: 0 0 6px 0;
  font-size: 20px;
  color: var(--text);
}

.panel .muted{
  color: var(--muted);
  margin: 0 0 12px 0;
}

.linkList{
  margin: 0;
  padding-left: 18px;
}
.linkList li{ margin: 8px 0; }
.linkList a{
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.linkList a:hover{ color: var(--primaryHover); }

.panelActions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* doc cards */
.docCards{
  display: grid;
  gap: 10px;
  margin-top: 6px;
}
.docCard{
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
}
.docCard:hover{
  border-color: #cbd5e1;
  box-shadow: 0 10px 22px rgba(15,23,42,0.08);
}
.docIcon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.docTitle{
  font-weight: 800;
  color: var(--text);
}
.docSub{
  color: var(--muted);
  font-size: 14px;
}

/* small info rows */
.miniInfo{
  margin-top: 10px;
  border-top: 1px dashed var(--border);
  padding-top: 10px;
}
.miniRow{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
}
.miniLabel{ color: var(--muted); }
.miniValue{ color: var(--text); font-weight: 700; }

/* horizontal divider */
.hr{
  height: 1px;
  background: var(--border);
  margin-top: 22px;
}

/* Soft panel tint (recommended) */
.panel{
  background: #F1F5FF;
  border-color: #DCE7FF;
}

.panel:hover{
  background: #E9F0FF;
}

/* === Pengurus: warm yellow cards + hover === */
:root{
  /* warm yellow lembut (kalem, tidak norak) */
  --cardWarm: #FFF7D6;       /* background card */
  --cardWarmHover: #FFF1BF;  /* saat hover */
  --cardWarmBorder: #F3E3A2; /* border */
}

/* pastikan selector ini sama dengan card pengurus kamu */
.pCard{
  background: var(--cardWarm);
  border: 1px solid var(--cardWarmBorder);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}

.pCard:hover{
  transform: translateY(-4px);
  background: var(--cardWarmHover);
  border-color: #E9D785;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .14);
}

/* optional: hover pada foto biar lebih hidup */
.pCard .pPhoto img{
  transition: transform .25s ease;
}
.pCard:hover .pPhoto img{
  transform: scale(1.03);
}

/* === Pengurus: warm-yellow muncul hanya saat hover === */
:root{
  --cardWarm: #FFF7D6;
  --cardWarmBorder: #F3E3A2;
}

/* default (normal) */
.pCard{
  background: var(--surface);        /* tetap putih */
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

/* hover di CARD (termasuk saat mouse di fotonya) */
.pCard:hover{
  background: var(--cardWarm);
  border-color: var(--cardWarmBorder);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .14);
}

/* optional: efek foto saat hover */
.pCard .pPhoto img{
  transition: transform .25s ease;
}
.pCard:hover .pPhoto img{
  transform: scale(1.03);
}

/* kalau kamu mau STRICT: hanya saat hover di FOTO (bukan di area teks) */
.pCard:has(.pPhoto:hover){
  background: var(--cardWarm);
  border-color: var(--cardWarmBorder);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .14);
}

/* ===== Org Chart (HTML/CSS only) ===== */
.orgSection{ padding: 18px 0 6px; }
.orgHead{ margin-bottom: 14px; }
.orgTitle{ margin:0; font-size: 28px; letter-spacing:-.2px; }
.orgDesc{ margin:6px 0 0; }

.orgTree{
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    radial-gradient(900px 240px at 0% 0%, rgba(253,230,138,.30), transparent 60%),
    radial-gradient(900px 240px at 100% 0%, rgba(37,99,235,.08), transparent 60%),
    var(--surface);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  padding: 18px;
}

.orgRow{
  display:flex;
  align-items:stretch;
  justify-content:center;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.orgGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
@media (max-width: 980px){
  .orgGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .orgGrid{ grid-template-columns: 1fr; }
}

.orgNode{
  position: relative;
  min-width: 240px;
}

.orgNode--top{ display:flex; justify-content:center; }
.orgNode--top::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  top: 58px;
  width:2px;
  height: 18px;
  background: var(--border);
}

.orgNode--advisor{ min-width: 240px; }
.orgNode--advisor .orgPill{ border-style: dashed; }

/* pill style */
.orgPill{
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  padding: 12px 14px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.orgPill:hover{
  transform: translateY(-2px);
  border-color: #F5D58B;
  background:
    radial-gradient(520px 180px at 15% 0%, rgba(253,230,138,.40), transparent 60%),
    #fff;
  box-shadow: 0 14px 40px rgba(15,23,42,.10);
}

.orgPill--warm{
  background:
    radial-gradient(520px 180px at 15% 0%, rgba(253,230,138,.55), transparent 60%),
    #fff;
  border-color: #F5D58B;
}

.orgRole{
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .8px;
  color: var(--muted);
}
.orgName{
  font-weight: 800;
  font-size: 18px;
  margin-top: 2px;
  color: var(--text);
}

/* ===== Footer Reusable ===== */
.siteFooter{
  padding: 26px 0 40px;
  background: #f7f0e6; /* warm beige */
  border-top: 1px solid rgba(15,23,42,.08);
}

.footerInner{ display: block; }

.footerCard{
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.footerTop{
  display: grid;
  gap: 10px;
  justify-items: center;
}

.footerPhone{
  font-size: 20px;
  color: var(--text, #0f172a);
}

.footerEmoji{ margin-right: 6px; }

.footerText{
  font-size: 18px;
  color: var(--text, #0f172a);
}

.footerIg{
  display: inline-flex;
  margin-top: 16px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.igIcon{
  width: 52px;
  height: 52px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15,23,42,.10);
  transition: transform .18s ease, box-shadow .18s ease;
}

.footerIg:hover .igIcon{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15,23,42,.14);
}
.footerCopy{
  text-align: center;
  color: rgba(15,23,42,.70);
  font-weight: 600;
  margin-bottom: 14px;
}

/* ===== Two panel grid (Pengumuman + UMKM) ===== */
.twoGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

@media (max-width: 980px){
  .twoGrid{
    grid-template-columns: 1fr;
  }
}
