/* Страницы штатов. Подключается только там, где ej_state_page_context() != null. */

.state-intro,
.state-requirements,
.state-proof,
.state-links {
  padding: 48px 0;
}

.state-intro h2,
.state-lanes h2,
.state-requirements h2,
.state-proof h2,
.state-links h2 {
  color: #151B63;
  margin-bottom: 16px;
}

.state-intro__text p,
.state-proof__text p,
.state-requirements__item p {
  margin-bottom: 12px;
}

/* Коридоры */
.state-lanes {
  padding: 48px 0;
  background: #ECF3FE;
}

.state-lanes__table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.state-lanes__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  background: #fff;
  border-radius: 8px;
}

.state-lanes__row_head {
  background: transparent;
  padding-bottom: 0;
  font-weight: 700;
  color: #151B63;
}

/* Требования и сезонность */
.state-requirements__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* Перелинковка */
.state-links__items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.state-links__item {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid #151B63;
  border-radius: 8px;
  color: #151B63;
  text-decoration: none;
}

.state-links__item:hover {
  background: #151B63;
  color: #fff;
}

.state-links__up {
  display: inline-block;
  margin-top: 20px;
  color: #151B63;
  font-weight: 700;
}

/* Заработок числом */
.earn__figure {
  margin-bottom: 20px;
}

.earn__range {
  display: block;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  color: #151B63;
}

.earn__basis,
.earn__asof {
  display: inline-block;
  margin-right: 10px;
  color: #5A6180;
}

.earn__sample {
  margin-top: 8px;
  color: #5A6180;
}


