/*
Theme Name: Hanuun
Theme URI: https://hanuun.org/
Author: Hanuun
Description: Lightweight custom theme for the Hanuun website.
Version: 0.1.0
Text Domain: hanuun
*/

:root {
  --hanuun-navy: #123b64;
  --hanuun-navy-dark: #0b2a49;
  --hanuun-ink: #0f172a;
  --hanuun-muted: #64748b;
  --hanuun-bg: #f6f8fb;
  --hanuun-card: #ffffff;
  --hanuun-line: rgba(15, 23, 42, 0.10);
  --hanuun-radius: 20px;
  --hanuun-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--hanuun-bg);
  color: var(--hanuun-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

a { color: var(--hanuun-navy); }

.hanuun-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--hanuun-line);
  backdrop-filter: blur(14px);
}

.site-header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-brand {
  color: var(--hanuun-navy-dark);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  color: var(--hanuun-ink);
  text-decoration: none;
}

.site-nav a:hover { color: var(--hanuun-navy); }

.hanuun-hero {
  padding: 72px 0 42px;
}

.hanuun-hero-panel {
  padding: clamp(28px, 6vw, 64px);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--hanuun-navy-dark), var(--hanuun-navy));
  color: #fff;
  box-shadow: var(--hanuun-shadow);
}

.hanuun-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
}

.hanuun-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 8vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hanuun-hero-copy {
  max-width: 680px;
  margin: 20px 0 0;
  font-size: clamp(17px, 2.5vw, 21px);
  opacity: 0.88;
}

.hanuun-search {
  display: flex;
  gap: 10px;
  max-width: 620px;
  margin-top: 30px;
}

.hanuun-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
}

.hanuun-search button {
  border: 0;
  border-radius: 14px;
  padding: 0 20px;
  background: #fff;
  color: var(--hanuun-navy-dark);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.hanuun-section {
  padding: 24px 0 46px;
}

.hanuun-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.hanuun-section h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.035em;
}

.hanuun-section-subtitle {
  margin: 6px 0 0;
  color: var(--hanuun-muted);
}

.hanuun-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hanuun-card {
  display: block;
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--hanuun-line);
  border-radius: var(--hanuun-radius);
  background: var(--hanuun-card);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--hanuun-shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}

.hanuun-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.10);
}

.hanuun-card-label {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--hanuun-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hanuun-card h3 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.02em;
}

.hanuun-card p {
  margin: 7px 0 0;
  color: var(--hanuun-muted);
  font-size: 14px;
}

.site-main {
  min-height: 65vh;
}

.entry-wrap {
  width: min(880px, calc(100% - 32px));
  margin: 42px auto 120px;
}

.entry-title {
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -0.035em;
}

.site-footer {
  padding: 30px 0 120px;
  color: var(--hanuun-muted);
  font-size: 13px;
}

@media (max-width: 820px) {
  .site-nav { display: none; }
  .hanuun-grid { grid-template-columns: repeat(2, 1fr); }
  .hanuun-hero { padding-top: 34px; }
}

@media (max-width: 560px) {
  .hanuun-shell { width: min(100% - 22px, 1120px); }
  .hanuun-grid { grid-template-columns: 1fr; }
  .hanuun-search { display: block; }
  .hanuun-search button {
    width: 100%;
    min-height: 48px;
    margin-top: 8px;
  }
  .hanuun-card { min-height: 145px; }
}

/* Structured collection pages */
.hanuun-collection-header{
  margin-bottom:28px;
}
.hanuun-collection-header .entry-title{
  margin:0;
}
.hanuun-collection-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
  color:var(--hanuun-muted);
  font-size:16px;
}
.hanuun-collection-sheekh{
  color:var(--hanuun-ink);
  font-weight:750;
}
.hanuun-collection-separator{
  color:#94a3b8;
}
.hanuun-collection-count{
  color:var(--hanuun-ink);
}
.hanuun-collection-page .entry-content > p:first-child{
  margin-top:0;
}
@media (max-width:560px){
  .hanuun-collection-meta{
    margin-top:12px;
    font-size:15px;
  }
}

/* ===== Hanuun dynamic library ===== */
.hanuun-library-page {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 38px 0 72px;
}

.hanuun-library-hero {
    padding: clamp(28px, 5vw, 52px);
    margin-bottom: 28px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0b2a49, #123b64);
    color: #fff;
}

.hanuun-library-eyebrow,
.hanuun-sheekh-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hanuun-library-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.05;
}

.hanuun-library-hero p {
    max-width: 720px;
    margin: 16px 0 0;
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: .9;
}

.hanuun-library-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
    font-size: .92rem;
    font-weight: 600;
    opacity: .9;
}

.hanuun-sheekh-groups {
    display: grid;
    gap: 24px;
}

.hanuun-sheekh-group,
.hanuun-library-empty {
    padding: clamp(20px, 4vw, 30px);
    border: 1px solid rgba(18, 59, 100, .10);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(11, 42, 73, .06);
}

.hanuun-sheekh-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.hanuun-sheekh-heading h2,
.hanuun-library-empty h2 {
    margin: 0;
    color: #0b2a49;
    font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.hanuun-sheekh-label {
    margin-bottom: 4px;
    color: #52708c;
}

.hanuun-sheekh-count {
    flex: 0 0 auto;
    color: #52708c;
    font-size: .9rem;
    font-weight: 600;
}

.hanuun-library-list {
    display: grid;
    gap: 9px;
}

.hanuun-library-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(18, 59, 100, .10);
    border-radius: 16px;
    color: #0b2a49;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.hanuun-library-item:hover,
.hanuun-library-item:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(18, 59, 100, .22);
    box-shadow: 0 8px 22px rgba(11, 42, 73, .08);
}

.hanuun-library-item-main {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.hanuun-library-item-main strong {
    line-height: 1.35;
}

.hanuun-library-item-main small {
    color: #668097;
    font-size: .86rem;
}

.hanuun-library-item-side {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.hanuun-draft-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 2px 9px;
    border-radius: 999px;
    background: #eef4f9;
    color: #355873;
    font-size: .72rem;
    font-weight: 700;
}

.hanuun-library-arrow {
    font-size: 1.2rem;
}

.hanuun-library-empty p {
    margin: 10px 0 0;
    color: #52708c;
    line-height: 1.65;
}

@media (max-width: 640px) {
    .hanuun-library-page {
        width: min(100% - 20px, 1120px);
        padding-top: 18px;
    }

    .hanuun-library-hero,
    .hanuun-sheekh-group,
    .hanuun-library-empty {
        border-radius: 20px;
    }

    .hanuun-sheekh-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .hanuun-library-item {
        align-items: flex-start;
    }
}

/* ===== Hanuun library search ===== */
.hanuun-search-panel {
    margin: 0 0 24px;
    padding: 22px;
    border: 1px solid rgba(18,59,100,.10);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(11,42,73,.06);
}
.hanuun-filter-form {
    display: grid;
    grid-template-columns: minmax(220px,2fr) minmax(150px,1fr) minmax(210px,1.3fr) auto;
    gap: 14px;
    align-items: end;
}
.hanuun-filter-field {
    display: grid;
    gap: 7px;
}
.hanuun-filter-field label {
    color: #355873;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.hanuun-filter-field input,
.hanuun-filter-field select {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid rgba(18,59,100,.18);
    border-radius: 14px;
    background: #fff;
    color: #0b2a49;
    font: inherit;
}
.hanuun-filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
}
.hanuun-filter-actions button {
    min-height: 48px;
    padding: 10px 18px;
    border: 0;
    border-radius: 14px;
    background: #123b64;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.hanuun-filter-actions a {
    color: #355873;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
}
.hanuun-search-results {
    display: grid;
    gap: 10px;
}
.hanuun-search-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 18px;
    border: 1px solid rgba(18,59,100,.10);
    border-radius: 18px;
    background: #fff;
    color: #0b2a49;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(11,42,73,.045);
}
.hanuun-search-result-main {
    min-width: 0;
    display: grid;
    gap: 5px;
}
.hanuun-search-result-main small {
    color: #668097;
}
.hanuun-result-section {
    width: fit-content;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef4f9;
    color: #355873;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}
@media (max-width: 860px) {
    .hanuun-filter-form { grid-template-columns: 1fr 1fr; }
    .hanuun-filter-query { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .hanuun-filter-form { grid-template-columns: 1fr; }
    .hanuun-filter-query { grid-column: auto; }
    .hanuun-filter-actions { justify-content: space-between; }
    .hanuun-filter-actions button { flex: 1; }
    .hanuun-search-result { align-items: flex-start; padding: 15px; }
}

/* HANUUN CONTACT FOOTER */
.site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    flex-wrap: wrap;
}

.site-footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-footer-links a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .site-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ===== HANUUN TAFSIIR DISPLAY ===== */

.hanuun-tafsiir-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.hanuun-tafsiir-order {
    flex: 0 0 auto;
    min-width: 2.1em;
    opacity: .52;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.hanuun-sheekh-count {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .hanuun-tafsiir-title {
        gap: 9px;
    }

    .hanuun-tafsiir-order {
        min-width: 2em;
    }
}

/* ===== HANUUN MUXAADARO DISPLAY ===== */

.hanuun-muxaadaro-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
    max-width:1120px;
    margin:0 auto;
}

.hanuun-muxaadaro-card {
    display:flex;
    flex-direction:column;
    min-height:180px;
    padding:24px;
    border:1px solid rgba(15,23,42,.08);
    border-radius:22px;
    background:#fff;
    color:#0f172a;
    text-decoration:none;
    box-shadow:0 12px 34px rgba(15,23,42,.05);
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.hanuun-muxaadaro-card:hover {
    transform:translateY(-2px);
    border-color:rgba(18,59,100,.20);
    box-shadow:0 18px 42px rgba(15,23,42,.08);
}

.hanuun-muxaadaro-kicker {
    margin-bottom:9px;
    color:#64748b;
    font-size:11px;
    font-weight:800;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.hanuun-muxaadaro-card h2 {
    margin:0;
    color:#123b64;
    font-size:21px;
    line-height:1.3;
    letter-spacing:-.02em;
}

.hanuun-muxaadaro-meta {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:auto;
    padding-top:24px;
    color:#64748b;
    font-size:13px;
    font-weight:700;
}

.hanuun-muxaadaro-open {
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    border-radius:50%;
    background:#f4f7fa;
    color:#123b64;
    font-size:17px;
}

.hanuun-muxaadaro-audio {
    max-width:940px;
    margin:0 auto;
}

@media (max-width:760px) {

    .hanuun-muxaadaro-grid {
        grid-template-columns:1fr;
        gap:12px;
    }

    .hanuun-muxaadaro-card {
        min-height:150px;
        padding:20px;
        border-radius:19px;
    }

    .hanuun-muxaadaro-card h2 {
        font-size:19px;
    }

    .hanuun-muxaadaro-meta {
        padding-top:18px;
    }
}


/* =========================================================
   HANUUN APP NAVY GOLD SKIN V1
   Visual-only website skin inspired by the Hanuun app.
   ========================================================= */

:root {
    --hanuun-app-bg: #03172c;
    --hanuun-app-bg-deep: #021225;
    --hanuun-app-panel: #06213d;
    --hanuun-app-panel-2: #082a4b;
    --hanuun-app-panel-hover: #0a3157;

    --hanuun-app-gold: #f2c45c;
    --hanuun-app-gold-bright: #ffd36b;
    --hanuun-app-gold-soft: rgba(242, 196, 92, .18);
    --hanuun-app-gold-border: rgba(242, 196, 92, .38);

    --hanuun-app-text: #f7f9fc;
    --hanuun-app-muted: #afc0d2;
    --hanuun-app-muted-2: #89a2b9;

    --hanuun-app-shadow:
        0 18px 48px rgba(0, 8, 22, .28);
}


/* ===== PAGE BACKGROUND ===== */

html {
    background: var(--hanuun-app-bg-deep);
}

body {
    background:
        radial-gradient(
            circle at 8% 0%,
            rgba(242, 196, 92, .055),
            transparent 26rem
        ),
        radial-gradient(
            circle at 94% 12%,
            rgba(55, 115, 170, .12),
            transparent 32rem
        ),
        linear-gradient(
            180deg,
            #031a33 0%,
            var(--hanuun-app-bg) 48%,
            var(--hanuun-app-bg-deep) 100%
        );
    color: var(--hanuun-app-text);
}

.site-main {
    background: transparent;
}


/* ===== HEADER ===== */

.site-header {
    position: relative;
    z-index: 100;
    background:
        linear-gradient(
            180deg,
            rgba(2, 18, 37, .98),
            rgba(3, 25, 48, .96)
        );
    border-bottom: 1px solid var(--hanuun-app-gold-border);
    box-shadow: 0 9px 32px rgba(0, 8, 20, .18);
}

.site-header-inner {
    min-height: 82px;
}

.site-brand {
    color: var(--hanuun-app-gold) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 4vw, 2.45rem);
    font-weight: 700;
    letter-spacing: .035em;
    text-shadow: 0 2px 18px rgba(242, 196, 92, .14);
}

.site-brand:hover,
.site-brand:focus-visible {
    color: var(--hanuun-app-gold-bright) !important;
}

.site-nav a {
    padding: 9px 11px;
    border-radius: 999px;
    color: #eef3f8;
    font-weight: 650;
    transition:
        color .16s ease,
        background .16s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: var(--hanuun-app-gold-soft);
    color: var(--hanuun-app-gold-bright);
}


/* ===== HOMEPAGE HERO ===== */

.hanuun-hero {
    background: transparent;
}

.hanuun-hero-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--hanuun-app-gold-border);
    background:
        radial-gradient(
            circle at 84% 4%,
            rgba(242, 196, 92, .11),
            transparent 25rem
        ),
        linear-gradient(
            135deg,
            #041b35 0%,
            #072747 56%,
            #051d37 100%
        );
    box-shadow: var(--hanuun-app-shadow);
}

