/* ============================================================
   Landing Page — Latest News (dark section: featured card +
   headline list). Layer-2 semantic tokens + .ts-* only.
   BEM root: .lp-news
   ============================================================ */

.lp-news {
  position: relative;
  z-index: 1;
  width: 100%;
  /* pull up so the navy diagonal overlaps the hero image + card */
  margin-top: -80px;
  padding: 120px var(--spacing-8xl) 240px;
  background: var(--surface-nav);
  overflow: hidden;
  /* diagonal top edge: lower on the left, higher on the right */
  clip-path: polygon(0 80px, 100% 0, 100% 100%, 0 100%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Dot grid, bottom-right — 25 columns x 9 rows at 24px spacing */
.lp-news::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: calc(25 * 24px);
  height: calc(9 * 24px);
  background-image: radial-gradient(var(--icon-muted) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.lp-news__inner {
  flex: 1 1 0;
  position: relative;
  z-index: 1;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ── Header row ────────────────────────────────────────────── */
.lp-news__header {
  align-self: stretch;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-3xl);
}

.lp-news__heading-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-xl);
}

.lp-news__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-xs) 0 var(--spacing-xs) var(--spacing-xl);
  border-left: 1px solid var(--border-accent);
  color: var(--text-accent);
}

.lp-news__title {
  color: var(--text-heading-on-dark);
}

.lp-news__view-all {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--text-on-dark);
  white-space: nowrap;
}

.lp-news__view-all:hover {
  color: var(--text-on-dark);
  text-decoration: underline;
}

.lp-news__view-all:focus-visible {
  outline: 2px solid var(--text-accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.lp-news__view-all-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-accent);
}

/* ── Content row ───────────────────────────────────────────── */
.lp-news__grid {
  align-self: stretch;
  display: flex;
  align-items: stretch;
  gap: 56px;
}

/* Featured card */
.lp-news__featured {
  flex: 1 1 0;
  min-height: 424px;
  padding: 40px;
  background: var(--surface-overlay-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-3xl);
}

.lp-news__featured:focus-visible {
  outline: 2px solid var(--text-brand);
  outline-offset: -2px;
  text-decoration: none;
}

.lp-news__featured-head {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.lp-news__featured-title {
  color: var(--text-primary);
}

.lp-news__featured-desc {
  color: var(--text-secondary);
  line-height: 1.3;
}

.lp-news__read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--text-primary);
}

.lp-news__read-more:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.lp-news__read-more:focus-visible {
  outline: 2px solid var(--text-brand);
  outline-offset: 4px;
  border-radius: 2px;
}

.lp-news__read-more-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-default);
}

/* Headline list */
.lp-news__list {
  width: 480px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
}

.lp-news__list-item {
  /* navy-400 divider (no dedicated border token at this value) */
  border-left: 2px solid var(--icon-muted);
  padding: var(--spacing-3xl) var(--spacing-xl) var(--spacing-3xl) 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 56px;
  color: var(--text-on-hero);
  transition: border-color 150ms ease;
}

.lp-news__list-item:hover {
  color: var(--text-on-hero);
  border-left-color: var(--border-accent);
  text-decoration: none;
}

.lp-news__list-item:focus-visible {
  outline: 2px solid var(--text-accent);
  outline-offset: 2px;
}

.lp-news__list-title {
  flex: 1 1 0;
}

.lp-news__list-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--icon-muted);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .lp-news {
    /* keep the diagonal top + overlap; just tighten side padding.
       extra bottom padding leaves room for the next section's image bleed. */
    padding: 120px var(--spacing-3xl) 200px;
  }

  .lp-news__grid {
    flex-direction: column;
    gap: 40px;
  }

  .lp-news__list {
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* hoist eyebrow + title out of the group so the header can reflow:
     row 1 = NEWS + View All, row 2 = title (full width) */
  .lp-news__heading-group {
    display: contents;
  }

  .lp-news__header {
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xl);
  }

  .lp-news__eyebrow {
    order: 1;
  }

  .lp-news__view-all {
    order: 2;
    margin-left: auto;
  }

  .lp-news__title {
    order: 3;
    flex: 0 0 100%;
  }
}
