.xd-related-articles {
    width: 100%;
}

.xd-related-articles__inner {
    max-width: 1120px;
}

.xd-related-articles__heading {
    margin: 0 0 18px;
    color: #1f1b24;
    font-size: clamp(2rem, 2.7vw, 3rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.xd-related-articles__list {
    margin: 0;
    padding-left: 26px;
    color: #1f1b24;
}

.xd-related-articles__item {
    margin: 0 0 12px;
    font-size: clamp(1.15rem, 1.6vw, 1.9rem);
    line-height: 1.32;
    font-weight: 400;
}

.xd-related-articles__item:last-child {
    margin-bottom: 0;
}

.xd-related-articles__link {
    color: #5c2d91;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    text-decoration-color: currentColor;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.xd-related-articles__link:hover,
.xd-related-articles__link:focus-visible {
    color: #4a2177;
    text-decoration-color: transparent;
}

.xd-related-articles__link--static {
    text-decoration: none;
}

.xd-related-articles__description {
    display: inline;
    color: #1f1b24;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .xd-related-articles__heading {
        margin-bottom: 14px;
        font-size: clamp(1.75rem, 8.5vw, 2.5rem);
    }

    .xd-related-articles__list {
        padding-left: 22px;
    }

    .xd-related-articles__item {
        margin-bottom: 10px;
        font-size: clamp(1rem, 4.9vw, 1.35rem);
        line-height: 1.4;
    }
}
