/* Generated from css/global-resources.css by tools/rtl/gen.js (rtlcss) — do not edit */
body.global-resource-page {
    background: var(--t-bg);
    color: var(--t-text);
}

.gr-topbar-right {
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gr-main {
    min-height: 100vh;
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 24px 72px;
}

.gr-hero {
    padding: 34px 0 20px;
}

.gr-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 14px;
}

.gr-city {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3.2rem, 10vw, 7rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
}

.gr-date-card {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
    flex-shrink: 0;
    margin-top: 6px;
    text-align: left;
}

.gr-date-day {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(44px, 4.3vw, 66px);
    font-weight: 900;
    color: var(--t-accent);
    line-height: 1;
    letter-spacing: -1px;
}

.gr-date-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding-top: 4px;
    align-items: flex-start;
}

.gr-date-hijri {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(13px, 1.3vw, 16px);
    font-weight: 700;
    color: var(--t-text);
    line-height: 1.2;
}

.gr-date-greg {
    font-size: 12px;
    color: var(--t-text-dim);
}

.gr-section-line {
    height: 1px;
    width: 100%;
    margin: 2rem 0;
    border-radius: 2px;
    background: #8c735521;
}

.gr-next-wrap {
    display: grid;
    gap: 8px;
    margin-top: 0;
    padding-right: 2px;
}

.gr-next-kicker {
    font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    color: var(--t-text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gr-next-label {
    font-size: clamp(1.15rem, 2.25vw, 1.55rem);
    color: var(--t-text);
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.1;
}

.gr-next-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gr-next-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--t-text-dim);
}

.gr-next-icon svg {
    width: 42px;
    height: 42px;
}

.gr-next-icon .gr-icon-mask {
    width: 42px;
    height: 42px;
}

.gr-next-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gr-next-salah-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--t-text-dim);
    opacity: 0.65;
    line-height: 1;
}

.gr-next-sep {
    width: 1px;
    height: 38px;
    background: currentColor;
    opacity: 0.15;
    flex-shrink: 0;
    align-self: center;
}

.gr-next-at-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gr-next-at-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--t-text-dim);
    opacity: 0.65;
    line-height: 1;
}

.gr-next-meta.gr-next-prayer-fajr .gr-next-icon,
.gr-next-meta.gr-next-prayer-isha .gr-next-icon {
    color: #8d6adf;
}

.gr-next-meta.gr-next-prayer-dhuhr .gr-next-icon,
.gr-next-meta.gr-next-prayer-asr .gr-next-icon {
    color: #f4c542;
}

.gr-next-meta.gr-next-prayer-sunrise .gr-next-icon,
.gr-next-meta.gr-next-prayer-maghrib .gr-next-icon {
    color: #f28b30;
}

.gr-next-countdown {
    margin: 1.4rem 0 1.4rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(72px, 11vw, 132px);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums;
    color: var(--t-text);
    direction: rtl;
    text-align: start;
}
.gr-next-countdown i { font-style: normal; opacity: .4; margin: 0 .02em; }
.gr-next-countdown [hidden] { display: none; }

.gr-next-time {
    font-size: clamp(1.15rem, 2.25vw, 1.55rem);
    color: var(--t-text);
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.1;
}

.gr-prayers {
    margin-top: 24px;
    overflow: visible;
}

.gr-prayer-bar {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(170px, 1fr);
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--t-scroll, rgba(0,0,0,0.15)) transparent;
    padding-bottom: 6px;
}

.gr-prayer-bar::-webkit-scrollbar { height: 5px; }
.gr-prayer-bar::-webkit-scrollbar-track { background: transparent; }
.gr-prayer-bar::-webkit-scrollbar-thumb {
    background: var(--t-scroll, rgba(0,0,0,0.15));
    border-radius: 999px;
}

.gr-method-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--t-text-dim);
    padding: 10px 4px 2px;
}

.gr-method-bar strong {
    color: var(--t-text);
    font-weight: 600;
}

.gr-method-sep {
    opacity: 0.4;
}

.gr-method-change {
    color: var(--t-accent);
    font-weight: 600;
    text-decoration: none;
    font-size: 12px;
    opacity: 0.8;
    transition: opacity 0.15s;
}

.gr-method-change:hover {
    opacity: 1;
    text-decoration: underline;
}

.gr-pcard {
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    row-gap: 10px;
    min-height: 145px;
    padding: 14px 14px;
    text-decoration: none;
    color: inherit;
}

