/* Fath Al-Rahman — modern interface, Round 11. */
/* ==================== Variables ==================== */
:root {
    --fath-green: #064d49;
    --fath-green-dark: #073d3b;
    --fath-green-deep: #083e3b;
    --fath-green-nav: #05605a;
    --fath-gold: #c5962d;
    --fath-gold-light: #f4df9b;
    --fath-gold-dark: #8a6212;
    --fath-cream: #f6f1e8;
    --fath-cream-soft: #f9f6ef;
    --fath-card: #fcfbf9;
    --fath-line: #eadfca;
    --fath-text: #2c3b38;
    --fath-white: #ffffff;
}
/* ==================== Base ==================== */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    min-width: 320px;
}
body {
    min-width: 320px;
    margin: 0;
    background: radial-gradient(circle at 12% 20%, rgba(197,150,45,.028) 0 2px, transparent 2.5px), radial-gradient(circle at 82% 72%, rgba(6,77,73,.022) 0 2px, transparent 2.5px), linear-gradient(135deg, #f3ede5 0%, #f9f6ef 52%, #f6f1e8 100%);
    background-size: 42px 42px, 56px 56px, auto;
    color: var(--fath-text);
    direction: rtl;
    text-align: justify;
    font-family: "Noto Naskh Arabic", Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 2.05;
}
img {
    vertical-align: middle;
}
a {
    -webkit-tap-highlight-color: transparent;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    top: 8px;
    right: 8px;
    z-index: 10000;
    transform: translateY(-180%);
    padding: 9px 16px;
    border-radius: 8px;
    background: #fff;
    color: var(--fath-green);
    font-family: Cairo, Tahoma, Arial, sans-serif;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(0,0,0,.2);
}
.skip-link:focus {
    transform: translateY(0);
    outline: 3px solid var(--fath-gold);
    outline-offset: 2px;
}
/* ==================== Header / navigation / footer v11 ==================== */
#header_01.site-header {
    --hh: clamp(88px, 7.5vw, 132px);
    position: relative;
    width: 100%;
    height: var(--hh);
    overflow: hidden;
    background: #c9963a url("../images/header/header-with-logo.jpg") right center / cover no-repeat;
}
.author-name {
    position: absolute;
    left: 30.6%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    width: min(31vw, 390px);
    padding: 5px 14px;
    text-align: center;
    color: #fff;
}
.author-name::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 12px;
    background: radial-gradient(ellipse at center, rgba(88,52,6,.28), transparent 72%);
}
.author-title,
.author-full {
    display: block;
    font-family: Cairo, Tahoma, Arial, sans-serif;
    text-shadow: 0 1px 3px rgba(70,38,0,.55);
}
.author-title {
    color: #fff7e0;
    font-size: clamp(12px, 1.05vw, 16px);
    font-weight: 500;
    line-height: 1.45;
}
.author-full {
    color: #fff;
    font-size: clamp(16px, 1.6vw, 24px);
    font-weight: 700;
    line-height: 1.5;
}
.logo-link {
    position: absolute;
    top: 0;
    right: max(6.25vw, calc(var(--hh) * .842));
    bottom: 0;
    z-index: 3;
    display: block;
    width: max(10.9vw, calc(var(--hh) * 1.464));
}
#header_02.site-nav {
    width: 100%;
    height: 48px;
    background: linear-gradient(180deg, #05605a 0%, #083e3b 100%);
    border-top: 1px solid rgba(244,223,155,.55);
    border-bottom: 1px solid #043433;
    direction: rtl;
}
.nav-inner {
    width: min(1240px, 100%);
    height: 48px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
}
.nav-item {
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-family: Cairo, Tahoma, Arial, sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    border-left: 1px solid rgba(255,255,255,.12);
    transition: background .18s ease, color .18s ease;
}
.nav-item:last-child {
    border-left: 0;
}
.nav-item:hover:not(.active) {
    background: rgba(255,255,255,.08);
}
.nav-item.active {
    color: #173f3b;
    background: linear-gradient(180deg, #f1d18a 0%, #e2b558 100%);
}
.nav-icon {
    flex: 0 0 auto;
    display: inline-block;
    color: currentColor;
    font-variant-emoji: text;
}
.nav-icon use {
    pointer-events: none;
}
.page-shell {
    width: min(1440px, calc(100% - 96px));
    margin: 18px auto 34px;
}
.page-breadcrumb {
    min-height: 34px;
    margin: 0 4px 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #8a6212;
    font-family: Cairo, Tahoma, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.6;
}
.page-breadcrumb ol {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}
.page-breadcrumb li {
    display: flex;
    align-items: center;
}
.page-breadcrumb a {
    display: inline-flex;
    align-items: center;
    color: #8a6212;
    font-weight: 700;
    text-decoration: none;
}
.page-breadcrumb strong {
    color: #8a6212;
    font-weight: 700;
}
.breadcrumb-icon {
    flex: 0 0 auto;
    margin-inline-end: 6px;
    color: #8a6212;
}
.breadcrumb-separator {
    color: var(--fath-gold);
    font-size: 18px;
}
.page-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 20px;
    text-align: center;
}
.page-heading::before,
.page-heading::after {
    content: "";
    flex: 0 1 190px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--fath-gold), transparent);
}
.page-heading h1 {
    flex: 0 0 auto;
    margin: 0;
    color: var(--fath-green);
    font-family: Cairo, Tahoma, Arial, sans-serif;
    font-size: clamp(24px, 2.3vw, 34px);
    font-weight: 800;
    line-height: 1.35;
}
.heading-ornament {
    flex: 0 0 auto;
    width: 44px;
    height: 32px;
}
.content-card {
    width: 100%;
    padding: 34px 28px 30px;
    border: 1px solid var(--fath-line);
    border-radius: 24px;
    background: var(--fath-card);
    box-shadow: 0 10px 30px rgba(76,59,24,.08);
    text-align: start;
}
/* ==================== Home page ==================== */
.home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 305px;
    grid-template-areas: "main aside";
    gap: 34px;
    direction: rtl;
    align-items: start;
}
.home-main {
    grid-area: main;
    min-width: 0;
}
.home-aside {
    grid-area: aside;
    width: 305px;
    justify-self: start;
    text-align: center;
}
.home-photo {
    width: 297px;
    margin: 0 auto 10px;
    padding: 6px;
    border: 1px solid #d9c48d;
    border-radius: 14px;
    background: #f7f0de;
    box-shadow: 0 5px 16px rgba(76,59,24,.12);
}
.home-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 9px;
}
.ornament-divider {
    display: block;
    width: 320px;
    max-width: 100%;
    height: 26px;
    margin: 0 auto 12px;
}
.verse-card {
    position: relative;
    margin: 0;
    padding: 18px 40px;
    border-radius: 16px;
    background: #f7f0de;
    color: #0e4a45;
    text-align: center;
}
.verse-card p {
    margin: 0 0 2px;
    font-family: Amiri, "Noto Naskh Arabic", serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.65;
}
.verse-card cite {
    font-family: "Noto Naskh Arabic", Tahoma, Arial, sans-serif;
    font-size: 15px;
    font-style: normal;
    color: #6f5a2b;
}
.home-main > p {
    margin: 0 0 24px;
    color: #2c3b38;
    font-family: "Noto Naskh Arabic", Tahoma, Arial, sans-serif;
    font-size: 17px;
    line-height: 2.1;
    text-align: justify;
}
.mission {
    margin: 0 0 20px;
}
.mission-title {
    margin: 0 0 10px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 12px;
    background: #f3ead2;
    color: #7a5a13;
    font-family: Cairo, Tahoma, Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
}
.mission-icon {
    flex: 0 0 auto;
    color: var(--fath-green);
}
.mission-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.mission-list > li {
    position: relative;
    min-height: 34px;
    margin: 5px 0;
    padding: 4px 52px 4px 14px;
    border-radius: 999px;
    background: #f3efe3;
    color: #2c3b38;
    line-height: 1.9;
}
.mission-number {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(180deg, #dfb04a 0%, #b98418 100%);
    color: #fff;
    font-family: Cairo, Tahoma, Arial, sans-serif;
    font-weight: 700;
    font-size: 13px;
}
.mission-list > li > ul {
    margin: 6px 0 0;
    padding: 0 18px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 28px;
    list-style: none;
}
.mission-list > li > ul li {
    position: relative;
    padding-right: 15px;
}
.info-box {
    position: relative;
    padding: 15px 52px 15px 18px;
    border: 1px solid #cfe0d8;
    border-radius: 14px;
    background: #f2f6f3;
}
.info-box p {
    margin: 0;
    color: #2c3b38;
    font-size: 17px;
    line-height: 2.1;
    text-align: justify;
}
.info-leaf {
    position: absolute;
    top: 16px;
    right: 15px;
    color: var(--fath-green);
}
/* ==================== Reader 12B ==================== */
.reader {
    width: 100%;
    margin: 0 auto 24px;
    direction: rtl;
}
.reader-bar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid #d9c48d;
    border-radius: 14px;
    background: linear-gradient(180deg, #fffdf8 0%, #f4ead4 100%);
    box-shadow: 0 4px 14px rgba(76,59,24,.07);
}
.reader-bar > .picker,
.reader-bar > .tab-bar,
.reader-bar > .reader-pager-slot,
.reader-bar > .play-btn,
.reader-bar > .loading {
    margin: 3px;
}
.picker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 0;
    padding: 5px 7px;
    border: 1px solid #e0d3b5;
    border-radius: 10px;
    background: rgba(255,255,255,.78);
    color: var(--fath-green);
}
.picker legend {
    padding: 0;
}
.picker-field {
    display: flex;
    align-items: center;
    min-width: 0;
    margin: 2px 4px;
    font-family: Cairo, Tahoma, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
}
.picker-field label {
    margin-left: 6px;
    color: #6d5317;
    white-space: nowrap;
}
.picker select,
.pager select {
    min-width: 64px;
    min-height: 38px;
    height: 38px;
    padding: 5px 8px;
    border: 1px solid #cdb57b;
    border-radius: 8px;
    background: #fffef9;
    color: #174d49;
    font: 600 14px Tahoma, Arial, sans-serif;
}
.picker-field:first-child select {
    min-width: 68px;
}
.play-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #cdb57b;
    border-radius: 9px;
    background: #fffef9;
    color: #17615b;
    font-family: Cairo, Tahoma, Arial, sans-serif;
    font-weight: 700;
    text-decoration: none;
}
.play-btn:hover {
    color: #a47418;
    background: #fff9ea;
}
.loading {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tab-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.tab-bar button {
    position: relative;
    min-width: 122px;
    min-height: 44px;
    margin: 3px;
    padding: 7px 10px;
    border: 1px solid #d7c28f;
    border-radius: 10px;
    background: #fffdf7;
    color: #26534e;
    box-shadow: 0 2px 7px rgba(76,59,24,.06);
    cursor: pointer;
    font: 700 13px Tahoma, Arial, sans-serif;
    text-align: center;
}
.tab-bar button.tabs_Translation_Selected,
.tab-bar button.tabs_Mean_Selected,
.tab-bar button.tabs_Tafseer_Selected,
.tab-bar button.tabs_Aya_Selected {
    color: #fff;
    border-color: #0a514d;
    background: linear-gradient(180deg, #0a615b, #064d49);
    box-shadow: 0 4px 10px rgba(6,77,73,.22);
}
.tab-bar button:focus-visible,
.picker select:focus-visible,
.pager select:focus-visible,
.pager-btn:focus-visible,
.play-btn:focus-visible {
    outline: 2px solid #0a615b;
    outline-offset: 2px;
}
.reader-pager-slot {
    min-width: 0;
}
.pager {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 2px 5px;
    border: 1px solid #e0d3b5;
    border-radius: 10px;
    background: rgba(255,255,255,.68);
}
.pager-btn {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #17615b;
    text-decoration: none;
}
.pager-btn img {
    display: block;
    width: 30px;
    height: 30px;
    max-width: 30px;
    object-fit: contain;
}
.reader-grid {
    display: grid;
    min-width: 0;
    align-items: start;
    gap: 16px;
}
.reader-grid--quran {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 38%);
    grid-template-areas: "mushaf panel";
}
.reader-grid--index {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 38%);
    grid-template-areas: "tree image";
}
.reader-panel {
    grid-area: panel;
    min-width: 0;
}
.reader-mushaf {
    grid-area: mushaf;
    min-width: 0;
    margin: 0;
}
.pane {
    min-width: 0;
    border: 1px solid #ddcfac;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    box-shadow: 0 5px 18px rgba(76,59,24,.08);
}
.reader-data {
    position: relative;
    min-height: 560px;
    padding: 16px;
    overflow: auto;
}
.reader-data::before,
.reader-mushaf::before {
    content: "";
    display: block;
    width: 74px;
    height: 3px;
    margin: 0 auto 12px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, #c5962d, transparent);
}
.reader-data > img,
.pane--image > img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 6px auto 0;
    border-radius: 7px;
}
.reader-mushaf {
    padding: 14px;
}
.mushaf-frame {
    max-width: 100%;
    margin: 0 auto;
    padding: 8px;
    border: 1px solid #ddcfac;
    border-radius: 12px;
    background: #fffdf7;
    box-shadow: 0 4px 14px rgba(76,59,24,.07);
    text-align: center;
}
.mushaf-frame img,
.reader-data img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
.tree-panel img {
    display: inline;
    max-width: none;
    margin: 0;
    vertical-align: middle;
}
.pane--image {
    grid-area: image;
    padding: 16px;
    overflow: auto;
    text-align: center;
}
@media (min-width: 700px) {
  .reader--index .pane--image { position: sticky; top: 8px; align-self: start; max-height: calc(100vh - 16px); overflow: auto; }
}
.pane--tree {
    grid-area: tree;
    min-width: 0;
    padding: 8px;
    overflow-wrap: anywhere;
}
.tree-panel {
    width: 100%;
    min-width: 0;
    overflow: auto;
    direction: rtl;
}
.tree-panel .dTreeNode {
    font-size: 13px;
    line-height: 23px;
}
.tree-shell {
    position: relative;
    z-index: 0;
    width: 100%;
    visibility: visible;
}
.tree-content {
    width: 100%;
    max-width: 100%;
    text-align: right;
    overflow-wrap: anywhere;
}
.index-list {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    direction: rtl;
}
.index-list li {
    margin: 0;
    border-bottom: 1px solid #eee5d3;
}
.index-list li:nth-child(even) {
    background: #fbf8f0;
}
.index-list a {
    display: block;
    min-height: 44px;
    padding: 9px 12px;
    color: #185650;
    text-decoration: none;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.index-list a:hover {
    color: #a67418;
    background: #fff9ea;
}
.mean-data,
.trans-data {
    width: 100%;
    max-width: 100%;
    color: #293936;
    font-size: 15px;
}
.mean-data section,
.trans-data section {
    margin: 0 0 14px;
    border: 1px solid #e1d5ba;
    border-radius: 11px;
    overflow: hidden;
    background: #fff;
}
.mean-data h3,
.trans-data h3 {
    margin: 0;
    padding: 11px 9px;
    color: #174d49;
    background: linear-gradient(90deg, #f7efd9, #e9d49c);
    font-family: Cairo, Tahoma, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}
.mean-head,
.trans-head {
    display: grid;
    background: #f3eee3;
    color: #4b514e;
    font-weight: 700;
    text-align: center;
}
.mean-head {
    grid-template-columns: 90px minmax(100px, .9fr) minmax(140px, 1.5fr);
}
.trans-head {
    grid-template-columns: 90px minmax(0, 1fr);
}
.mean-head span,
.trans-head span {
    padding: 9px 8px;
    border-bottom: 1px solid #ddcc9f;
}
.mean-data dl {
    display: grid;
    grid-template-columns: minmax(180px, .9fr) minmax(180px, 1.5fr);
    margin: 0;
}
.mean-data dt,
.mean-data dd {
    min-width: 0;
    margin: 0;
    padding: 9px 10px;
    border-bottom: 1px solid #eee7d8;
    line-height: 1.9;
    overflow-wrap: anywhere;
}
.mean-data dt {
    font-weight: 600;
}
.mean-data dd {
    grid-column: 2;
}
.aya-no {
    display: inline-block;
    min-width: 2em;
    color: #8a6212;
    font-weight: 800;
    text-align: center;
}
.trans-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: start;
    border-bottom: 1px solid #eee7d8;
}
.trans-row:nth-child(even) {
    background: #fbf8f0;
}
.trans-row > .aya-no {
    padding: 10px 8px;
}
.trans-row p {
    min-width: 0;
    margin: 0;
    padding: 10px 12px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}
.aya-note {
    color: #0000c0;
}
.empty-note {
    margin: 0;
    padding: 18px 12px;
    text-align: center;
}
.play-page {
    width: min(620px, calc(100% - 20px));
    margin: 24px auto;
    padding: 24px 18px;
    border: 1px solid #d9e3e1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
    color: var(--fath-text);
    font-family: Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
    overflow-wrap: anywhere;
}
.play-page__title {
    font-family: "Noto Naskh Arabic", Tahoma, Arial, sans-serif;
    font-size: 28px;
    line-height: 1.6;
    color: #064d49;
    text-align: center;
    margin: 0 0 8px;
}
.play-page__note {
    color: #555;
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 18px;
}
.play-page__audio {
    display: block;
    width: 100%;
}
/* ==================== Text pages 12A ==================== */
.text-page {
    width: min(100%, 46em);
    max-width: 46em;
    margin: 0 auto 22px;
    color: var(--fath-text);
    font-family: "Noto Naskh Arabic", Tahoma, Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 2.15;
    text-align: justify;
    overflow-wrap: anywhere;
}
.text-page p {
    margin: 0 0 1rem;
    text-align: justify;
    overflow-wrap: anywhere;
}
.text-page p + p {
    text-indent: 1.5em;
}
.text-page h2 {
    margin: 1.25rem 0 .75rem;
    color: var(--fath-green);
    font-family: "Cairo", Tahoma, Arial, sans-serif;
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 800;
    line-height: 1.6;
    text-align: center;
}
.text-page img {
    max-width: 100%;
    height: auto;
}
.image-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 1rem 0 1.25rem;
}
.image-heading img {
    width: auto;
    max-width: 100%;
}
.intro-figure {
    width: 201px;
    height: 185px;
    max-width: 35%;
    float: left;
    margin: 0 0 10px 16px;
}
.intro-page .section-heading {
    font-family: "Cairo", Tahoma, Arial, sans-serif;
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 800;
    line-height: 1.6;
    text-align: center;
    color: var(--fath-green);
    text-indent: 0;
    margin: .5rem 0 .75rem;
}
.intro-page .quran-text {
    color: #0e4a45;
    font-weight: 600;
}
.intro-page .quran-mark {
    color: #8a6212;
    font-weight: 600;
}
.intro-page .signature {
    margin-top: 1.5rem;
    text-align: left;
    text-indent: 0;
}
.cv-page {
    max-width: 58rem;
}
.cv-section {
    margin: 0 0 2rem;
}
.cv-section > h2 {
    margin: 0 0 1rem;
}
.cv-personal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 18px;
    align-items: start;
}
.cv-list {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 10px 18px;
    margin: 0;
}
.cv-list dt,
.cv-list dd {
    margin: 0;
    overflow-wrap: anywhere;
}
.cv-label,
.cv-period {
    color: #8a6212;
    font-weight: 800;
}
.cv-list dd p {
    margin: 0 0 .45rem;
    text-indent: 0;
    text-align: justify;
}
.cv-photo {
    width: 200px;
    margin: 0;
    justify-self: start;
}
.cv-photo img {
    display: block;
    width: 200px;
    height: 200px;
    max-width: 100%;
    object-fit: cover;
}
.cv-research {
    grid-template-columns: max-content minmax(0, 1fr);
}
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    margin: 0 auto;
    padding: 24px;
    color: var(--fath-text);
    font-family: "Noto Naskh Arabic", Tahoma, Arial, sans-serif;
    font-size: 18px;
    font-style: normal;
    line-height: 2;
    text-align: center;
    overflow-wrap: anywhere;
}
.contact-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    color: var(--fath-green);
}
.contact-card img {
    max-width: 100%;
    height: auto;
}
@media (max-width: 699px) {
    .text-page {
        width: 100%;
        max-width: 100%;
        font-size: 17px;
        line-height: 2.1;
    }
    .intro-figure {
        float: none;
        display: block;
        width: 201px;
        max-width: 60%;
        margin: 0 auto 12px;
    }
    .cv-personal-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }
    .cv-photo {
        order: -1;
        justify-self: center;
    }
    .cv-list {
        grid-template-columns: 1fr;
    }
    .cv-label,
    .cv-period {
        margin-top: .35rem;
    }
    .contact-card {
        padding: 18px 10px;
        font-size: 17px;
    }
}

