.footer-socials{display:flex!important;align-items:center;gap:.65rem;margin-top:1.1rem}.footer-socials a{display:grid;place-items:center;width:2.5rem;height:2.5rem;border:1px solid rgba(255,255,255,.42);border-radius:50%;color:#fff;text-decoration:none;transition:transform .2s,background .2s,color .2s}.footer-socials a:hover,.footer-socials a:focus-visible{transform:translateY(-2px);background:#fff;color:#075446}.footer-socials svg{width:1.15rem;height:1.15rem}.footer-copyright{width:100%;text-align:center!important}
.trust-photo-hero,.forum-question-photo-hero{position:relative;isolation:isolate;display:grid;align-items:center;min-height:clamp(370px,44vw,520px);overflow:hidden;background-image:linear-gradient(90deg,rgba(4,40,34,.97) 0%,rgba(5,64,52,.9) 45%,rgba(4,40,34,.24) 78%),var(--trust-image);background-position:center;background-size:cover;color:#fff}.forum-question-photo-hero{--trust-image:url('/assets/images/islamic-forum-hero.webp')}.trust-photo-hero:after,.forum-question-photo-hero:after{content:"";position:absolute;z-index:-1;inset:auto -8rem -13rem auto;width:32rem;aspect-ratio:1;border:1px solid rgba(240,200,95,.35);border-radius:50%}.trust-hero-copy,.forum-question-photo-hero .container>div{max-width:760px;padding-block:clamp(3rem,8vw,6rem)}.trust-photo-hero h1,.trust-photo-hero h2,.trust-photo-hero p,.forum-question-photo-hero h1,.forum-question-photo-hero p{color:#fff}.trust-photo-hero h1,.forum-question-photo-hero h1{font-size:clamp(2.5rem,5.5vw,4.8rem);line-height:1.02}.trust-photo-hero h2{max-width:680px;font-size:clamp(1.25rem,2.5vw,2rem)}.trust-photo-hero p,.forum-question-photo-hero p{max-width:700px;color:#dbece7;font-size:clamp(1rem,1.6vw,1.15rem)}.trust-photo-hero .eyebrow,.forum-question-photo-hero .eyebrow{color:#f2cd69}.trust-section{background:linear-gradient(180deg,#f0f8f5,#fffaf1)}.trust-intro-grid,.contact-layout,.legal-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:clamp(1.4rem,5vw,4rem);align-items:start}.trust-intro-grid img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:1.4rem;box-shadow:var(--gs-shadow)}.trust-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.25rem}.trust-feature-grid article,.legal-layout main article,.contact-form,.contact-guidance{padding:clamp(1.2rem,3vw,2rem);border:1px solid var(--gs-line);border-radius:1.2rem;background:var(--gs-surface);box-shadow:var(--gs-shadow-sm)}.trust-feature-grid article>span{display:grid;place-items:center;width:2.5rem;height:2.5rem;margin-bottom:1rem;border-radius:.75rem;background:var(--gs-emerald-100);color:var(--gs-emerald-800);font-weight:900}.trust-links{display:flex;align-items:center;flex-wrap:wrap;gap:.7rem;margin-top:1.25rem;padding:1.2rem;border-radius:1.2rem;background:#073e34}.trust-links h2{width:100%;color:#fff;font-size:1.15rem}.trust-links a{padding:.6rem .85rem;border:1px solid rgba(255,255,255,.2);border-radius:999px;color:#fff;text-decoration:none}.contact-guidance{margin-top:1.5rem;background:var(--gs-gold-100);box-shadow:none}.contact-form{display:grid;gap:1rem}.contact-form label{display:grid;gap:.4rem;color:var(--gs-ink);font-weight:800}.contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.contact-form .form-control{min-height:3rem;background:var(--gs-surface);color:var(--gs-ink)}.contact-form textarea.form-control{min-height:10rem}.contact-form small{color:var(--gs-muted)}.contact-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}.legal-layout main{display:grid;gap:1rem}.legal-layout aside{position:sticky;top:7rem;padding:1.5rem;border-radius:1.25rem;background:linear-gradient(145deg,#073e34,#0d715d);color:#fff}.legal-layout aside p{color:#d8e9e4}
.city-month-table-wrap{width:100%;max-height:680px;margin-top:1rem;overflow:auto;border:1px solid var(--gs-line);border-radius:1rem}.city-month-table{width:100%;min-width:720px;table-layout:fixed;border-collapse:separate;border-spacing:0;background:var(--gs-surface)}.city-month-table thead{position:sticky;top:0;z-index:2}.city-month-table th,.city-month-table td{padding:.82rem .75rem;border-bottom:1px solid var(--gs-line);text-align:center;white-space:nowrap}.city-month-table thead th{background:var(--gs-emerald-900);color:#fff}.city-month-table thead th:first-child,.city-month-table tbody th{text-align:start;width:27%}.city-month-table tbody tr:nth-child(even){background:var(--gs-soft)}.city-month-table tbody tr.is-today{background:var(--gs-gold-100);box-shadow:inset 4px 0 0 var(--gs-gold-500)}.city-month-table tbody tr.is-today th,.city-month-table tbody tr.is-today td{font-weight:850}.city-month-details>summary{display:flex;align-items:center;justify-content:space-between;min-height:3rem;padding:.45rem .1rem}.city-month-details>summary:after{float:none}
.quran-reader-actions{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}.quran-reader-actions .btn{display:inline-flex!important;align-items:center;justify-content:center;gap:.55rem;min-height:3rem;font-weight:850}.quran-reader-actions .btn-primary,.quran-reader-actions .btn-primary span{color:#fff!important}.quran-reader-actions .btn-primary.is-playing{background:#9a6c16;border-color:#9a6c16}.quran-reader-actions .btn-primary [aria-hidden]{display:inline-block;min-width:1rem;color:#f7d574!important}
.forum-context-note{margin-bottom:1.6rem;padding:1rem 1.15rem;border-inline-start:4px solid var(--gs-gold-500);border-radius:.75rem;background:var(--gs-gold-100);color:var(--gs-ink)}.forum-question-links{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1.4rem}.forum-question-links a{padding:.7rem 1rem;border:1px solid var(--gs-line);border-radius:.8rem;background:var(--gs-surface);font-weight:800;text-decoration:none}
.prayer-tracker-hero{background-image:linear-gradient(90deg,rgba(4,38,32,.97) 0%,rgba(5,66,54,.86) 48%,rgba(4,38,32,.24) 82%),url('../images/prayer-tracker-hero.webp')!important;background-position:center;background-size:cover}.tracker-hero-card{background:rgba(5,55,46,.72)}
.hero.hero-canvas-section.date-converter-photo-hero{background-image:linear-gradient(90deg,rgba(2,25,22,.98) 0%,rgba(3,45,38,.9) 43%,rgba(2,25,22,.12) 76%),url('../images/islamic-date-converter-hero.webp')!important;background-position:center!important;background-size:cover!important}
.hero.hero-canvas-section.live-recording-hero .hero-copy h1{font-size:clamp(2.35rem,5vw,4rem)!important}
.brand-logo{width:clamp(168px,15vw,208px);height:auto;max-height:54px;object-fit:contain;filter:drop-shadow(0 6px 12px rgba(8,59,51,.12))}.footer-logo{width:min(100%,288px);height:auto;max-height:72px;object-fit:contain}.theme-dark .brand-logo,[data-theme="dark"] .brand-logo,.site-footer .footer-logo{content:url('../images/global-salah-full-logo-light.webp')}.site-footer .d-flex:has(.footer-logo){display:block!important}.prayer-tracker-hero .tracker-hero-grid h1{font-size:clamp(2.35rem,5vw,4rem)!important}
@media(max-width:575.98px){.brand-logo{width:158px;max-height:48px}.footer-logo{width:230px}.navbar{min-height:68px}}
.country-prayer-table tr[data-city-prayer-row]{cursor:pointer}.country-prayer-table tr[data-city-prayer-row]:focus-visible{outline:3px solid rgba(217,166,62,.55);outline-offset:-3px}.navbar-brand{flex:0 0 auto;overflow:visible}.navbar-brand .brand-logo{display:block;object-fit:contain;object-position:center}.site-footer .footer-copyright{display:block;width:100%;margin-inline:auto;text-align:center!important}
[data-theme="dark"] .site-header,.theme-dark .site-header{background:rgba(7,29,25,.94)}[data-theme="dark"] .nav-link,.theme-dark .nav-link{color:#eaf7f3!important}[data-theme="dark"] .nav-link:hover,[data-theme="dark"] .nav-link:focus,[data-theme="dark"] .nav-link[aria-current="page"],.theme-dark .nav-link:hover,.theme-dark .nav-link:focus,.theme-dark .nav-link[aria-current="page"]{background:#dff4ed!important;color:#073e34!important}[data-theme="dark"] .mega-toggle,.theme-dark .mega-toggle{color:#d8eee7}[data-theme="dark"] .dropdown-menu,.theme-dark .dropdown-menu{background:#102c26;border-color:rgba(255,255,255,.14)}[data-theme="dark"] .dropdown-item,.theme-dark .dropdown-item{color:#eaf7f3}[data-theme="dark"] .dropdown-item:hover,.theme-dark .dropdown-item:hover{background:#dff4ed;color:#073e34}[data-theme="dark"] .trust-section,.theme-dark .trust-section{background:#081d19}[data-theme="dark"] .trust-feature-grid article,[data-theme="dark"] .legal-layout main article,[data-theme="dark"] .contact-form,.theme-dark .trust-feature-grid article,.theme-dark .legal-layout main article,.theme-dark .contact-form{background:#102c26;border-color:rgba(255,255,255,.12)}[data-theme="dark"] .contact-form label,.theme-dark .contact-form label{color:#edf8f5}[data-theme="dark"] .city-month-table,.theme-dark .city-month-table{background:#102c26}[data-theme="dark"] .city-month-table tbody tr:nth-child(even),.theme-dark .city-month-table tbody tr:nth-child(even){background:#15352e}[data-theme="dark"] .city-month-table tbody tr.is-today,.theme-dark .city-month-table tbody tr.is-today{background:#403817}
@media(max-width:767.98px){.trust-photo-hero,.forum-question-photo-hero{min-height:390px;background-position:62% center}.trust-hero-copy,.forum-question-photo-hero .container>div{padding:1.3rem;margin-block:2.5rem;border-radius:1rem;background:rgba(4,44,37,.72);backdrop-filter:blur(3px)}.trust-intro-grid,.contact-layout,.legal-layout,.trust-feature-grid{grid-template-columns:1fr}.legal-layout aside{position:static}.contact-fields{grid-template-columns:1fr}.city-month-table-wrap{max-height:570px;margin-inline:-.25rem;width:calc(100% + .5rem)}.footer-socials{justify-content:center}.site-footer .col-lg-5{text-align:center}.site-footer .col-lg-5 .d-flex{justify-content:center}}
@media(max-width:575.98px){.quran-reader-actions{display:grid}.quran-reader-actions .btn{width:100%}.trust-photo-hero h1,.forum-question-photo-hero h1{font-size:clamp(2.1rem,11vw,3.2rem)}}
.city-page-stack,.city-download-card,.city-month-details,.city-month-details>div,.city-month-table-wrap{min-width:0;max-width:100%;width:100%;box-sizing:border-box}.city-month-table-wrap{overflow-x:auto;overscroll-behavior-inline:contain}
@media(prefers-reduced-motion:reduce){.footer-socials a{transition:none}}
.monthly-prayer-table tbody tr.is-today>*,.ramadan-table tbody tr.is-today>*{position:relative;background:linear-gradient(90deg,rgba(255,242,206,.96),rgba(255,249,231,.82))!important;color:var(--gs-ink);font-weight:850}.monthly-prayer-table tbody tr.is-today>*:first-child,.ramadan-table tbody tr.is-today>*:first-child{box-shadow:inset 4px 0 0 var(--gs-gold-500)}[dir="rtl"] .monthly-prayer-table tbody tr.is-today>*:first-child,[dir="rtl"] .ramadan-table tbody tr.is-today>*:first-child{box-shadow:inset -4px 0 0 var(--gs-gold-500)}.monthly-prayer-table tbody tr.is-today time:after,.ramadan-table tbody tr.is-today time:after{content:attr(data-today-label);display:inline-flex;margin-inline-start:.5rem;padding:.14rem .45rem;border-radius:999px;background:var(--gs-gold-500);color:#17342d;font-size:.62rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle}[data-theme="dark"] .monthly-prayer-table tbody tr.is-today>*,[data-theme="dark"] .ramadan-table tbody tr.is-today>*,.theme-dark .monthly-prayer-table tbody tr.is-today>*,.theme-dark .ramadan-table tbody tr.is-today>*{background:linear-gradient(90deg,#4a401b,#312f20)!important;color:#fff7dc}
.ramadan-table-card .table-responsive{width:100%;max-height:min(72vh,720px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border-radius:1rem}.ramadan-table-card .ramadan-table{min-width:720px;margin:0;border-collapse:separate;border-spacing:0}.ramadan-table-card .ramadan-table thead th{position:sticky!important;top:0!important;z-index:4}.ramadan-table-card .ramadan-table tbody tr:first-child>*{border-top:0}.ramadan-table-card .ramadan-table tbody tr:last-child>*{border-bottom:0}@media(max-width:767.98px){.ramadan-table-card .table-responsive{max-height:68vh}.ramadan-table-card .ramadan-table{min-width:680px}.ramadan-table-card .ramadan-table th,.ramadan-table-card .ramadan-table td{padding:.72rem .8rem}}

/* Mobile timetable and reminder safeguards. Keep table headers in document order,
   preserve the date column while swiping, and keep the reminder compact. */
@media(max-width:767.98px){
  .monthly-table-wrap,.city-month-table-wrap{max-height:none!important;overflow-x:auto!important;overflow-y:visible!important;scrollbar-gutter:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
  .monthly-prayer-table thead,.monthly-prayer-table thead th,.city-month-table thead,.city-month-table thead th{position:static!important;top:auto!important}
  .monthly-prayer-table thead th:first-child,.monthly-prayer-table tbody th,.city-month-table thead th:first-child,.city-month-table tbody th{position:sticky!important;inset-inline-start:0;z-index:7!important;background:var(--gs-surface)!important;box-shadow:4px 0 10px rgba(8,59,51,.12);transform:translateZ(0)}
  .monthly-prayer-table thead th:first-child,.monthly-prayer-table tbody th{width:7.75rem!important;min-width:7.75rem!important;max-width:7.75rem!important}
  .city-month-table{width:38.5rem!important;min-width:38.5rem!important}
  .city-month-table thead th:first-child,.city-month-table tbody th{width:8.5rem!important;min-width:8.5rem!important;max-width:8.5rem!important}
  .monthly-prayer-table thead th:first-child,.city-month-table thead th:first-child{z-index:9!important;background:var(--gs-emerald-900)!important}
  .monthly-prayer-table tbody tr:nth-child(even)>th,.city-month-table tbody tr:nth-child(even)>th{background:var(--gs-soft)!important}
  [dir="rtl"] .monthly-prayer-table thead th:first-child,[dir="rtl"] .monthly-prayer-table tbody th,[dir="rtl"] .city-month-table thead th:first-child,[dir="rtl"] .city-month-table tbody th{box-shadow:-4px 0 10px rgba(8,59,51,.08)}
}
@media(max-width:575.98px){
  .global-reminder,.global-reminder[dir="ltr"]{right:.65rem!important;bottom:calc(.65rem + env(safe-area-inset-bottom))!important;left:auto!important;width:min(17.25rem,calc(100vw - 1.3rem))!important;min-height:0!important;padding:.64rem 2.15rem .62rem .64rem!important;grid-template-columns:2.15rem minmax(0,1fr)!important;gap:.52rem!important;border-radius:.95rem!important;animation:none!important}
  [dir="rtl"] .global-reminder{right:auto!important;left:.65rem!important;padding:.64rem .64rem .62rem 2.15rem!important}
  .global-reminder-icon{width:2.15rem!important;height:2.15rem!important;margin-top:.08rem!important;border-radius:.68rem!important}
  .global-reminder-copy>strong{font-size:.82rem!important;line-height:1.18!important;white-space:normal!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .global-reminder-kicker{font-size:.5rem!important;letter-spacing:.08em!important}
  .global-reminder-meta{gap:.24rem!important;margin-top:.2rem!important;flex-wrap:nowrap!important}
  .global-reminder-meta time{font-size:.66rem!important}.global-reminder-meta span{min-height:1.08rem!important;padding:.08rem .3rem!important;font-size:.52rem!important;white-space:nowrap!important}
  .global-reminder-copy small,.global-reminder-dots{display:none!important}
  .global-reminder-close{width:1.45rem!important;height:1.45rem!important;inset:.4rem .4rem auto auto!important}
  [dir="rtl"] .global-reminder-close{inset:.4rem auto auto .4rem!important}
  .global-reminder-progress{inset:auto .62rem .28rem!important}
}

.forum-compose-intro{display:grid;gap:.35rem;margin-bottom:1rem;padding:1rem;border-radius:1rem;background:linear-gradient(135deg,#eaf7f2,#fff7df)}
.forum-compose-intro span{color:#0c725d;font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.forum-compose-intro small{color:#60736e;line-height:1.55}.forum-account-card select{width:100%;min-height:46px;padding:.7rem;border:1px solid var(--border);border-radius:.7rem;background:var(--surface);color:var(--text)}
.forum-live-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}.forum-single-app .forum-live-list{grid-template-columns:minmax(0,1fr)}.forum-live-card{min-width:0;height:100%;display:flex;flex-direction:column}.forum-live-card>p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4;white-space:pre-line}.forum-live-card-single>p{display:block;overflow:visible}.forum-view-discussion{display:inline-flex;align-items:center;gap:.4rem;width:max-content;margin:.15rem 0 1rem;color:var(--gs-green-700,#086454);font-weight:800;text-decoration:none}.forum-view-discussion:hover{text-decoration:underline}.forum-live-card footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:auto}.forum-answer{margin-top:.75rem;padding:1rem;border-inline-start:3px solid #d9a63e;border-radius:.7rem;background:var(--surface-soft)}.forum-answer p{white-space:pre-line}@media(max-width:900px){.forum-live-list{grid-template-columns:minmax(0,1fr)}}
.forum-open-auth,.forum-mine-toggle{width:100%;margin-bottom:.75rem}.forum-auth-modal[hidden]{display:none}.forum-auth-modal{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:1rem}.forum-auth-backdrop{position:absolute;inset:0;background:rgba(3,30,25,.78);backdrop-filter:blur(7px)}.forum-auth-dialog{position:relative;z-index:1;width:min(520px,100%);max-height:calc(100vh - 2rem);overflow:auto;padding:clamp(1.4rem,4vw,2.3rem);border:1px solid rgba(255,255,255,.3);border-radius:1.5rem;background:var(--gs-surface,#fff);box-shadow:0 28px 80px rgba(0,0,0,.35)}.forum-auth-close{position:absolute;inset-block-start:.75rem;inset-inline-end:.85rem;width:2.5rem;height:2.5rem;border:0;border-radius:50%;background:var(--gs-soft,#edf7f3);color:var(--gs-ink,#12362f);font-size:1.65rem;line-height:1}.forum-modal-open{overflow:hidden}.forum-auth-dialog [data-forum-signed-out]>h2{padding-inline-end:2.5rem;font-size:1.65rem}.theme-dark .forum-auth-dialog{background:#102f29;color:#fff}.forum-live-card footer>span{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}
.forum-auth-message,.forum-field-error{color:#b42318;font-weight:700}.forum-auth-message:not(:empty){margin:.9rem 0 0;padding:.75rem .85rem;border:1px solid #f1b6b2;border-radius:.75rem;background:#fff1f0}.forum-field-error{display:block;margin-top:.25rem;font-size:.8rem}.forum-auth-dialog [aria-invalid="true"]{border-color:#d92d20;box-shadow:0 0 0 .2rem rgba(217,45,32,.12)}.forum-auth-dialog button.is-loading{cursor:wait;opacity:.78}.theme-dark .forum-auth-message:not(:empty){border-color:#8f3a34;background:#3d201e;color:#ffd3cf}.theme-dark .forum-field-error{color:#ffaaa3}
.forum-auth-dialog [data-forum-signed-out],.forum-auth-dialog form,.forum-auth-dialog label{display:grid;gap:.45rem}.forum-auth-dialog form{gap:.9rem}.forum-auth-dialog input{width:100%;min-height:46px;padding:.75rem;border:1px solid var(--gs-line,#dbe7e2);border-radius:.75rem;background:var(--gs-surface,#fff);color:var(--gs-ink,#12362f)}.theme-dark .forum-auth-dialog input{background:#0b2722;border-color:#315b51;color:#fff}
.gallery-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.gallery-category-card{overflow:hidden;border:1px solid var(--border);border-radius:1.25rem;background:var(--surface);box-shadow:var(--shadow-sm);color:var(--text);text-decoration:none;transition:.25s}.gallery-category-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.gallery-category-card img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.gallery-category-card span{display:grid;gap:.35rem;padding:1rem}.gallery-category-card small{color:var(--text-muted)}.gallery-detail>.container{max-width:920px;text-align:center}.gallery-detail header{max-width:720px;margin:0 auto 1.5rem}.gallery-detail figure{overflow:hidden;margin:0;border-radius:1.5rem;background:var(--surface);box-shadow:var(--shadow)}.gallery-detail figure img{display:block;width:100%;height:auto}.gallery-detail figcaption{padding:.75rem;color:var(--text-muted);font-size:.8rem}.gallery-actions{display:flex;justify-content:center;gap:.75rem;margin-top:1.25rem}@media(max-width:991.98px){.gallery-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:575.98px){.gallery-category-grid{grid-template-columns:1fr}.gallery-actions{display:grid}.gallery-actions>*{width:100%}}

/* Theme contrast and mobile overlay corrections. */
.quran-reader-actions [data-quran-bookmarks-open]{background:#fff!important;border-color:#0e6754!important;color:#0b5d4d!important}
.quran-reader-actions [data-quran-bookmarks-open] [data-quran-bookmark-count]{background:#dff4ed!important;color:#073e34!important}
.quran-reading-head [data-quran-title],.quran-reading-head [data-quran-title] b,.quran-reading .quran-arabic{color:#0b6755}

[data-theme="dark"] .mega-card-icon,.theme-dark .mega-card-icon{background:linear-gradient(145deg,#dff4ed,#fff2ce)!important;color:#073e34!important;text-shadow:none}
[data-theme="dark"] .quran-reader-actions [data-quran-bookmarks-open],.theme-dark .quran-reader-actions [data-quran-bookmarks-open]{background:#153c33!important;border-color:#77b8a7!important;color:#f2faf7!important}
[data-theme="dark"] .quran-reader-actions [data-quran-bookmarks-open] [data-quran-bookmark-count],.theme-dark .quran-reader-actions [data-quran-bookmarks-open] [data-quran-bookmark-count]{background:#dff4ed!important;color:#073e34!important}
[data-theme="dark"] .quran-related-section,.theme-dark .quran-related-section{background:#081d19}
[data-theme="dark"] .quran-related-section .calculator-related,.theme-dark .quran-related-section .calculator-related{background:linear-gradient(145deg,#123c33,#0b2923)!important;border-color:#315b51!important;color:#eef8f5!important}
[data-theme="dark"] .quran-related-section .calculator-related h2,.theme-dark .quran-related-section .calculator-related h2{color:#f4fbf9!important}
[data-theme="dark"] .quran-related-section .calculator-related p,.theme-dark .quran-related-section .calculator-related p{color:#c8ddd7!important}
[data-theme="dark"] .quran-related-section .calculator-related a,.theme-dark .quran-related-section .calculator-related a{background:#eaf7f3!important;border-color:#b8ddd3!important;color:#064f41!important}

[data-theme="dark"] .dua-library-card>a,.theme-dark .dua-library-card>a{background:linear-gradient(145deg,#102c26,#0d352c)!important;border-color:#315b51!important}
[data-theme="dark"] .dua-library-card h2,.theme-dark .dua-library-card h2{color:#f1faf7!important}
[data-theme="dark"] .dua-library-card p,.theme-dark .dua-library-card p{color:#bfe2d8!important}
[data-theme="dark"] .dua-library-card .dua-card-link,.theme-dark .dua-library-card .dua-card-link{color:#f2cd69!important}

[data-theme="dark"] .tracker-guidance-section,.theme-dark .tracker-guidance-section{background:#081d19!important;color:#eef8f5}
[data-theme="dark"] .tracker-guidance-section .eyebrow,.theme-dark .tracker-guidance-section .eyebrow{color:#f2cd69!important}
[data-theme="dark"] .tracker-guidance-grid h2,.theme-dark .tracker-guidance-grid h2{color:#f4fbf9!important}
[data-theme="dark"] .tracker-guidance-grid article p,.theme-dark .tracker-guidance-grid article p{color:#c3d9d2!important}
[data-theme="dark"] .tracker-guidance-grid article a,.theme-dark .tracker-guidance-grid article a{color:#f2cd69!important}

[data-theme="dark"] .contact-guidance,.theme-dark .contact-guidance{background:linear-gradient(145deg,#4d3c12,#342b15)!important;border-color:#8d7130!important;color:#fff8df!important}
[data-theme="dark"] .contact-guidance h3,[data-theme="dark"] .contact-guidance p,.theme-dark .contact-guidance h3,.theme-dark .contact-guidance p{color:#fff8df!important}
[data-theme="dark"] .contact-form .form-control,.theme-dark .contact-form .form-control{background:#0b241f!important;border-color:#6b958a!important;color:#f2faf7!important}
[data-theme="dark"] .contact-form .form-control::placeholder,.theme-dark .contact-form .form-control::placeholder{color:#a9c4bd!important}

@media(max-width:575.98px){
  .global-reminder,.global-reminder[dir="ltr"]{right:auto!important;left:.65rem!important}
  [dir="rtl"] .global-reminder{right:.65rem!important;left:auto!important}
  .tracker-guidance-section{padding-block:2.6rem}
  .tracker-guidance-grid{gap:1.25rem}
  .tracker-guidance-grid article p{font-size:.98rem;line-height:1.72}
}
/* Islamic Gallery: image-led hero, collection cards and detail layout. */
.gallery-hero{position:relative;isolation:isolate;overflow:hidden;margin-inline:auto;min-height:clamp(27rem,58vw,39rem);display:flex;align-items:center;background:linear-gradient(112deg,rgba(5,35,29,.96) 0%,rgba(7,53,43,.82) 43%,rgba(7,53,43,.24) 100%),var(--gallery-hero-image) center/cover;color:#fff}
.gallery-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 78% 40%,rgba(247,202,95,.28),transparent 30%),linear-gradient(180deg,transparent 60%,rgba(2,23,19,.42))}
.gallery-hero .container{position:relative;width:100%;display:flex;align-items:center;justify-content:space-between;gap:2rem;padding-block:4.5rem}
.gallery-hero-content{max-width:46rem}.gallery-hero .eyebrow{color:#f5d47a}.gallery-hero h1{max-width:14ch;margin:.65rem 0 1rem;color:#fff;font-size:clamp(2.5rem,6vw,5rem);line-height:.98;letter-spacing:-.04em}.gallery-hero p{max-width:39rem;margin:0 0 1.7rem;color:rgba(255,255,255,.88);font-size:clamp(1rem,1.7vw,1.25rem);line-height:1.75}.gallery-hero .btn{border-color:#f1c968;background:#f1c968;color:#123c32;font-weight:800;box-shadow:0 12px 30px rgba(0,0,0,.2)}.gallery-hero-mark{display:grid;place-items:center;flex:0 0 clamp(9rem,18vw,15rem);aspect-ratio:1;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(5,35,29,.35);box-shadow:0 0 0 1rem rgba(255,255,255,.05),0 25px 60px rgba(0,0,0,.24);text-align:center;transform:rotate(7deg)}.gallery-hero-mark span{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:#f5d47a}.gallery-hero-mark strong{font-size:clamp(1.25rem,3vw,2.1rem);line-height:1.05;letter-spacing:.12em}
.gallery-intro{padding-top:clamp(2rem,5vw,4.5rem);padding-bottom:1rem}.gallery-intro-panel{max-width:850px;margin:auto;padding:clamp(1.5rem,4vw,3rem);border:1px solid rgba(217,166,62,.35);border-radius:1.5rem;background:linear-gradient(135deg,var(--surface),rgba(217,166,62,.08));box-shadow:var(--shadow-sm);text-align:center}.gallery-intro-panel h2{margin:.5rem 0 .75rem}.gallery-intro-panel p{max-width:680px;margin:0 auto;color:var(--text-muted);line-height:1.75}.gallery-intro-points{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem;margin-top:1.4rem}.gallery-intro-points span,.gallery-detail-meta span{padding:.45rem .75rem;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-muted);font-size:.78rem;font-weight:700}
.gallery-categories{padding-top:2rem}.gallery-categories .section-heading{max-width:650px;margin-bottom:1.75rem}.gallery-categories .section-heading p{margin-top:.65rem;color:var(--text-muted)}.gallery-category-grid{gap:1.5rem}.gallery-category-card{display:flex;flex-direction:column;border-radius:1.35rem;box-shadow:0 12px 30px rgba(9,51,42,.08)}.gallery-category-card:hover,.gallery-category-card:focus-visible{transform:translateY(-7px);border-color:rgba(217,166,62,.7);box-shadow:0 18px 38px rgba(9,51,42,.16)}.gallery-card-image{position:relative;display:block;padding:0!important;overflow:hidden;background:#0d3b30}.gallery-card-image img{transition:transform .5s ease}.gallery-category-card:hover .gallery-card-image img,.gallery-category-card:focus-visible .gallery-card-image img{transform:scale(1.045)}.gallery-card-badge{position:absolute!important;left:1rem;bottom:1rem;padding:.38rem .65rem!important;border:1px solid rgba(255,255,255,.42);border-radius:999px;background:rgba(4,31,25,.76);color:#fff;font-size:.7rem;font-weight:800;letter-spacing:.03em}.gallery-card-copy{flex:1;display:flex!important;flex-direction:column;align-items:flex-start;gap:.45rem;padding:1.15rem 1.2rem 1.25rem!important}.gallery-card-copy strong{font-size:1.08rem}.gallery-card-copy small{line-height:1.55}.gallery-card-copy em{margin-top:auto;padding-top:.55rem;color:var(--accent,#b47a12);font-size:.82rem;font-style:normal;font-weight:800}
.gallery-detail{padding-top:clamp(2rem,5vw,4rem)}.gallery-detail-shell{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(290px,.92fr);align-items:center;gap:clamp(2rem,6vw,5rem);max-width:1120px;margin:auto}.gallery-detail-art{overflow:hidden;margin:0;border:1px solid var(--border);border-radius:1.5rem;background:var(--surface);box-shadow:0 20px 55px rgba(9,51,42,.15)}.gallery-detail-art img{display:block;width:100%;height:auto}.gallery-detail-art figcaption{padding:.8rem 1rem;color:var(--text-muted);font-size:.78rem;text-align:center}.gallery-detail-copy{max-width:30rem}.gallery-detail-copy h2{margin:.5rem 0 .8rem;font-size:clamp(1.8rem,3vw,2.7rem)}.gallery-detail-copy p{color:var(--text-muted);line-height:1.75}.gallery-detail-meta{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.2rem 0}.gallery-detail-meta span{font-size:.72rem}.gallery-detail .gallery-actions{justify-content:flex-start;margin-top:1.4rem}.gallery-back-link{display:inline-block;margin-top:1.2rem;color:var(--accent,#0b6755);font-weight:800;text-decoration:none}.gallery-back-link:hover{text-decoration:underline}
[data-theme="dark"] .gallery-intro-panel,.theme-dark .gallery-intro-panel{background:linear-gradient(135deg,#102d26,rgba(217,166,62,.12))}.gallery-detail-copy p,.gallery-intro-panel p{color:var(--text-muted)}
@media(max-width:767.98px){.gallery-hero{min-height:34rem;background-position:63% center}.gallery-hero .container{display:block;padding-block:4rem}.gallery-hero-content{max-width:100%}.gallery-hero h1{font-size:clamp(2.35rem,12vw,3.8rem)}.gallery-hero-mark{width:8.5rem;margin:2.5rem 0 0 auto}.gallery-detail-shell{grid-template-columns:1fr;gap:1.75rem}.gallery-detail-copy{max-width:none}.gallery-detail .gallery-actions{display:grid}.gallery-detail .gallery-actions>*{width:100%}}
@media(max-width:575.98px){.gallery-intro-points{display:grid;grid-template-columns:1fr}.gallery-intro-points span{text-align:center}.gallery-category-grid{gap:1rem}}
.language-suggestion{position:fixed;z-index:10020;top:5.5rem;right:1rem;width:min(330px,calc(100vw - 2rem));padding:1.15rem 1.2rem;border:1px solid rgba(10,103,85,.2);border-radius:1.1rem;background:var(--gs-surface,#fff);box-shadow:0 22px 58px rgba(4,52,43,.22);opacity:0;transform:translateY(-10px);transition:.2s}.language-suggestion.is-visible{opacity:1;transform:none}.language-suggestion>span{display:block;color:#b17d16;font-size:.7rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.language-suggestion>strong{display:block;margin:.25rem 2rem .25rem 0;color:var(--gs-ink,#12362f);font-size:1.05rem}.language-suggestion p{margin:0 0 .85rem;color:var(--gs-muted,#61736f);font-size:.82rem}.language-suggestion a{display:flex;align-items:center;gap:.55rem;padding:.68rem .8rem;border-radius:.75rem;background:#0b6f5d;color:#fff;text-decoration:none;font-weight:850}.language-suggestion a small{margin-left:auto;opacity:.8}.language-suggestion-close{position:absolute;top:.6rem;right:.65rem;width:2rem;height:2rem;border:0;border-radius:50%;background:#e9f5f1;color:#0b5b4d;font-size:1.35rem}.theme-dark .language-suggestion{background:#102f29;border-color:#315b51}.theme-dark .language-suggestion>strong{color:#f2faf7}@media(max-width:575px){.language-suggestion{top:4.8rem;right:.6rem}}
.forum-access-intro{margin-bottom:1rem;padding:1.15rem;border-radius:1rem;background:linear-gradient(145deg,#e7f7f1,#fff7dc)}.forum-access-intro span{color:#a87516;font-size:.68rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.forum-access-intro h2{margin:.3rem 0 .45rem;font-size:1.22rem}.forum-access-intro p{margin:0;color:var(--gs-muted,#61736f);font-size:.86rem;line-height:1.55}.theme-dark .forum-access-intro{background:linear-gradient(145deg,#153c33,#2e321e)}
.gallery-collection-header{padding:clamp(2.3rem,5vw,4.2rem) 0 1rem;text-align:center}.gallery-collection-header h1{margin:0;color:var(--gs-ink,#12362f);font-size:clamp(2rem,4vw,3.5rem)}.gallery-collection-header p{max-width:760px;margin:.8rem auto 0;color:var(--gs-muted,#61736f);font-size:1.05rem;line-height:1.7}.gallery-live-section{padding-top:1.5rem;background:linear-gradient(180deg,#f3faf7,#fff)}.gallery-live-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.15rem}.gallery-live-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;padding:.65rem;border:1px solid rgba(10,103,85,.15);border-radius:1.05rem;background:var(--gs-surface,#fff);box-shadow:0 12px 30px rgba(5,62,51,.09);transition:transform .2s,box-shadow .2s}.gallery-live-card:hover{transform:translateY(-3px);box-shadow:0 17px 38px rgba(5,62,51,.14)}.gallery-live-card>img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:.78rem;background:#eef5f2}.gallery-live-actions{display:grid;grid-template-columns:1fr;gap:.55rem;padding-top:.7rem}.gallery-live-actions .btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:2.65rem;padding:.55rem .6rem;font-size:.78rem;font-weight:800}.gallery-live-empty{grid-column:1/-1;padding:2rem;text-align:center;border:1px dashed #8fbcb1;border-radius:1rem}.gallery-preview-modal .modal-content{overflow:hidden;border:0;border-radius:1.2rem;background:var(--gs-surface,#fff)}.gallery-preview-modal .modal-header{position:absolute;z-index:2;top:.6rem;right:.6rem;padding:0;border:0}.gallery-preview-modal .btn-close{padding:.8rem;border-radius:50%;background-color:#fff;opacity:.9;box-shadow:0 4px 16px rgba(0,0,0,.2)}.gallery-preview-modal .modal-body{display:grid;place-items:center;padding:0;background:#071d18}.gallery-preview-modal img{display:block;width:auto;max-width:100%;height:auto;max-height:88vh;object-fit:contain}.gallery-back-section{padding:0 0 3.5rem}.theme-dark .gallery-live-section{background:#081d19}.theme-dark .gallery-live-card{background:#102f29;border-color:#315b51}.theme-dark .gallery-collection-header h1{color:#f2faf7}.theme-dark .gallery-preview-modal .modal-content{background:#071d18}@media(max-width:1100px){.gallery-live-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:780px){.gallery-live-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.gallery-live-list{grid-template-columns:1fr}.gallery-live-actions{grid-template-columns:1fr 1fr}}
