/* ==========================================================================
   Snow Report page-builder modules (page-builder/modules/snow_report_*.php) — TAM-124
   Figma: file ZV8KknluzCkU7CtZ2e9SQo, "Desktop - 28" (1005:24808),
          "iPhone 16 - 11" (997:6057).
   Azo Sans weights in fonts/fonts.css: 300 Light, normal Regular, 600 Medium, bold Bold.
   ========================================================================== */

.snow-report {
  --sr-black: #202020;
  --sr-heading: #212529;
  --sr-warm: #FAF8F5;
  --sr-line: #EFF0EF;
  --sr-muted: #757575;
  --sr-body: #585F5D;
  --sr-label: #6C757D;
  --sr-gold: #BF8D2C;
  --sr-avy-bg: #FCE5D8;
  --sr-avy-fg: #C95516;
  color: var(--sr-black);
  font-family: 'Azo Sans', sans-serif;
}

/* Reset the theme's global text styles (style.css: `p, ul, ol { color: #585F5D; font-weight: 300;
   line-height: 1.75 }`). :where() keeps this at single-class specificity so the component rules
   below still win. */
.snow-report :where(h2, h3, p, ul, dl, dd) {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* style.css forces `li span, p span { font-weight: 300 !important }`. */
.snow-report li span,
.snow-report p span {
  font-weight: normal !important;
}

.snow-report .sr-stat__value,
.snow-report .sr-patrol__avy span {
  font-weight: 600 !important;
}

/* Section titles ("FORECAST", "SNOW AND GROOMING REPORT") — .subhead-1 sizing. */
.snow-report .sr-heading {
  font-family: 'Azo Sans', sans-serif;
  font-size: 40px;
  font-weight: 600;
  font-style: normal;
  line-height: 40px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sr-heading);
}

/* Full container width (1230px) for blocks that span edge to edge in Figma. */
@media (min-width: 1200px) {
  .snow-report .sr-wide {
    margin-left: -15px;
    margin-right: -15px;
  }
}

/* --------------------------------------------------------------------------
   Summary: dark card + stat grid
   -------------------------------------------------------------------------- */
/* Theme sections carry global vertical margins (the hero overlay section has
   margin-bottom: 40px, sections get margin-top: 90px). Spacing here is all padding. */
.snow-report section {
  margin-top: 0;
  margin-bottom: 0;
}

/* Each page-builder module has its own .snow-report wrapper, so its <section> is
   :first-of-type and events.css's `section:first-of-type:not(…) { margin-top: 90px }`
   (180px ≤820px) would land on every module. The summary keeps its own !important rule. */
.snow-report > section {
  margin-top: 0 !important;
}

/* -40px cancels the hero overlay section's margin-bottom, so the summary's Spacing Top
   (default Small = 24px, Figma's gap between title box and card) is measured from the title box.
   !important beats the theme's `section:first-of-type:not(...) { margin-top: 90px !important }`. */
.snow-report .sr-summary {
  margin-top: -40px !important;
}

/* 6 equal columns (Figma 1439:10467): card spans 2 beside the 4×2 Summit/Mid grid,
   open counts take a full-width row below. */
.sr-summary__inner {
  display: grid;
  grid-template-columns: 2fr 4fr;
}

.sr-summary__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 24px;
  background: var(--sr-black);
  border: 1px solid var(--sr-warm);
  color: #fff;
}

.sr-summary__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.snow-report .sr-summary__title {
  font-family: 'Azo Sans', sans-serif;
  font-size: 24px;
  font-weight: 600;
  font-style: normal;
  line-height: 24px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
}

.sr-summary__updated {
  font-size: 16px;
  line-height: 20px;
}

.sr-summary__rule {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--sr-gold);
}

.sr-summary__total {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 16px;
}

.sr-summary__total img,
.sr-stat img {
  display: block;
  width: 16px;
  height: 16px;
}

.sr-summary__total-value {
  font-size: 48px;
  font-weight: 600;
  line-height: 36px;
}

.sr-summary__total-label {
  font-size: 16px;
  line-height: 16px;
}

.sr-stats {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sr-stats--snow {
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--sr-line);
}

.sr-stats--open {
  grid-column: 1 / -1;
  grid-template-columns: repeat(6, 1fr);
  border-left: 1px solid var(--sr-line);
}

.sr-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 125px;
  padding: 12px;
  background: #fff;
  border-right: 1px solid var(--sr-line);
  border-bottom: 1px solid var(--sr-line);
}

