/* SOS Bangladesh v4.2 — dual-state Vizox-inspired navigation + editorial hierarchy */
:root{--s42-maroon:#77152e;--s42-deep:#331322;--s42-gold:#d9a65a;--s42-cream:#fff9f3;--s42-ink:#261f24;--s42-font-body:'DM Sans',system-ui,sans-serif;--s42-font-editorial:'Playfair Display',Georgia,serif}
/* This is a replacement renderer — no legacy header element is emitted. */
.s42-header,.s42-header *{box-sizing:border-box}
.s42-header{position:relative;z-index:9998;width:100%;font-family:var(--s42-font-body);color:var(--s42-ink)}
.s42-header a{text-decoration:none!important}
.s42-header button{font:inherit;cursor:pointer}
.s42-utility{height:37px;background:#fffefd;border-bottom:1px solid #efe5df;color:#796c74}
.s42-utility-inner{max-width:1600px;width:calc(100% - 48px);height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;font-weight:700;letter-spacing:.018em}
.s42-utility-left,.s42-utility-right{display:flex;align-items:center;gap:18px}
.s42-utility-left{white-space:nowrap}
.s42-utility-right a{color:var(--s42-maroon)!important;font-weight:800;letter-spacing:.075em}
.s42-dot{height:7px;width:7px;border-radius:50%;display:inline-block;background:var(--s42-gold);box-shadow:0 0 0 4px #d9a65a27}
.s42-expanded{height:94px;background:linear-gradient(to right,#fffefd 0%,#fffefd 14.6%,var(--s42-deep) 14.6%,var(--s42-maroon) 100%);box-shadow:0 5px 18px rgba(51,19,34,.08)}
.s42-expanded-wrap{height:100%;width:100%;max-width:1600px;margin:auto;display:flex;align-items:stretch}
.s42-brand{display:flex;align-items:center;gap:8px;color:var(--s42-maroon)!important}
.s42-brand img{width:83px;height:67px;object-fit:contain;display:block}
.s42-brand>span{font:800 9px/1.4 var(--s42-font-body);letter-spacing:.09em;max-width:150px;color:#78535c}
.s42-brand-expanded{min-width:252px;flex:0 0 252px;background:#fffefd;padding:6px 13px 6px 25px}
.s42-maroon-band{flex:1;min-width:0;background:linear-gradient(105deg,#351623 0%,#5b1529 50%,#7c1735 100%);display:flex;align-items:stretch;justify-content:space-between}
.s42-links{display:flex;align-items:center;gap:0;min-width:0}
.s42-expanded-links{flex:1 1 auto;padding-left:22px;gap:clamp(4px,1.1vw,18px)}
.s42-link{position:relative;white-space:nowrap;font:700 clamp(11px,.85vw,13px)/1.3 var(--s42-font-body);transition:color .28s ease,transform .28s ease}
.s42-expanded-links .s42-link{color:#f9eeeb!important;padding:37px clamp(5px,.54vw,10px);height:100%;display:inline-flex;align-items:center}
.s42-expanded-links .s42-link:hover,.s42-expanded-links .s42-link.is-current{color:var(--s42-gold)!important}
.s42-expanded-links .s42-link::after{content:'';position:absolute;left:7px;bottom:24px;right:100%;height:2px;background:var(--s42-gold);transition:right .3s ease}
.s42-expanded-links .s42-link:hover::after,.s42-expanded-links .s42-link.is-current::after{right:7px}
.s42-help{display:flex;align-items:center;gap:10px;padding:0 clamp(11px,1.4vw,25px);border-left:1px solid #ffffff21;color:white;font-weight:700;font-size:12px;white-space:nowrap}
.s42-help small{display:block;color:#eed4da;font-weight:500;font-size:10px;line-height:1.6}
.s42-help-icon{width:38px;height:38px;border-radius:50%;background:#e6b16c;color:#461726;display:grid;place-items:center;font-size:23px}
.s42-cta{display:inline-flex;align-items:center;justify-content:center;text-align:center;letter-spacing:.055em;font:800 11px/1.4 var(--s42-font-body);white-space:nowrap;transition:background .28s,color .28s,box-shadow .28s}
.s42-cta-large{background:linear-gradient(130deg,#f3d49c,#d6a14e);color:#491b29!important;padding:0 23px;min-width:198px}
.s42-cta-large:hover{background:#ffe5b6;box-shadow:inset 0 0 0 3px #f3d49c55}
/* Distinct fixed compact navigation (not the expanded bar morphed with CSS). */
.s42-compact{position:fixed;left:0;right:0;top:var(--wp-admin--admin-bar--height,0px);height:76px;background:#fffefd;z-index:9999;opacity:0;visibility:hidden;transform:translateY(-108%);pointer-events:none;box-shadow:0 12px 38px #3c132329;transition:transform .42s cubic-bezier(.22,1,.36,1),opacity .3s ease,visibility .3s ease;will-change:transform}
.s42-compact.is-visible{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}
.s42-compact-wrap{height:100%;width:min(1280px,calc(100% - 48px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.s42-brand-compact{flex:0 0 230px;min-width:210px;gap:9px}
.s42-brand-compact img{width:69px;height:55px}
.s42-brand-compact span{font-size:9px}
.s42-compact-links{flex:1;justify-content:center;gap:clamp(13px,1.6vw,25px)}
.s42-compact-links .s42-link{color:#51474c!important;font-size:13px}
.s42-compact-links .s42-link.is-current,.s42-compact-links .s42-link:hover{color:var(--s42-maroon)!important}
.s42-compact-links .s42-link::after{content:'';position:absolute;bottom:-11px;left:0;right:100%;height:2px;background:var(--s42-maroon);transition:right .25s ease}
.s42-compact-links .s42-link.is-current::after,.s42-compact-links .s42-link:hover::after{right:0}
.s42-cta-small{background:var(--s42-maroon);color:#fff!important;min-height:43px;padding:0 21px;border-radius:3px;font-size:10px}
.s42-cta-small:hover{background:#9a2c46}
.s42-hamburger{display:none;background:transparent;border:0;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:12px;flex:0 0 50px}
.s42-hamburger i{display:block;width:23px;height:2px;background:currentColor;transition:transform .28s ease,opacity .2s ease}
.s42-burger-expanded{color:#fff}.s42-burger-compact{color:var(--s42-maroon)}
.s42-mobile-menu{display:none}
.s42-header.is-mobile-open .s42-hamburger i:first-child{transform:translateY(7px) rotate(45deg)}
.s42-header.is-mobile-open .s42-hamburger i:nth-child(2){opacity:0}
.s42-header.is-mobile-open .s42-hamburger i:last-child{transform:translateY(-7px) rotate(-45deg)}
@media(max-width:1320px){.s42-expanded-links{gap:0;padding-left:11px}.s42-brand-expanded{flex-basis:220px;min-width:220px}.s42-help{display:none}.s42-cta-large{min-width:179px;padding:0 15px}.s42-expanded-links .s42-link{padding-inline:8px}}
@media(max-width:1030px){
 .s42-utility{display:none}.s42-expanded{height:78px;background:#fffefd}
 .s42-expanded-wrap{height:78px}.s42-brand-expanded{min-width:220px;flex-basis:220px;padding-left:14px}
 .s42-maroon-band{justify-content:flex-end}.s42-expanded-links,.s42-compact-links,.s42-help{display:none}
 .s42-cta-large{height:78px;min-width:180px}.s42-hamburger{display:flex!important}
 .s42-compact{height:70px}.s42-brand-compact{flex:0 0 200px}
 .s42-compact-wrap{width:calc(100% - 30px);gap:10px}
 .s42-mobile-menu{display:block;position:fixed;z-index:10000;top:var(--s42-mobile-top,78px);right:0;left:0;background:#fffdfa;border-bottom:4px solid var(--s42-gold);padding:18px 23px 23px;box-shadow:0 22px 40px #3c13232c;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-15px);transition:opacity .27s,transform .27s,visibility .27s}
 .s42-header.is-mobile-open .s42-mobile-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
 .s42-mobile-links{display:flex;flex-direction:column;align-items:stretch;gap:0}
 .s42-mobile-links .s42-link{display:block;color:#472431!important;font-size:16px;padding:11px 5px;border-bottom:1px solid #f0e2db}
 .s42-mobile-cta{display:block;background:var(--s42-maroon);color:#fff!important;text-align:center;padding:14px;margin-top:17px;font-size:12px;font-weight:800;letter-spacing:.04em}
}
@media(max-width:600px){
 .s42-expanded,.s42-expanded-wrap{height:70px}.s42-brand-expanded{min-width:170px;flex-basis:170px;padding-left:7px;padding-right:4px}.s42-brand img{width:59px;height:53px}.s42-brand span{font-size:7px;max-width:108px;line-height:1.25;letter-spacing:.025em}.s42-cta-large{min-width:108px;width:110px;white-space:normal;padding:5px 6px;font-size:9px;height:70px}
 .s42-compact-wrap{width:calc(100% - 13px);gap:5px}.s42-brand-compact{min-width:144px;flex-basis:144px}.s42-brand-compact img{width:54px}.s42-brand-compact span{font-size:7px;max-width:78px}.s42-cta-small{min-height:36px;padding:3px 8px;white-space:normal;max-width:116px;font-size:9px}
}
/* Editorial / magazine-inspired typography, not a claimed font-file extraction */
body .viz-main .viz-display .elementor-heading-title,
body .viz-main .viz-hero-title .elementor-heading-title,
body .viz-main .viz-white-title .elementor-heading-title,
body .viz-main .viz-form-title .elementor-heading-title,
body .viz-main .viz-uni-name .elementor-heading-title,
body .viz-main .viz-support-body .elementor-heading-title,
body .viz-main .viz-contact-right .elementor-heading-title {font-family:var(--s42-font-editorial)!important;font-weight:700!important;letter-spacing:-.035em!important}
body .viz-main .viz-display .elementor-heading-title{font-size:clamp(39px,3.9vw,61px)!important;line-height:1.13!important}
body .viz-main .viz-hero-title .elementor-heading-title{font-size:clamp(49px,5vw,74px)!important;line-height:1.08!important;letter-spacing:-.043em!important}
body .viz-main .viz-hero-desc,body .viz-main .viz-body{line-height:1.75!important}
body .viz-main .viz-kicker .elementor-heading-title{letter-spacing:.18em!important;font-size:11px!important;font-weight:800!important}
/* Fix Elementor kit blue default bleeding into icons incl inline SVGs */
body .viz-main .elementor-widget-icon .elementor-icon,
body .viz-main .elementor-widget-icon .elementor-icon i,
body .viz-main .elementor-widget-icon .elementor-icon i::before,
body .viz-main .elementor-widget-icon .elementor-icon svg {color:var(--s42-maroon)!important;fill:var(--s42-maroon)!important}
body .viz-main .elementor-widget-icon .elementor-icon svg path,
body .viz-main .elementor-widget-icon .elementor-icon svg circle,
body .viz-main .elementor-widget-icon .elementor-icon svg rect {fill:currentColor!important;stroke:currentColor!important}
body .viz-main .viz-process .elementor-icon,body .viz-main .viz-process .elementor-icon i{color:var(--s42-maroon)!important}
body .viz-main .viz-contact-left .elementor-widget-icon .elementor-icon,
body .viz-main .viz-contact-left .elementor-widget-icon .elementor-icon i{color:var(--s42-gold)!important;fill:var(--s42-gold)!important}
/* Hero carousel: all slide backgrounds, headings and text remain editable Elementor widgets. */
body .viz-main .viz-hero{position:relative!important;display:block!important;height:710px!important;min-height:710px!important;max-height:none!important;overflow:hidden!important;background:var(--s42-deep)!important}
body .viz-main .viz-hero-carousel{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:1!important;display:block!important;overflow:hidden!important}
body .viz-main .viz-hero-slide{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:1!important;display:block!important;opacity:0!important;visibility:hidden!important;transform:scale(1.025);transition:opacity .8s cubic-bezier(.22,1,.36,1),transform 3.8s ease,visibility .8s!important;pointer-events:none!important}
body .viz-main .viz-hero-slide.is-active{opacity:1!important;visibility:visible!important;transform:scale(1)!important;z-index:2!important;pointer-events:auto!important}
body .viz-main .viz-hero-slide .viz-hero-media{position:absolute!important;inset:0!important;height:100%!important;width:100%!important;z-index:0!important;display:block!important;overflow:hidden!important}
body .viz-main .viz-hero-slide .viz-hero-media .elementor-widget-container,
body .viz-main .viz-hero-slide .viz-hero-media img{height:100%!important;width:100%!important;object-fit:cover!important;object-position:center center!important;filter:brightness(.82) saturate(.96)!important}
body .viz-main .viz-hero-slide .viz-hero-shade{z-index:1!important;position:absolute!important;inset:0!important;background:linear-gradient(90deg,rgba(35,8,19,.95) 0%,rgba(66,10,29,.89) 34%,rgba(55,12,31,.36) 74%,rgba(35,8,19,.52) 100%)!important}
body .viz-main .viz-hero-slide .viz-slide-copy{z-index:3!important;position:absolute!important;left:max(7.5%,calc((100% - 1270px)/2))!important;top:46%!important;transform:translateY(-50%)!important;width:min(590px,calc(100% - 565px))!important;max-width:590px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:20px!important;padding:0!important}
body .viz-main .viz-hero-slide .viz-hero-title .elementor-heading-title{color:#fff!important;max-width:590px!important}
body .viz-main .viz-hero-slide .viz-hero-desc{max-width:475px!important;color:#fcece8!important;font-size:17px!important}
body .viz-main .viz-hero-lead{position:absolute!important;z-index:5!important;top:47%!important;right:max(7.2%,calc((100% - 1270px)/2))!important;transform:translateY(-50%)!important;margin:0!important;width:342px!important;max-width:342px!important;box-shadow:0 28px 75px #2408106b!important}
body .viz-main .viz-hero-arrows{position:absolute!important;z-index:6!important;top:46%!important;left:18px!important;right:18px!important;transform:translateY(-50%)!important;display:flex!important;justify-content:space-between!important;align-items:center!important;width:auto!important;pointer-events:none!important;padding:0!important}
body .viz-main .viz-hero-arrows>.elementor-widget-button{pointer-events:auto!important;width:auto!important;flex:0 0 auto!important}
body .viz-main .viz-hero-arrows .elementor-button{width:49px!important;height:56px!important;min-height:0!important;display:grid!important;place-items:center!important;border:1px solid #ffffff50!important;border-radius:0!important;color:#fff!important;background:#3917248a!important;font:400 32px/1 Georgia,serif!important;padding:0!important;transition:background .22s,color .22s!important;backdrop-filter:blur(8px)}
body .viz-main .viz-hero-arrows .elementor-button:hover{background:#fffef9!important;color:var(--s42-maroon)!important}
.viz-hero-pagination{position:absolute;z-index:7;bottom:112px;left:max(7.5%,calc((100% - 1270px)/2));display:flex;gap:11px;align-items:center}
.viz-hero-pagination button{width:28px;height:3px;cursor:pointer;background:#ffffff81;border:0;border-radius:0;padding:0;transition:background .3s,width .3s}
.viz-hero-pagination button[aria-current="true"]{width:48px;background:var(--s42-gold)}
/* Stronger patterned floating feature cards, matching reference layering */
body .viz-main .viz-quick-section{margin-top:-95px!important;padding-bottom:62px!important;background:linear-gradient(180deg,transparent 0px,transparent 95px,#fffaf6 95px)!important;z-index:8!important}
body .viz-main .viz-quick-panel{border:1px solid #efe0d6!important;box-shadow:0 26px 65px #39132433!important;padding:40px 43px 28px!important}
body .viz-main .viz-quick-card{border:1px solid #eddfd8!important;min-height:132px!important;box-shadow:0 12px 35px #43212b1b!important}
body .viz-main .viz-quick-icon .elementor-icon{color:var(--s42-maroon)!important}
@media(max-width:1250px){body .viz-main .viz-hero-slide .viz-slide-copy{left:6%!important;width:calc(100% - 545px)!important}body .viz-main .viz-hero-lead{right:6%!important}}
@media(max-width:1024px){
 body .viz-main .viz-hero{height:680px!important;min-height:680px!important}
 body .viz-main .viz-hero-slide .viz-slide-copy{left:6%!important;width:calc(100% - 435px)!important;gap:15px!important}
 body .viz-main .viz-hero-lead{width:310px!important;max-width:310px!important;right:6%!important}
 body .viz-main .viz-hero-arrows{left:5px!important;right:5px!important}
 body .viz-main .viz-hero-arrows .elementor-button{width:37px!important;height:47px!important;font-size:26px!important}
 body .viz-main .viz-hero-title .elementor-heading-title{font-size:clamp(44px,5.5vw,62px)!important}
}
@media(max-width:767px){
 body .viz-main .viz-hero{height:auto!important;min-height:0!important;overflow:visible!important;padding-bottom:18px!important;background:#fff7f0!important}
 body .viz-main .viz-hero-carousel{position:relative!important;height:490px!important;min-height:490px!important}
 body .viz-main .viz-hero-slide .viz-slide-copy{left:8%!important;right:8%!important;top:49%!important;width:84%!important;max-width:560px!important;gap:12px!important}
 body .viz-main .viz-hero-slide .viz-hero-title .elementor-heading-title{font-size:clamp(39px,8vw,56px)!important;line-height:1.08!important}
 body .viz-main .viz-hero-slide .viz-hero-desc{font-size:14px!important;line-height:1.5!important}
 body .viz-main .viz-hero-slide .viz-hero-media img{object-position:68% center!important}
 body .viz-main .viz-hero-slide .viz-hero-shade{background:linear-gradient(90deg,#38101cde 0%,#4b182bbd 66%,#35121a8c 100%)!important}
 body .viz-main .viz-hero-slide .viz-hero-buttons{gap:9px!important;margin-top:6px!important}
 body .viz-main .viz-hero-slide .viz-hero-buttons .elementor-button{padding:10px 13px!important;font-size:10px!important;min-height:38px!important}
 body .viz-main .viz-hero-slide .viz-hero-note{display:none!important}
 body .viz-main .viz-hero-lead{position:relative!important;top:auto!important;right:auto!important;left:auto!important;transform:none!important;margin:-26px auto 30px!important;width:calc(100% - 30px)!important;max-width:520px!important}
 body .viz-main .viz-hero-arrows{top:260px!important;left:0!important;right:0!important;transform:none!important}
 body .viz-main .viz-hero-arrows .elementor-button{width:32px!important;height:42px!important;font-size:24px!important}
 .viz-hero-pagination{top:448px!important;left:10%!important;bottom:auto!important}
 body .viz-main .viz-quick-section{margin-top:0!important;background:#fffaf6!important;padding-bottom:46px!important}
 body .viz-main .viz-quick-panel{padding:20px 18px 18px!important}
 body .viz-main .viz-quick-card{min-height:0!important}
}
@media(max-width:460px){
 body .viz-main .viz-hero-carousel{height:525px!important;min-height:525px!important}
 body .viz-main .viz-hero-slide .viz-slide-copy{top:47%!important}
 body .viz-main .viz-hero-slide .viz-hero-title .elementor-heading-title{font-size:39px!important}
 body .viz-main .viz-hero-slide .viz-hero-desc{font-size:13px!important}
 .viz-hero-pagination{top:485px!important}
}
/* Site-wide refined section rhythm */
body .viz-main .viz-about{padding:105px 0 120px!important}
body .viz-main .viz-why{padding-block:104px 104px!important}
body .viz-main .viz-stories{padding-block:114px 114px!important}
body .viz-main .viz-contact{padding-block:110px 120px!important}
@media(max-width:767px){body .viz-main .viz-about,body .viz-main .viz-why,body .viz-main .viz-stories,body .viz-main .viz-contact{padding-block:66px 72px!important}}
@media(prefers-reduced-motion:reduce){.s42-compact,.s42-mobile-menu,.viz-hero-slide{transition:none!important;animation:none!important}}
