.landing-body .related-section {
    padding-top: 0;
}

.landing-body .related-heading {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
    gap: 16px;
    margin-bottom: 34px;
}

.landing-body .related-heading h2 {
    grid-column: 1 / 8;
}

.landing-body .related-heading p {
    grid-column: 9 / 13;
    margin-bottom: 4px;
}

.landing-body .related-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.landing-body .related-links a,
.landing-body .related-links a:nth-child(2),
.landing-body .related-links a:nth-child(3),
.landing-body .related-links a:nth-child(4) {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    align-content: center;
    gap: 6px 18px;
    min-height: 138px;
    margin: 0;
    padding: 22px 24px;
    border: 1px solid var(--landing-line);
    border-radius: 16px;
    color: var(--landing-ink);
    background: var(--landing-paper);
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.landing-body .related-links a::after {
    display: none;
}

.landing-body .related-link-meta,
.landing-body .related-links a:nth-child(4) .related-link-meta {
    grid-column: 1;
    color: #77766f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .055em;
    line-height: 1.2;
    text-transform: uppercase;
}

.landing-body .related-links strong {
    grid-column: 1;
    color: inherit;
    font-size: clamp(19px, 1.6vw, 23px);
    font-weight: 680;
    line-height: 1.2;
}

.landing-body .related-link-copy,
.landing-body .related-links a:nth-child(4) .related-link-copy {
    display: -webkit-box;
    grid-column: 1;
    overflow: hidden;
    color: #595953;
    font-size: 13px;
    font-weight: 480;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.landing-body .related-links svg {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.landing-body .related-links a[data-related-group="Учёба"] {
    border-top-color: var(--landing-orange);
}

.landing-body .related-links a[data-related-group="Обучение"] {
    border-top-color: var(--scene-signal);
}

.landing-body .related-links a:focus-visible {
    outline: 3px solid var(--landing-orange);
    outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
    .landing-body .related-links a:hover {
        border-color: var(--landing-ink);
        color: var(--landing-ink);
        background: #fff;
        transform: translateY(-2px);
    }

    .landing-body .related-links a:hover svg {
        transform: translateX(4px);
    }
}

@media (max-width: 767px) {
    .landing-body .related-heading {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 26px;
    }

    .landing-body .related-heading h2,
    .landing-body .related-heading p {
        grid-column: 1;
    }

    .landing-body .related-links {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .landing-body .related-links a,
    .landing-body .related-links a:nth-child(2),
    .landing-body .related-links a:nth-child(3),
    .landing-body .related-links a:nth-child(4) {
        min-height: 116px;
        padding: 18px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-body .related-links a,
    .landing-body .related-links svg {
        transition-duration: 1ms;
    }
}
