.news-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.news-shell {
  padding: 52px 0 88px;
}

.news-feature {
  border: 1px solid var(--line);
  background: var(--white);
}

.news-feature-link {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
  min-height: 360px;
}

.news-feature-link:hover .news-feature-copy h2,
.news-feature-link:focus-visible .news-feature-copy h2 {
  color: var(--hrstek-blue);
}

.news-feature-cover,
.news-feature-signal {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.news-feature-signal {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 48px;
  overflow: hidden;
  color: var(--white);
  background-color: var(--hrstek-indigo);
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 14px);
}

.news-feature-signal::before,
.news-feature-signal::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.news-feature-signal::before {
  top: 18%;
  right: -12%;
  width: 78%;
  height: 54%;
  border: 1px solid rgba(142, 202, 255, 0.3);
  transform: rotate(-12deg);
}

.news-feature-signal::after {
  right: 10%;
  bottom: 14%;
  width: 36%;
  height: 1px;
  background: rgba(142, 202, 255, 0.7);
}

.news-feature-signal-index {
  color: #8ecaff;
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
}

.news-feature-signal-line {
  width: min(210px, 70%);
  height: 1px;
  background: rgba(255, 255, 255, 0.72);
}

.news-feature-signal strong {
  font-size: 30px;
  line-height: 1.2;
}

.news-feature-signal > span:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 1px;
}

.news-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 44px;
}

.news-feature-copy h2 {
  margin: 20px 0 14px;
  font-size: 34px;
  line-height: 1.22;
  transition: color 160ms ease;
}

.news-feature-copy p {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.news-meta > span:first-child {
  color: var(--brand);
  font-weight: 800;
}

.news-meta-status {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--accent);
  font-weight: 700;
}

.news-read-link,
.news-read-link:visited {
  color: var(--brand);
  font-weight: 800;
}

.news-index {
  margin-top: 72px;
}

.news-section-heading {
  display: block;
  margin-bottom: 24px;
}

.news-section-heading .eyebrow {
  margin-bottom: 8px;
}

.news-section-heading h2 {
  margin-bottom: 0;
  font-size: 38px;
}

.news-filter {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.news-filter button {
  position: relative;
  flex: 0 0 auto;
  padding: 0 0 12px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  white-space: nowrap;
}

.news-filter button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: transparent;
  content: "";
}

.news-filter button:hover,
.news-filter button:focus-visible,
.news-filter button.is-active {
  color: var(--ink);
}

.news-filter button.is-active {
  font-weight: 800;
}

.news-filter button.is-active::after {
  background: var(--hrstek-blue);
}

.news-list {
  display: grid;
  margin-top: 8px;
}

.news-row {
  border-bottom: 1px solid var(--line);
}

.news-row-link {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 28px;
  gap: 24px;
  align-items: center;
  min-height: 150px;
  padding: 18px 0;
}

.news-row-link:hover .news-row-copy h3,
.news-row-link:focus-visible .news-row-copy h3 {
  color: var(--hrstek-blue);
}

.news-row-cover,
.news-row-signal {
  width: 160px;
  height: 100px;
  object-fit: cover;
}

.news-row-signal {
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  color: var(--brand-dark);
  background: var(--surface-strong);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.news-row-copy h3 {
  margin: 8px 0 6px;
  font-size: 21px;
  line-height: 1.35;
  transition: color 160ms ease;
}

.news-row-copy p {
  max-width: 760px;
  margin-bottom: 0;
  overflow: hidden;
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-row-arrow {
  color: var(--brand);
  font-size: 22px;
  font-weight: 700;
}

.news-filter-empty,
.news-empty {
  padding: 28px 0;
  color: var(--muted);
}

.news-detail-page {
  padding-bottom: 88px;
}

.news-detail-header {
  width: min(960px, calc(100% - 112px));
  margin: 0 auto;
  padding: 60px 0 46px;
}

.news-back-link {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.news-detail-header h1 {
  max-width: 900px;
  margin: 20px 0 18px;
  font-size: 52px;
  line-height: 1.14;
}

.news-detail-summary {
  max-width: 800px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.news-detail-source {
  margin: 18px 0 0;
  font-size: 14px;
}

.news-detail-source a {
  color: var(--brand);
  font-weight: 800;
}

.news-detail-main {
  width: min(760px, calc(100% - 112px));
  margin: 0 auto;
}

.news-detail-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--surface-strong);
}

.news-prose {
  padding-top: 36px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.9;
}

.news-prose p {
  margin-bottom: 24px;
}

.news-prose h2 {
  margin: 44px 0 14px;
  font-size: 26px;
}

.news-prose ul {
  padding-left: 24px;
}

.news-prose a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.news-filter button:focus-visible,
.news-feature-link:focus-visible,
.news-row-link:focus-visible,
.news-back-link:focus-visible {
  outline: 3px solid rgba(8, 126, 216, 0.35);
  outline-offset: 4px;
}

@media (max-width: 920px) {
  .news-shell {
    padding: 32px 20px 64px;
  }

  .news-feature-link {
    grid-template-columns: 1fr;
  }

  .news-feature-cover,
  .news-feature-signal {
    min-height: 260px;
    height: 260px;
  }

  .news-feature-copy {
    padding: 30px 24px 34px;
  }

  .news-feature-copy h2 {
    font-size: 29px;
  }

  .news-detail-header,
  .news-detail-main {
    width: min(100% - 40px, 760px);
  }
}

@media (max-width: 600px) {
  .news-feature-signal {
    padding: 30px;
  }

  .news-feature-signal-index {
    font-size: 56px;
  }

  .news-feature-signal strong {
    font-size: 25px;
  }

  .news-section-heading {
    display: block;
  }

  .news-section-heading h2 {
    font-size: 32px;
  }

  .news-filter {
    gap: 20px;
  }

  .news-row-link {
    grid-template-columns: 1fr 24px;
    grid-template-rows: auto auto;
    gap: 16px;
    padding: 20px 0;
  }

  .news-row-cover,
  .news-row-signal {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .news-row-copy {
    grid-column: 1;
    grid-row: 2;
  }

  .news-row-arrow {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
  }

  .news-row-copy h3 {
    font-size: 19px;
  }

  .news-detail-header {
    padding: 40px 0 32px;
  }

  .news-back-link {
    margin-bottom: 28px;
  }

  .news-detail-header h1 {
    font-size: 35px;
  }

  .news-detail-summary {
    font-size: 17px;
  }

  .news-prose {
    padding-top: 26px;
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-feature-copy h2,
  .news-row-copy h3 {
    transition: none;
  }
}