.sr-stats--open .sr-stat {
  background: var(--sr-warm);
}

.sr-stat__value {
  font-size: 24px;
  font-weight: 600;
  line-height: 22px;
}

.sr-stat__label {
  font-size: 16px;
  line-height: 16px;
  color: var(--sr-muted);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Forecast
   -------------------------------------------------------------------------- */
.sr-forecast__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
}

.sr-forecast__nav {
  display: none;
  gap: 8px;
}

.sr-forecast__arrow {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.sr-forecast__arrow img {
  display: block;
}

.sr-forecast__next img {
  transform: rotate(180deg);
}

/* OpenSnow attribution (required by their API terms, TAM-131): "Powered By" + logo
   under the heading, top left above the days (1439:10467);
   "View Forecast Details" below the days, left-aligned. */
.snow-report .sr-forecast__credit {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 16px;
  text-align: left;
  color: var(--sr-muted);
}

.sr-forecast__credit a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.sr-forecast__credit a:hover,
.sr-forecast__credit a:focus {
  color: var(--sr-black);
}

.sr-forecast__credit img {
  display: block;
  width: auto;
  height: 16px;
}

.sr-forecast__details,
.sr-report__cta {
  padding-top: 24px;
  text-align: left;
}

/* Same size as the patrol message button; wraps on narrow screens. */
.sr-forecast__details .btn,
.sr-report__cta .btn {
  min-width: 160px;
  max-width: 100%;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 16.8px;
  white-space: normal;
}

.sr-forecast__arrow.slick-disabled {
  opacity: .5;
  cursor: default;
}

.sr-forecast__days {
  display: flex;
}

.sr-day {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid var(--sr-line);
  border-left-width: 0;
  background: #fff;
}

.sr-day:first-child {
  border-left-width: 1px;
}

.sr-day__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  background: var(--sr-warm);
  border-bottom: 1px solid var(--sr-line);
  font-size: 16px;
  line-height: 12px; /* Figma trims 16px text to cap height (text-box-trim) */
  text-align: center;
}

.sr-day__date strong {
  font-weight: 600;
}

.sr-day__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 24px 0 16px;
}

.sr-day__condition {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 8px;
  font-size: 16px;
  line-height: 12px;
  color: var(--sr-body);
}

.sr-day__temp {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  padding-bottom: 8px;
  font-size: 60px;
  font-weight: 600;
  line-height: 44px;
}

.sr-day__temp sup {
  top: 0;
  font-size: 24px;
  font-weight: bold;
  line-height: 18px;
}

.sr-day__range,
.sr-day__wind {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 0 12px;
  font-size: 16px;
  line-height: 12px;
  color: var(--sr-muted);
}

