/* DHPClinic — navy tulang punggung, merah langka, ruang napas besar. */

:root {
  --bg: #F6F7F9;
  --surface: #FFFFFF;
  --ink: #2A2623;
  --primary: #1E3F63;
  --primary-d: #152E49;
  --primary-l: #E7ECF2;
  --accent: #C4262B;
  --accent-d: #A81F24;
  --neutral: #8E938E;
  --muted: #645E59;
  --line: rgba(42, 38, 35, .10);
  --ok: #17734A;
  --ok-l: #E6F4EC;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(21, 46, 73, .12);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 86px;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Fraunces', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, iframe, video { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.14; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid rgba(196, 38, 43, .55); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--primary); color: #fff; padding: .7rem 1rem; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.wrap--narrow { max-width: 800px; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--primary);
}
.eyebrow--light { color: rgba(255, 255, 255, .72); }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem; border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-a { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(196, 38, 43, .28); }
.btn-a:hover { background: var(--accent-d); }
.btn-o { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-o:hover { background: rgba(255, 255, 255, .1); }
.btn-n { background: var(--primary); color: #fff; }
.btn-n:hover { background: var(--primary-d); }
.btn-ghost { color: var(--primary); border-color: rgba(30, 63, 99, .25); background: var(--surface); }
.btn-ghost:hover { border-color: var(--primary); }
.btn--block { display: flex; width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; color: var(--primary);
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 16px; }
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 8px 30px rgba(21, 46, 73, .10);
  border-radius: 16px; padding: 10px 14px 10px 18px;
}
.nav-logo { flex: none; margin-right: auto; }
.logo-img { height: 34px; width: auto; }
.nav-links .menu { display: flex; gap: 4px; }
.nav-links a {
  display: block; padding: .5rem .62rem; border-radius: 9px;
  font-size: .88rem; font-weight: 600; color: var(--primary);
  transition: background-color .2s ease;
}
.nav-links a:hover { background: rgba(30, 63, 99, .08); }
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a { background: var(--primary); color: #fff; }
.nav-cta { padding: .62rem 1.05rem; flex: none; }
.burger {
  display: none; flex: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: var(--primary-l); color: var(--primary); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger .icon { width: 22px; height: 22px; }
.burger .burger-close, .burger[aria-expanded="true"] .burger-open { display: none; }
.burger[aria-expanded="true"] .burger-close { display: block; }

.mobile-menu {
  max-width: 1180px; margin: 8px auto 0; padding: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow);
  max-height: calc(100dvh - 110px); overflow-y: auto;
  animation: menu-in .28s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  display: block; padding: .85rem .9rem; border-radius: 10px;
  font-weight: 600; color: var(--primary);
}
.mobile-menu .current-menu-item > a,
.mobile-menu .current_page_item > a { background: var(--primary-l); }
.mobile-menu .btn { display: flex; margin-top: 10px; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 1120px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
}
@media (min-width: 1121px) { .mobile-menu { display: none; } }
@media (max-width: 420px) {
  .nav { padding: 0 10px; }
  .nav-inner { gap: 10px; padding: 8px 8px 8px 12px; }
  .logo-img { height: 28px; }
  .nav-cta { padding: .58rem .8rem; font-size: .86rem; }
}

/* ---------- Hero beranda ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  background: radial-gradient(120% 90% at 80% 10%, #2b567f 0%, var(--primary) 42%, var(--primary-d) 100%);
  color: #fff; padding: 150px 0 72px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(40% 40% at 95% 0%, rgba(255, 255, 255, .10), transparent 60%);
}
.hero-plus {
  position: absolute; right: -40px; top: 70px; width: 420px; height: 420px; opacity: .06;
  background: conic-gradient(from 45deg, #fff, transparent 25%); border-radius: 40px; transform: rotate(15deg);
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-content > * { max-width: 780px; }
.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px; padding: .42rem .95rem; font-size: .82rem; font-weight: 600; margin-bottom: 22px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #7ee0a0; box-shadow: 0 0 0 4px rgba(126, 224, 160, .25); }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.3rem); max-width: 940px; text-wrap: normal; }
.hero p { font-size: clamp(1rem, 2vw, 1.18rem); max-width: 580px; margin: 22px 0 30px; color: rgba(255, 255, 255, .86); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.metrics { display: flex; gap: 14px; margin-top: 46px; flex-wrap: wrap; }
.metric {
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px; padding: 16px 20px; min-width: 132px;
}
.metric b { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric span { font-size: .82rem; color: rgba(255, 255, 255, .8); }
@media (max-width: 600px) {
  .hero { min-height: auto; padding: 128px 0 52px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .metrics { gap: 10px; margin-top: 34px; }
  .metric { flex: 1 1 calc(50% - 5px); min-width: 0; padding: 14px 16px; }
  .metric:last-child { flex-basis: 100%; }
  .metric b { font-size: 1.35rem; }
}

/* ---------- Hero halaman dalam ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 120% at 85% 0%, #2b567f 0%, var(--primary) 45%, var(--primary-d) 100%);
  padding: 156px 0 64px;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-top: 12px; max-width: 22ch; }
.page-hero p { margin-top: 16px; max-width: 60ch; color: rgba(255, 255, 255, .84); font-size: 1.06rem; }
.page-hero--article h1 { font-size: clamp(1.75rem, 3.8vw, 2.6rem); max-width: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .84rem; color: rgba(255, 255, 255, .6); margin-bottom: 18px; }
.crumbs a { color: rgba(255, 255, 255, .82); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.article-meta { display: flex; gap: .6rem; font-size: .92rem !important; }
@media (max-width: 600px) { .page-hero { padding: 128px 0 46px; } }

/* ---------- Marquee mitra ---------- */
.marq { background: var(--surface); border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; position: relative; }
.marq-lbl { text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.marq-track { display: flex; width: max-content; animation: marq 32s linear infinite; }
.marq:hover .marq-track { animation-play-state: paused; }
.marq-track span { font-weight: 800; font-size: 1.12rem; color: var(--primary); opacity: .55; white-space: nowrap; padding: 0 28px; }
@keyframes marq { to { transform: translateX(-50%); } }
.marq::before, .marq::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.marq::before { left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
.marq::after { right: 0; background: linear-gradient(270deg, var(--surface), transparent); }

/* ---------- Section ---------- */
.pad { padding: 92px 0; }
.pad--surface { background: var(--surface); }
.center { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.center h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 12px; }
.center p { color: var(--muted); margin-top: 14px; }
.section-title { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 64px 0 26px; }
.section-title:first-child { margin-top: 0; }
.section-more { text-align: center; margin-top: 40px; }
@media (max-width: 600px) { .pad { padding: 64px 0; } .center { margin-bottom: 36px; } }

/* ---------- Kartu & grid ---------- */
.grid { display: grid; gap: 16px; }
.grid--poli { grid-template-columns: repeat(3, 1fr); }
.grid--layanan { grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid--poli, .grid--layanan { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--poli, .grid--layanan { grid-template-columns: 1fr; } }

.card {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
}
.card--link:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(30, 63, 99, .22); }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; background: var(--primary-l); color: var(--primary);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card .ic .icon { width: 24px; height: 24px; }
.card h2, .card h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.card p { font-size: .92rem; color: var(--muted); margin-top: 6px; }
.card--poli { display: flex; flex-direction: column; padding: 28px 26px; }
.card--poli h2 { font-size: 1.18rem; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 22px; font-size: .86rem; font-weight: 700; color: var(--primary);
}
.card-foot .icon { transition: transform .25s var(--ease); }
.card--link:hover .card-foot .icon { transform: translateX(4px); }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card--why { padding: 30px 26px; }
@media (max-width: 820px) { .why { grid-template-columns: 1fr; } }

/* ---------- Band statistik ---------- */
.stats { background: var(--primary); color: #fff; padding: 72px 0; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { font-size: clamp(2.1rem, 4.5vw, 2.8rem); font-weight: 800; display: block; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat b em { color: #ff8f93; font-style: normal; }
.stat span { color: rgba(255, 255, 255, .78); font-size: .92rem; }
@media (max-width: 700px) { .grid4 { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; } }

/* ---------- Dokter ---------- */
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .docs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .docs { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.doc {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
}
.doc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(30, 63, 99, .22); }
.doc[hidden] { display: none; }
.doc-photo {
  display: block; aspect-ratio: 4 / 5; overflow: hidden;
  background: linear-gradient(160deg, var(--primary-l), #d6dfea);
}
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.doc:hover .doc-photo img { transform: scale(1.03); }
.doc-initials {
  display: grid; place-items: center; width: 100%; height: 100%;
  font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; letter-spacing: .04em; color: var(--primary); opacity: .55;
}
.doc-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.doc-poli { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.doc-name { font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.doc-degree { font-size: .86rem; color: var(--primary); font-weight: 600; }
@media (max-width: 720px) { .doc-body { padding: 12px 14px 14px; } .doc-name { font-size: .92rem; } }

/* ---------- Tab filter ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tab {
  border: 1px solid var(--line); background: var(--surface); color: var(--primary);
  border-radius: 999px; padding: .55rem 1rem; font-size: .88rem; font-weight: 600; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.tab:hover { border-color: rgba(30, 63, 99, .35); }
.tab.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (max-width: 720px) {
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -22px; padding: 2px 22px 10px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
}

/* ---------- Jadwal ---------- */
.chip {
  display: inline-block; background: var(--primary-l); color: var(--primary);
  border-radius: 999px; padding: .28rem .6rem; font-size: .78rem; font-weight: 600;
  font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.3;
}
.slots { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; }
.muted-dash { color: rgba(42, 38, 35, .28); }
.badge {
  display: inline-flex; white-space: nowrap; border-radius: 999px; padding: .3rem .7rem;
  font-size: .74rem; font-weight: 700; border: 1px solid transparent;
}
.badge--both { background: var(--ok-l); color: var(--ok); border-color: rgba(23, 115, 74, .2); }
.badge--bpjs { background: var(--primary-l); color: var(--primary); border-color: rgba(30, 63, 99, .15); }
.badge--umum { background: #EFEFEC; color: var(--muted); border-color: var(--line); }

.avatar { width: 48px; height: 48px; flex: none; border-radius: 50%; object-fit: cover; object-position: top center; background: var(--primary-l); box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(21, 46, 73, .12); }
.avatar--initials { display: grid; place-items: center; font-size: .86rem; font-weight: 700; color: var(--primary); }
.doc-cell { display: flex; align-items: center; gap: 12px; text-align: left; }
.doc-cell a { font-weight: 700; color: var(--ink); line-height: 1.3; display: block; }
.doc-cell a:hover { color: var(--primary); text-decoration: underline; }
.doc-cell small { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); margin-top: 2px; }

.jadwal-table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.jadwal-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: .9rem; }
.jadwal-table thead th {
  position: sticky; top: var(--nav-h); z-index: 5;
  background: var(--primary); color: #fff; padding: 14px 6px;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: center;
}
.jadwal-table thead th:first-child { border-top-left-radius: 17px; text-align: left; padding-left: 20px; }
.jadwal-table thead th:last-child { border-top-right-radius: 17px; }
.jadwal-table .col-doc { width: 27%; }
.jadwal-table .col-tipe { width: 13%; }
.jadwal-table tbody th, .jadwal-table tbody td { padding: 12px 6px; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; font-weight: 400; }
.jadwal-table tbody th { padding-left: 20px; }
.jadwal-table tbody tr:first-child > * { border-top: 0; }
.jadwal-table tbody tr { transition: background-color .2s ease; }
.jadwal-table tbody tr:hover { background: rgba(231, 236, 242, .45); }
.jadwal-table tr[hidden], .jadwal-card[hidden] { display: none; }

.jadwal-cards { display: none; gap: 14px; }
.jadwal-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.jadwal-card ul { margin: 14px 0; border-top: 1px solid var(--line); }
.jadwal-card li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.jadwal-card li > span:first-child { color: var(--muted); }
.jadwal-card .slots { align-items: flex-end; }
@media (max-width: 960px) {
  .jadwal-table-wrap { display: none; }
  .jadwal-cards { display: grid; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) { .jadwal-cards { grid-template-columns: 1fr; } }

/* ---------- Profil dokter ---------- */
.profile { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: start; }
.profile-side { position: sticky; top: 110px; display: grid; gap: 16px; }
.profile-photo { aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, var(--primary-l), #d6dfea); border: 1px solid var(--line); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.profile-main { display: grid; gap: 22px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; }
.panel h2 .icon { color: var(--primary); }
.facts > div, .hours > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts > div:first-child, .hours > div:first-child { padding-top: 0; }
.facts dt, .hours dt { color: var(--muted); }
.facts dd, .hours dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.facts dd a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.note { margin-top: 16px; font-size: .9rem; color: var(--muted); }
.day-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.day-list li > span:first-child { font-weight: 600; }
.day-list li.is-off > span:first-child { color: var(--muted); font-weight: 500; }
.day-list .slots { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) {
  .profile { grid-template-columns: 1fr; gap: 26px; }
  .profile-side { position: static; }
  .profile-photo { max-width: 340px; }
  .panel { padding: 22px; }
}

/* ---------- Detail poli ---------- */
.lead-row { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 34px; margin-bottom: 64px; }
.lead { font-size: 1.1rem; line-height: 1.75; max-width: 68ch; }
@media (max-width: 820px) { .lead-row { grid-template-columns: 1fr; padding: 24px; gap: 22px; margin-bottom: 48px; } }

/* ---------- Blog ---------- */
.blog-tools { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.blog-tools .tabs { flex: 1; }
.search-form { display: flex; flex: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.search-form input[type="search"] { border: 0; background: transparent; font: inherit; font-size: .9rem; padding: .4rem .9rem; width: 190px; min-width: 0; color: var(--ink); }
.search-form input[type="search"]:focus { outline: none; }
.search-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30, 63, 99, .12); }
.search-form button { border: 0; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 700; font-size: .84rem; padding: .5rem 1rem; cursor: pointer; }
@media (max-width: 900px) {
  .blog-tools { flex-direction: column-reverse; gap: 16px; }
  .blog-tools .tabs { width: 100%; flex: none; }
  .search-form { width: 100%; }
  .search-form input[type="search"] { flex: 1; width: auto; }
}

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(160deg, #eef1f5, #dfe5ed); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-thumb-fallback { display: grid; place-items: center; width: 100%; height: 100%; color: var(--primary); opacity: .3; }
.post-thumb-fallback .icon { width: 44px; height: 44px; }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; font-size: .76rem; color: var(--muted); }
.post-cat { font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; }
.post-cat:hover { text-decoration: underline; }
.post-card h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.post-card h3 a:hover { color: var(--primary); }
.post-card p { font-size: .9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.pagination { margin-top: 52px; }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 .9rem;
  border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  font-weight: 600; font-size: .9rem; color: var(--primary); font-variant-numeric: tabular-nums;
  transition: border-color .2s ease, background-color .2s ease;
}
.pagination a.page-numbers:hover { border-color: var(--primary); }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .dots { border-color: transparent; background: transparent; }

/* ---------- Artikel ---------- */
.article { padding: 56px 0 84px; }
.article-cover { margin: 0 0 40px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--primary-l); }
.article-cover img { width: 100%; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.article-tags a { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: .3rem .8rem; font-size: .8rem; font-weight: 600; color: var(--primary); }
.article-cta {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  margin-top: 52px; padding: 28px 30px; border-radius: 20px; background: var(--primary-l);
}
.article-cta h2 { font-size: 1.25rem; }
.article-cta p { color: var(--muted); margin-top: 6px; font-size: .95rem; }
@media (max-width: 640px) { .article { padding: 36px 0 64px; } .article-cta { grid-template-columns: 1fr; padding: 24px; } .article-cover { border-radius: 16px; margin-bottom: 28px; } }

/* ---------- Prose (isi editor) ---------- */
.prose { max-width: 68ch; margin-inline: auto; font-size: 1.075rem; line-height: 1.8; overflow-wrap: break-word; }
.prose--page { max-width: 860px; }
.prose--wide { max-width: none; }
.wrap > .prose--page:not(:first-child) { margin-top: 56px; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; letter-spacing: -.015em; }
.prose h3 { font-size: 1.22rem; margin-top: 1.8em; font-weight: 700; }
.prose h4 { font-size: 1.05rem; margin-top: 1.6em; font-weight: 700; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { color: var(--primary); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(30, 63, 99, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--primary); font-weight: 700; }
.prose img { border-radius: 14px; }
.prose figure { margin-inline: 0; }
.prose figcaption, .prose .wp-caption-text { font-size: .86rem; color: var(--muted); margin-top: .6em; text-align: center; }
.prose .wp-caption { max-width: 100%; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--primary); color: var(--primary); font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.55; }
.prose blockquote cite { display: block; margin-top: .6em; font-family: var(--sans); font-style: normal; font-size: .88rem; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.prose th { background: var(--primary-l); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.prose .aligncenter { margin-inline: auto; }
.prose::after { content: ""; display: block; clear: both; }
.page-links { display: flex; gap: 10px; font-weight: 700; }

/* Blok halaman (Tentang, FAQ) */
.prose .dhp-lead { font-size: 1.2rem; line-height: 1.75; }
.prose .wp-block-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 2.4em; }
.prose .wp-block-column { margin: 0; min-width: 0; }
.prose .dhp-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; height: 100%; }
.prose .dhp-card > * + *, .prose .dhp-card > .wp-block-group__inner-container > * + * { margin-top: .9em; }
.prose .dhp-card h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 0; }
.prose .dhp-card p.dhp-vision { font-size: 1.3rem; line-height: 1.45; font-weight: 700; color: var(--primary); letter-spacing: -.01em; }
.prose .dhp-card ul { font-size: 1rem; line-height: 1.65; }
.prose .dhp-motto { border: 0; padding: 0; margin-top: 3em; text-align: center; font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.35; }
@media (max-width: 720px) { .prose .wp-block-columns { grid-template-columns: 1fr; } .prose .dhp-card { padding: 24px; } }

.prose .wp-block-details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 0 24px; margin-top: 12px; transition: border-color .25s ease, box-shadow .25s ease;
}
.prose .wp-block-details[open] { border-color: rgba(30, 63, 99, .3); box-shadow: 0 10px 28px rgba(21, 46, 73, .07); }
.prose .wp-block-details summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.05rem; line-height: 1.45; color: var(--ink);
}
.prose .wp-block-details summary::-webkit-details-marker { display: none; }
.prose .wp-block-details summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease);
}
.prose .wp-block-details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.prose .wp-block-details > :not(summary) { margin: 0; padding-bottom: 22px; color: var(--muted); font-size: 1rem; }

/* ---------- Kontak ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 28px; align-items: stretch; }
.contact-info { display: grid; gap: 16px; align-content: start; }
.contact-info address { margin-bottom: 14px; }
.channels li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.channels li:first-child { padding-top: 0; }
.channels span { color: var(--muted); flex: none; }
.channels a { font-weight: 600; color: var(--primary); text-align: right; overflow-wrap: anywhere; }
.channels a:hover { text-decoration: underline; }
.social-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.social-pills a { display: block; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-size: .86rem; font-weight: 600; color: var(--primary); transition: border-color .2s ease; }
.social-pills a:hover { border-color: var(--primary); }
.contact-map { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--primary-l); min-height: 460px; }
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact-map, .contact-map iframe { min-height: 340px; } }

/* ---------- State kosong ---------- */
.empty-state { max-width: 560px; margin: 0 auto; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 56px 32px; }
.empty-state .ic { width: 60px; height: 60px; border-radius: 18px; background: var(--primary-l); color: var(--primary); display: inline-grid; place-items: center; margin-bottom: 20px; }
.empty-state .ic .icon { width: 28px; height: 28px; }
.empty-state h2 { font-size: 1.5rem; }
.empty-state p { color: var(--muted); margin-top: 12px; }
.empty-state > .btn { margin-top: 26px; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.empty-note { color: var(--muted); }
@media (max-width: 520px) { .empty-state { padding: 40px 22px; } .empty-actions .btn { flex: 1 1 100%; } }

/* ---------- Band CTA ---------- */
.cta {
  background: radial-gradient(120% 140% at 15% 0%, #26507a 0%, var(--primary) 40%, var(--primary-d) 100%);
  color: #fff; border-radius: 26px; padding: 56px 48px; position: relative; overflow: hidden;
}
.cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: center; position: relative; z-index: 2; }
.cta h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 10px 0 22px; }
.info-list li { display: flex; gap: 12px; margin-top: 12px; font-size: .95rem; color: rgba(255, 255, 255, .88); }
.info-list .icon { margin-top: 3px; color: rgba(255, 255, 255, .6); }
.info-list b { color: #fff; font-weight: 700; }
.info-list a { text-decoration: underline; text-underline-offset: 3px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 820px) { .cta { padding: 36px 24px; border-radius: 22px; } .cta-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-d); color: rgba(255, 255, 255, .74); padding: 68px 0 30px; font-size: .9rem; }
.f-grid { display: grid; grid-template-columns: 1.35fr 1fr .8fr 1.25fr; gap: 40px; }
.site-footer h2 { color: #fff; font-size: .95rem; font-weight: 700; letter-spacing: 0; margin-bottom: 14px; }
.site-footer li a, .f-social a { display: inline-block; padding: 4px 0; transition: color .2s ease; overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; }
.f-logo { background: #fff; padding: 10px 14px; border-radius: 12px; display: inline-block; }
.f-brand p { margin-top: 18px; max-width: 300px; }
.f-social { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px; }
.f-social a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; }
.f-contact address { margin-bottom: 10px; line-height: 1.6; }
.f-hours { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.f-hours > div { display: flex; justify-content: space-between; gap: 14px; padding: 3px 0; }
.f-hours dd { margin: 0; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.f-partners { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.f-partners > span { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.f-partners ul { display: flex; flex-wrap: wrap; gap: 8px; }
.f-partners li { border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: .3rem .8rem; font-size: .82rem; font-weight: 600; color: rgba(255, 255, 255, .86); }
.f-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 24px; padding-top: 22px; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-right: 70px; }
@media (max-width: 980px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; gap: 32px; } .site-footer { padding-top: 52px; } }

/* ---------- WhatsApp melayang ---------- */
.wa {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  background: #25D366; color: #fff; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform .25s var(--ease);
}
.wa:hover { transform: scale(1.08); }
.wa .icon { width: 30px; height: 30px; }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .card.rv.in, .js .doc.rv.in, .js .post-card.rv.in {
  transition: opacity .8s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .marq-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 8px; }
  .marq-track [aria-hidden="true"] { display: none; }
  .mobile-menu { animation: none; }
  .btn, .card, .doc, .post-card, .wa, .doc-photo img, .post-thumb img, .link-arrow .icon, .card-foot .icon { transition: none; }
  .btn:hover, .card--link:hover, .doc:hover, .post-card:hover, .wa:hover, .doc:hover .doc-photo img, .post-card:hover .post-thumb img { transform: none; }
}
