/* ============================================================================
   Раздел «Абитуриентам» — mgavm.ru/abitur/
   Автономные стили раздела. Все классы с префиксом .ab / .abit
   Зависимостей нет.
   ========================================================================= */

.abit {
    /* --- Фирменные цвета -------------------------------------------------- */
    --ab-blue:       #0072bc;   /* основной синий */
    --ab-blue-dark:  #044c7f;   /* заголовки */
    --ab-blue-deep:  #032f52;   /* градиент шапки */
    --ab-cyan:       #01a3d4;   /* голубой из логотипа академии */
    --ab-red:        #e01c24;   /* акцент: кнопки действия */
    --ab-ink:        #16242e;   /* основной текст */
    --ab-muted:      #5d6f7c;   /* второстепенный текст */
    --ab-line:       #e2eaf0;   /* границы */
    --ab-bg:         #f4f8fb;   /* фон секций */
    --ab-white:      #ffffff;

    /* --- Размеры ---------------------------------------------------------- */
    --ab-max:        1180px;
    --ab-gap:        24px;
    --ab-radius:     16px;
    --ab-radius-sm:  10px;

    /* --- Тени ------------------------------------------------------------- */
    --ab-shadow:     0 2px 4px rgba(3, 47, 82, .04), 0 8px 24px rgba(3, 47, 82, .07);
    --ab-shadow-up:  0 6px 12px rgba(3, 47, 82, .08), 0 18px 40px rgba(3, 47, 82, .13);

    color: var(--ab-ink);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================================
   ЗАЩИТА ОТ ОБЩИХ СТИЛЕЙ САЙТА
   Шаблон mgavm.ru навешивает position/float на ИМЕНА ТЕГОВ (header, figure,
   nav). Здесь мы возвращаем блокам раздела нормальный поток, а контейнерам —
   position: relative, чтобы чужое absolute не улетело на всю страницу.
   !important оправдан: специфичность чужих правил неизвестна.
   ========================================================================= */

.abit,
.abit section,
.abit article,
.abit div,
.abit ul,
.abit li,
.abit a,
.abit p,
.abit h1, .abit h2, .abit h3, .abit h4 {
    position: static !important;
    float: none !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none;
}

.abit,
.abit .ab-section,
.abit .ab-wrap,
.abit .ab-card,
.abit .ab-hero,
.abit .ab-tile,
.abit .ab-banner,
.abit .ab-doc,
.abit .ab-way {
    position: relative !important;
}

/* ============================================================================
   БАЗА
   Сбросы обязаны быть в :where() — иначе специфичность .abit p (0,1,1)
   перебивает margin у компонентов и все отступы схлопываются в ноль.
   ========================================================================= */

:where(.abit) *,
:where(.abit) *::before,
:where(.abit) *::after { box-sizing: border-box; }

:where(.abit) :where(p, ul, ol, h1, h2, h3, h4, figure) { margin: 0; padding: 0; }
:where(.abit) :where(ul, ol) { list-style: none; }
:where(.abit) :where(img) { max-width: 100%; height: auto; display: block; }
:where(.abit) :where(a) { color: inherit; text-decoration: none; }

.abit .ab-wrap {
    width: 100%;
    max-width: var(--ab-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Заголовки секций ----------------------------------------------------- */

.abit .ab-sectionHead { margin-bottom: 28px; }

.abit .ab-sectionHead__title {
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.2;
    font-weight: 800;
    color: var(--ab-blue-dark);
    letter-spacing: -.01em;
}

.abit .ab-sectionHead__title::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin-top: 12px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--ab-blue) 0%, var(--ab-cyan) 100%);
}

.abit .ab-sectionHead__sub {
    margin-top: 14px;
    max-width: 720px;
    font-size: 16px;
    color: var(--ab-muted);
}

