/********** Template CSS **********/

:root {

    --primary: #FC8500;

    /* Darkened orange for white text on an orange fill: #FC8500 gives 2.47:1,
       which fails WCAG AA. This passes at 4.80:1. Added 2026-08-14. */
    --primary-text: #B35A00;

    --secondary: #FFF0E6;

    --light: #F8F8F9;

    --dark: #001D23;

    --navbar-bg: #0A1128; /* Deep navy blue - high contrast with logo */

}









/*** Spinner ***/

#spinner {

    opacity: 0;

    visibility: hidden;

    transition: opacity .5s ease-out, visibility 0s linear .5s;

    z-index: 99999;

}



#spinner.show {

    transition: opacity .5s ease-out, visibility 0s linear 0s;

    visibility: visible;

    opacity: 1;

}





/*** Button ***/

.btn {

    font-weight: 500;

    transition: .5s;

}



.btn.btn-primary,

.btn.btn-outline-primary:hover {

    color: #FFFFFF;

}



.btn.btn-primary:hover {

    color: var(--primary);

    background: transparent;

}



.btn-square {
    width: 38px !important;
    height: 38px !important;
}

.btn-sm-square {
    width: 32px !important;
    height: 32px !important;
}

.btn-lg-square {
    width: 48px !important;
    height: 48px !important;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-weight: normal;
}





/*** Navbar ***/

.fixed-top {

    position: fixed !important;

    top: 0 !important; /* Always keep at top */

    left: 0;

    right: 0;

    z-index: 1030 !important;

    transition: box-shadow 0.3s ease; /* Only transition shadow, not position */

}



.top-bar {

    height: 45px;

    border-bottom: 1px solid rgba(255, 255, 255, .07);

}



.navbar .dropdown-toggle::after {

    border: none;

    content: "\f107";

    font-family: "Font Awesome 5 Free";

    font-weight: 900;

    vertical-align: middle;

    margin-left: 8px;

}



.navbar .navbar-nav .nav-link {

    margin-right: 30px;

    padding: 25px 0;

    color: #FFFFFF;

    font-weight: 500;

    outline: none;

}



.navbar .navbar-nav .nav-link:hover,

.navbar .navbar-nav .nav-link.active {

    color: var(--primary);

}



@media (max-width: 991.98px) {

    .navbar .navbar-nav {

        margin-top: 10px;

        border-top: 1px solid rgba(0, 0, 0, .07);

        background: var(--dark);

    }



    .navbar .navbar-nav .nav-link {

        padding: 10px 0;

    }

}



@media (min-width: 992px) {

    .navbar .nav-item .dropdown-menu {

        display: block;

        visibility: hidden;

        top: 100%;

        transform: rotateX(-75deg);

        transform-origin: 0% 0%;

        transition: .5s;

        opacity: 0;

    }



    .navbar .nav-item:hover .dropdown-menu {

        transform: rotateX(0deg);

        visibility: visible;

        transition: .5s;

        opacity: 1;

    }

}





/*** Header ***/

.carousel-caption {

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    /* Causes background to go dark */

    background: rgba(0, 29, 35, .8);

    z-index: 1;

}



.carousel-control-prev,

.carousel-control-next {

    width: 15%;

}



.carousel-control-prev-icon,

.carousel-control-next-icon {

    width: 3rem;

    height: 3rem;

    background-color: var(--dark);  

    border: 12px solid var(--dark);

    border-radius: 3rem;

}



@media (max-width: 768px) {

    #header-carousel .carousel-item {

        position: relative;

        min-height: 550px;

    }

    

    #header-carousel .carousel-item img {

        position: absolute;

        width: 100%;

        height: 100%;

        object-fit: cover;

    }

} 



/*** Page header ***/

/* Light, quiet page header. The previous rule was commented out and the comment
   was left unclosed, so this selector had no background at all — which made the
   text-white page titles invisible against the white page. Added 2026-08-14. */
/* The navbar is position:fixed, so this margin has to clear its real height.
   Measured: 84px at 390px wide and above; 124px below that, where the logo and
   the toggler no longer fit on one line and the bar wraps. 80px was a guess and
   left the page title 4px under the bar on desktop and 44px under it on a phone. */
