/* ==========================================================
   WEBSITE MASJID - style.css
   Daftar isi:
   1. Variabel warna & ukuran
   2. Reset & dasar
   3. Tata letak umum (container, section)
   4. Tombol
   5. Header & navigasi
   6. Hero (beranda) & kepala halaman
   7. Jadwal salat & countdown
   8. Komponen: pengumuman, kegiatan, galeri, artikel
   9. Donasi, keuangan, kontak
   10. Footer
   11. Lightbox, toast, animasi
   12. Media query (tablet & HP)
   ========================================================== */

/* ---------- 1. VARIABEL ---------- */
:root {
  --pine: #0d5ea6;
  /* biru ikonik Masjid Syukur */
  --pine-deep: #092847;
  /* navy pekat (hero, footer) */
  --pine-mid: #1675cc;
  /* biru aksen cerah */
  --mint: #e8f2fc;
  /* latar biru es lembut */
  --paper: #f4f8fd;
  /* latar halaman segar */
  --white: #ffffff;
  --ink: #112338;
  /* teks utama navy arang */
  --muted: #4a627d;
  /* teks sekunder slate */
  --line: #cfe1f1;
  /* garis pemisah bernuansa biru */
  --brass: #c69134;
  /* emas islami elegan */
  --brass-bright: #e8b759;
  --brass-soft: #f9eed6;

  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Literata", Georgia, "Times New Roman", serif;

  --radius: 12px;
  --radius-sm: 8px;
  --container: 1180px;
  --header-h: 68px;
}

/* ---------- 2. RESET & DASAR ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  /* jaga-jaga agar tidak ada scroll horizontal */
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--pine-deep);
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4.5vw + .5rem, 3.4rem);
}

h2 {
  font-size: clamp(1.5rem, 2.2vw + .8rem, 2.1rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--pine);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--pine-mid);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--brass-bright);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

/* Ikon kecil (SVG sebagai mask supaya warnanya mengikuti teks) */
.ic {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  flex: none;
  background: currentColor;
  vertical-align: -.18em;
  -webkit-mask: var(--ic) center / contain no-repeat;
  mask: var(--ic) center / contain no-repeat;
}

.ic-cal {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
}

.ic-clock {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.ic-pin {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.5 7-12a7 7 0 0 0-14 0c0 5.500 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.500'/%3E%3C/svg%3E");
}

.ic-phone {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
}

.ic-mail {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m2 7 10 7 10-7'/%3E%3C/svg%3E");
}

.ic-copy {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15V5a2 2 0 0 1 2-2h10'/%3E%3C/svg%3E");
}

.ic-wa {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 0 1-13.500 7.800L3 21l1.300-4.400A9 9 0 1 1 21 12z'/%3E%3C/svg%3E");
}

/* ---------- 3. TATA LETAK UMUM ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 72px 0;
}

.section--tint {
  background: var(--mint);
}

.section--white {
  background: var(--white);
}

.section-head {
  max-width: 640px;
  margin-bottom: 32px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.section-head--action {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.section-head--action>div {
  max-width: 640px;
}

.text-link {
  font-weight: 700;
}

.note {
  font-size: .92rem;
  color: var(--muted);
  background: var(--brass-soft);
  border-left: 4px solid var(--brass);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 0 0 28px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.prose {
  max-width: 68ch;
}

.prose p {
  color: #1a3050;
}

/* ---------- 4. TOMBOL ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s;
}

.btn--primary {
  background: var(--pine);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--pine-mid);
  color: var(--white);
}

.btn--gold {
  background: var(--brass-bright);
  color: var(--pine-deep);
}

.btn--gold:hover {
  background: #f0c96f;
  color: var(--pine-deep);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, .55);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
}

.btn--outline {
  border-color: var(--pine);
  color: var(--pine);
  background: transparent;
}

.btn--outline:hover {
  background: var(--pine);
  color: var(--white);
}

.btn--small {
  min-height: 44px;
  padding: 8px 16px;
  font-size: .95rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 5. HEADER & NAVIGASI ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--pine-deep);
  flex: none;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-tag {
  font-size: .74rem;
  color: var(--muted);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav a:hover {
  background: var(--mint);
  color: var(--pine-deep);
}

.site-nav a[aria-current="page"] {
  color: var(--pine);
  font-weight: 700;
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 2px;
  height: 3px;
  border-radius: 2px;
  background: var(--brass);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--pine-deep);
  border-radius: 2px;
  transition: transform .25s, background-color .25s;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -7px;
}

.nav-toggle-bars::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 6. HERO & KEPALA HALAMAN ---------- */
/* Pola bintang delapan (khatam) dipakai di hero, kepala halaman, dan footer */
.pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='1.200'%3E%3Crect x='14' y='14' width='36' height='36'/%3E%3Crect x='14' y='14' width='36' height='36' transform='rotate(45 32 32)'/%3E%3C/g%3E%3C/svg%3E");
}

