/* =====================================================================
   WINHAJI — Tema "Ka'bah": hitam kiswah, emas hizam, hijau, putih.
   Dimuat SETELAH Bootstrap 5.3 sehingga menimpa variabel Bootstrap.
   ===================================================================== */

/* ---------- Font (sama dengan keluarga WinFalak) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.1.0/files/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.1.0/files/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.1.0/files/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.1.0/files/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/plus-jakarta-sans@5.1.0/files/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/plus-jakarta-sans@5.1.0/files/plus-jakarta-sans-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Amiri'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/amiri@5.1.0/files/amiri-arabic-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Amiri'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/amiri@5.1.0/files/amiri-arabic-700-normal.woff2') format('woff2'); }

/* ---------- Token warna ---------- */
:root {
    /* Warna merek */
    --wh-black: #0e0e0e;          /* kiswah */
    --wh-black-2: #1b1b1b;
    --wh-black-3: #2a2a2a;
    --wh-gold: #c9a227;           /* hizam */
    --wh-gold-light: #e2c35a;
    --wh-gold-dark: #9c7b14;
    --wh-gold-soft: #faf3dd;
    --wh-green: #0f6b45;          /* kubah hijau Nabawi */
    --wh-green-dark: #0a4f33;
    --wh-green-soft: #e4f2ea;
    --wh-white: #ffffff;
    --wh-cream: #f8f6f1;

    /* Warna status */
    --wh-info: #2f9fd6;           /* biru muda */
    --wh-info-soft: #e5f4fb;
    --wh-warning: #ef8a17;        /* oranye */
    --wh-warning-soft: #fdf0e0;
    --wh-danger: #d13b3b;         /* merah */
    --wh-danger-soft: #fbe7e7;
    --wh-success: var(--wh-green);
    --wh-success-soft: var(--wh-green-soft);

    /* Teks & permukaan */
    --wh-text: #1e1d1a;
    --wh-text-soft: #5c5850;
    --wh-border: #e5dfd1;
    --wh-surface: #ffffff;

    --wh-font: 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --wh-font-head: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', Arial, sans-serif;
    --wh-font-arab: 'Amiri', 'Traditional Arabic', 'Scheherazade New', serif;

    --wh-radius: 14px;
    --wh-radius-sm: 10px;
    --wh-shadow: 0 10px 30px rgba(14, 14, 14, .08), 0 1px 3px rgba(14, 14, 14, .06);
    --wh-shadow-lg: 0 20px 50px rgba(14, 14, 14, .18);
    --wh-header-h: 64px;
    --wh-bottomnav-h: 64px;

    /* Override Bootstrap */
    --bs-body-font-family: var(--wh-font);
    --bs-body-color: var(--wh-text);
    --bs-body-bg: var(--wh-cream);
    --bs-primary: #0f6b45;
    --bs-primary-rgb: 15, 107, 69;
    --bs-success: #0f6b45;
    --bs-success-rgb: 15, 107, 69;
    --bs-info: #2f9fd6;
    --bs-info-rgb: 47, 159, 214;
    --bs-warning: #ef8a17;
    --bs-warning-rgb: 239, 138, 23;
    --bs-danger: #d13b3b;
    --bs-danger-rgb: 209, 59, 59;
    --bs-dark: #0e0e0e;
    --bs-dark-rgb: 14, 14, 14;
    --bs-link-color: #0a4f33;
    --bs-link-color-rgb: 10, 79, 51;
    --bs-link-hover-color: #9c7b14;
    --bs-link-hover-color-rgb: 156, 123, 20;
    --bs-border-color: var(--wh-border);
    --bs-border-radius: var(--wh-radius-sm);
    --bs-focus-ring-color: rgba(201, 162, 39, .35);
}

/* ---------- Dasar ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--wh-font);
    color: var(--wh-text);
    background: var(--wh-cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1 0 auto; }
h1, h2, h3, h4, .wh-head { font-family: var(--wh-font-head); font-weight: 800; letter-spacing: -.01em; color: var(--wh-black); }
a { text-underline-offset: 3px; }
::selection { background: var(--wh-gold-light); color: var(--wh-black); }
:focus-visible { outline: 3px solid var(--wh-gold); outline-offset: 2px; }

.arab, [lang="ar"] {
    font-family: var(--wh-font-arab);
    direction: rtl;
    font-size: 1.6em;
    line-height: 2.1;
}

.skip-link {
    position: absolute; left: -9999px; top: 8px; z-index: 2000;
    background: var(--wh-gold); color: var(--wh-black); padding: 8px 14px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { left: 8px; }

/* ---------- Tombol ---------- */
.btn { font-weight: 600; border-radius: 999px; padding: .55rem 1.25rem; }
.btn-gold {
    --bs-btn-color: var(--wh-black);
    --bs-btn-bg: var(--wh-gold);
    --bs-btn-border-color: var(--wh-gold);
    --bs-btn-hover-color: var(--wh-black);
    --bs-btn-hover-bg: var(--wh-gold-light);
    --bs-btn-hover-border-color: var(--wh-gold-light);
    --bs-btn-active-color: var(--wh-black);
    --bs-btn-active-bg: var(--wh-gold-dark);
    --bs-btn-active-border-color: var(--wh-gold-dark);
    --bs-btn-focus-shadow-rgb: 201, 162, 39;
}
.btn-primary, .btn-success {
    --bs-btn-bg: var(--wh-green);
    --bs-btn-border-color: var(--wh-green);
    --bs-btn-hover-bg: var(--wh-green-dark);
    --bs-btn-hover-border-color: var(--wh-green-dark);
    --bs-btn-active-bg: var(--wh-green-dark);
    --bs-btn-active-border-color: var(--wh-green-dark);
    --bs-btn-focus-shadow-rgb: 15, 107, 69;
}
.btn-outline-gold {
    --bs-btn-color: var(--wh-gold-light);
    --bs-btn-border-color: var(--wh-gold);
    --bs-btn-hover-color: var(--wh-black);
    --bs-btn-hover-bg: var(--wh-gold);
    --bs-btn-hover-border-color: var(--wh-gold);
    --bs-btn-active-color: var(--wh-black);
    --bs-btn-active-bg: var(--wh-gold-dark);
}

