.tour-02 {
    --template-image-height-desktop: 316;
    --template-image-height-mobile: 270;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 78px 0 64px;
    background: #dfebc0;
    color: #20251c;
    font-family: var(--font-suit, sans-serif);
}

.tour-02 *, .tour-02 *::before, .tour-02 *::after {
    box-sizing: border-box;
}

.tour-02-heading {
    position: relative;
    width: 78%;
    margin: 0 auto calc(80 * var(--template-space-unit, 1px));
    text-align: center;
}

.tour-02-heading h2 {
    margin: 0;
    font-size: 40px;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
}

.tour-02-heading p {
    margin: 5px 0 0;
    font-size: 16px;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.tour-02-stage {
    position: relative;
}

.tour-02-track {
    position: relative;
    display: flex;
    gap: 2.2vw;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 8px 46px 24px;
    scroll-padding: 46px;
}

.tour-02-track::-webkit-scrollbar {
    display: none;
}

.tour-02-track.is-dragging {
    scroll-snap-type: none;
    cursor: grabbing;
    user-select: none;
}

.tour-02-card {
    flex: 0 0 21.8vw;
    position: relative;
    height: var(--template-image-height, 316px);
    min-width: 0;
    overflow: hidden;
    border-radius: clamp(20px, 2.2vw, 36px);
    background: #c4d0ad;
    box-shadow: 0 9px 18px #3e502a20;
    scroll-snap-align: start;
}

.tour-02-card > a, .tour-02-image {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}

.tour-02-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.tour-02-card a:hover img {
    transform: scale(1.045);
}

.tour-02-card h3 {
    position: absolute;
    z-index: 1;
    inset: 50% 14px auto;
    transform: translateY(-50%);
    margin: 0;
    color: #fff;
    text-align: center;
    font-size: 22px;
    font-weight: 750;
    line-height: 1.4;
    text-shadow: 0 1px 8px #0008;
    overflow-wrap: anywhere;
}

.tour-02-card a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -8px;
}

.tour-02-track:focus-visible {
    outline: 2px solid #3a6025;
    outline-offset: -3px;
}

.tour-02-arrow {
    position: absolute;
    z-index: 2;
    top: calc(50% - 8px);
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 7px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #6c755f;
    cursor: pointer;
    box-shadow: 0 2px 6px #23301515;
}

.tour-02-arrow.prev {
    left: 2.1%;
}

.tour-02-arrow.next {
    right: 2.1%;
}

.tour-02-arrow svg {
    width: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.tour-02-arrow.next svg {
    transform: rotate(180deg);
}

.tour-02-controls {
    height: 30px;
}

.tour-02 button:focus-visible {
    outline: 2px solid #365924;
    outline-offset: 3px;
}

.tour-02 [hidden] {
    display: none;
}

@media (min-width: 481px) and (max-width: 900px) {
    .tour-02-card {
        flex-basis: 28vw;
    }

    .tour-02 {
        --template-image-height-desktop: 390;
        padding: 52px 0 44px;
    }

    .tour-02-track {
        padding-right: 32px;
        padding-left: 32px;
        scroll-padding: 32px;
    }
}

@media (max-width: 480px) {
    .tour-02-heading h2 {
        font-size: clamp(26px, 3vw, 40px);
    }

    .tour-02 {
        padding: 46px 0 40px;
    }

    .tour-02-heading {
        width: calc(100% - 40px);
        margin-bottom: 32px;
    }

    .tour-02-heading p {
        font-size: 13px;
    }

    .tour-02-track {
        gap: 16px;
        padding-right: 20px;
        padding-left: 20px;
        scroll-padding: 20px;
    }

    .tour-02-card {
        flex-basis: 69%;
        border-radius: 28px;
    }

    .tour-02-card h3 {
        font-size: 20px;
    }

    .tour-02-arrow {
        width: 32px;
        height: 32px;
    }

    .tour-02-arrow.prev {
        left: 6px;
    }

    .tour-02-arrow.next {
        right: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tour-02-card img {
        transition: none;
    }
}
