/* Tema Rumah Bintang. Palet dari logo; tosca untuk beranda (meneruskan warna slider hero lama). */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/baloo-2-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/baloo-2-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Amiri"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/amiri-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --navy: #1f3a55;
  --navy-deep: #14283d;
  --sky: #649ece;
  --sky-tint: #edf4fb;
  --yellow: #ffbe34;
  --yellow-tint: #fff4da;
  --teal: #0f7c77;
  --teal-hero: #45c4c1;
  --teal-tint: #e6f6f5;
  --ink: #1f3a55;
  --ink-soft: #4d6378;
  --line: #d9e4ee;
  --danger: #b4231a;
  --font-body: "Poppins", system-ui, sans-serif;
  --font-head: "Baloo 2", "Poppins", system-ui, sans-serif;
  --font-arab: "Amiri", serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.7 var(--font-body); color: var(--ink); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
/* Konten lama menyimpan emoji sebagai <img class="emoji">, sedangkan CSS emoji bawaan WordPress dimatikan di setup.php. */
img.emoji, img.wp-smiley { display: inline !important; width: 1em !important; height: 1em !important; margin: 0 .07em !important; padding: 0 !important; vertical-align: -.1em !important; border: none !important; box-shadow: none !important; background: none !important; }
a { color: var(--navy); text-decoration-color: var(--sky); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--teal); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

a[href], button, summary, label[for], select, [role="button"] { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 1000; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }

/* Motif: stabilo kuning di bawah kata kunci, gema judul stiker biru + kuning di poster Rubin.
   Di widget Judul Elementor cukup tulis: Program <span class="mark">rutin</span> kami */
.mark { background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 90%, transparent 90%); padding: 0 .08em; }
.on-dark .mark, .rb-on-dark .mark { background: none; color: var(--yellow); }

/* Tombol */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 12px; border: 2px solid transparent;
  font: 600 .95rem/1 var(--font-body); text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn--donate { background: var(--yellow); color: var(--navy-deep); }
