.article-route-map {
    margin: 48px 0;
    padding: 32px;
    border: 1px solid rgba(20, 61, 50, 0.14);
    border-radius: 24px;
    background: #f4efe5;
    color: #1b2b2a;
}

.article-route-map *,
.article-route-map *::before,
.article-route-map *::after {
    box-sizing: border-box;
}

.article-route-map__head {
    max-width: 760px;
    margin-bottom: 24px;
}

.article-route-map__eyebrow {
    margin: 0 0 10px;
    color: #b36536;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-route-map__title {
    margin: 0;
    color: #143d32;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 500;
    line-height: 1.12;
}

.article-route-map__lead {
    margin-top: 16px;
    color: #52615c;
    font-size: 17px;
    line-height: 1.55;
}

.article-route-map__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
}

.article-route-map__filter {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid rgba(20, 61, 50, 0.2);
    border-radius: 999px;
    background: transparent;
    color: #25423a;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.2;
    transition:
            background-color 0.2s ease,
            border-color 0.2s ease,
            color 0.2s ease,
            transform 0.2s ease;
}

.article-route-map__filter:hover {
    border-color: #143d32;
    background: rgba(20, 61, 50, 0.06);
}

.article-route-map__filter:focus-visible {
    outline: 2px solid #b36536;
    outline-offset: 2px;
}

.article-route-map__filter_active {
    border-color: #143d32;
    background: #143d32;
    color: #ffffff;
}

.article-route-map__layout {
    display: block;
}

.article-route-map__map-wrap {
    min-width: 0;
}

.article-route-map__canvas {
    position: relative;
    height: 420px;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid rgba(20, 61, 50, 0.14);
    border-radius: 20px;
    background:
            linear-gradient(
                    135deg,
                    rgba(20, 61, 50, 0.04) 0,
                    rgba(20, 61, 50, 0.04) 1px,
                    transparent 1px,
                    transparent 26px
            ),
            linear-gradient(
                    45deg,
                    rgba(179, 101, 54, 0.035) 0,
                    rgba(179, 101, 54, 0.035) 1px,
                    transparent 1px,
                    transparent 26px
            ),
            #e8e1d3;
}

.article-route-map__canvas > ymaps3.ymaps3--map-container {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.article-route-map__canvas > ymaps3.ymaps3--map-container > ymaps3.ymaps3--map {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.article-route-map__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    text-align: center;
}

.article-route-map__placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border: 1px solid rgba(20, 61, 50, 0.28);
    border-radius: 50%;
    color: #143d32;
}

.article-route-map__placeholder-icon svg {
    width: 27px;
    height: 27px;
    stroke-width: 1.7;
}

.article-route-map__placeholder-title {
    color: #143d32;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.25;
}

.article-route-map__placeholder-text {
    max-width: 460px;
    margin-top: 10px;
    color: #58635e;
    font-size: 15px;
    line-height: 1.5;
}

.article-route-map__show-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 22px;
    padding: 11px 18px;
    border: 1px solid #143d32;
    border-radius: 999px;
    background: #143d32;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    transition:
            background-color 0.2s ease,
            transform 0.2s ease;
}

.article-route-map__show-btn:hover {
    background: #0d2d24;
    transform: translateY(-1px);
}

.article-route-map__show-btn:focus-visible {
    outline: 2px solid #b36536;
    outline-offset: 3px;
}

.article-route-map__verified {
    margin-top: 12px;
    color: #76817b;
    font-size: 13px;
    line-height: 1.45;
}

.article-route-map__points {
    margin-top: 28px;
}

.article-route-map__points-title {
    margin-bottom: 14px;
    color: #143d32;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.2;
}

.article-route-map__list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.article-route-map__point {
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-route-map__point::marker {
    content: "";
}

.article-route-map__point-main {
    display: flex;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(20, 61, 50, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.48);
    transition:
            border-color 0.2s ease,
            background-color 0.2s ease,
            transform 0.2s ease;
}

.article-route-map__point-main:hover {
    border-color: rgba(20, 61, 50, 0.28);
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-1px);
}

.article-route-map__point-number {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #143d32;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.article-route-map__point-content {
    min-width: 0;
    flex: 1 1 auto;
}

.article-route-map__point-title {
    margin: 0;
    color: #17322b;
    font-size: 20px;
    line-height: 1.25;
}

.article-route-map__point-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 9px;
    color: #7b624e;
    font-size: 13px;
    line-height: 1.4;
}

.article-route-map__point-meta span {
    position: relative;
}

.article-route-map__point-meta span + span::before {
    position: absolute;
    top: 50%;
    left: -9px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #b36536;
    content: "";
    transform: translateY(-50%);
}