.hanuun-hero-panel::after {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    right: -100px;
    top: -120px;
    border: 1px solid rgba(242, 196, 92, .13);
    border-radius: 50%;
    box-shadow:
        0 0 0 34px rgba(242, 196, 92, .025),
        0 0 0 70px rgba(242, 196, 92, .018);
    pointer-events: none;
}

.hanuun-eyebrow {
    color: var(--hanuun-app-gold);
}

.hanuun-hero-panel h1 {
    color: var(--hanuun-app-gold-bright);
    text-shadow: 0 3px 22px rgba(242, 196, 92, .09);
}

.hanuun-hero-copy {
    color: #dbe6f0;
}


/* ===== HOMEPAGE SEARCH ===== */

.hanuun-search input[type="search"] {
    border: 1px solid rgba(242, 196, 92, .30);
    background: rgba(1, 15, 31, .64);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.hanuun-search input[type="search"]::placeholder {
    color: #90a6ba;
}

.hanuun-search input[type="search"]:focus {
    border-color: var(--hanuun-app-gold);
    outline: 3px solid rgba(242, 196, 92, .12);
}

.hanuun-search button {
    border-color: var(--hanuun-app-gold);
    background: var(--hanuun-app-gold);
    color: #07213c;
    font-weight: 800;
}

.hanuun-search button:hover,
.hanuun-search button:focus-visible {
    background: var(--hanuun-app-gold-bright);
}


/* ===== HOME SECTION ===== */

.hanuun-section {
    background: transparent;
}

.hanuun-section-head h2,
.hanuun-section-head h3 {
    color: var(--hanuun-app-gold);
}

.hanuun-section-subtitle {
    color: var(--hanuun-app-muted);
}


/* ===== HOME SERVICE CARDS ===== */

.hanuun-card {
    border: 1px solid var(--hanuun-app-gold-border);
    background:
        linear-gradient(
            145deg,
            rgba(8, 42, 75, .98),
            rgba(4, 29, 55, .98)
        );
    color: var(--hanuun-app-text);
    box-shadow:
        0 14px 32px rgba(0, 8, 22, .18),
        inset 0 1px 0 rgba(255, 255, 255, .025);
}

.hanuun-card:hover,
.hanuun-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(242, 196, 92, .68);
    background:
        linear-gradient(
            145deg,
            #0a3157,
            #06213e
        );
    box-shadow:
        0 20px 42px rgba(0, 8, 22, .28),
        0 0 0 1px rgba(242, 196, 92, .07);
}

.hanuun-card-label {
    color: var(--hanuun-app-gold-bright);
}

.hanuun-card p,
.hanuun-card small {
    color: var(--hanuun-app-muted);
}


/* ===== ALL LIBRARY HEROES ===== */

.hanuun-library-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--hanuun-app-gold-border);
    background:
        radial-gradient(
            circle at 91% 2%,
            rgba(242, 196, 92, .10),
            transparent 24rem
        ),
        linear-gradient(
            135deg,
            #041b35,
            #082c50
        ) !important;
    color: var(--hanuun-app-text);
    box-shadow: var(--hanuun-app-shadow);
}

.hanuun-library-eyebrow {
    color: var(--hanuun-app-gold);
}

.hanuun-library-hero h1 {
    color: var(--hanuun-app-gold-bright);
}

.hanuun-library-hero p {
    color: #d9e4ee;
    opacity: 1;
}

.hanuun-library-stats {
    color: #c5d4e2;
    opacity: 1;
}


/* ===== TAFSIIR / DURUUS GROUPS ===== */

.hanuun-sheekh-group,
.hanuun-library-empty {
    border: 1px solid rgba(242, 196, 92, .25);
    background:
        linear-gradient(
            145deg,
            rgba(7, 36, 66, .98),
            rgba(4, 26, 50, .98)
        );
    box-shadow: 0 14px 36px rgba(0, 8, 22, .19);
}

.hanuun-sheekh-heading h2,
.hanuun-library-empty h2 {
    color: var(--hanuun-app-gold-bright);
}

.hanuun-sheekh-label {
    color: var(--hanuun-app-gold);
}

.hanuun-sheekh-count {
    color: var(--hanuun-app-muted);
}

.hanuun-library-item {
    border: 1px solid rgba(242, 196, 92, .16);
    background: rgba(3, 23, 45, .56);
    color: var(--hanuun-app-text);
}

.hanuun-library-item:hover,
.hanuun-library-item:focus-visible {
    border-color: rgba(242, 196, 92, .50);
    background: rgba(10, 49, 87, .74);
    box-shadow: 0 10px 25px rgba(0, 8, 22, .22);
}

.hanuun-library-item-main strong {
    color: #f7f9fc;
}

.hanuun-library-item-main small {
    color: var(--hanuun-app-muted-2);
}

.hanuun-library-arrow {
    color: var(--hanuun-app-gold);
}

.hanuun-library-empty p {
    color: var(--hanuun-app-muted);
}

.hanuun-tafsiir-order {
    color: var(--hanuun-app-gold);
    opacity: .76;
}


/* ===== SEARCH PAGE ===== */

.hanuun-search-panel {
    border: 1px solid rgba(242, 196, 92, .25);
    background:
        linear-gradient(
            145deg,
            rgba(7, 36, 66, .98),
            rgba(4, 26, 50, .98)
        );
    box-shadow: 0 14px 36px rgba(0, 8, 22, .19);
}

.hanuun-filter-form label {
    color: var(--hanuun-app-muted);
}

.hanuun-filter-form input,
.hanuun-filter-form select {
    border-color: rgba(242, 196, 92, .28);
    background: rgba(1, 17, 34, .78);
    color: var(--hanuun-app-text);
}

.hanuun-filter-form input:focus,
.hanuun-filter-form select:focus {
    border-color: var(--hanuun-app-gold);
    outline: 3px solid rgba(242, 196, 92, .10);
}

.hanuun-filter-form button {
    background: var(--hanuun-app-gold);
    color: #06213d;
    border-color: var(--hanuun-app-gold);
    font-weight: 800;
}


/* ===== QURAN RECITER LANDING ===== */

body .hanuun-quran-reciter-card {
    border: 1px solid var(--hanuun-app-gold-border);
    background:
        linear-gradient(
            145deg,
            #082a4b,
            #041d37
        );
    color: var(--hanuun-app-text);
    box-shadow: 0 14px 34px rgba(0, 8, 22, .20);
}

body .hanuun-quran-reciter-card:hover {
    border-color: rgba(242, 196, 92, .70);
    background:
        linear-gradient(
            145deg,
            #0a345c,
            #062542
        );
    box-shadow: 0 20px 42px rgba(0, 8, 22, .28);
}

body .hanuun-quran-reciter-kicker {
    color: var(--hanuun-app-gold);
}

body .hanuun-quran-reciter-card h2 {
    color: #fff;
}

body .hanuun-quran-riwaayah {
    background: rgba(242, 196, 92, .13);
    color: var(--hanuun-app-gold-bright);
    border: 1px solid rgba(242, 196, 92, .22);
}

body .hanuun-quran-reciter-meta {
    color: var(--hanuun-app-muted);
}

body .hanuun-quran-reciter-open {
    background: var(--hanuun-app-gold);
    color: #06213d;
}


/* ===== MUXAADARO LANDING ===== */

.hanuun-muxaadaro-card {
    border: 1px solid var(--hanuun-app-gold-border);
    background:
        linear-gradient(
            145deg,
            #082a4b,
            #041d37
        );
    color: var(--hanuun-app-text);
    box-shadow: 0 14px 34px rgba(0, 8, 22, .20);
}

