
body { font-family: 'Public Sans', 'Cairo', sans-serif; overflow-x: hidden; }
.site-footer,
.site-footer *:not(.material-symbols-outlined) {
    font-family: 'Cairo', 'El Messiri', 'Public Sans', sans-serif !important;
}
.site-footer .material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
}
/* Global themed scrollbars (primary green thumb, neutral track; dark mode variants) */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(13, 99, 27, 0.48) rgba(237, 241, 238, 0.92);
}
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
*::-webkit-scrollbar-track {
    background: rgba(237, 241, 238, 0.92);
    border-radius: 9999px;
}
*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(13, 99, 27, 0.55), rgba(13, 99, 27, 0.32));
    border-radius: 9999px;
    border: 2px solid rgba(237, 241, 238, 0.92);
}
*::-webkit-scrollbar-thumb:hover {
    background: rgba(13, 99, 27, 0.68);
}
*::-webkit-scrollbar-corner {
    background: transparent;
}
html.dark * {
    scrollbar-color: rgba(136, 217, 130, 0.52) rgba(26, 34, 32, 0.96);
}
html.dark *::-webkit-scrollbar-track {
    background: rgba(26, 34, 32, 0.96);
}
html.dark *::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(136, 217, 130, 0.55), rgba(13, 99, 27, 0.42));
    border-color: rgba(26, 34, 32, 0.96);
}
html.dark *::-webkit-scrollbar-thumb:hover {
    background: rgba(136, 217, 130, 0.78);
}
/* Section carousels: horizontal scroll + snap (mobile / tablet) */
.section-carousel {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.section-carousel::-webkit-scrollbar {
    height: 6px;
}
.section-carousel::-webkit-scrollbar-thumb {
    background: rgba(13, 99, 27, 0.35);
    border-radius: 9999px;
}
.section-carousel__card {
    scroll-snap-align: start;
    flex: 0 0 auto;
}
/* Quick Actions Bento: compact “app row” cards on small screens */
@media (max-width: 767px) {
    .quick-actions-bento .section-carousel {
        gap: 0.65rem;
        padding-bottom: 0.5rem;
        scroll-padding-inline: 1rem;
    }
    .quick-actions-bento .quick-action-card {
        width: min(88vw, 18.5rem) !important;
        min-height: 5.25rem;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: start !important;
        padding: 0.85rem 1rem !important;
        border-radius: 1rem !important;
        gap: 0.75rem;
    }
    .quick-actions-bento .quick-action-text {
        min-width: 0;
        flex: 1;
        text-align: start;
    }
    .quick-actions-bento .quick-action-icon-wrap {
        margin-bottom: 0 !important;
        width: 3rem !important;
        height: 3rem !important;
        min-width: 3rem;
        min-height: 3rem;
    }
    .quick-actions-bento .quick-action-icon-wrap .material-symbols-outlined {
        font-size: 1.5rem !important;
    }
    .quick-actions-bento .quick-action-text h3 {
        font-size: 0.95rem !important;
        line-height: 1.3;
    }
    .quick-actions-bento .quick-action-text p {
        font-size: 0.7rem !important;
        line-height: 1.35;
        margin-top: 0.2rem !important;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }
}
/* Hero CTA block: app-style card on small screens only */
@media (max-width: 639px) {
    .hero-banner {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .hero-cta-block {
        width: 100%;
        max-width: none;
        border-radius: 1.15rem;
        padding: 1.125rem 1rem 1.25rem;
        background: rgba(255, 255, 255, 0.16);
        border-color: rgba(255, 255, 255, 0.32);
        box-shadow: 0 14px 44px -14px rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
    .hero-cta-title {
        font-size: clamp(1.45rem, 5.2vw + 0.55rem, 2rem);
        line-height: 1.2;
        letter-spacing: -0.02em;
        margin-bottom: 0.65rem;
    }
    .hero-cta-lede {
        font-size: 0.8125rem;
        line-height: 1.65;
        margin-bottom: 1rem;
        color: rgba(255, 255, 255, 0.94);
    }
    .hero-cta-actions {
        gap: 0.65rem;
    }
    .hero-cta-actions > button {
        min-height: 3rem;
        border-radius: 0.9rem;
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }
}
/* Hero carousel: فيديو + صورة دار البلدية */
.hero-slider__slide {
    transition: opacity 0.55s ease;
}
.hero-slider__slide:not(.hero-slider__slide--active) {
    opacity: 0;
    pointer-events: none;
}
.hero-slider__slide--active {
    opacity: 1;
    z-index: 1;
}
/* تنقّل احترافي: كapsule + زجاج + فواصل */
.hero-slider__nav-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.45rem;
    border-radius: 9999px;
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.14) 0%,
        rgba(255, 255, 255, 0.05) 45%,
        rgba(12, 22, 18, 0.55) 100%
    );
    /*border: 1px solid rgba(255, 255, 255, 0.22);*/
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 8px 32px rgba(0, 0, 0, 0.38),
        0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
@media (min-width: 640px) {
    .hero-slider__nav-inner {
        gap: 0.5rem;
        padding: 0.45rem 0.65rem;
    }
}
.hero-slider__nav-divider {
    width: 1px;
    height: 1.35rem;
    flex-shrink: 0;
    border-radius: 9999px;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(255, 255, 255, 0.2) 30%,
        rgba(255, 255, 255, 0.2) 70%,
        transparent
    );
    opacity: 0.85;
}
.hero-slider__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    border: none;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    cursor: pointer;
    touch-action: manipulation;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.hero-slider__btn:hover {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.hero-slider__btn:active {
    transform: scale(0.94);
}
.hero-slider__btn:focus {
    outline: none;
}
.hero-slider__btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}
.hero-slider__btn .material-symbols-outlined {
    font-size: 1.375rem;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    opacity: 0.92;
}
.hero-slider__dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.2rem;
}
@media (min-width: 640px) {
    .hero-slider__dots {
        gap: 0.55rem;
        padding: 0 0.35rem;
    }
}
.hero-slider__dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: none;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
    touch-action: manipulation;
    transition:
        width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.25s ease,
        box-shadow 0.3s ease,
        transform 0.2s ease;
}
.hero-slider__dot[aria-selected='true'] {
    width: 1.85rem;
    background: linear-gradient(90deg, #0d632f 0%, #2a8f47 55%, #3d9b5c 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 2px 12px rgba(13, 99, 47, 0.55);
}
.hero-slider__dot:hover:not([aria-selected='true']) {
    background: rgba(255, 255, 255, 0.62);
    transform: scale(1.08);
}
.hero-slider__dot:focus {
    outline: none;
}
.hero-slider__dot:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .hero-slider__slide,
    .hero-slider__btn,
    .hero-slider__dot {
        transition-duration: 0.01ms !important;
    }
    .hero-slider__btn:active {
        transform: none;
    }
}
.hero-slider__interact {
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}
/* Footer accordions (mobile collapse; desktop always expanded via JS) */
details.footer-accordion summary {
    list-style: none;
}
details.footer-accordion summary::-webkit-details-marker {
    display: none;
}
details.footer-accordion[open] .footer-accordion-chevron {
    transform: rotate(180deg);
}
/* Tatreez divider.
   NOTE: the design references an artwork file `head.png` that was never delivered
   with the design package — it is not in html/, not in assets/, and not on
   ramallah.ps (that host answers /head.png with an HTML page, i.e. a soft 404).
   The url() was therefore 404-ing on every page load and rendering nothing.
   Until the real artwork is supplied this draws an equivalent tatreez motif in
   pure CSS. TO RESTORE THE ORIGINAL: drop head.png next to this file and swap the
   two background-image lines below. */