/* ==================== Footer ==================== */
.site-footer {
    width: 100%;
    min-height: 68px;
    height: auto;
    margin: 0;
    padding: 0;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #d6bd84, #bb7e11, #b5922c) 1;
    background: #073d3b;
    color: #fff;
    direction: rtl;
    text-align: start;
}
.site-footer {
    min-height: 68px;
    height: auto;
    font: 400 14px/1.6 "Noto Naskh Arabic", Tahoma, Arial, sans-serif;
    text-align: start;
    direction: rtl;
}
.footer-inner {
    width: min(1440px, calc(100% - 48px));
    min-height: 68px;
    margin: 0 auto;
    padding: 10px 0;
    padding-inline: max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-left));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.footer-brand-links {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.footer-leaf {
    flex: 0 0 auto;
    color: #e9d18a;
}
.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
}
.footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border-left: 1px solid rgba(234,209,138,.35);
    color: #f6e7b8;
    font: 400 15px/1.4 "Noto Naskh Arabic", Tahoma, Arial, sans-serif;
    text-decoration: none;
}
.footer-links a:last-child {
    border-left: 0;
}
.footer-links a:hover {
    color: #fff;
}
.footer-copy {
    color: #f0f3f1;
    font-family: "Noto Naskh Arabic", Tahoma, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}
