/* ==========================================================================
   Direktorat SDM UNESA — tampilan publik
   Lokasi  : assets/css/dsdm.css   (dimuat paling akhir oleh layouts/head.php)
   Prefix  : .ds-*  agar tidak bentrok dengan CSS template (styles.css / nuzul.css)
   ========================================================================== */

:root {
  /* Warna institusi: biru UNESA + emas */
  --ds-navy-900: #061a46;
  --ds-navy-800: #0a2763;
  --ds-blue-700: #0b399b;
  --ds-blue-600: #1650c7;
  --ds-blue-100: #d9e4f8;
  --ds-blue-50:  #edf2fc;
  --ds-gold-500: #ffb100;
  --ds-gold-400: #ffc233;
  --ds-gold-50:  #fff5db;

  --ds-ink:      #172340;
  --ds-ink-soft: #46536f;
  --ds-muted:    #626d87;
  --ds-line:     #e1e7f1;
  --ds-paper:    #f4f7fc;

  --ds-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ds-container: 1240px;
  --ds-gutter: clamp(16px, 4vw, 32px);

  --ds-r-sm: 8px;
  --ds-r: 12px;
  --ds-r-lg: 20px;
  --ds-shadow-sm: 0 1px 2px rgba(6, 26, 70, .06);
  --ds-shadow: 0 16px 36px -18px rgba(6, 26, 70, .35);
}

/* ---------- Dasar ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) {
  /* clip: tidak memotong konten melebar, tapi tidak mematikan header sticky */
  html, body { overflow-x: clip !important; }
}
body.ds-body { background: #fff; }

.ds-scope {
  font-family: var(--ds-font);
  color: var(--ds-ink);
  -webkit-font-smoothing: antialiased;
}
.ds-scope img { max-width: 100%; }
.ds-scope :focus-visible {
  outline: 3px solid var(--ds-blue-600);
  outline-offset: 2px;
  border-radius: 4px;
}
.ds-on-dark :focus-visible,
.ds-scope .ds-on-dark :focus-visible { outline-color: var(--ds-gold-500); }

.ds-container {
  width: 100%;
  max-width: calc(var(--ds-container) + 2 * var(--ds-gutter));
  margin-inline: auto;
  padding-inline: var(--ds-gutter);
}

.ds-skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 2100;
  padding: 10px 16px;
  background: #fff;
  color: var(--ds-navy-900);
  font: 700 15px/1.2 var(--ds-font);
  border-radius: var(--ds-r-sm);
  box-shadow: var(--ds-shadow);
  text-decoration: none;
  transition: top .15s;
}
.ds-skip:focus { top: 12px; }

/* Indikator memuat (garis tipis di atas, tidak menutupi halaman) */
#loader.ds-loader {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 2000;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
  transition: opacity .3s ease;
}
#loader.ds-loader::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: var(--ds-gold-500);
  animation: ds-loading 1.1s ease-in-out infinite;
}
#loader.ds-loader.hidden { opacity: 0; }
@keyframes ds-loading {
  from { transform: translateX(-100%); }
  to   { transform: translateX(260%); }
}

/* Google Translate: sembunyikan bilah & tooltip bawaan */
.ds-gt { display: none !important; }
body { top: 0 !important; }
.goog-te-banner-frame,
iframe.skiptranslate,
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,
#goog-gt-tt,
.goog-te-balloon-frame,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ---------- Tombol ---------- */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: 10px;
  font: 700 15px/1.2 var(--ds-font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.ds-btn i { font-size: 18px; }
.ds-btn--gold { background: var(--ds-gold-500); color: var(--ds-navy-900); }
.ds-btn--gold:hover { background: var(--ds-gold-400); color: var(--ds-navy-900); }
.ds-btn--primary { background: var(--ds-blue-700); color: #fff; }
.ds-btn--primary:hover { background: var(--ds-navy-800); color: #fff; }
.ds-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.ds-btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.ds-btn--outline { background: #fff; color: var(--ds-blue-700); border-color: var(--ds-line); }
.ds-btn--outline:hover { border-color: var(--ds-blue-700); color: var(--ds-blue-700); }
.ds-btn--block { width: 100%; }
.ds-btn--sm { min-height: 38px; padding: 7px 14px; border-radius: 9px; font-size: 14px; }
.ds-btn--sm i { font-size: 17px; }
.ds-btn--icon { width: 38px; padding: 0; }
.ds-btn:disabled { opacity: .7; cursor: progress; }

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.ds-topbar {
  position: relative;
  z-index: 1040;   /* > .ds-header (1030) */
  background: var(--ds-navy-900);
  color: rgba(255, 255, 255, .8);
  font: 500 13px/1.4 var(--ds-font);
}
.ds-topbar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 42px;
}
.ds-topbar__links {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
          mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.ds-topbar__links::-webkit-scrollbar { display: none; }
.ds-topbar__links a {
  position: relative;
  flex-shrink: 0;
  padding: 4px 12px;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  white-space: nowrap;
}
.ds-topbar__links a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 12px;
  margin-top: -6px;
  background: rgba(255, 255, 255, .22);
}
.ds-topbar__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ds-topbar__links a.ds-topbar__unesa {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--ds-gold-500);
  color: var(--ds-navy-900);
  font-weight: 700;
}
.ds-topbar__links a.ds-topbar__unesa:hover { background: var(--ds-gold-400); text-decoration: none; }
.ds-topbar__unesa + a::before { display: none; }

.ds-topbar__right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ds-topbar__contact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  border-radius: 6px;
}
.ds-topbar__contact:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.ds-topbar__contact i { font-size: 16px; }

.ds-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  font: 600 13px/1 var(--ds-font);
}
.ds-lang__btn:hover, .ds-lang__btn[aria-expanded="true"] { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.ds-lang__btn img, .ds-lang__menu img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.ds-lang__menu { min-width: 180px; padding: 6px; border: 0; border-radius: var(--ds-r); box-shadow: var(--ds-shadow); font-family: var(--ds-font); }
.ds-lang__menu .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.ds-lang__menu .dropdown-item.active,
.ds-lang__menu .dropdown-item:active { background: var(--ds-blue-50); color: var(--ds-blue-700); }

@media (max-width: 767.98px) {
  .ds-topbar__contact span, #langLabel { display: none; }
  .ds-topbar__inner { gap: 8px; }
}
@media (min-width: 1200px) {
  .ds-topbar__links { -webkit-mask-image: none; mask-image: none; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.ds-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--ds-blue-700);
  color: #fff;
  transition: box-shadow .2s ease;
}
.ds-header.is-stuck { box-shadow: 0 8px 24px -12px rgba(3, 15, 45, .6); }
.ds-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}
.ds-header__logo { display: inline-flex; flex-shrink: 0; }
.ds-header__logo img { height: 46px; width: auto; display: block; }

.ds-nav { display: none; margin-inline: auto; }
.ds-nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ds-nav__item { position: relative; }
.ds-nav__item.has-mega { position: static; }
.ds-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: rgba(255, 255, 255, .92);
  font: 600 15px/1.2 var(--ds-font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.ds-nav__link:hover,
.has-dd.is-open > .ds-nav__link { background: rgba(255, 255, 255, .1); color: #fff; }
.ds-nav__link i { font-size: 15px; transition: transform .2s ease; }
.has-dd.is-open > .ds-nav__link i { transform: rotate(180deg); }
.ds-nav__link.is-active { color: #fff; }
.ds-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 3px;
  border-radius: 2px;
  background: var(--ds-gold-500);
}

/* Panel dropdown */
.ds-dd {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  min-width: 250px;
  padding: 8px;
  background: #fff;
  color: var(--ds-ink);
  border-radius: var(--ds-r);
  box-shadow: 0 22px 44px -16px rgba(6, 26, 70, .4), 0 0 0 1px rgba(6, 26, 70, .06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.ds-dd::before { /* jembatan hover agar panel tidak tertutup saat kursor turun */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.ds-dd--end { left: auto; right: 0; }
.has-dd.is-open > .ds-dd { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
/* Cadangan tanpa JavaScript */
html:not(.ds-js) .has-dd:hover > .ds-dd,
html:not(.ds-js) .has-dd:focus-within > .ds-dd { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.ds-dd a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ds-ink);
  font: 500 14.5px/1.35 var(--ds-font);
  text-decoration: none;
}
.ds-dd a:hover, .ds-dd a:focus-visible { background: var(--ds-blue-50); color: var(--ds-blue-700); outline-offset: -2px; }

.ds-dd--mega {
  top: calc(100% - 6px);
  left: var(--ds-gutter);
  right: var(--ds-gutter);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 24px;
  padding: 22px;
}
.ds-dd__group { min-width: 0; }
.ds-dd__title {
  margin: 0 0 6px;
  padding: 0 12px 10px;
  border-bottom: 1px solid var(--ds-line);
  color: var(--ds-navy-900);
  font: 800 14px/1.35 var(--ds-font);
}
.ds-dd__empty { display: block; padding: 9px 12px; color: var(--ds-muted); font-size: 14px; }

/* Aksi kanan */
.ds-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.ds-header__login { display: none; }
.ds-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 22px;
}
.ds-burger:hover { background: rgba(255, 255, 255, .16); }

@media (min-width: 768px) {
  .ds-header__login { display: inline-flex; }
}
@media (min-width: 1200px) {
  .ds-nav { display: block; }
  .ds-header__actions { margin-left: 0; }
  .ds-burger { display: none; }
}
@media (max-width: 575.98px) {
  .ds-header__bar { min-height: 64px; }
  .ds-header__logo img { height: 36px; }
}

/* ==========================================================================
   MENU SELULER (offcanvas)
   ========================================================================== */
.ds-offcanvas.offcanvas { width: min(360px, 88vw); }
.ds-offcanvas__head { background: var(--ds-blue-700); padding: 14px 20px; }
.ds-offcanvas__logo { height: 36px; width: auto; }
.ds-offcanvas__body { padding: 8px 20px 28px; }
.ds-m-nav { display: flex; flex-direction: column; }
.ds-m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 4px;
  border: 0;
  border-bottom: 1px solid var(--ds-line);
  background: none;
  color: var(--ds-navy-900);
  font: 700 16px/1.3 var(--ds-font);
  text-align: left;
  text-decoration: none;
}
.ds-m-link:hover { color: var(--ds-blue-700); }
.ds-m-link.is-active { color: var(--ds-blue-700); }
.ds-m-link.is-active::before {
  content: "";
  width: 4px;
  height: 18px;
  margin-right: 10px;
  border-radius: 2px;
  background: var(--ds-gold-500);
}
.ds-m-link.is-active { justify-content: flex-start; }
.ds-m-link.is-active i { margin-left: auto; }
.ds-m-link i { font-size: 18px; transition: transform .2s ease; }
.ds-m-link[aria-expanded="true"] i { transform: rotate(180deg); }
.ds-m-sub { margin: 0; padding: 6px 0 12px 8px; list-style: none; border-bottom: 1px solid var(--ds-line); }
.ds-m-sub ul { margin: 0 0 6px; padding: 0; list-style: none; }
.ds-m-sub a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--ds-ink-soft);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}
.ds-m-sub a:hover { background: var(--ds-blue-50); color: var(--ds-blue-700); }
.ds-m-sub__h { margin: 12px 10px 4px; color: var(--ds-navy-900); font-weight: 800; font-size: 13.5px; }
.ds-m-sub__empty { display: block; padding: 6px 10px; color: var(--ds-muted); font-size: 14px; }
.ds-offcanvas__foot { display: grid; gap: 10px; margin-top: 24px; }

/* ==========================================================================
   SEKSI & JUDUL
   ========================================================================== */
.ds-section { padding-block: clamp(52px, 7vw, 96px); background: #fff; }
.ds-section--paper { background: var(--ds-paper); }
.ds-section--tight { padding-block: clamp(40px, 5vw, 72px); }
/* Garis kotak seperti seksi biru, versi gelap untuk latar putih */
.ds-section--grid {
  background-color: #fff;
  background-image:
    linear-gradient(90deg, rgba(6, 26, 70, .07) 1px, transparent 1px),
    linear-gradient(rgba(6, 26, 70, .07) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: center top;
}
.ds-section--navy {
  background-color: var(--ds-blue-700);
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 36px 36px;
  color: #fff;
}

.ds-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 28px;
  margin-bottom: clamp(26px, 3vw, 40px);
}
.ds-h2 {
  position: relative;
  margin: 0;
  padding-bottom: 14px;
  color: var(--ds-navy-900);
  font: 800 clamp(26px, 3vw, 36px)/1.15 var(--ds-font);
  letter-spacing: -0.015em;
}
.ds-h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--ds-gold-500);
}
.ds-lead { max-width: 62ch; margin: 14px 0 0; color: var(--ds-ink-soft); font-size: 16px; line-height: 1.6; }
.ds-on-dark .ds-h2 { color: #fff; }
.ds-on-dark .ds-lead { color: rgba(255, 255, 255, .8); }

.ds-more {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  border-bottom: 2px solid var(--ds-blue-100);
  color: var(--ds-blue-700);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: border-color .15s ease;
}
.ds-more:hover { border-bottom-color: var(--ds-blue-700); color: var(--ds-blue-700); }
.ds-on-dark .ds-more { color: #fff; border-bottom-color: rgba(255, 255, 255, .35); }
.ds-on-dark .ds-more:hover { color: #fff; border-bottom-color: var(--ds-gold-500); }

.ds-head-actions { display: flex; align-items: center; gap: 10px; }
.ds-head-actions .ds-more { margin-left: 8px; }
.ds-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ds-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ds-navy-900);
  font-size: 20px;
}
.ds-on-dark .ds-round { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); color: #fff; }
.ds-on-dark .ds-round:hover { background: rgba(255, 255, 255, .18); }

.ds-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--ds-muted); font-size: 13.5px; }
.ds-meta i { margin-right: 5px; font-size: 16px; vertical-align: -2px; }
.ds-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ds-blue-50);
  color: var(--ds-blue-700);
  font-weight: 700;
  font-size: 12.5px;
}

