/* ============================================================
   RUBY — адаптив

   Макет Figma существует только в ширине 1920. До 1600 px холст
   масштабируется целиком (scripts/stage.js) — композиция остаётся
   ровно как в макете. Ниже 1600 px страница пересобирается потоком:
   абсолютные координаты макета сбрасываются, блоки выстраиваются
   в колонки, размеры шрифтов и отступы считаются от ширины окна.

   Раскладки ниже 1600 px в макете нет — она собрана по смыслу
   (порядок и содержание блоков сохранены).

   Ступени:
     1600 px и выше — холст макета;
     1000…1599      — потоком, две колонки, полное меню;
     760…999        — планшет: одна колонка, бургер;
     до 759         — телефон.
   ============================================================ */

@media (max-width: 1599.98px) {
  :root {
    --gutter: clamp(16px, 4vw, 48px);
    --wrap: 1180px;
    --sec-pad: clamp(56px, 7vw, 104px);
    --row-gap: clamp(24px, 3.4vw, 56px);

    /* Типографика от ширины окна: минимум — телефон, максимум — 1600 px */
    --t-h1-size: clamp(28px, 3.6vw, 54px);
    --t-h1-lh: 1.18;
    --t-h2-size: clamp(22px, 2.6vw, 40px);
    --t-h2-lh: 1.12;
    --t-h3-size: clamp(17px, 1.9vw, 28px);
    --t-h3-lh: 1.2;
    --t-body-size: clamp(15px, 1.5vw, 22px);
    --t-body-lh: 1.45;
    --t-lead-size: clamp(16px, 1.7vw, 26px);
    --t-lead-lh: 1.35;
    --t-btn-size: clamp(14px, 1.2vw, 19px);
    --t-btn-lh: 1.3;
    --t-btn-lg-size: clamp(15px, 1.3vw, 21px);
    --t-btn-lg-lh: 1.3;
    --t-meta-size: clamp(12px, 1vw, 16px);
    --t-meta-lh: 1.3;

    --header-h: 64px;
  }

  /* ---------- холст → поток --------------------------------- */
  .stage {
    width: 100%;
    max-width: 100%;
    overflow: clip;
  }

  .band,
  .site-header,
  .site-header__bar,
  .site-footer,
  .header-drop {
    width: 100%;
  }

  /* Полоса — сетка из 12 колонок шириной не больше --wrap.
     По умолчанию блок занимает всю ширину, секции ниже расставляют
     свои элементы по колонкам. */
  .band {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(12px, 2vw, 32px);
    row-gap: var(--row-gap);
    align-content: start;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    height: auto;
    margin-inline: auto;
    padding: var(--sec-pad) var(--gutter);
  }

  .band > * {
    grid-column: 1 / -1;
    min-width: 0;
  }

  /* Абсолютные координаты макета больше не нужны. Специфичность —
     в один класс: правила секций ниже по файлу должны иметь
     возможность вернуть элементу position. Часть координат задана
     в разметке атрибутом style — их снимаем через !important. */
  .abs,
  .btn,
  .btn__label,
  .link-card,
  .link-card__text,
  .link-card__arrow,
  .link-card__rule,
  .industry-card,
  .industry-card__title,
  .industry-card__text,
  .results__card-title,
  .results__card-text,
  .site-footer__line {
    position: static;
    left: auto !important;
    top: auto !important;
    right: auto;
    bottom: auto;
    width: auto !important;
    height: auto !important;
  }

  /* В макете многие строки не переносятся (nowrap) — на узком экране
     это распирало бы колонки */
  .btn__label,
  .link-card__text,
  .site-nav__label,
  .problems__item,
  .problems__title,
  .showcase__title,
  .news-heading,
  .photo-stub__label,
  .form-label__text {
    white-space: normal;
  }

  .btn__label {
    text-align: center;
  }

  /* ---------- кнопки ---------------------------------------- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px clamp(16px, 2vw, 28px);
  }

  .btn--outline {
    box-shadow: inset 0 0 0 2px var(--c-black);
  }

  .btn--outline:hover,
  .btn--outline:focus-visible {
    box-shadow: inset 0 0 0 2px var(--c-muted);
  }

  /* ---------- «Переход на статью» --------------------------- */
  .link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: clamp(10px, 1.4vw, 18px) 0;
    border-top: 1px solid var(--c-black);
    border-bottom: 1px solid var(--c-black);
    transition: border-color var(--hover-dur) var(--hover-ease);
  }

  .link-card:hover,
  .link-card:focus-visible {
    border-color: var(--c-muted);
  }

  /* линии макета заменены рамкой карточки */
  .link-card__rule { display: none; }

  .link-card__arrow {
    flex: none;
    width: clamp(28px, 2.6vw, 42px) !important;
    height: clamp(10px, 0.9vw, 15px) !important;
  }

  /* ---------- шапка -----------------------------------------
     Сама панель становится гибкой строкой: логотип, меню по центру,
     действия справа. Белая подложка с линией — отдельным слоем под
     ними, как в макете. */
  .site-header {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.6vw, 28px);
    height: var(--header-h);
    padding: 0 var(--gutter);
  }

  .site-header__bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }

  .logo {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    display: flex;
    align-items: center;
    flex: none;
    width: auto;
    height: auto;
  }

  .logo__mark {
    position: relative;
    left: -6px;
    top: 0;
    width: 40px;
    height: 40px;
  }

  .logo__word {
    position: relative;
    left: 0;
    top: 0;
    width: auto;
    font-size: clamp(20px, 2vw, 30px);
    line-height: 1.2;
  }

  .logo__underline { display: none; }

  .site-nav {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.8vw, 34px);
    margin-inline: auto;   /* меню по центру строки */
  }

  .site-nav__item {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
  }

  .site-nav__label {
    position: relative;
    left: auto;
    top: auto;
    font-size: clamp(13px, 1.15vw, 19px);
    line-height: 1.25;
  }

  .site-nav__underline {
    top: auto;
    bottom: -6px;
    height: 3px;
  }

  /* действия справа */
  .header-search {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    flex: none;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
  }

  .header-search__toggle {
    position: relative;
    left: auto;
    top: auto;
    width: 32px;
    height: 34px;
    order: 2;
  }

  .header-search__icon {
    width: 32px;
    height: 34px;
  }

  .header-search__field {
    position: relative;
    right: auto;
    order: 1;
    width: 0;
    height: 36px;
    padding: 0;
    border-width: 2px;
    font-size: 15px;
  }

  .header-search.is-open .header-search__field {
    width: clamp(120px, 18vw, 240px);
    padding: 0 10px;
  }

  .header-mail {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    flex: none;
    width: 40px;
    height: 24px;
  }

  .header-mail__icon {
    width: 40px;
    height: 24px;
  }

  .site-header .btn--try {
    position: relative;
    flex: none;
    min-height: 40px;
    padding: 8px clamp(12px, 1.4vw, 22px);
  }

  /* список «Материалы» */
  .header-drop {
    top: var(--header-h);
    height: auto;
    padding: 14px var(--gutter);
    background: var(--c-white);
    border-bottom: 1px solid var(--c-black);
  }

  .header-drop__bg,
  .header-drop__sheet { display: none; }

  .header-drop {
    display: flex;
    flex-wrap: wrap;
    gap: 10px clamp(20px, 3vw, 44px);
  }

  .header-drop__item {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
  }

  /* линия — по ширине самой ссылки; в макете она задана в пикселях
     («Новости» 146 px) и на узком экране перечёркивала соседнюю строку */
  .header-drop__item .site-nav__underline {
    top: auto;
    bottom: -4px;
    width: 100%;
    height: 2px;
  }

}

