.cg-ancient-cities-map-shell {
    margin: 1.5rem 0 2.25rem;
}

.cg-ancient-cities-map {
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 22px;
    background: #dbeafe;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}

.cg-ancient-city-marker {
    border: 0;
    background: transparent;
}

.cg-ancient-city-marker__pin {
    display: flex;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 50% 50% 8px 50%;
    color: #fff;
    background: linear-gradient(145deg, #f97316 0%, #c2410c 72%);
    box-shadow: 0 6px 14px rgba(67, 20, 7, 0.38), 0 0 0 2px rgba(124, 45, 18, 0.2);
    transform: rotate(45deg);
    transform-origin: 50% 50%;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.cg-ancient-city-marker__pin svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    transform: rotate(-45deg);
}

.cg-ancient-city-marker:hover .cg-ancient-city-marker__pin,
.cg-ancient-city-marker:focus-visible .cg-ancient-city-marker__pin {
    box-shadow: 0 8px 18px rgba(67, 20, 7, 0.48), 0 0 0 3px rgba(249, 115, 22, 0.24);
    transform: translateY(-2px) rotate(45deg) scale(1.08);
}

.cg-ancient-cities-map .leaflet-popup-content {
    margin: 8px 10px;
    line-height: 1.35;
}

.cg-ancient-cities-map .leaflet-popup-content strong {
    font-size: 14px;
    line-height: 1.3;
}

.cg-ancient-cities-map .leaflet-popup-content .cg-ancient-city-popup__description {
    margin: 4px 0 0;
    max-height: 144px;
    padding-right: 3px;
    overflow-y: auto;
    color: #1f2937 !important;
    font-size: 12px;
    line-height: 1.35;
}

.cg-ancient-cities-map .leaflet-popup-content .cg-ancient-city-popup__title-link {
    color: #3498db !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.cg-ancient-cities-map .leaflet-control-zoom {
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.28);
}

.cg-ancient-cities-map .leaflet-control-zoom a {
    width: 42px;
    height: 42px;
    color: #111827;
    font-size: 24px;
    line-height: 42px;
}

.cg-ancient-cities-map .leaflet-control-zoom a:hover,
.cg-ancient-cities-map .leaflet-control-zoom a:focus-visible {
    color: #111827;
    background: #e5eef8;
}

.cg-ancient-cities-map-fallback {
    display: inline-block;
    margin-top: 0.75rem;
}

@media (max-width: 767px) {
    .cg-ancient-cities-map {
        min-height: 380px;
        border-radius: 16px;
    }
}