.gr-pcard-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--t-text-dim);
}

.gr-pcard-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.gr-pcard-icon svg {
    width: 28px;
    height: 28px;
    color: var(--t-text-dim);
    opacity: 0.55;
}

.gr-pcard-icon .gr-icon-mask {
    width: 28px;
    height: 28px;
}

.gr-icon-mask {
    display: inline-block;
    flex-shrink: 0;
    background-color: currentColor;
    color: inherit;
    opacity: inherit;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
}

.gr-icon-mask-maghrib {
    -webkit-mask-image: url('../../assets/icon/sunset.svg');
    mask-image: url('../../assets/icon/sunset.svg');
}

.gr-icon-mask-isha {
    -webkit-mask-image: url('../../assets/icon/isha.svg');
    mask-image: url('../../assets/icon/isha.svg');
}

.gr-icon-mask-fajr {
    -webkit-mask-image: url('../../assets/icon/fajr.svg');
    mask-image: url('../../assets/icon/fajr.svg');
}

.gr-icon-mask-sunrise {
    -webkit-mask-image: url('../../assets/icon/sunrise-alt.svg');
    mask-image: url('../../assets/icon/sunrise-alt.svg');
}

.gr-icon-mask-dhuhr {
    -webkit-mask-image: url('../../assets/icon/dhuhr.svg');
    mask-image: url('../../assets/icon/dhuhr.svg');
}

.gr-icon-mask-asr {
    -webkit-mask-image: url('../../assets/icon/asr.svg');
    mask-image: url('../../assets/icon/asr.svg');
}

.gr-pcard-time {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.35rem, 2.7vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.4px;
    color: var(--t-text);
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}

.gr-pcard-ampm {
    font-size: 0.45em;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.65;
    text-transform: uppercase;
    line-height: 1;
}

.gr-pcard-rel {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: var(--t-text-dim);
}

.gr-pcard.active {
    background: linear-gradient(-135deg, var(--t-card), rgba(var(--t-accent-rgb), 0.08));
    border-radius: 16px;
}

.gr-pcard.active .gr-pcard-name,
.gr-pcard.active .gr-pcard-time {
    color: var(--t-accent);
}

.gr-pcard.next {
    background: linear-gradient(-135deg, var(--t-card), rgba(var(--t-accent-rgb), 0.12));
    border-radius: 16px;
}

.gr-pcard.next .gr-pcard-name,
.gr-pcard.next .gr-pcard-time {
    color: var(--t-accent);
}

.gr-pcard.active.gr-prayer-dhuhr .gr-pcard-icon svg,
.gr-pcard.active.gr-prayer-dhuhr .gr-pcard-icon .gr-icon-mask,
.gr-pcard.next.gr-prayer-dhuhr .gr-pcard-icon svg,
.gr-pcard.next.gr-prayer-dhuhr .gr-pcard-icon .gr-icon-mask,
.gr-pcard.active.gr-prayer-asr .gr-pcard-icon svg,
.gr-pcard.active.gr-prayer-asr .gr-pcard-icon .gr-icon-mask,
.gr-pcard.next.gr-prayer-asr .gr-pcard-icon svg,
.gr-pcard.next.gr-prayer-asr .gr-pcard-icon .gr-icon-mask {
    color: #f4c542;
    opacity: 0.95;
}

.gr-pcard.active.gr-prayer-maghrib .gr-pcard-icon svg,
.gr-pcard.active.gr-prayer-maghrib .gr-pcard-icon .gr-icon-mask,
.gr-pcard.next.gr-prayer-maghrib .gr-pcard-icon svg,
.gr-pcard.next.gr-prayer-maghrib .gr-pcard-icon .gr-icon-mask {
    color: #f28b30;
    opacity: 0.95;
}

.gr-pcard.active.gr-prayer-fajr .gr-pcard-icon svg,
.gr-pcard.active.gr-prayer-fajr .gr-pcard-icon .gr-icon-mask,
.gr-pcard.next.gr-prayer-fajr .gr-pcard-icon svg,
.gr-pcard.next.gr-prayer-fajr .gr-pcard-icon .gr-icon-mask,
.gr-pcard.active.gr-prayer-isha .gr-pcard-icon svg,
.gr-pcard.active.gr-prayer-isha .gr-pcard-icon .gr-icon-mask,
.gr-pcard.next.gr-prayer-isha .gr-pcard-icon svg,
.gr-pcard.next.gr-prayer-isha .gr-pcard-icon .gr-icon-mask {
    color: #8d6adf;
    opacity: 0.95;
}

