.location-container {
  max-width: 1400px;
  margin-top: -80px;
  padding: 100px 150px;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 1000;
}

@media (max-width: 768px) {
  .location-container {
    max-width: 100%;
    padding: 15px;
    margin-top: 0px;
  }
}
.location-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.specialist-advisor-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.advisor-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: calc(50% - 20px);
  max-width: 380px;
  background-color: #eef2fa;
  padding: 0;
  padding-bottom: 0;
  box-sizing: border-box;
  transition: transform 0.3s;
  overflow: hidden;
  min-height: 180px;
}

.advisor-content {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  font-family: 'Maven Pro', sans-serif;
}

.advisor-photo-container {
  flex-shrink: 0;
}

.advisor-photo {
  width: 100px;
  height: 140px;
  object-fit: cover;
}

.advisor-info {
  margin-left: 16px;
  text-align: left;
  flex: 1;
}

.advisor-name, .advisor-telephone, .advisor-mobile {
  margin: 5px 0;
  font-size: 1rem;
}

.advisor-email {
  display: block;
  width: 100%;
  padding: 5px;
  background-color: #373e4c;
  color: #fff !important;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  margin-top: auto;
  box-sizing: border-box;
  background-color: #8d0303;
}
.advisor-email:hover {
  background-color: #8d0303;
  color: #fff;
}

@media (max-width: 768px) {
  .specialist-advisor-container {
    flex-direction: column;
  }
  .advisor-card {
    width: 100%;
  }
}
.icon {
  width: 15px;
  height: 15px;
  vertical-align: middle;
  margin-right: 8px;
}

.opening-hours-title {
  font-size: 1.25rem;
  margin-top: 40px;
  text-align: left;
  font-weight: normal;
}
.opening-hours-title::after {
  content: "";
  display: block;
  height: 2px;
  background-color: #8d0303;
  width: 100%;
  margin-top: 5px;
}

.opening-hours-container {
  display: flex;
  margin-top: 10px;
  text-align: left;
}

.opening-hours-left, .opening-hours-right, .opening-hour-text {
  text-align: left;
  flex: 1;
  box-sizing: border-box;
  margin-bottom: 14.4px;
}

.map-location-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

#map {
  width: 100%;
  height: 500px;
  max-height: 500px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.map-container {
  width: 100vw;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

body.single-location #map, body.shortcode-map #map {
  width: 100vw !important;
  height: 500px;
  max-width: none;
}

body.single-location .map-container, body.shortcode-map .map-container {
  width: 100vw;
  max-width: 100%;
  padding: 0;
}

.leaflet-popup-content-wrapper {
  max-width: 1000px;
  width: 140%;
  background-color: #eef2fa !important;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px;
  box-sizing: border-box;
  overflow: hidden;
}

.leaflet-popup.leaflet-zoom-animated {
  overflow: unset;
}

@media (max-width: 768px) {
  .leaflet-popup-content-wrapper {
    overflow: scroll;
  }
}
.leaflet-popup-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Maven Pro', sans-serif;
  font-size: 14px;
  color: #333;
}

.leaflet-popup-close-button {
  color: #333;
  right: -130px !important;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}
.leaflet-popup-close-button:hover {
  color: #8d0303;
}

.location-card {
  display: flex;
  flex-direction: column;
  width: 145%;
  max-width: 1000px;
  margin: 20px auto;
  background-color: #eef2fa;
}
.location-card .location-card-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}
.location-card .location-photo-container {
  flex-shrink: 0;
  margin-right: 20px;
}
.location-card .location-photo-container .location-photo {
  width: 100px;
  height: auto;
  border-radius: 4px;
}
.location-card .location-info {
  flex: 1;
  text-align: left;
}
.location-card .location-info .location-name {
  margin: 0 0 8px;
  font-size: 18px;
  color: #333;
}
.location-card .location-info .location-address,
.location-card .location-info .location-city,
.location-card .location-info .location-telephone,
.location-card .location-info .location-fax,
.location-card .location-info .location-email {
  margin: 4px 0;
  font-size: 14px;
  color: #666;
}
.location-card .location-email a {
  text-decoration: none;
  color: inherit;
}
.location-card .location-email a:hover {
  color: #8d0303;
}

.additional-content {
  text-align: left;
  margin-top: 2px;
  line-height: 1.2;
  font-family: 'Maven Pro', sans-serif;
}
.additional-content h3 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: bold;
}
.additional-content p {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.location-card .location-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.location-card .btn {
  flex: 1;
  display: block;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: normal;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  background-color: #8d0303;
  color: #fff;
}

.location-card .btn:hover,
.location-card .btn:focus {
  background-color: #8d0303;
  color: #fff;
}

.location-card .callback-button,
.location-card .on-site-button {
  background-color: #8d0303;
  color: #fff;
}
