/* Match the specificity of the captured site reset inside the weather page. */
#content #airport-weather {
  --wx-text: #17261e;
  --wx-muted: #536359;
  --wx-line: #e3eae1;
  --wx-surface: #f4f7f1;
  --wx-accent: #34703c;
  color: var(--wx-text);
}
#content #airport-weather .wx-heading { margin-bottom: 28px; }
#content #airport-weather .wx-heading .wx-location {
  color: #3b6541;
  font-size: .875rem;
  font-weight: 700;
  margin: 0 0 7px;
}
#content #airport-weather .wx-heading h1 { margin-bottom: 8px; }
#content #airport-weather .wx-heading h1 + p { font-size: .875rem; }
#content #airport-weather h2,
#content #airport-weather h3 { color: inherit; line-height: 1.2; }
#content #airport-weather h2 { font-size: clamp(21px, 2.25vw, 27px); margin: 0; font-weight: 700; }
#content #airport-weather .wx-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
  align-items: start;
  gap: 20px;
}
#content #airport-weather .wx-current, #content #airport-weather .wx-outlook { min-width: 0; }
#content #airport-weather .wx-outlook { display: grid; gap: 20px; }
#content #airport-weather .wx-observation {
  color: #f5faef;
  background: radial-gradient(ellipse at 100% 15%, #38734b, transparent 65%), linear-gradient(125deg, #162f26, #245039);
  border-radius: 24px;
  padding: clamp(20px, 3vw, 34px);
  overflow: hidden;
}
#content #airport-weather .wx-observation-label,
#content #airport-weather .wx-observed-time {
  margin: 0;
  color: #dfeddd;
  font-size: .875rem;
}
#content #airport-weather .wx-observation-label { margin-bottom: 8px; }
#content #airport-weather .wx-observed-time { margin-top: 18px; }
#content #airport-weather .wx-now {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 0;
}
#content #airport-weather .wx-temperature {
  display: block;
  font-size: clamp(50px, 6vw, 86px);
  line-height: 1.02;
  letter-spacing: -.065em;
  font-weight: 700;
  white-space: nowrap;
}
#content #airport-weather .wx-now p { margin: 8px 0 0; font-size: 1.0625rem; }
#content #airport-weather .wx-now > svg {
  flex: 0 0 auto;
  width: clamp(58px, 8vw, 106px);
  height: auto;
  color: #cceba3;
  stroke-width: 1.25;
}
#content #airport-weather .wx-summary {
  margin: 14px 0;
  padding: 0 2px;
  color: var(--wx-muted);
  line-height: 1.5;
  font-size: .875rem;
}
#content #airport-weather .wx-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
#content #airport-weather .wx-metrics > div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--wx-line);
  background: var(--wx-surface);
  border-radius: 12px;
}
#content #airport-weather .wx-metrics dt,
#content #airport-weather .wx-metrics small {
  display: block;
  color: var(--wx-muted);
  font-size: .8125rem;
  line-height: 1.35;
  font-weight: 400;
}
#content #airport-weather .wx-metrics dd {
  margin: 4px 0 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
