/* Optional article tools. Loaded only by pages that use these components. */
.j-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.j-reading-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 90;
  pointer-events: none;
  background: transparent;
}
.j-reading-progress[hidden], .j-weather-picker[hidden] { display: none; }
.j-reading-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--j-accent, #ff4b2b);
  transform: scaleX(0);
  transform-origin: left;
}
.j-weather-picker {
  margin: 30px 0 18px;
  padding: 26px;
  border: 1px solid var(--j-line, #c8c8c2);
  background: var(--j-surface, #f2f1eb);
  color: var(--j-ink, #191917);
}
.j-weather-picker .j-tool-eyebrow {
  margin: 0 0 8px;
  color: var(--j-link, #be341b);
  font: 600 12px/1.6 var(--j-body, Arial, sans-serif);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.j-weather-picker h3 {
  margin: 0 0 10px;
  font: 400 34px/1.1 var(--j-display, Georgia, serif);
}
.j-weather-picker .j-weather-hint {
  margin: 0 0 22px;
  color: var(--j-muted, #62635d);
  font: 400 14px/1.7 var(--j-body, Arial, sans-serif);
}
.j-months {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(44px, 3.6em), 1fr));
  gap: 5px;
  font-size: 12px;
}
.j-weather-picker .j-month {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  min-height: 84px;
  padding: 6px 2px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--j-ink, #191917);
  cursor: pointer;
  font: 500 1em/1.5 var(--j-body, Arial, sans-serif);
}
.j-month-swatch {
  display: block;
  width: 100%;
  height: 36px;
  background: #e2dfd0;
  border: 1px solid rgba(25, 25, 23, .08);
}
.j-month[data-rain-band="2"] .j-month-swatch { background: #edcbb6; }
.j-month[data-rain-band="3"] .j-month-swatch { background: #edb29d; }
.j-month[data-rain-band="4"] .j-month-swatch { background: #ef8f78; }
.j-month[data-rain-band="5"] .j-month-swatch { background: #d94025; }
.j-month-rain { font-size: 10px; color: #50514c; }
.j-month[aria-pressed="true"] {
  border-color: var(--j-ink, #191917);
  background: var(--j-paper, #fffefa);
  font-weight: 700;
}
.j-month:hover .j-month-swatch { outline: 1px solid var(--j-ink, #191917); }
.j-weather-picker :is(button, a):focus-visible,
.j-climate-table summary:focus-visible,
.j-related-cards a:focus-visible {
  outline: 3px solid var(--j-link, #be341b);
  outline-offset: 3px;
}
.j-weather-picker .j-weather-legend {
  margin: 12px 0 22px;
  font: 400 12px/1.6 var(--j-body, Arial, sans-serif);
  color: var(--j-muted, #62635d);
}
.j-weather-result { padding-top: 22px; border-top: 1px solid var(--j-line, #c8c8c2); }
.j-weather-result .j-weather-month {
  margin: 0 0 18px;
  font: 400 32px/1.15 var(--j-display, Georgia, serif);
}
.j-weather-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0 0 18px; }
.j-weather-metrics div { min-width: 0; }
.j-weather-metrics dt { margin: 0 0 6px; color: var(--j-muted, #62635d); font: 400 13px/1.6 var(--j-body, Arial, sans-serif); }
.j-weather-metrics dd { margin: 0; font: 400 30px/1.2 var(--j-display, Georgia, serif); }
.j-weather-picker .j-weather-comment { margin: 0; font: 400 16px/1.75 var(--j-body, Arial, sans-serif); }
.j-weather-detail { display: inline-block; margin-top: 16px; font: 600 14px/1.7 var(--j-body, Arial, sans-serif); text-underline-offset: 4px; }
.j-weather-picker .j-weather-period { margin: 20px 0 0; font: 400 12px/1.7 var(--j-body, Arial, sans-serif); color: var(--j-muted, #62635d); }
.j-climate-table { margin: 18px 0 30px; border-bottom: 1px solid var(--j-line, #c8c8c2); padding-bottom: 18px; }
.j-climate-table summary { cursor: pointer; padding: 10px 0; font: 600 15px/1.7 var(--j-body, Arial, sans-serif); text-underline-offset: 4px; }
.j-climate-table .j-table-wrap { margin: 14px 0 10px; }
.j-related-cards ul.j-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.j-related-cards ul.j-related-grid > li { min-width: 0; margin: 0; padding: 0; border: 0; }
.j-related-cards a.j-related-card { display: block; padding: 0; color: var(--j-ink, #191917); text-decoration: none; height: 100%; }
.j-related-cards a.j-related-card::after { content: none; }
.j-related-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; margin: 0 0 16px; }
.j-related-card-copy { display: block; padding-top: 14px; border-top: 1px solid var(--j-line, #c8c8c2); }
.j-related-card-kicker { display: block; margin: 0 0 8px; color: var(--j-link, #be341b); font: 600 11px/1.6 var(--j-body, Arial, sans-serif); letter-spacing: .07em; text-transform: uppercase; }
.j-related-card-title { display: block; margin: 0 0 10px; font: 400 26px/1.2 var(--j-display, Georgia, serif); }
.j-related-card-description { display: block; font: 400 14px/1.7 var(--j-body, Arial, sans-serif); color: var(--j-muted, #62635d); }
.j-related-card:hover .j-related-card-title { color: var(--j-link, #be341b); }
.j-related-card:hover img { filter: brightness(.95); }
@media (max-width: 767px) {
  .j-weather-picker { padding: 18px; margin-top: 24px; }
  .j-weather-picker h3 { font-size: 29px; }
  .j-months { gap: 7px; }
  .j-month { min-height: 84px; }
  .j-month-rain { font-size: 11px; }
  .j-weather-metrics { gap: 14px; }
  .j-weather-metrics dd { font-size: 28px; }
  .j-weather-picker .j-weather-comment { font-size: 15px; }
  .j-related-cards ul.j-related-grid { grid-template-columns: 1fr; gap: 22px; }
  .j-related-cards a.j-related-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: start; gap: 16px; }
  .j-related-card img { margin: 0; }
  .j-related-card-copy { padding-top: 10px; }
  .j-related-card-title { font-size: 24px; }
  .j-related-card-description { font-size: 13px; }
}
@media (max-width: 359px) {
  .j-weather-metrics { grid-template-columns: 1fr; gap: 14px; }
  .j-related-cards a.j-related-card { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
  .j-related-card-title { font-size: 22px; }
}
@media (forced-colors: active) {
  .j-month-swatch { border-color: CanvasText; }
  .j-month[aria-pressed="true"] { outline: 2px solid Highlight; }
}
