/* Suwaa Heritage 1.3.4: Arabic interface and single-layer captions. */
.sw-hero-art{background-image:url('../images/hero-ar-134.webp');background-size:cover;background-position:center}
.sw-season-art{background-image:url('../images/season-ar-134.webp');background-size:cover;background-position:center}
.sw-art-caption{position:absolute;z-index:1;box-sizing:border-box;text-align:center;direction:rtl;pointer-events:none;background:none;border:0;box-shadow:none;backdrop-filter:none}
.sw-art-caption:before,.sw-art-caption:after{content:none;display:none}
.sw-art-caption-hero{left:3%;top:11%;width:30%;padding:0 6px;color:#f5dfb4;display:flex;flex-direction:column;align-items:center;gap:18px}
.sw-art-lines{width:100%;display:flex;flex-direction:column;gap:12px}
.sw-art-lines>span{display:block;font-size:clamp(18px,1.9vw,30px);font-weight:700;line-height:1.5;text-shadow:0 1px 0 #0008,0 -1px 0 #fff2;overflow-wrap:break-word}
.sw-art-caption-hero small{display:block;font:600 clamp(10px,.92vw,14px)/1.8 var(--swh-font-ui);color:#f5dfb4;text-shadow:0 1px 3px #000;max-width:100%;letter-spacing:normal}
.sw-art-caption-season{left:45%;top:25%;width:37%;height:46%;padding:0 4px;display:flex;align-items:center;justify-content:center;color:#342818}
.sw-art-caption-season p{margin:0;font-size:clamp(15px,1.3vw,24px);font-weight:700;line-height:1.8;color:inherit;text-shadow:0 1px 0 #fffd;overflow-wrap:break-word}
.sw-home-demo-note{display:none!important}
.sw-hero h1{line-height:1.9;font-size:clamp(26px,2.7vw,41px)}
.sw-books-heading h2{line-height:1.8}
.sw-hero-tag small{direction:rtl;font-family:var(--swh-font-ui);font-size:13px;line-height:1.9;letter-spacing:normal;font-weight:500}
.sw-brand small{direction:rtl;letter-spacing:normal;font-family:var(--swh-font-ui);font-size:10px;line-height:1.8}
.sw-footer-bottom{direction:rtl;flex-wrap:wrap;gap:12px}
.sw-footer-bottom .sw-agency-credit a{color:var(--gold-light)}
.sw-footer-bottom .sw-agency-credit a:hover{color:#fff}
@media(min-width:761px) and (max-width:1100px){
 .sw-art-caption-hero{left:1%;width:35%;top:16%;gap:14px}
 .sw-art-lines>span{font-size:22px}.sw-art-caption-hero small{font-size:11px}
 .sw-art-caption-season p{font-size:17px}
}
@media(max-width:760px){
 .sw-hero-art{height:300px}.sw-hero{padding-bottom:280px}
 .sw-art-caption-hero{left:3%;top:13%;width:29%;gap:12px}
 .sw-art-lines{gap:5px}.sw-art-lines>span{font-size:20px;line-height:1.45}
 .sw-art-caption-hero small{font-size:10px;line-height:1.8}
 .sw-hero h1{font-size:29px;line-height:1.9}
 .sw-season-art{display:block;position:relative;inset:auto;width:min(100%,380px);height:230px;margin:22px auto 0;border-radius:5px;overflow:hidden}
 .sw-season-art:after{display:none}
 .sw-art-caption-season{left:45%;top:25%;width:37%;height:46%}
 .sw-art-caption-season p{font-size:20px;line-height:1.6}
 .sw-hero-tag small{font-size:12px;letter-spacing:normal}
 .sw-brand small{font-size:8px;letter-spacing:normal}
}
@media(max-width:420px){
 .sw-hero h1{font-size:24px}.sw-hero-art{height:267px}.sw-hero{padding-bottom:246px}
 .sw-art-caption-hero{left:2%;top:10%;width:32%;gap:10px;padding:0 3px}
 .sw-art-lines>span{font-size:17px;line-height:1.6}
 .sw-art-caption-hero small{font-size:9px}
 .sw-season-art{width:calc(100% - 36px);height:200px}
 .sw-art-caption-season p{font-size:17px}
}
.sw-world img,.sw-hero img{content-visibility:visible}


/* Round 3 tweak: keep buttons in original place, center the hero tag block only, and restore the black brush-like artwork caption. */
.sw-hero-tag{width:fit-content;max-width:100%;margin-inline:auto;text-align:center}
.sw-hero-tag span{justify-content:center}
.sw-hero-tag span:before,.sw-hero-tag span:after{width:88px}
.sw-art-caption-season p{font-family:"Aref Ruqaa Ink","Aref Ruqaa",var(--swh-font-ui);font-weight:700;font-size:clamp(20px,2vw,38px);line-height:1.65;letter-spacing:0;color:#000;text-shadow:0 1px 0 rgba(255,255,255,.72),0 2px 10px rgba(255,255,255,.18)}
@media(max-width:760px){
 .sw-hero-tag{max-width:360px}
 .sw-hero-tag span:before,.sw-hero-tag span:after{width:62px}
 .sw-art-caption-season p{font-size:clamp(18px,5vw,28px);line-height:1.6}
}
@media(max-width:470px){
 .sw-hero-tag{max-width:245px}
 .sw-hero-tag span:before,.sw-hero-tag span:after{width:52px}
}


/* CTA alignment: move the tagline and ornament only; preserve all CTA geometry.
   The responsive offset is measured from the two visible button edges in main.js. */
.sw-hero .sw-hero-tag{
  transform:translateX(var(--sw-hero-tag-shift,0px));
  transition:none;
}
