/* =========================================================================
   components.css — Komponen Reusable Global Design System IIA Indonesia.
   Menggabungkan elemen terbaik dari sample-ui (gbr1–gbr4):
   - Modern Light UI (Navy Blue, Hijau Pucuk, Sky Blue, White, Light Gray)
   - Rounded cards, soft shadows, clean borders, hierarki tipografi tegas
   ========================================================================= */

/* ---------- Tombol & Kontrol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--r-ctl);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  transition: background 0.16s, transform 0.1s, box-shadow 0.16s, border-color 0.16s;
  text-align: center;
}
.btn:active { transform: scale(0.985); }

/* Primary: Navy Blue dengan aksen profesional */
.btn.primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 12px -4px rgba(0, 51, 102, 0.38);
}
.btn.primary:hover { background: var(--navy-700); }

/* Accent Lime / Hijau Pucuk */
.btn.lime {
  background: var(--lime);
  color: #fff;
  box-shadow: 0 4px 12px -4px rgba(120, 190, 32, 0.4);
}
.btn.lime:hover { background: var(--lime-d); }

/* Supporting Sky Blue (seperti tombol "Clear all filters" di gbr4.png) */
.btn.sky {
  background: var(--sky);
  color: #fff;
}
.btn.sky:hover { background: var(--sky-d); }

/* Ghost / Outline */
.btn.ghost {
  background: var(--paper);
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn.ghost:hover { background: var(--navy-50); box-shadow: inset 0 0 0 1.5px var(--navy-600); }

/* Light & Ghost-Light (untuk di atas kartu Navy) */
.btn.light {
  background: var(--lime-bright);
  color: var(--navy-950);
  font-weight: 800;
}
.btn.light:hover { background: #a0e038; }
.btn.ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.38);
}
.btn.ghost-light:hover { background: rgba(255, 255, 255, 0.18); }