.hero {
  position: relative;
  color: var(--white);
  background: var(--pine-deep);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(100deg, rgba(9, 40, 71, .95) 15%, rgba(9, 40, 71, .68) 65%, rgba(13, 94, 166, .45));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.200'%3E%3Crect x='14' y='14' width='36' height='36'/%3E%3Crect x='14' y='14' width='36' height='36' transform='rotate(45 32 32)'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 80px;
  min-height: 560px;
}

.hero h1 {
  color: var(--white);
  max-width: 20ch;
  margin-bottom: .4em;
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 46ch;
  color: #dbe8f6;
  margin-bottom: 28px;
}

.page-head {
  position: relative;
  background-color: var(--pine-deep);
  color: var(--white);
  padding: 56px 0 52px;
  overflow: hidden;
  isolation: isolate;
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(100deg, rgba(9, 40, 71, .92) 15%, rgba(9, 40, 71, .75) 65%, rgba(13, 94, 166, .55));
}

.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("../images/hero-masjid.jpg");
  background-size: cover;
  background-position: center;
}

.page-head.pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1.200'%3E%3Crect x='14' y='14' width='36' height='36'/%3E%3Crect x='14' y='14' width='36' height='36' transform='rotate(45 32 32)'/%3E%3C/g%3E%3C/svg%3E");
}

.page-head h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.5vw + .5rem, 2.8rem);
  margin-bottom: .3em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.page-head p {
  color: #d3e4de;
  max-width: 60ch;
  margin: 0;
  font-size: 1.08rem;
}

/* ---------- 7. JADWAL SALAT & COUNTDOWN ---------- */
.next-card {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 18px;
  padding: 28px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.next-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.clock {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.next-date {
  font-size: .9rem;
  color: #dbe8e3;
  text-align: right;
  line-height: 1.4;
}

.next-label {
  margin: 0;
  font-size: .95rem;
  color: #dbe8e3;
}

.next-name {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--brass-bright);
}

.countdown {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

.next-time {
  margin: 8px 0 0;
  color: #dbe8e3;
  font-size: .95rem;
}

.prayer-list {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.prayer-item {
  padding: 20px 10px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-top: 4px solid transparent;
}

.prayer-item:last-child {
  border-right: 0;
}

.prayer-name {
  display: block;
  font-size: .95rem;
  color: var(--muted);
  font-weight: 600;
}

.prayer-time {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--pine-deep);
  font-variant-numeric: tabular-nums;
}

.prayer-item.is-next {
  background: var(--mint);
  border-top-color: var(--brass);
}

.prayer-item.is-next .prayer-name {
  color: var(--pine);
}

.prayer-item.is-minor .prayer-time {
  font-weight: 500;
  color: var(--muted);
}

.date-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.date-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.date-box span {
  display: block;
  font-size: .9rem;
  color: var(--muted);
}

.date-box strong {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--pine-deep);
}

.big-clock {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  font-weight: 700;
  color: var(--pine-deep);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.jadwal-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
  align-items: stretch;
}

.next-panel {
  background: var(--pine);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.next-panel .next-name {
  font-size: 1.7rem;
}

.next-panel .countdown {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
}

.clock-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.clock-panel p {
  margin: 0;
  color: var(--muted);
}

/* ---------- 8. KOMPONEN ---------- */
/* Pengumuman */
.announce-list {
  display: grid;
  gap: 16px;
}

.announce {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.announce-date {
  background: var(--pine);
  color: var(--white);
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 10px 6px;
  align-self: start;
  line-height: 1.1;
}

.announce-date strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
}

.announce-date span {
  font-size: .85rem;
  color: var(--brass-soft);
}

.announce h3 {
  margin-bottom: .25em;
}

.announce p {
  margin: 0 0 .6em;
  color: var(--muted);
}

.announce p:last-child {
  margin-bottom: 0;
}

.announce-body {
  display: grid;
  gap: 16px;
}

.announce-body.has-image {
  grid-template-columns: 1fr 220px;
  align-items: start;
}

.announce-body img {
  border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.tag {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--pine);
  background: var(--mint);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.tag--urgent {
  background: var(--brass-soft);
  color: #6d4f0d;
}

/* Kegiatan */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  margin-bottom: .4em;
}

.card-body>p {
  color: var(--muted);
  margin: 0;
}

.meta {
  display: grid;
  gap: 4px;
  margin: 0 0 12px;
  font-size: .93rem;
  color: var(--muted);
}

.meta li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.meta .ic {
  margin-top: .28em;
  color: var(--pine-mid);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  transition: background-color .2s, color .2s;
}

.filter-btn:hover {
  background: var(--mint);
}

.filter-btn[aria-pressed="true"] {
  background: var(--pine);
  color: var(--white);
  border-color: var(--pine);
}

.empty-state {
  display: none;
  padding: 32px;
  text-align: center;
  color: var(--muted);
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.empty-state.is-visible {
  display: block;
}

[hidden] {
  display: none !important;
}

/* Galeri */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mint);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: attr(data-caption);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 12px;
  text-align: left;
  color: var(--white);
  font-size: .92rem;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(9, 40, 71, .88));
  opacity: 0;
  transition: opacity .25s;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

/* Card Galeri Dokumentasi Kaya Visual (Fokus Gambar & Judul) */
.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--pine-deep);
  aspect-ratio: 4 / 3;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(9, 40, 71, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.gallery-card.gallery-item::after {
  display: none !important;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(9, 40, 71, 0.22);
  outline: none;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.06);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 16px 14px;
  background: linear-gradient(to bottom,
      rgba(9, 40, 71, 0) 45%,
      rgba(9, 40, 71, 0.35) 68%,
      rgba(9, 40, 71, 0.88) 100%);
  pointer-events: none;
  transition: background 0.3s ease;
}

