/* Shared banner geometry must load in HEAD before the first paint. */
html:root:root:root:root:is(.visitor-services,.visitor-schools,.visitor-programs,.visitor-city,.visitor-apply,.ru-consultation-banner) :is(main.page,main.lead-page,.directory-page-shell){box-sizing:border-box!important;width:100%!important;max-width:1724px!important;margin-inline:auto!important;padding-inline:42px!important}
html:root:root:root:root :is(.directory-hero,.consultation-banner){box-sizing:border-box!important;width:100%!important;height:245px!important;min-height:245px!important;max-height:245px!important;padding:24px 48px!important;margin-inline:0!important;margin-bottom:24px!important;border-radius:0!important;overflow:hidden!important}
html:root:root:root:root.visitor-news main.page{max-width:none!important;padding-inline:0!important}
html:root:root:root:root:is(.visitor-news,.visitor-schools) body>.wrap,html:root:root:root:root.visitor-news main.page>.wrap{box-sizing:border-box!important;width:100%!important;max-width:1724px!important;padding-inline:42px!important;margin-inline:auto!important;background:var(--ru-page-paper)!important}
html:root:root:root:root.visitor-programs :is(.programs-heading,.program-discovery){box-sizing:border-box!important;width:calc(100% - 84px)!important;max-width:1640px!important;margin-inline:auto!important}
html:root:root:root:root.visitor-programs .programs-heading{margin-top:56px!important}
html:root:root:root:root.visitor-school-detail :is(main.wrap,.meta,.overview,.school-overview,.info-block,.facts,.cell){background-color:var(--ru-page-paper)!important}
html:root:root:root:root .directory-hero__content{box-sizing:border-box!important;max-width:70%!important;padding:0!important}
html:root:root:root:root .directory-hero .directory-hero__title{font-size:clamp(38px,3.6vw,60px)!important;line-height:1.12!important;letter-spacing:-1px!important}
html:root:root:root:root .directory-hero__title-stack{min-height:0!important}
html:root:root:root:root .consultation-banner__phrase{display:inline!important}
html:root:root:root:root .directory-hero__kicker{margin-bottom:12px!important}
html:root:root:root:root .ru-line-art{top:50%!important;right:2%!important;width:30%!important;height:220px!important;max-height:90%!important;transform:translateY(-50%)!important;opacity:.9!important}
@media(max-width:700px){
 html:root:root:root:root:is(.visitor-services,.visitor-schools,.visitor-programs,.visitor-city,.visitor-apply,.ru-consultation-banner) :is(main.page,main.lead-page,.directory-page-shell){padding-inline:16px!important}
 html:root:root:root:root :is(.directory-hero,.consultation-banner){height:245px!important;min-height:245px!important;max-height:245px!important;padding:22px 18px!important}
 html:root:root:root:root:is(.visitor-news,.visitor-schools) body>.wrap,html:root:root:root:root.visitor-news main.page>.wrap{padding-inline:16px!important}
 html:root:root:root:root.visitor-programs :is(.programs-heading,.program-discovery){width:calc(100% - 32px)!important}
 html:root:root:root:root .directory-hero__content{max-width:100%!important}
 html:root:root:root:root .directory-hero .directory-hero__title{font-size:36px!important}
 html:root:root:root:root :is(.directory-hero__subtitle,.consultation-banner .lead-intro){font-size:13px!important;line-height:1.6!important}
 html:root:root:root:root .directory-hero__heading-row{column-gap:12px!important;row-gap:12px!important}
 html:root:root:root:root .ru-line-art{width:54%!important;right:-8%!important;opacity:.14!important}
}