#content #airport-weather .wx-metrics small { margin-top: 4px; }
#content #airport-weather .wx-model { margin-top: 18px; }
#content #airport-weather .wx-model h3 { margin: 0; font-weight: 700; font-size: 1rem; }
#content #airport-weather .wx-model > p, #content #airport-weather .wx-panel-header > p {
  margin: 3px 0 9px;
  color: var(--wx-muted);
  font-size: .8125rem;
}
#content #airport-weather .wx-model a, #content #airport-weather .wx-panel-header a, #content #airport-weather .wx-sources a {
  text-decoration: underline;
  text-underline-offset: .16em;
}
#content #airport-weather .wx-panel {
  min-width: 0;
  border: 1px solid var(--wx-line);
  border-radius: 24px;
  padding: 20px clamp(14px, 2vw, 24px);
  background: #fff;
}
#content #airport-weather .wx-panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 3px 14px;
  margin-bottom: 12px;
}
#content #airport-weather .wx-panel-header > p { margin: 0; }
#content #airport-weather .wx-source-note {
  margin: 0 0 10px;
  color: var(--wx-muted);
  font-size: .8125rem;
}
#content #airport-weather .wx-alert {
  color: #654517;
  background: #fff1d5;
  border-radius: 8px;
  margin: 12px 0;
  font-size: .875rem;
  padding: 9px 12px;
}
#content #airport-weather .wx-observation .wx-alert:last-child { margin-bottom: 0; }
#content #airport-weather .wx-empty { color: var(--wx-muted); margin: 0; font-size: .9375rem; }
#content #airport-weather .wx-graph {
  margin: 0 0 10px;
  background: var(--wx-surface);
  border-radius: 12px;
  padding: 9px 10px 5px;
}
#content #airport-weather .wx-graph figcaption { color: var(--wx-muted); font-size: .8125rem; }
#content #airport-weather .wx-graph svg { display: block; width: 100%; height: auto; }
#content #airport-weather .wx-graph-grid path { fill: none; stroke: #d1decf; vector-effect: non-scaling-stroke; }
#content #airport-weather .wx-graph-grid text { fill: var(--wx-muted); font-size: 15px; }
#content #airport-weather .wx-graph-line { fill: none; stroke: #437d47; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
#content #airport-weather .wx-graph-dots { fill: #437d47; }
#content #airport-weather .wx-hours-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-color: #759180 var(--wx-surface);
  padding-bottom: 6px;
}
#content #airport-weather .wx-hours-scroll:focus-visible { outline: 2px solid var(--wx-accent); outline-offset: 2px; border-radius: 5px; }
#content #airport-weather .wx-hours, #content #airport-weather .wx-days { list-style: none; margin: 0; padding: 0; }
#content #airport-weather .wx-hours {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 116px;
  gap: 6px;
}
#content #airport-weather .wx-hours li {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto auto auto;
  align-items: center;
  justify-items: center;
  gap: 4px;
  padding: 8px 6px;
  border-radius: 10px;
  background: var(--wx-surface);
  text-align: center;
  scroll-snap-align: start;
  font-size: .875rem;
}
#content #airport-weather .wx-hours time, #content #airport-weather .wx-days time { font-variant-numeric: tabular-nums; }
#content #airport-weather .wx-hours time { font-size: .9375rem; font-weight: 700; line-height: 1.3; }
#content #airport-weather .wx-hours time small, #content #airport-weather .wx-days time small { display: block; color: var(--wx-muted); font-size: .75rem; font-weight: 400; }
#content #airport-weather .wx-hour-date-muted { visibility: hidden; }
#content #airport-weather .wx-hours .wx-icon, #content #airport-weather .wx-days .wx-icon { color: var(--wx-accent); flex-shrink: 0; }
#content #airport-weather .wx-condition { font-size: .8125rem; line-height: 1.25; overflow-wrap: anywhere; }
#content #airport-weather .wx-hourly-wind, #content #airport-weather .wx-hourly-amount { color: var(--wx-muted); font-size: .8125rem; }
#content #airport-weather .wx-probability { display: inline-flex; align-items: center; gap: 4px; color: #315c71; font-size: .8125rem; }
#content #airport-weather .wx-drop { flex: none; }
#content #airport-weather .wx-days li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(94px, 1fr) minmax(125px, 1.5fr) minmax(52px, .65fr) minmax(92px, 1fr);
  align-items: center;
  gap: 8px;
  padding: 10px 2px;
  border-top: 1px solid var(--wx-line);
  font-size: .875rem;
}
#content #airport-weather .wx-daily-condition { display: flex; align-items: center; gap: 7px; line-height: 1.3; overflow-wrap: anywhere; }
#content #airport-weather .wx-range { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1px 8px; text-align: right; }
#content #airport-weather .wx-range > span { color: var(--wx-muted); }
#content #airport-weather .wx-sources {
  margin-top: 12px;
  color: var(--wx-muted);
  font-size: .875rem;
}
#content #airport-weather .wx-sources-toggle {
  display: grid;
  width: 44px;
  min-height: 44px;
  margin: 0 auto;
  place-items: center;
  list-style: none;
  color: var(--wx-accent);
  border-radius: 9px;
  cursor: pointer;
}
#content #airport-weather .wx-sources-toggle::marker { content: ''; }
#content #airport-weather .wx-sources-toggle::-webkit-details-marker { display: none; }
#content #airport-weather .wx-sources-toggle:hover { background: var(--wx-surface); }
#content #airport-weather .wx-sources-toggle:focus-visible { outline: 2px solid var(--wx-accent); outline-offset: 2px; }
#content #airport-weather .wx-sources[open] .wx-sources-toggle svg { transform: rotate(180deg); }
#content #airport-weather .wx-sources:not([open]) .wx-sources-content { display: none; }
#content #airport-weather .wx-sources-content {
  max-width: 75ch;
  margin: 8px auto 0;
  padding: 18px clamp(14px, 3vw, 28px);
  border-top: 1px solid var(--wx-line);
}
#content #airport-weather .wx-sources h2 { color: var(--wx-text); font-size: 18px; }
#content #airport-weather .wx-sources ul { margin: 9px 0; padding: 0; list-style: none; }
#content #airport-weather .wx-sources p { margin: 8px 0; }
#content #airport-weather .wx-travel { margin-top: clamp(34px, 5vw, 68px); text-align: center; }
#content #airport-weather .wx-travel h2 { font-size: clamp(25px, 3vw, 36px); }
#content #airport-weather .wx-travel ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
#content #airport-weather .wx-travel li a {
  display: inline-flex;
  min-height: 54px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wx-line);
  border-radius: 12px;
  font-size: clamp(1rem, 1.45vw, 1.125rem);
  font-weight: 700;
}
#content #airport-weather .wx-travel a:hover { background: var(--wx-surface); }
#content #airport-weather .wx-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 920px) {
  #content #airport-weather .wx-dashboard { grid-template-columns: minmax(0, 1fr); }
  #content #airport-weather .wx-metrics { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
}
@media (max-width: 520px) {
  #content #airport-weather .wx-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #content #airport-weather .wx-days li { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; }
  #content #airport-weather .wx-days .wx-daily-condition { grid-row: 2; }
  #content #airport-weather .wx-days .wx-probability { grid-row: 2; justify-self: end; }
  #content #airport-weather .wx-days .wx-range { grid-row: 1; grid-column: 2; }
  #content #airport-weather .wx-graph-grid text { font-size: 21px; }
  #content #airport-weather .wx-travel ul { display: grid; width: min(100%, 320px); margin-inline: auto; }
  #content #airport-weather .wx-travel li a { width: 100%; }
}
