
.entry-content > .gk-v4-shell,
.gk-v4-compare-page, .archive-articles-main,
.gk-choice,
.gk-v4-course-single__related,
.gk-v4-choice-page {
    --gk-bg: #eef3f0;
    --gk-panel: #ffffff;
    --gk-panel-soft: #fafcfa;
    --gk-border: #d7e0dc;
    --gk-border-strong: #c4d0ca;
    --gk-text: #0b2d38;
    --gk-text-soft: #5f7570;
    --gk-dark: #023849;
    --gk-accent: #75da73;
    --gk-accent-hover: #67cc65;
    --gk-accent-soft: #eef8ec;
    --gk-accent-border: #bbdfb8;
    --gk-danger: #FF0000;
    --gk-danger-border: #FF0000;
    --gk-shadow: 0 14px 36px rgba(7, 30, 24, 0.05);
    --gk-radius-lg: 24px;
    --gk-radius-md: 18px;
    --gk-radius-sm: 14px;
    color: var(--gk-text);
    background: var(--gk-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
}



:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) *,
:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) *::before,
:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) *::after {
    box-sizing: border-box;
}

:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) a {
    text-decoration: none;
}

:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) img {
    display: block;
    max-width: 100%;
}

:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) button,
:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) input,
:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) select {
    font: inherit;
}

:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-hero,
:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-toolbar,
:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-filters,
:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-card,
:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-empty,
:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-stat-card,
:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-compare-board,
:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-compare-empty-state,
:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-compare-card {
    border: 1px solid var(--gk-border);
    border-radius: var(--gk-radius-lg);
    background: var(--gk-panel);
    box-shadow: var(--gk-shadow);
}

:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: currentColor;
}

:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-icon svg path,
:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-icon svg circle,
:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-icon svg rect {
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-icon--list svg circle {
    fill: currentColor;
    stroke: none;
}

.gk-v4-icon-btn--favorite.is-active .gk-v4-icon--heart svg path,
 .gk-v4-favorites-toggle.has-items .gk-v4-icon--heart svg path,
 .gk-v4-favorites-toggle.is-open .gk-v4-icon--heart svg path {
    fill: currentColor;
}

:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) input[type="text"],
:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) input[type="search"],
:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) input[type="number"],
:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) select {
    width: 100%;
    height: 48px;
    border: 1px solid var(--gk-border-strong);
    border-radius: 16px;
    background: #ffffff;
    color: var(--gk-text);
    padding: 0 16px;
    box-shadow: none;
}

:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 54px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%2361766F' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px 16px;
}

:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) input::placeholder {
    color: #8d9d97;
}

.gk-v4-compare-link,
 .gk-v4-favorites-toggle,
 .gk-v4-view-toggle__btn,
 .gk-v4-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 1px solid var(--gk-border-strong);
    border-radius: 14px;
    background: #ffffff;
    color: var(--gk-text);
}

:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-btn--primary {
    background: var(--gk-accent);
    border-color: var(--gk-accent);
    color: #10351d;
}

:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-btn--primary:hover {
    background: var(--gk-accent-hover);
    border-color: var(--gk-accent-hover);
}

:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-btn--ghost {
    background: #ffffff;
    border-color: var(--gk-border-strong);
    color: var(--gk-text);
}

:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-btn--full {
    width: 100%;
}

:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-btn:hover,
 .gk-v4-icon-btn:hover:not(:disabled):not([aria-disabled="true"]),
 .gk-v4-view-toggle__btn:hover,
 .gk-v4-compare-link:hover {
    transform: translateY(-1px);
}

.gk-v4-card {
    overflow: hidden;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.gk-v4-card__image-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: #edf2ef;
    overflow: hidden;
}

.gk-v4-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .24s ease;
}

.gk-v4-card:hover .gk-v4-card__image {
    transform: scale(1.02);
}

.gk-v4-card__image-placeholder,
.gk-v4-compare-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 64px;
    font-weight: 700;
    color: #90a29a;
    background: #eef2ef;
}

.gk-v4-card__discount {
    position: absolute;
    top: 12px;
    left: 12px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff1f2;
    border: 1px solid #FF0000;
    color: var(--gk-danger);
    font-size: 14px;
    font-weight: 700;
}

.gk-v4-card__content {
    padding: 16px 16px 12px;
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.gk-v4-card__badges,
 .gk-v4-card__tags {
    display: flex;
    flex-wrap: wrap;
        justify-content: flex-start;
    align-items: center;
        gap: 8px;
}

.gk-v4-card__tags {
    min-height: 30px;
}

.gk-v4-badge,
 .gk-v4-card__tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
  /*  border-radius: 999px;*/
        border-radius: 15px 0;
    border: 1px solid var(--gk-border);
    background: var(--gk-panel-soft);
    color: var(--gk-text-soft);
    font-size: 13px;
    font-weight: 500;
}