.ds-stretched { color: inherit; text-decoration: none; }
.ds-stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ds-stretched:focus-visible { outline: none; }
.ds-stretched:focus-visible::after { outline: 3px solid var(--ds-blue-600); outline-offset: 2px; border-radius: inherit; }

.ds-noimg {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: var(--ds-blue-50);
  color: var(--ds-blue-100);
  font-size: 56px;
}
.ds-empty {
  margin: 0;
  padding: 28px;
  border: 1px dashed var(--ds-line);
  border-radius: var(--ds-r);
  color: var(--ds-muted);
  text-align: center;
  background: #fff;
}
.ds-empty--sm { padding: 16px; font-size: 14px; }

/* ==========================================================================
   BANNER
   ========================================================================== */
.ds-hero { position: relative; overflow: hidden; background: var(--ds-navy-900); color: #fff; }
.ds-hero__swiper { width: 100%; }
.ds-hero .swiper-slide {
  position: relative;
  height: clamp(420px, 50vw, 640px);
  /* Jangan lebih tinggi dari layar (laptop 1366×768): judul & tombol tetap terlihat */
  height: max(420px, min(640px, 50vw, calc(100svh - 120px)));
  background: var(--ds-navy-900);
}
.ds-hero picture { display: block; width: 100%; height: 100%; }
.ds-hero .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ds-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 26, 70, .86) 0%, rgba(6, 26, 70, .55) 36%, rgba(6, 26, 70, 0) 68%),
    linear-gradient(0deg, rgba(6, 26, 70, .7) 0%, rgba(6, 26, 70, 0) 46%);
}
.ds-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.ds-hero__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(28px, 5vw, 64px);
}
.ds-hero__caption {
  max-width: 640px;
  padding-left: 20px;
  border-left: 4px solid var(--ds-gold-500);
  pointer-events: auto;
}
.ds-hero__title {
  margin: 0 0 14px;
  color: #fff;
  font: 800 clamp(30px, 4.4vw, 56px)/1.05 var(--ds-font);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.ds-hero__sub {
  max-width: 54ch;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.6;
}
.ds-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ds-hero__controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; pointer-events: auto; }
.ds-hero__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(6, 26, 70, .35);
  color: #fff;
  font-size: 20px;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.ds-hero__arrow:hover { background: rgba(6, 26, 70, .6); border-color: #fff; }
.ds-hero__dots.swiper-pagination-horizontal,
.ds-hero__dots { position: static; display: flex; align-items: center; width: auto; transform: none; }
.ds-hero__dots .swiper-pagination-bullet {
  width: 26px;
  height: 24px;
  margin: 0 3px !important;
  padding: 10px 0;
  border-radius: 0;
  background: rgba(255, 255, 255, .55);
  background-clip: content-box;
  opacity: 1;
  transition: width .25s ease, background-color .25s ease;
}
.ds-hero__dots .swiper-pagination-bullet-active { width: 42px; background-color: var(--ds-gold-500); }

@media (max-width: 767.98px) {
  .ds-hero .swiper-slide { height: 460px; }
  .ds-hero__shade {
    background: linear-gradient(0deg, rgba(6, 26, 70, .92) 0%, rgba(6, 26, 70, .6) 50%, rgba(6, 26, 70, .1) 100%);
  }
  .ds-hero__inner { flex-direction: column; align-items: stretch; }
  .ds-hero__caption { padding-left: 14px; }
  .ds-hero__arrow { display: none; }
  .ds-hero__controls { justify-content: flex-start; }
}

/* ==========================================================================
   BERITA
   ========================================================================== */
.ds-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-r-lg);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.ds-feature:hover { border-color: var(--ds-blue-100); box-shadow: var(--ds-shadow); }
.ds-feature__media { aspect-ratio: 16 / 10; background: var(--ds-paper); overflow: hidden; }
.ds-feature__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ds-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(22px, 3.2vw, 44px);
}
.ds-feature__title {
  margin: 0;
  color: var(--ds-navy-900);
  font: 800 clamp(22px, 2.3vw, 30px)/1.25 var(--ds-font);
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.ds-feature:hover .ds-feature__title a { color: var(--ds-blue-700); }
.ds-feature__excerpt { margin: 0; color: var(--ds-ink-soft); font-size: 16px; line-height: 1.7; max-width: 60ch; }
@media (min-width: 992px) {
  .ds-feature { grid-template-columns: 1.15fr 1fr; }
  .ds-feature__media { aspect-ratio: auto; min-height: 400px; }
}

.ds-news-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px)  { .ds-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ds-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ds-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 14px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.ds-card:hover { border-color: var(--ds-blue-100); box-shadow: var(--ds-shadow); }
.ds-card__media { aspect-ratio: 16 / 10; background: var(--ds-paper); overflow: hidden; }
.ds-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ds-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px 20px 18px; }
.ds-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: var(--ds-navy-900);
  font: 700 17.5px/1.4 var(--ds-font);
}
.ds-card:hover .ds-card__title a { color: var(--ds-blue-700); }
.ds-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: var(--ds-ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
.ds-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ds-line); }

/* ==========================================================================
   AGENDA
   ========================================================================== */
.ds-agenda { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px)  { .ds-agenda { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ds-agenda { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ds-agenda > li { display: flex; }
.ds-agenda__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ds-agenda__item:hover { border-color: var(--ds-blue-100); box-shadow: var(--ds-shadow); }
.ds-date {
  flex: 0 0 78px;
  padding: 12px 6px 10px;
  border-radius: 10px;
  background: var(--ds-blue-700);
  color: #fff;
  text-align: center;
  line-height: 1;
}
.ds-date__day { display: block; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.ds-date__mon { display: block; margin-top: 6px; color: var(--ds-gold-500); font-size: 15px; font-weight: 700; }
.ds-date__yr  { display: block; margin-top: 4px; color: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 600; }
.ds-agenda__body { min-width: 0; }
.ds-agenda__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 8px 0 6px;
  color: var(--ds-navy-900);
  font: 700 16.5px/1.4 var(--ds-font);
}
.ds-agenda__item:hover .ds-agenda__title a { color: var(--ds-blue-700); }
.ds-agenda__place { display: flex; gap: 6px; margin: 0; color: var(--ds-muted); font-size: 14px; line-height: 1.45; }
.ds-agenda__place i { flex-shrink: 0; margin-top: 1px; font-size: 16px; }
.ds-status { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.ds-status--soon { background: var(--ds-gold-50); color: #7a4f00; }
.ds-status--live { background: #def5e7; color: #0f6234; }
.ds-status--done { background: #eef1f6; color: #535d73; }

/* ==========================================================================
   LAYANAN
   ========================================================================== */
.ds-bidang-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 992px) { .ds-bidang-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ds-bidang {
  padding: 22px;
  background: var(--ds-paper);
  border-top: 4px solid var(--ds-blue-700);
  border-radius: 6px 6px var(--ds-r-lg) var(--ds-r-lg);
}
.ds-bidang__title { margin: 0; color: var(--ds-navy-900); font: 800 18px/1.35 var(--ds-font); }
@media (min-width: 992px) { .ds-bidang__title { min-height: 2.7em; } }
.ds-svc-list { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.ds-svc {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 10px;
  color: var(--ds-ink);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.ds-svc:hover { border-color: var(--ds-blue-700); color: var(--ds-blue-700); }
.ds-svc__icon {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ds-blue-50);
  color: var(--ds-blue-700);
}
.ds-svc__icon iconify-icon { display: inline-block; width: 20px; height: 20px; font-size: 20px; }

/* Teks berjalan */
.ds-ticker { padding: 28px 0 30px; background: var(--ds-navy-800); overflow: hidden; }
.ds-ticker__label { margin: 0 0 16px; color: rgba(255, 255, 255, .85); font: 700 15px/1.3 var(--ds-font); }
.ds-ticker__viewport { overflow: hidden; }
.ds-ticker__viewport + .ds-ticker__viewport { margin-top: 12px; }
.ds-ticker__row { display: flex; width: max-content; animation: ds-marquee 70s linear infinite; }
.ds-ticker__row--rev { animation-direction: reverse; animation-duration: 80s; }
.ds-ticker:hover .ds-ticker__row { animation-play-state: paused; }
.ds-ticker__set { display: flex; margin: 0; padding: 0; list-style: none; }
.ds-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 12px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font: 600 14.5px/1.2 var(--ds-font);
  white-space: nowrap;
}
.ds-ticker__item i { color: var(--ds-gold-500); font-size: 18px; }
@keyframes ds-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ds-ticker__row { width: auto; animation: none; }
  .ds-ticker__set { flex-wrap: wrap; row-gap: 10px; padding-inline: var(--ds-gutter); }
  .ds-ticker__set[aria-hidden="true"] { display: none; }
}

/* ==========================================================================
   PIMPINAN
   Ponsel/tablet : Direktur selebar penuh, 4 lainnya 2×2
   Desktop       : Direktur kolom kiri (2 baris), 4 lainnya 2×2 di kanan
   ========================================================================== */
.ds-leaders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ds-leaders > li { display: flex; min-width: 0; }
.ds-leaders__main { grid-column: 1 / -1; grid-row: span 2; }
@media (min-width: 768px) {
  .ds-leaders { grid-auto-rows: 290px; gap: 18px; }
}
@media (min-width: 992px) {
  .ds-leaders { grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: 300px; gap: 20px; }
  .ds-leaders__main { grid-column: 1; grid-row: 1 / span 2; }
}

.ds-leader {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ds-navy-800);
  box-shadow: 0 1px 2px rgba(6, 26, 70, .08);
  isolation: isolate;
  /* Miring halus mengikuti kursor (nilai diisi dsdm.js) */
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease;
}
.ds-leader.is-tilting {
  transition: transform .12s linear, box-shadow .3s ease;
  box-shadow: 0 26px 50px -26px rgba(6, 26, 70, .6);
}

/* Wadah foto/video: bergeser berlawanan arah kursor (efek kedalaman) */
.ds-leader__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.05);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.ds-leader.is-tilting .ds-leader__media { transition: transform .12s linear; }

/* Foto "bernapas": zoom & geser sangat pelan, tiap kartu beda waktu */
.ds-leader img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform-origin: 50% 30%;
  animation: ds-breathe 15s ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * -3.3s);
  animation-play-state: paused; /* jalan hanya saat seksi terlihat (.is-live) */
  will-change: transform;
}
.ds-leaders > li:nth-child(even) .ds-leader { --dx: 1.4%; }
.ds-leaders.is-live .ds-leader img { animation-play-state: running; }
@keyframes ds-breathe {
  0%   { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.09) translate3d(var(--dx, -1.4%), -1.6%, 0); }
}

/* Pantulan cahaya mengikuti kursor */
.ds-leader__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .2), transparent 45%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.ds-leader.is-tilting .ds-leader__media::after { opacity: 1; }

