/* ==========================================================================
   GBI Family Blessing Yogyakarta — site.css
   Sistem desain publik + dasar bersama (admin.css memperluas file ini).
   Mobile-first. Breakpoint: 640px (sm), 768px (md), 1024px (lg), 1280px (xl).
   ========================================================================== */

/* 0. Font ----------------------------------------------------------------- */
/* Di-host sendiri dari Google Fonts (lisensi OFL: public/fonts/OFL-*.txt), variable font.
   Subset latin di-preload di Document.tsx. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Font cadangan berukuran setara (size-adjust dihitung dari lebar rata-rata glyph teks situs):
   bila font asli belum siap, teks tidak tampak "membesar" lalu mengecil saat font asli masuk.
   Georgia/Arial tersedia di Windows, macOS & iOS; di perangkat lain tumpukan berlanjut ke font sistem. */
@font-face {
  font-family: 'Cormorant Fallback';
  font-weight: 300 600;
  src: local('Georgia');
  size-adjust: 88.74%;
  ascent-override: 104.12%;
  descent-override: 32.34%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Cormorant Fallback';
  font-weight: 700 900;
  src: local('Georgia Bold'), local('Georgia-Bold');
  size-adjust: 76.67%;
  ascent-override: 120.51%;
  descent-override: 37.43%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Jakarta Fallback';
  font-weight: 200 500;
  src: local('Arial'), local('ArialMT');
  size-adjust: 103.28%;
  ascent-override: 100.5%;
  descent-override: 21.49%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Jakarta Fallback';
  font-weight: 600 900;
  src: local('Arial Bold'), local('Arial-BoldMT');
  size-adjust: 99.02%;
  ascent-override: 104.83%;
  descent-override: 22.42%;
  line-gap-override: 0%;
}

/* 1. Token ---------------------------------------------------------------- */
:root {
  --navy-950: #081226;
  --navy-900: #0b1730;
  --navy-800: #0f1f3d;
  --navy-700: #162a50;
  --navy-600: #1f3a6b;
  --navy-500: #34508a;
  --navy-200: #c9d2e3;
  --navy-100: #e5e9f2;
  --navy-50: #f1f4f9;

  --gold-800: #6e5118;
  --gold-700: #8a6620;
  --gold-600: #a9802f;
  --gold-500: #c79a3e;
  --gold-400: #d7b041;
  --gold-300: #e6cd85;
  --gold-200: #efdfb0;
  --gold-100: #f6ecd4;
  --gold-50: #fbf6ea;

  --red-700: #8f1d17;
  --red-600: #b3261e;
  --red-100: #fbe9e7;

  --cream: #faf7f1;
  --ivory: #fffdf9;
  --sand: #f3ede2;
  --paper: #ffffff;

  --ink: #1d2433;
  --ink-soft: #384154;
  --muted: #5d6676;
  --subtle: #646c7c; /* ≥4.5:1 di cream/ivory/putih — dipakai untuk teks informatif kecil */
  --line: #e8e1d3;
  --line-strong: #d7ccb6; /* garis dekoratif; batas kontrol form memakai --control-line */
  --control-line: #9a8e75; /* ≥3:1 di putih/cream (WCAG 1.4.11) */
  --control-line-hover: #85795f;
  --line-cool: #e3e7ef;

  --success: #1d6f46;
  --success-bg: #e6f4ec;
  --success-line: #b9dfc9;
  --warning: #8a5a00;
  --warning-bg: #fdf3dc;
  --warning-line: #f0d999;
  --danger: #b3261e;
  --danger-bg: #fbeaea;
  --danger-line: #f1c2bf;
  --info: #1f5a9e;
  --info-bg: #e8f0fa;
  --info-line: #bcd2ee;

  --font-display: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', 'Jakarta Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --fs-2xl: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem);
  --fs-3xl: clamp(2.25rem, 1.6rem + 2.8vw, 3.5rem);
  --fs-4xl: clamp(2.6rem, 1.7rem + 4.2vw, 4.75rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(15, 31, 61, 0.06);
  --shadow-sm: 0 1px 3px rgba(15, 31, 61, 0.08), 0 1px 2px rgba(15, 31, 61, 0.04);
  --shadow-md: 0 6px 18px -6px rgba(15, 31, 61, 0.14), 0 2px 6px rgba(15, 31, 61, 0.05);
  --shadow-lg: 0 20px 40px -16px rgba(15, 31, 61, 0.25), 0 6px 14px rgba(15, 31, 61, 0.06);
  --shadow-gold: 0 8px 22px -8px rgba(199, 154, 62, 0.55);

  --container: 1200px;
  --container-wide: 1360px;
  --container-narrow: 780px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.2s;
  /* Indikator fokus: gelap di permukaan terang, emas di permukaan navy (lihat blok 'Fokus di permukaan gelap'). */
  --focus-color: var(--navy-700);
  --focus: 0 0 0 2px var(--paper), 0 0 0 4px var(--navy-700);

  --gradient-navy: radial-gradient(1100px 520px at 85% -10%, rgba(199, 154, 62, 0.2), transparent 60%),
    radial-gradient(800px 480px at -10% 110%, rgba(52, 80, 138, 0.45), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  --pattern-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 21v14M21 28h14' stroke='%23d7b041' stroke-opacity='.13' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --pattern-cross-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 21v14M21 28h14' stroke='%23a9802f' stroke-opacity='.12' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --rays: repeating-conic-gradient(from 180deg at 50% -20%, rgba(230, 205, 133, 0.07) 0deg 3deg, transparent 3deg 11deg);
}
@media (min-width: 1024px) {
  :root {
    --header-h: 80px;
  }
}

/* 2. Reset & dasar -------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg,
video,
canvas,
iframe {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
svg.icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
p,
h1,
h2,
h3,
h4,
h5,
h6,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
ul[class],
ol[class] {
  list-style: none;
}
a {
  color: var(--navy-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--dur) var(--ease);
}
a:hover {
  color: var(--gold-700);
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--space-6) 0;
}
table {
  border-collapse: collapse;
}
address {
  font-style: normal;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--gold-200);
  color: var(--navy-900);
}
:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Fokus di permukaan gelap: emas muda (≥7:1 di navy). Diwarisi lewat custom property. */
.section--navy,
.hero,
.page-header,
.site-footer,
.site-header--transparent,
.devotional-feature,
.panel--navy,
.cta-band,
.member-hero,
.bank-card {
  --focus-color: var(--gold-300);
  --focus: 0 0 0 2px var(--navy-900), 0 0 0 4px var(--gold-300);
}
/* Permukaan terang di dalam header transparan (drawer ponsel & dropdown) kembali gelap. */
.site-header--transparent .main-nav__sub {
  --focus-color: var(--navy-700);
  --focus: 0 0 0 2px var(--paper), 0 0 0 4px var(--navy-700);
}
@media (max-width: 1199.98px) {
  .site-header--transparent .nav-panel {
    --focus-color: var(--navy-700);
    --focus: 0 0 0 2px var(--paper), 0 0 0 4px var(--navy-700);
  }
}
main:focus {
  outline: none;
}

/* 3. Tipografi ------------------------------------------------------------ */
h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--navy-900);
}
h1 {
  font-size: var(--fs-3xl);
}
h2 {
  font-size: var(--fs-2xl);
}
h3 {
  font-size: var(--fs-xl);
}
h4,
h5,
h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-900);
}
h4 {
  font-size: var(--fs-lg);
}
h5 {
  font-size: var(--fs-md);
}
h6 {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.h1 {
  font-size: var(--fs-3xl);
}
.h2 {
  font-size: var(--fs-2xl);
}
.h3 {
  font-size: var(--fs-xl);
}
.h4 {
  font-family: var(--font-sans);
  font-size: var(--fs-lg);
  font-weight: 700;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}
.eyebrow--light {
  color: var(--gold-300);
}
.section-heading--center .eyebrow::after,
.text-center .eyebrow::after,
.eyebrow--center::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}
.lead {
  font-size: var(--fs-md);
  line-height: 1.75;
  color: var(--ink-soft);
}
@media (min-width: 768px) {
  .lead {
    font-size: 1.1875rem;
  }
}
.text-muted {
  color: var(--muted);
}
.text-subtle {
  color: var(--subtle);
}
.text-gold {
  color: var(--gold-700);
}
.text-navy {
  color: var(--navy-800);
}
.text-danger {
  color: var(--danger);
}
.text-success {
  color: var(--success);
}
.text-sm {
  font-size: var(--fs-sm);
}
.text-xs {
  font-size: var(--fs-xs);
}
.text-lg {
  font-size: var(--fs-lg);
}
.font-display {
  font-family: var(--font-display);
}
.fw-600 {
  font-weight: 600;
}
.fw-700 {
  font-weight: 700;
}
.italic {
  font-style: italic;
}
.nowrap {
  white-space: nowrap;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rule-gold {
  display: block;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: 2px;
  margin: var(--space-4) 0;
}
.rule-gold--center {
  margin-inline: auto;
}
.verse {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-lg);
  color: var(--navy-700);
}

