/* Final responsive layout corrections and shared spacing. */
.header .brand,.header .language-trigger{flex-shrink:0}.connect span{font-size:inherit}.language-trigger span{font-size:inherit}
body{overflow-x:clip}.hero h1{overflow-wrap:normal}.language-menu{max-height:calc(100dvh - 110px);overflow-y:auto;overscroll-behavior:contain}.menu{overflow-y:auto}.gallery-dialog,.video-viewer,.arif-dialog{max-height:calc(100dvh - 24px)}
@media(min-width:761px) and (max-width:1024px){
.header,.header.is-scrolled{height:88px;padding:0 26px;align-items:center}.header .brand{position:relative;top:auto;left:auto;width:150px;transform:none}.header .brand img{max-height:64px}.header .language-trigger{position:static;margin-left:auto;margin-right:53px;width:165px;height:47px;transform:none;padding:0 18px;font-size:15px}.header .menu-button{position:absolute;display:grid;align-content:center;top:50%;right:27px;width:28px;height:32px;gap:6px;padding:0;border:0;background:transparent;transform:translateY(-50%);z-index:1003;cursor:pointer}.menu-button i{display:block;width:28px;height:3px;border-radius:4px;background:white}.menu-button[aria-expanded=true] i:first-child{transform:translateY(9px) rotate(45deg)}.menu-button[aria-expanded=true] i:nth-child(2){opacity:0}.menu-button[aria-expanded=true] i:last-child{transform:translateY(-9px) rotate(-45deg)}.header .menu{position:fixed;inset:0 0 0 auto;display:flex;flex-direction:column;justify-content:center;width:min(360px,80vw);height:100dvh;margin:0;padding:90px 35px 30px;gap:0;background:#650019;box-shadow:-20px 0 60px #23081050;opacity:0;pointer-events:none;transform:translateX(105%);transition:transform .3s,opacity .2s;z-index:1001}.header .menu.open{opacity:1;pointer-events:auto;transform:translateX(0)}.header .menu a{padding:16px 0;font-size:21px;color:white!important}.header .menu a.active:after{display:none}.header .language-menu{top:80px;right:26px}.header.is-scrolled .menu-button[aria-expanded=true] i{background:#fff!important}
}
@media(max-width:760px){.slider{position:relative;display:flex;align-items:flex-end;min-height:max(100svh,650px);height:auto;width:100%;padding:140px 28px 30px}.slider-copy{position:relative;inset:auto;width:100%;max-width:620px;margin:auto auto 0}.hero h1{font-size:clamp(42px,9.5vw,64px);line-height:.98}.count{margin-bottom:28px}.count-line{display:none}#description{font-size:17px;line-height:1.45;margin:22px 0 25px}.slider-actions{gap:18px;flex-wrap:wrap}.explore{width:100%;max-width:390px;height:57px;padding:0 27px;font-size:16px}.round{width:49px;height:49px;font-size:30px}.indicators{margin-top:28px;gap:12px}.indicators button{height:4px}.header .brand{left:18px;width:116px}.header .language-trigger{right:60px;width:142px;height:46px}.header .menu-button{right:19px}.menu{padding-top:90px}.sheikhs{padding-top:58px}.about-nooria{padding-top:36px}.guidance{padding-top:65px}.quran-section{padding-top:48px}.section-heading.section-heading{font-size:clamp(30px,7.8vw,38px)}.journey-top{align-items:flex-end}.journey-heading{max-width:calc(100vw - 150px)}.sheikh-card{min-height:0}.janasheen-biography{font-size:15px}.janasheen-life{padding-top:30px;padding-bottom:38px}.janasheen-alias{font-size:14px}.janasheen-role{font-size:17px}.janasheen-legacy>p:not(.janasheen-eyebrow){font-size:11px}.janasheen-legacy{width:17%;right:4%}.janasheen-hero{min-height:390px}.janasheen-present{font-size:9px}.footer-brand p br{display:none}
}
@media(max-width:360px){.header .brand{width:99px;left:13px}.header .language-trigger{width:125px;right:54px;padding:0 12px;gap:7px;font-size:12px}.header .menu-button{right:15px;width:25px}.header .menu-button i{width:25px}.slider{padding-right:22px;padding-left:22px}.sheikhs-cards{height:530px}.sheikh-name{font-size:23px}.sheikh-affiliation{font-size:16px}.sheikh-role{font-size:14px}.sheikh-card:not(.active) .sheikh-label{font-size:6px;left:6px}.sheikh-card:not(.active) .sheikh-details{left:5px}.quran-card{padding:20px}.quran-card-head span{font-size:10px;padding:7px 9px}.quran-card-head{padding-right:28px}.verse-bookmark{right:12px;width:30px;height:30px}.arif-copy{padding-top:55px}.arif-eyebrow{font-size:8px;gap:8px;letter-spacing:.2em}.arif-description{font-size:14px}.arif-maskan{height:200vw}.footer-column{padding:0 6px}.footer-column a,.footer-column .footer-pending{font-size:11px}.footer-column h2{font-size:21px}}
@media(max-height:540px) and (orientation:landscape){.hero,.slider{min-height:620px}.slider{height:auto;padding-top:140px;padding-bottom:32px}.slider-copy{position:relative;inset:auto;width:85%;max-width:800px;margin:auto}.hero h1{font-size:clamp(40px,6vw,64px);line-height:.98}.count{margin-bottom:20px}#description{font-size:18px;margin:20px 0}.slider-actions{gap:16px;flex-wrap:nowrap}.explore{width:290px;height:54px}.round{width:48px;height:48px}.indicators{margin-top:25px}.header,.header.is-scrolled{height:74px}.header .brand img{max-height:54px}.language-menu{top:70px!important;max-height:calc(100dvh - 82px)}.menu{justify-content:flex-start!important;padding-top:78px!important}.menu a{padding:10px 0!important;font-size:18px!important}.cookie-consent,.audio-welcome{max-height:calc(100dvh - 100px);overflow:auto}.janasheen-hero{min-height:460px}}

/* Keep first-visit prompts from covering one another. */
body:has(.cookie-consent:not([hidden])) .audio-welcome{visibility:hidden}
/* Desktop navigation must not create a scrollbar beside the language button. */
@media(min-width:1025px){.header .menu{overflow:visible;min-width:0;gap:clamp(18px,2.4vw,46px);margin-left:clamp(22px,3vw,60px)}.header .menu a{font-size:clamp(13px,1.15vw,18px)}}

/* Shared navigation includes Resources. */
@media(min-width:1025px){.header .menu{gap:clamp(12px,1.65vw,30px);margin-left:clamp(16px,2vw,36px)}.header .menu a{font-size:clamp(12px,1vw,16px)}}
