/* ============================================================================
   ALFATIHRPS — Portal Komunitas Dakwah Flagship Layer (v5 Sesitus)
   [edit: Antigravity · 2026-11-27]
   - Identitas khas: Biru Lapis Lazuli Malam (#081730 -> #14366b -> #1d4a8c)
     + Emas Manuskrip (#c9973b/#f6dc9b) + Kertas Hangat (#faf8f4).
   - 100% serasi logo AlFatihRPS, 100% beda rasa dari Mobil Listrik (biru tech)
     dan Pangan Indonesia (hijau agraria).
   - Berlaku SESITUS: Beranda (.alf-page-home) + Halaman Dalam (.alf-page-inner:
     artikel, doa, kategori, panduan).
   - 0 perubahan teks agama/dalil/DB, 0-OpenRouter, 0-CDN luar selain font.
   ============================================================================ */

:root {
  --alf-bg: #faf8f4;
  --alf-surface: #ffffff;
  --alf-ink: #0f172a;
  --alf-muted: #475569;
  --alf-line: #dce3ee;
  --alf-line-soft: #eef2f8;
  --alf-pri-night: #081730;
  --alf-pri-deep: #0e254c;
  --alf-pri: #14366b;
  --alf-pri-mid: #1d4a8c;
  --alf-pri-soft: #edf3fc;
  --alf-gold: #c9973b;
  --alf-gold-hi: #e5c374;
  --alf-gold-pale: #f6dc9b;
  --alf-gold-soft: #fdf8eb;
}

/* 1. KANVAS KERTAS HANGAT + ANTI-OVERFLOW GLOBAL (SESITUS) */
html,
html body.alf-page-home,
html body.alf-page-inner {
  background: var(--alf-bg) !important;
  color: var(--alf-ink) !important;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif !important;
  overflow-x: clip !important;
  max-width: 100% !important;
}
html body.alf-page-home *,
html body.alf-page-inner * {
  box-sizing: border-box;
}

/* Tipografi Newsreader Serif untuk tajuk editorial & artikel berwibawa */
html body.alf-page-home h1,
html body.alf-page-home h2,
html body.alf-page-home .home-hero-split h2,
html body.alf-page-home #hero-carousel h1,
html body.alf-page-home #hero-carousel h2,
html body.alf-page-home .desktop-spotlight-heading h3,
html body.alf-page-home .home-guide-heading h2,
html body.alf-page-inner h1,
html body.alf-page-inner article h1,
html body.alf-page-inner article h2 {
  font-family: "Newsreader", Georgia, "Times New Roman", serif !important;
  letter-spacing: -0.015em !important;
}

/* 2. GERAK HALUS HIDUP (KEN BURNS HERO + DENYUT LIVE + PITA BERJALAN) */
@keyframes alf-hero-drift {
  0%   { transform: scale(1) translate3d(0, 0, 0); }
  50%  { transform: scale(1.06) translate3d(-1.2%, -0.8%, 0); }
  100% { transform: scale(1) translate3d(0, 0, 0); }
}
@keyframes alf-pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  70%  { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
@keyframes alf-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

html body.alf-page-home #hero-carousel .hero-slide.is-active img {
  animation: alf-hero-drift 14s ease-in-out infinite !important;
  will-change: transform;
}

/* Pita Bergerak Komunitas Hidup (Live Community Ticker Strip — halus, informatif, pause saat hover) */
html body.alf-page-home .alf-live-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 11px;
  background: #ffffff;
  border: 1px solid #d4dfef;
  box-shadow: 0 3px 10px rgba(8, 23, 48, 0.05);
  overflow: hidden;
}
html body.alf-page-home .alf-ls-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #081730, #14366b);
  color: #f6dc9b;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
html body.alf-page-home .alf-ls-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  animation: alf-pulse-ring 2s infinite;
}
html body.alf-page-home .alf-ls-track-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
html body.alf-page-home .alf-ls-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: alf-marquee 34s linear infinite;
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
}
html body.alf-page-home .alf-live-strip:hover .alf-ls-track {
  animation-play-state: paused;
}
html body.alf-page-home .alf-ls-track b {
  color: #14366b;
  font-weight: 800;
}
html body.alf-page-home .alf-ls-sep {
  color: #c9973b;
  font-weight: 900;
}
html body.alf-page-home .alf-ls-cta {
  flex: none;
  padding: 5px 11px;
  border-radius: 8px;
  background: #edf3fc;
  border: 1px solid #c6d7f0;
  color: #0e254c;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
html body.alf-page-home .alf-ls-cta:hover {
  background: #14366b;
  color: #f6dc9b;
}

/* Hilangkan celah putih kosong AOS */
html body.alf-page-home .home-promo-wrap,
html body.alf-page-home .home-promo-card,
html body.alf-page-home .home-promo-card[data-aos],
html body.alf-page-home .home-hero-split,
html body.alf-page-home .home-hero-split[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: box-shadow 0.25s ease !important;
}

/* Promo Banner "Apresiasi Tahunan" (Umrah): pita prestige kertas emas + garis kiri Biru Lapis */
html body.alf-page-home .home-promo-card {
  background: linear-gradient(95deg, #fffdf8 0%, #f6efe0 100%) !important;
  border: 1px solid #dfd0a8 !important;
  border-left: 4px solid #14366b !important;
  box-shadow: 0 5px 18px rgba(8, 23, 48, 0.06) !important;
}
html body.alf-page-home .home-promo-card > .absolute.inset-0 {
  display: none !important;
}

/* 3. HARMONISASI WARNA SESITUS: SAPU BERSIH UNGU/INDIGO AI -> BIRU LAPIS & EMAS */
html body.alf-page-home .bg-indigo-600,
html body.alf-page-home .bg-indigo-700,
html body.alf-page-home .bg-indigo-500,
html body.alf-page-home .bg-indigo-600\/90,
html body.alf-page-inner .bg-indigo-600,
html body.alf-page-inner .bg-indigo-700,
html body.alf-page-inner .bg-indigo-500 {
  background: linear-gradient(135deg, #0e254c 0%, #14366b 58%, #1d4a8c 100%) !important;
  border-color: rgba(201, 151, 59, 0.38) !important;
}
html body.alf-page-home .hover\:bg-indigo-600:hover,
html body.alf-page-home .hover\:bg-indigo-700:hover,
html body.alf-page-inner .hover\:bg-indigo-600:hover,
html body.alf-page-inner .hover\:bg-indigo-700:hover {
  background: #0e254c !important;
}
html body.alf-page-home .bg-indigo-50,
html body.alf-page-home .bg-indigo-100,
html body.alf-page-home .bg-indigo-500\/10,
html body.alf-page-home .bg-indigo-600\/10,
html body.alf-page-inner .bg-indigo-50,
html body.alf-page-inner .bg-indigo-100 {
  background-color: #edf3fc !important;
}
html body.alf-page-home .bg-indigo-950,
html body.alf-page-home .via-indigo-950,
html body.alf-page-home .from-indigo-950,
html body.alf-page-home .to-indigo-950,
html body.alf-page-home .from-indigo-900,
html body.alf-page-home .via-indigo-900,
html body.alf-page-inner .bg-indigo-950,
html body.alf-page-inner .from-indigo-950 {
  --tw-gradient-from: #081730 var(--tw-gradient-from-position) !important;
  --tw-gradient-via: #112d5c var(--tw-gradient-via-position) !important;
  --tw-gradient-to: #1b4482 var(--tw-gradient-to-position) !important;
  background-color: #0e254c !important;
}
html body.alf-page-home .border-indigo-600,
html body.alf-page-home .border-indigo-500,
html body.alf-page-home .border-indigo-200,
html body.alf-page-home .border-indigo-100,
html body.alf-page-inner .border-indigo-600,
html body.alf-page-inner .border-indigo-500,
html body.alf-page-inner .border-indigo-200 {
  border-color: #14366b !important;
}
html body.alf-page-home .border-indigo-500\/25,
html body.alf-page-home .border-indigo-500\/20,
html body.alf-page-inner .border-indigo-500\/25 {
  border-color: rgba(201, 151, 59, 0.4) !important;
}
html body.alf-page-home .text-indigo-600,
html body.alf-page-home .text-indigo-700,
html body.alf-page-home .text-indigo-500,
html body.alf-page-inner .text-indigo-600,
html body.alf-page-inner .text-indigo-700,
html body.alf-page-inner .text-indigo-500 {
  color: #14366b !important;
}
html body.alf-page-home .text-indigo-300,
html body.alf-page-home .text-indigo-200,
html body.alf-page-inner .text-indigo-300,
html body.alf-page-inner .text-indigo-200 {
  color: #f6dc9b !important;
}
html body.alf-page-home .group:hover .group-hover\:text-indigo-600,
html body.alf-page-inner .group:hover .group-hover\:text-indigo-600 {
  color: #14366b !important;
}
html body.alf-page-home .portal-section-label,
html body.alf-page-inner .portal-section-label {
  color: #14366b !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
}

/* 4. TOMBOL CARI 1-KETUK & PANEL PENCARIAN #alfTopSearch (SESITUS) */
html body.alf-page-home .alf-hdr-search-btn,
html body.alf-page-inner .alf-hdr-search-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--alf-pri-soft);
  border: 1px solid #c6d7f0;
  color: var(--alf-pri-deep);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
html body.alf-page-home .alf-hdr-search-btn:hover,
html body.alf-page-inner .alf-hdr-search-btn:hover {
  background: #dce8fb;
  border-color: #14366b;
}
html body.alf-page-home .alf-hdr-search-btn svg,
html body.alf-page-inner .alf-hdr-search-btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

html body.alf-page-home #alfTopSearch.alf-search-open,
html body.alf-page-inner #alfTopSearch.alf-search-open {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  visibility: visible !important;
  position: fixed !important;
  top: 58px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  z-index: 58 !important;
  background: rgba(250, 248, 244, 0.98) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--alf-line) !important;
  padding: 10px 14px !important;
  box-shadow: 0 12px 28px rgba(8, 23, 48, 0.14) !important;
}
html body.alf-page-home #alfTopSearch .alf-search-box,
html body.alf-page-inner #alfTopSearch .alf-search-box {
  border-color: #14366b !important;
}
html body.alf-page-home #alfTopSearch .alf-search-results,
html body.alf-page-inner #alfTopSearch .alf-search-results {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Tombol mekar khusus HP; top-util khusus Desktop */
html body.alf-page-home .alf-guide-more {
  display: none !important;
}
html body.alf-page-home .alf-top-util,
html body.alf-page-inner .alf-top-util {
  display: none !important;
}

