.home-promotions {
    padding: 64px 0;
    overflow: hidden;
    background: #fff;
}

.home-promotions__title {
    margin: 0 0 36px;
    color: var(--color-primary);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    text-align: center;
}

.home-promotions__stage {
    position: relative;
    width: min(1180px, calc(100% - 144px));
    margin: 0 auto;
}

.home-promotions__swiper {
    width: 100%;
    padding: 0 0 70px;
    overflow: hidden;
}

.home-promotions__swiper .swiper-wrapper {
    align-items: stretch;
}

.home-promotions__slide {
    display: flex;
    height: auto;
    align-items: stretch;
}

.home-promotion {
    display: flex;
    width: 100%;
    height: 100%;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: var(--color-surface);
}

.home-promotion__image {
    display: block;
    aspect-ratio: 38 / 25;
    overflow: hidden;
    background: #e5edf8;
}

.home-promotion__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.home-promotion__image:hover img {
    transform: scale(1.025);
}

.home-promotion__body {
    display: flex;
    padding: 26px 28px 28px;
    flex: 1 1 auto;
    flex-direction: column;
}

.home-promotion__name {
    margin: 0 0 14px;
    color: var(--color-primary);
    font-size: 24px;
    line-height: 1.2;
}

.home-promotion__name a {
    color: inherit;
}

.home-promotion__description {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 24px;
    color: #344158;
    font-size: 16px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.home-promotion__description > :first-child {
    margin-top: 0;
}

.home-promotion__description > :last-child {
    margin-bottom: 0;
}

.home-promotion__button,
.home-promotions__all {
    display: inline-flex;
    min-height: 46px;
    padding: 10px 22px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-accent);
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.home-promotion__button {
    width: 100%;
    margin-top: auto;
    color: var(--color-accent);
    background: transparent;
}

.home-promotions__all {
    min-width: 230px;
    color: #fff;
    background: var(--color-accent);
}

.home-promotion__button:hover,
.home-promotion__button:focus-visible,
.home-promotions__all:hover,
.home-promotions__all:focus-visible {
    color: #fff;
    border-color: var(--color-primary);
    background: var(--color-primary);
}

.home-promotions__footer {
    position: absolute;
    right: 0;
    bottom: 25px;
    left: 0;
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
}

.home-promotions__pagination {
    position: static;
    width: auto !important;
    transform: none !important;
}

.home-promotions__autoplay {
    position: absolute;
    right: 20px;
}

.home-promotions__controls {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: -64px;
    width: calc(100% + 128px);
    max-width: none;
    transform: translateY(-50%);
}

.home-promotions__all-wrap {
    display: flex;
    margin-top: 28px;
    justify-content: center;
}

.home-promotions.is-locked .home-promotions__footer,
.home-promotions.is-locked .home-promotions__controls {
    display: none;
}

@media (max-width: 991px) {
    .home-promotions {
        padding: 48px 0;
    }

    .home-promotions__stage {
        width: calc(100% - 30px);
    }

    .home-promotions__controls {
        display: none;
    }
}

@media (max-width: 767px) {
    .home-promotions__title {
        margin-bottom: 24px;
        font-size: 32px;
    }

    .home-promotion__body {
        padding: 24px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-promotion__image img,
    .home-promotion__button,
    .home-promotions__all {
        transition: none;
    }
}
