/* Darul Hikmah — v2 theme */
:root {
    --ink: #0b1a21;
    --ink-2: #13262f;
    --navy: #2e3e4e;
    --gold: #b18730;
    --gold-2: #d8b765;
    --gold-3: #f1dfa8;
    --cream: #f9f3ed;
    --paper: #fdfbf7;
    --brown: #634125;
    --text: #2a221c;
    --muted: #6d6157;
    --line: rgba(99, 65, 37, .14);
    --radius: 22px;
    --wrap: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-arabic: "Amiri", "Traditional Arabic", serif;
}
.lang-ur {
    --font-display: "Noto Nastaliq Urdu", "Amiri", serif;
    --font-body: "Noto Nastaliq Urdu", "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
body.dh-body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.lang-ur body.dh-body, body.lang-ur { line-height: 2.1; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.dh-skip { position: absolute; inset-inline-start: -9999px; top: 8px; z-index: 100; background: var(--gold); color: #fff; padding: 8px 14px; border-radius: 8px; }
.dh-skip:focus { inset-inline-start: 8px; }

.dh-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.dh-center { text-align: center; margin-top: 40px; }
.dh-section { padding-block: clamp(72px, 10vw, 140px); position: relative; }

/* ---------- Typography ---------- */
.dh-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-body); font-size: 13px; font-weight: 600;
    letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 18px;
}
.lang-ur .dh-eyebrow { letter-spacing: 0; text-transform: none; font-size: 15px; }
.dh-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.dh-eyebrow--light { color: var(--gold-2); }
.dh-hero .dh-eyebrow { display: flex; width: fit-content; }
.dh-h2 {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(36px, 5vw, 64px); line-height: 1.05; color: var(--brown);
    letter-spacing: -.01em;
}
.lang-ur .dh-h2 { line-height: 1.7; font-size: clamp(28px, 4vw, 46px); }
.dh-h2--light { color: #fff; }
.dh-lead { margin-top: 18px; max-width: 620px; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); }
.dh-lead--light { color: rgba(255, 255, 255, .78); }
.dh-heading { margin-bottom: clamp(36px, 5vw, 64px); }
.dh-heading--center { text-align: center; }
.dh-heading--center .dh-lead { margin-inline: auto; }
.dh-heading--center .dh-eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.dh-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.dh-split .dh-heading { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.dh-btn {
    --bg: var(--brown); --fg: #fff;
    position: relative; display: inline-flex; align-items: center; gap: 12px;
    padding: 15px 28px; border-radius: 999px; background: var(--bg); color: var(--fg);
    font-weight: 600; font-size: 15px; letter-spacing: .02em; overflow: hidden; isolation: isolate;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .3s;
    will-change: transform;
}
.dh-btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .35) 50%, transparent 80%);
    transform: translateX(-120%); transition: transform .9s var(--ease);
}
.dh-btn:hover::before { transform: translateX(120%); }
.dh-btn:hover { box-shadow: 0 14px 34px -12px rgba(177, 135, 48, .65); }
.dh-btn__icon { font-size: 13px; transition: transform .4s var(--ease); }
.dh-btn:hover .dh-btn__icon { transform: translateX(4px); }
[dir="rtl"] .dh-btn__icon.fa-arrow-right { transform: scaleX(-1); }
[dir="rtl"] .dh-btn:hover .dh-btn__icon.fa-arrow-right { transform: scaleX(-1) translateX(4px); }
.dh-btn--gold { --bg: linear-gradient(135deg, var(--gold-2), var(--gold)); --fg: #1b1206; background: var(--bg); }
.dh-btn--ghost { --bg: rgba(255, 255, 255, .06); --fg: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.dh-btn--ghost:hover { border-color: var(--gold-2); }
.dh-btn--outline { --bg: transparent; --fg: var(--brown); border: 1px solid var(--line); }
.dh-btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.dh-btn--text { --bg: transparent; --fg: var(--gold); padding: 8px 0; }
.dh-btn--text:hover { box-shadow: none; }
.dh-btn--lg { padding: 18px 36px; font-size: 16px; }

/* ---------- Header ---------- */
.dh-header {
    position: fixed; inset-inline: 0; top: 0; z-index: 50;
    transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.dh-header__inner {
    max-width: calc(var(--wrap) + 160px); margin-inline: auto; padding: 18px var(--gutter);
    display: flex; align-items: center; gap: 28px;
}
.dh-header.is-solid { background: rgba(253, 251, 247, .86); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.dh-header.is-hidden { transform: translateY(-100%); }
.dh-logo img { height: 46px; width: auto; }
.dh-nav { margin-inline-start: auto; }
.dh-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.dh-nav__item { position: relative; }
.dh-nav__link {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
    font-size: 15px; font-weight: 500; color: #fff; transition: color .3s, background .3s;
}
.dh-nav__link i { font-size: 10px; opacity: .7; }
.dh-header.is-solid .dh-nav__link, body:not(.is-home) .dh-nav__link { color: var(--text); }
.dh-nav__link:hover { background: rgba(177, 135, 48, .14); color: var(--gold-2); }
.dh-header.is-solid .dh-nav__link:hover { color: var(--gold); }
.dh-nav__sub {
    list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 8px); inset-inline-start: 0;
    min-width: 280px; background: #fff; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(11, 26, 33, .35);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .35s var(--ease);
}
.dh-nav__sub a { display: block; padding: 10px 14px; border-radius: 12px; font-size: 14.5px; color: var(--text); }
.dh-nav__sub a:hover { background: var(--cream); color: var(--gold); }
.dh-nav__item.has-sub:hover .dh-nav__sub, .dh-nav__item.has-sub:focus-within .dh-nav__sub { opacity: 1; visibility: visible; transform: none; }
.dh-header__actions { display: flex; align-items: center; gap: 10px; }
.dh-lang {
    padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); color: #fff;
    font-family: "Noto Nastaliq Urdu", var(--font-body); font-size: 14px; line-height: 1.6;
}
.dh-header.is-solid .dh-lang, body:not(.is-home) .dh-lang { color: var(--text); border-color: var(--line); }
.dh-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--gold); cursor: pointer; position: relative; }
.dh-burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; transition: transform .4s var(--ease); }
.dh-burger span:first-child { top: 19px; }
.dh-burger span:last-child { top: 26px; }
.dh-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.dh-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
body:not(.is-home) main { padding-top: 90px; }

@media (max-width: 1080px) {
    .dh-burger { display: block; }
    .dh-nav {
        position: fixed; inset: 0; z-index: -1; background: var(--ink); padding: 110px var(--gutter) 40px;
        overflow-y: auto; clip-path: circle(0% at calc(100% - 50px) 40px); transition: clip-path .8s var(--ease);
    }
    [dir="rtl"] .dh-nav { clip-path: circle(0% at 50px 40px); }
    .dh-nav.is-open { clip-path: circle(150% at calc(100% - 50px) 40px); }
    [dir="rtl"] .dh-nav.is-open { clip-path: circle(150% at 50px 40px); }
    .dh-nav__list { flex-direction: column; gap: 0; }
    .dh-nav__link, .dh-header.is-solid .dh-nav__link, body:not(.is-home) .dh-nav__link {
        color: #fff; font-family: var(--font-display); font-size: 30px; padding: 10px 0; border-radius: 0;
    }
    .dh-nav__sub { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 10px; min-width: 0; }
    .dh-nav__sub a { color: rgba(255, 255, 255, .7); padding: 6px 0; }
    .dh-nav__sub a:hover { background: transparent; color: var(--gold-2); }
    .dh-logo img { height: 38px; }
    .menu-open .dh-header { background: transparent; box-shadow: none; backdrop-filter: none; }
}

/* ---------- Hero ---------- */
.dh-hero {
    position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
    background: radial-gradient(120% 90% at 70% 40%, #1b3440 0%, var(--ink) 55%, #060f13 100%);
    color: #fff; isolation: isolate;
}
.dh-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.dh-hero__fallback {
    position: absolute; z-index: -2; width: min(70vw, 720px); aspect-ratio: 1; inset-inline-end: -8vw; top: 50%;
    transform: translateY(-50%); opacity: .55;
    background:
        conic-gradient(from 0deg, transparent 0 12.5%, rgba(216, 183, 101, .25) 12.5% 25%, transparent 25% 37.5%, rgba(216, 183, 101, .25) 37.5% 50%, transparent 50% 62.5%, rgba(216, 183, 101, .25) 62.5% 75%, transparent 75% 87.5%, rgba(216, 183, 101, .25) 87.5%);
    -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%);
    animation: dh-spin 60s linear infinite;
}
.webgl .dh-hero__fallback { display: none; }
.dh-hero__photo { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; opacity: .18; mix-blend-mode: luminosity; }
.dh-hero::after {
    content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(6, 15, 19, .65));
}
.dh-hero__content { padding-block: 150px 200px; max-width: var(--wrap); }
.dh-hero__title {
    font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 6.6vw, 96px);
    line-height: 1; letter-spacing: -.02em; max-width: 13ch; color: #fff;
}
.dh-hero__title:not(:has(.w)) { display: block; width: fit-content; padding-top: .2em; }
.lang-ur .dh-hero__title { line-height: 1.75; font-size: clamp(34px, 5.4vw, 68px); max-width: 16ch; }
.dh-hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; }
/* while the words rise in they use plain colours; the gradient is switched on once they have settled (.is-done),
   because some browsers/graphics cards draw gradient text on moving words as invisible */
.dh-hero__title .w > span { display: inline-block; color: #fdfbf7; }
.dh-hero__line--accent .w > span { color: var(--gold-2); }
.dh-hero__title.is-done .w { overflow: visible; }
.dh-hero__title.is-done .w > span, .dh-hero__title:not(:has(.w)) {
    background: linear-gradient(180deg, #fff 35%, var(--gold-3) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dh-hero__text { margin-top: 28px; max-width: 540px; font-size: clamp(16px, 1.5vw, 20px); color: rgba(255, 255, 255, .78); }
.dh-hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.dh-hero__scroll { position: absolute; bottom: 28px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 14px; }
.dh-hero__scroll span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-2); animation: dh-scroll 1.8s var(--ease) infinite; }
.js [data-hero-in] { opacity: 0; transform: translateY(24px); }

/* ---------- Star motif ---------- */
.dh-star { width: 100%; height: 100%; color: var(--gold); }

/* ---------- Pillars ---------- */
.dh-pillars { margin-top: -110px; padding-top: 0; padding-bottom: clamp(40px, 6vw, 80px); z-index: 2; }
.dh-pillars__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.dh-pillar {
    position: relative; padding: 40px 32px 34px; border-radius: var(--radius); background: #fff;
    box-shadow: 0 40px 80px -40px rgba(11, 26, 33, .35), 0 0 0 1px var(--line);
    transform-style: preserve-3d; transition: box-shadow .6s var(--ease);
}
.dh-pillar:hover { box-shadow: 0 50px 90px -40px rgba(177, 135, 48, .55), 0 0 0 1px rgba(177, 135, 48, .4); }
.dh-pillar__star { position: relative; width: 74px; height: 74px; margin-bottom: 26px; transform: translateZ(30px); }
.dh-pillar__star .dh-star { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.dh-pillar:hover .dh-pillar__star .dh-star { transform: rotate(45deg); }
.dh-pillar__star i { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; color: var(--brown); }
.dh-pillar__title { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--brown); transform: translateZ(20px); }
.lang-ur .dh-pillar__title { font-size: 26px; line-height: 1.9; }
.dh-pillar__text { margin-top: 10px; color: var(--muted); transform: translateZ(10px); }

/* ---------- Departments (horizontal scroll) ---------- */
.dh-depts { background: var(--cream); overflow: hidden; }
.dh-depts__viewport { overflow-x: auto; scrollbar-width: none; padding-inline: var(--gutter); }
.dh-depts__viewport::-webkit-scrollbar { display: none; }
.dh-depts__track { display: flex; gap: 24px; width: max-content; padding-inline: max(0px, calc((100vw - var(--wrap)) / 2)); padding-bottom: 10px; }
.dh-dept {
    position: relative; width: min(78vw, 420px); flex: none; border-radius: var(--radius); overflow: hidden;
    background: #fff; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column;
    transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.dh-dept:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(99, 65, 37, .5), 0 0 0 1px rgba(177, 135, 48, .35); }
.dh-dept__num {
    position: absolute; top: 16px; inset-inline-start: 16px; z-index: 2; font-family: var(--font-display);
    font-size: 18px; font-weight: 700; line-height: 1; color: var(--gold-3); padding: 9px 12px; border-radius: 999px;
    background: rgba(11, 26, 33, .72); backdrop-filter: blur(6px);
}
.dh-dept__media { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--navy), var(--ink)); overflow: hidden; }
.dh-dept__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.dh-dept:hover .dh-dept__media img { transform: scale(1); }
.dh-dept__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dh-dept__title { font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.1; color: var(--brown); }
.lang-ur .dh-dept__title { font-size: 22px; line-height: 1.9; }
.dh-dept__text { color: var(--muted); font-size: 15.5px; }
.dh-dept__more { margin-top: auto; padding-top: 8px; color: var(--gold); font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
[dir="rtl"] .dh-dept__more i { transform: scaleX(-1); }
.is-pinned .dh-depts__viewport { overflow: visible; }

/* ---------- Quote ---------- */
.dh-quote { position: relative; padding-block: clamp(90px, 14vw, 180px); background: var(--ink); color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.dh-quote__pattern {
    position: absolute; inset: -20%; z-index: -1; opacity: .12;
    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='%23d8b765' stroke-width='1'%3E%3Crect x='20' y='20' width='40' height='40'/%3E%3Crect x='20' y='20' width='40' height='40' transform='rotate(45 40 40)'/%3E%3Cpath d='M0 40h20M60 40h20M40 0v20M40 60v20'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
}
.dh-quote__inner > .dh-star { width: 64px; height: 64px; margin: 0 auto 30px; color: var(--gold-2); animation: dh-spin 40s linear infinite; }
.dh-quote__arabic {
    font-family: var(--font-arabic); font-size: clamp(48px, 9vw, 120px); line-height: 1.9; padding-block: .15em;
    background: linear-gradient(180deg, var(--gold-3), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dh-quote__arabic .ch { display: inline-block; }
.dh-quote__translation { margin: 18px auto 0; max-width: 640px; font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 2.2vw, 28px); color: rgba(255, 255, 255, .82); }
.lang-ur .dh-quote__translation { font-style: normal; font-size: clamp(18px, 2vw, 24px); line-height: 2; }

/* ---------- Program cards ---------- */
.dh-programs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dh-card {
    position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
    background: #fff; box-shadow: 0 0 0 1px var(--line); transform-style: preserve-3d;
    transition: box-shadow .6s var(--ease);
}
.dh-card:hover { box-shadow: 0 40px 70px -40px rgba(99, 65, 37, .45), 0 0 0 1px rgba(177, 135, 48, .4); }
.dh-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.dh-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.dh-card:hover .dh-card__media img { transform: scale(1.06); }
.dh-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--cream), #efe3d3); }
.dh-card__placeholder .dh-star { width: 34%; height: auto; opacity: .55; }
.dh-card__body { padding: 22px 24px 26px; }
.dh-card__title { font-family: var(--font-display); font-size: 25px; font-weight: 600; line-height: 1.15; color: var(--brown); }
.lang-ur .dh-card__title { font-size: 20px; line-height: 1.9; }
.dh-card__text { margin-top: 8px; color: var(--muted); font-size: 15px; }
.dh-card--feature { grid-row: span 2; }
.dh-card--feature .dh-card__media { aspect-ratio: auto; flex: 1; min-height: 280px; }
.dh-card--feature .dh-card__title { font-size: 34px; }

/* ---------- Team ---------- */
.dh-team { background: linear-gradient(180deg, var(--paper), var(--cream)); }
.dh-team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 34px 26px; }
.dh-member { text-align: center; }
.dh-member__photo { position: relative; width: min(220px, 70%); aspect-ratio: 1; margin: 0 auto 22px; }
.dh-member__photo img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; border-radius: 50%; filter: saturate(.9); transition: filter .5s; }
.dh-member__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--gold); transition: transform 1.6s var(--ease); }
.dh-member:hover .dh-member__ring { transform: rotate(120deg) scale(1.04); }
.dh-member:hover img { filter: saturate(1.1); }
.dh-member__name { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.2; color: var(--brown); }
.lang-ur .dh-member__name { font-size: 19px; line-height: 1.9; }
.dh-member__role { margin-top: 6px; color: var(--muted); font-size: 14px; }