/* ---------- планшеты и телефоны: бургер ---------------------- */
@media (max-width: 999.98px) {
  .site-nav,
  .header-search,
  .header-mail,
  .site-header .btn--try,
  .header-drop { display: none; }

  .header-burger {
    position: relative;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0 6px;
  }

  .header-burger__line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--c-purple);
    transition: transform var(--hover-dur) var(--hover-ease),
                opacity var(--fade-dur) linear;
  }

  .is-menu-open .header-burger__line:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .is-menu-open .header-burger__line:nth-child(2) { opacity: 0; }
  .is-menu-open .header-burger__line:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  .header-menu {
    position: absolute;
    left: 0;
    top: var(--header-h);
    display: grid;
    gap: 2px;
    width: 100%;
    padding: 12px var(--gutter) 20px;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-black);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--hover-dur) var(--hover-ease),
                transform var(--hover-dur) var(--hover-ease),
                visibility 0s linear var(--hover-dur);
  }

  .is-menu-open .header-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .header-menu__link {
    padding: 12px 0;
    font-family: var(--f-accent);
    font-weight: 700;
    font-size: clamp(15px, 3.6vw, 20px);
    line-height: 1.3;
    letter-spacing: 0.068em;
    color: var(--c-purple);
  }

  .header-menu__group {
    padding: 12px 0 4px;
    font-family: var(--f-accent);
    font-weight: 700;
    font-size: clamp(15px, 3.6vw, 20px);
    line-height: 1.3;
    letter-spacing: 0.068em;
    color: var(--c-purple);
  }

  .header-menu__link--sub {
    padding: 8px 0 8px 18px;
    font-family: var(--f-text);
    font-weight: 400;
    letter-spacing: 0;
    color: var(--c-ink);
  }

  .header-menu__btn {
    margin-top: 14px;
    justify-self: start;
  }
}