.hanuun-muxaadaro-card:hover {
    border-color: rgba(242, 196, 92, .70);
    background:
        linear-gradient(
            145deg,
            #0a345c,
            #062542
        );
    box-shadow: 0 20px 42px rgba(0, 8, 22, .28);
}

.hanuun-muxaadaro-kicker {
    color: var(--hanuun-app-gold);
}

.hanuun-muxaadaro-card h2 {
    color: #fff;
}

.hanuun-muxaadaro-meta {
    color: var(--hanuun-app-muted);
}

.hanuun-muxaadaro-open {
    background: var(--hanuun-app-gold);
    color: #06213d;
}


/* ===== AUDIO TRACKS ===== */

body .hanuun-track-list {
    border: 1px solid rgba(242, 196, 92, .25);
    background:
        linear-gradient(
            145deg,
            rgba(7, 36, 66, .98),
            rgba(4, 26, 50, .98)
        );
    box-shadow: 0 16px 42px rgba(0, 8, 22, .22);
}

body .hanuun-track {
    border-bottom-color: rgba(242, 196, 92, .12);
}

body .hanuun-track:hover {
    background: rgba(242, 196, 92, .045);
}

body .hanuun-track-play {
    background: var(--hanuun-app-gold);
    color: #041b35;
    box-shadow:
        0 7px 18px rgba(0, 8, 22, .30),
        0 0 0 1px rgba(255, 221, 133, .22);
}

body .hanuun-track-play:hover {
    background: var(--hanuun-app-gold-bright);
    box-shadow:
        0 9px 22px rgba(0, 8, 22, .36),
        0 0 0 1px rgba(255, 221, 133, .30);
}

body .hanuun-track-title {
    color: #f7f9fc;
}

body .hanuun-track-meta {
    color: var(--hanuun-app-muted-2);
}

body .hanuun-track-download {
    border-color: rgba(242, 196, 92, .34);
    background: rgba(242, 196, 92, .055);
    color: var(--hanuun-app-gold);
}

body .hanuun-track-download:hover {
    border-color: rgba(242, 196, 92, .70);
    background: rgba(242, 196, 92, .13);
    color: var(--hanuun-app-gold-bright);
}

body .hanuun-quran-number {
    color: var(--hanuun-app-gold);
}


/* ===== PERSISTENT AUDIO PLAYER ===== */

body .hanuun-player {
    background:
        linear-gradient(
            to top,
            rgba(2, 15, 31, .99),
            rgba(2, 15, 31, .82),
            rgba(2, 15, 31, 0)
        );
}

body .hanuun-player-inner {
    border: 1px solid rgba(242, 196, 92, .34);
    background: rgba(4, 27, 51, .97);
    box-shadow: 0 20px 52px rgba(0, 5, 16, .46);
}

body .hanuun-player-kicker {
    color: var(--hanuun-app-gold);
}

body #hanuun-player-title {
    color: #fff;
}


/* ===== CONTACT FORM, WHEN PRESENT ===== */

.hanuun-contact-form,
.hanuun-contact-card {
    border-color: rgba(242, 196, 92, .25);
    background:
        linear-gradient(
            145deg,
            rgba(7, 36, 66, .98),
            rgba(4, 26, 50, .98)
        );
    color: var(--hanuun-app-text);
}

.hanuun-contact-form label {
    color: #d9e4ee;
}

.hanuun-contact-form input,
.hanuun-contact-form select,
.hanuun-contact-form textarea {
    border-color: rgba(242, 196, 92, .28);
    background: rgba(1, 17, 34, .78);
    color: #fff;
}

.hanuun-contact-form input:focus,
.hanuun-contact-form select:focus,
.hanuun-contact-form textarea:focus {
    border-color: var(--hanuun-app-gold);
    outline: 3px solid rgba(242, 196, 92, .10);
}

.hanuun-contact-form button {
    border-color: var(--hanuun-app-gold);
    background: var(--hanuun-app-gold);
    color: #06213d;
    font-weight: 800;
}


/* ===== FOOTER ===== */

.site-footer {
    border-top: 1px solid var(--hanuun-app-gold-border);
    background:
        linear-gradient(
            180deg,
            #03182f,
            #021225
        );
    color: var(--hanuun-app-muted);
}

.site-footer-links a {
    color: var(--hanuun-app-gold);
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
    color: var(--hanuun-app-gold-bright);
}


/* ===== SELECTION / FOCUS ===== */

::selection {
    background: var(--hanuun-app-gold);
    color: #041b35;
}

a:focus-visible,
button:focus-visible {
    outline-color: var(--hanuun-app-gold);
}


/* ===== MOBILE ===== */

@media (max-width: 760px) {

    .site-header-inner {
        min-height: 70px;
    }

    .site-brand {
        font-size: 1.75rem;
    }

    .site-nav {
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .hanuun-hero-panel,
    .hanuun-library-hero {
        box-shadow: 0 12px 32px rgba(0, 8, 22, .22);
    }

    .hanuun-card,
    body .hanuun-quran-reciter-card,
    .hanuun-muxaadaro-card {
        box-shadow: 0 10px 27px rgba(0, 8, 22, .17);
    }
}


/* ===== END HANUUN APP NAVY GOLD SKIN V1 ===== */



/* =========================================================
   HANUUN COMPACT CARDS V2
   Qaari + Muxaadaro landing card refinement.
   ========================================================= */


/* ===== GRID DENSITY ===== */

.hanuun-quran-reciter-grid,
.hanuun-muxaadaro-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hanuun-quran-reciter-grid {
    counter-reset: hanuun-qari-card;
}

.hanuun-muxaadaro-grid {
    counter-reset: hanuun-mux-card;
}


/* ===== SHARED CARD SHAPE ===== */

body .hanuun-quran-reciter-card,
body .hanuun-muxaadaro-card {
    position: relative;
    overflow: hidden;
    min-height: 164px;
    padding: 20px 20px 18px;

    border: 1px solid rgba(242, 196, 92, .30);
    border-radius: 18px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(242, 196, 92, .055),
            transparent 110px
        ),
        linear-gradient(
            145deg,
            #082a4b,
            #041d37
        );

    box-shadow:
        0 10px 28px rgba(0, 8, 22, .16);

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}


/* Thin app-style gold accent */

body .hanuun-quran-reciter-card::after,
body .hanuun-muxaadaro-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 21px;
    bottom: 21px;
    width: 2px;

    border-radius: 0 4px 4px 0;

    background:
        linear-gradient(
            180deg,
            transparent,
            #f2c45c 28%,
            #f2c45c 72%,
            transparent
        );

    opacity: .62;
}


/* ===== CARD INDEX ===== */

body .hanuun-quran-reciter-card {
    counter-increment: hanuun-qari-card;
}

body .hanuun-muxaadaro-card {
    counter-increment: hanuun-mux-card;
}

body .hanuun-quran-reciter-card::before,
body .hanuun-muxaadaro-card::before {
    position: absolute;
    top: 18px;
    right: 19px;

    color: rgba(242, 196, 92, .48);

    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .08em;

    font-variant-numeric: tabular-nums;
}

body .hanuun-quran-reciter-card::before {
    content: counter(hanuun-qari-card, decimal-leading-zero);
}

body .hanuun-muxaadaro-card::before {
    content: counter(hanuun-mux-card, decimal-leading-zero);
}


/* ===== KICKER ===== */

body .hanuun-quran-reciter-kicker,
body .hanuun-muxaadaro-kicker {
    margin-bottom: 9px;

    color: #f2c45c;

    font-size: 10px;
    font-weight: 850;
    line-height: 1;

    letter-spacing: .11em;
    text-transform: uppercase;
}


/* ===== TITLES ===== */

body .hanuun-quran-reciter-card h2,
body .hanuun-muxaadaro-card h2 {
    max-width: calc(100% - 35px);
    margin: 0;

    color: #f7f9fc;

    font-size: clamp(17px, 1.35vw, 20px);
    font-weight: 760;
    line-height: 1.28;
    letter-spacing: -.018em;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
}


/* ===== WARSH BADGE ===== */

body .hanuun-quran-riwaayah {
    align-self: flex-start;

    margin-top: 10px;
    padding: 4px 8px;

    border: 1px solid rgba(242, 196, 92, .25);
    border-radius: 999px;

    background: rgba(242, 196, 92, .09);
    color: #ffd36b;

    font-size: 10px;
    font-weight: 800;
}


/* ===== META ROW ===== */

body .hanuun-quran-reciter-meta,
body .hanuun-muxaadaro-meta {
    margin-top: auto;
    padding-top: 17px;

    border-top: 1px solid rgba(242, 196, 92, .11);

    color: #a9bdcf;

    font-size: 12px;
    font-weight: 700;
}


/* Count becomes a small app-style pill */

body .hanuun-quran-reciter-meta > span:first-child,
body .hanuun-muxaadaro-meta > span:first-child {
    display: inline-flex;
    align-items: center;

    min-height: 28px;
    padding: 4px 9px;

    border: 1px solid rgba(242, 196, 92, .14);
    border-radius: 999px;

    background: rgba(1, 17, 34, .32);
}


/* ===== ARROW ===== */

body .hanuun-quran-reciter-open,
body .hanuun-muxaadaro-open {
    width: 30px;
    height: 30px;

    border: 1px solid rgba(242, 196, 92, .42);
    border-radius: 50%;

    background: rgba(242, 196, 92, .08);
    color: #f2c45c;

    font-size: 15px;

    transition:
        transform .18s ease,
        background .18s ease,
        color .18s ease;
}


/* ===== HOVER ===== */

body .hanuun-quran-reciter-card:hover,
body .hanuun-quran-reciter-card:focus-visible,
body .hanuun-muxaadaro-card:hover,
body .hanuun-muxaadaro-card:focus-visible {
    transform: translateY(-3px);

    border-color: rgba(242, 196, 92, .65);

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(242, 196, 92, .09),
            transparent 120px
        ),
        linear-gradient(
            145deg,
            #0a3157,
            #05213d
        );

    box-shadow:
        0 16px 34px rgba(0, 8, 22, .24);
}

body .hanuun-quran-reciter-card:hover
.hanuun-quran-reciter-open,
body .hanuun-quran-reciter-card:focus-visible
.hanuun-quran-reciter-open,
body .hanuun-muxaadaro-card:hover
.hanuun-muxaadaro-open,
body .hanuun-muxaadaro-card:focus-visible
.hanuun-muxaadaro-open {
    transform: translateX(2px);

    background: #f2c45c;
    color: #041b35;
}


/* ===== TABLET ===== */

