/*
 * Каталог, меню-аккордеон и cookie-баннер: первый слой бывшего responsive.css.
 * Подключается сразу после style.css, порядок правил сохранён.
 */

/*
 * Адаптивный и компонентный слой каталога/сравнения, вынесенный из style.css (этап E).
 * Подключается сразу после style.css — порядок правил сохранён.
 */

/* Адаптив */

/*---------------------------*/

/* ====================== Основное меню ====================== */

/* Контейнер всего списка */
 .gk-v4-option-list {
    display: grid;
    gap: 8px;
}

/* Верхний уровень — основная категория */
 .gk-v4-topic {
    border-radius: 6px;
    overflow: hidden;
    background: var(--gk-card-bg, #fff);
}

.gk-v4-topic summary.gk-v4-check--topic {
    display: flex;
    align-items: center;
    padding: 5px 12px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.24;
    color: var(--gk-text);
    cursor: pointer;
    list-style: none;
}

.gk-v4-topic summary.gk-v4-check--topic::after {
    content: "›";
    font-size: 18px;
    margin-left: auto;
    transition: transform 0.25s ease;
    color: var(--gk-text-soft);
}

.gk-v4-topic[open] summary.gk-v4-check--topic::after {
    transform: rotate(90deg);
}

/* Скрываем стандартный маркер details */
 .gk-v4-topic summary::-webkit-details-marker,
.gk-v4-subtopic summary::-webkit-details-marker {
    display: none;
}

/* ====================== Первое подменю ====================== */

 .gk-v4-suboptions {
    padding: 12px;
    display: grid;
    gap: 10px;
    background: var(--gk-bg-soft, #f8f9fa);
    border-top: 1px solid var(--gk-border, #eee);
}

/* Общие стили для всех чекбоксов */

/* ====================== Второе подменю (subtop) ====================== */

.gk-v4-subtopic {
    margin-top: 6px;
}

.gk-v4-subtopic summary.gk-v4-check--subtopic {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 14.5px;
    color: #0b2d38;
    background: var(--gk-bg-softer, #f5f5f5);
    border-radius: 4px;
    cursor: pointer;
    list-style: none;
}

.gk-v4-subtopic summary.gk-v4-check--subtopic::after {
    content: "›";
    font-size: 18px;
    margin-left: auto;
    transition: transform 0.25s ease;
}

.gk-v4-subtopic[open] summary.gk-v4-check--subtopic::after {
    transform: rotate(90deg);
}

.gk-v4-subsuboptions {
    padding: 12px;
    display: grid;
    gap: 8px;
}

/*
 * 06. CSS Catalog — extracted inline CSS layer
 *
 */

        .gk-v4-shell {
            position: relative;
            isolation: isolate;
                        z-index: 100;
        }

        .gk-v4-shell .gk-v4-hero {
            margin-top: 10px;
        }

.gk-v4-shell .gk-v4-hero__main {
            max-width: 760px;
        }

.gk-v4-shell .gk-v4-hero__text {
            max-width: 720px;
        }

.gk-v4-shell .gk-v4-hero--subtop {
            display: block;
            margin: 4px auto 14px;
            padding: 0;
            background: transparent;
            border: 0;
            border-radius: 0;
            box-shadow: none;
        }

.gk-v4-shell .gk-v4-hero--subtop .gk-v4-hero__main {
            max-width: 980px;
        }

.gk-v4-shell .gk-v4-hero--subtop .gk-v4-hero__eyebrow {
            display: none;
        }

.gk-v4-shell .gk-v4-hero--subtop .gk-v4-hero__title {
            margin: 0;
            color: #083d56;
            font-size: clamp(24px, 2.55vw, 44px);
            line-height: 1.08;
            letter-spacing: -0.02em;
        }

.gk-v4-shell .gk-v4-hero--subtop .gk-v4-hero__text {
            max-width: 840px;
            margin-top: 10px;
            color: #5d727d;
            font-size: 15px;
            line-height: 1.62;
        }

.gk-v4-shell .gk-v4-hero--subtop-compact {
            margin: 4px auto 14px;
        }

.gk-v4-shell .gk-v4-hero--subtop-compact .gk-v4-hero__main {
            max-width: 100%;
        }

.gk-v4-shell .gk-v4-hero--subtop-compact .gk-v4-hero__title {
            max-width: 940px;
            font-size: clamp(24px, 2.05vw, 32px);
            line-height: 1.14;
        }

.gk-v4-shell .gk-v4-stage2-showcase {
            display: grid;
            gap: 32px;
            margin-top: 28px;
        }

.gk-v4-shell .gk-v4-stage2-showcase__actions {
            display: flex;
            align-items: center;
            justify-content: flex-start;
        }

/* override: single.css (≤1100, gap:26px) — здесь базовый gap */
.gk-v4-shell .gk-v4-stage2-showcase__sections,
        .gk-v4-shell .gk-v4-route-sections__list {
            display: grid;
            gap: 34px;
        }

.gk-v4-shell .gk-v4-route-sections {
            display: grid;
            gap: 24px;
            margin: 8px auto 28px;
        }

.gk-v4-shell .gk-v4-route-sections__intro {
            display: grid;
            gap: 10px;
            padding: 24px 28px;
            background: #f7faf8;
            border: 1px solid #dbe4de;
            border-radius: 26px;
        }

.gk-v4-shell .gk-v4-route-sections__title {
            margin: 0;
            color: #083d56;
            font-size: clamp(22px, 2.1vw, 32px);
            line-height: 1.08;
            letter-spacing: -0.02em;
        }

.gk-v4-shell .gk-v4-route-sections__text {
            margin: 0;
            max-width: 880px;
            color: #58707b;
            font-size: 15px;
            line-height: 1.65;
        }

.gk-v4-shell .gk-v4-stage2-section {
            display: grid;
            gap: 18px;
                        margin-top: 30px;
        }

.gk-v4-shell .gk-v4-stage2-section__header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 20px;
        }

.gk-v4-shell .gk-v4-stage2-section__heading {
            display: grid;
            gap: 6px;
            min-width: 0;
        }

.gk-v4-shell .gk-v4-stage2-section__title {
            margin: 0;
            color: #0a4258;
            font-size: clamp(24px, 2vw, 30px);
            line-height: 1.1;
            letter-spacing: -0.02em;
        }

.gk-v4-shell .gk-v4-stage2-section__title a {
            color: inherit;
            text-decoration: none;
        }

.gk-v4-shell .gk-v4-stage2-section__title a:hover {
            text-decoration: underline;
            text-decoration-thickness: 2px;
            text-underline-offset: 0.12em;
        }

.gk-v4-shell .gk-v4-stage2-section__count {
            color: #5f7480;
            font-size: 15px;
            line-height: 1.4;
        }

.gk-v4-shell .gk-v4-stage2-section__nav {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-shrink: 0;
        }

.gk-v4-shell .gk-v4-stage2-section__nav-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 46px;
            height: 46px;
            border: 1px solid #d6dfd8;
            border-radius: 999px;
            background: #ffffff;
            color: #073f58;
            font-size: 22px;
            font-weight: 700;
            line-height: 1.35;
            box-shadow: 0 8px 18px rgba(10, 40, 52, 0.08);
            cursor: pointer;
            transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
        }

.gk-v4-shell .gk-v4-stage2-section__nav-btn:hover:not(:disabled) {
            transform: translateY(-1px);
            border-color: #9fdf89;
            color: #0e7a4f;
            box-shadow: 0 12px 22px rgba(10, 40, 52, 0.12);
        }

.gk-v4-shell .gk-v4-stage2-section__nav-btn:disabled,
        .gk-v4-shell .gk-v4-stage2-section__nav-btn[aria-disabled="true"] {
            opacity: 0.38;
            box-shadow: none;
            cursor: default;
        }

.gk-v4-shell .gk-v4-stage2-section__track {
            display: grid;
            align-items: start;
            grid-auto-flow: column;
            grid-auto-columns: calc((100% - 72px) / 4);
            gap: 24px;
            overflow-x: auto;
            overflow-y: hidden;
            overscroll-behavior-x: contain;
            padding: 4px 4px 6px;
            scroll-behavior: auto;
            scroll-padding-inline: 4px;
            scrollbar-width: none;
            -ms-overflow-style: none;
            touch-action: auto;
        }

.gk-v4-shell .gk-v4-stage2-section__track::-webkit-scrollbar {
            display: none;
            width: 0;
            height: 0;
        }

.gk-v4-shell .gk-v4-stage2-section__track > * {
            min-width: 0;
        }

.gk-v4-shell .gk-v4-stage2-card {
            display: flex;
            flex-direction: column;
            align-self: start;
            min-height: 0;
            background: #ffffff;
            border: 1px solid #dce5df;
            border-radius: 22px;
            overflow: hidden;
            box-shadow: 0 16px 28px rgba(10, 40, 52, 0.06);
        }

.gk-v4-shell .gk-v4-stage2-card__image-link {
            position: relative;
            display: block;
            aspect-ratio: 1.34 / 1;
            background: #eef3ef;
            overflow: hidden;
        }

.gk-v4-shell .gk-v4-stage2-card__image {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

.gk-v4-shell .gk-v4-stage2-card__image-placeholder {
            display: grid;
            place-items: center;
            width: 100%;
            height: 100%;
            font-size: 58px;
            font-weight: 700;
            color: #0a4258;
            background: linear-gradient(135deg, #e8f1ec, #dce8e2);
        }

.gk-v4-shell .gk-v4-stage2-card__discount {
            position: absolute;
            top: 14px;
            left: 14px;
            z-index: 2;
            display: inline-flex;
            align-items: center;
            min-height: 30px;
            padding: 0 11px;
            border: 2px solid #ff5e57;
            border-radius: 999px;
            background: #ffffff;
            color: #ff5e57;
            font-size: 13px;
            font-weight: 700;
            line-height: 1;
        }

.gk-v4-shell .gk-v4-stage2-card__body {
            display: grid;
            gap: 16px;
            align-content: start;
            padding: 14px 16px 16px;
            min-height: 146px;
        }

.gk-v4-shell .gk-v4-stage2-card__title {
            display: -webkit-box;
            min-height: 4.14em;
            margin: 0;
            overflow: hidden;
            color: #102d38;
            font-size: 16px;
            font-weight: 700;
            line-height: 1.38;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
        }

.gk-v4-shell .gk-v4-stage2-card__title a {
            color: inherit;
            text-decoration: none;
        }

.gk-v4-shell .gk-v4-stage2-card__title a:hover {
            color: #0e7a4f;
        }

.gk-v4-shell .gk-v4-stage2-card__school {
            display: flex;
            align-items: center;
            min-height: 24px;
            color: #59707b;
            font-size: 13px;
            line-height: 1.45;
            font-weight: 600;
        }

.gk-v4-shell .gk-v4-stage2-card__pricebox {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            gap: 6px 10px;
            margin-top: auto;
        }

.gk-v4-shell .gk-v4-stage2-card__actions {
            display: grid;
            grid-template-columns: 44px 44px minmax(0, 1fr);
            gap: 16px;
            align-items: stretch;
            margin-top: 0;
        }

.gk-v4-course-single__related {
            min-width: 0;
            max-width: 100%;
            overflow: hidden;
        }

.gk-v4-course-single__related .gk-v4-stage2-section {
            min-width: 0;
            max-width: 100%;
        }

.gk-v4-course-single__related .gk-v4-stage2-section__track {
            width: 100%;
            max-width: 100%;
        }

.gk-v4-shell .gk-v4-stage2-card__price {
            color: #0f2030;
            font-size: 18px;
            line-height: 1.1;
            font-weight: 800;
        }

.gk-v4-shell .gk-v4-stage2-card__old-price {
            color: #80909a;
            font-size: 13px;
            line-height: 1.3;
            text-decoration: line-through;
        }

.gk-v4-shell .gk-v4-stage2-section__copy {
            width: 100%;
            max-width: none;
            margin: 0;
        }

.gk-v4-shell .gk-v4-stage2-section__copy-text {
            position: relative;
            overflow: hidden;
            padding: 24px 28px 24px 30px;
            background:
                radial-gradient(circle at top right, rgba(99, 194, 122, 0.16) 0, rgba(99, 194, 122, 0) 34%),
                linear-gradient(135deg, #ffffff 0%, #f7fbff 52%, #f2f8f7 100%);
            border: 1px solid #d8e5ec;
            border-radius: 24px;
            box-shadow: 0 18px 40px rgba(15, 32, 48, 0.08);
            color: #395564;
            font-size: 16px;
            line-height: 1.82;
        }

.gk-v4-shell .gk-v4-stage2-section__copy-text::before {
            content: "О направлении";
            display: inline-flex;
            align-items: center;
            margin: 0 0 16px;
            padding: 6px 12px;
            border-radius: 999px;
            background: linear-gradient(135deg, #0f4d68 0%, #1a6a7f 100%);
            color: #ffffff;
            font-size: 11px;
            line-height: 1;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

.gk-v4-shell .gk-v4-stage2-section__copy-text::after {
            content: "";
            position: absolute;
            inset: 0 auto 0 0;
            width: 6px;
            border-radius: 24px 0 0 24px;
            background: linear-gradient(180deg, #63c27a 0%, #0f4d68 100%);
        }

.gk-v4-shell .gk-v4-stage2-section__copy-text p {
            margin: 0;
        }

.gk-v4-shell .gk-v4-stage2-section__copy-text p:first-of-type {
            color: #173746;
            font-size: 18px;
            line-height: 1.62;
            font-weight: 500;
        }

.gk-v4-shell .gk-v4-stage2-section__copy-text p + p {
            margin-top: 14px;
            padding-top: 14px;
            border-top: 1px solid rgba(15, 77, 104, 0.12);
        }

.gk-v4-shell .gk-v4-stage2-section__copy-text > *:first-child {
            margin-top: 0;
        }

.gk-v4-shell .gk-v4-stage2-section__copy-text > *:last-child {
            margin-bottom: 0;
        }

.gk-v4-shell .gk-v4-breadcrumbs {
            margin: 0 0 10px;
        }

.gk-v4-shell .gk-v4-breadcrumbs__list {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px 10px;
            margin: 0;
            padding: 0;
            list-style: none;
        }

.gk-v4-shell .gk-v4-breadcrumbs__item {
            display: inline-flex;
            align-items: center;
            color: #5f7480;
            font-size: 14px;
            line-height: 1.45;
        }

.gk-v4-shell .gk-v4-breadcrumbs__item + .gk-v4-breadcrumbs__item::before {
            content: '→';
            margin-right: 10px;
            color: #7a8d97;
        }

.gk-v4-shell .gk-v4-breadcrumbs__item a {
            color: #274c5a;
            text-decoration: none;
        }

.gk-v4-shell .gk-v4-breadcrumbs__item a:hover {
            color: #0e7a4f;
            text-decoration: underline;
        }

.gk-v4-shell .gk-v4-breadcrumbs__item.is-current {
            color: #274c5a;
            font-weight: 600;
        }

.gk-v4-shell .gk-v4-scope-actions {
            margin: 24px auto 28px;
            padding: 18px 20px;
            background: #ffffff;
            border: 1px solid #dbe4de;
            border-radius: 28px;
            box-shadow: 0 14px 26px rgba(10, 40, 52, 0.05);
        }

.gk-v4-shell .gk-v4-scope-actions__breadcrumbs {
            margin: 0 0 14px;
        }

.gk-v4-shell .gk-v4-scope-actions__breadcrumbs .gk-v4-breadcrumbs {
            margin: 0;
        }

.gk-v4-shell .gk-v4-scope-actions__form {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 16px;
        }

.gk-v4-shell .gk-v4-scope-actions__select-wrap {
            position: relative;
            flex: 0 1 260px;
            min-width: 220px;
        }

.gk-v4-shell .gk-v4-scope-actions__select-wrap::after {
            content: '';
            position: absolute;
            top: 50%;
            right: 18px;
            width: 9px;
            height: 9px;
            border-right: 2px solid #38525d;
            border-bottom: 2px solid #38525d;
            transform: translateY(-60%) rotate(45deg);
            pointer-events: none;
        }

.gk-v4-shell .gk-v4-scope-actions__select {
            display: block;
            width: 100%;
            min-width: 0;
            max-width: 100%;
            min-height: 52px;
            padding: 0 44px 0 16px;
            border: 1px solid #cfd8d2;
            border-radius: 16px;
            background: #ffffff;
            color: #143844;
            font-size: 15px;
            font-weight: 600;
            line-height: 1.2;
            appearance: none;
            -webkit-appearance: none;
            overflow-x: hidden;
            text-overflow: clip;
        }

.gk-v4-shell .gk-v4-scope-actions__chips {
            display: flex;
            flex: 1 1 520px;
            flex-wrap: wrap;
            gap: 16px;
            min-width: 0;
        }

.gk-v4-shell .gk-v4-scope-actions__chip {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 44px;
            padding: 0 16px;
            border: 1px solid #d6dfda;
            border-radius: 14px;
            background: #ffffff;
            color: #203a45;
            font-size: 14px;
            font-weight: 600;
            line-height: 1.2;
            cursor: pointer;
            transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
        }

.gk-v4-shell .gk-v4-scope-actions__chip input {
            position: absolute;
            inset: 0;
            opacity: 0;
            cursor: pointer;
        }

.gk-v4-shell .gk-v4-scope-actions__chip:hover {
            border-color: #9fdf89;
            color: #0f7149;
        }

.gk-v4-shell .gk-v4-scope-actions__chip.is-active {
            border-color: #8ed47e;
            background: #eef8ee;
            color: #0f7149;
            box-shadow: inset 0 0 0 1px rgba(142, 212, 126, 0.18);
        }

.gk-v4-shell .gk-v4-scope-actions__form--home {
            align-items: stretch;
        }

.gk-v4-shell .gk-v4-scope-actions--home .gk-v4-scope-actions__select-wrap {
            align-self: flex-start;
        }

.gk-v4-shell .gk-v4-scope-actions--home .gk-v4-scope-actions__select-wrap::after {
            top: 26px;
            transform: translateY(-50%) rotate(45deg);
        }

/* override: catalog-common.css (≤520 задаёт flex-basis:100%) — здесь база */
.gk-v4-shell .gk-v4-scope-actions__search-wrap {
            position: relative;
            flex: 1 1 300px;
            min-width: 220px;
        }

.gk-v4-shell .gk-v4-scope-actions__search-input {
            display: block;
            width: 100%;
            min-height: 52px;
            padding: 0 16px;
            border: 1px solid #cfd8d2;
            border-radius: 16px;
            background: #ffffff;
            color: #143844;
            font-size: 15px;
            font-weight: 500;
            line-height: 1.2;
            box-sizing: border-box;
        }

.gk-v4-shell .gk-v4-scope-actions__search-input::placeholder {
            color: #7a8d97;
        }

.gk-v4-shell .gk-v4-scope-actions--subtop + .gk-v4-hero--subtop {
            margin-top: 4px;
        }

.gk-v4-shell .gk-v4-hero--subtop + .gk-v4-route-sections--subtop {
            margin-top: 4px;
        }

.gk-v4-shell .gk-v4-empty {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 14px;
            padding: 24px;
            border: 1px solid #dbe4df;
            border-radius: 24px;
            background: #ffffff;
        }

.gk-v4-shell .gk-v4-empty h3 {
            margin: 0;
            color: #143844;
            font-size: 26px;
            line-height: 1.12;
        }

.gk-v4-shell .gk-v4-empty p {
            margin: 0;
            color: #5f717a;
            font-size: 15px;
            line-height: 1.55;
        }

.gk-v4-shell .gk-v4-empty__chips {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

.gk-v4-shell .gk-v4-empty__chip {
            display: inline-flex;
            align-items: center;
            min-height: 38px;
            padding: 0 14px;
            border: 1px solid #d6dfda;
            border-radius: 999px;
            background: #f7faf8;
            color: #203a45;
            font-size: 13px;
            font-weight: 600;
            line-height: 1.2;
        }

.gk-v4-shell .gk-v4-empty__hint {
            color: #38525d;
        }

.gk-v4-shell .gk-v4-empty__actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

/* Стили для баннера cookie-yandex */
    .rus-cookie-banner {
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        background: #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-radius: 6px;
        padding: 12px 16px;
        z-index: 9999;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        border: 1px solid #e9ecef;
        max-width: 500px;
        font-size: 12px;
        color: #395564;
        line-height: 1.4;
    }

.rus-cookie-text {
        margin-bottom: 12px;
        font-size: 12px;
        color: #395564;
                text-align: justify;
    }

.rus-cookie-text a {
        color: #5a7d8c;
        text-decoration: none;
        border-bottom: 1px dotted #b8c7ce;
    }

.rus-cookie-text a:hover {
        color: #395564;
        border-bottom: 1px solid #395564;
    }

.rus-cookie-buttons {
        display: flex;
        gap: 8px;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

.rus-btn-cookie {
        padding: 6px 14px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 12px;
        border: none;
        transition: background 0.2s;
        font-weight: normal;
    }

.rus-btn-accept {
        background: #28a745;
        color: white;
    }

.rus-btn-accept:hover {
        background: #218838;
    }

.rus-btn-decline {
        background: #dc3545;
        color: white;
    }

.rus-btn-decline:hover {
        background: #c82333;
    }

.screen-reader-text {border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}

.screen-reader-text:focus {background-color:#ddd;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}

@media (max-width: 1280px) {
.gk-v4-shell > * {
        width: min(1500px, calc(100vw - 16px));
    }

.gk-v4-results[data-view="grid"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

	
.gk-v4-main {
	width: 100% !important;
}}

@media (max-width: 1279px) {
.gk-v4-shell .gk-v4-stage2-section__track {
        grid-auto-columns: calc((100% - 48px) / 3);
        gap: 24px;
    }}

@media (max-width: 1100px) {
.gk-v4-hero,
     .gk-v4-layout {
        grid-template-columns: 1fr;
    }

.gk-v4-sidebar {
        position: static;
    }

.gk-v4-compare-page__head {
        align-items: flex-start;
        flex-direction: column;
    }

.gk-v4-shell .gk-v4-hero {
        gap: 20px;
        padding: 24px 24px 26px;
    }

.gk-v4-shell .gk-v4-hero__stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        width: 100%;
        max-width: 520px;
    }}

@media (max-width: 1024px) {
.gk-v4-compare-page__head {
        margin-bottom: 14px !important;
    }

.gk-v4-compare-board__intro {
        gap: 10px 12px;
    }

.gk-v4-compare-board__clear {
        min-height: 36px;
        min-width: 104px;
        padding: 0 14px;
        border-radius: 12px;
        font-size: 14px;
    }}

@media (max-width: 991px) {
.gk-v4-compare-board__intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

.gk-v4-compare-board__clear {
        align-self: flex-start;
    }

.gk-v4-compare-board__nav-rail,
    .gk-v4-compare-board__nav {
        display: none !important;
    }

/* Строки 768–991px: блок «Все характеристики / Отличающиеся» должен
   оставаться на месте при горизонтальной прокрутке карточек. */
.gk-v4-compare-matrix__label--empty {
        position: sticky;
        left: 0;
        z-index: 3;
        background: #ffffff !important;
        box-shadow: 18px 0 24px -20px rgba(10, 56, 70, 0.24);
        border-right: 1px solid rgba(10, 56, 70, 0.09);
    }}

@media (max-width: 960px) {
.gk-v4-hero {
        grid-template-columns: 1fr;
    }

.gk-v4-chip-cloud {
        grid-template-columns: 1fr 1fr;
        justify-content: stretch;
    }

.gk-v4-shell .gk-v4-stage2-section__copy-text {
        padding: 22px 22px 22px 24px;
        border-radius: 22px;
    }

.gk-v4-shell .gk-v4-stage2-section__copy-text::after {
        border-radius: 22px 0 0 22px;
    }

.gk-v4-shell .gk-v4-hero--subtop .gk-v4-hero__title {
        font-size: 34px;
    }

.gk-v4-shell .gk-v4-scope-actions__breadcrumbs {
        margin-bottom: 12px;
    }

/* override: catalog-common.css — мобильная ветка ≤960 */
.gk-v4-shell .gk-v4-scope-actions__search-wrap {
        flex-basis: 100%;
        min-width: 0;
    }

.gk-v4-shell .gk-v4-stage2-section__header {
        align-items: stretch;
        flex-direction: column;
    }

.gk-v4-shell .gk-v4-stage2-section__nav {
        justify-content: flex-start;
    }

.gk-v4-shell .gk-v4-stage2-section__track {
        grid-auto-columns: calc((100% - 20px) / 2);
    }

.gk-v4-shell .gk-v4-hero {
        gap: 18px;
        padding: 22px 20px 24px;
    }

.gk-v4-shell .gk-v4-stage2-showcase,
            .gk-v4-shell .gk-v4-route-sections__list {
        gap: 26px;
    }

.gk-v4-shell .gk-v4-route-sections {
        gap: 20px;
        margin-bottom: 22px;
    }

.gk-v4-shell .gk-v4-scope-actions__chips {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        grid-column: 1 / -1;
        margin-top: 2px;
    }

.gk-v4-shell .gk-v4-scope-actions__chip {
        width: 100%;
        min-width: 0;
        padding: 0 12px;
        text-align: center;
    }

.gk-v4-shell .gk-v4-hero__stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

.gk-v4-shell .gk-v4-stat-card {
        min-height: 88px;
        padding: 14px 14px 15px;
        border-radius: 18px;
    }}

@media (max-width: 782px) {
.entry-content > .gk-v4-shell {
    padding: 0 8px 36px;
    }

.gk-v4-shell > * {
        width: calc(100vw - 16px);
    }

.gk-v4-hero {
        grid-template-columns: minmax(0, 1fr) !important;
        overflow: hidden;
    }

.gk-v4-hero__title {
        font-size: 26px;
        line-height: 1.05;
    }

.gk-v4-hero__text {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

.gk-v4-hero__stats,
     .gk-v4-results[data-view="grid"] {
        grid-template-columns: 1fr;
    }

.gk-v4-compare-page {
        padding-top: 8px !important;
    }

.gk-v4-compare-page__inner {
        width: calc(100vw - 16px);
    }

.gk-v4-compare-board {
        padding: 14px;
        gap: 14px;
    }

.gk-v4-compare-board__intro {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px 10px;
        align-items: start;
    }

.gk-v4-sidebar {
        position: static;
        height: 0;
        min-height: 0;
        overflow: visible;
    }

.gk-v4-filters {
        position: fixed;
        top: 12px;
        right: 12px;
        bottom: 12px;
        width: min(420px, calc(100vw - 24px));
        padding: 20px 18px 92px !important;
        border-radius: 24px;
        box-shadow: 0 24px 60px rgba(2, 24, 32, 0.24);
        overflow: auto;
        transform: translateX(calc(100% + 18px));
        transition: transform .24s ease;
        z-index: 1001;
    }

.gk-v4-shell.is-filters-open .gk-v4-filters {
        transform: translateX(0);
    }

.gk-v4-filter-toggle,
     .gk-v4-filters__close {
        display: inline-flex;
    }

.gk-v4-filters__header a {
        display: none;
    }

.gk-v4-filters__footer {
        position: static;
                bottom: auto;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
        padding-top: 12px;
        margin-top: 2px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 30%);
    }

.gk-v4-filters__reset {
        display: inline-flex;
    }

.gk-v4-hero__stats {
        display: none !important;
    }

.gk-v4-chip-cloud {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
    }

.gk-v4-chip-cloud::-webkit-scrollbar {
        display: none;
    }

.gk-v4-chip {
        flex: 0 0 auto;
        min-width: max-content;
        white-space: nowrap;
        scroll-snap-align: start;
    }

.gk-v4-toolbar__meta {
        flex: 1 1 100%;
        gap: 6px 10px;
        align-items: baseline;
    }

.gk-v4-toolbar__meta strong {
        font-size: 18px;
    }

.gk-v4-toolbar__meta span,
     .gk-v4-toolbar__updated {
        font-size: 13px;
    }

.gk-v4-filter-toggle,
     .gk-v4-compare-link,
     .gk-v4-favorites-toggle {
        min-height: 38px;
        padding: 0 10px;
        gap: 6px;
        font-size: 12px;
    }

.gk-v4-filter-toggle .gk-v4-icon,
     .gk-v4-compare-link .gk-v4-icon,
     .gk-v4-favorites-toggle .gk-v4-icon {
        width: 16px;
        height: 16px;
    }

.gk-v4-compare-link span,
     .gk-v4-favorites-toggle span {
        display: inline;
        white-space: nowrap;
    }

.gk-v4-compare-link strong,
     .gk-v4-favorites-toggle strong {
        font-size: 12.5px;
    }

.gk-v4-view-toggle {
        margin-left: auto;
    }

.gk-v4-view-toggle__btn {
        min-width: 40px;
        width: 40px;
        min-height: 40px;
        border-radius: 12px;
    }

.gk-v4-compare-page__crumbs {
        flex-wrap: wrap;
        font-size: 12px;
        gap: 6px;
        margin-bottom: 10px;
    }

/* Специфичность вместо !important: page.css подключается после style.css,
   поэтому переопределяем через body + обёртку текстовой страницы. */
body .gk-v4-page-article__content .gk-v4-compare-page__head {
        padding-left: 16px;
        padding-right: 16px;
    }

body .gk-v4-page-article__content .gk-v4-compare-page__head h1 {
        margin: 0;
        font-size: 28px;
        line-height: 1.04;
        font-family: 'Poppins', sans-serif;
    }

body .gk-v4-page-article__content .gk-v4-compare-page__head p {
        margin: 10px 0 0;
        font-size: 15px;
        line-height: 1.45;
    }

.gk-v4-compare-empty-state {
        padding: 24px 18px;
        text-align: left;
    }

.gk-v4-compare-empty-state h2 {
        font-size: 24px;
    }

.gk-v4-compare-empty-state p {
        font-size: 15px;
        line-height: 1.5;
    }

.gk-v4-compare-board__intro strong {
        font-size: 18px;
    }

.gk-v4-compare-board__intro p {
        font-size: 14px;
    }

.gk-v4-compare-board__cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-flow: row;
        grid-auto-columns: unset;
        overflow: visible;
        max-width: 100%;
        gap: 12px;
        touch-action: auto;
        overscroll-behavior-x: auto;
    }

.gk-v4-compare-board__cards::-webkit-scrollbar {
        display: none;
    }

.gk-v4-compare-card__body {
        padding: 10px !important;
        gap: 7px !important;
    }

.gk-v4-compare-page .gk-v4-compare-board__cards .gk-v4-compare-card__body h2 {
        font-size: 14px;
        line-height: 1.16;
        letter-spacing: -0.02em;
        overflow-wrap: anywhere;
    }

.gk-v4-compare-page .gk-v4-compare-board__cards .gk-v4-compare-card__price {
        font-size: 16px;
    }

.gk-v4-shell > *,
    .gk-v4-compare-page__inner {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

.gk-v4-hero__main {
        position: relative;
        z-index: 2;
    }

.gk-v4-hero__main,
     .gk-v4-main,
     .gk-v4-toolbar,
     .gk-v4-toolbar__head,
     .gk-v4-toolbar__aside,
     .gk-v4-toolbar__controls,
     .gk-v4-results {
        min-width: 0;
        max-width: 100%;
    }

.gk-v4-compare-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

.gk-v4-compare-card__remove {
        z-index: 10;
    }

.gk-v4-compare-card__remove .gk-v4-icon {
        width: 12px;
        height: 12px;
    }

.gk-v4-compare-card__media {
        aspect-ratio: 16 / 10;
    }

.gk-v4-compare-card__platform {
        font-size: 12px;
    }

.gk-v4-compare-page__head > div {
        min-width: 0;
        max-width: 100%;
    }

.gk-v4-compare-board__clear {
        grid-column: 2;
        grid-row: 1;
        min-height: 34px;
        min-width: 96px;
        padding: 0 12px;
        font-size: 14px;
    }

.gk-v4-compare-board__cards:has(> .gk-v4-compare-card:nth-child(2):last-child) {
        grid-auto-flow: initial;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-columns: auto;
        overflow-x: visible;
        gap: 10px;
    }

.gk-v4-compare-board__cards:has(> .gk-v4-compare-card:nth-child(2):last-child) > .gk-v4-compare-card {
        min-width: 0;
        width: auto;
        max-width: none;
    }

.gk-v4-compare-board__cards:has(> .gk-v4-compare-card:nth-child(2):last-child) .gk-v4-compare-card__body {
        padding: 10px;
        gap: 8px;
    }

.gk-v4-compare-board__cards:has(> .gk-v4-compare-card:nth-child(2):last-child) .gk-v4-compare-card__body h2 {
        font-size: 14px;
        line-height: 1.18;
    }

.gk-v4-compare-board__cards:has(> .gk-v4-compare-card:nth-child(2):last-child) .gk-v4-compare-card__price {
        font-size: 16px;
    }

.gk-v4-compare-board__cards:has(> .gk-v4-compare-card:only-child) {
        grid-template-columns: minmax(0, 1fr);
    }

.gk-v4-compare-board__cards:has(> .gk-v4-compare-card:nth-child(3):last-child) > .gk-v4-compare-card:first-child {
        grid-column: 1 / -1;
    }

.gk-v4-shell .gk-v4-mobile-backdrop,
            .gk-v4-shell .gk-v4-mobile-backdrop[aria-hidden="false"] {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .gk-v4-shell .gk-v4-scope-actions__form--home {
        gap: 16px;
    }

.gk-v4-shell .gk-v4-stage2-showcase,
            .gk-v4-shell .gk-v4-route-sections__list {
        gap: 24px;
    }

.gk-v4-shell .gk-v4-breadcrumbs__list {
        gap: 6px 8px;
    }

.gk-v4-shell .gk-v4-breadcrumbs__item {
        font-size: 13px;
    }}

@media (max-width: 767px) {
.gk-v4-compare-matrix {
        --gk-compare-label-col: 148px;
        --gk-compare-col: clamp(136px, calc((100vw - 52px) / 2), 190px);
    }

.gk-v4-compare-matrix__label,
    .gk-v4-compare-matrix__cell {
        padding: 14px 12px;
        font-size: 14px;
    }

.gk-v4-compare-matrix__head-cell {
        padding-bottom: 10px;
    }

.gk-v4-compare-page .gk-v4-compare-board__cards .gk-v4-compare-card__media {
        aspect-ratio: 16 / 10;
    }

.gk-v4-compare-page .gk-v4-compare-board__cards .gk-v4-compare-card__body {
        padding: 10px 10px 12px;
        gap: 8px;
    }

.gk-v4-compare-page .gk-v4-compare-board__cards .gk-v4-compare-card__body h2 {
        font-size: 15px;
        line-height: 1.22;
        min-height: 0;
    }

.gk-v4-compare-page .gk-v4-compare-board__cards .gk-v4-compare-card__price {
        font-size: 15px;
        line-height: 1.2;
    }

.gk-v4-compare-page .gk-v4-compare-board__matrix-wrap {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

.gk-v4-compare-page .gk-v4-compare-matrix__row .gk-v4-compare-matrix__label {
        position: static;
        left: auto;
        z-index: 1;
        align-items: flex-start;
        padding: 12px 10px;
        font-size: 13px;
        line-height: 1.28;
        white-space: normal;
        word-break: normal;
        overflow-wrap: anywhere;
        hyphens: auto;
    }

.gk-v4-compare-page .gk-v4-compare-matrix__row .gk-v4-compare-matrix__label--empty {
        position: sticky;
        left: 0;
        z-index: 3;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        box-shadow: 18px 0 24px -20px rgba(10, 56, 70, 0.24);
    }

.gk-v4-compare-page .gk-v4-compare-matrix__row .gk-v4-compare-matrix__cell {
        padding: 12px 10px;
        font-size: 13px;
        line-height: 1.35;
        white-space: normal;
        word-break: break-word;
    }

.gk-v4-compare-card__remove {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
    }

.gk-v4-compare-card__platform {
        font-size: 13px;
        line-height: 1.2;
    }

/*.gk-v4-shell .gk-v4-stage2-section__copy {
        margin-top: 14px;
    }
*/

            .gk-v4-shell .gk-v4-stage2-section__copy-text {
        padding: 18px 18px 18px 20px;
        border-radius: 18px;
        font-size: 15px;
        line-height: 1.76;
    }

.gk-v4-shell .gk-v4-stage2-section__copy-text::before {
        margin-bottom: 12px;
        padding: 6px 10px;
        font-size: 10px;
    }

.gk-v4-shell .gk-v4-stage2-section__copy-text::after {
        width: 5px;
        border-radius: 18px 0 0 18px;
    }

.gk-v4-shell .gk-v4-stage2-section__copy-text p:first-of-type {
        font-size: 16px;
        line-height: 1.56;
    }

.gk-v4-shell .gk-v4-stage2-section__copy-text p + p {
        margin-top: 12px;
        padding-top: 12px;
    }

.gk-v4-shell .gk-v4-hero {
        gap: 16px;
        padding: 18px 16px 20px;
    }

.gk-v4-shell .gk-v4-hero__main {
        max-width: 100%;
    }

.gk-v4-shell .gk-v4-hero__title {
        font-size: 32px;
        line-height: 1.08;
    }

.gk-v4-shell .gk-v4-hero--subtop .gk-v4-hero__title,
            .gk-v4-shell .gk-v4-hero--subtop-compact .gk-v4-hero__title {
        font-size: 28px;
        line-height: 1.12;
    }

.gk-v4-shell .gk-v4-hero__text,
            .gk-v4-shell .gk-v4-route-sections__text {
        font-size: 14px;
        line-height: 1.55;
    }

.gk-v4-shell .gk-v4-stat-card__value {
        font-size: 22px;
    }

.gk-v4-shell .gk-v4-stat-card__label {
        font-size: 12px;
        line-height: 1.35;
    }

.gk-v4-shell .gk-v4-stage2-section__track {
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

.gk-v4-shell .gk-v4-stage2-card {
        scroll-snap-align: start;
    }}

@media (max-width: 600px) {
.rus-cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 10px 12px;
        max-width: none;
    }

.rus-cookie-buttons {
        justify-content: space-between;
    }

.rus-btn {
        flex: 1;
        text-align: center;
    }

.gk-v4-compare-search {
        grid-template-columns: minmax(0, 1fr);
    }

.gk-v4-compare-search-result {
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
    }}

@media (max-width: 560px) {
.gk-v4-filters__footer {
        position: static;
                bottom: auto;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) !important;
        gap: 8px !important;
        align-items: stretch !important;
        padding-top: 12px;
        margin-top: 2px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 30%);
    }

.gk-v4-filters__footer > * {
        min-width: 0;
    }

.gk-v4-filters__reset.gk-v4-filters__reset,
    .gk-v4-filters__submit.gk-v4-filters__submit {
        min-height: 44px;
        height: auto;
        padding: 10px 8px;
        font-size: 12px;
        line-height: 1.1;
        letter-spacing: -0.015em;
        white-space: normal;
        word-break: normal;
        overflow-wrap: anywhere;
        text-align: center;
        justify-content: center;
    }}

@media (max-width: 520px) {
.gk-v4-filters {
        top: 8px;
        right: 8px;
        bottom: 8px;
        width: calc(100vw - 16px);
        padding: 18px 16px 88px;
    }

.gk-v4-toolbar__aside {
        gap: 8px;
    }

.gk-v4-filter-toggle,
     .gk-v4-compare-link,
     .gk-v4-favorites-toggle {
        padding: 0 8px;
        font-size: 11.5px;
    }

.gk-v4-compare-link span,
     .gk-v4-favorites-toggle span {
        max-width: none;
    }

.gk-v4-results[data-view="grid"] {
        gap: 10px;
    }

.gk-v4-compare-board__cards {
        gap: 6px;
        grid-auto-columns: minmax(0, calc((100% - 6px) / 2));
    }

body .gk-v4-page-article__content .gk-v4-compare-page__head {
        padding: 0 14px;
    }

.gk-v4-compare-board__cards:has(> .gk-v4-compare-card:nth-child(2):last-child) {
        gap: 8px;
    }

.gk-v4-compare-page .gk-v4-compare-board__cards .gk-v4-compare-card__body h2 {
        font-size: 16px;
        line-height: 1.18;
    }

.gk-v4-compare-page .gk-v4-compare-board__cards .gk-v4-compare-card__price {
        font-size: 18px;
    }

.gk-v4-shell .gk-v4-scope-actions__chips,
            .gk-v4-shell .gk-v4-hero__stats {
        grid-template-columns: 1fr;
    }

.gk-v4-shell .gk-v4-stage2-section__track {
        grid-auto-columns: minmax(252px, 90vw);
    }}

@media (max-width: 460px) {
.gk-v4-shell .gk-v4-route-sections__intro,
            .gk-v4-shell .gk-v4-scope-actions {
        padding: 16px 16px 18px;
        border-radius: 22px;
    }

.gk-v4-shell .gk-v4-scope-actions__form {
        gap: 16px;
    }

.gk-v4-shell .gk-v4-scope-actions__select-wrap,
            .gk-v4-shell .gk-v4-scope-actions__chips {
        flex-basis: 100%;
        min-width: 0;
    }

.gk-v4-shell .gk-v4-stage2-section__track {
        grid-auto-columns: minmax(240px, 84%);
        gap: 16px;
        padding-bottom: 12px;
    }

.gk-v4-shell .gk-v4-stage2-card__body {
        min-height: 140px;
        padding: 14px 16px 16px;
    }}

@media (max-width: 430px) {
html,
body {
        max-width: 100%;
        overflow-x: hidden;
    }

.entry-content > .gk-v4-shell,
.gk-v4-shell,
.gk-v4-stage2-section,
.gk-v4-stage2-showcase,
.gk-v4-route-sections__list {
        max-width: 100%;
        overflow-x: hidden;
    }

.gk-v4-stage2-section__track {
        max-width: 100%;
    }

.gk-v4-filters {
        left: 8px !important;
        right: 8px !important;
        width: auto !important;
        max-width: none !important;
        transform: none !important;
        visibility: hidden;
        pointer-events: none;
    }

.gk-v4-shell.is-filters-open .gk-v4-filters {
        visibility: visible;
        pointer-events: auto;
        transform: none !important;
    }

.gk-v4-course-single__related .gk-v4-stage2-section__track {
        grid-auto-columns: clamp(210px, calc(100vw - 88px), 270px);
    }

.gk-v4-filters__footer {
        position: static;
bottom: auto;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) !important;
        gap: 8px !important;
        padding-top: 12px;
        margin-top: 2px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 30%);
    }

.gk-v4-filters__reset.gk-v4-filters__reset,
     .gk-v4-filters__submit.gk-v4-filters__submit {
        min-height: 44px;
        padding: 0 10px;
        font-size: 13px;
        line-height: 1.1;
        letter-spacing: -0.02em;
        white-space: nowrap;
    }

.gk-v4-compare-matrix {
        --gk-compare-label-col: 140px;
        --gk-compare-col: clamp(132px, calc((100vw - 44px) / 2), 176px);
    }

.gk-v4-compare-matrix__label,
    .gk-v4-compare-matrix__cell {
        padding: 11px 9px !important;
        font-size: 12.5px !important;
    }

.gk-v4-compare-card__body {
        padding: 12px 12px 14px;
    }

.gk-v4-compare-card__body h2 {
        font-size: 14px !important;
    }

.gk-v4-compare-card__price {
        font-size: 14px !important;
    }}

@media (max-width: 390px) {
.gk-v4-filters__reset.gk-v4-filters__reset,
     .gk-v4-filters__submit.gk-v4-filters__submit {
        padding: 9px 7px;
        font-size: 11.5px;
    }}

/* Public entry for the server-rendered course selector. */
.gk-v4-shell .gk-v4-tool-entry {
    display: flex;
    justify-content: center;
    width: min(100%, 1200px);
    margin: 12px auto 0;
}

.gk-v4-shell .gk-v4-scope-actions .gk-v4-tool-entry {
    margin-top: 16px;
}

.gk-v4-tool-entry .gk-v4-btn--ghost {
	background: #ffffff url(../../images/search.png) no-repeat 5px 3px / auto 40px;
    width: 220px;
    padding-right: 0;
}

/* Compact course-card actions keep all three real destinations usable at their own width. */
.gk-v4-shell .gk-v4-stage2-card__body {
    container-name: gk-compact-course-card;
    container-type: inline-size;
    grid-template-areas:
        "title"
        "school"
        "credit"
        "tags"
        "price"
        "actions";
    grid-template-rows: repeat(6, auto);
}

.gk-v4-shell .gk-v4-stage2-card__title {
    grid-area: title;
}

.gk-v4-shell .gk-v4-stage2-card__school {
    grid-area: school;
}

.gk-v4-shell .gk-v4-stage2-card__credit {
    grid-area: credit;
    min-height: 24px;
    color: #53675f;
    font-size: 13px;
    line-height: 1.45;
}

.gk-v4-shell .gk-v4-stage2-card__tags {
    grid-area: tags;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
    min-height: 30px;
}

.gk-v4-shell .gk-v4-stage2-card__tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    max-width: 100%;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef5f0;
    color: #41535d;
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: normal;
}

.gk-v4-shell .gk-v4-stage2-card__pricebox {
    grid-area: price;
    min-height: 24px;
    margin-top: 0;
}

.gk-v4-shell .gk-v4-stage2-card__actions {
    grid-area: actions;
    grid-template-columns: 44px 44px minmax(0, 1fr);
    gap: 16px;
}

@container gk-compact-course-card (max-width: 255.98px) {
    .gk-v4-shell .gk-v4-stage2-card__actions .gk-v4-btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

.gk-v4-shell .gk-v4-home-selection {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #dbe4de;
}

.gk-v4-shell .gk-v4-home-selection__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid #cfd8d2;
    border-radius: 14px;
    background: #ffffff;
    color: #143844;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-sizing: border-box;
}

.gk-v4-shell .gk-v4-home-selection__link:hover,
.gk-v4-shell .gk-v4-home-selection__link:focus-visible {
    border-color: #1b8f87;
    color: #0a655f;
}

.gk-v4-shell .gk-v4-home-selection__link:focus-visible {
    outline: 2px solid #0a7169;
    outline-offset: 2px;
}

.gk-v4-shell .gk-v4-home-selection__link .gk-v4-icon {
    flex: 0 0 auto;
}

@media (max-width: 430px) {
    .gk-v4-shell .gk-v4-home-selection {
        flex-direction: column;
    }

    .gk-v4-shell .gk-v4-home-selection__link {
        width: 100%;
    }}

#toTop {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: var(--gk-scroll-top-bottom, max(16px, env(safe-area-inset-bottom)));
    left: auto;
    display: inline-flex;
    width: 48px;
    height: 48px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 50%;
    background: #064d62;
    color: #fff;
    box-shadow: 0 8px 24px rgba(6, 77, 98, .28);
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease, bottom 160ms ease;
}

#toTop.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

#toTop:hover {
    background: #043f50;
}

#toTop:focus-visible {
    outline: 3px solid #f8cd3b;
    outline-offset: 3px;
}

.gk-scroll-to-top__icon {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    #toTop {
        transition: none;
    }}

.gk-v4-shell > *,
.gk-v4-shell .gk-v4-stage2-showcase,
.gk-v4-shell .gk-v4-stage2-showcase__sections,
.gk-v4-shell .gk-v4-stage2-section {
    min-width: 0;
    max-width: 100%;
}

.gk-v4-shell .gk-v4-stage2-showcase {
    overflow-x: hidden;
}

.gk-v4-shell:has(.gk-v4-stage2-showcase--home) {
    overflow-x: hidden !important;
}

.gk-v4-shell .gk-v4-hero {
    overflow: visible;
}

.gk-v4-shell .gk-v4-hero__title {
    min-height: 0;
    font-size: max(28px, 1.75rem) !important;
    overflow-wrap: anywhere;
}

.gk-v4-shell .gk-v4-hero__text,
.gk-v4-shell .gk-v4-route-sections__text,
.gk-v4-shell .gk-v4-stage2-section__copy-text,
.gk-v4-shell .gk-v4-stage2-section__copy-text li,
.gk-v4-shell .gk-v4-approved-content li,
.gk-v4-shell .gk-v4-context-links__item {
    font-size: 15px;
    line-height: 1.45;
}

.gk-v4-filters input:not([type="checkbox"]):not([type="radio"]),
.gk-v4-filters select {
    min-height: 44px;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

.gk-v4-shell ul.page-numbers li {
    font-size: 15px;
    line-height: 1.45;
}

.gk-v4-shell :where(a, button, input, select, summary):focus-visible,
.gk-v4-compare-page :where(a, button, input, select, summary):focus-visible,
#reset-cookie-consent:focus-visible {
    outline: 2px solid #f0b400;
    outline-offset: 2px;
}

@media (max-width: 782px) {
	.entry-content > .gk-v4-shell {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
		background-color: var(--gk-bg);
		overflow: visible;
	}

	body .entry-content > .gk-v4-shell > :not(.gk-v4-topbar) {
		width: calc(100% - 24px) !important;
		max-width: calc(100% - 24px) !important;
		min-width: 0 !important;
		margin-left: 12px;
		margin-right: 12px;
		box-sizing: border-box;
	}

	body .entry-content > .gk-v4-shell > .gk-v4-stage2-showcase {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0;
		margin-right: 0;
	}

	body .entry-content > .gk-v4-shell > .gk-v4-stage2-showcase .gk-v4-stage2-showcase__sections,
	body .entry-content > .gk-v4-shell > .gk-v4-stage2-showcase .gk-v4-stage2-section {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		margin-left: 0;
		margin-right: 0;
		box-sizing: border-box;
	}

	body .entry-content > .gk-v4-shell > .gk-v4-stage2-showcase .gk-v4-stage2-section__header {
		margin-left: 12px;
		margin-right: 12px;
	}

	body .entry-content > .gk-v4-shell > .gk-v4-stage2-showcase .gk-v4-stage2-section__track {
		width: 100%;
		max-width: 100%;
		padding-left: 16px;
		padding-right: 16px;
		scroll-padding-inline: 16px;
		box-sizing: border-box;
	}

    .gk-v4-results[data-view="grid"] {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }}

.gk-v4-selection-form {
    display: contents;
}