.btn--donate:hover { background: #f2a90f; color: var(--navy-deep); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--line { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--line:hover { color: var(--teal); }
.on-dark .btn--line, .rb-on-dark .btn--line { color: #fff; }

.btn--wa { background: #0f7a41; color: #fff; }
.btn--wa:hover { background: #0d733c; color: #fff; }
.btn .rb-icon { width: 20px; height: 20px; flex: none; }

/* Gaya dasar widget bawaan Elementor: menang atas warna/font global Elementor, kalah dari pengaturan per widget. */
.rubin .elementor-widget-heading .elementor-heading-title { font-family: var(--font-head); font-weight: 700; line-height: 1.15; color: var(--navy); }
.rubin .elementor-widget-text-editor { font-family: var(--font-body); color: var(--ink); }
.rubin .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.rubin .elementor-widget-button .elementor-button {
  min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; border-radius: 12px;
  font: 600 .95rem/1 var(--font-body); border: 2px solid transparent; background: var(--navy); color: #fff;
  transition: background-color .15s, color .15s, border-color .15s;
}
.rubin .elementor-widget-button .elementor-button:hover { background: var(--navy-deep); color: #fff; }

/* Kelas untuk widget bawaan Elementor (isi di Advanced › CSS Classes). */
.rubin .rb-title .elementor-heading-title { font-family: var(--font-head); font-weight: 700; line-height: 1.15; color: var(--navy); }
.rubin .rb-on-dark .elementor-heading-title, .rubin .rb-title-light .elementor-heading-title { color: #fff; }
.rubin .rb-title-narrow .elementor-heading-title { max-width: 17ch; }
.rubin .rb-title-sm .elementor-heading-title { font-size: 1.35rem; }
.rubin .rb-label .elementor-heading-title { font: 600 1rem/1.4 var(--font-body); color: var(--navy); }
.rubin .rb-on-dark .rb-label .elementor-heading-title { color: var(--yellow); }
.rubin .rb-statement { font: 700 clamp(1.45rem, 1rem + 1.6vw, 2.2rem)/1.3 var(--font-head); color: var(--navy); }
.rubin .rb-on-dark .rb-statement { color: #fff; }
.rb-lead, .rb-lead p, .rubin .rb-lead { color: var(--ink-soft); }
.rubin .rb-on-dark .elementor-widget-text-editor, .rubin .rb-on-dark .rb-lead, .rb-on-dark .rb-lead p { color: #d9e4ee; }
.rubin .rb-band-yellow .rb-lead, .rubin .rb-band-yellow .elementor-widget-text-editor { color: var(--navy); }
.rubin .rb-btn-donate .elementor-button { background: var(--yellow); color: var(--navy-deep); }
.rubin .rb-btn-donate .elementor-button:hover { background: #f2a90f; color: var(--navy-deep); }
.rubin .rb-btn-navy .elementor-button { background: var(--navy); color: #fff; }
.rubin .rb-btn-navy .elementor-button:hover { background: var(--navy-deep); color: #fff; }
.rubin .rb-btn-line .elementor-button { background: transparent; color: var(--navy); border-color: currentColor; }
.rubin .rb-btn-line .elementor-button:hover { background: transparent; color: var(--teal); }
.rubin .rb-on-dark .rb-btn-line .elementor-button { color: #fff; }
.rb-on-dark .btn--line { color: #fff; }

/* Foto: bingkai putih miring seperti foto tempel di poster Rubin, atau sudut membulat biasa. */
.rb-photo-tilt img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 6px solid #fff; border-radius: 20px; background: var(--sky-tint); }
@media (min-width: 900px) { .rb-photo-tilt img { transform: rotate(-1.5deg); } }
.rb-img-round img { width: 100%; border-radius: 18px; }
.rb-rounded { border-radius: 16px; overflow: hidden; }
/* Daftar label pendek (jenis donasi). */
.rb-tags ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rb-tags li { padding: 6px 12px; border-radius: 8px; background: var(--yellow-tint); color: var(--navy); font-weight: 600; }
.rb-office { background: var(--yellow); border-radius: 18px; }
.rb-office .elementor-widget-text-editor { color: var(--navy); }
.rb-reach-band { background: var(--teal-tint); border-radius: 16px; }
.rb-reach-band .elementor-widget-text-editor { color: var(--navy); }

/* Kelas untuk container Elementor. */
.rb-section-teal-tint { background: var(--teal-tint); }
.rb-section-teal { background: var(--teal-hero); color: var(--navy-deep); }
.rb-section-sky { background: var(--sky-tint); }
.rb-section-navy { background: var(--navy); color: #d9e4ee; }
.rb-band-yellow { background: var(--yellow); }
.rb-band-yellow .rb-lead, .rb-band-yellow .rb-lead p { color: var(--navy); }
/* Kepala halaman dalam: ornamen kotak biru + segitiga kuning di sudut, dari guideline poster Rubin. */
.rb-page-head { position: relative; overflow: hidden; background: var(--sky-tint); }
.rb-page-head::before { content: ""; position: absolute; right: 6%; top: 28px; width: 46px; height: 46px; border-radius: 8px; background: var(--sky); transform: rotate(12deg); pointer-events: none; }
.rb-page-head::after { content: ""; position: absolute; right: calc(6% + 40px); top: 70px; border-left: 22px solid transparent; border-right: 22px solid transparent; border-bottom: 38px solid var(--yellow); transform: rotate(-14deg); pointer-events: none; }
@media (max-width: 640px) { .rb-page-head::before, .rb-page-head::after { display: none; } }

/* ---------- Header ---------- */
/* Header mengambil warna hero di bawahnya supaya menyambung; setelah hero lewat, kembali putih. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg, #fff); border-bottom: 1px solid transparent; transition: background-color .25s, border-color .25s; }
#masthead { position: sticky; top: 0; z-index: 50; }
#masthead .site-header { position: relative; }
.admin-bar .site-header, .admin-bar #masthead { top: 32px; }
#masthead .site-header { top: auto; }
@media (max-width: 782px) { .admin-bar .site-header, .admin-bar #masthead { top: 46px; } #masthead .site-header { top: auto; } }
@media (max-width: 600px) { .admin-bar .site-header, .admin-bar #masthead { top: 0; } }
.site-header[data-tone="teal"] { --header-bg: var(--teal-hero); }
.site-header[data-tone="sky"] { --header-bg: var(--sky-tint); }
.site-header[data-tone="white"] { --header-bg: #fff; }
.site-header.is-scrolled { --header-bg: #fff; border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 118px; height: auto; display: block; }
.brand-text { font: 700 1.25rem/1.1 var(--font-head); color: var(--navy); }
.nav-toggle { margin-left: auto; width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); }
.nav-toggle:hover { border-color: var(--navy); }
.nav-toggle .rb-icon { width: 22px; height: 22px; }
.primary-nav { display: none; }
.primary-nav.is-open { display: block; position: fixed; inset: var(--nav-top, 72px) 0 0; z-index: 49; background: #fff; overflow-y: auto; padding: 8px 16px 32px; border-top: 1px solid var(--line); }
.menu, .sub-menu { list-style: none; margin: 0; padding: 0; }
/* Gaya menu header dibatasi ke .primary-nav supaya tidak ikut ke menu footer. */
.primary-nav .menu > li { position: relative; display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
.primary-nav .menu > li > a { position: relative; flex: 1; display: flex; align-items: center; min-height: 52px; padding: 0 6px; font: 500 1rem var(--font-body); color: var(--navy); text-decoration: none; }
.primary-nav .menu > li > a:hover { color: var(--teal); }
.primary-nav .menu li:is(.current-menu-item, .current-menu-ancestor) > a, .primary-nav .menu li > a[aria-current="page"] { font-weight: 700; }
.submenu-toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; color: var(--navy); }
.submenu-toggle .rb-icon { width: 16px; height: 16px; transition: transform .15s; }
.submenu-toggle[aria-expanded="true"] .rb-icon { transform: rotate(180deg); }
.sub-menu { display: none; width: 100%; padding: 0 0 10px 10px; }
.sub-menu.is-open { display: block; }
.sub-menu a { display: block; padding: 10px 8px; color: var(--ink-soft); text-decoration: none; border-radius: 8px; }
.sub-menu a:hover { color: var(--navy); background: var(--sky-tint); }
.header-donate { display: none; }
.nav-donate { margin-top: 20px; width: 100%; }

@media (min-width: 1180px) {
  .nav-toggle, .nav-donate { display: none; }
  /* Menu tepat di tengah: logo dan tombol Donasi mengisi dua kolom sisi yang sama lebar. */
  .site-header .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .site-header .brand { justify-self: start; }
  .primary-nav, .primary-nav.is-open { display: block; position: static; padding: 0; border: 0; overflow: visible; background: none; }
  .primary-nav .menu { display: flex; align-items: center; }
  .primary-nav .menu > li { border: 0; flex-wrap: nowrap; }
  .primary-nav .menu > li > a { min-height: 44px; padding: 0 4px 0 11px; font-size: .93rem; white-space: nowrap; border-radius: 10px; }
  .primary-nav .menu > li:not(.menu-item-has-children) > a { padding-right: 11px; }
  .primary-nav .menu > li > a:hover { background: var(--sky-tint); }
  .submenu-toggle { width: 28px; height: 36px; }
  .primary-nav .menu > li:is(.current-menu-item, .current-menu-ancestor) > a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--yellow); }
  .primary-nav .menu > li.menu-item-has-children > a::after { right: 4px; }
  .sub-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 28px rgba(20, 40, 61, .14); }
  /* Dropdown Program memuat semua program, jadi dua kolom supaya tidak memanjang ke bawah. */
  .primary-nav .rb-menu-programs > .sub-menu.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; width: 580px; }
  .header-donate { display: inline-flex; justify-self: end; }
  .site-header[data-tone="teal"]:not(.is-scrolled) .menu > li > a, .site-header[data-tone="teal"]:not(.is-scrolled) .menu > li > .submenu-toggle { color: var(--navy-deep); }
  .site-header[data-tone="teal"]:not(.is-scrolled) .menu > li > a:hover { color: var(--navy-deep); background: rgba(255, 255, 255, .35); }
  .site-header[data-tone="teal"]:not(.is-scrolled) .menu > li:is(.current-menu-item, .current-menu-ancestor) > a::after { background: var(--navy-deep); }
  .site-header[data-tone="sky"]:not(.is-scrolled) .menu > li > a:hover { background: #fff; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c7d5e2; font-size: .93rem; padding: 56px 0 0; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.site-footer a:hover { color: var(--yellow); }
.footer-top { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.footer-brand .brand img, .footer-brand .brand .brand-text { display: block; }
.footer-brand .brand { padding: 10px 14px; background: #fff; border-radius: 12px; margin-bottom: 16px; }
.footer-brand .brand img { width: 120px; }
.footer-brand address { font-style: normal; line-height: 1.8; white-space: pre-line; }
.site-footer h2 { font-size: 1.1rem; color: #fff; margin: 0 0 12px; }
.footer-links, .site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .menu > li { display: block; }
.site-footer .menu > li > a { font-size: .93rem; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); }
.site-footer .menu > li > a:hover { color: var(--yellow); text-decoration-color: currentColor; }
/* Menu aktif: tebal dengan garis kuning sepanjang teksnya saja. */
.site-footer .menu .current-menu-item > a { font-weight: 700; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: var(--yellow); color: var(--navy-deep); }
.socials .rb-icon { width: 20px; height: 20px; }
.footer-bottom { margin-top: 44px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .85rem; color: #a9bccd; }

.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 14px; border-radius: 26px; background: #0f7a41; color: #fff; font-weight: 600; font-size: .92rem; text-decoration: none; box-shadow: 0 8px 20px rgba(18, 140, 74, .3); }
.wa-float:hover { background: #0b6334; color: #fff; }
.wa-float .rb-icon { width: 24px; height: 24px; }
@media (max-width: 480px) { .wa-float span { display: none; } .wa-float { padding: 0 14px; } }

/* ---------- Widget: Hero slider ---------- */
/* Kontainer kolom Elementor di HP memakai flex-wrap; tanpa lebar pasti, tinggi dari aspect-ratio terukur 0. */
.elementor-widget-rubin-hero { width: 100%; }
.rb-hero { position: relative; background: var(--teal-hero); }
.hero-track { position: relative; width: 100%; aspect-ratio: 1300 / 600; overflow: hidden; }
@media (max-width: 640px) { .hero-track { aspect-ratio: 4 / 3.2; } }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
/* Titik fokus diatur per slide di widget (--pos desktop, --pos-m HP). */
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); display: block; }
.hero-slide > a { display: block; height: 100%; }
/* Bayangan elips di belakang teks supaya putih dan kuning lolos kontras; pudar sebelum tepi atas agar menyatu dengan header tosca. */
.hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; max-width: 64%; padding: 0 6%; color: #fff; background: radial-gradient(ellipse 80% 58% at 30% 58%, rgba(8, 92, 88, .74) 0%, rgba(8, 92, 88, .6) 40%, rgba(8, 92, 88, 0) 100%); }
.hero-copy .bismillah { font: 400 clamp(1.2rem, .8rem + 2vw, 2.2rem)/1.6 var(--font-arab); margin: 0 0 .2em; text-align: left; }
.hero-copy .hero-title { color: #fff; font-size: clamp(1.7rem, .9rem + 3.4vw, 3.6rem); text-shadow: 0 2px 10px rgba(8, 70, 68, .3); margin: 0 0 .5em; }
.hero-copy .hero-title span { display: block; color: var(--yellow); }
.hero-copy .btn { align-self: flex-start; }
@media (max-width: 640px) {
  .hero-slide img { object-position: var(--pos-m, var(--pos, 50% 50%)); }
  .hero-copy { max-width: 100%; justify-content: flex-end; padding: 0 16px 60px; background: linear-gradient(0deg, rgba(10, 100, 96, .9) 0%, rgba(10, 100, 96, .55) 50%, transparent 78%); }
}
.hero-controls { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; align-items: center; gap: 6px; }
.hero-dot { width: 32px; height: 32px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.hero-dot::before { content: ""; width: 10px; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .6); transition: width .2s; }
.hero-dot:hover::before { background: #fff; }
.hero-dot[aria-current="true"]::before { width: 26px; background: #fff; }
.hero-btn { width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgba(8, 70, 68, .5); color: #fff; display: grid; place-items: center; }
.hero-btn:hover { background: rgba(8, 70, 68, .8); }
.hero-btn .rb-icon { width: 18px; height: 18px; }

/* ---------- Kepala baris widget (judul + aksi) ---------- */
.row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.row-head h2 { margin: 0; }
.row-head p { margin: 6px 0 0; color: var(--ink-soft); }
.rb-on-dark .row-head h2 { color: #fff; }
.link-more { font-weight: 600; }

/* ---------- Widget: Program ---------- */
.rb-program-feature { display: grid; gap: 32px; }
@media (min-width: 960px) { .rb-program-feature { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.rb-program-feature > * { min-width: 0; }
.feature-program img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; display: block; }
.feature-program .caption { margin-top: 18px; }
.feature-program .caption h3 { font-size: 1.6rem; }
.feature-program .caption h3 a { color: var(--navy); text-decoration: none; }
.feature-program .caption h3 a:hover { color: var(--teal); text-decoration: underline; }
.feature-program .caption p { color: var(--ink-soft); }
.feature-program .kicker { display: inline-block; font-weight: 600; font-size: .85rem; color: var(--teal); margin-bottom: 4px; }
.program-rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.program-rows li { border-bottom: 1px solid var(--line); }
.program-rows a { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 14px 4px; text-decoration: none; color: inherit; }
.program-rows a > div { min-width: 0; }
.program-rows a:hover { background: var(--teal-tint); }
.program-rows a:hover strong { color: var(--teal); }
.program-rows img { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; background: var(--sky-tint); display: block; }
.program-rows img.is-icon { object-fit: contain; padding: 4px; }
.program-rows img.is-fallback, .photo .icon.is-fallback { padding: 9px; }
.program-rows strong { display: block; font-family: var(--font-head); font-size: 1.1rem; line-height: 1.25; color: var(--navy); }
.program-rows span { display: block; font-size: .85rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.program-rows .ext { color: var(--teal); font-weight: 600; }
.program-grid { display: grid; gap: 28px 24px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .program-grid { grid-template-columns: repeat(3, 1fr); } }
.program-card { position: relative; }
.program-card .photo { position: relative; aspect-ratio: 5 / 4; border-radius: 16px; overflow: hidden; background: var(--sky-tint); }
.program-card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.program-card .photo .icon { position: absolute; left: 12px; bottom: 12px; width: 52px; height: 52px; border-radius: 12px; background: #fff; padding: 5px; object-fit: contain; }
.program-card h2, .program-card h3 { font-size: 1.3rem; margin: 14px 0 6px; }
.program-card h2 a, .program-card h3 a { color: var(--navy); text-decoration: none; }
.program-card h2 a::after, .program-card h3 a::after { content: ""; position: absolute; inset: 0; }
.program-card:hover h2 a, .program-card:hover h3 a { color: var(--teal); text-decoration: underline; }
.program-card p { color: var(--ink-soft); font-size: .93rem; margin: 0; }
.program-card .ext { display: inline-block; margin-top: 6px; font-size: .8rem; font-weight: 600; color: var(--teal); }

/* ---------- Widget: Testimoni ---------- */
.testi-layout { display: grid; gap: 28px; }
@media (min-width: 960px) { .testi-layout { grid-template-columns: 1.35fr 1fr; gap: 48px; } }
.testi-main { margin: 0; }
.testi-main blockquote { margin: 0 0 18px; font: 500 clamp(1.1rem, .95rem + .7vw, 1.45rem)/1.55 var(--font-body); }
.testi-side { display: grid; gap: 16px; align-content: start; }
.testi-side figure { margin: 0; padding: 20px; border-radius: 14px; border: 1px solid var(--line); }
.testi-side blockquote { margin: 0 0 12px; font-size: .93rem; }
.testi-main figcaption, .testi-side figcaption { font-size: .92rem; color: var(--ink-soft); }
.testi-main figcaption strong, .testi-side figcaption strong { display: block; color: var(--navy); }
.rb-on-dark .testi-side figure { border-color: rgba(255, 255, 255, .4); }
.rb-on-dark .testi-main figcaption, .rb-on-dark .testi-side figcaption { color: #eaf8f7; }
.rb-on-dark .testi-main figcaption strong, .rb-on-dark .testi-side figcaption strong { color: #fff; }
/* Seksi tosca terang: teks navy, karena putih di atas tosca terang tidak lolos kontras. */
.rubin .rb-section-teal.rb-on-dark .elementor-heading-title, .rb-section-teal.rb-on-dark .row-head h2,
.rubin .rb-section-teal.rb-on-dark .elementor-widget-text-editor, .rb-section-teal.rb-on-dark .testi-main blockquote { color: var(--navy-deep); }
.rb-section-teal.rb-on-dark .mark { background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 90%, transparent 90%); color: inherit; }
.rb-section-teal.rb-on-dark .testi-side figure { border: 0; background: #fff; }
.rb-section-teal.rb-on-dark .testi-side blockquote { color: var(--ink); }
.rb-section-teal.rb-on-dark .testi-main figcaption, .rb-section-teal.rb-on-dark .testi-side figcaption { color: var(--navy); }
.rb-section-teal.rb-on-dark .testi-main figcaption strong, .rb-section-teal.rb-on-dark .testi-side figcaption strong { color: var(--navy-deep); }
.rb-section-teal.rb-on-dark .testi-side figcaption { color: var(--ink-soft); }
.quote-list { display: grid; gap: 28px; }
@media (min-width: 900px) { .quote-list { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.quote-list figure { margin: 0; }
.quote-list figure::before { content: "\201C"; display: block; height: .5em; font: 700 3.2rem/1 var(--font-head); color: var(--yellow); }
.quote-list blockquote { margin: 0 0 12px; color: #2e465e; }
.quote-list figcaption { font-weight: 600; color: var(--navy); }
/* Foto pemberi testimoni; selama foto belum diisi, inisial nama di lingkaran kuning. */
.testi-person { display: flex; align-items: center; gap: 14px; }
.testi-person > span { min-width: 0; }
.testi-photo { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--sky-tint); }
.testi-main .testi-photo { width: 88px; height: 88px; border: 4px solid var(--yellow); }
.testi-initials { display: grid; place-items: center; background: var(--yellow); color: var(--navy-deep); font: 700 1.2rem/1 var(--font-head); }
.testi-main .testi-initials { font-size: 1.9rem; }

/* Pembuka beranda: foto penerima manfaat tampil utuh, foto kecil dan stiker fakta berdiri di sampingnya. */
.rb-intro { display: grid; gap: 40px; align-items: center; }
.rb-intro-title { margin: 0 0 16px; font: 700 clamp(2.1rem, 1.2rem + 3vw, 3.4rem)/1.1 var(--font-head); color: var(--navy); }
.rb-intro-text { max-width: 34em; margin: 0 0 24px; font-size: 1.05rem; color: var(--ink-soft); }
.rb-intro-text p:last-child { margin-bottom: 0; }
.rb-intro-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rb-intro-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 22px; align-items: center; }
.rb-intro-main { grid-column: 1 / -1; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; background: var(--sky-tint); }
.rb-intro-small { display: block; width: 100%; max-width: 170px; justify-self: center; aspect-ratio: 3 / 4; object-fit: cover; border: 6px solid #fff; border-radius: 18px; box-shadow: 0 10px 24px rgba(20, 40, 61, .18); transform: rotate(3deg); }
.rb-intro-badge { margin: 0; padding: 10px 12px; border: 4px solid #fff; border-radius: 16px; background: var(--yellow); color: var(--navy-deep); text-align: center; box-shadow: 0 8px 20px rgba(20, 40, 61, .14); transform: rotate(-3deg); }
.rb-intro-badge strong { display: block; font: 700 1.5rem/1.1 var(--font-head); }
.rb-intro-badge span { font-size: .8rem; font-weight: 600; }
@media (min-width: 900px) {
  .rb-intro { grid-template-columns: 1fr 1.4fr; gap: 56px; }
  .rb-intro-media { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); align-items: start; }
  .rb-intro-main { grid-column: 2; grid-row: 1 / 3; }
  .rb-intro-badge { grid-column: 1; grid-row: 1; }
  .rb-intro-small { grid-column: 1; grid-row: 2; max-width: none; }
}

/* ---------- Widget: Peta sebaran ---------- */
.map-layout { display: grid; gap: 28px; }
@media (min-width: 960px) { .map-layout { grid-template-columns: 330px minmax(0, 1fr); gap: 40px; } }
.map-intro p { color: var(--ink-soft); }
.region-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; }
.region-list button { width: 100%; min-height: 48px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 14px; border: 2px solid transparent; border-radius: 10px; background: #fff; font: 500 .95rem var(--font-body); color: var(--navy); text-align: left; }
.region-list button:hover { border-color: var(--teal); }
.region-list button[aria-pressed="true"] { background: var(--teal); color: #fff; }
.region-list .count { font-size: .85rem; color: var(--ink-soft); white-space: nowrap; }
.region-list button[aria-pressed="true"] .count { color: #eaf8f7; }
.map-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; padding: 0; font-size: .85rem; color: var(--ink-soft); }
.map-legend li { display: flex; align-items: center; gap: 8px; }
.map-legend .rb-pin { display: inline-block; width: 16px; height: 16px; box-shadow: none; }
.map-box { position: relative; min-height: 440px; border-radius: 18px; overflow: hidden; border: 3px solid #fff; background: #d4efed; }
.map-canvas { position: absolute; inset: 0; z-index: 0; }
.map-status { position: absolute; inset: 0; z-index: 500; display: grid; place-items: center; padding: 24px; margin: 0; text-align: center; font-weight: 500; color: var(--navy); background: #d4efed; }
.map-status[hidden] { display: none; }
.map-source { margin: 12px 0 0; font-size: .82rem; color: var(--ink-soft); }
.rb-pin { border-radius: 50%; background: var(--teal); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(10, 40, 40, .45); }
.rb-pin:hover { background: var(--navy); }
.rb-pin--photo { background: var(--navy); border-color: var(--yellow); }
.leaflet-container { font-family: var(--font-body); }
/* Kartu foto titik: tooltip saat kursor/fokus, popup (dengan tautan) saat diklik atau disentuh. */
.leaflet-tooltip.rb-tip { padding: 0; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 10px 26px rgba(20, 40, 61, .25); white-space: normal; }
.leaflet-tooltip-top.rb-tip::before { border-top-color: #fff; }
.leaflet-tooltip-bottom.rb-tip::before { border-bottom-color: #fff; }
.leaflet-tooltip-left.rb-tip::before { border-left-color: #fff; }
.leaflet-tooltip-right.rb-tip::before { border-right-color: #fff; }
.rb-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 12px; overflow: hidden; }
.rb-popup .leaflet-popup-content { margin: 0; width: 220px !important; }
.pin-card { width: 220px; font: 400 .85rem/1.45 var(--font-body); color: var(--ink); }
.pin-card img { display: block; width: 100%; height: 130px; object-fit: cover; border-radius: 12px 12px 0 0; background: var(--sky-tint); }
.pin-card__body { display: grid; gap: 2px; padding: 10px 12px 12px; }
.pin-card strong { font: 700 1rem/1.25 var(--font-head); color: var(--navy); }
.pin-card__region { font-size: .78rem; font-weight: 600; color: var(--teal); }
.pin-card__text { margin-top: 4px; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pin-card a { margin-top: 6px; font-weight: 600; color: var(--navy); }

/* ---------- Widget: Video ---------- */
.video-cards { display: grid; gap: 28px 24px; }
@media (min-width: 640px) { .video-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .video-cards { grid-template-columns: repeat(3, 1fr); } }
.video-cards--lead > :first-child { grid-column: 1 / -1; }
.video-card h3 { margin: 12px 0 0; font: 600 1rem/1.45 var(--font-body); color: var(--navy); }
.video-cards--lead > :first-child h3 { font: 700 clamp(1.2rem, 1rem + .8vw, 1.6rem)/1.3 var(--font-head); }
.shorts { display: grid; gap: 24px 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .shorts { grid-template-columns: repeat(4, 1fr); } }
.lite-yt { position: relative; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #0d1b29 center / cover no-repeat; display: block; }
.lite-yt--short { aspect-ratio: 9 / 16; }
.lite-yt .play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 66px; height: 46px; border-radius: 12px; background: #d71f1f; display: grid; place-items: center; transition: background-color .15s; }
.lite-yt:hover .play { background: #b31414; }
.lite-yt .play .rb-icon { width: 24px; height: 24px; color: #fff; }
.lite-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Widget: Legalitas & statistik ---------- */
.legal { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .legal { grid-template-columns: repeat(3, 1fr); } }
.legal li { padding: 20px; border-radius: 14px; background: #fff; border: 2px solid var(--line); }
.legal .doc { display: block; margin-bottom: 8px; font: 700 1.15rem/1.25 var(--font-head); color: var(--navy); }
.legal .num { display: block; font-weight: 600; color: var(--navy); }
.legal p { margin: 6px 0 0; font-size: .92rem; color: var(--ink-soft); }
.totals { display: grid; gap: 14px; margin: 0; }
@media (min-width: 640px) { .totals { grid-template-columns: repeat(3, 1fr); } }
.totals div { padding: 16px 18px; border-radius: 14px; background: #fff; border: 2px solid var(--line); }
.totals dt { font-size: .85rem; color: var(--ink-soft); }
.totals dd { margin: 0; font: 700 1.6rem/1.2 var(--font-head); color: var(--navy); }

/* ---------- Widget: Kabar & breadcrumb ---------- */
/* ---------- Widget: Berita penyaluran ---------- */
/* HP: satu baris digeser supaya Beranda tidak memanjang; desktop: grid 4 kolom. */
.relief-list { list-style: none; margin: 0; padding: 4px 2px 12px; display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
@media (min-width: 640px) { .relief-list { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (min-width: 1024px) { .relief-list { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; overflow: visible; padding: 0; } }
.relief-list > li { scroll-snap-align: start; min-width: 0; }
.relief-card { position: relative; height: 100%; display: flex; flex-direction: column; }
.relief-card img, .relief-noimg { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 12px; background: var(--sky-tint); }
.relief-body { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; flex: 1; }
.relief-camp { font-size: .78rem; font-weight: 600; line-height: 1.35; color: var(--teal); }
.relief-card h2, .relief-card h3 { margin: 0; font: 700 1.05rem/1.35 var(--font-head); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.relief-card h2 a, .relief-card h3 a { color: var(--navy); text-decoration: none; }
.relief-card h2 a::after, .relief-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.relief-card:hover h2 a, .relief-card:hover h3 a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.relief-card a:focus-visible { outline: none; }
.relief-card a:focus-visible::after { outline: 3px solid var(--navy); outline-offset: 3px; }
.relief-card time { margin-top: auto; padding-top: 4px; font-size: .8rem; color: var(--ink-soft); }

.post-list { display: grid; gap: 36px 24px; }
@media (min-width: 640px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-list { grid-template-columns: repeat(3, 1fr); } .post-item--lead { grid-column: span 2; grid-row: span 2; } }
.post-item { position: relative; }
.post-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--sky-tint); display: block; }
.post-item--lead img { aspect-ratio: 16 / 11; }
.post-item h2, .post-item h3 { font-size: 1.25rem; margin: 12px 0 6px; }
.post-item--lead h2, .post-item--lead h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.post-item h2 a, .post-item h3 a { color: var(--navy); text-decoration: none; }
.post-item h2 a::after, .post-item h3 a::after { content: ""; position: absolute; inset: 0; }
.post-item:hover h2 a, .post-item:hover h3 a { color: var(--teal); text-decoration: underline; }
.post-item p { margin: 0; font-size: .93rem; color: var(--ink-soft); }
time { font-size: .82rem; color: var(--ink-soft); }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.news-list li { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.news-list img { width: 112px; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--sky-tint); display: block; }
.news-list h3 { font-size: 1.05rem; margin: 2px 0 0; }
.news-list h3 a { color: var(--navy); text-decoration: none; }
.news-list h3 a:hover { color: var(--teal); text-decoration: underline; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; font-size: .85rem; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #7b93a9; }
.breadcrumb a { color: var(--ink-soft); }

/* ---------- Template tema: kepala halaman, artikel, program ---------- */
.page-head { position: relative; overflow: hidden; background: var(--sky-tint); padding: 36px 0 44px; }
.page-head h1 { max-width: 22ch; }
.page-head p { color: var(--ink-soft); max-width: 60ch; margin: 0; }
.section { padding: 64px 0; }
.section--tint { background: var(--sky-tint); }
.prose { max-width: 70ch; overflow-wrap: anywhere; }
.prose h2 { font-size: 1.7rem; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #2e465e; }
.prose img { border-radius: 14px; margin: 20px 0; }
.article { max-width: 70ch; margin: 0 auto; overflow-wrap: anywhere; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; color: var(--ink-soft); font-size: .92rem; }
.share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.sedekah-rutin { margin: 18px 0 24px; padding: 16px 18px; border-radius: 12px; background: var(--yellow-tint); }
.sedekah-rutin b { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); }
.pull-quote { margin: 36px 0 0; font: 500 1.2rem/1.6 var(--font-body); color: var(--navy); }
.pull-quote::before { content: "\201C"; display: block; height: .55em; font: 700 3.4rem/1 var(--font-head); color: var(--yellow); }
.program-hero { background: var(--sky-tint); padding: 28px 0 48px; }
.program-hero .grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .program-hero .grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } .program-hero { padding: 40px 0 64px; } }
.program-hero .photo { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #dfe9f3; border: 6px solid #fff; }
@media (min-width: 900px) { .program-hero .photo { aspect-ratio: 4 / 4.3; transform: rotate(1.5deg); } }
.program-hero .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.program-hero .photo .icon { position: absolute; right: 14px; top: 14px; width: 62px; height: 62px; border-radius: 14px; background: #fff; padding: 6px; object-fit: contain; }
.program-hero .lead { font-size: 1.05rem; color: var(--ink-soft); max-width: 52ch; }
.program-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.subprograms { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.subprograms li { display: flex; gap: 10px; align-items: baseline; font-weight: 500; }
.subprograms li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--yellow); transform: rotate(45deg) translateY(-1px); }
.detail { display: grid; gap: 40px; }
@media (min-width: 1024px) { .detail { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; } }
.detail > * { min-width: 0; }
.aside-box { position: sticky; top: 96px; padding: 22px; border-radius: 16px; background: var(--navy); color: #d9e4ee; }
.aside-box h2 { color: #fff; font-size: 1.35rem; }
.aside-box p { font-size: .92rem; }
.aside-box .btn { width: 100%; }
.aside-box a:not(.btn) { color: #fff; display: inline-block; margin-top: 14px; font-size: .92rem; }
.video-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.empty-note { padding: 18px 20px; border-radius: 12px; background: #fff; border: 2px dashed var(--line); color: var(--ink-soft); }
.reach-band { display: grid; gap: 16px; align-items: center; margin-top: 48px; padding: 24px 28px; border-radius: 16px; background: var(--teal-tint); }
@media (min-width: 900px) { .reach-band { grid-template-columns: 1fr auto; } }
.reach-band p { margin: 0; color: var(--navy); }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border: 2px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 600; }
.pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }

.article-head { background: var(--sky-tint); padding: 32px 0 40px; }
.article-head h1 { max-width: 26ch; }
.section--article { padding-top: 40px; }
.article-photo { display: block; width: 100%; height: auto; margin: 0 0 24px; border-radius: 14px; }
.data-note { margin: 10px 0 0; font-size: .82rem; color: var(--ink-soft); }
.thumb-empty { display: block; width: 52px; height: 52px; border-radius: 12px; background: var(--sky-tint); }
.news-list .thumb-empty { width: 112px; height: auto; aspect-ratio: 1; }
.menu-empty { margin: 0; padding: 12px 6px; font-size: .9rem; }
.section-gap { margin-top: 56px; }
.section-gap:empty { display: none; }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; }
.search-box { margin-top: 32px; max-width: 480px; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; padding: 0 14px; border: 2px solid var(--line); border-radius: 12px; font: inherit; color: var(--navy); }
.search-field:focus { border-color: var(--navy); outline: 3px solid var(--yellow); outline-offset: 2px; }
.search-submit { min-height: 48px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--navy); color: #fff; font: 600 .95rem var(--font-body); }
.search-submit:hover { background: var(--navy-deep); }
.ig-band { display: grid; gap: 16px; align-items: center; padding: 28px; border-radius: 18px; background: var(--navy); color: #d9e4ee; }
.ig-band h2 { color: #fff; margin-bottom: 6px; }
.ig-band p { margin: 0; }
@media (min-width: 900px) { .ig-band { grid-template-columns: 1fr auto; padding: 36px 44px; } }

/* Tombol geser daftar campaign. */
.rb-slider-nav { display: flex; gap: 8px; }
.rb-slider-nav[hidden] { display: none; }
.rb-slider-nav button { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--navy); border-radius: 10px; background: #fff; color: var(--navy); }
.rb-slider-nav button:hover:not(:disabled) { background: var(--navy); color: #fff; }
.rb-slider-nav button:disabled { opacity: .35; }
.rb-slider-nav .rb-icon { width: 18px; height: 18px; }

/* Elementor: halaman builder dibiarkan penuh lebar; container yang mengatur lebar isi. */
.rubin .e-con > .e-con-inner > .rb-campaign-widget, .rubin .e-con > .rb-campaign-widget { width: 100%; }
.rubin .rb-programs, .rubin .rb-posts, .rubin .rb-ig-widget, .rubin .rb-map-widget, .rubin .rb-campaign-widget { width: 100%; }
.rubin .e-con.rb-page-head { position: relative; }
/* Section yang widgetnya belum tampil (shortcode kosong, plugin nonaktif) tidak meninggalkan pita kosong; di editor tetap terlihat. */
body:not(.elementor-editor-active) .e-con.rb-hide-empty:not(:has(.elementor-widget)) { display: none; }
.rubin .rb-page-head .breadcrumb ol { margin-bottom: 6px; }
.rubin .rb-page-head .elementor-widget-heading .elementor-heading-title { max-width: 22ch; }
.rubin .rb-page-head .totals { margin-top: 20px; }

/* ---------- Daftar campaign (DonasiAja) dengan filter ---------- */
.dn-filter { display: grid; gap: 14px; margin-bottom: 24px; }
.dn-filter[hidden] { display: none; }
.dn-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
@media (min-width: 900px) { .dn-chips { flex-wrap: wrap; overflow: visible; } }
.chip { flex: none; min-height: 40px; padding: 0 16px; border: 2px solid var(--line); border-radius: 20px; background: #fff; color: var(--navy); font: 500 .88rem/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: border-color .15s, background-color .15s; }
.chip:hover { border-color: var(--navy); }
.chip.is-on { border-color: var(--navy); background: var(--navy); color: #fff; }
.dn-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.dn-seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--sky-tint); }
.dn-seg button { min-height: 40px; padding: 0 12px; border: 0; border-radius: 9px; background: none; color: var(--ink-soft); font: 600 .88rem/1 var(--font-body); white-space: nowrap; cursor: pointer; }
.dn-seg button[aria-checked="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 0 var(--line); }
.dn-seg .n { display: inline-block; min-width: 22px; margin-left: 4px; padding: 3px 6px; border-radius: 10px; background: var(--line); color: var(--navy); font-size: .75rem; }
.dn-seg button[aria-checked="true"] .n { background: var(--yellow); color: var(--navy-deep); }
.dn-sort { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--ink-soft); }
.dn-sort select { min-height: 44px; padding: 0 36px 0 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f3a55' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--navy); font: 600 .9rem var(--font-body); appearance: none; }
.dn-count { margin: 0; font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 560px) {
  .dn-bar { align-items: stretch; }
  .dn-seg { width: 100%; }
  .dn-seg button { flex: 1; }
  .dn-sort { width: 100%; justify-content: space-between; }
  .dn-sort select { flex: 1; }
}
.cc-grid, .relief-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .cc-grid, .relief-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.cc[hidden] { display: none; }
.cc-link { height: 100%; display: flex; flex-direction: column; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; overflow: hidden; transition: border-color .15s; }
.cc-link:hover { border-color: var(--navy); }
.cc-link:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.cc-img { position: relative; flex: none; aspect-ratio: 13 / 7; overflow: hidden; background: var(--sky-tint); }
.cc-img img, .cc-noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-badge { position: absolute; left: 8px; top: 8px; padding: 4px 10px; border-radius: 8px; background: var(--navy); color: #fff; font-size: .75rem; font-weight: 600; }
.cc[data-active="0"] .cc-img img { filter: grayscale(.5); }
.cc-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 6px; }
.cc-cat { align-self: flex-start; padding: 3px 9px; border-radius: 6px; background: var(--teal-tint); color: var(--teal); font-size: .75rem; font-weight: 600; }
.cc-body h3 { margin: 0; min-height: 2.6em; font-size: 1.05rem; line-height: 1.3; color: var(--navy); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-link:hover h3 { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.cc-amount { margin: 2px 0 0; font-size: .8rem; color: var(--ink-soft); }
.cc-amount strong { font: 700 1.1rem var(--font-head); color: var(--navy); }
.cc-bar { height: 8px; border-radius: 4px; background: var(--sky-tint); overflow: hidden; }
.cc-bar span { display: block; height: 100%; border-radius: 4px; background: var(--yellow); }
.cc-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; margin: 0; font-size: .78rem; color: var(--ink-soft); }
.cc-foot { padding: 10px 16px 16px; }
.cc-btn { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; background: var(--yellow); color: var(--navy-deep); font: 600 .92rem/1.2 var(--font-body); text-align: center; }
.cc-link:hover .cc-btn { background: #f2a90f; }
.cc-btn--line { background: #fff; border: 2px solid var(--navy); color: var(--navy); }
.cc-link:hover .cc-btn--line { background: var(--navy); color: #fff; }
.cc-btn-s { display: none; }
@media (max-width: 639px) {
  .cc-body { padding: 10px 10px 4px; gap: 6px; }
  .cc-cat { font-size: .68rem; padding: 2px 7px; }
  .cc-body h3 { font-size: .9rem; }
  .cc-amount strong { font-size: .95rem; }
  .cc-amount { font-size: .72rem; }
  .cc-meta { flex-direction: column; font-size: .72rem; }
  .cc-foot { padding: 8px 10px 10px; }
  .cc-btn { min-height: 40px; font-size: .86rem; }
  .cc-btn-l { display: none; }
  .cc-btn-s { display: inline; }
  .relief-grid .relief-card h3 { font-size: .92rem; }
}
.dn-empty { padding: 40px 16px; text-align: center; border: 2px dashed var(--line); border-radius: 14px; }
.dn-empty[hidden] { display: none; }
.dn-empty p { margin: 0 0 12px; }
.rb-more { margin-top: 28px; text-align: center; }
.rb-more-btn { min-height: 48px; padding: 0 28px; border: 2px solid var(--navy); border-radius: 12px; background: #fff; color: var(--navy); font: 600 .95rem var(--font-body); cursor: pointer; }
.rb-more-btn:hover { background: var(--navy); color: #fff; }
.rb-more-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.rb-more-btn[hidden] { display: none; }
.relief-grid .relief-card { padding: 0; }

/* Jemput Donasi: kartu formulir di kolom kanan, menempel saat digulir di desktop. */
.rb-jemput-form { padding: 28px !important; border: 2px solid var(--line); border-radius: 18px; background: #fff; }
@media (min-width: 1025px) { .rb-jemput-form { position: sticky; top: 96px; } }
.rb-jemput-form .rb-title { margin: 0; }
.rb-jemput-lead p { margin: 0 0 8px; color: var(--ink-soft); font-size: .92rem; }
.rb-jemput-form .rbf { max-width: none; }
.rb-jemput-form .rbf .rbf-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.rb-jemput-form .rbf .rbf-choice { min-height: 42px; padding: 8px 12px; align-items: center; }
.rb-jemput-form .rbf .rbf-choice input { margin: 0; }
.rb-jemput-form .rbf-submit { width: 100%; }
@media (max-width: 560px) { .rb-jemput-form { padding: 20px 16px !important; border-radius: 14px; } }
.rb-jemput-form .rbf-wa-btn { display: flex; width: 100%; min-height: 48px; padding: 12px 16px; justify-content: center; align-items: center; text-align: center; line-height: 1.3; box-sizing: border-box; }
