/* Manfath's publication surface over pinned Edition content and navigation. */
@font-face {
    font-family: "ManFath Digits";
    src: url("../fonts/thmanyahsans-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039;
}
@font-face {
    font-family: "ManFath Text";
    src: url("../fonts/Arsenica-Arabic-Antiqua-Demibold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
:root {
    --font-manfath: "ManFath Digits", "ManFath Text";
    --font-sans: var(--font-manfath);
    --font-serif: var(--font-manfath);
    --gh-font-heading: var(--font-manfath);
    --gh-font-body: var(--font-manfath);
    --brand-color: #173f39;
    --ghost-accent-color: #173f39;
    --primary-text-color: #172421;
    --secondary-text-color: #59645f;
    --white-color: #fafbf9;
    --lighter-gray-color: #edf1ee;
    --light-gray-color: #d5dcd7;
    --dark-gray-color: #59645f;
    --darker-gray-color: #172421;
    --black-color: #172421;
    --color-white: #fafbf9;
    --color-primary-text: #172421;
    --color-secondary-text: #59645f;
    --color-light-gray: #d5dcd7;
    --color-darker-gray: #172421;
    --container-width: 1240px;
    --content-width: 700px;
    --gap: 40px;
    --navbar-height: 72px;
    --head-nav-gap: 28px;
}
html { scroll-padding-top: 92px; scrollbar-color: #9daea4 #fafbf9; }
body { background: #fafbf9; color: #172421; accent-color: #173f39; caret-color: #173f39; }
button, input, select, textarea { font-family: var(--font-manfath); }
::selection { background: #cce2d8; color: #172421; }
:is(h1, h2, h3) { text-wrap: balance; font-weight: 700; }
a { text-underline-offset: .3em; }
a:hover { color: #276c60; }
:focus-visible, .feed:focus-within { outline: 3px solid #276c60; outline-offset: 5px; }
button:disabled { opacity: .5; cursor: default; }
input::placeholder, textarea::placeholder { color: #59645f; opacity: 1; }
.newsroom-skip { background: #fafbf9; color: #172421; position: fixed; }
.site-content { padding-block: 56px 72px; }
.page-template .site-content { padding-block: 56px 72px; }
#gh-head {
    position: sticky;
    top: 0;
    z-index: 90;
    height: 72px;
    background: #fafbf9;
    color: #172421;
    border-bottom: 1px solid #d5dcd7;
}
#gh-head .gh-head-inner { max-width: 1240px; margin-inline: auto; }
.gh-head-logo { display: block; }
#gh-head .manfath-brand-logo {
    display: block;
    width: 116px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
}
.gh-head .nav a, .gh-foot .nav a { display: inline-flex; align-items: center; min-height: 44px; }
.gh-head .manfath-primary-nav { gap: 4px; }
.gh-head .manfath-primary-nav a {
    padding-inline: 12px;
    border-radius: 6px;
    color: #173f39;
    font-weight: 700;
    text-decoration: none;
}
.gh-head .manfath-primary-nav a:hover { background: #e6eee8; color: #173f39; }
.gh-head .manfath-primary-nav .nav-current a { text-decoration: underline; text-decoration-thickness: 1px; }
.gh-head .nav-more-toggle { min-height: 44px; min-width: 44px; }
.gh-dropdown { background: #fafbf9; color: #172421; text-align: start; right: auto; inset-inline-end: -16px; }
/* Keep navigation visible if Edition's enhancement is unavailable. */
body:not(.is-dropdown-loaded) .gh-head-menu .nav > li { opacity: 1; }
.manfath-intro { padding-block: 8px 56px; }
.manfath-intro p { max-width: 60ch; margin: 0; font-size: 1.8rem; line-height: 1.9; color: #59645f; }
.manfath-lead { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 40px; margin-block: 0 56px; padding-bottom: 40px; border-bottom: 1px solid #d5dcd7; }
.manfath-lead-content { min-width: 0; }
.manfath-lead-title { margin: 0; font-size: clamp(2.6rem, 2.6vw, 3.6rem); line-height: 1.55; overflow-wrap: anywhere; }
.manfath-lead-title a::after, .manfath-row .feed-title a::after { content: ""; position: absolute; inset: 0; }
.manfath-lead:focus-within { outline: 3px solid #276c60; outline-offset: 5px; }
.manfath-lead:hover .manfath-lead-title { color: #276c60; }
.manfath-lead-excerpt { margin-block: 16px; font-size: 1.8rem; line-height: 1.9; color: #59645f; overflow-wrap: anywhere; }
.manfath-lead-date { display: block; margin-top: 16px; font-size: 1.4rem; line-height: 1.7; color: #59645f; font-variant-numeric: tabular-nums; }
.manfath-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.manfath-image-fallback { object-fit: contain; padding: 12%; background: #edf1ee; }
.feed-header-title { font-size: 2rem; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.feed-header { --content-width: 1240px; margin-block: 0 12px; }
.feed-header-wrapper { padding-bottom: 16px; direction: rtl; justify-content: flex-start; text-align: right; }
.post-feed, .post-feed.expanded, .post-feed.text-only { margin-top: 0; }
.gh-feed { --content-width: 1240px; }
.post-feed .manfath-row { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: start; gap: 24px; padding-block: 24px; overflow: visible; }
.post-feed .manfath-row .feed-image { display: block; width: 100%; margin: 0; }
.manfath-row .feed-wrapper { min-width: 0; display: flex; flex-direction: column; overflow: visible; }
.manfath-row .feed-title { margin: 0; padding: 0; font-size: 2rem; line-height: 1.55; white-space: normal; font-weight: 700; letter-spacing: 0; overflow: visible; }
.post-feed .manfath-row .feed-excerpt { display: -webkit-box; max-width: 70ch; margin-top: 8px; font-size: 1.6rem; line-height: 1.9; }
.post-feed .manfath-row .feed-date { display: block; }
.manfath-row .feed-right { margin-top: 8px; }
.feed-right { gap: 12px; line-height: 1.7; font-variant-numeric: tabular-nums; }
.feed-icon { display: none; }
.feed:hover .feed-right, .post-feed.expanded .feed:hover .feed-right { margin-inline-end: 0; margin-right: 0; }
.feed:hover .feed-title { opacity: 1; color: #276c60; }
.feed-month { font-size: 2rem; letter-spacing: 0; }
.single-header { text-align: start; }
.single-title { font-size: clamp(3rem, 4vw, 4.8rem); line-height: 1.5; letter-spacing: 0; }
.single-excerpt { font-size: 1.8rem; color: #59645f; }
.single-media img { aspect-ratio: 16 / 9; object-fit: cover; }
.single-media .manfath-image-fallback { object-fit: contain; }
.manfath-author-names { margin-block: 12px; font-size: 1.6rem; }
.gh-content { font-size: 1.8rem; }
.gh-content a { color: #173f39; }
.gh-content a:hover { color: #276c60; }
.gh-content :is(h2, h3, h4) { line-height: 1.55; letter-spacing: 0; }
.taxonomy { margin-block: 0 48px; }
.newsroom-pagination { margin-block: 40px 0; font-variant-numeric: tabular-nums; }
.newsroom-pagination .button { min-height: 44px; border: 1px solid #d5dcd7; border-radius: 6px; color: #173f39; background: #fafbf9; }
.newsroom-pagination .button:hover { background: #edf1ee; }
.gh-foot { background: #fafbf9; color: #59645f; border-top: 1px solid #d5dcd7; padding-block: 0; white-space: normal; }
.gh-foot .gh-foot-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 24px; min-height: 170px; padding-block: 30px; }
.manfath-foot-brand { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.manfath-foot-logo { width: fit-content; }
.gh-foot .manfath-brand-logo { display: block; width: 144px; height: auto; max-width: 100%; }
.manfath-foot-brand .gh-copyright { margin: 7px 0 12px; color: #666; font-size: 1.4rem; font-weight: 700; line-height: 1.5; }
.gh-foot .manfath-foot-tiktok { display: inline-grid; place-items: center; width: 44px; height: 44px; color: #111; }
.manfath-foot-tiktok .icon { width: 20px; height: 20px; }
.gh-foot-menu { grid-column: 1; grid-row: 1; }
.gh-foot-menu .nav { gap: 8px 24px; flex-direction: row; justify-content: start; }
.gh-foot-menu .nav li + li::before { content: none; }
.gh-foot-menu .nav li + li { margin: 0; }
.gh-powered-by { grid-column: 3; grid-row: 1; font-size: 1.2rem; text-align: end; }
@media (max-width: 700px) {
    .gh-foot .gh-foot-inner { grid-template-columns: 1fr; justify-items: center; gap: 10px; text-align: center; }
    .manfath-foot-brand, .gh-foot-menu, .gh-powered-by { grid-column: 1; grid-row: auto; }
}
@media (min-width: 768px) {
    #gh-head .gh-head-inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; }
    #gh-head .gh-head-menu { justify-content: start; margin: 0; min-width: 0; }
}
@media (max-width: 767px) {
    :root { --gap: 20px; --head-nav-gap: 20px; }
    #gh-head .gh-head-brand { height: 72px; }
    #gh-head .manfath-brand-logo { width: 96px; }
    .site-content, .page-template .site-content { padding-block: 32px 48px; }
    .manfath-intro { padding-block: 8px 36px; }
    .manfath-intro p { font-size: 1.6rem; }
    .manfath-lead { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 36px; padding-bottom: 32px; }
    .manfath-lead-title { font-size: 2.6rem; }
    .manfath-lead-excerpt { font-size: 1.6rem; }
    .post-feed .manfath-row { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding-block: 20px; }
    .manfath-row .feed-title { font-size: 1.8rem; }
    .post-feed .manfath-row .feed-excerpt { font-size: 1.4rem; }
    .single-title { font-size: 3rem; }
    .gh-content { font-size: 1.7rem; }
    .is-head-open #gh-head { height: 100dvh; overflow-y: auto; }
    .is-head-open #gh-head .gh-head-inner { height: auto; min-height: 100%; gap: 24px; }
    .is-head-open #gh-head .gh-head-menu { padding-block: 24px; }
    .is-head-open #gh-head .gh-head-actions { display: none; }
}
