/* The live forecast band. Home page only. */

.fc-live { text-align: left; padding: 40px 0; }
.fc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.fc-copy h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.12; }
.fc-live .fc-copy p { margin: 10px 0 18px; max-width: none; font-size: 1rem; text-wrap: pretty; }
.fc-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

.fc-panel { background: var(--navy); border-radius: 16px; padding: 16px 18px 12px; box-shadow: 0 16px 34px rgba(60, 22, 0, .35); }
/* .fc-live in front of these two: .cta-band p sets navy, which vanished on this panel. */
.fc-live .fc-panel-title { color: #cfe0ee; font-size: .9rem; font-weight: 700; margin: 0 0 24px; }
.fc-bars { --fc-h: 130px; position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.fc-bar { min-width: 0; text-align: center; }
.fc-track { position: relative; height: var(--fc-h); }
.fc-fill {
  position: absolute; left: 3px; right: 3px; bottom: 0; min-height: 22px; border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, #ffb27d 0%, var(--orange) 100%);
}
.fc-bar.is-freeze .fc-fill { background: linear-gradient(180deg, #d4f0ff 0%, #6ec4f5 100%); }
.fc-bar.is-hot .fc-fill { background: linear-gradient(180deg, #ff9c6e 0%, #e0431a 100%); }
.fc-fill span {
  position: absolute; top: -21px; left: 0; right: 0; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
}
.fc-day { color: #cfe0ee; font-size: .78rem; font-weight: 600; padding-top: 6px; white-space: nowrap; }
.fc-day i { font-style: normal; color: #9fdcff; }

/* An overlay the height of the bar track, so the freezing line lines up with the
   bars and ignores the day labels underneath them. */
.fc-freeze { position: absolute; left: 0; right: 0; top: 0; height: var(--fc-h); pointer-events: none; z-index: 1; }
.fc-freeze span {
  position: absolute; left: 0; right: 0; border-top: 1.5px dashed #9fdcff;
  color: #9fdcff; font-size: .68rem; font-weight: 700; text-align: right; line-height: 1.5;
}
.fc-freeze em { font-style: normal; background: var(--navy); padding: 0 5px; border-radius: 0 0 4px 4px; }
.fc-live .fc-credit { color: #a9bccd; font-size: .72rem; margin: 8px 0 0; max-width: none; }

@media (max-width: 820px) {
  .fc-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fc-live { padding: 30px 0; }
  .fc-bars { --fc-h: 100px; }
  /* The chart is the hook, so it leads on a phone rather than sitting under the copy. */
  .fc-panel { order: -1; }
  .fc-day { font-size: .72rem; }
  .fc-fill span { font-size: .84rem; }
}
