.komiza-weather-widget {
  color: #262626;
}

.komiza-weather-widget p {
  margin: 0 0 5px;
}

.komiza-weather-widget p.description {
  font-size: 20px;
  text-transform: lowercase;
}

.komiza-weather-widget p.description::first-letter {
  text-transform: uppercase;
}

.komiza-weather-widget .date {
  width: 100%;
  font-weight: 700;
  font-size: 15px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.komiza-weather-heading {
  margin-bottom: 18px;
}

.komiza-weather-heading h2 {
  margin-top: 0;
}

.komiza-weather-updated {
  color: #777;
  font-size: 13px;
}

.komiza-weather-stale {
  display: inline-block;
  margin-left: 6px;
  color: #8a5a00;
  font-weight: 600;
}

.komiza-weather-widget .numbers {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.komiza-weather-widget .numbers .temp {
  font-weight: 300;
  font-size: 60px;
  line-height: 1;
}

.komiza-weather-widget .numbers .temp .unit {
  font-weight: 500;
  font-size: 40px;
  vertical-align: super;
}

.komiza-weather-widget .numbers .icon > img {
  width: 120px;
  height: auto;
}

.komiza-weather-widget .komiza-weather-current .temp {
  order: 1;
}

.komiza-weather-widget .komiza-weather-current .icon {
  order: 2;
}

.komiza-weather-widget .komiza-weather-current .komiza-weather-measurements {
  flex: 1 1 220px;
  order: 3;
}

.komiza-weather-measurements {
  min-width: 210px;
}

.komiza-weather-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.komiza-weather-row .cc-wind-rose-arrow {
  transform-origin: center;
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 auto;
}

.komiza-weather-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: #777;
  font-size: 13px;
  margin-top: 8px !important;
}

.komiza-weather-muted {
  color: #777;
  font-size: 13px;
}

.komiza-weather-widget .hourly,
.komiza-weather-forecast {
  display: grid;
  grid-template-columns: repeat(4, minmax(105px, 1fr));
  gap: 14px;
  margin: 22px 0 20px;
}

.komiza-weather-forecast-day {
  text-align: center;
}

.komiza-weather-forecast-day img {
  width: 80px;
  height: auto;
}

.komiza-weather-forecast-day .komiza-weather-row {
  justify-content: center;
  line-height: 1.35;
}

.komiza-weather-forecast-day .cc-wind-rose-arrow {
  width: 30px;
  height: 30px;
}

.komiza-weather-widget .weather-alerts-wrapper {
  margin-top: 25px;
  clear: both;
}

.komiza-weather-widget .weather-alert {
  padding: 14px 18px;
  margin-top: 10px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}

.komiza-weather-widget .weather-alert p {
  margin: 0;
}

.komiza-weather-widget .weather-alert-title {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px !important;
  letter-spacing: 0.03em;
  font-size: 12px;
  font-family: monospace;
}

.komiza-weather-widget .weather-alert-meta {
  margin-bottom: 6px !important;
  font-size: 13px;
  opacity: 0.85;
}

.komiza-weather-widget .weather-alert-yellow {
  background-color: #f5efc9;
  color: #262626;
  border-left: 6px solid #f5f908;
}

.komiza-weather-widget .weather-alert-orange {
  background-color: #f7dbbd;
  color: #000;
  border-left: 6px solid #ff7c00;
}

.komiza-weather-widget .weather-alert-red {
  background-color: #f9dbdd;
  color: #000;
  border-left: 6px solid #a8071a;
  font-weight: 600;
}

.komiza-weather-error,
.komiza-weather-admin-warning {
  padding: 12px 14px;
  border-left: 4px solid #d63638;
  background: #fff1f1;
  color: #262626;
}

.komiza-weather-admin-warning {
  margin-top: 18px;
}

@media screen and (min-width: 992px) {
  .komiza-weather-widget {
    padding-right: 40px;
  }
}

@media screen and (max-width: 700px) {
  .komiza-weather-widget .hourly,
  .komiza-weather-forecast {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .komiza-weather-widget .numbers {
    align-items: flex-start;
  }
}

@media screen and (max-width: 420px) {
  .komiza-weather-widget .hourly,
  .komiza-weather-forecast {
    grid-template-columns: 1fr;
  }

  .komiza-weather-widget .numbers .temp {
    font-size: 52px;
  }
}
