/*
 * GeoDjango's admin map widget (django.contrib.gis.forms.widgets.OpenLayersWidget)
 * relies on its own gis/css/ol3.css giving `.dj_map` a fixed pixel size. Inside
 * Unfold's flex/grid form-row layout that size collapses to 0x0, which makes
 * OpenLayers detect a zero-size target and hide its layers (map renders empty,
 * leaving only the "Delete all Features" link visible). Force an explicit,
 * responsive size so the map actually has room to render.
 */
.dj_map_wrapper {
    display: block;
    float: none;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
}

.dj_map {
    width: 100%;
    max-width: 800px;
    height: 400px !important;
}