/* ---------- Blog ---------- */
.dh-blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.dh-post__media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.dh-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dh-post:hover .dh-post__media img { transform: scale(1.06); }
.dh-post__date { display: block; margin-top: 20px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.dh-post__title { margin-top: 8px; font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.15; color: var(--brown); transition: color .3s; }
.lang-ur .dh-post__title { font-size: 20px; line-height: 1.9; }
.dh-post:hover .dh-post__title { color: var(--gold); }
.dh-post__text { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- Donate ---------- */
.dh-donate {
    position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center;
    padding-block: clamp(100px, 14vw, 180px);
    background: radial-gradient(80% 120% at 50% 0%, #22404c 0%, var(--ink) 60%);
}
.dh-donate__orb { position: absolute; z-index: -1; width: min(110vw, 900px); aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .14; }
.dh-donate__orb .dh-star { color: var(--gold-2); animation: dh-spin 90s linear infinite; }
.dh-donate__photo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .15; }
.dh-donate__inner { max-width: 820px; }
.dh-donate .dh-lead { margin-inline: auto; }
.dh-donate .dh-eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.dh-donate__actions { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Portal ---------- */
.dh-portal { padding-block: clamp(60px, 8vw, 100px); }
.dh-portal__card {
    display: flex; align-items: center; gap: 28px; padding: 30px 34px; border-radius: calc(var(--radius) + 6px);
    background: var(--cream); box-shadow: 0 0 0 1px var(--line);
}
.dh-portal__icon { position: relative; width: 72px; height: 72px; flex: none; }
.dh-portal__icon .dh-star { position: absolute; inset: 0; }
.dh-portal__icon i { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; color: var(--brown); }
.dh-portal__text { flex: 1; }
.dh-portal__title { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--brown); }
.dh-portal__text p { color: var(--muted); margin-top: 4px; }

/* ---------- Footer ---------- */
.dh-footer { position: relative; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .72); padding-top: 90px; font-size: 15px; }
.dh-footer__glow { position: absolute; width: 700px; height: 700px; left: 50%; top: -480px; margin-left: -350px; border-radius: 50%; background: radial-gradient(circle, rgba(216, 183, 101, .22), transparent 70%); pointer-events: none; }
.dh-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(auto-fit, minmax(160px, 1fr)); gap: 40px; padding-bottom: 60px; }
.dh-footer__name { font-family: var(--font-display); font-size: 32px; color: #fff; line-height: 1.1; }
.lang-ur .dh-footer__name { font-size: 24px; line-height: 1.9; }
.dh-footer__desc { margin-top: 14px; max-width: 380px; }
.dh-footer__title { color: var(--gold-2); font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.lang-ur .dh-footer__title { letter-spacing: 0; font-size: 15px; }
.dh-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dh-footer a:hover { color: var(--gold-2); }
.dh-social { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.dh-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); transition: all .4s var(--ease); }
.dh-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-3px); }
.dh-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 30px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
.dh-footer__links { display: flex; gap: 18px; }

/* ---------- Reveal (only when JS runs) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }

/* ---------- Animations ---------- */
@keyframes dh-spin { to { transform: rotate(360deg); } }
.dh-hero__fallback { animation-name: dh-spin-centered; }
@keyframes dh-spin-centered { from { transform: translateY(-50%) rotate(0); } to { transform: translateY(-50%) rotate(360deg); } }
@keyframes dh-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .dh-programs__grid, .dh-blog__grid { grid-template-columns: repeat(2, 1fr); }
    .dh-card--feature { grid-row: auto; grid-column: span 2; }
    .dh-footer__grid { grid-template-columns: 1fr 1fr; }
    .dh-footer__brand { grid-column: span 2; }
}
@media (max-width: 640px) {
    body.dh-body { font-size: 16px; }
    .dh-programs__grid, .dh-blog__grid { grid-template-columns: 1fr; }
    .dh-card--feature { grid-column: auto; }
    .dh-card--feature .dh-card__title { font-size: 28px; }
    .dh-pillars { margin-top: -60px; }
    .dh-portal__card { flex-direction: column; text-align: center; }
    .dh-footer__grid { grid-template-columns: 1fr; }
    .dh-footer__brand { grid-column: auto; }
    .dh-hero { align-items: flex-end; }
    .dh-hero__content { padding-block: 330px 110px; }
    .dh-hero__fallback { top: 26%; inset-inline-end: -20vw; width: 90vw; }
}


/* =====================================================================
   v2.1 — references: AMAU (floating pill nav, chips, dock, lit text)
   and Yaqeen (announcement bar, lined headings, category cards, filters)
   ===================================================================== */

/* ---------- Announcement bar ---------- */
.dh-announce { position: relative; z-index: 60; background: linear-gradient(90deg, var(--brown), #8a5f2f 50%, var(--brown)); color: #fff; font-size: 14px; }
.dh-announce__inner { max-width: var(--wrap); margin-inline: auto; padding: 10px var(--gutter); display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center; }
.dh-announce__inner > i { color: var(--gold-3); }
.dh-announce a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--gold-3); display: inline-flex; align-items: center; gap: 6px; }
.dh-announce a i { font-size: 11px; transition: transform .3s var(--ease); }
.dh-announce a:hover i { transform: translateX(3px); }
[dir="rtl"] .dh-announce a i { transform: scaleX(-1); }

/* ---------- Floating pill header ---------- */
.dh-header { top: var(--bar-h, 0px); padding-top: 14px; }
.dh-header__inner {
    max-width: calc(var(--wrap) + 40px); padding: 10px 12px 10px 22px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14); background: rgba(11, 26, 33, .28); backdrop-filter: blur(14px) saturate(1.2);
    margin-inline: max(12px, calc((100vw - var(--wrap) - 40px) / 2)); transition: background .5s var(--ease), border-color .5s, box-shadow .5s;
}
[dir="rtl"] .dh-header__inner { padding: 10px 22px 10px 12px; }
.dh-header.is-solid { background: transparent; box-shadow: none; backdrop-filter: none; }
.dh-header.is-solid .dh-header__inner { background: rgba(253, 251, 247, .9); border-color: var(--line); box-shadow: 0 18px 40px -24px rgba(11, 26, 33, .45); }
.dh-logo img { height: 40px; border-radius: 8px; }
@media (max-width: 1080px) { .dh-header__inner { padding: 8px 8px 8px 16px; } }

/* ---------- Depth scene (layered parallax) ---------- */
.dh-depth { position: absolute; inset: 0; pointer-events: none; z-index: -1; perspective: 800px; }
.dh-depth__star { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); color: var(--gold-2); opacity: .5; will-change: transform; }
.dh-depth__star .dh-star { color: inherit; animation: dh-spin 30s linear infinite; }

/* ---------- Floating subject chips around the star ---------- */
.dh-chips { list-style: none; margin: 0; padding: 0; position: absolute; z-index: 1; inset-block: 0; inset-inline-end: 0; width: 52%; pointer-events: none; }
.dh-chip {
    --r: min(19vw, 290px);
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(calc(360deg / var(--total) * var(--n))) translateY(calc(var(--r) * -1)) rotate(calc(-360deg / var(--total) * var(--n)));
}
.dh-chip__d { display: inline-block; }
.dh-chip__pill {
    display: inline-block; padding: 9px 18px; border-radius: 999px; white-space: nowrap; pointer-events: auto;
    background: rgba(253, 251, 247, .08); border: 1px solid rgba(216, 183, 101, .35); color: var(--gold-3);
    font-size: 14.5px; font-weight: 500; letter-spacing: .02em; backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .12);
    animation: dh-float 6s ease-in-out infinite; animation-delay: calc(var(--n) * -.7s);
}
.js .dh-chip__d { opacity: 0; }
@media (max-width: 900px) {
    .dh-chips { position: relative; width: auto; inset: auto; display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--gutter); margin-top: -70px; margin-bottom: 40px; order: 3; }
    .dh-hero { flex-direction: column; justify-content: flex-end; align-items: stretch; }
    .dh-chip { position: static; transform: none; }
    .dh-chip__d { display: inline-block; }
.dh-chip__pill { font-size: 13px; padding: 7px 14px; animation: none; }
}

/* ---------- Lined centred headings (Yaqeen) ---------- */
.dh-heading--lines .dh-h2 { display: flex; align-items: center; gap: 28px; justify-content: center; }
.dh-heading--lines .dh-h2::before, .dh-heading--lines .dh-h2::after { content: ""; flex: 1; height: 1px; max-width: 360px; background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line)); }
.dh-heading--lines .dh-h2::after { transform: scaleX(-1); }
@media (max-width: 640px) { .dh-heading--lines .dh-h2::before, .dh-heading--lines .dh-h2::after { display: none; } }

/* ---------- Statement: words light up while scrolling ---------- */
.dh-statement { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding-block: clamp(110px, 16vw, 220px); background: var(--ink); }
.dh-statement__mesh { position: absolute; inset: -20%; z-index: -1; filter: blur(70px); opacity: .85; }
.dh-statement__mesh span { position: absolute; border-radius: 50%; animation: dh-drift 18s ease-in-out infinite alternate; }
.dh-statement__mesh span:nth-child(1) { width: 55%; height: 60%; left: -5%; top: 30%; background: #6b4423; }
.dh-statement__mesh span:nth-child(2) { width: 45%; height: 50%; right: 0; top: 0; background: #1f4250; animation-delay: -6s; }
.dh-statement__mesh span:nth-child(3) { width: 35%; height: 40%; left: 40%; bottom: 0; background: #8a6a2a; opacity: .6; animation-delay: -12s; }
.dh-statement__inner { max-width: 1080px; }
.dh-statement__title { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; font-style: italic; color: var(--gold-3); margin-bottom: 24px; }
.lang-ur .dh-statement__title { font-style: normal; line-height: 2; }
.dh-statement__text { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.18; letter-spacing: -.01em; }
.lang-ur .dh-statement__text { line-height: 2.1; font-size: clamp(24px, 3.4vw, 42px); }
.dh-statement__text .lw { opacity: .18; transition: opacity .25s linear; }
.dh-statement__text .lw.is-lit { opacity: 1; }
.dh-statement__action { margin-top: 44px; }

/* ---------- Feature cards (Mission / Vision / Aim) ---------- */
.dh-features { padding-bottom: clamp(40px, 6vw, 80px); }
.dh-features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; perspective: 1400px; }
.dh-feature {
    position: relative; overflow: hidden; padding: 34px 30px 32px; border-radius: calc(var(--radius) + 4px); color: #fff;
    background: linear-gradient(160deg, #183442 0%, var(--ink) 70%); transform-style: preserve-3d; isolation: isolate;
    box-shadow: 0 40px 80px -40px rgba(11, 26, 33, .6);
}
.dh-feature::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 2; pointer-events: none;
    background: conic-gradient(from var(--angle, 0deg), transparent 0 60%, var(--gold-2) 75%, transparent 90%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: dh-border 6s linear infinite; animation-delay: calc(var(--i) * -2s);
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.dh-feature__layer--bg { position: absolute; z-index: -1; width: 240px; height: 240px; inset-inline-end: -70px; top: -70px; opacity: .12; transform: translateZ(-40px); }
.dh-feature__layer--bg .dh-star { color: var(--gold-2); animation: dh-spin 50s linear infinite; }
.dh-feature__icon {
    width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; font-size: 24px; color: #1b1206;
    background: linear-gradient(135deg, var(--gold-3), var(--gold)); transform: translateZ(50px);
    box-shadow: 0 18px 30px -12px rgba(216, 183, 101, .55);
}
.dh-feature__num { position: absolute; top: 30px; inset-inline-end: 30px; font-family: var(--font-display); font-size: 16px; color: rgba(255, 255, 255, .4); transform: translateZ(20px); }
.dh-feature__title { margin-top: 26px; font-family: var(--font-display); font-size: 30px; font-weight: 600; transform: translateZ(35px); }
.lang-ur .dh-feature__title { font-size: 24px; line-height: 1.9; }
.dh-feature__text { margin-top: 10px; color: rgba(255, 255, 255, .74); transform: translateZ(20px); }
.dh-feature .dh-btn--text { --fg: var(--gold-2); }

/* Glare that follows the pointer on 3D cards */
.dh-glare, .dh-feature__glare {
    position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
    background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 240, 200, .22), transparent 45%);
}
[data-glare]:hover .dh-glare, [data-glare]:hover .dh-feature__glare { opacity: 1; }

/* ---------- Icon medal (departments) ---------- */
.dh-dept { transform-style: preserve-3d; }
.dh-dept__body { position: relative; }
.dh-medal { position: absolute; top: -34px; inset-inline-end: 22px; width: 64px; height: 64px; display: grid; place-items: center; transform: translateZ(40px); }
.dh-medal .dh-star { position: absolute; inset: 0; color: var(--gold); transition: transform 1.4s var(--ease); }
.dh-medal::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: linear-gradient(135deg, #fff, var(--cream)); box-shadow: 0 10px 24px -10px rgba(99, 65, 37, .55); }
.dh-medal i { position: relative; font-size: 20px; color: var(--brown); }
.dh-dept:hover .dh-medal .dh-star { transform: rotate(135deg); }

/* ---------- Program cards: badge, category, rule, filters ---------- */
.dh-programs__grid { grid-template-columns: repeat(4, 1fr); perspective: 1400px; }
.dh-card__media { position: relative; aspect-ratio: 4 / 3; overflow: visible; }
.dh-card__media img, .dh-card__placeholder { border-radius: var(--radius) var(--radius) 0 0; }
.dh-card { overflow: visible; }
.dh-card__badge {
    position: absolute; bottom: -22px; inset-inline-start: 20px; width: 46px; height: 46px; border-radius: 14px; z-index: 2;
    display: grid; place-items: center; color: #1b1206; font-size: 17px; transform: translateZ(30px);
    background: linear-gradient(135deg, var(--gold-3), var(--gold)); box-shadow: 0 12px 24px -10px rgba(177, 135, 48, .7);
}
.dh-card__body { padding-top: 34px; }
.dh-card__cat { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.lang-ur .dh-card__cat { letter-spacing: 0; font-size: 13px; }
.dh-card__title { font-size: 22px; }
.dh-card__rule { display: block; width: 34px; height: 2px; margin: 14px 0 12px; background: var(--gold); transition: width .6s var(--ease); }
.dh-card:hover .dh-card__rule { width: 70px; }
.dh-card__text { margin-top: 0; font-size: 14.5px; }
.dh-card.is-filtered-out { display: none; }
.dh-filters { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: -24px 0 40px; }
.dh-filters__label { color: var(--muted); font-size: 14px; margin-inline-end: 4px; }
.dh-filter {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--line); background: #fff; color: var(--text); font: 500 14px/1.2 var(--font-body);
    transition: all .35s var(--ease);
}
.dh-filter i { color: var(--gold); font-size: 13px; }
.dh-filter:hover { border-color: var(--gold); transform: translateY(-2px); }
.dh-filter.is-active { background: var(--brown); border-color: var(--brown); color: #fff; }
.dh-filter.is-active i { color: var(--gold-3); }
@media (max-width: 1180px) { .dh-programs__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) { .dh-programs__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
    .dh-programs__grid { grid-template-columns: 1fr; }
    .dh-filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
    .dh-filter { flex: none; }
}

/* ---------- Bottom quick-link dock (AMAU) ---------- */
.dh-dock {
    position: fixed; z-index: 45; bottom: 18px; left: 50%; transform: translate(-50%, 140%);
    display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(11, 26, 33, .9); backdrop-filter: blur(14px);
    box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08);
    transition: transform .7s var(--ease);
}
.dh-dock.is-visible { transform: translate(-50%, 0); }
.dh-dock__item { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; color: rgba(255, 255, 255, .86); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: background .3s, color .3s; }
.dh-dock__item i { color: var(--gold-2); font-size: 15px; }
.dh-dock__item:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.dh-dock__item.is-accent { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1206; }
.dh-dock__item.is-accent i { color: #1b1206; }
@media (max-width: 640px) {
    .dh-dock { left: 10px; right: 10px; bottom: 10px; transform: translateY(140%); justify-content: space-between; border-radius: 22px; }
    .dh-dock.is-visible { transform: none; }
    .dh-dock__item { flex-direction: column; gap: 4px; padding: 8px 6px; font-size: 11px; flex: 1; justify-content: center; border-radius: 16px; }
    .dh-dock__item i { font-size: 17px; }
    .dh-footer { padding-bottom: 80px; }
}

@keyframes dh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes dh-drift { to { transform: translate(12%, -10%) scale(1.15); } }
@keyframes dh-border { to { --angle: 360deg; } }
.dh-card__media > img, .dh-card__media > .dh-card__placeholder { position: absolute; inset: 0; width: 100%; height: 100%; }

/* =====================================================================
   Inner pages: page hero, article, listing, pager, classic-page shell
   ===================================================================== */
body:not(.is-home) main { padding-top: 0; }
.dh-pagehero {
    position: relative; overflow: hidden; isolation: isolate; color: #fff;
    padding: calc(150px + var(--bar-h, 0px)) 0 clamp(70px, 9vw, 120px);
    background: radial-gradient(100% 140% at 80% 0%, #22404c 0%, var(--ink) 60%);
}
.dh-pagehero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .16; filter: blur(2px) saturate(.8); transform: scale(1.05); }
.dh-pagehero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(11, 26, 33, .6)); }
.dh-pagehero__stars { position: absolute; z-index: -1; width: min(70vw, 620px); aspect-ratio: 1; inset-inline-end: -10%; top: 50%; translate: 0 -50%; opacity: .12; }
.dh-pagehero__stars .dh-star { color: var(--gold-2); animation: dh-spin 80s linear infinite; }
.dh-pagehero__inner { max-width: 980px; margin-inline: auto; }
.dh-pagehero__inner--center { text-align: center; }
.dh-pagehero__title { margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -.01em; color: #fff; }
.lang-ur .dh-pagehero__title { line-height: 1.8; font-size: clamp(28px, 4.4vw, 52px); }
.dh-pagehero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.dh-pagehero__title .w > span { display: inline-block; }
.dh-pagehero__meta, .dh-pagehero__lead { margin-top: 16px; color: rgba(255, 255, 255, .72); font-size: 16px; }
.dh-pagehero__lead { max-width: 640px; margin-inline: auto; font-size: 18px; }
.dh-crumbs { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.dh-crumbs a:hover { color: var(--gold-2); }
.dh-crumbs i { font-size: 9px; opacity: .6; }
[dir="rtl"] .dh-crumbs i { transform: scaleX(-1); }
.dh-tag { display: flex; width: fit-content; align-items: center; gap: 8px; margin-top: 18px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--gold-3); background: rgba(216, 183, 101, .12); border: 1px solid rgba(216, 183, 101, .3); }

.dh-article { padding-top: clamp(50px, 6vw, 80px); }
.dh-article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(30px, 5vw, 70px); align-items: start; }
.dh-article__grid.is-single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.dh-media { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -50px rgba(11, 26, 33, .6); background: var(--cream); }
.dh-media img { width: 100%; height: auto; }
.dh-media--portrait { max-width: 420px; }
.dh-media--video { aspect-ratio: 16 / 9; }
.dh-media--video iframe, .dh-media--video video { width: 100%; height: 100%; border: 0; display: block; }
.dh-media--audio { width: 100%; box-shadow: none; background: none; }

.dh-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 0 0 36px; }
.dh-fields > div { padding: 16px 18px; border-radius: 16px; background: var(--cream); box-shadow: 0 0 0 1px var(--line); }
.dh-fields dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.lang-ur .dh-fields dt { letter-spacing: 0; font-size: 13px; }
.dh-fields dd { margin: 4px 0 0; font-weight: 500; color: var(--text); }

/* Rich text written in the admin editor */
.dh-prose { font-size: 17.5px; line-height: 1.8; color: var(--text); overflow-wrap: anywhere; }
.dh-prose > * + * { margin-top: 1.1em; }
.dh-prose h1, .dh-prose h2, .dh-prose h3, .dh-prose h4 { font-family: var(--font-display); color: var(--brown); line-height: 1.2; margin-top: 1.6em; }
.dh-prose h2 { font-size: 34px; } .dh-prose h3 { font-size: 27px; } .dh-prose h4 { font-size: 22px; }
.dh-prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.dh-prose img { height: auto; border-radius: 16px; }
.dh-prose ul, .dh-prose ol { padding-inline-start: 1.3em; }
.dh-prose li + li { margin-top: .35em; }
.dh-prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-inline-start: 3px solid var(--gold); background: var(--cream); border-radius: 0 16px 16px 0; font-family: var(--font-display); font-size: 22px; font-style: italic; }
.dh-prose table { width: 100%; border-collapse: collapse; }
.dh-prose td, .dh-prose th { padding: 10px; border-bottom: 1px solid var(--line); }
.dh-prose iframe { max-width: 100%; border-radius: 16px; }