.gr-pcard.past {
    opacity: 0.58;
}

.gr-pcard-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--t-accent);
    margin-left: 5px;
    vertical-align: middle;
    animation: gr-pcard-pulse 1.6s infinite;
}

@keyframes gr-pcard-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(var(--t-accent-rgb), 0.5); }
    70%  { box-shadow: 0 0 0 5px rgba(var(--t-accent-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--t-accent-rgb), 0); }
}

@media (max-width: 860px) {
    .gr-topbar-right {
        left: 20px;
    }

    .gr-hero-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .gr-date-card {
        width: 100%;
        justify-content: flex-start;
        text-align: right;
        margin-top: 0;
    }

    .gr-method-bar {
        gap: 4px;
    }

    .gr-main {
        padding-top: 70px;
    }
}

/* ═══════════ SEO content (server-rendered city & hub pages) ═══════════ */
.gr-h1 { margin: 0; font-weight: inherit; }
.gr-h1 .gr-city { display: block; }
.gr-h1-kicker {
    display: block;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--t-text-secondary);
}
.gr-breadcrumb {
    font-size: 13px;
    color: var(--t-text-secondary);
    margin-bottom: 8px;
}
.gr-breadcrumb a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--t-border); }
.gr-breadcrumb a:hover { color: var(--t-text); }
.gr-breadcrumb span[aria-hidden] { margin: 0 6px; opacity: 0.6; }

.gr-seo { margin-top: 56px; display: grid; gap: 44px; }
.gr-seo-block { max-width: 920px; }
.gr-seo-block h2 {
    margin: 0 0 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    line-height: 1.2;
    color: var(--t-text);
}
.gr-seo-block h3 {
    margin: 22px 0 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--t-text-secondary);
}
.gr-seo-block p { margin: 0 0 12px; line-height: 1.7; font-size: 15.5px; color: var(--t-text); }
.gr-seo-block a, .gr-lead a { color: var(--t-accent); text-underline-offset: 3px; }

.gr-table-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--t-border); border-radius: 14px; }
.gr-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14.5px; }
.gr-table caption { text-align: right; padding: 12px 16px; font-size: 13px; color: var(--t-text-secondary); }
.gr-table th, .gr-table td { padding: 10px 16px; text-align: right; border-top: 1px solid var(--t-border); white-space: nowrap; }
.gr-table thead th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t-text-secondary); font-weight: 600; }
.gr-table tbody th { font-weight: 600; }
.gr-table-today { max-width: 520px; }
.gr-table-month tr.is-today { background: rgba(var(--t-accent-rgb), 0.14); }
.gr-table-month tr.is-today th { color: var(--t-accent); }

.gr-faq details { border-top: 1px solid var(--t-border); padding: 14px 0; }
.gr-faq details:last-of-type { border-bottom: 1px solid var(--t-border); }
.gr-faq summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style-position: outside; }
.gr-faq details p { margin: 10px 0 0; }

.gr-city-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gr-city-links a {
    display: inline-block; padding: 6px 12px; border-radius: 999px;
    border: 1px solid var(--t-border); color: var(--t-text); text-decoration: none; font-size: 13.5px;
}
.gr-city-links a:hover { background: var(--t-hover); }

