/* LIGHTHOUSE NEWS HOMEPAGE V4 */

:root {
  color-scheme: dark;
  --bg: #081629;
  --panel: #10243c;
  --panel-light: #172d49;
  --line: #344861;
  --white: #f2f5fa;
  --muted: #b8c8da;
  --red: #ed5c70;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(
      ellipse at 85% 20%,
      rgba(36,67,105,.18),
      transparent 48%
    ),
    var(--bg);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #ff96a4;
  outline-offset: 3px;
}

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

.edition-bar {
  background: #050e1c;
  border-bottom: 1px solid #233650;
  color: #c8d6e6;
  font-size: 12px;
}

.edition-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
}

.edition-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 7px;
}

.site-header {
  background: linear-gradient(
    115deg, #0b1b31, #10253e 68%, #0b192c
  );
  border-bottom: 1px solid #30445e;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  font: 800 clamp(23px,3vw,38px)/1.05
    Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.brand-copy em {
  color: var(--red);
  font-style: normal;
}

.brand-copy small {
  margin-top: 9px;
  font-size: 10px;
  letter-spacing: .17em;
  color: #c5d2e3;
  font-weight: 700;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  font-size: 11px;
}

.header-right span {
  color: #b1c1d3;
  letter-spacing: .12em;
}

.header-right a {
  color: #ff91a0;
  font-weight: 700;
}

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

.nav-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  padding: 14px 0;
}

.nav-inner a {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-inner a:hover,
.nav-inner .selected {
  color: #ff8c9c;
}

.news-section {
  padding-top: 36px;
  padding-bottom: 65px;
}

.news-intro,
.browse-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 26px;
}

.section-eyebrow {
  color: #ff8b9b;
  font-size: 11px;
  letter-spacing: .15em;
  font-weight: 800;
}

.red-rule {
  display: inline-block;
  width: 24px;
  height: 2px;
  margin-right: 10px;
  background: var(--red);
  vertical-align: middle;
}

.news-intro h1 {
  font: 800 clamp(39px,5vw,68px)/1.08
    Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
  margin: 9px 0 8px;
}

.red-period { color: var(--red); }

.news-intro p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.archive-link,
.browse-heading > a {
  color: #ff94a3;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  padding-bottom: 6px;
}

.lead-divider {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 13px 0;
  margin: 28px 0 20px;
  border-top: 2px solid #405775;
  border-bottom: 1px solid #30445e;
}

.lead-divider strong {
  font-size: 11px;
  letter-spacing: .17em;
  color: #ff8a9a;
}

.news-story-count {
  font-size: 12px;
  color: #b2c4d8;
}

.news-story-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}

.news-story-card {
  min-width: 0;
  background: #10223a;
  border: 1px solid #30445f;
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-story-grid > .news-story-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
  background: #152a46;
}

.news-story-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #20344e;
  position: relative;
}

.news-story-grid > .news-story-card:first-child
.news-story-image {
  aspect-ratio: 16 / 8;
}

.news-story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-story-image img.is-source-logo {
  object-fit: contain;
  padding: 20px;
}

.news-story-image-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  color: #dce6f2;
  background: #20344e;
}

.news-story-image-fallback svg {
  width: 64px;
  max-width: 40%;
}

.news-story-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 19px;
}

.news-story-grid > .news-story-card:first-child
.news-story-content {
  padding: 26px;
}

.news-story-meta,
.news-category-label {
  color: #ff93a2;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.news-story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-story-content h3 {
  font: 700 23px/1.27
    Georgia, "Times New Roman", serif;
  margin: 10px 0;
}

.news-story-grid > .news-story-card:first-child h3 {
  font-size: clamp(28px,3vw,39px);
}

.news-story-title-link:hover,
.news-story-read-more:hover {
  color: #ff9ba8;
}

.news-story-summary {
  color: #c2d0e0;
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.news-story-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  color: #aebed2;
  font-size: 12px;
}

.news-story-read-more {
  display: inline-block;
  color: #ff8fa0;
  font-size: 12px;
  font-weight: 800;
  margin-top: 15px;
}

.news-breaking-label {
  background: #bb263d;
  color: #fff;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
}

.news-feed-state {
  grid-column: 1 / -1;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: 7px;
}

.browse-heading {
  border-top: 2px solid #405775;
  margin-top: 45px;
  padding-top: 24px;
}

.browse-heading h2 {
  font: 700 33px Georgia, serif;
  margin: 7px 0 0;
}

.news-controls {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  background: #12243b;
  border: 1px solid #354a63;
  border-radius: 9px;
  padding: 20px;
}

.control label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
}

.control input,
.control select {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid #4b607a;
  border-radius: 5px;
  background: #0b1a2e;
  color: #f2f5fa;
}

.control input::placeholder {
  color: #a8bacf;
}

.browse-note {
  color: #9fafc4;
  font-size: 12px;
  margin: 12px 0 0;
}

.publication-about {
  background: linear-gradient(
    115deg, #142a46, #0c1b30
  );
  border-top: 1px solid #354b65;
  padding: 47px 0;
}

.about-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.about-inner h2 {
  font: 700 clamp(25px,3vw,40px) Georgia,serif;
  margin: 10px 0;
}

.about-inner p {
  color: #c3d0df;
  max-width: 680px;
}

.about-action a {
  display: inline-block;
  border: 1px solid #bc4358;
  color: #ffe0e5;
  border-radius: 5px;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 700;
}