/* 5. SERAGAMKAN SEMUA 14 KARTU PANDUAN KEILMUAN (TERMASUK KARTU 1 — BIRU LAPIS & EMAS) */
html body.alf-page-home .home-guide-grid .panduan-ibadah-card,
html body.alf-page-home .home-guide-grid .panduan-ibadah-card[href] {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafd 100%) !important;
  background-image: linear-gradient(180deg, #ffffff 0%, #f8fafd 100%) !important;
  border: 1px solid #d9e2ef !important;
  border-radius: 13px !important;
  padding: 13px 14px !important;
  box-shadow: 0 2px 10px rgba(8, 23, 48, 0.04) !important;
  color: var(--alf-ink) !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  min-height: 0 !important;
  transition: border-color 0.16s, transform 0.14s, box-shadow 0.16s !important;
}
html body.alf-page-home .home-guide-grid .panduan-ibadah-card::before,
html body.alf-page-home .home-guide-grid .panduan-ibadah-card::after {
  display: none !important;
}
html body.alf-page-home .home-guide-grid .panduan-ibadah-card:hover {
  border-color: #14366b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(8, 23, 48, 0.1) !important;
}
html body.alf-page-home .home-guide-grid a.panduan-ibadah-card > .panduan-ibadah-icon,
html body.alf-page-home .home-guide-grid .panduan-ibadah-icon,
html body.alf-page-home .home-guide-grid .panduan-ibadah-icon[style] {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #0e254c 0%, #1d4a8c 100%) !important;
  border: 1px solid rgba(201, 151, 59, 0.48) !important;
  box-shadow: 0 4px 10px rgba(8, 23, 48, 0.15) !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  flex: none !important;
}
html body.alf-page-home .home-guide-grid a.panduan-ibadah-card > .panduan-ibadah-icon svg,
html body.alf-page-home .home-guide-grid .panduan-ibadah-icon svg {
  color: #f6dc9b !important;
  width: 19px !important;
  height: 19px !important;
  display: block !important;
}
html body.alf-page-home .home-guide-grid .panduan-ibadah-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  min-width: 0 !important;
  flex: 1 !important;
}
html body.alf-page-home .home-guide-grid .panduan-ibadah-tag,
html body.alf-page-home .home-guide-grid .panduan-ibadah-tag[style] {
  background: #edf3fc !important;
  color: #14366b !important;
  font-size: 0.61rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.07em !important;
  padding: 2px 7px !important;
  border-radius: 999px !important;
  margin-bottom: 4px !important;
}
html body.alf-page-home .home-guide-grid .panduan-ibadah-card .panduan-ibadah-title,
html body.alf-page-home .home-guide-grid .panduan-ibadah-card[href] .panduan-ibadah-title {
  color: var(--alf-ink) !important;
  text-shadow: none !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 750 !important;
  line-height: 1.28 !important;
  margin: 0 !important;
  text-align: left !important;
}
html body.alf-page-home .home-guide-grid .panduan-ibadah-card .panduan-ibadah-desc,
html body.alf-page-home .home-guide-grid .panduan-ibadah-card[href] .panduan-ibadah-desc {
  color: var(--alf-muted) !important;
  text-shadow: none !important;
  font-size: 0.74rem !important;
  line-height: 1.42 !important;
  text-align: left !important;
  margin-top: 3px !important;
  -webkit-line-clamp: 2 !important;
}
html body.alf-page-home .home-guide-grid .panduan-ibadah-cta {
  display: none !important;
}

/* 6. KONTRAS AA KARTU "LIVE IBADAH" (Biru Lapis Malam + Emas) */
html body.alf-page-home .alf-live-ibadah-card {
  background: linear-gradient(145deg, #081730 0%, #112d5c 60%, #1a4484 100%) !important;
  border: 1px solid rgba(201, 151, 59, 0.46) !important;
  box-shadow: 0 14px 32px rgba(8, 23, 48, 0.24) !important;
}
html body.alf-page-home .alf-live-ibadah-card .blur-3xl,
html body.alf-page-home .alf-live-ibadah-card [class*="blur-"] {
  opacity: 0.08 !important;
}
html body.alf-page-home .alf-live-ibadah-card #home-clock,
html body.alf-page-home .alf-live-ibadah-card .text-slate-400 {
  color: #e2ecfa !important;
}
html body.alf-page-home .alf-live-ibadah-card .text-indigo-300,
html body.alf-page-home .alf-live-ibadah-card .text-indigo-200 {
  color: #f6dc9b !important;
}
html body.alf-page-home .alf-live-ibadah-card #home-next-sholat {
  color: #6ee7b7 !important;
}

/* 7. PANEL CHAT CS TEAM ALFATIHRPS (#alfAsistenPanel) & BACK-TO-TOP (#alfBackTop) — SESITUS */
html body.alf-page-home #alfAsistenPanel,
html body.alf-page-inner #alfAsistenPanel {
  border: 1px solid rgba(201, 151, 59, 0.45) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 22px 52px rgba(8, 23, 48, 0.34) !important;
  background: #faf8f4 !important;
  color: #0f172a !important;
}
html body.alf-page-home #alfAsistenPanel .alf-as-head,
html body.alf-page-inner #alfAsistenPanel .alf-as-head {
  background: linear-gradient(115deg, #081730 0%, #112d5c 58%, #1d4a8c 100%) !important;
  border-bottom: 1px solid rgba(201, 151, 59, 0.42) !important;
  color: #ffffff !important;
}
html body.alf-page-home #alfAsistenPanel .alf-as-wa,
html body.alf-page-home #alfAsistenPanel .alf-as-send,
html body.alf-page-inner #alfAsistenPanel .alf-as-wa,
html body.alf-page-inner #alfAsistenPanel .alf-as-send {
  background: linear-gradient(135deg, #0e254c, #1d4a8c) !important;
  color: #ffffff !important;
}
html body.alf-page-home #alfBackTop,
html body.alf-page-inner #alfBackTop {
  z-index: 42 !important;
  background: linear-gradient(135deg, #0e254c, #1d4a8c) !important;
  border: 1px solid rgba(201, 151, 59, 0.5) !important;
  box-shadow: 0 6px 18px rgba(8, 23, 48, 0.28) !important;
}

