/*
Theme Name: KOMA - Koalisi Media Alternatif
Theme URI: https://koalisimediaalternatif.com
Author: KOMA Dev Team
Author URI: https://koalisimediaalternatif.com
Description: Tema WordPress kustom untuk situs Koalisi Media Alternatif (KOMA). Dibangun sebagai canvas ringan yang kompatibel dengan Elementor & ACF, dengan Custom Post Type untuk Liputan, Media Anggota, Pengurus, dan Program.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koma
*/

/* =========================================================
   BASE — variabel & reset (identik di seluruh halaman)
   ========================================================= */
:root{
  --ink:#1A1A1A;
  --paper:#FFFFFF;
  --paper-dim:#EFEADD;
  --white:#FFFFFF;
  --green:#2F9E14;
  --green-deep:#237A0F;
  --red:#E6350B;
  --blue:#4000FF;
  --purple:#8A00A6;
  --line: rgba(26,26,26,0.12);
  --muted: rgba(26,26,26,0.62);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Inter',sans-serif;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.serif{ font-family:'Source Serif 4', serif; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 32px; }
@media(max-width:640px){ .wrap{padding:0 20px;} }
.screen-reader-text{ position:absolute !important; clip:rect(1px,1px,1px,1px); width:1px; height:1px; overflow:hidden; }

/* =========================================================
   HEADER / NAV — identik di seluruh halaman (kecuali halaman
   Daftar Anggota, yang punya kontainer nav sendiri — lihat
   blok .page-daftar di bawah)
   ========================================================= */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(247,244,236,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 0;
}
.logo{ display:flex; align-items:center; gap:10px; font-weight:700; font-size:20px; letter-spacing:0.01em;}
.logo img{ max-height:52px; width:auto; }
.logo .mark{
  width:34px;height:34px;border-radius:50%;
  background:conic-gradient(from 200deg, var(--green), var(--blue), var(--purple), var(--red), var(--green));
  display:flex;align-items:center;justify-content:center;
}
.logo .mark::after{ content:""; width:14px;height:14px;border-radius:50%;background:var(--paper); }
.logo small{ display:block; font-size:9.5px; font-weight:600; letter-spacing:0.14em; color:var(--muted); text-transform:uppercase; margin-top:-2px;}
nav ul{ list-style:none; display:flex; gap:34px; margin:0; padding:0; font-size:14.5px; font-weight:600;}
nav ul li a{ position:relative; padding:4px 0; }
nav ul li a:hover{ color:var(--green-deep); }
nav ul li a.active{ color:var(--green-deep); }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--green); color:var(--white); font-weight:700; font-size:14px;
  padding:11px 22px; border-radius:3px; border:1px solid var(--green);
  transition:all .15s ease; cursor:pointer;
}
.btn:hover{ background:var(--green-deep); border-color:var(--green-deep); }
.btn[disabled]{ opacity:.4; cursor:not-allowed; }
.btn-outline{ background:transparent; color:var(--ink); border:1px solid var(--ink); }
.btn-outline:hover{ background:var(--ink); color:var(--paper); }
.navbar-cta{ display:flex; align-items:center; gap:28px; }
.burger{ display:none; }
@media(max-width:900px){
  nav ul{ display:none; }
  .navbar-cta .btn span.long{ display:none; }
}

/* =========================================================
   PAGE HEAD (eyebrow + judul halaman dalam)
   ========================================================= */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:700; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--green-deep);
}
.eyebrow::before{ content:""; width:22px; height:2px; background:var(--green-deep); display:inline-block; }
.hero .eyebrow{ margin-bottom:18px; }
.page-head .eyebrow{ margin-bottom:14px; }
.page-daftar .page-head .eyebrow{ margin-bottom:12px; }

