/* Generated panoramic masthead, shared by all three preview exchanges. */
.pricing-masthead{
 background-color:#e7f0f7;
 background-image:url("/site-assets/assets/exchange-header-v1-mosque-v3.webp");
 background-size:cover;
 background-position:center 64%;
 border-bottom:1px solid #cbdbe7;
}
.pricing-masthead .navigation{min-height:100px}
.pricing-masthead .nav-actions .button,
.pricing-masthead .theme-toggle,
.pricing-masthead .lang-switch{backdrop-filter:blur(8px)}
[data-theme=dark] .pricing-masthead{
 background-color:#172a3b;
 background-image:linear-gradient(90deg,rgba(18,33,48,.94),rgba(18,33,48,.65) 40%,rgba(18,33,48,.8)),url("/site-assets/assets/exchange-header-v1-mosque-v3.webp");
 border-bottom-color:#344858;
}
@media(max-width:700px){
 .pricing-masthead .navigation{min-height:80px}
 .pricing-masthead{background-position:65% 64%}
}

.pricing-masthead{--header-art:url("/site-assets/assets/exchange-header-v1-mosque-v3.webp");background-image:var(--header-art)}
[data-theme=dark] .pricing-masthead{--header-art:url("/site-assets/assets/exchange-header-night-mosque-v3.webp");background-image:linear-gradient(90deg,#122130d9,#12213055 40%,#12213099),var(--header-art)}
.exchange-weather-controls{display:flex;gap:4px;align-items:center;flex-wrap:wrap}
.exchange-weather-controls .theme-toggle{font-size:11px;padding:8px;border-radius:9px;white-space:nowrap}
.exchange-weather-controls [aria-pressed=true]{box-shadow:inset 0 0 0 1px #338bd0}

[data-hero-weather=rain] .pricing-masthead{--header-art:url("/site-assets/assets/exchange-header-rain-day-mosque-v3.webp")}
[data-theme=dark][data-hero-weather=rain] .pricing-masthead{--header-art:url("/site-assets/assets/exchange-header-rain-night-mosque-v3.webp")}
[data-hero-weather=snow] .pricing-masthead{--header-art:url("/site-assets/assets/exchange-header-snow-day-mosque-v3.webp")}
[data-theme=dark][data-hero-weather=snow] .pricing-masthead{--header-art:url("/site-assets/assets/exchange-header-snow-night-mosque-v3.webp")}

.pricing-masthead .header{min-height:100px;padding-top:16px;padding-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.pricing-masthead .tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.pricing-masthead .logo{white-space:nowrap;font-size:28px}
.pricing-masthead .theme-toggle,.pricing-masthead .outline,.pricing-languages{border:1px solid #d3e0ea;border-radius:10px;background:#edf5fb;color:#244967}
.pricing-masthead .theme-toggle{font-size:13px;padding:12px;cursor:pointer}
[data-theme=dark] .pricing-masthead{color:#e7f1fc}
[data-theme=dark] .pricing-masthead .theme-toggle,[data-theme=dark] .pricing-masthead .outline,[data-theme=dark] .pricing-languages{background:#263d50;color:#cee3f7;border-color:#435d72}
[data-theme=dark] .pricing-languages button{color:#cee3f7}
[data-theme=dark] .pricing-languages button[aria-pressed=true]{background:#0964ed;color:white}
@media(max-width:800px){.pricing-masthead .header{flex-wrap:wrap}.pricing-masthead .tools{display:flex!important}.pricing-masthead .logo{font-size:24px}.pricing-masthead .outline{padding:10px}.pricing-masthead .header{padding:16px}}

/* Local backing for the wordmark; keep the panoramic image unobscured. */
.pricing-masthead .logo{display:inline-block;flex-shrink:0;white-space:nowrap;padding:8px 12px;border-radius:12px;background:rgba(255,255,255,.96);border:1px solid rgba(210,224,236,.9);box-shadow:0 2px 10px #122c4a18;text-decoration:none;line-height:1.15;color:#183a59}
.pricing-masthead .logo .brand-end{color:#183a59}
.pricing-masthead .logo span:not(.brand-end){color:#168ad3}
[data-theme=dark] .pricing-masthead .logo{background:rgba(26,43,59,.97);border-color:#40576b;color:#edf5ff}
[data-theme=dark] .pricing-masthead .logo .brand-end{color:#edf5ff}

/* Soft wordmark backing: opaque centre fading into the panorama. */
.pricing-masthead .logo{position:relative;isolation:isolate;background:transparent;border-color:transparent;box-shadow:none;overflow:visible}
.pricing-masthead .logo::before{content:"";position:absolute;inset:-9px -16px;z-index:-1;pointer-events:none;border-radius:50%;background:radial-gradient(ellipse at center,rgba(255,255,255,.98) 0%,rgba(255,255,255,.95) 42%,rgba(255,255,255,.65) 63%,rgba(255,255,255,0) 78%);filter:blur(5px)}
[data-theme=dark] .pricing-masthead .logo{background:transparent;border-color:transparent}
[data-theme=dark] .pricing-masthead .logo::before{background:radial-gradient(ellipse at center,rgba(26,43,59,.98) 0%,rgba(26,43,59,.95) 42%,rgba(26,43,59,.65) 63%,rgba(26,43,59,0) 78%)}

/* Full-height fade from the left edge to the end of the wordmark. */
.pricing-masthead{background-image:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) var(--brand-fade-start,5%),rgba(255,255,255,0) var(--brand-fade-end,30%)),var(--header-art)}
[data-theme=dark] .pricing-masthead{background-image:linear-gradient(90deg,rgba(26,43,59,.98) 0%,rgba(26,43,59,.92) var(--brand-fade-start,5%),rgba(26,43,59,0) var(--brand-fade-end,30%)),var(--header-art)}
.pricing-masthead .logo::before{content:none}

/* Mobile masthead: artwork first, one independent row of controls below. */
@media(max-width:800px){
 .pricing-masthead{background-size:auto 112px;background-position:center top;background-repeat:no-repeat;background-color:#f4f7fb}
 [data-theme=dark] .pricing-masthead{background-color:#0e1d2a}
 .pricing-masthead .header{height:auto;min-height:0;padding:0;display:flex;flex-direction:column;align-items:stretch;gap:0}
 .pricing-masthead .logo{height:112px;display:flex;align-items:center;gap:5px;padding:16px 20px;margin:0;border:0;border-radius:0;font-size:25px}
 .pricing-masthead .tools{margin:0;width:100%;min-width:0;display:flex!important;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-top:1px solid #d3e0ea;background:#f4f7fb}
 [data-theme=dark] .pricing-masthead .tools{background:#14212d;border-color:#354657}
 .pricing-masthead .nav-actions,.pricing-masthead .home-weather-controls{display:contents!important}
 .pricing-masthead .home-weather-controls>button:not(.theme-toggle){display:none!important}
 .pricing-masthead .tools .btn,.pricing-masthead .tools button{height:40px;min-height:40px;margin:0;padding:8px 12px;font-size:14px;white-space:nowrap;flex-shrink:0;transform:none}
 .pricing-masthead .pricing-languages{display:flex;flex-shrink:0;border:0;background:transparent}
 .pricing-masthead .pricing-languages button[aria-pressed=true]{display:none}
 .pricing-masthead .pricing-languages button{min-width:42px;border:1px solid #d3e0ea;border-radius:10px;background:#edf5fb;color:#244967}
 [data-theme=dark] .pricing-masthead .pricing-languages button{background:#263d50;color:#cee3f7;border-color:#435d72}
 .pricing-masthead .header-compact::after{display:none!important}
}
@media(max-width:800px){.pricing-masthead .home-weather-controls>[data-header-icon="location"]{display:none!important}}

@media(max-width:800px){
 .pricing-masthead,[data-theme=dark] .pricing-masthead{position:relative;isolation:isolate;background-image:none}
 .pricing-masthead::before{content:"";position:absolute;z-index:-1;inset:0 0 auto;height:112px;background-image:var(--header-art);background-size:auto 180px;background-position:center bottom;background-repeat:no-repeat}
 .pricing-masthead .header{max-width:none;width:100%}
 .pricing-masthead .exchange-weather-controls{display:contents!important}
 .pricing-masthead [data-header-icon="location"]{display:none!important}
 .pricing-masthead .logo{background:linear-gradient(90deg,#ffffffeb,transparent 85%)}
 [data-theme=dark] .pricing-masthead .logo{background:linear-gradient(90deg,#1a2b3beb,transparent 85%)}
}
