/* plg_content_odmap — zoomable historic maps inside articles.
   Palette follows the Our Dartmoor site variables where they are available. */

.odmap {
    margin: 1.8rem 0;
}

.odmap-canvas {
    width: 100%;
    border-radius: .5rem;
    border: 1px solid var(--od-line, #dcd8cf);
    background: var(--od-stone, #f5f4ef);
}

.odmap-canvas .leaflet-container {
    border-radius: .5rem;
    font: inherit;
}

.odmap-caption {
    margin-top: .55rem;
    font-size: .78rem;
    line-height: 1.5;
    color: var(--od-muted, #71746d);
}

.odmap-title {
    font-weight: 700;
    color: var(--od-ink, #24271f);
}

.odmap-series {
    font-style: italic;
}

.odmap-caption a {
    color: var(--od-green-d, #62733f);
}

.odmap-error {
    padding: .7rem 1rem;
    border-radius: .4rem;
    background: #fdecea;
    border: 1px solid #e6b5b0;
    color: #8a2b20;
    font-size: .85rem;
}

@media (max-width: 700px) {
    .odmap-canvas { height: 340px !important; }
}
