/* DeenPath — Custom CSS
   "Midnight Emerald" — a sleek, modern dark theme with luminous emerald,
   refined gold accents, glassmorphism and soft glow. */
:root {
    /* ── Dark system palette ─────────────── */
    --dp-bg:          #080d0b;   /* near-black emerald base */
    --dp-bg-2:        #0c1310;   /* alternating section base */
    --dp-surface:     #111b16;   /* cards / reading surface */
    --dp-surface-2:   #16221c;   /* elevated surface */
    --dp-surface-3:   #1d2c25;   /* hover / active */
    --dp-border:      rgba(255,255,255,0.08);
    --dp-border-2:    rgba(255,255,255,0.14);

    /* Brand */
    --dp-green:       #1db86a;
    --dp-green-light: #36e08c;
    --dp-green-dark:  #0f7a47;
    --dp-green-deep:  #0a5733;
    --dp-green-glow:  rgba(29,184,106,0.30);
    --dp-gold:        #e3b964;
    --dp-gold-light:  #f3d79a;

    /* Text */
    --dp-text:        #e9efeb;
    --dp-text-muted:  #93a79b;
    --dp-text-dim:    #6c7e75;
    --dp-white:       #ffffff;

    /* Legacy / admin (light back-office) */
    --dp-cream:       #f3f0e8;
    --dp-cream-dark:  #e8e2d4;

    /* Effects */
    --dp-shadow:      0 10px 40px rgba(0,0,0,0.45);
    --dp-shadow-sm:   0 4px 18px rgba(0,0,0,0.35);
    --dp-glow:        0 0 30px rgba(29,184,106,0.18);
    --dp-radius:      16px;
    --dp-radius-sm:   10px;
    --dp-radius-lg:   24px;

    /* Gradients */
    --dp-grad-green:  linear-gradient(135deg, #36e08c 0%, #1db86a 45%, #0f7a47 100%);
    --dp-grad-gold:   linear-gradient(135deg, #f3d79a, #e3b964);

    --dp-font-ui:     'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --dp-font-arabic: 'Scheherazade New', 'Amiri', 'Traditional Arabic', serif;
}

/* ── Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.dp-site {
    font-family: var(--dp-font-ui);
    background: var(--dp-bg);
    color: var(--dp-text);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
/* Ambient glow behind the page */
body.dp-site::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(900px 500px at 85% -5%, rgba(29,184,106,0.12), transparent 60%),
        radial-gradient(700px 500px at 0% 0%, rgba(227,185,100,0.06), transparent 55%);
    pointer-events: none;
}
.dp-site a { color: var(--dp-green-light); text-decoration: none; transition: color .15s; }
.dp-site a:hover { color: var(--dp-gold-light); text-decoration: none; }
.dp-site h1,.dp-site h2,.dp-site h3,.dp-site h4,.dp-site h5,.dp-site h6 {
    font-weight: 800; color: var(--dp-text); letter-spacing: -0.02em;
}
.dp-site img { max-width: 100%; height: auto; }
.dp-site .text-muted { color: var(--dp-text-muted) !important; }
.dp-site .lead { color: var(--dp-text-muted); }
.dp-site ::selection { background: rgba(29,184,106,0.30); color: #fff; }

/* Eyebrow label */
.dp-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .72rem; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--dp-green-light);
    padding: .35rem .9rem; border-radius: 50px;
    background: rgba(29,184,106,0.10);
    border: 1px solid rgba(29,184,106,0.22);
}