.tatreez-divider {
    position: relative;
    z-index: 1;
    width: 25%;
    max-width: 25%;
    margin-inline: auto;
    height: clamp(1.75rem, 5.5vw, 3.25rem);
    min-height: 1.5rem;
    padding: 0.35rem 1rem;
    box-sizing: border-box;
    background-color: transparent;
    /* background-image: url('head.png');  <- re-enable when the artwork exists */
    background-image:
        linear-gradient(135deg, transparent 45%, #9ec927 45%, #9ec927 55%, transparent 55%),
        linear-gradient(45deg,  transparent 45%, #9ec927 45%, #9ec927 55%, transparent 55%);
    background-repeat: repeat-x, repeat-x;
    background-position: center center, center center;
    background-size: 0.85rem 0.85rem, 0.85rem 0.85rem;
    opacity: 0.55;
    overflow: hidden;
    flex-shrink: 0;
}
       .tatreez-divider--between
 
 {
    margin-block: -27.18px;
}
.tatreez-divider--footer {
    max-width: min(100%, 56rem);
    padding-bottom: 0.35rem;
    margin-bottom: 0;
}
h1, h2, h3, h4, .headline { font-family: 'El Messiri', 'Cairo', sans-serif; }
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
/* Header: white bar + subtle weave + flag accent */
.header-kufiya {
    position: relative;
    padding-top: env(safe-area-inset-top, 0px);
  /*  background-color: rgba(255, 255, 255, 0.97);
    background-image:
        repeating-linear-gradient(
            45deg,
            rgba(0, 0, 0, 0.028) 0,
            rgba(0, 0, 0, 0.028) 1px,
            transparent 1px,
            transparent 10px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(0, 0, 0, 0.022) 0,
            rgba(0, 0, 0, 0.022) 1px,
            transparent 1px,
            transparent 10px
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(250, 250, 250, 0.96) 100%
        );*/
    backdrop-filter: blur(14px) saturate(1.02);
    -webkit-backdrop-filter: blur(14px) saturate(1.02);
  /*  border-bottom: 1px solid rgba(15, 23, 15, 0.08);*/
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 1),
        0 1px 0 0 rgba(0, 0, 0, 0.04);
}
.header-kufiya::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(
        to left,
        #ce1126 0%,
        #ce1126 25%,
        #007a3d 25%,
        #007a3d 50%,
        #ffffff 50%,
        #ffffff 75%,
        #000000 75%,
        #000000 100%
    );
    opacity: 0.9;
    pointer-events: none;
}
.scroll-to-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
 
 .md\:text-7xl {
font-size: 3rem !important;
line-height: 1;
    }
