.games {
    background-color: var(--blue);
    padding-block: 6.25rem;
    color: white;
}

.games__content-wrapper {
    display: flex;
    align-items: center;
}

.games__text-wrapper {
    position: relative;
    background-color: var(--blue);
    height: 27rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 48px;
    max-width: 18.5rem;
    width: 100%;
    box-sizing: content-box;
    flex-shrink: 0;
}

.games__title {
    margin-bottom: 2.25rem;
}

.games__text-wrapper::after { 
    content: ""; 
    position: absolute; 
    top: 0; 
    bottom: 0; 
    left: -9999px; 
    width: 9999px; 
    background: var(--blue); 
 }

.games-swiper {
    position: relative;
}

.games__slider-wrapper {
    width: 100%;
    min-width: 0;
}

.game-slide {
    height: 100% !important;
    width: auto !important;
    border-radius: 12px;
    overflow: hidden;
}

.game-slide-inner {
    height: 24rem;
    width: 17.5rem;
    position: relative;
}

.games-slide-background-image {
    background-size: cover !important;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.game-slide:hover .games-slide-background-image {
    scale: 1.03;
}

.game-slide-text-wrapper {
    padding: 2rem;
    background: rgba(19, 27, 10, 0.80);
    backdrop-filter: blur(9.899999618530273px);
    position: absolute;
    height: 50%;
    bottom: 0;
    width: 100%;
}

.game-slide-title {
    margin-bottom: 1rem;
}

.games-swiper-navigation-button-wrapper {
    position: absolute;
    bottom: -2.75rem;
    left: 0;
    display: flex;
    gap: 16px;
    pointer-events: all;
    z-index: 10;

    img {
        height: 1.75rem;
        cursor: pointer;
        transition: all 0.2s;
    }

    img:hover {
        filter: brightness(0.92);
    }
}

.games-swiper-button-prev, .games-swiper-button-next {
    background-color: transparent;
    border: none;
    padding: 0;
}

@media (max-width: 806px) {
    .games__content-wrapper {
        display: block;
    }
    
    .games__text-wrapper {
        height: auto; 
        display: block;
        margin-bottom: 1rem;
        max-width: none;
    }

    .games__title {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 532px) {
    .games {
        padding-bottom: calc(6.25rem + 2rem);
    }    
}