/* Footer SESITUS (v7): Biru Lapis Malam Luwes, Hangat & Proporsional (Anti-Kaku!) */
html body.alf-page-home footer.alf-ft-v7,
html body.alf-page-inner footer.alf-ft-v7 {
  background:
    radial-gradient(circle at 88% 12%, rgba(201, 151, 59, 0.14), transparent 28rem),
    radial-gradient(circle at 12% 85%, rgba(29, 74, 140, 0.28), transparent 26rem),
    linear-gradient(160deg, #07142b 0%, #0d2246 55%, #133163 100%) !important;
  border-top: 3px solid #c9973b !important;
  color: #cfe0f5 !important;
  padding: 44px 0 88px !important;
}
@media (min-width: 1024px) {
  html body.alf-page-home footer.alf-ft-v7,
  html body.alf-page-inner footer.alf-ft-v7 {
    padding: 48px 0 36px !important;
  }
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-in,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-in {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 1024px) {
  html body.alf-page-home footer.alf-ft-v7 .alf-ft-in,
  html body.alf-page-inner footer.alf-ft-v7 .alf-ft-in {
    padding: 0 2rem;
  }
}
/* Pita Ajakan Komunitas Luwes di Atas Footer */
html body.alf-page-home footer.alf-ft-v7 .alf-ft-cta,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  margin-bottom: 34px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(246, 220, 155, 0.28);
  backdrop-filter: blur(8px);
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-cta-k,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-cta-k {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f6dc9b;
  margin-bottom: 4px;
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-cta h3,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-cta h3 {
  font-family: "Newsreader", Georgia, serif !important;
  font-size: 1.42rem;
  line-height: 1.25;
  color: #ffffff !important;
  margin: 0;
  font-weight: 700;
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-cta-btns,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-btn-gold,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e5c374 0%, #c9973b 100%);
  color: #07142b !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.16s, filter 0.16s;
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-btn-gold:hover,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-btn-gold:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-btn-wa,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.16s, border-color 0.16s;
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-btn-wa:hover,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-btn-wa:hover {
  background: rgba(37, 211, 102, 0.22);
  border-color: rgba(52, 211, 153, 0.6);
}
/* Grid 4 Kolom Seimbang di Desktop (2 Kolom rapi di HP) */
html body.alf-page-home footer.alf-ft-v7 .alf-ft-grid,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) {
  html body.alf-page-home footer.alf-ft-v7 .alf-ft-grid,
  html body.alf-page-inner footer.alf-ft-v7 .alf-ft-grid {
    grid-template-columns: 1.55fr 1fr 1fr 1fr;
    gap: 34px;
  }
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-brand,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
  text-decoration: none;
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-brand img,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-brand img {
  height: 36px;
  width: auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: 3px;
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-brand span,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-brand span {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.38rem;
  font-weight: 800;
  color: #ffffff;
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-brand em,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-brand em {
  font-style: normal;
  color: #f6dc9b;
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-desc,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-desc {
  color: #b8cde8;
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 34ch;
  margin: 0 0 16px;
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-soc,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-soc {
  display: flex;
  gap: 9px;
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-soc a,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-soc a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #dce9fa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, border-color 0.16s, transform 0.16s;
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-soc a:hover,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-soc a:hover {
  background: rgba(201, 151, 59, 0.25);
  border-color: #f6dc9b;
  color: #f6dc9b;
  transform: translateY(-2px);
}
html body.alf-page-home footer.alf-ft-v7 h4,
html body.alf-page-inner footer.alf-ft-v7 h4 {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #f6dc9b !important;
  margin: 0 0 13px;
}
html body.alf-page-home footer.alf-ft-v7 ul,
html body.alf-page-inner footer.alf-ft-v7 ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
html body.alf-page-home footer.alf-ft-v7 ul a,
html body.alf-page-inner footer.alf-ft-v7 ul a {
  color: #cfe0f5;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s, transform 0.15s;
}
html body.alf-page-home footer.alf-ft-v7 ul a:hover,
html body.alf-page-inner footer.alf-ft-v7 ul a:hover {
  color: #ffffff;
  transform: translateX(3px);
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-bot,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-bot {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: #a9c2e3;
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-bot a,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-bot a {
  color: #f6dc9b;
  font-weight: 700;
  text-decoration: none;
}
html body.alf-page-home footer.alf-ft-v7 .alf-ft-bot a:hover,
html body.alf-page-inner footer.alf-ft-v7 .alf-ft-bot a:hover {
  text-decoration: underline;
}

/* 8. GAMBAR ARTIKEL FULL-WIDTH & TIPOGRAFI TEDUH NYAMAN DIBACA (SESITUS — 0 UBAH TEKS DALIL!) */
/* 8A. Kartu Artikel Beranda (#posts-container Kabar Terbaru):
   Kombinasi Editorial 3-Baris di Desktop (1 Full-Width Featured + 2 Medium + 3 Ringkas = 6-col grid!) */
html body.alf-page-home #posts-container {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
html body.alf-page-home #posts-container .portal-feed-card {
  grid-column: span 3 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  border: 1px solid #d9e2ef !important;
  border-radius: 15px !important;
  box-shadow: 0 4px 14px rgba(8, 23, 48, 0.05) !important;
  overflow: hidden !important;
  transition: border-color 0.16s, transform 0.16s, box-shadow 0.16s !important;
}
html body.alf-page-home #posts-container .portal-feed-card:hover {
  border-color: #14366b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 26px rgba(8, 23, 48, 0.11) !important;
}
/* Baris 1 (Kartu 1, 7, ...): Sorotan Penuh Horizontal (56% foto kiri | 44% teks kanan) */
@media (min-width: 1024px) {
  /* Baris 1 (Kartu 1, 7, ...): Sorotan Penuh Horizontal (54% foto kiri | 46% teks kanan) + anti-orphan kartu terakhir */
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+1),
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+2):last-child,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+4):last-child {
    grid-column: span 6 !important;
    flex-direction: row !important;
    align-items: stretch !important;
  }
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+1) .portal-image-shell,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+2):last-child .portal-image-shell,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+4):last-child .portal-image-shell {
    width: 54% !important;
    max-width: 54% !important;
    aspect-ratio: 16 / 10 !important;
    min-height: 250px !important;
  }
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+1) > div:last-child,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+2):last-child > div:last-child,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+4):last-child > div:last-child {
    width: 46% !important;
    padding: 22px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+1) h3,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+1) h4,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+2):last-child h3,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+2):last-child h4,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+4):last-child h3,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+4):last-child h4 {
    font-size: 1.44rem !important;
    line-height: 1.22 !important;
    margin-bottom: 10px !important;
  }
  /* Jika baris 3 hanya berisi 2 kartu tersisa (total 5/11), bagi rata 2 kolom (span 3) agar tidak bolong */
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+4):nth-last-child(2),
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+5):last-child {
    grid-column: span 3 !important;
  }
  /* Baris 2 (Kartu 2 & 3): 2 Kolom Visual Penuh */
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+2),
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+3) {
    grid-column: span 3 !important;
  }
  /* Baris 3 (Kartu 4, 5, 6): 3 Kolom Padat Informatif */
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+4),
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+5),
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+6) {
    grid-column: span 2 !important;
  }
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+4) .portal-image-shell,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+5) .portal-image-shell,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+6) .portal-image-shell {
    aspect-ratio: 16 / 10 !important;
  }
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+4) > div:last-child,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+5) > div:last-child,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+6) > div:last-child {
    padding: 12px 13px 14px !important;
  }
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+4) h3,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+4) h4,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+5) h3,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+5) h4,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+6) h3,
  html body.alf-page-home #posts-container .portal-feed-card:nth-child(6n+6) h4 {
    font-size: 0.98rem !important;
    line-height: 1.3 !important;
  }
}
html body.alf-page-home #posts-container .portal-feed-card .portal-image-shell {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: none !important;
  background: linear-gradient(135deg, #edf3fc 0%, #f8fafd 55%, #fdf8eb 100%) !important;
}
html body.alf-page-home #posts-container .portal-feed-card .portal-image-shell img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
html body.alf-page-home #posts-container .portal-feed-card > div:last-child {
  padding: 14px 16px 16px !important;
  width: 100% !important;
  min-width: 0 !important;
}
html body.alf-page-home #posts-container .portal-feed-card h3,
html body.alf-page-home #posts-container .portal-feed-card h4 {
  font-family: "Newsreader", Georgia, serif !important;
  font-size: 1.14rem !important;
  line-height: 1.3 !important;
  font-weight: 750 !important;
  color: #0f172a !important;
  margin-bottom: 6px !important;
}