@media (min-width: 1280px) {
    .xl\:text-7xl {
        font-size: 3rem !important;
        line-height: 1;
    }
}
/* Full-screen editorial menu (dark overlay + cross-fade panels) */
#fs-menu-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
body.mobile-nav-open #fs-menu-overlay {
    opacity: 1;
    pointer-events: auto;
}
/* Full-menu search: text/placeholder follow direction; WebKit clear button spacing in RTL */
#fs-menu-search-wrap input[type='search'] {
    text-align: start;
}
#fs-menu-search-wrap input[type='search']::-webkit-search-cancel-button {
    margin-inline-start: 0.35rem;
    cursor: pointer;
}
.fs-menu-track {
    position: absolute;
    inset: 0;
}
.fs-menu-view {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.fs-menu-view.fs-menu-view--active {
    opacity: 1;
    pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
    #fs-menu-overlay,
    .fs-menu-view {
        transition-duration: 0.01ms !important;
    }
}
.fs-menu-root-inner {
    width: 100%;
}
.fs-menu-section-title {
    letter-spacing: 0.12em;
}
.fs-menu-group + .fs-menu-group {
    margin-top: 0.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.fs-menu-list--root {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
/* Quick links: mobile = horizontal swipe strip; sm+ = grid */
.fs-menu-list--quick {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.25rem;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
    margin-inline: -0.15rem;
    padding-inline: 0.15rem;
    list-style: none;
}
.fs-menu-list--quick::-webkit-scrollbar {
    height: 5px;
}
.fs-menu-list--quick::-webkit-scrollbar-thumb {
    border-radius: 9999px;
    background: rgba(163, 246, 156, 0.35);
}
.fs-menu-list--quick > li {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: min(46vw, 10.75rem);
    max-width: 11rem;
}
@media (min-width: 640px) {
    .fs-menu-list--quick {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
        overflow: visible;
        flex-wrap: unset;
        margin-inline: 0;
        padding-inline: 0;
        padding-bottom: 0;
        scroll-snap-type: none;
    }
    .fs-menu-list--quick > li {
        width: auto;
        max-width: none;
        min-width: 0;
    }
}
.fs-menu-item--quick {
    padding: 0.85rem 0.65rem !important;
    font-size: clamp(0.8rem, 2.7vw, 0.95rem) !important;
    font-weight: 600;
    text-align: center;
    line-height: 1.35;
    min-height: 4.25rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    box-shadow: 0 2px 12px -4px rgba(0, 0, 0, 0.45);
}
@media (min-width: 640px) {
    .fs-menu-item--quick {
        padding: 0.72rem 0.85rem !important;
        min-height: 3.25rem;
        border-radius: 0.85rem;
        box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.06) inset;
    }
}
.fs-menu-list--sub {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.fs-menu-sub-head {
    direction: ltr;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.fs-menu-sub-title {
    flex: 1;
    min-width: 0;
    font-size: clamp(1.05rem, 3.5vw, 1.25rem);
    font-weight: 800;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.98);
    text-align: start;
}
.fs-menu-item {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.95rem 1.15rem;
    font-size: clamp(0.95rem, 3.2vw, 1.15rem);
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.94);
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.06) inset;
    transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.2s ease;
}
.fs-menu-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.fs-menu-item:focus-visible {
    outline: 2px solid rgba(163, 246, 156, 0.45);
    outline-offset: 2px;
}
.fs-menu-item--sub {
    font-size: clamp(0.88rem, 2.9vw, 1.02rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    text-align: start;
    padding: 0.75rem 1rem 0.75rem 1.1rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
    border-inline-start: 3px solid rgba(13, 99, 27, 0.55);
    box-shadow: none;
}
.fs-menu-item--sub:hover {
    color: #fff;
    background: rgba(13, 99, 27, 0.18);
    border-color: rgba(13, 99, 27, 0.35);
}
.fs-menu-item--branch {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: nowrap;
    width: 100%;
}
.fs-menu-branch-label {
    flex: 1;
    min-width: 0;
    text-align: start;
    line-height: 1.35;
}
.fs-menu-list--sections .fs-menu-item--branch {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-inline-start: 3px solid rgba(163, 246, 156, 0.45);
    padding-inline-start: 1rem;
    background: linear-gradient(to left, rgba(13, 99, 27, 0.14) 0%, rgba(255, 255, 255, 0.045) 52%, rgba(255, 255, 255, 0.045) 100%);
}
.fs-menu-branch-chevron {
    flex-shrink: 0;
}
.fs-menu-search-listbox {
    inset-inline: 0;
    top: calc(100% + 0.35rem);
}
.fs-menu-search-opt {
    display: block;
    width: 100%;
    text-align: start;
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
    transition: background 0.12s ease;
}
.fs-menu-search-opt:hover,
.fs-menu-search-opt.fs-menu-search-opt--active {
    background: rgba(255, 255, 255, 0.08);
}
.fs-menu-search-empty {
    padding: 0.65rem 1rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: start;
}
.fs-menu-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.25rem;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.fs-menu-back:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background-color: rgba(255, 255, 255, 0.1);
}
#fs-menu-source #main-menu {
    display: none;
}
/* Seasonal site themes (toggle via header buttons) */
#festive-layer {
    pointer-events: none;
}
.festive-snow,
.festive-snow--drift,
.festive-snow--fast,
.festive-snow--sway,
.festive-christmas-lights,
.festive-ramadan-garland {
    z-index: 2;
}
.festive-christmas-lights {
    position: absolute;
    left: 0;
    right: 0;
    top: 5rem;
    min-height: 44px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 0.15rem;
    padding: 0 1.25%;
    z-index: 2;
    animation: festive-ramadan-row-sway 9s ease-in-out infinite;
}
.festive-christmas-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    max-width: 2.75rem;
    transform-origin: 50% 0;
    animation: festive-ramadan-pendulum 4.2s ease-in-out infinite;
}
.festive-christmas-pigtail {
    width: 2px;
    height: 11px;
    border-radius: 1px;
    background: linear-gradient(180deg, #4f5c2a, #9ec927 55%, #6a8916);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transform-origin: top center;
    animation: festive-string-shimmer 2.8s ease-in-out infinite;
}
.festive-christmas-socket {
    width: 10px;
    height: 5px;
    margin-top: -1px;
    border-radius: 3px 3px 1px 1px;
    background: linear-gradient(180deg, #111827 0%, #1f2937 55%, #374151 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 2px 3px rgba(0, 0, 0, 0.35);
}
.festive-christmas-bulb {
    width: 14px;
    height: 17px;
    margin-top: -1px;
    border-radius: 50% 50% 48% 48% / 55% 55% 45% 45%;
    opacity: 1;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background:
        radial-gradient(ellipse 65% 50% at 32% 18%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.12) 30%, transparent 52%),
        radial-gradient(ellipse 95% 75% at 50% 100%, rgba(0, 0, 0, 0.28) 0%, transparent 48%),
        linear-gradient(
            168deg,
            rgba(255, 255, 255, 0.55) 0%,
            rgba(255, 255, 255, 0.08) 22%,
            currentColor 38%,
            currentColor 72%,
            rgba(0, 0, 0, 0.18) 100%
        );
    box-shadow:
        0 0 6px rgba(255, 255, 255, 0.65),
        0 0 14px currentColor,
        0 0 26px currentColor,
        0 0 38px currentColor,
        0 4px 10px rgba(0, 0, 0, 0.3),
        inset 0 -5px 12px rgba(0, 0, 0, 0.2),
        inset 0 3px 5px rgba(255, 255, 255, 0.45);
    animation:
        festive-bulb-pulse 1.85s ease-in-out infinite,
        festive-bulb-motion 3.4s ease-in-out infinite;
}
@keyframes festive-bulb-pulse {
    0%,
    100% {
        filter: brightness(1.05) saturate(1.08);
    }
    50% {
        filter: brightness(1.5) saturate(1.25);
    }
}
@keyframes festive-bulb-motion {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1) rotate(-2.5deg);
    }
    25% {
        transform: translate3d(1px, -5px, 0) scale(1.06) scaleY(1.12) rotate(2deg);
    }
    50% {
        transform: translate3d(0, -2px, 0) scale(1.04) scaleY(1.08) rotate(0.5deg);
    }
    75% {
        transform: translate3d(-1px, -6px, 0) scale(1.07) scaleY(1.1) rotate(-1.5deg);
    }
}
.festive-ramadan-garland {
    position: absolute;
    left: 0;
    right: 0;
    top: 5rem;
    min-height: 44px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: nowrap;
    padding: 0 1.25%;
    gap: 0.15rem;
    z-index: 2;
    animation: festive-ramadan-row-sway 9s ease-in-out infinite;
}
@keyframes festive-ramadan-row-sway {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    33% {
        transform: translate3d(7px, 2px, 0);
    }
    66% {
        transform: translate3d(-6px, 1px, 0);
    }
}
.festive-ramadan-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    max-width: 3rem;
    transform-origin: 50% 0;
    animation: festive-ramadan-pendulum 4.2s ease-in-out infinite;
}
@keyframes festive-ramadan-pendulum {
    0%,
    100% {
        transform: rotate(-5.5deg);
    }
    50% {
        transform: rotate(5.5deg);
    }
}
.festive-ramadan-string {
    width: 2px;
    height: 11px;
    border-radius: 1px;
    background: linear-gradient(180deg, #4f5c2a, #9ec927 55%, #6a8916);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transform-origin: top center;
    animation: festive-string-shimmer 2.8s ease-in-out infinite;
}
@keyframes festive-string-shimmer {
    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
        filter: brightness(1);
    }
    50% {
        opacity: 0.92;
        transform: scaleY(1.12);
        filter: brightness(1.25);
    }
}
.festive-ramadan-icon {
    margin-top: 1px;
    font-size: clamp(0.85rem, 2.3vw, 1.35rem);
    line-height: 1;
    color: #ebf7cc;
    text-shadow:
        0 0 6px rgba(223, 242, 173, 1),
        0 0 14px rgba(197, 231, 104, 0.95),
        0 0 24px rgba(184, 225, 70, 0.75),
        0 2px 3px rgba(0, 0, 0, 0.45);
    animation: festive-ramadan-icon-glow 2.2s ease-in-out infinite;
}
@keyframes festive-ramadan-icon-glow {
    0%,
    100% {
        filter: brightness(1) drop-shadow(0 0 4px rgba(210, 236, 139, 0.9));
        transform: scale(1);
    }
    50% {
        filter: brightness(1.28) drop-shadow(0 0 12px rgba(230, 244, 191, 1));
        transform: scale(1.06);
    }
}
.festive-snow--drift {
    animation-name: festive-snow-fall-drift;
}
@keyframes festive-snow-fall-drift {
    0% {
        transform: translate3d(0, -10vh, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(-28px, 110vh, 0) rotate(-280deg);
    }
}
.festive-snow--fast {
    animation-duration: 5s !important;
    opacity: 0.75;
}
.festive-snow--sway {
    animation-name: festive-snow-fall-sway;
}
@keyframes festive-snow-fall-sway {
    0% {
        transform: translate3d(10px, -10vh, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(-36px, 110vh, 0) rotate(520deg);
    }
}
body[data-site-theme="christmas"] .header-kufiya {
 /*   background-image:
        repeating-linear-gradient(
            45deg,
            rgba(196, 30, 58, 0.04) 0,
            rgba(196, 30, 58, 0.04) 1px,
            transparent 1px,
            transparent 10px
        ),
        linear-gradient(180deg, rgba(255, 250, 248, 0.98) 0%, rgba(248, 252, 248, 0.96) 100%);*/
}
body[data-site-theme="christmas"] .header-kufiya::after {
    background: linear-gradient(
        to left,
        #c41e3a 0%,
        #c41e3a 22%,
        #1a472a 22%,
        #1a472a 44%,
        #bce350 44%,
        #bce350 66%,
        #1a472a 66%,
        #1a472a 88%,
        #c41e3a 88%,
        #c41e3a 100%
    );
    background-size: 200% 100%;
    animation:
        festive-header-stripe-flow 9s linear infinite,
        festive-header-bar-glimmer 6s ease-in-out infinite;
}
body[data-site-theme="ramadan"] .header-kufiya {
   /* background-image: linear-gradient(
        180deg,
        rgba(30, 58, 95, 0.04) 0%,
        rgba(255, 255, 255, 0.97) 100%
    );*/
}
body[data-site-theme="ramadan"] .header-kufiya::after {
    height: 4px;
    background: linear-gradient(
        to left,
        #1e3a5f 0%,
        #9ec927 18%,
        #1e3a5f 36%,
        #9ec927 54%,
        #1e3a5f 72%,
        #9ec927 90%,
        #1e3a5f 100%
    );
    background-size: 220% 100%;
    opacity: 1;
    animation:
        festive-header-stripe-flow 11s linear infinite reverse,
        festive-header-bar-glimmer 7s ease-in-out infinite reverse;
}
@keyframes festive-header-stripe-flow {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}
@keyframes festive-header-bar-glimmer {
    0%,
    100% {
        filter: brightness(1);
        opacity: 1;
    }
    50% {
        filter: brightness(1.2) saturate(1.15);
        opacity: 0.95;
    }
}
.festive-snow {
    position: absolute;
    top: -2rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.95);
    animation: festive-snow-fall linear infinite;
    will-change: transform;
}
@keyframes festive-snow-fall {
    0% {
        transform: translate3d(0, -10vh, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(12px, 110vh, 0) rotate(360deg);
    }
}
.theme-btn[aria-pressed="true"] {
    background-color: rgba(13, 99, 27, 0.12);
    color: rgb(13, 99, 27);
}
body[data-site-theme="christmas"] .theme-btn[aria-pressed="true"] {
    background-color: rgba(196, 30, 58, 0.12);
    color: #9b1c2e;
}
body[data-site-theme="ramadan"] .theme-btn[aria-pressed="true"] {
    background-color: rgba(30, 58, 95, 0.12);
    color: #1e3a5f;
}
@media (prefers-reduced-motion: reduce) {
    body[data-site-theme="christmas"] .header-kufiya::after,
    body[data-site-theme="ramadan"] .header-kufiya::after {
        animation: none !important;
    }
    .festive-snow,
    .festive-snow--drift,
    .festive-snow--fast,
    .festive-snow--sway,
    .festive-christmas-bulb,
    .festive-christmas-lights,
    .festive-christmas-drop,
    .festive-christmas-pigtail,
    .festive-ramadan-garland,
    .festive-ramadan-drop,
    .festive-ramadan-string,
    .festive-ramadan-icon {
        animation: none !important;
    }
    .festive-christmas-bulb {
        opacity: 0.92;
    }
    .festive-ramadan-icon {
        filter: none !important;
        transform: none !important;
    }
}
/* 2026 section surfaces */
.modern-surface {
    position: relative;
    isolation: isolate;
}
.modern-surface::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.modern-surface > * {
    position: relative;
    z-index: 1;
}
.modern-surface--soft::before {
    background:
        radial-gradient(90rem 38rem at -8% 8%, rgba(13, 99, 27, 0.06) 0%, transparent 52%),
        radial-gradient(72rem 34rem at 108% 98%, rgba(146, 102, 51, 0.06) 0%, transparent 48%),
        linear-gradient(180deg, #fbfdfb 0%, #f5f8f6 48%, #ffffff 100%);
}
.modern-surface--frost::before {
    background:
        radial-gradient(60rem 28rem at 80% -8%, rgba(13, 99, 27, 0.06) 0%, transparent 58%),
        radial-gradient(54rem 24rem at 10% 92%, rgba(71, 102, 68, 0.05) 0%, transparent 56%),
        linear-gradient(180deg, #ffffff 0%, #f7faf8 50%, #ffffff 100%);
}
.modern-surface--violet::before {
    background:
        radial-gradient(80rem 34rem at -6% 0%, rgba(115, 104, 255, 0.07) 0%, transparent 50%),
        radial-gradient(58rem 26rem at 102% 100%, rgba(13, 99, 27, 0.05) 0%, transparent 52%),
        linear-gradient(180deg, #f7f8ff 0%, #f5f7fc 52%, #ffffff 100%);
}
.modern-divider-top::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 1px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, rgba(140, 149, 142, 0.35) 18%, rgba(140, 149, 142, 0.5) 50%, rgba(140, 149, 142, 0.35) 82%, transparent 100%);
}
/* WCAG-style accessibility (similar feature set to Flutter accessibility package) */
html[data-a11y-fs="110"] { font-size: 110%; }
html[data-a11y-fs="125"] { font-size: 125%; }
html[data-a11y-fs="150"] { font-size: 150%; }
html[data-a11y-lh="comfortable"] body { line-height: 1.65; }
html[data-a11y-lh="relaxed"] body { line-height: 1.85; }
html[data-a11y-ls="wide"] body { letter-spacing: 0.05em; }
html[data-a11y-ls="wider"] body { letter-spacing: 0.1em; }
html[data-a11y-ws="wide"] body { word-spacing: 0.05em; }
html[data-a11y-ws="wider"] body { word-spacing: 0.1em; }
html[data-a11y-fw="500"] body { font-weight: 500; }
html[data-a11y-fw="600"] body { font-weight: 600; }
html[data-a11y-ta="justify"] main,
html[data-a11y-ta="justify"] footer { text-align: justify; }
html[data-a11y-ta="center"] main,
html[data-a11y-ta="center"] footer { text-align: center; }
html.a11y-rm *,
html.a11y-rm *::before,
html.a11y-rm *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}
/* High contrast is painted by a fixed full-viewport overlay, NOT a `filter` on
   <body>. A non-`none` filter on an ancestor makes that ancestor the containing
   block for every position:fixed descendant, which detached the floating action
   buttons (.ram-fab-stack), the sticky header, the menu overlay and the festive
   layer from the viewport — they scrolled with the page and stuck mid-screen
   while high contrast was on. A fixed ::before with backdrop-filter tints
   everything painted behind it without becoming a containing block for any real
   element; pointer-events:none lets clicks pass through. The identical rule in
   theme.css styles the SAME ::before pseudo-element, so there is no double tint. */
html.a11y-hc::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    pointer-events: none;
    -webkit-backdrop-filter: contrast(1.18) saturate(1.08);
    backdrop-filter: contrast(1.18) saturate(1.08);
}
html.dark {
    color-scheme: dark;
}
html.dark body {
    background-color: #0f171c;
    color: #e8ece8;
}
html.dark main {
    color: #e8ece8;
}
html.dark .header-kufiya {
    background-color: rgba(18, 26, 32, 0.96) !important;
    background-image:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 10px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 10px),
        linear-gradient(180deg, rgba(22, 30, 36, 0.98) 0%, rgba(15, 23, 28, 0.96) 100%);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.06), 0 1px 0 0 rgba(0, 0, 0, 0.35);
}
html.dark #header-search {
    background-color: #243038 !important;
    border-color: rgba(148, 163, 184, 0.35) !important;
    color: #e8ece8 !important;
}
html.dark #header-search::placeholder {
    color: rgba(180, 196, 188, 0.65) !important;
}
html.dark #header-search:focus {
    background-color: #1a2220 !important;
    border-color: rgba(136, 217, 130, 0.45) !important;
}
.header-search-listbox {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 0.35rem);
    z-index: 50;
    margin: 0;
    max-height: min(42vh, 20rem);
    list-style: none;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.98);
    padding: 0.35rem 0;
    box-shadow:
        0 10px 40px -12px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    -webkit-overflow-scrolling: touch;
}
html.dark .header-search-listbox {
    border-color: rgba(148, 163, 184, 0.28);
    background: rgba(22, 30, 34, 0.98);
    box-shadow:
        0 12px 48px -8px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.header-search-section {
    padding: 0.4rem 1rem 0.25rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(13, 99, 47, 0.85);
    text-align: start;
}
html.dark .header-search-section {
    color: rgba(163, 246, 156, 0.75);
}
.header-search-opt {
    display: block;
    width: 100%;
    text-align: start;
    padding: 0.55rem 1rem;
    font-size: 0.8125rem;
    line-height: 1.35;
    font-weight: 600;
    color: #0d1e25;
    transition: background 0.12s ease;
}
html.dark .header-search-opt {
    color: rgba(232, 236, 232, 0.95);
}
.header-search-opt:hover,
.header-search-opt.header-search-opt--active {
    background: rgba(13, 99, 47, 0.08);
}
html.dark .header-search-opt:hover,
html.dark .header-search-opt.header-search-opt--active {
    background: rgba(163, 246, 156, 0.1);
}
.header-search-empty {
    padding: 0.65rem 1rem;
    font-size: 0.8125rem;
    color: rgba(100, 116, 108, 0.9);
    text-align: start;
}
html.dark .header-search-empty {
    color: rgba(180, 196, 188, 0.55);
}
html.dark .hover\:bg-neutral-100:hover {
    background-color: #2a3430 !important;
}
html.dark .bg-white\/90 {
    background-color: rgba(26, 34, 32, 0.94) !important;
}
html.dark .bg-white\/12 {
    background-color: rgba(255, 255, 255, 0.07) !important;
}
html.dark .bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.06) !important;
}
html.dark .bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.05) !important;
}
html.dark .bg-white\/15 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}
html.dark .modern-surface--soft::before {
    background:
        radial-gradient(90rem 38rem at -8% 8%, rgba(136, 217, 130, 0.08) 0%, transparent 52%),
        radial-gradient(72rem 34rem at 108% 98%, rgba(249, 218, 183, 0.06) 0%, transparent 48%),
        linear-gradient(180deg, #121a20 0%, #0f171c 48%, #0c1216 100%);
}
html.dark .modern-surface--frost::before {
    background:
        radial-gradient(60rem 28rem at 80% -8%, rgba(136, 217, 130, 0.07) 0%, transparent 58%),
        radial-gradient(54rem 24rem at 10% 92%, rgba(173, 208, 166, 0.05) 0%, transparent 56%),
        linear-gradient(180deg, #101820 0%, #0f171c 50%, #0d1418 100%);
}
html.dark .modern-surface--violet::before {
    background:
        radial-gradient(80rem 34rem at -6% 0%, rgba(115, 104, 255, 0.12) 0%, transparent 50%),
        radial-gradient(58rem 26rem at 102% 100%, rgba(136, 217, 130, 0.06) 0%, transparent 52%),
        linear-gradient(180deg, #121826 0%, #0f141c 52%, #0f171c 100%);
}
html.dark .modern-divider-top::after {
    background: linear-gradient(90deg, transparent 0%, rgba(148, 163, 184, 0.28) 18%, rgba(148, 163, 184, 0.4) 50%, rgba(148, 163, 184, 0.28) 82%, transparent 100%);
}
html.dark .text-on-surface { color: #e8ece8 !important; }
html.dark .text-on-surface-variant { color: #b5c4bc !important; }
html.dark .bg-surface-container-lowest { background-color: #1a2220 !important; }
html.dark .bg-surface-container { background-color: #1e2824 !important; }
html.dark .bg-surface-container-high { background-color: #24302a !important; }
html.dark .bg-surface-container-lowest\/95 {
    background-color: rgba(26, 34, 32, 0.96) !important;
}
html.dark .border-outline-variant\/25 { border-color: rgba(196, 203, 192, 0.22) !important; }
html.dark .border-outline-variant\/15 { border-color: rgba(196, 203, 192, 0.16) !important; }
html.dark .border-outline-variant\/50 { border-color: rgba(196, 203, 192, 0.35) !important; }
html.dark .ring-outline-variant\/15 {
    --tw-ring-color: rgba(196, 203, 192, 0.18);
}
html.dark [class*="border-neutral-200"] {
    border-color: rgba(148, 163, 184, 0.32) !important;
}
html.dark [class*="border-neutral-300"] {
    border-color: rgba(148, 163, 184, 0.42) !important;
}
html.dark footer.border-t,
html.dark .border-t.border-neutral-200 {
    border-color: rgba(148, 163, 184, 0.28) !important;
}
html.dark .border-b.border-neutral-200 {
    border-color: rgba(148, 163, 184, 0.28) !important;
}
html.dark .text-slate-400 { color: #94a3b8 !important; }
html.dark .text-slate-500 { color: #94a3b8 !important; }
html.dark .text-slate-600 { color: #cbd5e1 !important; }
html.dark .bg-neutral-50 { background-color: #1a2220 !important; }
html.dark .bg-neutral-50\/80 {
    background-color: rgba(26, 34, 32, 0.88) !important;
}
html.dark .bg-white { background-color: #1a2220 !important; }
html.dark .bg-neutral-100 { background-color: #243038 !important; }
html.dark .shadow-black\/\[0\.04\] {
    --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.45), 0 4px 6px -4px rgba(0, 0, 0, 0.35);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
html.dark .shadow-black\/10 {
    --tw-shadow-color: rgba(0, 0, 0, 0.55);
}
html.dark .shadow-lg.shadow-black\/10 {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.55), 0 4px 6px -4px rgba(0, 0, 0, 0.45) !important;
}
html.dark .ring-black\/5 {
    --tw-ring-color: rgba(255, 255, 255, 0.08);
}
html.dark .ring-black\/10 {
    --tw-ring-color: rgba(255, 255, 255, 0.12);
}
html.dark article.bg-gradient-to-br[class*="via-white"][class*="to-primary"] {
    background-image: linear-gradient(to bottom right, #1a2220, #1c2520, rgba(13, 99, 27, 0.12)) !important;
}
html.dark article.bg-gradient-to-br[class*="via-white"][class*="to-tertiary"] {
    background-image: linear-gradient(to bottom right, #1a2220, #1e1f28, rgba(146, 102, 51, 0.12)) !important;
}
html.dark span.rounded-full.border-white.bg-primary,
html.dark span.rounded-full.border-white.bg-secondary,
html.dark span.rounded-full.border-white.bg-tertiary {
    border-color: #1a2220 !important;
}
html.dark footer.bg-white,
html.dark footer {
    background-color: #0f171c !important;
}
html.dark details.border-neutral-200 {
    border-color: rgba(148, 163, 184, 0.28) !important;
}
html.dark details.bg-neutral-50 {
    background-color: #161d22 !important;
}
html.dark .ring-outline-variant\/20 {
    --tw-ring-color: rgba(196, 203, 192, 0.2);
}
html.dark .border-outline-variant\/40 {
    border-color: rgba(196, 203, 192, 0.28) !important;
}
html.dark .bg-outline-variant\/30 {
    background-color: rgba(196, 203, 192, 0.22) !important;
}
html.dark .bg-primary\/5 {
    background-color: rgba(13, 99, 27, 0.16) !important;
}
html.dark .bg-primary\/10 {
    background-color: rgba(13, 99, 27, 0.18) !important;
}
html.dark .bg-primary\/12 {
    background-color: rgba(13, 99, 27, 0.22) !important;
}
html.dark .hover\:bg-primary\/10:hover {
    background-color: rgba(13, 99, 27, 0.22) !important;
}
html.dark .hover\:bg-primary\/15:hover {
    background-color: rgba(13, 99, 27, 0.26) !important;
}
html.dark .hover\:bg-primary\/5:hover {
    background-color: rgba(13, 99, 27, 0.14) !important;
}
html.dark .group:hover .group-hover\:bg-white\/20 {
    background-color: rgba(255, 255, 255, 0.12) !important;
}
html.dark .hover\:bg-white:hover {
    background-color: #243038 !important;
}
html.dark [class*="shadow-black/"][class*="0.04"] {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.4) !important;
}
html.dark .bg-on-surface {
    background-color: #141c22 !important;
}
html.dark .shadow-on-surface\/10 {
    --tw-shadow-color: rgba(0, 0, 0, 0.55);
}
#a11y-dialog {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(26rem, calc(100vw - env(safe-area-inset-left, 0px)));
    max-width: 26rem;
    height: 100%;
    max-height: none;
    margin: 0;
    border: none;
    border-radius: 0 1rem 1rem 0;
    padding: 0;
    box-shadow: 8px 0 40px -12px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
#a11y-dialog[open].a11y-dialog--visible {
    transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
    #a11y-dialog {
        transition-duration: 0.01ms;
    }
}
#a11y-dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
}
#a11y-dialog .a11y-chip-group {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
html.dark #a11y-dialog .a11y-chip-group {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
#a11y-dialog .a11y-chip:focus-visible {
    outline: 2px solid rgba(13, 99, 27, 0.9);
    outline-offset: 2px;
}
#a11y-dialog .a11y-toggle-card:focus-within {
    outline: 2px solid rgba(13, 99, 27, 0.55);
    outline-offset: 2px;
}
#a11y-dialog .a11y-switch-track {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
}
/* فعاليات المدينة: عمود الخط الزمني بنفس ارتفاع التقويم (شاشات كبيرة) */
.events-city-timeline {
    position: relative;
    isolation: isolate;
    min-height: 100%;
}
.events-city-timeline__rail {
    position: absolute;
    inset-block: 0.35rem;
    inset-inline-end: 0.875rem;
    width: 3px;
    border-radius: 9999px;
    background: linear-gradient(
        180deg,
        rgba(13, 99, 27, 0.45) 0%,
        rgba(13, 99, 27, 0.18) 45%,
        rgba(146, 102, 51, 0.35) 100%
    );
    pointer-events: none;
}
.events-city-timeline__list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.65rem;
    min-height: 100%;
    flex: 1 1 auto;
    padding-inline-end: 0.25rem;
}
.events-city-timeline__item {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.events-city-timeline__marker {
    position: absolute;
    inset-inline-end: calc(0.875rem + 1.5px - 0.4375rem);
    top: 90%;
    z-index: 2;
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 9999px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px rgba(13, 99, 27, 0.2);
    transform: translateY(-50%);
}
.events-city-timeline__card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}
/* ——— عرض الجوال: فعاليات أولاً، تقويم مضغوط، خط زمني بجانب البداية (RTL) ——— */
@media (max-width: 1023px) {
    .events-city-timeline {
        min-height: 0;
    }
    .events-city-timeline__rail {
        inset-inline-end: auto;
        inset-inline-start: 0.5rem;
        inset-block: 0.45rem 0.45rem;
        width: 2px;
    }
    .events-city-timeline__list {
        justify-content: flex-start;
        gap: 0.875rem;
        min-height: auto;
        flex: none;
        padding-inline-end: 0;
        padding-inline-start: 1.85rem;
    }
    .events-city-timeline__item {
        flex: 0 0 auto;
    }
    .events-city-timeline__marker {
        inset-inline-end: auto;
        inset-inline-start: calc(0.5rem + 1px - 0.4375rem);
        top: 1.15rem;
        transform: none;
        width: 0.75rem;
        height: 0.75rem;
    }
    .events-city-timeline__card {
        justify-content: flex-start;
    }
}
@media (min-width: 1024px) {
    .events-city-timeline__list {
        gap: 0.75rem;
        padding-inline-end: 2.25rem;
    }
}
html.dark .events-city-timeline__marker {
    border-color: #141c18;
}
/* يتجاوز Tailwind CDN: border-white/25 → شفافية 8٪ وليس 25٪ */
.border-white\/25,
[class*='border-white/25'] {
    border-color: rgb(255 255 255 / 8%) !important;
}
    