/* Video opsional: muncul halus setelah benar-benar diputar */
.ds-leader__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  opacity: 0;
  transition: opacity .9s ease;
}
.ds-leader.is-playing .ds-leader__video { opacity: 1; }
.ds-leader.is-playing img { animation-play-state: paused; }
.ds-leader__noimg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .25);
  font-size: 72px;
}
/* Gradasi bawah agar teks selalu terbaca di atas foto apa pun */
.ds-leader::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(6, 26, 70, .95) 0%, rgba(6, 26, 70, .7) 24%, rgba(6, 26, 70, 0) 52%);
  pointer-events: none;
}
.ds-leader__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px 16px 18px;
  color: #fff;
}
.ds-leader__level {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ds-gold-500);
  color: var(--ds-navy-900);
  font: 700 11.5px/1.3 var(--ds-font);
}
.ds-leader__name {
  margin: 0 0 4px;
  color: #fff;
  font: 700 15.5px/1.3 var(--ds-font);
  text-wrap: balance;
}
.ds-leader__unit {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 1.4;
}

/* Direktur */
.ds-leader--main .ds-leader__info { padding: clamp(20px, 3vw, 32px); }
.ds-leader--main .ds-leader__info::before {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 2px;
  background: var(--ds-gold-500);
}
.ds-leader--main .ds-leader__level { font-size: 12.5px; padding: 4px 11px; }
.ds-leader--main .ds-leader__name { font-size: clamp(20px, 2.1vw, 27px); line-height: 1.22; letter-spacing: -0.01em; margin-bottom: 6px; }
.ds-leader--main .ds-leader__unit { font-size: 15px; }
.ds-leader--main::after {
  background: linear-gradient(0deg, rgba(6, 26, 70, .96) 0%, rgba(6, 26, 70, .7) 26%, rgba(6, 26, 70, 0) 55%);
}

/* Ponsel: Direktur tetap kartu besar, 4 lainnya jadi baris (foto kiri, teks kanan) */
@media (max-width: 575.98px) {
  .ds-leaders { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
  .ds-leaders__main { grid-row: auto; }
  .ds-leader--main { height: 430px; }

  .ds-leader:not(.ds-leader--main) {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--ds-line);
    border-radius: 14px;
    box-shadow: none;
  }
  .ds-leader:not(.ds-leader--main)::after { display: none; }
  .ds-leader:not(.ds-leader--main) .ds-leader__media {
    position: relative;
    inset: auto;
    flex: 0 0 78px;
    width: 78px;
    height: 96px;
    border-radius: 10px;
    background: var(--ds-navy-800);
    transform: none;
  }
  .ds-leader:not(.ds-leader--main) img { animation: none; }
  .ds-leader:not(.ds-leader--main) .ds-leader__noimg { font-size: 32px; }
  .ds-leader:not(.ds-leader--main) .ds-leader__video { display: none; }
  .ds-leader:not(.ds-leader--main) .ds-leader__info { position: static; padding: 0; color: var(--ds-ink); min-width: 0; }
  .ds-leader:not(.ds-leader--main) .ds-leader__level { margin-bottom: 6px; background: var(--ds-gold-50); color: #7a4f00; font-size: 11px; }
  .ds-leader:not(.ds-leader--main) .ds-leader__name { color: var(--ds-navy-900); font-size: 15px; }
  .ds-leader:not(.ds-leader--main) .ds-leader__unit { color: var(--ds-muted); font-size: 13px; }
}

/* ==========================================================================
   INSTAGRAM & VIDEO
   ========================================================================== */
.ds-scroller {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .35) transparent;
}
.ds-scroller > * { flex: 0 0 auto; scroll-snap-align: start; }
.ds-ig { width: min(340px, calc(100vw - 2 * var(--ds-gutter))); min-height: 480px; }
.ds-ig .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; border-radius: 12px !important; }
.ds-ig iframe { border-radius: 12px !important; }
/* Sebelum embed.js memproses (atau bila diblokir peramban): tampil sebagai kartu, bukan tautan polos */
.ds-ig blockquote.instagram-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 480px;
  padding: 24px !important;
  border: 1px dashed rgba(255, 255, 255, .35) !important;
  background: rgba(255, 255, 255, .06) !important;
  color: #fff;
  text-align: center;
}
.ds-ig blockquote.instagram-media a { color: #fff; font-weight: 600; text-decoration: none; }
.ds-ig blockquote.instagram-media a:hover { text-decoration: underline; }
.ds-ig blockquote.instagram-media i { font-size: 40px; color: var(--ds-gold-500); }
.ds-ig__ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  min-height: 480px;
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, .35);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
}
.ds-ig__ph:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.ds-ig__ph i { font-size: 40px; color: var(--ds-gold-500); }