@media (max-width: 1180px) {

    .hanuun-quran-reciter-grid,
    .hanuun-muxaadaro-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ===== MOBILE ===== */

@media (max-width: 720px) {

    .hanuun-quran-reciter-grid,
    .hanuun-muxaadaro-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    body .hanuun-quran-reciter-card,
    body .hanuun-muxaadaro-card {
        min-height: 142px;
        padding: 18px 18px 16px;
        border-radius: 17px;
    }

    body .hanuun-quran-reciter-card::before,
    body .hanuun-muxaadaro-card::before {
        top: 17px;
        right: 17px;
    }

    body .hanuun-quran-reciter-card h2,
    body .hanuun-muxaadaro-card h2 {
        font-size: 17px;
    }

    body .hanuun-quran-reciter-meta,
    body .hanuun-muxaadaro-meta {
        padding-top: 14px;
    }
}


/* ===== END HANUUN COMPACT CARDS V2 ===== */



/* ==========================================================
   HANUUN DESKTOP HOME V1
   Scoped homepage redesign.
   Does not modify Akhriso/Quraan/Tafsiir/Muxaadaro templates.
   ========================================================== */

.hanuun-home-desktop {
    --hh-navy-950: #021326;
    --hh-navy-900: #031a30;
    --hh-navy-850: #06233f;
    --hh-navy-800: #082c4d;
    --hh-gold: #f2c45c;
    --hh-gold-bright: #ffd778;
    --hh-text: #f7f9fc;
    --hh-muted: #b7c8d9;

    position: relative;
    width: 100%;
    padding: 0 0 64px;
    overflow: hidden;

    color: var(--hh-text);

    background:
        radial-gradient(
            circle at 92% 8%,
            rgba(242, 196, 92, .07),
            transparent 27%
        ),
        linear-gradient(
            180deg,
            var(--hh-navy-950) 0%,
            #031a30 54%,
            #021426 100%
        );
}

.hanuun-home-desktop,
.hanuun-home-desktop * {
    box-sizing: border-box;
}

.hhome-shell {
    width: min(1320px, calc(100% - 56px));
    margin-inline: auto;
}


/* HERO */

.hhome-hero {
    padding: 46px 0 22px;
}

.hhome-hero-panel {
    position: relative;
    min-height: 480px;
    overflow: hidden;

    border: 1px solid rgba(242, 196, 92, .50);
    border-radius: 36px;

    background:
        radial-gradient(
            circle at 76% 38%,
            rgba(242, 196, 92, .09),
            transparent 33%
        ),
        linear-gradient(
            120deg,
            #082b4b 0%,
            #06233f 46%,
            #031a30 100%
        );

    box-shadow:
        0 28px 70px rgba(0, 7, 20, .28),
        inset 0 1px rgba(255, 255, 255, .025);
}

.hhome-hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background-image:
        linear-gradient(
            45deg,
            transparent 46%,
            rgba(242, 196, 92, .16) 48%,
            rgba(242, 196, 92, .16) 52%,
            transparent 54%
        ),
        linear-gradient(
            -45deg,
            transparent 46%,
            rgba(242, 196, 92, .12) 48%,
            rgba(242, 196, 92, .12) 52%,
            transparent 54%
        );

    background-size: 74px 74px;
    opacity: .08;

    -webkit-mask-image:
        linear-gradient(90deg, #000 0%, transparent 44%, transparent 100%);
    mask-image:
        linear-gradient(90deg, #000 0%, transparent 44%, transparent 100%);
}

.hhome-hero-panel::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 120px;
    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(1, 14, 28, .55),
            transparent
        );
}

.hhome-hero-content {
    position: relative;
    z-index: 4;

    width: 59%;
    max-width: 790px;

    padding: 68px 0 62px 68px;
}

.hhome-eyebrow {
    margin: 0 0 14px;

    color: var(--hh-gold);

    font-size: 14px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: .18em;
}

.hhome-hero-content h1 {
    margin: 0;

    color: var(--hh-gold-bright);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5vw, 76px);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -.035em;

    text-wrap: balance;
}

.hhome-hero-copy {
    max-width: 700px;
    margin: 25px 0 0;

    color: #d1dce8;

    font-size: clamp(18px, 1.55vw, 24px);
    line-height: 1.55;
}

.hhome-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 12px;

    width: min(760px, 100%);
    margin-top: 34px;
}

.hhome-search input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 60px;

    padding: 0 22px;

    border: 1px solid rgba(242, 196, 92, .44);
    border-radius: 15px;

    outline: none;

    background: rgba(0, 13, 28, .66);
    color: #f7f9fc;

    font: inherit;
    font-size: 17px;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .015);
}

.hhome-search input[type="search"]::placeholder {
    color: #849bb1;
}

.hhome-search input[type="search"]:focus {
    border-color: var(--hh-gold);

    box-shadow:
        0 0 0 3px rgba(242, 196, 92, .10);
}

.hhome-search button {
    height: 60px;
    padding: 0 28px;

    border: 0;
    border-radius: 15px;

    cursor: pointer;

    background:
        linear-gradient(
            180deg,
            #ffd876,
            #efbb49
        );

    color: #06213d;

    font: inherit;
    font-size: 18px;
    font-weight: 850;

    box-shadow:
        0 12px 28px rgba(0, 7, 20, .22);

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.hhome-search button:hover,
.hhome-search button:focus-visible {
    transform: translateY(-2px);

    box-shadow:
        0 16px 32px rgba(0, 7, 20, .30);
}

.hhome-hero-art {
    position: absolute;
    z-index: 2;

    top: 0;
    right: -1%;
    bottom: 0;

    width: 53%;

    color: #071c31;

    opacity: .96;

    -webkit-mask-image:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(0,0,0,.45) 18%,
            #000 40%,
            #000 100%
        );

    mask-image:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(0,0,0,.45) 18%,
            #000 40%,
            #000 100%
        );
}

.hhome-hero-art svg {
    display: block;
    width: 100%;
    height: 100%;
}


/* SECTION HEADING */

.hhome-services {
    padding: 42px 0 0;
}

.hhome-section-heading {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;

    margin: 0 0 28px;

    text-align: center;
}

.hhome-heading-line {
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(242, 196, 92, .46)
        );
}

.hhome-heading-line:last-child {
    background:
        linear-gradient(
            90deg,
            rgba(242, 196, 92, .46),
            transparent
        );
}

.hhome-section-heading h2 {
    margin: 0;

    color: var(--hh-gold);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 2.6vw, 42px);
    line-height: 1.15;
}

.hhome-section-heading p {
    margin: 8px 0 0;

    color: var(--hh-muted);

    font-size: 16px;
}


/* FOUR DESKTOP SERVICE CARDS */

.hhome-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.hhome-service-card {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-height: 250px;
    padding: 27px 23px 22px;

    overflow: hidden;

    border: 1px solid rgba(242, 196, 92, .42);
    border-radius: 22px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(242, 196, 92, .07),
            transparent 95px
        ),
        linear-gradient(
            145deg,
            rgba(9, 43, 74, .96),
            rgba(4, 27, 50, .98)
        );

    color: inherit;
    text-align: center;
    text-decoration: none;

    box-shadow:
        0 14px 34px rgba(0, 7, 20, .18);

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.hhome-service-card::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.025),
            transparent 35%
        );
}

.hhome-service-card:hover,
.hhome-service-card:focus-visible {
    transform: translateY(-4px);

    border-color: rgba(242, 196, 92, .80);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(242, 196, 92, .12),
            transparent 110px
        ),
        linear-gradient(
            145deg,
            #0a345b,
            #05213d
        );

    box-shadow:
        0 20px 42px rgba(0, 7, 20, .28);

    outline: none;
}

.hhome-service-icon {
    display: grid;
    place-items: center;

    width: 68px;
    height: 68px;
    margin-bottom: 15px;

    color: var(--hh-gold);
}

.hhome-service-icon svg {
    width: 62px;
    height: 62px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hhome-service-kicker {
    color: var(--hh-gold);

    font-size: 11px;
    font-weight: 850;
    letter-spacing: .15em;
}

.hhome-service-card h3 {
    margin: 9px 0 7px;

    color: #f8fafc;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(22px, 1.7vw, 28px);
    line-height: 1.2;
}

.hhome-service-card p {
    max-width: 265px;
    margin: 0;

    color: #b9c9d8;

    font-size: 14px;
    line-height: 1.48;
}

.hhome-service-arrow {
    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    margin-top: auto;
    padding-top: 3px;

    color: var(--hh-gold);

    font-size: 24px;
    line-height: 1;

    transition: transform .18s ease;
}

.hhome-service-card:hover .hhome-service-arrow {
    transform: translateX(4px);
}


/* FEATURED AKHRISO */

.hhome-akhriso-feature {
    position: relative;

    display: grid;
    grid-template-columns: minmax(320px, 39%) 1fr;

    min-height: 305px;
    margin-top: 22px;

    overflow: hidden;

    border: 1px solid rgba(242, 196, 92, .58);
    border-radius: 28px;

    background:
        radial-gradient(
            circle at 8% 50%,
            rgba(242, 196, 92, .12),
            transparent 26%
        ),
        linear-gradient(
            110deg,
            #082b4b 0%,
            #05223e 49%,
            #031a30 100%
        );

    color: inherit;
    text-decoration: none;

    box-shadow:
        0 22px 54px rgba(0, 7, 20, .25);

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.hhome-akhriso-feature::after {
    content: "";

    position: absolute;
    top: -30%;
    right: -2%;

    width: 420px;
    height: 420px;

    opacity: .11;

    background-image:
        linear-gradient(
            45deg,
            transparent 46%,
            #f2c45c 48%,
            #f2c45c 52%,
            transparent 54%
        ),
        linear-gradient(
            -45deg,
            transparent 46%,
            #f2c45c 48%,
            #f2c45c 52%,
            transparent 54%
        );

    background-size: 58px 58px;

    transform: rotate(10deg);

    pointer-events: none;
}

.hhome-akhriso-feature:hover,
.hhome-akhriso-feature:focus-visible {
    transform: translateY(-3px);

    border-color: rgba(242, 196, 92, .86);

    box-shadow:
        0 28px 62px rgba(0, 7, 20, .32);

    outline: none;
}

.hhome-akhriso-visual {
    position: relative;
    z-index: 2;

    display: grid;
    place-items: center;

    min-height: 305px;

    overflow: hidden;

    color: var(--hh-gold);
}

.hhome-akhriso-visual::after {
    content: "";

    position: absolute;
    inset: auto 7% 18px;

    height: 28px;

    border-radius: 50%;

    background: rgba(0, 7, 18, .54);

    filter: blur(13px);
}

.hhome-akhriso-visual svg {
    position: relative;
    z-index: 3;

    width: min(260px, 72%);
    height: auto;

    filter:
        drop-shadow(0 18px 16px rgba(0, 7, 18, .36));
}

.hhome-akhriso-arch {
    position: absolute;
    z-index: 1;

    width: 72%;
    max-width: 300px;
    aspect-ratio: .76;

    bottom: -48%;

    border: 1px solid rgba(242, 196, 92, .32);
    border-radius: 150px 150px 24px 24px;

    background:
        radial-gradient(
            circle at 50% 19%,
            rgba(242, 196, 92, .12),
            transparent 34%
        );
}

.hhome-akhriso-content {
    position: relative;
    z-index: 3;

    align-self: center;

    max-width: 710px;

    padding: 42px 54px 42px 34px;
}

.hhome-akhriso-kicker {
    display: block;

    margin-bottom: 8px;

    color: var(--hh-gold);

    font-size: 11px;
    font-weight: 850;
    letter-spacing: .17em;
}

.hhome-akhriso-content h2 {
    margin: 0;

    color: var(--hh-gold-bright);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 3.1vw, 52px);
    line-height: 1.1;
    letter-spacing: -.02em;
}

.hhome-akhriso-content p {
    max-width: 670px;
    margin: 17px 0 24px;

    color: #d0dce7;

    font-size: 18px;
    line-height: 1.55;
}

.hhome-akhriso-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    min-height: 50px;
    padding: 0 22px;

    border-radius: 12px;

    background:
        linear-gradient(
            180deg,
            #ffd876,
            #efbb49
        );

    color: #05213c;

    font-size: 16px;
    font-weight: 850;

    box-shadow:
        0 10px 24px rgba(0, 7, 20, .21);
}

