.single-location-header {
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px 20px 40px;
}

.single-location-header-shadow {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.single-location-header-details {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 1000px;
  width: 100%;
  padding: 0 20px;
}

.single-location-header-details h1 {
  color: #4eafd5;
  font-family: "Montserrat";
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 15px;
}

.single-location-header-details h2 {
  font-family: "Montserrat";
  font-size: 20px;
  margin: 0 0 15px;
}

.location-description {
  font-size: 14px;
  max-width: 700px;
  margin: 0 auto 15px;
  margin-top: 20px;
}

.single-location-icon {
  font-size: 16px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  text-decoration: underline;
  margin: 10px 0 20px;
  gap: 10px;
}

.single-location-icon img {
  width: 28px;
  height: 28px;
}

.current-swim-conditions {
  margin: 25px auto;
  width: 100%;
  max-width: 900px;
}

.c-swim-conditions-table {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px; /* yan yana boşluk */
}

.c-swim-conditions-table-el {
  display: flex;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 14px 20px;
  border-radius: 16px;
  flex: 1 1 260px;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  margin: 8px 0;   /* üst–alt margin eklendi */
}

.c-swim-conditions-table-el--blue {
  background-color: rgba(78, 175, 213, 0.35);
}

.c-table-row-el--label {
  font-size: 14px;
  color: #76c7e7;
}

.c-table-row-el--value {
  font-weight: 700;
  margin-left: 6px;
}

.select-metrics {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0 0;
  padding: 0;
}

.select-metrics li {
  border-bottom: 3px solid #fff;
  padding-bottom: 4px;
}

.select-metrics li a {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.select-metrics li.active {
  border-bottom: 3px solid #76c7e7 !important;
}

.select-metrics li.active a {
  color: #76c7e7 !important;
}

/* Mobile */
@media (max-width: 767.98px) {
  .single-location-header {
    padding: 40px 15px 50px;
  }

  .single-location-header-details h1 {
    font-size: 26px;
    margin-bottom: 12px;
  }

  .single-location-header-details h2 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .location-description {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .single-location-icon {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .c-swim-conditions-table-el {
    flex: 1 1 100%;
  }
}

.graph-img {
  margin-top: 50px;
  margin-bottom: 50px;;
}

/* Tablets */
@media (min-width: 768px) and (max-width: 991.98px) {
  .single-location-header-details h1 {
    font-size: 32px;
  }

  .c-swim-conditions-table-el {
    flex: 1 1 45%;
  }
}
