/* =========================================================
   News page: vertical timeline
   ========================================================= */

.site-nav a[aria-current="page"],
.site-nav a.active {
  color: var(--accent);
}

.news-intro {
  padding: 72px 0 55px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(152, 30, 50, 0.10),
      transparent 34%
    ),
    linear-gradient(180deg, #ffffff, #fbfaf9);
}

.news-intro h1 {
  max-width: 850px;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.news-intro-text {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.news-section {
  padding: 72px 0 105px;
  background: #f7f6f4;
}

.news-timeline {
  position: relative;
  display: grid;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.news-timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 137px;
  width: 2px;
  background: rgba(152, 30, 50, 0.18);
}

.news-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 38px;
}

.news-item::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 130px;
  z-index: 2;
  width: 16px;
  height: 16px;
  border: 4px solid #f7f6f4;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(152, 30, 50, 0.22);
}

.news-date {
  padding-top: 30px;
  text-align: right;
}

.news-date time {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-content {
  padding: 29px 35px 32px;
  border: 1px solid rgba(23, 32, 42, 0.10);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(23, 32, 42, 0.065);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.news-content:hover {
  border-color: rgba(152, 30, 50, 0.22);
  box-shadow: 0 18px 46px rgba(23, 32, 42, 0.11);
  transform: translateY(-3px);
}

.news-type {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.news-content h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.news-content > p:last-child {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

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

  .news-section {
    padding: 55px 0 80px;
  }

  .news-timeline {
    gap: 20px;
  }

  .news-timeline::before {
    left: 8px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-left: 28px;
  }

  .news-item::before {
    top: 9px;
    left: 1px;
  }

  .news-date {
    padding-top: 0;
    text-align: left;
  }

  .news-content {
    padding: 24px 22px 27px;
    border-radius: 17px;
  }


  .news-content > p:last-child {
    font-size: 0.94rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-content {
    transition: none;
  }
}

/* Smaller News page fonts */
.news-page .news-intro h1 {
  font-size: clamp(2rem, 3.5vw, 3rem) !important;
  line-height: 1.1;
}

.news-page .news-content h2 {
  font-size: 1.2rem !important;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.news-page .news-content > p:last-child {
  font-size: 0.9rem !important;
  line-height: 1.65;
}

@media (max-width: 700px) {
  .news-page .news-intro h1 {
    font-size: 2rem !important;
  }

  .news-page .news-content h2 {
    font-size: 1.1rem !important;
  }

  .news-page .news-content > p:last-child {
    font-size: 0.88rem !important;
  }
}