/* 8B. 10 Update Terakhir & Sorotan Lainnya: ganti kotak mini 84px -> kartu lebar bergambar 16:10 penuh */
html body.alf-page-home #latest-update-carousel {
  gap: 12px !important;
}
html body.alf-page-home #latest-update-carousel > a,
html body.alf-page-home #sorotan-carousel > a {
  width: 230px !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  border: 1px solid #d9e2ef !important;
  border-radius: 13px !important;
  overflow: hidden !important;
  box-shadow: 0 3px 10px rgba(8, 23, 48, 0.05) !important;
}
html body.alf-page-home #latest-update-carousel > a > div:first-child,
html body.alf-page-home #sorotan-carousel > a > div:first-child {
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  border-radius: 0 !important;
  border: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
}
html body.alf-page-home #latest-update-carousel > a p,
html body.alf-page-home #latest-update-carousel > a h4,
html body.alf-page-home #latest-update-carousel > a span,
html body.alf-page-home #sorotan-carousel > a p,
html body.alf-page-home #sorotan-carousel > a h4 {
  padding: 9px 11px 11px !important;
  font-size: 0.9rem !important;
  line-height: 1.32 !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

/* 8C. Halaman Dalam Artikel (article.php): Gambar Utama & Gambar Isi FULL-WIDTH + Huruf Nyaman Dibaca */
html body.alf-page-inner .article-page-card {
  border-color: #dce3ee !important;
  box-shadow: 0 8px 26px rgba(8, 23, 48, 0.06) !important;
}
html body.alf-page-inner .article-page-card h1.article-title {
  font-size: 2.35rem !important;
  line-height: 1.18 !important;
  color: #0e254c !important;
}
html body.alf-page-inner .article-page-card .article-hero-media {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 28px rgba(8, 23, 48, 0.14) !important;
  --tw-ring-shadow: 0 0 #0000 !important;
  border: 1px solid #d4dfef !important;
  overflow: hidden !important;
}
html body.alf-page-inner .article-page-card .article-hero-media img {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  max-height: 540px !important;
  object-fit: cover !important;
  display: block !important;
}
html body.alf-page-inner .article-page-card img:not(.w-6):not(.w-8):not(.w-10) {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 14px !important;
  object-fit: cover !important;
}
html body.alf-page-inner article,
html body.alf-page-inner .prose {
  color: #1e293b !important;
  font-size: 1.05rem !important;
  line-height: 1.78 !important;
}
html body.alf-page-inner article p,
html body.alf-page-inner .prose p,
html body.alf-page-inner .article-content p {
  font-size: 1.05rem !important;
  line-height: 1.78 !important;
  color: #1e293b !important;
}
html body.alf-page-inner article blockquote,
html body.alf-page-inner .prose blockquote {
  border-left: 4px solid #c9973b !important;
  background: #fdf9ef !important;
  padding: 14px 18px !important;
  border-radius: 0 12px 12px 0 !important;
  color: #0e254c !important;
}
html body.alf-page-inner [dir="rtl"],
html body.alf-page-inner .font-arabic,
html body.alf-page-inner .arabic-text {
  font-family: "Amiri", serif !important;
  font-size: 1.72rem !important;
  line-height: 2.2 !important;
}

/* 9. ZONA IKLAN & MITRA HALAL ELEGAN (v9 — 3 Slot Strategis, Beradab, 0 Mengganggu Dalil!) */
html body.alf-page-home .alf-ad-zone,
html body.alf-page-inner .alf-ad-zone {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.16s, box-shadow 0.16s, transform 0.15s;
}
/* Zona 1: Leaderboard Horizontal Beranda (di antara Arsip Keilmuan & Sorotan/Kabar Terbaru) */
html body.alf-page-home .alf-ad-leaderboard {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 24px;
  padding: 18px 24px;
  background:
    radial-gradient(circle at 96% 12%, rgba(201, 151, 59, 0.16), transparent 18rem),
    linear-gradient(100deg, #fffdf9 0%, #f5f0e3 58%, #eef4fc 100%);
  border: 1px solid #dfd2b0;
  border-left: 4px solid #c9973b;
  box-shadow: 0 6px 20px rgba(8, 23, 48, 0.06);
}
html body.alf-page-home .alf-ad-leaderboard:hover {
  border-color: #14366b;
  box-shadow: 0 12px 28px rgba(8, 23, 48, 0.1);
}
html body.alf-page-home .alf-ad-tag,
html body.alf-page-inner .alf-ad-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(14, 37, 76, 0.08);
  border: 1px solid rgba(20, 54, 107, 0.18);
  color: #14366b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
html body.alf-page-home .alf-ad-leaderboard h3 {
  font-family: "Newsreader", Georgia, serif !important;
  font-size: 1.24rem !important;
  line-height: 1.25 !important;
  font-weight: 750 !important;
  color: #0e254c !important;
  margin: 0 0 4px !important;
}
html body.alf-page-home .alf-ad-leaderboard p {
  color: #475569 !important;
  font-size: 0.85rem !important;
  line-height: 1.48 !important;
  margin: 0 !important;
  max-width: 58ch;
}
html body.alf-page-home .alf-ad-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  flex: none;
}
html body.alf-page-home .alf-ad-btn-pri,
html body.alf-page-inner .alf-ad-btn-pri {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0e254c 0%, #1d4a8c 100%);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s, filter 0.15s;
}
html body.alf-page-home .alf-ad-btn-pri:hover,
html body.alf-page-inner .alf-ad-btn-pri:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}
html body.alf-page-home .alf-ad-btn-sec,
html body.alf-page-inner .alf-ad-btn-sec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #c9973b;
  color: #0e254c !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
html body.alf-page-home .alf-ad-btn-sec:hover,
html body.alf-page-inner .alf-ad-btn-sec:hover {
  background: #fdf7e7;
}