/* 4. Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide {
  max-width: calc(var(--container-wide) + var(--gutter) * 2);
}
.container--narrow {
  max-width: calc(var(--container-narrow) + var(--gutter) * 2);
}
.site-main {
  display: block;
  min-height: 50vh;
}
.section {
  position: relative;
  padding-block: clamp(3rem, 2rem + 4vw, 6rem);
}
.section--tight {
  padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.section--light {
  background: var(--ivory);
}
.section--cream {
  background: var(--cream);
}
.section--sand {
  background: var(--sand);
}
.section--navy {
  background: var(--gradient-navy);
  color: #e9ecf3;
  isolation: isolate;
}
.section--navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--pattern-cross);
  opacity: 0.8;
  z-index: -1;
  pointer-events: none;
}
.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: #fff;
}
.section--navy .text-muted,
.section--navy .section-heading__subtitle {
  color: #b9c3d6;
}
.section--navy a:not(.btn) {
  color: var(--gold-300);
}
.section + .section--light,
.section--light + .section--light {
  border-top: 1px solid var(--line);
}
.stack > * + * {
  margin-top: var(--stack, var(--space-4));
}
.stack-sm {
  --stack: var(--space-2);
}
.stack-lg {
  --stack: var(--space-6);
}
.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap, var(--space-3));
}
.cluster--between {
  justify-content: space-between;
}
.cluster--center {
  justify-content: center;
}
.grid {
  display: grid;
  gap: var(--gap, var(--space-5));
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.grid-auto {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 260px)), 1fr));
}
.grid--gap-sm {
  --gap: var(--space-3);
}
.grid--gap-lg {
  --gap: var(--space-6);
}
.split {
  display: grid;
  gap: var(--space-7);
  align-items: start;
}
@media (min-width: 1024px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-8);
  }
  .split--center {
    align-items: center;
  }
  .split--wide-left {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
  .split--wide-right {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  }
}
/* Konten detail + sidebar (artikel, acara). */
.layout-aside {
  display: grid;
  gap: var(--space-7);
}
@media (min-width: 1024px) {
  .layout-aside {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: var(--space-8);
  }
  .layout-aside__side {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    align-self: start;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  background: var(--navy-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* 5. Header & navigasi ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--navy-900);
  transition: color var(--dur) var(--ease);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 253, 249, 0.92);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  transition: opacity var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  z-index: -1;
}
.site-header.is-scrolled::before {
  box-shadow: var(--shadow-md);
}
.site-header--transparent {
  position: absolute;
  left: 0;
  right: 0;
  color: #fff;
}
.js .site-header--transparent {
  position: fixed;
}
.site-header--transparent::before {
  opacity: 0;
  background: rgba(11, 23, 48, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.site-header--transparent.is-scrolled::before {
  opacity: 1;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  margin-right: auto;
}
.brand:hover {
  color: inherit;
}
.brand__logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}
.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__city {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Baris kedua merek: di ponsel kecil & desktop sempit (menu horizontal) cukup nama kota agar tidak terpotong. */
@media (max-width: 639.98px), (min-width: 1200px) and (max-width: 1399.98px) {
  .brand__church {
    display: none;
  }
}
.site-header--transparent:not(.is-scrolled) .brand__city,
.site-header--transparent.is-scrolled .brand__city,
.brand--light .brand__city {
  color: var(--gold-300);
}
@media (min-width: 1024px) {
  .brand__logo {
    width: 48px;
    height: 48px;
  }
  .brand__name {
    font-size: 1.4rem;
  }
}
.site-header__tools {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  order: 3;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.icon-btn:hover {
  background: rgba(15, 31, 61, 0.07);
  color: inherit;
}
.site-header--transparent .icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Panel nav: drawer di ponsel/tablet */
.nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  width: min(360px, 88vw);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-4) calc(var(--space-5) + env(safe-area-inset-bottom));
  background: var(--ivory);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.nav-open .nav-panel {
  transform: none;
  visibility: visible;
  transition: transform 0.3s var(--ease), visibility 0s;
}
/* Tanpa JS (atau sebelum site.js berjalan): tautan menu membuka panel lewat #site-nav (:target),
   dan submenu langsung terbuka karena tidak ada tombol buka-tutup yang berfungsi. */
html:not(.js) .nav-panel:target {
  transform: none;
  visibility: visible;
}
html:not(.js) .main-nav__sub {
  display: grid;
  gap: 2px;
}
.nav-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}
.nav-panel__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy-900);
}
.nav-panel__foot {
  margin-top: auto;
  display: grid;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(8, 18, 38, 0.55);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.nav-open .nav-backdrop {
  opacity: 1;
}
body.nav-open {
  overflow: hidden;
}
.main-nav__list {
  display: grid;
  gap: 2px;
}
.main-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  width: 100%;
  padding: 0.8rem 0.75rem;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--navy-900);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.main-nav__link:hover {
  background: var(--gold-50);
  color: var(--navy-900);
}
.main-nav__item.is-active > .main-nav__link {
  color: var(--gold-700);
}
.main-nav__chev {
  transition: transform var(--dur) var(--ease);
}
[aria-expanded='true'] > .main-nav__chev {
  transform: rotate(180deg);
}
.main-nav__sub {
  display: none;
  padding: 0.25rem 0 0.5rem 0.5rem;
}
.has-sub.is-open > .main-nav__sub {
  display: grid;
  gap: 2px;
}
.sub-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: background var(--dur) var(--ease);
}
.sub-link:hover,
.sub-link.is-active {
  background: var(--gold-50);
  color: var(--navy-900);
}
.sub-link__icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--navy-50);
  color: var(--navy-700);
}
.sub-link:hover .sub-link__icon,
.sub-link.is-active .sub-link__icon {
  background: var(--navy-800);
  color: var(--gold-300);
}
.sub-link__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.sub-link__label {
  font-weight: 600;
}
.sub-link__desc {
  font-size: var(--fs-xs);
  color: var(--muted);
}
.sub-link .count-badge {
  margin-left: auto;
}
.nav-account {
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}
.nav-account__login {
  width: 100%;
}
.user-menu__trigger {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--navy-900);
  font-weight: 600;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.user-menu__trigger:hover {
  border-color: var(--gold-400);
}
.user-menu__name {
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-menu__trigger .main-nav__chev {
  margin-left: auto;
}
.user-menu__head {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 0.75rem 0.5rem;
  line-height: 1.3;
}
.user-menu__fullname {
  font-weight: 700;
  color: var(--navy-900);
}
.user-menu__role {
  font-size: var(--fs-xs);
  color: var(--gold-700);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.user-menu__logout {
  margin-top: 0.25rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}
.user-menu__logout form {
  margin: 0;
}
.sub-link--button {
  font: inherit;
  font-size: 0.9375rem;
}

/* Desktop: menu horizontal + dropdown */
@media (min-width: 1200px) {
  .nav-toggle,
  .nav-panel__head,
  .nav-panel__foot,
  .nav-backdrop {
    display: none !important;
  }
  /* Panel 'dibuka' (display: contents) supaya menu, ikon cari, dan akun bisa diurutkan di baris header. */
  .nav-panel {
    display: contents;
    color: inherit;
    visibility: visible;
    transition: none;
  }
  .main-nav {
    order: 1;
  }
  .site-header__tools {
    order: 2;
  }
  .nav-account {
    order: 3;
  }
  .main-nav__list {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }
  .main-nav__item {
    position: relative;
  }
  .main-nav__link {
    width: auto;
    padding: 0.55rem 0.65rem;
    font-size: 0.9375rem;
    color: inherit;
    border-radius: var(--radius-pill);
  }
  .main-nav__link:hover {
    background: rgba(15, 31, 61, 0.06);
    color: inherit;
  }
  .site-header--transparent .main-nav__link:hover {
    background: rgba(255, 255, 255, 0.12);
  }
  .main-nav__item.is-active > .main-nav__link {
    color: var(--gold-700);
  }
  .site-header--transparent .main-nav__item.is-active > .main-nav__link {
    color: var(--gold-300);
  }
  .main-nav__item > .main-nav__link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-500);
    transform: translateX(-50%) scaleX(0);
    transition: transform var(--dur) var(--ease);
  }
  .main-nav__item.is-active > .main-nav__link::after {
    transform: translateX(-50%) scaleX(1);
  }
  .main-nav__sub {
    display: grid;
    gap: 2px;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    min-width: 290px;
    padding: 0.5rem;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  }
  .main-nav__sub::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
  }
  .main-nav__sub--right {
    left: auto;
    right: 0;
    transform: translateY(6px);
  }
  .has-sub:hover > .main-nav__sub,
  .has-sub:focus-within > .main-nav__sub,
  .has-sub.is-open > .main-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s;
  }
  .has-sub:hover > .main-nav__sub--right,
  .has-sub:focus-within > .main-nav__sub--right,
  .has-sub.is-open > .main-nav__sub--right {
    transform: none;
  }
  .has-sub.is-closing > .main-nav__sub {
    opacity: 0;
    visibility: hidden;
  }
  .nav-account {
    padding: 0;
    border: 0;
  }
  .nav-account__login {
    width: auto;
  }
  .user-menu__trigger {
    width: auto;
    padding: 0.3rem 0.7rem 0.3rem 0.3rem;
    background: rgba(255, 255, 255, 0.6);
    border-color: var(--line);
  }
  .site-header--transparent:not(.is-scrolled) .user-menu__trigger {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
  }
  .site-header--transparent.is-scrolled .user-menu__trigger {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
  }
}

