/* News list — matches landing-page visual language */

.page-news-list {
  padding-top: clamp(76px, 10vw, 96px);
}

.page-news-list .nl-main {
  padding-bottom: 48px;
}

/* ---------- Hero ---------- */
.nl-hero {
  position: relative;
  margin: 0;
  color: #fff;
  background: #01032c;
  overflow: hidden;
  /* Image drives height; text overlays */
}

.nl-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.nl-hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 110% 85% at 50% 30%, rgba(0, 12, 32, 0) 0%, rgba(0, 10, 28, 0.35) 100%),
    linear-gradient(180deg, rgba(2, 12, 34, 0.38) 0%, rgba(2, 14, 38, 0.58) 52%, rgba(1, 8, 28, 0.78) 100%);
  pointer-events: none;
}

.nl-hero__inner {
  position: relative;
  z-index: 1;
  position: absolute;
  inset: 0;
  padding: clamp(32px, 5vw, 56px) 0 clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nl-hero__crumb {
  margin: 0 0 12px;
  font-size: var(--lp-fs-sm);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.nl-hero__crumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.nl-hero__crumb a:hover {
  text-decoration: underline;
}

.nl-hero__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nl-hero__lead {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- Toolbar ---------- */
.nl-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--lp-gap);
  margin-bottom: 22px;
}

.nl-toolbar__title {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  color: #1f2937;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nl-toolbar__meta {
  margin: 0;
  font-size: var(--lp-fs-sm);
  color: #6b7280;
}

/* ---------- List rows ---------- */
.nl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--lp-gap);
}

.nl-card {
  margin: 0;
}

.nl-card__hit {
  display: grid;
  grid-template-columns: 1fr;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.nl-card__hit:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.14);
}

.nl-card__media {
  position: relative;
  background: #f3f4f6;
  overflow: hidden;
}

.nl-card__img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.45s ease;
}

.nl-card__hit:hover .nl-card__img {
  transform: scale(1.04);
}

.nl-card__badge {
  position: absolute;
  right: 12px;
  top: 12px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  text-align: center;
  min-width: 54px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.nl-card__badge-day {
  padding: 8px 10px 2px;
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 900;
  line-height: 1.1;
}

.nl-card__badge-ym {
  padding: 0 10px 8px;
  font-size: var(--lp-fs-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.92;
}

.nl-card__body {
  padding: 14px 14px 16px;
}

@media (min-width: 900px) {
  .nl-card__hit {
    grid-template-columns: 260px 1fr;
    align-items: stretch;
  }

  .nl-card__img {
    min-height: 160px;
  }
}

.nl-card__title {
  margin: 8px 0 8px;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  text-transform: uppercase;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.nl-card__excerpt {
  margin: 0 0 10px;
  color: #475569;
  line-height: 1.65;
  font-size: var(--lp-fs-md);
  min-height: 3.3em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.nl-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lp-gap);
  align-items: center;
  margin: 0 0 10px;
  color: #64748b;
  font-size: var(--lp-fs-sm);
  font-weight: 700;
}

.nl-card__meta-item {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.nl-card__more {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 800;
  font-size: var(--lp-fs-md);
  color: #1d4ed8;
}

.nl-card__more i {
  font-size: 1.05em;
}

/* ---------- Pagination ---------- */
.nl-pagination {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--lp-gap);
  padding: 18px 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}

.nl-pagination__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: var(--lp-fs-md);
  font-weight: 500;
  color: #1f2937;
  text-decoration: none;
  background: #f3f4f6;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nl-pagination__step:hover {
  background: #e5e7eb;
  color: #111827;
}

.nl-pagination__nums {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nl-pagination__nums .page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border-radius: 10px;
  font-size: var(--lp-fs-md);
  color: #374151;
  text-decoration: none;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nl-pagination__nums .page-num:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.nl-pagination__nums .page-num-current {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  font-weight: 600;
  pointer-events: none;
}

/* ------------------------------------------------------------
   1920+ scaling (match homepage linear scale)
------------------------------------------------------------ */
@media (min-width: 1921px) {
  .nl-hero__title {
    font-size: calc(1.6vw + 12px);
    line-height: 1.18;
  }

  .nl-hero__lead,
  .nl-card__excerpt {
    font-size: calc(0.55vw + 9px);
    line-height: 1.8;
  }

  .nl-toolbar__title,
  .nl-card__title {
    font-size: calc(0.6vw + 14px);
  }

  .nl-card__badge-day {
    font-size: calc(0.7vw + 12px);
  }

  .nl-card__badge-ym,
  .nl-card__meta {
    font-size: calc(0.5vw + 9px);
  }

  .nl-card__more {
    font-size: calc(0.55vw + 10px);
    gap: calc(0.3vw + 6px);
  }

  .nl-card__more i {
    font-size: calc(0.35vw + 12px);
  }

  .nl-grid,
  .nl-toolbar {
    gap: var(--lp-gap);
  }

  .nl-pagination__nums .page-num {
    min-width: calc(0.4vw + 30px);
    height: calc(0.4vw + 30px);
    padding: 0 calc(0.4vw + 8px);
    font-size: calc(0.55vw + 9px);
  }
}

