.tour-hero {
    margin-top: 0.35rem;
}

.tour-hero__stage {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: 0;
    background:
        radial-gradient(90% 80% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 42%),
        linear-gradient(155deg, #2a2340 0%, #5c4d78 46%, #8475a2 100%);
    box-shadow: 0 0 10px 0 rgba(51, 51, 51, 0.1);
}

.tour-hero__photo,
.tour-hero__aside img {
    color: transparent;
}

.tour-hero__main {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 100%;
    min-width: 0;
    overflow: hidden;
}

.tour-hero__photo--primary {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.tour-hero__main .tg-video--fill {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: #1c1726;
}

.tour-hero__main .tg-video--fill .tg-video__poster,
.tour-hero__main .tg-video--fill .tg-video__media {
    object-fit: cover;
    object-position: 50% 50%;
}

.tour-hero__main .tg-video.tg-video--fill[data-autoplay="1"][data-state="playing"] .tg-video__play,
.tour-hero__main .tg-video.tg-video--fill[data-autoplay="1"][data-state="paused"] .tg-video__play {
    top: 0.7rem;
    right: 0.7rem;
    bottom: auto;
    left: auto;
    transform: none;
}

.tour-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to right, rgba(14, 11, 22, 0.28) 0%, rgba(14, 11, 22, 0) 46%),
        linear-gradient(
            to top,
            rgba(14, 11, 22, 0.92) 0%,
            rgba(14, 11, 22, 0.72) 24%,
            rgba(14, 11, 22, 0.28) 52%,
            rgba(14, 11, 22, 0) 74%
        );
}

.tour-hero__rail {
    display: none;
}

.tour-hero__aside {
    position: relative;
    margin: 0;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #2a2340;
}

.tour-hero__aside img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    color: transparent;
}

.tour-hero__caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    margin: 0;
    padding: 1.75rem 0.65rem 0.55rem;
    background: linear-gradient(to top, rgba(14, 11, 22, 0.82) 0%, rgba(14, 11, 22, 0) 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.25;
    opacity: 0;
}

.tour-hero__caption span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tour-hero__stage:has(.tour-hero__aside:hover) .tour-hero__aside img,
.tour-hero__stage:has(.tour-hero__aside:focus-within) .tour-hero__aside img {
    filter: saturate(0.8) brightness(0.78);
}

.tour-hero__aside:hover .tour-hero__caption,
.tour-hero__aside:focus-within .tour-hero__caption,
.tour-hero__stage:has(.tour-hero__aside:hover) .tour-hero__aside:hover img,
.tour-hero__stage:has(.tour-hero__aside:focus-within) .tour-hero__aside:focus-within img {
    filter: none;
}

.tour-hero__aside:hover .tour-hero__caption,
.tour-hero__aside:focus-within .tour-hero__caption {
    opacity: 1;
}