.gallery-card:hover .gallery-card-overlay {
  background: linear-gradient(to bottom,
      rgba(9, 40, 71, 0.05) 30%,
      rgba(9, 40, 71, 0.45) 60%,
      rgba(9, 40, 71, 0.95) 100%);
}

.gallery-card-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  font-family: var(--font-body, "Plus Jakarta Sans", sans-serif);
  letter-spacing: -0.01em;
}

/* Grid Galeri di Beranda */
.gallery-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .gallery-home-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-card {
    aspect-ratio: 16 / 10;
  }

  .gallery-card-overlay {
    padding: 14px 12px 10px;
  }

  .gallery-card-title {
    font-size: 0.86rem;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .gallery-card-title {
    font-size: 0.82rem;
  }

  .gallery-card-overlay {
    padding: 12px 10px 8px;
  }
}


/* Artikel & Pusat Dakwah */
.article {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.article:hover {
  box-shadow: 0 8px 24px rgba(9, 40, 71, .06);
}

.article+.article {
  margin-top: 24px;
}

.article-thumb-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  overflow: hidden;
  background: var(--mint);
}

.article-thumb-wrap img,
.article>img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.article-thumb-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(9, 40, 71, .85);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.article-body {
  padding: 24px 28px 24px 0;
  display: flex;
  flex-direction: column;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 8px;
  font-size: .88rem;
  color: var(--muted);
}

.article-meta-row time {
  font-size: inherit;
  color: inherit;
}

.article-author-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--pine-deep);
}

.article-full {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.article-full p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

/* Komponen Khusus Dakwah: Video, Download, Quote Dalil */
.article-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 16px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}

.article-video-wrap iframe,
.article-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.article-download-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  margin: 14px 0;
  background: var(--mint);
  border: 1.5px dashed var(--pine-mid);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}

.article-download-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-download-info .dl-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.article-download-info strong {
  display: block;
  font-size: .95rem;
  color: var(--pine-deep);
}

.article-download-info span {
  font-size: .82rem;
  color: var(--muted);
}