/* ---------- подвал ------------------------------------------- */
@media (max-width: 1599.98px) {
  .site-footer {
    height: auto;
    padding: clamp(28px, 4vw, 56px) var(--gutter);
  }

  .site-footer__contacts {
    position: relative;
    left: auto;
    top: auto;
    display: grid;
    /* колонка шире самой длинной строки («эл. почта: адрес»), шрифт растёт с экраном */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, clamp(300px, 26.5vw, 400px)), 1fr));
    align-content: start;
    gap: 10px 32px;
    width: 100%;
    max-width: var(--wrap);
    height: auto;
    /* высота 315 px — для макета 1920; здесь строки растягивались бы с разными промежутками */
    min-height: 0;
    margin-inline: auto;
  }

  /* Строка не вылезает из своей колонки на соседнюю: если не помещается,
     значение уходит под подпись. Сам номер или адрес не разрывается. */
  .site-footer__line {
    position: relative;
    left: auto !important;
    top: auto !important;
    font-size: clamp(14px, 1.3vw, 20px);
    line-height: 1.4;
    white-space: normal;
  }

  .site-footer__link {
    white-space: nowrap;
  }

  .site-footer__legal {
    position: relative;
    left: auto;
    top: auto;
    max-width: var(--wrap);
    margin: clamp(22px, 3vw, 40px) auto 0;
    gap: 12px clamp(20px, 3vw, 48px);
  }

  .site-footer__legal-link {
    font-size: clamp(13px, 1.2vw, 18px);
    line-height: 1.4;
  }
}

/* ============================================================
   Главная страница ниже 1600 px
   ============================================================ */

