/* Map search */

.map-search {
  display: flex;
}

.map-search__map {
  flex-basis: calc(40% - 15px);
  border-radius: 15px;
  overflow: hidden;
  min-height: 500px;
}

.map-search__grid-wrapper {
  flex-basis: calc(60% - 15px);
}
.map-search__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  transition: opacity 0.3s ease;
}

.map-search__grid-item {
  flex-basis: calc(50% - 15px);
}

.elementor-2059 .elementor-element.elementor-element-c97e1da{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;overflow:visible;}.elementor-widget-theme-post-featured-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-2059 .elementor-element.elementor-element-df5306a img{height:238px;object-fit:cover;object-position:center center;border-radius:15px 15px 0px 0px;}.elementor-widget-button .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-2059 .elementor-element.elementor-element-76f9db2 .elementor-button{background-color:var( --e-global-color-42fcfe0 );font-family:"Roboto", Sans-serif;font-size:14px;font-weight:500;fill:var( --e-global-color-57ca4d9 );color:var( --e-global-color-57ca4d9 );border-radius:0px 15px 0px 15px;padding:7px 16px 7px 16px;}.elementor-2059 .elementor-element.elementor-element-76f9db2 > .elementor-widget-container{padding:0px 0px 0px 0px;}body:not(.rtl) .elementor-2059 .elementor-element.elementor-element-76f9db2{right:0px;}body.rtl .elementor-2059 .elementor-element.elementor-element-76f9db2{left:0px;}.elementor-2059 .elementor-element.elementor-element-76f9db2{top:0px;}.elementor-2059 .elementor-element.elementor-element-a17b5b0{--display:flex;--min-height:218px;--border-radius:0px 0px 15px 15px;--padding-top:30px;--padding-bottom:26px;--padding-left:30px;--padding-right:30px;overflow:visible;}.elementor-2059 .elementor-element.elementor-element-a17b5b0:not(.elementor-motion-effects-element-type-background), .elementor-2059 .elementor-element.elementor-element-a17b5b0 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-57ca4d9 );}.elementor-widget-theme-post-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-2059 .elementor-element.elementor-element-ae7c686 .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:20px;font-weight:500;line-height:25px;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-2059 .elementor-element.elementor-element-afa82f9 > .elementor-widget-container{margin:-18px 0px 0px 0px;}.elementor-2059 .elementor-element.elementor-element-afa82f9 .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:20px;font-weight:400;line-height:25px;}.elementor-2059 .elementor-element.elementor-element-172a3c1 > .elementor-widget-container{margin:-10px 0px 0px 0px;}.elementor-2059 .elementor-element.elementor-element-172a3c1 .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:16px;font-weight:300;line-height:20px;}.elementor-2059 .elementor-element.elementor-element-f35b2da .elementor-button{background-color:var( --e-global-color-57ca4d9 );font-family:"Roboto", Sans-serif;font-size:16px;font-weight:500;fill:var( --e-global-color-42fcfe0 );color:var( --e-global-color-42fcfe0 );padding:0px 0px 0px 0px;}.elementor-2059 .elementor-element.elementor-element-f35b2da{width:100%;max-width:100%;}.elementor-2059 .elementor-element.elementor-element-f35b2da > .elementor-widget-container{margin:15px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-2059 .elementor-element.elementor-element-f35b2da.elementor-element{--align-self:flex-end;}.elementor-2059 .elementor-element.elementor-element-f35b2da .elementor-button-content-wrapper{flex-direction:row-reverse;}.elementor-2059 .elementor-element.elementor-element-f35b2da .elementor-button .elementor-button-content-wrapper{gap:9px;}.elementor-2059 .elementor-element.elementor-element-f35b2da .elementor-button:hover, .elementor-2059 .elementor-element.elementor-element-f35b2da .elementor-button:focus{color:var( --e-global-color-4535bb1 );}.elementor-2059 .elementor-element.elementor-element-f35b2da .elementor-button:hover svg, .elementor-2059 .elementor-element.elementor-element-f35b2da .elementor-button:focus svg{fill:var( --e-global-color-4535bb1 );}/* Start custom CSS for button, class: .elementor-element-f35b2da */.elementor-button-icon svg {
  height: auto;
  width: 0.5em;
}/* End custom CSS */
#map {
  height: 100%;
  width: 100%;
  max-height: 80vh;
}



.program-teaser {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 0px 12px #0000001A;
  display: flex;
  flex-direction: column;
}
.program-teaser__tag {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #1D5392;
  color: white;
  padding: 3px 10px;
  border-radius: 0 10px 0 5px;
  font-weight: 500;
}

.program-teaser__content {
  padding: 25px 30px;
  flex-grow: 1;
}

.elementor h3.program-teaser__title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  margin-top: 0;
  line-height: 26px;
}

.program-teaser__location {
  display: flex;
  gap: 8px;
  align-items: center;
}

.program-teaser__location img {
  width: 15px;
  height: 20px;
}

.program-teaser__location span {
  font-size: 16px;
  font-weight: 300;
  line-height: 22px;
  text-transform: uppercase;
}

.program-teaser__price {
  color:#1D5392;
  font-size: 12px;
}