/* Danger */
.btn.danger { background: var(--red); color: #fff; }
.btn.danger:hover { background: var(--red-d); }

.btn.sm { min-height: 38px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn.full { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: default; }
.btn-row { display: flex; gap: 10px; }
.btn-row > .btn { flex: 1; }
.cta-b { display: flex; flex-direction: column; gap: 10px; }
.cta-b.row2 { flex-direction: row; }
.cta-b.row2 > .btn { flex: 1; }
.cta-b.stick {
  position: sticky;
  bottom: -1px;
  margin: 0 -16px -28px;
  padding: 12px 16px 18px;
  background: linear-gradient(to top, var(--bg) 78%, rgba(246, 248, 251, 0));
  z-index: 2;
}

/* Link (Sky Blue bergaris bawah halus seperti gbr1.png "Add to my calendar" / "See more") */
.link {
  color: var(--sky-d);
  font-weight: 700;
  font-size: 13.5px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 102, 153, 0.45);
}
.link.danger-l { color: var(--red-d); text-decoration-color: rgba(185, 28, 28, 0.4); }
.link:hover { color: var(--navy); text-decoration-color: currentColor; }
.row-end { display: flex; justify-content: flex-end; margin-bottom: -8px; }

/* ---------- Filter Chips (Mengikuti Pill Filters di gbr3.png) ---------- */
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -16px;
  padding: 2px 16px;
  flex: none;
}
.chips::-webkit-scrollbar { display: none; }
.chips.static { margin: 0; padding: 0; flex-wrap: wrap; overflow: visible; }
.chips.sugg { margin: 0 -4px 8px; padding: 2px 4px; }
.chip {
  flex: none;
  min-height: 38px;
  padding: 0 15px;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 13.5px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.chip:hover { background: var(--navy-50); color: var(--navy); }
.chip.on {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 8px -2px rgba(0, 51, 102, 0.35);
}
.chips.static .chip { min-height: 32px; font-size: 12.5px; padding: 0 12px; }

/* ---------- Badges, Pills & Tags ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.4;
}
.pill.ok { background: var(--lime-50); color: var(--lime-d); }
.pill.warn { background: var(--warn-50); color: var(--warn); }
.pill.bad { background: var(--red-50); color: var(--red-d); }
.pill.info { background: var(--sky-50); color: var(--sky-d); }
.pill.mute { background: var(--bg-subtle); color: var(--muted); }
.pill.navy { background: var(--navy-50); color: var(--navy-700); border: 1px solid var(--navy-100); }
button.pill { min-height: 28px; }

.simtag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--lime-50);
  color: var(--lime-d);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}
.tag.warn { background: var(--warn-50); color: var(--warn); }
.tag.ok { background: var(--lime-50); color: var(--lime-d); }
.tag.navy { background: var(--navy); color: #fff; }
.tag.sky { background: var(--sky-50); color: var(--sky-d); }

/* ---------- Avatar (Enhanced with Realistic Profile Photo Support) ---------- */
.avatar {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
  flex: none;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-600), var(--navy));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  user-select: none;
}
.avatar.has-img {
  background: #cbd5e1;
  box-shadow: 0 2px 8px rgba(10, 34, 70, 0.12);
}
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
}
.avatar.a1, .avatar-fallback.a1 { background: linear-gradient(135deg, #0077b6, #023e8a); }
.avatar.a2, .avatar-fallback.a2 { background: linear-gradient(135deg, #2b9348, #007f5f); }
.avatar.a3, .avatar-fallback.a3 { background: linear-gradient(135deg, #3b8ea5, #1d4e89); }
.avatar.a4, .avatar-fallback.a4 { background: linear-gradient(135deg, #5c6bc0, #283593); }

/* ---------- Form, Input & Searchbox ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 700; color: var(--ink); }
.field > span em { font-style: normal; font-weight: 500; color: var(--muted); margin-left: 4px; }
.field small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.field input:not([type=range]):not([type=checkbox]),
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line-2);
  background: var(--paper);
  font-size: 14.5px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sky-d);
  box-shadow: 0 0 0 3px var(--sky-50);
}
.field input[readonly] { background: var(--bg-subtle); color: var(--muted); border-color: var(--line); }
.field input[type=range], .slider input[type=range] { accent-color: var(--sky-d); width: 100%; min-height: 32px; }

/* Searchbox Pill (Mengikuti Search Bar di gbr3.png & gbr4.png) */
.searchbox, .searchfake {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1.5px solid var(--line-2);
  box-shadow: var(--sh1);
  color: var(--muted);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.searchbox:focus-within {
  border-color: var(--sky-d);
  box-shadow: 0 0 0 3px var(--sky-50);
}
.searchbox input {
  flex: 1;
  border: 0;
  background: none;
  outline: none;
  min-width: 0;
  color: var(--ink);
  font-size: 14.5px;
}
.searchbox input::placeholder { color: var(--muted); }

.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 8px 0; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; margin-top: 2px; }
.err { display: flex; gap: 8px; align-items: center; color: var(--red-d); font-weight: 600; font-size: 13.5px; background: var(--red-50); padding: 10px 12px; border-radius: 12px; border: 1px solid #fecaca; }

/* Switch */
.switch { display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; font-size: 14px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw { width: 46px; height: 26px; border-radius: 13px; background: var(--line-2); position: relative; flex: none; transition: background 0.2s; }
.sw::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.2s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.switch input:checked + .sw { background: var(--lime); }
.switch input:checked + .sw::after { transform: translateX(20px); }
.switch input:focus-visible + .sw { outline: 2.5px solid var(--sky); outline-offset: 2px; }
.demo .switch { color: #e6ecf8; }
.row-sw { padding: 8px 4px; }
.row-sw small { display: block; color: var(--muted); font-size: 12px; }
.row-sw b { display: block; font-size: 14px; }
.card.tight { padding: 6px 14px; }
.card.tight .row-sw + .row-sw { border-top: 1px solid var(--line); }
.lang { align-items: center; margin-top: 8px; }
.lang .lbl { font-weight: 700; font-size: 13px; margin-right: 4px; flex: none; }

/* Segmented Tabs */
.seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 4px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  gap: 4px;
  flex: none;
}
.seg button {
  min-height: 40px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
  padding: 0 6px;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.seg button.on {
  background: var(--paper);
  color: var(--navy);
  box-shadow: var(--sh1);
}

.stepper { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 12px 0 4px; }
.stepper b { font-size: 20px; font-weight: 800; min-width: 100px; text-align: center; color: var(--navy); }
.upload { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 14px; border-radius: var(--r-ctl); border: 1.5px dashed var(--line-2); background: var(--bg-subtle); text-align: left; transition: border-color 0.15s; }
.upload:hover { border-color: var(--sky-d); }
.upload .ic { grid-row: span 2; color: var(--sky-d); }
.upload b { font-size: 14px; }
.upload small { color: var(--muted); font-size: 12px; }
.radios { display: grid; gap: 8px; }
.radio { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: var(--r-ctl); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-2); font-weight: 600; cursor: pointer; transition: background 0.15s, box-shadow 0.15s; }
.radio input { accent-color: var(--navy); width: 18px; height: 18px; }
.radio.on, .radio:has(input:checked) { box-shadow: inset 0 0 0 2px var(--sky-d); background: var(--sky-50); color: var(--navy); }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-radius: var(--r-ctl); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-2); width: 100%; text-align: left; min-height: 54px; transition: background 0.15s, box-shadow 0.15s; }
.opt small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; margin-top: 2px; }
.opt.on { box-shadow: inset 0 0 0 2px var(--sky-d); background: var(--sky-50); }
.opt.right { box-shadow: inset 0 0 0 2px var(--ok); background: var(--ok-50); }
.opt.wrong { box-shadow: inset 0 0 0 2px var(--red); background: var(--red-50); }
.opt[disabled] { cursor: default; }
.amt { font-weight: 800; font-size: 17px; color: var(--navy); white-space: nowrap; }

/* ---------- Kartu, Baris & Daftar ---------- */
.card {
  background: var(--paper);
  border-radius: var(--r-card);
  padding: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
}
.card.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.list {
  background: var(--paper);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  overflow: hidden;
}
.row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  min-height: 58px;
  text-align: left;
  background: none;
  transition: background 0.15s;
}
button.row:hover { background: var(--navy-50); }
.row + .row { border-top: 1px solid var(--line); }
.row-i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy-50);
  color: var(--navy-700);
  flex: none;
}
.row-i.warn { background: var(--warn-50); color: var(--warn); }
.row-i.bad { background: var(--red-50); color: var(--red-d); }
.row-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-t b { font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.row-t small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.row-r { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 13px; flex: none; }
.row-c { color: var(--muted); flex: none; display: grid; }
.row.danger .row-t b, .row.danger .row-i { color: var(--red-d); }
.row .datebox { flex: none; }

/* ---------- Section & Heading Hierarchy ---------- */
.sec { display: flex; flex-direction: column; gap: 10px; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sec-h h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.sec-h .link { text-decoration: none; font-size: 13px; color: var(--sky-d); }
.sec-h .link:hover { text-decoration: underline; }
.sec-sub { color: var(--muted); font-size: 13px; margin-top: -4px; }
.count { color: var(--ink-2); font-size: 13.5px; font-weight: 700; }
.fine { color: var(--muted); font-size: 12px; line-height: 1.45; }
.fine.c, .c { text-align: center; }
.lead-s { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; max-width: 60ch; }
.lead-p {
  padding: 18px;
  border-radius: var(--r-card);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  box-shadow: var(--sh1);
}
.lead-p .serif-l {
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
  color: #fff;
}

/* ---------- Empty State, Gate & Alert Banners ---------- */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 28px 18px;
  background: var(--paper);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  color: var(--muted);
}
.empty h3 { color: var(--ink); font-size: 15.5px; font-weight: 700; }
.empty p { font-size: 13.5px; max-width: 32ch; }
.empty .btn { margin-top: 8px; }
.empty > .ic { color: var(--sky); }

.gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin: 24px 16px;
  padding: 28px 20px;
  background: var(--paper);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
}
.gate > .ic {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 16px;
  background: var(--navy-50);
  color: var(--navy-700);
}
.gate.warn > .ic { background: var(--warn-50); color: var(--warn); }
.gate h3 { font-size: 18px; font-weight: 700; color: var(--ink); }
.gate p { color: var(--muted); font-size: 14px; max-width: 34ch; line-height: 1.5; }
.gate .btn { width: 100%; }

.alert-b {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--r-card);
  background: var(--sky-50);
  border: 1px solid #cce4f0;
  color: var(--ink);
}
.alert-b > .ic { color: var(--sky-d); flex: none; }
.alert-b > div { flex: 1; min-width: 0; }
.alert-b b { font-size: 14px; display: block; color: var(--ink); }
.alert-b p { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; line-height: 1.4; }
.alert-b.bad { background: var(--red-50); border-color: #fecaca; }
.alert-b.bad > .ic { color: var(--red-d); }

.phase {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  background: var(--lime-50);
  color: var(--lime-d);
  border-bottom: 1px solid #d7edb8;
  line-height: 1.35;
}
.phase .ic { flex: none; }
.phase.p4 { background: var(--sky-50); color: var(--sky-d); border-color: #cfe5f6; }
.phase.p1 { background: var(--navy-50); color: var(--navy-700); border-color: var(--line); }

.banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-card);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  width: 100%;
  text-align: left;
  transition: transform 0.15s, border-color 0.15s;
}
.banner:hover { border-color: var(--sky); }
.banner > .ic:first-child { color: var(--sky-d); }
.banner div { flex: 1; }
.banner b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.banner small { color: var(--muted); font-size: 12.5px; }
.banner.ai {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-color: transparent;
  color: #fff;
}
.banner.ai b { color: #fff; }
.banner.ai small { color: #c5d6ed; }
.banner.ai > .ic:first-child { color: var(--lime-bright); }

/* ---------- Key-Value List (Modernized .ledger — Tanpa Garis Titik Kuno) ---------- */
.ledger {
  background: var(--paper);
  border-radius: var(--r-card);
  padding: 6px 16px;
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
}
.ledger > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 13.5px;
}
.ledger > div + div { border-top: 1px solid var(--line); }
.ledger dt { color: var(--muted); font-weight: 500; flex: none; max-width: 48%; }
.ledger .lead { display: none; }
.ledger dd { font-weight: 700; color: var(--ink); text-align: right; max-width: 58%; overflow-wrap: anywhere; }
.ledger dd small { font-weight: 500; color: var(--muted); }
.warn-t { color: var(--warn); }

/* ---------- Indikator Progress & Ring ---------- */
.bar { height: 8px; border-radius: 99px; background: var(--bg-subtle); overflow: hidden; flex: 1; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--sky-d), var(--lime)); transition: width 0.4s var(--ease); }
.ring { position: relative; flex: none; }
.ring svg { width: 100%; height: 100%; }
.rt { fill: none; stroke: var(--bg-subtle); stroke-width: 9; }
.rv { fill: none; stroke: var(--sky-d); stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset 0.6s var(--ease); }
.ring.ok .rv { stroke: var(--lime); }
.ring-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.ring-c b { font-size: 1.35em; font-weight: 800; color: var(--ink); }
.ring-c small { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.ring[style*="132px"] .ring-c b { font-size: 34px; }
.ring[style*="44px"] .ring-c b { font-size: 11px; }
.ring[style*="76px"] .ring-c b { font-size: 20px; }
.ring[style*="76px"] .ring-c small { font-size: 9.5px; max-width: 54px; text-align: center; }

.skel { display: flex; flex-direction: column; gap: 14px; padding: 18px 16px; }
.skel i { display: block; border-radius: 14px; background: linear-gradient(90deg, #e8edf5 25%, #f4f7fb 50%, #e8edf5 75%); background-size: 200% 100%; animation: shim 1.1s infinite linear; }
.skel .s1 { height: 28px; width: 60%; } .skel .s2 { height: 170px; } .skel .s3 { height: 70px; } .skel .s4 { height: 70px; }
@keyframes shim { to { background-position: -200% 0; } }
.busy { text-align: center; color: var(--muted); }

/* ---------- Tipografi Konten & Detail Page ---------- */
.a-h {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.a-m { color: var(--muted); font-size: 13px; margin-top: -6px; font-weight: 500; }
.a-lead { font-size: 15px; color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.article p, .thread > p, .reader p { font-size: 14.5px; line-height: 1.65; color: var(--ink-2); max-width: 62ch; }
.article, .thread { gap: 14px; }
.greet {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cover {
  height: 140px;
  border-radius: var(--r-card);
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--sky-d) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh1);
}
.cover::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(120, 190, 32, 0.16);
  right: -40px;
  bottom: -60px;
}
.chk { display: grid; gap: 10px; background: var(--paper); padding: 14px 16px; border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: var(--sh1); }
.chk li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.chk .ic { color: var(--lime); margin-top: 2px; flex: none; }
.steps-v { counter-reset: s; display: grid; gap: 10px; background: var(--paper); padding: 14px 16px; border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: var(--sh1); }
.steps-v li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.steps-v li::before { content: counter(s); width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--navy-50); color: var(--navy); border: 1.5px solid var(--navy-100); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 10px 12px; background: var(--paper); border-radius: 14px; border: 1px solid var(--line); }
.steps li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.steps li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-subtle); font-size: 12px; flex: none; }
.steps li.cur { color: var(--navy); }
.steps li.cur span { background: var(--navy); color: #fff; }
.steps li.done span { background: var(--lime); color: #fff; }

/* =========================================================================
   KOMPONEN REFERENSI SAMPLE-UI (GBR1, GBR2, GBR3, GBR4)
   ========================================================================= */

/* ---------- 1. Hub Header Banner (Inspirasi gbr4.png "Institute Leader Hub") ---------- */
.hub-banner {
  margin: -16px -16px 4px;
  padding: 18px 16px 16px;
  background:
    radial-gradient(300px 140px at 95% 10%, rgba(120, 190, 32, 0.22), transparent 70%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 65%, var(--navy-700) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hub-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hub-top h2 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #fff;
}
.hub-top p {
  font-size: 12.5px;
  color: #c5d6ed;
  margin-top: 2px;
}
.hub-acts {
  display: flex;
  gap: 6px;
  flex: none;
}
.hub-sq {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--lime-bright);
  color: var(--navy-950);
  display: inline-grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ---------- 2. Event & Training Detail Hero & Participants (Inspirasi gbr1.png) ---------- */
.ev-hero {
  position: relative;
  margin: -16px -16px 4px;
  height: 178px;
  background:
    radial-gradient(240px 140px at 80% 25%, rgba(120, 190, 32, 0.35), transparent 70%),
    radial-gradient(240px 160px at 20% 80%, rgba(59, 151, 184, 0.4), transparent 70%),
    linear-gradient(135deg, #0b2545 0%, #134074 55%, #005a9c 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #fff;
  overflow: hidden;
}
.ev-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 75% 40%, rgba(255, 255, 255, 0.12) 0 42px, transparent 43px),
    radial-gradient(circle at 75% 40%, rgba(255, 255, 255, 0.07) 0 78px, transparent 79px);
  pointer-events: none;
}
.ev-hero-art {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ev-meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0;
}
.ev-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
}
.ev-meta-row > .ic {
  color: var(--ink);
  margin-top: 2px;
  flex: none;
}
.ev-meta-row b {
  font-weight: 600;
  color: var(--ink);
  display: block;
}
.ev-meta-row .link {
  min-height: 22px;
  font-size: 13px;
  margin-top: 2px;
}

/* Participants / Speakers Cards Row (Persis seperti gbr1.png "Participants (24)") */
.part-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin: 0 -16px;
  padding: 4px 16px 8px;
  scrollbar-width: none;
}
.part-scroll::-webkit-scrollbar { display: none; }
.part-card {
  flex: none;
  width: 118px;
  padding: 16px 10px 14px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.part-card b {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.part-card small {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.25;
  margin-top: -4px;
}

/* ---------- 3. News Highlighted & News Feed Cards (Inspirasi gbr2.png) ---------- */
.news-hl-sec {
  margin: -4px -16px 4px;
  padding: 16px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-hl-sec h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.nhl-card {
  flex: none;
  width: 244px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nhl-card:hover { box-shadow: var(--sh2); }
.nhl-card:active { transform: scale(0.985); }
.nhl-art {
  position: relative;
  height: 114px;
  padding: 14px 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(125deg, #003366 0%, #005da6 62%, #0a2246 63%);
}
.nhl-art.t1 { background: linear-gradient(125deg, #1b7837 0%, #5aae61 65%, #0f4c25 66%); }
.nhl-art.t2 { background: linear-gradient(125deg, #004b87 0%, #3b97b8 65%, #061d3a 66%); }
.nhl-art span {
  font-size: 12.5px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.3;
  max-width: 170px;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nhl-ic {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 30px;
  height: 34px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: rgba(6, 21, 45, 0.35);
  display: grid;
  place-items: center;
  color: #fff;
}
.nhl-b {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
}
.nhl-b h3 {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.32;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nhl-b small {
  font-size: 12px;
  color: var(--muted);
}

/* Main News Feed Card (Mengikuti "2026-2027 Risk in Focus" di gbr2.png) */
.ncard {
  padding: 14px;
  border-radius: var(--r-card);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  cursor: pointer;
  text-align: left;
  transition: box-shadow 0.15s, transform 0.12s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ncard:hover { box-shadow: var(--sh2); }
.ncard:active { transform: scale(0.99); }
.nc-art {
  height: 136px;
  border-radius: 12px;
  padding: 16px;
  background:
    radial-gradient(circle at 80% 25%, rgba(143, 209, 41, 0.32) 0%, transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(59, 151, 184, 0.45) 0%, transparent 60%),
    linear-gradient(135deg, #003366 0%, #006699 55%, #004b87 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.nc-art.v1 {
  background:
    radial-gradient(circle at 75% 30%, rgba(255, 255, 255, 0.18) 0%, transparent 50%),
    linear-gradient(135deg, #2b8a3e 0%, #5c940d 60%, #1b5e20 100%);
}
.nc-art.v2 {
  background:
    radial-gradient(circle at 25% 25%, rgba(59, 151, 184, 0.4) 0%, transparent 55%),
    linear-gradient(135deg, #0a2246 0%, #1e4e8c 60%, #006699 100%);
}
.nc-art-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nc-art-cat {
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}
.nc-art-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nc-art-title em {
  color: var(--lime-bright);
  font-style: normal;
  font-weight: 600;
  margin-right: 4px;
}
.nc-b { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.nc-b h3 { font-size: 16px; line-height: 1.32; font-weight: 700; color: var(--ink); }
.ncard.big .nc-b h3 { font-size: 18px; line-height: 1.3; font-weight: 800; }
.nc-b p {
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nc-b small { color: var(--muted); font-size: 12px; font-weight: 500; }
.nc-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  width: 100%;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.nc-foot span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nc-foot .ic { color: var(--muted); }

/* ---------- 4. Members / Directory 2-Column Profile Grid (Refactored per sample-ui/gbr3.png) ---------- */
.dir-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 768px) {
  .dir-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 340px) {
  .dir-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.mprof-card {
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px -2px rgba(10, 34, 70, 0.07), 0 6px 20px -4px rgba(10, 34, 70, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 15px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
  position: relative;
  width: 100%;
}
.mprof-card:hover {
  box-shadow: 0 10px 28px -4px rgba(10, 34, 70, 0.16);
  transform: translateY(-3px);
  border-color: rgba(59, 151, 184, 0.4);
}
.mprof-card:active {
  transform: scale(0.975);
}
.mprof-cover {
  width: 100%;
  height: 68px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a2547, #003366);
}
.mprof-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mprof-av {
  margin-top: -34px;
  border-radius: 50%;
  border: 3.5px solid #ffffff;
  box-shadow: 0 4px 14px rgba(10, 34, 70, 0.18);
  position: relative;
  z-index: 2;
  background: #ffffff;
}
.mprof-body {
  padding: 8px 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
  min-width: 0;
}
.mprof-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}
.mprof-role {
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}
.mprof-loc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 3px;
}
.mprof-loc svg {
  color: #94a3b8;
  flex: none;
}
.mprof-badges {
  margin-top: 8px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
}
.mprof-badges .pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2.5px 8px;
}

.rcard-v2 {
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.12s;
}
.rcard-v2:hover { box-shadow: var(--sh2); }
.rcard-v2:active { transform: scale(0.99); }
.rc-top {
  padding: 9px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  background: var(--paper);
}
.rc-art {
  height: 116px;
  padding: 12px 14px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, #0a2246 0%, #004b87 55%, #3b97b8 100%);
  color: #fff;
}
.rc-art.rt-Majalah { background: linear-gradient(135deg, #003366 0%, #2b6cb0 55%, #78be20 100%); }
.rc-art.rt-Whitepaper { background: linear-gradient(135deg, #1e3a5f 0%, #3b8ea5 100%); }
.rc-art.rt-Video { background: linear-gradient(135deg, #0f172a 0%, #005a9c 65%, #38bdf8 100%); }
.rc-art.rt-Studi { background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 55%, #78be20 100%); }
.rc-badge {
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.rc-art-ic {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  color: #fff;
}
.rc-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rc-body b {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.32;
}
.rc-body small {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- Beranda (Home Dashboard) ---------- */
.hero-ev {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background:
    radial-gradient(260px 160px at 95% 15%, rgba(120, 190, 32, 0.25), transparent 70%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 60%, var(--navy-700) 100%);
  color: #fff;
  box-shadow: var(--sh2);
  cursor: pointer;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.he-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 2px solid var(--lime-bright);
  padding-right: 16px;
  min-width: 82px;
}
.he-date b {
  font-size: 52px;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.he-date span { font-size: 13.5px; font-weight: 600; color: #c5d6ed; margin-top: 4px; }
.he-date small {
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--lime-bright);
  color: var(--navy-950);
  font-weight: 800;
  font-size: 11px;
}
.he-b small { color: var(--lime-bright); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.he-b h2 { font-size: 17.5px; line-height: 1.28; font-weight: 700; margin: 4px 0 8px; color: #fff; }
.he-b .meta { color: #d0def2; }
.he-act { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.he-p { font-weight: 700; font-size: 16px; color: #fff; }
.he-p small { font-size: 11.5px; font-weight: 500; color: #b8cbe6; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12.5px; color: var(--muted); }
.meta .ic { color: currentColor; opacity: 0.85; margin-right: -3px; }
.meta span + .ic { margin-left: 6px; }

/* Quick Menu Grid */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 6px; }
.quick.q3 { grid-template-columns: repeat(3, 1fr); }
.quick .q {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 4px 2px;
  font-size: 12px;
  text-align: center;
  min-height: 48px;
  color: var(--ink-2);
}
.quick .q span {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--paper);
  color: var(--navy-700);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: var(--sh1);
  transition: background 0.15s, color 0.15s, transform 0.12s, border-color 0.15s;
}
.quick .q:hover span {
  background: var(--navy);
  color: var(--lime-bright);
  border-color: var(--navy);
  transform: translateY(-1px);
}
.quick .q b { font-weight: 600; color: var(--ink); }

.join-card {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--sh1);
}
.join-card h3 { font-size: 18.5px; font-weight: 800; line-height: 1.25; }
.join-card p { color: #c5d6ed; font-size: 13.5px; margin-top: 4px; line-height: 1.45; }
.jc-btns { display: flex; gap: 10px; }

.hscroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin: 0 -16px;
  padding: 2px 16px 8px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.hscroll::-webkit-scrollbar { display: none; }
.hl {
  flex: none;
  width: 156px;
  padding: 14px;
  border-radius: var(--r-card);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  scroll-snap-align: start;
  min-height: 112px;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}
.hl::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--navy), var(--lime));
}
.hl:hover { box-shadow: var(--sh2); }
.hl.wide { width: 224px; min-height: 0; }
.hl > span {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy-50);
  color: var(--navy-700);
  display: grid;
  place-items: center;
}
.hl b { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.hl small { color: var(--muted); font-size: 12px; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 94px;
  padding: 15px;
  border-radius: var(--r-card);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  text-align: left;
  color: var(--navy);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.tile:hover { border-color: var(--sky); box-shadow: var(--sh2); }
.tile:nth-child(4n+2), .tile:nth-child(4n+3) {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-color: transparent;
  color: #fff;
}
.tile:nth-child(4n+2) .ic, .tile:nth-child(4n+3) .ic { color: var(--lime-bright); }
.tile b { font-size: 14.5px; font-weight: 700; }
.tile:active { transform: scale(0.98); }

.greet + .cardbtn { margin-top: -4px; }
.cardbtn { display: block; width: 100%; text-align: left; }
.cardhint { display: flex; gap: 6px; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; margin-top: 10px; font-weight: 600; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stats.three { grid-template-columns: repeat(3, 1fr); }
.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--r-card);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  text-align: left;
}
.stat.col { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
.stat b { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.stat small { color: var(--muted); font-size: 12px; }
.stat-big { font-weight: 800; font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; color: var(--navy); }
.stats.three .stat { padding: 12px; }
.prep-s { margin: 0; }

/* ---------- Kartu Daftar (Pelatihan, Acara, Diskusi, Lowongan) ---------- */
.datebox {
  width: 52px;
  flex: none;
  padding: 7px 0 6px;
  border-radius: 12px;
  background: var(--navy-50);
  text-align: center;
  line-height: 1.1;
  align-self: flex-start;
  border: 1px solid var(--navy-100);
  position: relative;
  overflow: hidden;
}
.datebox::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--lime);
}
.datebox b { display: block; font-size: 21px; font-weight: 800; color: var(--navy); }
.datebox span { font-size: 11px; font-weight: 700; color: var(--sky-d); text-transform: uppercase; letter-spacing: 0.03em; }

.tcard {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: var(--r-card);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.12s, border-color 0.15s;
  text-align: left;
}
.tcard:hover { box-shadow: var(--sh2); border-color: var(--line-2); }
.tcard:active { transform: scale(0.99); }
.tc-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.tc-b h3 { font-size: 15px; line-height: 1.32; font-weight: 700; color: var(--ink); }
.tc-f { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  margin-top: 2px;
}
.price { font-weight: 800; font-size: 15px; color: var(--navy); }
.price small { font-weight: 500; font-size: 11.5px; color: var(--muted); }
.price.alt { color: var(--lime-d); }

.logo-box {
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 22px;
}
.logo-box.lg { width: 62px; height: 62px; font-size: 28px; border-radius: 16px; }

.thcard {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: var(--r-card);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  cursor: pointer;
  text-align: left;
  transition: box-shadow 0.15s, transform 0.12s;
}
.thcard:hover { box-shadow: var(--sh2); }
.th-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.th-b h3 { font-size: 15px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.th-f { display: flex; gap: 16px; color: var(--muted); font-size: 12.5px; align-items: center; margin-top: 2px; }
.th-f span { display: inline-flex; gap: 4px; align-items: center; font-weight: 600; }
.th-f .liked { color: var(--lime-d); }
.th-f .liked svg, .chip.on svg { fill: currentColor; }

.dom {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px;
  border-radius: var(--r-card);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  text-align: left;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.dom:hover { border-color: var(--sky); box-shadow: var(--sh2); }
.dom > span:nth-child(2) { flex: 1; }
.dom b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.dom small { color: var(--muted); font-size: 12.5px; }
.dom-n {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--lime-bright);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
  flex: none;
}
.dom-n.s { width: 34px; height: 34px; border-radius: 10px; font-size: 14px; }
.prin { display: flex; gap: 12px; padding: 14px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh1); }
.prin p { color: var(--ink-2); font-size: 13.5px; margin-top: 3px; line-height: 1.45; }

.mcat { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.mcat p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.mc-fee { text-align: right; font-weight: 800; font-size: 17px; color: var(--navy); white-space: nowrap; }
.mc-fee small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.ben { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; background: var(--paper); border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--sh1); }
.ben .ic { color: var(--lime); margin-top: 2px; flex: none; }
.ben b { font-size: 14.5px; color: var(--ink); }
.ben p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.calc-out { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.calc-out small { color: var(--muted); font-weight: 600; font-size: 12px; }
.calc-out b { display: block; font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.calc-out p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.save { color: var(--lime-d) !important; font-weight: 700; font-size: 13px; }
.pricebox { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pb-c { padding: 12px 14px; border-radius: var(--r-ctl); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.pb-c.on { box-shadow: inset 0 0 0 2px var(--sky-d); background: var(--sky-50); }
.pb-c small { color: var(--muted); font-size: 12px; font-weight: 600; display: block; }
.pb-c b { font-size: 17px; font-weight: 800; color: var(--navy); }
.done-b { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.done-b > .ic { color: var(--lime); }
.done-b h2 { font-size: 23px; font-weight: 800; }
.done-b p { color: var(--muted); max-width: 34ch; }
.done-b .ledger, .done-b .cta-b { width: 100%; text-align: left; }
.done-b.sm { gap: 8px; }

/* ---------- Login & Profil ---------- */
.login-h { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; }
.login-h h2 { font-size: 24px; font-weight: 800; margin-top: 8px; color: var(--ink); }
.login-h p { color: var(--muted); font-size: 14px; }
.guest-h { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 24px 18px; background: var(--paper); border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: var(--sh1); }
.guest-h h2 { font-size: 21px; font-weight: 800; }
.guest-h p { color: var(--muted); max-width: 32ch; font-size: 13.5px; }
.pf-h {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--paper);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
}
.pf-h h2 { font-size: 20px; font-weight: 800; line-height: 1.2; color: var(--ink); }
.pf-h p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.pf-t { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.pf-card { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh1); }
.pf-card small { display: block; color: var(--muted); }
.photo-r { display: flex; gap: 16px; align-items: center; }
.photo-r small { display: block; color: var(--muted); margin-top: 6px; font-size: 12px; }
.status-b { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-card); }
.status-b b { font-size: 15.5px; font-weight: 700; display: block; }
.status-b p { font-size: 13px; margin-top: 2px; }
.status-b.ok { background: var(--lime-50); color: var(--lime-d); border: 1px solid #d4eab8; }
.status-b.bad { background: var(--red-50); color: var(--red-d); border: 1px solid #fecaca; }
.table { background: var(--paper); border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: var(--sh1); }
.tr { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; }
.tr + .tr { border-top: 1px solid var(--line); }
.tr b { display: block; font-size: 14px; font-weight: 700; }
.tr small { color: var(--muted); font-size: 12px; }
.tr-r { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-weight: 700; font-size: 14px; }
.sum-b { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh1); }
.sum-b small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.sum-b b { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--navy); }
.sum-b.warn { background: var(--warn-50); border-color: #fde68a; }
.sum-b.ok { background: var(--lime-50); border-color: #d4eab8; }

/* ---------- Kartu Anggota Digital (Modern Executive Card) ---------- */
.mcard {
  position: relative;
  aspect-ratio: 1.586;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(280px 180px at 95% 15%, rgba(120, 190, 32, 0.28), transparent 70%),
    radial-gradient(240px 180px at 10% 95%, rgba(59, 151, 184, 0.32), transparent 65%),
    linear-gradient(135deg, #061830 0%, #003366 55%, #004b87 100%);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  box-shadow: 0 16px 32px -12px rgba(6, 21, 45, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  text-align: left;
}
.mcard::before {
  content: '';
  position: absolute;
  right: -36px;
  bottom: -48px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 24px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.mcard > * { position: relative; z-index: 1; }
.mc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.stamp {
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  background: rgba(143, 209, 41, 0.2);
  border: 1.5px solid var(--lime-bright);
  color: var(--lime-bright);
}
.stamp.bad { border: 1.5px solid #fda4af; color: #fecdd3; background: rgba(220, 38, 38, 0.2); }
.mc-name { font-weight: 800; font-size: 21px; line-height: 1.15; letter-spacing: -0.015em; color: #fff; }
.mc-sub { color: #c5d6ed; font-size: 12.5px; margin-top: 3px; line-height: 1.3; }
.mc-ledger { display: grid; gap: 4px; font-size: 12.5px; background: rgba(255, 255, 255, 0.06); padding: 8px 12px; border-radius: 10px; }
.mc-ledger > div { display: flex; justify-content: space-between; align-items: baseline; }
.mc-ledger dt { color: #b4c6e0; }
.mc-ledger i { display: none; }
.mc-ledger dd { font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; }
.mc-certs { position: absolute !important; right: 20px; top: 52px; display: flex; gap: 6px; }
.mc-certs span { padding: 2px 8px; border-radius: 6px; background: var(--lime-bright); color: var(--navy-950); font-weight: 800; font-size: 11px; }
.mcard.off { background: linear-gradient(135deg, #334155, #475569); }
.mcard.off .mc-name { color: #e2e8f0; }
.mcard.mini { padding: 16px 18px; }
.mcard.mini .mc-name { font-size: 19px; }
.mcard.mini .mc-ledger { font-size: 11.5px; padding: 6px 10px; }
.mcard.back {
  background: var(--paper);
  color: var(--navy);
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  border: 1.5px solid var(--line-2);
}
.mcard.back::before { display: none; }
.mcard.back.off { background: #f1f5f9; }
.mc-qr { color: var(--navy); padding: 8px; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.mc-qr .qr { display: block; }
.mcard.back p { font-size: 12px; color: var(--muted); max-width: 30ch; }
.mcard.back small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.flip { perspective: 1400px; cursor: pointer; }
.flip-i { position: relative; transform-style: preserve-3d; transition: transform 0.6s var(--ease); }
.flip.back .flip-i { transform: rotateY(180deg); }
.face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face.b { position: absolute; inset: 0; transform: rotateY(180deg); }
.face .mcard { height: 100%; }
.cardpage { gap: 18px; }
.cardnote { text-align: center; color: var(--muted); font-size: 13px; margin-top: -4px; }

/* ---------- Belajar, Kalender & Sertifikat ---------- */
.lcard {
  background: var(--paper);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.lc-h { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.lc-h b { font-size: 15px; line-height: 1.3; color: var(--ink); }
.lc-h small { display: block; margin-top: 4px; }
.lc-p { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.lc-p .bar { flex: 1; }
.next-b {
  padding: 16px;
  border-radius: var(--r-card);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--sh1);
}
.next-b small { color: var(--lime-bright); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.next-b b { font-size: 17px; font-weight: 700; line-height: 1.3; }
.next-b span { display: flex; gap: 6px; align-items: center; color: #c5d6ed; font-size: 12.5px; margin-top: 2px; }

.cal {
  background: var(--paper);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  padding: 10px 12px 14px;
}
.cal-h { display: flex; justify-content: space-between; align-items: center; }
.cal-h b { font-size: 16.5px; font-weight: 800; color: var(--ink); }
.cal-h .icon-btn[disabled] { opacity: 0.3; }
.cal-w, .cal-g { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.cal-w span { font-size: 11.5px; font-weight: 700; color: var(--muted); padding: 6px 0; }
.cd {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  min-height: 44px;
  border-radius: 12px;
  padding-top: 6px;
  font-size: 13.5px;
  transition: background 0.15s;
}
.cd:hover:not(.sel) { background: var(--navy-50); }
.cd i { font-style: normal; font-size: 7px; line-height: 1; color: var(--lime); letter-spacing: 1px; }
.cd.empty { visibility: hidden; }
.cd.has b { font-weight: 800; color: var(--navy); }
.cd.today b { background: var(--lime); color: #fff; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; margin-top: -2px; }
.cd.sel { background: var(--navy); color: #fff; }
.cd.sel b, .cd.sel i { color: #fff; }
.cd.sel.today b { background: var(--lime-bright); color: var(--navy-950); }

.eccard {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: var(--r-card);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  width: 100%;
  text-align: left;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.eccard:hover { box-shadow: var(--sh2); border-color: var(--sky); }
.eccard > span:nth-child(2) { flex: 1; min-width: 0; }
.eccard b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.eccard small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.ec-i { width: 44px; height: 44px; border-radius: 12px; background: var(--lime-50); color: var(--lime-d); display: grid; place-items: center; flex: none; }

.certdoc { padding: 12px; background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--sh2); }
.cd-in {
  border: 2px solid var(--navy);
  border-radius: 10px;
  background: #fff;
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  outline: 1.5px solid var(--lime);
  outline-offset: -7px;
}
.cd-in > * { position: relative; }
.cd-top { display: flex; justify-content: space-between; align-items: center; width: 100%; font-size: 10.5px; color: var(--muted); }
.cd-k { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sky-d); margin-top: 6px; }
.cd-n { font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.cd-t { font-size: 12px; color: var(--muted); }
.cd-h { font-size: 16px; font-weight: 700; line-height: 1.35; max-width: 28ch; color: var(--ink); }
.cd-foot { display: flex; gap: 12px; align-items: center; margin-top: 12px; text-align: left; }
.cd-foot small { display: block; font-size: 10px; color: var(--muted); max-width: 28ch; }
.cd-foot b { font-size: 12.5px; color: var(--ink); }
.seal { width: 46px; height: 46px; border-radius: 50%; background: var(--lime-50); border: 2px solid var(--lime); color: var(--lime-d); display: grid; place-items: center; flex: none; }

.certcard {
  display: flex;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 14px;
  border-radius: var(--r-card);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  text-align: left;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.certcard:hover { box-shadow: var(--sh2); border-color: var(--sky); }
.certcard > span:nth-child(2) { flex: 1; }
.certcard b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.certcard small { color: var(--muted); font-size: 12.5px; }
.cc-code { display: inline-grid; place-items: center; min-width: 58px; height: 40px; padding: 0 10px; border-radius: 10px; background: var(--navy); color: var(--lime-bright); font-weight: 800; font-size: 14px; letter-spacing: 0.02em; }
.cc-code.big { height: 46px; font-size: 17px; width: fit-content; }
.cert-h { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.certstat .cs-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.certstat .ledger { box-shadow: none; border: 0; padding: 0; }
.q-t { font-size: 15.5px; font-weight: 700; margin: 6px 0 12px; line-height: 1.4; color: var(--ink); }
.tp { border-bottom: 1px solid var(--line); }
.tp:last-child { border-bottom: 0; }

/* ---------- CPE ---------- */
.cpe-hero {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: var(--paper);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
}
.cpe-hero b { font-size: 16px; font-weight: 800; display: block; color: var(--ink); }
.cpe-hero p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.ethics { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; margin-top: 8px !important; }
.ethics.ok { color: var(--lime-d); } .ethics.warn { color: var(--warn); }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 120px; align-items: end; padding: 14px 12px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh1); }
.bcol { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; }
.bcol i { width: 100%; max-width: 20px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--sky), var(--navy)); display: block; min-height: 3px; }
.bcol i.z { background: var(--bg-subtle); }
.bcol small { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.catbars { display: grid; gap: 10px; padding: 14px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh1); }
.cb { display: grid; grid-template-columns: 96px 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.cb b { font-size: 13px; font-weight: 700; }
.report { padding: 16px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh1); display: flex; flex-direction: column; gap: 10px; }
.report h3 { font-size: 19px; font-weight: 800; color: var(--ink); }
.report p { color: var(--muted); font-size: 13px; }
.report .ledger { box-shadow: none; border: 0; padding: 0; }

/* ---------- Pengembangan Profesional ---------- */
.radar-w { background: var(--paper); border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: var(--sh1); padding: 8px; }
.radar { width: 100%; height: auto; }
.rg { fill: none; stroke: var(--line-2); stroke-width: 1; }
.rp { fill: rgba(0, 102, 153, 0.2); stroke: var(--sky-d); stroke-width: 2.2; }
.rd { fill: var(--lime); stroke: #fff; stroke-width: 1.2; }
.rl { font-size: 10.5px; font-weight: 600; fill: var(--ink-2); font-family: var(--f-ui); }
.slider { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh1); }
.slider small { display: block; color: var(--muted); font-size: 12px; }
.sl-r { display: flex; align-items: center; gap: 12px; }
.sl-r output { min-width: 92px; text-align: right; font-weight: 700; font-size: 13px; color: var(--sky-d); }
.road { display: flex; flex-direction: column; gap: 0; }
.road > li { position: relative; padding-left: 0; border-left: 3px solid var(--line-2); margin-left: 16px; padding-bottom: 14px; }
.road > li.past { border-color: var(--lime); }
.road > li.now { border-color: var(--sky-d); }
.road > li:last-child { border-color: transparent; }
.rd-h { display: flex; align-items: center; gap: 12px; width: calc(100% + 16px); margin-left: -16px; min-height: 56px; padding: 6px 0; text-align: left; }
.rd-h > span:nth-child(2) { flex: 1; }
.rd-h b { display: block; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.rd-h small { color: var(--muted); font-size: 12.5px; }
.rd-h > .ic { transition: transform 0.2s; color: var(--muted); }
.road > li.open .rd-h > .ic:last-child { transform: rotate(180deg); }
.rd-n { width: 30px; height: 30px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line-2); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; z-index: 1; }
.road > li.past .rd-n { background: var(--lime); color: #fff; box-shadow: none; }
.road > li.now .rd-n { background: var(--navy); color: #fff; box-shadow: none; }
.rd-b { display: none; padding: 4px 0 4px 20px; flex-direction: column; gap: 10px; }
.road > li.open .rd-b { display: flex; }
.rd-b h4 { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.path { display: flex; flex-direction: column; gap: 12px; counter-reset: p; }
.path li { display: flex; gap: 12px; align-items: flex-start; }
.pcard { flex: 1; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 14px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh1); }
.pcard b { font-size: 15px; line-height: 1.3; cursor: pointer; color: var(--ink); }
.pcard small { color: var(--muted); font-size: 12.5px; }
.rec { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.rec > * { width: 100%; }
.rec .why { display: flex; gap: 6px; align-items: center; color: var(--lime-d); font-weight: 700; font-size: 13px; }
.rec .link { width: auto; align-self: flex-end; color: var(--muted); text-decoration: none; }
.mentor { display: flex; gap: 12px; align-items: center; }
.mt-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mt-b small { color: var(--muted); font-size: 12px; }
.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.badge { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 14px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh1); }
.badge small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.badge .bar { width: 100%; flex: none; }
.b-i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-subtle); color: var(--muted); }
.badge.on { background: var(--lime-50); border-color: #d4eab8; }
.badge.on .b-i { background: var(--lime); color: #fff; }

/* ---------- Perangkat Audit ---------- */
.heat { display: grid; grid-template-columns: 18px 1fr; grid-template-rows: auto 18px; gap: 4px 6px; align-items: center; padding: 14px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh1); }
.ylab { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: center; }
.xlab { grid-column: 2; text-align: center; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.hg { display: grid; grid-template-columns: 16px repeat(5, 1fr); gap: 4px; align-items: stretch; }
.ax { font-size: 11px; color: var(--muted); display: grid; place-items: center; font-weight: 700; }
.hc { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; font-weight: 800; color: var(--ink); min-height: 40px; }
.hc.lo { background: #dcfce7; } .hc.mid { background: #fef08a; } .hc.hi { background: #fecdd3; }
.hc.sel { outline: 2.5px solid var(--navy); outline-offset: 1px; }
.hc b { background: var(--navy); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; }
.score { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 16px; flex: none; }
.score.lo { background: #dcfce7; color: #166534; } .score.mid { background: #fef08a; color: #854d0e; } .score.hi { background: #fecdd3; color: #991b1b; }
.rcm { text-align: left; padding: 14px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh1); display: flex; flex-direction: column; gap: 8px; width: 100%; }
.rcm-h { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.rcm-h b { font-size: 14.5px; line-height: 1.3; }
.rcm .ledger { box-shadow: none; border: 0; padding: 0; background: none; }
.rcm .ledger > div { padding: 6px 0; font-size: 13px; }
.cl { background: var(--paper); border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: var(--sh1); overflow: hidden; }
.cl-h { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; min-height: 62px; text-align: left; }
.cl-h > span:first-child { flex: 1; }
.cl-h b { display: block; font-size: 15px; }
.cl-h small { color: var(--muted); font-size: 12px; }
.cl-h .ic { color: var(--muted); transition: transform 0.2s; }
.cl.open .cl-h > .ic { transform: rotate(180deg); }
.cl-b { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.draft {
  padding: 18px;
  border-radius: var(--r-card);
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  box-shadow: var(--sh1);
}
.draft h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; color: var(--navy); }
.draft h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--sky-d); margin-top: 12px; }
.draft p { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.why { display: flex; gap: 10px; align-items: center; }
.why b { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 12.5px; flex: none; }
.why input { flex: 1; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--paper); }
.qd b { font-size: 14.5px; }
.qd p { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.segq { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 3px; border-radius: 10px; background: var(--bg-subtle); border: 1px solid var(--line); }
.segq button { min-height: 40px; border-radius: 8px; font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: center; padding: 0 2px; }
.segq button.on { background: var(--navy); color: #fff; }
.em { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh1); text-align: left; width: 100%; }
.em b { display: block; font-size: 14.5px; line-height: 1.3; }
.em small { color: var(--muted); font-size: 12px; }
.tplprev { border: 1.5px solid var(--line-2); border-radius: 12px; overflow: hidden; font-size: 12px; }
.tplprev .th, .tplprev .tr { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1px; padding: 0; background: var(--line); }
.tplprev .th span { background: var(--navy); color: #fff; padding: 8px 6px; font-weight: 700; }
.tplprev .tr i { background: #fff; height: 28px; display: block; }
.tplprev .tr + .tr { border-top: 0; }

/* ---------- Asisten AI ---------- */
.chat { display: flex; flex-direction: column; min-height: 100%; }
.msgs { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.msg { display: flex; flex-direction: column; gap: 6px; max-width: 86%; align-items: flex-start; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.mb { padding: 11px 14px; border-radius: 16px 16px 16px 4px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh1); font-size: 14px; line-height: 1.5; color: var(--ink); }
.msg.me .mb { background: var(--navy); color: #fff; border-color: var(--navy); border-radius: 16px 16px 4px 16px; box-shadow: none; }
.mb.typing { display: flex; gap: 4px; padding: 14px; }
.mb.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); animation: blink 1s infinite; }
.mb.typing i:nth-child(2) { animation-delay: 0.15s; } .mb.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 50% { background: var(--sky-d); transform: translateY(-2px); } }
.chat-in { position: sticky; bottom: 0; padding: 8px 12px 12px; background: linear-gradient(to top, var(--bg) 80%, transparent); }
.ask { display: flex; gap: 8px; align-items: center; padding: 5px 5px 5px 16px; border-radius: var(--r-pill); background: var(--paper); border: 1.5px solid var(--line-2); box-shadow: var(--sh1); }
.ask input { flex: 1; border: 0; outline: 0; background: none; min-height: 38px; min-width: 0; }
.ask:focus-within { border-color: var(--sky-d); box-shadow: 0 0 0 3px var(--sky-50); }
.send { background: var(--lime); color: #fff; width: 40px; height: 40px; border-radius: 50%; }
.send:hover { background: var(--lime-d); }

/* ---------- Komunitas ---------- */
.fab {
  position: sticky;
  bottom: 4px;
  align-self: flex-end;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 0 18px;
  min-height: 48px;
  border-radius: var(--r-pill);
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px -8px rgba(0, 51, 102, 0.5);
  z-index: 2;
  margin-right: 0;
}
.fab .ic { color: var(--lime-bright); }
.th-who { display: flex; gap: 10px; align-items: center; }
.th-who small { display: block; color: var(--muted); font-size: 12px; }
.th-act { display: flex; align-items: center; justify-content: space-between; }
.replies { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.reply { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh1); }
.reply small { color: var(--muted); font-size: 12px; display: block; }
.reply p { font-size: 14px; margin-top: 4px; color: var(--ink-2); }
.composer { position: sticky; bottom: 0; display: flex; gap: 8px; align-items: center; padding: 5px 5px 5px 16px; border-radius: var(--r-pill); background: var(--paper); border: 1.5px solid var(--line-2); box-shadow: var(--sh2); margin-top: 4px; }
.composer input[name=text] { flex: 1; border: 0; outline: 0; background: none; min-height: 38px; min-width: 0; }
.g-i { width: 40px; height: 40px; border-radius: 12px; background: var(--navy-50); color: var(--navy-700); display: grid; place-items: center; flex: none; }
.g-i.lg { width: 54px; height: 54px; border-radius: 16px; background: var(--navy); color: var(--lime-bright); }
.g-h { display: flex; gap: 14px; align-items: center; }
.cae-h { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-card); background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; }
.cae-h small { display: block; color: #c5d6ed; }
.cae-h .ic { color: var(--lime-bright); }
.qa { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.qa summary { cursor: pointer; font-size: 14.5px; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa .ans { font-size: 14px; color: var(--ink-2); margin-top: 8px; line-height: 1.5; }
.qa small { color: var(--muted); }
details.qa { display: block; }

/* ---------- Notifikasi ---------- */
.notif { position: relative; align-items: flex-start; }
.notif.unread { background: var(--sky-50); }
.notif .when { color: var(--sky-d); font-weight: 600; margin-top: 2px; }
.udot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); flex: none; margin-top: 6px; }
.reader h4 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.reader { display: flex; flex-direction: column; gap: 12px; }
.bio { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 8px 0; color: var(--navy); }
.bio p { color: var(--muted); max-width: 32ch; }
.cardbtn .mcard { transition: transform 0.2s var(--ease); }
.cardbtn:active .mcard { transform: scale(0.985); }

/* ---------- All Services Drawer ---------- */
.svc-who { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--bg-subtle); border: 1px solid var(--line); }
.svc-who > div { flex: 1; }
.svc-who small { display: block; color: var(--muted); font-size: 12px; }
.svc-g { margin-top: 8px; }
.svc-g h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; color: var(--muted); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  padding: 12px 10px;
  min-height: 84px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  line-height: 1.25;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.svc .ic { color: var(--sky-d); }
.svc:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.svc:hover .ic { color: var(--lime-bright); }
.svc-n { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-subtle); color: var(--muted); display: grid; place-items: center; }
.svc-n.warn { color: var(--warn); background: var(--warn-50); }
.demo-btns .btn.ghost { background: rgba(255, 255, 255, 0.05); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.demo-btns .btn.ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Peta Fitur ---------- */
.cov-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cov-g { background: var(--paper); border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: var(--sh1); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.cov-g h3 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.cov-f { padding: 10px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.cov-f:first-of-type { border-top: 0; }
.cov-f b { font-size: 13.5px; display: flex; gap: 8px; align-items: flex-start; color: var(--ink); }
.cov-f b .ic { color: var(--lime); margin-top: 2px; }
.cov-r { display: flex; flex-wrap: wrap; gap: 6px; }
.cov-r .chip { min-height: 34px; font-size: 12px; font-family: var(--f-ui); padding: 0 10px; }
.cov-f small { color: var(--muted); font-size: 12px; }

.count .link, .fine .link, .c .link { min-height: 0; display: inline; }
.sec-h .link { min-height: 32px; }

/* ---------- Service Hero Banner (Poin 4: Sample Image Seluruh Menu Layanan) ---------- */
.svc-hero {
  border-radius: var(--r-card);
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 115px;
  box-shadow: 0 8px 24px -4px rgba(4, 18, 38, 0.32);
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.svc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 38, 0.45) 0%, rgba(4, 18, 38, 0.88) 100%);
  pointer-events: none;
}
.svc-hero-content {
  position: relative;
  z-index: 1;
}
.svc-hero h2 {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
}
.svc-hero p {
  font-size: 12.5px;
  color: #e2ebf6;
  line-height: 1.45;
  margin: 0;
  max-width: 44ch;
}
.svc-hero.training { background-image: url('../img/services/service-training.svg'); }
.svc-hero.certification { background-image: url('../img/services/service-certification.svg'); }
.svc-hero.events { background-image: url('../img/services/service-events.svg'); }
.svc-hero.publications { background-image: url('../img/services/service-publications.svg'); }
.svc-hero.resources { background-image: url('../img/services/service-resources.svg'); }
.svc-hero.membership { background-image: url('../img/services/service-membership.svg'); }
.svc-hero.tools { background-image: url('../img/services/service-tools.svg'); }
.svc-hero.community { background-image: url('../img/services/service-community.svg'); }
.svc-hero.careers { background-image: url('../img/services/service-careers.svg'); }
.svc-hero.cpe { background-image: url('../img/services/service-cpe.svg'); }

/* ---------- Explore Tiles with Contextual Sample Images ---------- */
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tile.has-img {
  padding: 0;
  overflow: hidden;
  position: relative;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s;
  cursor: pointer;
  text-align: left;
}
.tile.has-img:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh2);
  border-color: var(--sky);
}
.tile.has-img:active { transform: scale(0.98); }
.tile-img-wrap {
  width: 100%;
  height: 72px;
  position: relative;
  overflow: hidden;
  background: #071936;
}
.tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tile-info {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.tile-ic {
  display: inline-flex;
  color: var(--navy);
}
.tile-info b {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

/* ---------- User Profile Header & ID Card Photo Support ---------- */
.home-user-hdr {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 2px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.home-user-hdr .greet {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--navy-950);
}
.home-user-hdr .greet-sub {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.pf-h {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--r-card);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  margin-bottom: 16px;
}
.pf-h h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 3px;
}
.pf-h p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}
.pf-t {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

/* Member Digital Card Photo */
.mc-mid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.mc-data { flex: 1; min-width: 0; }
.mc-av {
  flex: none;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  background: #ffffff;
}

.ev-hero.training {
  background:
    linear-gradient(180deg, rgba(4, 18, 38, 0.35) 0%, rgba(4, 18, 38, 0.88) 100%),
    url('../img/services/service-training.svg') center/cover;
}
.ev-hero.event {
  background:
    linear-gradient(180deg, rgba(4, 18, 38, 0.35) 0%, rgba(4, 18, 38, 0.88) 100%),
    url('../img/services/service-events.svg') center/cover;
}


/* =========================================================================
   REFACTOR: NEWS, TRAINING COVERS, AND CERTIFICATION LOGOS
   ========================================================================= */

/* Training Card with Cover Background */
.tcard.has-cover {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  gap: 0;
}
.tcard-cover {
  position: relative;
  width: 100%;
  height: 124px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.tcard-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 25, 54, 0.42) 0%, rgba(7, 25, 54, 0.72) 100%);
  pointer-events: none;
}
.tcard-cover-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.tcard-cover-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}
.tcard-cover .datebox {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  width: 48px;
  height: 48px;
}
.tcard-cover .datebox b {
  font-size: 19px;
  line-height: 1.1;
}
.tcard-cover .datebox span {
  font-size: 10px;
}
.tag-glass-mode {
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(7, 25, 54, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.tcard-cat-badge {
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(4px);
  letter-spacing: 0.02em;
}
.tcard.has-cover .tc-b {
  padding: 14px;
}

/* News Highlight Card with Image */
.nhl-art.has-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.nhl-art-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 25, 54, 0.45) 0%, rgba(7, 25, 54, 0.78) 100%);
  pointer-events: none;
}
.nhl-cat {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(143, 209, 41, 0.32);
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
}

/* News Card Body Row with Thumbnail */
.nc-art.has-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.nc-art-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 25, 54, 0.42) 0%, rgba(7, 25, 54, 0.75) 100%);
  pointer-events: none;
}
.nc-art.has-img .nc-art-top,
.nc-art.has-img .nc-art-title {
  position: relative;
  z-index: 1;
}
.nc-body-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.nc-thumb-wrap {
  width: 90px;
  height: 90px;
  flex: none;
  border-radius: 10px;
  overflow: hidden;
  background: var(--navy-50);
  border: 1px solid var(--line);
}
.nc-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nc-body-row .nc-b {
  flex: 1;
  min-width: 0;
}

/* Article Hero Banner */
.nc-art.article-hero {
  position: relative;
  height: 170px;
  border-radius: 14px;
  margin-bottom: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.nc-art.article-hero .nc-art-title {
  font-size: 18px;
  line-height: 1.3;
}

/* Ev Hero Training with Background Image */
.ev-hero.training.has-img {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.ev-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 25, 54, 0.45) 0%, rgba(7, 25, 54, 0.75) 100%);
  pointer-events: none;
}
.ev-hero.training.has-img .ev-hero-art {
  position: relative;
  z-index: 1;
}

/* Official Certification Logo Badges */
.cert-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 42px;
  padding: 4px 10px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}
.cert-logo-wrap.big {
  min-width: 120px;
  height: 56px;
  padding: 6px 14px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.cert-logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 26px;
  object-fit: contain;
  display: block;
}
.cert-logo-wrap.big .cert-logo-img {
  height: 38px;
}