.gk-v4-badge--employment {
    background: var(--gk-accent-soft);
    border-color: var(--gk-accent-border);
    color: #2f6a42;
}

.gk-v4-card__title {
    margin: 0;
    min-height: calc(1.28em * 3);
    font-size: 17px;
    line-height: 1.28;
    letter-spacing: -.03em;
    font-weight: 600;
    color: var(--gk-text);
}

.gk-v4-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    min-height: 22px;
    gap: 8px 14px;
    color: var(--gk-text-soft);
    font-size: 15px;
    line-height: 1.35;
}

.gk-v4-card__footer {
    margin-top: auto;
    padding: 0 16px 16px;
    display: grid;
    gap: 14px;
}

.gk-v4-pricebox {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.gk-v4-pricebox__main {
    font-size: 18px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.03em;
}

.gk-v4-pricebox__old {
    font-size: 15px;
    line-height: 1.2;
    color: #879490;
    text-decoration: line-through;
}

.gk-v4-card__actions {
    display: grid;
    grid-template-columns: 48px 48px minmax(128px, 1fr);
    gap: 14px;
    align-items: center;
}

.gk-v4-icon-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    cursor: pointer;
    color: var(--gk-text-soft);
}

.gk-v4-icon-btn.is-active {
    color: var(--gk-danger);
    border-color: var(--gk-danger-border);
    background: #fff8f8;
}

.gk-v4-results[data-view="list"] .gk-v4-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 266px;
    align-items: stretch;
}

.gk-v4-results[data-view="list"] .gk-v4-card__image-link {
    aspect-ratio: auto;
    min-height: 210px;
    height: 100%;
}

.gk-v4-results[data-view="list"] .gk-v4-card__content {
    padding: 18px 20px;
    gap: 14px;
}

.gk-v4-results[data-view="list"] .gk-v4-card__title,
 .gk-v4-results[data-view="list"] .gk-v4-card__meta,
 .gk-v4-results[data-view="list"] .gk-v4-card__tags {
    min-height: 0;
}

.gk-v4-results[data-view="list"] .gk-v4-card__footer {
    min-width: 0;
    padding: 18px 16px;
    border-left: 1px solid var(--gk-border);
    align-content: space-between;
}

.gk-v4-results[data-view="list"] .gk-v4-pricebox__main {
    font-size: 20px;
}

.gk-v4-results[data-view="list"] .gk-v4-card__actions {
    grid-template-columns: 40px 40px minmax(0, 1fr);
    gap: 10px;
}

.gk-v4-results[data-view="list"] .gk-v4-icon-btn {
    width: 40px;
    height: 40px;
}

.gk-v4-results[data-view="list"] .gk-v4-btn {
    min-width: 0;
    min-height: 44px;
    padding: 0 12px;
    white-space: nowrap;
}


/* Keep card controls separate and modes inside the matrix corner. */
.gk-v4-card__actions,
.gk-v4-stage2-card__actions {
    position: relative;
    align-items: center;
    grid-template-columns: 44px 44px minmax(0, 1fr) !important;
    gap: 8px !important;
}

.gk-v4-card__actions > .gk-v4-selection-form > .gk-v4-icon-btn,
.gk-v4-stage2-card__actions > .gk-v4-selection-form > .gk-v4-icon-btn {
    grid-column: 1;
    grid-row: 1;
}

.gk-v4-card__actions > .gk-v4-icon-btn--favorite,
.gk-v4-stage2-card__actions > .gk-v4-icon-btn--favorite {
    grid-column: 2;
    grid-row: 1;
}

.gk-v4-card__actions > .gk-v4-btn,
.gk-v4-stage2-card__actions > .gk-v4-btn {
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
    max-width: 100%;
}

.gk-v4-card__actions > .gk-v4-selection-form > .gk-v4-compare-adjacent-link,
.gk-v4-stage2-card__actions > .gk-v4-selection-form > .gk-v4-compare-adjacent-link {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    max-width: 100%;
    min-height: 32px;
    overflow-wrap: anywhere;
}

@media (max-width: 420px) {
    .gk-v4-card__actions,
    .gk-v4-stage2-card__actions {
        grid-template-columns: 44px 44px minmax(0, 1fr) !important;
    }

    .gk-v4-card__actions > .gk-v4-btn,
    .gk-v4-stage2-card__actions > .gk-v4-btn {
        padding-inline: 8px !important;
        font-size: 13px !important;
    }}

.gk-v4-compare-search .gk-v4-btn {
    text-transform: none;
    letter-spacing: 0;
}

.gk-v4-compare-search-result .gk-v4-btn {
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0;
}

.gk-v4-icon-btn {
    border-width: 2px;
    font-weight: 700;
}

.gk-v4-icon-btn .gk-v4-icon {
    width: 18px;
    height: 18px;
}