.ds-video-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px)  { .ds-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ds-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ds-yt-wrap { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #0d1424; }
.ds-yt-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ds-yt {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #0d1424;
  cursor: pointer;
}
.ds-yt img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s ease; }
.ds-yt:hover img { opacity: 1; }
.ds-yt__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  border-radius: 14px;
  background: rgba(15, 15, 15, .82);
  transform: translate(-50%, -50%);
  transition: background-color .2s ease;
}
.ds-yt__play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-40%, -50%);
}
.ds-yt:hover .ds-yt__play, .ds-yt:focus-visible .ds-yt__play { background: #e00; }
.ds-yt:focus-visible { outline: 3px solid var(--ds-blue-600); outline-offset: -3px; }
.ds-yt__title { margin: 10px 2px 0; color: var(--ds-navy-900); font-weight: 700; font-size: 15px; line-height: 1.4; }

/* ==========================================================================
   MITRA
   ========================================================================== */
.ds-partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 576px) { .ds-partners { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .ds-partners { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px){ .ds-partners { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ds-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  min-height: 118px;
  padding: 16px 12px 14px;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-r);
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ds-partner:hover { border-color: var(--ds-blue-700); box-shadow: var(--ds-shadow-sm); }
.ds-partner__logo { display: flex; align-items: center; justify-content: center; height: 52px; }
.ds-partner__logo img { width: auto; max-width: 100%; height: auto; max-height: 52px; object-fit: contain; }
.ds-partner__name { color: var(--ds-muted); font-size: 12.5px; font-weight: 600; text-align: center; line-height: 1.3; }
.ds-partner:hover .ds-partner__name { color: var(--ds-blue-700); }

/* ==========================================================================
   AJAKAN PUSAT BANTUAN
   ========================================================================== */
.ds-cta {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: 22px;
  background-color: var(--ds-navy-800);
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 36px 36px;
  color: #fff;
}
.ds-cta__body { padding: clamp(28px, 4.2vw, 56px); }
.ds-cta__title { margin: 0 0 12px; color: #fff; font: 800 clamp(24px, 2.6vw, 34px)/1.2 var(--ds-font); letter-spacing: -0.012em; }
.ds-cta__text { max-width: 52ch; margin: 0 0 20px; color: rgba(255, 255, 255, .85); line-height: 1.65; }
.ds-hours { display: grid; gap: 6px; margin: 0 0 26px; font-size: 15px; }
.ds-hours > div { display: flex; gap: 12px; }
.ds-hours dt { min-width: 110px; color: rgba(255, 255, 255, .7); font-weight: 600; }
.ds-hours dd { margin: 0; color: #fff; font-weight: 700; }
.ds-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ds-cta__media { display: none; }
.ds-cta__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 992px) {
  .ds-cta { grid-template-columns: 1.35fr 1fr; }
  .ds-cta__media { display: block; min-height: 100%; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ds-footer {
  border-top: 4px solid var(--ds-gold-500);
  background: var(--ds-navy-900);
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
}
.ds-footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-block: clamp(48px, 6vw, 72px) 36px;
}
@media (min-width: 768px)  { .ds-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ds-footer__main { grid-template-columns: 1.35fr 1fr .75fr 1.15fr; gap: 40px; } }
.ds-footer__logo img { display: block; height: 48px; width: auto; }
.ds-footer__about { max-width: 42ch; margin: 18px 0 20px; line-height: 1.65; }
.ds-footer__h { margin: 0 0 16px; color: #fff; font: 700 16px/1.3 var(--ds-font); }
.ds-footer__links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ds-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.ds-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ds-contact { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ds-contact li { display: flex; gap: 12px; line-height: 1.55; }
.ds-contact i { flex-shrink: 0; margin-top: 2px; color: var(--ds-gold-500); font-size: 19px; }

.ds-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ds-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  transition: background-color .15s ease, border-color .15s ease;
}
.ds-social svg { width: 19px; height: 19px; fill: #fff; transition: fill .15s ease; }
.ds-social a:hover { background: var(--ds-gold-500); border-color: var(--ds-gold-500); }
.ds-social a:hover svg { fill: var(--ds-navy-900); }

.ds-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-block: 22px 96px; /* ruang untuk tombol mengambang */
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13.5px;
}
.ds-footer__credit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ds-counter img { display: block; max-width: 170px; height: auto; border-radius: 6px; }
@media (min-width: 768px) { .ds-footer__bottom { padding-bottom: 28px; } }

/* ==========================================================================
   TOMBOL MENGAMBANG, PANEL ULANG TAHUN, MODAL
   ========================================================================== */
.ds-fab {
  position: fixed;
  bottom: 22px;
  z-index: 1035;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font: 700 14.5px/1 var(--ds-font);
  box-shadow: 0 12px 28px -12px rgba(6, 26, 70, .6);
  cursor: pointer;
}
.ds-fab i { font-size: 20px; }
/* Di beranda, tombol mengambang muncul setelah banner digulir (banner sudah punya tombol Pusat Bantuan) */
.ds-fab { transition: background-color .15s ease, opacity .2s ease, transform .2s ease, visibility 0s linear 0s; }
.ds-hero-visible .ds-fab {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.ds-fab--help {
  right: 88px;
  background: var(--ds-blue-700);
  color: #fff;
  /* cincin putih tipis agar tetap terlihat di atas seksi berwarna biru */
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 12px 28px -12px rgba(6, 26, 70, .6);
}
.ds-fab--help:hover { background: var(--ds-navy-800); }
.ds-fab--ultah { left: 20px; background: #fff; color: var(--ds-navy-900); border: 1px solid var(--ds-line); }
.ds-fab--ultah:hover { border-color: var(--ds-blue-700); }
.ds-fab--ultah i { color: #d6336c; }
.ds-fab__count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--ds-gold-500);
  color: var(--ds-navy-900);
  font-size: 12px;
}
@media (max-width: 575.98px) {
  .ds-fab { width: 50px; padding: 0; justify-content: center; }
  .ds-fab__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ds-fab--help { right: 80px; }
  .ds-fab--ultah { left: 16px; }
  .ds-fab__count { position: absolute; top: -4px; right: -4px; }
}

.ds-ultah.offcanvas { width: min(400px, 92vw); }
.ds-ultah .offcanvas-header { align-items: flex-start; gap: 12px; padding: 22px; background: var(--ds-blue-700); color: #fff; }
.ds-ultah__date { margin: 0 0 6px; color: rgba(255, 255, 255, .8); font-size: 13.5px; }
.ds-ultah__title { margin: 0; color: #fff; font: 800 18px/1.35 var(--ds-font); }
.ds-ultah .offcanvas-body { padding: 6px 22px 22px; }
.ds-ultah__list { margin: 0; padding: 0; list-style: none; }
.ds-ultah__item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ds-line); }
.ds-ultah__photo { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--ds-paper); }
.ds-ultah__name { margin: 0 0 2px; color: var(--ds-navy-900); font-weight: 700; font-size: 15px; line-height: 1.35; }
.ds-ultah__unit { margin: 0 0 6px; color: var(--ds-muted); font-size: 13px; line-height: 1.4; }
.ds-ultah__age { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--ds-gold-50); color: #7a4f00; font-size: 12px; font-weight: 700; }

.ds-modal .modal-content { border: 0; border-radius: 16px; overflow: hidden; }
.ds-modal .modal-header { align-items: flex-start; padding: 20px 24px; background: var(--ds-blue-700); color: #fff; border: 0; }
.ds-modal .modal-title { margin: 0; color: #fff; font: 800 20px/1.3 var(--ds-font); }
.ds-modal__sub { margin: 4px 0 0; color: rgba(255, 255, 255, .82); font-size: 14px; }
.ds-modal .modal-body { padding: 22px 24px; }
.ds-modal .modal-footer { gap: 10px; padding: 14px 24px; border-top: 1px solid var(--ds-line); }
.ds-modal .form-label { margin-bottom: 6px; color: var(--ds-navy-900); font-weight: 700; font-size: 14px; }
.ds-modal .form-control, .ds-modal .form-select { min-height: 44px; border-color: #cfd8e8; border-radius: 10px; font-size: 15px; }
.ds-modal .form-control:focus, .ds-modal .form-select:focus { border-color: var(--ds-blue-600); box-shadow: 0 0 0 3px rgba(22, 80, 199, .15); }
.ds-req { color: #c92a2a; }
.ds-note {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--ds-blue-50);
  color: var(--ds-ink);
  font-size: 14px;
  line-height: 1.55;
}
.ds-note i { flex-shrink: 0; color: var(--ds-blue-700); font-size: 20px; }

/* ==========================================================================
   HALAMAN DALAM — judul halaman, breadcrumb, sub-menu
   ========================================================================== */
.ds-phero {
  background-color: var(--ds-blue-700);
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 36px 36px;
  color: #fff;
}
.ds-phero__inner { padding-block: clamp(36px, 5vw, 64px) clamp(30px, 4vw, 52px); }
.ds-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, .72);
  font-size: 13.5px;
}
.ds-crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .4); }
.ds-crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.ds-crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ds-crumbs [aria-current] { color: #fff; font-weight: 600; }
.ds-phero__title {
  max-width: 24ch;
  margin: 0;
  padding-left: 18px;
  border-left: 4px solid var(--ds-gold-500);
  color: #fff;
  font: 800 clamp(30px, 4.2vw, 48px)/1.1 var(--ds-font);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.ds-phero__lead {
  max-width: 64ch;
  margin: 16px 0 0;
  padding-left: 22px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(15px, 1.3vw, 17.5px);
  line-height: 1.6;
}
.ds-subnav { border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(6, 26, 70, .22); }
.ds-subnav__list {
  display: flex;
  gap: 2px;
  margin: 0 0 0 -14px;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}
.ds-subnav__list::-webkit-scrollbar { display: none; }
.ds-subnav a {
  position: relative;
  display: block;
  padding: 15px 14px;
  color: rgba(255, 255, 255, .78);
  font: 600 14.5px/1.2 var(--ds-font);
  text-decoration: none;
  white-space: nowrap;
}
.ds-subnav a:hover { color: #fff; }
.ds-subnav a[aria-current="page"] { color: #fff; }
.ds-subnav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: var(--ds-gold-500);
}

/* ==========================================================================
   SEJARAH — garis waktu (vertikal di ponsel, horizontal di desktop)
   ========================================================================== */
.ds-tl { position: relative; display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.ds-tl::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--ds-blue-100), var(--ds-blue-700) 70%, var(--ds-gold-500));
}
.ds-tl__item { position: relative; display: flex; flex-direction: column; padding-left: 76px; }
.ds-tl__node {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ds-blue-700);
  color: #fff;
  font-size: 26px;
  box-shadow: 0 0 0 6px var(--ds-paper), 0 10px 24px -10px rgba(6, 26, 70, .55);
}
.ds-tl__item.is-current .ds-tl__node {
  background: var(--ds-gold-500);
  color: var(--ds-navy-900);
  box-shadow: 0 0 0 6px var(--ds-paper), 0 0 0 10px rgba(255, 177, 0, .3), 0 12px 28px -10px rgba(224, 154, 0, .6);
}
.ds-tl__card {
  flex: 1;
  padding: 18px 20px 20px;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 14px;
}
.ds-tl__item.is-current .ds-tl__card { border-color: var(--ds-gold-500); box-shadow: 0 16px 34px -22px rgba(224, 154, 0, .7); }
.ds-tl__period {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--ds-blue-700);
  font-weight: 800;
  font-size: 14px;
}
.ds-tl__now { padding: 2px 9px; border-radius: 999px; background: var(--ds-gold-50); color: #7a4f00; font-size: 12px; font-weight: 700; }
.ds-tl__title { margin: 0 0 8px; color: var(--ds-navy-900); font: 800 18px/1.3 var(--ds-font); }
.ds-tl__desc { margin: 0; color: var(--ds-ink-soft); font-size: 15px; line-height: 1.65; }
@media (min-width: 992px) {
  .ds-tl { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .ds-tl::before {
    left: calc((100% - 72px) / 8);
    right: calc((100% - 72px) / 8);
    top: 33px;
    bottom: auto;
    width: auto;
    height: 3px;
    background: linear-gradient(90deg, var(--ds-blue-100), var(--ds-blue-700) 70%, var(--ds-gold-500));
  }
  .ds-tl__item { padding-left: 0; padding-top: 96px; text-align: center; }
  .ds-tl__node { left: 50%; width: 68px; height: 68px; font-size: 30px; transform: translateX(-50%); }
  .ds-tl__period { justify-content: center; }
}

/* ==========================================================================
   DASAR HUKUM
   ========================================================================== */
.ds-law-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 992px) { .ds-law-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 40px; } }
.ds-law-list { display: grid; gap: 16px; margin-top: clamp(24px, 3vw, 32px); }
.ds-law {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  padding: clamp(22px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--ds-line);
  border-left: 5px solid var(--ds-blue-700);
  border-radius: 16px;
  box-shadow: var(--ds-shadow);
}
.ds-law__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--ds-blue-50);
  color: var(--ds-blue-700);
  font-size: 28px;
}
.ds-law__type { margin: 0 0 6px; color: var(--ds-muted); font-weight: 700; font-size: 14px; }
.ds-law__title { margin: 0 0 20px; color: var(--ds-navy-900); font: 800 clamp(19px, 2vw, 24px)/1.3 var(--ds-font); text-wrap: balance; }
.ds-law__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 575.98px) { .ds-law { grid-template-columns: 1fr; } }
.ds-aside { padding: 22px; background: var(--ds-paper); border: 1px solid var(--ds-line); border-radius: 16px; }
.ds-aside__title { margin: 0 0 14px; color: var(--ds-navy-900); font: 800 17px/1.3 var(--ds-font); }
.ds-aside__links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ds-aside__links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 10px;
  color: var(--ds-ink);
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.ds-aside__links a:hover { border-color: var(--ds-blue-700); color: var(--ds-blue-700); }
.ds-aside__links i { color: var(--ds-blue-700); font-size: 20px; }

/* ==========================================================================
   VISI DAN MISI
   ========================================================================== */
.ds-vm {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 20px;
  box-shadow: var(--ds-shadow);
}
@media (min-width: 992px) { .ds-vm { grid-template-columns: 5fr 7fr; } }
.ds-vm__visi {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px);
  background-color: var(--ds-navy-800);
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 36px 36px;
  color: #fff;
}
.ds-vm__mark {
  position: absolute;
  right: 18px;
  bottom: -70px;
  color: rgba(255, 255, 255, .06);
  font: 700 240px/1 Georgia, "Times New Roman", serif;
  pointer-events: none;
}
.ds-vm__h { margin: 0 0 18px; color: #fff; font: 800 clamp(26px, 3vw, 34px)/1.15 var(--ds-font); letter-spacing: -0.01em; }
.ds-vm__h--dark { color: var(--ds-navy-900); margin-bottom: 8px; }
.ds-vm__quote { position: relative; margin: 0; padding-left: 18px; border-left: 4px solid var(--ds-gold-500); }
.ds-vm__quote p { margin: 0; color: rgba(255, 255, 255, .95); font-size: clamp(17px, 1.7vw, 21px); font-weight: 500; line-height: 1.6; }
.ds-vm__misi { padding: clamp(28px, 4vw, 56px); }
.ds-vm__intro { margin: 0 0 20px; color: var(--ds-ink-soft); }
.ds-misi { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: misi; }
.ds-misi li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 12px;
  counter-increment: misi;
  transition: border-color .15s ease;
}
.ds-misi li:hover { border-color: var(--ds-blue-100); }
.ds-misi li::before {
  content: counter(misi, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ds-blue-50);
  color: var(--ds-blue-700);
  font-weight: 800;
  font-size: 14px;
}
.ds-misi p { margin: 0; padding-top: 8px; color: var(--ds-ink); font-weight: 500; line-height: 1.6; }

/* ==========================================================================
   PIMPINAN — bagan struktur organisasi
   ========================================================================== */
.ds-org { display: flex; flex-direction: column; align-items: center; }
.ds-org__card {
  width: min(280px, 100%);
  margin: 0;
  padding: 12px 12px 18px;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 18px;
  text-align: center;
  box-shadow: var(--ds-shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ds-org__card:hover { border-color: var(--ds-blue-100); box-shadow: var(--ds-shadow); }
.ds-org__card--top { width: min(320px, 100%); border-top: 4px solid var(--ds-gold-500); }
.ds-org__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; background: #e8eef8; }
.ds-org__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.ds-org__card figcaption { padding: 14px 6px 0; }
.ds-org__level {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ds-gold-500);
  color: var(--ds-navy-900);
  font: 700 12px/1.3 var(--ds-font);
}
.ds-org__name { margin: 0 0 4px; color: var(--ds-navy-900); font: 800 16.5px/1.35 var(--ds-font); text-wrap: balance; }
.ds-org__card--top .ds-org__name { font-size: 19px; }
.ds-org__unit { margin: 0; color: var(--ds-blue-700); font-size: 14px; font-weight: 600; line-height: 1.4; text-wrap: balance; }
.ds-org__line { display: block; width: 3px; height: 36px; border-radius: 2px; background: #b4c3e1; }
.ds-org__branch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 980px;
  margin: 0;
  padding: 36px 0 0;
  list-style: none;
}
.ds-org__branch::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc((100% - 48px) / 6);
  right: calc((100% - 48px) / 6);
  height: 3px;
  border-radius: 2px;
  background: #b4c3e1;
}
.ds-org__branch > li { position: relative; display: flex; justify-content: center; }
.ds-org__branch > li::before {
  content: "";
  position: absolute;
  top: -36px;
  left: 50%;
  width: 3px;
  height: 36px;
  margin-left: -1.5px;
  background: #b4c3e1;
}
.ds-org__foot { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 767.98px) {
  .ds-org__branch { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .ds-org__branch::before { display: none; }
  .ds-org__branch > li::before { top: -28px; height: 28px; }
}
/* Ponsel: Direktur tetap kartu besar, lainnya baris ringkas (foto kiri, teks kanan) */
@media (max-width: 575.98px) {
  .ds-org__line { height: 22px; }
  .ds-org__branch { gap: 20px; padding-top: 20px; }
  .ds-org__branch > li::before { top: -20px; height: 20px; }
  .ds-org__card:not(.ds-org__card--top) {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 10px;
    text-align: left;
  }
  .ds-org__card:not(.ds-org__card--top) .ds-org__photo { border-radius: 10px; }
  .ds-org__card:not(.ds-org__card--top) figcaption { padding: 0; }
  .ds-org__card:not(.ds-org__card--top) .ds-org__level { margin-bottom: 6px; font-size: 11px; }
  .ds-org__card:not(.ds-org__card--top) .ds-org__name { font-size: 15px; text-wrap: wrap; }
  .ds-org__card:not(.ds-org__card--top) .ds-org__unit { font-size: 13px; text-wrap: wrap; }
}

/* ==========================================================================
   STAF
   ========================================================================== */
.ds-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 26px; }
.ds-filter button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 7px 14px;
  border: 1px solid var(--ds-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ds-ink);
  font: 600 14px/1.2 var(--ds-font);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.ds-filter button:hover { border-color: var(--ds-blue-700); color: var(--ds-blue-700); }