.page-head h1{ font-weight:600; margin:0; line-height:1.15; }
.page-tentang .page-head{ padding:52px 0 44px; border-bottom:1px solid var(--line); }
.page-tentang .page-head h1{ font-size:clamp(28px,4vw,42px); max-width:26ch; }
.page-kegiatan .page-head,
.page-anggota .page-head,
.page-hubungi .page-head{ padding:52px 0 36px; }
.page-kegiatan .page-head h1,
.page-anggota .page-head h1,
.page-hubungi .page-head h1{ font-size:clamp(28px,4vw,40px); }
.page-daftar .page-head{ padding:44px 0 0; }
.page-daftar .page-head h1{ font-size:clamp(24px,3.4vw,32px); margin:0 0 28px; }

/* =========================================================
   SECTION SPACING & SEC-HEAD
   ========================================================= */
section{ padding:88px 0; }
@media(max-width:700px){ section{ padding:56px 0; } }
.page-tentang section{ padding:80px 0; }
@media(max-width:700px){ .page-tentang section{ padding:52px 0; } }
.page-kegiatan section,
.page-anggota section{ padding-top:0; padding-bottom:80px; }
.page-hubungi section{ padding-top:0; padding-bottom:88px; }

.page-home .sec-head{
  display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:44px; gap:24px;
  border-bottom:1px solid var(--line); padding-bottom:22px;
}
.page-home .sec-head h2{ font-size:clamp(26px,3vw,36px); font-weight:600; margin:6px 0 0; }
.page-home .sec-head .see-all{ font-size:13.5px; font-weight:700; white-space:nowrap; display:flex; align-items:center; gap:6px; color:var(--green-deep);}
.page-home .sec-head .see-all:hover{ text-decoration:underline; }

.page-tentang .sec-head{ margin-bottom:44px; }
.page-tentang .sec-head h2{ font-size:clamp(26px,3vw,34px); font-weight:600; margin:6px 0 0; }

.page-anggota .sec-head{ margin-bottom:36px; padding-top:8px; }
.page-anggota .sec-head h2{ font-size:clamp(24px,3vw,30px); font-weight:600; margin:6px 0 0; }

/* =========================================================
   HERO (beranda)
   ========================================================= */
.hero{ padding:64px 0 0; }
.hero-grid{
  display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center;
}
@media(max-width:900px){ .hero-grid{ grid-template-columns:1fr; gap:36px;} .hero{padding:40px 0 0;} }
.hero h1{
  font-size:clamp(34px,4.6vw,54px); line-height:1.08; font-weight:600; margin:0 0 22px;
  letter-spacing:-0.01em;
}
.hero h1 em{ font-style:italic; color:var(--red); }
.hero p.lede{ font-size:17.5px; line-height:1.65; color:var(--muted); max-width:46ch; margin:0 0 32px;}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }

.hero-media{ position:relative; }
.hero-photo{
  position:relative; border-radius:4px; overflow:hidden; aspect-ratio:4/5;
  background:
    linear-gradient(200deg, rgba(26,26,26,.05), rgba(26,26,26,.55) 78%),
    repeating-linear-gradient(115deg, #cfcabc 0 2px, #d8d3c5 2px 4px);
  filter:grayscale(1) contrast(1.05);
}
.hero-photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero-photo .cap{
  position:absolute; left:18px; bottom:18px; right:18px;
  color:#fff; font-size:12.5px; font-weight:600; letter-spacing:0.02em;
  filter:grayscale(0);
  display:flex; align-items:center; gap:8px;
}
.hero-photo .cap::before{ content:"●"; color:var(--red); font-size:8px; }
.hero-tag{
  position:absolute; top:-16px; left:-16px; background:var(--ink); color:var(--paper);
  padding:10px 16px; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  border-radius:3px;
}
@media(max-width:900px){ .hero-tag{ left:0; } }

/* =========================================================
   STATS STRIP (beranda)
   ========================================================= */
.stats{
  background:var(--ink); color:var(--paper); margin-top:64px;
}
.stats-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
}
.stat{
  padding:34px 24px; text-align:center; border-right:1px solid rgba(247,244,236,0.14);
}
.stat:last-child{ border-right:none; }
.stat .num{ font-family:'Source Serif 4',serif; font-size:38px; font-weight:600; }
.stat .lbl{ font-size:11.5px; letter-spacing:0.1em; text-transform:uppercase; color:rgba(247,244,236,0.6); margin-top:6px; font-weight:600;}
@media(max-width:700px){ .stats-grid{ grid-template-columns:repeat(2,1fr);} .stat{ border-bottom:1px solid rgba(247,244,236,0.14);} }