.gk-v4-icon-btn .gk-v4-icon svg path,
 .gk-v4-icon-btn .gk-v4-icon svg circle,
 .gk-v4-icon-btn .gk-v4-icon svg rect {
    stroke-width: 2.35;
}

.gk-v4-compare-card .gk-v4-btn {
    margin-top: 12px;
}

/* v6.3 brand + card action weight */

 .gk-v4-card__actions {
    grid-template-columns: 52px 52px minmax(136px, 1fr);
}

.gk-v4-card__actions .gk-v4-icon-btn {
    width: 52px;
    height: 52px;
    border-width: 2px;
    border-color: #79c96f;
    background: #ffffff;
    color: #2e6d4e;
    box-shadow: inset 0 0 0 1px rgba(121, 201, 111, 0.12);
}

.gk-v4-card__actions .gk-v4-icon-btn .gk-v4-icon {
    width: 20px;
    height: 20px;
}

.gk-v4-card__actions .gk-v4-icon-btn .gk-v4-icon svg path,
 .gk-v4-card__actions .gk-v4-icon-btn .gk-v4-icon svg circle,
 .gk-v4-card__actions .gk-v4-icon-btn .gk-v4-icon svg rect {
    stroke-width: 2.7;
}

.gk-v4-card__actions .gk-v4-icon-btn:hover:not(:disabled):not([aria-disabled="true"]) {
    border-color: #66bc5b;
    color: #255a3f;
    background: #f8fff7;
}

.gk-v4-card__actions .gk-v4-icon-btn.is-active {
    border-color: var(--gk-danger);
    background: #fff4f4;
    color: var(--gk-danger);
    box-shadow: inset 0 0 0 1px rgba(255, 0, 0, 0.12);
}

.gk-v4-card__actions .gk-v4-icon-btn.is-active .gk-v4-icon svg path,
 .gk-v4-card__actions .gk-v4-icon-btn.is-active .gk-v4-icon svg circle,
 .gk-v4-card__actions .gk-v4-icon-btn.is-active .gk-v4-icon svg rect {
    stroke-width: 2.8;
}

.gk-v4-results[data-view="list"] .gk-v4-card__actions {
    grid-template-columns: 48px 48px minmax(140px, 1fr);
    gap: 12px;
}

.gk-v4-results[data-view="list"] .gk-v4-card__actions .gk-v4-icon-btn {
    width: 48px;
    height: 48px;
}

.gk-v4-results[data-view="list"] .gk-v4-card__footer {
    min-width: 0;
    padding: 18px 12px;
}

.gk-v4-results[data-view="list"] .gk-v4-card__actions {
    grid-template-columns: 44px 44px minmax(0, 1fr);
    gap: 10px;
}

.gk-v4-results[data-view="list"] .gk-v4-card__actions .gk-v4-icon-btn {
    width: 44px;
    height: 44px;
}

.gk-v4-results[data-view="list"] .gk-v4-card__actions .gk-v4-btn {
    width: 100%;
    min-width: 0;
    padding: 0 10px;
    font-size: 15px;
}

/* v8.9 aligned cards + page-scroll filters */
@media (min-width: 1101px) {

     .gk-v4-results[data-view="grid"] .gk-v4-card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }


     .gk-v4-results[data-view="grid"] .gk-v4-card__content {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        gap: 10px;
    }


     .gk-v4-results[data-view="grid"] .gk-v4-card__title {
        min-height: calc(1.28em * 3);
    }


     .gk-v4-results[data-view="grid"] .gk-v4-card__badges {
        min-height: 68px;
        align-content: flex-start;
    }


     .gk-v4-results[data-view="grid"] .gk-v4-card__meta {
        min-height: 22px;
        align-content: flex-start;
    }


     .gk-v4-results[data-view="grid"] .gk-v4-card__tags {
        min-height: 30px;
        margin-top: auto;
        align-content: flex-start;
    }}

.gk-v4-compare-card .gk-v4-btn {
    margin-top: 12px;
}

.gk-v4-card__badges .Netology,
 .gk-v4-card__badges .Skillfactory,
 .gk-v4-card__badges .GeekBrains,
 .gk-v4-card__badges .Eduson,
 .gk-v4-card__badges .Skillbox,
 .gk-v4-card__badges .Yandex,
 .gk-v4-card__badges .Umschool {
    padding-left: 38px;
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 24px 24px;
}

.gk-v4-card__badges .certificate {
    background-repeat: no-repeat;
    background-size: 22px 22px;
        display: inline-block;
        background-image: url('/logos/logo_certificate.png');
        width: 22px;
                height: 22px;
}

.gk-v4-shell .gk-v4-stage2-showcase__actions .gk-v4-btn--primary {
            min-height: 50px;
            padding: 0 22px;
            border-radius: 16px;
        }