/* ── Bootstrap dark overrides (public only) ─── */
.dp-site .bg-white { background: var(--dp-surface) !important; }
.dp-site .bg-light { background: var(--dp-surface-2) !important; }
.dp-site .text-dark { color: var(--dp-text) !important; }
.dp-site .card {
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    color: var(--dp-text);
    border-radius: var(--dp-radius);
}
.dp-site .border { border-color: var(--dp-border) !important; }
.dp-site .border-top, .dp-site .border-bottom { border-color: var(--dp-border) !important; }
.dp-site hr { border-color: var(--dp-border); opacity: 1; }
.dp-site .table { color: var(--dp-text); --bs-table-bg: transparent; border-color: var(--dp-border); }
.dp-site .table > :not(caption) > * > * { border-color: var(--dp-border); }
.dp-site .form-control, .dp-site .form-select {
    background: var(--dp-surface-2);
    border: 1px solid var(--dp-border-2);
    color: var(--dp-text);
    border-radius: var(--dp-radius-sm);
}
.dp-site .form-control:focus, .dp-site .form-select:focus {
    background: var(--dp-surface-2);
    border-color: var(--dp-green);
    color: var(--dp-text);
    box-shadow: 0 0 0 .2rem rgba(29,184,106,0.20);
}
.dp-site .form-control::placeholder { color: var(--dp-text-dim); }
.dp-site .input-group-text { background: var(--dp-surface-3); border-color: var(--dp-border-2); color: var(--dp-text-muted); }
.dp-site .badge.bg-success { background: rgba(29,184,106,0.16) !important; color: var(--dp-green-light) !important; }
.dp-site .text-success { color: var(--dp-green-light) !important; }
.dp-site .alert { border-radius: var(--dp-radius-sm); border-color: var(--dp-border-2); }
.dp-site .accordion { --bs-accordion-bg: var(--dp-surface); --bs-accordion-color: var(--dp-text); --bs-accordion-border-color: var(--dp-border); }
.dp-site .accordion-button { background: var(--dp-surface-2); color: var(--dp-text); border-radius: var(--dp-radius-sm) !important; }
.dp-site .accordion-button:not(.collapsed) { background: var(--dp-surface-3); color: var(--dp-green-light); box-shadow: none; }
.dp-site .accordion-button::after { filter: invert(1) grayscale(1) brightness(1.5); }
.dp-site .accordion-body { background: var(--dp-surface); color: var(--dp-text); }
.dp-site .list-group-item { background: var(--dp-surface); color: var(--dp-text); border-color: var(--dp-border); }
.dp-site .modal-content { background: var(--dp-surface); color: var(--dp-text); border: 1px solid var(--dp-border-2); }
.dp-site .page-link { background: var(--dp-surface-2); border-color: var(--dp-border); color: var(--dp-text); }
.dp-site .page-link:hover { background: var(--dp-surface-3); color: var(--dp-green-light); }
.dp-site .page-item.active .page-link { background: var(--dp-green-dark); border-color: var(--dp-green); color: #fff; }
.dp-site .page-item.disabled .page-link { background: var(--dp-surface); color: var(--dp-text-dim); }

/* ── Navbar (glass) ──────────────────── */
.navbar-deenpath {
    background: rgba(10,16,13,0.72) !important;
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--dp-border);
    height: 58px;
    padding: 0 !important;
    overflow: visible;
    position: sticky; top: 0; z-index: 1030;
    transition: background .3s, box-shadow .3s;
}
.navbar-deenpath > .container {
    height: 100%;
    align-items: center;
}
.navbar-deenpath.scrolled { background: rgba(8,13,11,0.92) !important; box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
.navbar-deenpath .navbar-brand {
    font-size: 1.45rem; font-weight: 800;
    color: var(--dp-white) !important; letter-spacing: -0.5px;
    display: inline-flex; align-items: center; gap: .55rem;
}
.navbar-deenpath .navbar-brand .brand-mark {
    width: 34px; height: 34px; border-radius: 10px;
    background: var(--dp-grad-green);
    display: inline-flex; align-items: center; justify-content: center;
    color: #04140c; font-size: 1.1rem; box-shadow: var(--dp-glow);
}
.navbar-deenpath .navbar-brand span { color: var(--dp-green-light); }
.dp-logo-brand { padding: 0 !important; gap: 0 !important; }
.dp-logo-img { height: 56px !important; width: auto !important; max-width: none !important; display: block; }
@media (max-width: 991.98px) { .dp-logo-img { height: 45px !important; } }
.navbar-deenpath .nav-link {
    color: rgba(233,239,235,0.78) !important;
    font-weight: 600;
    padding: 0.5rem 0.6rem !important;
    border-radius: var(--dp-radius-sm);
    transition: background 0.2s, color 0.2s;
    font-size: 0.9rem;
    white-space: nowrap;
}
.navbar-deenpath .nav-link:hover,
.navbar-deenpath .nav-link.active {
    background: rgba(29,184,106,0.12);
    color: var(--dp-white) !important;
}
.navbar-deenpath .navbar-toggler { border-color: var(--dp-border-2); padding: .3rem .55rem; }
.navbar-deenpath .navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(29,184,106,0.25); }
.navbar-deenpath .navbar-toggler-icon { filter: brightness(0) invert(1); }
.navbar-deenpath .dropdown-menu {
    background: rgba(16,24,20,0.97);
    backdrop-filter: blur(12px);
    border: 1px solid var(--dp-border-2);
    box-shadow: var(--dp-shadow);
    border-radius: var(--dp-radius-sm);
    padding: .4rem;
}
.navbar-deenpath .dropdown-item { font-size: 0.9rem; color: var(--dp-text); border-radius: 8px; padding: .5rem .75rem; }
.navbar-deenpath .dropdown-item:hover { background: rgba(29,184,106,0.14); color: var(--dp-green-light); }
.navbar-deenpath .dropdown-divider { border-color: var(--dp-border); }

/* ── Hero Section ────────────────────── */
.hero-section {
    background:
        radial-gradient(1000px 600px at 80% -20%, rgba(29,184,106,0.22), transparent 60%),
        radial-gradient(700px 500px at 10% 120%, rgba(227,185,100,0.10), transparent 55%),
        linear-gradient(180deg, #0a120e 0%, #080d0b 100%);
    color: var(--dp-white);
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--dp-border);
}
.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-section .container { position: relative; z-index: 1; }
.hero-section h1 {
    font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; color: var(--dp-white);
    line-height: 1.05; margin-bottom: 1.2rem;
}
.hero-section h1 .grad { background: var(--dp-grad-green); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-section p { font-size: 1.18rem; color: rgba(233,239,235,0.82); max-width: 640px; }
.hero-section .dp-banner-text { max-width: none; }
.hero-bismillah {
    font-size: 2.1rem; font-family: var(--dp-font-arabic);
    color: var(--dp-gold-light); opacity: 0.85; margin-bottom: 1.25rem;
}
.btn-hero-primary {
    background: var(--dp-grad-green);
    color: #04140c; border: none; font-weight: 700;
    padding: 0.75rem 1.25rem; border-radius: 50px;
    box-shadow: 0 10px 30px rgba(29,184,106,0.30);
    transition: transform 0.18s, box-shadow .18s;
}
.btn-hero-primary:hover { color: #04140c; transform: translateY(-2px); box-shadow: 0 14px 38px rgba(29,184,106,0.45); }
.btn-hero-outline {
    background: rgba(255,255,255,0.04);
    color: var(--dp-white);
    border: 1px solid var(--dp-border-2);
    backdrop-filter: blur(6px);
    font-weight: 600; padding: 0.75rem 1.1rem; border-radius: 50px;
    transition: all 0.2s;
}
.btn-hero-outline:hover { background: rgba(29,184,106,0.14); color: var(--dp-white); border-color: rgba(29,184,106,0.5); transform: translateY(-2px); }

/* Hero stats */
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2.75rem; }
.hero-stats .stat .num { font-size: 1.8rem; font-weight: 800; color: var(--dp-gold-light); line-height: 1; }
.hero-stats .stat .lbl { font-size: .8rem; color: var(--dp-text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: .3rem; }

/* ── Section Headings ────────────────── */
.section-heading { text-align: center; margin-bottom: 3rem; }
.section-heading h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); color: var(--dp-text); }
.section-heading .lead { color: var(--dp-text-muted); max-width: 620px; margin: .5rem auto 0; }
.section-divider {
    width: 64px; height: 4px;
    background: var(--dp-grad-green);
    border-radius: 2px; margin: 1rem auto 0;
    box-shadow: var(--dp-glow);
}

