/* Lush — news page */

/* List */
.news-list__items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.news-list__items li { border-bottom: 1px solid var(--rule); }
.news-list__items a {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 8px 32px;
  align-items: baseline;
  padding: 28px 8px;
  transition: color .3s ease;
}
.news-list__items time,
.news-detail > time { font-family: var(--font-en); font-weight: 300; font-size: 12px; letter-spacing: .15em; color: var(--muted); }
.news-list__items span { font-size: 15px; letter-spacing: .1em; line-height: 1.8; }
.news-list__pager {
  margin: 32px 0 0;
  text-align: center;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--muted);
}

/* Detail */
.news-detail { max-width: 860px; scroll-margin-top: 48px; /* in-page jump without JS: clear the fixed header */ }
.news-detail h2 { margin: 16px 0 0; font-size: 28px; font-weight: 400; line-height: 1.6; letter-spacing: .12em; }
.news-detail h2:focus { outline: none; } /* focused by script only (announces the opened article) */
.news-detail__image {
  margin-top: 40px;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: .35em;
  color: var(--muted);
}
.news-detail__body { margin-top: 40px; font-size: 15px; line-height: 2.2; letter-spacing: .08em; text-wrap: pretty; white-space: pre-line; }
.news-detail__foot { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--rule); }
.news-detail__back { display: inline-flex; align-items: center; gap: 16px; padding: 12px 0; color: var(--gold); font-size: 12px; letter-spacing: .2em; }
.news-detail__back span { display: block; width: 48px; height: 1px; background: var(--rule-gold); }

/* With JS (news.js adds .news--js): show either the list or one article */
.news--js .news-detail { display: none; }
.news--js .news-detail.is-open { display: block; animation: fadeIn .4s ease both; }
.news--js.news--detail .news-list { display: none; }

@media (max-width: 639px) {
  .news-list__items a { grid-template-columns: minmax(0, 1fr); gap: 4px 0; }
}