.article-quote-box {
  margin: 14px 0;
  padding: 14px 18px;
  background: rgba(232, 183, 93, .12);
  border-left: 4px solid var(--brass);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-quote-box p {
  font-style: italic;
  color: #5c430e;
  margin: 0;
  font-size: .95rem;
  line-height: 1.6;
}

.article-quote-box small {
  display: block;
  margin-top: 6px;
  font-weight: 700;
  color: #855f14;
  font-style: normal;
  font-size: .82rem;
}

/* Profil */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.signature {
  margin-top: 20px;
  border-left: 4px solid var(--brass);
  padding-left: 14px;
  font-size: .95rem;
  color: var(--muted);
}

.signature strong {
  display: block;
  color: var(--pine-deep);
  font-family: var(--font-head);
  font-size: 1.05rem;
}

.fact-list {
  border-top: 1px solid var(--line);
}

.fact-list li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list span {
  color: var(--muted);
}

.fact-list strong {
  font-weight: 600;
}

.principles {
  list-style: disc;
  padding-left: 1.3em;
  display: grid;
  gap: 8px;
}

.principles li::marker {
  color: var(--brass);
}

.org-group {
  margin-bottom: 32px;
}

.org-group h3 {
  margin-bottom: 14px;
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.person {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}

.person:hover {
  transform: translateY(-3px);
  border-color: var(--pine);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.person-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--pine);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 12px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(14, 74, 63, 0.1);
}

.person-avatar img,
.person-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
  border: 2px solid var(--mint);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.person strong {
  display: block;
  color: var(--pine-deep);
  font-size: 1.02rem;
  line-height: 1.35;
  margin-bottom: 4px;
}

.person span {
  font-size: .9rem;
  color: var(--muted);
  margin-top: auto;
}

/* Tautan cepat (beranda) */
.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quick-link {
  display: block;
  text-decoration: none;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color .2s, background-color .2s;
}

.quick-link:hover {
  border-color: var(--pine);
  background: var(--mint);
  color: var(--ink);
}

.quick-link strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--pine-deep);
  margin-bottom: 4px;
}

.quick-link span {
  color: var(--muted);
  font-size: .95rem;
}

/* ---------- 9. DONASI, KEUANGAN, KONTAK ---------- */
.bank {
  padding: 22px;
}

.bank-name {
  font-weight: 700;
  color: var(--pine-deep);
  margin: 0 0 2px;
}

.bank-number {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 4px 0;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}

.bank-owner {
  color: var(--muted);
  margin: 0 0 16px;
  font-size: .95rem;
}

