.map {
    width: 100%;
    aspect-ratio: 5 / 2;
    height: auto;
}

@media (max-width: 1000px) {
    .map {
        aspect-ratio: 5 / 3;
    }
}
@media (max-width: 600px) {
    .map {
        aspect-ratio: 5 / 4;
    }
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    z-index: 0;
}
.mapa-lokalita {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.mapa-lokalita button.active-button {
    background-color: #E20613;
    color: white;
    border: none;
}
.mapa-lokalita button.active-button img {
    filter: brightness(0) invert(1);
}
.mapa-lokalita button {
    background-color: transparent;
    padding: 20px;
    border-radius: 15px;
    width: 100%;
    max-width: 340px;
    text-transform: uppercase;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    border: 1px solid #004996;
    color: #004996;
    cursor: pointer;
}

/*FILTR*/
.map-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 60px 15px;
    justify-content: center;
}

.map-filters input {
    width: 25px;
    height: 25px;
}

.blog-checkboxes label {
    display: flex;
    align-items: center;
}

.filter-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: bold;
  color: #004996;
  user-select: none;
  position: relative;
  text-transform: uppercase;
}

.filter-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.custom-checkbox {
  width: 25px;
  height: 25px;
  border: 1px solid #004996;
  border-radius: 5px;
  background-color: white;
  position: relative;
  transition: border-color 0.1s ease;
}

.custom-checkbox::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;      
	height: 12px;
	background-color: var(--filter-color, #004996);
	border-radius: 3px;
	border: 2px solid var(--filter-color, #004996);
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: opacity 0.1s ease;
}

.filter-label input[type="checkbox"]:checked + .custom-checkbox {
	border-color: var(--filter-color, #004996);
}

.filter-label input[type="checkbox"]:checked + .custom-checkbox::after {
	opacity: 1;
}

.filter-label input[type="checkbox"]:checked ~ .label-text {
	color: var(--filter-color, #004996);
}

/*POPUP*/
.leaflet-container a {
    color: var(--popup-color, #004996);
    font-size: clamp(12px, 2vw, 16px);
}

.leaflet-popup-content-wrapper {
    padding: clamp(5px, 1vw, 10px) clamp(3px, 2vw, 15px);
    border-color: var(--popup-color, #004996);
}

.leaflet-popup-tip {
    background-color: var(--popup-color, #004996);
}

.leaflet-popup-content h4 {
    text-transform: uppercase;
    font-size: clamp(16px, 2vw, 20px);
}

.leaflet-popup-content {
    margin: clamp(5px, 1vw, 10px) clamp(3px, 2vw, 15px);
}

.leaflet-popup-content p {
    font-size: clamp(12px, 2vw, 16px);
    text-align: left;
    margin: 5px 0px;
    color: black;
}

.leaflet-container a.leaflet-popup-close-button {
    width: 30px;
    height: 30px;
    font: 24px / 24px Tahoma, Verdana, sans-serif;
}


/*POBOCKA DETAIL*/
.pobocka-detail .content * {
    color: inherit;
    font-size: inherit;
    text-align: left;
    line-height: 25px;
}

.pobocka-detail {
	display: flex;
	flex-wrap: nowrap;
	gap: 20px;
	align-items: flex-start;
	margin-top: 40px;
}

.pobocka-detail .content {
	flex: 1 1 45%;
	min-width: 0;
}

.pobocka-detail .galerie-container {
	flex: 1 1 55%;
	min-width: 0;
}

.pobocka-detail .galerie-wrap .swiper-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    content: none;
    display: none;
}

.swiper {
  width: 80%;
  margin: 0 auto;
}

.galerie-container {
     position: relative;
      width: 100%;
       margin: 0 auto;
}

.custom-prev,
.custom-next {
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
}

.custom-prev {
    left: 10px;
    transform: rotate(180deg);
}

.custom-next {
    right: 10px;
}

.custom-prev img,
.custom-next img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1000px) {
	.pobocka-detail {
		  flex-direction: column;
      align-items: center;
	}

    .pobocka-detail .content,
    .pobocka-detail .galerie-container {
        flex: 1 1 100%;
    }
    .custom-prev,
    .custom-next {
        width: clamp(20px, 4.5vw, 40px);
    }
}
@media (min-width: 1450px) {
    .swiper {
      width: 100%;
  }
  .pobocka-detail .content,
  .pobocka-detail .galerie-container {
    flex: 1 1 50%;
  }
  .custom-prev {
    left: -50px;
    transform: rotate(180deg);
  }

  .custom-next {
    right: -50px;
  }
}

/*PROBIHAJICI AKCE*/
.akce {
    margin-top: 100px;
}
.akce-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.akce h2 {
    text-transform: none;
    font-size: 20px;
    margin-bottom: 35px;
}
.akce-item {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    gap: 20px;
}
.akce-left,
.akce-right {
  flex: 1 1 50%;
}
.akce-right {
    position: relative;
}
.akce-left h3 {
  color: #004996;
  font-size: 20px;
  text-align: left;
  margin-bottom: 20px;
}
.akce-left p {
  text-align: left;
  font-size: 18px;
}
.akce-left a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  background-color: #004996;
  padding: 10px 25px;
  display: block;
  margin-top: 20px;
  width: fit-content;
  border-radius: 20px;
}
.akce-right img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    object-fit: cover;
    max-height: 400px;
    height: auto;
    border-radius: 20px;
}
@media (max-width: 1000px) {
	.akce-item {
    flex-direction: column;
  }
}