.abit .ab-section { padding: 56px 0; }
.abit .ab-section--tint   { background: var(--ab-bg); }
.abit .ab-section--top    { padding-top: 28px; }
.abit .ab-section--tight  { padding-top: 16px; }
.abit .ab-section--flush  { padding-top: 0; }

/* Неразрывный фрагмент: телефон, e-mail — чтобы не рвались по дефисам */
.abit .ab-nw { white-space: nowrap; }

/* ============================================================================
   ШАПКА РАЗДЕЛА
   ========================================================================= */

.abit .ab-hero {
    overflow: hidden;
    border-radius: var(--ab-radius);
    margin: 0 0 8px;
    padding: 56px 40px 52px;
    color: var(--ab-white);
    background:
        radial-gradient(1200px 420px at 82% -8%, rgba(1, 163, 212, .55) 0%, rgba(1, 163, 212, 0) 62%),
        linear-gradient(135deg, var(--ab-blue-deep) 0%, var(--ab-blue-dark) 46%, var(--ab-blue) 100%);
}

.abit .ab-hero::after {
    content: "";
    position: absolute !important;
    right: -80px;
    bottom: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    pointer-events: none;
}

.abit .ab-hero__inner { max-width: 860px; }

.abit .ab-hero__kicker {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.abit .ab-hero__title {
    font-size: clamp(32px, 4.6vw, 52px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ab-white);
}

.abit .ab-hero__sub {
    margin-top: 18px;
    max-width: 620px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .88);
}

.abit .ab-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.abit .ab-hero__contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 22px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    font-size: 15px;
    color: rgba(255, 255, 255, .82);
}

.abit .ab-hero__contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ab-white);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    transition: border-color .18s ease;
}

.abit .ab-hero__contact a:hover { border-bottom-color: var(--ab-white); }
.abit .ab-hero__contact svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* ============================================================================
   КНОПКИ
   ========================================================================= */

.abit .ab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease,
                border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.abit .ab-btn svg { width: 16px; height: 16px; flex: 0 0 auto; }

.abit .ab-btn--primary {
    background: var(--ab-red);
    color: var(--ab-white);
    box-shadow: 0 6px 18px rgba(224, 28, 36, .28);
}
.abit .ab-btn--primary:hover { background: #c4161d; transform: translateY(-1px); }

.abit .ab-btn--ghost {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .38);
    color: var(--ab-white);
}
.abit .ab-btn--ghost:hover { background: rgba(255, 255, 255, .2); }

.abit .ab-btn--blue {
    background: var(--ab-blue);
    color: var(--ab-white);
    box-shadow: 0 6px 18px rgba(0, 114, 188, .26);
}
.abit .ab-btn--blue:hover { background: var(--ab-blue-dark); transform: translateY(-1px); }

.abit .ab-btn--line {
    background: var(--ab-white);
    border-color: var(--ab-line);
    color: var(--ab-blue-dark);
}
.abit .ab-btn--line:hover { border-color: var(--ab-blue); color: var(--ab-blue); }

/* ============================================================================
   ПЛИТКИ БЫСТРЫХ ССЫЛОК
   ========================================================================= */

.abit .ab-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    /* Заполнение ПО КОЛОНКАМ: порядок плиток в data.php — это первая
       колонка сверху вниз, потом вторая, потом третья.
       Число строк приходит из index.php в переменной --ab-rows. */
    grid-template-rows: repeat(var(--ab-rows, 3), auto);
    grid-auto-flow: column;

    gap: var(--ab-gap);
}

.abit .ab-tile {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    background: var(--ab-white);
    box-shadow: var(--ab-shadow);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.abit .ab-tile:hover {
    box-shadow: var(--ab-shadow-up);
    transform: translateY(-3px);
    border-color: #cfe1ee;
}

.abit .ab-tile__icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    color: var(--ab-blue);
    background: linear-gradient(135deg, #e8f4fb 0%, #dceefa 100%);
}

.abit .ab-tile__icon svg { width: 24px; height: 24px; }

.abit .ab-tile__body { min-width: 0; }

.abit .ab-tile__title {
    display: block;
    min-height: 2.6em;          /* подписи в ряду начинаются на одной линии */
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ab-blue-dark);
    margin-bottom: 5px;
}

