/* LIGHTHOUSE NEWS WEATHER DARK V2 */

:root {
  color-scheme: dark;
  --ln-bg: #081629;
  --ln-panel: #122640;
  --ln-card: #1a304c;
  --ln-line: #405571;
  --ln-text: #f1f5fa;
  --ln-muted: #c0cfe0;
  --ln-red: #f0788b;
}

* { box-sizing: border-box; }

html, body.ln-weather-page {
  margin: 0;
  background: #081629;
  color: var(--ln-text);
  font-family: Arial, Helvetica, sans-serif;
}

.ln-weather-page {
  min-height: 100vh;
}

.ln-weather-page a {
  color: #ff91a0;
}

.ln-width {
  width: min(1240px, 92%);
  margin: auto;
}

.ln-header {
  background: #0d2038;
  border-bottom: 1px solid #354963;
}

.ln-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
}

.ln-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.ln-brand img {
  display: block;
  width: 65px;
  height: 65px;
  object-fit: contain;
  background: white;
  border-radius: 6px;
}

.ln-brand span {
  display: flex;
  flex-direction: column;
}

.ln-brand strong {
  color: white;
  font: 800 clamp(20px,3vw,34px) Georgia,serif;
}

.ln-brand em {
  color: #f0788b;
  font-style: normal;
}

.ln-brand small {
  color: #c0cfe0;
  font-size: 10px;
  letter-spacing: .12em;
}

