body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption.dp-tour-hero-gallery-active {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption.dp-tour-hero-gallery-active::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(34, 34, 34, 0.12), rgba(34, 34, 34, 0));
}

body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery {
    position: absolute;
    inset: 0;
    z-index: 1;
}

body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery__track,
body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery__slide {
    position: absolute;
    inset: 0;
}

body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery__slide {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 320ms ease;
}

body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery__slide.is-active {
    opacity: 1;
}

body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .single_tour_header_content {
    position: relative;
    z-index: 3;
}

body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery__button {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(34, 34, 34, 0.62);
    color: #FFFFFF;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 160ms ease, transform 160ms ease;
}

body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery__button:hover,
body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery__button:focus-visible {
    background: #222222;
}

body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery__button:active {
    transform: translateY(-50%) scale(0.96);
}

body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery__button--previous {
    left: 24px;
}

body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery__button--next {
    right: 24px;
}

body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery__button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery__status {
    position: absolute;
    right: 24px;
    bottom: 20px;
    z-index: 4;
    min-width: 58px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(34, 34, 34, 0.7);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

@media (max-width: 767px) {
    body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery__button {
        width: 40px;
        height: 40px;
    }

    body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery__button--previous {
        left: 12px;
    }

    body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery__button--next {
        right: 12px;
    }

    body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery__status {
        right: 12px;
        bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery__slide,
    body.single-tour:is(.postid-15317, .postid-15322, .postid-15319, .postid-15321) #page_caption .dp-tour-hero-gallery__button {
        transition: none;
    }
}
