.site-footer .media img {width: 100%;}
.site-header__inner .is-right_nav {display:none!important;}

.btn.downcsv {display:none;}
table.datatable-table {
    width: 250%!important;
}
.site-header {
  width: 100%;
}
.site-header .search-input-top--mobile {
  display: none;
}
.site-header .is-right_nav {
  display: none;
}
.site-header .component {
  width: 100%;
}
.site-header .media {
  text-align: center;
}

.tablemax-wrapper .filters {
  margin-top: 1.5rem;
}

.facets-item {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.facets-item > label {
  width: 100%;
  flex: 0 0 100%;
  margin-bottom: 6px;
}

.facets-item > .input-facets-item {
  flex: 0 0 auto;
}

.back-to-map {
    border: 1px solid #0061a3;
    border-radius: 2rem;
    padding: 0.4rem 1.2rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
    display: inline-block;
transition: all 500ms ease;
}
.back-to-map:hover {
background-color: #0061a3;
color:#fff;
}
.messages--error {display:none!important;}
.region--footer-bottom .text-content p:last-child span {font-size:.9rem;} 

.cez-map .media img {    max-width: 200px;}
.site-footer {    border: 1px solid #d3d3d3; padding-top: 1rem;}
.site-footer .text-content {text-align:center;}
.ol-zoom {
    margin: .3rem;
    display: flex!important;
    flex-direction: column;
    gap:.2rem;
    max-width: 40px;
}
.ol-zoom-in, .ol-zoom-out{
    height: 24px;
    width: 24px;
    background: #fff;
    border: 1px solid #9a9a9a;
}

.ol-rotate-reset {display: none;}
.point--swd {font-weight: 700;
font-size: 18px;
line-height: 26px;
text-transform: uppercase;
color: #000000;
margin-bottom: 1.3rem;
}
.point--adress  {margin-bottom: 1rem;    margin-bottom: 1rem;
    font-size: 14px;
    line-height: 22px;
 }
.point--benefits {font-size: 14px!important; font-weight: 400; display: flex; justify-content: space-between;}
.point--benefits label {font-size: 14px;}
.point--benefits:not(.point-primary-title) {    margin-left: 1.7rem; margin-bottom:.6rem;}
.point-primary-title {
font-size:14px!important;
  display: flex;
  align-items: center;
justify-content: space-between;
  gap: 8px;
   padding: 1rem 0 0 0!important;
border-top: 1px solid #CDCDCD;
    padding: 1rem 0 0 0!important;
    margin-bottom: 1rem;
    font-weight: 500;
}

.point-primary-title label::before {
  content: "";
  display: inline-block;
  width: 19px;
  height: 20px;
    margin-right: 0.4rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg width='19' height='20' viewBox='0 0 19 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_2044_15)'%3E%3Cpath d='M3.76655 15.7534H1.11622C0.911851 15.7534 0.743164 15.9234 0.743164 16.1368V19.6201C0.743164 19.8301 0.908607 20.0034 1.11622 20.0034H3.76655C3.97093 20.0034 4.13961 19.8334 4.13961 19.6201V16.1368C4.13961 15.9268 3.97417 15.7534 3.76655 15.7534Z' fill='%230061A3'/%3E%3Cpath d='M8.72017 12.8833H6.06984C5.86546 12.8833 5.69678 13.0533 5.69678 13.2666V19.62C5.69678 19.83 5.86222 20.0033 6.06984 20.0033H8.72017C8.92454 20.0033 9.09323 19.8333 9.09323 19.62V13.2666C9.09323 13.0566 8.92778 12.8833 8.72017 12.8833Z' fill='%230061A3'/%3E%3Cpath d='M13.6733 10.0132H11.023C10.8186 10.0132 10.6499 10.1832 10.6499 10.3965V19.6165C10.6499 19.8265 10.8153 19.9999 11.023 19.9999H13.6733C13.8777 19.9999 14.0464 19.8298 14.0464 19.6165V10.3965C14.0464 10.1865 13.8809 10.0132 13.6733 10.0132Z' fill='%230061A3'/%3E%3Cpath d='M18.6303 7.14307H15.98C15.7756 7.14307 15.6069 7.31307 15.6069 7.5264V19.6164C15.6069 19.8264 15.7724 19.9997 15.98 19.9997H18.6303C18.8347 19.9997 19.0034 19.8297 19.0034 19.6164V7.5264C19.0034 7.3164 18.8379 7.14307 18.6303 7.14307Z' fill='%230061A3'/%3E%3Cpath d='M17.4917 4.63662C17.469 4.84662 17.6149 5.03662 17.8193 5.05995C17.8355 5.05995 17.8485 5.05995 17.8647 5.05995C18.0496 5.05995 18.2118 4.91662 18.2345 4.72328L18.6757 0.87995C18.6984 0.66995 18.5525 0.47995 18.3481 0.456617L14.6045 -4.98853e-05C14.4002 -0.0233832 14.2153 0.126617 14.1925 0.336617C14.1698 0.546617 14.3158 0.736617 14.5202 0.75995L17.4982 1.11995L0.571066 13.0566C0.441307 13.1166 0.249912 13.1166 0.0585172 12.9399C-0.0517782 12.7633 0.000125506 12.5266 0.172057 12.4133L17.8128 1.81662L17.4884 4.63328Z' fill='%230061A3'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2044_15'%3E%3Crect width='19' height='20' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}


:root {
    --stroke: #b6b6b6;
    --strokeHover: #263779;
    --strokeSel: #f7fbff;
    --fill: #f7fbff;
    --fillHover: #263779;
    --fillHover2: #0E6BFC;
    --fillSel: #aae70e;
  }

.sum-all {
font-weight: 600;
    color: #fff;
    background-color: #cc0007;
    padding: 0 0.2rem;
    font-size: 1.2rem;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}



.btn-backtosite {
  border: 1px solid #0E6BFC;
  color: #0E6BFC;
  border-radius: 2rem;
  padding: 5px 21px;
  margin-bottom: 2rem;
  display: inline-block;
transition: all 400ms ease;
}
.btn-backtosite:hover {
background-color:#0E6BFC;
color:#fff;
}


.wrap {
    display: grid;
    gap: 16px;
    padding: 12px;
    max-width: 100%;
  }

  @media (min-width:768px) {
    .wrap {
      padding: 16px;
      max-width: 700px;
      margin: 0 auto;
    }
  }

  .card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
  }

  .map {
    padding: 10px;
    max-width: 100%;
    min-width: 0;
  }

  .map svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
  }

  /* Województwa */
  .map path[id^="PL-"] {
    fill: var(--fill);
    stroke: var(--stroke);
    stroke-width: 1;
    cursor: pointer;
    transition: fill .35s ease, stroke .35s ease;
    transform-origin: center;
  }

  .map path[id^="PL-"]:hover,
  .map path[id^="PL-"]:focus {
    fill: var(--fillHover);
    stroke: var(--strokeHover);
    outline: none;
  }


  .map path[id^="PL-"]:focus-visible {
    fill: var(--fillHover);
    stroke: var(--fillHover2);
    stroke-width: 2.5;
  }

  .map path[id^="PL-"].selected {
    fill: var(--fillSel);
    stroke: var(--strokeSel);
    stroke-width: 1.2;
  }

  .map #map-labels {
    pointer-events: none;
  }

  /* /* Etykiety  */
  .map .map-label {
    font-size: 11px;
    font-weight: 700;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #1e293b;
    fill: #1e293b;
    background-color: rgba(255, 255, 255, 0.92);
    padding: 3px 3px;
    border-radius: 6px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    stroke: rgba(255, 255, 255, 0.95);
    stroke-width: 0.35;
    paint-order: stroke fill;
    text-anchor: middle;
    dominant-baseline: middle;
    transition: color .2s ease, fill .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  /* etyk hove */
  .map .map-label.label-hover {
    color: #0f172a;
    fill: #0f172a;
    background-color: var(--fillHover2)!important;
    color: #fff!important;
    border-color: #94a3b8;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  .map .map-label.label-selected {
    color: #0369a1;
    fill: #0369a1;
    background-color: var(--fillHover2);
    border-color: #64748b;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }

  /* Tooltip */
  #tooltip {
    position: fixed;
    left: -9999px;
    top: 0;
    z-index: 9999;
    pointer-events: none;
    background: #1e293b;
    border: 1px solid #334155;
    color: #f8fafc;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .title-map {
    margin-bottom: 2rem;
  }

  .title-map .map-intro {
    margin: 0 0 1rem;
    color: #1e293b;
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  
  .map-content-wrap {
    position: relative;
    height: 100%;
    min-height: 600px;
    overflow: hidden;
  }

  
  .maps-content {
    padding: 1.5rem;
    min-height: 280px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
  }

  .maps-content p {
    margin: 0 0 1rem;
    color: #1e293b;
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  .maps-content p:last-child {
    margin-bottom: 0;
  }

  
  .maps-panel--slide {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 10px;
    border-radius: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(0);
  }

  .maps-panel--slide.is-hidden {
    transform: translateX(100%);
    pointer-events: none;
  }

  .maps-panel--slide svg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  
  .map-content-wrap.content-visible .maps-content {
    padding-top: 3.25rem;
  }

  
  .map-back-trigger {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0369a1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.2s, color 0.2s;
  }

  .map-back-trigger:hover {
    background: #e0f2fe;
    color: #0c4a6e;
  }

  .map-back-trigger:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 2px;
  }

  .map-back-trigger.is-visible {
    display: flex;
  }

  .map-back-trigger svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  @media (max-width:767px) {
    .wrap {
      padding: 8px;
    }

    .map {
      padding: 8px;
    }

    #tooltip {
      max-width: calc(100vw - 24px);
      white-space: normal;
      font-size: 11px;
      padding: 6px 10px;
    }
  }

  @media (max-width:480px) {
    .wrap {
      padding: 6px;
    }

    .map {
      padding: 6px;
    }

    .map .map-label {
      font-size: 9px;
    }
  }

  /* WCAG: redukcja ruchu */
  @media (prefers-reduced-motion: reduce) {
    .maps-panel--slide {
      transition: none;
    }

    .map path[id^="PL-"] {
      transition: none;
    }

    .map .map-label {
      transition: none;
    }
  }

.site-footer .media img {
    max-width: 620px;
    margin-bottom: 1rem;
}