/* =========================================================
   PROGRAM GRID — beranda (4 kolom, .p1-.p4) & Tentang (3 kolom, .b1-.b6)
   ========================================================= */
.prog-grid{ display:grid; gap:2px; background:var(--line); border:1px solid var(--line); }
.prog{ background:var(--paper); padding:32px 26px 30px; transition:background .15s ease; }
.prog:hover{ background:var(--white); }
.prog .idx{ font-family:'Source Serif 4',serif; font-size:15px; font-weight:600; color:var(--muted); margin-bottom:22px; }
.prog h3{ font-size:17px; margin:0 0 10px; line-height:1.3; font-weight:600; }
.prog p{ font-size:13.8px; line-height:1.55; color:var(--muted); margin:0; }
.prog .bar{ width:34px; height:3px; margin-bottom:16px; }

.page-home .prog-grid{ grid-template-columns:repeat(4,1fr); }
.page-home .prog.p1 .bar{background:var(--red);}
.page-home .prog.p2 .bar{background:var(--blue);}
.page-home .prog.p3 .bar{background:var(--purple);}
.page-home .prog.p4 .bar{background:var(--green);}
@media(max-width:900px){ .page-home .prog-grid{ grid-template-columns:repeat(2,1fr);} }
@media(max-width:520px){ .page-home .prog-grid{ grid-template-columns:1fr;} }

