.dts-tour-route {
    padding: 96rem var(--dt-pad, 24rem) 120rem;
    background: var(--dt-soft, #f4f7f6);
    color: var(--dt-text, #17201e);
}

.dts-tour-route__inner {
    width: min(var(--dt-container, 1320rem), 100%);
    margin: 0 auto;
}

.dts-tour-route__header {
    margin-bottom: 38rem;
}

.dts-tour-route__header h2 {
    margin: 0;
    font-size: 48rem;
    line-height: 1.1;
}

.dts-tour-route__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360rem, 0.82fr);
    gap: 48rem;
    align-items: start;
}

.dts-tour-route__layout--without-map {
    grid-template-columns: minmax(0, 860rem);
}

.dts-tour-route__map-shell {
    position: sticky;
    top: 110rem;
    min-width: 0;
}

.dts-tour-route__map {
    isolation: isolate;
    z-index: 0;
    width: 100%;
    height: 620rem;
    min-height: 420px;
    border: 1rem solid var(--dt-line, #d7dfdc);
    border-radius: var(--dt-radius, 8rem);
    background: #dce4e1;
    overflow: hidden;
}

.dts-tour-route__map:focus-visible {
    outline: 3rem solid var(--dt-accent, #0b7f72);
    outline-offset: 3rem;
}

.dts-tour-route__itinerary {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dts-tour-route__point {
    display: grid;
    grid-template-columns: minmax(180rem, 0.8fr) minmax(0, 1.2fr);
    gap: 20rem;
    padding: 24rem 0;
    border-bottom: 1rem solid var(--dt-line, #d7dfdc);
}

.dts-tour-route__point:first-child {
    padding-top: 0;
}

.dts-tour-route__point-image {
    margin: 0;
}

.dts-tour-route__point-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    border-radius: 6rem;
    object-fit: cover;
}

.dts-tour-route__point-body {
    display: grid;
    grid-template-columns: 42rem minmax(0, 1fr);
    gap: 14rem;
    min-width: 0;
}

.dts-tour-route__number {
    display: grid;
    place-items: center;
    width: 38rem;
    height: 38rem;
    border-radius: 50%;
    background: var(--dt-accent, #0b7f72);
    color: #fff;
    font-size: 16rem;
    font-weight: 700;
}

.dts-tour-route__point-copy {
    min-width: 0;
}

.dts-tour-route__point-overview { min-width: 0; }
.dts-tour-route__point-overview h3 { margin: 0 0 14rem; font-size: 24rem; line-height: 1.25; }

.dts-tour-route__point-copy h3 {
    margin: 3rem 0 10rem;
    font-size: 24rem;
    line-height: 1.25;
}

.dts-tour-route__description {
    color: var(--dt-muted, #64706d);
    font-size: 17rem;
    line-height: 1.65;
}

.dts-tour-route__description > :first-child {
    margin-top: 0;
}

.dts-tour-route__description > :last-child {
    margin-bottom: 0;
}

.dts-route-marker {
    border: 0;
    background: transparent;
}

.dts-route-marker span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #0b7f72;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.28);
}

.dts-route-popup {
    width: 210px;
}

.dts-route-popup img {
    display: block;
    width: 100%;
    height: 118px;
    margin-bottom: 10px;
    border-radius: 4px;
    object-fit: cover;
}

.dts-route-popup__title {
    margin: 0;
    color: #17201e;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.dts-tour-route .leaflet-control-attribution {
    font-size: 11px;
}

.dts-tour-route-summary {
    margin: 30rem 0 42rem;
    padding: 24rem;
    border: 1rem solid var(--dt-line, #d7dfdc);
    border-radius: var(--dt-radius, 8rem);
    background: var(--dt-soft, #f4f7f6);
    color: var(--dt-text, #17201e);
}

.dts-tour-route-summary__header {
    margin-bottom: 18rem;
}

.dts-tour-route-summary__header h2,
.dts-tour-route-map-section__header h2 {
    margin: 0;
    font-size: 28rem;
    line-height: 1.2;
}

.dts-tour-route-summary__list {
    display: flex;
    align-items: stretch;
    gap: 12rem;
    margin: 0;
    padding: 0 0 6rem;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: thin;
}

.dts-tour-route-summary__point {
    flex: 0 0 auto;
    border: 1rem solid var(--dt-line, #d7dfdc);
    border-radius: 6rem;
    background: #fff;
    font-size: 15rem;
}

.dts-tour-route-summary__point > a {
    display: flex;
    align-items: center;
    gap: 10rem;
    min-height: 52rem;
    padding: 9rem 14rem 9rem 10rem;
    color: inherit;
    text-decoration: none;
}

.dts-tour-route-summary__point > a:hover strong,
.dts-tour-route-summary__point > a:focus-visible strong {
    color: var(--dt-accent, #0b7f72);
}

.dts-tour-route-summary__point > a > span {
    display: grid;
    place-items: center;
    width: 32rem;
    height: 32rem;
    border-radius: 50%;
    background: var(--dt-accent, #0b7f72);
    color: #fff;
    font-size: 13rem;
    font-weight: 800;
}

.dts-tour-route-summary__point > a > strong {
    max-width: 240rem;
    line-height: 1.35;
}

.dts-tour-route-itinerary {
    margin-top: 46rem;
    scroll-margin-top: 110rem;
}

.dts-tour-route-itinerary__header {
    margin-bottom: 22rem;
}

.dts-tour-route-itinerary__header h2 {
    margin: 0;
    font-size: 32rem;
    line-height: 1.2;
}

.dts-tour-route-itinerary .dts-tour-route__point {
    scroll-margin-top: 110rem;
}

.dts-tour-route-map-section {
    margin-top: 40rem;
    padding: 34rem;
    border-radius: var(--dt-radius, 8rem);
    background: var(--dt-soft, #f4f7f6);
    color: var(--dt-text, #17201e);
}

.dts-tour-route-map-section__header {
    margin-bottom: 22rem;
}

.dts-tour-route-map-section .dts-tour-route__map-shell {
    position: static;
}

.dts-tour-route-map-section .dts-tour-route__map {
    height: 560rem;
}

@media (max-width: 1024px) {
    .dts-tour-route__layout {
        grid-template-columns: 1fr;
    }

    .dts-tour-route__map-shell {
        position: static;
    }

    .dts-tour-route__map {
        height: 520rem;
    }
}

@media (max-width: 600px) {
    .dts-tour-route {
        padding-top: 72rem;
        padding-bottom: 88rem;
    }

    .dts-tour-route__header h2 {
        font-size: 38rem;
    }

    .dts-tour-route__map {
        height: 420rem;
        min-height: 320px;
    }

    .dts-tour-route__point {
        grid-template-columns: 1fr;
    }

    .dts-tour-route-summary {
        margin: 22rem 0 32rem;
        padding: 18rem;
    }

    .dts-tour-route-summary__header h2,
    .dts-tour-route-map-section__header h2 {
        font-size: 24rem;
    }

    .dts-tour-route-map-section {
        padding: 20rem;
    }

    .dts-tour-route-map-section .dts-tour-route__map {
        height: 420rem;
    }

    .dts-tour-route__point-image img {
        height: auto;
    }
}

@media (max-width: 460px) {
    .dts-tour-route__point {
        grid-template-columns: 1fr;
    }

    .dts-tour-route__point-image img {
        height: auto;
    }
}