.hhome-akhriso-button strong {
    font-size: 21px;
    transition: transform .18s ease;
}

.hhome-akhriso-feature:hover .hhome-akhriso-button strong {
    transform: translateX(4px);
}


/* TABLET */

@media (max-width: 1120px) {

    .hhome-hero-content {
        width: 64%;
        padding-left: 48px;
    }

    .hhome-hero-art {
        width: 49%;
        right: -4%;
    }

    .hhome-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hhome-service-card {
        min-height: 220px;
    }

    .hhome-akhriso-feature {
        grid-template-columns: 38% 1fr;
    }

}


/* MOBILE / NARROW WINDOWS */

@media (max-width: 760px) {

    .hhome-shell {
        width: min(100% - 28px, 1320px);
    }

    .hhome-hero {
        padding-top: 22px;
    }

    .hhome-hero-panel {
        min-height: 0;
        border-radius: 26px;
    }

    .hhome-hero-content {
        width: 100%;
        padding: 38px 24px 20px;
    }

    .hhome-hero-content h1 {
        font-size: clamp(40px, 11vw, 58px);
    }

    .hhome-hero-copy {
        font-size: 17px;
    }

    .hhome-search {
        grid-template-columns: 1fr;
    }

    .hhome-search button {
        width: 100%;
    }

    .hhome-hero-art {
        position: relative;

        top: auto;
        right: auto;
        bottom: auto;

        width: 100%;
        height: 250px;

        margin-top: -26px;

        -webkit-mask-image:
            linear-gradient(
                to bottom,
                transparent 0%,
                #000 28%,
                #000 100%
            );

        mask-image:
            linear-gradient(
                to bottom,
                transparent 0%,
                #000 28%,
                #000 100%
            );
    }

    .hhome-section-heading {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hhome-heading-line {
        display: none;
    }

    .hhome-service-grid {
        grid-template-columns: 1fr;
    }

    .hhome-service-card {
        min-height: 205px;
    }

    .hhome-akhriso-feature {
        grid-template-columns: 1fr;
    }

    .hhome-akhriso-visual {
        min-height: 220px;
    }

    .hhome-akhriso-content {
        padding: 10px 24px 32px;
        text-align: center;
    }

    .hhome-akhriso-content p {
        font-size: 16px;
    }

}


@media (prefers-reduced-motion: reduce) {

    .hhome-service-card,
    .hhome-service-arrow,
    .hhome-search button,
    .hhome-akhriso-feature,
    .hhome-akhriso-button strong {
        transition: none;
    }

}


/* ===== END HANUUN DESKTOP HOME V1 ===== */


/* ==========================================================
   HANUUN DESKTOP HOME V2
   Desktop proportion and polish refinement
   ========================================================== */


/* Better text selection across Hanuun */

::selection {
    background: rgba(242, 196, 92, .34);
    color: #f7f9fc;
}

::-moz-selection {
    background: rgba(242, 196, 92, .34);
    color: #f7f9fc;
}


/* ===== DESKTOP HEADER POLISH ===== */

@media (min-width: 1100px) {

    .site-header {
        border-bottom: 1px solid rgba(242, 196, 92, .30);

        background:
            linear-gradient(
                180deg,
                rgba(2, 20, 39, .99),
                rgba(2, 18, 35, .98)
            );

        box-shadow:
            0 10px 30px rgba(0, 8, 22, .12);
    }

    .site-header-inner {
        min-height: 94px;
    }

    .site-brand {
        font-family: Georgia, "Times New Roman", serif;
        letter-spacing: -.025em;
    }

    .site-nav {
        gap: clamp(24px, 2.2vw, 42px);
    }

    .site-nav a {
        position: relative;

        padding-top: 34px;
        padding-bottom: 31px;

        color: #eef3f8;

        transition:
            color .18s ease;
    }

    .site-nav a::after {
        content: "";

        position: absolute;

        left: 50%;
        bottom: 20px;

        width: 0;
        height: 2px;

        border-radius: 2px;

        background: #f2c45c;

        transform: translateX(-50%);

        transition:
            width .18s ease;
    }

    .site-nav a:hover,
    .site-nav a:focus-visible {
        color: #f2c45c;
    }

    .site-nav a:hover::after,
    .site-nav a:focus-visible::after {
        width: 24px;
    }

}


/* ===== HERO REBALANCE ===== */

@media (min-width: 1180px) {

    .hhome-hero {
        padding-top: 34px;
        padding-bottom: 14px;
    }

    .hhome-hero-panel {
        min-height: 420px;

        border-radius: 30px;
    }

    .hhome-hero-content {
        width: 68%;
        max-width: 930px;

        padding:
            54px
            0
            50px
            64px;
    }

    .hhome-eyebrow {
        margin-bottom: 12px;

        font-size: 13px;
    }

    .hhome-hero-content h1 {
        font-size: clamp(50px, 3.9vw, 68px);
        line-height: 1.02;

        white-space: nowrap;
    }

    .hhome-hero-copy {
        max-width: 760px;

        margin-top: 20px;

        font-size: clamp(18px, 1.3vw, 22px);
        line-height: 1.52;
    }

    .hhome-search {
        grid-template-columns:
            minmax(0, 1fr)
            155px;

        width: min(820px, 100%);

        margin-top: 28px;
    }

    .hhome-search input[type="search"],
    .hhome-search button {
        height: 56px;
    }

    /*
     * Mosque should support the headline rather than compete
     * with it.
     */

    .hhome-hero-art {
        right: 1%;

        width: 43%;

        opacity: .70;

        transform: scale(.92);
        transform-origin: center right;
    }

}


/* ===== SERVICE SECTION COMPACTION ===== */

.hhome-services {
    padding-top: 32px;
}

.hhome-section-heading {
    margin-bottom: 24px;
}

.hhome-service-grid {
    gap: 16px;
}

.hhome-service-card {
    min-height: 220px;

    padding:
        23px
        21px
        19px;

    border-radius: 20px;
}

.hhome-service-icon {
    width: 60px;
    height: 60px;

    margin-bottom: 11px;
}

.hhome-service-icon svg {
    width: 54px;
    height: 54px;
}

.hhome-service-card h3 {
    margin-top: 7px;
    margin-bottom: 6px;

    font-size: clamp(21px, 1.55vw, 26px);
}

.hhome-service-card p {
    font-size: 13.5px;
    line-height: 1.44;
}

.hhome-service-arrow {
    width: 30px;
    height: 30px;

    font-size: 21px;
}


/* ===== AKHRISO FEATURE REFINEMENT ===== */

.hhome-akhriso-feature {
    grid-template-columns:
        minmax(280px, 34%)
        1fr;

    min-height: 265px;

    margin-top: 20px;

    border-radius: 24px;
}

.hhome-akhriso-feature::after {
    top: -24%;
    right: -4%;

    width: 335px;
    height: 335px;

    background-size:
        54px
        54px;

    opacity: .055;
}

.hhome-akhriso-visual {
    min-height: 265px;
}

.hhome-akhriso-visual svg {
    width: min(220px, 65%);
}

.hhome-akhriso-arch {
    width: 66%;
    max-width: 250px;
}

.hhome-akhriso-content {
    max-width: 760px;

    padding:
        34px
        56px
        34px
        26px;
}

.hhome-akhriso-content h2 {
    font-size: clamp(34px, 2.7vw, 46px);
}

.hhome-akhriso-content p {
    max-width: 700px;

    margin-top: 13px;
    margin-bottom: 20px;

    font-size: 17px;
}

.hhome-akhriso-button {
    min-height: 47px;

    padding-inline: 20px;
}


/* ===== VERY LARGE DESKTOP ===== */

@media (min-width: 1600px) {

    .hhome-shell {
        width: min(1480px, calc(100% - 80px));
    }

}


/* ===== KEEP TABLET AND MOBILE FLEXIBLE ===== */

@media (max-width: 1179px) {

    .hhome-hero-content h1 {
        white-space: normal;
    }

}


/* ===== END HANUUN DESKTOP HOME V2 ===== */


/* ==========================================================
   HANUUN QURAAN DETAIL META V1
   Scoped only to individual Quraan-reciter pages
   ========================================================== */

.hanuun-quran-reciter-page
.hanuun-collection-header {
    margin-bottom: 30px;
}

.hanuun-quran-reciter-page
.hanuun-collection-meta.hanuun-quran-detail-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    width: auto;
    margin-top: 18px;
    padding: 8px 13px;

    border:
        1px solid
        rgba(242, 196, 92, .24);

    border-radius: 999px;

    background:
        rgba(242, 196, 92, .055);

    color: #d4dfE9;

    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.hanuun-quran-detail-kicker {
    color: #f2c45c;

    font-size: 11px;
    font-weight: 850;
    letter-spacing: .15em;
}

.hanuun-quran-detail-meta
.hanuun-collection-separator {
    color:
        rgba(242, 196, 92, .48);
}

.hanuun-quran-detail-meta
.hanuun-collection-count {
    color: #dce6ef;

    font-size: 13px;
    font-weight: 750;
}


/* Ensure selected metadata remains readable */

.hanuun-quran-detail-meta ::selection {
    background:
        rgba(242, 196, 92, .32);

    color: #ffffff;
}

.hanuun-quran-detail-meta ::-moz-selection {
    background:
        rgba(242, 196, 92, .32);

    color: #ffffff;
}


@media (max-width: 720px) {

    .hanuun-quran-reciter-page
    .hanuun-collection-meta.hanuun-quran-detail-meta {
        margin-top: 14px;
        padding: 7px 11px;
    }

}


/* ===== END HANUUN QURAAN DETAIL META V1 ===== */



/* ==========================================================
   HANUUN NUUR MIHRAB BLUE GOLD V1
   Calm Islamic visual system
   Presentation only - no content/plugin changes
   ========================================================== */


/* ----------------------------------------------------------
   DESIGN TOKENS
   ---------------------------------------------------------- */

:root {
    --hn-night: #021326;
    --hn-deep: #031a30;
    --hn-navy: #062642;
    --hn-blue: #0a3155;
    --hn-blue-soft: #0c395f;

    --hn-gold: #d8ad50;
    --hn-gold-soft: #efc86b;
    --hn-gold-pale: #f6dda0;

    --hn-white: #f8fafc;
    --hn-text: #e8eef5;
    --hn-muted: #aabccc;

    --hn-border:
        rgba(216, 173, 80, .30);

    --hn-border-strong:
        rgba(216, 173, 80, .58);

    --hn-shadow:
        0 18px 46px rgba(0, 7, 19, .25);
}


/* ----------------------------------------------------------
   GLOBAL PAGE ATMOSPHERE
   ---------------------------------------------------------- */

html {
    background: var(--hn-night);
}

body {
    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(216, 173, 80, .045),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            var(--hn-night),
            var(--hn-deep)
        );

    color: var(--hn-text);
}