.abit .ab-tile__note {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    color: var(--ab-muted);
}

.abit .ab-tile__arrow {
    flex: 0 0 auto;
    align-self: center;
    margin-left: auto;
    color: #b9cddb;
    transition: color .2s ease, transform .2s ease;
}
.abit .ab-tile__arrow svg { width: 18px; height: 18px; }
.abit .ab-tile:hover .ab-tile__arrow { color: var(--ab-blue); transform: translateX(3px); }

/* ============================================================================
   БАННЕРЫ
   ========================================================================= */

.abit .ab-banners {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ab-gap);
}

.abit .ab-banner {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    background: var(--ab-white);
    box-shadow: var(--ab-shadow);
    transition: box-shadow .2s ease, transform .2s ease;
}

.abit .ab-banner:hover { box-shadow: var(--ab-shadow-up); transform: translateY(-3px); }

/* Картинка баннера — во всю ширину карточки, без полей.
   Фон остаётся как подложка под PNG с прозрачностью. */
.abit .ab-banner__media {
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #eef6fc 0%, #e2f0fa 100%);
    border-bottom: 1px solid var(--ab-line);
}

.abit .ab-banner__media a { display: block; }

.abit .ab-banner__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    border-radius: 0;
}

.abit .ab-banner__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 22px 24px 24px;
}

.abit .ab-banner__title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.28;
    color: var(--ab-blue-dark);
    margin-bottom: 10px;
}

.abit .ab-banner__text {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ab-muted);
    margin-bottom: 20px;   /* гарантированный отступ до кнопки (margin-top:auto схлопывается) */
}

/* Кнопка и дополнительная ссылка под ней */
.abit .ab-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: auto;
}

.abit .ab-linkMore {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ab-blue);
    border-bottom: 1px solid rgba(0, 114, 188, .35);
    transition: color .16s ease, border-color .16s ease;
}

.abit .ab-linkMore:hover { color: var(--ab-blue-dark); border-bottom-color: var(--ab-blue-dark); }
.abit .ab-linkMore .ab-ext { width: 13px; height: 13px; flex: 0 0 auto; opacity: .75; }

/* ============================================================================
   ПОЛОСА «ПРИЁМНАЯ КАМПАНИЯ»
   ========================================================================= */

.abit .ab-campaign {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    overflow: hidden;
    padding: 36px 40px;
    border-radius: var(--ab-radius);
    color: var(--ab-white);
    background:
        radial-gradient(700px 300px at 90% 120%, rgba(1, 163, 212, .5) 0%, rgba(1, 163, 212, 0) 65%),
        linear-gradient(120deg, var(--ab-blue-dark) 0%, var(--ab-blue) 100%);
}

.abit .ab-campaign__text { max-width: 640px; }

.abit .ab-campaign__title {
    font-size: clamp(21px, 2.2vw, 27px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--ab-white);
    margin-bottom: 10px;
}

.abit .ab-campaign__sub {
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .84);
}

/* ============================================================================
   УРОВНИ ОБРАЗОВАНИЯ
   ========================================================================= */

.abit .ab-levels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ab-gap);
}

.abit .ab-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    background: var(--ab-white);
    box-shadow: var(--ab-shadow);
    transition: box-shadow .2s ease, transform .2s ease;
}

.abit .ab-card:hover { box-shadow: var(--ab-shadow-up); transform: translateY(-3px); }

.abit .ab-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 106px;          /* шапки карточек в ряду выравниваются по одной линии */
    padding: 22px 24px 18px;
    border-bottom: 1px solid var(--ab-line);
    background: linear-gradient(135deg, #f7fbfe 0%, #eff7fc 100%);
}