@media (max-width: 1599.98px) {
  /* ---------- 1. Первый экран ------------------------------- */
  .band-hero {
    align-items: center;
    padding-top: clamp(28px, 4vw, 72px);
  }

  .hero__glow {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    filter: blur(60px);
  }

  .hero__title { grid-column: 1 / 7; grid-row: 1; align-self: end; }
  .hero__lead { grid-column: 1 / 7; grid-row: 2; }
  .hero__actions { grid-column: 1 / 7; grid-row: 3; align-self: start; }

  /* position: relative — кнопки над свечением, как в макете: свечение
     растянуто на весь блок, а статичные элементы рисуются под ним */
  .hero__actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(10px, 1.4vw, 20px);
  }

  .hero__knife {
    grid-column: 7 / 13;
    grid-row: 1 / 4;
    position: relative !important;
    justify-self: center;
    width: 100% !important;
    max-width: 560px;
    height: auto !important;
    aspect-ratio: 756 / 720;
    transform-origin: 50.7% 58.7%;
  }

  .knife__layer,
  .knife__labels {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Подпись — под ножом, по центру; место под неё зарезервировано,
     чтобы раскладка не прыгала */
  .knife__labels {
    position: absolute !important;
    left: 0 !important;
    top: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 74px;
  }

  .knife__label {
    position: absolute;
    left: 0;
    right: 0;
    top: 6px;
    width: auto;
    text-align: center;
    transform: translateY(8px);
  }

  .knife__label.is-on { transform: none; }

  .knife__label-name { font-size: clamp(15px, 1.5vw, 20px); line-height: 1.3; }
  .knife__label-note { font-size: clamp(13px, 1.2vw, 16px); line-height: 1.35; }

  .hero__knife { margin-bottom: 84px; }

  /* ---------- 2. Вы наверняка узнаете себя ------------------ */
  .problems__dots {
    grid-row: 2;
    justify-self: center;
    width: 100% !important;
    max-width: clamp(260px, 38vw, 460px);
    height: auto !important;
  }

  .problems__items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(16px, 3vw, 48px);
    row-gap: clamp(14px, 2vw, 28px);
  }

  .problems__item {
    position: relative !important;
    white-space: normal;
    padding-bottom: 10px;
  }

  /* подчёркивание по ширине пункта, а не по длине из макета */
  .problems__item::after {
    left: 0;
    top: auto;
    bottom: 0;
    width: 100%;
  }

  /* ---------- 3. Посмотрите, как это работает --------------- */
  .showcase__dots {
    justify-self: center;
    width: 100% !important;
    max-width: 900px;
    height: auto !important;
  }

  /* ---------- 4–7. Кейсы ------------------------------------ */
  /* Без закрепления и докрутки: схема оживает, когда попадает на экран */
  .pin-track {
    width: 100%;
    height: auto;
  }

  .band.pin {
    position: static;
    top: auto;
    background: none;
    overflow: visible;
  }

  .flow-section .case__steps { grid-column: 1 / 7; grid-row: 3; }
  .flow-section .flow { grid-column: 7 / 13; grid-row: 3; }

  .case__steps {
    display: grid;
    align-content: start;
    gap: clamp(18px, 2.4vw, 36px);
  }

  .case__step {
    display: grid;
    gap: 6px;
  }

  .case__step-text {
    width: auto;
  }

  .flow {
    position: relative !important;
    align-self: center;
    width: 100%;
    height: auto;
    aspect-ratio: 993 / 749;
  }

  .flow__mesh,
  .flow__svg {
    width: 100% !important;
    height: 100% !important;
    transform: none;
  }

  /* ---------- 8–9. Отраслевые решения ----------------------- */
  .industry-card {
    position: relative !important;
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.4vw, 20px);
    width: auto;
    height: auto;
    padding: clamp(18px, 2.6vw, 40px);
  }

  .industry-card__title,
  .industry-card__text {
    position: static;
    left: auto !important;
    top: auto !important;
    width: auto !important;
  }

  .industry-card .link-card {
    margin-top: auto;
  }

  .industry-card .btn {
    align-self: start;
  }

  /* ---------- 10. Результаты -------------------------------- */
  .result-col {
    position: relative;
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.2vw, 18px);
    padding: clamp(18px, 2.4vw, 36px);
  }

  .result-card {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .results__card-title,
  .results__card-text {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: auto !important;
  }

  /* relative — над фоном карточки (.result-card), иначе ссылку не видно
     и по ней нельзя нажать */
  .result-col .link-card {
    position: relative;
    margin-top: auto;
  }

  /* ---------- 11. Готовы начать? ---------------------------- */
  .band-cta {
    justify-items: center;
    text-align: center;
  }

  .cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(12px, 1.6vw, 24px);
  }
}

/* ---------- планшет: одна колонка ---------------------------- */
@media (max-width: 999.98px) {
  .hero__title,
  .hero__lead,
  .hero__actions {
    grid-column: 1 / -1;
  }

  .hero__knife {
    grid-column: 1 / -1;
    grid-row: 4;
    max-width: 440px;
  }

  .flow-section .case__steps,
  .flow-section .flow {
    grid-column: 1 / -1;
  }

  .flow-section .case__steps { grid-row: 3; }
  .flow-section .flow { grid-row: 4; }

  .industry-card,
  .result-col {
    grid-column: 1 / -1;
  }
}