.footer-copy a {
    color: #f3d37d;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
}
.footer-copy a:hover {
    color: #000088;
}
@media (max-width: 1099px) {
  .footer-inner { flex-direction: column; align-items: stretch; gap: 8px; }
  .footer-brand-links { width: 100%; }
  .footer-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .footer-links a { justify-content: center; padding: 0 6px; text-align: center;
                    border-left: 1px solid rgba(234,209,138,.35); }
  .footer-copy { white-space: normal; text-align: center; }
}
@media (max-width: 480px) { .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* ==================== Accessibility / focus ==================== */
.nav-item:focus-visible,
.footer-links a:focus-visible {
    outline: 3px solid #f4df9b;
    outline-offset: -4px;
    border-radius: 2px;
}
.page-breadcrumb a:focus-visible {
    outline: 3px solid #0a615b;
    outline-offset: 3px;
    border-radius: 3px;
}

/* ==================== Responsive / media queries ==================== */
@media (max-width: 1000px) {
    .author-name {
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0,0,0,0);
        white-space: nowrap;
        left: 0;
        top: 0;
        transform: none;
    }
}
@media (max-width: 900px) {
    .tree-panel .dTreeNode { display: flex; align-items: center; min-height: 44px; font-size: 15px; }
    .tree-panel .dTreeNode img { flex: none; }
    .tree-panel .dTreeNode img[src$="line.gif"],
    .tree-panel .dTreeNode img[src$="empty.gif"],
    .tree-panel .dTreeNode img[src$="join.gif"],
    .tree-panel .dTreeNode img[src$="joinbottom.gif"] { height: 44px; width: 18px; }
    .tree-panel a.node, .tree-panel span.node { font-size: 15px; line-height: 1.5; padding: 0 6px; }
    .tree-panel .treelink a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
    #header_02.site-nav {
        height: auto;
    }
    .nav-inner {
        height: auto;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .nav-item {
        min-height: 56px;
        padding: 5px 4px;
        flex-direction: column;
        gap: 2px;
        font-size: 13px;
        line-height: 1.2;
        border-left: 1px solid rgba(255,255,255,.12);
    }
    .page-breadcrumb a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    .page-shell {
        width: min(100% - 28px, 1440px);
        margin-top: 12px;
    }
    .content-card {
        padding: 26px 20px 24px;
    }
    .page-heading {
        gap: 9px;
    }
    .page-heading::before,
    .page-heading::after {
        flex-basis: 90px;
    }
    .home-layout {
        grid-template-columns: 1fr;
        grid-template-areas: "main" "aside";
        gap: 22px;
    }
    .home-aside {
        width: 100%;
        justify-self: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .home-main > p,
    .info-box p {
        font-size: 16px;
    }
    .mission-list > li > ul {
        grid-template-columns: 1fr;
    }
    .reader-bar {
        align-items: stretch;
    }
    .picker,
    .tab-bar,
    #nxtprv,
    .play-btn,
    .loading {
        flex: 0 1 auto;
    }
    .picker select,
    .pager select,
    .tab-bar button,
    .play-btn,
    .pager-btn {
        min-height: 44px;
    }
    .reader-grid--quran {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "mushaf" "panel";
    }
    .reader-grid--index {
        grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
        grid-template-areas: "tree image";
    }
    .reader-data {
        min-height: 0;
    }
    .mean-data,
    .trans-data {
        font-size: 14px;
    }
}
@media (max-width: 699px) {
    .nav-inner {
        min-height: 56px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    #header_02.site-nav {
        min-height: 56px;
    }
    .nav-item {
        min-height: 56px;
        padding: 5px 3px;
        font-size: 12px;
    }
    .nav-icon {
        width: 22px;
        height: 22px;
    }
    .page-shell {
        width: calc(100% - 20px);
        margin-bottom: 22px;
    }
    .page-breadcrumb {
        min-height: 30px;
        font-size: 12px;
    }
    .page-heading {
        gap: 5px;
        margin-bottom: 13px;
    }
    .page-heading::before,
    .page-heading::after {
        flex-basis: 45px;
    }
    .page-heading h1 {
        font-size: 24px;
    }
    .heading-ornament {
        width: 36px;
        height: 26px;
    }
    .content-card {
        padding: 20px 12px 18px;
        border-radius: 18px;
    }
    .home-layout {
        gap: 0;
    }
    .home-aside {
        display: block;
    }
    .home-photo {
        display: none;
    }
    .verse-card {
        padding: 16px 28px;
    }
    .verse-card p {
        font-size: 24px;
    }
    .home-main > p,
    .info-box p {
        font-size: 16px;
        line-height: 2;
    }
    .mission-title {
        font-size: 16px;
    }
    .mission-pill {
        padding-right: 48px;
        border-radius: 18px;
    }
    .reader-bar {
        padding: 7px;
        overflow: visible;
    }
    .picker {
        width: 100%;
        justify-content: center;
    }
    .picker-field {
        flex: 1 1 120px;
        justify-content: center;
    }
    .picker-field select {
        max-width: 100%;
    }
    .tab-bar {
        width: 100%;
        justify-content: center;
    }
    .tab-bar button {
        flex: 1 1 120px;
        min-width: 0;
    }
    .reader-bar > .reader-pager-slot {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .reader-bar > .play-btn,
    .reader-bar > .loading {
        flex: 0 0 auto;
    }
    .reader-grid--quran,
    .reader-grid--index {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "mushaf" "panel";
    }
    .reader-grid--index {
        grid-template-areas: "tree" "image";
    }
    .pane--tree {
        max-height: 50vh;
        overflow: auto;
    }
    .reader-mushaf,
    .pane--image,
    .reader-data {
        padding: 8px;
    }
    .reader-data {
        min-height: 0;
        overflow: visible;
    }
    .mean-head,
    .trans-head {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0,0,0,0);
        white-space: nowrap;
        border: 0;
    }
    .mean-data dl {
        display: block;
    }
    .mean-data dt,
    .mean-data dd {
        padding: 8px;
    }
    .mean-data dd {
        margin-bottom: 6px;
        background: #fbf8f0;
    }
    .trans-row {
        grid-template-columns: 54px minmax(0, 1fr);
    }
    .tree-panel {
        overflow: visible;
    }
    .tree-content {
        width: 100%;
    }
    .play-page {
        width: calc(100% - 12px);
        padding: 10px 6px;
    }
    .text-page {
        width: 100%;
        max-width: 100%;
        font-size: 17px;
        line-height: 2.1;
    }
    .intro-figure {
        float: none;
        display: block;
        width: 201px;
        max-width: 60%;
        margin: 0 auto 12px;
    }
    .cv-personal-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }
    .cv-photo {
        order: -1;
        justify-self: center;
    }
    .cv-list {
        grid-template-columns: 1fr;
    }
    .cv-label,
    .cv-period {
        margin-top: .35rem;
    }
    .contact-card {
        padding: 18px 10px;
        font-size: 17px;
    }
    .footer-inner {
        width: calc(100% - 20px);
        min-height: 0;
        padding-top: 10px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }
    .footer-copy {
        font-size: 13px;
    }
    .site-footer,
    #footer {
        min-height: 120px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