/* ── Cards ───────────────────────────── */
.dp-card {
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    box-shadow: var(--dp-shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s, border-color .25s;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.dp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--dp-shadow), var(--dp-glow);
    border-color: rgba(29,184,106,0.35);
}
.dp-card .card-icon {
    width: 54px; height: 54px;
    background: rgba(29,184,106,0.12);
    border: 1px solid rgba(29,184,106,0.25);
    color: var(--dp-green-light);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.dp-card .card-title, .dp-card .card-title a { font-size: 1.05rem; font-weight: 700; color: var(--dp-text); }
.dp-card .card-title a:hover { color: var(--dp-green-light); }
.dp-card .card-text { font-size: 0.9rem; color: var(--dp-text-muted); }

/* Quick Access Cards */
.quick-card {
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    padding: 1.6rem 1rem;
    text-align: center;
    transition: all 0.25s;
    display: flex; flex-direction: column; align-items: center; gap: .55rem;
    color: var(--dp-text);
    text-decoration: none !important;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.quick-card::after {
    content: ''; position: absolute; inset: 0;
    background: var(--dp-grad-green); opacity: 0; transition: opacity .25s; z-index: 0;
}
.quick-card > * { position: relative; z-index: 1; }
.quick-card .icon {
    width: 56px; height: 56px; border-radius: 16px;
    background: rgba(29,184,106,0.12); border: 1px solid rgba(29,184,106,0.22);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: var(--dp-green-light);
    transition: all .25s;
}
.quick-card:hover {
    border-color: rgba(29,184,106,0.45);
    color: var(--dp-white);
    transform: translateY(-5px);
    box-shadow: var(--dp-shadow), var(--dp-glow);
}
.quick-card:hover .icon { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.3); color: #fff; transform: scale(1.06); }
.quick-card .label { font-weight: 700; font-size: 0.95rem; }

/* Help Cards */
.help-card {
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius-sm);
    padding: 1.15rem 1.25rem;
    transition: all 0.2s;
    display: flex; align-items: center; gap: .75rem;
    color: var(--dp-text);
    text-decoration: none !important;
    height: 100%;
}
.help-card::before { content: '\F138'; font-family: 'bootstrap-icons'; color: var(--dp-green-light); font-size: 1.05rem; opacity: .65; transition: transform .2s; }
.help-card:hover { background: var(--dp-surface-3); border-color: rgba(29,184,106,0.4); transform: translateY(-2px); }
.help-card:hover::before { transform: translateX(3px); opacity: 1; }
.help-card span { font-weight: 600; font-size: 0.93rem; }

/* Faith Cards */
.faith-card {
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius-sm);
    padding: 1.1rem 1.25rem;
    display: flex; align-items: center; gap: 1rem;
    transition: all 0.2s;
    text-decoration: none !important;
    color: var(--dp-text);
    height: 100%;
}
.faith-card:hover { background: var(--dp-surface-3); border-color: rgba(29,184,106,0.45); transform: translateX(4px); }
.faith-card:hover .faith-icon { background: rgba(227,185,100,0.18); border-color: rgba(227,185,100,0.55); filter: brightness(0) invert(1) sepia(1) saturate(2.2) brightness(0.87); }
.faith-card .faith-icon {
    font-size: 1.35rem; line-height: 1; flex-shrink: 0;
    width: 46px; height: 46px; border-radius: 12px;
    background: rgba(29,184,106,0.12); border: 1px solid rgba(29,184,106,0.28);
    display: flex; align-items: center; justify-content: center;
    /* CSS filter converts any coloured emoji to emerald green on all platforms
       (iOS/Android ignore font-variant-emoji; filters apply to raster glyphs too) */
    filter: brightness(0) invert(1) sepia(1) hue-rotate(103deg) saturate(3.5) brightness(0.88);
    transition: background .2s, border-color .2s, filter .2s;
}
/* Shared tile for explore-islam pathway cards */
.dp-faith-icon-tile {
    font-size: 1.35rem; line-height: 1; flex-shrink: 0;
    width: 46px; height: 46px; border-radius: 12px;
    background: rgba(29,184,106,0.12); border: 1px solid rgba(29,184,106,0.28);
    display: flex; align-items: center; justify-content: center;
    filter: brightness(0) invert(1) sepia(1) hue-rotate(103deg) saturate(3.5) brightness(0.88);
    transition: background .2s, border-color .2s, filter .2s;
}
.pathway-card:hover .dp-faith-icon-tile {
    background: rgba(227,185,100,0.18); border-color: rgba(227,185,100,0.55);
    filter: brightness(0) invert(1) sepia(1) saturate(2.2) brightness(0.87);
}
.faith-card .faith-label { font-weight: 600; font-size: 0.93rem; }

