:root {
  --wp-content: 1180px;
}

.wp-editorial {
  min-height: 100vh;
  background: var(--bg);
}

.wp-header {
  top: 0;
}

.wp-news,
.wp-article {
  min-height: 70vh;
  padding: 100px 24px 120px;
}

.wp-news-hero,
.wp-news-grid,
.wp-pagination,
.wp-news-empty,
.wp-article > article {
  width: min(100%, var(--wp-content));
  margin-inline: auto;
}

.wp-news-hero {
  padding-bottom: 58px;
}

.wp-news-hero h1,
.wp-article-header h1,
.wp-news-empty h1 {
  margin: 18px 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.wp-news-hero h1 em {
  color: var(--green);
  font-family: var(--font-serif);
  font-weight: 400;
}

.wp-news-hero > p,
.wp-news-empty p,
.wp-article-lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.wp-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.wp-news-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 50px -38px rgba(20, 18, 15, .45);
}

.wp-news-card-image {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--green-soft);
}

.wp-news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}

.wp-news-card:hover .wp-news-card-image img {
  transform: scale(1.035);
}

.wp-news-card-placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  color: var(--green);
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
}

.wp-news-card-body {
  padding: 24px;
}

.wp-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 12.5px;
}

.wp-news-meta a,
.wp-news-card a,
.wp-article a {
  color: inherit;
}

.wp-news-card h2 {
  margin: 14px 0 10px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.wp-news-card h2 a,
.wp-read-more {
  text-decoration: none;
}

.wp-news-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.wp-read-more {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green) !important;
  font-size: 14px;
  font-weight: 600;
}

.wp-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.wp-pagination .page-numbers {
  display: grid;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
}

.wp-pagination .current {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.wp-article > article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 900px;
}

.wp-article-header {
  position: static !important;
  inset: auto !important;
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 44px;
  transform: none !important;
}

.wp-back {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--green) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.wp-article-cover {
  position: static !important;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0 0 50px;
  border-radius: 24px;
  transform: none !important;
}

.wp-article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wp-header {
  position: relative;
  z-index: 100;
}

.wp-article-content {
  max-width: 720px;
  margin: 0 auto;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.8;
}

.wp-article-content > * {
  margin-bottom: 1.4em;
}

.wp-article-content h2,
.wp-article-content h3 {
  margin-top: 1.9em;
  line-height: 1.2;
}

.wp-article-content a {
  color: var(--green);
}

.wp-news-empty {
  padding-block: 90px;
  text-align: center;
}

.wp-news-empty p {
  margin-inline: auto;
}

.wp-footer {
  padding: 64px 24px 24px;
  background: var(--green);
  color: rgba(255, 255, 255, .8);
}

.wp-footer-inner,
.wp-footer-bottom {
  width: min(100%, var(--wp-content));
  margin-inline: auto;
}

.wp-footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
}

.wp-footer strong {
  color: #fff;
}

.wp-footer p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.wp-footer a {
  color: inherit;
}

.wp-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: 12.5px;
}

@media (max-width: 900px) {
  .wp-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wp-footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .wp-news,
  .wp-article {
    padding: 70px 18px 90px;
  }

  .wp-news-grid {
    grid-template-columns: 1fr;
  }

  .wp-article-header h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .wp-footer-bottom {
    flex-direction: column;
  }
}