/* Hub */
.gr-hub-head { margin: 24px 0 40px; }
.gr-lead { max-width: 760px; margin: 18px 0 0; line-height: 1.7; font-size: 16px; }
.gr-hub-region { margin-bottom: 40px; }
.gr-hub-region h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; margin: 0 0 14px; }
.gr-hub-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.gr-hub-card {
    display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px;
    background: var(--t-card); border: 1px solid var(--t-border); color: var(--t-text); text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.gr-hub-card:hover { transform: translateY(-2px); box-shadow: var(--t-shadow); }
.gr-hub-city { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.15rem; }
.gr-hub-country { font-size: 12.5px; color: var(--t-text-secondary); }
.gr-hub-times { font-size: 13px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.gr-hub .gr-city { font-size: clamp(2.4rem, 7vw, 4.6rem); }

@media (max-width: 600px) {
    .gr-seo { margin-top: 40px; gap: 36px; }
    .gr-table th, .gr-table td { padding: 9px 12px; }
}

/* ═══════════ SEO round 2: countries ═══════════ */
.gr-h1-country {
    display: block;
    margin-top: 10px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(15px, 1.6vw, 19px);
    font-weight: 500;
    letter-spacing: 0;
    color: var(--t-text-secondary);
}
.gr-seo-block.gr-wide { max-width: none; }
.gr-city-links small { opacity: 0.6; font-size: 11.5px; margin-right: 4px; }
.gr-table a { color: var(--t-text); text-decoration: none; border-bottom: 1px solid var(--t-border); }
.gr-table a:hover { color: var(--t-accent); }
.gr-country-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gr-pop-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.gr-pop-grid a { display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; padding: 10px 13px; border-radius: 12px; border: 1px solid var(--t-border); color: var(--t-text); text-decoration: none; transition: border-color .15s, transform .15s, background .15s; }
.gr-pop-grid a:hover { border-color: var(--t-accent); background: var(--t-hover); transform: translateY(-1px); }
.gr-pop-grid b { font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.gr-pop-grid span { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; color: var(--t-text-secondary); }
.gr-pop-grid i { font-style: normal; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gr-pop-grid img { flex: none; width: 16px; height: 12px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
@media (max-width: 560px) { .gr-pop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } }
.gr-country-grid li[hidden], .gr-hub-region[hidden] { display: none; }
/* hub: flag left, the name over the number of cities (more room for long names) */
.gr-hub .gr-country-grid { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }
.gr-hub .gr-country-grid a { justify-content: flex-start; align-items: center; gap: 12px; padding: 10px 12px; transition: border-color .15s, background .15s, transform .15s; }
.gr-hub .gr-country-grid a:hover { border-color: var(--t-accent); transform: translateY(-1px); }
.gr-flag { flex: none; width: 32px; height: 24px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 2px 6px -2px rgba(0, 0, 0, .25); }
.gr-cn { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gr-cn b { font-weight: 600; font-size: 14.5px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-wrap: balance; }
.gr-cn small { font-size: 12px; color: var(--t-text-secondary); white-space: nowrap; }
/* hub: search for a country or city */
.gr-psearch { position: relative; z-index: 20; display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 4px 0 30px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--t-border); background: var(--t-card); box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .35); }
.gr-psearch:focus-within { border-color: var(--t-accent); }
.gr-psearch > svg { flex: none; width: 19px; height: 19px; color: var(--t-text-secondary); }
.gr-psearch input { flex: 1; min-width: 0; padding: 15px 0; border: 0; background: none; color: var(--t-text); font: inherit; font-size: 16px; outline: none; }
.gr-psearch-res { position: absolute; top: calc(100% + 6px); right: 0; left: 0; list-style: none; margin: 0; padding: 6px; border-radius: 16px; border: 1px solid var(--t-border); background: var(--t-card); box-shadow: 0 22px 46px -18px rgba(0, 0, 0, .45); max-height: 60vh; overflow: auto; }
.gr-psearch-res a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 11px; color: var(--t-text); text-decoration: none; }
.gr-psearch-res li.is-on a, .gr-psearch-res a:hover { background: var(--t-hover, var(--t-bg)); }
.gr-psearch-res a > img { flex: none; width: 24px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.gr-ps-ic { flex: none; display: grid; place-items: center; width: 24px; height: 24px; color: var(--t-accent); }
.gr-ps-ic svg { width: 18px; height: 18px; }
.gr-ps-t { display: flex; flex-direction: column; min-width: 0; }
.gr-ps-t b { font-weight: 600; font-size: 14.5px; }
.gr-ps-t small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--t-text-secondary); }
.gr-ps-t small img { width: 16px; height: 12px; border-radius: 2px; object-fit: cover; }
.gr-psearch-none { margin: -18px 0 24px; color: var(--t-text-secondary); }
@media (max-width: 560px) { .gr-hub .gr-country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .gr-hub .gr-country-grid a { gap: 9px; padding: 9px 10px; } .gr-flag { width: 26px; height: 20px; } .gr-cn b { font-size: 13.5px; } .gr-psearch { margin-bottom: 22px; } }
.gr-country-grid a {
    display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
    padding: 10px 14px; border-radius: 12px; border: 1px solid var(--t-border);
    color: var(--t-text); text-decoration: none; font-size: 14.5px;
}
.gr-country-grid a:hover { background: var(--t-hover); }
.gr-country-grid small { color: var(--t-text-secondary); font-size: 12px; white-space: nowrap; }
.gr-region h3 { margin-top: 18px; }
.gr-seo { grid-template-columns: minmax(0, 1fr); }
.gr-seo-block, .gr-hub-region { min-width: 0; }
.gr-hub .gr-seo-block { margin-top: 48px; }
.gr-h1-country .gr-c { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Ramadan pages */
.ram-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 40px; }
.ram-stats > div { padding: 16px 18px; border-radius: 14px; background: var(--t-card); border: 1px solid var(--t-border); display: flex; flex-direction: column; gap: 6px; }
.ram-stats span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--t-text-secondary); }
.ram-stats strong { font-family: 'Space Grotesk', sans-serif; font-size: 1.35rem; }
.gr-ram-cta { padding: 20px 22px; border-radius: 14px; border: 1px solid var(--t-border); background: rgba(var(--t-accent-rgb), 0.08); }
.gr-ram-cta h2 { font-size: 1.25rem; }
.gr-ram-cta p { margin: 0; }