.page-header {
    margin-top: 84px;
    padding: 42px 0 34px;
    background: #FFFFFF;
    text-align: center;
}

@media (max-width: 389.98px) {
    .page-header {
        margin-top: 124px;
    }
}

.page-header h1 {
    color: #0A1128;
    margin-bottom: 12px;
}

.page-header .page-header-sub {
    color: #5A6673;
    font-size: 17px;
    max-width: 60ch;
    margin: 0 auto 14px;
}

.page-header .breadcrumb {
    margin-bottom: 0;
}

.page-header .breadcrumb a {
    color: #0E7B78;
    font-weight: 500;
    text-decoration: none;
}

.page-header .breadcrumb a:hover,
.page-header .breadcrumb a:focus-visible {
    color: #0A5F5C;
    text-decoration: underline;
}

.page-header .breadcrumb-item.active {
    color: #5A6673;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #A9A296;
}

/*** Causes ***/

.causes-item .progress {

    height: 5px;

    border-radius: 0;

    overflow: visible;

}



.causes-item .progress .progress-bar {

    position: relative;

    overflow: visible;

    width: 0px;

    border-radius: 0;

    transition: 5s;

}



.causes-item .progress .progress-bar span {

    position: absolute;

    top: -7px;

    right: 0;

    width: 40px;

    height: 19px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 12px;

    background: var(--primary);

    color: #FFFFFF;

}



.causes-item .causes-overlay {

    position: absolute;

    width: 100%;

    height: 0;

    top: 0;

    left: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(0, 0, 0, .5);

    overflow: hidden;

    opacity: 0;

    transition: .5s;

}



.causes-item:hover .causes-overlay {

    height: 100%;

    opacity: 1;

}











/*** Footer ***/



.footer .btn.btn-link {

    display: block;

    margin-bottom: 5px;

    padding: 0;

    text-align: left;

    color: rgba(255,255,255,0.5);

    font-weight: normal;

    text-transform: capitalize;

    transition: .3s;

}



.footer .btn.btn-link::before {

    position: relative;

    content: "\f105";

    font-family: "Font Awesome 5 Free";

    font-weight: 900;

    color: rgba(255,255,255,0.5);

    margin-right: 10px;

}



.footer .btn.btn-link:hover {

    color: var(--light);

    letter-spacing: 1px;

    box-shadow: none;

}



.footer .btn.btn-square {

    color: rgba(255,255,255,0.5);

    border: 1px solid rgba(255,255,255,0.5);

}



.footer .btn.btn-square:hover {

    color: var(--secondary);

    border-color: var(--light);

}



.footer .copyright {

    padding: 25px 0;

    font-size: 15px;

    border-top: 1px solid rgba(256, 256, 256, .1);

}



.footer .copyright a {

    color: var(--secondary);

}



.footer .copyright a:hover {

    color: var(--primary);

}





/* Countdown */

#countdown-container {

    display: flex;

    justify-content: center;

    align-items: center;

    margin: 0;

    

}



/* Style for each countdown section */

.countdown-section {

    background-color: #ffffff; /* White Box */

    border-radius: 8px;

    width: 150px; /* Adjusted width */

    margin: 15px; /* Adjusted margin */

    padding: 15px;

    text-align: center;

}



/* Style for countdown values */

.countdown-value {

    font-size: 24px;

    font-weight: bold;

    color: #FC8500; /* Light Blue Text */

}



/* Style for countdown labels */

.countdown-label {

    font-size: 14px;

    color: #000000; /* Light Blue Text */

}

@media (max-width: 768px) {

    .countdown-section {

        width: calc(50% - 20px); /* Full width on smaller screens */

    }



    .countdown-section {

        background-color: #ffffff; /* White Box */

        border-radius: 8px;

        width: 150px; /* Adjusted width */

        margin: 5px; /* Adjusted margin */

        padding: 5px;

        text-align: center;

    }

    

}



iframe {

    width: 100%;

    max-width: 100%;

    border: 0;

}





