/* Heritage railway map — Leaflet/OpenStreetMap container styling */

.enc-section-map .enc-railway-map {
    height: 460px;
    width: 100%;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 6px;
    overflow: hidden;
    background: #f3f4f6;
    margin: 1rem 0 0.5rem;
}

.enc-section-map .enc-map-attribution {
    color: var(--muted, #6b7280);
    font-size: 0.85rem;
    margin: 0.25rem 0 0;
}

.enc-station-marker {
    background: transparent;
    border: 0;
}

.enc-station-marker .enc-station-dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #a30000;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.enc-station-terminus .enc-station-dot {
    width: 16px;
    height: 16px;
    background: #1f2937;
    border-color: #fef3c7;
}

.enc-map-fallback {
    color: var(--muted, #6b7280);
    text-align: center;
    padding: 2rem;
}

/* Ensure Leaflet popups inherit page typography */
.leaflet-popup-content {
    font-family: inherit;
    line-height: 1.4;
}

.leaflet-popup-content small {
    color: var(--muted, #6b7280);
}
