/* Edition composition remains upstream; this overlay handles Arabic reading. */
@font-face {
    font-family: "Thmanyah Sans";
    src: url("../fonts/thmanyahsans-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Thmanyah Sans";
    src: url("../fonts/thmanyahsans-Bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}
:root {
    --font-sans: "Thmanyah Sans", sans-serif;
    --font-serif: "Thmanyah Sans", sans-serif;
    --gh-font-heading: "Thmanyah Sans", sans-serif;
    --gh-font-body: "Thmanyah Sans", sans-serif;
    --secondary-text-color: #636363;
}
body { font-family: var(--font-sans); }
h1, h2, h3, h4, .feed-title, .single-title, .feed-header-title, .feed-month {
    letter-spacing: 0;
    line-height: 1.5;
}
.gh-content, .feed-excerpt, .single-excerpt { line-height: 1.9; }
.gh-content { text-align: start; }
.gh-content a, .gh-content p, .single-title, .feed-title { overflow-wrap: anywhere; }
.gh-content a { unicode-bidi: plaintext; }
pre, code, kbd, .pswp { direction: ltr; unicode-bidi: isolate; }
.gh-content :is(ul, ol) { padding-left: 0; padding-inline-start: 2rem; }
.feed-calendar { margin-right: 0; margin-inline-end: 1.5rem; }
.feed-image { margin-right: 0; margin-inline-end: 2.5rem; }
.post-feed.right-thumbnail .feed-image { margin-left: 0; margin-inline-start: 2.5rem; }
.feed-title { padding-right: 0; padding-inline-end: 1rem; }
.feed-right { flex-wrap: wrap; row-gap: 0.5rem; }
.feed-icon { right: auto; left: 0; transform: translateX(-2rem) scaleX(-1); }
.feed:hover .feed-icon { transform: translateX(-0.4rem) scaleX(-1); }
.feed:hover .feed-right { margin-right: 0; margin-inline-end: 1.6rem; }
.post-feed.expanded .feed:hover .feed-right { margin-inline-end: 0; }
.navigation-icon { transform: scaleX(-1); }
/* Tiny Slider calculates physical LTR offsets; its text remains Arabic RTL. */
.featured-wrapper .tns-outer { direction: ltr; }
.featured-feed article { direction: rtl; }
.featured-wrapper .tns-visually-hidden {
    left: 0 !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.newsroom-pagination { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; align-items: center; }
.newsroom-empty { padding-block: 3rem; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.feed:focus-within { outline: 2px solid currentColor; outline-offset: 4px; }
.newsroom-skip { position: absolute; inset-inline-start: 1rem; top: -10rem; z-index: 100; background: #fff; color: #15171a; padding: 1rem; }
.newsroom-skip:focus { top: 1rem; }
/* Also suppress Ghost's seeded signup navigation until the owner removes it. */
.gh-head-menu li:has(a[href*="#/portal"]),
.gh-foot-menu li:has(a[href*="#/portal"]) { display: none; }
@media (max-width: 767px) {
    .gh-head-brand { gap: 8px; }
    .gh-head-brand > .gh-search, .gh-burger {
        width: 44px;
        height: 44px;
        margin: 0;
        flex-shrink: 0;
    }
}
@media (max-width: 575px) {
    .post-feed.expanded .feed-image { margin: 0 0 3rem; }
    .feed-wrapper { min-width: 0; }
    .feed-title { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