.article-route-map__point-text {
    margin-top: 12px;
    color: #4f5d57;
    font-size: 15px;
    line-height: 1.55;
}

.article-route-map__point-warning {
    margin-top: 14px;
    padding: 10px 12px;
    border-left: 3px solid #b36536;
    border-radius: 0 8px 8px 0;
    background: rgba(179, 101, 54, 0.08);
    color: #765033;
    font-size: 13px;
    line-height: 1.5;
}

.article-route-map__point-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    margin-top: 16px;
}

.article-route-map__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.article-route-map__tag {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(20, 61, 50, 0.08);
    color: #345449;
    font-size: 12px;
    line-height: 1.2;
}

.article-route-map__point-link {
    color: #143d32;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.article-route-map__point-link::after {
    margin-left: 7px;
    color: #b36536;
    content: "↗";
}

.article-route-map__point-link:hover {
    color: #b36536;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-route-map__point-link:focus-visible {
    outline: 2px solid #b36536;
    outline-offset: 3px;
}

.article-route-map__point_hidden {
    display: none;
}
.article-route-map__list,
.article-route-map__list > .article-route-map__point {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    counter-increment: none !important;
}

.article-route-map__list > .article-route-map__point::before,
.article-route-map__list > .article-route-map__point::after {
    display: none !important;
    content: none !important;
}

.article-route-map__list > .article-route-map__point::marker {
    content: "" !important;
    font-size: 0 !important;
}
.article-route-map__point[hidden],
.article-route-map__point_hidden {
    display: none !important;
}

.article-route-map__empty {
    margin: 14px 0 0;
    padding: 16px 18px;
    border: 1px dashed rgba(20, 61, 50, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.34);
    color: #64716b;
    font-size: 14px;
    line-height: 1.5;
}
.article-route-map__canvas_ready {
    background: #e8e1d3;
}

.article-route-map__map-note {
    margin: 10px 0 0;
    color: #7a837f;
    font-size: 12px;
    line-height: 1.45;
}

.article-route-map__placeholder_loading::before {
    animation: article-route-map-spin 1.1s linear infinite;
}

.article-route-map__placeholder_error::before {
    border-color: rgba(179, 101, 54, 0.48);
    background:
            linear-gradient(
                    135deg,
                    transparent 47%,
                    rgba(179, 101, 54, 0.68) 48%,
                    rgba(179, 101, 54, 0.68) 52%,
                    transparent 53%
            );
}

.article-route-map__marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 2px solid #f4efe5;
    border-radius: 50%;
    background: #143d32;
    box-shadow: 0 6px 16px rgba(20, 61, 50, 0.28);
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transform: translate(-50%, -100%);
    transition:
            background-color 0.2s ease,
            box-shadow 0.2s ease,
            transform 0.2s ease;
}

.article-route-map__marker:hover,
.article-route-map__marker:focus-visible {
    background: #b36536;
    box-shadow: 0 9px 20px rgba(179, 101, 54, 0.34);
    outline: none;
    transform: translate(-50%, -110%);
}

.article-route-map__point {
    cursor: pointer;
}

.article-route-map__point_active .article-route-map__point-main {
    border-color: rgba(179, 101, 54, 0.6);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 22px rgba(20, 61, 50, 0.08);
}

.article-route-map__point_active .article-route-map__point-number {
    background: #b36536;
}

.article-route-map__actions {
    margin-top: 16px;
}

.article-route-map__route-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 11px 16px;
    border: 1px solid #143d32;
    border-radius: 999px;
    background: transparent;
    color: #143d32;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition:
            background-color 0.2s ease,
            border-color 0.2s ease,
            color 0.2s ease,
            transform 0.2s ease;
}

.article-route-map__route-link:hover {
    background: #143d32;
    border-color: #143d32;
    color: #ffffff;
    transform: translateY(-1px);
}

.article-route-map__route-link:focus-visible {
    outline: 2px solid #b36536;
    outline-offset: 3px;
}

.article-route-map__route-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.article-route-map__route-link-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.9;
}

.article-route-map__route-link-arrow {
    color: #b36536;
    font-size: 17px;
    line-height: 1;
    transition: color 0.2s ease;
}

.article-route-map__route-link:hover .article-route-map__route-link-arrow {
    color: #f0b184;
}

