/* Consultation header only. Keep the current lead form and intake flow intact. */
html.ru-consultation-banner .lead-page {
  padding-top:56px!important;
}
html.ru-consultation-banner[data-ru-theme] .lead-page>.consultation-banner {
  --consult-title-size:clamp(42px,4.3vw,64px);
  --consult-title-line:clamp(44.1px,4.515vw,67.2px);
  box-sizing:border-box!important;position:relative!important;isolation:isolate;
  display:flex!important;align-items:center!important;justify-content:flex-start;
  width:100%;height:350px!important;min-height:350px!important;max-height:350px!important;
  margin:0 0 42px!important;padding:48px clamp(30px,5vw,75px)!important;
  overflow:hidden!important;border:0!important;border-radius:0!important;
  background:#2459d8!important;background-image:none!important;color:#fff!important;box-shadow:none!important;
}
html.ru-consultation-banner[data-ru-theme] .consultation-banner::before,
html.ru-consultation-banner[data-ru-theme] .consultation-banner::after {
  display:none!important;content:none!important;
}
html.ru-consultation-banner[data-ru-theme] .consultation-banner>.directory-hero__content {
  position:relative;z-index:2;width:100%;max-width:63%!important;min-width:0;padding:0!important;
}
html.ru-consultation-banner[data-ru-theme] .consultation-banner .directory-hero__copy {
  display:block!important;min-width:0;width:100%;
}
html.ru-consultation-banner[data-ru-theme] .consultation-banner .directory-hero__kicker {
  display:flex!important;align-items:center;gap:9px;height:13.2px;
  margin:0 0 20px!important;padding:0;color:#d7e5ff!important;
  -webkit-text-fill-color:#d7e5ff!important;font:800 11px/13.2px Arial,"PingFang SC","Microsoft YaHei",sans-serif!important;letter-spacing:1.7px;max-width:none!important;
}
html.ru-consultation-banner[data-ru-theme] .consultation-banner .directory-hero__kicker::before {
  content:"";display:block;width:28px;height:1px;flex:none;background:var(--brand-wash,#E9EFFC);
}
html.ru-consultation-banner[data-ru-theme] .consultation-banner .directory-hero__heading-row {
  display:grid!important;grid-template-columns:42px minmax(0,1fr);align-items:start!important;gap:18px!important;
}
html.ru-consultation-banner[data-ru-theme] .consultation-banner .directory-hero__title-stack {
  min-width:0;min-height:128.2px;text-align:left;
}
html.ru-consultation-banner[data-ru-theme] .consultation-banner h1.directory-hero__title {
  position:relative;z-index:1;margin:-7px 0 0!important;padding:0;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  font:850 var(--consult-title-size)/var(--consult-title-line) Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif!important;
  letter-spacing:-.025em!important;white-space:normal!important;overflow-wrap:anywhere;text-shadow:none!important;
}
html.ru-consultation-banner[data-ru-theme] .consultation-banner p.directory-hero__subtitle {
  margin:20px 0 0!important;max-width:670px!important;padding:0;
  color:#e3ecff!important;-webkit-text-fill-color:#e3ecff!important;
  font:400 20px/1.6 Arial,"PingFang SC","Microsoft YaHei",sans-serif!important;letter-spacing:0!important;
}
html.ru-consultation-banner[data-ru-theme] .consultation-banner .consultation-banner__back {
  box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;
  width:42px!important;min-width:42px;max-width:42px;height:42px!important;min-height:42px;max-height:42px;
  margin:calc((var(--consult-title-line) - 42px)/2 - 7px) 0 0!important;padding:0!important;
  border:1px solid #ffffff66!important;border-radius:2px!important;background:#ffffff1f!important;color:#fff!important;
  text-decoration:none;box-shadow:none;transform:none!important;
  transition:background-color .18s ease,border-color .18s ease;
}
html.ru-consultation-banner[data-ru-theme] .consultation-banner .consultation-banner__back svg {
  display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;
}
html.ru-consultation-banner[data-ru-theme] .consultation-banner .consultation-banner__back:is(:hover,:focus-visible) {
  background:#ffffff33!important;border-color:#fff!important;
}
html.ru-consultation-banner[data-ru-theme] .consultation-banner .consultation-banner__back:focus-visible {
  outline:2px solid #fff;outline-offset:3px;
}
@media(max-width:1100px) and (min-width:701px) {
  html.ru-consultation-banner[data-ru-theme] .consultation-banner>.directory-hero__content {max-width:76%!important;}
}
/* Between the shared desktop and phone canvases, the school shell uses 48px gutters. */
@media(min-width:701px) and (max-width:1099.98px) {
  html.ru-consultation-banner .lead-page {padding-left:48px!important;padding-right:48px!important;}
  html.ru-consultation-banner .consultation-banner .ru-line-art {opacity:.12!important;}
}
@media(min-width:701px) and (max-width:900px) {
  html.ru-consultation-banner .lead-page {padding-top:42px!important;}
}
@media(max-width:700px) {
  html.ru-consultation-banner .lead-page {padding-top:31px!important;}
  html.ru-consultation-banner[data-ru-theme] .lead-page>.consultation-banner {
    --consult-title-size:clamp(30px,8.7vw,36px);
    --consult-title-line:clamp(31.5px,9.135vw,37.8px);
    height:auto!important;min-height:315px!important;max-height:none!important;padding:40px 23px!important;
  }
  html.ru-consultation-banner[data-ru-theme] .consultation-banner>.directory-hero__content {max-width:100%!important;}
  html.ru-consultation-banner[data-ru-theme] .consultation-banner .directory-hero__heading-row {grid-template-columns:36px minmax(0,1fr);}
  html.ru-consultation-banner[data-ru-theme] .consultation-banner .directory-hero__title-stack {min-height:130px;}
  html.ru-consultation-banner[data-ru-theme] .consultation-banner .consultation-banner__back {
    width:36px!important;min-width:36px;max-width:36px;height:36px!important;min-height:36px;max-height:36px;
    margin-top:calc((var(--consult-title-line) - 36px)/2 - 7px)!important;
  }
  html.ru-consultation-banner[data-ru-theme] .consultation-banner .consultation-banner__back svg {width:21px;height:21px;}
  html.ru-consultation-banner[data-ru-theme] .consultation-banner .consultation-banner__phrase {display:block;}
  html.ru-consultation-banner[data-ru-theme] .consultation-banner p.directory-hero__subtitle {font-size:16px!important;line-height:1.5!important;}
}
@media(prefers-reduced-motion:reduce) {
  html.ru-consultation-banner .consultation-banner__back {transition:none;}
}