@media (max-width: 991px) {
  .state-requirements__items {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .state-intro,
  .state-lanes,
  .state-requirements,
  .state-proof,
  .state-links {
    padding: 32px 0;
  }

  .state-lanes__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .state-lanes__row_head {
    display: none;
  }

  .state-lanes__row span::before {
    content: attr(data-label) ': ';
    font-weight: 700;
    color: #151B63;
  }

  .state-lanes__row span:empty {
    display: none;
  }

  .earn__range {
    font-size: 30px;
  }
}

/* =========================================================================
   Страницы штатов — вёрстка по эталону tx-fullpage-v15 (Техас).
   Аддендумы porthos-ej-hero-form-addendum-2026-08-14 §6 и
   porthos-ej-boards-2-4-addendum-2026-08-14. Префикс ej-state-, main.min.css
   не трогаем: всё, что ниже, живёт только внутри периметра штатов.
   Горизонтальные отступы берём у штатного .container (max-width 90rem,
   padding 4.375rem), а не плоские 80px макета, — иначе левый край секций
   разъезжается с героем на промежуточных ширинах.
   ========================================================================= */

/* --- общее: иконки спрайта ------------------------------------------------ */
.ej-state-ico{display:inline-flex;align-items:center;justify-content:center;flex:none}
.ej-state-ico svg{display:block;width:100%;height:100%;color:#3647F6;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* --- общее: секция и шапка секции ---------------------------------------- */
.ej-state-s{position:relative;background:#fff;padding:74px 0 78px}
.ej-state-s>.container,
.ej-state-factsband>.container{display:block;width:100%}
.ej-state-alt{background:radial-gradient(120% 95% at 82% 6%,#E9EFFF 0%,#F5F8FF 46%,#FFFFFF 100%);border-top:1px solid #EAEEF9;border-bottom:1px solid #EAEEF9}

.ej-state-shead{margin-bottom:4px}
.ej-state-kick{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:700;letter-spacing:2.4px;text-transform:uppercase;color:#3647F6;margin:0 0 13px}
.ej-state-kico{width:16px;height:16px}
.ej-state-kico svg{stroke-width:2}
.ej-state-s h2,
.ej-state-shead h2{font-size:38px;line-height:46px;font-weight:600;color:#111A4D;margin:0 0 15px;letter-spacing:-.5px;max-width:940px;text-align:left}
.ej-state-ac{color:#3647F6}
.ej-state-intro{font-size:16px;line-height:26px;color:#4A5165;margin:0 0 8px;max-width:1060px}
.ej-state-intro-sub{font-size:15px;line-height:25px;color:#5A6076;margin-top:12px}
/* центрированная шапка полосы (Quick Facts, финальная CTA) */
.ej-state-shead.ej-state-ctr{text-align:center}
.ej-state-shead.ej-state-ctr .ej-state-kick{justify-content:center}
.ej-state-shead.ej-state-ctr h2{max-width:920px;margin-left:auto;margin-right:auto;text-align:center}
.ej-state-shead.ej-state-ctr .ej-state-intro{margin-left:auto;margin-right:auto;text-align:center}

/* --- общее: кнопка и выноска --------------------------------------------- */
.ej-state-btn{display:inline-flex;align-items:center;gap:12px;border-radius:12px;padding:17px 34px;font-size:15.5px;font-weight:600;margin-top:28px;text-decoration:none;transition:.3s ease}
.ej-state-btn .ej-state-ar{width:16px;height:14px;flex:none}
.ej-state-btn--solid{background:#3647F6;color:#fff}
.ej-state-btn--solid:hover,
.ej-state-btn--solid:focus,
.ej-state-btn--solid:active{background:#151B63;color:#fff}

.ej-state-callout{display:flex;gap:18px;align-items:center;margin-top:34px;background:#EDF3FE;border-left:3px solid #3647F6;border-radius:0 14px 14px 0;padding:22px 28px}
.ej-state-callout .ej-state-imark{flex:none;width:34px;height:34px;border-radius:50%;background:#3647F6;color:#fff;font-size:19px;font-weight:700;line-height:34px;text-align:center;font-family:Georgia,serif}
.ej-state-callout p{margin:0;font-size:15px;line-height:24px;color:#414861}
.ej-state-callout b,
.ej-state-callout strong{color:#111A4D;font-weight:700}
.ej-state-callout--wide{margin-top:32px}

/* --- Борд 1: герой с формой ---------------------------------------------- */
/* Штатный герой — флексбокс (left 60% / right 40%), эталон — сетка с
   фиксированной карточкой 528px. Переопределяем цепочкой той же длины:
   state-pages.css грузится после main.min.css (приоритет 20). */
.hero.hero-template.ej-state-hero{height:auto;min-height:0;padding-bottom:60px;overflow:hidden}
/* крошки: тема даёт clamp(50px,6.94vw,100px) и роняет сетку на 108px ниже
   эталона; в эталоне margin-bottom:0, воздух даёт margin-top сетки */
.hero.hero-template.ej-state-hero .container .breadcrumbs{margin-bottom:0}
.hero.hero-template.ej-state-hero .container .hero__contents{display:grid;grid-template-columns:minmax(0,1fr) 528px;column-gap:72px;row-gap:0;align-items:start;margin-top:46px}
.hero.hero-template.ej-state-hero .container .hero__contents>.hero__content{min-width:0}
.hero.hero-template.ej-state-hero .container .hero__contents .hero__content.left{flex:none;width:auto}
.hero.hero-template.ej-state-hero .container .hero__contents .hero__content.left h1{font-size:56px;line-height:66px;font-weight:600;letter-spacing:-.7px;max-width:600px;width:auto;margin:0}
/* North Carolina (10644): без balance точка переноса падает внутрь имени штата —
   «Operator Jobs in North / Carolina» на 1440 и 1280. Скоуп на пост намеренно:
   общее правило меняет перенос на живом Техасе (992/768/390). Спека Aramis, 15.08. */
body.postid-10644 .ej-state-hero h1 { text-wrap: balance; }
.hero.hero-template.ej-state-hero .container .hero__contents .hero__content.left .ej-state-lede{color:#EAEEFC;margin:26px 0 0;max-width:560px;font-weight:500}
.hero.hero-template.ej-state-hero .container .hero__contents .hero__content.left .ej-state-lede,
.hero.hero-template.ej-state-hero .container .hero__contents .hero__content.left .ej-state-hsub{font-size:14.5px;line-height:25px}
.hero.hero-template.ej-state-hero .container .hero__contents .hero__content.left .ej-state-hsub{color:#B9C0E4;margin:18px 0 0;max-width:560px}
.hero.hero-template.ej-state-hero .container .hero__contents .hero__content.ej-state-hform{display:block;width:auto;max-width:none;flex:none}

/* Карточка формы */
.ej-state-hcard{background:#fff;border-radius:18px;padding:20px 22px;box-shadow:0 24px 60px rgba(4,8,40,.42)}
.ej-state-htitle{color:#111A4D;font-weight:700;font-size:22px;line-height:28px;margin:0 0 10px}
.ej-state-hgrp{color:#111A4D;font-weight:700;font-size:14px;border-top:1px solid #EDF0F7;margin:10px 0 8px;padding-top:10px}
.ej-state-hfrow{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:8px}
.ej-state-hfrow--pair{grid-template-columns:1fr 1fr}
.ej-state-hfld{position:relative;min-width:0}
.ej-state-hlab{display:block;color:#2A3160;font-weight:600;font-size:12.5px;line-height:16px;margin:0 0 4px}
.ej-state-hinp{width:100%;border:1px solid #DCE1EE;border-radius:9px;background:#fff;padding:11px 14px;color:#111A4D;font-weight:600;font-size:14.5px;line-height:20px;transition:.3s ease}
.ej-state-hinp::placeholder{color:#9AA1B8;font-weight:400}
.ej-state-hinp::-moz-placeholder{color:#9AA1B8;font-weight:400}
.ej-state-hinp:focus{outline:none;border-color:#3647F6}
.ej-state-hsel{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:38px;cursor:pointer;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%235A6076' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}

/* Радио */
.ej-state-hropts{display:flex;gap:26px;flex-wrap:wrap}
.ej-state-hropts--col{flex-direction:column;gap:9px}
.ej-state-hro{position:relative;display:flex;align-items:flex-start;gap:9px;color:#2A3160;font-size:13.5px;line-height:18px;cursor:pointer;margin:0}
.ej-state-hro input[type=radio]{position:absolute;opacity:0;width:15px;height:15px;margin:0}
.ej-state-hrdo{flex:0 0 auto;width:15px;height:15px;border:1px solid #C3CADC;border-radius:50%;background:#fff;margin-top:1px;transition:.3s ease}
.ej-state-hro input[type=radio]:checked~.ej-state-hrdo{border-color:#3647F6;box-shadow:inset 0 0 0 2.5px #fff;background:#3647F6}
.ej-state-hro input[type=radio]:focus-visible~.ej-state-hrdo{outline:2px solid #3647F6;outline-offset:2px}

/* Согласия */
.ej-state-hopt{margin-top:9px}
.ej-state-hopt .form-checkbox-label{display:flex;gap:10px;align-items:flex-start;color:#5B6480;font-size:12.2px;line-height:17px;cursor:pointer;margin:0}
.ej-state-hopt .form-checkbox{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:0 0 auto;width:16px;height:16px;border:1px solid #C3CADC;border-radius:4px;margin:1px 0 0;background:#fff;cursor:pointer;transition:.3s ease}
.ej-state-hopt .form-checkbox:checked{background:#3647F6 url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4.2 3.6 6.8 9 1.4' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center center;border-color:#3647F6}
.ej-state-hopt .form-checkbox:focus-visible{outline:2px solid #3647F6;outline-offset:2px}
/* Клампа темы здесь нет: её правило висит на .contact-form-container, а наша
   карточка вне этого контейнера. Повторяем клампу и «Read more» у себя. */
.ej-state-hopt .form-checkbox-text__content{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ej-state-hopt .form-checkbox-text.is-expanded .form-checkbox-text__content{display:inline;-webkit-line-clamp:unset;overflow:visible}
.ej-state-hopt .form-checkbox-text__toggle{display:inline;cursor:pointer;color:#3647F6;border-bottom:1px solid #3647F6;font-size:12.2px;position:relative;z-index:3}
.ej-state-hopt .form-checkbox-text__toggle:hover{border-color:transparent}
.ej-state-hopt .form-checkbox-text.is-expanded .form-checkbox-text__toggle{display:none}
.ej-state-hopt .form-checkbox-text a{color:#3647F6}
/* consent-p: текст согласия приходит из опций с собственным <p>, и его
   перебивает `.hero .container .hero__content p` темы — на белой карточке
   это белым по белому. Наследуем оформление от .form-checkbox-label. */
.hero.hero-template.ej-state-hero .container .hero__contents .hero__content .ej-state-hcard .form-checkbox-text__content p{color:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;margin:0;display:inline}

/* Капча и ошибки */
.ej-state-hcap{margin-top:12px}
.ej-state-turnstile{min-height:65px}
.ej-state-hcard .error-message{margin-top:6px;color:#C0341E;font-size:12px;line-height:16px}
.ej-state-hcard .has-error .ej-state-hinp,
.ej-state-hcard .ej-state-hinp.error{border-color:#C0341E}
.ej-state-hcard .has-error .ej-state-hrdo{border-color:#C0341E}

/* Кнопка и подсказка */
.ej-state-hsend{width:100%;background:#3647F6;border:none;border-radius:10px;color:#fff;font-weight:700;font-size:16px;display:flex;align-items:center;justify-content:center;gap:9px;margin-top:14px;padding:15px 0;cursor:pointer;transition:.3s ease}
.ej-state-hsend:hover,
.ej-state-hsend:focus{background:#151B63}
.ej-state-hsend .ej-state-ar{width:16px;height:14px;flex:none}
.ej-state-hsend.is-waiting{opacity:.75;cursor:progress}
.ej-state-hhint{color:#8A91AC;font-size:12px;line-height:17px;text-align:center;margin-top:10px}

/* Сворачивание (эталон, строки 349–360): в свёрнутом виде скрыты «ещё» и
   заголовки групп; H1 не двигается за счёт align-items:start у сетки героя. */
.ej-state-fold .ej-state-hmore{display:none}
.ej-state-fold.is-open .ej-state-hmore{display:block}
.ej-state-fold:not(.is-open) .ej-state-hgrp{display:none;margin:0}
.ej-state-fold .ej-state-hsend{margin-top:16px}
.ej-state-fold.is-open .ej-state-hhint{display:none}

/* --- Борд 1a: полоса фактов ---------------------------------------------- */
.ej-state-factsband{background:#fff;padding:36px 0 26px}
.ej-state-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.ej-state-facts--1{grid-template-columns:minmax(0,520px)}
.ej-state-facts--2{grid-template-columns:repeat(2,1fr)}
.ej-state-facts--3{grid-template-columns:repeat(3,1fr)}
.ej-state-fact{min-width:0;background:#fff;border:1px solid #E7EAF4;border-radius:16px;padding:22px 24px 24px;box-shadow:0 2px 10px rgba(21,27,99,.05)}
.ej-state-ring{width:46px;height:46px;border-radius:50%;background:#EEF1FE;margin-bottom:15px}
.ej-state-ring svg{width:23px;height:23px}
.ej-state-fact b{display:block;font-size:17px;font-weight:600;color:#151B63;margin-bottom:6px}
.ej-state-fact span{display:block;font-size:13.5px;line-height:20px;color:#5A6076}

/* --- Борд 2: рынки ------------------------------------------------------- */
.ej-state-txgrid{margin-top:30px}
.ej-state-mkgrid{display:grid;grid-template-columns:1fr 1fr;min-width:0}
.ej-state-mk{min-width:0;padding:0 30px 24px 0}
.ej-state-mk:nth-child(2n){padding:0 0 24px 30px;border-left:1px solid #E4EAF7}
.ej-state-mk:nth-child(n+3){border-top:1px solid #E4EAF7;padding-top:24px}
/* >=1280 сетка идёт в три колонки: схема коридоров убрана, полоса освободилась.
   Правила 2n/n+3 выше остаются рабочими на 768-1279 — блок ниже перекрывает их
   только на десктопе, поэтому мобильные медиа трогать не пришлось. Граница та же
   1279/1280, новых брейкпоинтов нет. */
@media (min-width:1280px){
  .ej-state-mkgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ej-state-mk,
  .ej-state-mk:nth-child(2n){padding:0 24px 24px 0;border-left:0}
  .ej-state-mk:nth-child(3n+2){padding:0 24px 24px 24px;border-left:1px solid #E4EAF7}
  .ej-state-mk:nth-child(3n){padding:0 0 24px 24px;border-left:1px solid #E4EAF7}
  .ej-state-mk:nth-child(-n+3){border-top:0;padding-top:0}
  .ej-state-mk:nth-child(n+4){border-top:1px solid #E4EAF7;padding-top:24px}
}
.ej-state-mkh{display:flex;align-items:center;gap:11px}
.ej-state-mkh h3{margin:0;font-size:19px;line-height:25px;font-weight:600;color:#111A4D;letter-spacing:-.25px}
.ej-state-mk p{margin:11px 0 0;font-size:13.8px;line-height:21.5px;color:#5A6076}
.ej-state-pico{width:19px;height:19px}

/* --- Борд 3: карта штата и типы груза ------------------------------------ */
.ej-state-fpgrid{display:grid;grid-template-columns:592px minmax(0,1fr);gap:38px;align-items:start;margin-top:30px}
.ej-state-fpgrid--solo{grid-template-columns:minmax(0,1fr)}
.ej-state-fpvis{position:relative;min-width:0;background:#F4F7FD;border:1px solid #E7ECFA;border-radius:20px;padding:16px 16px 8px}
.ej-state-fpvis svg{display:block;width:100%;height:auto}
.ej-state-fpvis--photo{padding:0;overflow:hidden;align-self:stretch}
.ej-state-fpvis--photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.ej-state-maptag{position:absolute;left:28px;bottom:24px;display:flex;align-items:center;gap:10px;font-size:12.5px;font-weight:700;letter-spacing:1.7px;text-transform:uppercase;color:#5A6076}
.ej-state-frows{min-width:0}
.ej-state-frow{display:flex;gap:18px;padding:22px 0;border-top:1px solid #E4EAF7}
.ej-state-frow:first-child{border-top:none;padding-top:2px}
.ej-state-frow:last-child{padding-bottom:0}
.ej-state-frow h3{margin:0;font-size:18px;line-height:24px;font-weight:600;color:#111A4D;letter-spacing:-.2px}
.ej-state-frow p{margin:8px 0 0;font-size:14px;line-height:22px;color:#5A6076}
.ej-state-sq{width:50px;height:50px;border-radius:14px;background:#EAEFFF}
.ej-state-sq svg{width:25px;height:25px}

/* --- Борд 4: что учесть при старте --------------------------------------- */
.ej-state-cards{display:grid;gap:18px;margin-top:26px}
.ej-state-cards--c2{grid-template-columns:repeat(2,1fr);gap:20px}
.ej-state-card{min-width:0;background:#fff;border:1px solid #E7ECFA;border-radius:18px;box-shadow:0 3px 14px rgba(21,27,99,.045);padding:20px 24px 22px}
.ej-state-ctop{display:flex;align-items:center;gap:14px}
.ej-state-card h3{font-size:18.5px;line-height:24px;font-weight:600;color:#111A4D;margin:0;letter-spacing:-.2px}
.ej-state-card p{font-size:13.5px;line-height:20.5px;color:#5A6076;margin:11px 0 0}
.ej-state-badge{width:46px;height:46px;border-radius:50%;background:#EAEFFF}
.ej-state-badge svg{width:24px;height:24px}

/* ---- Финальная CTA-полоса (позиция 11) --------------------------------- */
.ej-state-blue{background:linear-gradient(104deg,#3647F6 .33%,#3647F6 57.27%,#5261FF 74.69%,#3647F6 82.41%);border-top:none;border-bottom:none;color:#fff}
.ej-state-blue.ej-state-ctr{text-align:center;padding:78px 0 84px}
.ej-state-blue .ej-state-shead{margin-bottom:0}
.ej-state-blue .ej-state-shead h2{color:#fff;max-width:none;text-align:center;margin:0 0 15px}
.ej-state-blue .ej-state-shead h2 .ej-state-ac{color:inherit}
.ej-state-blue .ej-state-intro{color:rgba(255,255,255,.92);max-width:820px;margin-left:auto;margin-right:auto}
.ej-state-ticks{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:22px}
.ej-state-ticks span{background:rgba(255,255,255,.16);border-radius:999px;padding:9px 22px;font-size:14px;font-weight:600;color:#fff}
.ej-state-btn--white{background:#fff;color:#151B63}
.ej-state-btn--white:hover,.ej-state-btn--white:focus,.ej-state-btn--white:active{background:#EAEEF9;color:#151B63}

/* --- Борд «Why … Choose EJ» (позиция 3) ---------------------------------- */
/* Эталон ga-fullpage-v1.html:105-118. Слева заголовок с кнопкой, справа лента
   строк; вторая строка подсвечена — это ритм полосы, а не признак содержимого. */
.ej-state-whygrid{display:grid;grid-template-columns:404px minmax(0,1fr);gap:70px;align-items:start}
.ej-state-whyleft{min-width:0}
.ej-state-whyleft .ej-state-shead{margin-bottom:0}
.ej-state-whyleft .ej-state-shead h2{margin-bottom:19px;max-width:none}
.ej-state-whyleft .ej-state-intro{font-size:16px;line-height:27px;max-width:none}
.ej-state-whyleft .ej-state-btn{margin-top:32px}
.ej-state-whyrows{min-width:0;margin-top:2px}
.ej-state-wrow{border-top:1px solid #E3E9F7;padding:7px 0}
.ej-state-wrow:first-child{border-top:none;padding-top:0}
.ej-state-wbox{display:flex;gap:24px;align-items:flex-start;padding:17px 22px;border-radius:16px}
.ej-state-wbox.is-hot{background:#E4EBFD}
.ej-state-wbox .ej-state-badge{width:54px;height:54px;background:#E9EEFC}
.ej-state-wbox.is-hot .ej-state-badge{background:#fff}
.ej-state-wrow h3{margin:1px 0 0;font-size:19px;line-height:25px;font-weight:600;color:#111A4D;letter-spacing:-.25px}
.ej-state-wrow p{margin:9px 0 0;font-size:14.5px;line-height:23px;color:#4A5165}

/* --- Борд «Do You Qualify» (позиция 4) ----------------------------------- */
/* Эталон ga-fullpage-v1.html:240-263. Слева рельса с точками, справа панель. */
.ej-state-qcols{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:30px;align-items:start}
.ej-state-qcol{min-width:0}
.ej-state-qhead{display:flex;align-items:center;gap:11px;font-size:13px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#111A4D;margin-bottom:16px}
.ej-state-qhead .ej-state-kico{width:18px;height:18px}
.ej-state-rule{flex:1;height:1px;background:#D8E0F5;display:block}
.ej-state-qrail{position:relative;padding-left:36px;display:flex;flex-direction:column;gap:16px}
.ej-state-qrail:before{content:"";position:absolute;left:5px;top:10px;bottom:10px;width:2px;background:#DCE4F7;border-radius:2px}
.ej-state-qrow{position:relative;min-width:0}
.ej-state-qrow:before{content:"";position:absolute;left:-36px;top:41px;width:12px;height:12px;border-radius:50%;background:#3647F6;box-shadow:0 0 0 4px #fff}
.ej-state-qcard{display:flex;gap:18px;background:#fff;border:1px solid #E7ECFA;border-radius:16px;padding:22px 24px 24px;box-shadow:0 2px 10px rgba(21,27,99,.04)}
.ej-state-qcard+.ej-state-qcard{margin-top:16px}
.ej-state-qtx{min-width:0}
.ej-state-qtx h3{font-size:18px;line-height:24px;font-weight:600;color:#111A4D;margin:0;letter-spacing:-.2px}
.ej-state-qtx p{font-size:13.5px;line-height:21px;color:#5A6076;margin:8px 0 0}
.ej-state-qpanel{background:#EFF3FE;border:1px solid #E2E9FA;border-radius:20px;padding:26px 26px 30px}
.ej-state-qpanel .ej-state-btn{margin-top:24px}

/* --- Борд «How It Works» (позиция 5) ------------------------------------- */
/* Эталон ga-fullpage-v1.html:63-87. Связка .hlink и её точка обрываются выше
   следующего значка: тот рисуется поверх и иначе линия торчала бы из-под него. */
.ej-state-hwhead .ej-state-shead h2,
.ej-state-shead.ej-state-hwhead h2{margin-bottom:16px;max-width:none}
.ej-state-shead.ej-state-hwhead .ej-state-intro{max-width:660px;font-size:16.5px;line-height:27px}
.ej-state-hsteps{margin-top:36px}
.ej-state-hstep{display:flex;align-items:flex-start;gap:32px;padding-left:32px;position:relative}
.ej-state-hstep+.ej-state-hstep{margin-top:44px}
.ej-state-hicon{position:relative;flex:none}
.ej-state-badge.ej-state-hb{width:46px;height:46px;background:#E9EEFC}
.ej-state-badge.ej-state-hb svg{width:24px;height:24px;stroke-width:1.6}
.ej-state-hlink{position:absolute;left:50%;top:54px;width:0;height:16px;border-left:2px dotted #3647F6}
.ej-state-hlink::after{content:"";position:absolute;left:-5px;bottom:-11px;width:10px;height:10px;border-radius:50%;background:#1B2AAE}
.ej-state-htx{min-width:0;padding-top:14px}
.ej-state-htx h3{margin:0;font-size:20px;line-height:26px;font-weight:600;color:#111A4D;letter-spacing:-.4px}
.ej-state-htx p{margin:11px 0 0;font-size:15.5px;line-height:25px;color:#525A70;max-width:640px}
.ej-state-hstep.is-hot{background:#EDF2FC;border-radius:18px;padding:26px 32px;align-items:center;margin-top:36px}
.ej-state-hstep.is-hot .ej-state-htx{padding-top:0}
.ej-state-hcta{margin-left:auto;padding-left:44px;border-left:1px solid #D5DEF2;align-self:stretch;display:flex;align-items:center}
.ej-state-hcta .ej-state-btn{margin-top:0;white-space:nowrap}
.ej-state-hnote{margin:22px 0 0 32px;font-size:14.5px;line-height:22px;color:#6B7288}

/* --- Борд «Quick Facts» (позиция 6) -------------------------------------- */
/* Эталон ga-fullpage-v1.html:265-294. Точки и маршрут — декор, они за пределами
   .container и обрезаются overflow'ом полосы. */
.ej-state-qfsec{overflow:hidden}
.ej-state-dotgrid{position:absolute;left:34px;top:24px;width:120px;height:98px;background-image:radial-gradient(#D7E0F2 1.7px,transparent 1.8px);background-size:20px 20px}
.ej-state-route{position:absolute;right:56px;top:30px}
.ej-state-qfcard{background:#fff;border:1px solid #E7ECFA;border-radius:24px;padding:26px;box-shadow:0 4px 20px rgba(21,27,99,.05);margin-top:26px}
.ej-state-qfgrid{display:grid;grid-template-columns:minmax(0,1fr) 386px;gap:24px;align-items:stretch}
table.ej-state-qf{width:100%;border-collapse:collapse;margin:0}
table.ej-state-qf th,
table.ej-state-qf td{text-align:left;padding:17px 22px;font-size:15px;border-bottom:1px solid #EDF1FA}
table.ej-state-qf tr:last-child th,
table.ej-state-qf tr:last-child td{border-bottom:none}
table.ej-state-qf th{width:36%;font-weight:600;color:#111A4D;border-right:1px solid #EDF1FA}
table.ej-state-qf td{color:#4A5165}
.ej-state-glance{min-width:0;background:#EAF1FD;border-radius:16px;padding:24px 22px 26px;display:flex;flex-direction:column;justify-content:space-between}
.ej-state-ghead{display:flex;align-items:center;gap:14px}
.ej-state-ghead b{font-size:18px;font-weight:600;color:#111A4D}
.ej-state-spark{flex:none;margin-left:auto}
.ej-state-wsq{width:48px;height:48px;border-radius:14px;background:#fff;box-shadow:0 2px 8px rgba(21,27,99,.05)}
.ej-state-wsq svg{width:24px;height:24px}
.ej-state-gi{display:flex;gap:14px;align-items:flex-start;padding:18px 0;border-top:1px solid #D9E4F6}
.ej-state-ghead+.ej-state-gi{border-top:none}
.ej-state-gi>div{min-width:0}
.ej-state-gi b{display:block;font-size:15.5px;font-weight:600;color:#111A4D}
.ej-state-gi p{margin:5px 0 0;font-size:13.5px;line-height:20px;color:#5A6076}
.ej-state-glance .ej-state-btn{width:100%;justify-content:center;margin-top:8px}

/* --- Борд «FAQ» (позиция 11) --------------------------------------------- */
/* Секция печатается компонентом темы (section.faq), своей разметки у неё больше
   нет — вся раскладка, синяя заливка и аккордеон приходят из main.min.css.
   Здесь только три отличия страницы штата, и все висят на .ej-state-v15, чтобы
   не уехать в общий шаблон (критерий 10 спеки 15.08):

   1. Ритм строк. У темы row-gap и padding-bottom = clamp(25px,2.92vw,42px), на
      1440 это 42+42 при строке вопроса 39px — шаг 124px. На пяти вопросах это
      норма, на двенадцати секция вырастает до 1897px («spacing between questions
      is huge», Елена msg 5907). 16px дают шаг 72px и секцию ~1300px; макет с
      этим ритмом одобрен (msg 5909).
   2. Sticky левой колонки. Тема липнет на всех ширинах кроме <=700px; у нас
      справа 12 блоков, и на планшете колонка едет отдельно от списка. Снимаем
      всё, что уже 1279px — на >=1280px sticky темы остаётся как есть.
   3. Зазор до FAQ. Тема даёт .faq{margin-top:clamp(160px,8.33vw,120px)} — клэмп
      написан наоборот (min 160 > max 120), потолок не срабатывает никогда, и
      значение залипло на 160px на любой ширине. На штате CTA и FAQ обе синие,
      160px белого между ними читаются как незаконченная вёрстка (Елена msg 5979);
      80px выбраны ей же (msg 5986). Специфичность 0,3,1 бьёт тему 0,1,0 — !important
      не нужен. Сам клэмп в main.min.css не чиним: дефект общесайтовый, тот же зазор
      на живом /owner-operators/, чинится отдельно с владельцем темы. */
.ej-state-v15 .faq .container .faq-items .faq-item.right{row-gap:16px}
.ej-state-v15 .faq .container .faq-items .faq-item.right .faq-block{padding-bottom:16px}
.ej-state-v15 .ej-state-ctr + section.faq{margin-top:80px}

/* 4. Кегль вопроса. Тема даёт .faq …faq-toggle h3{font-size:clamp(18px,1.67vw,24px);
      line-height:163.33%} — 24px/39px на 1440. Правило исправно и кегль общесайтовый:
      контрольный замер на главной даёт ровно те же 24px/39,12px, дефекта в теме нет.
      Отличается окружение: на штате шкала компактнее (текст карточек 13,5px, все
      прочие h3 18–19px), и вопрос FAQ оказывается крупнее любого другого подзаголовка
      страницы — отношение к основному тексту 1,8× против 1,5× на главной. Это и видно
      глазом («here the font size is too big», Елена msg 6024; «i would make the font
      smaller … visually it's too big», msg 6030). Приводим к собственной шкале страницы:
      19px на 1440 вровень с .ej-state-wrow h3 (19px/25px), ниже ~1364px остаётся 18px
      темы, мобильный не меняется вовсе. Строку ужимаем 39px → 26px, к ритму прочих h3.
      Специфичность 0,7,1 бьёт тему 0,6,1 — !important не нужен. main.min.css не трогаем:
      правило там корректно и держит весь остальной сайт. */
.ej-state-v15 .faq .container .faq-items .faq-item.right .faq-block .faq-toggle h3{font-size:clamp(18px,calc(1.3194444444vw),19px);line-height:26px}

@media (max-width:1279px){
  .ej-state-v15 .faq .container .faq-items .faq-item.left{position:static}
}

/* --- Борд «Related pages» (позиция 12) ----------------------------------- */
/* Эталон ga-fullpage-v1.html:344-350. */
.ej-state-rel{padding:56px 0 60px}
.ej-state-relh{font-size:24px;line-height:30px;font-weight:600;color:#111A4D;margin:0 0 18px;letter-spacing:-.3px}
.ej-state-relgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.ej-state-rl{min-width:0;border:1px solid #E7ECFA;border-radius:14px;padding:16px 18px;font-size:15px;font-weight:600;color:#111A4D;text-decoration:none;transition:.3s ease}
a.ej-state-rl:hover,
a.ej-state-rl:focus{border-color:#3647F6;color:#3647F6}
.ej-state-rk{display:block;font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:#8A91AC;font-weight:600;margin-bottom:6px}


/* --- 1279: карточка героя ужимается, макет остаётся двухколоночным ------- */
@media (max-width:1279px){
  .hero.hero-template.ej-state-hero .container .hero__contents{grid-template-columns:minmax(0,1fr) 452px;column-gap:40px;margin-top:36px}
  .hero.hero-template.ej-state-hero .container .hero__contents .hero__content.left h1{font-size:46px;line-height:56px}
  .ej-state-fpgrid{grid-template-columns:minmax(0,48%) minmax(0,1fr);gap:30px}
  .ej-state-s h2,
  .ej-state-shead h2{font-size:34px;line-height:42px}
  .ej-state-whygrid{grid-template-columns:minmax(0,36%) minmax(0,1fr);gap:40px}
  .ej-state-qfgrid{grid-template-columns:minmax(0,1fr) 330px}
}

/* --- 991: одна колонка везде, копия над формой --------------------------- */
@media (max-width:991px){
  .hero.hero-template.ej-state-hero{padding-bottom:48px}
  .hero.hero-template.ej-state-hero .container .hero__contents{grid-template-columns:minmax(0,1fr);row-gap:32px;margin-top:28px}
  .hero.hero-template.ej-state-hero .container .hero__contents .hero__content.left h1{font-size:40px;line-height:50px;max-width:none}
  .hero.hero-template.ej-state-hero .container .hero__contents .hero__content.left .ej-state-lede,
  .hero.hero-template.ej-state-hero .container .hero__contents .hero__content.left .ej-state-hsub{max-width:none}
  .hero.hero-template.ej-state-hero .container .hero__contents .hero__content.ej-state-hform{width:100%}
  .ej-state-s{padding:56px 0 60px}
  .ej-state-facts{grid-template-columns:repeat(2,1fr)}
  .ej-state-fpgrid{grid-template-columns:minmax(0,1fr);gap:26px}
  .ej-state-fpvis--photo{align-self:auto}
  .ej-state-fpvis--photo img{height:auto}
  .ej-state-cards--c2{grid-template-columns:minmax(0,1fr)}
  .ej-state-whygrid{grid-template-columns:minmax(0,1fr);gap:34px}
  .ej-state-qcols{grid-template-columns:minmax(0,1fr);gap:26px}
  .ej-state-qfgrid{grid-template-columns:minmax(0,1fr);gap:20px}
  .ej-state-route{display:none}
  .ej-state-hstep{gap:24px;padding-left:0}
  /* на узком кнопка уходит под текст: колонка слева от неё уже не помещается */
  .ej-state-hstep.is-hot{flex-wrap:wrap}
  .ej-state-hcta{width:100%;margin-left:0;margin-top:18px;padding:18px 0 0;border-left:none;border-top:1px solid #D5DEF2}
  .ej-state-hnote{margin-left:0}
  .ej-state-rel{padding:44px 0 48px}
  .ej-state-relgrid{grid-template-columns:repeat(2,1fr)}
}

/* --- 767: телефон -------------------------------------------------------- */
@media (max-width:767px){
  .hero.hero-template.ej-state-hero{padding-bottom:40px}
  .hero.hero-template.ej-state-hero .container .hero__contents{margin-top:24px;row-gap:26px}
  .hero.hero-template.ej-state-hero .container .hero__contents .hero__content.left h1{font-size:34px;line-height:42px;letter-spacing:-.4px}
  .hero.hero-template.ej-state-hero .container .hero__contents .hero__content.left .ej-state-lede{margin-top:20px}
  .hero.hero-template.ej-state-hero .container .hero__contents .hero__content.left .ej-state-lede,
  .hero.hero-template.ej-state-hero .container .hero__contents .hero__content.left .ej-state-hsub{font-size:13.5px;line-height:23px}
  .hero.hero-template.ej-state-hero .container .hero__contents .hero__content.left .ej-state-hsub{margin-top:14px}
  .ej-state-hcard{padding:18px 16px;border-radius:16px;box-shadow:0 14px 34px rgba(4,8,40,.34)}
  .ej-state-htitle{font-size:20px;line-height:26px}
  .ej-state-hfrow--pair{grid-template-columns:1fr}
  .ej-state-hropts{gap:18px}
  .ej-state-s{padding:44px 0 48px}
  .ej-state-s h2,
  .ej-state-shead h2{font-size:27px;line-height:35px;letter-spacing:-.3px}
  .ej-state-intro{font-size:15px;line-height:25px}
  .ej-state-facts{grid-template-columns:minmax(0,1fr)}
  .ej-state-facts--1{grid-template-columns:minmax(0,1fr)}
  .ej-state-factsband{padding:28px 0 22px}
  .ej-state-mkgrid{grid-template-columns:minmax(0,1fr)}
  .ej-state-mk,
  .ej-state-mk:nth-child(2n){padding:0 0 20px}
  .ej-state-mk:nth-child(2n){border-left:none}
  .ej-state-mk:nth-child(n+2){border-top:1px solid #E4EAF7;padding-top:20px}
  .ej-state-mk:last-child{padding-bottom:0}
  .ej-state-frow{gap:14px;padding:18px 0}
  .ej-state-sq{width:44px;height:44px;border-radius:12px}
  .ej-state-sq svg{width:22px;height:22px}
  .ej-state-maptag{left:20px;bottom:16px;font-size:11.5px;letter-spacing:1.2px}
  .ej-state-callout{gap:14px;padding:18px 20px;margin-top:26px}
  .ej-state-callout p{font-size:14px;line-height:23px}
  .ej-state-btn{width:100%;justify-content:center;padding:16px 24px;margin-top:22px}
  .ej-state-blue.ej-state-ctr{padding:48px 0 52px}
  .ej-state-ticks{gap:8px;margin-top:18px}
  .ej-state-ticks span{padding:8px 16px;font-size:13px}
  .ej-state-shead.ej-state-hwhead .ej-state-intro{font-size:15px;line-height:25px}
  .ej-state-whygrid{gap:26px}
  .ej-state-wbox{gap:16px;padding:14px 0}
  .ej-state-wbox.is-hot{padding:14px 16px}
  .ej-state-wbox .ej-state-badge{width:46px;height:46px}
  .ej-state-qrail{padding-left:28px}
  .ej-state-qrow:before{left:-28px;top:34px}
  .ej-state-qcard{gap:14px;padding:18px 18px 20px}
  .ej-state-qpanel{padding:20px 18px 24px}
  .ej-state-qfcard{padding:16px;border-radius:18px}
  .ej-state-dotgrid{display:none}
  table.ej-state-qf th,
  table.ej-state-qf td{padding:13px 12px;font-size:14px}
  table.ej-state-qf th{width:42%}
  .ej-state-glance{padding:20px 18px 22px}
  .ej-state-hsteps{margin-top:26px}
  .ej-state-hstep{gap:16px}
  .ej-state-hstep+.ej-state-hstep{margin-top:28px}
  .ej-state-hstep.is-hot{margin-top:28px;padding:20px 18px}
  .ej-state-hlink{height:12px}
  .ej-state-htx{padding-top:6px}
  .ej-state-htx p{font-size:14.5px;line-height:23px}
  .ej-state-hnote{font-size:14px}
  .ej-state-relgrid{grid-template-columns:minmax(0,1fr)}
}
