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

/* news.css shared component rules */
.news-article {
  max-width: 1000px;
  margin-inline: auto;
  padding-top: clamp(2.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
}
.news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ded5c8;
  text-decoration: none;
  font-size: 0.78rem;
}
.news-back-link:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.news-article-heading {
  max-width: 850px;
  margin: clamp(2rem, 5vw, 4.5rem) auto 2.25rem;
  text-align: center;
}
.news-article-heading h1 {
  margin: 0.85rem auto 0;
  font-size: clamp(2.5rem, 6.6vw, 6rem);
  line-height: 1;
  letter-spacing: -0.065em;
  text-wrap: balance;
}
.news-byline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.6rem;
  color: #aca397;
  font-size: 0.76rem;
}
.news-byline > span {
  display: grid;
  gap: 0.2rem;
  text-align: left;
}
.news-byline strong {
  color: #fff4e7;
}
.news-byline time {
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 248, 239, 0.18);
}
.news-article-cover {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(320px, 45vw, 560px);
  margin: 2rem auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 239, 0.1);
  border-radius: 1rem;
  background: #18181a;
}
.news-article-cover img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(82vh, 1000px);
  object-fit: contain;
  margin-inline: auto;
}
.news-reading-column {
  max-width: 720px;
  margin: clamp(2.5rem, 6vw, 5rem) auto;
  color: #e4ddd3;
  font-size: 1rem;
  line-height: 1.9;
}
.news-reading-column p {
  margin: 0 0 1.4rem;
}
.news-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}
.news-gallery-item {
  min-width: 0;
  margin: 0;
}
.news-gallery-item:first-child {
  grid-column: 1/-1;
}
.news-gallery-item img,
.news-gallery-item video {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 248, 239, 0.12);
}
.news-gallery-item:first-child img,
.news-gallery-item:first-child video {
  max-height: 780px;
}
.news-gallery-item figcaption {
  padding: 0.6rem 0.2rem;
  color: #a9a094;
  font-size: 0.72rem;
  text-align: center;
}
.news-story-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 248, 239, 0.12);
}
.news-story-step {
  min-width: 0;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem;
  border: 1px solid rgba(255, 248, 239, 0.12);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.025);
  color: #fff4e7;
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.news-story-step:hover {
  border-color: rgba(242, 152, 72, 0.4);
  transform: translateY(-2px);
}
.news-story-step.is-empty {
  opacity: 0.55;
}
.news-step-image {
  width: 96px;
  aspect-ratio: 1.35;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #222225;
  color: #f29848;
  font-weight: 800;
}
.news-step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-step-copy {
  min-width: 0;
  display: grid;
  gap: 0.4rem;
}
.news-step-copy small {
  color: #f29848;
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.news-step-copy strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.82rem;
  line-height: 1.45;
}
@media (max-width: 700px) {
  .news-byline {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }
  .news-byline time {
    padding: 0;
    border: 0;
  }
  .news-gallery {
    grid-template-columns: 1fr;
  }
  .news-gallery-item:first-child {
    grid-column: auto;
  }
  .news-story-navigation {
    grid-template-columns: 1fr;
  }
  .news-story-step {
    grid-template-columns: 88px minmax(0, 1fr);
  }
  .news-step-image {
    width: 88px;
  }
  .news-article-cover {
    min-height: 260px;
  }
  .news-reading-column {
    font-size: 0.95rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .news-story-step {
    transition: none;
  }
}
.news-reading-column .journal-text-small {
  font-size: 0.84em;
}
.news-reading-column .journal-text-large {
  font-size: 1.25em;
  line-height: 1.65;
}
.news-reading-column .journal-text-xl {
  font-size: 1.5em;
  line-height: 1.5;
}
.news-reading-column ul,
.news-reading-column ol {
  display: grid;
  gap: 0.5rem;
  margin: 0.4rem 0 1.5rem;
  padding-left: 1.5rem;
}
.news-reading-column li::marker {
  color: #f29848;
}
.news-reading-column blockquote {
  margin: 1.5rem 0;
  padding: 0.3rem 0 0.3rem 1.2rem;
  border-left: 3px solid #f29848;
  color: #fff4e7;
  font-size: 1.12em;
  line-height: 1.7;
}
