/* CBD Residency: compact contact strip and touch-friendly tablet header. */
.cbd-topbar>.container-site{min-width:0}
.cbd-topbar svg{flex-shrink:0}
header.navy-band>.container-site{gap:16px;min-width:0}
header.navy-band a[aria-label="CBD Residency home"]{flex-shrink:0}
header.navy-band a[aria-label="CBD Residency home"] img{width:150px!important;height:auto!important;max-width:100%}
header.navy-band button[aria-label="Toggle menu"]{flex-shrink:0;min-width:44px;min-height:44px;padding:10px}
@media(max-width:1199px){
 header.navy-band nav.cbd-primary-nav{display:none!important}
 header.navy-band button[aria-label="Toggle menu"]{display:inline-flex!important;align-items:center;justify-content:center;color:#fff}
 header.navy-band>.container-site{height:68px}
 header.navy-band .cbd-mobile-nav:not([hidden]){max-height:calc(100dvh - 110px);overscroll-behavior:contain}
 .cbd-mobile-nav .cbd-primary-menu{gap:2px}
 .cbd-mobile-nav .cbd-primary-menu a{font-size:14px;line-height:1.4;padding-block:10px}
 .cbd-mobile-nav .sub-menu a{font-size:13px}
 .cbd-topbar>.container-site{gap:10px;padding-block:7px}
 .cbd-topbar>.container-site>div:first-child{font-size:12px;gap:5px 16px}
 .cbd-topbar>.container-site>div:last-child{gap:7px}
 .cbd-topbar>.container-site>div:last-child>a{width:28px;height:28px;min-width:28px}
}
@media(max-width:599px){
 .cbd-topbar>.container-site{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;padding-block:7px}
 .cbd-topbar>.container-site>div:first-child{display:contents}
 .cbd-topbar>.container-site>div:first-child>span{grid-column:1/-1;font-size:11px;line-height:1.5;gap:6px;min-width:0}
 .cbd-topbar>.container-site>div:first-child>a{font-size:12px;min-height:30px;gap:6px}
 .cbd-topbar>.container-site>div:last-child{justify-self:end;display:flex;gap:7px}
 .cbd-topbar>.container-site>div:last-child>a{width:28px;height:28px}
 header.navy-band>.container-site{height:64px}
 header.navy-band a[aria-label="CBD Residency home"] img{width:140px!important}
 .container-site{padding-inline:20px}
}
/* WordPress/Elementor image resets must not shrink full-height hero photos. */
#anga-main section.relative.isolate>img.absolute,
.elementor .cbd-elementor-root .elementor-widget-cbd-design-section section.relative.isolate>img.absolute{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;object-fit:cover}
#anga-main .grid>*{min-width:0}
#anga-main iframe{max-width:100%}
#anga-main input,#anga-main select,#anga-main textarea{max-width:100%;box-sizing:border-box}
@media(max-width:1199px) and (min-width:768px){
 footer.bg-navy>.container-site.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 40px}
 footer.bg-navy>.container-site.grid>div{min-width:0}
 footer.bg-navy a{overflow-wrap:anywhere}
}
@media(max-width:767px){
 #anga-main h1{overflow-wrap:break-word}
 #anga-main .photo-hero>.container-site{min-height:400px;padding-block:40px}
 #anga-main .photo-hero h1{font-size:clamp(28px,7vw,36px);line-height:1.2}
 #anga-main .photo-hero p.flex{flex-wrap:wrap}
 #anga-main input,#anga-main select,#anga-main textarea{font-size:16px}
 .whatsapp-fab{right:16px;bottom:max(16px,env(safe-area-inset-bottom));padding:12px}
}
@media(max-height:600px) and (orientation:landscape){
 #anga-main section.relative.isolate>.container-site{min-height:360px;padding-block:36px}
 header.navy-band .cbd-mobile-nav:not([hidden]){max-height:calc(100dvh - 80px)}
 .cbd-topbar{display:none}
}
