.hero__subtitle-wrapper:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backdrop-filter: blur(0.2rem);
    backdrop-filter: blur(0.2rem);
    z-index: -1;
}

.section-gallery__photo img {
    width: 100%;
    height: 100%;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;

}

.grid-layout .grid-item:last-child {
    padding-bottom: 3.75rem;
}

.grid-layout .grid-item__info {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.events__section-gallery.section-gallery._v1 .section-gallery__photo {
    width: 100%;
}

.events__section-header._column-header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.events__section-gallery._v1 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.events__wrapper:last-child {
    padding-top: 1.75rem;
    padding-bottom: 7rem;
}

.events__section._bordered {
    padding: 3.75rem;
    border: 1px solid #244c60;
}

.events__wrapper._p-3 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.events__menu-link {
    color: #244c60 !important;
    border: 1px solid #244c60 !important;
}

.events__menu-link:hover {
    color: #244c60;
}

.gallery {
    margin-top: 2.75rem;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 2fr 2.75rem 1fr;
    grid-template-columns: 2fr 1fr;
    gap: 2.75rem;

}

.gallery__item {
    overflow: hidden;
    position: relative;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
}

.gallery__item--large {
    -ms-grid-row-span: 2;
    grid-row: span 2;
}

.gallery._v2 {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 2.75rem 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 2.75rem;
}

.gallery._v2 .gallery__item {
    position: relative;
    max-height: 460px;
    height: 100%;
}

.gallery._v2 .gallery__item img {
    width: 100%;
    height: 100%;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

@media (min-width: 992px) {
    .gallery__item img {
        -webkit-transition-duration: 1s;
        -o-transition-duration: 1s;
        transition-duration: 1s;
    }

    .gallery__item:hover img {
        scale: 1.1;
    }
}

@media (max-width: 992px) {

    .gallery,
    .gallery._v2 {
        gap: 5px;
    }

    .grid-layout .grid-item,
    .grid-layout .grid-item:last-child {
        padding: 1.75rem 0 1.75rem !important;
    }

    .events__section {
        padding: 2.75rem 0;
    }

    .events__section._bordered {
        padding: 1.75rem 1.25rem;
    }
}

@media (max-width: 768px) {

    .events__section-buttons {
        width: 100%;
    }

    .events__section-buttons .events__section-inner {
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 30px;
    }

    .events__section-buttons .events__section-inner .button {
        padding: 15px 30px !important;
        width: 100%;
        font-size: 16px;
    }

}

.header {
    z-index: 9999;
}

.hero__title._title {
    text-shadow: 1px 1px black;
}

.section-gallery__photo img {
    aspect-ratio: auto;
    height: 100%;
    max-height: 320px;
}

.navbar .mobile-menu__list {
    font-size: 1.2rem;
}

.sf-top-block {
    display: none;
}

.events__section-gallery._v3 img {
    aspect-ratio: auto;
    height: 100%;
    max-height: 320px;
}

.footer__tel {
    font-size: 16px !important;
    margin-top: 1rem;
    margin-bottom: 0.1rem !important;
}

.footer__tel:first-child {
    margin-top: 1.3rem;
}

.modal__form {
    max-width: 460px !important;
}

.modal__form input[type="checkbox"] {
    width: auto !important;
    margin-right: 4px !important;
}

@media (max-width: 1366px) {
    ._title {
        font-size: clamp(34px, 6vw, 48px);
    }

    .snow-box {
        display: none;
    }
}

@media (max-width: 768px) {
    .events__section-gallery {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .modal__form {
        max-width: 90% !important;
    }
}

@media (max-width: 740px) {
    .smp_widget.smp_reviews.smp_inject .smartpoint_review-detail_popup__content {
        max-height: calc(100% - 180px) !important;
    }
}

.grid-slider__slide img,
.swiper-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}