/* ----------------- GALLERY WRAPPER ----------------- */
.home-gallery-wrapper {
    width: 100%;
    height: auto;
    background-color: #fff;
}

/* Title */
.home-gallery-title {
    width: 94%;
    max-width: 1256px;
    height: auto;
    margin: 0 auto;
    padding: 70px 0 36px 0;
}

.home-gallery-title img.home-gallery-title-icon {
    width: 66px;
    height: auto;
    margin: 0 32px 0 0;
}

.home-gallery-title h2.home-gallery-h2-title {
    color: var(--dark-color);
    font-size: 48px;
    font-weight: 500;
}

/* Responsive title */
@media (max-width: 680px) {
    .home-gallery-title {
        padding: 32px 0 18px 0;
    }
    .home-gallery-title img.home-gallery-title-icon {
        width: 40px;
        margin: 0 18px 0 0;
    }
    .home-gallery-title h2.home-gallery-h2-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .home-gallery-title {
        padding: 36px 0;
    }
    .home-gallery-title img.home-gallery-title-icon {
        width: 36px;
    }
    .home-gallery-title h2.home-gallery-h2-title {
        font-size: 30px;
    }
}

/* ----------------- GALLERY SWIPER ----------------- */
.gallery-swiper-container {
    width: 100%;
    max-width: 1256px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* IMPORTANT: това прави “четвъртата” да се вижда отчасти */
.gallerySwiper {
    overflow: visible;
}

/* за да има леко “peek” отдясно без да чупи layout-а */
.gallery-swiper-container .swiper-wrapper {
    align-items: stretch;
}

/* Slide */
.gallery-slide {
    height: auto;
}

/* Card with fixed image size on large screens */
.gallery-card {
    display: block;
    width: 397px;
    height: 273px;
    border-radius: 8px;
    overflow: hidden;
}

/* Image */
.gallery-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

/* Make it fluid on smaller screens */
@media (max-width: 680px) {
    .gallery-card {
        width: 100%;
        height: auto;
        aspect-ratio: 397 / 273;
    }
}

/* Bottom bar */
.gallery-bottom-lent {
    width: 100%;
    height: 56px;
    background-color: var(--dark-color);
}

/* (по желание) скрий default Swiper arrows styles if you have them globally */
.gallery-swiper-button-next::after,
.gallery-swiper-button-prev::after {
    display: none;
}

/* ----------- GALLERY BUTTON ----------- */

.gallery-button-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 32px 0 0 0; /* разстояние над бутона */
}

.gallery-view-btn {
    width: 114px;
    height: 30px;
    background-color: #796210;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 4px;
    transition: 0.3s ease;
}

.gallery-view-btn:hover {
    background-color: #8a7218;
}
