.banner {
    width: calc(var(--width) - 60px);
    margin: 30px auto;
    overflow: hidden;
    background-color: #f0f0f0;
    --swiper-navigation-size: 30px;
    --swiper-theme-color: #4d4d4d;
}

.banner h2 {
    border-bottom: 3px solid #242424;
    text-transform: uppercase;
    font-size: 22px;
    padding: 15px 20px;
    text-align: center;
    margin-bottom: 10px;
    color: #4d4d4d;
    font-family: 'Courier New', Courier, monospace;
}

.swiper-wrapper {
    position: relative;
}

.swiper-slide {
    display: flex;
    gap: 3px;
}

.swiper-button-prev,
.swiper-button-next {
    width: 50px !important;
    height: 100% !important;
    margin-top: 0 !important;
    top: 0 !important;
    background-color: #f5f5f5;
    opacity: .25;
    transition: opacity .2s;
}

.swiper-button-prev {
    left: 0 !important;
}

.swiper-button-next {
    right: 0 !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    opacity: .7;
}

.swiper-slide a {
    position: relative;
}

.swiper-slide a .img-box::before {
    padding-top: 100%;
}

.swiper-slide a h3 {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, .5);
    padding: 10px 6px;
    text-align: center;
    color: #fff;
    font-weight: 550;
    font-family: serif;
    text-transform: uppercase;
}

@media screen and (min-width:770px) {
    .swiper-slide a {
        width: calc((100% - 9px) / 4);
    }
}

@media screen and (max-width:769px) {
    .banner {
        width: 100%;
    }

    .swiper-slide {
        flex-wrap: wrap;
    }

    .swiper-slide a {
        width: calc((100% - 3px) / 2);
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 30px !important;
    }

    .swiper-slide a h3 {
        font-size: 17px;
    }
}