.program-teaser__price-value {
  display: block;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.program-teaser:hover .program-teaser__content {
  background-color: #1D5392;
  transition: background-color 0.2s ease-in-out;
}

.program-teaser:hover > *,
.program-teaser:hover .program-teaser__price,
.program-teaser:hover h3.program-teaser__title {
  color: white;
  transition: color 0.2s ease-in-out;
}

.program-teaser:hover .program-teaser__location img {
  filter: saturate(0) brightness(100);
}

.map-search__grid-item:hover {
  cursor: pointer;
}

.map-bubble-container {
  position: absolute;
  z-index: 1000;
  transform: translateX(-50%);
  margin-bottom: 10px;
}

.map-bubble {
  position: relative;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0px 0px 12px #0000001A;
  font-family: "Roboto", Sans-serif;
  width: max-content;
  max-width: 350px;
  display: flex;
  flex-direction: row;
}

.map-bubble:hover {
  cursor: pointer;
}

.map-bubble:hover .map-bubble__content {
  background-color: #1D5392;
  transition: background-color 0.2s ease-in-out;
}

.map-bubble:hover h3,
.map-bubble:hover .map-bubble__location span,
.map-bubble:hover .map-bubble__price {
  color: white;
  transition: color 0.2s ease-in-out;
}

.map-bubble:hover .map-bubble__location img {
  filter: saturate(0) brightness(100);
  transition: filter 0.2s ease-in-out;
}

.map-bubble-container:hover::before {
  border-top-color: #1D5392;
  transition: border-top-color 0.2s ease-in-out;
}

.map-bubble-container::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.map-bubble-container::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
  z-index: 2;
}

.map-bubble__img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  flex-shrink: 0;
}

.map-bubble__content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.map-bubble h3 {
  margin: 0 0 8px 0;
  color: #183964;
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
  font-family: "Roboto", Sans-serif;
}

.map-bubble p {
  margin: 0 0 6px 0;
  color: #1D5392;
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
}

.map-bubble .map-bubble__price {
  color: #1D5392;
  font-size: 12px;
  font-weight: 500;
  margin-top: auto;
}

.map-bubble .map-bubble__price-value {
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.map-bubble__location {
  display: flex;
  gap: 8px;
  align-items: center;
}

.map-bubble__location img {
  width: 11px;
  height: 14px;
}

.map-bubble__location span {
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
  text-transform: uppercase;
}

.map-search__grid {
  padding: 0 15px 15px 15px;
}

.map-search__grid-filter-button {
  border-radius: 28px;
  padding: 3px 10px;
  font-size: 14px;
  font-weight: 500;
  color: #183964;
  border: 1px solid #183964;
  cursor: pointer;
  background-color: transparent;
  transition: all 0.3s ease;
}

.map-search__grid-filter-button:hover,
.map-search__grid-filter-button:focus {
  background-color: #1D5392;
  color: white;
}

.map-search__grid-filter-button.active {
  background-color: #1D5392;
  color: white;
  border-color: #1D5392;
}

.map-search__grid-filters {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
  display: flex;
  gap: 10px;
  padding-left: 15px;
}

.map-search__grid-filter {
  display: inline-block;
}

/* Pagination Styles */
.map-search__pagination {
  position: relative;
  padding-top: 30px;
}

.map-search__pagination::before {
  content: '';
  position: absolute;
  height: 116px;
  top: -116px;
  left: 0;
  display: block;
  width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(24,57,100,0.23) 100%);
  transition: opacity 0.3s;
  opacity: 1;
}

.map-search__pagination.gradient-hidden::before {
  opacity: 0;
  pointer-events: none;
}

.map-search__pagination-info {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.map-search__pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.map-search__pagination-button, .page-numbers {
  background-color: #EBEEF6;
  border: none;
  color: #183964;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
  min-width: 40px;
  text-align: center;
}

button.map-search__pagination-button:hover,
button.map-search__pagination-button:focus,
.page-numbers:hover,
.page-numbers:focus {
  background-color: #1D5392;
  color: white;
}

.map-search__pagination-button.active,
.page-numbers.current {
  background-color: #1D5392;
  color: white;
  border-color: #1D5392;
}

.map-search__pagination-numbers {
  display: flex;
  align-items: center;
  gap: 5px;
}

.map-search__pagination-ellipsis {
  color: #666;
  padding: 0 5px;
  font-weight: 500;
}

.map-anchor-link {
  display: none;
}

/* Responsive pagination */
@media (max-width: 768px) {
  .map-search__pagination-controls {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
  }

  .map-search__pagination-numbers {
    order: 2;
  }

  .map-search__pagination-button {
    min-width: 35px;
    padding: 6px 10px;
    font-size: 13px;
  }
  .map-search {
    flex-wrap: wrap-reverse;
  }
  .map-search__grid-wrapper,
  .map-search__map {
    flex-basis: 100%;
  }
  .map-search__grid-item {
    flex-basis: 100%;
  }
  #map {
    scroll-margin-top: 96px;
  }
  .map-anchor-link {
    display: inline-block;
  }
  .map-search__grid-filters {
    gap: 4px;
  }
}
