/* =========================================================
   Website Pondok Pesantren Al-Falah – Stylesheet utama
   Warna: merah maroon + emas, latar hijau samar
   ========================================================= */

:root {
  --maroon: #6B1424;
  --maroon-2: #7A1A2B;      /* kotak statistik, ikon */
  --maroon-3: #852536;      /* tempat foto di area maroon */
  --maroon-dark: #3B0A13;   /* footer */
  --gold: #C9971C;
  --gold-text: #8A6A1F;     /* emas untuk teks di latar terang */
  --bg: #EFF6F1;            /* latar halaman: hijau samar */
  --bg-band: #E2EEE6;       /* latar pita berita */
  --card: #F7FBF8;
  --line: #C9DED1;
  --ph: #B7D2C3;            /* tempat foto di latar terang */
  --ink: #1B2420;
  --ink-soft: #4A5A52;
  --on-dark: #F1DADD;
  --on-dark-soft: #E8C3C9;

  --serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --arab: 'Amiri', 'Traditional Arabic', serif;

  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 14px;
  --shadow: 0 16px 36px rgba(60, 10, 20, 0.22);
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: var(--maroon); }
a:hover { color: var(--gold-text); }
h1, h2, h3 { margin: 0; line-height: 1.25; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 24px);
}

/* Tempat foto sementara (sebelum foto asli diunggah) */
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--ph); color: #2E4A3C; font-size: 13px; padding: 12px;
}

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-family: var(--sans); font-size: 15px; font-weight: 700; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #D9A82C; color: var(--ink); }
.btn-outline { border: 1.5px solid rgba(255,255,255,.6); color: #fff; font-weight: 600; }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header & navigasi ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--maroon);
  border-bottom: 1px solid rgba(201,151,28,.25);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 80px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-top { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; }
.brand-name { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--gold); }
.brand-sub { font-size: 10.5px; color: var(--on-dark); padding-top: 3px; }

.nav-panel { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px 20px; }
.nav-list a {
  display: inline-block; padding: 8px 0;
  color: #fff; font-size: 14px; font-weight: 600; text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: var(--gold); }
.nav-list a.is-active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.45); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn:hover { color: var(--gold); border-color: var(--gold); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px; border-radius: 12px;
  background: transparent; border: 1.5px solid rgba(255,255,255,.4);
  cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--maroon); color: #fff; }
.hero-ornament {
  position: absolute; left: -160px; top: -60px; width: 520px; height: 520px;
  fill: none; stroke: #fff; stroke-width: .25; opacity: .06; pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center;
  gap: 48px; padding-top: 56px; padding-bottom: 120px;
}
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.badge {
  align-self: flex-start; border: 1px solid var(--gold); color: var(--gold);
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.hero h1 { font-family: var(--serif); font-size: clamp(30px, 3.6vw + 8px, 48px); line-height: 1.18; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: clamp(15px, 1vw + 10px, 17px); line-height: 1.75; color: var(--on-dark); max-width: 34em; }
.hero-media .hero-img {
  width: 100%; height: clamp(240px, 32vw, 420px); object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid rgba(201,151,28,.35);
}
.hero-media .ph { background: var(--maroon-3); color: var(--on-dark-soft); }

/* ---------- Statistik ---------- */
.stats-wrap { position: relative; margin-top: -72px; max-width: 1160px; }
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--maroon-2); color: #fff;
  border: 1px solid rgba(201,151,28,.45); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat { display: flex; align-items: center; gap: 16px; padding: 24px 28px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }
.stat-icon { color: var(--gold); flex-shrink: 0; display: flex; }
.stat strong { display: block; font-family: var(--serif); font-size: 26px; }
.stat span { font-size: 13px; color: var(--on-dark); }

/* ---------- Bagian umum ---------- */
.section { padding-top: 72px; padding-bottom: 64px; }
.section-tight { padding-top: 24px; padding-bottom: 48px; }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.section-head.center { text-align: center; align-items: center; }
.section-head.split { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(24px, 2vw + 12px, 34px); color: var(--maroon); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-text); }
.eyebrow-gold { color: var(--gold); }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: none; }

