.nww-primary-weather {
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(0, 4fr);
  gap: 10px;
  width: 100%;
  margin: 0 0 12px;
  align-items: stretch;
  letter-spacing: 0;
}

.entry-content > p:has(+ .nww-primary-weather) {
  margin-bottom: 10px !important;
}

.nww-primary-weather > .newcastle-weather-widget-nosnippet,
.nww-primary-weather > .newcastle-weather-widget-nosnippet > iframe {
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
}

.nww-primary-forecast {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "copy range";
  gap: 14px;
  align-items: start;
  min-width: 0;
  min-height: 132px;
  height: 100%;
  margin: 0;
  padding: 13px 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-left: 5px solid #ffd24a;
  border-radius: 8px;
  background: #1176d8;
  color: #ffffff;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  box-shadow: none;
}

.nww-primary-forecast::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 53, 111, 0.96) 0, rgba(17, 118, 216, 0.9) 58%, rgba(17, 118, 216, 0.72) 100%);
  pointer-events: none;
}

.nww-primary-forecast__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nww-primary-forecast__copy {
  grid-area: copy;
  min-width: 0;
}

.nww-primary-forecast__kicker {
  margin: 0 0 5px !important;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffd24a;
  font: inherit;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

.nww-primary-forecast__headline {
  margin: 0 !important;
  color: #ffffff;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: 0;
}

.nww-primary-forecast__description {
  margin: 6px 0 0 !important;
  color: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: 0;
}

.nww-primary-forecast__range {
  grid-area: range;
  display: flex;
  align-items: baseline;
  gap: 4px;
  justify-self: end;
  align-self: center;
  margin: 0 !important;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(0, 42, 91, 0.28);
  color: #ffffff;
  font: inherit;
  white-space: nowrap;
}

.nww-primary-forecast__range strong {
  color: inherit;
  font-size: 2.15rem;
  font-weight: 760;
  line-height: 1;
}

.nww-primary-forecast__range > span:last-child {
  color: inherit;
  font-size: 0.9rem;
  font-weight: 700;
}

.nww-primary-weather.is-fallback {
  display: block;
}

.nww-primary-weather.is-fallback .nww-primary-forecast {
  display: none;
}

@media (min-width: 1021px) {
  .nww-primary-weather > .newcastle-weather-widget-nosnippet {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .nww-primary-weather > .newcastle-weather-widget-nosnippet > iframe {
    flex: 1 0 auto;
  }
}

@media (max-width: 1020px) {
  .nww-primary-weather {
    grid-template-columns: minmax(0, 1fr);
  }

  .nww-primary-forecast {
    min-height: 154px;
  }
}

@media (max-width: 520px) {
  .nww-primary-forecast {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "range";
    align-items: start;
  }

  .nww-primary-forecast__range {
    justify-self: start;
  }
}