/* Count badge (notifikasi) */
.count-badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--red-600);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
}
.count-badge--float {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  box-shadow: 0 0 0 2px var(--paper);
}

/* 6. Hero & page header --------------------------------------------------- */
.hero,
.page-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--gradient-navy);
}
.hero::before,
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--rays), var(--pattern-cross);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero::after,
.page-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 176, 65, 0.6), transparent);
}
.hero__bg,
.page-header__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero--image::before,
.page-header--image::before {
  background: linear-gradient(180deg, rgba(8, 18, 38, 0.7) 0%, rgba(11, 23, 48, 0.62) 45%, rgba(8, 18, 38, 0.88) 100%);
  -webkit-mask-image: none;
  mask-image: none;
}
.hero {
  display: flex;
  align-items: center;
  min-height: min(92vh, 820px);
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  text-align: center;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}
.hero__title {
  max-width: 18ch;
  font-size: var(--fs-4xl);
  font-weight: 600;
  line-height: 1.04;
  color: #fff;
  text-wrap: balance;
}
.hero__subtitle {
  max-width: 44rem;
  margin-top: var(--space-5);
  font-size: var(--fs-md);
  line-height: 1.75;
  color: #d5dbe7;
  text-wrap: pretty;
}
@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 1.2rem;
  }
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.page-header {
  padding: 3.25rem 0;
}
.has-hero .page-header {
  padding-top: calc(var(--header-h) + 3rem);
}
@media (min-width: 768px) {
  .page-header {
    padding-block: 4.5rem;
  }
  .has-hero .page-header {
    padding-top: calc(var(--header-h) + 4.5rem);
  }
}
.page-header--center {
  text-align: center;
}
.page-header--center .page-header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-header--center .breadcrumbs ol {
  justify-content: center;
}
.page-header__title {
  max-width: 24ch;
  font-size: var(--fs-3xl);
  color: #fff;
  text-wrap: balance;
}
.page-header__subtitle {
  max-width: 42rem;
  margin-top: var(--space-4);
  font-size: var(--fs-md);
  color: #cdd4e2;
}
.page-header .breadcrumbs {
  margin-bottom: var(--space-5);
}
.page-header .meta-list {
  margin-top: var(--space-5);
  color: #d5dbe7;
}
.page-header .meta-list .icon {
  color: var(--gold-300);
}

/* Breadcrumbs */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.4rem;
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.breadcrumbs a {
  color: var(--navy-600);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--gold-700);
  text-decoration: underline;
}
.breadcrumbs [aria-current] {
  color: var(--ink);
  font-weight: 600;
}
.breadcrumbs__sep {
  opacity: 0.5;
}
.breadcrumbs--light ol {
  color: #b9c3d6;
}
.breadcrumbs--light a {
  color: #dfe4ee;
}
.breadcrumbs--light a:hover {
  color: var(--gold-300);
}
.breadcrumbs--light [aria-current] {
  color: var(--gold-300);
  font-weight: 500;
}

/* 7. Section heading ------------------------------------------------------ */
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: clamp(1.75rem, 1.25rem + 1.5vw, 3rem);
}
.section-heading__text {
  max-width: 46rem;
}
.section-heading__title {
  font-size: var(--fs-2xl);
  text-wrap: balance;
}
.section-heading__subtitle {
  margin-top: var(--space-3);
  font-size: var(--fs-md);
  color: var(--muted);
  line-height: 1.7;
}
.section-heading--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-heading--center .section-heading__text {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--navy-700);
  text-decoration: none;
  white-space: nowrap;
}
.link-arrow .icon {
  transition: transform var(--dur) var(--ease);
}
.link-arrow:hover {
  color: var(--gold-700);
}
.link-arrow:hover .icon {
  transform: translateX(3px);
}
.section--navy .link-arrow {
  color: var(--gold-300);
}

/* 8. Tombol --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover {
  color: var(--btn-fg);
}
.btn:active {
  transform: translateY(1px);
}
.btn:focus-visible {
  outline: 2px solid transparent; /* tetap terlihat di mode kontras tinggi Windows */
  box-shadow: var(--focus);
}
.btn[disabled],
.btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}
.btn--primary {
  --btn-bg: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  --btn-fg: var(--navy-950);
  background: linear-gradient(180deg, var(--gold-400) 0%, var(--gold-500) 100%);
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover {
  background: linear-gradient(180deg, var(--gold-300) 0%, var(--gold-400) 100%);
  box-shadow: 0 10px 26px -8px rgba(199, 154, 62, 0.7);
}
.btn--navy {
  --btn-bg: var(--navy-800);
  --btn-fg: #fff;
}
.btn--navy:hover {
  --btn-bg: var(--navy-700);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy-800);
  --btn-bd: var(--line-strong);
}
.btn--outline:hover {
  --btn-bg: var(--paper);
  --btn-bd: var(--gold-500);
  --btn-fg: var(--navy-900);
}
.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.4);
}
.btn--outline-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-bd: var(--gold-300);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy-700);
}
.btn--ghost:hover {
  --btn-bg: rgba(15, 31, 61, 0.06);
}
.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--navy-900);
}
.btn--light:hover {
  --btn-bg: var(--gold-50);
}
.btn--danger {
  --btn-bg: var(--danger);
  --btn-fg: #fff;
}
.btn--danger:hover {
  --btn-bg: var(--red-700);
}
.btn--ghost-danger {
  --btn-bg: transparent;
  --btn-fg: var(--danger);
}
.btn--ghost-danger:hover {
  --btn-bg: var(--danger-bg);
  --btn-fg: var(--red-700);
}
.btn--success {
  --btn-bg: var(--success);
  --btn-fg: #fff;
}
.btn--success:hover {
  --btn-bg: #165a39;
}
.btn--whatsapp {
  --btn-bg: #167a43; /* teks putih 5.4:1 */
  --btn-fg: #fff;
}
.btn--whatsapp:hover {
  --btn-bg: #125f33;
}
.btn--sm {
  min-height: 36px;
  padding: 0.45rem 0.95rem;
  font-size: var(--fs-sm);
  gap: 0.4rem;
}
.btn--lg {
  min-height: 52px;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}
