/* News list and articles. They are built from Markdown, not from the Figma export. */
.news-title {
  margin: 0 0 56px;
  font:
    30px/34px "Bowlby One",
    sans-serif;
  text-align: center;
  text-transform: uppercase;
}
.news-title span {
  color: var(--wame-green);
}
.news-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  transition: border-color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.news-card:hover {
  border-color: rgba(140, 255, 60, 0.6);
}
.news-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px 24px;
}
.news-date {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}
.news-card h2 {
  margin: 0;
  font:
    700 20px/1.3 "Manrope",
    sans-serif;
}
.news-card p {
  flex: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}
.news-more {
  margin-top: 8px;
  color: var(--wame-green);
  font-weight: 700;
}
.news-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}
.news-article {
  max-width: 760px;
  margin: 0 auto;
}
.news-back {
  display: table;
  margin-bottom: 32px;
  color: var(--wame-green);
  font-weight: 700;
}
.news-article h1 {
  margin: 8px 0 16px;
  font:
    30px/1.15 "Bowlby One",
    sans-serif;
  text-transform: uppercase;
}
.news-lead {
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 19px;
}
.news-article > img {
  display: block;
  width: 100%;
  margin-bottom: 40px;
  border-radius: 24px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.news-body {
  font-size: 18px;
  line-height: 1.7;
}
.news-body h2 {
  margin: 40px 0 12px;
  font:
    700 26px/1.3 "Manrope",
    sans-serif;
}
.news-body h3 {
  margin: 32px 0 8px;
  font:
    700 21px/1.3 "Manrope",
    sans-serif;
}
.news-body p,
.news-body ul,
.news-body ol {
  margin: 0 0 20px;
}
.news-body a {
  color: var(--wame-green);
  text-decoration: underline;
}
@media (min-width: 800px) {
  .news-title,
  .news-article h1 {
    font-size: 48px;
    line-height: 48px;
  }
}
@media (min-width: 1280px) {
  .news-title {
    font-size: 60px;
    line-height: 64px;
  }
}