.qris-box {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.qris-box img {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  width: 100%;
}

.usage {
  display: grid;
  gap: 18px;
  max-width: 640px;
}

.usage-row-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.usage-bar {
  height: 12px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.usage-bar span {
  display: block;
  height: 100%;
  background: var(--pine);
  border-radius: 999px;
}

.usage p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .93rem;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.controls label {
  font-weight: 600;
}

select {
  min-height: 48px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  font: inherit;
  color: var(--ink);
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.summary-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  border-left: 5px solid var(--pine);
}

.summary-item--out {
  border-left-color: var(--brass);
}

.summary-item--saldo {
  background: var(--pine);
  border-color: var(--pine);
  border-left-color: var(--brass-bright);
  color: var(--white);
}

.summary-item span {
  display: block;
  font-size: .92rem;
  color: var(--muted);
}

.summary-item--saldo span {
  color: #d3e4de;
}

.summary-item strong {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
}

.table-block {
  margin-bottom: 36px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

caption {
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  padding-bottom: 12px;
  color: var(--pine-deep);
}

th,
td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

thead th {
  background: var(--mint);
  color: var(--pine-deep);
  font-size: .93rem;
}

td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

tfoot td {
  font-weight: 700;
  background: var(--paper);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
}

.contact-list .ic {
  width: 22px;
  height: 22px;
  color: var(--pine-mid);
  margin-top: 3px;
}

.contact-list strong {
  display: block;
  color: var(--pine-deep);
}

.contact-list span,
.contact-list a {
  color: var(--ink);
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mint);
  aspect-ratio: 4 / 3;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- 10. FOOTER ---------- */
.site-footer {
  background-color: var(--pine-deep);
  color: #cfe0da;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}

.site-footer h2 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: .8em;
}

.site-footer p {
  margin: 0 0 .5em;
  font-size: .95rem;
}

.site-footer a {
  color: #cfe0da;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brass-bright);
  text-decoration: underline;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px;
}

.footer-brand strong {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 8px;
  font-size: .95rem;
}

.footer-links a {
  display: inline-block;
  padding: 3px 0;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0;
  font-size: .88rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.copyright-text {
  margin: 0;
  color: #a9beba;
}

.admin-lock-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(207, 224, 218, 0.42);
  font-size: 0.82rem;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.admin-lock-link:hover {
  color: var(--brass-bright);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.25);
  text-decoration: none;
}

.admin-lock-link svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.admin-lock-link:hover svg {
  opacity: 1;
  transform: scale(1.1);
}

/* ---------- 11. LIGHTBOX, TOAST, ANIMASI ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: 60px 64px 40px;
  background: rgba(5, 20, 38, .94);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  width: auto;
  border-radius: var(--radius-sm);
  background: var(--mint);
}

.lightbox-caption {
  color: var(--white);
  text-align: center;
  margin: 0;
  font-size: .98rem;
}

.lightbox-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, .25);
}

.lightbox-close {
  top: 12px;
  right: 12px;
}

.lightbox-prev {
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  z-index: 400;
  background: var(--pine-deep);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  max-width: calc(100vw - 32px);
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Animasi muncul saat di-scroll: hanya aktif jika JavaScript berjalan */
.js .reveal {
  opacity: 0;
  transition: opacity .6s ease;
}

.js .reveal.in-view {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

  .js .reveal {
    opacity: 1;
  }
}

/* ---------- 12. MEDIA QUERY ---------- */
/* Laptop kecil / tablet landscape: navigasi menjadi hamburger */
@media (max-width: 1139px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    padding: 14px 8px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .site-nav li:last-child a {
    border-bottom: 0;
  }

  .site-nav a[aria-current="page"]::after {
    left: 8px;
    right: auto;
    width: 32px;
    bottom: 8px;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .section {
    padding: 56px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .hero h1 {
    max-width: 18ch;
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .prayer-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .prayer-item {
    border-bottom: 1px solid var(--line);
  }

  .prayer-item:nth-child(4) {
    border-right: 0;
  }

  .prayer-item:nth-child(n+5) {
    border-bottom: 0;
  }

  .jadwal-top,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .quick-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .article {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .article>img {
    min-height: 0;
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .article-body {
    padding: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .summary {
    grid-template-columns: 1fr;
  }
}

/* Smartphone */
@media (max-width: 640px) {
  body {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding: 36px 0;
  }

  .section-head {
    margin-bottom: 22px;
  }

  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 1.02rem;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  /* Kepala Halaman Dalam (Subpage header): lebih ringkas dan proporsional */
  .page-head {
    padding: 34px 0 30px;
  }

  .page-head h1 {
    font-size: 1.55rem;
    margin-bottom: 6px;
  }

  .page-head p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  /* Grid & Konten */
  .grid--3,
  .grid--2,
  .quick-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Tombol: tombol utama full width, tapi tombol kecil & tombol dalam card tetap proporsional */
  .btn-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn-row>.btn {
    width: 100%;
  }

  .btn {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 0.94rem;
  }

  .btn--small {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 0.88rem;
    width: auto;
    align-self: flex-start;
  }

  .btn--inline {
    width: auto;
  }

  /* Kartu Rekening Bank: rapi dan tidak terlalu makan tempat */
  .bank {
    padding: 16px 18px;
    border-radius: var(--radius-sm);
  }

  .bank-name {
    font-size: 0.92rem;
  }

  .bank-number {
    font-size: 1.35rem;
    margin: 4px 0 6px;
  }

  .bank-owner {
    font-size: 0.88rem;
    margin: 0 0 12px;
  }

  .bank .btn {
    width: 100%;
    justify-content: center;
  }

  /* Hero & Countdown Waktu Salat */
  .hero-inner {
    padding-top: 36px;
    padding-bottom: 42px;
    gap: 24px;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-lead {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .next-card {
    padding: 18px 16px;
    border-radius: 14px;
  }

  .clock {
    font-size: 1.45rem;
  }

  .next-date {
    text-align: left;
    font-size: 0.82rem;
  }

  .next-name {
    font-size: 1.45rem;
  }

  .countdown {
    font-size: 2.2rem;
  }

  .big-clock {
    font-size: 2.4rem;
  }

  /* Daftar Waktu Salat */
  .prayer-list {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 10px;
  }

  .prayer-item {
    padding: 14px 8px;
  }

  .prayer-name {
    font-size: 0.86rem;
  }

  .prayer-time {
    font-size: 1.35rem;
  }

  .prayer-item,
  .prayer-item:nth-child(4) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .prayer-item:nth-child(2n) {
    border-right: 0;
  }

  .prayer-item:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }

  .prayer-item:nth-child(n+5):not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .date-pair {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }

  .date-box {
    padding: 12px 14px;
  }

  /* Kartu Pengumuman & Kegiatan */
  .card-body {
    padding: 16px;
  }

  .card-body h3 {
    font-size: 1.1rem;
  }

  .announce {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 16px;
  }

  .announce-date {
    display: flex;
    align-items: baseline;
    gap: 8px;
    justify-content: center;
    padding: 6px 12px;
    justify-self: start;
  }

  .announce-date strong {
    font-size: 1.25rem;
  }

  .announce-body.has-image {
    grid-template-columns: 1fr;
  }

  /* Organisasi & Profil */
  .fact-list li {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 10px 0;
    font-size: 0.92rem;
  }

  .signature {
    margin-top: 14px;
    padding-left: 12px;
    font-size: 0.9rem;
  }

  /* Form, Input & Select: Mencegah zoom otomatis di iPhone (font minimal 16px) */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  #form-kirim-pesan {
    padding: 18px 16px !important;
  }

  #form-kirim-pesan>div:first-child {
    grid-template-columns: 1fr !important;
  }

  /* QRIS Box */
  .qris-box {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }

  .qris-box img {
    max-width: 220px;
    margin: 0 auto;
  }

  /* Footer Mobile: padat dan rapi tanpa deretan tautan Halaman yang panjang */
  .site-footer {
    padding: 30px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 24px;
  }

  .footer-brand strong {
    font-size: 1.05rem;
  }

  .footer-links {
    gap: 8px;
  }

  .copyright {
    padding: 14px 0;
    font-size: 0.82rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .admin-lock-link {
    padding: 2px 4px;
    font-size: 0.78rem;
  }

  /* Galeri & Lightbox */
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-item::after {
    display: none;
  }

  .lightbox {
    padding: 60px 12px 20px;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 12px;
    transform: none;
    width: 42px;
    height: 42px;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }

  /* Tabel keuangan publik berubah menjadi daftar bertumpuk di HP */
  .table-block table,
  .table-block tbody,
  .table-block tfoot,
  .table-block tr,
  .table-block td {
    display: block;
    width: 100%;
  }

  .table-block thead {
    position: absolute;
    left: -9999px;
  }

  .table-block tbody tr {
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
  }

  .table-block tbody tr:last-child {
    border-bottom: 0;
  }

  .table-block td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 0;
    border: 0;
    text-align: right;
  }

  .table-block td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--muted);
    text-align: left;
  }

  .table-block tfoot tr {
    padding: 12px 14px;
    background: var(--paper);
  }

  .table-block tfoot td {
    background: transparent;
  }

  .table-block tfoot td[colspan] {
    justify-content: flex-start;
  }

  .table-block tfoot td[colspan]::before {
    content: none;
  }
}

/* ---------- 13. FITUR KHUSUS MASJID SYUKUR (RAMAH MUSAFIR 24 JAM) ---------- */
.badge-musafir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 183, 89, 0.2);
  border: 1px solid var(--brass-bright);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}

.badge-musafir .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass-bright);
  box-shadow: 0 0 0 0 rgba(232, 183, 89, 0.7);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(232, 183, 89, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(232, 183, 89, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(232, 183, 89, 0);
  }
}

.musafir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.musafir-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}

.musafir-card:hover {
  transform: translateY(-4px);
  border-color: var(--pine);
  box-shadow: 0 12px 28px -10px rgba(13, 94, 166, 0.18);
}

.musafir-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--mint);
  color: var(--pine);
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.musafir-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--mint), #d7e9fa);
  color: var(--pine);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.musafir-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--pine-deep);
}