.ln-back {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.ln-nav {
  background: #14263f;
  border-bottom: 2px solid #b92336;
}

.ln-nav-inner {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  padding: 14px 0;
}

.ln-nav a {
  color: #e8eef6;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.ln-nav a[aria-current="page"] {
  color: #ff91a0;
}

.ln-page-heading {
  padding-top: 35px;
  padding-bottom: 18px;
}

.ln-eyebrow {
  color: #ff8999;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.ln-page-heading h1 {
  color: #f1f5fa;
  font: 800 clamp(36px,5vw,56px) Georgia,serif;
  margin: 10px 0;
}

.ln-page-heading h1 span {
  color: #f0788b;
}

.ln-page-heading p {
  color: #c0cfe0;
  font-size: 16px;
}

.ln-weather-page .lighthouse-weather-section {
  background: transparent !important;
  padding: 0 0 65px !important;
  min-height: 0;
}

.ln-weather-page .lighthouse-weather-section .container {
  width: min(1240px, 92%);
  margin: 0 auto;
}

/* Override original light theme without
   modifying Radio's weather JavaScript or CSS. */

.ln-weather-page .weather-widget-shell {
  background: #122640 !important;
  color: #f1f5fa !important;
  border: 1px solid #405571 !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.2);
}

.ln-weather-page .weather-widget-shell,
.ln-weather-page .weather-widget-shell * {
  color-scheme: dark;
}

.ln-weather-page .weather-widget-shell h2,
.ln-weather-page .weather-widget-shell h3,
.ln-weather-page .weather-widget-shell strong,
.ln-weather-page .weather-widget-shell label,
.ln-weather-page .weather-current-condition,
.ln-weather-page .weather-location-name,
.ln-weather-page .weather-current-temp,
.ln-weather-page .weather-widget-title {
  color: #f1f5fa !important;
}

.ln-weather-page .weather-widget-shell p,
.ln-weather-page .weather-widget-shell small,
.ln-weather-page .weather-widget-shell span {
  color: #c5d3e3;
}

.ln-weather-page .weather-widget-shell
.weather-widget-kicker,
.ln-weather-page .weather-widget-shell
.weather-forecast-temp {
  color: #ffc762 !important;
}

.ln-weather-page .weather-widget-shell
.weather-forecast-card {
  background: #1b324f !important;
  border: 1px solid #415875 !important;
  color: #f1f5fa !important;
  box-shadow: none !important;
}

.ln-weather-page .weather-widget-shell
.weather-forecast-card h3,
.ln-weather-page .weather-widget-shell
.weather-forecast-card p {
  color: #e5edf7 !important;
}

.ln-weather-page .weather-widget-shell
.weather-location-select {
  background: #0b1c32 !important;
  border: 1px solid #62748c !important;
  color: #f1f5fa !important;
}

.ln-weather-page .weather-widget-shell
.weather-location-button {
  background: #bd263d !important;
  color: white !important;
  border-color: #bd263d !important;
}

.ln-weather-page .weather-widget-shell
.weather-current-details > *,
.ln-weather-page .weather-widget-shell
.weather-current-stat,
.ln-weather-page .weather-widget-shell
.weather-detail-card {
  background: #1b324f !important;
  border-color: #415875 !important;
  color: #f1f5fa !important;
}

.ln-weather-page .weather-widget-shell
.weather-widget-header,
.ln-weather-page .weather-widget-shell
.weather-widget-body,
.ln-weather-page .weather-widget-shell
.weather-widget-footer,
.ln-weather-page .weather-widget-shell
.weather-forecast-panel {
  background: transparent !important;
  border-color: #405571 !important;
}

.ln-weather-page .weather-widget-shell
.weather-widget-footer {
  background: #0f2139 !important;
}

.ln-weather-page .weather-widget-shell
.weather-forecast-title {
  color: #b9cde4 !important;
}

.ln-footer {
  background: #061020;
  border-top: 1px solid #344861;
  padding: 35px 0;
}

.ln-footer strong {
  font: 700 24px Georgia,serif;
}

.ln-footer p {
  color: #c0cfe0;
  font-size: 13px;
}

@media(max-width:650px) {
  .ln-brand img {
    width: 50px;
    height: 50px;
  }

  .ln-brand strong {
    font-size: 20px;
  }

  .ln-back {
    display: none;
  }

  .ln-nav-inner {
    gap: 15px;
  }

  .ln-page-heading {
    padding-top: 25px;
  }
}

/* LIGHTHOUSE NEWS WEATHER CONTRAST V3 */

.ln-screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.ln-weather-page .weather-widget-shell
[class*="label"],
.ln-weather-page .weather-widget-shell
[class*="detail-label"],
.ln-weather-page .weather-widget-shell
[class*="stat-label"] {
  color: #cbd9eb !important;
  opacity: 1 !important;
}

.ln-weather-page .weather-widget-shell
.weather-current-details,
.ln-weather-page .weather-widget-shell
.weather-current-details * {
  border-color: #4b627d;
}

.ln-weather-page .weather-widget-shell
.weather-current-details strong,
.ln-weather-page .weather-widget-shell
.weather-current-details b {
  color: #f5f8fc !important;
}

.ln-weather-page .weather-widget-shell
.weather-widget-footer,
.ln-weather-page .weather-widget-shell
.weather-widget-footer * {
  color: #c8d8e9;
}

.ln-weather-page .weather-widget-shell
.weather-widget-footer a {
  color: #93caff !important;
}

/* LIGHTHOUSE NEWS WEATHER SPACING V4 */

/* Give the weather panel space below navigation */

.ln-weather-page main {
  padding-top: 36px;
  padding-bottom: 45px;
  background:
    radial-gradient(
      ellipse at 85% 20%,
      rgba(32,65,103,.22),
      transparent 55%
    ),
    #081629;
}

.ln-weather-page .lighthouse-weather-section {
  padding: 0 !important;
}

.ln-weather-page .lighthouse-weather-section
.container {
  width: min(1240px, 92%);
  margin: 0 auto;
}

/* Keep the original widget comfortable and contained */

.ln-weather-page .weather-widget-shell {
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
}

/* Improve small labels and accessibility */

.ln-weather-page .weather-widget-shell
[class*="label"],
.ln-weather-page .weather-widget-shell
[class*="eyebrow"] {
  color: #d3e0ef !important;
  opacity: 1 !important;
}

.ln-weather-page .weather-widget-shell
.weather-widget-kicker {
  color: #ffcd75 !important;
}

.ln-weather-page .weather-widget-shell
.weather-current-details small,
.ln-weather-page .weather-widget-shell
.weather-current-details span {
  color: #d3e0ef !important;
}

/* Ensure form controls remain readable */

.ln-weather-page .weather-location-select {
  min-height: 46px;
}

.ln-weather-page .weather-location-button {
  min-height: 46px;
}

/* Mobile spacing */

@media (max-width: 650px) {
  .ln-weather-page main {
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .ln-weather-page .weather-widget-shell {
    border-radius: 12px;
  }

  .ln-weather-page .lighthouse-weather-section
  .container {
    width: 94%;
  }
}
