#mapa-juzgados-antioquia.mapa-juzgados {
    width: 1050px;
    max-width: 100%;
    height: clamp(1200px, 100vh, 1500px);
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: #f6f7f9;
  }
  @media (max-width: 768px) {
    #mapa-juzgados-antioquia.mapa-juzgados {
      width: 100%;
      height: 92vh;
      min-height: 620px;
      border-radius: 10px;
    }
  }

  .mpio-label {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #111;
    font-weight: 700;
    font-size: 8px;
    line-height: 1.05;
    text-shadow: 0 1px 2px rgba(255,255,255,.85), 0 0 1px rgba(255,255,255,.85);
    pointer-events: none;
    white-space: nowrap;
  }
  .leaflet-div-icon.mpio-label { background: transparent !important; border: none !important; }

  .leaflet-tooltip.mpio-tip {
    max-width: min(280px, 75vw);
    white-space: normal;
    line-height: 1.15;
  }

  .leaflet-popup-content {
    max-height: min(70vh, 760px);
    overflow: auto;
    width: min(680px, 92vw);
  }

  .leaflet-control.mpio-search {
    background: rgba(255,255,255,.92);
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
  }
  .mpio-search input {
    width: 230px;
    max-width: 60vw;
    font-size: 12px;
    padding: 6px 8px;
    border: 1px solid #ced4da;
    border-radius: 8px;
  }
  .mpio-search small {
    display:block;
    margin-top:6px;
    color:#6c757d;
    font-size:11px;
  }

  details.juz-det {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #fff;
  }
  details.juz-det > summary {
    cursor: pointer;
    padding: 10px 12px;
    font-weight: 700;
    list-style: none;
  }
  details.juz-det > summary::-webkit-details-marker { display: none; }
  details.juz-det > summary:after {
    content: "▾";
    float: right;
    opacity: .7;
  }
  details.juz-det[open] > summary:after { content: "▴"; }
  .juz-det-body {
    padding: 10px 12px;
    border-top: 1px solid #f1f5f9;
    font-size: .95rem;
  }