.btn--block {
  display: flex;
  width: 100%;
}
.btn--icon {
  width: 44px;
  padding: 0;
}
.btn--icon.btn--sm {
  width: 36px;
}
.btn--square {
  border-radius: var(--radius);
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.inline-form {
  display: inline-flex;
  margin: 0;
}

/* 9. Kartu ---------------------------------------------------------------- */
.card-item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card-item:hover,
.card-item:focus-within {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card-item__media {
  display: block;
  overflow: hidden;
}
.card-item__media .cover img {
  transition: transform 0.6s var(--ease);
}
.card-item:hover .card-item__media .cover img {
  transform: scale(1.04);
}
.card-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  padding: 1.25rem 1.35rem 1.4rem;
}
.card-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
.card-item__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-900);
}
.card-item__title a {
  color: inherit;
  text-decoration: none;
}
.card-item__title a:hover {
  color: var(--navy-700);
}
.card-item__text {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.card-item__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gold-700);
}
.card-item:hover .card-item__more .icon {
  transform: translateX(3px);
}
.card-item__more .icon {
  transition: transform var(--dur) var(--ease);
}
.stretched-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.stretched-link:focus-visible {
  outline: none;
}
.stretched-link:focus-visible::after {
  outline: 2px solid var(--gold-500);
  outline-offset: -2px;
  border-radius: var(--radius-lg);
}
.card-item .btn,
.card-item a:not(.stretched-link):not(.card-item__media) {
  position: relative;
  z-index: 2;
}
.event-card.is-past {
  opacity: 0.82;
}
.event-card.is-past .cover img {
  filter: grayscale(0.4);
}
.devotional-card {
  border-top: 3px solid var(--gold-500);
}
.devotional-card__verse {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-700);
}
.ministry-card .card-item__title {
  font-size: 1.55rem;
}

/* Meta list (ikon + teks) */
.meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.meta-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.meta-list .icon {
  margin-top: 0.15rem;
  color: var(--gold-600);
}
.meta-list--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

/* Cover & placeholder */
.cover {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  aspect-ratio: 16 / 9;
}
.cover--4x3 {
  aspect-ratio: 4 / 3;
}
.cover--3x2 {
  aspect-ratio: 3 / 2;
}
.cover--1x1 {
  aspect-ratio: 1;
}
.cover--3x4 {
  aspect-ratio: 3 / 4;
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover--empty {
  background: var(--gradient-navy);
}
.cover--empty::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--rays), var(--pattern-cross);
  opacity: 0.9;
}
.cover__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold-300);
}
.cover__placeholder .icon {
  width: 22%;
  height: auto;
  max-width: 56px;
  min-width: 28px;
  opacity: 0.85;
}
.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-900);
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.play-badge .icon {
  margin-left: 3px;
  fill: currentColor;
}
.card-item:hover .play-badge {
  transform: scale(1.08);
  background: var(--gold-400);
}

/* Renungan unggulan */
.devotional-feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--gradient-navy);
  color: #e6eaf2;
  box-shadow: var(--shadow-lg);
}
.devotional-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--rays), var(--pattern-cross);
}
.devotional-feature__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: clamp(1.75rem, 1rem + 3vw, 3.25rem);
}
.devotional-feature__title {
  font-size: var(--fs-2xl);
  color: #fff;
}
.devotional-feature__title a {
  color: inherit;
  text-decoration: none;
}
.devotional-feature__verse {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-300);
}
.devotional-feature__text {
  max-width: 46rem;
  color: #c8d0df;
  line-height: 1.75;
}
.devotional-feature__cta {
  align-self: flex-start;
  margin-top: var(--space-2);
}
.devotional-feature:hover .devotional-feature__cta {
  background: linear-gradient(180deg, var(--gold-300), var(--gold-400));
}
.devotional-feature .stretched-link::after {
  border-radius: var(--radius-xl);
}

/* Album */
.album-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.album-card__link {
  display: block;
  color: #fff;
  text-decoration: none;
}
.album-card__link:hover {
  color: #fff;
}
.album-card .cover img {
  transition: transform 0.6s var(--ease);
}
.album-card:hover .cover img {
  transform: scale(1.05);
}
.album-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 3rem 1.25rem 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(8, 18, 38, 0.92));
}
.album-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}
.album-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  font-size: var(--fs-xs);
  color: #d5dbe7;
}
.album-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.album-card__link:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: -3px;
}

/* Tim / pengurus */
.team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.team-card__photo {
  display: grid;
  place-items: center;
  background: var(--gradient-navy);
  min-height: 200px;
  position: relative;
}
.team-card__photo .cover {
  width: 100%;
}
.team-card__photo .avatar {
  margin: 2.5rem 0;
  box-shadow: 0 0 0 4px rgba(215, 176, 65, 0.5);
}
.team-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
}
.team-card__name {
  font-size: 1.4rem;
}
.team-card__position {
  margin-top: 0.25rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.team-card__bio {
  margin-top: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* Kartu generik berisi (panel informasi publik) */
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  box-shadow: var(--shadow-xs);
}
.panel--cream {
  background: var(--gold-50);
  border-color: var(--gold-200);
}
.panel--navy {
  background: var(--gradient-navy);
  color: #e2e7f0;
  border: 0;
}
.panel--navy h2,
.panel--navy h3 {
  color: #fff;
}
.panel__title {
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
}
.panel + .panel {
  margin-top: var(--space-5);
}
.feature {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.feature__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--gold-50);
  color: var(--gold-700);
  border: 1px solid var(--gold-200);
}
.section--navy .feature__icon {
  background: rgba(215, 176, 65, 0.12);
  border-color: rgba(215, 176, 65, 0.3);
  color: var(--gold-300);
}
.feature__title {
  font-size: 1.4rem;
}
.feature__text {
  color: var(--muted);
}
.section--navy .feature__text {
  color: #b9c3d6;
}

/* Komsel, dokumen */
.cell-card .btn {
  align-self: flex-start;
  margin-top: auto;
}
.doc-list {
  display: grid;
  gap: var(--space-3);
}
.doc-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 1rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.doc-item:hover {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-md);
}
.doc-item__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--navy-50);
  color: var(--navy-700);
}
.doc-item__ext {
  position: absolute;
  bottom: -6px;
  right: -6px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--gold-500);
  color: var(--navy-950);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.doc-item__body {
  flex: 1;
  min-width: 0;
}
.doc-item__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}
.doc-item__desc {
  margin-top: 0.15rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.doc-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.9rem;
  margin-top: 0.3rem;
  font-size: var(--fs-xs);
  color: var(--subtle);
}

/* 10. Badge & date badge ---------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
}
.badge--neutral {
  background: #f0ede6;
  color: var(--ink-soft);
  border-color: #e2ddd1;
}
.badge--gold {
  background: var(--gold-50);
  color: var(--gold-800);
  border-color: var(--gold-200);
}
.badge--navy {
  background: var(--navy-50);
  color: var(--navy-700);
  border-color: var(--navy-100);
}
.badge--red {
  background: var(--red-100);
  color: var(--red-700);
  border-color: #f3cdc9;
}
.badge--success {
  background: var(--success-bg);
  color: var(--success);
  border-color: var(--success-line);
}
.badge--warning {
  background: var(--warning-bg);
  color: var(--warning);
  border-color: var(--warning-line);
}
.badge--danger {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: var(--danger-line);
}
.badge--info {
  background: var(--info-bg);
  color: var(--info);
  border-color: var(--info-line);
}
.badge--dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.date-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 0.45rem 0.6rem 0.5rem;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--navy-900);
  border-top: 3px solid var(--gold-500);
  box-shadow: var(--shadow-md);
  line-height: 1;
  text-align: center;
}
.date-badge__day {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
}
.date-badge__month {
  margin-top: 0.2rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.date-badge--float {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
}
.date-badge--navy {
  background: var(--navy-800);
  color: #fff;
}
.date-badge--navy .date-badge__month {
  color: var(--gold-300);
}

/* Avatar */
.avatar {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--gold-300);
  font-weight: 700;
  letter-spacing: 0.02em;
  overflow: hidden;
}
.avatar--sm {
  width: 32px;
  height: 32px;
  font-size: 0.75rem;
}
.avatar--md {
  width: 44px;
  height: 44px;
  font-size: 0.9rem;
}
.avatar--lg {
  width: 64px;
  height: 64px;
  font-size: 1.25rem;
}
.avatar--xl {
  width: 120px;
  height: 120px;
  font-family: var(--font-display);
  font-size: 2.5rem;
}

