/* news page styles. Shared colors and type are in visual-system.css. */

/* news.css shared component rules */
.news-archive-heading {
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  text-align: center;
  max-width: 1000px;
}
.news-archive-heading h1 {
  margin: 1rem auto 0;
  max-width: 900px;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}
.news-archive-heading h1 span {
  color: var(--cream, #f5f0e7);
}
.news-archive-heading > p:last-child {
  max-width: 620px;
  margin: 1.25rem auto 0;
  color: var(--cream-dim, #b8b1a8);
  font-size: clamp(0.96rem, 1.5vw, 1.1rem);
  line-height: 1.75;
}
.news-archive {
  padding-top: 0;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2rem);
}
.news-card {
  min-width: 0;
  border: 1px solid rgba(255, 248, 239, 0.12);
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}
.news-card:hover,
.news-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(242, 152, 72, 0.38);
  background: rgba(255, 255, 255, 0.04);
}
.news-card-link {
  display: grid;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.news-card-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1.62;
  background: #222225;
  overflow: hidden;
}
.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.news-card:hover .news-card-image img {
  transform: scale(1.035);
}
.news-card-placeholder {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  color: #f29848;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.08em;
}
.news-card-placeholder span {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
}
.news-card-copy {
  display: grid;
  align-content: start;
  padding: clamp(1.1rem, 2.7vw, 2rem);
}
.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #aaa196;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.news-meta > span {
  color: #f29848;
}
.news-card h2 {
  margin: 0.8rem 0 0;
  font-size: clamp(1.35rem, 2.8vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.news-card-copy > p {
  margin: 0.75rem 0 0;
  color: #c6beb2;
  font-size: 0.88rem;
  line-height: 1.7;
}
.news-read-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 248, 239, 0.1);
  color: #fff4e7;
  font-size: 0.73rem;
  font-weight: 700;
}
.news-read-link span {
  color: #f29848;
  font-size: 1rem;
}
.news-empty {
  grid-column: 1/-1;
  min-height: 220px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem;
  border: 1px solid rgba(255, 248, 239, 0.11);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
}
.news-empty h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}
.news-empty p:not(.news-category) {
  max-width: 540px;
  margin: 0.65rem auto 0;
  color: #bcb4a9;
  line-height: 1.7;
}
@media (max-width: 700px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-card-image {
    aspect-ratio: 1.5;
  }
}
@media (prefers-reduced-motion: reduce) {
  .news-card,
  .news-card-image img {
    transition: none;
  }
}
.news-archive-heading.journal-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(6rem, 11vw, 10rem) 1.25rem clamp(4rem, 7vw, 6.5rem);
  border-bottom: 1px solid rgba(255, 248, 239, 0.1);
  background: #171719;
  text-align: center;
}
.journal-hero .news-category {
  margin: 0 auto;
  color: #f29848;
}
.journal-hero h1 {
  max-width: 980px;
  margin: 1.1rem auto 0;
  font-size: clamp(3.5rem, 9vw, 8.3rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  text-wrap: balance;
}
.journal-hero h1 span {
  color: #f29848;
}
.journal-hero > p:last-child {
  max-width: 660px;
  margin: 1.4rem auto 0;
  color: #c6beb2;
  font-size: clamp(0.95rem, 1.55vw, 1.18rem);
  line-height: 1.75;
}
.news-archive {
  width: min(1240px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding-top: clamp(3rem, 6vw, 5.5rem);
}
.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.news-card {
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.025);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}
.news-card-image {
  aspect-ratio: 1.42;
  background: #222225;
}
.news-card-placeholder {
  color: #f29848;
}
.news-card-copy {
  min-height: 225px;
  padding: 1.25rem;
}
.news-card h2 {
  font-size: clamp(1.2rem, 1.7vw, 1.65rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}
.news-card-copy > p {
  font-size: 0.8rem;
  line-height: 1.65;
}
.news-read-link {
  margin-top: auto;
  padding-top: 1rem;
}
@media (max-width: 1050px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .news-archive-heading.journal-hero {
    padding-top: 5.5rem;
    padding-bottom: 4rem;
  }
  .journal-hero h1 {
    font-size: clamp(3.35rem, 14vw, 5.5rem);
  }
  .news-archive {
    width: calc(100% - 2rem);
  }
  .news-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .news-card-image {
    aspect-ratio: 1.45;
  }
  .news-card-copy {
    min-height: 0;
    padding: 1.15rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .news-card,
  .news-card-image img {
    transition: none;
  }
}
.news-archive {
  padding-top: clamp(4.2rem, 8vw, 7rem);
}