/* Faith pathway page stacks multiple .dp-card in one column — opt out of the
   global equal-height (height:100%) rule so they size to their own content. */
.faith-pathway-page .dp-card { height: auto; }

/* Faith pathway hero icon — sleek monochrome emerald tile */
.faith-hero-icon {
    width: 72px; height: 72px; border-radius: 18px;
    background: rgba(29,184,106,0.12); border: 1px solid rgba(29,184,106,0.3);
    color: var(--dp-green-light);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 2.2rem; line-height: 1; margin-bottom: 1rem;
    box-shadow: var(--dp-glow);
    font-family: var(--dp-font-ui), 'Segoe UI Symbol', sans-serif;
}

/* Daily Content Cards */
.daily-card {
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    border-left: 3px solid var(--dp-gold);
    border-radius: var(--dp-radius);
    padding: 1.75rem;
    box-shadow: var(--dp-shadow-sm);
    height: 100%;
}
.daily-card .daily-label {
    font-size: 0.72rem; font-weight: 800; letter-spacing: 1.5px;
    color: var(--dp-gold-light); text-transform: uppercase; margin-bottom: 1rem;
    display: inline-flex; align-items: center; gap: .4rem;
}
.daily-card .arabic-text {
    font-family: var(--dp-font-arabic);
    font-size: 1.7rem; line-height: 2.3;
    direction: rtl; text-align: right;
    color: var(--dp-gold-light);
    margin-bottom: 0.9rem;
}
.daily-card .translation { font-size: 0.95rem; color: var(--dp-text-muted); font-style: italic; }
.daily-card .reference { font-size: 0.8rem; color: var(--dp-green-light); font-weight: 700; margin-top: 0.9rem; }