/* ═══════════ Qur'an surah pages ═══════════ */
.qs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.qs-name-ar { font-family: 'Amiri Quran', 'Amiri', serif; font-size: clamp(2.4rem, 6vw, 4rem); color: var(--t-accent); line-height: 1.6; }
.qs-listen { margin: 0 0 28px; display: grid; gap: 8px; }
.qs-listen audio { width: 100%; max-width: 560px; }
.qs-listen p { margin: 0; font-size: 14px; color: var(--t-text-secondary); }
.qs-listen a, .qs-pager a, .qs-credit a { color: var(--t-accent); }
.qs-verses { margin-top: 32px; border-top: 1px solid var(--t-border); }
.qs-basmala { font-family: 'Amiri Quran', 'Amiri', serif; font-size: 2rem; text-align: center; margin: 28px 0 8px; line-height: 2; }
.qs-ayah { position: relative; padding: 26px 64px 22px 0; border-bottom: 1px solid var(--t-border); }
.qs-num {
    position: absolute; right: 0; top: 28px; min-width: 46px; padding: 4px 8px; border-radius: 999px;
    border: 1px solid var(--t-border); font-size: 12px; text-align: center; color: var(--t-text-secondary); text-decoration: none;
}
.qs-ar { font-family: 'Amiri Quran', 'Amiri', serif; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 2.2; margin: 0 0 10px; text-align: left; color: var(--t-text); }
.qs-tr { margin: 0 0 6px; font-style: italic; color: var(--t-text-secondary); font-size: 15px; line-height: 1.6; }
.qs-en { margin: 0; font-size: 16px; line-height: 1.7; color: var(--t-text); }
.qs-pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 32px 0 8px; font-weight: 600; }
.qs-credit { font-size: 12.5px; color: var(--t-text-secondary); margin-top: 18px; }
.qs-page .gr-lead { margin-top: 24px; }
@media (max-width: 600px) {
    .qs-ayah { padding-right: 0; padding-top: 52px; }
    .qs-num { top: 18px; }
}

/* FAQ accordions: keep everything inside the content column, custom +/− marker on the right */
.gr-faq details, .cal-seo details { padding: 0; }
.gr-faq summary, .cal-seo summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    cursor: pointer;
}
.gr-faq summary::-webkit-details-marker, .cal-seo summary::-webkit-details-marker { display: none; }
.gr-faq summary::after, .cal-seo summary::after {
    content: '+';
    flex: 0 0 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--t-border);
    color: var(--t-text-secondary);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    transition: transform .2s ease, background .2s ease;
}
.gr-faq details[open] summary::after, .cal-seo details[open] summary::after { content: '−'; background: var(--t-hover); }
.gr-faq summary:hover::after, .cal-seo summary:hover::after { background: var(--t-hover); }
.gr-faq details p, .cal-seo details p { margin: 0 0 18px; padding-left: 44px; color: var(--t-text-secondary); line-height: 1.7; }
.gr-faq h2, .cal-seo h2 { margin-bottom: 6px; }
.gr-city-links + p { margin-top: 18px; }