.ds-filter button[aria-pressed="true"] { background: var(--ds-blue-700); border-color: var(--ds-blue-700); color: #fff; }
.ds-filter__count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--ds-blue-50);
  color: var(--ds-blue-700);
  font-size: 12px;
}
.ds-filter button[aria-pressed="true"] .ds-filter__count { background: rgba(255, 255, 255, .2); color: #fff; }

.ds-staff-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px)  { .ds-staff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .ds-staff-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ds-staff-grid > li { display: flex; }
.ds-staff-grid > li[hidden] { display: none; }
.ds-staff {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ds-staff:hover { border-color: var(--ds-blue-100); box-shadow: var(--ds-shadow); }
.ds-staff__photo { position: relative; aspect-ratio: 4 / 5; background: #e8eef8; border-bottom: 4px solid var(--ds-gold-500); }
.ds-staff__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.ds-staff figcaption { flex: 1; padding: 14px 14px 16px; text-align: center; }
.ds-staff__name { margin: 0 0 4px; color: var(--ds-navy-900); font: 700 15.5px/1.35 var(--ds-font); text-wrap: balance; }
.ds-staff__role { margin: 0; color: var(--ds-muted); font-size: 13.5px; line-height: 1.4; }
@media (max-width: 575.98px) {
  .ds-staff figcaption { padding: 12px 10px 14px; }
  .ds-staff__name { font-size: 14px; }
  .ds-staff__role { font-size: 12.5px; }
}

/* ==========================================================================
   STATISTIK PEGAWAI — grafik CSS/SVG ringan (tanpa pustaka grafik)
   ========================================================================== */
/* Ringkasan angka */
.ds-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ds-kpi--main { grid-column: 1 / -1; }
@media (min-width: 768px)  { .ds-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ds-kpis { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); } .ds-kpi--main { grid-column: auto; } }
.ds-kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 16px;
}
.ds-kpi__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: var(--ds-blue-50);
  color: var(--ds-blue-700);
  font-size: 22px;
}
.ds-kpi__label { color: var(--ds-muted); font-weight: 600; font-size: 14px; }
.ds-kpi__value {
  color: var(--ds-navy-900);
  font: 800 clamp(26px, 2.6vw, 34px)/1.1 var(--ds-font);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.ds-kpi__note { color: var(--ds-ink-soft); font-size: 13px; line-height: 1.4; }
.ds-kpi--main {
  border-color: transparent;
  background-color: var(--ds-navy-800);
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 28px 28px;
  color: #fff;
}
.ds-kpi--main .ds-kpi__icon { background: rgba(255, 255, 255, .12); color: var(--ds-gold-500); }
.ds-kpi--main .ds-kpi__label, .ds-kpi--main .ds-kpi__note { color: rgba(255, 255, 255, .78); }
.ds-kpi--main .ds-kpi__value { color: #fff; font-size: clamp(32px, 3.4vw, 44px); }
.ds-stat__note { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 0; color: var(--ds-muted); font-size: 13.5px; line-height: 1.5; }
.ds-stat__note i { margin-top: 1px; font-size: 17px; }

/* Tab Dosen / Tendik */
.ds-tabs {
  display: flex;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 36px 0 20px;
  padding: 6px;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 14px;
}
.ds-tabs [role="tab"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ds-ink-soft);
  font: 700 15px/1.2 var(--ds-font);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.ds-tabs [role="tab"]:hover { background: var(--ds-blue-50); color: var(--ds-blue-700); }
.ds-tabs [role="tab"][aria-selected="true"] { background: var(--ds-blue-700); color: #fff; }
.ds-tabs i { font-size: 18px; }
.ds-tabs__count {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ds-blue-50);
  color: var(--ds-blue-700);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.ds-tabs [aria-selected="true"] .ds-tabs__count { background: rgba(255, 255, 255, .2); color: #fff; }
.ds-tabpanel + .ds-tabpanel { margin-top: 40px; }   /* tanpa JS: kedua panel tampil */
.ds-tabpanel[hidden] { display: none; }
.ds-tab-short { display: none; }
@media (max-width: 575.98px) { .ds-tab-long { display: none; } .ds-tab-short { display: inline; } }
.ds-tabpanel:focus-visible { outline: 3px solid var(--ds-blue-600); outline-offset: 6px; border-radius: 8px; }
@media (max-width: 575.98px) {
  .ds-tabs { width: 100%; gap: 4px; padding: 4px; }
  .ds-tabs [role="tab"] { flex: 1 1 auto; gap: 6px; padding: 9px 6px; font-size: 13.5px; }
  .ds-tabs__count { padding: 1px 6px; font-size: 12px; }
  .ds-tabs i { display: none; }
}

/* Tata letak kartu */
.ds-stat-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 992px) {
  .ds-stat-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .ds-span-7  { grid-column: span 7; }
  .ds-span-5  { grid-column: span 5; }
  .ds-span-6  { grid-column: span 6; }
  .ds-span-12 { grid-column: 1 / -1; }
}
.ds-stat-stack { display: grid; gap: 20px; align-content: start; }
.ds-span-7 > .ds-stat-card, .ds-span-6 > .ds-stat-card { height: 100%; }
.ds-stat-card {
  min-width: 0;
  padding: clamp(18px, 2.4vw, 26px);
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 16px;
}
.ds-stat-card__head { margin-bottom: 14px; }
.ds-stat-card__title { margin: 0; color: var(--ds-navy-900); font: 800 18px/1.3 var(--ds-font); }
.ds-stat-card__sub { margin: 4px 0 0; color: var(--ds-muted); font-size: 13.5px; }

/* Daftar batang */
.ds-bars { margin: 0; padding: 0; list-style: none; }
.ds-bars__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "label val" "track track";
  align-items: baseline;
  column-gap: 12px;
  row-gap: 7px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ds-line);
  break-inside: avoid;
}
.ds-bars__row:last-child { border-bottom: 0; }
.ds-bars__row[hidden] { display: none; }
.ds-bars--rank .ds-bars__row { grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-areas: "rank label val" "rank track track"; }
.ds-bars__rank {
  grid-area: rank;
  align-self: center;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ds-paper);
  color: var(--ds-muted);
  font-size: 12px;
  font-weight: 700;
}
.ds-bars__rank.is-top { background: var(--ds-gold-50); color: #7a4f00; }
.ds-bars__label { grid-area: label; color: var(--ds-ink); font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.ds-bars__val { grid-area: val; text-align: right; white-space: nowrap; font-size: 14px; }
.ds-bars__val strong { color: var(--ds-navy-900); font-weight: 800; font-variant-numeric: tabular-nums; }
.ds-bars__val small { margin-left: 4px; color: var(--ds-muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ds-bars__track { grid-area: track; height: 8px; overflow: hidden; border-radius: 999px; background: var(--ds-blue-50); }
.ds-bars__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ds-blue-600), var(--ds-blue-700));
  transform-origin: left center;
}
.ds-bars--rank .ds-bars__row:first-child .ds-bars__fill { background: linear-gradient(90deg, var(--ds-gold-400), var(--ds-gold-500)); }
html.ds-js .ds-bars .ds-bars__fill {
  transform: scaleX(0);
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 35ms);
}
html.ds-js .ds-bars.is-in .ds-bars__fill { transform: scaleX(1); }
.ds-bars.is-collapsed:not(.is-searching) > [data-extra] { display: none; }
@media (min-width: 992px) { .ds-bars--cols { columns: 2; column-gap: 48px; } }
.ds-bars--cols .ds-bars__row:last-child { border-bottom: 1px solid var(--ds-line); }

.ds-search { position: relative; margin: 0 0 6px; }
.ds-search i { position: absolute; left: 14px; top: 50%; color: var(--ds-muted); font-size: 18px; transform: translateY(-50%); pointer-events: none; }
.ds-search input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px 10px 42px;
  border: 1px solid #cfd8e8;
  border-radius: 10px;
  background: #fff;
  color: var(--ds-ink);
  font: 500 15px/1.3 var(--ds-font);
}
.ds-search input:focus { border-color: var(--ds-blue-600); outline: none; box-shadow: 0 0 0 3px rgba(22, 80, 199, .15); }
.ds-bars__none { margin: 12px 0 0; padding: 16px; border-radius: 10px; background: var(--ds-paper); color: var(--ds-muted); text-align: center; }
.ds-bars__more { width: 100%; margin-top: 14px; }

/* Donat */
.ds-donut-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.ds-donut { position: relative; flex: 0 0 168px; width: 168px; height: 168px; margin: 0 auto; }
.ds-donut svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ds-donut__bg { fill: none; stroke: var(--ds-blue-50); stroke-width: 5.5; }
.ds-donut__seg { fill: none; stroke-width: 5.5; transition: stroke-width .15s ease, opacity .15s ease; }
.ds-donut__seg:hover, .ds-donut__seg.is-hot { stroke-width: 7.5; }
.ds-donut-wrap.is-focus .ds-donut__seg:not(.is-hot) { opacity: .3; }
.ds-donut__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  pointer-events: none;
}
.ds-donut__center strong { color: var(--ds-navy-900); font: 800 24px/1 var(--ds-font); font-variant-numeric: tabular-nums; }
.ds-donut__center span { margin-top: 4px; color: var(--ds-muted); font-size: 12.5px; }
.ds-legend { flex: 1 1 230px; min-width: 0; border-collapse: collapse; font-size: 14px; }
.ds-legend th, .ds-legend td { padding: 8px 6px; border-bottom: 1px solid var(--ds-line); vertical-align: middle; }
.ds-legend tbody tr:last-child th, .ds-legend tbody tr:last-child td { border-bottom: 0; }
.ds-legend tbody th { color: var(--ds-ink); font-weight: 600; text-align: left; line-height: 1.35; }
.ds-legend td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ds-legend td:nth-child(2) { color: var(--ds-navy-900); font-weight: 800; }
.ds-legend td:last-child { width: 1%; color: var(--ds-muted); }
.ds-legend tbody tr { transition: background-color .15s ease; }
.ds-legend tbody tr.is-hot { background: var(--ds-blue-50); }
.ds-legend__item { display: flex; align-items: flex-start; gap: 10px; }
.ds-legend__dot { flex: 0 0 10px; width: 10px; height: 10px; margin-top: .3em; border-radius: 3px; }

/* Jenis kelamin */
.ds-split__bar { display: flex; gap: 3px; height: 14px; overflow: hidden; border-radius: 999px; }
.ds-split__bar span { display: block; height: 100%; }
.ds-split__legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.ds-split__legend li { display: flex; align-items: flex-start; gap: 12px; }
.ds-split__legend i { margin-top: 2px; font-size: 26px; }
.ds-split__label { display: block; color: var(--ds-muted); font-size: 13.5px; font-weight: 600; }
.ds-split__legend strong { display: block; color: var(--ds-navy-900); font: 800 24px/1.15 var(--ds-font); font-variant-numeric: tabular-nums; }
.ds-split__legend small { color: var(--ds-ink-soft); font-size: 13px; }

/* ==========================================================================
   LAYANAN — fitur aplikasi & ajakan
   ========================================================================== */
.ds-features { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 576px)  { .ds-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px)  { .ds-features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .ds-features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ds-feat {
  display: flex;
  gap: 14px;
  height: 100%;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 14px;
}
.ds-feat__icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ds-blue-50);
  color: var(--ds-blue-700);
  font-size: 22px;
}
.ds-feat__title { margin: 2px 0 6px; color: var(--ds-navy-900); font: 700 15.5px/1.35 var(--ds-font); }
.ds-feat__desc { margin: 0; color: var(--ds-ink-soft); font-size: 14px; line-height: 1.55; }

.ds-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: 20px;
  background-color: var(--ds-navy-800);
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 36px 36px;
  color: #fff;
}
.ds-banner__title { margin: 0 0 6px; color: #fff; font: 800 clamp(20px, 2.2vw, 26px)/1.25 var(--ds-font); }
.ds-banner__text { margin: 0; color: rgba(255, 255, 255, .82); }
.ds-banner__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   DETAIL LAYANAN
   ========================================================================== */
.ds-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 992px) { .ds-detail { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 36px; } }
.ds-detail__main { display: grid; gap: 24px; min-width: 0; }
.ds-detail__aside { display: grid; gap: 16px; }
@media (min-width: 992px) { .ds-detail__aside { position: sticky; top: 100px; } }