.site-main {
    position: relative;

    background:
        linear-gradient(
            180deg,
            rgba(3, 26, 48, .45),
            rgba(2, 19, 38, .18)
        );
}


/* Accessible, restrained selection */

::selection {
    background: rgba(216, 173, 80, .34);
    color: #ffffff;
}

::-moz-selection {
    background: rgba(216, 173, 80, .34);
    color: #ffffff;
}


/* ----------------------------------------------------------
   HEADER
   ---------------------------------------------------------- */

.site-header {
    position: relative;
    z-index: 100;

    border-bottom:
        1px solid
        rgba(216, 173, 80, .24);

    background:
        linear-gradient(
            180deg,
            rgba(2, 19, 38, .99),
            rgba(3, 26, 48, .985)
        );

    box-shadow:
        0 8px 28px rgba(0, 8, 22, .16);
}

.site-header-inner {
    min-height: 88px;
}

.site-brand {
    color: var(--hn-gold-soft);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 700;
    letter-spacing: -.025em;

    text-shadow:
        0 1px 18px
        rgba(216, 173, 80, .10);
}

.site-brand:hover,
.site-brand:focus-visible {
    color: var(--hn-gold-pale);
}

.site-nav a {
    color: #e9eff5;

    transition:
        color .18s ease,
        background .18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--hn-gold-soft);
}


/* ----------------------------------------------------------
   HOME HERO
   ---------------------------------------------------------- */

.hanuun-home-desktop {
    background:
        radial-gradient(
            circle at 88% 6%,
            rgba(216, 173, 80, .055),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #021426 0%,
            #031a30 48%,
            #021426 100%
        );
}

.hhome-hero {
    padding-top: 32px;
}

.hhome-hero-panel {
    min-height: 405px;

    border:
        1px solid
        rgba(216, 173, 80, .46);

    border-radius: 30px;

    background:
        radial-gradient(
            circle at 78% 42%,
            rgba(216, 173, 80, .075),
            transparent 29%
        ),
        radial-gradient(
            circle at 15% 10%,
            rgba(23, 83, 128, .25),
            transparent 42%
        ),
        linear-gradient(
            120deg,
            #092e50 0%,
            #062642 49%,
            #03192f 100%
        );

    box-shadow:
        0 24px 62px rgba(0, 7, 20, .26),
        inset 0 1px rgba(255, 255, 255, .025);
}


/* Geometric motif becomes atmospheric */

.hhome-hero-panel::before {
    opacity: .045;

    background-size:
        84px 84px;
}

.hhome-eyebrow {
    color: var(--hn-gold);

    letter-spacing: .20em;
}

.hhome-hero-content h1 {
    color: var(--hn-gold-soft);

    text-shadow:
        0 1px 30px
        rgba(216, 173, 80, .09);
}

.hhome-hero-copy {
    color: #d3dee8;
}


/* Mosque becomes a watermark rather than artwork */

.hhome-hero-art {
    opacity: .52;

    filter:
        saturate(.88)
        contrast(.96);

    transform:
        scale(.88)
        translateX(2%);

    transform-origin:
        center right;
}


/* ----------------------------------------------------------
   SEARCH
   ---------------------------------------------------------- */

.hhome-search input[type="search"] {
    border-color:
        rgba(216, 173, 80, .40);

    background:
        rgba(1, 14, 29, .68);

    color: var(--hn-white);

    box-shadow:
        inset 0 1px
        rgba(255, 255, 255, .02);
}

.hhome-search input[type="search"]::placeholder {
    color: #8298ac;
}

.hhome-search input[type="search"]:focus {
    border-color: var(--hn-gold);

    box-shadow:
        0 0 0 3px
        rgba(216, 173, 80, .09);
}

.hhome-search button,
.hhome-akhriso-button {
    background:
        linear-gradient(
            180deg,
            #efca72,
            #d7aa49
        );

    color: #06213b;

    box-shadow:
        0 10px 25px
        rgba(0, 7, 20, .21);
}


/* ----------------------------------------------------------
   SECTION TITLES
   ---------------------------------------------------------- */

.hhome-services {
    padding-top: 36px;
}

.hhome-section-heading h2 {
    color: var(--hn-gold-soft);

    font-weight: 700;
}

.hhome-section-heading p {
    color: var(--hn-muted);
}

.hhome-heading-line {
    opacity: .70;
}


/* ----------------------------------------------------------
   HOME CATEGORY CARDS
   ---------------------------------------------------------- */

.hhome-service-grid {
    gap: 18px;
}

.hhome-service-card {
    min-height: 224px;

    border:
        1px solid
        rgba(216, 173, 80, .34);

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(216, 173, 80, .055),
            transparent 95px
        ),
        linear-gradient(
            145deg,
            #0a3154 0%,
            #062642 56%,
            #041e37 100%
        );

    box-shadow:
        0 13px 34px
        rgba(0, 7, 20, .18);
}

.hhome-service-card:hover,
.hhome-service-card:focus-visible {
    transform: translateY(-3px);

    border-color:
        rgba(216, 173, 80, .67);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(216, 173, 80, .09),
            transparent 105px
        ),
        linear-gradient(
            145deg,
            #0d3a61,
            #072b4a
        );

    box-shadow:
        0 19px 42px
        rgba(0, 7, 20, .26);
}

.hhome-service-icon,
.hhome-service-kicker,
.hhome-service-arrow {
    color: var(--hn-gold);
}

.hhome-service-card h3 {
    color: #f7f9fc;
}

.hhome-service-card p {
    color: #b8c8d6;
}


/* ----------------------------------------------------------
   FEATURED AKHRISO
   ---------------------------------------------------------- */

.hhome-akhriso-feature {
    min-height: 258px;

    border:
        1px solid
        rgba(216, 173, 80, .48);

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 10% 48%,
            rgba(216, 173, 80, .10),
            transparent 25%
        ),
        radial-gradient(
            circle at 80% 5%,
            rgba(14, 65, 104, .34),
            transparent 38%
        ),
        linear-gradient(
            112deg,
            #092f50,
            #062642 48%,
            #031a30
        );

    box-shadow:
        var(--hn-shadow);
}

.hhome-akhriso-feature::after {
    opacity: .038;
}

.hhome-akhriso-visual {
    color: var(--hn-gold);
}

.hhome-akhriso-arch {
    border-color:
        rgba(216, 173, 80, .26);
}

.hhome-akhriso-kicker {
    color: var(--hn-gold);
}

.hhome-akhriso-content h2 {
    color: var(--hn-gold-soft);
}

.hhome-akhriso-content p {
    color: #d0dbe5;
}


/* ----------------------------------------------------------
   INTERNAL LIBRARY HEROES
   ---------------------------------------------------------- */

.hanuun-library-hero {
    border:
        1px solid
        rgba(216, 173, 80, .34);

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(216, 173, 80, .07),
            transparent 27%
        ),
        linear-gradient(
            130deg,
            #0a3155,
            #062642 55%,
            #041d36
        );

    box-shadow:
        0 18px 44px
        rgba(0, 7, 20, .19);
}

.hanuun-library-hero h1 {
    color: var(--hn-gold-soft);
}

.hanuun-library-hero p {
    color: #c5d2de;
}


/* ----------------------------------------------------------
   QURAAN / MUXAADARO CARDS
   ---------------------------------------------------------- */

body .hanuun-quran-reciter-card,
body .hanuun-muxaadaro-card {
    border-color:
        rgba(216, 173, 80, .27);

    background:
        linear-gradient(
            145deg,
            #092f51,
            #05233f
        );

    box-shadow:
        0 12px 30px
        rgba(0, 7, 20, .16);
}

body .hanuun-quran-reciter-card:hover,
body .hanuun-quran-reciter-card:focus-visible,
body .hanuun-muxaadaro-card:hover,
body .hanuun-muxaadaro-card:focus-visible {
    border-color:
        rgba(216, 173, 80, .61);

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(216, 173, 80, .075),
            transparent 120px
        ),
        linear-gradient(
            145deg,
            #0b375e,
            #062743
        );

    box-shadow:
        0 16px 36px
        rgba(0, 7, 20, .24);
}

body .hanuun-quran-reciter-kicker,
body .hanuun-muxaadaro-kicker {
    color: var(--hn-gold);
}

body .hanuun-quran-reciter-open,
body .hanuun-muxaadaro-open {
    border-color:
        rgba(216, 173, 80, .40);

    color: var(--hn-gold-soft);

    background:
        rgba(216, 173, 80, .065);
}


/* ----------------------------------------------------------
   COLLECTION DETAIL PAGES
   ---------------------------------------------------------- */

.hanuun-collection-header {
    border:
        1px solid
        rgba(216, 173, 80, .28);

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(216, 173, 80, .055),
            transparent 30%
        ),
        linear-gradient(
            130deg,
            #092f50,
            #05233f
        );

    box-shadow:
        0 16px 38px
        rgba(0, 7, 20, .17);
}

.hanuun-collection-header .entry-title {
    color: var(--hn-gold-soft);
}


/* Quraan detail badge */

.hanuun-quran-reciter-page
.hanuun-collection-meta.hanuun-quran-detail-meta {
    border-color:
        rgba(216, 173, 80, .26);

    background:
        rgba(216, 173, 80, .055);
}

.hanuun-quran-detail-kicker {
    color: var(--hn-gold);
}


/* ----------------------------------------------------------
   SEARCH + CONTACT PANELS
   ---------------------------------------------------------- */