.page-tentang .prog{ padding:30px 26px; }
.page-tentang .prog h3{ font-size:16.5px; }
.page-tentang .prog p{ font-size:13.6px; }
.page-tentang .prog-grid{ grid-template-columns:repeat(3,1fr); }
.page-tentang .prog.b1 .bar{background:var(--red);}
.page-tentang .prog.b2 .bar{background:var(--blue);}
.page-tentang .prog.b3 .bar{background:var(--purple);}
.page-tentang .prog.b4 .bar{background:#6B1FA6;}
.page-tentang .prog.b5 .bar{background:var(--green-deep);}
.page-tentang .prog.b6 .bar{background:#B85C00;}
@media(max-width:860px){ .page-tentang .prog-grid{ grid-template-columns:repeat(2,1fr);} }
@media(max-width:520px){ .page-tentang .prog-grid{ grid-template-columns:1fr;} }

/* =========================================================
   TAG & META (dipakai di beranda & kegiatan)
   ========================================================= */
.tag{
  display:inline-block; font-size:11px; font-weight:800; letter-spacing:0.08em; text-transform:uppercase;
  color:#fff; padding:5px 10px; border-radius:2px; margin-bottom:12px;
}
.tag.advokasi{ background:var(--red); }
.tag.liputan{ background:var(--blue); }
.tag.pelatihan{ background:var(--purple); }
.tag.siaran{ background:var(--green-deep); }
.meta{ font-size:12.5px; color:var(--muted); font-weight:600; }
.meta .rd{ color:var(--green-deep); font-weight:700; }

/* =========================================================
   ARTIKEL — beranda (feat + list ringkas)
   ========================================================= */
.art-wrap{ display:grid; grid-template-columns:1.15fr 1fr; gap:44px; }
@media(max-width:900px){ .art-wrap{ grid-template-columns:1fr; } }
.art-feat{ display:block; }
.art-feat .thumb{
  aspect-ratio:16/10; border-radius:4px; overflow:hidden; margin-bottom:20px;
  background: linear-gradient(200deg, rgba(26,26,26,.1), rgba(26,26,26,.6) 75%),
    repeating-linear-gradient(70deg, #d4cfc0 0 3px, #e2ddce 3px 6px);
  filter:grayscale(1);
}
.art-feat .thumb img{ width:100%; height:100%; object-fit:cover; }
.art-feat h3{ font-size:25px; line-height:1.28; margin:0 0 10px; font-weight:600; }
.art-feat p{ color:var(--muted); font-size:14.5px; line-height:1.6; margin:0 0 14px; }

.art-list{ display:flex; flex-direction:column; }
.art-row{
  display:flex; gap:18px; padding:20px 0; border-bottom:1px solid var(--line);
}
.art-row:first-child{ padding-top:0; }
.art-row .thumb{
  width:104px; height:78px; flex:none; border-radius:3px; overflow:hidden;
  background: linear-gradient(200deg, rgba(26,26,26,.08), rgba(26,26,26,.5) 75%),
    repeating-linear-gradient(50deg, #d4cfc0 0 3px, #e2ddce 3px 6px);
  filter:grayscale(1);
}
.art-row .thumb img{ width:100%; height:100%; object-fit:cover; }
.art-row .body h4{ font-size:15px; line-height:1.35; font-weight:600; margin:8px 0 6px; font-family:'Inter',sans-serif;}
.art-row .tag{ margin-bottom:0; padding:3px 8px; font-size:9.5px; }

/* =========================================================
   CTA BAND (identik di semua halaman)
   ========================================================= */
.cta-band{ background:var(--ink); color:var(--paper); padding:56px 0; }
.cta-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.cta-inner h3{ font-size:26px; font-weight:600; margin:0 0 8px; }
.cta-inner p{ margin:0; color:rgba(247,244,236,0.68); font-size:14.5px; }

/* =========================================================
   FOOTER (identik di semua halaman kecuali Daftar Anggota)
   ========================================================= */
footer{ background:var(--ink); color:var(--paper); padding-top:0; }
.foot-grid{
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px; padding:64px 0 40px;
  border-top:1px solid rgba(247,244,236,0.12);
}
@media(max-width:800px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
@media(max-width:520px){ .foot-grid{ grid-template-columns:1fr; } }
.foot-logo{ font-family:'Source Serif 4',serif; font-size:24px; font-weight:600; margin-bottom:14px; }
.foot-grid p{ color:rgba(247,244,236,0.55); font-size:13.5px; line-height:1.6; max-width:32ch; }
.foot-col h5{ font-size:11.5px; letter-spacing:0.1em; text-transform:uppercase; color:rgba(247,244,236,0.5); margin:0 0 16px; font-weight:700;}
.foot-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; font-size:14px; }
.foot-col ul a:hover{ color:var(--green); }
.foot-bottom{
  border-top:1px solid rgba(247,244,236,0.12); padding:20px 0; font-size:12.5px; color:rgba(247,244,236,0.45);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
}

/* =========================================================
   TENTANG — sejarah & timeline
   ========================================================= */
.sejarah{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
@media(max-width:860px){ .sejarah{ grid-template-columns:1fr; gap:32px;} }
.sejarah h2{ font-size:26px; font-weight:600; margin:0 0 18px; }
.sejarah p{ font-size:15.5px; line-height:1.7; color:var(--muted); margin:0 0 16px; }
.sejarah .photo{
  aspect-ratio:4/3; border-radius:4px; overflow:hidden;
  background: linear-gradient(200deg, rgba(26,26,26,.08), rgba(26,26,26,.55) 78%), repeating-linear-gradient(115deg, #cfcabc 0 2px, #d8d3c5 2px 4px);
  filter:grayscale(1);
}
.sejarah .photo img{ width:100%; height:100%; object-fit:cover; }

.timeline{ margin-top:72px; position:relative; }
.timeline .track{ position:absolute; top:9px; left:0; right:0; height:1px; background:var(--line); }
.timeline ul{ list-style:none; margin:0; padding:0; display:flex; justify-content:space-between; position:relative; }
.timeline li{ flex:1; text-align:center; position:relative; }
.timeline .dot{ width:18px; height:18px; border-radius:50%; background:var(--paper); border:2px solid var(--green-deep); margin:0 auto 16px; position:relative; z-index:2; }
.timeline li:nth-child(1) .dot{ border-color:var(--red); }
.timeline li:nth-child(2) .dot{ border-color:var(--blue); }
.timeline li:nth-child(3) .dot{ border-color:var(--green-deep); }
.timeline .when{ font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin-bottom:6px;}
.timeline .what{ font-family:'Source Serif 4',serif; font-size:16.5px; font-weight:600; }
@media(max-width:700px){ .timeline ul{ flex-direction:column; gap:28px; text-align:left;} .timeline .track{display:none;} .timeline li{display:flex; gap:16px; align-items:flex-start;} .timeline .dot{margin:2px 0 0;} }

/* =========================================================
   FILTER BAR / PILLS / SEARCH — Kegiatan & Anggota (identik)
   ========================================================= */
.filter-bar{ display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; padding-bottom:36px; border-bottom:1px solid var(--line); margin-bottom:44px; }
.pills{ display:flex; gap:10px; flex-wrap:wrap; }
.pill{ font-size:13px; font-weight:700; padding:9px 18px; border-radius:999px; border:1px solid var(--line); background:var(--white); cursor:pointer; }
.pill.active{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.pill:hover:not(.active){ border-color:var(--ink); }
.search{ display:flex; align-items:center; gap:8px; border:1px solid var(--line); border-radius:3px; padding:10px 14px; background:var(--white); min-width:220px; }
.search input{ border:none; outline:none; background:transparent; font-family:'Inter',sans-serif; font-size:13.5px; width:100%; }
.search svg{ flex:none; opacity:.5; }

.pagination{ display:flex; justify-content:center; gap:8px; }
.pagination a,.pagination span{ width:36px; height:36px; display:flex; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:3px; font-size:13px; font-weight:700; background:var(--white); }
.pagination a.active,.pagination span.current{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.pagination a:hover:not(.active){ border-color:var(--ink); }
.page-anggota .pagination{ margin-bottom:20px; }

/* =========================================================
   KEGIATAN — featured + grid kartu
   ========================================================= */
.grid-head{ font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:24px; }

.feat{ display:grid; grid-template-columns:1.1fr 1fr; gap:44px; align-items:center; margin-bottom:64px; padding-bottom:64px; border-bottom:1px solid var(--line); }
@media(max-width:860px){ .feat{ grid-template-columns:1fr; gap:26px; } }
.feat .thumb{ aspect-ratio:16/10; border-radius:4px; overflow:hidden; background: linear-gradient(200deg, rgba(26,26,26,.1), rgba(26,26,26,.6) 75%), repeating-linear-gradient(70deg, #d4cfc0 0 3px, #e2ddce 3px 6px); filter:grayscale(1); }
.feat .thumb img{ width:100%; height:100%; object-fit:cover; }
.feat h2{ font-size:26px; line-height:1.28; margin:0 0 12px; font-weight:600; }
.feat p{ color:var(--muted); font-size:14.5px; line-height:1.65; margin:0 0 14px; }

.art-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px 28px; margin-bottom:52px; }
@media(max-width:860px){ .art-grid{ grid-template-columns:1fr 1fr; } }
@media(max-width:560px){ .art-grid{ grid-template-columns:1fr; } }
.card .thumb{ aspect-ratio:16/11; border-radius:4px; overflow:hidden; margin-bottom:16px; background: linear-gradient(200deg, rgba(26,26,26,.08), rgba(26,26,26,.5) 75%), repeating-linear-gradient(50deg, #d4cfc0 0 3px, #e2ddce 3px 6px); filter:grayscale(1); }
.card .thumb img{ width:100%; height:100%; object-fit:cover; }
.card h3{ font-size:16px; line-height:1.35; font-weight:600; margin:0 0 8px; font-family:'Inter',sans-serif; }

/* =========================================================
   ANGGOTA — grid media + detail expandable + pengurus
   ========================================================= */
.media-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:16px; margin-bottom:40px; }
@media(max-width:900px){ .media-grid{ grid-template-columns:repeat(3,1fr);} }
@media(max-width:560px){ .media-grid{ grid-template-columns:repeat(2,1fr);} }
.m-card{ background:var(--white); border:1px solid var(--line); border-radius:4px; padding:22px 16px; text-align:center; transition:all .15s ease; cursor:pointer; position:relative; }
.m-card:hover{ border-color:var(--ink); transform:translateY(-2px); }
.m-card.open{ border-color:var(--green-deep); box-shadow:0 0 0 1px var(--green-deep); transform:none; }
.m-badge{ width:44px; height:44px; border-radius:8px; margin:0 auto 14px; display:flex; align-items:center; justify-content:center; color:#fff; font-family:'Source Serif 4',serif; font-weight:700; font-size:17px; }
.m-card h4{ font-size:13.5px; font-weight:700; margin:0 0 4px; }
.m-card span{ font-size:11.5px; color:var(--muted); }
.chev{ position:absolute; top:12px; right:12px; opacity:.35; transition:transform .2s ease; }
.m-card.open .chev{ transform:rotate(180deg); opacity:.7; }

.m-detail{ grid-column:1/-1; background:transparent; border:1px solid transparent; border-radius:6px; overflow:hidden; max-height:0; opacity:0; margin:0; padding:0 24px; transition:max-height .3s ease, opacity .2s ease, margin .3s ease, padding .3s ease, background .2s ease, border-color .2s ease; }
.m-detail.open{ max-height:280px; opacity:1; padding:22px 24px; margin:2px 0 4px; background:var(--paper-dim); border-color:var(--line); }
.m-detail-inner{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
@media(max-width:640px){ .m-detail-inner{ grid-template-columns:1fr; gap:18px; } }
.m-detail h5{ font-size:10.5px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; color:var(--green-deep); margin:0 0 6px; }
.m-detail .row{ margin-bottom:16px; }
.m-detail .row:last-child{ margin-bottom:0; }
.m-detail .val{ font-size:14px; font-weight:600; line-height:1.5; }
.m-detail .val.muted{ font-weight:500; color:var(--muted); }
.m-social{ display:flex; gap:9px; margin-top:2px; }
.m-social a{ width:34px; height:34px; border-radius:50%; border:1px solid var(--line); background:var(--white); display:flex; align-items:center; justify-content:center; transition:all .15s ease; }
.m-social a:hover{ background:var(--ink); color:var(--white); border-color:var(--ink); }
.m-visit{ display:inline-flex; align-items:center; gap:6px; margin-top:4px; font-size:13px; font-weight:700; color:var(--green-deep); }
.m-visit:hover{ text-decoration:underline; }

.board-rows{ display:flex; flex-direction:column; gap:24px; margin-bottom:8px; }
.board-row{ display:flex; justify-content:center; gap:24px; flex-wrap:wrap; }
.b-card{ background:var(--white); border:1px solid var(--line); border-radius:4px; padding:30px 22px; text-align:center; transition:border-color .15s ease, transform .15s ease; width:100%; max-width:280px; flex:1 1 240px; }
.b-card:hover{ border-color:var(--ink); transform:translateY(-2px); }
.avatar{ width:76px; height:76px; border-radius:50%; margin:0 auto 16px; background:linear-gradient(145deg, var(--paper-dim), #ddd6c4); border:1px solid var(--line); overflow:hidden; }
.avatar img{ width:100%; height:100%; object-fit:cover; }
.b-card h4{ font-size:16px; font-weight:600; margin:0 0 6px; font-family:'Inter',sans-serif; }
.b-card .media-link{ font-size:13px; color:var(--green-deep); font-weight:600; }
.b-card .media-link:hover{ text-decoration:underline; }
.b-card .role{ font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin-top:8px; }

/* =========================================================
   HUBUNGI — kontak & foto
   ========================================================= */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
@media(max-width:860px){ .contact-grid{ grid-template-columns:1fr; gap:36px; } }
.contact-grid > div > p.lede{ font-size:15.5px; line-height:1.7; color:var(--muted); margin:0 0 36px; max-width:44ch; }
.contact-grid .item{ display:flex; gap:16px; margin-bottom:28px; align-items:flex-start; }
.contact-grid .icon{ width:40px; height:40px; border-radius:8px; background:var(--paper-dim); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; flex:none; }
.contact-grid .item h5{ font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--green-deep); margin:2px 0 6px; }
.contact-grid .item div.val{ font-size:15px; font-weight:600; line-height:1.5; }
.contact-grid .socials{ display:flex; gap:12px; margin-top:8px; }
.contact-grid .socials a{ width:40px; height:40px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; }
.contact-grid .socials a:hover{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.contact-grid .photo{ aspect-ratio:4/3; border-radius:4px; overflow:hidden; background: linear-gradient(200deg, rgba(26,26,26,.15), rgba(26,26,26,.7) 78%), repeating-linear-gradient(115deg, #cfcabc 0 2px, #d8d3c5 2px 4px); filter:grayscale(1); }
.contact-grid .photo img{ width:100%; height:100%; object-fit:cover; }

/* =========================================================
   DAFTAR ANGGOTA — nav & wrap sempit (800px), form multi-step
   ========================================================= */
.page-daftar .wrap{ max-width:800px; }
.page-daftar .nav{ max-width:1180px; margin:0 auto; padding:18px 32px; }
@media(max-width:640px){ .page-daftar .nav{ padding:18px 20px; } }
.page-daftar .foot-grid{ max-width:1180px; margin:0 auto; padding:64px 32px 40px; }
.page-daftar .foot-bottom{ max-width:1180px; margin:0 auto; padding:20px 32px; }

.stepper{ margin-bottom:8px; }
.step-track{ height:4px; background:var(--line); border-radius:99px; overflow:hidden; margin-bottom:14px; }
.step-fill{ height:100%; background:var(--green-deep); border-radius:99px; transition:width .3s ease; width:16.6%; }
.step-labels{ display:flex; justify-content:space-between; font-size:11.5px; font-weight:700; color:var(--muted); margin-bottom:40px; }
.step-labels span.on{ color:var(--green-deep); }
@media(max-width:640px){ .step-labels span{ display:none; } .step-labels .current{ display:inline; color:var(--green-deep); } }

.page-daftar form{ padding-bottom:100px; }
.step{ display:none; }
.step.active{ display:block; animation:komaFade .25s ease; }
@keyframes komaFade{ from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:translateY(0);} }

.intro-card{ background:var(--white); border:1px solid var(--line); border-radius:6px; padding:26px 26px; margin-bottom:26px; font-size:14px; line-height:1.65; color:var(--muted); }
.intro-card a{ color:var(--green-deep); font-weight:700; text-decoration:underline; }
.intro-card.warn{ border-left:3px solid var(--red); color:var(--ink); font-weight:600; font-size:13px; }

.field{ background:var(--white); border:1px solid var(--line); border-radius:6px; padding:22px 24px; margin-bottom:18px; }
.field label.q{ display:block; font-size:14.5px; font-weight:700; margin-bottom:4px; line-height:1.5; }
.field .hint{ font-size:12.5px; color:var(--muted); margin-bottom:12px; font-style:italic; }
.req{ color:var(--red); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea{
  width:100%; border:none; border-bottom:1px solid var(--line); padding:8px 2px; font-family:'Inter',sans-serif;
  font-size:14.5px; background:transparent; outline:none; color:var(--ink);
}
.field input[type=text]:focus, .field input[type=email]:focus, .field input[type=tel]:focus, .field textarea:focus{ border-bottom-color:var(--green-deep); }
.field textarea{ resize:vertical; min-height:64px; border:1px solid var(--line); border-radius:4px; padding:10px; margin-top:4px; }
.field input::placeholder, .field textarea::placeholder{ color:rgba(26,26,26,.35); }

.opt-group{ margin-top:10px; display:flex; flex-direction:column; gap:2px; }
.opt{ display:flex; align-items:center; gap:11px; padding:10px 4px; border-radius:4px; cursor:pointer; }
.opt:hover{ background:var(--paper-dim); }
.opt input{ width:17px; height:17px; accent-color:var(--green-deep); flex:none; }
.opt span{ font-size:14px; }
.opt.other{ flex-wrap:wrap; }
.opt.other input[type=text]{ flex:1; min-width:140px; margin-left:4px; border-bottom:1px solid var(--line); }

.upload{ margin-top:10px; border:1.5px dashed var(--line); border-radius:5px; padding:22px; text-align:center; background:var(--paper-dim); cursor:pointer; transition:border-color .15s ease; }
.upload:hover{ border-color:var(--green-deep); }
.upload svg{ margin-bottom:8px; opacity:.55; }
.upload .txt{ font-size:13px; font-weight:700; }
.upload .sub{ font-size:11.5px; color:var(--muted); margin-top:3px; }
.upload input[type=file]{ display:none; }

.btn-row{ display:flex; justify-content:space-between; align-items:center; margin-top:32px; }
.btn-row .spacer{ flex:1; }

.confirm{ display:flex; gap:12px; align-items:flex-start; }
.confirm input{ width:18px; height:18px; margin-top:2px; accent-color:var(--green-deep); flex:none; }
.confirm span{ font-size:13.8px; line-height:1.6; }

.final-row{ display:flex; flex-direction:column; align-items:center; gap:16px; margin-top:36px; }
.copy-check{ display:flex; align-items:center; gap:9px; font-size:13.5px; color:var(--muted); }
.copy-check input{ accent-color:var(--green-deep); }

.form-error{ background:#FDECEA; border:1px solid var(--red); color:#7A1E06; border-radius:6px; padding:14px 18px; font-size:13.5px; margin-bottom:18px; display:none; }
.form-error.show{ display:block; }

.done{ display:none; text-align:center; padding:70px 0; }
.done.active{ display:block; }
.done .check{ width:64px; height:64px; border-radius:50%; background:var(--green-deep); color:#fff; display:flex; align-items:center; justify-content:center; margin:0 auto 22px; }
.done h2{ font-size:26px; margin:0 0 10px; }
.done p{ color:var(--muted); font-size:14.5px; max-width:40ch; margin:0 auto; line-height:1.6; }


/* =========================================================
   UTILITY — kelas untuk template dasar (404, page, index,
   single) supaya tidak ada lagi inline style di file PHP.
   ========================================================= */
.simple-head{ border-bottom:1px solid var(--line); padding:52px 0 36px; }
.simple-head h1{ font-size:clamp(28px,4vw,40px); font-weight:600; margin:0; }

.narrow{ max-width:800px; }

.sec-flush{ padding-top:0; }

.entry-content{ font-size:15.5px; line-height:1.75; color:var(--ink); }
.entry-content > * + *{ margin-top:1em; }
.entry-content img{ max-width:100%; height:auto; }

.meta--single{ margin-top:14px; }
.feat--single{ border:none; padding-bottom:0; margin-bottom:32px; grid-template-columns:1fr; }

.err404{ padding:100px 0; text-align:center; }
.err404 .eyebrow{ justify-content:center; }
.err404 h1{ font-size:clamp(28px,4vw,40px); font-weight:600; margin:0 0 14px; }
.err404 p{ color:var(--muted); font-size:15.5px; max-width:44ch; margin:0 auto 28px; }

.hp-field{ position:absolute; left:-9999px; }
.intro-card--step{ margin-bottom:26px; }
.confirm--last{ margin-top:10px; }
.btn-submit{ padding:13px 40px; font-size:15px; }
.sec-pengurus{ padding-top:8px; padding-bottom:88px; }
.btn-row--start{ justify-content:flex-start; }
.sec-program{ background:var(--paper-dim); padding-top:76px; }