.sr-day__range div,
.sr-day__wind div {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.sr-day__range dt,
.sr-day__wind dt {
  font-weight: normal;
}

.sr-day__range dd,
.sr-day__wind dd {
  white-space: nowrap;
}

.sr-day__wind {
  padding-top: 16px;
  border-top: 1px solid var(--sr-line);
}

/* AM/PM snowfall (1439:10467): warm block pinned to the bottom of each day. */
.sr-day__snow {
  margin-top: auto;
  padding: 16px 12px;
  background: var(--sr-warm);
  border-top: 1px solid var(--sr-line);
  font-size: 16px;
  line-height: 12px;
  color: var(--sr-black);
}

.snow-report .sr-day__snow-title {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 12px;
  font-weight: 600;
}

.sr-day__snow-title img {
  display: block;
  width: 16px;
  height: 16px;
}

.sr-day__snow dl {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.sr-day__snow dl div {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.sr-day__snow dt {
  font-weight: normal;
}

.sr-day__snow dd {
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
}

/* Trail accordion toggle: mobile only (see the 991px block). */
.sr-trail__toggle {
  display: none;
}

/* Carousel (below 992px, see js/snow-report.js). */
.sr-forecast__days.slick-initialized {
  display: block;
}

.sr-forecast__days .slick-list {
  margin: 0 -8px;
}

.sr-forecast__days .slick-slide {
  margin: 0 8px;
}

.sr-forecast__days .slick-slide .sr-day,
.sr-forecast__days .sr-day.slick-slide {
  border-left-width: 1px;
}

/* --------------------------------------------------------------------------
   Patrol message
   -------------------------------------------------------------------------- */
.sr-patrol .col-md-10 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sr-patrol__message {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sr-patrol__message,
.sr-patrol__avy-link {
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
  color: var(--sr-body);
  text-align: center;
}

.sr-patrol__message p {
  margin: 0;
}

.snow-report .sr-patrol__greeting {
  font-weight: 600;
}

.sr-patrol__avy-link a {
  color: inherit;
}

.sr-patrol__avy {
  padding-top: 10px;
  text-align: center;
}

.sr-patrol__avy span {
  display: inline-block;
  padding: 3.5px 8px 3.9px;
  border-radius: 5px;
  background: var(--sr-avy-bg);
  color: var(--sr-avy-fg);
  font-size: 22px;
  font-weight: 600;
  line-height: 26.4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sr-patrol__buttons {
  padding-top: 24px;
  text-align: center;
}

/* Bootstrap's .btn is nowrap; let long labels wrap instead of overflowing on narrow screens. */
.sr-patrol__buttons .btn {
  min-width: 160px;
  max-width: 100%;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 16.8px;
  white-space: normal;
  overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   Snow and grooming report: lifts + trails
   -------------------------------------------------------------------------- */
.sr-report__title {
  padding-bottom: 48px;
}

.sr-report__block + .sr-report__block {
  margin-top: 24px;
}

/* Gold bar beside the lift and trail tables only, not their headings or tabs
   (Figma "Desktop - 24" 997:5962 / 997:5545: 2px #BF8D2C left border, 16px inset).
   The iPhone frames have no bar. */
.sr-report .sr-table-wrap,
.sr-report .sr-tab-panel {
  border-left: 2px solid var(--sr-gold);
  padding-left: 16px;
}

.snow-report .sr-report__subtitle {
  font-family: 'Azo Sans', sans-serif;
  font-size: 32px;
  font-weight: normal;
  font-style: normal;
  line-height: 38.4px;
  letter-spacing: 3px;
  text-transform: none;
  color: var(--sr-black);
}

/* Mobile-only (see the max-width: 767.98px block). */
.sr-report__rule {
  display: none;
}

.sr-report__updated {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
  color: var(--sr-body);
}

.sr-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.sr-table th,
.sr-table td {
  box-sizing: border-box;
  padding: 8px 0 8px 40px;
  border-bottom: 1px solid var(--sr-line);
  font-size: 16px;
  line-height: 24px;
  vertical-align: middle;
}

.sr-table thead th {
  padding-top: 16px;
  padding-bottom: 16px;
  background: #fff;
  font-weight: 600;
  line-height: 31.2px;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.sr-table th:first-child {
  width: auto;
  padding-left: 10px;
}

/* Names: regular weight, mixed case, 1px tracking (1439:10467 / 1448:10215). */
.sr-table tbody th {
  font-weight: normal;
  line-height: 31.2px;
  letter-spacing: 1px;
}

.sr-table td {
  font-weight: normal;
}

/* --------------------------------------------------------------------------
   Module spacing: each module's Spacing Top / Spacing Bottom dropdown
   (Tamarack_Snow_Report::render_module() adds sr-space-{top|bottom}-{size}).
   -------------------------------------------------------------------------- */
.snow-report.sr-space-top-none { padding-top: 0; }
.snow-report.sr-space-top-sm { padding-top: 24px; }
.snow-report.sr-space-top-md { padding-top: 50px; }
.snow-report.sr-space-top-lg { padding-top: 120px; }
.snow-report.sr-space-top-xl { padding-top: 190px; }
.snow-report.sr-space-bottom-none { padding-bottom: 0; }
.snow-report.sr-space-bottom-sm { padding-bottom: 24px; }
.snow-report.sr-space-bottom-md { padding-bottom: 50px; }
.snow-report.sr-space-bottom-lg { padding-bottom: 120px; }
.snow-report.sr-space-bottom-xl { padding-bottom: 190px; }

@media (max-width: 767.98px) {
  .snow-report.sr-space-top-sm { padding-top: 16px; }
  .snow-report.sr-space-top-md { padding-top: 30px; }
  .snow-report.sr-space-top-lg { padding-top: 40px; }
  .snow-report.sr-space-top-xl { padding-top: 50px; }
  .snow-report.sr-space-bottom-sm { padding-bottom: 16px; }
  .snow-report.sr-space-bottom-md { padding-bottom: 30px; }
  .snow-report.sr-space-bottom-lg { padding-bottom: 40px; }
  .snow-report.sr-space-bottom-xl { padding-bottom: 50px; }
}

/* "…currently unavailable" messages when a feed returns nothing. */
.snow-report .sr-unavailable {
  padding: 16px 10px;
  border: 1px solid var(--sr-line);
  background: var(--sr-warm);
  font-weight: 300;
  color: var(--sr-body);
}

.snow-report .sr-table__empty td {
  padding: 16px 10px;
  font-weight: 300;
  color: var(--sr-body);
  text-align: left !important;
}

.sr-icon-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.sr-icon-label img {
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

/* Lifts: 150 / 181 / 150 centered columns, 40px gaps. */
.sr-table--lifts th:nth-child(2) { width: 190px; }
.sr-table--lifts th:nth-child(3) { width: 221px; }
.sr-table--lifts th:nth-child(4) { width: 190px; }
.sr-table--lifts th:not(:first-child),
.sr-table--lifts td {
  text-align: center;
}

/* With no Schedule data the hours take the 190px column; keep "09:00 AM - 04:00 PM" on one line. */
@media (min-width: 768px) {
  .sr-table--lifts td[data-label="Operating Hours"] {
    white-space: nowrap;
  }
}

/* Trails: 151 / 150 / 150 left-aligned columns, 40px gaps. */
.sr-table--trails th:nth-child(2) { width: 191px; }
.sr-table--trails th:nth-child(3) { width: 190px; }
.sr-table--trails th:nth-child(4) { width: 190px; }

.sr-tabs {
  display: flex;
  margin-bottom: 24px;
}

.sr-tab {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 16px;
  margin-left: -1px;
  border: 1px solid var(--sr-black);
  background: #fff;
  color: var(--sr-black);
  font-family: 'Azo Sans', sans-serif;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}

.sr-tab:first-child {
  margin-left: 0;
}

.sr-tab img {
  display: block;
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(12%); /* icon files mix white and dark fills; normalize to #202020 */
}

.sr-tab.is-active {
  background: var(--sr-black);
  color: #fff;
}

.sr-tab.is-active img {
  filter: brightness(0) invert(1);
}

.sr-tab:focus-visible {
  outline: 2px solid var(--sr-gold);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Below 1200px: card above full-width stat grid.
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .sr-summary__inner {
    grid-template-columns: 1fr;
  }

  .sr-summary__total {
    flex: none;
  }

  .sr-stats--snow {
    border-top: 0;
    border-left: 1px solid var(--sr-line);
  }
}

/* --------------------------------------------------------------------------
   Below 992px: forecast carousel, stacked table rows.
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .sr-forecast__nav {
    display: flex;
  }

  .sr-table,
  .sr-table thead,
  .sr-table tbody,
  .sr-table tr,
  .sr-table th,
  .sr-table td {
    display: block;
    width: auto !important;
  }

  .sr-table thead tr {
    display: flex;
  }

  .sr-table thead th:not(:first-child) {
    display: none;
  }

  .sr-table thead th:first-child {
    flex: 1 1 auto;
  }

  /* Row geometry from 997:15269 (lift, 133px) and 997:15898 (trail, 121px):
     8px top, 32px name, 8px, detail lines, 8px bottom + 1px border. */
  .sr-table tbody tr {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 13px 8px 10px;
    border-bottom: 1px solid var(--sr-line);
  }

  .sr-table tbody th,
  .sr-table tbody th:first-child,
  .sr-table td {
    padding: 0;
    border: 0;
  }

  .sr-table tbody th {
    line-height: 32px;
  }

  .sr-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    text-align: right !important;
  }

  /* Trails: 16px lines, 8px apart (values column at y 0/24/48). */
  .sr-table--trails td {
    line-height: 16px;
  }

  /* Lifts: 20px lines, 8px apart (y 0/28/56); row padded 8px both sides. */
  .sr-table--lifts tbody tr {
    padding-left: 8px;
    padding-right: 8px;
  }

  .sr-table--lifts td {
    line-height: 20px;
  }

  .sr-table td::before {
    content: attr(data-label);
    color: var(--sr-label);
    text-align: left;
  }

  /* Trail rows put the icon after the text (997:15898). */
  .sr-table--trails .sr-icon-label {
    flex-direction: row-reverse;
  }

  /* Trail accordion (1448:10215): collapsed rows show name, icons and a chevron;
     tapping the row (js/snow-report.js) reveals the labelled values. */
  .sr-table--trails tbody tr:not(.is-open) td {
    display: none;
  }

  .sr-table--trails tbody th {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
  }

  .sr-trail__toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .sr-trail__toggle:focus-visible {
    outline: 2px solid var(--sr-gold);
    outline-offset: 2px;
  }

  .sr-trail__icons {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .sr-trail__icons img {
    display: block;
    width: 16px;
    height: 16px;
  }

  .is-open .sr-trail__icons {
    display: none;
  }

  /* Chevron: down when collapsed, up when open. */
  .sr-trail__chevron {
    width: 7px;
    height: 7px;
    margin: 0 4px 3px;
    border-right: 1.5px solid var(--sr-black);
    border-bottom: 1.5px solid var(--sr-black);
    transform: rotate(45deg);
  }

  .is-open .sr-trail__chevron {
    margin-top: 4px;
    margin-bottom: 0;
    transform: rotate(-135deg);
  }
}

/* --------------------------------------------------------------------------
   Mobile (iPhone 16 - 11): 24px gutters, 3-col stat grid, 24px headings.
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .snow-report .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .snow-report .row {
    margin-left: -24px;
    margin-right: -24px;
  }

  .snow-report .row > [class*="col-"] {
    padding-left: 24px;
    padding-right: 24px;
  }

  .snow-report .sr-heading {
    font-size: 24px;
    line-height: 31.2px;
    letter-spacing: 3.6px;
  }

  /* Hero title box (997:14158): sits below the image instead of overlapping it,
     Live Cam box inset 24px (345 wide). */
  .has-snow-report .hero-text-overlay .container {
    margin-top: 0;
  }

  .has-snow-report .hero-text-overlay .col-md-2 {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Summary row (997:14633): directly after the title box (the hero overlay section
     has no bottom margin at this width); spacing comes from the module's dropdowns. */
  .snow-report .sr-summary {
    margin-top: 0 !important;
  }

  .sr-summary__card {
    gap: 16px;
    border: 0;
  }

  /* Figma's rule is a zero-height stroke; don't let it add a pixel. */
  .sr-summary__rule {
    margin-bottom: -1px;
  }

  /* Card internals per 1038:32666: head 45px, total block 95px (16 / 35 / 12). */
  .snow-report .sr-summary__title {
    line-height: 17px;
  }

  .sr-summary__total-value {
    line-height: 35px;
  }

  .sr-summary__total-label {
    line-height: 12px;
  }

  /* Summit | Mid columns (Summit items first in the markup, so fill column-first),
     then a 3-column counts grid (1448:10215). */
  /* minmax(0, 1fr) + wrapping labels: long labels such as "Last Storm Total Summit"
     must not widen the grid past the screen (plain 1fr can't shrink below content). */
  .sr-summary__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .sr-stats--snow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
  }

  .sr-stats--open {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sr-stat {
    align-items: flex-start;
  }

  .sr-stat__label {
    white-space: normal;
  }

  .sr-forecast__days .slick-list {
    margin: 0;
  }

  .sr-forecast__days .slick-slide {
    margin: 0;
  }

  .sr-day__condition {
    color: var(--sr-black);
  }

  .sr-day__range,
  .sr-day__wind,
  .sr-day__snow {
    padding-left: 32px;
    padding-right: 32px;
  }

  /* Patrol row (997:14167): Avalanche label is a full-width
     46px pill with two 19.5px lines; button is full width, one line, 44px tall. */
  .sr-patrol__avy span {
    display: block;
    line-height: 19.5px;
  }

  .sr-patrol__buttons .btn {
    display: block;
    width: 100%;
    padding: 11.6px 8px;
  }

  /* Report (997:14186). */
  .sr-report__title {
    padding-bottom: 24px;
  }

  .snow-report .sr-report__subtitle {
    line-height: 39px;
  }

  /* 2px rule under "Chair Lifts Status" (hr.mWPSBorder, carried over from the Medic52 widget). */
  .sr-report__rule {
    display: block;
    margin: 30px 0 16px;
    border: 0;
    border-top: 2px solid #333;
  }

  .sr-report__rule + .sr-report__updated {
    padding-top: 4px;
  }

  .sr-report__block + .sr-report__block {
    margin-top: 30px;
  }


  /* Tabs (997:15406): 82px tall, two-line 18px labels, 40px above the table. */
  .sr-tabs {
    margin-bottom: 40px;
  }

  .sr-tab {
    line-height: 18px;
  }

  .sr-tab span {
    max-width: 82px;
  }
}