/* 11. Form ---------------------------------------------------------------- */
.form {
  display: grid;
  gap: var(--space-5);
}
.form-row {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form-row--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.fieldset > legend {
  padding: 0;
  margin-bottom: 0.4rem;
}
.field__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy-900);
}
.field__req {
  color: var(--danger);
}
.field__help {
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--muted);
}
.field__error {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--danger);
}
.field__counter {
  align-self: flex-end;
  margin-top: -0.2rem;
  font-size: 0.6875rem;
  color: var(--subtle);
}
.field__counter.is-over {
  color: var(--danger);
}
.input {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--control-line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder {
  color: #6b7383;
  opacity: 1;
}
.input:hover {
  border-color: var(--control-line-hover);
}
.input:focus {
  outline: 2px solid transparent;
  border-color: var(--navy-700);
  box-shadow: var(--focus);
}
.input[readonly],
.input:disabled {
  background: #f5f2ec;
  color: var(--muted);
}
.input--sm {
  min-height: 38px;
  padding: 0.4rem 0.75rem;
  font-size: var(--fs-sm);
}
.has-error .input,
.input[aria-invalid='true'] {
  border-color: var(--danger);
}
.has-error .input:focus {
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.2);
}
.textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}
input[type='date'].input,
input[type='datetime-local'].input,
input[type='time'].input {
  min-height: 46px;
}
.select {
  position: relative;
}
.select .input {
  padding-right: 2.5rem;
  cursor: pointer;
}
.select__chevron {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.check__input,
.radio__input,
.choice__input {
  width: 20px;
  height: 20px;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: var(--navy-800);
  cursor: pointer;
}
.check__label {
  display: flex;
  flex-direction: column;
  font-size: 0.9375rem;
  line-height: 1.45;
  cursor: pointer;
}
.check__help {
  font-size: var(--fs-xs);
  color: var(--muted);
}
.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.radio-stack {
  display: grid;
  gap: 0.6rem;
}
.radio {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9375rem;
  cursor: pointer;
}
.radio__input {
  margin: 0;
}
.check-grid {
  display: grid;
  gap: 0.6rem 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
}
.choice-list {
  display: grid;
  gap: 0.6rem;
}
.choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.choice__input {
  position: absolute;
  top: 1rem;
  left: 1rem;
  margin: 0;
}
.choice__box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.85rem 2.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.choice:hover .choice__box {
  border-color: var(--gold-400);
}
.choice__input:checked + .choice__box {
  border-color: var(--navy-700);
  background: var(--navy-50);
  box-shadow: inset 0 0 0 1px var(--navy-700);
}
.choice__input:focus-visible + .choice__box {
  box-shadow: var(--focus);
}
.choice__icon {
  margin-top: 0.1rem;
  color: var(--gold-600);
}
.choice__text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.choice__title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy-900);
}
.choice__hint {
  font-size: var(--fs-xs);
  color: var(--muted);
}
.visibility__roles {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.75rem;
  padding: 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--cream);
}
.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 56px;
  padding: 0.75rem 1rem;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--muted);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.file-drop:hover,
.file-drop:focus-within {
  border-color: var(--gold-500);
  background: var(--gold-50);
}
.file-drop:focus-within {
  box-shadow: var(--focus);
}
.file-drop__icon {
  color: var(--gold-600);
}
.file-drop__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-drop__text {
  font-size: var(--fs-sm);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.image-input {
  display: grid;
  gap: 0.75rem;
}
.image-input__preview {
  position: relative;
  overflow: hidden;
  max-width: 420px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: repeating-linear-gradient(45deg, #f6f2ea 0 10px, #f1ece2 10px 20px);
}
.image-input__preview.ratio-16x9 {
  aspect-ratio: 16 / 9;
}
.image-input__preview.ratio-1x1 {
  aspect-ratio: 1;
  max-width: 220px;
}
.image-input__preview.ratio-4x3 {
  aspect-ratio: 4 / 3;
}
.image-input__preview.ratio-3x4 {
  aspect-ratio: 3 / 4;
  max-width: 220px;
}
.image-input__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-input__preview.is-removed img {
  opacity: 0.3;
  filter: grayscale(1);
}
.image-input__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--subtle);
  font-size: var(--fs-xs);
}
.image-input__controls {
  display: grid;
  gap: 0.6rem;
}
.image-input__file {
  font-size: var(--fs-sm);
  max-width: 100%;
}
.image-input__file::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--navy-800);
  font-weight: 600;
  cursor: pointer;
}
.image-input__file::file-selector-button:hover {
  border-color: var(--gold-500);
}
.search-input {
  position: relative;
  flex: 1;
  min-width: 0;
}
.search-input__icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--subtle);
  pointer-events: none;
}
.search-input .input {
  padding-left: 2.5rem;
}
.search-input--lg .input {
  min-height: 54px;
  border-radius: var(--radius-pill);
  font-size: 1.0625rem;
}
.search-form {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.form-note {
  font-size: var(--fs-xs);
  color: var(--muted);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-6);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0.35rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.chip:hover {
  border-color: var(--gold-500);
  color: var(--navy-900);
}
.chip.is-active,
.chip[aria-current] {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}

/* 12. Alert & flash ------------------------------------------------------- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.alert__icon {
  margin-top: 0.1rem;
}
.alert__body {
  flex: 1;
  min-width: 0;
}
.alert__title {
  display: block;
  margin-bottom: 0.15rem;
  font-weight: 700;
}
.alert__list {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
}
.alert__close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: -0.3rem -0.4rem -0.3rem 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: inherit;
  opacity: 0.7;
}
.alert__close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.06);
}
.alert--success {
  background: var(--success-bg);
  border-color: var(--success-line);
  color: #14532f;
}
.alert--danger {
  background: var(--danger-bg);
  border-color: var(--danger-line);
  color: #7f1b15;
}
.alert--warning {
  background: var(--warning-bg);
  border-color: var(--warning-line);
  color: #6b4500;
}
.alert--info {
  background: var(--info-bg);
  border-color: var(--info-line);
  color: #163f70;
}
.alert + .alert,
.alert + form,
.alert + .form {
  margin-top: var(--space-4);
}
.toast-region {
  position: fixed;
  top: calc(var(--header-h) + 12px);
  right: 12px;
  left: 12px;
  z-index: 130;
  display: grid;
  justify-items: end;
  gap: 0.5rem;
  pointer-events: none;
}
.flash--toast {
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toast-in 0.35s var(--ease);
}
.flash--inline {
  margin-bottom: var(--space-5);
}
.flash.is-leaving {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 13. Pagination ---------------------------------------------------------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-7);
}
.pagination__pages {
  display: none;
  gap: 0.3rem;
  list-style: none;
}
.pagination__status {
  padding: 0 0.5rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}
@media (min-width: 640px) {
  .pagination__pages {
    display: flex;
  }
  .pagination__status {
    display: none;
  }
}
.pagination__btn,
.pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 42px;
  height: 42px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--navy-800);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.pagination__page {
  padding: 0;
}
.pagination__btn:hover,
.pagination__page:hover {
  border-color: var(--gold-500);
  color: var(--navy-900);
}
.pagination__page.is-active {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}
.pagination__btn.is-disabled {
  opacity: 0.45;
}
.pagination__gap {
  display: grid;
  place-items: center;
  min-width: 28px;
  color: var(--subtle);
}
/* Di ponsel kecil label disembunyikan secara visual saja, agar tautan tetap punya nama aksesibel. */
.pagination__label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 480px) {
  .pagination__label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
  }
}