.tour-hero__rating {
    position: absolute;
    z-index: 4;
    top: 0.85rem;
    left: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: calc(100% - 1.7rem);
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(14, 11, 22, 0.55);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.tour-hero__rating-star {
    color: #f6bb60;
}

.tour-hero__rating-count {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
}

.tour-hero__rating-count::before {
    content: "·";
    margin-right: 0.35rem;
    color: rgba(255, 255, 255, 0.55);
}

.tour-hero__copy {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0.75rem 1rem 0.85rem;
    color: #fff;
}

.tour-hero__kicker {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.tour-hero__title {
    margin: 0.2rem 0 0.45rem;
    max-width: 18em;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.12;
    text-wrap: balance;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.tour-hero__facts {
    margin: 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
}

.tour-hero__tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    margin: 0.45rem 0 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.tour-hero__tags::-webkit-scrollbar {
    display: none;
}

.tour-hero__tags > li {
    flex: 0 0 auto;
}

.tour-hero__tag {
    display: inline-block;
    padding: 0.18rem 0.65rem;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
}

.tour-hero__tag:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    text-decoration: none;
}

.tour-hero__explore {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.tour-hero__explore:hover {
    color: #fff;
    text-decoration: underline;
}

.tour-hero__explore i {
    display: inline-block;
}

.tour-hero a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

#tour-itinerary,
#tour-map,
#reviews {
    scroll-margin-top: 5.5rem;
}

@media (max-width: 575.98px) {
    .tour-hero {
        margin-top: 0;
        margin-right: -15px;
        margin-left: -15px;
    }
}

@media (min-width: 576px) {
    .tour-hero__stage {
        height: 260px;
        border-radius: 8px;
    }
}

@media (min-width: 768px) {
    .tour-hero__stage {
        height: 252px;
    }

    .tour-hero__stage.has-rail {
        display: grid;
        gap: 4px;
        --tile: 152px;
        background: #f3f1f6;
    }

    .tour-hero__stage.has-rail-1 {
        grid-template-columns: minmax(0, 1fr) var(--tile);
        grid-template-rows: 1fr;
    }

    .tour-hero__stage.has-rail-2 {
        grid-template-columns: minmax(0, 1fr) var(--tile);
        grid-template-rows: 1fr 1fr;
    }

    .tour-hero__stage.has-rail-3 {
        grid-template-columns: minmax(0, 1fr) var(--tile) var(--tile);
        grid-template-rows: 1fr 1fr;
    }

    .tour-hero__main {
        grid-column: 1;
        grid-row: 1 / -1;
        height: 100%;
    }

    .tour-hero__rail {
        display: contents;
    }

    .has-rail-1 .tour-hero__aside--a {
        grid-column: 2;
        grid-row: 1;
    }

    .has-rail-2 .tour-hero__aside--a {
        grid-column: 2;
        grid-row: 1;
    }

    .has-rail-2 .tour-hero__aside--b {
        grid-column: 2;
        grid-row: 2;
    }

    .has-rail-3 .tour-hero__aside--a {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .has-rail-3 .tour-hero__aside--b {
        grid-column: 3;
        grid-row: 1;
    }

    .has-rail-3 .tour-hero__aside--c {
        grid-column: 3;
        grid-row: 2;
    }

    .tour-hero__tags {
        flex-wrap: wrap;
        overflow-x: visible;
    }

    .tour-hero__copy {
        padding: 0.85rem 1.35rem 0.95rem;
    }

    .tour-hero__kicker {
        font-size: 0.82rem;
    }

    .tour-hero__title {
        margin-bottom: 0.35rem;
        font-size: 2rem;
    }

    .tour-hero__facts {
        font-size: 1.05rem;
    }
}

@media (min-width: 992px) {
    .tour-hero__stage {
        height: 272px;
    }

    .tour-hero__stage.has-rail {
        --tile: 164px;
    }

    .tour-hero__title {
        font-size: 2.35rem;
    }

    .tour-hero__facts,
    .tour-hero__explore {
        font-size: 1.08rem;
    }

    .tour-hero__tag {
        font-size: 0.84rem;
    }
}

@media (min-width: 1200px) {
    .tour-hero__stage {
        height: 288px;
    }

    .tour-hero__stage.has-rail {
        --tile: 176px;
    }

    .tour-hero__title {
        font-size: 2.55rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .tour-hero__copy,
    .tour-hero__rating {
        animation: tour-hero-in 560ms ease both;
    }

    .tour-hero__aside {
        animation: tour-hero-in 640ms ease 80ms both;
    }

    .tour-hero__photo--primary,
    .tour-hero__main .tg-video--fill .tg-video__poster,
    .tour-hero__main .tg-video--fill .tg-video__media,
    .tour-hero__aside img {
        transition: transform 680ms ease, filter 420ms ease;
    }

    .tour-hero__caption {
        transition: opacity 280ms ease;
    }

    .tour-hero__main:hover .tour-hero__photo--primary,
    .tour-hero__main:hover .tg-video--fill .tg-video__poster,
    .tour-hero__main:hover .tg-video--fill .tg-video__media {
        transform: scale(1.045);
    }

    .tour-hero__stage:has(.tour-hero__aside:hover) .tour-hero__aside:hover img,
    .tour-hero__stage:has(.tour-hero__aside:focus-within) .tour-hero__aside:focus-within img {
        transform: scale(1.08);
    }

    .tour-hero__explore i {
        transition: transform 280ms ease;
    }

    .tour-hero__explore:hover i {
        transform: translateY(3px);
    }
}

@keyframes tour-hero-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* Share and save sit on the cover photo, top right, in the same dark pill as the rating on the left. */
.tour-hero__actions {
    position: absolute;
    z-index: 4;
    top: 0.85rem;
    right: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    padding: 0.125rem;
    border-radius: 999px;
    background: rgba(14, 11, 22, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.tour-hero__actions .main-share-btn {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.1rem;
}

/* Save is a web component with a bare 26px heart; it is given the same 40px circle as share, with a matching glyph. */
.tour-hero__actions collection-button {
    width: 2.5rem;
    height: 2.5rem;
}

.tour-hero__actions .collection-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: background-color 0.15s ease;
}

.tour-hero__actions .collection-icon-btn:hover,
.tour-hero__actions .collection-icon-btn:focus-visible,
.tour-hero__actions .main-share-btn--on-dark:hover,
.tour-hero__actions .main-share-btn--on-dark:focus-visible {
    background: rgba(255, 255, 255, 0.14);
}

.tour-hero__actions .collection-icon-btn i {
    font-size: 1.25rem !important;
    text-shadow: none;
}
