.wc-page {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.25rem 0 4rem;
}

.wc-back {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  text-decoration: none;
  opacity: 0.85;
}

.wc-back:hover {
  opacity: 1;
  text-decoration: underline;
}

.wc-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0 0 0.5rem;
}

.wc-page h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  line-height: 1.15;
}

.wc-intro {
  max-width: 68ch;
  margin: 0 0 1.75rem;
  opacity: 0.88;
  line-height: 1.6;
}

.wc-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.5rem;
}

.wc-select-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 240px;
}

.wc-select-wrap label {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}

.wc-select-wrap select {
  font: inherit;
  font-size: 1rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 18, 34, 0.55);
  color: inherit;
  cursor: pointer;
}

.wc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.86rem;
  opacity: 0.82;
}

.wc-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.35rem;
  margin-bottom: 1.65rem;
  align-items: stretch;
}

@media (max-width: 920px) {
  .wc-hero-grid {
    grid-template-columns: 1fr;
  }
}

.wc-summary-card {
  padding: 1.45rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.wc-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0 0 0.35rem;
}

.wc-summary-card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
}

.wc-narrative {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.68;
}

.wc-narrative p {
  margin: 0;
}

.wc-map-card {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wc-map-card h2 {
  margin: 0;
  font-size: 1.15rem;
}

.wc-day-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.wc-day-pill {
  font: inherit;
  font-size: 0.76rem;
  padding: 0.26rem 0.56rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 23, 42, 0.45);
  color: inherit;
  opacity: 0.8;
  cursor: pointer;
  transition: border-color 0.15s, opacity 0.15s, background 0.15s;
}

.wc-day-pill:hover {
  border-color: rgba(94, 234, 212, 0.5);
  opacity: 1;
}

.wc-day-pill.active {
  background: rgba(94, 234, 212, 0.18);
  border-color: rgba(94, 234, 212, 0.85);
  color: #5eead4;
  opacity: 1;
  font-weight: 600;
}

.wc-map-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 270px;
  border-radius: 0.75rem;
  background: rgba(7, 13, 26, 0.36);
  border: 1px solid rgba(148, 184, 255, 0.16);
  overflow: hidden;
}

.wc-map-stage svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wc-map-hint {
  margin: 0;
  font-size: 0.76rem;
  opacity: 0.72;
}

.wc-cities-heading {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.wc-cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(325px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.wc-city-card {
  padding: 1.2rem 1.25rem;
}

.wc-city-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 0.75rem;
}

.wc-city-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.wc-city-coords {
  font-size: 0.74rem;
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}

.wc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}

.wc-table th,
.wc-table td {
  padding: 0.46rem 0.3rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: middle;
}

.wc-table th {
  font-weight: 600;
  opacity: 0.76;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.wc-table tbody tr {
  cursor: pointer;
  transition: background 0.14s;
}

.wc-table tbody tr:last-child td {
  border-bottom: none;
}

.wc-table tbody tr:hover {
  background: rgba(96, 165, 250, 0.1);
}

.wc-table tbody tr.is-selected-day {
  background: rgba(94, 234, 212, 0.12);
}

.wc-td-date {
  white-space: nowrap;
  font-weight: 500;
}

.wc-td-icon {
  width: 28px;
  text-align: center;
}

.wc-temp-cell {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  min-width: 128px;
}

.wc-temp-val {
  width: 2.55rem;
  font-size: 0.79rem;
}

.wc-temp-val.min {
  text-align: right;
  color: #93c5fd;
}

.wc-temp-val.max {
  text-align: left;
  color: #fde68a;
  font-weight: 600;
}

.wc-temp-track {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.wc-temp-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #fbbf24);
}

.wc-precip-cell {
  min-width: 64px;
}

.wc-precip-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wc-precip-text {
  font-size: 0.78rem;
  color: #bae6fd;
}

.wc-precip-text.dry {
  opacity: 0.58;
}

.wc-precip-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.wc-precip-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #60a5fa);
}

.wc-wind-pill {
  display: inline-block;
  padding: 0.14rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.08);
}

.wc-wind-pill.breezy {
  background: rgba(167, 139, 250, 0.22);
  color: #ddd6fe;
}

.wc-wind-pill.windy {
  background: rgba(251, 191, 36, 0.22);
  color: #fde68a;
}

.wc-disclaimer {
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
  border-left: 3px solid rgba(255, 196, 87, 0.75);
}

.wc-disclaimer h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.wc-disclaimer p {
  margin: 0;
  line-height: 1.6;
}

.wc-source {
  font-size: 0.84rem;
  opacity: 0.78;
  line-height: 1.55;
  margin: 0.5rem 0 0;
}