.uncover-image img {

    /* Add any specific styles for the image here */

    transition: opacity 0.3s ease; /* Smooth transition effect */

}



.uncover-image:hover img {

    opacity: 0.7; /* Adjust the opacity as needed */

}



/* PayPal card styling */

/* E-Transfer Button Fixes */

.service-item .btn {

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    padding: 12px 24px !important;

    margin: 10px auto 0 !important;

    white-space: nowrap !important;

    width: auto !important;

    min-width: 220px !important;

    max-width: 100% !important;

    height: 52px !important;

    font-size: 16px !important;

    font-weight: 500 !important;

}



.service-item .btn .btn-sm-square {

    margin-left: 10px !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    flex-shrink: 0 !important;

    width: 32px !important;

    height: 32px !important;

}



/* Ensure button text and icon are properly aligned */

.service-item .btn-outline-primary {

    border: 2px solid var(--primary) !important;

    color: var(--primary) !important;

    background-color: transparent !important;

    text-decoration: none !important;

}



.service-item .btn-outline-primary:hover {

    background-color: var(--primary) !important;

    color: #FFFFFF !important;

}



.service-item .btn-outline-primary:hover .btn-sm-square {

    background-color: rgba(255, 255, 255, 0.2) !important;

}



/* Responsive button sizing */

@media (max-width: 768px) {

    .service-item .btn {

        width: 100% !important;

        min-width: 0 !important;

        max-width: 100% !important;

        height: 48px !important;

        font-size: 15px !important;

    }

}

/* E-Transfer card refinements */

.donate-card {

    display: flex;

    flex-direction: column;

    gap: 1.5rem;

    align-items: center;

}

.donate-card-note {

    color: #3b3b3b;

    font-size: 0.95rem;

    line-height: 1.6;

    max-width: 320px;

}

.donate-card .donate-btn {

    width: 100% !important;

    max-width: 240px !important;

    height: 52px !important;

    font-size: 16px !important;

}

.donate-card .donate-btn .btn-sm-square {

    width: 36px !important;

    height: 36px !important;

}

/* ============================================================
 * Universal Responsive Button Stacking & Vertical Spacing Fix
 * Fixes side-by-side buttons colliding when wrapped on mobile
 * ============================================================ */
.d-flex, .d-inline-flex {
    row-gap: 0.75rem !important; /* Guarantees vertical space when flex items wrap */
}

.gap-1 { row-gap: 0.25rem !important; column-gap: 0.25rem !important; }
.gap-2 { row-gap: 0.5rem !important; column-gap: 0.5rem !important; }
.gap-3 { row-gap: 1rem !important; column-gap: 1rem !important; }
.gap-4 { row-gap: 1.5rem !important; column-gap: 1.5rem !important; }

@media (max-width: 768px) {
    /* Automatic vertical fallback spacing for stacked buttons on mobile devices */
    .btn + .btn,
    .btn + a.btn,
    a.btn + a.btn,
    a.btn + button,
    button + button,
    .btn + .d-inline-block,
    .btn + div {
        margin-top: 0.5rem;
    }

    /* Prevent wrapped flex items from touching */
    .d-flex.flex-wrap > .btn,
    .d-flex.flex-wrap > a,
    .d-flex.flex-wrap > button {
        margin-bottom: 0.25rem;
    }
}





/* === Arabic typography === added 2026-08-14 ===
   Arabic was previously inheriting Inter/Saira, neither of which contains Arabic
   glyphs, so browsers substituted a system UI face and the harakat rendered badly.
   Amiri is a Bulaq naskh revival; the rest of the stack is a graceful fallback. */
[lang="ar"],
.arabic-text,
.arabic-verse,
.arabic-greeting,
.mosque-name {
    font-family: "Amiri", "Noto Naskh Arabic", "Scheherazade New",
                 "Traditional Arabic", "Geeza Pro", serif;
    line-height: 2;
    font-feature-settings: "liga" 1, "calt" 1;
    -webkit-font-smoothing: antialiased;
}

/* direction:rtl alone is enough. The initial text-align:start already resolves
   to the right edge in an RTL context, whereas an explicit text-align:right
   overrides the container — which right-aligned the Arabic inside centred
   panels. Alignment now inherits from the design, as it should. */