/* ---------- Program unggulan ---------- */
.program-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.program-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--maroon); color: #fff; text-decoration: none;
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease;
}
.program-card:hover { color: #fff; transform: translateY(-3px); box-shadow: var(--shadow); }
.program-img { width: 100%; height: 160px; object-fit: cover; }
.program-card .ph { background: var(--maroon-3); color: var(--on-dark-soft); }
.program-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 0 22px 22px; }
.program-icon {
  width: 48px; height: 48px; margin-top: -24px; position: relative;
  border-radius: 12px; background: var(--maroon-2); border: 1px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.program-body h3 { font-size: 18px; font-weight: 700; }
.program-body p { flex: 1; font-size: 14px; line-height: 1.65; color: var(--on-dark); }
.circle-arrow {
  align-self: flex-end; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Berita & dukungan ---------- */
.band { background: var(--bg-band); }
.news-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px; padding-top: 64px; padding-bottom: 64px; align-items: stretch;
}
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-card {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.news-card:hover { border-color: var(--gold); }
.news-img { width: 100%; height: 150px; object-fit: cover; }
.news-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.tag-berita { background: #F3E1E4; color: var(--maroon); }
.tag-kegiatan { background: #F5ECD3; color: #6E5418; }
.head-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.empty { padding: 28px; text-align: center; color: var(--ink-soft); background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius-sm); }
.news-body h3 { font-size: 15px; line-height: 1.45; color: var(--ink); }

.support-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  background: var(--maroon); color: #fff; border-radius: 22px; padding: 32px;
}
.support-card h2 { font-family: var(--serif); font-size: 24px; line-height: 1.3; }
.support-card p { font-size: 14px; line-height: 1.7; color: var(--on-dark); }
.support-card .btn { align-self: flex-start; }
.support-ornament {
  position: absolute; right: -50px; bottom: -50px; width: 220px; height: 220px;
  fill: none; stroke: #fff; stroke-width: .3; opacity: .08; pointer-events: none;
}

/* ---------- Lembaga ---------- */
.lembaga-group { font-size: 15px; font-weight: 700; color: var(--ink-soft); margin: 0 0 14px; }
.lembaga-grid + .lembaga-group { margin-top: 32px; }
.lembaga-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.lembaga-grid-nf { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lembaga-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 26px 16px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
}
.lembaga-card:hover { border-color: var(--gold); }
.lembaga-card strong { font-family: var(--serif); font-size: 20px; color: var(--maroon); line-height: 1.3; }
.lembaga-card span { font-size: 13px; color: var(--ink-soft); }

/* ---------- Sambutan ---------- */
.welcome {
  display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 44px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px;
}
.welcome-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.welcome-text { display: flex; flex-direction: column; gap: 16px; }
.arabic { font-family: var(--arab); font-size: 26px; color: var(--maroon); line-height: 1.6; }
.welcome blockquote { margin: 0; font-size: clamp(17px, .6vw + 13px, 19px); line-height: 1.75; }
.welcome-name { display: flex; flex-direction: column; }
.welcome-name strong { color: var(--maroon); }
.welcome-name span { font-size: 14px; color: var(--ink-soft); }

/* ---------- Ajakan PSB ---------- */
.cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  background: var(--maroon); color: #fff;
  border: 1px solid rgba(201,151,28,.45); border-radius: 26px; padding: 48px;
}
.cta-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.cta h2 { font-family: var(--serif); font-size: clamp(24px, 1.5vw + 14px, 30px); }
.cta-text p:last-child { font-size: 15px; line-height: 1.7; color: var(--on-dark); max-width: 40em; }

/* ---------- Halaman dalam (daftar & detail) ---------- */
.page-hero { background: var(--maroon); color: #fff; padding: 44px 0 48px; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(28px, 2.5vw + 14px, 40px); margin-top: 10px; }
.page-hero p { margin-top: 10px; color: var(--on-dark); max-width: 40em; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--on-dark-soft); }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb-dark { color: var(--ink-soft); }
.breadcrumb-dark a { color: var(--maroon); }
.news-grid-page { row-gap: 22px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; font-weight: 700; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); color: var(--maroon);
}
.pagination .is-current { background: var(--maroon); border-color: var(--maroon); color: #fff; }

.article { max-width: 820px; padding-top: 36px; padding-bottom: 48px; }
.article-head { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 24px; }
.article-head h1 { font-family: var(--serif); font-size: clamp(26px, 2.4vw + 14px, 38px); color: var(--maroon); line-height: 1.3; }
.article-img { width: 100%; height: clamp(220px, 40vw, 440px); object-fit: cover; border-radius: var(--radius); }
.article-body { margin-top: 28px; font-size: 17px; line-height: 1.85; }
.article-body p + p { margin-top: 1.1em; }
.related-title { font-family: var(--serif); font-size: 24px; color: var(--maroon); margin-bottom: 20px; }
.empty-box { max-width: 560px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty-box h1 { font-family: var(--serif); color: var(--maroon); }

/* ---------- Profil: visi & misi ---------- */
.vision {
  text-align: center; max-width: 900px; margin: 0 auto 56px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.vision blockquote {
  margin: 0; font-family: var(--serif); font-size: clamp(20px, 1.4vw + 13px, 28px);
  line-height: 1.6; color: var(--maroon); text-wrap: balance;
}
.mission { max-width: 900px; margin: 0 auto; }
.mission h2 { font-family: var(--serif); font-size: clamp(24px, 1.5vw + 14px, 30px); color: var(--maroon); margin-bottom: 20px; text-align: center; }
.mission-list { list-style: none; padding: 0; margin: 0; counter-reset: misi; display: grid; gap: 14px; }
.mission-list li {
  counter-increment: misi; position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px 18px 72px; line-height: 1.7;
}
.mission-list li::before {
  content: counter(misi); position: absolute; left: 18px; top: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--maroon); color: var(--gold);
  font-family: var(--serif); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.profile-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.profile-card h2 { font-family: var(--serif); font-size: 22px; color: var(--maroon); margin-bottom: 14px; }
.identity { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; font-size: 15px; }
.identity dt { color: var(--ink-soft); }
.identity dd { margin: 0; overflow-wrap: anywhere; }

/* ---------- Halaman pendidikan ---------- */
.edu-section { padding-top: 56px; }
.edu-section .section-head h2 { text-align: left; }
.section-lead { color: var(--ink-soft); max-width: 44em; }
.edu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.edu-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.edu-badge {
  align-self: flex-start; background: var(--maroon); color: var(--gold);
  font-family: var(--serif); font-weight: 700; font-size: 15px;
  padding: 6px 14px; border-radius: 10px;
}
.edu-card h3 { font-size: 18px; color: var(--ink); }
.edu-card p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 24px; background: var(--maroon-dark); color: #EBD8DA; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-top: 56px; padding-bottom: 28px; }
.footer-about { display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.7; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 60px; height: 60px; object-fit: contain; }
.footer-brand strong { display: block; color: #fff; font-size: 16px; }
.footer-brand span { font-size: 13px; color: var(--gold); }
.footer-sk { font-size: 12px; color: #C9A3A8; }
.footer-title { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.footer-links a, .footer-links span { color: #EBD8DA; text-decoration: none; display: inline-block; padding: 6px 0; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid #5A1A26; padding-top: 18px; padding-bottom: 26px; font-size: 13px; color: #C9A3A8; }

/* =========================================================
   RESPONSIF
   ========================================================= */

/* Laptop kecil & tablet landscape: menu jadi tombol ☰ */
@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--maroon); padding: 12px clamp(16px, 4vw, 24px) 24px;
    border-bottom: 1px solid rgba(201,151,28,.3);
    box-shadow: 0 18px 30px rgba(40, 6, 12, .35);
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .nav-panel.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { display: block; padding: 14px 4px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-list a.is-active { border-bottom-color: rgba(255,255,255,.1); }
  .nav-actions { justify-content: space-between; }
  .nav-actions .btn { flex: 1; }

  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lembaga-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .news-layout { grid-template-columns: minmax(0, 1fr); }
  .support-card { padding: 28px; }
}

/* Tablet */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; padding-bottom: 104px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .welcome { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 32px; }
  .profile-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

/* HP */
@media (max-width: 600px) {
  .header-bar { min-height: 68px; }
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 20px; }
  .brand-sub { display: none; }
  .nav-panel { max-height: calc(100vh - 68px); }

  .hero-grid { padding-top: 28px; padding-bottom: 92px; gap: 24px; }
  .hero .btn-row .btn { flex: 1 1 auto; }

  .stats-wrap { margin-top: -64px; }
  .stat { padding: 16px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .stat-icon svg { width: 28px; height: 28px; }
  .stat strong { font-size: 20px; }
  .stat span { font-size: 12px; }

  .section { padding-top: 52px; padding-bottom: 44px; }
  .program-grid { grid-template-columns: minmax(0, 1fr); }
  .news-layout { padding-top: 48px; padding-bottom: 48px; }
  .news-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .news-card { flex-direction: row; }
  .news-card .news-img { width: 112px; height: auto; min-height: 96px; flex-shrink: 0; }
  .lembaga-grid, .lembaga-grid-nf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mission-list li { padding: 16px 16px 16px 62px; }
  .mission-list li::before { left: 14px; width: 34px; height: 34px; }
  .profile-card { padding: 22px; }
  .identity { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .identity dd { margin-bottom: 10px; }
  .lembaga-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

  .welcome { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 22px; }
  .welcome-photo { width: 100%; max-width: 240px; margin-inline: auto; }
  .arabic { font-size: 22px; }

  .cta { padding: 28px 22px; border-radius: 22px; }
  .cta .btn-row { width: 100%; }
  .cta .btn { flex: 1 1 auto; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* Hormati pengguna yang mematikan animasi */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