/* 14. Empty state & locked ------------------------------------------------ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--ivory);
  text-align: center;
}
.empty-state__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 0.4rem;
  border-radius: 50%;
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  color: var(--gold-700);
}
.empty-state__title {
  font-size: 1.5rem;
}
.empty-state__message {
  max-width: 32rem;
  color: var(--muted);
}
.empty-state .btn {
  margin-top: 0.6rem;
}
.locked {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: 640px;
  margin-inline: auto;
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem) clamp(1.25rem, 1rem + 2vw, 3rem);
  overflow: hidden;
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--paper), var(--gold-50));
  box-shadow: var(--shadow-md);
  text-align: center;
}
.locked::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--pattern-cross-ink);
  opacity: 0.6;
  pointer-events: none;
}
.locked > * {
  position: relative;
}
.locked .eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}
.locked__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-300);
  box-shadow: 0 0 0 6px var(--gold-100);
}
.locked__title {
  font-size: var(--fs-2xl);
}
.locked__excerpt {
  max-width: 34rem;
  color: var(--ink-soft);
  font-style: italic;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent);
  mask-image: linear-gradient(180deg, #000 40%, transparent);
}
.locked__message {
  max-width: 32rem;
  color: var(--muted);
}
.locked__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* 15. Prose (rich text) --------------------------------------------------- */
.prose {
  max-width: 72ch;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink);
  overflow-wrap: break-word;
}
.prose > * + * {
  margin-top: 1.15em;
}
.prose h2 {
  margin-top: 1.8em;
  font-size: var(--fs-xl);
}
.prose h3 {
  margin-top: 1.6em;
  font-size: 1.45rem;
}
.prose h4 {
  margin-top: 1.5em;
}
.prose h2 + *,
.prose h3 + *,
.prose h4 + * {
  margin-top: 0.6em;
}
.prose a {
  color: var(--navy-600);
  text-decoration: underline;
  text-decoration-color: var(--gold-400);
  text-decoration-thickness: 1.5px;
}
.prose a:hover {
  color: var(--gold-700);
}
.prose strong {
  font-weight: 700;
  color: var(--navy-900);
}
.prose ul,
.prose ol {
  padding-left: 1.4em;
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li + li {
  margin-top: 0.4em;
}
.prose li::marker {
  color: var(--gold-600);
}
.prose li[data-list='bullet'] {
  list-style-type: disc;
}
.prose li[data-list='ordered'] {
  list-style-type: decimal;
}
.prose blockquote {
  position: relative;
  margin-inline: 0;
  padding: 1.1em 1.4em 1.1em 1.6em;
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--gold-50);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--navy-800);
}
.prose blockquote p + p {
  margin-top: 0.6em;
}
.prose img {
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.prose figure figcaption {
  margin-top: 0.5em;
  font-size: var(--fs-sm);
  color: var(--muted);
  text-align: center;
}
.prose iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: var(--radius);
}
.prose hr {
  margin: 2em auto;
  width: 120px;
  border-top: 1px solid var(--gold-400);
}
/* Tabel dari editor dibungkus .prose-table (komponen Prose) agar bisa digulir horizontal di ponsel. */
.prose-table {
  max-width: 100%;
  margin-block: 1.25em;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.prose-table > table {
  margin: 0;
}
.prose table {
  width: 100%;
  font-size: 0.9375rem;
  border: 1px solid var(--line);
}
.prose th,
.prose td {
  padding: 0.6em 0.8em;
  border: 1px solid var(--line);
  text-align: left;
}
.prose th {
  background: var(--sand);
}
.prose .ql-align-center {
  text-align: center;
}
.prose .ql-align-right {
  text-align: right;
}
.prose .ql-align-justify {
  text-align: justify;
}
.prose img.ql-align-center,
.prose .ql-align-center img {
  margin-inline: auto;
}
.prose--lg {
  font-size: 1.125rem;
}
.prose--center {
  margin-inline: auto;
}
.prose > :first-child {
  margin-top: 0;
}

/* Embed (YouTube / peta) */
.embed {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  box-shadow: var(--shadow-md);
}
.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed--map {
  aspect-ratio: 4 / 3;
}
@media (min-width: 768px) {
  .embed--map {
    aspect-ratio: 16 / 9;
  }
}

/* Article (detail) */
.article-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.article-cover {
  margin-bottom: var(--space-6);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.article-cover img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}
.article-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.scripture {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--navy-800);
}
.scripture__ref {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-700);
}
.prayer-box {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--navy-50);
  border-left: 3px solid var(--navy-700);
}
.prayer-box__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-700);
}

/* Share */
.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.share__label {
  margin-right: 0.35rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.share__btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--navy-700);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.share__btn:hover {
  border-color: var(--gold-500);
  background: var(--gold-50);
  color: var(--navy-900);
}
.share__btn.is-done {
  border-color: var(--success);
  color: var(--success);
}