[lang="ar"] {
    direction: rtl;
}

/* === FAQ toggle === added 2026-08-14 ===
   The marker was a literal U+25B6 inside the button text, so screen readers
   announced "black right-pointing triangle" and it never reflected state. */
.faq-toggle::before {
    content: "\25B6";
    color: var(--primary, #0E7B78);
    display: inline-block;
    margin-right: 8px;
    font-size: .8em;
    transition: transform .18s ease;
}

.faq-toggle[aria-expanded="true"]::before {
    transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
    .faq-toggle::before { transition: none; }
}

/* === Mobile overflow guard === */
html, body { overflow-x: hidden; }

/* === Contrast: orange behind white text === added 2026-08-14 ===
   #FC8500 with white text measures 2.47:1, well under the WCAG AA minimum of
   4.5:1. The brand orange is kept for decorative use — borders, underlines,
   icons on a light ground, where 3:1 is sufficient — and only the surfaces
   that actually carry white text are darkened to --primary-text (4.80:1). */
.btn-primary,
.btn-primary:disabled,
.bg-primary.text-white,
.progress-bar,
.progress-bar.bg-primary {
    background-color: var(--primary-text) !important;
    border-color: var(--primary-text) !important;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: #9A5000 !important;
    border-color: #9A5000 !important;
}

/* The floating donate button is a gradient, so both stops need lifting:
   #FF6F0F gave 2.79:1 and #FF8F3F gave 2.27:1 against its white label. */
.sticky-donate-btn {
    background: linear-gradient(135deg, #B35A00 0%, #B65D00 100%) !important;
}

.sticky-donate-btn:hover,
.sticky-donate-btn:focus-visible {
    background: linear-gradient(135deg, #9A5000 0%, #A85C0C 100%) !important;
}

/* Bootstrap's muted grey resolves to #787878 (4.42:1) from bootstrap.min.css,
   which we do not edit directly. */
.text-muted {
    color: #5A6673 !important;
}

/* === Tap targets === added 2026-08-14 ===
   Footer links measured 26px tall with no separation, and social icons 38x38.
   44px is the accepted minimum for a thumb. */
@media (max-width: 900px) {
    .footer .btn-link,
    footer .btn-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .btn-square,
    .btn-sm-square,
    .btn-lg-square {
        min-width: 44px;
        min-height: 44px;
    }

    .faq-toggle {
        min-height: 44px;
    }
}

/* Default body text is #787878 in the customised bootstrap.min.css — 4.42:1 on
   white and 4.16:1 on the .bg-light panels, both under AA. Everything that does
   not set its own colour inherits it, so this is the single highest-coverage
   contrast fix on the site. #5A6673 measures 5.86:1. */
body {
    color: #5A6673;
}

/* === Print === added 2026-08-14 ===
   People print the prayer timetable and pin it up. /timetable and /fastingtime
   already had print rules; the daily times page did not, and printed with the
   fixed navbar, the footer, the WhatsApp panel and the install prompt. */
@media print {

    /* Chrome */
    @page {
        margin: 14mm;
    }

    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 11.5pt;
    }

    /* Navigation, promos and anything interactive carries no meaning on paper */
    .container-fluid.fixed-top,
    .navbar,
    .page-header,
    .footer,
    .sticky-donate-btn,
    .skip-to-content,
    .btn,
    .whatsapp-cta,
    .pwa-install,
    .add-to-calendar,
    iframe,
    video {
        display: none !important;
    }

    /* wow.js leaves content at opacity 0 until it scrolls into view, which on
       paper means blank sections. Force everything visible. */
    .wow,
    .animated,
    [data-wow-delay] {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        animation: none !important;
        transform: none !important;
    }

    .container-xxl,
    .container {
        padding: 0 !important;
        max-width: 100% !important;
    }

    /* Keep a prayer block from splitting across a page break */
    .prayer-card,
    .prayer-row,
    table,
    tr {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #444;
    }

    a[href^="#"]::after,
    a[href^="tel:"]::after,
    a[href^="mailto:"]::after {
        content: "";
    }
}

/* === QR codes are a print affordance === added 2026-08-14 ===
   You cannot scan your own screen, and most of this traffic is on a phone, so
   below tablet width the tappable button becomes the only call to action. */
@media (max-width: 767.98px) {
    .qr-box {
        display: none !important;
    }
}

/* === Homepage "Today at the Masjid" panel === added 2026-08-14 ===
   The homepage opened straight into a donation form; a visitor searching
   "mosque Kamloops" could not see a prayer time, a Jumu'ah time or the address
   without navigating away. Values come from prayer-loader-2.js, the same source
   the /prayers page uses. */
.hp {
    background: #FFFFFF;
    color: #0A1128;
    border: 1px solid #E4E0D8;
    border-radius: 8px;
    padding: 18px 22px 14px;
}

.hp[hidden] { display: none; }

/* Next prayer and the day's five sit on one row, so the block stays shallow
   enough to read at a glance without pushing the page down. */
.hp-row {
    display: flex;
    align-items: center;
    gap: 26px;
}

.hp-next {
    flex: 0 0 auto;
    min-width: 148px;
    padding-right: 26px;
    border-right: 1px solid #E4E0D8;
}

.hp-label {
    font-size: 9.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #0E7B78;
    margin: 0 0 3px;
    font-weight: 600;
}

.hp-name {
    font-size: 25px;
    line-height: 1.1;
    margin: 0;
    font-weight: 500;
}

.hp-time {
    font-size: 17px;
    margin: 1px 0 0;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.hp-cd {
    font-size: 12.5px;
    color: #5A6673;
    margin-left: 8px;
}

.hp-iqamah {
    margin: 2px 0 0;
    color: #B35A00;
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
}

.hp-iqamah[hidden] { display: none; }

.hp-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    text-align: center;
}

.hp-grid li {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 5px 2px;
    border-radius: 4px;
}

/* The cell for the prayer named on the left, so the two halves read as one */
.hp-grid li.is-next {
    background: #F5FBFA;
    box-shadow: inset 0 0 0 1px #BCDDDA;
}

.hp-grid li.is-next .hp-p { color: #0E7B78; }

.hp-p {
    font-size: 9.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #5A6673;
}

.hp-t {
    font-size: 17px;
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
}

.hp-i {
    font-size: 11px;
    color: #B35A00;
    font-variant-numeric: tabular-nums;
}

.hp-foot {
    margin: 12px 0 0;
    padding-top: 11px;
    border-top: 1px solid #E4E0D8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13.5px;
}

.hp-jumuah { color: #5A6673; }

/* The badge names the day rather than saying "today". A badge reading "Friday"
   only earns its place on the six days when it is not Friday, so it is always
   shown; the is-today class darkens the line on the day itself. */
.hp-jumuah.is-today { color: #0A1128; }

.hp-jumuah::after {
    content: "Friday";
    background: #0E7B78;
    color: #fff;
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 2px;
    margin-left: 9px;
    vertical-align: 2px;
}

.hp-more { color: #0E7B78; font-weight: 600; }
.hp-more:hover, .hp-more:focus-visible { color: #0A5F5C; }



/* Tablet: keep one row but tighten the gutter */
@media (max-width: 991.98px) {
    .hp-row { gap: 18px; }
    .hp-next { min-width: 130px; padding-right: 18px; }
    .hp-name { font-size: 22px; }
    .hp-t { font-size: 15px; }
}

/* Phone: the row cannot hold both halves, so stack them */
@media (max-width: 767.98px) {
    .hp { padding: 18px 18px 14px; }

    .hp-row {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .hp-next {
        min-width: 0;
        padding: 0 0 12px;
        border-right: none;
        border-bottom: 1px solid #E4E0D8;
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 0 10px;
    }

    .hp-label { flex: 1 0 100%; }
    .hp-name { font-size: 24px; }
    .hp-iqamah { margin-left: auto; }
    .hp-grid { gap: 2px; }
    .hp-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 420px) {
    .hp-grid { grid-template-columns: repeat(3, 1fr); row-gap: 10px; }
}

/* Blurb under "Help Us Reach Our Target" — explains what the two progress bars
   actually measure: the land is fully paid for, the qard hasanah is not. */
.target-blurb {
    font-size: 16.5px;
    line-height: 1.65;
    color: #5A6673;
}

.target-blurb strong { color: #0A1128; }

.target-blurb em {
    font-style: italic;
    color: #0A1128;
}

/* Bootstrap's .text-primary resolves to the brand orange #FC8500, which is
   2.47:1 on white — far under AA, and it is used ~50 times as body text and in
   breadcrumbs. The darker brand orange passes at 4.80:1 and reads the same. */
.text-primary {
    color: var(--primary-text) !important;
}

/* Base link colour is #FC8500 in bootstrap.min.css — 2.47:1 on white, so every
   plain link on the site failed AA. Same hue, dark enough to read (4.80:1).
   Links that set their own colour (navbar, footer, .text-reset) are unaffected. */
a {
    color: var(--primary-text);
}

a:hover,
a:focus-visible {
    color: #9A5000;
}

/* The percentage chip inside the funding bars sets its own orange fill and
   carries white text, so it was missed by the earlier .progress-bar fix. */
.causes-item .progress .progress-bar span,
.progress .progress-bar span {
    background: var(--primary-text) !important;
}

/* Links inside tinted alert panels: the darkened orange sits at 4.11:1 on the
   pale blue .alert-info ground, so links there take the teal instead (7.0:1). */
.alert a,
.alert .text-primary {
    color: #0A5F5C !important;
}

/* Footer contact lines: the icon sat inline before the text, so a wrapped
   address ("V0E 2A0") fell back to the paragraph's left edge, under the icon
   rather than aligned with the line above. Flex puts the icon in its own
   column so every wrapped line lines up with the first.
   Scoped with :has() so the icon-less "Follow us..." paragraph is untouched. */
.footer p:has(> i.fa) {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer p:has(> i.fa) > i.fa {
    flex: 0 0 16px;
    margin-right: 0 !important;
    margin-top: 0.3em;
    text-align: center;
}


/* === Translations under Arabic display lines === added 2026-08-15 ===
   Kept in white rather than a dimmed tint: on the lighter teal stop of the
   banner gradient, pure white gives 5.09:1 while a tint drops to 4.51:1.
   The hierarchy comes from size and weight instead. */
.arabic-translation {
    color: #FFFFFF;
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 18px;
    opacity: 1;
}

.arabic-translation .arabic-ref {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 600;
}

.mosque-name-translation {
    font-size: 14px;
    margin-bottom: 22px;
}

.closing-translation {
    color: #FFFFFF;
    font-size: 15px;
    line-height: 1.5;
}

.closing-translation em {
    font-style: italic;
}

/* Bootstrap sets h1-h6 { color:#023047 }, which beats a parent's `color:white`.
   Headings inside these dark/coloured panels need it stated explicitly, or they
   render dark navy on a dark ground. */
.header-banner h1,
.header-banner h2,
.header-banner h3,
.header-banner h4,
.closing-message h1,
.closing-message h2,
.closing-message h3,
.closing-message h4,
.closing-message h5 {
    color: #FFFFFF;
}

/* === Qur'anic quote === added 2026-08-15 ===
   Lifted from the About Islam page so both pages share one definition. */
.quran-quote {
    background: linear-gradient(135deg, #EFF5FF 0%, #F8F9FA 100%);
    border-left: 5px solid #0E7B78;
    border-radius: 12px;
    padding: 30px;
    margin: 0 0 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.quran-quote::before {
    content: '\201C';
    font-size: 60px;
    color: #0E7B78;
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.quran-quote blockquote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #1B3B5A;
    font-style: italic;
    margin: 0;
    padding-left: 40px;
}

.quran-reference {
    font-weight: 600;
    color: #0E7B78;
    margin-top: 15px;
    font-size: 1rem;
    text-align: right;
}

@media (max-width: 575.98px) {
    .quran-quote { padding: 24px 20px; }
    .quran-quote blockquote { padding-left: 26px; font-size: 1.05rem; }
    .quran-quote::before { font-size: 46px; left: 12px; }
}