/* ---------- Badge & alert status ---------- */
.text-gold { color: var(--wh-gold) !important; }
.text-gold-dark { color: var(--wh-gold-dark) !important; }
.bg-black { background-color: var(--wh-black) !important; }
.bg-gold { background-color: var(--wh-gold) !important; color: var(--wh-black) !important; }
.bg-gold-soft { background-color: var(--wh-gold-soft) !important; }
.bg-green-soft { background-color: var(--wh-green-soft) !important; }
.badge.bg-gold { color: var(--wh-black); }

.alert { border-radius: var(--wh-radius-sm); border-width: 0; border-left: 4px solid; }
.alert-info    { background: var(--wh-info-soft);    border-color: var(--wh-info);    color: #11506f; }
.alert-warning { background: var(--wh-warning-soft); border-color: var(--wh-warning); color: #7a4300; }
.alert-danger  { background: var(--wh-danger-soft);  border-color: var(--wh-danger);  color: #7d1c1c; }
.alert-success { background: var(--wh-green-soft);   border-color: var(--wh-green);   color: var(--wh-green-dark); }

/* ---------- Bilah atas (tanggal) ---------- */
.wh-topbar {
    background: var(--wh-black);
    color: #cfc8b4;
    font-size: .8rem;
    border-bottom: 1px solid #262626;
}
.wh-topbar a { color: #cfc8b4; text-decoration: none; }
.wh-topbar a:hover { color: var(--wh-gold-light); }
.wh-topbar .bi { color: var(--wh-gold); }

/* ---------- Header / navbar ---------- */
.wh-header {
    position: sticky; top: 0; z-index: 1030;
    background: linear-gradient(180deg, #151515 0%, var(--wh-black) 100%);
    border-bottom: 3px solid var(--wh-gold);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}
.wh-header .navbar { min-height: var(--wh-header-h); padding-top: .35rem; padding-bottom: .35rem; }
.wh-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.wh-brand img { height: 46px; width: auto; }
.wh-brand-text { display: flex; flex-direction: column; line-height: 1; }
.wh-brand-name { font-family: var(--wh-font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: .02em; color: #fff; }
.wh-brand-name .win { color: var(--wh-gold); }
.wh-brand-tag { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #bdb59f; margin-top: 3px; }

.wh-header .nav-link {
    color: #e9e4d6;
    font-weight: 500;
    font-size: .92rem;
    padding: .6rem .7rem !important;
    border-radius: 8px;
}
.wh-header .nav-link:hover,
.wh-header .nav-link:focus,
.wh-header .nav-link.show { color: var(--wh-gold-light); background: rgba(255, 255, 255, .05); }
.wh-header .nav-link.active { color: var(--wh-gold); }
.wh-header .nav-link.active::after { border-top-color: var(--wh-gold); }
.wh-header .navbar-toggler { border-color: rgba(201, 162, 39, .5); }
.wh-header .navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(201, 162, 39, .35); }

/* Mega-dropdown per modul */
.wh-mega {
    border: 0;
    border-top: 3px solid var(--wh-gold);
    border-radius: 0 0 var(--wh-radius) var(--wh-radius);
    box-shadow: var(--wh-shadow-lg);
    padding: 1rem;
    min-width: 560px;
}
.wh-mega-head { padding: .25rem .5rem .75rem; border-bottom: 1px solid var(--wh-border); margin-bottom: .5rem; }
.wh-mega-head strong { font-family: var(--wh-font-head); display: block; color: var(--wh-black); }
.wh-mega-head small { color: var(--wh-text-soft); }
.wh-mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.wh-mega .dropdown-item {
    display: flex; align-items: center; gap: .6rem;
    border-radius: 8px; padding: .5rem .6rem; white-space: normal; font-size: .9rem;
}
.wh-mega .dropdown-item .bi { color: var(--wh-green); font-size: 1.05rem; width: 1.2rem; text-align: center; }
.wh-mega .dropdown-item:hover, .wh-mega .dropdown-item:focus { background: var(--wh-gold-soft); color: var(--wh-black); }
.wh-mega .wh-mega-all { font-weight: 600; color: var(--wh-green-dark); }

@media (max-width: 1199.98px) {
    .wh-header .navbar-collapse { max-height: calc(100vh - var(--wh-header-h)); overflow-y: auto; padding-bottom: 1rem; }
    .wh-mega { min-width: 0; box-shadow: none; border-top: 0; background: #1a1a1a; padding: .5rem; }
    .wh-mega-head { display: none; }
    .wh-mega-grid { grid-template-columns: 1fr; }
    .wh-mega .dropdown-item { color: #e9e4d6; }
    .wh-mega .dropdown-item:hover { background: #262626; color: var(--wh-gold-light); }
    .wh-mega .wh-mega-all { color: var(--wh-gold-light); }
}

.wh-search { max-width: 260px; }
.wh-search .form-control {
    background: #1d1d1d; border-color: #333; color: #fff; border-radius: 999px 0 0 999px; font-size: .88rem;
}
.wh-search .form-control::placeholder { color: #8f8a7c; }
.wh-search .btn { border-radius: 0 999px 999px 0; padding: .35rem .8rem; }

/* ---------- Hero beranda ---------- */
.wh-hero {
    position: relative;
    color: #f3efe3;
    background:
        radial-gradient(ellipse at 78% 30%, rgba(201, 162, 39, .28), transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(15, 107, 69, .35), transparent 50%),
        linear-gradient(160deg, #161616 0%, #0b0b0b 60%, #101a14 100%);
    overflow: hidden;
}
.wh-hero::before {
    /* Motif geometris bintang delapan (rub el hizb), sangat halus */
    content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23e2c35a' stroke-width='1'%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3C/g%3E%3C/svg%3E");
}
.wh-hero .container { position: relative; }
.wh-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.12; }
.wh-hero h1 .accent { color: var(--wh-gold-light); }
.wh-hero .lead { color: #d9d3c2; max-width: 36rem; }
.wh-hero-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    border: 1px solid rgba(201, 162, 39, .45); color: var(--wh-gold-light);
    border-radius: 999px; padding: .3rem .8rem; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
}
.wh-hero-emblem { width: 100%; max-width: 280px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .55)); }

/* Kartu kaca di hero */
.wh-glass {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--wh-radius);
    backdrop-filter: blur(8px);
    color: #efeadb;
}
.wh-glass .wh-glass-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--wh-gold-light); font-weight: 600; }

/* ---------- Bagian & kartu ---------- */
.wh-section { padding: 3.5rem 0; }
.wh-section-alt { background: #fff; border-top: 1px solid var(--wh-border); border-bottom: 1px solid var(--wh-border); }
.wh-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wh-gold-dark); }
.wh-section-title { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.wh-divider { width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--wh-gold), var(--wh-green)); }

.wh-card {
    background: var(--wh-surface);
    border: 1px solid var(--wh-border);
    border-radius: var(--wh-radius);
    box-shadow: var(--wh-shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.wh-card { display: block; color: inherit; text-decoration: none; }
/* Tinggi sama hanya untuk kartu tunggal di kolom grid; kartu bertumpuk tetap setinggi isinya. */
.row > [class*="col"] > .wh-card:only-child { height: 100%; }
a.wh-card:hover, a.wh-card:focus { transform: translateY(-3px); box-shadow: var(--wh-shadow-lg); border-color: var(--wh-gold); }
.wh-card-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--wh-black); color: var(--wh-gold); font-size: 1.35rem;
    box-shadow: inset 0 -3px 0 var(--wh-gold);
}
.wh-card-icon.green { background: var(--wh-green); color: #fff; box-shadow: inset 0 -3px 0 var(--wh-gold); }
.wh-card h3 { font-size: 1.08rem; margin: .9rem 0 .35rem; }
.wh-card p { color: var(--wh-text-soft); font-size: .92rem; margin-bottom: 0; }
.wh-card .wh-code {
    font-size: .7rem; font-weight: 700; color: var(--wh-gold-dark); background: var(--wh-gold-soft);
    border-radius: 6px; padding: .1rem .45rem;
}

/* Fase perjalanan */
.wh-journey { counter-reset: fase; }
.wh-step { position: relative; padding-left: 3.4rem; }
.wh-step::before {
    counter-increment: fase; content: counter(fase);
    position: absolute; left: 0; top: 0;
    width: 2.5rem; height: 2.5rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--wh-gold); color: var(--wh-black); font-weight: 800; font-family: var(--wh-font-head);
}
.wh-step h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.wh-step p { color: var(--wh-text-soft); font-size: .92rem; margin: 0; }

/* Placeholder "segera hadir" */
.wh-soon {
    border: 1px dashed #cfc5ab; border-radius: var(--wh-radius);
    background: repeating-linear-gradient(135deg, #fffdf6, #fffdf6 12px, #fbf7ea 12px, #fbf7ea 24px);
    color: var(--wh-text-soft);
}
.wh-soon-dark { border-color: rgba(201, 162, 39, .35); background: rgba(255, 255, 255, .03); color: #bdb59f; }

/* Header halaman (modul) */
.wh-pagehead {
    background: linear-gradient(160deg, #161616 0%, #0b0b0b 70%, #0f1d15 100%);
    color: #e9e4d6; padding: 2.2rem 0 2rem; border-bottom: 1px solid #262626;
}
.wh-pagehead h1 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: .3rem 0 .4rem; }
.wh-pagehead p { color: #cfc8b4; max-width: 46rem; margin: 0; }
.wh-pagehead .breadcrumb { --bs-breadcrumb-divider-color: #6f6a5c; --bs-breadcrumb-item-active-color: #bdb59f; font-size: .85rem; margin: 0; }
.wh-pagehead .breadcrumb a { color: var(--wh-gold-light); text-decoration: none; }

/* ---------- Footer ---------- */
.wh-footer {
    background: var(--wh-black);
    color: #b8b19d;
    border-top: 3px solid var(--wh-gold);
    font-size: .9rem;
}
.wh-footer h2 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--wh-font); font-weight: 700; }
.wh-footer a { color: #d9d3c2; text-decoration: none; }
.wh-footer a:hover { color: var(--wh-gold-light); }
.wh-footer ul { list-style: none; padding: 0; margin: 0; }
.wh-footer li { margin-bottom: .45rem; }
.wh-footer .wh-disclaimer { border-left: 3px solid var(--wh-gold); padding-left: .8rem; color: #a49d89; font-size: .82rem; }
.wh-footer-bottom { border-top: 1px solid #262626; font-size: .8rem; color: #8f8a7c; }

/* ---------- Navigasi bawah (HP) ---------- */
.wh-bottomnav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
    height: var(--wh-bottomnav-h);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--wh-black);
    border-top: 2px solid var(--wh-gold);
    display: flex;
}
.wh-bottomnav a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    color: #a9a28f; text-decoration: none; font-size: .68rem; font-weight: 500;
}
.wh-bottomnav a .bi { font-size: 1.2rem; }
.wh-bottomnav a.active, .wh-bottomnav a:hover { color: var(--wh-gold-light); }
@media (max-width: 991.98px) {
    body { padding-bottom: calc(var(--wh-bottomnav-h) + env(safe-area-inset-bottom)); }
}

/* Tombol kembali ke atas */
.wh-totop {
    position: fixed; right: 16px; bottom: 84px; z-index: 1020;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--wh-gold); color: var(--wh-black); border: 0; box-shadow: var(--wh-shadow-lg);
    display: none; align-items: center; justify-content: center; font-size: 1.2rem;
}
.wh-totop.show { display: flex; }
@media (min-width: 992px) { .wh-totop { bottom: 24px; } }

/* Halaman galat */
.wh-error-code { font-family: var(--wh-font-head); font-weight: 800; font-size: clamp(4rem, 12vw, 7rem); line-height: 1; color: var(--wh-gold); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    a.wh-card, a.wh-card:hover { transition: none; transform: none; }
}

@media print {
    .wh-topbar, .wh-header, .wh-footer, .wh-bottomnav, .wh-totop { display: none !important; }
    body { background: #fff; padding: 0; }
}

/* =====================================================================
   Artikel (Tahap 4)
   ===================================================================== */
.wh-article-card { overflow: hidden; display: flex; flex-direction: column; }
.wh-article-thumb { display: block; aspect-ratio: 16 / 9; background: #ece7da; overflow: hidden; }
.wh-article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.wh-article-card:hover .wh-article-thumb img { transform: scale(1.03); }
.wh-article-thumb-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: var(--wh-gold-dark);
    background: linear-gradient(135deg, #1a1a1a, #0e0e0e); }
.wh-article-cat { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wh-green); text-decoration: none; margin-bottom: .35rem; }
.wh-article-cat:hover { color: var(--wh-gold-dark); }
.wh-article-title { font-size: 1.08rem; line-height: 1.35; margin: 0 0 .4rem; }
.wh-article-title a { color: var(--wh-black); text-decoration: none; }
.wh-article-title a:hover { color: var(--wh-green-dark); text-decoration: underline; }
.wh-article-excerpt { color: var(--wh-text-soft); font-size: .92rem; margin-bottom: .6rem; }
.wh-article-meta { font-size: .8rem; color: var(--wh-text-soft); }

.wh-article-hero .wh-article-thumb { aspect-ratio: 21 / 9; }
.wh-article-hero .wh-article-title { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }

.wh-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 999px; font-size: .85rem;
    border: 1px solid var(--wh-border); background: #fff; color: var(--wh-text); text-decoration: none; white-space: nowrap; }
.wh-chip:hover { border-color: var(--wh-gold); color: var(--wh-black); }
.wh-chip.active { background: var(--wh-black); border-color: var(--wh-black); color: var(--wh-gold-light); }
.wh-chip .count { font-size: .72rem; color: var(--wh-text-soft); }
.wh-chip.active .count { color: #bdb59f; }
.wh-chip-row { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: thin; }

.wh-compact-list { list-style: none; padding: 0; margin: 0; }
.wh-compact-list li { display: flex; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--wh-border); }
.wh-compact-list li:last-child { border-bottom: 0; }
.wh-compact-list a { color: var(--wh-black); text-decoration: none; font-weight: 600; font-size: .92rem; line-height: 1.35; }
.wh-compact-list a:hover { color: var(--wh-green-dark); text-decoration: underline; }
.wh-compact-num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--wh-gold-soft); color: var(--wh-gold-dark);
    font-weight: 800; font-size: .85rem; display: flex; align-items: center; justify-content: center; }

/* Isi artikel */
.wh-prose { font-size: 1.06rem; line-height: 1.8; color: #262521; }
.wh-prose h2 { font-size: 1.45rem; margin: 2rem 0 .8rem; }
.wh-prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.wh-prose h4 { font-size: 1.05rem; margin: 1.4rem 0 .5rem; }
.wh-prose p { margin-bottom: 1.1rem; }
.wh-prose img { max-width: 100%; height: auto; border-radius: var(--wh-radius-sm); margin: .5rem 0; }
.wh-prose blockquote { border-left: 4px solid var(--wh-gold); background: var(--wh-gold-soft); padding: .8rem 1.1rem; border-radius: 0 10px 10px 0; margin: 1.2rem 0; }
.wh-prose a { color: var(--wh-green-dark); }
.wh-prose ul, .wh-prose ol { padding-left: 1.4rem; margin-bottom: 1.1rem; }
.wh-prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.wh-prose th, .wh-prose td { border: 1px solid var(--wh-border); padding: .5rem .7rem; }
.wh-prose th { background: #f3efe4; }
.wh-prose iframe, .wh-prose .ql-video { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--wh-radius-sm); margin: 1rem 0; }
.wh-prose .ql-align-center { text-align: center; }
.wh-prose .ql-align-right { text-align: right; }
.wh-prose .ql-align-justify { text-align: justify; }

.wh-article-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.2; }
.wh-article-cover { margin: 0 0 1.5rem; }
.wh-article-cover img { width: 100%; border-radius: var(--wh-radius); max-height: 520px; object-fit: cover; }
.wh-article-cover figcaption { font-size: .82rem; color: var(--wh-text-soft); margin-top: .4rem; }

.wh-share { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.wh-share .btn { border-radius: 999px; padding: .35rem .85rem; font-size: .85rem; }
.wh-share .btn-wa { background: #25d366; color: #fff; }
.wh-share .btn-fb { background: #1877f2; color: #fff; }
.wh-share .btn-x { background: #000; color: #fff; }
.wh-share .btn-tg { background: #229ed9; color: #fff; }
.wh-bookmark.active { background: var(--wh-gold); border-color: var(--wh-gold); color: var(--wh-black); }

.wh-review-box { border: 1px solid var(--wh-border); border-left: 4px solid var(--wh-green); background: var(--wh-green-soft); border-radius: 10px; padding: 1rem 1.2rem; }
.wh-sources { font-size: .9rem; }
.wh-sources li { margin-bottom: .3rem; }

.wh-newsletter { background: linear-gradient(160deg, #161616, #0e0e0e); color: #e9e4d6; border-radius: var(--wh-radius); border-top: 3px solid var(--wh-gold); }
.wh-newsletter h2 { color: #fff; }
.wh-newsletter .form-check-label { color: #bdb59f; font-size: .8rem; }
.wh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* =====================================================================
   Informasi haji (Tahap 5)
   ===================================================================== */
.wh-live { border-radius: var(--wh-radius-sm); overflow: hidden; background: #0e0e0e; }
.wh-live-btn { border: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
    color: #fff; background: radial-gradient(ellipse at center, #2a2210, #0e0e0e) center / cover no-repeat; cursor: pointer; }
.wh-live-btn:hover .wh-live-play { transform: scale(1.08); background: var(--wh-gold-light); }
.wh-live-play { width: 68px; height: 68px; border-radius: 50%; background: var(--wh-gold); color: var(--wh-black);
    display: flex; align-items: center; justify-content: center; font-size: 2.2rem; transition: transform .15s ease; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.wh-live-label { font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.8); }

/* Alur langkah bernomor (dipakai di isi halaman: <ol class="wh-steps">) */
.wh-prose ol.wh-steps { list-style: none; padding: 0; counter-reset: langkah; margin: 1.5rem 0; }
.wh-prose ol.wh-steps > li { position: relative; padding: 0 0 1.4rem 3.4rem; counter-increment: langkah; }
.wh-prose ol.wh-steps > li::before { content: counter(langkah); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%;
    background: var(--wh-gold); color: var(--wh-black); font-weight: 800; display: flex; align-items: center; justify-content: center; font-family: var(--wh-font-head); }
.wh-prose ol.wh-steps > li::after { content: ""; position: absolute; left: 1.15rem; top: 2.6rem; bottom: .2rem; width: 2px; background: var(--wh-border); }
.wh-prose ol.wh-steps > li:last-child::after { display: none; }
.wh-prose ol.wh-steps > li > strong:first-child { display: block; font-family: var(--wh-font-head); color: var(--wh-black); }

/* Kotak penanda dalam isi: <div class="wh-note"> / <div class="wh-warn"> */
.wh-prose .wh-note { border-left: 4px solid var(--wh-info); background: var(--wh-info-soft); padding: .8rem 1rem; border-radius: 0 10px 10px 0; margin: 1rem 0; }
.wh-prose .wh-warn { border-left: 4px solid var(--wh-warning); background: var(--wh-warning-soft); padding: .8rem 1rem; border-radius: 0 10px 10px 0; margin: 1rem 0; }

/* =====================================================================
   Panduan ibadah (Tahap 6)
   ===================================================================== */
.wh-doa { scroll-margin-top: calc(var(--wh-header-h) + 1rem); }
.wh-doa.wh-target { border-color: var(--wh-gold); box-shadow: 0 0 0 3px var(--wh-gold-soft), var(--wh-shadow); }
.wh-doa-group { display: inline-block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
    color: var(--wh-gold-dark); text-decoration: none; margin-bottom: .2rem; }
.wh-doa .wh-doa-title { font-size: 1.1rem; margin: 0; }
.wh-doa .wh-doa-occasion { font-size: .85rem; color: var(--wh-text-soft); margin: .25rem 0 0; }
.wh-doa .wh-doa-arab { font-size: calc(1.75rem * var(--wh-arab-scale, 1)); line-height: 2.2; text-align: right; color: var(--wh-black);
    margin: .8rem 0; padding: .6rem .9rem; background: var(--wh-cream); border-radius: var(--wh-radius-sm); }
.wh-doa .wh-doa-latin { font-style: italic; color: var(--wh-green-dark); margin-bottom: .5rem; }
.wh-doa .wh-doa-arti { color: var(--wh-text); margin-bottom: .8rem; }
.wh-doa .wh-doa-arti::before { content: "\201C"; } .wh-doa .wh-doa-arti::after { content: "\201D"; }
.wh-hide-latin [data-wh-part="latin"], .wh-hide-arti [data-wh-part="arti"] { display: none; }
.wh-doa-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.wh-audio { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; flex: 1 1 280px; }
.wh-audio audio { height: 38px; flex: 1 1 220px; min-width: 0; }
.wh-audio-tools { display: flex; align-items: center; gap: .35rem; }
.wh-audio-tools .btn.active { background: var(--wh-gold); border-color: var(--wh-gold); }
.wh-doa-sources summary { cursor: pointer; color: var(--wh-text-soft); }
.wh-review-pending { border: 1px solid var(--wh-border); border-left: 4px solid var(--wh-warning); background: var(--wh-warning-soft);
    border-radius: 10px; padding: .8rem 1rem; color: #6b3d00; }
.wh-badge-pending { background: var(--wh-warning-soft); color: #7a4300; border: 1px solid #f3c48c; font-weight: 500; }
.wh-source-block { border-top: 1px dashed var(--wh-border); padding-top: 1.2rem; }
.wh-step-nav a { display: block; text-decoration: none; color: inherit; }
.wh-step-nav small { display: block; color: var(--wh-text-soft); }
.wh-step-nav strong { font-family: var(--wh-font-head); }
.wh-steps-bar { display: flex; flex-wrap: wrap; gap: .4rem; counter-reset: lgk; list-style: none; padding: 0; margin: 0; }
.wh-steps-bar li { counter-increment: lgk; }
.wh-steps-bar a, .wh-steps-bar span { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem .3rem .35rem; border-radius: 999px;
    border: 1px solid var(--wh-border); background: #fff; font-size: .85rem; color: var(--wh-text); text-decoration: none; }
.wh-steps-bar a::before, .wh-steps-bar span::before { content: counter(lgk); width: 1.5rem; height: 1.5rem; border-radius: 50%; display: inline-flex;
    align-items: center; justify-content: center; background: var(--wh-gold-soft); color: var(--wh-gold-dark); font-weight: 700; font-size: .75rem; }
.wh-steps-bar span[aria-current] { background: var(--wh-black); color: #fff; border-color: var(--wh-black); }
.wh-steps-bar span[aria-current]::before { background: var(--wh-gold); color: var(--wh-black); }
.wh-faq .accordion-button { font-weight: 600; }
.wh-faq .accordion-button:not(.collapsed) { background: var(--wh-gold-soft); color: var(--wh-black); box-shadow: none; }
.wh-faq .accordion-item { scroll-margin-top: calc(var(--wh-header-h) + 1rem); }
.wh-faq-answer { font-size: 1rem; }
.wh-faq-answer > :last-child { margin-bottom: 0; }
@media print {
    .wh-doa-actions, .wh-doa-toolbar, .wh-chip-row { display: none !important; }
    .wh-doa { break-inside: avoid; box-shadow: none; }
}

/* =====================================================================
   Falak: jadwal salat, kiblat, kalender Hijriah (Tahap 7)
   ===================================================================== */
.wh-glass-table th, .wh-glass-table td { padding: .18rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #efe9d8; font-weight: 500; }
.wh-glass-table thead th { color: var(--wh-gold-light); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.wh-glass-table tbody th { color: #bdb59f; font-weight: 400; }
.wh-glass-table td { font-variant-numeric: tabular-nums; }
.wh-glass-note { color: #bdb59f; }

.wh-prayer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: .6rem; }
.wh-prayer-cell { border: 1px solid var(--wh-border); border-radius: var(--wh-radius-sm); padding: .7rem .5rem; text-align: center; background: #fff; }
.wh-prayer-cell .wh-pk { display: block; font-size: .78rem; color: var(--wh-text-soft); text-transform: uppercase; letter-spacing: .05em; }
.wh-prayer-cell .wh-pt { display: block; font-family: var(--wh-font-head); font-weight: 800; font-size: 1.45rem; color: var(--wh-black); font-variant-numeric: tabular-nums; }
.wh-prayer-cell.wh-minor .wh-pt { font-size: 1.1rem; color: var(--wh-text-soft); }
.wh-prayer-cell.wh-next { background: var(--wh-black); border-color: var(--wh-black); }
.wh-prayer-cell.wh-next .wh-pk { color: var(--wh-gold-light); }
.wh-prayer-cell.wh-next .wh-pt { color: #fff; }
.wh-countdown { font-family: var(--wh-font-head); font-weight: 800; font-variant-numeric: tabular-nums; }
.wh-month-table { font-variant-numeric: tabular-nums; font-size: .9rem; }
.wh-month-table td, .wh-month-table th { white-space: nowrap; text-align: center; }
.wh-month-table td:first-child, .wh-month-table th:first-child { text-align: left; }
.wh-month-table tr.wh-today td { background: var(--wh-gold-soft); font-weight: 700; }
.wh-month-table tr.wh-friday td:first-child { color: var(--wh-green); font-weight: 600; }

.wh-compass { position: relative; width: min(300px, 80vw); aspect-ratio: 1; margin: 0 auto; }
.wh-compass svg { width: 100%; height: 100%; display: block; }
.wh-compass-dial { transition: transform .25s linear; transform-box: view-box; transform-origin: 50% 50%; }
.wh-compass-status { min-height: 1.5rem; }
.wh-compass.wh-aligned .wh-compass-ring { stroke: var(--wh-green); }
.wh-qibla-number { font-family: var(--wh-font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--wh-black); }
.wh-qibla-map { height: 320px; border-radius: var(--wh-radius-sm); overflow: hidden; border: 1px solid var(--wh-border); }

.wh-cal { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 4px; }
.wh-cal th { text-align: center; font-size: .78rem; color: var(--wh-text-soft); font-weight: 600; padding: .3rem 0; }
.wh-cal td { vertical-align: top; background: #fff; border: 1px solid var(--wh-border); border-radius: 8px; padding: .35rem .4rem; height: 74px; }
.wh-cal td.wh-out { background: transparent; border-color: transparent; }
.wh-cal td.wh-today { border-color: var(--wh-gold); box-shadow: 0 0 0 2px var(--wh-gold-soft); }
.wh-cal .wh-cd { font-family: var(--wh-font-head); font-weight: 800; font-size: 1.05rem; color: var(--wh-black); }
.wh-cal .wh-ch { display: block; font-size: .72rem; color: var(--wh-green-dark); line-height: 1.2; }
.wh-cal .wh-ch.wh-alt { color: var(--wh-gold-dark); }
.wh-cal .wh-ce { display: block; font-size: .66rem; color: #fff; background: var(--wh-green); border-radius: 4px; padding: 0 .25rem; margin-top: .15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wh-cal td:first-child .wh-cd { color: var(--wh-danger); }
.wh-cal td:nth-child(6) .wh-cd { color: var(--wh-green); }
@media (max-width: 575.98px) { .wh-cal td { height: 58px; padding: .25rem; } .wh-cal .wh-ch { font-size: .62rem; } .wh-cal .wh-ce { display: none; } }

/* =====================================================================
   Persiapan: checklist & kalender persiapan (Tahap 8)
   ===================================================================== */
.wh-cl-progress { height: 1.4rem; border-radius: 999px; background: var(--wh-cream); }
.wh-cl-progress .progress-bar { background: linear-gradient(90deg, var(--wh-gold), var(--wh-gold-light)); color: var(--wh-black); font-weight: 700; font-size: .78rem; min-width: 2.6rem; }
.wh-cl-progress.is-complete .progress-bar { background: var(--wh-green); color: #fff; }
.wh-cl .wh-card-icon { width: 44px; height: 44px; font-size: 1.25rem; }
.wh-cl-count { background: var(--wh-cream); color: var(--wh-text); border: 1px solid var(--wh-border); font-weight: 600; }
.wh-cl-count.is-complete { background: var(--wh-green); border-color: var(--wh-green); color: #fff; }
.wh-cl .wh-cl-group { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--wh-gold-dark); margin: 1rem 0 .4rem; font-family: var(--wh-font); font-weight: 700; }
.wh-cl-list { margin: 0; }
.wh-cl-item { display: flex; align-items: flex-start; gap: .65rem; padding: .55rem .2rem; border-bottom: 1px dashed var(--wh-border); }
.wh-cl-item:last-child { border-bottom: 0; }
.wh-cl-item .form-check-input { width: 1.3rem; height: 1.3rem; margin-top: .1rem; flex-shrink: 0; cursor: pointer; }
.wh-cl-item .form-check-input:checked { background-color: var(--wh-green); border-color: var(--wh-green); }
.wh-cl-item label { cursor: pointer; flex: 1; }
.wh-cl-item.is-done .wh-cl-label { text-decoration: line-through; color: var(--wh-text-soft); }
.wh-cl-req { background: var(--wh-danger-soft); color: #9e2626; font-weight: 600; font-size: .68rem; vertical-align: middle; }
.wh-cl-hidedone .wh-cl-item.is-done { display: none; }
.wh-cl-own .wh-cl-label { font-style: italic; }

.wh-tl-countdown { font-size: .95rem; color: var(--wh-text-soft); }
.wh-tl-big { display: block; font-family: var(--wh-font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--wh-black); }
.wh-tl { position: relative; margin: 0; }
.wh-tl::before { content: ""; position: absolute; left: 4.6rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--wh-border); }
.wh-tl-item { position: relative; display: flex; gap: 1.4rem; padding: .7rem 0; }
.wh-tl-when { width: 4rem; flex-shrink: 0; text-align: right; }
.wh-tl-h { display: block; font-family: var(--wh-font-head); font-weight: 800; color: var(--wh-gold-dark); }
.wh-tl-date { display: block; font-size: .72rem; color: var(--wh-text-soft); line-height: 1.2; }
.wh-tl-body { position: relative; flex: 1; display: flex; gap: .65rem; align-items: flex-start; background: #fff; border: 1px solid var(--wh-border); border-radius: var(--wh-radius-sm); padding: .7rem .9rem; }
.wh-tl-body::before { content: ""; position: absolute; left: -1.15rem; top: 1rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--wh-gold); box-shadow: 0 0 0 3px var(--wh-cream); }
.wh-tl-body .form-check-input { width: 1.3rem; height: 1.3rem; margin-top: .1rem; flex-shrink: 0; }
.wh-tl-body .form-check-input:checked { background-color: var(--wh-green); border-color: var(--wh-green); }
.wh-tl-body label { flex: 1; cursor: pointer; }
.wh-tl-status { color: var(--wh-text-soft); }
.wh-tl-item.is-done .wh-cl-label { text-decoration: line-through; color: var(--wh-text-soft); }
.wh-tl-item.is-done .wh-tl-body::before { background: var(--wh-green); }
.wh-tl-item.is-late .wh-tl-status { color: var(--wh-danger); font-weight: 600; }
.wh-tl-item.is-today .wh-tl-body, .wh-tl-item.is-next .wh-tl-body { border-color: var(--wh-gold); box-shadow: 0 0 0 3px var(--wh-gold-soft); }
.wh-tl-item.is-today .wh-tl-status { color: var(--wh-green); font-weight: 600; }
@media (max-width: 575.98px) { .wh-tl::before { left: 3.6rem; } .wh-tl-when { width: 3rem; } .wh-tl-item { gap: 1.1rem; } .wh-tl-body::before { left: -1rem; } }
@media print { .wh-tl-item, .wh-cl-item { break-inside: avoid; } .wh-cl.d-none { display: none !important; } }

/* =====================================================================
   Kalkulator & tools (Tahap 9)
   ===================================================================== */
.wh-num { font-variant-numeric: tabular-nums; }
.wh-swap { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: var(--wh-gold-soft); color: var(--wh-gold-dark); font-size: 1.2rem; }
.wh-quick-table td, .wh-quick-table th { font-variant-numeric: tabular-nums; }
.wh-result { border-left: 4px solid var(--wh-gold); }
.wh-result-big { font-family: var(--wh-font-head); font-weight: 800; font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.1; color: var(--wh-black); margin: .2rem 0 .6rem; font-variant-numeric: tabular-nums; }
.wh-result-big small { font-size: .45em; font-weight: 600; color: var(--wh-text-soft); }
.wh-counter-ring { position: relative; width: min(240px, 70vw); aspect-ratio: 1; margin: 0 auto; }
.wh-counter-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.wh-counter-track { fill: none; stroke: var(--wh-cream); stroke-width: 10; }
.wh-counter-arc { fill: none; stroke: var(--wh-gold); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset .3s ease; }
.wh-counter.is-done .wh-counter-arc { stroke: var(--wh-green); }
.wh-counter-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.wh-counter-num span { font-family: var(--wh-font-head); font-weight: 800; font-size: 4.5rem; line-height: 1; color: var(--wh-black); font-variant-numeric: tabular-nums; }
.wh-counter-num small { color: var(--wh-text-soft); }
.wh-counter-btn { padding-top: 1.1rem; padding-bottom: 1.1rem; font-size: 1.2rem; font-weight: 700; }
.wh-counter-log li { padding: .2rem 0; border-bottom: 1px dashed var(--wh-border); }
.wh-counter-log li:last-child { border-bottom: 0; }

/* =====================================================================
   Direktori Makkah & Madinah (Tahap 10)
   ===================================================================== */
.wh-dir-map { height: 380px; border-radius: var(--wh-radius-sm); overflow: hidden; background: var(--wh-cream); }
.wh-dir-map-sm { height: 280px; }
@media (max-width: 575.98px) { .wh-dir-map { height: 300px; } }
.wh-loc-card { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.wh-loc-card:hover { border-color: var(--wh-gold); }
.wh-loc-thumb { display: block; aspect-ratio: 16 / 9; background: var(--wh-cream); }
.wh-loc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wh-loc-thumb-empty { display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: #fff;
    background: linear-gradient(135deg, var(--wh-marker, var(--wh-green)), var(--wh-black)); }
.wh-loc-card .wh-loc-ar { font-size: 1rem; color: var(--wh-text-soft); }
.wh-loc-ar { font-family: 'Amiri', 'Traditional Arabic', serif; }
.wh-dot { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .3rem; vertical-align: .05rem; }
.wh-facilities { list-style: none; padding: 0; margin: .6rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.wh-facilities li { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; padding: .18rem .55rem; border-radius: 999px;
    background: var(--wh-green-soft); color: var(--wh-green-dark); }
.wh-facilities li.more { background: var(--wh-cream); color: var(--wh-text-soft); }
.wh-loc-desc p:last-child { margin-bottom: 0; }
.wh-loc-gallery .wh-loc-main { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--wh-radius-sm); display: block; background: var(--wh-cream); }
.wh-loc-thumbs { display: flex; gap: .5rem; overflow-x: auto; padding-top: .6rem; }
.wh-loc-thumbbtn { flex: 0 0 auto; width: 84px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; }
.wh-loc-thumbbtn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wh-loc-thumbbtn.active, .wh-loc-thumbbtn:focus-visible { border-color: var(--wh-gold); }
.wh-loc-info .border-bottom:last-child { border-bottom: 0 !important; }
.wh-loc-info-text { min-width: 0; overflow-wrap: anywhere; }
.wh-loc-near span { font-weight: 600; }
@media print { .wh-dir-map, [data-wh-near-me], .wh-loc-thumbs { display: none !important; } }

/* =====================================================================
   Di Tanah Suci (Tahap 11)
   ===================================================================== */
.wh-hs-countdown { font-family: var(--wh-font-head); font-weight: 800; font-size: 1.6rem; font-variant-numeric: tabular-nums; color: var(--wh-green); line-height: 1; }
.wh-hs-times { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: .4rem; }
.wh-hs-times li { background: var(--wh-cream); border-radius: 10px; padding: .45rem .3rem; text-align: center; font-size: .78rem; color: var(--wh-text-soft); }
.wh-hs-times li strong { display: block; font-size: 1rem; color: var(--wh-black); font-variant-numeric: tabular-nums; }
.wh-hs-times li.is-next { background: var(--wh-black); color: var(--wh-gold-light); }
.wh-hs-times li.is-next strong { color: #fff; }
@media (max-width: 575.98px) { .wh-hs-times { grid-template-columns: repeat(3, 1fr); } }
.wh-hs-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; }
.wh-hs-tile { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; padding: .9rem; border-radius: var(--wh-radius-sm);
    background: #fff; border: 1px solid var(--wh-border); color: var(--wh-text); text-decoration: none; font-size: .86rem; font-weight: 600; min-height: 88px; }
.wh-hs-tile i { font-size: 1.35rem; color: var(--wh-gold-dark); }
.wh-hs-tile:hover, .wh-hs-tile:focus-visible { border-color: var(--wh-gold); color: var(--wh-black); }
.wh-hs-sos { border-left: 4px solid var(--wh-danger); }
.wh-hs-map { height: min(62vh, 520px); }
.wh-place-icon { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--wh-gold-soft); color: var(--wh-gold-dark); font-size: 1.1rem; }
.wh-gc-row:last-child { border-bottom: 0 !important; }
.wh-contact { display: flex; flex-direction: column; }
.wh-contact .wh-contact-num { font-family: var(--wh-font-head); font-weight: 800; font-size: 1.25rem; white-space: nowrap; font-variant-numeric: tabular-nums; }

.wh-phrase { background: #fff; border: 1px solid var(--wh-border); border-radius: var(--wh-radius-sm); padding: .8rem 1rem; margin-bottom: .6rem; }
.wh-phrase .wh-phrase-id { font-weight: 600; }
.wh-phrase .wh-phrase-ar { font-family: 'Amiri', 'Traditional Arabic', serif; font-size: 1.6rem; line-height: 1.7; text-align: right; color: var(--wh-black); }
.wh-phrase .wh-phrase-latin { font-size: .86rem; color: var(--wh-green-dark); font-style: italic; }
.wh-phrase .wh-phrase-en { font-size: .82rem; color: var(--wh-text-soft); margin-top: .15rem; }
.wh-phrase .wh-phrase-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.wh-phrase.wh-phrase-compact { cursor: pointer; padding: .55rem .8rem; }
.wh-phrase.wh-phrase-compact .wh-phrase-ar { font-size: 1.3rem; }
.wh-phrase.wh-phrase-compact:hover, .wh-phrase.wh-phrase-compact:focus-visible { border-color: var(--wh-gold); outline: none; }
.wh-phrase-ar-cell { font-family: 'Amiri', 'Traditional Arabic', serif; font-size: 1.1rem; }
.wh-phrase-ar-input { font-family: 'Amiri', 'Traditional Arabic', serif; font-size: 1.25rem; }

/* Tampilan layar penuh: frasa, kartu sopir, alarm */
body.wh-overlay-open { overflow: hidden; }
.wh-phrase-show, .wh-driver-card, .wh-alarm { position: fixed; inset: 0; z-index: 1080; display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 4.5rem 1.5rem 2rem; text-align: center; overflow-y: auto; }
.wh-phrase-show[hidden], .wh-driver-card[hidden], .wh-alarm[hidden] { display: none; }
.wh-phrase-show, .wh-driver-card { background: #fff; }
.wh-phrase-show-close { position: absolute; top: 1rem; right: 1rem; border: 1px solid var(--wh-border); }
.wh-phrase-show-ar { font-family: 'Amiri', 'Traditional Arabic', serif; font-size: clamp(2.4rem, 11vw, 5.5rem); line-height: 1.5; color: var(--wh-black); }
.wh-phrase-show-id { margin-top: 1.2rem; font-size: 1.1rem; color: var(--wh-text-soft); }
.wh-driver-ask { font-family: 'Amiri', 'Traditional Arabic', serif; font-size: clamp(1.6rem, 7vw, 2.6rem); color: var(--wh-green-dark); }
.wh-driver-ask-id { color: var(--wh-text-soft); margin-bottom: 1.4rem; }
.wh-driver-ar { font-family: 'Amiri', 'Traditional Arabic', serif; font-size: clamp(2rem, 9vw, 4rem); line-height: 1.5; color: var(--wh-black); }
.wh-driver-name { font-family: var(--wh-font-head); font-weight: 800; font-size: clamp(1.6rem, 6vw, 2.6rem); color: var(--wh-black); margin-top: .6rem; }
.wh-driver-addr { font-size: 1.15rem; margin-top: .4rem; }
.wh-driver-extra { color: var(--wh-text-soft); margin-top: .4rem; }
.wh-alarm { background: rgba(14, 14, 14, .82); }
.wh-alarm-box { background: #fff; border-radius: var(--wh-radius); padding: 2rem 1.5rem; max-width: 420px; width: 100%; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.wh-alarm-box > i { font-size: 3rem; color: var(--wh-gold-dark); }
.wh-alarm-title { font-family: var(--wh-font-head); font-weight: 800; font-size: 1.6rem; margin-top: .5rem; }
.wh-alarm-text { color: var(--wh-text-soft); }
.wh-rem-upcoming { padding-left: 1.2rem; }
.wh-rem-upcoming li { padding: .2rem 0; }
@media print { .wh-hs-tiles, [data-wh-hs-locate] { display: none !important; } }

/* =====================================================================
   PWA & offline (Tahap 12)
   ===================================================================== */
.wh-offline-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1070; background: var(--wh-warning); color: #1e1d1a; font-size: .82rem;
    padding: .45rem 1rem calc(.45rem + env(safe-area-inset-bottom)); text-align: center; font-weight: 600; }
@media (max-width: 991.98px) { .wh-offline-banner { bottom: 60px; } }
.wh-install-btn { display: none; background: none; border: 1px solid rgba(255, 255, 255, .25); color: inherit; border-radius: 999px; padding: .15rem .7rem; margin-right: .6rem; font-size: .82rem; }
html.wh-can-install .wh-install-btn { display: inline-block; }
.wh-install-btn:hover { border-color: var(--wh-gold); color: var(--wh-gold-light); }
.wh-footer-offline { color: inherit; text-decoration: none; font-size: .82rem; }
.wh-footer-offline:hover { color: var(--wh-gold-light); }
.wh-off-group { border: 1px solid var(--wh-border); border-radius: var(--wh-radius-sm); padding: .55rem .8rem; margin-bottom: .5rem; background: #fff; }
.wh-off-group > summary { cursor: pointer; list-style-position: outside; }
.wh-off-items { list-style: none; padding: .4rem 0 0 1.6rem; margin: 0; }
.wh-off-items li { display: flex; justify-content: space-between; gap: .5rem; padding: .25rem 0; border-bottom: 1px dashed var(--wh-border); font-size: .88rem; }
.wh-off-items li:last-child { border-bottom: 0; }
.wh-off-items a { color: var(--wh-text); text-decoration: none; }
.wh-off-badge { font-size: .72rem; color: var(--wh-text-soft); white-space: nowrap; }
.wh-off-badge.ok { color: var(--wh-green); font-weight: 600; }
.wh-off-badge.ok::before { content: "\2713  "; }
@media (display-mode: standalone) { .wh-topbar { padding-top: env(safe-area-inset-top); } }
