.foundation-cases {
    background-color: var(--white);
    overflow-x: hidden;
}

.foundation-cases__wrapper {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 2.5vw, 48px);
}

.foundation-cases__header {
    text-align: center;
    margin-bottom: clamp(32px, 5vw, 96px);
}

.foundation-cases__title {
    font-family: PP Neue Montreal, sans-serif;
    font-weight: 500;
    font-size: clamp(32px, 2.92vw, 56px);
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--gray-100);
}

.foundation-cases__slider.swiper {
    margin-right: calc(50% - 50vw);
    width: auto;
    overflow: hidden;
}

.foundation-cases__slider .swiper-wrapper {
    height: auto !important;
    align-items: stretch !important;
}

.foundation-cases__slider .swiper-slide {
    width: clamp(280px, 26.66vw, 468px);
    height: auto !important;
    display: flex;
}

.foundation-cases-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
}

.foundation-cases-card__image-wrapper {
    width: 100%;
    background-color: var(--gray-10);
    overflow: hidden;
    margin-bottom: clamp(12px, 1.25vw, 24px);
}

.foundation-cases-card__image {
    display: block;
    width: 100%;
    height: auto;
}

.foundation-cases-card__info {
    display: flex;
    flex-direction: column-reverse;
    gap: clamp(12px, 0.83vw, 16px);
}

.foundation-cases-card__title {
    font-family: PP Neue Montreal;
    font-weight: 500;
    font-size: clamp(18px, 1.25vw, 24px);
    line-height: 130%;
    color: var(--gray-100);
    margin: 0;
}

.foundation-cases-card__date {
    font-family: PP Neue Montreal;
    font-weight: 400;
    font-size: clamp(14px, 0.83vw, 16px);
    line-height: 140%;
    color: var(--gray-60);
}

.foundation-cases__navigation {
    display: flex;
    gap: 24px;
    margin-top: clamp(24px, 3.33vw, 64px);
    align-items: center;
    justify-content: flex-start;
}

.foundation-cases__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    color: var(--gray-100);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.foundation-cases__arrow:hover {
    opacity: 0.5;
}

@media (max-width: 1024px) {
    .foundation-cases__slider .swiper-slide {
        width: clamp(240px, 40.5vw, 360px);
    }
}

@media (max-width: 576px) {
    .foundation-cases__slider .swiper-slide {
        width: calc(100vw - 2 * clamp(20px, 8.3vw, 160px));
    }
}
