.cms-carousel {
    position: relative;
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    background: #111;
}
.cms-carousel .swiper-wrapper { align-items: stretch; }
.cms-carousel .swiper-slide {
    min-height: 420px;
    height: auto;
}
.cms-carousel__intro {
    color: #171717;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cms-carousel__intro-inner {
    width: min(720px, 84%);
    padding: 52px 24px;
    text-align: center;
}
.cms-carousel__intro h2 { margin: 0 0 18px; color: #171717; }
.cms-carousel__intro p { color: #444; font-size: 1.1rem; white-space: pre-line; }
.cms-carousel__button {
    display: inline-block;
    margin-top: 18px;
    padding: 11px 18px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    background: #1f634c;
}
.cms-carousel__image { position: relative; background: #111; }
.cms-carousel__image > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.cms-carousel__caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 46px 28px 24px;
    color: white;
    background: linear-gradient(transparent, rgba(0, 0, 0, .82));
}
.cms-carousel__caption h3, .cms-carousel__caption p { margin: 4px 0; color: white; }
.cms-carousel__cover-link { position: absolute; inset: 0; z-index: 3; }
.cms-carousel__prev, .cms-carousel__next {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 44px;
    height: 44px;
    color: white;
    font-size: 32px;
    line-height: 1;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    transform: translateY(-50%);
    cursor: pointer;
}
.cms-carousel__prev { left: 14px; }
.cms-carousel__next { right: 14px; }
.cms-carousel__pagination {
    position: absolute;
    bottom: 15px;
    left: 0;
    z-index: 5;
    width: 100%;
    text-align: center;
}
.cms-carousel__pagination .swiper-pagination-bullet { margin: 0 5px; background: white; }

.deos-feature-gallery {
    position: relative;
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
}
.deos-feature-gallery__carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.deos-feature-gallery__slide {
    min-height: 540px;
    height: auto;
}
.deos-feature-gallery__first,
.deos-feature-gallery .desc-img {
    min-height: 540px;
}
.deos-feature-gallery .desc-img.white-bg {
    background: #fff;
}
.deos-feature-gallery .desc-img .w-text {
    min-height: 540px;
    display: flex;
    align-items: center;
}
.deos-feature-gallery .desc-img .title-desc {
    width: 100%;
    padding: 44px 52px;
}
.deos-feature-gallery .desc-img .title-desc h2 {
    margin-bottom: 26px;
    font-size: clamp(38px, 4.2vw, 68px);
    line-height: .95;
}
.deos-feature-gallery .desc-img .title-desc p {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(18px, 1.55vw, 25px);
    line-height: 1.55;
}
.deos-feature-gallery .desc-img .w-img,
.deos-feature-gallery .desc-img .w-img .img {
    min-height: 540px;
}
.deos-feature-gallery__media .swiper-wrapper,
.deos-feature-gallery__media .swiper-slide,
.deos-feature-gallery__media .img {
    height: 100%;
    min-height: 540px;
}
.deos-feature-gallery__photo {
    position: relative;
    background: #111;
}
.deos-feature-gallery__caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 72px 34px 28px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, .84));
}
.deos-feature-gallery__caption h3,
.deos-feature-gallery__caption p {
    margin: 5px 0;
    color: #fff;
}
.deos-feature-gallery__caption h3 {
    font-size: clamp(30px, 3vw, 52px);
}
.deos-feature-gallery__caption p {
    font-size: clamp(16px, 1.35vw, 22px);
}
.deos-feature-gallery__prev,
.deos-feature-gallery__next {
    position: absolute;
    top: 50%;
    z-index: 8;
    width: 54px;
    height: 54px;
    color: #fff;
    font-size: 46px;
    line-height: 44px;
    border: 2px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    transform: translateY(-50%);
    cursor: pointer;
}
.deos-feature-gallery__prev:hover,
.deos-feature-gallery__next:hover {
    background: rgba(0, 0, 0, .82);
}
.deos-feature-gallery__prev { left: 18px; }
.deos-feature-gallery__next { right: 18px; }
.deos-feature-gallery__pagination {
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    z-index: 7;
    text-align: center;
}
.deos-feature-gallery__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #fff;
    opacity: .65;
}
.deos-feature-gallery__pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #d9b61c;
}