.musafir-card p {
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.55;
  margin: 0;
}

.route-banner {
  background: linear-gradient(135deg, var(--pine-deep), #0d4e8c);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.route-banner h3 {
  color: var(--white);
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.route-banner p {
  color: #d8e8f8;
  margin: 0;
  font-size: .96rem;
}

@media (max-width: 768px) {
  .route-banner {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 22px;
  }
}

/* ==========================================================
   13. FLOATING ACTION BAR KHUSUS MUSAFIR DI LAYAR HP
   ========================================================== */
.mobile-musafir-bar,
.musafir-modal-backdrop {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 76px;
    /* Kompensasi agar isi halaman & footer tidak tertutup floating bar */
  }

  body.sheet-open {
    overflow: hidden;
    /* Kunci scroll latar belakang saat modal sheet terbuka */
  }

  .mobile-musafir-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
    background: rgba(9, 40, 71, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(198, 145, 52, 0.35);
    box-shadow: 0 -8px 24px rgba(9, 40, 71, 0.3);
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
    animation: slideUpBar 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes slideUpBar {
    from {
      transform: translateY(100%);
      opacity: 0;
    }

    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .musafir-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 4px;
    max-width: 480px;
    margin: 0 auto;
  }

  .musafir-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #c5d9ec;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 6px 4px;
    border-radius: 10px;
    background: none;
    border: none;
    cursor: pointer;
    flex: 1;
    min-width: 0;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .musafir-bar-item:hover,
  .musafir-bar-item:active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
  }

  .musafir-bar-icon-wrap {
    position: relative;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
    color: #e2effa;
  }

  .musafir-bar-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.15;
  }

  /* Item highlight tombol 24 Jam */
  .musafir-bar-item.is-highlight {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(13, 94, 166, 0.5), rgba(198, 145, 52, 0.35));
    border: 1px solid rgba(198, 145, 52, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .musafir-bar-item.is-highlight .musafir-bar-icon-wrap {
    color: var(--brass-bright);
  }

  /* Dot denyut hijau aktif 24 jam */
  .musafir-badge-dot {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(9, 40, 71, 0.95);
    animation: pulseDot 2s infinite;
  }

  @keyframes pulseDot {
    0% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
      transform: scale(1.15);
      box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
  }

  /* ==========================================================
     BOTTOM SHEET MODAL KHUSUS MUSAFIR
     ========================================================== */
  .musafir-modal-backdrop {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(9, 40, 71, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .musafir-modal-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .musafir-sheet-card {
    width: 100%;
    max-width: 520px;
    max-height: 86vh;
    background: var(--white);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .musafir-modal-backdrop.is-open .musafir-sheet-card {
    transform: translateY(0);
  }

  .musafir-sheet-handle-bar {
    display: flex;
    justify-content: center;
    padding-top: 10px;
  }

  .sheet-pill {
    width: 40px;
    height: 4px;
    border-radius: 99px;
    background: #cbd5e1;
  }

  .musafir-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 20px 14px;
    border-bottom: 1px solid var(--line);
  }

  .sheet-title-group h3 {
    margin: 6px 0 2px;
    font-size: 1.25rem;
    color: var(--pine-deep);
  }

  .sheet-title-group p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.4;
  }

  .sheet-status-pill {
    display: inline-block;
    padding: 3px 10px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
  }

  .musafir-sheet-close {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    transition: background 0.15s;
  }

  .musafir-sheet-close:hover {
    background: #e2e8f0;
    color: var(--pine-deep);
  }

  .musafir-sheet-body {
    padding: 16px 20px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .musafir-feature-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }

  .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--paper);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
  }

  .feature-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--mint);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .feature-item strong {
    display: block;
    color: var(--pine-deep);
    font-size: 0.94rem;
    margin-bottom: 2px;
  }

  .feature-item span {
    font-size: 0.83rem;
    color: var(--muted);
    line-height: 1.4;
    display: block;
  }

  .musafir-sheet-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .sheet-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
  }
}

