/* Tasneem visual identity refresh — 18 Nov 2026 */
:root{
  --ink:#173b35;--muted:#647a72;--navy:#073b36;--navy2:#0b5148;
  --teal:#177b6b;--mint:#e8f1eb;--gold:#d4a64f;--gold-light:#f4d58d;
  --cream:#f8f7f1;--line:#dce7df;--shadow:0 18px 44px rgba(8,54,47,.10);
  --radius:22px;
}
html{scroll-behavior:smooth;scroll-padding-top:104px}
body{font-family:"Cairo","IBM Plex Sans Arabic",Tahoma,sans-serif;line-height:1.85;letter-spacing:0;color:var(--ink);background:var(--cream);overflow-x:hidden}
img{max-width:100%;height:auto}
a,button,input,select,textarea{ -webkit-tap-highlight-color:transparent }
:focus-visible{outline:3px solid var(--gold)!important;outline-offset:3px}
.wrap{width:min(1240px,calc(100% - 48px));margin-inline:auto}
.tasneem-news-ticker{display:none!important}
.topline,.top{background:#062e2d!important;color:#e8eee8!important;font-size:12px!important;padding:7px 0!important}
.topline a,.top a{color:#f4d58d!important}
.header,header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(16px);border-bottom:1px solid rgba(201,154,75,.35)!important;box-shadow:0 5px 22px rgba(14,54,46,.045)}
.nav{min-height:82px;height:auto!important;padding-block:9px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{color:#0b4039!important;font-weight:900!important;letter-spacing:-.5px;gap:12px!important}
.brand-logo,.brand img{width:62px!important;height:62px!important;flex:0 0 62px;object-fit:contain}
.brand small{color:#70847c!important;font-weight:600!important}
.links{gap:clamp(10px,1.4vw,21px)!important;flex-wrap:wrap;align-items:center}
.links a,header nav a{font-size:13px!important;font-weight:750!important;color:#23483f!important;white-space:nowrap}
.links a:hover,header nav a:hover{color:#b9862d!important}
.btn,.btn-primary,.btn-dark,.btn-outline,button[type=submit]{min-height:46px;border-radius:14px!important;font-weight:800!important;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.btn-primary{background:linear-gradient(135deg,#f2d18a,#d4a447)!important;color:#123a34!important;box-shadow:0 10px 24px rgba(199,151,63,.20)!important}
.btn-dark{background:linear-gradient(135deg,#0b5148,#073b36)!important;color:#fff!important}
.btn:hover,button:hover{transform:translateY(-2px)}
.menu{border:1px solid var(--line)!important;background:#f7faf7!important;border-radius:13px!important}
.hero{min-height:560px!important;background:linear-gradient(112deg,rgba(5,48,45,.97),rgba(10,76,66,.88))!important}
.hero-grid{grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr)!important;gap:clamp(28px,4vw,56px)!important;padding-block:clamp(54px,6vw,82px)!important}
.hero h1,h1{letter-spacing:-1.1px!important;font-weight:900!important}
.hero p{font-size:clamp(15px,1.4vw,18px)!important;line-height:2!important;color:#e1ece7!important}
.hero-actions{gap:12px!important}
.plane-frame{border:1px solid rgba(231,194,116,.72)!important;border-radius:26px!important;padding:7px!important;box-shadow:0 25px 60px rgba(0,20,20,.25)!important}
.plane-frame img{height:clamp(260px,30vw,390px)!important;object-fit:cover!important;border-radius:20px!important}
.trustbar{margin-top:-28px!important}
.trust-grid{border:1px solid #d9e5dc!important;border-radius:20px!important;box-shadow:var(--shadow)!important;padding:18px!important}
.trust-item{padding:8px 12px;min-width:0}
.trust-item b{font-size:14px!important;color:#123f37}
section{padding-block:clamp(58px,6vw,88px)!important}
.section-head{margin-bottom:34px!important}
.section-head h2,.head h2{color:#0b4039!important;font-size:clamp(27px,3.4vw,40px)!important;line-height:1.4!important;font-weight:900!important}
.section-head p{font-size:15px!important;line-height:1.9!important}
.services{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
.service,.card,.destination,.story-card,.note,.faq-item,.faq details,.booking-card,.form-card{
  border:1px solid #dce7df!important;border-radius:22px!important;box-shadow:0 10px 30px rgba(11,60,51,.055)!important;
}
.service{padding:clamp(20px,2.2vw,30px)!important;background:linear-gradient(160deg,#fff,#fbfdfb)!important}
.service:hover,.card:hover{border-color:#cba45e!important;box-shadow:var(--shadow)!important}
.service h3,.card h3{font-weight:850!important;color:#0c433a!important;font-size:19px!important}
.service p,.card p{color:#6a7e75!important;line-height:1.9!important;font-size:14px!important}
.service-icon{background:#e7f1eb!important;color:#147565!important;border:1px solid #d6e8dd}
.destinations{background:linear-gradient(180deg,#f1f5ef,#eaf1eb)!important}
.dest-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important}
.destination{min-height:clamp(210px,20vw,290px)!important;border:1px solid rgba(255,255,255,.7)!important;border-radius:20px!important;box-shadow:0 14px 30px rgba(11,50,43,.13)!important}
.destination b{font-size:clamp(17px,1.4vw,21px)!important;font-weight:900!important}
.destination small{font-size:12px!important;line-height:1.8!important}
.yemeni-story{background:#fbf8f1!important}
.story-card{background:linear-gradient(120deg,#f4ead8,#fffdf7)!important;border-color:#ead9b9!important;padding:clamp(24px,3.2vw,42px)!important}
.story-card h2{font-weight:900!important}
.story-card p{line-height:2!important}
.trust-item,.service,.card,.destination,.story-card,.note{transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease}
input,select,textarea{font:inherit!important;min-height:48px;border:1px solid #d8e4dc!important;border-radius:12px!important;background:#fbfdfb!important;color:#183e36!important;padding:12px 14px!important;max-width:100%}
textarea{min-height:120px}
label{font-weight:750!important;color:#24483f!important}
input:focus,select:focus,textarea:focus{border-color:#c99a4b!important;box-shadow:0 0 0 3px rgba(201,154,75,.13)!important;outline:0!important}
form button[type=submit],button[type=submit]{width:100%;background:linear-gradient(110deg,#e9c476,#c9963d)!important;color:#173b35!important;border:0!important;padding:13px 20px!important}
footer{background:#062f2e!important;color:#e5eee8!important;padding:54px 0 28px!important}
footer a{color:#f0cd88!important}
footer .wrap{gap:18px!important}
.faq details,.faq-item{background:#fff!important;padding:18px 22px!important}
.faq summary{font-weight:800!important;color:#0b4039!important;cursor:pointer}
.skip-link{z-index:1000}
@media(max-width:1100px){
  .wrap{width:min(100% - 36px,1000px)}
  .nav{gap:12px}
  .links{gap:10px!important}
  .links a,header nav a{font-size:12px!important}
  .brand{font-size:19px!important}
  .brand-logo,.brand img{width:54px!important;height:54px!important;flex-basis:54px}
  .dest-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:820px){
  .wrap{width:calc(100% - 32px)}
  .nav{min-height:72px;flex-wrap:wrap}
  .brand{font-size:18px!important}
  .links{width:100%;justify-content:center;order:3;padding:5px 0 8px;gap:8px 16px!important}
  .hero{min-height:auto!important}
  .hero-grid{grid-template-columns:1fr!important;padding-block:44px!important;gap:26px!important}
  .hero-grid>div:first-child{text-align:right}
  .plane-frame{max-width:620px;width:100%;margin-inline:auto}
  .plane-frame img{height:clamp(230px,48vw,340px)!important}
  .trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
  .trust-item{border:0!important;justify-content:flex-start;padding:8px}
  .services{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .dest-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .wrap{width:calc(100% - 28px)}
  .topline .wrap,.top .wrap{justify-content:center!important;text-align:center;gap:4px!important}
  .nav{min-height:68px;padding-block:7px}
  .brand{font-size:16px!important;gap:8px!important}
  .brand-logo,.brand img{width:48px!important;height:48px!important;flex-basis:48px}
  .brand small{font-size:11px!important;margin-top:1px!important}
  .links{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;padding:8px 0}
  .links::-webkit-scrollbar{display:none}
  .links a,header nav a{font-size:12px!important}
  .btn{padding:10px 14px!important;font-size:13px!important}
  .hero-grid{padding-block:34px!important;gap:22px!important}
  .hero h1,h1{font-size:clamp(31px,9vw,42px)!important;line-height:1.35!important}
  .hero p{font-size:14px!important}
  .hero-actions .btn{width:100%}
  .hero-note{gap:8px 14px!important;font-size:11px!important;margin-top:22px!important}
  .plane-frame img{height:220px!important}
  .trustbar{margin-top:-16px!important}
  .trust-grid{padding:12px!important;gap:5px!important}
  .trust-item{gap:8px!important}
  .trust-icon{width:34px!important;height:34px!important;flex:0 0 34px}
  .trust-item b{font-size:12px!important}
  .trust-item small{font-size:10px!important}
  section{padding-block:50px!important}
  .section-head{margin-bottom:24px!important}
  .services{grid-template-columns:1fr!important;gap:13px!important}
  .service{padding:20px!important}
  .dest-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .destination{min-height:205px!important;padding:15px!important;border-radius:16px!important}
  .destination b{font-size:16px!important}
  .destination small{font-size:11px!important}
  .story-card{grid-template-columns:1fr!important;padding:22px!important}
  .story-ornament{display:none}
  .qamariya{width:130px!important;height:130px!important;margin:0 auto}
  input,select,textarea{width:100%;font-size:14px!important}
  footer .wrap{display:flex;flex-direction:column;align-items:flex-start}
}

main.wrap{max-width:900px!important;width:min(900px,calc(100% - 32px))!important;margin:40px auto!important;padding:clamp(20px,4vw,40px)!important;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* Correct overrides for the actual homepage component names */
header.header{position:sticky!important;top:0!important;z-index:100!important;background:rgba(255,255,255,.97)!important}
header.header .wrap.nav{width:min(1240px,calc(100% - 48px))!important;min-height:82px!important;height:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;flex-wrap:nowrap!important}
header.header .brand{display:flex!important;align-items:center!important;gap:12px!important;white-space:normal!important}
header.header .brand-logo{width:62px!important;height:62px!important;object-fit:contain!important}
header.header nav.links{display:flex!important;align-items:center!important;gap:clamp(8px,1.15vw,17px)!important;flex:1 1 auto!important;justify-content:center!important;flex-wrap:wrap!important}
header.header nav.links a{font-size:clamp(11px,.95vw,13px)!important;font-weight:800!important;color:#23483f!important}
.hero.hero-flight-home{min-height:clamp(540px,48vw,680px)!important;padding:clamp(42px,5vw,72px) 0!important;background:radial-gradient(ellipse at 16% 78%,rgba(220,174,91,.19),transparent 34%),radial-gradient(ellipse at 18% 20%,rgba(42,116,120,.34),transparent 38%),linear-gradient(115deg,#082f38 0%,#0b4148 48%,#062b34 100%)!important}
.hero.hero-flight-home .hero-grid{width:min(1240px,calc(100% - 48px))!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;min-height:inherit!important;padding:0!important}
.hero.hero-flight-home .hero-flight-copy{width:min(58%,720px)!important;max-width:720px!important;padding:clamp(28px,4vw,54px)!important;border:1px solid rgba(230,190,112,.82)!important;border-radius:26px!important;background:linear-gradient(145deg,rgba(5,43,51,.97),rgba(6,51,57,.94))!important;box-shadow:0 28px 75px rgba(0,15,22,.28)!important;text-align:right!important}
.hero.hero-flight-home .hero-flight-copy h1{font-size:clamp(36px,4.3vw,60px)!important;line-height:1.35!important}
.hero.hero-flight-home .hero-flight-copy p{font-size:clamp(15px,1.4vw,18px)!important;line-height:2!important}
.hero.hero-flight-home .hero-brand-ornament{width:clamp(250px,34vw,450px)!important;left:clamp(20px,7vw,130px)!important}
.hero.hero-flight-home .hero-actions{display:flex!important;gap:12px!important;flex-wrap:wrap!important}
.hero.hero-flight-home .hero-note{display:flex!important;gap:9px!important;flex-wrap:wrap!important}
.hero.hero-flight-home .hero-note span{border-radius:999px!important;padding:7px 12px!important}
.hero-services.wrap{width:min(1240px,calc(100% - 48px))!important;display:flex!important;gap:10px!important;flex-wrap:wrap!important;justify-content:center!important;margin:20px auto 0!important}
.hero-services a{border:1px solid #dce7df!important;border-radius:13px!important;padding:9px 14px!important;background:#fff!important;color:#16483f!important;font-weight:800!important}
.trustbar .trust-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:center!important;gap:12px!important}
#services .services{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
#services .service{overflow:hidden!important;padding:0 0 22px!important;background:#fff!important}
#services .service .service-media{height:210px!important;overflow:hidden!important;position:relative!important;border-radius:20px 20px 0 0!important}
#services .service .service-media img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .35s ease!important}
#services .service:hover .service-media img{transform:scale(1.045)!important}
#services .service .service-icon{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;margin:18px 22px 10px!important;border-radius:15px!important}
#services .service h3,#services .service p,#services .service>a{margin-inline:22px!important}
#services .service>a{display:inline-flex!important;margin-top:10px!important;color:#9b702c!important;font-weight:850!important}
#destinations .dest-grid,.destinations .dest-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important}
#destinations .destination,.destinations .destination{min-height:245px!important;overflow:hidden!important}
@media(max-width:1000px){
header.header .wrap.nav{width:calc(100% - 32px)!important;flex-wrap:wrap!important;justify-content:space-between!important}
header.header nav.links{order:5!important;width:100%!important;flex-basis:100%!important;justify-content:center!important;padding:7px 0!important}
.hero.hero-flight-home .hero-grid{width:calc(100% - 36px)!important}
.hero.hero-flight-home .hero-flight-copy{width:min(75%,700px)!important}
#services .services{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#destinations .dest-grid,.destinations .dest-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:760px){
header.header .wrap.nav{min-height:68px!important;width:calc(100% - 28px)!important}
header.header .brand-logo{width:50px!important;height:50px!important}
header.header nav.links{justify-content:flex-start!important;overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:none!important}
header.header nav.links::-webkit-scrollbar{display:none!important}
.hero.hero-flight-home{min-height:0!important;padding:32px 0 38px!important}
.hero.hero-flight-home .hero-grid{display:block!important;width:calc(100% - 28px)!important;min-height:0!important}
.hero.hero-flight-home .hero-flight-copy{width:100%!important;max-width:none!important;padding:24px 19px!important;border-radius:20px!important}
.hero.hero-flight-home .hero-flight-copy h1{font-size:clamp(30px,8vw,42px)!important}
.hero.hero-flight-home .hero-flight-copy p{font-size:14px!important}
.hero.hero-flight-home .hero-brand-ornament{width:210px!important;left:-65px!important;top:auto!important;bottom:-38px!important;opacity:.55!important}
.hero.hero-flight-home .hero-actions .btn{width:100%!important;justify-content:center!important}
.hero.hero-flight-home .hero-note{gap:6px!important}
.hero.hero-flight-home .hero-note span{font-size:10px!important;padding:6px 9px!important}
.hero-services.wrap{width:calc(100% - 28px)!important;justify-content:flex-start!important;overflow-x:auto!important;flex-wrap:nowrap!important}
.hero-services a{white-space:nowrap!important}
.trustbar .trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#services .services{grid-template-columns:1fr!important;gap:14px!important}
#services .service .service-media{height:200px!important}
#destinations .dest-grid,.destinations .dest-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
#destinations .destination,.destinations .destination{min-height:195px!important}
}


/* Final desktop hero composition: reveal the existing Yemeni coastal artwork */
.hero.hero-flight-home{
  position:relative!important;
  isolation:isolate!important;
  min-height:clamp(590px,48vw,700px)!important;
  background-color:#07363b!important;
  background-image:
    linear-gradient(90deg,rgba(4,39,43,.12) 0%,rgba(4,39,43,.24) 28%,rgba(4,39,43,.68) 51%,rgba(4,39,43,.94) 72%,rgba(4,39,43,.97) 100%),
    url("/assets/tasneem-coastal-hero.webp")!important;
  background-position:center,left center!important;
  background-size:cover,cover!important;
  background-repeat:no-repeat!important;
}
.hero.hero-flight-home .hero-flight-shade{
  background:linear-gradient(180deg,rgba(2,29,35,.08),rgba(2,29,35,.18))!important;
}
.hero.hero-flight-home .hero-brand-ornament{display:none!important}
.hero.hero-flight-home .hero-flight-copy{
  width:min(54%,690px)!important;
  max-width:690px!important;
  padding:clamp(34px,3.6vw,52px)!important;
  background:linear-gradient(145deg,rgba(4,42,48,.91),rgba(4,48,51,.88))!important;
  border:1px solid rgba(232,193,117,.86)!important;
  box-shadow:0 28px 80px rgba(0,17,22,.32)!important;
  backdrop-filter:blur(12px)!important;
}
.hero.hero-flight-home .hero-flight-copy .eyebrow{
  display:inline-flex!important;align-items:center!important;
  padding:9px 17px!important;border-radius:999px!important;
  color:#173b35!important;
  background:linear-gradient(135deg,#f5d58f,#d7a747)!important;
  font-size:13px!important;font-weight:900!important;
  box-shadow:0 8px 24px rgba(0,0,0,.15)!important;
}
.hero.hero-flight-home .hero-flight-copy h1{
  font-size:clamp(42px,4.1vw,62px)!important;
  line-height:1.38!important;letter-spacing:-1.5px!important;
}
.hero.hero-flight-home .hero-flight-copy p{max-width:620px!important}
.hero.hero-flight-home .hero-actions .btn{min-height:54px!important;padding:13px 24px!important}
.hero.hero-flight-home .hero-note span{
  color:#f5f2e9!important;background:rgba(3,30,35,.72)!important;
  border-color:rgba(232,193,117,.42)!important;
}
@media(max-width:1000px){
 .hero.hero-flight-home{min-height:570px!important;background-position:center,left center!important}
 .hero.hero-flight-home .hero-flight-copy{width:min(66%,680px)!important}
}
@media(max-width:760px){
 .hero.hero-flight-home{
   min-height:0!important;padding:34px 0 42px!important;
   background-image:linear-gradient(180deg,rgba(3,38,43,.55),rgba(3,38,43,.88)),url("/assets/tasneem-coastal-hero.webp")!important;
   background-position:center,center!important;
 }
 .hero.hero-flight-home .hero-flight-copy{
   width:100%!important;max-width:none!important;
   background:rgba(4,43,48,.88)!important;
   padding:25px 20px!important;
 }
 .hero.hero-flight-home .hero-flight-copy h1{font-size:clamp(32px,8vw,44px)!important}
}


/* Ensure the live homepage uses the verified illustrated coastal artwork */
.hero.hero-flight-home{
 background-image:
  linear-gradient(90deg,rgba(3,35,42,.06) 0%,rgba(3,35,42,.16) 30%,rgba(3,35,42,.60) 53%,rgba(3,35,42,.91) 75%,rgba(3,35,42,.96) 100%),
  url("/assets/tasneem-coastal-hero.webp")!important;
 background-position:center center,center center!important;
 background-size:cover,cover!important;
 background-repeat:no-repeat!important;
}
@media(max-width:760px){
 .hero.hero-flight-home{
  background-image:linear-gradient(180deg,rgba(3,35,42,.35),rgba(3,35,42,.84)),url("/assets/tasneem-coastal-hero.webp")!important;
  background-position:center center,center center!important;
 }
}


/* Final photographic hero asset uploaded to assets/ */
.hero.hero-flight-home{
  background-color:#07363b!important;
  background-image:url("/assets/tasneem-coastal-hero.webp")!important;
  background-position:center center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  position:relative!important;
}
.hero.hero-flight-home .hero-flight-shade{
  background:linear-gradient(90deg,rgba(4,35,41,.02) 0%,rgba(4,35,41,.06) 38%,rgba(4,35,41,.12) 60%,rgba(4,35,41,.18) 100%)!important;
}
.hero.hero-flight-home .hero-flight-copy{
  background:linear-gradient(145deg,rgba(4,42,48,.90),rgba(4,48,51,.88))!important;
  border-color:rgba(232,193,117,.9)!important;
  box-shadow:0 28px 80px rgba(0,17,22,.30)!important;
  backdrop-filter:blur(8px)!important;
}
@media(max-width:760px){
 .hero.hero-flight-home{
   background-image:linear-gradient(180deg,rgba(3,38,43,.22),rgba(3,38,43,.68)),url("/assets/tasneem-coastal-hero.webp")!important;
   background-position:center center!important;
   background-size:cover!important;
 }
 .hero.hero-flight-home .hero-flight-copy{
   background:rgba(4,43,48,.91)!important;
 }
}


/* Explicit hero photo layer: avoids background-image cascade and cache ambiguity */
.hero.hero-flight-home{position:relative!important;isolation:isolate!important;overflow:hidden!important;background:#07363b!important}
.hero.hero-flight-home>img.hero-photo-bg{
 position:absolute!important;inset:0!important;z-index:0!important;
 display:block!important;width:100%!important;height:100%!important;
 object-fit:cover!important;object-position:center center!important;
 opacity:1!important;visibility:visible!important;pointer-events:none!important;
}
.hero.hero-flight-home>.hero-flight-shade{
 position:absolute!important;inset:0!important;z-index:1!important;
 background:linear-gradient(90deg,rgba(3,35,42,.02) 0%,rgba(3,35,42,.08) 38%,rgba(3,35,42,.26) 58%,rgba(3,35,42,.55) 100%)!important;
}
.hero.hero-flight-home .hero-brand-ornament{display:none!important}
.hero.hero-flight-home .hero-grid{position:relative!important;z-index:2!important}
.hero.hero-flight-home .hero-flight-copy{
 background:linear-gradient(145deg,rgba(4,42,48,.88),rgba(4,48,51,.86))!important;
 border-color:rgba(232,193,117,.92)!important;
}
@media(max-width:760px){
 .hero.hero-flight-home>img.hero-photo-bg{object-position:38% center!important}
 .hero.hero-flight-home>.hero-flight-shade{background:linear-gradient(180deg,rgba(3,35,42,.12),rgba(3,35,42,.66))!important}
}


/* Header refinement: one-line desktop navigation and clean tablet dropdown */
@media(min-width:1181px){
  header.header .wrap.nav{
    width:min(1280px,calc(100% - 56px))!important;
    min-height:84px!important;height:84px!important;
    display:flex!important;flex-wrap:nowrap!important;
    align-items:center!important;justify-content:space-between!important;
    gap:clamp(10px,1vw,16px)!important;
  }
  header.header .brand{
    flex:0 0 auto!important;white-space:nowrap!important;
    gap:10px!important;font-size:clamp(17px,1.35vw,21px)!important;
  }
  header.header .brand span{white-space:nowrap!important}
  header.header .brand small{white-space:nowrap!important}
  header.header nav.links{
    position:static!important;display:flex!important;
    flex:1 1 auto!important;min-width:0!important;width:auto!important;
    order:0!important;flex-wrap:nowrap!important;white-space:nowrap!important;
    justify-content:center!important;align-items:center!important;
    gap:clamp(8px,.85vw,14px)!important;padding:0!important;
    overflow:visible!important;
  }
  header.header nav.links a{
    flex:0 0 auto!important;white-space:nowrap!important;
    font-size:clamp(11px,.82vw,13px)!important;
    padding:9px 0!important;line-height:1.4!important;
  }
  header.header .menu{display:none!important}
  header.header .theme-toggle,
  header.header .quick-search-launcher,
  header.header .nav-book{flex:0 0 auto!important}
  header.header .theme-toggle,
  header.header .quick-search-launcher{width:38px!important;height:38px!important}
  header.header .nav-book{padding:10px 13px!important;font-size:12px!important}
}
@media(min-width:701px) and (max-width:1180px){
  header.header .wrap.nav{
    position:relative!important;width:calc(100% - 40px)!important;
    min-height:76px!important;height:auto!important;
    display:flex!important;flex-wrap:nowrap!important;
    align-items:center!important;gap:12px!important;padding-block:8px!important;
  }
  header.header .brand{order:1!important;flex:1 1 auto!important;min-width:0!important;white-space:nowrap!important}
  header.header .brand span{white-space:nowrap!important;font-size:17px!important}
  header.header .brand small{white-space:nowrap!important;font-size:11px!important}
  header.header .brand-logo{width:54px!important;height:54px!important;flex-basis:54px!important}
  header.header .menu{
    display:inline-flex!important;order:2!important;flex:0 0 42px!important;
    width:42px!important;height:42px!important;align-items:center!important;
    justify-content:center!important;background:#f7f8f6!important;color:#17463d!important;
    border:1px solid #d9e4dc!important;border-radius:12px!important;
  }
  header.header nav.links{
    display:none!important;position:absolute!important;top:calc(100% - 1px)!important;
    right:0!important;left:0!important;z-index:100!important;order:5!important;
    width:100%!important;max-width:none!important;flex-direction:column!important;
    align-items:stretch!important;justify-content:flex-start!important;
    gap:0!important;padding:10px 14px!important;background:#fff!important;
    border:1px solid #e4ebe6!important;border-radius:0 0 16px 16px!important;
    box-shadow:0 18px 36px rgba(13,48,40,.14)!important;
  }
  header.header nav.links.is-open{display:flex!important}
  header.header nav.links a{
    display:block!important;padding:11px 10px!important;
    border-bottom:1px solid #edf1ed!important;font-size:14px!important;
    white-space:normal!important;
  }
  header.header nav.links a:last-child{border-bottom:0!important}
  header.header .theme-toggle,
  header.header .quick-search-launcher,
  header.header .nav-book{order:3!important;flex:0 0 auto!important}
  header.header .theme-toggle,
  header.header .quick-search-launcher{width:38px!important;height:38px!important}
  header.header .nav-book{font-size:11px!important;padding:9px 11px!important}
}


/* Mobile header: compact brand row with an accessible expandable menu */
@media(max-width:700px){
  header.header .wrap.nav{
    position:relative!important;width:calc(100% - 24px)!important;
    min-height:66px!important;height:auto!important;padding-block:7px!important;
    display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;
  }
  header.header .brand{
    order:1!important;flex:1 1 auto!important;min-width:0!important;
    white-space:normal!important;gap:7px!important;font-size:14px!important;
  }
  header.header .brand span{white-space:normal!important;line-height:1.35!important}
  header.header .brand small{font-size:10px!important;white-space:normal!important;margin-top:2px!important}
  header.header .brand-logo{width:44px!important;height:44px!important;flex:0 0 44px!important}
  header.header .menu{
    display:inline-flex!important;order:2!important;flex:0 0 40px!important;
    width:40px!important;height:40px!important;align-items:center!important;justify-content:center!important;
    border:1px solid #d9e4dc!important;border-radius:12px!important;background:#f7f8f6!important;color:#17463d!important;
  }
  header.header nav.links{
    display:none!important;position:absolute!important;top:calc(100% - 1px)!important;
    right:0!important;left:0!important;z-index:110!important;width:100%!important;
    flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
    gap:0!important;padding:8px 12px!important;background:#fff!important;
    border:1px solid #e4ebe6!important;border-radius:0 0 15px 15px!important;
    box-shadow:0 16px 32px rgba(13,48,40,.16)!important;
  }
  header.header nav.links.is-open{display:flex!important}
  header.header nav.links a{
    display:block!important;padding:10px 9px!important;font-size:13px!important;
    white-space:normal!important;border-bottom:1px solid #edf1ed!important;
  }
  header.header nav.links a:last-child{border-bottom:0!important}
  header.header .theme-toggle,header.header .quick-search-launcher{display:none!important}
  header.header .nav-book{
    order:3!important;flex:0 0 auto!important;font-size:10px!important;
    padding:8px 9px!important;min-height:36px!important;white-space:nowrap!important;
  }
}
