/* Corrections to translated text boxes. Each sample keeps its native visual system. */
html[data-zed-site="poly"] #__nuxt>.fixed .zed-identity-mark,
html[data-zed-site="poly"] .zed-brand-wordmark{color:#fff!important}
html[data-zed-site="poly"] .titleMain,html[data-zed-site="poly"] .titleSub{unicode-bidi:isolate}
html[data-zed-site="poly"] #__nuxt footer .zed-studio-signature{position:relative;z-index:2}

/* Match the two native residence title lines instead of letting t-appears
   override the Persian heading size independently. */
html[data-zed-site="residences"] .home__title>.js-hero-top-text,
html[data-zed-site="residences"] .home__title>.js-hero-bottom-text{
 font-size:inherit!important;line-height:1.3!important;max-width:100%;text-align:right;
}
html[data-zed-site="residences"] .js-hero .home__title{padding-inline:clamp(20px,3vw,60px)}
html[data-zed-site="residences"] .js-hero-bottom-text{margin-bottom:25px!important}
html[data-zed-site="residences"] .js-about-section h3 [style*="inline-block"]{margin-inline:.055em}
html[data-zed-site="residences"] .js-title-child>.special{margin-inline-start:.15em}

/* The cursor is a separate inline box; isolate it from the RTL headline. */
html[data-zed-site="ellipsus"] h1{unicode-bidi:isolate;overflow:visible}
html[data-zed-site="ellipsus"] h1:after{content:''!important;display:inline-block;width:2px;height:.85em;margin-inline-start:.1em;background:currentColor;vertical-align:-.05em}
html[data-zed-site="ellipsus"] .styles_left__PvmSc:before{height:48px;margin-bottom:24px}
html[data-zed-site="ellipsus"] .abrna-demo-note{line-height:1.9;padding:16px 24px;text-align:center;font-size:11px;background:#101011;color:#ddd}
html[data-zed-site="heron"] .abrna-demo-note,
html[data-zed-site="begg"] .abrna-demo-note{font-size:11px;line-height:1.9;padding:14px 24px;text-align:center}
html[data-zed-site="heron"] .zed-footer-brand{display:none!important}
html[data-zed-site="begg"] .abrna-sample-contact a{display:inline-flex;border:1px solid #f4b30c;color:#f4b30c;padding:12px 22px;border-radius:30px;line-height:1.8}
html[data-zed-site="begg"] .menu_title,
html[data-zed-site="begg"] .menu_title>div{color:#27251e!important}
/* The native residence header switches .white at the scene boundaries. */
html[data-zed-site="residences"] .js-header .header__logo{color:var(--black2,#1f1f1f)!important;mix-blend-mode:normal;filter:none}
html[data-zed-site="residences"] .js-header.white .header__logo{color:var(--white1,#f4f1ea)!important}
html[data-zed-site="residences"] .js-header:not(.white){background:rgba(236,232,232,.96);backdrop-filter:blur(12px);border-bottom:1px solid #1c1c1c18}

/* ABRNA fidelity styles live in the sample's own ABRNA-fa.css. */
@media(max-width:700px){
 html[data-zed-site="residences"] .menu__locations__item{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding-block:12px;text-align:right}
 html[data-zed-site="residences"] .menu__locations__item>div:first-child{font-size:24px!important;line-height:1.5!important;max-width:100%}
 html[data-zed-site="residences"] .menu__locations__item>div:last-child{font-size:14px!important;line-height:1.6!important}
 html[data-zed-site="residences"] .home__title{font-size:clamp(36px,9.5vw,66px)!important}
 html[data-zed-site="residences"] .js-hero-top-text{margin-top:75px!important}
 html[data-zed-site="residences"] .js-hero-bottom-text{padding-bottom:8px!important;margin-bottom:42px!important}
}