.hanuun-search-panel,
.hanuun-contact-card {
    border-color:
        rgba(216, 173, 80, .28);

    background:
        linear-gradient(
            145deg,
            #092f50,
            #05233f
        );

    box-shadow:
        0 14px 34px
        rgba(0, 7, 20, .17);
}


/* ----------------------------------------------------------
   FOCUS STATES
   ---------------------------------------------------------- */

.site-nav a:focus-visible,
.site-brand:focus-visible,
.hhome-service-card:focus-visible,
.hhome-akhriso-feature:focus-visible {
    outline:
        2px solid
        var(--hn-gold-soft);

    outline-offset: 4px;
}


/* ----------------------------------------------------------
   FOOTER - KEEP SIMPLE
   ---------------------------------------------------------- */

.site-footer {
    border-top:
        1px solid
        rgba(216, 173, 80, .20);

    background:
        #021326;

    color: #9fb1c2;
}


/* ----------------------------------------------------------
   DESKTOP POLISH
   ---------------------------------------------------------- */

@media (min-width: 1180px) {

    .hhome-shell {
        width:
            min(
                1380px,
                calc(100% - 64px)
            );
    }

    .hhome-hero-content {
        padding-left: 62px;
    }

    .hhome-service-card {
        padding:
            24px
            22px
            20px;
    }

}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 1179px) {

    .hhome-hero-panel {
        border-radius: 26px;
    }

    .hhome-hero-art {
        opacity: .44;
    }

}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 760px) {

    .site-header-inner {
        min-height: 70px;
    }

    .hhome-hero {
        padding-top: 18px;
    }

    .hhome-hero-panel {
        border-radius: 22px;
    }

    .hhome-service-card {
        min-height: 196px;
    }

    .hhome-akhriso-feature {
        border-radius: 21px;
    }

}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    .site-nav a,
    .hhome-service-card,
    .hhome-search button,
    .hhome-akhriso-feature {
        transition: none;
    }

}


/* ===== END HANUUN NUUR MIHRAB BLUE GOLD V1 ===== */



/* ==========================================================
   HANUUN ISLAMIC VISUAL V1
   Subtle geometric + mihrab decoration
   Presentation only
   ========================================================== */


/* ----------------------------------------------------------
   LIBRARY HEROES
   Tafsiir / Duruus / Muxaadaro / Quraan
   ---------------------------------------------------------- */

.hanuun-library-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    border-color:
        rgba(216, 173, 80, .38);

    background:
        radial-gradient(
            circle at 82% 38%,
            rgba(216, 173, 80, .105),
            transparent 27%
        ),
        radial-gradient(
            circle at 100% 0%,
            rgba(20, 82, 126, .22),
            transparent 35%
        ),
        linear-gradient(
            130deg,
            #0a3155 0%,
            #072945 54%,
            #041d35 100%
        );

    box-shadow:
        0 20px 48px rgba(0, 7, 20, .20),
        inset 0 1px rgba(255, 255, 255, .025);
}


/*
 * Faint Islamic lattice.
 * Kept in the upper-right so it never competes with text.
 */

.hanuun-library-hero::before {
    content: "";

    position: absolute;
    z-index: 0;

    top: -120px;
    right: -60px;

    width: 500px;
    height: 500px;

    pointer-events: none;

    background-image:
        linear-gradient(
            45deg,
            transparent 46%,
            rgba(216, 173, 80, .58) 48%,
            rgba(216, 173, 80, .58) 52%,
            transparent 54%
        ),
        linear-gradient(
            -45deg,
            transparent 46%,
            rgba(216, 173, 80, .58) 48%,
            rgba(216, 173, 80, .58) 52%,
            transparent 54%
        );

    background-size:
        58px 58px;

    opacity: .075;

    transform: rotate(8deg);

    -webkit-mask-image:
        radial-gradient(
            circle at 60% 40%,
            #000 0%,
            rgba(0, 0, 0, .85) 38%,
            transparent 74%
        );

    mask-image:
        radial-gradient(
            circle at 60% 40%,
            #000 0%,
            rgba(0, 0, 0, .85) 38%,
            transparent 74%
        );
}


/*
 * Large mihrab-style arch watermark.
 * Only the upper portion is visible.
 */

.hanuun-library-hero::after {
    content: "";

    position: absolute;
    z-index: 0;

    right: 100px;
    bottom: -205px;

    width: 310px;
    height: 390px;

    pointer-events: none;

    border:
        1px solid
        rgba(216, 173, 80, .22);

    border-bottom: 0;

    border-radius:
        170px 170px 0 0 /
        135px 135px 0 0;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(216, 173, 80, .055),
            transparent 48%
        );

    box-shadow:
        0 0 0 18px
            rgba(216, 173, 80, .012),
        0 0 80px
            rgba(216, 173, 80, .045);
}


/* Keep actual hero content above decoration */

.hanuun-library-hero > * {
    position: relative;
    z-index: 2;
}


/* ----------------------------------------------------------
   HERO TYPOGRAPHY
   ---------------------------------------------------------- */

.hanuun-library-hero h1 {
    position: relative;

    color:
        var(
            --hn-gold-soft,
            #efc86b
        );

    text-shadow:
        0 1px 28px
        rgba(216, 173, 80, .07);
}


/* Small architectural accent under the title */

.hanuun-library-hero h1::after {
    content: "";

    display: block;

    width: 74px;
    height: 2px;

    margin-top: 18px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            rgba(216, 173, 80, .90),
            rgba(216, 173, 80, .18),
            transparent
        );
}


/* ----------------------------------------------------------
   SECTION TRANSITION
   Quraan + Muxaadaro grids
   ---------------------------------------------------------- */

.hanuun-quran-reciter-grid,
.hanuun-muxaadaro-grid {
    position: relative;

    padding-top: 30px;
}

.hanuun-quran-reciter-grid::before,
.hanuun-muxaadaro-grid::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width:
        min(
            540px,
            68%
        );

    height: 1px;

    transform:
        translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(216, 173, 80, .14) 20%,
            rgba(216, 173, 80, .52) 50%,
            rgba(216, 173, 80, .14) 80%,
            transparent
        );
}


/* Gold center ornament */

.hanuun-quran-reciter-grid::after,
.hanuun-muxaadaro-grid::after {
    content: "";

    position: absolute;

    top: -3px;
    left: 50%;

    width: 7px;
    height: 7px;

    border:
        1px solid
        rgba(216, 173, 80, .75);

    background:
        #062642;

    transform:
        translateX(-50%)
        rotate(45deg);
}


/* ----------------------------------------------------------
   CARD REFINEMENT
   Keep the cards clean
   ---------------------------------------------------------- */

body .hanuun-quran-reciter-card,
body .hanuun-muxaadaro-card {
    box-shadow:
        0 13px 34px
        rgba(0, 7, 20, .17),
        inset 0 1px
        rgba(255, 255, 255, .018);
}


/* ----------------------------------------------------------
   MOBILE
   Reduce ornamentation substantially
   ---------------------------------------------------------- */

@media (max-width: 760px) {

    .hanuun-library-hero::before {
        top: -100px;
        right: -130px;

        width: 340px;
        height: 340px;

        background-size:
            48px 48px;

        opacity: .055;
    }

    .hanuun-library-hero::after {
        right: -100px;
        bottom: -225px;

        width: 260px;
        height: 340px;

        opacity: .58;
    }

    .hanuun-library-hero h1::after {
        width: 54px;

        margin-top: 13px;
    }

    .hanuun-quran-reciter-grid,
    .hanuun-muxaadaro-grid {
        padding-top: 22px;
    }

}


/* ===== END HANUUN ISLAMIC VISUAL V1 ===== */



/* ==========================================================
   HANUUN COMPACT ISLAMIC HERO V1
   Smaller, calmer desktop hero
   ========================================================== */

@media (min-width: 1180px) {

    /*
     * Give the homepage more breathing room around the hero.
     */
    .hhome-hero .hhome-shell {
        width: min(1360px, calc(100% - 96px));
    }

    .hhome-hero {
        padding-top: 28px;
        padding-bottom: 10px;
    }

    /*
     * Main improvement:
     * significantly shorter than previous version.
     */
    .hhome-hero-panel {
        min-height: 350px;
        border-radius: 26px;

        background:
            radial-gradient(
                circle at 79% 41%,
                rgba(216, 173, 80, .09),
                transparent 24%
            ),
            radial-gradient(
                circle at 17% 12%,
                rgba(18, 75, 118, .20),
                transparent 38%
            ),
            linear-gradient(
                120deg,
                #082d4e 0%,
                #062642 51%,
                #03192f 100%
            );

        box-shadow:
            0 20px 48px rgba(0, 7, 20, .22),
            inset 0 1px rgba(255, 255, 255, .025);
    }

    /*
     * Text occupies the dominant side.
     */
    .hhome-hero-content {
        width: 69%;
        max-width: 890px;

        padding:
            43px
            0
            40px
            54px;
    }

    .hhome-eyebrow {
        margin-bottom: 10px;

        font-size: 12px;
        letter-spacing: .20em;
    }

    /*
     * One elegant desktop line.
     */
    .hhome-hero-content h1 {
        font-size: clamp(48px, 3.55vw, 62px);
        line-height: 1.02;
        letter-spacing: -.035em;

        white-space: nowrap;
    }

    .hhome-hero-copy {
        max-width: 720px;

        margin-top: 18px;

        font-size: clamp(17px, 1.15vw, 20px);
        line-height: 1.48;
    }

    /*
     * Search becomes part of the hero instead of a huge block.
     */
    .hhome-search {
        grid-template-columns: minmax(0, 1fr) 145px;

        width: min(740px, 100%);
        gap: 11px;

        margin-top: 24px;
    }

    .hhome-search input[type="search"],
    .hhome-search button {
        height: 52px;
    }

    .hhome-search input[type="search"] {
        padding-inline: 20px;
        border-radius: 13px;

        font-size: 16px;
    }

    .hhome-search button {
        border-radius: 13px;

        font-size: 17px;
    }

    /*
     * Mosque is now a watermark.
     * It should support the Islamic identity,
     * not compete with the text.
     */
    .hhome-hero-art {
        top: 10px;
        right: 1%;
        bottom: 0;

        width: 35%;

        opacity: .42;

        transform:
            scale(.79)
            translateX(5%);

        transform-origin:
            center right;

        filter:
            saturate(.80)
            contrast(.96);
    }

    /*
     * Softer geometric decoration.
     */
    .hhome-hero-panel::before {
        opacity: .028;
        background-size: 90px 90px;
    }

    /*
     * Smaller lower shadow/fade.
     */
    .hhome-hero-panel::after {
        height: 74px;

        background:
            linear-gradient(
                to top,
                rgba(1, 14, 28, .34),
                transparent
            );
    }

}


