.post-location-map {
    display: grid;
    gap: 1rem;
}

.post-location-map__canvas-wrap {
    position: relative;
    z-index: 0;
    min-height: 320px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(47, 107, 83, 0.14);
    background: linear-gradient(135deg, rgba(232, 241, 236, 0.98), rgba(225, 236, 244, 0.98));
    box-shadow: 0 18px 44px rgba(19, 37, 30, 0.08);
}

.post-location-map__canvas-wrap .leaflet-bottom.leaflet-right .leaflet-control-zoom {
    margin-right: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 16px 32px rgba(10, 16, 13, 0.16);
    border: 1px solid rgba(31, 119, 91, 0.14);
    border-radius: 16px;
    overflow: hidden;
}

.post-location-map__canvas-wrap .leaflet-control-zoom a {
    width: 2.7rem;
    height: 2.7rem;
    line-height: 2.7rem;
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-primary-dark);
    border-color: rgba(31, 119, 91, 0.12);
}

.post-location-map__canvas-wrap .leaflet-control-zoom a:hover,
.post-location-map__canvas-wrap .leaflet-control-zoom a:focus-visible {
    background: #fff;
    color: var(--color-primary);
}

.post-location-map__canvas-wrap .leaflet-control-zoom a.leaflet-disabled {
    background: rgba(255, 255, 255, 0.76);
    color: rgba(33, 48, 40, 0.45);
}

.post-location-map__canvas {
    width: 100%;
    height: 320px;
    min-height: 320px;
}

.post-location-map__status {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    text-align: center;
    color: #365042;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.15));
    backdrop-filter: blur(2px);
    font-weight: 700;
    letter-spacing: 0.01em;
    z-index: 2;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.post-location-map.is-ready .post-location-map__status {
    opacity: 0;
    visibility: hidden;
}

.post-location-map__meta {
    display: grid;
    gap: 0.95rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(249, 251, 250, 0.96), rgba(239, 244, 241, 0.96));
    border: 1px solid rgba(47, 107, 83, 0.08);
}

.post-location-map__copy {
    display: grid;
    gap: 0.35rem;
}

.post-location-map__copy strong {
    font-size: 1rem;
    color: #173126;
}

.post-location-map__copy span {
    color: #5b6b63;
    line-height: 1.5;
}

.post-location-map__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.post-location-map__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(47, 107, 83, 0.18);
    background: rgba(255, 255, 255, 0.9);
    color: #1f352b;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.post-location-map__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(19, 37, 30, 0.12);
}

.post-location-map__button--primary {
    background: linear-gradient(135deg, #2f6b53, #4e8d69);
    color: #fff;
    border-color: transparent;
}

.post-location-map__popup {
    display: grid;
    gap: 0.25rem;
}

.post-location-map__popup strong {
    font-size: 0.95rem;
}

.post-location-map__popup span {
    color: #5b6b63;
    font-size: 0.88rem;
    line-height: 1.45;
}

.post-location-map__popup-container .leaflet-popup-content {
    margin: 0.8rem 0.9rem;
}

.post-location-map__popup-container .leaflet-popup-content-wrapper,
.post-location-map__popup-container .leaflet-popup-tip {
    border-radius: 16px;
}

.post-location-map.is-fallback .post-location-map__status {
    color: #8a5139;
}

@media (max-width: 720px) {
    .post-location-map__canvas-wrap,
    .post-location-map__canvas {
        min-height: 280px;
        height: 280px;
    }

    .post-location-map__canvas-wrap .leaflet-bottom.leaflet-right .leaflet-control-zoom {
        margin-right: 0.75rem;
    }

    .post-location-map__actions {
        grid-template-columns: 1fr;
    }

    .post-location-map__button {
        min-height: 48px;
    }
}

@media (max-width: 390px) {
    .post-location-map__canvas-wrap {
        border-radius: 18px;
    }

    .post-location-map__meta {
        padding: 0.85rem;
    }

    .post-location-map__button {
        min-height: 44px;
        padding-inline: 0.85rem;
    }

    .post-location-map__popup-container .leaflet-popup-content-wrapper {
        border-radius: 18px !important;
    }
}
