/* Website publik NX-KBC — hijau · krem · biru */
:root {
    --g950: #0a2e21; --g900: #0f3d2c; --g800: #165a41; --g700: #047857; --g600: #059669; --g100: #d1fae5;
    --cream: #fbf5e6; --cream-2: #f3ead0; --line: #eadfc0;
    --blue: #1d4ed8; --blue-100: #dbeafe;
    --ink: #1c2a24; --muted: #5f6f66; --white: #fff;
    --radius: 16px;
    --shadow: 0 6px 24px rgba(15, 61, 44, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--g700); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: linear-gradient(90deg, var(--g900), var(--g800) 60%, #14509a); box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; min-width: 0; }
.brand:hover { text-decoration: none; }
.brand img, .brand .mark { width: 44px; height: 44px; border-radius: 12px; background: #fff; object-fit: contain; padding: 3px; flex: none; }
.brand .mark { display: grid; place-items: center; background: var(--g600); color: #fff; font-weight: 900; font-size: 1.2rem; }
.brand strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.brand small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #a7f3d0; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { color: #e6f4ec; padding: .5rem .85rem; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.nav a:hover, .nav a.active { background: rgba(255, 255, 255, .16); text-decoration: none; color: #fff; }
.nav .login { background: var(--cream); color: var(--g900); margin-left: .4rem; }
.nav .login:hover { background: #fff; }
.nav-toggle, .nav-burger { display: none; }

/* Hero */
.hero { position: relative; color: #fff; background: linear-gradient(120deg, var(--g900), var(--g700) 55%, var(--blue)); background-size: cover; background-position: center; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10, 46, 33, .88), rgba(4, 120, 87, .6) 55%, rgba(29, 78, 216, .55)); }
.hero .wrap { position: relative; padding: 5.5rem 0 5rem; max-width: 820px; margin-inline: auto; text-align: center; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); line-height: 1.15; margin: 0 0 1rem; font-weight: 900; letter-spacing: -.01em; }
.hero p { font-size: 1.1rem; margin: 0 auto 1.8rem; max-width: 640px; color: #e6f4ec; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.4rem; border-radius: 999px; font-weight: 700; border: 0; cursor: pointer; font-size: 1rem; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--cream); color: var(--g900); }
.btn-primary:hover { background: #fff; }
.btn-green { background: var(--g700); color: #fff; }
.btn-green:hover { background: var(--g800); }
.btn-ghost { background: rgba(255, 255, 255, .15); color: #fff; border: 1px solid rgba(255, 255, 255, .4); }
.hero .btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* Sections */
.section { padding: 3.5rem 0; }
.section.alt { background: var(--cream-2); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 1.7rem; color: var(--g900); line-height: 1.2; }
.section-head p { margin: .25rem 0 0; color: var(--muted); }
.page-title { background: linear-gradient(120deg, var(--g900), var(--g800)); color: #fff; padding: 2.6rem 0; }
.page-title h1 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.3rem); }
.page-title p { margin: .4rem 0 0; color: #d1fae5; }

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
/* Berita beranda: empat kolom sejajar agar tampak seimbang, 2 kolom di tablet, 1 di ponsel. */
.grid-news { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-news { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-news { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card .thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--g100), var(--blue-100)); object-fit: cover; width: 100%; }
.card .body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.1rem; line-height: 1.35; }
.card h3 a { color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }
.meta { font-size: .8rem; color: var(--muted); display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.tag { display: inline-block; padding: .1rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--blue-100); color: var(--blue); }
.tag.warn { background: #fef3c7; color: #92400e; }
.tag.pin { background: var(--g100); color: var(--g800); }

.program { padding: 1.4rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--g600); box-shadow: var(--shadow); }
.program h3 { margin: 0 0 .4rem; color: var(--g900); }
.program p { margin: 0; color: var(--muted); }

.list-ann { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.list-ann li { background: var(--white); border: 1px solid var(--line); border-left: 4px solid #f59e0b; border-radius: 12px; padding: .9rem 1.1rem; }
.list-ann a { font-weight: 700; color: var(--ink); }

/* Dakwah & Karya Santri di beranda: satu kolom per jenis tulisan */
.dakwah-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.2rem; }
.dakwah-col { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.2rem 1.2rem; min-width: 0; }
.dakwah-head { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; margin-bottom: .8rem; padding-bottom: .6rem; border-bottom: 2px solid var(--g100); }
.dakwah-head h3 { margin: 0; font-size: 1.1rem; color: var(--g900); }
.dakwah-head a { font-size: .85rem; font-weight: 600; white-space: nowrap; }
.dakwah-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.dakwah-list li { display: flex; gap: .75rem; align-items: flex-start; min-width: 0; }
.dakwah-list img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; background: var(--g100); }
.dakwah-list li > div { min-width: 0; }
.dakwah-list a { font-weight: 700; color: var(--ink); line-height: 1.35; overflow-wrap: anywhere; }
.dakwah-list .meta { font-size: .8rem; color: var(--muted); margin-top: .15rem; }

.gallery a { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: var(--g100); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: .6rem .8rem; color: #fff; font-size: .85rem; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
.gallery figure { margin: 0; }

/* Artikel */
.article { max-width: 780px; margin-inline: auto; }
.article .cover { border-radius: var(--radius); margin-bottom: 1.5rem; width: 100%; box-shadow: var(--shadow); }
.prose { font-size: 1.05rem; }
.prose h1, .prose h2, .prose h3 { color: var(--g900); line-height: 1.3; margin: 1.6em 0 .5em; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose blockquote { margin: 1.2em 0; padding: .6rem 1.1rem; border-left: 4px solid var(--g600); background: var(--cream-2); border-radius: 0 10px 10px 0; }
.prose a { text-decoration: underline; }

/* Form */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); display: grid; gap: 1rem; }
.form label { display: grid; gap: .3rem; font-weight: 600; font-size: .92rem; }
.form input, .form textarea { font: inherit; padding: .7rem .9rem; border: 1px solid #d9ccaa; border-radius: 10px; background: #fffdf6; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--g600); border-color: transparent; }
.err { color: #be123c; font-size: .82rem; font-weight: 600; }
.ok { background: var(--g100); color: var(--g900); border-radius: 12px; padding: .9rem 1.1rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1.2fr; align-items: start; }
.info-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.info-box h3 { margin-top: 0; color: var(--g900); }
.info-box dl { margin: 0; display: grid; gap: .8rem; }
.info-box dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.info-box dd { margin: 0; }

.pager { margin-top: 2rem; display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.pager a, .pager span { padding: .45rem .9rem; border-radius: 10px; background: var(--white); border: 1px solid var(--line); font-weight: 600; }
.pager .cur { background: var(--g700); color: #fff; border-color: var(--g700); }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Footer */
.site-footer { background: var(--g950); color: #cfe6da; padding: 2.6rem 0 1.2rem; margin-top: 0; }
.site-footer .cols { display: grid; gap: 2rem 2.5rem; grid-template-columns: 1.3fr 2.6fr .9fr; }
.site-footer h4 { color: #fff; margin: 0 0 .7rem; }
.site-footer a { color: #a7f3d0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer .copy { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: #8fb5a2; text-align: center; }

@media (max-width: 860px) {
    .nav-burger { display: inline-flex; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; }
    .nav-burger span { width: 24px; height: 3px; background: #fff; border-radius: 2px; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--g900); padding: .6rem 1rem 1rem; }
    .nav-toggle:checked ~ .nav { display: flex; }
    .nav .login { margin: .4rem 0 0; text-align: center; }
    .contact-grid, .site-footer .cols { grid-template-columns: 1fr; }
    .hero .wrap { padding: 3.5rem 0 3.2rem; }
}

/* ===== Tulisan Arab ===== */
@font-face {
    font-family: 'ArabicText';
    src: url('/fonts/amiri/Amiri-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
    size-adjust: 125%;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
    font-family: 'ArabicText';
    src: url('/fonts/amiri/Amiri-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
    size-adjust: 125%;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
body { font-family: 'Inter', 'ArabicText', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
/* Tiap paragraf/judul memilih arahnya sendiri: Arab = kanan ke kiri, Latin = kiri ke kanan */
.prose p, .prose h1, .prose h2, .prose h3, .prose li, .prose blockquote,
.card h3, .card p, .page-title h1, .page-title p, .hero h1, .hero p,
.program h3, .program p, .list-ann a, .gallery figcaption, .info-box dd, .section-head h2 {
    unicode-bidi: plaintext;
    text-align: start;
}
.prose { line-height: 1.9; }
.prose :lang(ar) { font-size: 1.15em; }
.hero h1, .hero p, .page-title h1, .page-title p { text-align: center; }
.prose img { border-radius: 12px; margin: 1em auto; }

/* ===== Teks berjalan (running text) ===== */
.ticker { background: #fff7d6; border-bottom: 1px solid #f0dc8a; color: #5b4300; font-size: .92rem; overflow: hidden; }
.ticker .wrap { display: flex; align-items: center; gap: .9rem; padding: .35rem 0; }
.ticker .label { flex: none; background: #b45309; color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 999px; }
.ticker .track-wrap { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker .track { display: inline-flex; white-space: nowrap; width: max-content; animation: ticker-scroll var(--ticker-duration, 30s) linear infinite; }
.ticker .track:hover { animation-play-state: paused; }
.ticker .group { display: inline-flex; align-items: center; }
.ticker .item { padding: 0 1.4rem; unicode-bidi: plaintext; font-weight: 600; }
.ticker .item::after { content: '✦'; margin-inline-start: 1.4rem; color: #d97706; }
.ticker a.item { color: #5b4300; }
.ticker a.item:hover { text-decoration: underline; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .ticker .track { animation: none; flex-wrap: wrap; white-space: normal; width: auto; }
    .ticker .group[aria-hidden="true"] { display: none; }
}
.ticker .group { min-width: 100vw; justify-content: space-around; }

/* ===== Menu turun-bawah (Profil, Program) ===== */
.nav-dropdown { position: relative; }
.nav-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--g900); border-radius: 12px; padding: .4rem; box-shadow: 0 12px 28px rgba(0, 0, 0, .3); z-index: 60; }
.nav-menu a { display: block; border-radius: 8px; padding: .5rem .8rem; font-size: .9rem; }
.nav-dropdown:hover .nav-menu, .nav-dropdown:focus-within .nav-menu { display: block; }
@media (max-width: 860px) {
    .nav-menu { display: block; position: static; background: rgba(255, 255, 255, .06); box-shadow: none; padding: .2rem .4rem; margin: 0 0 .3rem; }
    .nav-drop-toggle { pointer-events: none; opacity: .8; }
}
.prose img { max-width: 100%; height: auto; }
.nav a, .nav-drop-toggle { white-space: nowrap; }
.brand strong { font-size: .98rem; }

/* ===== Header tidak boleh bertumpuk (menu bertambah saat pendaftaran santri baru dibuka) =====
   Header sedikit lebih lebar dari isi halaman, menu dipadatkan di layar sedang, dan di bawah 1180px
   memakai menu hamburger. Nama pondok boleh turun baris, tetapi tidak menyusut sampai menimpa menu. */
.site-header .wrap { width: min(1240px, 100% - 2rem); flex-wrap: nowrap; }
.brand { flex: 0 1 auto; min-width: 200px; }
.brand span:not(.mark) { min-width: 0; }
.nav { flex: 0 0 auto; }
@media (min-width: 1181px) {
    .nav { gap: .1rem; }
    .nav a, .nav-drop-toggle { padding: .45rem .55rem; font-size: .88rem; }
    .brand strong { font-size: .92rem; }
}
@media (max-width: 1180px) {
    .nav-burger { display: inline-flex; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; }
    .nav-burger span { width: 24px; height: 3px; background: #fff; border-radius: 2px; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--g900); padding: .6rem 1rem 1rem; }
    .nav-toggle:checked ~ .nav { display: flex; }
    .nav .login { margin: .4rem 0 0; text-align: center; }
    .nav-menu { display: block; position: static; background: rgba(255, 255, 255, .06); box-shadow: none; padding: .2rem .4rem; margin: 0 0 .3rem; }
    .nav-drop-toggle { pointer-events: none; opacity: .8; }
    .nav-toggle:checked ~ .nav { max-height: calc(100vh - 4.5rem); overflow-y: auto; }
}

/* ===== Banner beranda berganti otomatis ===== */
.hero-slider { position: relative; overflow: hidden; background: #0d5025; color: #fff; }
.hs-track { display: grid; }
.hs-slide { grid-area: 1 / 1; min-height: 520px; display: flex; align-items: center; background-size: cover; background-position: center; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.hs-slide.is-active { opacity: 1; visibility: visible; }
.hs-content { max-width: 760px; padding: 4.5rem 0 5rem; }
.hs-content h1, .hs-content h2 { font-size: clamp(1.8rem, 4.6vw, 3rem); line-height: 1.18; margin: 0 0 1rem; font-weight: 900; letter-spacing: -.01em; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); unicode-bidi: plaintext; text-align: start; }
.hs-content p { font-size: 1.1rem; margin: 0 0 1.6rem; max-width: 640px; color: #eaf6ef; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); unicode-bidi: plaintext; text-align: start; }
.hs-content .btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.hs-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(10, 46, 33, .45); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; z-index: 5; }
.hs-arrow:hover { background: rgba(10, 46, 33, .75); }
.hs-prev { left: 14px; }
.hs-next { right: 14px; }
.hs-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: .55rem; z-index: 5; }
.hs-dot { width: 11px; height: 11px; border-radius: 999px; border: 1px solid #fff; background: transparent; padding: 0; cursor: pointer; transition: width .3s, background .3s; }
.hs-dot.is-active { width: 30px; background: #fff; }
@media (max-width: 860px) {
    .hs-slide { min-height: 460px; }
    .hs-content { padding: 3.2rem 0 4.2rem; }
    .hs-arrow { width: 38px; height: 38px; font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .hs-slide { transition: none; } }

/* ===== Konten tambahan: statistik, pengurus, agenda, jadwal, FAQ, testimoni, infaq ===== */
.stats-strip { background: var(--g900, #0f3d2c); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem; padding-block: 1.4rem; text-align: center; }
.stat b { display: block; font-size: 2rem; line-height: 1.1; font-weight: 800; color: #a7f3d0; }
.stat span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1.2rem; margin-bottom: 2rem; }
.team-lead { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.team-card { background: var(--white, #fff); border: 1px solid var(--line, #eadfc0); border-radius: var(--radius, 16px); padding: 1.3rem 1rem; text-align: center; box-shadow: var(--shadow, 0 4px 14px rgba(0,0,0,.06)); }
.team-card img, .team-initial { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto .8rem; display: block; }
.team-initial { display: grid; place-items: center; background: #d1fae5; color: #065f46; font-size: 2.2rem; font-weight: 800; }
.team-card h3 { margin: 0; font-size: 1.02rem; }
.team-pos { margin: .2rem 0 0; color: var(--g700, #047857); font-weight: 700; font-size: .85rem; }
.team-bio { margin: .5rem 0 0; color: var(--muted, #6b7a70); font-size: .85rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.chips a { padding: .35rem .9rem; border-radius: 999px; border: 1px solid var(--line, #eadfc0); background: #fff; font-size: .85rem; font-weight: 600; }
.chips a.on { background: var(--g700, #047857); color: #fff; border-color: transparent; }
.month { margin: 1.6rem 0 .8rem; font-size: 1.1rem; color: var(--g900, #0f3d2c); }
.event-list { display: grid; gap: .8rem; }
.event { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line, #eadfc0); border-left: 5px solid var(--c, #059669); border-radius: 14px; padding: .9rem 1rem; }
.event-date { flex: none; width: 3.4rem; text-align: center; color: var(--c, #059669); }
.event-date b { display: block; font-size: 1.6rem; line-height: 1; }
.event-date span { font-size: .75rem; text-transform: uppercase; font-weight: 700; }
.event-body h3 { margin: .15rem 0; font-size: 1.02rem; }
.event-body p { margin: .2rem 0 0; color: var(--muted, #6b7a70); font-size: .9rem; }
.tag { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c, #059669); }
.meta { color: var(--muted, #6b7a70); font-size: .88rem; }
.past-list { margin: 0; padding-left: 1.1rem; color: var(--muted, #6b7a70); }
.past-list span { font-size: .85rem; }

.sched-wrap { overflow-x: auto; }
.sched { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.sched th, .sched td { border: 1px solid var(--line, #eadfc0); padding: .6rem .8rem; text-align: left; vertical-align: top; font-size: .9rem; }
.sched thead th { background: var(--g900, #0f3d2c); color: #fff; }
.sched tbody th { background: #f6f1e0; width: 7rem; }
.sched td small { display: block; color: var(--muted, #6b7a70); }

.faq { background: #fff; border: 1px solid var(--line, #eadfc0); border-radius: 14px; margin-bottom: .7rem; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; list-style: none; }
.faq summary::after { content: '+'; float: right; color: var(--g700, #047857); font-size: 1.3rem; line-height: 1; }
.faq[open] summary::after { content: '–'; }
.faq-a { padding: 0 1.2rem 1.1rem; color: var(--muted, #4b5a50); line-height: 1.7; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line, #eadfc0); border-radius: var(--radius, 16px); padding: 1.3rem; box-shadow: var(--shadow, 0 4px 14px rgba(0,0,0,.06)); }
.quote blockquote { margin: 0 0 1rem; line-height: 1.7; }
.quote figcaption { display: flex; align-items: center; gap: .7rem; }
.quote figcaption img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.quote figcaption small { display: block; color: var(--muted, #6b7a70); }

.donate img { width: 100%; max-width: 15rem; display: block; margin: .5rem 0; border-radius: 10px; }
.donate .acc { font-size: 1.35rem; font-weight: 800; letter-spacing: .04em; color: var(--g900, #0f3d2c); margin: .4rem 0; word-break: break-all; }
.steps { padding-left: 1.2rem; line-height: 1.8; }
.notice { padding: .8rem 1rem; border-radius: 12px; margin-bottom: 1rem; }
.notice.ok { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.notice.err { background: #fff1f2; border: 1px solid #fda4af; color: #9f1239; }
.notice ul { margin: 0; padding-left: 1.1rem; }
.portal-band { background: #ecfdf5; border-bottom: 1px solid #a7f3d0; }
.portal-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; padding-block: .9rem; }
.portal-band p { margin: 0; color: #065f46; }

/* Tautan footer dibagi beberapa kolom agar footer tidak memanjang ke bawah */
.site-footer .footer-links { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.5rem; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > :nth-child(2) { grid-column: 1 / -1; order: 3; } .site-footer .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: 1fr; } .site-footer .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