/* ---------- телефон ------------------------------------------ */
@media (max-width: 759.98px) {
  .problems__items {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__actions .btn,
  .cta__actions .btn {
    flex: 1 1 100%;
  }
}

/* ============================================================
   Страницы материалов и форм ниже 1600 px
   ============================================================ */

@media (max-width: 1599.98px) {
  .page-news,
  .page-form {
    height: auto;
  }

  .news-main,
  .form-main {
    position: relative;
    display: grid;
    gap: clamp(26px, 3.6vw, 56px);
    width: 100%;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    height: auto;
    margin-inline: auto;
    padding: clamp(24px, 3.4vw, 64px) var(--gutter) var(--sec-pad);
  }

  /* координаты макета на этих страницах заданы прямо в правилах */
  .photo-stub,
  .photo-stub__label,
  .news-date,
  .news-tag,
  .news-heading,
  .news-copy,
  .news-card__more,
  .item-author,
  .item-body,
  .item-social,
  .form-lead,
  .form-label,
  .form-label__text,
  .form-input {
    position: static;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
  }

  .photo-stub {
    position: relative;
    display: grid;
    place-items: center;
    width: 100% !important;
    aspect-ratio: 2 / 1;
  }

  .photo-stub__label {
    font-size: clamp(14px, 1.6vw, 24px);
    line-height: 1.2;
  }

  /* ---------- список новостей и статей ---------------------- */
  .news-lead {
    display: grid;
    gap: clamp(10px, 1.4vw, 18px);
  }

  .news-lead__photo { aspect-ratio: 726 / 364; }

  .news-side {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(16px, 2.4vw, 32px);
  }

  .news-side > article,
  .news-cards > article {
    display: grid;
    align-content: start;
    gap: 8px;
  }

  .news-side__photo { aspect-ratio: 286 / 182; }

  .news-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(20px, 3vw, 40px);
  }

  .news-card__photo { aspect-ratio: 524 / 272; }

  /* ---------- открытая новость или статья ------------------- */
  .news-item {
    display: grid;
    justify-items: center;
    gap: clamp(10px, 1.6vw, 20px);
    text-align: center;
  }

  .item-photo {
    aspect-ratio: 1426 / 455;
    margin-top: clamp(6px, 1vw, 16px);
  }

  .item-body {
    max-width: 68ch;
    text-align: left;
    font-size: clamp(15px, 1.5vw, 20px);
    line-height: 1.5;
  }

  .news-item + nav {
    display: flex;
    justify-content: center;
    gap: clamp(12px, 1.6vw, 24px);
  }

  .item-social {
    width: clamp(48px, 5vw, 72px) !important;
    height: clamp(48px, 5vw, 72px) !important;
  }

  .item-social img {
    width: 100%;
    height: 100%;
  }

  /* ---------- формы ----------------------------------------- */
  .form-title,
  .form-lead {
    text-align: center;
  }

  .form {
    display: grid;
    gap: clamp(14px, 2vw, 22px);
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
  }

  .form-row {
    display: grid;
    gap: 8px;
  }

  .form-label {
    justify-self: start;
    padding: 9px clamp(12px, 1.6vw, 20px);
    box-shadow: inset 0 0 0 2px var(--c-black);
  }

  .form-label__text {
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: 1.25;
  }

  .form-input {
    width: 100% !important;
    height: 52px !important;
    padding: 0 14px;
    border-width: 2px;
    font-size: clamp(15px, 1.5vw, 20px);
  }

  .form-submit {
    justify-self: start;
    margin-top: clamp(4px, 1vw, 14px);
  }

  /* согласие: в потоке встаёт само, снимаем координаты макета */
  .form-consent {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    align-items: flex-start;
  }

  .form-consent__text {
    font-size: clamp(14px, 1.4vw, 17px);
    line-height: 1.35;
  }

  /* ---------- опросник расчёта выгоды ----------------------- */
  /* В пиксельном режиме форма стоит по координатам холста.
     Здесь она обычный блок в потоке, иначе налезает на подвал. */
  .form-quiz {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
    gap: clamp(28px, 4vw, 44px);
  }

  .quiz-step { gap: clamp(20px, 3vw, 32px); }

  .quiz-step__legend { font-size: clamp(15px, 1.7vw, 19px); line-height: 1.3; }
  .quiz-q__title     { font-size: clamp(17px, 2vw, 22px);  line-height: 1.3; }
  .quiz-q__hint      { font-size: clamp(13px, 1.4vw, 16px); }

  .quiz-opt {
    min-height: 48px;
    padding: 9px 14px;
    box-shadow: inset 0 0 0 2px var(--c-black);
    font-size: clamp(15px, 1.6vw, 18px);
  }

  .quiz-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--c-green); }

  /* ряд из четырёх вариантов на узком экране не помещается —
     раскладываем автоматически по ширине */
  .quiz-opts--row {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .quiz-input { height: 52px !important; }

  .quiz-nav .btn { width: auto; min-width: 140px; height: 56px; }
  .quiz-nav .btn__label { top: 15px; }

  .page-quiz .form-submit {
    width: auto;
    min-width: 260px;
    height: 64px;
  }

  .page-quiz .form-submit .btn__label { top: 17px; }

  .page-quiz .form-main { padding-bottom: var(--sec-pad); }
}

@media (max-width: 759.98px) {
  .news-side {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-submit {
    justify-self: stretch;
  }
}
