/* BFS Bildungslandkarte – Toolbar + Marker styles */

/* Karte matcht Content-Fluchtlinie (nutzt volle Breite ihres Container-Blocks) */
.bfs-map-container.alignfull,
.bfs-map-container.alignwide,
.wp-block-post-content > .bfs-map-container.alignfull,
.entry-content > .bfs-map-container.alignfull,
main .bfs-map-container.alignfull {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0;
}

.bfs-map-shell {
    /* Karte und alle Leaflet-Elemente unter dem Header + Header-Submenu (z-index 1000) halten */
    position: relative;
    z-index: 1;
    --map-border:    #E5E7EB;
    --map-border-dk: #CBD5E1;
    --map-bg:        #fff;
    --map-bg-alt:    #F9FAFB;
    --map-text:      #1F2937;
    --map-text-mut:  #6B7280;
    --map-radius:    8px;
    --map-radius-sm: 6px;
    --map-green:     #2E7D32;
    display: flex;
    flex-direction: column;
    gap: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #fff;
    padding: 0;
    height: auto;
    border-radius: 0;
    overflow: visible;
}

/* ------- Toolbar (sticky, no side border for edge-to-edge) ------- */
.bfs-map-toolbar {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: .75rem 1.5rem;
    background: var(--map-bg);
    border-top: 1px solid var(--map-border);
    border-bottom: 1px solid var(--map-border);
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
    position: sticky;
    top: 0;
    z-index: 500;
}
.bfs-map-toolbar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}
.bfs-map-toolbar-label {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--map-text-mut);
    margin-right: .35rem;
}

/* Category chips */
.bfs-map-cat {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .7rem .35rem .55rem;
    border-radius: 999px;
    border: 2px solid transparent;
    background: #F3F4F6;
    color: #6B7280;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    line-height: 1.2;
}
.bfs-map-cat:hover { transform: translateY(-1px); }
.bfs-map-cat.active {
    background: color-mix( in srgb, var(--cat-color) 12%, white );
    border-color: var(--cat-color);
    color: var(--cat-color);
}
.bfs-map-cat-count {
    background: rgba(0,0,0,.08);
    padding: .05rem .4rem;
    border-radius: 999px;
    font-size: .72rem;
    margin-left: .2rem;
    color: inherit;
}
.bfs-map-cat.active .bfs-map-cat-count {
    background: var(--cat-color);
    color: #fff;
}
.bfs-map-cat-icon { font-size: 1rem; }

