/* Страницы на исходных шаблонах Eleventy: каркас концепта и его палитра.
   Шрифты Golos / IBM Plex Sans (Condensed) перенаправлены на Inter Tight; моноширинный — IBM Plex Mono с сайта. */
@font-face{font-family:'Golos';font-weight:100 900;font-display:swap;src:url(/fonts/InterTight-var-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Golos';font-weight:100 900;font-display:swap;src:url(/fonts/InterTight-var-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-weight:100 900;font-display:swap;src:url(/fonts/InterTight-var-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'IBM Plex Sans';font-weight:100 900;font-display:swap;src:url(/fonts/InterTight-var-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC,U+2122,U+2212}
@font-face{font-family:'IBM Plex Sans Condensed';font-weight:100 900;font-display:swap;src:url(/fonts/InterTight-var-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'IBM Plex Sans Condensed';font-weight:100 900;font-display:swap;src:url(/fonts/InterTight-var-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC,U+2122,U+2212}

:root{
  --ds-background:#0B0D0C; --ds-surface:#E6E3DC; --ds-surface-editorial-green:#D9D5CB;
  --ds-surface-library:#072A21; --ds-surface-form:#072A21; --ds-surface-input:#0C3A2D;
  --ds-surface-submenu:#0B0D0C; --ds-surface-drawer:#0B0D0C;
  --ds-text-primary:#0B0D0C; --ds-text-secondary:#4b4e4c; --ds-text-inverse:#E6E3DC; --ds-text-inverse-secondary:#b4b1aa;
  --ds-accent:#2BD18E; --ds-accent-on-light:#007a4f; --ds-accent-hover:#5be3a9;
  --ds-border:#bdb9b0; --ds-border-footer:#bdb9b0; --ds-border-inverse:#2b3a33; --ds-border-input:#8f8b83;
  --ds-font-family:"Inter Tight",system-ui,sans-serif; --ds-font-family-form:"Inter Tight",system-ui,sans-serif;
  --navy:#0B0D0C; --accent:#CFE6DA; --accent-dark:#007a4f; --blue:#007a4f; --light-blue:#D9D5CB;
  --paper:#E6E3DC; --gray-mid:#D9D5CB; --text:#0B0D0C; --muted:#4b4e4c; --white:#E6E3DC;
  --stage:#0B0D0C; --light:#E6E3DC;
}
body.cx-legacy{padding-top:68px;font-family:"Inter Tight",system-ui,sans-serif;-webkit-font-smoothing:antialiased}
body.cx-legacy :is(h1,h2){font-weight:300!important;letter-spacing:-.035em}
body.cx-legacy :is(h3,h4){font-weight:400!important;letter-spacing:-.015em}
body.cx-legacy main a:not([class]){color:#007a4f}
/* кнопки старых шаблонов — в стиле концепта */
body.cx-legacy :is(.btn,.button,.form-submit,.btn-primary,.cta-button){border-radius:0!important;background:#00A66B!important;color:#0B0D0C!important;border-color:#00A66B!important;font-family:"Inter Tight",system-ui,sans-serif!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important}
body.cx-legacy :is(.btn,.button,.form-submit,.btn-primary,.cta-button):hover{background:#2BD18E!important}

/* Рубрики блога: тёмная шапка, как у страниц концепта */
body.cx-legacy .blog-hero{background:radial-gradient(90% 120% at 90% 0%,#0f2a21,#0B0D0C 65%)!important;border-bottom:0!important;padding:56px 0 48px!important}
body.cx-legacy .blog-hero :is(h1,.blog-hero__title){color:#E6E3DC!important;text-transform:none!important;font-weight:300!important;font-size:clamp(40px,6vw,96px)!important;line-height:.98!important;letter-spacing:-.045em!important}
body.cx-legacy .blog-hero__desc,body.cx-legacy .blog-hero p{color:rgba(230,227,220,.7)!important}
body.cx-legacy .blog-hero__label{color:#2BD18E!important}
body.cx-legacy .blog-hero a{color:rgba(230,227,220,.75)}
/* Заглушки карточек без фото — тёмно-зелёные, легче чёрных */
body.cx-legacy :is(.card-placeholder,.post-card__placeholder,[class*="placeholder"]){background-color:#072A21!important}

/* Хлебные крошки старых шаблонов — цвет своего блока (светлые на тёмной шапке, тёмные на светлом) */
body.cx-legacy .breadcrumb{color:inherit!important}
body.cx-legacy .breadcrumb :is(a,span){color:inherit!important}
body.cx-legacy .breadcrumb a{opacity:.75}
body.cx-legacy .breadcrumb span[aria-hidden]{opacity:.45}
body.cx-legacy .breadcrumb [aria-current]{opacity:1}
/* Заголовки для тёмных блоков */
body.cx-legacy .section-title--light{color:#E6E3DC!important}
/* Подписи на тёмно-зелёных заглушках фото */
body.cx-legacy [class*="placeholder"]{color:rgba(230,227,220,.75)!important}
body.cx-legacy .breadcrumb.breadcrumb--dark{color:rgba(230,227,220,.85)!important}

/* Обложка-заглушка для карточек без фото — как в блоге концепта */
body.cx-legacy .card-placeholder.ph-cover{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;padding:18px 20px;background:radial-gradient(120% 90% at 80% 20%,#0f4a37 0%,#072A21 55%,#061f18 100%)!important;color:rgba(43,209,142,.85)!important;overflow:hidden}
body.cx-legacy .card-placeholder.ph-cover::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(230,227,220,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(230,227,220,.05) 1px,transparent 1px);background-size:24px 24px}
body.cx-legacy .card-placeholder.ph-cover .mono{position:relative;font:11px "IBM Plex Mono",monospace;letter-spacing:.08em;text-transform:uppercase;color:rgba(230,227,220,.7)}
body.cx-legacy .card-placeholder.ph-cover svg{position:relative;width:34%;max-width:120px;align-self:flex-end}
body.cx-legacy .course-standard__soon .breadcrumb.breadcrumb--dark{color:#4b4e4c!important}

/* Заявка на курс/консультацию (education-request) — рабочая форма */
.hp{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden}
.education-request .f{display:grid;gap:5px;min-width:0}
.education-request .f>input,.education-request .f>textarea,.education-request .f>select{margin-top:0}
.education-request .msg{color:#B3261E;font-size:14px;line-height:1.35}
.education-request .msg:empty{display:none}
.education-request .f.err :is(input,textarea){border-color:#B3261E}
.education-request-hint{font-weight:400;font-size:14px;color:var(--ds-text-secondary,#5b605d)}
.education-request p.education-request-status.err{color:#B3261E}
.education-request button:disabled{opacity:.6;cursor:progress}
