/**
 * Destination taxonomy — Description + Map section
 *
 * Layout 50/50 desktop, stack mobile. Mapa Leaflet com tile CartoDB light_nolabels.
 * Marcador circular preto idêntico ao home do test.vistonvisa.com.
 */

.vnv-dest-map-section {
    --vnv-map-primary: #030712;
    --vnv-map-radius: 1rem;
    --vnv-map-height: 28rem;
}

.vnv-dest-map-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .vnv-dest-map-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.vnv-dest-map-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vnv-dest-map-text h2 {
    font-size: 1.5rem;
    line-height: 1.25;
}

.vnv-dest-map-prose,
.vnv-dest-map-prose p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgb(71, 85, 105);
}

.vnv-dest-map-prose p {
    margin-top: 0;
    margin-bottom: 0.75em;
}

.vnv-dest-map-fields .pageo-front-fields {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.6rem 1.25rem;
}

.vnv-dest-map-fields .pageo-front-field dt {
    font-size: 0.65rem;
    letter-spacing: 0.05em;
}

.vnv-dest-map-fields .pageo-front-field dd {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

.vnv-dest-map-fields .pageo-front-list {
    gap: 0.35rem;
}

.vnv-dest-map-fields .pageo-front-list li {
    font-size: 0.7rem;
    padding: 0.15rem 0.55rem;
}

.vnv-dest-map-canvas {
    position: relative;
    width: 100%;
    min-height: var(--vnv-map-height);
    border-radius: var(--vnv-map-radius);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    background: #f3f4f6;
}

.vnv-dest-map {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ===== Coordinates badge (top-right) ============================ */
.vnv-dest-map-coords {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 0.75rem;
    font-weight: 500;
    color: #1f2937;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}

.vnv-dest-map-coords-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--vnv-map-primary);
}

/* ===== Leaflet overrides (idênticos ao home do test) ============= */
.vnv-dest-map-canvas .leaflet-container {
    background: #f3f4f6;
    font-family: inherit;
}

.vnv-dest-map-canvas .leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.625rem;
    padding: 0 0.375rem;
}

.vnv-dest-map-canvas .leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border-radius: 0.5rem;
    overflow: hidden;
}

.vnv-dest-map-canvas .leaflet-control-zoom a {
    background: #fff;
    color: #1f2937;
    border: none;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    font-size: 1.125rem;
}

.vnv-dest-map-canvas .leaflet-control-zoom a:hover {
    background: #f3f4f6;
    color: #030712;
}

/* ===== Marker (mesmo estilo do home test) ======================== */
.vnv-dest-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--vnv-map-primary);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: #fff;
    transition: transform 0.15s ease;
}

.vnv-dest-marker::after {
    content: "";
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background: #fff;
}

.vnv-dest-marker-pulse {
    position: absolute;
    inset: -0.25rem;
    border-radius: 50%;
    border: 2px solid var(--vnv-map-primary);
    opacity: 0.6;
    animation: vnv-dest-marker-pulse 2s ease-out infinite;
}

@keyframes vnv-dest-marker-pulse {
    0%   { transform: scale(0.8); opacity: 0.7; }
    100% { transform: scale(1.8); opacity: 0; }
}