/* Zona 2: Kartu Sponsor Sidebar 300x250 Beranda (sejajar padat di bawah Populer Hari Ini) */
html body.alf-page-home .alf-ad-sidebar {
  margin-top: 18px;
  padding: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 151, 59, 0.24), transparent 14rem),
    linear-gradient(155deg, #081730 0%, #112d5c 62%, #1a4484 100%);
  border: 1px solid rgba(201, 151, 59, 0.45);
  border-top: 3px solid #c9973b;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(8, 23, 48, 0.18);
}
html body.alf-page-home .alf-ad-sidebar .alf-ad-tag {
  background: rgba(246, 220, 155, 0.14);
  border-color: rgba(246, 220, 155, 0.38);
  color: #f6dc9b;
}
html body.alf-page-home .alf-ad-sidebar h4 {
  font-family: "Newsreader", Georgia, serif !important;
  font-size: 1.22rem !important;
  line-height: 1.26 !important;
  font-weight: 750 !important;
  color: #ffffff !important;
  margin: 4px 0 8px !important;
}
html body.alf-page-home .alf-ad-sidebar p {
  color: #cfe0f5 !important;
  font-size: 0.83rem !important;
  line-height: 1.55 !important;
  margin: 0 0 14px !important;
}
html body.alf-page-home .alf-ad-sidebar .alf-ad-btn-gold {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 11px;
  background: linear-gradient(135deg, #e5c374 0%, #c9973b 100%);
  color: #07142b !important;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s, filter 0.15s;
}
html body.alf-page-home .alf-ad-sidebar .alf-ad-btn-gold:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
html body.alf-page-home .alf-ad-sidebar .alf-ad-meta {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  color: #a9c2e3;
  text-align: center;
}

/* Zona 3: Slot Mitra di Akhir Halaman Artikel (0 memotong ayat/dalil!) */
html body.alf-page-inner .alf-ad-article {
  margin-top: 26px;
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(100deg, #fffdf9 0%, #f5f0e3 100%);
  border: 1px solid #dfd2b0;
  border-left: 4px solid #14366b;
  box-shadow: 0 4px 14px rgba(8, 23, 48, 0.05);
}
html body.alf-page-inner .alf-ad-article h4 {
  font-family: "Newsreader", Georgia, serif !important;
  font-size: 1.15rem !important;
  color: #0e254c !important;
  margin: 0 0 4px !important;
  font-weight: 750 !important;
}
html body.alf-page-inner .alf-ad-article p {
  color: #475569 !important;
  font-size: 0.86rem !important;
  line-height: 1.48 !important;
  margin: 0 !important;
  max-width: 50ch;
}

/* ============================================================================
   A. DESKTOP FLAGSHIP PORTAL KOMUNITAS (>=1024px) — BIRU LAPIS & EMAS BERWIBAWA
   ============================================================================ */
@media (min-width: 1024px) {
  /* Top Utility Bar khas Portal Komunitas Dakwah (34px di atas navbar — SESITUS) */
  html body.alf-page-home .alf-top-util,
  html body.alf-page-inner .alf-top-util {
    display: block !important;
    background: linear-gradient(95deg, #07142b 0%, #0e254c 58%, #173d78 100%) !important;
    border-bottom: 1px solid rgba(201, 151, 59, 0.36);
    color: #d6e4f7;
    font-size: 12px;
    font-weight: 500;
  }
  html body.alf-page-home .alf-top-util .alf-tu-in,
  html body.alf-page-inner .alf-top-util .alf-tu-in {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  html body.alf-page-home .alf-top-util b,
  html body.alf-page-inner .alf-top-util b {
    color: #ffffff;
    font-weight: 700;
  }
  html body.alf-page-home .alf-top-util .alf-tu-dot,
  html body.alf-page-inner .alf-top-util .alf-tu-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    margin-right: 7px;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
  }
  html body.alf-page-home .alf-top-util .alf-tu-links,
  html body.alf-page-inner .alf-top-util .alf-tu-links {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  html body.alf-page-home .alf-top-util a,
  html body.alf-page-inner .alf-top-util a {
    color: #d6e4f7;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s;
  }
  html body.alf-page-home .alf-top-util a:hover,
  html body.alf-page-inner .alf-top-util a:hover {
    color: #f6dc9b;
  }
  html body.alf-page-home .alf-top-util a.alf-tu-mem,
  html body.alf-page-inner .alf-top-util a.alf-tu-mem {
    color: #f6dc9b;
    font-weight: 700;
  }

  /* Header Desktop 62px bersih + garis Biru Lapis tegas (SESITUS, terkunci top:0 & putih solid saat scroll!) */
  html body.alf-page-home > nav.fixed,
  html body.alf-page-inner > nav.fixed,
  html body.alf-page-inner > nav.fixed[class] {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: auto !important;
    overflow: visible !important;
    background: rgba(255, 255, 255, 0.98) !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 2px solid #14366b !important;
    box-shadow: 0 6px 22px rgba(8, 23, 48, 0.07) !important;
  }
  html body.alf-page-inner > nav.fixed .alf-nav-row a {
    color: #1e293b !important;
  }
  html body.alf-page-inner > nav.fixed .alf-nav-row a:hover {
    color: #14366b !important;
  }
  html body.alf-page-home .alf-nav-row,
  html body.alf-page-inner .alf-nav-row {
    height: 62px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }
  html body.alf-page-home .alf-nav-row > a img,
  html body.alf-page-inner .alf-nav-row > a img {
    height: 36px !important;
  }
  html body.alf-page-home .alf-nav-row > a span,
  html body.alf-page-inner .alf-nav-row > a span {
    color: #0e254c !important;
    font-family: "Newsreader", Georgia, serif !important;
    font-size: 1.44rem !important;
    letter-spacing: -0.02em !important;
  }
  html body.alf-page-home .alf-nav-row > a span span,
  html body.alf-page-inner .alf-nav-row > a span span {
    color: #b5842a !important;
  }
  html body.alf-page-home .alf-nav-row a:hover,
  html body.alf-page-inner .alf-nav-row a:hover {
    color: #14366b !important;
  }

  /* Ruang napas pas di bawah fixed header (nav terkunci top:0 -> tinggi 99px, inner pages digeser 46px bersih!) */
  html body.alf-page-inner {
    padding-top: 46px !important;
  }
  html body.alf-page-home > main,
  html body.alf-page-home > div.pt-20,
  html body.alf-page-home > div.pt-24 {
    padding-top: 112px !important;
  }
  html body.alf-page-home .alf-first-screen-pad {
    padding-top: 18px !important;
  }
  html body.alf-page-home #alfTopSearch.alf-search-open,
  html body.alf-page-inner #alfTopSearch.alf-search-open {
    top: 98px !important;
  }

  /* Pita Apresiasi Umrah di bawah 4 Pintu Aksi Komunitas (elegan, tidak menggeser Hero) */
  html body.alf-page-home .home-promo-wrap {
    padding-top: 0 !important;
    margin-top: 10px !important;
    margin-bottom: 24px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  html body.alf-page-home .home-promo-card {
    border-radius: 14px !important;
  }
  html body.alf-page-home .home-promo-card > a {
    padding: 12px 24px !important;
  }
  html body.alf-page-home .home-promo-card h2,
  html body.alf-page-home .home-promo-card h3 {
    font-size: 1.12rem !important;
    line-height: 1.2 !important;
  }

  /* HERO SPLIT DESKTOP: 64% Slider Editorial + 36% Panel Komunitas Biru Lapis-Emas */
  html body.alf-page-home .home-hero-split {
    display: grid !important;
    grid-template-columns: minmax(0, 1.72fr) minmax(370px, 1fr) !important;
    gap: 18px !important;
    align-items: stretch !important;
    margin-bottom: 14px !important;
  }
  html body.alf-page-home #hero-carousel {
    grid-column: 1 !important;
    grid-row: 1 !important;
    margin-bottom: 0 !important;
    border-radius: 16px !important;
    border: 1px solid #d4dfef !important;
    box-shadow: 0 14px 36px rgba(8, 23, 48, 0.12) !important;
    min-height: 445px !important;
  }
  html body.alf-page-home #hero-carousel .hero-carousel-stage {
    min-height: 445px !important;
    height: 100% !important;
  }
  html body.alf-page-home #hero-carousel h1,
  html body.alf-page-home #hero-carousel h2 {
    font-size: 1.98rem !important;
    line-height: 1.18 !important;
    color: #ffffff !important;
  }
  html body.alf-page-home #hero-carousel .bg-gradient-to-t {
    background: linear-gradient(to top, rgba(7, 20, 43, 0.94) 0%, rgba(14, 37, 76, 0.46) 52%, transparent 100%) !important;
  }

  /* 4 Pintasan Portal Komunitas di Desktop: bar 4 kolom tegas tepat di bawah Hero Split */
  html body.alf-page-home .alf-com-quick {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-top: 2px !important;
  }
  html body.alf-page-home .alf-com-quick a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 13px 16px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid #d4dfef !important;
    box-shadow: 0 3px 10px rgba(8, 23, 48, 0.05) !important;
    color: #0e254c !important;
    font-size: 0.88rem !important;
    font-weight: 750 !important;
    text-decoration: none !important;
    transition: border-color 0.16s, transform 0.15s, box-shadow 0.16s !important;
  }
  html body.alf-page-home .alf-com-quick a:hover {
    border-color: #14366b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 22px rgba(8, 23, 48, 0.1) !important;
  }
  html body.alf-page-home .alf-com-quick a.alf-cq-em {
    background: linear-gradient(135deg, #081730 0%, #14366b 58%, #1d4a8c 100%) !important;
    border-color: rgba(201, 151, 59, 0.55) !important;
    color: #ffffff !important;
  }
  html body.alf-page-home .alf-com-quick a.alf-cq-em i {
    color: #f6dc9b !important;
  }
  html body.alf-page-home .alf-com-quick a i {
    font-style: normal;
    color: #1d4a8c;
    font-size: 1.15rem;
    line-height: 1;
  }

  /* Panel Live Komunitas Desktop: Biru Lapis Malam + Emas Manuskrip */
  html body.alf-page-home .home-hero-live-panel {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 445px !important;
    border-radius: 16px !important;
    padding: 20px 22px !important;
    background:
      radial-gradient(circle at 100% 0%, rgba(201, 151, 59, 0.24), transparent 15rem),
      linear-gradient(155deg, #081730 0%, #112d5c 58%, #1a4484 100%) !important;
    border: 1px solid rgba(201, 151, 59, 0.48) !important;
    border-top: 4px solid #c9973b !important;
    box-shadow: 0 18px 40px rgba(8, 23, 48, 0.24) !important;
    color: #ffffff !important;
    overflow: hidden !important;
  }
  html body.alf-page-home .home-hero-live-panel .hero-live-header {
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
    gap: 12px !important;
  }
  html body.alf-page-home .home-hero-live-panel .portal-section-label {
    color: #f6dc9b !important;
    font-size: 10.5px !important;
    letter-spacing: 0.12em !important;
  }
  html body.alf-page-home .home-hero-live-panel h2 {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    line-height: 1.15 !important;
  }
  html body.alf-page-home .home-hero-live-panel .hero-live-header p {
    color: #cfe0f5 !important;
    font-size: 0.81rem !important;
    line-height: 1.42 !important;
  }
  html body.alf-page-home .home-hero-live-panel .hero-live-icon {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(246, 220, 155, 0.4) !important;
    color: #f6dc9b !important;
    box-shadow: none !important;
    flex: none !important;
  }
  html body.alf-page-home .home-hero-live-panel .grid.grid-cols-2 {
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr) !important;
    gap: 10px !important;
  }
  html body.alf-page-home .home-hero-live-panel .hero-live-stat {
    min-width: 0 !important;
    padding: 11px 13px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.085) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  html body.alf-page-home .home-hero-live-panel .hero-live-stat span {
    color: #cfe0f5 !important;
    letter-spacing: 0.06em !important;
    font-size: 10px !important;
    white-space: nowrap !important;
  }
  html body.alf-page-home .home-hero-live-panel .hero-live-stat strong {
    color: #ffffff !important;
    font-size: 1.18rem !important;
    line-height: 1.2 !important;
    font-variant-numeric: tabular-nums !important;
    white-space: nowrap !important;
  }
  html body.alf-page-home .home-hero-live-panel #hero-counter-sholawat {
    color: #f6dc9b !important;
    font-size: 1.44rem !important;
  }
  html body.alf-page-home .home-hero-live-panel #hero-clock {
    font-size: 1.08rem !important;
  }
  html body.alf-page-home .home-hero-live-panel .hero-live-prayer {
    background: rgba(255, 255, 255, 0.085) !important;
    border: 1px solid rgba(246, 220, 155, 0.36) !important;
    border-radius: 12px !important;
    padding: 11px 14px !important;
    color: #e6f0fc !important;
  }
  html body.alf-page-home .home-hero-live-panel .hero-live-prayer span {
    color: #f6dc9b !important;
  }
  html body.alf-page-home .home-hero-live-panel .hero-live-prayer strong {
    color: #ffffff !important;
    font-size: 1.18rem !important;
  }
  html body.alf-page-home .home-hero-live-panel > a {
    background: linear-gradient(135deg, #e5c374 0%, #c9973b 100%) !important;
    color: #081730 !important;
    border: 0 !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24) !important;
    transition: transform 0.15s, filter 0.15s !important;
  }
  html body.alf-page-home .home-hero-live-panel > a:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
  }

  /* Ritme Vertikal Padat, Elegan & Berkarakter di Desktop (pangkas celah putih berlebih antar seksi!) */
  html body.alf-page-home .home-guide-suite,
  html body.alf-page-home #berita,
  html body.alf-page-home .portal-video-card,
  html body.alf-page-home section[aria-label] {
    margin-bottom: 1.85rem !important;
  }
  html body.alf-page-home .portal-section-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  html body.alf-page-home .portal-section-label::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #c9973b, #14366b);
  }
  html body.alf-page-home .home-hero-live-panel .portal-section-label::before {
    background: linear-gradient(90deg, #f6dc9b, rgba(246, 220, 155, 0.25));
  }

  /* Seksi Panduan (14 Arsip) Desktop: 4 kolom seimbang, rata kiri bersih */
  html body.alf-page-home .home-guide-suite {
    margin-top: 6px !important;
    margin-bottom: 28px !important;
  }
  html body.alf-page-home .home-guide-heading {
    margin-bottom: 14px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid #dce3ee;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
  }
  html body.alf-page-home .home-guide-heading h2 {
    font-size: 1.62rem !important;
    color: #0e254c !important;
  }
  html body.alf-page-home .home-guide-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: stretch !important;
  }
  html body.alf-page-home .home-guide-grid .panduan-ibadah-card:nth-child(13),
  html body.alf-page-home .home-guide-grid .panduan-ibadah-card:nth-child(14) {
    grid-column: span 2 !important;
    text-align: left !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }
  html body.alf-page-home .home-guide-grid .panduan-ibadah-card:nth-child(13) .panduan-ibadah-body,
  html body.alf-page-home .home-guide-grid .panduan-ibadah-card:nth-child(14) .panduan-ibadah-body {
    align-items: flex-start !important;
    text-align: left !important;
  }

  /* Spotlight Bacaan Desktop: kartu foto editorial tajam + gradient biru lapis-obsidian */
  html body.alf-page-home .desktop-spotlight-section {
    margin-top: 8px !important;
    margin-bottom: 30px !important;
  }
  html body.alf-page-home .desktop-spotlight-heading {
    padding-bottom: 10px;
    border-bottom: 2px solid #dce3ee;
    margin-bottom: 14px !important;
  }
  html body.alf-page-home .desktop-spotlight-heading h3 {
    color: #0e254c !important;
    font-size: 1.62rem !important;
  }
  html body.alf-page-home .desktop-spotlight-card {
    border: 1px solid #d4dfef !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 6px 18px rgba(8, 23, 48, 0.08) !important;
    transition: border-color 0.16s, transform 0.16s, box-shadow 0.16s !important;
  }
  html body.alf-page-home .desktop-spotlight-card:hover {
    border-color: #14366b !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 30px rgba(8, 23, 48, 0.16) !important;
  }
  html body.alf-page-home .desktop-spotlight-card .bg-gradient-to-t {
    background: linear-gradient(to top, rgba(7, 20, 43, 0.94) 0%, rgba(14, 37, 76, 0.4) 54%, transparent 100%) !important;
  }
  html body.alf-page-home .desktop-spotlight-card h3 {
    color: #ffffff !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4) !important;
  }

  /* Tajuk Seksi Bawah Desktop (JANGAN timpa .text-white pada banner gelap seperti Mengingat Madinah!) */
  html body.alf-page-home #berita h3.text-xl:not(.text-white),
  html body.alf-page-home section h3.text-2xl:not(.text-white) {
    font-family: "Newsreader", Georgia, serif !important;
    color: #0e254c !important;
  }
  html body.alf-page-home h3.text-white,
  html body.alf-page-home h2.text-white {
    color: #ffffff !important;
  }

  /* HALAMAN DOA JAMAAH DESKTOP (v8): Sidebar Form Sticky + Grid 2-Kolom Dinding Doa Jamaah */
  html body.alf-page-inner main.alf-shell > section.max-w-6xl {
    max-width: 80rem !important;
  }
  html body.alf-page-inner main.alf-shell > section.max-w-6xl > div.grid {
    grid-template-columns: 320px minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: start !important;
  }
  html body.alf-page-inner main.alf-shell > section.max-w-6xl > div.grid > aside {
    position: sticky !important;
    top: 114px !important;
  }
  html body.alf-page-inner main.alf-shell section.space-y-4:has([data-doa-card]) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    align-items: stretch !important;
  }
  html body.alf-page-inner main.alf-shell section.space-y-4:has([data-doa-card]) > * {
    margin-top: 0 !important;
  }
  html body.alf-page-inner main.alf-shell [data-doa-card] {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    background: #ffffff !important;
    border: 1px solid #d9e2ef !important;
    border-top: 3px solid #14366b !important;
    border-radius: 15px !important;
    padding: 18px 20px !important;
    box-shadow: 0 4px 14px rgba(8, 23, 48, 0.05) !important;
    transition: border-color 0.16s, transform 0.15s, box-shadow 0.16s !important;
  }
  html body.alf-page-inner main.alf-shell [data-doa-card] > form:last-child {
    margin-top: auto !important;
    padding-top: 12px !important;
  }
  html body.alf-page-inner main.alf-shell [data-doa-card]:hover {
    border-top-color: #c9973b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 26px rgba(8, 23, 48, 0.1) !important;
  }
  html body.alf-page-inner main.alf-shell [data-doa-card] h2 {
    font-family: "Newsreader", Georgia, serif !important;
    font-size: 1.18rem !important;
    color: #0e254c !important;
  }
  html body.alf-page-inner main.alf-shell [data-doa-card] button[type="submit"] {
    background: linear-gradient(135deg, #0e254c, #1d4a8c) !important;
    color: #ffffff !important;
  }
}