/* Ramadan city page: print / PDF actions */
.ram-print-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: -16px 0 36px; }
.ram-print-btn {
    display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 600;
    padding: 10px 16px; border-radius: 999px; border: 1px solid var(--t-text); background: var(--t-text); color: var(--t-bg); cursor: pointer;
}
.ram-print-btn:hover { opacity: .9; }
.ram-print-btn-alt { background: transparent; color: var(--t-text); border-color: var(--t-border); }
.ram-print-btn-alt:hover { background: var(--t-hover); opacity: 1; }
.ram-print-hint { font-size: 13px; color: var(--t-text-secondary); }


/* City page, desktop: city, countdown and the row of today's prayer times fill exactly the first screen;
   everything else starts below the fold. Sizes follow the window height so the row always fits. */
@media (min-width: 861px) and (min-height: 540px) {
    .gr-main:has(> .gr-fold) { padding-top: calc(64px + clamp(14px, 3.4vh, 32px)); }
    .gr-fold {
        --fold-top: calc(64px + clamp(14px, 3.4vh, 32px));
        display: flex;
        flex-direction: column;
        min-height: calc(100vh - var(--fold-top) - clamp(12px, 3vh, 28px));
        min-height: calc(100svh - var(--fold-top) - clamp(12px, 3vh, 28px));
    }
    .gr-fold .gr-breadcrumb { margin-bottom: 0; }
    .gr-fold .gr-hero { padding: clamp(6px, 2.4vh, 34px) 0 0; flex: 1 0 auto; display: flex; flex-direction: column; }
    .gr-fold .gr-hero-top { margin-bottom: 0; }
    .gr-fold .gr-city { font-size: clamp(2.4rem, min(10vw, 9.5vh), 7rem); }
    .gr-fold .gr-h1-kicker { margin-bottom: clamp(2px, 0.9vh, 10px); }
    .gr-fold .gr-h1-country { margin-top: clamp(2px, 0.9vh, 10px); }
    .gr-fold .gr-section-line { margin: clamp(0.5rem, 2.6vh, 2rem) 0; }
    .gr-fold .gr-next-wrap { flex: 1 0 auto; align-content: center; gap: clamp(2px, 0.8vh, 8px); }
    .gr-fold .gr-next-countdown { margin: clamp(0.2rem, 2vh, 1.6rem) 0 clamp(0.3rem, 2.2vh, 1.8rem); }
    .gr-fold .gr-next-countdown { font-size: clamp(52px, min(15vw, 13vh), 132px); }
    .gr-fold .gr-prayers { margin-top: clamp(6px, 2vh, 24px); }
    .gr-fold .gr-pcard { min-height: clamp(96px, 15vh, 145px); row-gap: clamp(4px, 1vh, 10px); padding-top: clamp(8px, 1.6vh, 14px); padding-bottom: clamp(8px, 1.6vh, 14px); }
    .gr-fold .gr-method-bar { padding-top: clamp(4px, 1.2vh, 10px); }
}
@media (min-width: 861px) and (min-height: 540px) and (max-height: 640px) {
    .gr-fold .gr-pcard { min-height: 84px; }
    .gr-fold .gr-h1-kicker { display: none; }
}