.site-footer {
  background: #061020;
  padding: 36px 0 15px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner strong {
  font: 700 25px Georgia, serif;
}

.footer-inner strong span { color: var(--red); }

.footer-inner p {
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  align-items: start;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
}

.copyright {
  border-top: 1px solid #293b52;
  color: #9fb1c5;
  font-size: 12px;
  padding-top: 16px;
  margin-top: 28px;
}

@media(max-width:900px) {
  .header-right { display: none; }
  .news-story-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .news-story-grid > .news-story-card:first-child {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media(max-width:650px) {
  .edition-row { font-size: 10px; }
  .brand img { width: 52px; height: 52px; }
  .brand-copy strong { font-size: 23px; }
  .brand-copy small {
    font-size: 8px;
    letter-spacing: .1em;
  }
  .header-inner { padding: 10px 0; }
  .nav-inner {
    gap: 17px;
    padding: 12px 0;
  }
  .news-section { padding-top: 23px; }
  .news-intro,
  .browse-heading,
  .about-inner,
  .footer-inner {
    align-items: start;
    flex-direction: column;
  }
  .news-story-grid,
  .news-controls {
    grid-template-columns: 1fr;
  }
  .news-story-grid > .news-story-card:first-child {
    grid-column: auto;
  }
  .news-story-content {
    padding: 17px;
  }
  .news-story-grid > .news-story-card:first-child h3 {
    font-size: 29px;
  }
  .news-intro h1 { font-size: 42px; }
  .footer-links { gap: 15px; }
}

/* LIGHTHOUSE NEWS FEATURED V2 */

/* Balanced lead and supporting stories */
.news-story-grid {
  grid-template-columns: 1.65fr 1fr 1fr;
  align-items: stretch;
}

.news-story-grid > .news-story-card:first-child {
  grid-column: span 2;
  grid-row: auto;
}

.news-story-grid > .news-story-card:first-child
.news-story-image {
  aspect-ratio: 16 / 6.5;
  max-height: 300px;
}

.news-story-grid > .news-story-card:first-child
.news-story-content {
  padding: 20px 24px;
}

.news-story-grid > .news-story-card:first-child h3 {
  font-size: clamp(28px, 2.7vw, 36px);
  line-height: 1.18;
}

.news-story-grid > .news-story-card:first-child
.news-story-summary {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.news-story-grid > .news-story-card:not(:first-child)
.news-story-image {
  aspect-ratio: 16 / 9;
  max-height: 225px;
}

.news-story-grid > .news-story-card:not(:first-child)
.news-story-content h3 {
  font-size: 21px;
}

@media (max-width: 900px) {
  .news-story-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .news-story-grid > .news-story-card:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 650px) {
  .news-story-grid {
    grid-template-columns: 1fr;
  }

  .news-story-grid > .news-story-card:first-child {
    grid-column: auto;
  }

  .news-story-grid > .news-story-card:first-child
  .news-story-image {
    aspect-ratio: 16 / 9;
    max-height: 240px;
  }
}

/* LIGHTHOUSE NEWS WEATHER LAYOUT V1 */

.lighthouse-weather-section {
  padding: 38px 0 55px;
  background:
    linear-gradient(
      180deg,
      #0a182b,
      #10243c
    );
  border-top: 1px solid #344861;
}

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

.lighthouse-weather-section .weather-widget-shell {
  width: 100%;
  max-width: 100%;
}

#weather-near-you {
  scroll-margin-top: 20px;
}

@media (max-width: 650px) {
  .lighthouse-weather-section {
    padding: 22px 0 36px;
  }
}

/* LIGHTHOUSE NEWS WEATHER TEASER V2 */

.ln-weather-teaser {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 15px 20px;
  margin: 25px 0 15px;
  background:
    linear-gradient(110deg,#182f4b,#102139);
  border: 1px solid #405875;
  border-left: 4px solid #ed5c70;
  border-radius: 8px;
  text-decoration: none;
  color: #f1f5fa;
}

.ln-weather-teaser:hover {
  background: #203752;
  border-color: #71839a;
}

.ln-weather-teaser-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #28435e;
  color: #ffcb75;
  font-size: 29px;
}

.ln-weather-teaser-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ln-weather-teaser-copy strong {
  font: 700 20px Georgia,serif;
}

.ln-weather-teaser-copy small {
  font-size: 12px;
  color: #c1cfdf;
}

.ln-weather-teaser-action {
  margin-left: auto;
  color: #ff9aaa;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

@media(max-width:650px) {
  .ln-weather-teaser {
    padding: 12px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .ln-weather-teaser-action {
    width: 100%;
    margin-left: 0;
    padding-left: 55px;
  }

  .ln-weather-teaser-copy strong {
    font-size: 18px;
  }
}

/* LIGHTHOUSE NEWS LIVE WEATHER V3 */

.ln-weather-teaser {
  cursor: default;
}

.ln-weather-teaser-action {
  text-decoration: none;
}

.ln-weather-teaser-action:hover {
  color: #ffd1d8;
  text-decoration: underline;
}

.ln-home-weather-temperature {
  color: #ffcf76;
  margin-left: 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
}

.ln-weather-hidden-source {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

@media (max-width: 650px) {
  .ln-home-weather-temperature {
    font-size: 20px;
    margin-left: 6px;
  }
}