/* ── Watch & Listen (rich media) ─────── */
.media-feature {
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius-lg);
    overflow: hidden;
    box-shadow: var(--dp-shadow);
}
.media-embed { position: relative; aspect-ratio: 16 / 9; background: #04100a; }
.media-embed iframe, .media-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .9rem; text-align: center; padding: 2rem;
    background:
        radial-gradient(600px 300px at 50% 0%, rgba(29,184,106,0.18), transparent 60%),
        linear-gradient(180deg, #0c1813, #060d0a);
    color: var(--dp-text-muted);
}
.media-placeholder .play-badge {
    width: 76px; height: 76px; border-radius: 50%;
    background: var(--dp-grad-green); color: #04140c;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; box-shadow: 0 12px 40px rgba(29,184,106,0.4);
}
.media-info { padding: 1.5rem 1.75rem; }
.media-info h3 { font-size: 1.25rem; margin-bottom: .35rem; }

/* Social tiles */
.social-tile {
    display: flex; align-items: center; gap: 1rem;
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    padding: 1.1rem 1.25rem;
    color: var(--dp-text);
    text-decoration: none !important;
    transition: all .2s;
    height: 100%;
}
.social-tile:hover { transform: translateY(-3px); border-color: rgba(29,184,106,0.4); box-shadow: var(--dp-shadow-sm); }
.social-tile .s-icon {
    width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff;
}
.social-tile .s-meta .s-name { font-weight: 700; font-size: .95rem; }
.social-tile .s-meta .s-sub { font-size: .8rem; color: var(--dp-text-muted); }
.s-youtube  { background: linear-gradient(135deg,#ff5b5b,#d40000); }
.s-instagram{ background: linear-gradient(135deg,#feda75,#d62976,#962fbf); }
.s-tiktok   { background: linear-gradient(135deg,#25f4ee,#000,#fe2c55); }
.s-twitter  { background: linear-gradient(135deg,#2b2f33,#000); }
.s-facebook { background: linear-gradient(135deg,#3b82f6,#1877f2); }

/* ── Dua Card ────────────────────────── */
.dua-card {
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--dp-shadow-sm);
}
.dua-arabic {
    font-family: var(--dp-font-arabic);
    font-size: 2.1rem; line-height: 2.5;
    direction: rtl; text-align: right;
    color: var(--dp-gold-light);
    border-bottom: 1px solid var(--dp-border);
    padding-bottom: 1rem; margin-bottom: 1rem;
}
.dua-transliteration { font-style: italic; color: var(--dp-text-muted); font-size: 1rem; margin-bottom: 0.75rem; }
.dua-meaning { font-size: 1rem; margin-bottom: 1rem; color: var(--dp-text); }
.dua-source { font-size: 0.8rem; color: var(--dp-green-light); font-weight: 700; }
.dua-badge { background: rgba(29,184,106,0.12); color: var(--dp-green-light); border: 1px solid rgba(29,184,106,0.25); border-radius: 50px; padding: 0.3rem 0.85rem; font-size: 0.75rem; font-weight: 700; }

/* ── Quran Reader ────────────────────── */
.quran-reader { background: var(--dp-surface); border: 1px solid var(--dp-border); border-radius: var(--dp-radius); box-shadow: var(--dp-shadow-sm); overflow: hidden; }
.quran-surah-header {
    background:
        radial-gradient(600px 300px at 50% -40%, rgba(29,184,106,0.30), transparent 60%),
        linear-gradient(135deg, #0d1f16, #0a1711);
    color: var(--dp-white); padding: 2.5rem 2rem; text-align: center;
    border-bottom: 1px solid var(--dp-border);
}
.quran-surah-header .surah-number { font-size: 0.85rem; color: var(--dp-green-light); letter-spacing: 2px; text-transform: uppercase; }
.quran-surah-header .surah-name-arabic { font-family: var(--dp-font-arabic); font-size: 3.2rem; color: var(--dp-gold-light); }
.quran-surah-header .surah-name-english { font-size: 1.2rem; font-weight: 700; }
.ayah-row { padding: 1.75rem; border-bottom: 1px solid var(--dp-border); transition: background 0.15s; }
.ayah-row:hover { background: var(--dp-surface-2); }
.ayah-arabic {
    font-family: var(--dp-font-arabic);
    font-size: 2rem; line-height: 2.6;
    direction: rtl; text-align: right;
    color: var(--dp-gold-light); margin-bottom: 0.9rem;
}
.ayah-number-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(29,184,106,0.14); border: 1px solid rgba(29,184,106,0.3);
    color: var(--dp-green-light);
    font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
}
.ayah-translation { font-size: 1.02rem; color: var(--dp-text); }
.ayah-transliteration { font-style: italic; color: var(--dp-text-muted); font-size: 0.92rem; margin-bottom: 0.5rem; }

/* ── Extra translation layer ───────── */
.ayah-translation-extra {
    margin-top: 0.55rem;
    padding: 0.55rem 0.85rem;
    border-left: 3px solid var(--dp-accent);
    background: rgba(16, 185, 129, 0.06);
    border-radius: 0 var(--dp-radius-sm) var(--dp-radius-sm) 0;
    font-size: 1rem;
    color: var(--dp-text);
    line-height: 1.65;
}
.tr-lang-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dp-accent);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 3px;
    padding: 0.1em 0.45em;
    margin-right: 0.45em;
    vertical-align: middle;
    white-space: nowrap;
}
.tr-loading {
    font-size: 0.85rem;
    color: var(--dp-text-muted);
    font-style: italic;
}
.tr-text { vertical-align: middle; }

/* ── Reader dropdowns (reciter + translation) ── */
.dp-reader-select {
    width: auto;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
.dp-reader-select option,
.dp-reader-select optgroup {
    background: #1d3a2f;
    color: #fff;
}

/* ── Hadith Reader ───────────────────── */
.hadith-card {
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    overflow: hidden; margin-bottom: 1.5rem;
    box-shadow: var(--dp-shadow-sm);
}
.hadith-card .hadith-header {
    background: var(--dp-surface-2);
    padding: 0.85rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 0.5rem;
    border-bottom: 1px solid var(--dp-border);
}
.hadith-card .hadith-ref { font-size: 0.8rem; color: var(--dp-green-light); font-weight: 700; }
.hadith-card .hadith-grade { font-size: 0.75rem; padding: 0.2rem 0.6rem; border-radius: 50px; }
.hadith-card .hadith-body { padding: 1.75rem; }
.hadith-arabic { font-family: var(--dp-font-arabic); font-size: 1.7rem; line-height: 2.3; direction: rtl; text-align: right; color: var(--dp-gold-light); margin-bottom: 1rem; }
.hadith-english { font-size: 1.02rem; line-height: 1.8; color: var(--dp-text); }
.verification-placeholder { background: var(--dp-surface-2); border: 1px dashed var(--dp-border-2); color: var(--dp-text-muted); font-style: italic; padding: 0.65rem 1rem; border-radius: var(--dp-radius-sm); font-size: 0.85rem; }

/* ── Audio player ────────────────────── */
.audio-bar {
    display: flex; align-items: center; gap: .75rem;
    background: var(--dp-surface-2);
    border: 1px solid var(--dp-border);
    border-radius: 50px; padding: .4rem .5rem .4rem 1rem;
}
.audio-bar audio { height: 36px; }
.dp-site audio { width: 100%; filter: invert(0.92) hue-rotate(120deg) saturate(.7); border-radius: 50px; }

/* ── Sections ────────────────────────── */
.section-light { background: var(--dp-bg); padding: 4.5rem 0; }
.section-cream { background: var(--dp-bg-2); padding: 4.5rem 0; }
.section-green {
    background:
        radial-gradient(700px 400px at 80% 0%, rgba(29,184,106,0.16), transparent 60%),
        linear-gradient(135deg, #0c1a12, #081009);
    padding: 4.5rem 0; color: var(--dp-white);
    border-top: 1px solid var(--dp-border); border-bottom: 1px solid var(--dp-border);
}
.section-green h2 { color: var(--dp-gold-light); }

/* ── Pathway cards ───────────────────── */
.pathway-card {
    background: var(--dp-surface);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    padding: 1.6rem;
    height: 100%;
    transition: all 0.25s;
    text-decoration: none !important;
    color: var(--dp-text);
    display: block;
}
.pathway-card:hover { background: var(--dp-surface-3); border-color: rgba(29,184,106,0.4); transform: translateY(-4px); box-shadow: var(--dp-shadow-sm); }
.pathway-card h5 { color: var(--dp-text); }
.pathway-card:hover h5 { color: var(--dp-green-light); }

/* ── Breadcrumb ──────────────────────── */
.breadcrumb { background: transparent; padding: 0; margin-bottom: 1.5rem; }
.breadcrumb-item, .breadcrumb-item.active { color: var(--dp-text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--dp-text-dim); }
.breadcrumb-item a { color: var(--dp-green-light); }

/* ── Buttons ─────────────────────────── */
.btn-dp-primary { background: var(--dp-grad-green); color: #04140c; border: none; border-radius: 50px; font-weight: 700; padding: .55rem 1.4rem; box-shadow: 0 8px 24px rgba(29,184,106,0.25); transition: transform 0.15s, box-shadow .15s; }
.btn-dp-primary:hover { color: #04140c; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(29,184,106,0.4); }
.btn-dp-gold { background: rgba(255,255,255,0.04); color: var(--dp-white); border: 1px solid var(--dp-border-2); border-radius: 50px; font-weight: 700; backdrop-filter: blur(6px); transition: all 0.2s; }
.btn-dp-gold:hover { background: rgba(29,184,106,0.14); color: var(--dp-white); border-color: rgba(29,184,106,0.5); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(29,184,106,0.2); }
.btn-dp-outline { background: transparent; color: var(--dp-green-light); border: 1px solid var(--dp-border-2); border-radius: 50px; font-weight: 600; transition: all .2s; }
.btn-dp-outline:hover { background: rgba(29,184,106,0.12); color: var(--dp-green-light); border-color: rgba(29,184,106,0.5); }

/* ── CTA Banner ──────────────────────── */
.cta-banner {
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(227,185,100,0.14), transparent 60%),
        linear-gradient(135deg, #0e2118, #0a1610);
    border: 1px solid var(--dp-border-2);
    color: var(--dp-white); border-radius: var(--dp-radius-lg); padding: 3rem 2.25rem; text-align: center;
}
.cta-banner h3 { color: var(--dp-gold-light); margin-bottom: 1rem; }

/* ── Newsletter ──────────────────────── */
.newsletter-section {
    background:
        radial-gradient(600px 300px at 50% -50%, rgba(29,184,106,0.16), transparent 60%),
        var(--dp-bg-2);
    padding: 3.5rem 0; color: var(--dp-white);
    border-top: 1px solid var(--dp-border);
}
.newsletter-form .form-control { border-radius: 50px 0 0 50px; border: 1px solid var(--dp-border-2); padding: 0.8rem 1.25rem; }
.newsletter-form .btn { border-radius: 0 50px 50px 0; }

/* ── Footer ──────────────────────────── */
.site-footer { background: #060a08; color: var(--dp-text-muted); padding: 2rem 0 1rem; border-top: 1px solid var(--dp-border); }
.site-footer h6 { color: var(--dp-gold-light); font-weight: 800; letter-spacing: 0.5px; margin-bottom: .25rem; font-size: .8rem; text-transform: uppercase; }
.site-footer a { color: var(--dp-text-muted); font-size: 0.85rem; transition: color 0.2s; }
.site-footer a:hover { color: var(--dp-green-light); text-decoration: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0; line-height: 1.75; }
.footer-brand { font-size: 1.4rem; font-weight: 800; color: var(--dp-white); display: inline-flex; align-items: center; gap: .5rem; }
.footer-brand .brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--dp-grad-green); display: inline-flex; align-items: center; justify-content: center; color: #04140c; font-size: 1rem; }
.footer-brand span { color: var(--dp-green-light); }
.footer-logo-img { height: 50px !important; width: auto !important; max-width: none !important; display: block; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--dp-surface-2); border: 1px solid var(--dp-border);
    color: var(--dp-text); font-size: 1.1rem; transition: all .2s;
}
.footer-social a:hover { background: var(--dp-grad-green); color: #04140c; transform: translateY(-3px); border-color: transparent; }
.footer-bottom { border-top: 1px solid var(--dp-border); padding-top: 1rem; margin-top: 1.25rem; font-size: 0.85rem; color: var(--dp-text-dim); }

/* ── Article Layout ──────────────────── */
.article-header {
    background:
        radial-gradient(700px 300px at 70% -50%, rgba(29,184,106,0.14), transparent 60%),
        var(--dp-bg-2);
    padding: 3rem 0; margin-bottom: 2rem; border-bottom: 1px solid var(--dp-border);
}
.article-meta { color: var(--dp-text-muted); font-size: 0.9rem; }
.article-meta span { margin-right: 1.25rem; }
.article-content { line-height: 1.9; font-size: 1.05rem; color: var(--dp-text); }
.article-content h2, .article-content h3 { color: var(--dp-text); margin-top: 2rem; }
.article-content a { color: var(--dp-green-light); text-decoration: underline; }
.article-content blockquote { border-left: 3px solid var(--dp-gold); padding-left: 1.25rem; color: var(--dp-text-muted); font-style: italic; }
.article-content img { border-radius: var(--dp-radius); }

/* ── Admin (dark mode) ──── */
.admin-sidebar { background: var(--dp-green-deep); min-height: 100vh; width: 260px; position: fixed; left: 0; top: 0; bottom: 0; overflow-y: auto; z-index: 100; border-right: 1px solid rgba(29,184,106,0.15); }
.admin-sidebar .sidebar-brand { padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.sidebar-logo-img { height: 30px !important; width: auto !important; max-width: none !important; display: block; }
.admin-sidebar .sidebar-brand em { color: var(--dp-gold-light); font-style: normal; }
.admin-sidebar .nav-link { color: rgba(255,255,255,0.75); padding: 0.65rem 1.5rem; font-size: 0.9rem; border-radius: 0; transition: background 0.15s; }
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active { background: rgba(29,184,106,0.15); color: #fff; }
.admin-sidebar .nav-link .icon { width: 20px; margin-right: 0.6rem; opacity: 0.8; }
.admin-sidebar .nav-section { padding: 0.75rem 1.5rem 0.25rem; font-size: 0.7rem; letter-spacing: 1.5px; color: rgba(255,255,255,0.35); text-transform: uppercase; }
.admin-main { margin-left: 260px; background: var(--dp-bg); min-height: 100vh; }
.admin-topbar { background: var(--dp-surface); border-bottom: 1px solid var(--dp-border-2); padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; color: var(--dp-text); }
.admin-content { padding: 2rem; }
.admin-card { background: var(--dp-surface); border: 1px solid var(--dp-border); border-radius: var(--dp-radius-sm); box-shadow: 0 2px 8px rgba(0,0,0,0.3); padding: 1.5rem; margin-bottom: 1.5rem; color: var(--dp-text); }
.admin-card label, .admin-card h6, .admin-card h5, .admin-card p, .admin-card td, .admin-card th { color: var(--dp-text); }
.admin-card .form-control, .admin-card .form-select { background: var(--dp-surface-2); border: 1px solid var(--dp-border-2); color: var(--dp-text); }
.admin-card .form-control:focus, .admin-card .form-select:focus { background: var(--dp-surface-3); border-color: var(--dp-green); color: var(--dp-text); box-shadow: 0 0 0 0.2rem rgba(29,184,106,0.2); }
.stat-card { background: var(--dp-surface); border: 1px solid var(--dp-border); border-radius: var(--dp-radius-sm); padding: 1.5rem; border-left: 4px solid var(--dp-green); box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.stat-card .stat-number { font-size: 2rem; font-weight: 800; color: var(--dp-green-light); }
.stat-card .stat-label { font-size: 0.85rem; color: var(--dp-text-muted); }
.table-admin { font-size: 0.9rem; color: var(--dp-text); }
.table-admin th { background: var(--dp-surface-2); color: var(--dp-green-light); font-weight: 700; border-color: var(--dp-border); }
.table-admin td { border-color: var(--dp-border); }
.badge-placeholder { background: rgba(227,185,100,0.15); color: var(--dp-gold-light); }
.badge-published { background: rgba(29,184,106,0.15); color: var(--dp-green-light); }
.badge-draft { background: rgba(255,255,255,0.07); color: var(--dp-text-muted); }
.badge-verified { background: rgba(29,184,106,0.15); color: var(--dp-green-light); }
.badge-unverified { background: rgba(227,185,100,0.12); color: var(--dp-gold-light); }
.warning-banner { background: rgba(227,185,100,0.08); border: 1px solid rgba(227,185,100,0.3); border-radius: var(--dp-radius-sm); padding: 1rem 1.5rem; margin-bottom: 1.5rem; color: var(--dp-gold-light); }
.text-green { color: var(--dp-green-light) !important; }

/* ── Back to Top ─────────────────────── */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; background: var(--dp-grad-green); color: #04140c; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 10px 30px rgba(29,184,106,0.4); opacity: 0; transition: opacity 0.3s, transform .3s; pointer-events: none; cursor: pointer; border: none; z-index: 999; }
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px); }

/* ── Verification badge ──────────────── */
.verification-badge { font-size: 0.7rem; padding: 0.2rem 0.5rem; border-radius: 4px; font-weight: 600; letter-spacing: 0.5px; }
.verification-badge.placeholder { background: rgba(227,185,100,0.14); color: var(--dp-gold-light); border: 1px solid rgba(227,185,100,0.3); }
.verification-badge.verified { background: rgba(29,184,106,0.14); color: var(--dp-green-light); border: 1px solid rgba(29,184,106,0.35); }

/* ── Utilities ───────────────────────── */
.dp-site .text-green { color: var(--dp-green-light) !important; }
.text-gold { color: var(--dp-gold-light) !important; }
.bg-cream { background: var(--dp-surface) !important; }
.bg-green-dark { background: var(--dp-green-deep) !important; }
.border-gold { border-color: var(--dp-gold) !important; }
.rounded-dp { border-radius: var(--dp-radius) !important; }
.dp-glass { background: rgba(255,255,255,0.04); border: 1px solid var(--dp-border); backdrop-filter: blur(10px); }

/* ── Animations ──────────────────────── */
@keyframes dpFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; }
.reveal.in { animation: dpFadeUp .7s cubic-bezier(.2,.7,.2,1) forwards; }

/* ── Responsive ──────────────────────── */
@media (max-width: 991px) {
    .admin-sidebar { position: static; width: 100%; min-height: auto; }
    .admin-main { margin-left: 0; }
    .hero-section { padding: 4rem 0 3rem; }
    .navbar-deenpath .navbar-collapse {
        background: rgba(8,13,11,0.97);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid var(--dp-border);
        border-radius: 0 0 12px 12px;
        padding: .5rem 1rem 1rem;
        margin: 0 -12px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.5);
    }
    .navbar-deenpath .dropdown-menu { background: rgba(16,26,21,0.95); border-color: var(--dp-border); box-shadow: none; padding-left: .75rem; }
}
@media (max-width: 576px) {
    .dua-arabic { font-size: 1.6rem; }
    .ayah-arabic { font-size: 1.5rem; }
    .hero-stats { gap: 1rem; flex-wrap: nowrap; }
    .hero-stats .stat .num { font-size: 1.4rem; }
    .section-light, .section-cream, .section-green { padding: 3rem 0; }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; animation: none !important; }
    html { scroll-behavior: auto; }
}

/* ── Learn Salah ─────────────────────── */
.salah-arabic-name { font-family: var(--dp-font-arabic); font-size: 1.5rem; color: var(--dp-gold-light); line-height: 1.6; }
.salah-posture-img { max-height: 320px; max-width: 100%; height: auto; }
.salah-ref-img { max-width: 100%; max-height: 130px; height: auto; }
.salah-phrase { background: var(--dp-surface-2); border: 1px solid var(--dp-border); border-radius: var(--dp-radius-sm); padding: 1rem 1.1rem; margin-bottom: .9rem; }
.salah-phrase:last-child { margin-bottom: 0; }
.salah-phrase-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--dp-gold); margin-bottom: .5rem; }
.salah-phrase-ar { font-family: var(--dp-font-arabic); font-size: 1.9rem; line-height: 1.9; color: var(--dp-text); direction: rtl; }
.salah-phrase-tr { font-style: italic; color: var(--dp-green-light); margin-top: .4rem; font-size: .95rem; }
.salah-phrase-en { color: var(--dp-text-muted); margin-top: .35rem; font-size: .95rem; }
.salah-listen { border-radius: 50px; font-weight: 600; }
.sw-step { display: none; animation: dpFade .35s ease; }
.sw-step.active { display: block; }
@keyframes dpFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.salah-rakah-dots { display: flex; gap: .4rem; flex-wrap: wrap; }
.salah-dot { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--dp-green-dark); color: #fff; font-size: .8rem; font-weight: 700; }
@media (max-width: 576px) {
    .salah-phrase-ar { font-size: 1.55rem; }
    .salah-posture-img { max-height: 240px; }
}

/* ── Homepage Banner Widget ─────────────────── */
.dp-banner-widget {
    background: linear-gradient(145deg, #132b1a 0%, #0e2015 50%, #1a1a0d 100%);
    border: 1.5px solid rgba(201,169,75,0.55);
    border-radius: var(--dp-radius-lg);
    padding: 2.1rem 1.9rem;
    position: relative;
    overflow: hidden;
    height: auto;
    box-shadow: 0 0 0 1px rgba(201,169,75,0.12), 0 8px 32px rgba(0,0,0,0.45), inset 0 1px 0 rgba(201,169,75,0.15);
}
.dp-banner-widget::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,169,75,0.18), transparent 68%);
    pointer-events: none;
}
.dp-banner-widget::after {
    content: '';
    position: absolute;
    bottom: -50px; left: -30px;
    width: 150px; height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29,184,106,0.16), transparent 68%);
    pointer-events: none;
}
.dp-banner-widget > * { position: relative; z-index: 1; }
.dp-banner-icon { font-size: 2.6rem; line-height: 1; margin-bottom: 0.9rem; }
.dp-banner-title {
    color: #e8c96a;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.dp-banner-text {
    color: rgba(220,235,225,0.88);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.3rem;
    max-width: none !important;
}
.dp-banner-note {
    color: rgba(201,169,75,0.75);
    font-size: 0.8rem;
    text-align: center;
    margin: 0.6rem 0 0;
    font-style: italic;
}
/* Mobile: compact card below hero text */
@media (max-width: 991px) {
    .dp-banner-widget {
        padding: 1.5rem 1.35rem;
        border-radius: var(--dp-radius);
    }
    .dp-banner-icon { font-size: 2rem; }
    .dp-banner-title { font-size: 1.15rem; }
    .dp-banner-text { font-size: 0.9rem; }
}

/* ── Tafseer Panel ───────────────────── */
.tafseer-panel {
    margin-top: .75rem;
    background: var(--dp-surface-2);
    border: 1px solid var(--dp-border-2);
    border-radius: var(--dp-radius-sm);
    overflow: hidden;
    animation: dpFadeUp .25s ease;
}
.tafseer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .45rem .9rem;
    background: rgba(29,184,106,0.10);
    border-bottom: 1px solid var(--dp-border);
}
.tafseer-source {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--dp-green-light);
}
.tafseer-close {
    background: none;
    border: none;
    color: var(--dp-text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0 .1rem;
    transition: color .15s;
}
.tafseer-close:hover { color: var(--dp-white); }
.tafseer-body {
    padding: 1rem 1.15rem;
    font-size: .9rem;
    color: var(--dp-text);
    line-height: 1.75;
    max-height: 520px;
    overflow-y: auto;
}
.tafseer-body h1,
.tafseer-body h2 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--dp-white);
    margin: .9rem 0 .3rem;
}
.tafseer-body h1:first-child,
.tafseer-body h2:first-child { margin-top: 0; }
.tafseer-body p { margin-bottom: .55rem; }
.tafseer-body p:last-child { margin-bottom: 0; }
.tafseer-body strong { color: var(--dp-text); font-weight: 600; }
.tafseer-error {
    padding: .85rem 1.15rem;
    color: var(--dp-text-muted);
    font-style: italic;
    margin: 0;
}
.tafseer-btn.tafseer-active {
    background: rgba(227,185,100,0.15);
    color: var(--dp-gold-light);
    border-color: var(--dp-gold);
}