/*
 * Medium desktop: allow headline to shrink first,
 * then wrap only when genuinely necessary.
 */

@media (min-width: 1180px) and (max-width: 1380px) {

    .hhome-hero-content h1 {
        font-size: 48px;
    }

    .hhome-hero-content {
        width: 70%;
        padding-left: 46px;
    }

    .hhome-hero-art {
        width: 34%;
    }

}


/*
 * Tablet keeps normal wrapping.
 */

@media (max-width: 1179px) {

    .hhome-hero-content h1 {
        white-space: normal;
    }

}


/* ===== END HANUUN COMPACT ISLAMIC HERO V1 ===== */


/* =========================================================
   Hanuun Video - homepage feature + Video page
   Added 2026-08-12
   ========================================================= */

.hhome-video-feature {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-top: 32px;
  margin-bottom: 32px;
  padding: 38px 48px;
  min-height: 210px;
  border: 1px solid rgba(242, 196, 92, .42);
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 20%, rgba(242, 196, 92, .10), transparent 32%),
    linear-gradient(135deg, #0d3857 0%, #072a47 55%, #061d33 100%);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}

.hhome-video-feature:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 196, 92, .72);
}

.hhome-video-icon {
  width: 118px;
  height: 118px;
  flex: 0 0 118px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  color: #f2c45c;
  background: rgba(4, 24, 43, .52);
  border: 1px solid rgba(242, 196, 92, .32);
}

.hhome-video-icon svg {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hhome-video-icon svg path {
  fill: currentColor;
  stroke: none;
}

.hhome-video-content {
  flex: 1;
}

.hhome-video-kicker,
.hvideo-kicker,
.hvideo-card-kicker {
  display: block;
  color: #f2c45c;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hhome-video-content h2 {
  margin: 8px 0 8px;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.hhome-video-content p {
  max-width: 720px;
  margin: 0;
  color: #c5d1df;
  font-size: 1.08rem;
  line-height: 1.65;
}

.hhome-video-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: #f2c45c;
  font-weight: 800;
}

.hvideo-page {
  min-height: 70vh;
  padding: 58px 0 96px;
  background: #071c31;
  color: #fff;
}

.hvideo-hero {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.hvideo-hero h1 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.hvideo-hero p {
  margin: 0;
  color: #c5d1df;
  font-size: 1.08rem;
}

.hvideo-grid {
  display: grid;
  gap: 32px;
}

.hvideo-card {
  padding: 26px;
  border: 1px solid rgba(242, 196, 92, .30);
  border-radius: 28px;
  background: linear-gradient(145deg, #0d3857, #082946);
}

.hvideo-card-heading {
  margin-bottom: 20px;
}

.hvideo-card-heading h2 {
  margin: 7px 0 4px;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.hvideo-card-heading p {
  margin: 0;
  color: #bac8d8;
}

.hvideo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  background: #020b13;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
}

.hvideo-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hvideo-empty {
  padding: 48px 24px;
  text-align: center;
  border: 1px solid rgba(242, 196, 92, .25);
  border-radius: 24px;
}

@media (max-width: 760px) {
  .hhome-video-feature {
    gap: 22px;
    padding: 26px 22px;
    border-radius: 24px;
  }

  .hhome-video-icon {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
    border-radius: 22px;
  }

  .hhome-video-icon svg {
    width: 46px;
    height: 46px;
  }

  .hhome-video-content h2 {
    font-size: 1.75rem;
  }

  .hhome-video-content p {
    font-size: .95rem;
  }

  .hvideo-page {
    padding: 34px 0 64px;
  }

  .hvideo-card {
    padding: 14px;
    border-radius: 20px;
  }

  .hvideo-frame {
    border-radius: 15px;
  }
}

@media (max-width: 520px) {
  .hhome-video-feature {
    align-items: flex-start;
  }

  .hhome-video-icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .hhome-video-icon svg {
    width: 38px;
    height: 38px;
  }
}


/* ==========================================================
   HANUUN MOBILE HOME POLISH - 2026-08-13
   Compact Baro hero + safe Akhriso mobile layout
   ========================================================== */

@media (max-width: 760px) {

  /* ---------- BARO HERO ---------- */

  .hhome-hero {
    padding-top: 18px !important;
    padding-bottom: 22px !important;
  }

  .hhome-hero .hhome-shell {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .hhome-hero-panel {
    min-height: 0 !important;
    height: auto !important;

    padding:
      30px 24px
      26px !important;

    border-radius: 24px !important;

    overflow: hidden !important;
  }

  .hhome-hero-content {
    width: 100% !important;
    max-width: none !important;

    padding: 0 !important;
  }

  .hhome-eyebrow {
    margin-bottom: 14px !important;
  }

  .hhome-hero-content h1 {
    max-width: 100% !important;

    margin-bottom: 18px !important;

    font-size:
      clamp(
        2.7rem,
        13vw,
        4rem
      ) !important;

    line-height: .94 !important;
  }

  .hhome-hero-copy {
    max-width: 100% !important;

    margin-bottom: 22px !important;

    font-size: 1.05rem !important;
    line-height: 1.48 !important;
  }

  .hhome-search {
    margin:
      0 0
      18px !important;

    gap: 10px !important;
  }

  .hhome-search input[type="search"] {
    min-height: 58px !important;

    padding:
      12px 18px !important;

    font-size: 1rem !important;
  }

  .hhome-search button {
    min-height: 54px !important;

    padding:
      10px 20px !important;
  }

  /*
   * The decorative mosque is nice,
   * but it is currently responsible for much of the
   * excessive mobile hero height.
   */
  .hhome-hero-art {
    position: absolute !important;

    right: -20px !important;
    bottom: -18px !important;

    width: 52% !important;
    height: 34% !important;

    max-height: 180px !important;

    opacity: .32 !important;

    pointer-events: none !important;
  }


  /* ---------- AKHRISO FEATURE ---------- */

  .hhome-akhriso-feature {
    width: 100% !important;
    max-width: 100% !important;

    display: flex !important;
    flex-direction: column !important;

    min-height: 0 !important;
    height: auto !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding:
      24px 22px
      26px !important;

    overflow: hidden !important;

    border-radius: 24px !important;
  }

  .hhome-akhriso-visual {
    position: relative !important;

    inset: auto !important;

    order: 2 !important;

    width: 100% !important;
    max-width: 100% !important;

    height: 210px !important;
    min-height: 0 !important;

    margin:
      20px 0
      0 !important;

    transform: none !important;
  }

  .hhome-akhriso-visual svg {
    display: block !important;

    width: 100% !important;
    max-width: 320px !important;
    height: 100% !important;

    margin: 0 auto !important;

    object-fit: contain !important;
  }

  .hhome-akhriso-arch {
    max-width: 100% !important;

    left: 50% !important;
    right: auto !important;

    transform:
      translateX(-50%) !important;
  }

  .hhome-akhriso-content {
    position: relative !important;

    inset: auto !important;

    order: 1 !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: left !important;

    transform: none !important;
  }

  .hhome-akhriso-content h2 {
    max-width: 100% !important;

    margin:
      5px 0
      12px !important;

    font-size:
      clamp(
        2rem,
        10vw,
        3rem
      ) !important;

    line-height: 1 !important;
  }

  .hhome-akhriso-content p {
    width: 100% !important;
    max-width: 100% !important;

    margin:
      0 0
      18px !important;

    font-size: 1rem !important;
    line-height: 1.5 !important;

    text-align: left !important;
  }

  .hhome-akhriso-button {
    display: inline-flex !important;

    width: auto !important;
    max-width: 100% !important;

    margin: 0 !important;

    padding:
      12px 20px !important;

    white-space: normal !important;
  }

}


/* Extra-tight iPhones */
@media (max-width: 430px) {

  .hhome-hero-panel {
    padding:
      26px 20px
      22px !important;
  }

  .hhome-hero-content h1 {
    font-size:
      clamp(
        2.55rem,
        12vw,
        3.45rem
      ) !important;
  }

  .hhome-akhriso-feature {
    padding:
      22px 19px
      24px !important;
  }

  .hhome-akhriso-visual {
    height: 180px !important;
  }

}


/* ==========================================================
   HANUUN MOBILE PRIMARY NAV
   Keep navigation available in portrait mode.
   Horizontal swipe/scroll row beneath branding.
   ========================================================== */

@media (max-width: 820px) {

  .site-header {
    overflow: visible !important;
  }

  .site-header-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    width: 100% !important;

    gap: 8px !important;
    padding-bottom: 10px !important;
  }

  .site-nav {
    display: flex !important;

    width: 100% !important;
    max-width: 100% !important;

    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;

    gap: 20px !important;

    margin: 0 !important;
    padding:
      7px 4px
      9px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    white-space: nowrap !important;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;

    scroll-behavior: smooth;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto !important;

    display: inline-flex !important;
    align-items: center !important;

    min-height: 34px !important;

    padding:
      4px 0 !important;

    color: inherit;

    font-size: .93rem !important;
    line-height: 1.2 !important;

    white-space: nowrap !important;
  }

}


/* Slightly tighter on narrow iPhones */
@media (max-width: 430px) {

  .site-nav {
    gap: 17px !important;
  }

  .site-nav a {
    font-size: .88rem !important;
  }

}


/* HANUUN DURUUS SHEEKH INDEX START */
.hanuun-duruus-browse:not(.hanuun-duruus-selected)
.hanuun-sheekh-groups{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px
}

.hanuun-duruus-browse:not(.hanuun-duruus-selected)
.hanuun-sheekh-group{
    margin:0
}

.hanuun-duruus-sheekh-link{
    position:relative;
    min-height:126px;
    padding-right:64px;
    color:inherit;
    text-decoration:none;
    cursor:pointer;
    transition:transform .18s ease
}

.hanuun-duruus-sheekh-link:after{
    content:"\2192";
    position:absolute;
    right:22px;
    top:50%;
    transform:translateY(-50%);
    color:#f1be47;
    font-size:1.9rem
}

.hanuun-duruus-sheekh-link:hover,
.hanuun-duruus-sheekh-link:focus-visible{
    transform:translateY(-2px)
}

.hanuun-duruus-back{
    display:inline-block;
    margin:0 0 18px;
    color:#f1be47;
    font-weight:800;
    text-decoration:none
}

.hanuun-duruus-back:hover,
.hanuun-duruus-back:focus-visible{
    text-decoration:underline
}

@media(max-width:760px){
    .hanuun-duruus-browse:not(.hanuun-duruus-selected)
    .hanuun-sheekh-groups{
        grid-template-columns:1fr;
        gap:14px
    }

    .hanuun-duruus-sheekh-link{
        min-height:112px;
        padding-right:54px
    }

    .hanuun-duruus-sheekh-link:after{
        right:17px;
        font-size:1.65rem
    }
}
/* HANUUN DURUUS SHEEKH INDEX END */