.abit .ab-card__icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: var(--ab-white);
    background: linear-gradient(135deg, var(--ab-blue) 0%, var(--ab-cyan) 100%);
    box-shadow: 0 4px 12px rgba(0, 114, 188, .25);
}

.abit .ab-card__icon svg { width: 23px; height: 23px; }

.abit .ab-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ab-blue-dark);
    min-height: 2.5em;              /* чтобы списки в соседних карточках начинались на одной линии */
    display: flex;
    align-items: center;
}

.abit .ab-card__note {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ab-muted);
}

.abit .ab-card__headText { min-width: 0; }

.abit .ab-card__list { padding: 8px 12px 16px; }

.abit .ab-card__list li + li { border-top: 1px solid #f0f5f9; }

.abit .ab-card__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: var(--ab-radius-sm);
    font-size: 15px;
    line-height: 1.4;
    color: var(--ab-ink);
    transition: background-color .16s ease, color .16s ease;
}

.abit .ab-card__link:hover { background: #f1f8fd; color: var(--ab-blue); }

.abit .ab-card__link::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ab-cyan);
    opacity: .55;
    transition: opacity .16s ease, transform .16s ease;
}

.abit .ab-card__link:hover::before { opacity: 1; transform: scale(1.35); }

.abit .ab-card__link[target="_blank"] .ab-ext {
    flex: 0 0 auto;
    margin-left: auto;
    width: 13px;
    height: 13px;
    color: #b9cddb;
}

/* ============================================================================
   СПОСОБЫ ПОДАЧИ
   ========================================================================= */

.abit .ab-ways {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ab-gap);
}

.abit .ab-way {
    display: flex;
    flex-direction: column;
    padding: 28px 26px;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    background: var(--ab-white);
    box-shadow: var(--ab-shadow);
    text-align: left;
    transition: box-shadow .2s ease, transform .2s ease;
}

.abit .ab-way:hover { box-shadow: var(--ab-shadow-up); transform: translateY(-3px); }

.abit .ab-way__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border-radius: 16px;
    color: var(--ab-blue);
    background: linear-gradient(135deg, #e8f4fb 0%, #dceefa 100%);
}

.abit .ab-way__icon svg { width: 28px; height: 28px; }

/* Вариант с настоящим логотипом вместо иконки (Госуслуги) */
.abit .ab-way__icon--logo { background: #fff; border: 1px solid var(--ab-line); }
.abit .ab-way__icon--logo img { width: 40px; height: 40px; object-fit: contain; }

.abit .ab-way__title {
    font-size: 19px;
    font-weight: 700;
    color: var(--ab-blue-dark);
    margin-bottom: 8px;
}

.abit .ab-way__text {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ab-muted);
    margin-bottom: 18px;
}



/* ============================================================================
   ДОКУМЕНТЫ
   ========================================================================= */

/* Карточки документов — flex, а не grid: неполный последний ряд
   grid оставил бы прижатым к левому краю, flex центрирует его. */
.abit .ab-docs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.abit .ab-doc {
    display: flex;
    flex: 1 1 180px;            /* пять в ряд на десктопе, дальше переносятся */
    max-width: 240px;           /* одинокая карточка в ряду не растягивается */
    flex-direction: column;
    align-items: center;
    padding: 26px 18px 24px;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    background: var(--ab-white);
    box-shadow: var(--ab-shadow);
    text-align: center;
    transition: box-shadow .2s ease, transform .2s ease;
}

.abit .ab-doc:hover { box-shadow: var(--ab-shadow-up); transform: translateY(-3px); }

.abit .ab-doc__num {
    position: absolute !important;
    top: 12px;
    left: 14px;
    font-size: 13px;
    font-weight: 700;
    color: #c4d8e6;
}

.abit .ab-doc__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
    border-radius: 50%;
    color: var(--ab-blue);
    background: linear-gradient(135deg, #eaf5fb 0%, #dbedf9 100%);
}