/* 16. Jadwal, timeline, info --------------------------------------------- */
.schedule-days {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 900px) {
  .schedule-days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.schedule-day__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-3);
  font-size: 1.6rem;
}
.schedule-day__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-300), transparent);
}
.schedule {
  display: grid;
  gap: 0.6rem;
  list-style: none;
}
.schedule__item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius);
  transition: box-shadow var(--dur) var(--ease);
}
.schedule__item:hover {
  box-shadow: var(--shadow-md);
}
.schedule__time {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.schedule__day {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.schedule__clock {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-900);
}
.schedule__name {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}
.schedule__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.9rem;
  margin-top: 0.2rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.schedule__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.schedule__desc {
  margin-top: 0.35rem;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.schedule--compact .schedule__item {
  padding: 0.7rem 0.9rem;
  grid-template-columns: 96px minmax(0, 1fr);
}
.schedule--compact .schedule__clock {
  font-size: 1.15rem;
}
.section--navy .schedule__item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  border-left-color: var(--gold-400);
}
.section--navy .schedule__clock,
.section--navy .schedule__name {
  color: #fff;
}
.section--navy .schedule__meta,
.section--navy .schedule__desc {
  color: #b9c3d6;
}
.section--navy .schedule__day {
  color: var(--gold-300);
}
@media (max-width: 420px) {
  .schedule__item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.timeline {
  position: relative;
  display: grid;
  gap: var(--space-5);
  list-style: none;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-400), var(--line));
}
.timeline__item {
  position: relative;
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--gold-500);
}
.timeline__date {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.timeline__title {
  margin-top: 0.15rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
}
.timeline__text {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.info-list {
  display: grid;
  gap: var(--space-4);
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.info-item__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  color: var(--gold-700);
}
.info-item__body {
  min-width: 0;
}
.info-item__label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.info-item__value {
  color: var(--ink);
  overflow-wrap: anywhere;
}
.info-item__value a {
  color: var(--navy-700);
  font-weight: 600;
  text-decoration: none;
}
.info-item__value a:hover {
  color: var(--gold-700);
  text-decoration: underline;
}
.section--navy .info-item__icon {
  background: rgba(215, 176, 65, 0.12);
  border-color: rgba(215, 176, 65, 0.3);
  color: var(--gold-300);
}
.section--navy .info-item__value {
  color: #e6eaf2;
}
.section--navy .info-item__label {
  color: #9fabc2;
}

/* Rekening bank (persembahan) */
.bank-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--gradient-navy);
  color: #e6eaf2;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.bank-card::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(215, 176, 65, 0.25);
}
.bank-card__bank {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.bank-card__number {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.bank-card__name {
  font-weight: 600;
}
.bank-card__note {
  font-size: var(--fs-sm);
  color: #b9c3d6;
}
.bank-card .btn {
  justify-self: start;
  margin-top: 0.6rem;
  position: relative;
  z-index: 1;
}
.qris {
  max-width: 320px;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Statistik kecil publik */
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .stat-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.stat-figure__value {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--gold-600);
  line-height: 1;
}
.stat-figure__label {
  margin-top: 0.4rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* Quote / ayat besar */
.quote-block {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}
.quote-block__text {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
}
.quote-block__cite {
  display: block;
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.section--navy .quote-block__cite {
  color: var(--gold-300);
}

/* CTA band */
.cta-band {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  border-radius: var(--radius-xl);
  background: var(--gradient-navy);
  color: #e6eaf2;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--rays), var(--pattern-cross);
}
.cta-band h2,
.cta-band h3 {
  color: #fff;
}
@media (min-width: 900px) {
  .cta-band {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* 17. Galeri & lightbox --------------------------------------------------- */
.gallery {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
}
@media (min-width: 1200px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--navy-100);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.3s var(--ease);
}
.gallery__item:hover img {
  transform: scale(1.05);
  filter: brightness(0.9);
}
.gallery__item:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(6, 12, 26, 0.96);
  color: #fff;
  animation: fade-in 0.2s var(--ease);
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  font-size: var(--fs-sm);
  color: #c8d0df;
}
.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 0.75rem;
  min-height: 0;
  touch-action: pan-y;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  user-select: none;
}
.lightbox__caption {
  min-height: 3rem;
  padding: 0.75rem 1rem 1.25rem;
  text-align: center;
  font-size: var(--fs-sm);
  color: #dfe4ee;
}
.lightbox__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background var(--dur) var(--ease);
}
.lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__prev {
  left: 0.75rem;
}
.lightbox__next {
  right: 0.75rem;
}
@media (max-width: 640px) {
  .lightbox__nav {
    top: auto;
    bottom: -3.5rem;
    transform: none;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
body.lightbox-open {
  overflow: hidden;
}

/* 18. Tab & member area --------------------------------------------------- */
.tabs {
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
}
.tabs__list {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
}
.tabs__list::-webkit-scrollbar {
  display: none;
}
.tabs__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.tabs__link:hover {
  color: var(--navy-900);
}
.tabs__link.is-active {
  color: var(--navy-900);
  border-bottom-color: var(--gold-500);
}
.tabs__count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--gold-100);
  color: var(--gold-800);
  font-size: 0.6875rem;
}
.member-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2rem 0 4.5rem;
  background: var(--gradient-navy);
  color: #fff;
}
.member-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--pattern-cross);
}
.member-hero__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.member-hero__avatar {
  box-shadow: 0 0 0 3px rgba(215, 176, 65, 0.55);
}
.member-hero .eyebrow {
  margin-bottom: 0.25rem;
}
.member-hero__name {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1.15;
}
.member-hero__role {
  font-size: var(--fs-sm);
  color: #b9c3d6;
}
.member-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  margin-top: -3rem;
  padding-bottom: var(--space-8);
}
.member-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  margin-inline: calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
}
.member-nav__list {
  display: flex;
  gap: 0.35rem;
  padding: 0.45rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  list-style: none;
}
.member-nav__list::-webkit-scrollbar {
  display: none;
}
.member-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.member-nav__link .icon {
  color: var(--gold-600);
}
.member-nav__link:hover {
  background: var(--gold-50);
  color: var(--navy-900);
}
.member-nav__link.is-active {
  background: var(--navy-800);
  color: #fff;
}
.member-nav__link.is-active .icon {
  color: var(--gold-300);
}
.member-nav__link .count-badge {
  margin-left: auto;
}
.member-nav__sep {
  display: flex;
}
.member-content {
  min-width: 0;
  padding: clamp(1.25rem, 1rem + 2vw, 2.25rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 1024px) {
  .member-shell {
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
    gap: var(--space-6);
  }
  .member-nav {
    top: calc(var(--header-h) + 20px);
    margin: 0;
    padding: 0;
  }
  .member-nav__list {
    flex-direction: column;
    padding: 0.6rem;
    overflow: visible;
  }
  .member-nav__link {
    display: flex;
    padding: 0.7rem 0.85rem;
  }
  .member-nav__sep {
    display: block;
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--line);
  }
}
.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
}
.page-head__title {
  font-size: var(--fs-2xl);
}
.page-head__subtitle {
  margin-top: 0.35rem;
  color: var(--muted);
}
.page-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.list-plain {
  display: grid;
  list-style: none;
}
.list-plain > li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.list-plain > li:first-child {
  padding-top: 0;
}
.list-plain > li:last-child {
  border-bottom: 0;
}
.notif {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}
.notif__dot {
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--line-strong);
}
.notif.is-unread .notif__dot {
  background: var(--gold-500);
  box-shadow: 0 0 0 4px var(--gold-100);
}
.notif__title {
  font-weight: 600;
  color: var(--navy-900);
}
.notif.is-unread .notif__title {
  font-weight: 700;
}
.notif__body {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.notif__time {
  font-size: var(--fs-xs);
  color: var(--subtle);
}
.subscribe-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.subscribe-card:hover {
  border-color: var(--gold-400);
}
.subscribe-card:has(input:checked) {
  border-color: var(--navy-700);
  background: var(--navy-50);
}

/* 19. Auth ---------------------------------------------------------------- */
body.auth {
  background: var(--navy-900);
}
.auth-shell {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2rem var(--gutter);
  background: var(--gradient-navy);
}
.auth-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--rays), var(--pattern-cross);
  -webkit-mask-image: radial-gradient(ellipse at 50% 10%, #000 20%, transparent 85%);
  mask-image: radial-gradient(ellipse at 50% 10%, #000 20%, transparent 85%);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  padding: clamp(1.5rem, 1rem + 3vw, 2.75rem);
  background: var(--ivory);
  border-radius: var(--radius-xl);
  border-top: 3px solid var(--gold-500);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55);
}
.auth-card--wide {
  max-width: 620px;
}
.auth-card__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: var(--space-5);
  color: var(--navy-900);
  text-decoration: none;
  text-align: center;
}
.auth-card__brand img {
  width: 60px;
  height: 60px;
  margin-bottom: 0.4rem;
}
.auth-card__site {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
}
.auth-card__city {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.auth-card__head {
  margin-bottom: var(--space-5);
  text-align: center;
}
.auth-card__title {
  font-size: var(--fs-xl);
}
.auth-card__subtitle {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
.auth-card__body .form {
  gap: var(--space-4);
}
.auth-card__footer {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.auth-card__footer a {
  font-weight: 600;
}
.auth-shell__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #c8d0df;
  font-size: var(--fs-sm);
  text-decoration: none;
}
.auth-shell__back:hover {
  color: var(--gold-300);
}
.divider-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--subtle);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* 20. Footer -------------------------------------------------------------- */
.site-footer {
  position: relative;
  isolation: isolate;
  background: var(--navy-950);
  color: #b9c3d6;
  font-size: 0.9375rem;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--pattern-cross);
  opacity: 0.5;
}
.site-footer a {
  color: #dfe4ee;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--gold-300);
}
.site-footer__cta {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  border-bottom: 1px solid rgba(215, 176, 65, 0.25);
}
.site-footer__cta-inner {
  display: grid;
  gap: var(--space-5);
  padding-block: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.site-footer__cta .eyebrow {
  margin-bottom: 0.4rem;
}
.site-footer__cta-title {
  font-size: var(--fs-xl);
  color: #fff;
}
.site-footer__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.site-footer__cta-actions a.btn--primary {
  color: var(--navy-950);
}
@media (min-width: 900px) {
  .site-footer__cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}
.site-footer__grid {
  display: grid;
  gap: var(--space-7) var(--space-6);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem);
}
@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  }
}
.site-footer__brand {
  display: grid;
  gap: var(--space-4);
  align-content: start;
}
.brand--light {
  color: #fff;
}
.brand--light:hover {
  color: #fff;
}
.site-footer__tagline {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gold-300);
}
.site-footer__about {
  max-width: 34rem;
  line-height: 1.7;
}
.site-footer__heading {
  margin-bottom: var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.footer-links {
  display: grid;
  gap: 0.55rem;
  list-style: none;
}
.footer-links a {
  display: inline-flex;
  padding: 0.1rem 0;
}
.footer-schedule {
  display: grid;
  gap: 0.6rem;
  margin-bottom: var(--space-4);
  list-style: none;
}
.footer-schedule li {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.footer-schedule__name {
  color: #fff;
  font-weight: 600;
}
.footer-schedule__time {
  font-size: var(--fs-sm);
  color: var(--gold-300);
}
.footer-contact {
  display: grid;
  gap: 0.85rem;
}
.footer-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  overflow-wrap: anywhere;
}
.footer-contact__item .icon {
  margin-top: 0.2rem;
  color: var(--gold-400);
}
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-sm);
  color: #8e9ab2;
}
.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  list-style: none;
}
.footer-legal a {
  color: #b9c3d6;
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}
.socials__link {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--navy-700);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.socials__link:hover {
  border-color: var(--gold-500);
  background: var(--gold-50);
  color: var(--navy-900);
}
.socials--light .socials__link {
  border-color: rgba(255, 255, 255, 0.18);
  color: #dfe4ee;
}
.socials--light .socials__link:hover {
  border-color: var(--gold-400);
  background: rgba(215, 176, 65, 0.12);
  color: var(--gold-300);
}

/* Halaman error */
.error-page {
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem);
  background: var(--ivory);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.error-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--pattern-cross-ink);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
  pointer-events: none;
}
.error-page__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 3rem + 12vw, 10rem);
  font-weight: 700;
  line-height: 0.9;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-page__title {
  font-size: var(--fs-2xl);
}
.error-page__message {
  max-width: 34rem;
  margin-top: var(--space-3);
  color: var(--muted);
  font-size: var(--fs-md);
}
.error-page__search {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: 520px;
  margin-top: var(--space-6);
}
.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.error-page__verse {
  margin-top: var(--space-7);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--navy-700);
}
.error-page__verse cite {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
}

