.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.article-card {
  display: flex;
  min-width: 0;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.article-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: inherit;
}

.article-card-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 9px 9px 0 0;
  background: var(--surface);
}

.article-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: clamp(16px, 2vw, 24px);
}

.article-card-copy time,
.article-date {
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.article-card-copy h2 {
  font-size: var(--type-h3);
  line-height: 1.17;
}

.article-card-copy p {
  color: var(--muted);
  font-size: var(--type-body);
  line-height: 1.4;
}

.article-card-arrow {
  display: grid;
  place-items: center;
  margin: auto 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--green);
}

.article-card-link:is(:hover, :focus-visible) .article-card-arrow {
  color: #fff;
  background: var(--green);
}

.article-feed .pagination {
  margin-top: 32px;
}

.article-feed .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-feed .page-numbers {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.article-feed a.page-numbers:hover,
.article-feed .page-numbers.current {
  background: var(--green);
  color: #fff;
}

.article-story {
  max-width: 780px;
  padding-block: clamp(28px, 4vw, 64px);
}

.article-page :is(.page-intro-title, .breadcrumb-item),
.article-prose {
  overflow-wrap: anywhere;
}

.article-page .breadcrumb-step {
  min-width: 0;
}

.article-cover {
  margin-block: 16px 24px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
}

.article-cover img {
  width: 100%;
  max-height: 510px;
  object-fit: contain;
}

.article-prose {
  margin-top: 20px;
  font-size: var(--type-body);
  line-height: 1.6;
}

.article-prose > * + * {
  margin-block-start: 1em;
}

.article-prose h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.article-prose h3 {
  font-size: var(--type-h3);
}

.article-prose ul,
.article-prose ol {
  padding-inline-start: 1.4em;
}

.article-prose a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-prose .wp-block-button__link {
  color: #fff;
}

.article-prose :is(img, iframe) {
  max-width: 100%;
}

.article-prose .wp-block-table {
  overflow-x: auto;
}

.article-story > .text-link {
  margin-top: 28px;
}

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

@media (max-width: 580px) {
  .article-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
