.main_page_text {
    max-width: 530px;
    margin: 200px auto;
}

.main_page_text h2,
.main_page_text h3,
.main_page_text h4,
.main_page_text h5,
.main_page_text h6 {
    color: var(--text-dark);
    font-family: var(--font);
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    margin: 60px 0 30px 0;
}

.main_page_text p {
    color: var(--text-dark);
    font-size: 16px;
    font-style: normal;
    font-weight: 200;
    line-height: 140%;
    margin-bottom: 25px;
}


.gallery {
    position: relative;
    margin: 0 -60px 0 -30px;
}
.gallery.main_page {
    margin-bottom: 340px;
}
.gallery-swiper .swiper-slide {
    flex-shrink: 0;
    overflow: hidden;
}
.gallery-swiper .swiper-slide img {
    display: block;
}
.gallery-swiper .swiper-slide-prev,
.gallery-swiper .swiper-slide-next {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
.gallery-swiper .swiper-slide-active {
    opacity: 1;
    transition: opacity 0.3s ease;
}


.gallery.main_page .swiper-pagination {
    display: none;
}
.gallery_swiper_btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 125px;
}
.gallery_swiper_btns .swiper-button-next::after,
.gallery_swiper_btns .swiper-button-prev::after {
    display: none;
}
.gallery_swiper_btns .swiper-button-prev {
    margin-left: 20px !important;
    transform: scaleX(-1);
}

.gallery_swiper_btns .swiper-button-next svg, .gallery_swiper_btns .swiper-button-prev svg {
    min-width: 60px;
}
.gallery_swiper_btns .swiper-button-prev svg path, .gallery_swiper_btns .swiper-button-next svg path {
    fill: var(--text-dark);
    transition: .3s all ease-in-out;
}
.gallery_swiper_btns .swiper-button-prev svg rect, .gallery_swiper_btns .swiper-button-next svg rect {
    stroke: var(--text-dark);
    transition: .3s all ease-in-out;
}
.gallery_swiper_btns .swiper-button-prev svg rect:nth-child(2), .gallery_swiper_btns .swiper-button-next svg rect:nth-child(2) {
    fill: var(--text-dark);
    transition: .3s all ease-in-out;
}
.gallery_swiper_btns .swiper-button-prev:hover svg,
.gallery_swiper_btns .swiper-button-next:hover svg {
    fill: var(--text-dark);
    transition: .3s all ease-in-out;
}
.gallery_swiper_btns .swiper-button-prev:hover svg path, 
.gallery_swiper_btns .swiper-button-prev:hover svg rect:nth-child(2), 
.gallery_swiper_btns .swiper-button-next:hover svg path, 
.gallery_swiper_btns .swiper-button-next:hover svg rect:nth-child(2) {
    fill: #CCC4C0;
    transition: .3s all ease-in-out;
}
.gallery_swiper_btns .swiper-button-prev:hover svg rect,
.gallery_swiper_btns .swiper-button-next:hover svg rect {
    stroke: #CCC4C0;
    transition: .3s all ease-in-out;
}




@media (max-width: 992px) {

    /* ABOUT US MOBILE */
    .page-id-319 .big_image_hero img,
    .page-id-421 .big_image_hero img {
        max-height: 100%;
        height: 510px;
    }

    /* LOCATION MOBILE */
    .page-id-451 .booking,
    .page-id-48 .booking {
        padding-bottom: 0;
    }



    .main_page_text {
        max-width: 100%;
        margin: 130px auto;
    }

    .main_page_text h2,
    .main_page_text h3,
    .main_page_text h4,
    .main_page_text h5,
    .main_page_text h6 {
        margin: 48px 0 24px 0;
    }

    .gallery-swiper img {
        border-radius: 5px;
        height: 600px;
    }

    /* .gallery.main_page .swiper-pagination {
        display: flex;
        justify-content: end;
        align-items: center;
        gap: 0px;
        flex-wrap: nowrap;
        bottom: -15px;
    } */

        .gallery.main_page .swiper-pagination {
            display: flex;
            justify-content: center;
            gap: 0px;
            overflow: hidden;
            width: 140px;
            margin: 0 auto;
            bottom: -6px;
            right: -25px;
            left: auto;
        }

        .gallery.main_page .swiper-pagination .dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #ccc;
            cursor: pointer;
            flex: 0 0 auto;
            transition: 0.2s;
        }

        /* .gallery.main_page .swiper-pagination .dot.active {
            background: #000;
            transform: scale(1.2);
        } */
  
    .gallery.main_page {
        /* margin-bottom: 130px; */
        margin-bottom: 55px;
    }

    .gallery_swiper_btns {
        left: 7%;
        margin-top: 35px;
        gap: 16px !important;
        z-index: 10;
    }
    .gallery_swiper_btns .swiper-button-next svg, .gallery_swiper_btns .swiper-button-prev svg {
        min-width: 40px;
    }


    /* ABOUT US PAGE */
    .page-id-319 .booking {
        padding-bottom: 0;
    }

    /* .page-id-319 .gallery.main_page {
        margin-bottom: 170px;
    } */
}

@media (min-width: 769px) and (max-width: 1500px) {
    .gallery {
        margin: 0 -30px 0 -200px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .gallery {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .gallery {
        margin: 0;
    }
}

@media (max-width: 500px) {
    .gallery-swiper img {
        max-height: 285px;
    }
    .gallery_swiper_btns {
        left: 11%;
        margin-top: 0px;
    }
    /* .gallery.main_page .swiper-pagination {
        bottom: -13px;
    } */
}