/* 21. Utilitas ------------------------------------------------------------ */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.mx-auto {
  margin-inline: auto;
}
.mt-0 {
  margin-top: 0 !important;
}
.mt-1 {
  margin-top: var(--space-1);
}
.mt-2 {
  margin-top: var(--space-2);
}
.mt-3 {
  margin-top: var(--space-3);
}
.mt-4 {
  margin-top: var(--space-4);
}
.mt-5 {
  margin-top: var(--space-5);
}
.mt-6 {
  margin-top: var(--space-6);
}
.mt-7 {
  margin-top: var(--space-7);
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-0 {
  margin-bottom: 0 !important;
}
.mb-2 {
  margin-bottom: var(--space-2);
}
.mb-3 {
  margin-bottom: var(--space-3);
}
.mb-4 {
  margin-bottom: var(--space-4);
}
.mb-5 {
  margin-bottom: var(--space-5);
}
.mb-6 {
  margin-bottom: var(--space-6);
}
.mb-7 {
  margin-bottom: var(--space-7);
}
.gap-2 {
  --gap: var(--space-2);
  gap: var(--space-2);
}
.gap-3 {
  --gap: var(--space-3);
  gap: var(--space-3);
}
.gap-4 {
  --gap: var(--space-4);
  gap: var(--space-4);
}
.gap-5 {
  --gap: var(--space-5);
  gap: var(--space-5);
}
.gap-6 {
  --gap: var(--space-6);
  gap: var(--space-6);
}
.flex {
  display: flex;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.flex-1 {
  flex: 1;
  min-width: 0;
}
.w-full {
  width: 100%;
}
.max-w-prose {
  max-width: 72ch;
}
.rounded {
  border-radius: var(--radius);
}
.rounded-lg {
  border-radius: var(--radius-lg);
}
.shadow {
  box-shadow: var(--shadow-md);
}
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.divider {
  height: 1px;
  margin-block: var(--space-6);
  background: var(--line);
  border: 0;
}
@media (max-width: 639.98px) {
  .hide-sm {
    display: none !important;
  }
}
@media (max-width: 767.98px) {
  .hide-md {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .show-sm-only {
    display: none !important;
  }
}
@media (max-width: 1023.98px) {
  .hide-lg-down {
    display: none !important;
  }
}

/* 22. Gerak dikurangi ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .card-item:hover,
  .card-item:focus-within {
    transform: none;
  }
}

/* 23. Cetak (renungan, artikel) ------------------------------------------- */
@media print {
  @page {
    margin: 18mm 16mm;
  }
  body {
    background: #fff;
    color: #000;
    font-size: 11.5pt;
  }
  .site-header,
  .site-footer,
  .skip-link,
  .toast-region,
  .share,
  .member-nav,
  .member-hero,
  .pagination,
  .btn,
  .no-print,
  .embed,
  .breadcrumbs,
  .subscribe-banner,
  .content-pager,
  .content-filter {
    display: none !important;
  }
  .eyebrow,
  .eyebrow--light,
  .page-header .meta-list,
  .page-header .meta-list a {
    color: #444 !important;
  }
  .page-header,
  .hero,
  .section--navy {
    background: none !important;
    color: #000 !important;
    padding: 0 0 12pt !important;
    min-height: 0 !important;
  }
  .page-header::before,
  .page-header::after,
  .hero::before,
  .section--navy::before {
    display: none !important;
  }
  .page-header__title,
  .page-header__subtitle,
  .section--navy h1,
  .section--navy h2 {
    color: #000 !important;
  }
  .section {
    padding: 0 !important;
  }
  .member-content,
  .panel,
  .card-item {
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .prose {
    max-width: none;
    font-size: 11.5pt;
  }
  .prose a {
    color: #000;
    text-decoration: underline;
  }
  .prose a[href^='http']::after {
    content: ' (' attr(href) ')';
    font-size: 9pt;
    color: #555;
  }
  .scripture,
  .prayer-box,
  .prose blockquote {
    background: none !important;
    border: 1px solid #999 !important;
    break-inside: avoid;
  }
  h1,
  h2,
  h3 {
    break-after: avoid;
  }
  img {
    max-width: 60% !important;
    break-inside: avoid;
  }
  .print-only {
    display: block !important;
  }
}
.print-only {
  display: none;
}

/* === content (berita, acara, khotbah, renungan, galeri) === */
.content-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.content-filter__search {
  flex: 1 1 280px;
  min-width: 0;
}
.content-filter__select {
  flex: 1 1 200px;
  min-width: 0;
}
.content-filter__actions {
  display: flex;
  gap: var(--space-2);
}
@media (min-width: 640px) {
  .content-filter__select {
    flex: 0 1 260px;
  }
}
.content-filter--inline {
  margin-bottom: 0;
}
.content-filter--inline .content-filter__select {
  flex: 1 1 200px;
}
.content-filter__result {
  margin-bottom: var(--space-5);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--muted);
}

.subscribe-banner {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-lg);
  background: var(--gold-50);
}
@media (min-width: 768px) {
  .subscribe-banner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }
}
.subscribe-banner__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-300);
}
.subscribe-banner__title {
  margin: 0 0 0.2rem;
  font-weight: 700;
  color: var(--navy-800);
}
.subscribe-banner__text {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.subscribe-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.content-pager {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .content-pager {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.content-pager__link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.content-pager__link:hover {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}
.content-pager__link--next {
  text-align: right;
  align-items: flex-end;
}
.content-pager__dir {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.content-pager__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy-800);
}
.content-pager__meta {
  font-size: var(--fs-xs);
  color: var(--muted);
}
@media (max-width: 639px) {
  .content-pager__spacer {
    display: none;
  }
}

.audio-player {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-lg);
  background: var(--gold-50);
}
.audio-player__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--navy-800);
}
.audio-player__control {
  width: 100%;
}

.gallery-figure {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.gallery-figure__caption {
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--muted);
}
.album-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  max-width: 72ch;
  margin-bottom: var(--space-6);
}
.devotional__author {
  font-size: var(--fs-sm);
  text-align: right;
}
/* === /content === */

/* === public pages (beranda, tentang, jadwal, persembahan, doa, kontak, cari) === */
.hero-next {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: 100%;
  margin-top: var(--space-6);
  padding: 0.7rem 1.15rem;
  border: 1px solid rgba(215, 176, 65, 0.45);
  border-radius: var(--radius-pill);
  background: rgba(8, 18, 38, 0.45);
  color: #e6eaf2;
  font-size: var(--fs-sm);
  line-height: 1.5;
  text-align: left;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero-next .icon {
  flex: none;
  margin-top: 0.1rem;
  color: var(--gold-300);
}
.hero-next strong {
  color: #fff;
  font-weight: 700;
}
.hero-next__meta {
  color: #c3cbdb;
}
@media (max-width: 479px) {
  .hero-next {
    border-radius: var(--radius-lg);
  }
}
.home-pastor {
  max-width: 340px;
  margin-inline: auto;
}
.panel--navy .meta-list {
  color: #c3cbdb;
}
.panel--navy .meta-list .icon {
  color: var(--gold-300);
}
.home-cta .btn {
  margin-top: var(--space-2);
}
.about-mission {
  display: grid;
  gap: var(--space-4);
  max-width: 56rem;
  margin: var(--space-5) auto 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) {
  .about-mission {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.about-mission__item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  color: #dde3ee;
}
.about-mission__num {
  flex: none;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-300);
}
.about-pastor {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.about-pastor--solo {
  max-width: 280px;
  margin-inline: auto;
}
.about-pastor__photo {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-pastor__name {
  margin-top: var(--space-4);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy-900);
}
.about-pastor__title {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.about-team-group__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-4);
  font-size: 1.5rem;
}
.about-team-group__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-300), transparent);
}
.schedule-day.is-today .schedule-day__title {
  color: var(--gold-700);
}
.schedule-day.is-today .schedule__item {
  background: var(--gold-50);
  border-color: var(--gold-200);
  border-left-color: var(--navy-800);
}
.giving-qris {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.giving-qris .qris img {
  display: block;
  width: 100%;
  height: auto;
}
.giving-qris--center {
  max-width: 360px;
  margin-inline: auto;
}
.search-group {
  scroll-margin-top: calc(var(--header-h, 72px) + 16px);
}
.page-header .search-form {
  max-width: 40rem;
}
@media (max-width: 479px) {
  .page-header .search-form {
    flex-direction: column;
    align-items: stretch;
  }
}
.hp-field {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* === /public pages === */

/* === integrasi: perbaikan tata letak === */
/* Wadah gulir horizontal menjadi containing block bagi .sr-only di dalamnya. */
.tabs__list,
.member-nav__list,
.table-wrap {
  position: relative;
}
/* Input berkas punya lebar intrinsik besar; jangan biarkan melebarkan kolom grid di ponsel. */
.image-input,
.image-input__controls {
  grid-template-columns: minmax(0, 1fr);
}
input[type='file'] {
  max-width: 100%;
  min-width: 0;
}
/* === akhir integrasi === */

/* === Transisi antarhalaman (View Transitions, Chrome/Edge/Safari 18.2+) === */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.18s;
  }
}