.events-header-instagram {
    width: min(1080px, calc(100vw - 72px));
    max-height: 46vh;
    margin: 28px auto 0;
    overflow: auto;
    padding: 14px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}

body[data-cms-page="events"] [data-section="home"] header.title {
    display: none;
}

body[data-cms-page="events"] .events-instagram-stack[hidden] {
    display: none !important;
}

body[data-cms-page="events"] .events-native-feed-is-hidden,
body[data-cms-page="events"] .native-instagram-feed {
    display: none !important;
}
.events-header-instagram .embedsocial-hashtag {
    min-height: 260px;
}

@media (max-width: 600px) {
    .events-header-instagram {
        width: calc(100vw - 28px);
        max-height: 42vh;
        margin-top: 18px;
        padding: 10px;
    }
    .events-header-instagram .embedsocial-hashtag {
        min-height: 220px;
    }
}
.events-instagram-stack {
    width: min(1180px, calc(100% - 40px));
    margin: 46px auto 0;
}
.events-instagram-embed {
    margin-bottom: 30px;
    padding: 18px;
    background: rgba(255, 255, 255, .96);
}
.native-instagram-feed {
    padding: 38px;
    color: #111;
    background: #fff;
}
.native-instagram-feed__head {
    margin: 0 auto 28px;
    max-width: 760px;
    text-align: center;
}
.native-instagram-feed__head h2 {
    margin: 8px 0 10px;
    font-size: clamp(38px, 4vw, 64px);
    letter-spacing: .12em;
    text-transform: uppercase;
}
.native-instagram-feed__head p {
    margin: 0;
    font-size: clamp(15px, 1.3vw, 19px);
}
.native-instagram-feed__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.native-instagram-card {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    color: #fff;
    background: #111;
}
.native-instagram-card img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    transition: transform .35s ease;
}
.native-instagram-card:hover img {
    transform: scale(1.04);
}
.native-instagram-card__caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 62px 18px 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .84));
}
.native-instagram-card__caption p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.native-instagram-card__caption span {
    display: block;
    margin-top: 8px;
    color: #d9b61c;
    font-weight: 700;
}
.native-instagram-feed__empty {
    grid-column: 1 / -1;
    padding: 32px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, .12);
}

@media (max-width: 600px) {
    .cms-carousel, .cms-carousel .swiper-slide, .cms-carousel__image > img { min-height: 340px; }
    .cms-carousel__prev, .cms-carousel__next { width: 38px; height: 38px; }
    .deos-feature-gallery {
        max-width: calc(100% - 24px);
    }
    .deos-feature-gallery__slide,
    .deos-feature-gallery__first,
    .deos-feature-gallery .desc-img,
    .deos-feature-gallery .desc-img .w-text,
    .deos-feature-gallery .desc-img .w-img,
    .deos-feature-gallery .desc-img .w-img .img {
        min-height: 0;
    }
    .deos-feature-gallery .desc-img {
        display: flex;
        flex-direction: column;
    }
    .deos-feature-gallery .desc-img .w-text {
        order: 1;
    }
    .deos-feature-gallery .desc-img .w-img {
        order: 2;
        min-height: 320px;
    }
    .deos-feature-gallery .desc-img .w-img .img {
        min-height: 320px;
    }
    .deos-feature-gallery .desc-img .title-desc {
        padding: 34px 22px;
    }
    .deos-feature-gallery .desc-img .title-desc h2 {
        font-size: 36px;
    }
    .deos-feature-gallery .desc-img .title-desc p {
        font-size: 16px;
        line-height: 1.45;
    }
    .deos-feature-gallery__media .swiper-wrapper,
    .deos-feature-gallery__media .swiper-slide,
    .deos-feature-gallery__media .img {
        min-height: 320px;
    }
    .deos-feature-gallery__prev,
    .deos-feature-gallery__next {
        width: 42px;
        height: 42px;
        font-size: 34px;
        line-height: 32px;
    }
    .deos-feature-gallery__prev { left: 10px; }
    .deos-feature-gallery__next { right: 10px; }
    .events-instagram-stack {
        width: calc(100% - 24px);
    }
    .native-instagram-feed {
        padding: 26px 16px;
    }
    .native-instagram-feed__grid {
        grid-template-columns: 1fr;
    }
    .native-instagram-card,
    .native-instagram-card img {
        min-height: 320px;
    }
}