.ds-block { min-width: 0; padding: clamp(22px, 3.5vw, 40px); background: #fff; border: 1px solid var(--ds-line); border-radius: 18px; }
.ds-block--empty { text-align: center; }
.ds-block--empty > i { display: block; margin-bottom: 12px; color: var(--ds-blue-100); font-size: 56px; }
.ds-block--empty h2 { margin: 0 0 8px; color: var(--ds-navy-900); font: 800 20px/1.3 var(--ds-font); }
.ds-block--empty p { max-width: 46ch; margin: 0 auto 18px; color: var(--ds-ink-soft); }

/* Tipografi konten dari admin */
.ds-prose { color: var(--ds-ink); font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.ds-prose > :first-child { margin-top: 0; }
.ds-prose > :last-child { margin-bottom: 0; }
.ds-prose h1, .ds-prose h2 { margin: 1.6em 0 .6em; color: var(--ds-navy-900); font: 800 clamp(21px, 2vw, 26px)/1.3 var(--ds-font); }
.ds-prose h3 { margin: 1.5em 0 .5em; color: var(--ds-navy-900); font: 800 19px/1.35 var(--ds-font); }
.ds-prose h4, .ds-prose h5, .ds-prose h6 { margin: 1.4em 0 .5em; color: var(--ds-navy-900); font: 700 17px/1.4 var(--ds-font); }
.ds-prose p { margin: 0 0 1em; }
.ds-prose ul, .ds-prose ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.ds-prose li { margin-bottom: .45em; }
.ds-prose li::marker { color: var(--ds-blue-700); font-weight: 700; }
.ds-prose a { color: var(--ds-blue-700); text-decoration: underline; text-underline-offset: 3px; }
.ds-prose strong, .ds-prose b { color: var(--ds-navy-900); }
.ds-prose img { max-width: 100%; height: auto !important; border-radius: 12px; }
.ds-prose iframe, .ds-prose video { max-width: 100%; border: 0; border-radius: 12px; }
.ds-prose blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--ds-gold-500); border-radius: 0 10px 10px 0; background: var(--ds-paper); }
.ds-prose hr { margin: 2em 0; border: 0; border-top: 1px solid var(--ds-line); }
.ds-table-scroll { margin: 1.2em 0; overflow-x: auto; border: 1px solid var(--ds-line); border-radius: 12px; }
.ds-prose table { width: 100% !important; min-width: 520px; border: 0; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.ds-prose th, .ds-prose td { padding: 10px 14px; border: 0; border-bottom: 1px solid var(--ds-line); text-align: left; vertical-align: top; }
.ds-prose th { background: var(--ds-paper); color: var(--ds-navy-900); font-weight: 700; }
.ds-prose tr:last-child td { border-bottom: 0; }

.ds-figure { margin: 24px 0 0; }
.ds-figure a { display: block; overflow: hidden; border: 1px solid var(--ds-line); border-radius: 14px; }
.ds-figure img { display: block; width: 100%; height: auto; }
.ds-figure figcaption { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--ds-muted); font-size: 13px; }