.dh-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-top: 40px; }
.dh-gallery a { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; }
.dh-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.dh-gallery a:hover img { transform: scale(1.06); }
.dh-attach { margin-top: 30px; }
.dh-share { display: flex; align-items: center; gap: 10px; margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.dh-share a, .dh-share button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--brown); cursor: pointer; transition: all .35s var(--ease); }
.dh-share a:hover, .dh-share button:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-3px); }
.dh-share button.is-copied { background: var(--brown); color: #fff; }

.dh-article__side { position: sticky; top: 110px; display: grid; gap: 14px; }
.dh-side__title { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.lang-ur .dh-side__title { letter-spacing: 0; font-size: 14px; }
.dh-mini { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.dh-mini:hover { transform: translateX(4px); box-shadow: 0 0 0 1px rgba(177, 135, 48, .45), 0 20px 30px -24px rgba(99, 65, 37, .5); }
[dir="rtl"] .dh-mini:hover { transform: translateX(-4px); }
.dh-mini__img { width: 64px; height: 64px; flex: none; border-radius: 12px; overflow: hidden; background: var(--cream); display: grid; place-items: center; }
.dh-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.dh-mini__img .dh-star { width: 60%; height: 60%; opacity: .5; }
.dh-mini__title { font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.2; color: var(--brown); }
.lang-ur .dh-mini__title { font-size: 15px; line-height: 1.9; }
.dh-article__side .dh-btn { justify-self: start; margin-top: 6px; }

.dh-listing { padding-top: clamp(50px, 6vw, 80px); }
.dh-filters--links { margin: 0 0 44px; }
.dh-empty { text-align: center; padding: 60px 0; color: var(--muted); }
.dh-empty .dh-star { width: 70px; height: 70px; margin: 0 auto 18px; opacity: .6; }
.dh-pager { display: flex; justify-content: center; gap: 8px; margin-top: 56px; flex-wrap: wrap; }
.dh-pager a, .dh-pager span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; font-weight: 500; }
.dh-pager a:hover { border-color: var(--gold); color: var(--gold); }
.dh-pager .is-current { background: var(--brown); border-color: var(--brown); color: #fff; }
.dh-pager .is-disabled { opacity: .4; }
[dir="rtl"] .dh-pager i { transform: scaleX(-1); }
.dh-legacy { margin-top: 40px; }

@media (max-width: 980px) {
    .dh-article__grid { grid-template-columns: 1fr; }
    .dh-article__side { position: static; }
}

/* Classic pages (contact, FAQ, search …) wrapped in the new header & footer */
.dh-shell #main { padding-top: 96px; }
.dh-shell #main > section:first-child, .dh-shell .page-title-section { margin-top: 0; }
.dh-shell .dh-nav__link, .dh-shell .dh-lang { color: var(--text); }
.dh-shell .dh-header__inner { background: rgba(253, 251, 247, .9); border-color: var(--line); }
.dh-shell h1, .dh-shell h2, .dh-shell h3 { font-family: var(--font-display); color: var(--brown); }
.dh-shell .btn-primary, .dh-shell .btn-theme { background: var(--brown); border-color: var(--brown); border-radius: 999px; padding-inline: 24px; }
.dh-shell .btn-primary:hover, .dh-shell .btn-theme:hover { background: var(--gold); border-color: var(--gold); }
.dh-shell .form-control { border-radius: 14px; border-color: var(--line); padding: 12px 16px; }
.dh-shell .form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(177, 135, 48, .18); }
.dh-shell #preloader, .dh-shell .back-to-top { display: none !important; }

/* =====================================================================
   v2.2 — tighter spacing, About / Team / Departments / Blog redesign
   ===================================================================== */

/* ---------- Spacing: tighter rhythm everywhere ---------- */
.dh-section { padding-block: clamp(44px, 5.5vw, 84px); }
.dh-heading { margin-bottom: clamp(26px, 3.2vw, 44px); }
.dh-split { margin-bottom: clamp(26px, 3.2vw, 44px); }
.dh-center { margin-top: 30px; }
.dh-programs .dh-filters { margin: -8px 0 30px; }
.dh-statement { padding-block: clamp(70px, 9vw, 130px); }
.dh-quote { padding-block: clamp(60px, 8vw, 110px); }
.dh-donate { padding-block: clamp(70px, 9vw, 120px); }
.dh-portal { padding-block: clamp(36px, 5vw, 64px); }
.dh-features { padding-bottom: clamp(20px, 3vw, 40px); }
.dh-pillars { padding-bottom: clamp(24px, 3vw, 44px); }
.dh-footer { padding-top: 64px; }
.dh-footer__grid { padding-bottom: 40px; }
.dh-listing, .dh-article { padding-top: clamp(36px, 4.5vw, 60px); }

/* ---------- Page header: shorter, layered, animated ---------- */
.dh-pagehero { padding: calc(118px + var(--bar-h, 0px)) 0 clamp(44px, 5vw, 64px); }
.dh-pagehero__title { font-size: clamp(34px, 5vw, 66px); margin-top: 12px; }
.dh-pagehero__eyebrow { margin: 14px 0 0; }
.dh-pagehero__inner--center .dh-pagehero__eyebrow { margin-inline: auto; }
.dh-pagehero__inner--center .dh-crumbs { justify-content: center; display: flex; }
.dh-pagehero__inner--center .dh-tag { margin-inline: auto; }
.dh-pagehero__lead { margin-top: 12px; }
.dh-pagehero__inner:not(.dh-pagehero__inner--center) .dh-pagehero__lead { margin-inline: 0; }
.dh-pagehero__glow {
    position: absolute; z-index: -1; width: 520px; height: 520px; left: 50%; top: -260px; margin-left: -260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 183, 101, .28), transparent 65%); animation: dh-pulse 6s ease-in-out infinite;
}
.dh-pagehero .dh-depth__star { opacity: .4; }
.dh-crumbs span[aria-current] { color: var(--gold-3); }
.dh-crumbs .fa-house { font-size: 11px; margin-inline-end: 2px; }
.js .dh-pagehero [data-hero-in] { opacity: 0; transform: translateY(20px); }