/* ------- Video-Filter: quer über alle Kategorien ------- */
.bfs-map-toolbar-row--extra {
    gap: .6rem;
    margin-top: -.15rem;
}
.bfs-map-videofilter {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .7rem .35rem .55rem;
    border-radius: 999px;
    border: 2px dashed #CBD5E1;
    background: #fff;
    color: #64748B;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    line-height: 1.2;
}
.bfs-map-videofilter:hover { transform: translateY(-1px); border-color: #94A3B8; }
.bfs-map-videofilter.active {
    border-style: solid;
    border-color: #C62828;
    background: #FEF2F2;
    color: #B91C1C;
}
.bfs-map-videofilter.is-empty { opacity: .55; }
.bfs-map-videofilter__icon  { font-size: 1rem; }
.bfs-map-videofilter__count {
    background: rgba(0,0,0,.08);
    padding: .05rem .4rem;
    border-radius: 999px;
    font-size: .72rem;
    margin-left: .2rem;
    color: inherit;
}
.bfs-map-videofilter.active .bfs-map-videofilter__count { background: #C62828; color: #fff; }
.bfs-map-videofilter__hint { font-size: .78rem; color: #94A3B8; line-height: 1.35; }

/* ------- EIN Suchformular für alles (Stichwort / Ort / Zeitraum) ------- */
.bfs-map-searchbox {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    padding: .75rem .9rem;
    background: var(--map-bg-alt);
    border: 1px solid var(--map-border);
    border-radius: var(--map-radius);
}
.bfs-map-searchbox__fields {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .6rem;
}
.bfs-map-field {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    min-width: 150px;
}
.bfs-map-field--grow   { flex: 1 1 280px; min-width: 220px; }
.bfs-map-field--narrow { min-width: 110px; }
.bfs-map-field--dates  { min-width: 260px; }
.bfs-map-field > label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--map-text-mut);
}
.bfs-map-field input,
.bfs-map-field select {
    padding: .5rem .6rem;
    border: 1px solid var(--map-border-dk);
    border-radius: var(--map-radius-sm);
    font-size: .9rem;
    color: var(--map-text);
    background: #fff;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
}
.bfs-map-field input[type="date"] { appearance: auto; -webkit-appearance: auto; }
.bfs-map-field input:focus,
.bfs-map-field select:focus {
    outline: none;
    border-color: var(--bfs-ctx-primary, var(--map-green));
    box-shadow: 0 0 0 3px color-mix( in srgb, var(--bfs-ctx-primary, #2E7D32) 18%, transparent );
}
.bfs-map-field input[type="search"]::-webkit-search-cancel-button { display: none; }
.bfs-map-daterange {
    display: flex;
    align-items: center;
    gap: .3rem;
}
.bfs-map-daterange span { color: var(--map-text-mut); }

.bfs-map-searchbox__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
}
/* Der eine, unübersehbare Such-Button */
.bfs-map-search-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .7rem 2rem;
    border: none;
    border-radius: 999px;
    background: var(--bfs-ctx-primary, var(--map-green));
    color: #fff;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: .01em;
    cursor: pointer;
    box-shadow: 0 4px 14px color-mix( in srgb, var(--bfs-ctx-primary, #2E7D32) 38%, transparent );
    transition: transform .12s, box-shadow .12s, filter .12s;
}
.bfs-map-search-btn:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.06); }
.bfs-map-search-btn:disabled { opacity: .65; cursor: progress; }
.bfs-map-reset-btn {
    padding: .55rem 1rem;
    border: 1px solid var(--map-border-dk);
    border-radius: 999px;
    background: #fff;
    color: var(--map-text-mut);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
}
.bfs-map-reset-btn:hover { background: #fff; color: var(--map-text); border-color: var(--map-text-mut); }
.bfs-map-searchbox__hint {
    font-size: .78rem;
    color: var(--map-text-mut);
}
.bfs-map-search-status {
    font-size: .85rem;
    padding: .45rem .7rem;
    border-radius: var(--map-radius-sm);
    background: #F1F5F9;
    color: #334155;
}
.bfs-map-search-status.is-ok    { background: #ECFDF5; color: #065F46; }
.bfs-map-search-status.is-empty { background: #FFFBEB; color: #92400E; }
.bfs-map-search-status.is-error { background: #FEF2F2; color: #7F1D1D; }
.bfs-map-toolbar.is-busy .bfs-map-searchbox { opacity: .75; }

/* Kategorie-Chip zeigt „sichtbar/gesamt" — angeschnittene Zahl leicht hervorheben */
.bfs-map-cat.is-clipped .bfs-map-cat-count { font-variant-numeric: tabular-nums; }

/* ------- Map canvas (edge-to-edge, generous height for surfing) ------- */
.bfs-map-canvas {
    border: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    min-height: 75vh;
}

/* ------- Marker ------- */
/* Ungedrehte Hülle um den Pin — nur so lässt sich das Video-Abzeichen
   zuverlässig platzieren, der Pin selbst ist um -45° gedreht. */
.bfs-map-pin {
    position: relative;
    width: 36px;
    height: 44px;
}
/* Video-Abzeichen: weisser Kreis mit Play-Dreieck. Als CSS gezeichnet statt
   als Emoji — bei 20px bliebe vom 🎬 nur Matsch. */
.bfs-map-pin-video {
    position: absolute;
    top: -5px;
    right: -7px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #C62828;
    box-shadow: 0 1px 3px rgba(0,0,0,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.bfs-map-pin-video::after {
    content: '';
    width: 0;
    height: 0;
    margin-left: 2px;
    border-left: 7px solid #C62828;
    border-top: 4.5px solid transparent;
    border-bottom: 4.5px solid transparent;
}
.bfs-map-marker {
    width: 36px;
    height: 44px;
    position: relative;
    background: var(--marker-color, #2E7D32);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 6px rgba(0,0,0,.35);
    border: 2.5px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bfs-map-marker-emoji {
    transform: rotate(45deg);
    font-size: 1.05rem;
    line-height: 1;
}
/* Punkt statt Pin: Einträge, die nicht öffentlich mit Namen erscheinen.
   Bewusst schlicht und ohne Emoji — er sagt nur „hier ist jemand". */
.bfs-map-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--marker-color, #3949AB);
    border: 2.5px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.35);
    opacity: .85;
}
.bfs-map-centre {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    border: 2px solid #2E7D32;
    font-size: 1rem;
}

/* ------- Popup ------- */
.bfs-map-popup {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: .85rem;
    line-height: 1.4;
    color: #1F2937;
}
.bfs-map-popup strong {
    display: block;
    font-size: .95rem;
    margin-bottom: .1rem;
    color: #111827;
}
.bfs-map-popup em { font-style: normal; color: #4B5563; }
.bfs-map-popup small { color: #6B7280; font-size: .78rem; }
.bfs-map-popup-desc {
    margin: .5rem 0 .25rem;
    font-size: .82rem;
    color: #374151;
    line-height: 1.4;
}
.bfs-map-popup-tag {
    display: block;
    margin-top: .35rem;
    padding: .2rem .5rem;
    border-radius: 4px;
    background: #F3F4F6;
    color: #374151;
    font-size: .78rem;
}
.bfs-map-popup-links {
    margin-top: .6rem;
    padding-top: .5rem;
    border-top: 1px solid #E5E7EB;
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.bfs-map-popup-link {
    color: var(--map-green, #2E7D32);
    font-weight: 600;
    text-decoration: none;
    font-size: .82rem;
}
.bfs-map-popup-link:hover { text-decoration: underline; }

/* ------- Interviews / Videos im Popup ------- */
.bfs-map-popup-videos {
    margin-top: .6rem;
    padding-top: .5rem;
    border-top: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.bfs-map-popup-videos__title {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6B7280;
}
.bfs-map-popup-video {
    display: block;
    padding: .35rem .55rem;
    border-radius: 6px;
    background: color-mix( in srgb, var(--bfs-ctx-primary, #2E7D32) 10%, white );
    color: var(--bfs-ctx-primary, #2E7D32);
    font-weight: 600;
    font-size: .82rem;
    text-decoration: none;
}
.bfs-map-popup-video::before { content: "▶ "; }
.bfs-map-popup-video:hover { text-decoration: underline; }
.bfs-map-card__videos {
    margin-top: .25rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--bfs-ctx-primary, #2E7D32);
}

/* ------- Responsive ------- */
@media (max-width: 720px) {
    /* Die Leiste klebte auch auf dem Handy oben fest — dort ist sie mit
       Kategorie-Chips und Suchformular rund 600px hoch und verdeckte damit
       fast den ganzen Bildschirm. Sie scrollt jetzt einfach mit. */
    .bfs-map-toolbar {
        position: static;
        padding: .75rem 1rem;
    }
    .bfs-map-toolbar-row { gap: .35rem; }

    /* Beschriftungen bleiben stehen. Ohne sie standen dort zehn bunte Pillen
       mit Emoji und Zahl — niemand konnte erraten, wofür sie stehen. */
    .bfs-map-cat {
        padding: .3rem .55rem .3rem .45rem;
        font-size: .78rem;
        gap: .25rem;
    }
    .bfs-map-cat-icon { font-size: .9rem; }
    .bfs-map-videofilter { padding: .3rem .55rem .3rem .45rem; font-size: .78rem; }
    .bfs-map-videofilter__hint { flex-basis: 100%; margin-top: .1rem; }

    .bfs-map-searchbox__fields { gap: .5rem; }
    .bfs-map-field { min-width: 100%; }
    .bfs-map-search-btn { flex: 1; justify-content: center; }
    .bfs-map-searchbox__hint { flex-basis: 100%; }

    /* 16px verhindert, dass iOS beim Antippen ins Feld hineinzoomt. */
    .bfs-map-field input,
    .bfs-map-field select { font-size: 16px; }

    /* Zoom-Knöpfe sind mit 30px zu klein für einen Daumen. */
    .leaflet-touch .leaflet-bar a,
    .leaflet-control-zoom a {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.3rem;
    }
}

@media (max-width: 420px) {
    /* Auf sehr schmalen Geräten passen zwei Chips pro Zeile — mit Text. */
    .bfs-map-cat { font-size: .74rem; }
    .bfs-map-cat-label { max-width: 8.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Cluster-Icons — überschreibt Default-Style von MarkerCluster.Default.css */
.bfs-map-cluster {
    width: var(--cluster-size);
    height: var(--cluster-size);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cluster-color);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    line-height: 1;
    transition: transform .15s;
}
.bfs-map-cluster:hover { transform: scale(1.05); }
.bfs-map-cluster span { display: inline-block; }
/* Default-Cluster-Hintergrund von MarkerCluster.Default.css deaktivieren */
.marker-cluster-small,
.marker-cluster-small div,
.marker-cluster-medium,
.marker-cluster-medium div,
.marker-cluster-large,
.marker-cluster-large div { background: transparent !important; }

/* =============================================================================
   Tabelle unter der Karte — professionelles Card-Layout mit dezenten Details
   ============================================================================= */
.bfs-map-table-wrap {
    margin-top: 2.5rem;
    padding: 0;
}
.bfs-map-table-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #E5E7EB;
}
.bfs-map-table-header h3 {
    margin: 0;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #111827;
}
.bfs-map-table-count {
    color: #6B7280;
    font-size: 0.875rem;
    font-weight: 500;
    background: #F3F4F6;
    padding: 4px 12px;
    border-radius: 999px;
}
.bfs-map-table-scroll { overflow-x: auto; }
.bfs-map-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;                    /* Abstände zwischen Zeilen für Card-Feel */
    font-size: 0.95rem;
}
/* Header-Zeile: dezent, keine Hintergrund-Farbe */
.bfs-map-table thead th {
    padding: 4px 16px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6B7280;
    text-align: left;
    background: transparent;
    border: none;
    user-select: none;
    white-space: nowrap;
    position: relative;
}
.bfs-map-table thead th[data-sort] { cursor: pointer; transition: color 0.15s ease; }
.bfs-map-table thead th[data-sort]:hover { color: #7FB800; }
.bfs-map-sort {
    display: inline-block;
    margin-left: 4px;
    color: #7FB800;
    font-size: 0.8rem;
}
/* Body-Zeilen als Cards */
.bfs-map-table tbody tr {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.bfs-map-table tbody tr:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}
.bfs-map-table tbody td {
    padding: 14px 16px;
    border: none;
    vertical-align: middle;
    color: #1F2937;
}
.bfs-map-table tbody td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    font-size: 1rem;
    color: #111827;
}
.bfs-map-table tbody td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    text-align: right;
    white-space: nowrap;
}
.bfs-map-table tbody td a { color: #7FB800; text-decoration: none; font-weight: 500; }
.bfs-map-table tbody td a:hover { text-decoration: underline; }
/* Kategorie-Chip: dezent, mit Punkt statt Vollflächen-Hintergrund */
.bfs-map-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #374151 !important;
    background: transparent !important;
    padding: 3px 10px 3px 6px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid #E5E7EB;
    line-height: 1.4;
}
.bfs-map-cat-badge::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dot-color, #6B7280);
    flex-shrink: 0;
}
/* Pagination */
.bfs-map-table-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 1.5rem 0 0.5rem;
    flex-wrap: wrap;
}
.bfs-map-table-pager button {
    padding: 8px 18px;
    border: 1px solid #E5E7EB;
    background: #fff;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    transition: all 0.15s ease;
}
.bfs-map-table-pager button:hover {
    background: #7FB800;
    border-color: #7FB800;
    color: #fff;
    transform: translateY(-1px);
}
.bfs-map-table-pager span {
    color: #6B7280;
    font-size: 0.875rem;
    padding: 0 8px;
}

/* Mobile: Karten stapeln, ohne horizontales Scrollen */
@media (max-width: 640px) {
    .bfs-map-table thead { display: none; }
    .bfs-map-table, .bfs-map-table tbody, .bfs-map-table tr, .bfs-map-table td {
        display: block;
        width: 100%;
    }
    .bfs-map-table tbody tr {
        padding: 12px 16px;
        border-radius: 12px !important;
    }
    .bfs-map-table tbody td {
        padding: 4px 0;
        text-align: left !important;
    }
    .bfs-map-table tbody td:first-child { border-radius: 0; padding: 0 0 8px; }
    .bfs-map-table tbody td:last-child { border-radius: 0; padding-top: 8px; }
}

/* --- View-Toggle: Karte vs. Nur Liste --- */
.bfs-map-view-toggle {
  display: flex;
  gap: .5rem;
  margin: 0 0 .75rem;
  flex-wrap: wrap;
}
.bfs-map-view-toggle button {
  background: #fff;
  border: 1px solid var(--bfs-ctx-primary, #7F8800);
  color: var(--bfs-ctx-primary, #7F8800);
  padding: .45rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
}
.bfs-map-view-toggle button.active {
  background: var(--bfs-ctx-primary, #7F8800);
  color: #fff;
}
.bfs-map-view-toggle button:hover:not(.active) {
  background: #F3F4F6;
}

/* Nur-Liste-Modus: Karte ausblenden, Tabelle voll */
.bfs-map-shell[data-view="liste"] .bfs-map-canvas { display: none; }
.bfs-map-shell[data-view="liste"] .bfs-map-table-wrap { margin-top: 1rem; }

/* --- Tabellen-Header mit Ansicht-Toggle --- */
.bfs-map-table-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.bfs-map-listview-toggle {
  display: flex;
  gap: .4rem;
}
.bfs-map-listview-toggle button {
  background: #fff;
  border: 1px solid var(--bfs-ctx-primary, #7F8800);
  color: var(--bfs-ctx-primary, #7F8800);
  padding: .35rem .9rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 600;
}
.bfs-map-listview-toggle button.active {
  background: var(--bfs-ctx-primary, #7F8800);
  color: #fff;
}
.bfs-map-listview-toggle button:hover:not(.active) { background: #F3F4F6; }

/* --- Kachel-Ansicht --- */
.bfs-map-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  padding: 1rem 0;
}
/* [hidden] muss die Grid-Anzeige schlagen, sonst erscheinen Tabelle UND Kacheln */
.bfs-map-cards[hidden],
.bfs-map-table-scroll[hidden] { display: none; }
.bfs-map-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-top: 4px solid var(--card-color, #7F8800);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #1F2937;
  transition: transform .18s ease, box-shadow .18s ease;
}
.bfs-map-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); color: #1F2937; }
.bfs-map-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #F1F5F9;
}
.bfs-map-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bfs-map-card__img--placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--card-color, #7F8800); opacity: .5;
}
.bfs-map-card__body { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; gap: .3rem; }
.bfs-map-card__cat  { font-size: .75rem; font-weight: 600; color: var(--card-color, #7F8800); text-transform: uppercase; letter-spacing: .05em; }
.bfs-map-card__title { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.bfs-map-card__location { font-size: .82rem; color: #64748B; }
.bfs-map-card__excerpt { font-size: .85rem; color: #475569; line-height: 1.45; margin-top: .25rem; }

/* Emoji-Glyphen bringen keinen eigenen Seitenabstand mit — das folgende Wort
   klebt sonst am Symbol („🏢Organisationen"). Betrifft alle Bedienelemente,
   die mit einem Emoji beginnen. */
.bfs-map-cat-icon,
.bfs-map-videofilter__icon { margin-right: .2em; }
.bfs-map-search-btn,
.bfs-map-reset-btn { word-spacing: .25em; }
.bfs-map-view-toggle button > .bfs-emoji,
.bfs-map-listview-toggle button > .bfs-emoji { display: inline-block; margin-right: .5em; }
.bfs-map-cat-badge,
.bfs-map-card__cat { word-spacing: .2em; }