.abit .ab-doc__icon svg { width: 34px; height: 34px; }
.abit .ab-doc__icon img { width: 38px; height: 38px; object-fit: contain; }

.abit .ab-doc__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ab-blue-dark);
    margin-bottom: 6px;
}

.abit .ab-doc__note {
    font-size: 13px;
    line-height: 1.45;
    color: var(--ab-muted);
}

/* ============================================================================
   КОНТАКТЫ
   ========================================================================= */

.abit .ab-contacts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 36px;
    align-items: start;
    padding: 40px;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    background: var(--ab-white);
    box-shadow: var(--ab-shadow);
}

.abit .ab-contacts__title {
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--ab-blue-dark);
    margin-bottom: 12px;
}

.abit .ab-contacts__text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ab-muted);
}

.abit .ab-contacts__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
}

.abit .ab-contacts__item {
    padding-left: 14px;
    border-left: 3px solid #e4eef6;
}

.abit .ab-contacts__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--ab-muted);
    margin-bottom: 4px;
}

.abit .ab-contacts__value {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ab-blue-dark);
    word-break: break-word;
}

.abit a.ab-contacts__value:hover { color: var(--ab-blue); text-decoration: underline; }

/* ============================================================================
   АДАПТИВ
   ========================================================================= */

@media (max-width: 1080px) {
    .abit .ab-tiles  {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        grid-auto-flow: row;
    }
    .abit .ab-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .abit .ab-section { padding: 44px 0; }
    .abit .ab-hero    { padding: 42px 26px 40px; border-radius: 14px; }
    .abit .ab-ways    { grid-template-columns: 1fr; }
    .abit .ab-banners { grid-template-columns: 1fr; }
    .abit .ab-campaign { padding: 30px 26px; }
    .abit .ab-contacts { grid-template-columns: 1fr; gap: 26px; padding: 30px 26px; }
}

@media (max-width: 640px) {
    .abit .ab-wrap   { padding: 0 16px; }
    .abit .ab-tiles  { grid-template-columns: 1fr; grid-template-rows: auto; grid-auto-flow: row; }
    .abit .ab-levels { grid-template-columns: 1fr; }
    .abit .ab-card__title,
    .abit .ab-tile__title { min-height: 0; }        /* в одну колонку выравнивать нечего */
    .abit .ab-contacts__list { grid-template-columns: 1fr; }
    .abit .ab-hero__actions .ab-btn { width: 100%; }
    .abit .ab-hero__contact { gap: 10px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
    .abit .ab-doc  { flex: 1 1 100%; max-width: none;
                     flex-direction: row; align-items: center; text-align: left; gap: 16px; padding: 18px; }
    .abit .ab-doc__icon { width: 54px; height: 54px; margin-bottom: 0; flex: 0 0 auto; }
    .abit .ab-doc__icon svg { width: 26px; height: 26px; }
    .abit .ab-doc__num { display: none; }
}

/* --- Доступность ---------------------------------------------------------- */

.abit a:focus-visible,
.abit .ab-btn:focus-visible {
    outline: 3px solid var(--ab-cyan);
    outline-offset: 3px;
    border-radius: var(--ab-radius-sm);
}

@media (prefers-reduced-motion: reduce) {
    .abit * { transition: none !important; }
    .abit .ab-tile:hover,
    .abit .ab-card:hover,
    .abit .ab-doc:hover,
    .abit .ab-way:hover,
    .abit .ab-banner:hover { transform: none; }
}

/* --- Печать --------------------------------------------------------------- */

@media print {
    .abit .ab-hero, .abit .ab-campaign { color: #000; background: none; }
    .abit .ab-hero__title, .abit .ab-campaign__title { color: #000; }
    .abit .ab-tile, .abit .ab-card, .abit .ab-doc, .abit .ab-way, .abit .ab-banner {
        box-shadow: none;
        break-inside: avoid;
    }
}