/* ---------- Team: framed portrait cards ---------- */
.dh-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; perspective: 1400px; }
.dh-person {
    position: relative; display: flex; flex-direction: column; border-radius: calc(var(--radius) + 4px); background: #fff;
    box-shadow: 0 0 0 1px var(--line), 0 30px 60px -45px rgba(11, 26, 33, .5); transform-style: preserve-3d; isolation: isolate;
    transition: box-shadow .6s var(--ease);
}
.dh-person:hover { box-shadow: 0 0 0 1px rgba(177, 135, 48, .45), 0 40px 70px -40px rgba(99, 65, 37, .55); }
.dh-person__frame {
    position: absolute; inset: 10px 10px auto; aspect-ratio: 1; border-radius: calc(var(--radius) - 2px); z-index: -1;
    border: 1px solid var(--gold); transform: translate(10px, 10px) translateZ(-20px); opacity: 0; transition: opacity .6s, transform .8s var(--ease);
}
.dh-person:hover .dh-person__frame { opacity: 1; transform: translate(14px, 14px) translateZ(-20px); }
.dh-person__photo { margin: 10px 10px 0; aspect-ratio: 1; border-radius: calc(var(--radius) - 2px); overflow: hidden; background: var(--cream); transform: translateZ(30px); }
.dh-person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.dh-person:hover .dh-person__photo img { transform: scale(1.06); }
.dh-person__photo > .dh-star { width: 40%; height: 40%; margin: 30%; opacity: .5; }
.dh-person__body { position: relative; padding: 20px 22px 24px; transform: translateZ(20px); }
.dh-person__name { font-family: var(--font-display); font-size: 23px; font-weight: 600; line-height: 1.2; color: var(--brown); padding-inline-end: 40px; }
.lang-ur .dh-person__name { font-size: 18px; line-height: 1.9; }
.dh-person__role { margin-top: 6px; font-size: 14px; color: var(--muted); }
.dh-person__more {
    position: absolute; top: 20px; inset-inline-end: 20px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: var(--cream); color: var(--gold); font-size: 12px; transition: all .5s var(--ease);
}
.dh-person:hover .dh-person__more { background: var(--gold); color: #fff; transform: rotate(-45deg); }
[dir="rtl"] .dh-person__more i { transform: scaleX(-1); }

/* ---------- Department flip tiles ---------- */
.dh-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1600px; }
.dh-tile { display: block; height: 300px; perspective: 1200px; }
.dh-tile__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.dh-tile:hover .dh-tile__inner, .dh-tile:focus-visible .dh-tile__inner { transform: rotateY(180deg); }
[dir="rtl"] .dh-tile:hover .dh-tile__inner { transform: rotateY(-180deg); }
.dh-tile__face {
    position: absolute; inset: 0; border-radius: calc(var(--radius) + 4px); backface-visibility: hidden; -webkit-backface-visibility: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; overflow: hidden;
}
.dh-tile__front { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -45px rgba(11, 26, 33, .45); }
.dh-tile__front::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--gold-3), var(--gold), var(--brown)); }
.dh-tile__back {
    transform: rotateY(180deg); color: #fff; justify-content: flex-end; text-align: start; align-items: flex-start;
    background: linear-gradient(180deg, rgba(11, 26, 33, .35), rgba(11, 26, 33, .95) 70%), var(--img, none) center / cover, var(--ink);
}
.dh-tile__num { position: absolute; top: 18px; inset-inline-start: 22px; font-family: var(--font-display); font-size: 15px; color: var(--muted); }
.dh-medal--lg { position: relative; inset: auto; top: auto; width: 92px; height: 92px; transform: none; margin-bottom: 18px; }
.dh-medal--lg i { font-size: 28px; }
.dh-tile:hover .dh-medal .dh-star { transform: rotate(135deg); }
.dh-tile__title { font-family: var(--font-display); font-size: 25px; font-weight: 600; line-height: 1.15; color: var(--brown); }
.lang-ur .dh-tile__title { font-size: 20px; line-height: 1.9; }
.dh-tile__back .dh-tile__title { color: #fff; }
.dh-tile__hint { margin-top: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.lang-ur .dh-tile__hint { letter-spacing: 0; }
.dh-tile__text { margin-top: 10px; font-size: 14.5px; color: rgba(255, 255, 255, .8); }
.dh-tile__more { margin-top: 14px; color: var(--gold-3); font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
[dir="rtl"] .dh-tile__more i { transform: scaleX(-1); }
@media (hover: none) {
    .dh-tile { height: auto; }
    .dh-tile__inner { transform: none !important; }
    .dh-tile__face { position: relative; backface-visibility: visible; }
    .dh-tile__back { display: none; }
}
@media (max-width: 980px) { .dh-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dh-tiles { grid-template-columns: 1fr; } .dh-tile { height: 260px; } }

/* ---------- Blog: magazine layout ---------- */
.dh-mag { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; perspective: 1400px; }
.dh-story {
    position: relative; display: flex; flex-direction: column; border-radius: calc(var(--radius) + 4px); background: #fff; overflow: hidden;
    box-shadow: 0 0 0 1px var(--line), 0 30px 60px -45px rgba(11, 26, 33, .45); transform-style: preserve-3d; transition: box-shadow .6s var(--ease);
}
.dh-story:hover { box-shadow: 0 0 0 1px rgba(177, 135, 48, .45), 0 40px 70px -40px rgba(99, 65, 37, .5); }
.dh-story__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream); }
.dh-story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.dh-story:hover .dh-story__media img { transform: scale(1.05); }
.dh-story__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.dh-story__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 12.5px; color: var(--muted); }
.dh-story__meta i { color: var(--gold); margin-inline-end: 4px; }
.dh-story__cat { padding: 4px 11px; border-radius: 999px; background: var(--cream); color: var(--brown); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 11.5px; }
.lang-ur .dh-story__cat { letter-spacing: 0; text-transform: none; }
.dh-story__title { margin-top: 12px; font-family: var(--font-display); font-size: 25px; font-weight: 600; line-height: 1.15; color: var(--brown); transition: color .3s; }
.lang-ur .dh-story__title { font-size: 20px; line-height: 1.9; }
.dh-story:hover .dh-story__title { color: var(--gold); }
.dh-story__text { margin-top: 10px; font-size: 15px; color: var(--muted); }
.dh-story__more { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 600; color: var(--gold); display: inline-flex; gap: 8px; align-items: center; }
.dh-story__more i { transition: transform .4s var(--ease); }
.dh-story:hover .dh-story__more i { transform: translateX(5px); }
[dir="rtl"] .dh-story__more i { transform: scaleX(-1); }
.dh-story--lead { grid-column: 1 / -1; flex-direction: row; }
[dir="rtl"] .dh-story--lead { flex-direction: row; }
.dh-story--lead .dh-story__media { flex: 0 0 46%; aspect-ratio: auto; min-height: 380px; }
.dh-story--lead .dh-story__body { padding: clamp(28px, 4vw, 54px); justify-content: center; }
.dh-story--lead .dh-story__title { font-size: clamp(30px, 3.4vw, 44px); }
.dh-story--lead .dh-story__text { font-size: 17px; }
.dh-story--lead .dh-story__more { margin-top: 26px; }
@media (max-width: 980px) { .dh-mag { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
    .dh-mag { grid-template-columns: 1fr; }
    .dh-story--lead { flex-direction: column; }
    .dh-story--lead .dh-story__media { min-height: 0; aspect-ratio: 1; }
}

/* ---------- Quote: long duas ---------- */
.dh-quote__eyebrow { justify-content: center; margin-inline: auto; display: flex; width: fit-content; }
.dh-quote__eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.dh-quote--long .dh-quote__arabic { font-size: clamp(30px, 4.2vw, 56px); line-height: 2; max-width: 1000px; margin-inline: auto; }
.dh-quote--long .dh-quote__translation { max-width: 820px; }

/* ---------- About page ---------- */
.is-about .dh-statement { padding-block: clamp(60px, 8vw, 110px); }
.is-about .dh-features { padding-top: clamp(44px, 5.5vw, 84px); }

@keyframes dh-pulse { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
/* Blog images are 16:9 banners — show them whole */
.dh-story__media { aspect-ratio: 16 / 9; }
.dh-story--lead .dh-story__media { flex: 0 0 52%; min-height: 0; aspect-ratio: 16 / 9; align-self: center; }
.dh-story--lead { align-items: stretch; }
@media (max-width: 680px) { .dh-story--lead .dh-story__media { aspect-ratio: 16 / 9; } }
@media (hover: none) { .dh-tile__hint { display: none; } }

/* ---------- CSS 3D star (no-WebGL fallback) ---------- */
.dh-hero__fallback { background: none !important; -webkit-mask: none !important; mask: none !important; opacity: 1 !important; animation: none !important; perspective: 1200px; display: grid; place-items: center; }
.dh-cssstar { position: relative; width: 62%; aspect-ratio: 1; transform-style: preserve-3d; animation: dh-cssstar 14s ease-in-out infinite; }
.dh-cssstar__layer { position: absolute; inset: 0; width: 100%; height: 100%; transform: translateZ(calc(var(--l) * 3px)); fill: url(#none); }
.dh-cssstar__layer path { fill: hsl(40 60% calc(34% + var(--l) * 5%)); }
.dh-cssstar__layer:last-of-type path { fill: #e3bd67; filter: drop-shadow(0 0 30px rgba(241, 223, 168, .35)); }
.dh-cssstar__ring { position: absolute; inset: 33%; border-radius: 50%; border: 6px solid #d8b765; transform: translateZ(26px); box-shadow: 0 0 40px rgba(216, 183, 101, .35), inset 0 0 20px rgba(0, 0, 0, .4); }
@keyframes dh-cssstar { 0% { transform: rotateY(-25deg) rotateX(10deg) rotateZ(0deg); } 50% { transform: rotateY(25deg) rotateX(-8deg) rotateZ(22deg); } 100% { transform: rotateY(-25deg) rotateX(10deg) rotateZ(45deg); } }

/* =====================================================================
   v2.3 — AMAU-style footer, calligraphy CTA band, contact page
   ===================================================================== */

/* ---------- CTA band above the footer ---------- */
.dh-cta { position: relative; overflow: hidden; isolation: isolate; background: var(--cream); padding: clamp(70px, 9vw, 120px) 0 clamp(120px, 14vw, 190px); text-align: center; }
.dh-cta__calligraphy { position: absolute; inset: -10% -5%; z-index: -1; pointer-events: none; }
.dh-cta__calligraphy span {
    position: absolute; font-family: "Amiri", serif; font-weight: 700; line-height: 1; color: var(--brown); opacity: .07; white-space: nowrap;
    font-size: clamp(90px, 15vw, 230px);
    left: calc(var(--n) * 13% - 6%); top: calc(10% + (var(--n) * 37%) - (var(--n) / 3) * 0%);
}
.dh-cta__calligraphy span:nth-child(odd) { top: 2%; }
.dh-cta__calligraphy span:nth-child(even) { top: 46%; }
.dh-cta__calligraphy span:nth-child(3n) { top: 24%; opacity: .05; }
.dh-cta__inner { max-width: 960px; }
.dh-cta .dh-eyebrow { margin-inline: auto; justify-content: center; }
.dh-cta__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 5.2vw, 70px); line-height: 1.08; color: var(--brown); letter-spacing: -.01em; }
.lang-ur .dh-cta__title { line-height: 1.8; font-size: clamp(28px, 4vw, 50px); }
.dh-cta__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.dh-cta__title .w > span { display: inline-block; }
.dh-cta .dh-lead { margin-inline: auto; }
.dh-cta__actions { margin-top: 34px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer (rounded, columns, giant wordmark) ---------- */
.dh-footer { padding-top: clamp(56px, 7vw, 90px); border-radius: clamp(36px, 6vw, 90px) clamp(36px, 6vw, 90px) 0 0; background: #0f2129; }
.dh-footer.has-cta { margin-top: calc(clamp(60px, 7vw, 110px) * -1); position: relative; z-index: 1; }
.dh-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; padding-bottom: 20px; }
.dh-footer__title { font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.lang-ur .dh-footer__title { letter-spacing: 0; font-size: 16px; }
.dh-footer ul { gap: 12px; }
.dh-footer li, .dh-footer li a { font-size: 14.5px; color: rgba(255, 255, 255, .72); }
.dh-footer li a { display: inline-flex; align-items: center; gap: 10px; position: relative; transition: color .3s, transform .4s var(--ease); }
.dh-footer li a::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -3px; width: 100%; height: 1px; background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
[dir="rtl"] .dh-footer li a::after { transform-origin: right; }
.dh-footer li a:hover { color: var(--gold-3); transform: translateX(4px); }
[dir="rtl"] .dh-footer li a:hover { transform: translateX(-4px); }
.dh-footer li a:hover::after { transform: scaleX(1); }
.dh-footer li i { width: 16px; color: var(--gold-2); text-align: center; }
.dh-footer__badge { font-size: 10.5px; padding: 2px 8px; border-radius: 999px; color: var(--gold-3); border: 1px solid rgba(216, 183, 101, .4); letter-spacing: .06em; }
.dh-footer__wordmark {
    --fill: 0%;
    overflow: hidden; text-align: center; padding: clamp(20px, 3vw, 40px) var(--gutter) 0; user-select: none;
    font-family: var(--font-display); font-weight: 700; line-height: .9; font-size: clamp(64px, 15vw, 240px); white-space: nowrap;
    background: linear-gradient(90deg, var(--gold-2) 0, var(--gold-3) var(--fill), rgba(255, 255, 255, .07) var(--fill));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lang-ur .dh-footer__wordmark { font-family: "Cormorant Garamond", serif; }
.dh-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: clamp(14px, 2vw, 26px); }
.dh-footer__links a { color: rgba(255, 255, 255, .7); }
.dh-footer__links a:hover { color: var(--gold-3); }
@media (max-width: 980px) { .dh-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .dh-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.dh-contact__grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.dh-contact__side { display: grid; gap: 12px; position: sticky; top: 110px; perspective: 1000px; }
.dh-channel {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #fff; position: relative;
    box-shadow: 0 0 0 1px var(--line); transition: box-shadow .5s var(--ease); transform-style: preserve-3d;
}
.dh-channel:hover { box-shadow: 0 0 0 1px rgba(177, 135, 48, .45), 0 24px 40px -28px rgba(99, 65, 37, .55); }
.dh-channel strong { display: block; font-weight: 600; color: var(--brown); font-size: 15px; }
.dh-channel small { display: block; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.dh-channel__icon {
    width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 18px;
    color: #1b1206; background: linear-gradient(135deg, var(--gold-3), var(--gold)); transform: translateZ(20px);
    transition: transform .5s var(--ease), background .4s;
}
.dh-channel__icon--brand { background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand); }
.dh-channel:hover .dh-channel__icon { transform: translateZ(20px) rotate(-8deg) scale(1.08); }
.dh-channel:hover .dh-channel__icon--brand { background: var(--brand); color: #fff; }
.dh-channel__go { margin-inline-start: auto; font-size: 12px; color: var(--muted); opacity: 0; transform: translateX(-6px); transition: all .4s var(--ease); }
.dh-channel:hover .dh-channel__go { opacity: 1; transform: none; color: var(--gold); }

.dh-form {
    position: relative; padding: clamp(24px, 4vw, 44px); border-radius: calc(var(--radius) + 8px); background: #fff; overflow: hidden;
    box-shadow: 0 0 0 1px var(--line), 0 50px 90px -60px rgba(11, 26, 33, .55);
}
.dh-form::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: conic-gradient(from var(--angle, 0deg), transparent 0 70%, var(--gold-2) 82%, transparent 94%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: dh-border 8s linear infinite;
}
.dh-form__head { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.dh-form__head .dh-medal { position: relative; inset: auto; top: auto; transform: none; flex: none; }
.dh-form__head .dh-medal .dh-star { animation: dh-spin 24s linear infinite; }
.dh-form__title { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 600; color: var(--brown); line-height: 1.1; }
.lang-ur .dh-form__title { line-height: 1.8; }
.dh-form__sub { color: var(--muted); margin-top: 4px; }
.dh-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dh-field { position: relative; display: block; }
.dh-field--full { grid-column: 1 / -1; }
.dh-field input, .dh-field textarea {
    width: 100%; padding: 22px 18px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper);
    font: 500 16px/1.4 var(--font-body); color: var(--text); outline: none; resize: vertical;
    transition: border-color .3s, box-shadow .3s, background .3s;
}
.dh-field textarea { min-height: 170px; }
.dh-field span {
    position: absolute; top: 17px; inset-inline-start: 19px; color: var(--muted); font-size: 15.5px; pointer-events: none;
    transform-origin: left top; transition: transform .35s var(--ease), color .3s;
}
[dir="rtl"] .dh-field span { transform-origin: right top; }
.dh-field input:focus, .dh-field textarea:focus { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(177, 135, 48, .14); }
.dh-field input:focus + span, .dh-field input:not(:placeholder-shown) + span,
.dh-field textarea:focus + span, .dh-field textarea:not(:placeholder-shown) + span { transform: translateY(-11px) scale(.76); color: var(--gold); }
.was-validated .dh-field :invalid { border-color: #c0533a; box-shadow: 0 0 0 4px rgba(192, 83, 58, .12); }
.dh-form__captcha { margin-top: 18px; }
.dh-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.dh-form__status { font-weight: 500; font-size: 15px; min-height: 1em; }
.dh-form__status.is-ok { color: #2e7d4f; }
.dh-form__status.is-ok::before { content: "\f058"; font: 900 15px "Font Awesome 6 Free"; margin-inline-end: 8px; }
.dh-form__status.is-error { color: #b2442c; }
.dh-form button[disabled] { opacity: .7; cursor: wait; }
.dh-form button.is-loading .dh-btn__icon { animation: dh-fly 1s var(--ease) infinite; }
.dh-form.is-sent .dh-btn__icon { animation: dh-fly-away 1.2s var(--ease) forwards; }
.dh-contact__extra { margin-top: 36px; }
@media (max-width: 980px) {
    .dh-contact__grid { grid-template-columns: 1fr; }
    .dh-contact__side { position: static; order: 2; }
}
@media (max-width: 560px) { .dh-form__grid { grid-template-columns: 1fr; } }
@keyframes dh-fly { 50% { transform: translate(4px, -4px); } }
@keyframes dh-fly-away { 0% { transform: none; opacity: 1; } 60% { transform: translate(40px, -30px) rotate(10deg); opacity: 0; } 61% { transform: translate(-20px, 10px); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* =====================================================================
   v2.4 — two-line hero, article pages (split hero + 3D poster),
   content harmoniser styles, search finder, floating register button
   ===================================================================== */

/* ---------- Two-line hero title ---------- */
.dh-hero__line { display: block; }
.dh-hero__line--accent { font-style: italic; font-weight: 500; }
.dh-hero__title.is-done .dh-hero__line--accent .w > span, .dh-hero__title:not(:has(.w)) .dh-hero__line--accent {
    background: linear-gradient(100deg, var(--gold-3), var(--gold-2) 45%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lang-ur .dh-hero__line--accent { font-style: normal; }

/* ---------- Article split hero ---------- */
.dh-arthero {
    position: relative; overflow: hidden; isolation: isolate; color: #fff;
    padding: calc(118px + var(--bar-h, 0px)) 0 clamp(50px, 6vw, 80px);
    background: radial-gradient(90% 120% at 85% 10%, #22404c 0%, var(--ink) 62%);
}
.dh-arthero__bg { position: absolute; inset: -40px; z-index: -2; background-size: cover; background-position: center; opacity: .14; filter: blur(30px) saturate(1.2); }
.dh-arthero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; z-index: -1; background: linear-gradient(to bottom, transparent, rgba(11, 26, 33, .5)); }
.dh-arthero .dh-depth__star { opacity: .4; }
.dh-arthero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.dh-arthero__title { margin-top: 16px; font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.05; letter-spacing: -.01em; }
.lang-ur .dh-arthero__title { line-height: 1.8; font-size: clamp(28px, 3.6vw, 46px); }
.dh-arthero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.dh-arthero__title .w > span { display: inline-block; }
.dh-arthero__lead { margin-top: 16px; max-width: 560px; font-size: 17.5px; color: rgba(255, 255, 255, .76); }
.dh-arthero__meta { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.dh-arthero__meta i { color: var(--gold-2); margin-inline-end: 6px; }
.dh-arthero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.dh-arthero .dh-tag { margin-top: 16px; }
.dh-arthero__visual { position: relative; display: grid; place-items: center; perspective: 1400px; }
.dh-arthero__halo { position: absolute; width: 120%; aspect-ratio: 1; opacity: .16; pointer-events: none; }
.dh-arthero__halo .dh-star { color: var(--gold-2); animation: dh-spin 70s linear infinite; }
.dh-poster { position: relative; display: block; width: min(100%, 460px); border-radius: 22px; transform-style: preserve-3d; animation: dh-hover 7s ease-in-out infinite; }
.dh-poster img { position: relative; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1); transform: translateZ(30px); }
.dh-poster__frame { position: absolute; inset: 0; border-radius: 26px; border: 1px solid rgba(216, 183, 101, .55); transform: translate(18px, 18px) translateZ(-30px); }
[dir="rtl"] .dh-poster__frame { transform: translate(-18px, 18px) translateZ(-30px); }
.dh-poster__zoom { position: absolute; bottom: 14px; inset-inline-end: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(11, 26, 33, .7); color: #fff; backdrop-filter: blur(6px); transform: translateZ(60px) scale(.8); opacity: 0; transition: all .4s var(--ease); }
.dh-poster:hover .dh-poster__zoom { opacity: 1; transform: translateZ(60px) scale(1); }
.dh-poster .dh-glare { border-radius: 22px; transform: translateZ(31px); }
@media (max-width: 900px) {
    .dh-arthero__grid { grid-template-columns: 1fr; }
    .dh-arthero__visual { order: -1; }
    .dh-poster { width: min(78%, 360px); }
}
@keyframes dh-hover { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ---------- Article body ---------- */
.dh-article__col { max-width: 980px; }
.dh-related { background: linear-gradient(180deg, var(--paper), var(--cream)); }
.dh-related .dh-programs__grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .dh-related .dh-programs__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dh-related .dh-programs__grid { grid-template-columns: 1fr; } }

/* ---------- Finder: search + counted chips ---------- */
.dh-finder {
    position: relative; z-index: 3; margin: calc(clamp(36px, 4.5vw, 60px) * -1 - 46px) auto 36px; max-width: 1060px;
    padding: 18px; border-radius: 30px; background: rgba(253, 251, 247, .92); backdrop-filter: blur(16px);
    box-shadow: 0 40px 80px -40px rgba(11, 26, 33, .55), 0 0 0 1px var(--line);
}
.dh-search { position: relative; display: flex; align-items: center; }
.dh-search__icon { position: absolute; inset-inline-start: 22px; color: var(--gold); font-size: 17px; pointer-events: none; }
.dh-search input {
    width: 100%; height: 62px; padding: 0 70px 0 56px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
    font: 500 17px var(--font-body); color: var(--text); outline: none; transition: border-color .3s, box-shadow .3s;
}
[dir="rtl"] .dh-search input { padding: 0 56px 0 70px; }
.dh-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 5px rgba(177, 135, 48, .14); }
.dh-search input::-webkit-search-cancel-button { cursor: pointer; }
.dh-search__btn {
    position: absolute; inset-inline-end: 8px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
    background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1206; font-size: 16px; transition: transform .4s var(--ease);
}
.dh-search__btn:hover { transform: rotate(-45deg) scale(1.06); }
[dir="rtl"] .dh-search__btn i { transform: scaleX(-1); }
.dh-search__hint {
    position: absolute; inset-inline-end: 70px; font-size: 12.5px; color: var(--muted); opacity: 0; transform: translateY(4px);
    transition: all .35s var(--ease); pointer-events: none; white-space: nowrap;
}
.dh-search.is-typing .dh-search__hint { opacity: 1; transform: none; }
.dh-finder .dh-filters { margin: 14px 0 0; justify-content: flex-start; }
.dh-filter__count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--cream); color: var(--brown); }
.dh-filter.is-active .dh-filter__count { background: rgba(255, 255, 255, .18); color: #fff; }
.dh-results { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 26px; padding: 14px 20px; border-radius: 16px; background: var(--cream); }
.dh-results strong { color: var(--brown); }
.dh-results span { color: var(--muted); }
.dh-results a { color: var(--gold); font-weight: 600; font-size: 14px; }
.dh-nomatch { text-align: center; color: var(--muted); padding: 30px 0; }
.dh-story.is-filtered-out { display: none; }
@media (max-width: 640px) {
    .dh-finder { padding: 12px; border-radius: 24px; margin-top: -40px; }
    .dh-search input { height: 54px; font-size: 16px; }
    .dh-search__btn { width: 42px; height: 42px; }
    .dh-search__hint { display: none; }
    .dh-finder .dh-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -12px; padding: 0 12px 4px; }
}

/* ---------- Floating register button ---------- */
.dh-floatcta {
    position: fixed; z-index: 46; bottom: 22px; inset-inline-end: 22px; display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; color: #1b1206;
    background: linear-gradient(135deg, var(--gold-3), var(--gold)); box-shadow: 0 24px 50px -16px rgba(177, 135, 48, .85);
    transform: translateY(160%) scale(.9); transition: transform .6s var(--ease);
}
.dh-floatcta.is-visible { transform: none; }
.dh-floatcta::before { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid rgba(216, 183, 101, .6); animation: dh-ping 2.2s var(--ease) infinite; }
@keyframes dh-ping { 0% { opacity: .9; transform: scale(.95); } 100% { opacity: 0; transform: scale(1.18); } }
@media (max-width: 640px) { .dh-floatcta { inset-inline: 14px; bottom: 14px; justify-content: center; } }

.dh-poster { width: auto; max-width: min(100%, 460px); }
.dh-poster img { width: auto; max-width: 100%; max-height: min(68vh, 640px); margin-inline: auto; }

/* =====================================================================
   v2.5 — Course descriptions rebuilt into one clean, responsive layout
   ===================================================================== */
.dh-subtitle {
    margin-top: 8px; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.2;
    background: linear-gradient(100deg, var(--gold-3), var(--gold-2) 50%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lang-ur .dh-subtitle { font-style: normal; line-height: 1.9; }
.dh-pagehero__inner--center .dh-subtitle { text-align: center; }

.dh-course { max-width: 900px; margin-inline: auto; font-size: 17px; line-height: 1.75; color: var(--text); }
.dh-course > * + *, .dh-course > div > * + * { margin-top: 22px; }
.dh-course div:empty, .dh-course p:empty { display: none; }
.dh-course h2, .dh-course h3, .dh-course h4 { font-family: var(--font-display); color: var(--brown); line-height: 1.2; font-weight: 600; margin-top: 0; }
.dh-course h2 { font-size: clamp(26px, 3vw, 36px); padding-top: 12px; display: flex; align-items: center; gap: 14px; }
.dh-course h2::before { content: ""; flex: none; width: 34px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
[dir="rtl"] .dh-course h2::before { background: linear-gradient(-90deg, var(--gold), transparent); }
.dh-course h3 { font-size: clamp(21px, 2.2vw, 25px); }
.dh-course h4 { font-size: 19px; }
.lang-ur .dh-course h2, .lang-ur .dh-course h3 { line-height: 1.9; }
.dh-course p { margin: 0; }
.dh-course strong { color: var(--brown); font-weight: 600; }
.dh-course a:not(.dhx-btn) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.dh-course img { max-width: 100%; height: auto; border-radius: 18px; }
.dh-course iframe { width: 100%; max-width: 100%; border: 0; border-radius: 18px; }
.dh-course hr { border: 0; height: 1px; background: var(--line); margin: 34px 0; }
.dh-course blockquote { margin: 0; padding: 20px 24px; border-inline-start: 3px solid var(--gold); background: var(--cream); border-radius: 0 18px 18px 0; font-family: var(--font-display); font-size: 21px; font-style: italic; }

/* lists with gold check marks */
.dh-course ul, .dh-course ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dh-course li, .dh-course .dhx-item { position: relative; padding-inline-start: 34px; }
.dh-course li::before, .dh-course .dhx-item::before {
    content: "\f00c"; font: 900 11px "Font Awesome 6 Free"; position: absolute; inset-inline-start: 0; top: .42em;
    width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #1b1206;
    background: linear-gradient(135deg, var(--gold-3), var(--gold));
}
.dh-course ol { counter-reset: dhx; }
.dh-course ol > li { counter-increment: dhx; }
.dh-course ol > li::before { content: counter(dhx); font: 700 12px var(--font-body); }
.dh-course .dhx-item { padding-block: 12px; border-bottom: 1px solid var(--line); }
.dh-course .dhx-item::before { top: 1.05em; }
.dh-course .dhx-item:last-child { border-bottom: 0; }

/* fact cards (from Feature / Detail tables) */
.dhx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; perspective: 1200px; }
.dhx-fact {
    position: relative; padding: 20px 20px 18px; border-radius: 20px; background: #fff; overflow: hidden;
    box-shadow: 0 0 0 1px var(--line), 0 24px 40px -36px rgba(11, 26, 33, .5); transition: transform .5s var(--ease), box-shadow .5s;
}
.dhx-fact::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--gold-3), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.dhx-fact:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px rgba(177, 135, 48, .4), 0 30px 50px -34px rgba(99, 65, 37, .55); }
.dhx-fact:hover::after { transform: scaleX(1); }
.dhx-fact__icon {
    width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 17px;
    color: var(--brown); background: var(--cream); transition: transform .6s var(--ease), background .4s, color .4s;
}
.dhx-fact:hover .dhx-fact__icon { transform: rotate(-8deg) scale(1.08); background: linear-gradient(135deg, var(--gold-3), var(--gold)); color: #1b1206; }
.dhx-fact__label { display: block; margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.lang-ur .dhx-fact__label { letter-spacing: 0; font-size: 13px; }
.dhx-fact__value { margin-top: 4px; font-size: 16.5px; font-weight: 600; color: var(--brown); line-height: 1.45; }
.dhx-fact__value * { margin: 0; }

/* card grids */
.dhx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; perspective: 1400px; }
.dhx-grid > .dhx-card { margin: 0 !important; }
.dhx-card {
    position: relative; padding: 26px 24px; border-radius: 22px; background: #fff;
    box-shadow: 0 0 0 1px var(--line), 0 30px 50px -44px rgba(11, 26, 33, .55);
    transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.dhx-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: 22px 22px 0 0; background: linear-gradient(90deg, var(--gold-3), var(--gold), var(--brown)); opacity: 0; transition: opacity .4s; }
.dhx-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(177, 135, 48, .4), 0 36px 60px -40px rgba(99, 65, 37, .55); }
.dhx-card:hover::before { opacity: 1; }
.dhx-card > * + * { margin-top: 10px; }
.dhx-card h3, .dhx-card h4 { font-size: 22px; }
.dhx-card p { font-size: 15.5px; color: var(--muted); }
.dhx-card ul { gap: 8px; }
.dhx-card li { font-size: 15.5px; }

/* panels */
.dhx-panel { padding: clamp(22px, 3.5vw, 36px); border-radius: 26px; background: linear-gradient(180deg, var(--cream), #fff 80%); box-shadow: 0 0 0 1px var(--line); }
.dhx-panel > * + * { margin-top: 16px; }
.dhx-panel .dhx-facts { margin-top: 0; }

/* pills, buttons, tables */
.dhx-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--cream); color: var(--brown); font-size: 13px; font-weight: 600; box-shadow: 0 0 0 1px var(--line); }
.dhx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dh-course .dhx-btn {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding: 14px 28px; border-radius: 999px; text-decoration: none;
    background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1206; font-weight: 600; font-size: 15.5px;
    box-shadow: 0 16px 34px -18px rgba(177, 135, 48, .85); transition: transform .4s var(--ease), box-shadow .4s;
}
.dh-course .dhx-btn::after { content: "\f061"; font: 900 12px "Font Awesome 6 Free"; transition: transform .4s var(--ease); }
[dir="rtl"] .dh-course .dhx-btn::after { content: "\f060"; }
.dh-course .dhx-btn:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -18px rgba(177, 135, 48, .95); }
.dh-course .dhx-btn:hover::after { transform: translateX(4px); }
.dh-course .dhx-btn--wa { background: linear-gradient(135deg, #2f9e62, #1f7a49); color: #fff; box-shadow: 0 16px 34px -18px rgba(31, 122, 73, .8); }
.dh-course .dhx-btn--wa::after { content: "\f232"; font-family: "Font Awesome 6 Brands"; font-weight: 400; }
.dhx-table { overflow-x: auto; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); -webkit-overflow-scrolling: touch; }
.dhx-table table { width: 100%; min-width: 520px; border-collapse: collapse; background: #fff; font-size: 15.5px; }
.dhx-table th { background: var(--brown); color: #fff; text-align: start; padding: 14px 18px; font-weight: 600; }
.dhx-table td { padding: 13px 18px; border-top: 1px solid var(--line); }
.dhx-table tr:nth-child(even) td { background: var(--paper); }

/* responsive */
@media (max-width: 640px) {
    .dh-course { font-size: 16px; }
    .dhx-grid { grid-template-columns: 1fr; }
    .dhx-facts { grid-template-columns: 1fr 1fr; gap: 10px; }
    .dhx-fact { padding: 16px; }
    .dhx-fact__value { font-size: 15px; }
    .dhx-card { padding: 22px 20px; }
    .dh-course .dhx-btn { width: 100%; justify-content: center; }
}
@media (max-width: 380px) { .dhx-facts { grid-template-columns: 1fr; } }
/* icons typed into course cards */
.dhx-card > i[class*="fa-"]:first-child, .dhx-card > :first-child > i[class*="fa-"]:only-child {
    width: 44px; height: 44px; border-radius: 14px; display: inline-grid; place-items: center; font-size: 17px;
    color: var(--brown); background: var(--cream); transition: transform .6s var(--ease), background .4s;
}
.dhx-card:hover > i[class*="fa-"]:first-child { transform: rotate(-8deg) scale(1.08); background: linear-gradient(135deg, var(--gold-3), var(--gold)); }
.dh-course i[class*="fa-"] { color: var(--gold); }
@media (max-width: 900px) { .dh-poster img { max-height: 46vh; } .dh-arthero { padding-top: calc(96px + var(--bar-h, 0px)); } }

/* =====================================================================
   v2.6 — "Questions before you begin" FAQ section
   ===================================================================== */
.dh-faq { background: linear-gradient(180deg, var(--paper), var(--cream)); }
.dh-faq__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.dh-faq__intro { position: sticky; top: 110px; }
.dh-faq__badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: #fff;
    box-shadow: 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brown);
}
.lang-ur .dh-faq__badge { letter-spacing: 0; text-transform: none; }
.dh-faq__badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(177, 135, 48, .18); animation: dh-pulse 2s ease-in-out infinite; }
.dh-faq__title { position: relative; margin-top: 22px; font-family: var(--font-display); font-weight: 600; font-size: clamp(42px, 5.6vw, 78px); line-height: 1; letter-spacing: -.02em; color: var(--brown); width: fit-content; }
.dh-faq__title > span { display: block; }
.dh-faq__underline { font-style: italic; color: var(--gold); }
.lang-ur .dh-faq__title { line-height: 1.7; font-size: clamp(32px, 4.4vw, 54px); }
.dh-faq__swash { position: absolute; left: 0; bottom: -12px; width: 100%; height: 16px; overflow: visible; }
.dh-faq__swash path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.dh-faq__title.is-drawn .dh-faq__swash path, .no-js .dh-faq__swash path { stroke-dashoffset: 0; }
.dh-faq .dh-lead { margin-top: 30px; }
.dh-faq__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.dh-faq__card {
    position: relative; margin: 40px 0 0; max-width: 420px; padding: 34px 30px 26px; border-radius: 24px; overflow: hidden;
    background: linear-gradient(160deg, #183442, var(--ink) 75%); color: #fff; transform: rotate(-2.5deg); transform-style: preserve-3d;
    box-shadow: 0 40px 70px -40px rgba(11, 26, 33, .7);
}
.dh-faq__card-star { position: absolute; width: 220px; height: 220px; inset-inline-end: -60px; top: -60px; opacity: .14; }
.dh-faq__card-star .dh-star { color: var(--gold-2); animation: dh-spin 40s linear infinite; }
.dh-faq__ayah { font-family: var(--font-arabic); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.9; color: var(--gold-3); text-align: center; transform: translateZ(30px); }
.dh-faq__card figcaption { margin-top: 10px; text-align: center; font-family: var(--font-display); font-style: italic; font-size: 17px; color: rgba(255, 255, 255, .75); transform: translateZ(20px); }

.dh-faq__panel { position: relative; border-radius: 30px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 50px 90px -60px rgba(11, 26, 33, .5); overflow: hidden; }
.dh-faq__rail { position: absolute; top: 0; bottom: 0; inset-inline-start: 96px; width: 2px; background: linear-gradient(var(--gold), var(--gold-3)); transform-origin: top; }
.dh-faq__tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 26px 26px 18px calc(96px + 26px); }
[dir="rtl"] .dh-faq__tabs { padding: 26px calc(96px + 26px) 18px 26px; }
.dh-faq__tab {
    padding: 9px 16px; border-radius: 12px; border: 0; cursor: pointer; background: var(--cream); color: var(--brown);
    font: 600 12.5px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; transition: background .35s, color .35s, transform .35s var(--ease);
}
.lang-ur .dh-faq__tab { letter-spacing: 0; text-transform: none; font-size: 14px; }
.dh-faq__tab sup { font-size: 9px; margin-inline-start: 4px; opacity: .7; }
.dh-faq__tab:hover { transform: translateY(-2px); }
.dh-faq__tab.is-active { background: var(--ink); color: #fff; }
.dh-faq__item { border-top: 1px solid var(--line); }
.dh-faq__item.is-filtered-out { display: none; }
.dh-faq__item summary {
    list-style: none; cursor: pointer; display: grid; grid-template-columns: 96px minmax(0, 1fr) 40px; align-items: center;
    gap: 0 26px; padding: 26px 26px 26px 0; transition: background .3s;
}
[dir="rtl"] .dh-faq__item summary { padding: 26px 0 26px 26px; }
.dh-faq__item summary::-webkit-details-marker { display: none; }
.dh-faq__item summary:hover { background: var(--paper); }
.dh-faq__num { justify-self: center; font: 500 12px var(--font-body); letter-spacing: .16em; color: var(--muted); }
.dh-faq__q { font-family: var(--font-display); font-weight: 600; font-size: clamp(21px, 2.1vw, 28px); line-height: 1.2; color: var(--brown); }
.lang-ur .dh-faq__q { line-height: 1.9; font-size: clamp(18px, 1.8vw, 22px); }
.dh-faq__item[open] .dh-faq__q { background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 40% 2px; padding-bottom: 6px; }
[dir="rtl"] .dh-faq__item[open] .dh-faq__q { background-position: 100% 100%; }
.dh-faq__toggle { position: relative; width: 26px; height: 26px; justify-self: end; transition: transform .5s var(--ease); }
.dh-faq__toggle::before, .dh-faq__toggle::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--brown); border-radius: 2px; }
.dh-faq__toggle::after { transform: rotate(90deg); }
.dh-faq__item[open] .dh-faq__toggle { transform: rotate(135deg); }
.dh-faq__item[open] .dh-faq__toggle::before, .dh-faq__item[open] .dh-faq__toggle::after { background: var(--gold); }
.dh-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.dh-faq__item[open] .dh-faq__a { grid-template-rows: 1fr; }
.dh-faq__a > div { overflow: hidden; padding-inline: calc(96px + 26px) 66px; color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.dh-faq__item[open] .dh-faq__a > div { padding-bottom: 28px; }
.dh-faq__a a { color: var(--gold); text-decoration: underline; }

@media (max-width: 980px) {
    .dh-faq__grid { grid-template-columns: 1fr; }
    .dh-faq__intro { position: static; }
    .dh-faq__card { display: none; }
}
@media (max-width: 640px) {
    .dh-faq__rail { inset-inline-start: 56px; }
    .dh-faq__tabs { padding: 18px 16px 12px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    [dir="rtl"] .dh-faq__tabs { padding: 18px 16px 12px; }
    .dh-faq__tab { flex: none; }
    .dh-faq__item summary { grid-template-columns: 56px minmax(0, 1fr) 30px; gap: 0 16px; padding: 20px 16px 20px 0; }
    [dir="rtl"] .dh-faq__item summary { padding: 20px 0 20px 16px; }
    .dh-faq__num { font-size: 10.5px; letter-spacing: .08em; }
    .dh-faq__toggle { width: 20px; height: 20px; }
    .dh-faq__a > div { padding-inline: calc(56px + 16px) 20px; font-size: 15.5px; }
    .dh-faq__panel { border-radius: 24px; }
}

/* =====================================================================
   v2.7 — Course pages: lined notebook + "At a glance" sheet
   (references: Primer notebook & spec sheet, Heal numbered rows)
   ===================================================================== */
.dh-article__col--course { max-width: var(--wrap); }
.dhk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 3vw, 40px); align-items: start; }

/* lined notebook */
.dhk-notebook {
    --line-h: 44px; --margin: 72px;
    position: relative; padding: 40px clamp(20px, 3vw, 44px) 44px calc(var(--margin) + 30px); border-radius: 28px;
    background-color: #fffdf9;
    background-image: repeating-linear-gradient(to bottom, transparent 0 calc(var(--line-h) - 1px), rgba(99, 65, 37, .07) calc(var(--line-h) - 1px) var(--line-h));
    background-position: 0 30px;
    box-shadow: 0 0 0 1px var(--line), 0 50px 90px -60px rgba(11, 26, 33, .5);
}
[dir="rtl"] .dhk-notebook { padding: 40px calc(var(--margin) + 30px) 44px clamp(20px, 3vw, 44px); }
.dhk-notebook__margin { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--margin); width: 2px; background: linear-gradient(var(--gold), var(--gold-2)); transform-origin: top; }
.dhk-notebook__tag { font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.lang-ur .dhk-notebook__tag { letter-spacing: 0; font-size: 14px; }
.dhk-body { font-size: 17px; line-height: 1.75; color: var(--text); }
.dhk-body > * + * { margin-top: 18px; }
.dhk-h { position: relative; display: flex; align-items: baseline; gap: 14px; margin-top: 44px !important; font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; color: var(--brown); }
.dhk-body > .dhk-h:first-child { margin-top: 6px !important; }
.dhk-h__n { position: absolute; inset-inline-end: calc(100% + 30px + 14px); top: .35em; font: 600 12px var(--font-body); letter-spacing: .14em; color: var(--muted); }
.lang-ur .dhk-h { line-height: 1.8; font-size: clamp(22px, 2.4vw, 30px); }
.dhk-sub { font-family: var(--font-display); font-weight: 600; font-size: 23px; color: var(--brown); margin-top: 28px !important; }
.dhk-p { margin: 0; }
.dhk-p strong { color: var(--brown); }
.dhk-p a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* quote (Primer "Stop protecting the canvas") */
.dhk-quote { margin: 26px 0 0; padding: 4px 0 4px 26px; border-inline-start: 3px solid var(--gold); font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; font-weight: 600; color: var(--brown); }
[dir="rtl"] .dhk-quote { padding: 4px 26px 4px 0; }
.dhk-quote.is-arabic { font-family: var(--font-arabic); font-weight: 400; line-height: 1.9; color: var(--gold); text-align: right; border-inline-start: 0; border-inline-end: 3px solid var(--gold); padding: 4px 26px 4px 0; }

/* check list */
.dhk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dhk-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; padding: 9px 0; border-bottom: 1px dashed rgba(99, 65, 37, .12); }
.dhk-list li:last-child { border-bottom: 0; }
.dhk-list li > i { width: 22px; height: 22px; margin-top: 4px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; color: #1b1206; background: linear-gradient(135deg, var(--gold-3), var(--gold)); }
.dhk-list strong { color: var(--brown); }
.dhk-list--sm li { padding: 6px 0; font-size: 15px; }

/* numbered principles (Heal "0.1 / 0.2") */
.dhk-nums { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dhk-nums li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); transition: background .4s, padding .4s var(--ease); }
.dhk-nums li:hover { background: linear-gradient(90deg, rgba(177, 135, 48, .07), transparent); padding-inline-start: 10px; }
.dhk-nums__n { font: 500 15px var(--font-body); color: var(--gold); letter-spacing: .04em; }
.dhk-nums strong { display: block; font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; color: var(--brown); line-height: 1.2; }
.dhk-nums div span { display: block; margin-top: 4px; color: var(--muted); font-size: 16px; }

/* syllabus timeline */
.dhk-days { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.dhk-days li { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 14px 12px 12px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .45s; }
.dhk-days li:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(177, 135, 48, .45), 0 20px 34px -26px rgba(99, 65, 37, .55); }
.dhk-days__badge { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; align-content: center; background: var(--ink); color: var(--gold-3); font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1; }
.dhk-days__badge small { font: 600 9.5px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 3px; }
.dhk-days li:nth-child(odd) .dhk-days__badge { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1206; }
.dhk-days li:nth-child(odd) .dhk-days__badge small { color: rgba(27, 18, 6, .6); }
.dhk-days p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--text); }

/* cards */
.dhk-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; perspective: 1200px; }
.dhk-card { position: relative; padding: 24px 22px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -44px rgba(11, 26, 33, .55); transition: transform .5s var(--ease), box-shadow .5s; }
.dhk-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(177, 135, 48, .4), 0 36px 60px -40px rgba(99, 65, 37, .55); }
.dhk-card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 18px; color: var(--brown); background: var(--cream); transition: transform .6s var(--ease), background .4s; }
.dhk-card:hover .dhk-card__icon { transform: rotate(-8deg) scale(1.08); background: linear-gradient(135deg, var(--gold-3), var(--gold)); }
.dhk-card h3 { margin-top: 16px; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--brown); line-height: 1.2; }
.dhk-card p { margin-top: 6px; font-size: 15px; color: var(--muted); line-height: 1.65; }

/* stats (e.g. grading 40% / 50% / 10%) */
.dhk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.dhk-stat { padding: 22px 20px; border-radius: 20px; background: var(--ink); color: #fff; }
.dhk-stat__n { display: block; font-family: var(--font-display); font-size: 46px; font-weight: 700; line-height: 1; color: var(--gold-3); }
.dhk-stat strong { display: block; margin-top: 10px; font-size: 15.5px; }
.dhk-stat small { display: block; margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .62); line-height: 1.5; }
.dhk-media iframe, .dhk-media img, .dhk-media video { width: 100%; border: 0; border-radius: 18px; }
.dhk-body .dhx-table { margin-top: 18px; }

/* "At a glance" spec sheet */
.dhk-glance { position: sticky; top: 104px; padding: 30px 26px 26px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 50px 90px -60px rgba(11, 26, 33, .55); transform: rotate(.8deg); transition: transform .6s var(--ease); }
.dhk-glance:hover { transform: rotate(0deg); }
[dir="rtl"] .dhk-glance { transform: rotate(-.8deg); }
.dhk-glance::before { content: ""; position: absolute; top: -10px; left: 50%; width: 110px; height: 22px; margin-left: -55px; background: rgba(230, 211, 168, .55); transform: rotate(-2deg); border-radius: 3px; }
.dhk-glance__title { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--brown); padding-bottom: 16px; border-bottom: 2px solid var(--gold); }
.lang-ur .dhk-glance__title { font-size: 26px; line-height: 1.8; }
.dhk-glance__rows { margin: 0; }
.dhk-glance__rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dhk-glance dt { display: flex; align-items: center; gap: 10px; flex: none; max-width: 48%; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lang-ur .dhk-glance dt { letter-spacing: 0; font-size: 13px; }
.dhk-glance dt i { width: 30px; height: 30px; flex: none; border-radius: 10px; display: grid; place-items: center; font-size: 13px; color: var(--brown); background: var(--cream); }
.dhk-glance dd { margin: 0; text-align: end; font-weight: 600; font-size: 15.5px; color: var(--brown); line-height: 1.4; }
.dhk-glance dd small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.dhk-glance__actions { margin-top: 22px; display: grid; gap: 10px; }
.dhk-glance__actions .dh-btn { justify-content: center; }

@media (max-width: 1080px) {
    .dhk-layout { grid-template-columns: 1fr; }
    .dhk-glance { position: relative; top: 0; order: -1; transform: none; }
}
@media (max-width: 640px) {
    .dhk-notebook { --margin: 22px; padding: 30px 18px 30px 42px; border-radius: 22px; }
    [dir="rtl"] .dhk-notebook { padding: 30px 42px 30px 18px; }
    .dhk-h__n { position: static; order: -1; }
    .dhk-h { flex-direction: column; gap: 4px; }
    .dhk-days { grid-template-columns: 1fr; }
    .dhk-nums li { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; }
    .dhk-body { font-size: 16px; }
    .dhk-glance { padding: 24px 18px 20px; }
    .dhk-glance__rows > div { flex-direction: column; gap: 6px; }
    .dhk-glance dt { max-width: none; }
    .dhk-glance dd { text-align: start; padding-inline-start: 40px; }
}
.dhk-layout > *, .dhk-body, .dhk-body > * { min-width: 0; max-width: 100%; }
.dhk-notebook { overflow: hidden; }
.dhk-days__badge { font-family: var(--font-body); font-size: 21px; font-variant-numeric: lining-nums; }
.dhk-nums__n, .dhk-h__n { font-variant-numeric: lining-nums tabular-nums; }
.dhk-glance__actions .dh-btn span { text-align: center; }
html.dh { overflow-x: clip; } .dhx-table { max-width: 100%; }
/* department strip: show the full portrait poster */
.dh-dept { width: min(74vw, 320px); }
.dh-dept__media { aspect-ratio: 2 / 3; }
.dh-dept__media img { transform: scale(1.02); }
.dh-dept__body { padding: 24px 22px 26px; }
.dh-dept__title { font-size: 23px; }
.dh-dept:has(.dh-dept__media img) .dh-dept__num { display: none; }

/* =====================================================================
   v2.8 — Blog posts: fluid reading layout on every screen
   ===================================================================== */
/* header: landscape flyers get a wider visual column */
.dh-arthero--wide .dh-arthero__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.dh-arthero--wide .dh-poster { max-width: min(100%, 640px); }
.dh-arthero--wide .dh-poster img { max-height: none; width: 100%; }
.dh-arthero--wide .dh-arthero__title { font-size: clamp(30px, 4vw, 54px); }

/* reading column + fluid type */
.dh-article__col--blog { max-width: 1040px; }
.dh-article__col--blog .dh-course { max-width: none; font-size: clamp(15.5px, .35vw + 14.5px, 17.5px); line-height: 1.8; }
.dh-article__col--blog .dh-course > p, .dh-article__col--blog .dh-course > div > p { max-width: 72ch; }
.dh-article__col--blog .dh-course h2 { font-size: clamp(24px, 1.6vw + 17px, 36px); line-height: 1.2; overflow-wrap: normal; hyphens: manual; }

/* cards: two comfortable columns, one on phones */
.dh-article__col--blog .dhx-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.dh-course .dhx-card { padding: clamp(20px, 2.4vw, 30px); }

/* headings inside cards: compact, never split words */
.dh-course .dhx-card h2, .dh-course .dhx-card h3, .dh-course .dhx-card h4 {
    display: block; padding-top: 0; font-size: clamp(20px, .7vw + 16px, 25px); line-height: 1.25;
    overflow-wrap: normal; word-break: normal; hyphens: manual; letter-spacing: 0;
}
.dh-course .dhx-card h2::before { display: none; }
.dh-course .dhx-card h2 > i[class*="fa-"], .dh-course .dhx-card h3 > i[class*="fa-"], .dh-course .dhx-card h4 > i[class*="fa-"],
.dh-course .dhx-card > i[class*="fa-"]:first-child {
    display: grid; place-items: center; width: 42px; height: 42px; margin: 0 0 14px; border-radius: 13px;
    font-size: 16px; color: var(--brown); background: var(--cream); transition: transform .5s var(--ease), background .4s;
}
.dh-course .dhx-card:hover h2 > i[class*="fa-"], .dh-course .dhx-card:hover h3 > i[class*="fa-"] { transform: rotate(-8deg) scale(1.06); background: linear-gradient(135deg, var(--gold-3), var(--gold)); }

/* list rows that already carry an icon: no extra check mark */
.dh-course li:has(i[class*="fa-"]) { padding-inline-start: 0; }
.dh-course li:has(i[class*="fa-"])::before { display: none; }
.dh-course li i[class*="fa-"] { width: 22px; margin-inline-end: 8px; text-align: center; color: var(--gold); }

/* Arabic duas */
.dh-course .dhx-arabic {
    font-family: var(--font-arabic) !important; font-size: clamp(21px, 1vw + 17px, 27px); line-height: 2; color: var(--brown);
    text-align: right; margin-block: 10px; padding: 12px 16px; border-radius: 14px; background: var(--cream);
    border-inline-end: 3px solid var(--gold);
}

/* phones */
@media (max-width: 900px) {
    .dh-arthero--wide .dh-arthero__grid { grid-template-columns: 1fr; }
    .dh-arthero--wide .dh-poster { width: 100%; max-width: 100%; }
}
@media (max-width: 640px) {
    .dh-arthero--wide .dh-arthero__visual { margin-inline: -4px; }
    .dh-course .dhx-card h2, .dh-course .dhx-card h3 { font-size: 21px; }
    .dh-article__col--blog .dh-course .dhx-btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
    .dh-floatcta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70vw; }
}
/* card headings: icon sits beside the text, text wraps next to it */
.dh-course .dhx-card h2, .dh-course .dhx-card h3 { display: flex; align-items: center; gap: 14px; }
.dh-course .dhx-card h2 > i[class*="fa-"], .dh-course .dhx-card h3 > i[class*="fa-"] { flex: none; margin: 0; }
/* pill lists -> compact chips */
.dh-course ul.dhx-chiplist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.dh-course ul.dhx-chiplist li {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px !important; border-radius: 999px;
    background: var(--cream); box-shadow: 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 600; color: var(--brown);
    transition: transform .35s var(--ease), background .35s;
}
.dh-course ul.dhx-chiplist li::before { display: none; }
.dh-course ul.dhx-chiplist li i[class*="fa-"] { width: 26px; height: 26px; margin: 0; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #1b1206; background: linear-gradient(135deg, var(--gold-3), var(--gold)); }
.dh-course ul.dhx-chiplist li:hover { transform: translateY(-2px); background: #fff; }
.dh-article__col--blog .dhx-grid { align-items: start; }
.dh-course .dhx-card .dhx-panel { padding: 18px 20px; background: var(--cream); box-shadow: none; border-radius: 18px; }
.dh-course .dhx-card .dhx-panel .dhx-arabic { background: transparent; padding: 0 0 0 0; border: 0; }
/* ---------- Share bar (large, branded) ---------- */
.dh-share { display: block; margin-top: 50px; padding: 26px 28px; border-radius: 24px; border-top: 0; background: linear-gradient(135deg, #fff, var(--cream)); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -50px rgba(11, 26, 33, .5); }
.dh-share__label { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--brown); margin-bottom: 18px; }
.dh-share__label i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 15px; color: #1b1206; background: linear-gradient(135deg, var(--gold-3), var(--gold)); }
.dh-share__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.dh-share a.dh-share__btn, .dh-share button.dh-share__btn {
    width: auto; height: auto; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px;
    border: 1px solid var(--line); background: #fff; color: var(--text); font: 600 15px var(--font-body); cursor: pointer; text-align: start;
    transition: transform .35s var(--ease), box-shadow .35s, background .35s, color .35s, border-color .35s;
}
.dh-share__btn i { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 20px; color: #fff; background: var(--c); transition: transform .5s var(--ease); }
.dh-share__btn { --c: var(--brown); }
.dh-share .dh-share__btn.is-wa { --c: #25d366; } .dh-share .dh-share__btn.is-fb { --c: #1877f2; } .dh-share .dh-share__btn.is-tg { --c: #229ed9; }
.dh-share .dh-share__btn.is-x { --c: #111; } .dh-share .dh-share__btn.is-mail { --c: var(--gold); } .dh-share .dh-share__btn.is-copy { --c: var(--brown); }
.dh-share a.dh-share__btn:hover, .dh-share button.dh-share__btn:hover { transform: translateY(-3px); background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 18px 30px -18px var(--c); }
.dh-share__btn:hover i { background: rgba(255, 255, 255, .18); transform: rotate(-8deg) scale(1.05); }
.dh-share button.dh-share__btn.is-copied { background: var(--brown); color: #fff; border-color: var(--brown); }
@media (max-width: 560px) { .dh-share { padding: 20px 16px; } .dh-share__list { grid-template-columns: 1fr 1fr; } .dh-share__btn i { width: 38px; height: 38px; font-size: 17px; } }

/* =====================================================================
   Infographics (reference: Yaqeen Institute)
   ===================================================================== */
.dh-ig__filters { margin: 0 0 40px; justify-content: center; }
.dh-ig__spot { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-bottom: clamp(50px, 7vw, 90px); perspective: 1400px; }
.dh-ig__spot-media { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(11, 26, 33, .55), 0 0 0 1px var(--line); transform-style: preserve-3d; aspect-ratio: 9 / 16; max-height: 820px; }
.dh-ig__spot-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.4s var(--ease); }
.dh-ig__spot:hover .dh-ig__spot-media img { transform: scale(1.03); }
.dh-ig__kicker { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 600; color: var(--gold); }
.dh-ig__rule { display: block; width: 56px; height: 3px; margin: 14px 0 26px; background: var(--gold); border-radius: 3px; transition: width .6s var(--ease); }
.dh-ig__spot:hover .dh-ig__rule { width: 110px; }
.dh-ig__cat { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.lang-ur .dh-ig__cat { letter-spacing: 0; }
.dh-ig__spot-title { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05; color: var(--brown); }
.dh-ig__spot-lead { margin: 18px 0 30px; max-width: 520px; font-size: 18px; color: var(--muted); }
.dh-ig__heading { margin-bottom: 28px; padding-top: 30px; border-top: 1px solid var(--line); }
.dh-ig__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; perspective: 1400px; }
.dh-ig__card { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -45px rgba(11, 26, 33, .55); transform-style: preserve-3d; transition: box-shadow .5s var(--ease); }
.dh-ig__card:hover { box-shadow: 0 0 0 1px rgba(177, 135, 48, .45), 0 40px 70px -40px rgba(99, 65, 37, .55); }
.dh-ig__thumb { aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.dh-ig__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.6s var(--ease), object-position 3s var(--ease); }
.dh-ig__card:hover .dh-ig__thumb img { transform: scale(1.04); object-position: bottom; }
.dh-ig__body { padding: 18px 20px 22px; }
.dh-ig__title { margin-top: 6px; font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--brown); }
@media (max-width: 1080px) { .dh-ig__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .dh-ig__spot { grid-template-columns: 1fr; } .dh-ig__spot-media { max-width: 460px; margin-inline: auto; width: 100%; } .dh-ig__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 420px) { .dh-ig__title { font-size: 18px; } .dh-ig__body { padding: 14px; } }

/* detail: full infographic + companion article */
.dh-igd__grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.dh-igd__figure { margin: 0; position: sticky; top: 104px; }
.dh-igd__img { display: block; border-radius: 22px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(11, 26, 33, .55), 0 0 0 1px var(--line); cursor: zoom-in; }
.dh-igd__img img { width: 100%; height: auto; display: block; }
.dh-igd__tools { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.dh-igd__tools .dh-btn { flex: 1; justify-content: center; }
.dh-igd__kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.dh-igd__prose { font-size: clamp(16px, .3vw + 15px, 17.5px); line-height: 1.8; color: var(--text); }
.dh-igd__prose > p:first-child { font-size: 1.12em; color: var(--brown); }
.dh-igd__prose > * + * { margin-top: 14px; }
.dh-igd__prose h2 { margin-top: 34px; font-family: var(--font-display); font-size: clamp(23px, 1.4vw + 17px, 30px); line-height: 1.2; color: var(--brown); padding-inline-start: 18px; border-inline-start: 3px solid var(--gold); }
.dh-igd__prose h3 { margin-top: 36px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.dh-igd__prose blockquote { margin: 18px 0 0; padding: 18px 22px; border-radius: 18px; background: var(--cream); box-shadow: 0 0 0 1px var(--line); }
.dh-igd__prose blockquote p[lang="ar"] { font-family: var(--font-arabic); font-size: clamp(22px, 1.2vw + 17px, 30px); line-height: 2; color: var(--brown); text-align: right; }
.dh-igd__prose blockquote p + p { margin-top: 6px; font-size: .95em; }
.dh-igd__prose strong { color: var(--brown); }
@media (max-width: 900px) { .dh-igd__grid { grid-template-columns: 1fr; } .dh-igd__figure { position: static; max-width: 520px; margin-inline: auto; } }

/* =====================================================================
   Testimonials — fanned card stack (reference: Zeen) + review wall
   ===================================================================== */
.dh-stars { display: inline-flex; gap: 3px; color: #f2b33d; font-size: 14px; }
.dh-stars .is-off { color: rgba(99, 65, 37, .18); }
.dh-tst-hero { position: relative; overflow: hidden; padding: calc(130px + var(--bar-h, 0px)) 0 clamp(60px, 7vw, 100px); background: radial-gradient(70% 90% at 80% 40%, #fff7e8, var(--paper) 70%); }
.dh-tst-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.dh-crumbs--dark { color: var(--muted); }
.dh-crumbs--dark span[aria-current] { color: var(--gold); }
.dh-tst-hero__title { margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: clamp(54px, 8vw, 118px); line-height: .92; color: var(--brown); letter-spacing: -.02em; }
.dh-tst-hero__title em { display: block; font-style: italic; font-weight: 500; color: var(--gold); }
.lang-ur .dh-tst-hero__title { line-height: 1.6; font-size: clamp(40px, 6vw, 80px); }
.dh-tst-hero__lead { margin-top: 22px; max-width: 460px; font-size: 18px; color: var(--muted); }
.dh-tst-hero__score { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.dh-tst-hero__avg { font-family: var(--font-display); font-size: 64px; font-weight: 700; line-height: 1; color: var(--brown); }
.dh-tst-hero__score .dh-stars { font-size: 18px; }
.dh-tst-hero__score small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.dh-tst-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.dh-tst-hero__chips span { padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; color: var(--brown); }

.dh-fan { --spread: .78; position: relative; height: 560px; }
@media (max-width: 1080px) { .dh-fan { --spread: .9; } }
.dh-fan__card {
    --c: calc(var(--i) - (var(--n) - 1) / 2);
    position: absolute; left: 50%; top: 50%; width: 280px; min-height: 370px; margin: -185px 0 0 -140px; padding: 28px 26px 24px;
    display: flex; flex-direction: column; border-radius: 30px; cursor: pointer; z-index: calc(10 - abs(var(--c)) * 2);
    background: #fff; box-shadow: 0 40px 80px -40px rgba(11, 26, 33, .45), 0 0 0 1px var(--line);
    transform: translate(calc(var(--c) * 120px * var(--spread)), calc(abs(var(--c)) * 26px * var(--spread))) rotate(calc(var(--c) * 9deg * var(--spread)));
    transform-origin: 50% 120%; transition: transform .9s var(--ease), box-shadow .5s;
}
.dh-fan__card:nth-child(5n+1) { background: linear-gradient(160deg, #fff, #f7ecd7); }
.dh-fan__card:nth-child(5n+2) { background: linear-gradient(160deg, #3a2516, #1d1209); color: #f6e7c6; }
.dh-fan__card:nth-child(5n+3) { background: linear-gradient(160deg, #fffdf9, #fff); }
.dh-fan__card:nth-child(5n+4) { background: linear-gradient(160deg, #d9b062, #b18730); color: #2a1a0b; }
.dh-fan__card:nth-child(5n+5) { background: linear-gradient(160deg, #13262f, #0b1a21); color: #f6e7c6; }
.dh-fan__card:hover, .dh-fan__card:focus-visible {
    transform: translate(calc(var(--c) * 120px * var(--spread)), calc(abs(var(--c)) * 26px * var(--spread) - 28px)) rotate(calc(var(--c) * 9deg * var(--spread))) scale(1.04);
    box-shadow: 0 60px 90px -40px rgba(11, 26, 33, .6); z-index: 20;
}
.dh-fan__card.is-front { z-index: 30; transform: translate(0, -10px) rotate(0) scale(1.08); }
.dh-fan__q { font-size: 30px; opacity: .35; }
.dh-fan__card blockquote { margin: 16px 0 auto; font-family: var(--font-display); font-size: 23px; line-height: 1.35; font-weight: 500; }
.dh-fan__card figcaption { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.dh-fan__card figcaption strong { display: block; font-size: 15px; }
.dh-fan__card figcaption small { display: block; font-size: 12.5px; opacity: .7; }
.dh-fan__card .dh-stars { margin-top: 14px; }
.dh-fan__card:nth-child(5n+2) .dh-stars .is-off, .dh-fan__card:nth-child(5n+5) .dh-stars .is-off { color: rgba(255, 255, 255, .2); }
.dh-tst__avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--font-body); letter-spacing: .04em; color: #1b1206; background: linear-gradient(135deg, var(--gold-3), var(--gold)); box-shadow: 0 0 0 3px rgba(255, 255, 255, .6); }

.dh-tst__wall { columns: 3 320px; column-gap: 22px; }
.dh-tst__card { position: relative; display: block; break-inside: avoid; margin-bottom: 22px; padding: 26px 26px 22px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -48px rgba(11, 26, 33, .55); transition: box-shadow .5s var(--ease); }
.dh-tst__card:hover { box-shadow: 0 0 0 1px rgba(177, 135, 48, .45), 0 40px 70px -40px rgba(99, 65, 37, .55); }
.dh-tst__card::before { content: "\201C"; position: absolute; top: 2px; inset-inline-end: 22px; font-family: var(--font-display); font-size: 110px; line-height: 1; color: var(--gold); opacity: .14; }
.dh-tst__top { display: flex; align-items: center; justify-content: space-between; }
.dh-tst__score { font-weight: 700; font-size: 14px; color: var(--brown); }
.dh-tst__text { margin-top: 14px; font-size: 16px; line-height: 1.75; color: var(--text); }
.dh-tst__card.is-long:not(.is-open) .dh-tst__text { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.dh-tst__more { margin-top: 8px; border: 0; background: none; padding: 0; cursor: pointer; color: var(--gold); font: 600 14px var(--font-body); display: inline-flex; gap: 6px; align-items: center; }
.dh-tst__card.is-open .dh-tst__more i { transform: rotate(180deg); }
.dh-tst__who { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.dh-tst__who strong { display: block; color: var(--brown); font-size: 15.5px; }
.dh-tst__who small { display: block; color: var(--muted); font-size: 13px; }
.dh-tst__note { margin-top: 20px; text-align: center; color: var(--muted); font-size: 14px; }
.dh-tst__note a { color: var(--gold); font-weight: 600; }

@media (max-width: 1080px) { .dh-tst-hero__grid { grid-template-columns: 1fr; } .dh-fan { height: 500px; } }
@media (max-width: 640px) {
    .dh-fan { height: 430px; --spread: .42; }
    .dh-fan__card { width: 240px; min-height: 320px; margin: -160px 0 0 -120px; padding: 22px 20px; }
    .dh-fan__card blockquote { font-size: 18px; }
}
.dh-fan { height: 600px; margin-inline-end: 60px; }
.dh-tst-hero { padding-bottom: clamp(70px, 8vw, 120px); }
@media (max-width: 1080px) { .dh-fan { margin-inline-end: 0; } }

/* testimonials fine-tuning */
.dh-tst__card::before { content: "\201D"; top: auto; bottom: -34px; inset-inline-end: 18px; }
.dh-fan { height: 600px; --spread: .6; }
.dh-tst-hero__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.dh-tst-hero__text { position: relative; z-index: 40; }
@media (max-width: 1080px) { .dh-tst-hero__grid { grid-template-columns: 1fr; } .dh-fan { --spread: .8; } }
@media (max-width: 640px) { .dh-fan { height: 430px; --spread: .42; } }

/* =====================================================================
   Team members: landscape posters, animated cards, profile layout
   ===================================================================== */
.dh-people { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.dh-people--page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.dh-person__photo { aspect-ratio: 3 / 2; position: relative; }
.dh-person__photo img { object-position: center; }
.dh-person__photo::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 244, 214, .45) 50%, transparent 65%);
    transform: translateX(-120%); transition: transform 1.2s var(--ease);
}
.dh-person:hover .dh-person__photo::after { transform: translateX(120%); }
.dh-person__frame { aspect-ratio: 3 / 2; }
.dh-person__name { font-size: 25px; }
.dh-person::after {
    content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--gold-3), var(--gold), var(--brown)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.dh-person:hover::after { transform: scaleX(1); }
@media (max-width: 760px) { .dh-people--page { grid-template-columns: minmax(0, 1fr); } }

/* profile page */
.dhk-layout.is-solo { grid-template-columns: minmax(0, 960px); justify-content: center; }
.is-article .dh-arthero--wide .dh-poster { max-width: min(100%, 600px); }
.dhx-emoji { color: var(--gold); margin-inline-end: 6px; }

/* entrance animation for team cards */
.js .dh-people .dh-person[data-reveal] { transform-origin: 50% 100%; }

/* ---------- Opening splash ---------- */
.dh-splash { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: #f6f2ea; transition: opacity .8s var(--ease), visibility .8s; }
.dh-splash::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 60% at 50% 45%, transparent 50%, rgba(99, 65, 37, .07)); }
.dh-splash.is-leaving { opacity: 0; visibility: hidden; }
.dh-splash.is-leaving .dh-splash__inner { transform: translateY(-14px) scale(.98); }
.dh-splashing, .dh-splashing body { overflow: hidden; }
.dh-splash__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; transition: transform .8s var(--ease); }
.dh-splash__logo { display: flex; align-items: center; gap: 18px; opacity: 0; transform: translateY(14px); animation: dh-splash-in 1s var(--ease) .15s forwards; }
.dh-splash__mark svg { width: 84px; height: auto; display: block; }
.dh-splash__name b { display: block; font: 700 clamp(30px, 4vw, 46px)/1 var(--font-body); letter-spacing: .06em; color: var(--brown); }
.dh-splash__name small { display: block; margin-top: 6px; font: 600 clamp(12px, 1.2vw, 15px)/1 var(--font-body); letter-spacing: .42em; color: var(--gold); }
.dh-splash__line { display: block; width: min(250px, 60vw); height: 1px; margin: 34px 0 30px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); animation: dh-splash-line 1s var(--ease) .7s forwards; }
.dh-splash__bismillah { font-family: var(--font-arabic); font-size: clamp(30px, 3.4vw, 42px); line-height: 1.6; color: var(--brown); opacity: 0; filter: blur(6px); animation: dh-splash-fade 1.2s var(--ease) 1s forwards; }
@keyframes dh-splash-in { to { opacity: 1; transform: none; } }
@keyframes dh-splash-line { to { transform: scaleX(1); } }
@keyframes dh-splash-fade { to { opacity: .85; filter: blur(0); } }
@media (max-width: 480px) { .dh-splash__mark svg { width: 60px; } .dh-splash__logo { gap: 12px; } }

/* ---------- Donate page ---------- */
.dh-don-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; perspective: 1400px; }
.dh-don-card { position: relative; padding: 28px 24px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -48px rgba(11, 26, 33, .55); transition: transform .5s var(--ease), box-shadow .5s; }
.dh-don-card:hover { box-shadow: 0 0 0 1px rgba(177, 135, 48, .45), 0 40px 70px -40px rgba(99, 65, 37, .55); }
.dh-don-card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 21px; color: #1b1206; background: linear-gradient(135deg, var(--gold-3), var(--gold)); transition: transform .6s var(--ease); }
.dh-don-card:hover .dh-don-card__icon { transform: rotate(-8deg) scale(1.08); }
.dh-don-card h3 { margin-top: 18px; font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--brown); }
.dh-don-card p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.dh-don-form { background: linear-gradient(180deg, var(--paper), var(--cream)); }
.dh-don-form__grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.dh-don-form__side { position: sticky; top: 110px; }
.dh-don-steps { list-style: none; margin: 26px 0 28px; padding: 0; display: grid; gap: 14px; }
.dh-don-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.dh-don-steps li > span { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--brown); }
.dh-don-steps strong { display: block; color: var(--brown); }
.dh-don-steps small { display: block; color: var(--muted); font-size: 14px; }
.dh-don-help { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.dh-don-help a { color: var(--gold); font-weight: 600; }
.dh-don-frame { border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 50px 90px -50px rgba(11, 26, 33, .55); }
.dh-don-frame__bar { display: flex; align-items: center; gap: 7px; padding: 12px 18px; background: var(--cream); border-bottom: 1px solid var(--line); }
.dh-don-frame__bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(99, 65, 37, .22); }
.dh-don-frame__bar em { margin-inline-start: 12px; font-style: normal; font-size: 13px; color: var(--muted); }
.dh-don-frame__bar em i { color: #2e7d4f; margin-inline-end: 4px; }
.dh-don-frame iframe { display: block; width: 100%; height: min(900px, 80vh); border: 0; }
@media (max-width: 1080px) { .dh-don-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dh-don-form__grid { grid-template-columns: 1fr; } .dh-don-form__side { position: static; } }
@media (max-width: 560px) { .dh-don-cards { grid-template-columns: 1fr; } .dh-don-frame iframe { height: 75vh; } }
.dh-don-frame__fallback { margin: 0; padding: 12px 18px; font-size: 14px; color: var(--muted); background: var(--cream); border-top: 1px solid var(--line); } .dh-don-frame__fallback i { color: var(--gold); } .dh-don-frame__fallback a { color: var(--gold); font-weight: 600; }

/* ---------- Newsletter (footer) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dh-news { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 40px; align-items: center; padding: 30px 34px; margin-bottom: 56px; border-radius: 26px; background: rgba(255, 255, 255, .04); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.dh-news__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; color: var(--gold-3); }
.dh-news__title i { font-size: .8em; color: var(--gold-2); }
.dh-news__lead { margin-top: 6px; color: rgba(255, 255, 255, .7); font-size: 15px; }
.dh-news__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.dh-news__field input {
    width: 100%; height: 58px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .18); border-inline-end: 0; border-radius: 16px 0 0 16px;
    background: #fff; font: 500 16px var(--font-body); color: var(--text); outline: none; transition: box-shadow .3s;
}
[dir="rtl"] .dh-news__field input { border-radius: 0 16px 16px 0; }
.dh-news__field input:focus { box-shadow: inset 0 0 0 2px var(--gold); }
.dh-news__btn {
    display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 28px; border: 0; cursor: pointer; border-radius: 0 16px 16px 0;
    background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1206; font: 700 16px var(--font-body); transition: filter .3s;
}
[dir="rtl"] .dh-news__btn { border-radius: 16px 0 0 16px; }
.dh-news__btn:hover { filter: brightness(1.06); }
.dh-news__btn i { font-size: 14px; transition: transform .5s var(--ease); }
.dh-news__btn:hover i { transform: translate(3px, -3px); }
.dh-news__btn[disabled] { opacity: .7; cursor: wait; }
.dh-news__note { grid-column: 1 / -1; margin-top: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.dh-news__note a { color: #fff; font-weight: 700; }
.dh-news__note.is-ok { color: #9be0b5; }
.dh-news__note.is-error { color: #f2a48f; }
.dh-news.is-sent .dh-news__btn i { animation: dh-fly-away 1.2s var(--ease) forwards; }
@media (max-width: 860px) { .dh-news { grid-template-columns: 1fr; padding: 24px 20px; } }
@media (max-width: 420px) { .dh-news__btn { padding: 0 18px; } .dh-news__btn span { display: none; } }
/* ---------- 404 ---------- */
.dh-404 { position: relative; overflow: hidden; min-height: 78vh; display: grid; place-items: center; padding: 150px 0 90px; text-align: center; background: radial-gradient(70% 70% at 50% 40%, #fff7e8, var(--paper) 70%); }
.dh-404__star { position: absolute; width: min(90vw, 620px); aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; opacity: .1; }
.dh-404__star .dh-star { animation: dh-spin 80s linear infinite; }
.dh-404__inner { position: relative; max-width: 760px; }
.dh-404 .dh-eyebrow { margin-inline: auto; justify-content: center; }
.dh-404__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 6vw, 72px); line-height: 1.05; color: var(--brown); }
.dh-404 .dh-lead { margin-inline: auto; }
.dh-404__actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }


/* Visitors who ask their phone/computer for less motion: CSS animations and transitions finish instantly */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Phone layout (up to 720px). Laptop and tablet layouts are not affected.
   ===================================================================== */
@media (max-width: 1080px) {
    /* the blur on the header pill traps the full-screen menu inside the pill, so tablets/phones use a solid tint */
    .dh-header__inner { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11, 26, 33, .78); }
    .dh-header.is-solid .dh-header__inner, body:not(.is-home) .dh-header__inner { background: rgba(253, 251, 247, .97); }
    .menu-open .dh-header__inner { background: transparent; border-color: transparent; box-shadow: none; }
    .dh-nav { z-index: 0; }
    .dh-header__inner > :not(.dh-nav) { position: relative; z-index: 1; }
    /* the menu button sits at the right end of the header bar */
    .dh-header__actions { margin-inline-start: auto; }
}
@media (max-width: 720px) {
    /* smoother scrolling: drop effects that are expensive for phones to draw */
    .dh-btn--ghost, .dh-dock, .dh-chip__pill { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .dh-dock { background: rgba(11, 26, 33, .96); }
    .dh-feature::before { animation: none; }
    .dh-feature__layer--bg .dh-star { animation: none; }

    /* announcement bar: one compact line */
    .dh-announce { font-size: 12.5px; }
    .dh-announce__inner { padding: 7px 14px; gap: 4px 10px; line-height: 1.35; }
    .dh-announce__inner > i { display: none; }

    /* hero: floating subject chips covered the buttons; the title, text and buttons fit the first screen */
    .dh-hero .dh-chips, .dh-hero__scroll { display: none; }
    .dh-hero__content { padding-block: 250px 40px; }
    .dh-hero__title { font-size: clamp(38px, 11vw, 48px); }
    .dh-hero__text { font-size: 15.5px; }
    .dh-hero__actions { gap: 10px; }
    .dh-hero__actions .dh-btn { padding: 14px 22px; font-size: 15px; }

    /* Enlighten / Empower / Connect: icon beside the text instead of one card per screen */
    .dh-pillar { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: start; padding: 20px 20px 22px; }
    .dh-pillar__star { width: 52px; height: 52px; margin: 0; grid-row: span 2; }
    .dh-pillar__star i { font-size: 17px; }
    .dh-pillar__title { font-size: 25px; line-height: 1.1; }
    .dh-pillar__text { margin-top: 4px; font-size: 15px; }

    /* Mission / Vision / Aim */
    .dh-feature { padding: 22px 20px 22px; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: start; }
    .dh-feature__icon { width: 48px; height: 48px; border-radius: 14px; font-size: 19px; grid-row: span 3; }
    .dh-feature__num { top: 18px; inset-inline-end: 18px; }
    .dh-feature__title { margin-top: 0; font-size: 24px; line-height: 1.15; }
    .dh-feature__text { margin-top: 4px; font-size: 15px; }
    .dh-feature > :not(.dh-feature__icon):not(.dh-feature__num):not(.dh-feature__layer) { grid-column: 2; }

    /* big statement text */
    .dh-statement__text { font-size: 24px; line-height: 1.25; }

    /* swipeable rows (programs, team, blog, related items) instead of very long stacks */
    .dh-rail {
        display: flex !important; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; gap: 14px;
        margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 22px; scroll-padding-inline: var(--gutter);
        perspective: none; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .dh-rail::-webkit-scrollbar { display: none; }
    .dh-rail > * { flex: 0 0 80%; max-width: 330px; scroll-snap-align: start; }
    .dh-rail > .is-filtered-out { display: none; }
    .dh-rail .dh-card__text, .dh-rail .dh-post__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .dh-people.dh-rail > * { flex-basis: 72%; }

    /* list pages (Programs, Blog): compact rows, picture on the left */
    .dh-list.dh-programs__grid, .dh-list.dh-mag { grid-template-columns: 1fr; gap: 12px; perspective: none; }
    .dh-list .dh-card { display: grid; grid-template-columns: 116px 1fr; min-height: 128px; }
    .dh-list .dh-card__media { aspect-ratio: auto; height: 100%; }
    .dh-list .dh-card__media img, .dh-list .dh-card__placeholder { border-radius: var(--radius) 0 0 var(--radius); }
    .dh-list .dh-card__badge, .dh-list .dh-card__rule, .dh-list .dh-card__text { display: none; }
    .dh-list .dh-card__body { padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
    .dh-list .dh-card__cat { font-size: 10.5px; letter-spacing: .1em; }
    .dh-list .dh-card__title { font-size: 18.5px; line-height: 1.2; margin-top: 4px; }
    .dh-list .dh-story:not(.dh-story--lead) { flex-direction: row; min-height: 128px; }
    .dh-list .dh-story:not(.dh-story--lead) .dh-story__media { flex: 0 0 116px; aspect-ratio: auto; }
    .dh-list .dh-story:not(.dh-story--lead) .dh-story__body { padding: 14px 16px; justify-content: center; }
    .dh-list .dh-story:not(.dh-story--lead) .dh-story__title { font-size: 18.5px; margin-top: 8px; }
    .dh-list .dh-story:not(.dh-story--lead) .dh-story__text, .dh-list .dh-story:not(.dh-story--lead) .dh-story__more { display: none; }

    /* department tiles: two per row */
    .dh-tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
    .dh-tile, .dh-tile .dh-tile__inner { height: auto; }
    .dh-tile__face { position: relative; padding: 22px 12px 18px; }
    .dh-tile__back { display: none; }
    .dh-tile__inner { transform: none !important; }
    .dh-tile__title { font-size: 18px; }
    .dh-tile .dh-medal { transform: scale(.8); margin-block: -6px; }

    /* donate: "where your gift goes" two per row */
    .dh-don-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
    .dh-don-card { padding: 18px 16px; border-radius: 20px; }
    .dh-don-card h3 { margin-top: 12px; font-size: 19px; line-height: 1.2; }
    .dh-don-card p { font-size: 13.5px; }

    /* footer: link groups side by side, contact list in two columns */
    .dh-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
    .dh-footer__brand { grid-column: auto; }
    .dh-footer__col:last-child { grid-column: 1 / -1; }
    .dh-footer__col:last-child ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
    .dh-footer__title { font-size: 12.5px; margin-bottom: 12px; }
    .dh-footer__col li { font-size: 14.5px; }

    /* keep the bottom bars from covering the end of the page */
    body:has(.dh-floatcta) .dh-footer, body:has(.dh-dock) .dh-footer { padding-bottom: 96px; }
}
@media (max-width: 720px) {
    /* footer: the first column repeats links that are already in the menu and the bottom bar */
    .dh-footer__brand { display: none; }
    /* floating "Join / Register" button: slimmer so it covers less of the page */
    .dh-floatcta { padding: 12px 18px; font-size: 14.5px; bottom: 12px; }
    .dh-floatcta::before { animation: none; opacity: 0; }
}

/* Safari sized the team grid from the photos' natural width (cards became ~4x too big on iPhone):
   the photo now fills its frame without pushing the card wider */
.dh-person { min-width: 0; }
.dh-person__photo img { position: absolute; inset: 0; }

/* open menu: the menu panel scrolls on its own (iPhone included) while the page behind stays still */
@media (max-width: 1080px) {
    .dh-nav { height: 100dvh; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
    body.menu-open { overflow: hidden; }
}
@media (max-width: 1080px) {
    .dh-nav.is-open.is-settled { clip-path: none; }
    /* accordion sub-menus */
    .dh-nav__sub { display: none; }
    .dh-nav__item.is-expanded > .dh-nav__sub { display: block; }
    .dh-nav__link .fa-chevron-down { transition: transform .35s var(--ease); font-size: .5em; margin-inline-start: 8px; }
    .dh-nav__item.is-expanded > .dh-nav__link .fa-chevron-down { transform: rotate(180deg); }
    .dh-nav__item.is-expanded > .dh-nav__link { color: var(--gold-2); }
    .dh-nav__all { display: none; }
    .dh-nav__all a { color: var(--gold-3) !important; font-weight: 600; }
}
@media (max-width: 1080px) { .dh-nav__item.is-expanded .dh-nav__all { display: list-item; } }
@media (min-width: 1081px) { .dh-nav__all { display: none !important; } }
@media (max-width: 720px) {
    .dh-nav { padding-top: 92px; }
    .dh-nav__link, .dh-header.is-solid .dh-nav__link, body:not(.is-home) .dh-nav__link { font-size: 26px; padding: 6px 0; -webkit-tap-highlight-color: transparent; }
    .dh-nav__sub { padding: 2px 0 8px; }
    .dh-nav__sub a { font-size: 15.5px; padding: 7px 0; }
}

/* sub-headings that follow a list (e.g. Privacy Policy, section 2) get breathing room */
[data-prose] ul + h3, [data-prose] ol + h3, [data-prose] ul + h4 { margin-top: 1.5em; }

/* page titles: once the words have risen in, remove the clipping mask so every browser redraws them */
.dh-pagehero__title.is-done .w, .dh-arthero__title.is-done .w { overflow: visible; }

/* =====================================================================
   eBooks (reference: Yaqeen "Books"): 3D covers, featured book, shelf grid, book page
   ===================================================================== */
.dh-bookcover {
    --depth: 22px; --hue: 32;
    position: relative; display: block; width: 100%; aspect-ratio: 2 / 3; perspective: 1400px;
}
.dh-bookcover__inner {
    position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(4deg);
    transition: transform .9s var(--ease);
}
[dir="rtl"] .dh-bookcover__inner { transform: rotateY(24deg) rotateX(4deg); }
.dh-book:hover .dh-bookcover__inner, .dh-books__feature:hover .dh-bookcover__inner { transform: rotateY(-10deg) rotateX(2deg) translateZ(14px); }
.dh-bookcover__front {
    position: absolute; inset: 0; border-radius: 3px 10px 10px 3px; overflow: hidden; transform: translateZ(calc(var(--depth) / 2));
    background: hsl(var(--hue) 35% 22%); box-shadow: inset 4px 0 0 rgba(255, 255, 255, .12), inset 10px 0 18px -10px rgba(0, 0, 0, .55);
}
.dh-bookcover__front img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dh-bookcover__shine { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .22) 45%, rgba(255, 255, 255, 0) 60%); pointer-events: none; }
.dh-bookcover__front::before { content: ""; position: absolute; inset: 0 auto 0 6px; width: 2px; background: rgba(0, 0, 0, .22); z-index: 1; }
.dh-bookcover__pages {
    position: absolute; top: 3px; bottom: 3px; right: 0; width: var(--depth);
    transform: translateX(calc(var(--depth) / 2)) rotateY(90deg);
    background: repeating-linear-gradient(90deg, #fbf6ea 0 2px, #e9dfc8 2px 3px); border-radius: 0 2px 2px 0;
}
.dh-bookcover__back { position: absolute; inset: 0; border-radius: 3px 10px 10px 3px; transform: translateZ(calc(var(--depth) / -2)); background: hsl(var(--hue) 30% 16%); box-shadow: 18px 26px 40px -10px rgba(11, 26, 33, .45); }
.dh-bookcover__design {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14% 12%; text-align: center; color: #f6ead0;
    background: radial-gradient(120% 80% at 50% 0%, hsl(var(--hue) 45% 34%), hsl(var(--hue) 40% 16%));
    outline: 1px solid rgba(241, 223, 168, .3); outline-offset: -10px;
}
.dh-bookcover__design .dh-star { width: 30%; height: auto; color: var(--gold-2); opacity: .9; }
.dh-bookcover__t { font-family: var(--font-display); font-size: clamp(15px, 1.5vw, 22px); line-height: 1.15; font-weight: 600; }
.dh-bookcover__a { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); }
.dh-bookcover__brand { position: absolute; bottom: 9%; font-size: 9px; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.dh-bookcover.is-ghost { width: 64px; display: inline-block; }
.dh-bookcover.is-ghost::before { content: ""; position: absolute; inset: 0; border-radius: 3px 8px 8px 3px; background: linear-gradient(160deg, hsl(calc(var(--h) * 5) 30% 82%), hsl(calc(var(--h) * 5) 25% 70%)); transform: rotate(calc((var(--h) - 28) * .4deg)); box-shadow: 8px 14px 24px -12px rgba(11, 26, 33, .45); }

.dh-books__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(30px, 4vw, 50px); }
.dh-books__search { position: relative; flex: 0 1 320px; }
.dh-books__search i { position: absolute; inset-inline-start: 18px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 14px; }
.dh-books__search input { width: 100%; padding: 13px 18px 13px 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 15px; color: var(--text); }
[dir="rtl"] .dh-books__search input { padding: 13px 44px 13px 18px; }
.dh-books__search input:focus { outline: 2px solid var(--gold-2); outline-offset: 1px; }

.dh-books__cat { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.lang-ur .dh-books__cat { letter-spacing: 0; }
.dh-books__author { margin-top: 8px; font-size: 16px; color: var(--muted); font-style: italic; }

.dh-books__feature {
    display: grid; grid-template-columns: minmax(200px, 320px) 1fr; gap: clamp(30px, 6vw, 90px); align-items: center;
    padding: clamp(28px, 5vw, 60px); margin-bottom: clamp(50px, 7vw, 90px); border-radius: calc(var(--radius) + 10px);
    background: radial-gradient(90% 120% at 0% 0%, rgba(216, 183, 101, .18), transparent 60%), linear-gradient(160deg, #183442, var(--ink)); color: #fff;
    box-shadow: 0 50px 90px -50px rgba(11, 26, 33, .7);
}
.dh-books__feature-art { padding: 10px 26px 30px 6px; }
.dh-books__feature .dh-books__cat { color: var(--gold-2); margin-top: 10px; }
.dh-books__feature-title { margin-top: 8px; font-family: var(--font-display); font-size: clamp(30px, 3.8vw, 52px); line-height: 1.08; font-weight: 600; }
.dh-books__feature .dh-books__author { color: rgba(255, 255, 255, .7); }
.dh-books__feature-lead { margin-top: 18px; max-width: 56ch; color: rgba(255, 255, 255, .78); font-size: 17px; }
.dh-books__feature .dh-btn { margin-top: 28px; }

.dh-books__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: clamp(30px, 4vw, 54px) clamp(20px, 3vw, 40px); }
.dh-book { display: block; }
.dh-book .dh-bookcover { width: calc(100% - 16px); }
.dh-book__body { margin-top: 22px; }
.dh-book__title { margin-top: 6px; font-family: var(--font-display); font-size: 21px; line-height: 1.2; font-weight: 600; color: var(--brown); transition: color .3s; }
.dh-book:hover .dh-book__title { color: var(--gold); }
.dh-book__author { margin-top: 4px; font-size: 14px; color: var(--muted); }

.dh-books__empty { max-width: 620px; margin: 0 auto; text-align: center; padding: clamp(30px, 6vw, 70px) 0; }
.dh-books__empty-stack { display: flex; justify-content: center; align-items: flex-end; gap: 10px; margin-bottom: 30px; }
.dh-books__empty .dh-lead { margin-top: 14px; }

/* book page */
.dh-ebook { position: relative; overflow: hidden; padding: clamp(130px, 14vw, 180px) 0 clamp(60px, 8vw, 100px); isolation: isolate; }
.dh-ebook__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 15% 30%, rgba(216, 183, 101, .22), transparent 60%), linear-gradient(180deg, var(--cream), var(--paper)); }
.dh-ebook__grid { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.dh-ebook__art { padding: 10px 30px 30px 0; }
.dh-ebook__title { margin-top: 10px; font-family: var(--font-display); font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05; font-weight: 600; color: var(--brown); }
.dh-ebook__lead { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 60ch; }
.dh-ebook__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.dh-ebook__soon { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--cream); color: var(--brown); font-weight: 600; }
.dh-ebook__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-top: 34px; border-top: 1px solid var(--line); }
.dh-ebook__meta > div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.dh-ebook__meta dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dh-ebook__meta dt i { color: var(--gold); margin-inline-end: 4px; }
.dh-ebook__meta dd { margin: 6px 0 0; font-weight: 600; color: var(--brown); }
.dh-ebook .dh-crumbs { margin-bottom: 18px; }
.dh-ebook__col { max-width: 820px; }
.dh-ebook__col .dh-prose { margin-top: 14px; }
.dh-ebook__col .dh-share { margin-top: 40px; }

@media (max-width: 860px) {
    .dh-books__feature, .dh-ebook__grid { grid-template-columns: 1fr; text-align: center; }
    .dh-books__feature-art, .dh-ebook__art { width: min(62vw, 260px); margin-inline: auto; padding: 0 18px 20px 0; }
    .dh-books__feature-lead, .dh-ebook__lead { margin-inline: auto; }
    .dh-ebook__actions { justify-content: center; }
    .dh-ebook .dh-crumbs { justify-content: center; }
    .dh-ebook__meta { text-align: start; }
}
@media (max-width: 560px) {
    .dh-books__grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
    .dh-book .dh-bookcover { --depth: 14px; width: calc(100% - 10px); }
    .dh-book__title { font-size: 17px; }
    .dh-books__search { flex-basis: 100%; }
    .dh-books__grid.dh-rail > * { flex-basis: 46%; }
}

/* breadcrumb on the light book page */
.dh-ebook .dh-crumbs { color: var(--muted); }
.dh-ebook .dh-crumbs [aria-current] { color: var(--gold); }
.dh-ebook .dh-crumbs a:hover { color: var(--gold); }