/* Lampiran & ikon jenis file */
.ds-attach {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 14px;
}
.ds-attach__icon, .ds-doc__icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 26px;
}
.ds-ficon--pdf  { background: #fdecec; color: #c92a2a; }
.ds-ficon--doc  { background: #e8f0fe; color: #1a56db; }
.ds-ficon--xls  { background: #e6f6ec; color: #137333; }
.ds-ficon--ppt  { background: #fdf0e6; color: #c2410c; }
.ds-ficon--zip, .ds-ficon--file { background: var(--ds-blue-50); color: var(--ds-blue-700); }
.ds-ficon--img  { background: #f3ecfd; color: #6d28d9; }
.ds-attach__body { flex: 1 1 220px; min-width: 0; }
.ds-attach__name { margin: 0 0 2px; color: var(--ds-navy-900); font: 700 15.5px/1.35 var(--ds-font); }
.ds-attach__meta { margin: 0; color: var(--ds-muted); font-size: 13.5px; }
.ds-attach__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-pdf {
  display: grid;
  place-items: center;
  height: min(80vh, 900px);
  min-height: 520px;
  margin-top: 16px;
  overflow: hidden;
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: 14px;
  color: var(--ds-muted);
}
.ds-pdf iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 767.98px) { .ds-pdf { display: none; } }

/* Kartu samping */
.ds-side-card { padding: 20px; background: #fff; border: 1px solid var(--ds-line); border-radius: 16px; }
.ds-side-card__title { margin: 0 0 12px; color: var(--ds-navy-900); font: 800 16px/1.3 var(--ds-font); }
.ds-side-card__text { margin: 0 0 14px; color: var(--ds-ink-soft); font-size: 14.5px; line-height: 1.55; }
.ds-side-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-side-card__all { display: inline-block; margin-top: 12px; color: var(--ds-blue-700); font-weight: 700; font-size: 14px; text-decoration: none; }
.ds-side-card__all:hover { text-decoration: underline; }
.ds-side-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ds-side-list a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--ds-ink);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.4;
  text-decoration: none;
}
.ds-side-list a i { margin-top: 2px; color: var(--ds-muted); font-size: 15px; }
.ds-side-list a:hover { background: var(--ds-blue-50); color: var(--ds-blue-700); }
.ds-side-list a[aria-current="page"] { background: var(--ds-blue-700); color: #fff; }
.ds-side-list a[aria-current="page"] i { color: var(--ds-gold-500); }
.ds-side-card--dark {
  border-color: transparent;
  background-color: var(--ds-navy-800);
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 28px 28px;
  color: rgba(255, 255, 255, .85);
}
.ds-side-card--dark .ds-side-card__title { color: #fff; }
.ds-side-card--dark p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; }

/* ==========================================================================
   DOKUMEN
   ========================================================================== */
.ds-docs__bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.ds-docs__bar .ds-search { flex: 1 1 280px; margin: 0; }
.ds-select {
  min-height: 44px;
  padding: 10px 40px 10px 14px;
  border: 1px solid #cfd8e8;
  border-radius: 10px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346536f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
  color: var(--ds-ink);
  font: 500 15px/1.3 var(--ds-font);
  -webkit-appearance: none;
          appearance: none;
}
.ds-select:focus { border-color: var(--ds-blue-600); outline: none; box-shadow: 0 0 0 3px rgba(22, 80, 199, .15); }
.ds-docs__count { margin: 0 0 12px; color: var(--ds-muted); font-size: 14px; }
.ds-docs__count strong { color: var(--ds-navy-900); }
.ds-docs__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ds-doc {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ds-doc:hover { border-color: var(--ds-blue-100); box-shadow: var(--ds-shadow-sm); }
.ds-doc[hidden] { display: none; }
.ds-doc__title { margin: 0 0 6px; color: var(--ds-navy-900); font: 700 16px/1.4 var(--ds-font); }
.ds-doc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 0; color: var(--ds-muted); font-size: 13.5px; }
.ds-doc__meta span { display: inline-flex; align-items: center; gap: 5px; }
.ds-doc__meta i { font-size: 15px; }
.ds-doc__new { padding: 1px 8px; border-radius: 999px; background: var(--ds-gold-50); color: #7a4f00; font-weight: 700; font-size: 12px; }
.ds-doc__actions { display: flex; gap: 8px; }
.ds-doc__missing { color: var(--ds-muted); font-size: 13.5px; font-style: italic; }
.ds-docs__empty { margin: 12px 0 0; padding: 18px; border-radius: 12px; background: #fff; border: 1px dashed var(--ds-line); color: var(--ds-muted); text-align: center; }
.ds-docs__more { width: 100%; margin-top: 16px; }
@media (max-width: 575.98px) {
  .ds-doc { grid-template-columns: 44px minmax(0, 1fr); gap: 12px 14px; padding: 14px; }
  .ds-doc__icon { width: 44px; height: 44px; font-size: 24px; }
  .ds-doc__actions { grid-column: 1 / -1; }
  .ds-doc__actions .ds-btn--primary { flex: 1; }
}

/* ==========================================================================
   BERITA — daftar, pencarian, halaman
   ========================================================================== */
.ds-chip--warn { background: var(--ds-gold-50); color: #7a4f00; }
.ds-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.ds-toolbar .ds-search { flex: 1 1 280px; margin: 0; }
.ds-toolbar .ds-select { flex: 0 1 260px; min-width: 0; }
@media (max-width: 575.98px) { .ds-toolbar > .ds-btn, .ds-toolbar .ds-select { flex: 1 1 100%; } }
.ds-result { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; min-height: 24px; margin: 0 0 22px; color: var(--ds-muted); font-size: 14px; }
.ds-result strong { color: var(--ds-navy-900); }
.ds-result__reset { display: inline-flex; align-items: center; gap: 4px; color: var(--ds-blue-700); font-weight: 700; text-decoration: none; }
.ds-result__reset:hover { text-decoration: underline; }
@media (min-width: 1100px) { .ds-news-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.ds-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: clamp(32px, 4vw, 48px); }
.ds-pager__list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ds-pager__num, .ds-pager__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 10px;
  color: var(--ds-ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: border-color .15s ease, color .15s ease;
}
.ds-pager__num:hover, .ds-pager__btn:hover { border-color: var(--ds-blue-700); color: var(--ds-blue-700); }
.ds-pager__num.is-current { background: var(--ds-blue-700); border-color: var(--ds-blue-700); color: #fff; }
.ds-pager__gap { padding: 0 2px; color: var(--ds-muted); }
@media (max-width: 575.98px) { .ds-pager__btn span { display: none; } }

/* ==========================================================================
   ARTIKEL BERITA
   ========================================================================== */
.ds-article { background: #fff; }
.ds-article__narrow { max-width: 760px; margin-inline: auto; }
.ds-article__head { padding-block: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 32px); }
.ds-crumbs--dark { color: var(--ds-muted); }
.ds-crumbs--dark li + li::before { color: #b9c3d6; }
.ds-crumbs--dark a { color: var(--ds-ink-soft); }
.ds-crumbs--dark a:hover { color: var(--ds-blue-700); }
.ds-crumbs--dark [aria-current] { color: var(--ds-ink); }
.ds-article__head .ds-chip { margin-right: 6px; }
.ds-article__title {
  margin: 14px 0 18px;
  color: var(--ds-navy-900);
  font: 800 clamp(28px, 4vw, 44px)/1.15 var(--ds-font);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.ds-article__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; color: var(--ds-muted); font-size: 14.5px; }
.ds-article__meta li { display: inline-flex; align-items: center; gap: 6px; }
.ds-article__meta i { font-size: 17px; }
.ds-article__hero { margin-block: 0 clamp(28px, 4vw, 44px); }
.ds-article__hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
  border-radius: 18px;
  background: var(--ds-paper);
}
.ds-article__body { padding-bottom: clamp(48px, 6vw, 80px); }
.ds-prose--article { font-size: 17.5px; line-height: 1.8; }
.ds-prose--article p { margin-bottom: 1.15em; }
.ds-pullquote {
  position: relative;
  margin: 32px 0;
  padding: 22px 24px 22px 28px;
  border-left: 5px solid var(--ds-gold-500);
  border-radius: 0 14px 14px 0;
  background: var(--ds-paper);
}
.ds-pullquote p { margin: 0; color: var(--ds-navy-900); font-size: 19px; font-weight: 600; font-style: italic; line-height: 1.6; }
.ds-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.ds-tags li { padding: 5px 12px; border-radius: 999px; background: var(--ds-blue-50); color: var(--ds-blue-700); font-weight: 600; font-size: 13.5px; }
.ds-article__sign { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--ds-line); color: var(--ds-ink-soft); font-size: 14.5px; font-style: italic; }
.ds-article .ds-share { margin-top: 24px; }

/* Tombol bagikan */
.ds-share__label { margin: 0 0 10px; color: var(--ds-navy-900); font-weight: 800; font-size: 15px; }
.ds-share__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ds-share__list li[hidden] { display: none; }
.ds-share__btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--ds-line);
  border-radius: 10px;
  background: #fff;
  color: var(--ds-ink);
  font-size: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.ds-share__btn svg { width: 18px; height: 18px; fill: currentColor; }
.ds-share__btn:hover { color: #fff; border-color: transparent; background: var(--ds-blue-700); }
.ds-share__btn--wa:hover { background: #1fa855; }
.ds-share__btn--fb:hover { background: #1877f2; }
.ds-share__btn--x:hover  { background: #000; }
.ds-share__btn--tg:hover { background: #229ed9; }
.ds-share__btn--in:hover { background: #0a66c2; }
.ds-share__btn.is-done { background: #def5e7; border-color: #def5e7; color: #0f6234; }
.ds-share__toast { display: block; margin-top: 8px; color: #0f6234; font-size: 13.5px; font-weight: 600; }
.ds-share__toast:empty { display: none; }
.ds-side-card .ds-share__list { gap: 6px; }
.ds-side-card .ds-share__btn { width: 38px; height: 38px; font-size: 18px; }

/* ==========================================================================
   AGENDA — daftar per bulan & detail
   ========================================================================== */
.ds-months { display: grid; gap: 28px; }
.ds-month__title { margin: 0 0 12px; color: var(--ds-navy-900); font: 800 17px/1.3 var(--ds-font); }
.ds-agrows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ds-agrow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 12px;
  transition: border-color .15s ease;
}
.ds-agrow:hover { border-color: var(--ds-blue-700); }
.ds-agrow__date {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--ds-blue-50);
  color: var(--ds-blue-700);
  line-height: 1;
  text-align: center;
}
.ds-agrow__date strong { font-size: 19px; font-weight: 800; }
.ds-agrow__date span { margin-top: -10px; font-size: 12px; font-weight: 700; }
.ds-agrow__body { min-width: 0; }
.ds-agrow__title { color: var(--ds-navy-900); font-weight: 700; font-size: 15.5px; line-height: 1.4; text-decoration: none; }
.ds-agrow:hover .ds-agrow__title { color: var(--ds-blue-700); }
.ds-agrow__meta { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 4px 0 0; color: var(--ds-muted); font-size: 13.5px; }
.ds-agrow__meta span { display: inline-flex; align-items: center; gap: 5px; }
.ds-agrows--compact .ds-agrow { padding: 8px 10px; border-color: transparent; background: var(--ds-paper); }
.ds-agrows--compact .ds-agrow__date { flex-basis: 44px; height: 44px; background: #fff; }
.ds-agrows--compact .ds-agrow__date strong { font-size: 16px; }
.ds-agrows--compact .ds-agrow__title { font-size: 14px; }
.ds-agenda__place + .ds-agenda__place { margin-top: 4px; }

.ds-block__title { margin: 0 0 18px; color: var(--ds-navy-900); font: 800 20px/1.3 var(--ds-font); }
.ds-info { display: grid; gap: 0; margin: 0; }
.ds-info > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--ds-line); }
.ds-info > div:last-child { border-bottom: 0; }
.ds-info dt { display: flex; align-items: center; gap: 8px; color: var(--ds-muted); font-weight: 600; font-size: 14.5px; }
.ds-info dt i { color: var(--ds-blue-700); font-size: 18px; }
.ds-info dd { margin: 0; color: var(--ds-ink); font-weight: 600; line-height: 1.5; }
@media (max-width: 575.98px) { .ds-info > div { grid-template-columns: 1fr; gap: 4px; } }
.ds-block__desc { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--ds-line); }
.ds-figure--poster { max-width: 520px; }

.ds-datecard__top { display: flex; align-items: center; gap: 16px; }
.ds-date--lg { flex: 0 0 84px; }
.ds-datecard__text { margin: 8px 0 0; color: var(--ds-ink); font-weight: 600; font-size: 14.5px; line-height: 1.5; }
.ds-datecard__label { margin: 18px 0 8px; color: var(--ds-navy-900); font-weight: 800; font-size: 14.5px; }
.ds-datecard__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-cal { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ds-line); }
.ds-cal__title { margin: 0 0 10px; color: var(--ds-navy-900); font-weight: 800; font-size: 14.5px; text-align: center; }
.ds-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px 0; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.ds-cal__grid span { display: grid; place-items: center; height: 32px; color: var(--ds-ink-soft); }
.ds-cal__dow { color: var(--ds-muted) !important; font-weight: 700; font-size: 11.5px; }
.ds-cal__grid .is-event { background: var(--ds-blue-50); color: var(--ds-blue-700); font-weight: 800; }
.ds-cal__grid .is-start { border-radius: 999px 0 0 999px; }
.ds-cal__grid .is-end { border-radius: 0 999px 999px 0; }
.ds-cal__grid .is-start.is-end { border-radius: 999px; }
.ds-cal__grid .is-start, .ds-cal__grid .is-end { background: var(--ds-blue-700); color: #fff; }
.ds-cal__grid .is-today { box-shadow: inset 0 0 0 2px var(--ds-gold-500); border-radius: 999px; }

/* ==========================================================================
   DIREKTORI KEPAKARAN
   ========================================================================== */
.js-doclist [hidden] { display: none !important; }
.ds-chip--gold { background: var(--ds-gold-50); color: #7a4f00; }

/* Header modul */
.ds-xbrand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.ds-xbrand__label {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font: 700 13px/1.2 var(--ds-font);
  letter-spacing: .01em;
}
.ds-xback { display: none; }
@media (min-width: 768px) { .ds-xback { display: inline-flex; } }
@media (min-width: 992px) {
  .ds-header--expert .ds-nav { display: block; }
  .ds-header--expert .ds-burger { display: none; }
  .ds-header--expert .ds-header__actions { margin-left: 0; }
}
@media (max-width: 575.98px) { .ds-xbrand__label { display: none; } }

/* Beranda kepakaran */
.ds-xhero {
  background-color: var(--ds-blue-700);
  background-image:
    radial-gradient(circle at 85% 10%, rgba(255, 177, 0, .18), transparent 40%),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
  color: #fff;
}
.ds-xhero__inner { max-width: 880px; padding-block: clamp(48px, 7vw, 96px); text-align: center; }
.ds-xhero__title { margin: 0 0 16px; color: #fff; font: 800 clamp(32px, 5vw, 54px)/1.08 var(--ds-font); letter-spacing: -0.025em; text-wrap: balance; }
.ds-xhero__lead { max-width: 62ch; margin: 0 auto 32px; color: rgba(255, 255, 255, .86); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.65; }
.ds-xsearch { max-width: 720px; margin: 0 auto; padding: 10px; background: #fff; border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(3, 15, 45, .7); text-align: left; }
.ds-seg { display: inline-flex; gap: 4px; margin: 0 0 10px; padding: 4px; border: 0; border-radius: 12px; background: var(--ds-paper); }
.ds-seg label { margin: 0; cursor: pointer; }
.ds-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ds-seg span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 9px; color: var(--ds-ink-soft); font-weight: 700; font-size: 14px; }
.ds-seg input:checked + span { background: #fff; color: var(--ds-blue-700); box-shadow: 0 1px 3px rgba(6, 26, 70, .15); }
.ds-seg input:focus-visible + span { outline: 3px solid var(--ds-blue-600); outline-offset: 1px; }
.ds-xsearch__row { display: flex; gap: 8px; }
.ds-xsearch__row .ds-search { flex: 1; margin: 0; }
.ds-xsearch__row .ds-search input { min-height: 52px; border-color: transparent; background: var(--ds-paper); font-size: 16px; }
.ds-xsearch__row .ds-btn { min-height: 52px; padding-inline: 26px; }
@media (max-width: 575.98px) { .ds-xsearch__row { flex-direction: column; } .ds-seg { display: flex; } .ds-seg label { flex: 1; } .ds-seg span { justify-content: center; } }
.ds-xsources { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .82); font-size: 14px; font-weight: 600; }
.ds-xsources li { display: inline-flex; align-items: center; gap: 7px; }
.ds-xsources i { color: var(--ds-gold-500); font-size: 18px; }

.ds-xlinks { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 26px; }
@media (min-width: 768px) { .ds-xlinks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ds-xlink {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 18px;
  color: var(--ds-ink);
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ds-xlink:hover { border-color: var(--ds-blue-700); box-shadow: var(--ds-shadow); color: var(--ds-ink); }
.ds-xlink__icon { display: grid; place-items: center; flex: 0 0 56px; height: 56px; border-radius: 14px; background: var(--ds-blue-50); color: var(--ds-blue-700); font-size: 28px; }
.ds-xlink__icon--gold { background: var(--ds-gold-50); color: #a16a00; }
.ds-xlink__body { display: grid; gap: 4px; min-width: 0; }
.ds-xlink__body strong { color: var(--ds-navy-900); font: 800 18px/1.3 var(--ds-font); }
.ds-xlink__body span { color: var(--ds-ink-soft); font-size: 14.5px; line-height: 1.5; }
.ds-xlink__go { margin-left: auto; color: var(--ds-blue-700); font-size: 22px; transition: transform .15s ease; }
.ds-xlink:hover .ds-xlink__go { transform: translateX(3px); }

.ds-xadmin { margin-top: 28px; padding: 22px; background: #fff; border: 1px dashed #e0b44d; border-radius: 18px; }
.ds-xadmin__head { margin-bottom: 16px; }
.ds-xadmin__title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--ds-navy-900); font: 800 17px/1.3 var(--ds-font); }
.ds-xadmin__head p { margin: 0; color: var(--ds-ink-soft); font-size: 14px; }
.ds-xadmin__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.ds-xadmin__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--ds-gold-50);
  border: 1px solid #f3dc9f;
  border-radius: 12px;
  color: #6b4600;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
}
.ds-xadmin__btn:hover { background: var(--ds-gold-500); border-color: var(--ds-gold-500); color: var(--ds-navy-900); }
.ds-xadmin__btn i { font-size: 20px; }

/* Saringan bertingkat */
.ds-filters { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 18px; padding: 18px; background: #fff; border: 1px solid var(--ds-line); border-radius: 16px; }
@media (min-width: 768px) { .ds-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ds-filters .ds-select { width: 100%; }
.ds-filters .ds-select:disabled { background-color: var(--ds-paper); color: var(--ds-muted); cursor: not-allowed; }
.ds-filters__label { display: block; margin-bottom: 6px; color: var(--ds-navy-900); font-weight: 700; font-size: 13.5px; }
.ds-filters__msg { grid-column: 1 / -1; margin: 0; color: var(--ds-muted); font-size: 13.5px; }
.ds-filters__msg:empty { display: none; }

/* Kartu pakar */
.ds-pakar-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 576px)  { .ds-pakar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px)  { .ds-pakar-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .ds-pakar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ds-pakar-item { display: flex; }
.ds-pakar {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 16px 18px 0;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ds-pakar:hover { border-color: var(--ds-blue-100); box-shadow: var(--ds-shadow); }
.ds-pakar__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.ds-pakar__status i { font-size: 14px; }
.ds-pakar__status--ok   { background: #def5e7; color: #0f6234; }
.ds-pakar__status--wait { background: var(--ds-gold-50); color: #7a4f00; }
.ds-pakar__status--no   { background: #fdecec; color: #a61e1e; }
.ds-pakar__status--muted { background: #eef1f6; color: #535d73; }
.ds-pakar__top { display: flex; align-items: flex-end; justify-content: space-between; margin: 14px 0 12px; }
.ds-pakar__foto { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--ds-paper); box-shadow: 0 0 0 4px var(--ds-blue-50); }
.is-blur { filter: blur(5px); }
.ds-pakar__hindex { display: grid; justify-items: center; min-width: 64px; padding: 6px 10px; border-radius: 12px; background: var(--ds-gold-50); color: #6b4600; line-height: 1.1; }
.ds-pakar__hindex strong { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ds-pakar__hindex span { font-size: 11px; font-weight: 700; }
.ds-pakar__name { margin: 0 0 4px; color: var(--ds-navy-900); font: 800 16.5px/1.35 var(--ds-font); }
.ds-pakar:hover .ds-pakar__name a { color: var(--ds-blue-700); }
.ds-pakar__jf { margin: 0 0 2px; color: var(--ds-blue-700); font-weight: 700; font-size: 13.5px; }
.ds-pakar__unit { margin: 0 0 12px; color: var(--ds-muted); font-size: 13px; line-height: 1.45; }
.ds-pakar__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.ds-pakar__tags li { padding: 3px 9px; border-radius: 8px; background: var(--ds-blue-50); color: var(--ds-blue-700); font-weight: 600; font-size: 12.5px; line-height: 1.35; overflow-wrap: anywhere; }
.ds-pakar__tags li.is-more { background: var(--ds-paper); color: var(--ds-muted); }
.ds-pakar__tags--lg li { padding: 5px 12px; font-size: 14px; }
.ds-pakar__none { margin: 0 0 14px; color: var(--ds-muted); font-size: 13px; font-style: italic; }
.ds-pakar__foot { display: flex; margin: auto -18px 0; border-top: 1px solid var(--ds-line); }
.ds-pakar__link {
  position: relative;
  z-index: 2;   /* di atas tautan kartu */
  flex: 1;
  padding: 10px 4px;
  color: var(--ds-blue-700);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
}
.ds-pakar__link + .ds-pakar__link { border-left: 1px solid var(--ds-line); }
.ds-pakar__link:hover { background: var(--ds-blue-50); }
.ds-pakar__link.is-off { color: #b3bccd; cursor: default; }
.ds-pakar__link.is-off:hover { background: transparent; }

/* Profil pakar */
.ds-profile { display: grid; gap: 22px; padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid var(--ds-line); border-radius: 20px; }
@media (min-width: 992px) { .ds-profile { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.ds-profile__main { display: flex; flex-wrap: wrap; gap: 22px; }
.ds-profile__foto { flex: 0 0 140px; width: 140px; height: 140px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--ds-paper); box-shadow: 0 0 0 5px var(--ds-blue-50); }
.ds-profile__info { flex: 1 1 280px; min-width: 0; }
.ds-profile__mail { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.ds-profile__mail i { color: var(--ds-blue-700); font-size: 18px; }
.ds-profile__mail a { color: var(--ds-ink); text-decoration: none; }
.ds-profile__mail a:hover { color: var(--ds-blue-700); text-decoration: underline; }
.ds-profile__label { margin: 18px 0 8px; color: var(--ds-navy-900); font-weight: 800; font-size: 14.5px; }
.ds-metrics { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ds-metric {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "label value" "link value";
  align-items: center;
  gap: 2px 12px;
  padding: 12px 16px;
  background: var(--ds-paper);
  border-radius: 12px;
}
.ds-metric__label { grid-area: label; color: var(--ds-ink-soft); font-weight: 600; font-size: 13.5px; }
.ds-metric__value { grid-area: value; color: var(--ds-navy-900); font: 800 28px/1 var(--ds-font); font-variant-numeric: tabular-nums; }
.ds-metric__link { grid-area: link; display: inline-flex; align-items: center; gap: 4px; color: var(--ds-blue-700); font-weight: 700; font-size: 13px; text-decoration: none; }
.ds-metric__link:hover { text-decoration: underline; }
.ds-metric__link.is-off { color: var(--ds-muted); font-weight: 500; }
.ds-tabs + .ds-tabpanel { margin-top: 0; }

/* Publikasi, sertifikasi, pekerjaan */
.ds-pub { padding: 16px 18px; background: #fff; border: 1px solid var(--ds-line); border-radius: 14px; }
.ds-pub__title { margin: 0 0 8px; color: var(--ds-navy-900); font: 700 15.5px/1.45 var(--ds-font); }
.ds-pub__meta, .ds-record__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; color: var(--ds-muted); font-size: 13px; }
.ds-pub__meta span:not(.ds-chip), .ds-record__meta span { display: inline-flex; align-items: center; gap: 5px; }
.ds-pub__cat { margin: 8px 0 0; color: var(--ds-ink-soft); font-size: 13.5px; }
.ds-note--soft { margin-top: 16px; background: #fff; border: 1px solid var(--ds-line); }
.ds-records { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ds-record { display: flex; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--ds-line); border-radius: 14px; }
.ds-record__icon { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--ds-blue-50); color: var(--ds-blue-700); font-size: 22px; }
.ds-record__icon--gold { background: var(--ds-gold-50); color: #a16a00; }
.ds-record__title { margin: 0 0 4px; color: var(--ds-navy-900); font: 700 16px/1.4 var(--ds-font); }
.ds-record__sub { margin: 0 0 8px; color: var(--ds-ink); font-size: 14.5px; }

/* Bidang kepakaran */
.ds-bidcards { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 576px)  { .ds-bidcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px)  { .ds-bidcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ds-bidcard-item { display: flex; }
.ds-bidcard {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-left: 4px solid var(--ds-blue-700);
  border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ds-bidcard:hover { border-color: var(--ds-blue-100); border-left-color: var(--ds-gold-500); box-shadow: var(--ds-shadow-sm); }
.ds-bidcard__title { margin: 0 0 4px; color: var(--ds-navy-900); font: 700 15.5px/1.4 var(--ds-font); }
.ds-bidcard:hover .ds-bidcard__title a { color: var(--ds-blue-700); }
.ds-bidcard__sub { margin: 0 0 12px; color: var(--ds-muted); font-size: 13px; }
.ds-bidcard__count { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; margin-top: auto; padding: 3px 10px; border-radius: 999px; background: var(--ds-blue-50); color: var(--ds-blue-700); font-weight: 700; font-size: 12.5px; }
.ds-bidcard.is-empty { border-left-color: var(--ds-line); background: #fbfcfe; }
.ds-bidcard.is-empty .ds-bidcard__title { color: var(--ds-ink-soft); }
.ds-bidcard.is-empty .ds-bidcard__count { background: #eef1f6; color: var(--ds-muted); }

/* ==========================================================================
   PROFIL PAKAR (pakar-detail) — identitas lengkap di samping foto
   ========================================================================== */
.ds-xprof { background: var(--ds-paper); }
.ds-xprof__band {
  padding: 24px 0 120px;
  background-color: var(--ds-blue-700);
  background-image:
    radial-gradient(circle at 88% 0%, rgba(255, 177, 0, .22), transparent 42%),
    radial-gradient(circle at 8% 100%, rgba(79, 141, 245, .35), transparent 45%),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: auto, auto, 36px 36px, 36px 36px;
}
.ds-xprof__band .ds-crumbs { margin: 0; }
.ds-xprof__card {
  position: relative;
  margin-top: -96px;
  padding: clamp(20px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--ds-line);
  border-top: 5px solid var(--ds-gold-500);
  border-radius: 22px;
  box-shadow: 0 24px 48px -28px rgba(6, 26, 70, .45);
}
.ds-xprof__head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(20px, 3vw, 34px); }

/* Foto */
.ds-xprof__photo { position: relative; flex: 0 0 auto; }
.ds-xprof__photo img {
  display: block;
  width: 176px;
  height: 176px;
  object-fit: cover;
  object-position: top;
  border-radius: 26px;
  background: var(--ds-paper);
  border: 6px solid #fff;
  box-shadow: 0 0 0 3px var(--ds-blue-100), 0 18px 36px -18px rgba(6, 26, 70, .55);
}
.ds-xprof__badge {
  position: absolute;
  right: -6px;
  bottom: -6px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 20px;
}

/* Identitas */
.ds-xprof__id { flex: 1 1 360px; min-width: 0; }
.ds-xprof__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-pakar__status--uni { background: var(--ds-blue-50); color: var(--ds-blue-700); }
.ds-xprof__name {
  margin: 12px 0 18px;
  color: var(--ds-navy-900);
  font: 800 clamp(24px, 3.2vw, 36px)/1.15 var(--ds-font);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* Kotak info berwarna */
.ds-xinfo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .ds-xinfo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ds-xinfo__item {
  --c: var(--ds-blue-700); --c-bg: var(--ds-blue-50);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--c-bg);
}
.ds-xinfo__item--blue   { --c: #0b399b; --c-bg: #edf2fc; }
.ds-xinfo__item--teal   { --c: #0f766e; --c-bg: #e3f5f2; }
.ds-xinfo__item--amber  { --c: #9a5b00; --c-bg: #fff5db; }
.ds-xinfo__item--violet { --c: #6d28d9; --c-bg: #f3ecfd; }
.ds-xinfo__icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  color: var(--c);
  font-size: 21px;
  box-shadow: 0 1px 2px rgba(6, 26, 70, .08);
}
.ds-xinfo__text { min-width: 0; }
.ds-xinfo__label { display: block; margin-bottom: 2px; color: var(--c); font-weight: 700; font-size: 12.5px; }
.ds-xinfo__value { display: block; color: var(--ds-navy-900); font-weight: 700; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.ds-xinfo__value.is-empty { color: var(--ds-muted); font-weight: 500; font-style: italic; }
.ds-xinfo__value--mail { display: flex; align-items: center; gap: 6px; }
.ds-xinfo__value--mail a { min-width: 0; color: var(--ds-navy-900); text-decoration: none; overflow-wrap: anywhere; }
.ds-xinfo__value--mail a:hover { color: var(--c); text-decoration: underline; }
.ds-xinfo__copy {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--c);
  font-size: 16px;
  cursor: pointer;
}
.ds-xinfo__copy:hover { background: var(--c); color: #fff; }
.ds-xinfo__copy.is-done { background: #16a34a; color: #fff; }

/* Ringkasan rekam jejak */
.ds-xprof__counts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.ds-xprof__counts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--ds-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ds-ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.ds-xprof__counts a:hover { border-color: var(--ds-blue-700); color: var(--ds-blue-700); }
.ds-xprof__counts i { color: var(--ds-gold-600, #e09a00); font-size: 16px; }
.ds-xprof__counts strong { color: var(--ds-navy-900); }

/* Bagian kepakaran & indikator */
.ds-xprof__section { margin-top: 24px; padding-top: 22px; border-top: 1px dashed var(--ds-line); }
.ds-xprof__label { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--ds-navy-900); font: 800 15.5px/1.3 var(--ds-font); }
.ds-xprof__label i { color: var(--ds-gold-500); font-size: 20px; }
.ds-xtags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ds-xtags li { padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; line-height: 1.35; }
.ds-xtags li:nth-child(5n+1) { background: #edf2fc; color: #0b399b; }
.ds-xtags li:nth-child(5n+2) { background: #e3f5f2; color: #0f766e; }
.ds-xtags li:nth-child(5n+3) { background: #fff5db; color: #8a5200; }
.ds-xtags li:nth-child(5n+4) { background: #f3ecfd; color: #6d28d9; }
.ds-xtags li:nth-child(5n+5) { background: #fdecf1; color: #be185d; }

.ds-xmetrics { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .ds-xmetrics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ds-xmetric {
  --c: #0b399b; --c-bg: #edf2fc; --c-line: #cfdcf6;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 16px 22px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: var(--c-bg);
}
.ds-xmetric::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.ds-xmetric--scopus  { --c: #c2410c; --c-bg: #fff3eb; --c-line: #fbd5bf; }
.ds-xmetric--sinta   { --c: #0b399b; --c-bg: #edf2fc; --c-line: #cfdcf6; }
.ds-xmetric--scholar { --c: #15803d; --c-bg: #e9f7ef; --c-line: #c3e8d1; }
.ds-xmetric__label { display: flex; align-items: center; gap: 6px; color: var(--c); font-weight: 700; font-size: 13.5px; }
.ds-xmetric__label i { font-size: 18px; }
.ds-xmetric__value { margin: 6px 0 12px; color: var(--ds-navy-900); font: 800 36px/1 var(--ds-font); font-variant-numeric: tabular-nums; }
.ds-xmetric__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  margin-top: auto;
  padding: 6px 12px;
  border-radius: 9px;
  background: #fff;
  color: var(--c);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(6, 26, 70, .08);
}
.ds-xmetric__link:hover { background: var(--c); color: #fff; }
.ds-xmetric__link.is-off { background: transparent; box-shadow: none; padding-inline: 0; color: var(--ds-muted); font-weight: 500; }
@media (max-width: 767.98px) {
  .ds-xmetric {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "label value" "link value";
    align-items: center;
    gap: 8px 12px;
    padding: 14px 16px 14px 20px;
  }
  .ds-xmetric__label { grid-area: label; }
  .ds-xmetric__value { grid-area: value; margin: 0; font-size: 32px; }
  .ds-xmetric__link { grid-area: link; justify-self: start; margin-top: 0; }
}
.ds-xprof__rest { padding-top: clamp(28px, 4vw, 44px); }
.ds-xprof__rest .ds-tabs { margin-top: 0; }

/* Ponsel: foto & nama di tengah */
@media (max-width: 639.98px) {
  .ds-xprof__band { padding-bottom: 104px; }
  .ds-xprof__head { flex-direction: column; align-items: center; }
  .ds-xprof__photo img { width: 148px; height: 148px; }
  .ds-xprof__id { flex-basis: auto; width: 100%; }
  .ds-xprof__chips, .ds-xprof__counts { justify-content: center; }
  .ds-xprof__name { text-align: center; }
}

/* ==========================================================================
   Kurangi gerak bila diminta pengguna
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ds-leader img { animation: none !important; }
  .ds-leader, .ds-leader__media { transform: none !important; }
  .ds-scope *, .ds-scope *::before, .ds-scope *::after,
  #loader.ds-loader::before {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}