/* News index — new template layout over the preserved news assets. */

body {
  background: var(--surface);
}

.news-hero {
  margin-top: var(--header-h);
  padding: 72px 0 64px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--surface);
}

.news-hero h1 {
  margin: 8px 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
}

.news-hero p:last-child {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

.news-eyebrow,
.section-eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.news-hero .news-eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.news-main {
  padding-top: 72px;
  padding-bottom: 88px;
}

.news-list {
  max-width: 960px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 28px;
}

.section-title {
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.35;
}

.news-list > .row {
  display: grid;
  grid-template-columns: 160px 120px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.news-list > .row > [class*="col-"] {
  width: auto;
  min-height: 0;
  float: none;
  padding: 0;
}

.news-list > .row img {
  display: block;
  width: 100%;
  max-width: 150px;
  height: 92px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
}

.news-list > .row p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.news-list > .row h4 {
  margin: 0 0 7px;
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.5;
}

.news-list > .row .text-muted {
  color: var(--text-secondary);
  line-height: 1.7;
}

.news-list > .row .btn {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--primary);
  font-size: 12px;
  text-decoration: none;
}

.news-list > .row a:hover .btn {
  border-color: var(--primary);
  background: var(--surface-muted);
}

.site-footer {
  padding: 56px 0 24px;
  background: var(--surface-dark);
  color: rgba(255, 255, 255, 0.74);
}

.site-footer .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
}

.site-footer .row > [class*="col-"] {
  width: auto;
  float: none;
  padding: 0;
}

.site-footer strong {
  color: var(--surface);
}

.site-footer .list-group {
  margin: 12px 0 0;
}

.site-footer .list-group-item {
  display: block;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.site-footer .list-group-item:hover {
  color: var(--surface);
}

@media (max-width: 700px) {
  .news-hero {
    padding: 52px 0 44px;
  }

  .news-main {
    padding-top: 48px;
    padding-bottom: 60px;
  }

  .news-list > .row {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
  }

  .news-list > .row > [class*="col-"]:last-child {
    grid-column: 1 / -1;
  }

  .news-list > .row img {
    max-width: 96px;
    height: 72px;
  }

  .site-footer .row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