/* hadiths on a topic (prayer times, Ramadan, surah pages) */
.hd-box ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 8px; }
.hd-box li a { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--t-card); border: 1px solid var(--t-border, rgba(0,0,0,.08)); color: var(--t-text); text-decoration: none; line-height: 1.55; font-size: 15px; transition: border-color .15s; }
.hd-box li a:hover { border-color: var(--t-accent); }
.hd-box .hd-dot { flex: none; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: #16a34a; }
.hd-box .hd-dot.is-hasan { background: #0ea5e9; }
.hd-box-more { font-weight: 600; }

/* Ramadan hub: the visitor's own city with its PDF (ramadan.php) */
.ram-mycity { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; padding: 12px 14px; border-radius: 18px; background: var(--t-card); border: 1px solid var(--t-border); }
.ram-mycity[hidden] { display: none; }
.ram-mycity-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--t-accent) 14%, transparent); color: var(--t-accent); }
.ram-mycity-ic svg { width: 20px; height: 20px; }
.ram-mycity-t { flex: 1; min-width: 140px; display: flex; flex-direction: column; line-height: 1.3; }
.ram-mycity-t small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t-accent); }
.ram-mycity-t b { font-size: 15px; color: var(--t-text); }
.ram-mycity a { flex: none; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; }
.ram-mycity-pdf { background: var(--t-accent); color: #fff !important; }
.ram-mycity-go { background: color-mix(in srgb, var(--t-text) 8%, transparent); color: var(--t-text) !important; }

/* Ramadan hub countdown (js/ramadan-hub.js) */
.ram-cd { position: relative; overflow: hidden; min-height: 132px; margin: 0 0 16px; padding: 22px 24px; border-radius: 24px; color: #fff;
    background: radial-gradient(120% 140% at 100% 0%, rgba(250, 204, 21, .18), transparent 55%), linear-gradient(-135deg, #12204a, #1f3f7a); }
.ram-cd::after { content: ''; position: absolute; inset-inline-end: 22px; top: 50%; width: 92px; height: 104px; transform: translateY(-50%); background-color: #facc15; opacity: .85;
    -webkit-mask: url('../../assets/icon/ramadan.svg') center / contain no-repeat; mask: url('../../assets/icon/ramadan.svg') center / contain no-repeat; pointer-events: none; }
.ram-cd > div { display: none; position: relative; z-index: 1; padding-inline-end: 110px; }
.ram-cd.is-before .ram-cd-before, .ram-cd.is-during .ram-cd-during, .ram-cd.is-eid .ram-cd-eid { display: block; }
.ram-cd-k { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #facc15; }
.ram-cd-boxes { display: grid; grid-template-columns: repeat(4, minmax(0, 88px)); gap: 10px; }
.ram-cd-boxes > div { display: flex; flex-direction: column; align-items: center; padding: 12px 6px 10px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.ram-cd-boxes b { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.ram-cd-boxes > div:first-child b { color: #facc15; }
.ram-cd-boxes span { margin-top: 5px; font-size: 11.5px; color: rgba(255, 255, 255, .7); }
.ram-cd-sub { margin: 14px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.ram-cd-day { display: flex; align-items: baseline; gap: 12px; margin: 0; }
.ram-cd-day b { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: #facc15; }
.ram-cd-day span { font-size: 16px; font-weight: 600; }
.ram-cd-bar { height: 8px; margin-top: 14px; max-width: 460px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.ram-cd-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(-90deg, #facc15, #fde68a); }
.ram-cd-eid .ram-cd-k { margin: 0; font-size: 18px; letter-spacing: .02em; text-transform: none; }
@media (max-width: 560px) { .ram-cd { padding: 18px 16px; } .ram-cd::after { width: 56px; height: 64px; top: 18px; transform: none; } .ram-cd > div { padding-inline-end: 0; } .ram-cd-boxes { gap: 6px; grid-template-columns: repeat(4, minmax(0, 1fr)); } .ram-cd-k { padding-inline-end: 70px; } }

/* Ramadan hub countdown for a city (round 104) */
.ram-cd-city { position: relative; z-index: 1; display: flex !important; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 14px; padding-inline-end: 110px; font-size: 14px; }
.ram-cd-city svg { width: 17px; height: 17px; color: #facc15; flex: none; }
.ram-cd-city b { font-weight: 700; }
.ram-cd-change { color: rgba(255, 255, 255, .7) !important; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }
.ram-cd-change:hover { color: #fff !important; }
.ram-cd .ram-cd-k { margin-bottom: 10px; }
.ram-cd-boxes-3 { grid-template-columns: repeat(3, minmax(0, 88px)); }
.ram-cd-during .ram-cd-day { margin-bottom: 14px; }
.ram-cd-acts { position: relative; z-index: 1; display: flex !important; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-inline-end: 0 !important; }
.ram-cd-acts a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; transition: background .2s, transform .15s; }
.ram-cd-acts a:active { transform: scale(.96); }
.ram-cd-acts svg { width: 16px; height: 16px; }
.ram-cd-pdf { background: #facc15; color: #1e2a4f !important; }
.ram-cd-pdf:hover { background: #fde047; }
.ram-cd-print, .ram-cd-go { background: rgba(255, 255, 255, .1); color: #fff !important; border: 1px solid rgba(255, 255, 255, .2); }
.ram-cd-print:hover, .ram-cd-go:hover { background: rgba(255, 255, 255, .18); }
.ram-cd.is-eid .ram-cd-acts { display: none !important; }
@media (max-width: 560px) { .ram-cd-city { padding-inline-end: 64px; } .ram-cd-acts a { flex: 1 1 auto; justify-content: center; } }

/* Mosques in {city} → qibla map on that city */
.gr-mq { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--t-border); }
.gr-mq-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #10936a; background: rgba(16, 147, 106, 0.1); }
.gr-mq-ic svg { width: 24px; height: 24px; }
.gr-mq-body { flex: 1; min-width: 0; }
.gr-mq h2 { font-size: 1.15rem; margin: 0 0 4px; }
.gr-mq p { margin: 0; opacity: .85; }
.gr-seo-block a.gr-mq-go { flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(16, 147, 106, 0.45); color: #10936a; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.gr-seo-block a.gr-mq-go:hover, .gr-seo-block a.gr-mq-go:focus-visible { background: #10936a; color: #fff; }
@media (max-width: 640px) {
    .gr-mq { flex-wrap: wrap; align-items: flex-start; }
    .gr-mq-body { flex-basis: calc(100% - 60px); }
    .gr-mq-go { margin-right: 60px; }
}

/* {city} prayer times on your website → the widget builder with that city */
.gr-wg .gr-mq-ic { color: var(--t-accent); background: rgba(var(--t-accent-rgb), 0.12); }
.gr-seo-block.gr-wg a.gr-mq-go { color: var(--t-accent); border-color: rgba(var(--t-accent-rgb), 0.45); }
.gr-seo-block.gr-wg a.gr-mq-go:hover, .gr-seo-block.gr-wg a.gr-mq-go:focus-visible { background: var(--t-accent); color: #fff; }

/* /bs/vaktija-dijaspora */
.dj-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 28px; }
.dj-jump a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--t-border); color: var(--t-text-secondary); text-decoration: none; font-size: 13px; }
.dj-jump a:hover { color: var(--t-text); background: rgba(var(--t-accent-rgb), 0.08); }
.dj-jump img, .dj-country h2 img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.dj-country { scroll-margin-top: 90px; }
.dj-country h2 { display: flex; align-items: center; gap: 10px; }
.dj-meta { margin: -4px 0 14px; font-size: 13.5px; color: var(--t-text-secondary); }
.dj-all { margin: 10px 0 0; font-size: 13.5px; }
.dj-all a, .dj-hublink a { color: var(--t-accent); text-decoration: none; font-weight: 600; }
.dj-all a:hover, .dj-hublink a:hover { text-decoration: underline; }
.dj-hublink { margin: 16px 0 0; font-weight: 600; }

/* Ramadan hub: important dates */
.ram-dates { margin: 6px 0 26px; }
.ram-dates-t th { text-align: start; font-weight: 600; width: 46%; }
.ram-dates-t small { color: var(--t-text-secondary); font-weight: 400; }
.ram-dates-note { font-size: 13px; color: var(--t-text-secondary); margin: 10px 0 0; }

/* surah pages: about the surah (round 159) */
.qs-about h3 { font-size: 1.02rem; margin: 18px 0 6px; color: var(--t-text); }
.qs-about ul { margin: 0 0 4px; padding-inline-start: 20px; }
.qs-about li { margin: 3px 0; line-height: 1.55; }

/* surah pages: the reader is the place to read and listen (round 160) */
.qs-cta { margin: 6px 0 22px; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(var(--t-accent-rgb), 0.35); background: rgba(var(--t-accent-rgb), 0.07); }
.qs-cta-go { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: var(--t-accent); color: #fff !important; font-weight: 700; font-size: 1.02rem; text-decoration: none; }
.qs-cta-go svg { width: 18px; height: 18px; flex: none; }
.qs-cta-go:hover { filter: brightness(1.07); }
.qs-cta p { margin: 10px 0 0; color: var(--t-text-secondary); font-size: 14px; }
.qs-cta .qs-cta-more { font-size: 13.5px; }
.qs-text-h { font-size: 1.2rem; margin: 0; color: var(--t-text); }
.qs-text { margin: 26px 0 0; border: 1px solid var(--t-border, rgba(127,127,127,.25)); border-radius: 12px; padding: 0 16px; }
.qs-text > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.qs-text > summary::-webkit-details-marker { display: none; }
.qs-text-show { flex: none; font-size: 13px; font-weight: 600; color: var(--t-accent); border: 1px solid currentColor; border-radius: 999px; padding: 3px 12px; }
.qs-text-show::after { content: " \25BE"; }
.qs-text[open] .qs-text-show::after { content: " \25B4"; }
.qs-text[open] { padding-bottom: 12px; }
.qs-cta .qs-cta-more a { color: var(--t-accent); text-decoration: none; font-weight: 600; }
.qs-cta .qs-cta-more a:hover { text-decoration: underline; }
