/**
 * INFOS NEIGE — Météo (#weather-section)
 * JS associé : infos_neige_meteo.js
 */

.mod_infos_neige #weather-section .weather_zone_list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.mod_infos_neige #weather-section .weather_zone_name {
  margin-bottom: 30px;
  text-align: center;
}

/* Matin | Après-midi */
.mod_infos_neige #weather-section .weather_details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.mod_infos_neige #weather-section .weather_period {
  text-align: center;
}

.mod_infos_neige #weather-section .weather_period:first-of-type {
  border-right: 1px solid var(--in-border);
}

.mod_infos_neige #weather-section .period_indication {
  margin-bottom: 30px;
}

.mod_infos_neige #weather-section .temperature {
  position: relative;
  margin-top: 30px;
  font-size: 28px;
  font-weight: bold;
}

.mod_infos_neige #weather-section .temperature span {
  position: absolute;
  top: 0;
  font-size: 12px;
  font-weight: normal;
}

.mod_infos_neige #weather-section .date_maj {
  font-size: 12px;
}

@media screen and (max-width: 500px) {
  .mod_infos_neige #weather-section .weather_zone_item {
    width: 75%;
    margin: auto;
    padding: 15px;
    border: 1px solid #6c7c97;
  }

  .mod_infos_neige #weather-section .weather_zone_name {
    font-size: 22px;
    font-weight: bold;
  }

  .mod_infos_neige #weather-section .weather_details {
    grid-template-columns: 1fr;
    grid-gap: 30px;
  }

  .mod_infos_neige #weather-section .weather_period:first-of-type {
    border-right: none;
  }

  .mod_infos_neige #weather-section .period_indication {
    margin-bottom: 0;
    font-weight: bold;
  }

  .mod_infos_neige #weather-section .temperature {
    margin-top: 0;
    padding-bottom: 10px;
  }

  .mod_infos_neige #weather-section .date_maj {
    font-size: 9px;
  }
}