/* ---------- 10. CALLOUT KALKULATOR ZAKAT (DONASI) ---------- */
.zakat-callout {
  position: relative;
  background: linear-gradient(135deg, var(--pine-deep) 0%, var(--pine) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin-bottom: 44px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(9, 40, 71, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.zakat-callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1.200'%3E%3Crect x='14' y='14' width='36' height='36'/%3E%3Crect x='14' y='14' width='36' height='36' transform='rotate(45 32 32)'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.zakat-callout-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.zakat-callout-content {
  flex: 1 1 480px;
}

.zakat-callout-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(235, 187, 85, 0.2);
  color: var(--brass-bright);
  border: 1px solid rgba(235, 187, 85, 0.4);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: .02em;
}

.zakat-callout h3 {
  color: var(--white);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin-bottom: 8px;
  line-height: 1.25;
}

.zakat-callout p {
  color: #dbe7f2;
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
  max-width: 62ch;
}

.zakat-callout p strong {
  color: var(--brass-bright);
  font-weight: 600;
}

.zakat-callout-action {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.zakat-callout-action .btn--gold {
  box-shadow: 0 4px 14px rgba(235, 187, 85, 0.3);
}

@media (max-width: 768px) {
  .zakat-callout {
    padding: 24px 20px;
    margin-bottom: 32px;
  }

  .zakat-callout-action {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .zakat-callout-action .btn {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .zakat-callout-action {
    flex-direction: column;
  }

  .zakat-callout-action .btn {
    width: 100%;
  }
}

/* ========================================================
   TAB SWITCHER & BERITA MUHAMMADIYAH / NASIONAL
   ======================================================== */
.main-tab-nav {
  display: flex;
  gap: 12px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.tab-nav-btn {
  background: none;
  border: none;
  padding: 12px 20px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s ease;
  white-space: nowrap;
}

.tab-nav-btn:hover {
  color: var(--pine-deep);
}

.tab-nav-btn[aria-selected="true"] {
  color: var(--pine-deep);
  border-bottom-color: var(--pine-deep);
}

.tab-nav-btn .tab-count-badge {
  background: var(--mint);
  color: var(--pine-deep);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.tab-nav-btn[aria-selected="true"] .tab-count-badge {
  background: var(--pine-deep);
  color: #fff;
}

/* Feed Grid */
.national-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.feed-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.feed-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(9, 40, 71, .08);
}

.feed-card-thumb {
  position: relative;
  width: 100%;
  height: 200px;
  background: var(--mint);
  overflow: hidden;
}

.feed-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.feed-card:hover .feed-card-thumb img {
  transform: scale(1.05);
}

.feed-source-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(9, 40, 71, 0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.feed-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.feed-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.feed-card-title {
  font-size: 1.15rem;
  line-height: 1.4;
  margin: 0 0 10px;
  color: var(--pine-deep);
}

.feed-card-title a {
  color: inherit;
  text-decoration: none;
}

.feed-card-title a:hover {
  color: var(--brass-bright);
}

.feed-card-excerpt {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.feed-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: auto;
}

.feed-read-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pine-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s ease;
}

.feed-read-link:hover {
  gap: 10px;
  color: var(--brass);
}

.feed-source-info-bar {
  background: #f0f7ff;
  border: 1px solid #c7e0f9;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #1e4976;

  /* ========================================================
   MODAL & TOMBOL MATERI KAJIAN DI KEGIATAN.HTML
   ======================================================== */
  .card-action-bar {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .btn-material {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: var(--pine-deep);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background-color .2s, transform .15s;
  }

  .btn-material:hover {
    background: var(--pine);
    transform: translateY(-1px);
  }

  .modal-materials-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(9, 40, 71, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .modal-materials {
    background: #fff;
    border-radius: var(--radius);
    width: 100%;
    max-width: 640px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: modalPop .25s ease-out;
  }

  @keyframes modalPop {
    from {
      opacity: 0;
      transform: scale(0.95);
    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .modal-materials-header {
    padding: 18px 24px;
    background: var(--pine-deep);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .modal-materials-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.25rem;
  }

  .modal-materials-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.7rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity .15s;
  }

  .modal-materials-close:hover {
    opacity: 1;
  }

  .modal-materials-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
  }

  .material-card-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 14px;
    transition: border-color .2s, box-shadow .2s;
  }

  .material-card-item:hover {
    border-color: var(--pine-mid);
    box-shadow: 0 4px 12px rgba(9, 40, 71, 0.05);
  }

  .material-card-info h4 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    color: var(--pine-deep);
  }

  .material-card-meta {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .material-card-summary {
    font-size: 0.88rem;
    color: var(--ink);
    margin: 0;
    line-height: 1.5;
  }

  .btn-dl-pdf {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #dc2626;
    color: #fff;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s;
  }

  .btn-dl-pdf:hover {
    background: #b91c1c;
    color: #fff;
  }

  /* Note Kecil Ringkas di Sela-Sela Filter & Kartu Kegiatan */
  .kegiatan-note-kecil {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 3px solid #16a34a;
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    margin: 14px 0 20px;
    font-size: 0.88rem;
    color: #1f2937;
  }

  .kegiatan-note-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .kegiatan-note-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #166534;
    font-weight: 700;
    font-size: 0.84rem;
    text-decoration: underline;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(22, 101, 52, 0.08);
    transition: background-color .15s, color .15s;
    white-space: nowrap;
  }

  .kegiatan-note-link:hover {
    background: #166534;
    color: #fff !important;
    text-decoration: none;
  }
}