@keyframes article-route-map-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    .article-route-map {
        margin: 34px 0;
        padding: 22px 16px;
        border-radius: 18px;
    }

    .article-route-map__title {
        font-size: 29px;
    }

    .article-route-map__lead {
        font-size: 16px;
    }

    .article-route-map__filters {
        flex-wrap: nowrap;
        margin-right: -16px;
        padding-right: 16px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .article-route-map__filters::-webkit-scrollbar {
        display: none;
    }

    .article-route-map__filter {
        flex: 0 0 auto;
    }

    .article-route-map__canvas {
        height: 330px;
        min-height: 330px;
        border-radius: 16px;
    }

    .article-route-map__placeholder {
        padding: 24px 18px;
    }

    .article-route-map__placeholder-text {
        font-size: 14px;
    }

    .article-route-map__points {
        margin-top: 22px;
    }

    .article-route-map__points-title {
        font-size: 23px;
    }

    .article-route-map__point-main {
        gap: 12px;
        padding: 16px;
        border-radius: 14px;
    }

    .article-route-map__point-number {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .article-route-map__point-title {
        font-size: 18px;
    }

    .article-route-map__point-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
    .article-route-map__route-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* ========================================================================
   Карта города schema_version 2
   ======================================================================== */

.article-route-map__groups {
    display: grid;
    gap: 30px;
}

.article-route-map__group {
    min-width: 0;
}

.article-route-map__group + .article-route-map__group {
    padding-top: 28px;
    border-top: 1px solid rgba(20, 61, 50, 0.14);
}

.article-route-map__group-kicker {
    margin: 0 0 6px;
    color: #b36536;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-route-map__group .article-route-map__points-title {
    margin-bottom: 14px;
}

.article-route-map__point_arrival .article-route-map__point-number {
    background: #737b77;
    color: #ffffff;
    font-size: 18px;
}

.article-route-map__point_optional .article-route-map__point-number {
    border: 1px solid #8a918d;
    background: #ecebe6;
    color: #59615d;
    font-size: 18px;
}

.article-route-map__point_arrival .article-route-map__point-main {
    border-color: rgba(92, 103, 97, 0.24);
    background: rgba(108, 117, 112, 0.07);
}

.article-route-map__point_optional .article-route-map__point-main {
    border-color: rgba(92, 103, 97, 0.24);
    border-style: dashed;
    background: rgba(108, 117, 112, 0.045);
}

.article-route-map__point-entry {
    display: grid;
    gap: 4px;
    margin-top: 10px;
    padding: 11px 13px;
    border-radius: 11px;
    background: rgba(20, 61, 50, 0.06);
    color: #4f5d57;
    font-size: 13px;
    line-height: 1.45;
}

.article-route-map__point-entry strong {
    color: #143d32;
    font-size: 14px;
}

.article-route-map__point-entry-label {
    color: #b36536;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.article-route-map__marker_arrival {
    width: 31px;
    height: 31px;
    border-color: #f4efe5;
    border-radius: 10px 10px 10px 3px;
    background: #737b77;
    box-shadow: 0 5px 13px rgba(67, 76, 71, 0.22);
    color: #ffffff;
    font-size: 15px;
}

.article-route-map__marker_optional {
    width: 31px;
    height: 31px;
    border-color: #8a918d;
    background: #ecebe6;
    box-shadow: 0 5px 13px rgba(67, 76, 71, 0.16);
    color: #59615d;
    font-size: 17px;
}

.article-route-map__marker_optional:hover,
.article-route-map__marker_optional:focus-visible {
    color: #ffffff;
}

.article-route-map[data-schema-version="2"] .article-route-map__point_active.article-route-map__point_arrival .article-route-map__point-number {
    background: #b36536;
}

.article-route-map[data-schema-version="2"] .article-route-map__point_active.article-route-map__point_optional .article-route-map__point-number {
    border-color: #b36536;
    background: #b36536;
    color: #ffffff;
}

@media (max-width: 767px) {
    .article-route-map__groups {
        gap: 24px;
    }

    .article-route-map__group + .article-route-map__group {
        padding-top: 23px;
    }

    .article-route-map__point-entry {
        padding: 10px 11px;
    }
}


.article-route-map__marker_arrival:hover,
.article-route-map__marker_arrival:focus-visible,
.article-route-map__marker_optional:hover,
.article-route-map__marker_optional:focus-visible {
    transform: translate(-50%, -106%);
}

/* Lucide: ArrowRight и Plus для ненумерованных точек */
.article-route-map__lucide {
    display: block;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.article-route-map__marker .article-route-map__lucide {
    width: 16px;
    height: 16px;
}

.article-route-map__point_optional .article-route-map__lucide {
    width: 19px;
    height: 19px;
}

.article-route-map__marker_optional .article-route-map__lucide {
    width: 17px;
    height: 17px;
}