/* ============================================================================
   B. TAMPILAN HP (<1024px) — PORTAL KOMUNITAS HIDUP DI LAYAR PERTAMA (SESITUS)
   ============================================================================ */
@media (max-width: 1023px) {
  html body.alf-page-home,
  html body.alf-page-inner {
    padding-bottom: 78px !important;
  }

  /* 1. HEADER HP 1-BARIS BIRU LAPIS MALAM + CARI 1-KETUK + MEMBER EMAS (SESITUS) */
  html body.alf-page-home > nav.fixed,
  html body.alf-page-inner > nav.fixed {
    background: linear-gradient(115deg, #07142b 0%, #0e254c 58%, #1a4484 100%) !important;
    border-bottom: 1px solid rgba(201, 151, 59, 0.38) !important;
    box-shadow: 0 4px 16px rgba(7, 20, 43, 0.26) !important;
  }
  html body.alf-page-home .alf-nav-row,
  html body.alf-page-inner .alf-nav-row {
    height: 58px !important;
    gap: 8px;
  }
  html body.alf-page-home .alf-nav-row > a img,
  html body.alf-page-inner .alf-nav-row > a img {
    height: 34px !important;
    width: auto !important;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    padding: 2px;
  }
  html body.alf-page-home .alf-nav-row > a span,
  html body.alf-page-inner .alf-nav-row > a span {
    color: #ffffff !important;
    font-family: "Newsreader", Georgia, serif !important;
    font-size: 1.12rem !important;
    letter-spacing: -0.02em !important;
  }
  html body.alf-page-home .alf-nav-row > a span span,
  html body.alf-page-inner .alf-nav-row > a span span {
    color: #f6dc9b !important;
  }
  html body.alf-page-home .alf-mobile-actions,
  html body.alf-page-inner .alf-mobile-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    right: 0.75rem !important;
  }
  html body.alf-page-home .alf-mobile-actions button[aria-label="Toggle Dark Mode"],
  html body.alf-page-inner .alf-mobile-actions button[aria-label="Toggle Dark Mode"] {
    display: none !important;
  }
  html body.alf-page-home .alf-hdr-search-btn,
  html body.alf-page-inner .alf-hdr-search-btn {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.26) !important;
    color: #ffffff !important;
  }
  html body.alf-page-home .alf-hdr-search-btn span,
  html body.alf-page-inner .alf-hdr-search-btn span {
    display: none !important;
  }
  html body.alf-page-home .alf-mobile-member,
  html body.alf-page-inner .alf-mobile-member {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
    padding: 0 11px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #e5c374, #c9973b) !important;
    color: #07142b !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22) !important;
  }

  /* 2. RUANG NAPAS LAYAR PERTAMA HP (PITA LIVE -> HERO -> 4 PINTASAN -> LIVE PANEL -> UMRAH) */
  html body.alf-page-home .alf-first-screen-pad {
    padding-top: 12px !important;
  }
  html body.alf-page-home .alf-live-strip {
    height: 38px !important;
    padding: 0 10px !important;
    margin-bottom: 10px !important;
  }
  html body.alf-page-home .alf-live-strip .alf-ls-track {
    font-size: 13px !important;
  }
  html body.alf-page-home .alf-live-strip .alf-ls-cta {
    display: none !important;
  }
  html body.alf-page-home .home-promo-wrap {
    margin-top: 4px !important;
    padding-top: 0 !important;
    margin-bottom: 16px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }
  html body.alf-page-home .home-promo-card {
    border-radius: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  html body.alf-page-home .home-promo-card > a {
    padding: 13px 15px !important;
  }
  html body.alf-page-home .home-promo-card h2,
  html body.alf-page-home .home-promo-card h3 {
    font-size: 1.16rem !important;
    line-height: 1.24 !important;
  }

  /* 3. HERO SLIDER + 4 PINTASAN KOMUNITAS 2x2 + LIVE PANEL BIRU LAPIS (HURUF HP LEGA & JELAS!) */
  html body.alf-page-home .home-hero-split {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  html body.alf-page-home #hero-carousel {
    margin-bottom: 0 !important;
    border-radius: 16px !important;
    width: 100% !important;
  }
  html body.alf-page-home #hero-carousel .hero-carousel-stage {
    min-height: 245px !important;
  }
  html body.alf-page-home #hero-carousel h1,
  html body.alf-page-home #hero-carousel h2 {
    font-size: 1.44rem !important;
    line-height: 1.22 !important;
    color: #ffffff !important;
  }

  html body.alf-page-home .alf-com-quick {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    z-index: 2 !important;
  }
  html body.alf-page-home .alf-com-quick a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    min-height: 48px !important;
    padding: 10px 13px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid #d4dfef !important;
    box-shadow: 0 2px 6px rgba(8, 23, 48, 0.05) !important;
    color: #0e254c !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }
  html body.alf-page-home .alf-com-quick a.alf-cq-em {
    background: linear-gradient(135deg, #081730 0%, #1d4a8c 100%) !important;
    border-color: rgba(201, 151, 59, 0.52) !important;
    color: #ffffff !important;
  }
  html body.alf-page-home .alf-com-quick a.alf-cq-em i {
    color: #f6dc9b !important;
  }
  html body.alf-page-home .alf-com-quick a i {
    font-style: normal;
    color: #1d4a8c;
    font-size: 1.15rem;
    line-height: 1;
  }

  /* Live Panel Komunitas HP: Biru Lapis Malam + Emas (ukuran huruf nyaman dibaca tanpa menyipit) */
  html body.alf-page-home .home-hero-live-panel {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px !important;
    border-radius: 15px !important;
    background: linear-gradient(160deg, #081730 0%, #112d5c 66%, #1a4484 100%) !important;
    border: 1px solid rgba(201, 151, 59, 0.46) !important;
    border-top: 3px solid #c9973b !important;
    box-shadow: 0 10px 24px rgba(8, 23, 48, 0.2) !important;
    color: #ffffff !important;
  }
  html body.alf-page-home .home-hero-live-panel .hero-live-header {
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
  }
  html body.alf-page-home .home-hero-live-panel .portal-section-label {
    color: #f6dc9b !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 4px !important;
  }
  html body.alf-page-home .home-hero-live-panel h2 {
    color: #ffffff !important;
    font-size: 1.32rem !important;
    margin: 0 !important;
  }
  html body.alf-page-home .home-hero-live-panel .hero-live-header p,
  html body.alf-page-home .home-hero-live-panel .hero-live-icon {
    display: none !important;
  }
  html body.alf-page-home .home-hero-live-panel .mt-4 {
    margin-top: 11px !important;
    gap: 9px !important;
  }
  html body.alf-page-home .home-hero-live-panel .grid.grid-cols-2 {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr) !important;
    gap: 9px !important;
  }
  html body.alf-page-home .home-hero-live-panel .hero-live-stat {
    min-width: 0 !important;
    background: rgba(255, 255, 255, 0.09) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    box-shadow: none !important;
  }
  html body.alf-page-home .home-hero-live-panel .hero-live-stat span {
    color: #cfe0f5 !important;
    font-size: 0.72rem !important;
    margin-bottom: 3px !important;
  }
  html body.alf-page-home .home-hero-live-panel .hero-live-stat strong {
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-variant-numeric: tabular-nums !important;
  }
  html body.alf-page-home .home-hero-live-panel #hero-counter-sholawat {
    color: #f6dc9b !important;
    font-size: 1.42rem !important;
  }
  html body.alf-page-home .home-hero-live-panel .hero-live-prayer {
    background: rgba(255, 255, 255, 0.09) !important;
    border: 1px solid rgba(246, 220, 155, 0.36) !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    color: #e6f0fc !important;
  }
  html body.alf-page-home .home-hero-live-panel .hero-live-prayer span {
    color: #f6dc9b !important;
    font-size: 0.72rem !important;
  }
  html body.alf-page-home .home-hero-live-panel .hero-live-prayer strong {
    color: #ffffff !important;
    font-size: 1.16rem !important;
  }
  html body.alf-page-home .home-hero-live-panel > a {
    margin-top: 12px !important;
    background: linear-gradient(135deg, #e5c374, #c9973b) !important;
    color: #07142b !important;
    border-radius: 11px !important;
    padding: 12px 15px !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
  }

  /* 4. PANDUAN (14 ARSIP): Tampilkan 4 dulu di HP + huruf lebih tegas */
  html body.alf-page-home .home-guide-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
  }
  html body.alf-page-home .home-guide-grid .panduan-ibadah-card,
  html body.alf-page-home .home-guide-grid .panduan-ibadah-card[href] {
    margin: 0 !important;
    padding: 12px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  html body.alf-page-home .home-guide-grid a.panduan-ibadah-card > .panduan-ibadah-icon,
  html body.alf-page-home .home-guide-grid .panduan-ibadah-icon,
  html body.alf-page-home .home-guide-grid .panduan-ibadah-icon[style] {
    width: 34px !important;
    height: 34px !important;
  }
  html body.alf-page-home .home-guide-grid .panduan-ibadah-icon svg {
    width: 17px !important;
    height: 17px !important;
  }
  html body.alf-page-home .home-guide-grid .panduan-ibadah-tag,
  html body.alf-page-home .home-guide-grid .panduan-ibadah-tag[style] {
    font-size: 0.68rem !important;
  }
  html body.alf-page-home .home-guide-grid .panduan-ibadah-card .panduan-ibadah-title {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
  }
  html body.alf-page-home .home-guide-grid:not(.expanded) .panduan-ibadah-card:nth-child(n+5) {
    display: none !important;
  }
  html body.alf-page-home .alf-guide-more {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    min-height: 46px !important;
    margin: 12px 0 4px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid #d4dfef !important;
    color: #14366b !important;
    font: 700 0.9rem/1 "Plus Jakarta Sans", sans-serif !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(8, 23, 48, 0.05) !important;
  }

  /* 4B. SEMUA ARTIKEL DI HP: 1 KOLOM GAMBAR FULL-WIDTH 16:9 + HURUF BESAR NYAMAN DIBACA */
  html body.alf-page-home #posts-container {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  html body.alf-page-home #posts-container .portal-feed-card {
    grid-column: span 1 !important;
  }
  html body.alf-page-home #posts-container .portal-feed-card h3,
  html body.alf-page-home #posts-container .portal-feed-card h4 {
    font-size: 1.18rem !important;
    line-height: 1.28 !important;
  }
  html body.alf-page-home #posts-container .portal-feed-card span,
  html body.alf-page-home #posts-container .portal-feed-card time {
    font-size: 0.76rem !important;
  }
  html body.alf-page-home #posts-container .portal-feed-card p {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
  }

  /* Kategori di HP (Renungan Mahabbah / Akhlak): ganti 3-kolom sempit -> 1-kolom gambar full-width 16:9 */
  html body.alf-page-home .mobile-category-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  html body.alf-page-home .mobile-category-card {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid #d9e2ef !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 3px 10px rgba(8, 23, 48, 0.05) !important;
  }
  html body.alf-page-home .mobile-category-card-image {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }
  html body.alf-page-home .mobile-category-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  html body.alf-page-home .mobile-category-card h4,
  html body.alf-page-home .mobile-category-card p,
  html body.alf-page-home .mobile-category-card .mobile-category-card-title {
    padding: 12px 14px 14px !important;
    font-family: "Newsreader", Georgia, serif !important;
    font-size: 1.08rem !important;
    line-height: 1.3 !important;
    font-weight: 750 !important;
    color: #0f172a !important;
  }

  /* Halaman Artikel HP: Gambar Sampul FULL-BLEED tepi ke tepi + Judul & Paragraf lega */
  html body.alf-page-inner .article-page-card {
    padding: 18px 16px 24px !important;
    border-radius: 16px !important;
  }
  html body.alf-page-inner .article-page-card h1.article-title {
    font-size: 1.72rem !important;
    line-height: 1.24 !important;
  }
  html body.alf-page-inner .article-page-card .article-hero-media {
    margin-left: -16px !important;
    margin-right: -16px !important;
    width: calc(100% + 32px) !important;
    max-width: calc(100% + 32px) !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }
  html body.alf-page-inner .article-page-card p,
  html body.alf-page-inner .article-page-card li {
    font-size: 1.06rem !important;
    line-height: 1.8 !important;
  }

  /* 5. POPULER HARI INI HP: Kartu Horizontal Lega + Huruf Tegas 15.4px */
  html body.alf-page-home .alf-populer-mob {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  html body.alf-page-home .alf-populer-mob .grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
  }
  html body.alf-page-home .alf-populer-mob .grid > a {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 106px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    aspect-ratio: auto !important;
    height: auto !important;
    min-height: 84px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 12px !important;
    border-radius: 13px !important;
    background: #ffffff !important;
    border: 1px solid #d9e2ef !important;
    box-shadow: 0 2px 6px rgba(8, 23, 48, 0.04) !important;
    overflow: hidden !important;
  }
  html body.alf-page-home .alf-populer-mob .grid > a > img {
    position: static !important;
    inset: auto !important;
    width: 106px !important;
    height: 74px !important;
    border-radius: 9px !important;
    object-fit: cover !important;
    flex: none !important;
  }
  html body.alf-page-home .alf-populer-mob .grid > a > div[class*="bg-gradient"] {
    display: none !important;
  }
  html body.alf-page-home .alf-populer-mob .grid > a > h4 {
    position: static !important;
    inset: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #0f172a !important;
    text-shadow: none !important;
    line-height: 1.34 !important;
    font-size: 0.96rem !important;
    font-weight: 750 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  /* 6. BERANTAS TABRAKAN MELAYANG (SESITUS): CS masuk Bottom Nav 5 Tab, Ticker rapi tengah */
  html body.alf-page-home #alfAsistenBtn,
  html body.alf-page-inner #alfAsistenBtn {
    display: none !important;
  }
  html body.alf-page-home #alfAsistenPanel,
  html body.alf-page-inner #alfAsistenPanel {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: 0 !important;
    margin: 0 !important;
  }
  html body.alf-page-home #alfBackTop,
  html body.alf-page-inner #alfBackTop {
    bottom: 72px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
  }
  html body.alf-page-home #alfLiveTicker,
  html body.alf-page-inner #alfLiveTicker {
    bottom: 68px !important;
    left: 12px !important;
    right: 58px !important;
    width: auto !important;
    max-width: calc(100vw - 70px) !important;
    transform: translateY(140px) !important;
    z-index: 41 !important;
    border-radius: 12px !important;
    background: rgba(8, 23, 48, 0.96) !important;
    border: 1px solid rgba(201, 151, 59, 0.44) !important;
  }
  html body.alf-page-home #alfLiveTicker.active,
  html body.alf-page-inner #alfLiveTicker.active {
    transform: translateY(0) !important;
  }

  /* Navbar Bawah 5 Menu Rata Penuh (SESITUS): Beranda · Doa · Qur'an · Member · Tanya */
  html body.alf-page-home #portal-bottom-nav,
  html body.alf-page-inner #portal-bottom-nav {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    height: calc(60px + env(safe-area-inset-bottom)) !important;
    padding: 0 4px env(safe-area-inset-bottom) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-top: 1px solid #d9e2ef !important;
    box-shadow: 0 -4px 18px rgba(8, 23, 48, 0.09) !important;
    z-index: 52 !important;
  }
  html body.alf-page-home #portal-bottom-nav > a,
  html body.alf-page-home #portal-bottom-nav > button,
  html body.alf-page-inner #portal-bottom-nav > a,
  html body.alf-page-inner #portal-bottom-nav > button {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    padding: 6px 2px !important;
    color: #475569 !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    position: relative;
    cursor: pointer;
  }
  html body.alf-page-home #portal-bottom-nav > a.alf-bn-act,
  html body.alf-page-inner #portal-bottom-nav > a.alf-bn-act {
    color: #14366b !important;
    font-weight: 700 !important;
  }
  html body.alf-page-home #portal-bottom-nav > a.alf-bn-act::before,
  html body.alf-page-inner #portal-bottom-nav > a.alf-bn-act::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 2.5px;
    border-radius: 0 0 3px 3px;
    background: #14366b;
  }
  html body.alf-page-home #portal-bottom-nav svg,
  html body.alf-page-inner #portal-bottom-nav svg {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
  }
  html body.alf-page-home #portal-bottom-nav .alf-bn-tanya,
  html body.alf-page-inner #portal-bottom-nav .alf-bn-tanya {
    color: #0e254c !important;
    font-weight: 700 !important;
  }
  html body.alf-page-home #portal-bottom-nav .alf-bn-av,
  html body.alf-page-inner #portal-bottom-nav .alf-bn-av {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid #c9973b;
    display: block;
    position: relative;
  }
  html body.alf-page-home #portal-bottom-nav .alf-bn-av img,
  html body.alf-page-inner #portal-bottom-nav .alf-bn-av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  html body.alf-page-home #portal-bottom-nav .alf-bn-dot,
  html body.alf-page-inner #portal-bottom-nav .alf-bn-dot {
    position: absolute;
    top: 7px;
    right: calc(50% - 14px);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 2px #ffffff;
  }
}