:is(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-badge--platform {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-width: 0;
            max-width: 100%;
            min-height: 24px;
            padding: 4px 10px 4px 5px;
            border: 1px solid #d7e2e7;
            border-radius: 999px;
            background: #ffffff;
            color: #41535d;
            font-size: 11px;
            line-height: 1.2;
            font-weight: 700;
            text-decoration: none;
            box-sizing: border-box;
        }

:is(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-badge__logo,
        :is(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-badge__mark {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            width: 22px;
            height: 22px;
            border-radius: 999px;
            background: #e8f0f4;
            box-sizing: border-box;
        }

:is(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-badge__logo {
            object-fit: contain;
        }

:is(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-badge__mark {
            color: #133243;
            font-size: 9px;
            line-height: 1;
            font-weight: 800;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

:is(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-badge--platform .gk-v4-badge__label {
            display: block;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

:is(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-badge--platform.is-platform-skillbox .gk-v4-badge__mark {
            background: #111827;
            color: #ffde3b;
        }

:is(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-badge--platform.is-platform-netology .gk-v4-badge__mark {
            background: #2254f4;
            color: #ffffff;
        }

:is(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-badge--platform.is-platform-eduson .gk-v4-badge__mark {
            background: #e6f1ff;
            color: #2563eb;
        }

:is(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-badge--platform.is-platform-skillfactory .gk-v4-badge__mark {
            background: #fff2e8;
            color: #d97706;
        }

:is(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-badge--platform.is-platform-geekbrains .gk-v4-badge__mark,
        :is(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-badge--platform.is-platform-geekschool .gk-v4-badge__mark {
            background: #f3e8ff;
            color: #7c3aed;
        }

:is(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-badge--platform.is-platform-yandex .gk-v4-badge__mark {
            background: #ffebe7;
            color: #e5482d;
        }

:is(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-badge--platform.is-platform-otus .gk-v4-badge__mark {
            background: #eefcf4;
            color: #16a34a;
        }

:is(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-badge--platform.is-platform-foxford .gk-v4-badge__mark {
            background: #eaf6ff;
            color: #0f77d1;
        }

.gk-v4-shell .gk-v4-stage2-card__school .gk-v4-badge--platform {
            max-width: 100%;
        }

.gk-v4-shell .gk-v4-stage2-card__actions .gk-v4-icon-btn {
            width: 44px;
            min-width: 44px;
            height: 44px;
            min-height: 44px;
        }

.gk-v4-shell .gk-v4-stage2-card__actions .gk-v4-btn {
            width: 100%;
            min-height: 42px;
            padding: 0 14px;
            border-radius: 12px;
            font-size: 14px;
        }

.gk-v4-course-single__related .gk-v4-stage2-card__actions .gk-v4-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            min-height: 42px;
            padding: 0 14px;
            border: 1px solid var(--gk-accent, #75da73);
            border-radius: 12px;
            background: var(--gk-accent, #75da73);
            color: #10351d;
            font-size: 14px;
            font-weight: 600;
            line-height: 1;
            text-align: center;
            text-decoration: none;
            white-space: nowrap;
        }

.gk-v4-shell .gk-v4-scope-actions .gk-v4-btn--primary {
            min-height: 52px;
            padding: 0 22px;
            border-radius: 16px;
            margin-left: auto;
            white-space: nowrap;
        }


/* fix75: выравнивание карточек в grid при разной длине title и отсутствии duration */
.gk-v4-shell [data-view-container][data-view="grid"] .gk-v4-card__title {
            display: -webkit-box;
            min-height: 4.14em;
            margin: 0;
            overflow: hidden;
            line-height: 1.38;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
        }

.gk-v4-shell [data-view-container][data-view="grid"] .gk-v4-card__badges {
            display: flex;
            align-items: center;
            align-content: flex-start;
            flex-wrap: wrap;
            gap: 8px;
            min-height: 26px;
        }

.gk-v4-shell [data-view-container][data-view="grid"] .gk-v4-card__meta {
            display: flex;
            align-items: center;
            align-content: flex-start;
            flex-wrap: wrap;
            gap: 6px 12px;
            min-height: 22px;
        }

.gk-v4-shell [data-view-container][data-view="grid"] .gk-v4-card__tags {
            display: flex;
            align-items: flex-start;
            align-content: flex-start;
            flex-wrap: wrap;
            gap: 8px;
            min-height: 30px;
        }

@media (max-width: 1280px) {
.gk-v4-results[data-view="list"] .gk-v4-card {
        grid-template-columns: 220px minmax(0, 1fr) 212px;
    }}

@media (max-width: 1100px) {
.gk-v4-results[data-view="list"] .gk-v4-card {
        grid-template-columns: 1fr;
    }

.gk-v4-results[data-view="list"] .gk-v4-card__image-link {
        min-height: 220px;
    }

.gk-v4-results[data-view="list"] .gk-v4-card__footer {
        border-left: 0;
        border-top: 1px solid var(--gk-border);
    }}

@media (max-width: 960px) {
.gk-v4-results[data-view="list"] .gk-v4-card {
        grid-template-columns: 1fr;
    }

.gk-v4-results[data-view="list"] .gk-v4-card__image-link {
        min-height: 220px;
    }

.gk-v4-results[data-view="list"] .gk-v4-card__footer {
        border-left: 0;
        border-top: 1px solid var(--gk-border);
    }

.gk-v4-shell .gk-v4-scope-actions .gk-v4-btn--primary {
        margin-left: 0;
    }}

@media (max-width: 782px) {
.gk-v4-card__actions {
        grid-template-columns: 32px 32px minmax(0, 1fr);
        gap: 6px;
    }

.gk-v4-card {
        border-radius: 18px;
        overflow: hidden;
    }

.gk-v4-card__image-link {
        display: block !important;
        aspect-ratio: 4 / 3;
        min-height: 0;
        position: relative;
        background: #edf2ef;
    }

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

.gk-v4-card__discount {
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 2;
        margin: 0;
        min-height: 28px;
        padding: 0 10px;
        font-size: 12px;
    }

.gk-v4-card__content {
        padding: 10px 10px 8px;
        gap: 8px;
    }

.gk-v4-card__badges,
     .gk-v4-card__tags {
        gap: 6px;
    }

.gk-v4-badge,
     .gk-v4-card__tags span {
        min-height: 24px;
        padding: 0 8px;
        font-size: 11px;
    }

.gk-v4-card__tags span:nth-child(n+3) {
        display: none;
    }

.gk-v4-card__title {
        font-size: 13px;
        line-height: 1.35;
        min-height: 0;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.gk-v4-card__meta {
        min-height: 0;
        gap: 6px 8px;
        font-size: 12px;
        line-height: 1.35;
    }

.gk-v4-card__footer {
        padding: 0 10px 10px;
        gap: 8px;
    }

.gk-v4-pricebox {
        gap: 4px 6px;
    }

.gk-v4-pricebox__main {
        font-size: 14px;
    }

.gk-v4-pricebox__old {
        font-size: 11px;
    }

.gk-v4-card__actions .gk-v4-icon-btn {
        width: 32px;
        height: 32px;
        min-height: 32px;
        border-radius: 10px;
    }

.gk-v4-card__actions .gk-v4-icon-btn .gk-v4-icon {
        width: 16px;
        height: 16px;
    }

.gk-v4-card__actions .gk-v4-btn {
        min-height: 32px;
        padding: 0 8px;
        border-radius: 10px;
        font-size: 13px;
    }

.gk-v4-results[data-view="list"] .gk-v4-card__image-link {
        display: block !important;
        aspect-ratio: 16 / 9;
    }

.gk-v4-results[data-view="list"] .gk-v4-card__content {
        padding: 12px 12px 8px;
    }

.gk-v4-results[data-view="list"] .gk-v4-card__footer {
        padding: 10px 12px 12px;
        min-width: 0;
    }

.gk-v4-results[data-view="list"] .gk-v4-card__actions {
        grid-template-columns: 32px 32px auto;
        justify-content: start;
    }

.gk-v4-results[data-view="list"] .gk-v4-card__actions .gk-v4-icon-btn {
        width: 32px;
        height: 32px;
        min-height: 32px;
    }

.gk-v4-results[data-view="list"] .gk-v4-card__actions .gk-v4-btn {
        width: auto;
        min-width: 96px;
        min-height: 32px;
        padding: 0 12px;
        font-size: 13px;
    }

.gk-v4-compare-page__head .gk-v4-btn {
        width: auto !important;
        min-width: 220px !important;
        max-width: min(320px, calc(100% - 32px)) !important;
        min-height: 46px !important;
        padding: 0 24px !important;
        align-self: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
    }

.gk-v4-compare-card .gk-v4-btn {
        min-height: 32px !important;
        padding: 0 8px !important;
        font-size: 12px !important;
    }

.gk-v4-compare-board__cards:has(> .gk-v4-compare-card:nth-child(2):last-child) .gk-v4-compare-card .gk-v4-btn {
        min-height: 34px !important;
        font-size: 12px !important;
        padding: 0 10px !important;
    }

.gk-v4-card__badges .Netology,
 .gk-v4-card__badges .Skillfactory,
 .gk-v4-card__badges .GeekBrains,
 .gk-v4-card__badges .Eduson,
 .gk-v4-card__badges .Skillbox,
 .gk-v4-card__badges .Yandex,
 .gk-v4-card__badges .Umschool {
        padding-left: 32px;
        background-position: left 8px center;
        background-size: 19px 19px;
    }}

@media (max-width: 767px) {
.gk-v4-compare-card .gk-v4-btn {
        min-height: 34px !important;
        padding: 0 8px !important;
        font-size: 12px !important;
    }

.gk-v4-shell .gk-v4-stage2-showcase__actions .gk-v4-btn--primary {
        width: 100%;
        justify-content: center;
    }}

@media (max-width: 600px) {
.gk-v4-compare-search .gk-v4-btn {
        width: 100%;
    }

.gk-v4-compare-search-result .gk-v4-btn {
        width: 100%;
        white-space: normal;
    }}

@media (max-width: 520px) {
.gk-v4-card__content {
        padding: 9px 9px 7px;
    }

.gk-v4-card__footer {
        padding: 0 9px 9px;
    }

.gk-v4-compare-page__head .gk-v4-btn {
        min-width: 0 !important;
        max-width: calc(100% - 28px) !important;
        min-height: 44px !important;
    }

.gk-v4-compare-card .gk-v4-btn {
        min-height: 36px !important;
        padding: 0 10px !important;
        font-size: 13px !important;
    }

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

.gk-v4-shell .gk-v4-scope-actions .gk-v4-btn--primary {
        width: 100%;
        justify-content: center;
    }}

@media (max-width: 460px) {
.gk-v4-shell .gk-v4-scope-actions .gk-v4-btn--primary {
        width: 100%;
        justify-content: center;
    }}

@media (max-width: 430px) {
.gk-v4-card__actions,
    .gk-v4-results[data-view="list"] .gk-v4-card__actions {
        grid-template-columns: 32px 32px minmax(74px, 1fr) !important;
        gap: 8px !important;
    }

.gk-v4-card__actions .gk-v4-btn,
    .gk-v4-results[data-view="list"] .gk-v4-card__actions .gk-v4-btn,
    .gk-v4-stage2-card__actions .gk-v4-btn {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
        font-size: 0 !important;
        white-space: nowrap !important;
    }

.gk-v4-card__actions .gk-v4-btn::after,
    .gk-v4-results[data-view="list"] .gk-v4-card__actions .gk-v4-btn::after,
    .gk-v4-stage2-card__actions .gk-v4-btn::after {
        content: "К курсу";
        font-size: 13px;
        line-height: 1;
    }

.gk-v4-compare-card .gk-v4-btn {
        font-size: 11.5px !important;
    }}

@media (max-width: 390px) {
.gk-v4-card__actions .gk-v4-btn::after,
    .gk-v4-results[data-view="list"] .gk-v4-card__actions .gk-v4-btn::after,
    .gk-v4-stage2-card__actions .gk-v4-btn::after {
        font-size: 12.5px;
    }}


@media (max-width: 767px) {
    .gk-v4-shell .gk-v4-tool-entry,
    .gk-v4-shell .gk-v4-tool-entry .gk-v4-btn {
        width: 100%;
    }}

.gk-v4-shell .gk-v4-stage2-card__actions .gk-v4-btn {
    min-height: 44px;
}


/* Home search selection destinations. */
.gk-v4-shell .gk-v4-scope-actions--home .gk-v4-btn--primary {
    min-height: 44px;
    height: 44px;
    align-self: center;
}



.gk-v4-shell,
.gk-v4-shell *,
.gk-v4-card,
.gk-v4-card * {
    box-sizing: border-box;
}


.gk-v4-shell .gk-v4-hero,
.gk-v4-shell .gk-v4-hero__main,
.gk-v4-shell .gk-v4-hero__title,
.gk-v4-shell .gk-v4-stage2-card,
.gk-v4-shell .gk-v4-stage2-card__body,
.gk-v4-card,
.gk-v4-card__content,
.gk-v4-card__footer {
    min-width: 0;
    max-width: 100%;
}


.gk-v4-shell .gk-v4-stage2-card__title,
.gk-v4-card__title {
    display: block !important;
    min-height: 0;
    overflow: visible !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    overflow-wrap: anywhere;
}


.gk-v4-shell .gk-v4-stage2-section__title a,
.gk-v4-shell .gk-v4-stage2-card__title a,
.gk-v4-card__title a,
.gk-v4-shell .gk-v4-breadcrumbs__item a,
.gk-v4-shell .gk-v4-context-links__link,
.gk-v4-filters__header-actions a,
#reset-cookie-consent {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}


.gk-v4-shell .gk-v4-stage2-card__actions .gk-v4-btn,
.gk-v4-card__actions .gk-v4-btn,
.gk-v4-card__actions .gk-v4-icon-btn,
.gk-v4-results[data-view="list"] .gk-v4-card__actions .gk-v4-btn,
.gk-v4-results[data-view="list"] .gk-v4-card__actions .gk-v4-icon-btn,
.gk-v4-filter-toggle,
.gk-v4-favorites-toggle,
.gk-v4-compare-link,
.gk-v4-view-toggle__btn,
.gk-v4-filters__reset,
.gk-v4-filters__submit,
.gk-v4-filters__close,
.gk-v4-toolbar select,
.gk-v4-shell .gk-v4-scope-actions__select,
.gk-v4-shell .gk-v4-scope-actions__chip,
.gk-v4-shell .gk-v4-scope-actions__search-input,
.gk-v4-shell .gk-v4-scope-actions .gk-v4-btn,
.gk-v4-check,
summary.gk-v4-check,
.gk-v4-filters details > summary {
    min-height: 44px !important;
    height: auto;
    font-size: 14px !important;
    line-height: 1.35 !important;
}


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


.gk-v4-card__actions .gk-v4-icon-btn,
.gk-v4-results[data-view="list"] .gk-v4-card__actions .gk-v4-icon-btn {
    width: 44px !important;
    height: 44px !important;
}


.gk-v4-card__actions .gk-v4-btn,
.gk-v4-results[data-view="list"] .gk-v4-card__actions .gk-v4-btn,
.gk-v4-stage2-card__actions .gk-v4-btn {
    max-width: 100% !important;
    overflow: visible !important;
    padding: 0 10px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
}


.gk-v4-card__actions .gk-v4-btn::after,
.gk-v4-results[data-view="list"] .gk-v4-card__actions .gk-v4-btn::after,
.gk-v4-stage2-card__actions .gk-v4-btn::after {
    content: none !important;
}


.gk-v4-shell .gk-v4-stage2-card__discount,
.gk-v4-card__discount {
    border-color: #a61b1b;
    color: #a61b1b;
}


:is(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-card .gk-v4-badge--platform,
.gk-v4-badge,
.gk-v4-card__tags span {
    min-height: 30px;
    font-size: 13px;
    line-height: 1.35;
}


:is(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) .gk-v4-card .gk-v4-badge--platform .gk-v4-badge__label {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
}


.gk-v4-card__meta,
.gk-v4-toolbar__meta span {
    font-size: 15px;
    line-height: 1.45;
}


:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) :where(a[href], button:not(:disabled):not([aria-disabled="true"])) {
    cursor: pointer;
}


:where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) :is(button:disabled, [aria-disabled="true"]) {
    cursor: not-allowed;
    opacity: .55;
    pointer-events: none;
}


@media (hover: hover) and (pointer: fine) {
    :where(.gk-v4-shell, .gk-v4-compare-page, .gk-choice, .gk-v4-course-single__related) :where(
        .gk-v4-btn--ghost,
        .gk-v4-icon-btn,
        .gk-v4-filter-toggle,
        .gk-v4-favorites-toggle,
        .gk-v4-compare-link,
        .gk-v4-compare-card__action,
        .gk-v4-compare-card__remove,
        .gk-v4-compare-board__nav
    ):hover:not(:disabled):not([aria-disabled="true"]) {
        border-color: #9fdf89;
        color: #0e7a4f;
        background-color: #f4f8f5;
    }}


/* Keep card controls separate and modes inside the matrix corner. */
.gk-v4-card__actions,
.gk-v4-stage2-card__actions {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
}

.gk-v4-card__actions > .gk-v4-selection-form,
.gk-v4-stage2-card__actions > .gk-v4-selection-form {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.gk-v4-card__actions > .gk-v4-selection-form > .gk-v4-icon-btn,
.gk-v4-stage2-card__actions > .gk-v4-selection-form > .gk-v4-icon-btn {
    flex: 0 0 40px;
    width: 40px;
    min-width: 40px;
}

.gk-v4-card__actions > .gk-v4-icon-btn--favorite,
.gk-v4-stage2-card__actions > .gk-v4-icon-btn--favorite {
    grid-column: 2 !important;
    grid-row: 1 !important;
}

.gk-v4-card__actions > .gk-v4-btn,
.gk-v4-stage2-card__actions > .gk-v4-btn {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100%;
    min-height: 44px;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

.gk-v4-card__actions > .gk-v4-selection-form > .gk-v4-compare-adjacent-link,
.gk-v4-stage2-card__actions > .gk-v4-selection-form > .gk-v4-compare-adjacent-link {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.gk-v4-card__actions > [data-selection-compare-status],
.gk-v4-stage2-card__actions > [data-selection-compare-status] {
    grid-column: 1 / -1 !important;
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}


/* T119: tonal hover on the remaining catalog, comparison and course actions. */
@media (hover: hover) and (pointer: fine) {

    .gk-v4-single-main .gk-v4-single-btn--primary:hover,
    .gk-v4-single-main .gk-v4-stage2-card__actions .gk-v4-btn--primary:hover {
        background-color: #62c657;
        border-color: #62c657;
    }


    .gk-v4-single-main .gk-v4-course-single__related .gk-v4-icon-btn:not(.is-active):hover {
        background-color: #f4f8f5;
        border-color: #66bc5b;
        color: #255a3f;
    }


    .gk-v4-single-main .gk-v4-course-single__related .gk-v4-icon-btn.is-active:hover {
        background-color: #ffe5e5;
        border-color: #d90404;
        color: #c60000;
    }}


@media (max-width: 767px) {
    .gk-v4-compare-page .gk-v4-compare-matrix__label--empty .gk-v4-compare-modes noscript .gk-v4-btn {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 0 6px;
        font-size: 12px;
        letter-spacing: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }}
/* Общие публичные controls используют утверждённые значения действительного поиска. */
.gk-choice { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif; color: var(--gk-text); }
:where(.gk-choice) a { color: inherit; text-decoration: none; }
.gk-v4-compare-page { font-size: .93rem; line-height: 1.15; }
.gk-choice :is(button,input,select) { font-family: inherit; }
.gk-choice :is(input[type="number"],input[type="text"],select) { border: 1px solid var(--gk-border-strong); border-radius: 16px; color: var(--gk-text); background: var(--gk-panel); font-size: 14px; line-height: 1.35; }
.gk-choice__panel,.gk-choice__calculator-results { border: 1px solid var(--gk-border); border-radius: var(--gk-radius-lg); background: var(--gk-panel); box-shadow: var(--gk-shadow); }
.gk-choice :is(.gk-choice__submit,.gk-choice__card-actions button) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-transform: none; letter-spacing: normal; padding: 0 18px; border: 1px solid var(--gk-accent); border-radius: var(--gk-radius-sm); background: var(--gk-accent); color: #10351d; font-size: 14px; font-weight: 600; line-height: 1.35; cursor: pointer; }
.gk-choice :is(.gk-choice__reset,.gk-choice__pagination a) { padding: 10px 18px; border: 1px solid var(--gk-border-strong); border-radius: var(--gk-radius-sm); background: var(--gk-panel); color: var(--gk-text); font-size: 14px; line-height: 1.35; }

.gk-choice :focus-visible { outline: 2px solid #f0b400; outline-offset: 2px; }
.gk-choice__card-context { padding: 0 20px 20px; overflow-wrap: anywhere; }
.gk-choice__card-context a { display: inline-block; min-height: 44px; padding-block: 10px; }
.gk-choice__card-context-links { display: flex; flex-wrap: wrap; gap: 12px; }
@media (hover:hover) and (pointer:fine) {
 .gk-choice :is(.gk-choice__submit,.gk-choice__card-actions button):hover:not(:disabled) { background: var(--gk-accent-hover); border-color: var(--gk-accent-hover); }
 .gk-choice :is(.gk-choice__reset,.gk-choice__pagination a):hover { background: var(--gk-accent-soft); border-color: var(--gk-accent-border); }
}

/* Геометрия общего full component внутри существующего горизонтального related rail. */
.gk-v4-stage2-section__track > .gk-v4-card { flex: 0 0 320px; width: 320px; min-width: 0; }
@media(max-width:767px) { .gk-v4-stage2-section__track > .gk-v4-card { flex-basis: min(320px, calc(100vw - 40px)); width: min(320px, calc(100vw - 40px)); } }

/* Native одобренное тело после каталога; таблица прокручивается отдельно. */
.gk-growth-selection{width:100%;min-width:0;max-width:100%;margin-top:40px;color:#173c29;font-size:16px;line-height:1.65;overflow-wrap:break-word}
.gk-growth-selection h2{font-size:28px;line-height:1.25;margin:0 0 20px;color:#173c29}
.gk-growth-selection h3{font-size:22px;line-height:1.35;margin:28px 0 14px;color:#173c29}
.gk-growth-selection p{margin:0 0 16px}
.gk-growth-selection a{color:#255a3f;text-decoration:underline;text-underline-offset:3px}
.gk-growth-selection a:focus-visible,.gk-growth-selection .gk-growth-table-scroll:focus-visible{outline:2px solid #f5bf32;outline-offset:3px}
.gk-growth-selection .gk-growth-table-scroll{display:block;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;margin:20px 0;border:1px solid #c8dbc9;border-radius:10px}
.gk-growth-selection table{width:100%;min-width:1240px;border-collapse:collapse;font-size:14px;line-height:1.5}
.gk-growth-selection th,.gk-growth-selection td{min-width:120px;max-width:250px;padding:12px 14px;vertical-align:top;text-align:left;border:1px solid #c8dbc9}
.gk-growth-selection th{background:#eff7ed;font-weight:600}
.gk-growth-selection th:first-child,.gk-growth-selection td:first-child{min-width:190px}
@media(max-width:600px){.gk-growth-selection{margin-top:28px;box-sizing:border-box;padding-right:calc(48px + max(16px, env(safe-area-inset-right)))}.gk-growth-selection h2{font-size:24px}.gk-growth-selection h3{font-size:20px}}
