.page-filter-encyclopedia .resource-hero > img { object-position: center 53%; }

.encyclopedia-library {
  min-height: 1819px;
  padding: 80px 0 70px;
  background: #fff;
}

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

.article-card {
  min-width: 0;
  background: #f8f8f8;
  transition: box-shadow .25s ease, transform .25s ease;
}

.article-card:hover {
  box-shadow: 0 14px 36px rgba(55, 96, 54, .14);
  transform: translateY(-4px);
}

.article-card figure {
  aspect-ratio: 513 / 288;
  margin: 0;
  overflow: hidden;
}

.article-card figure a { display: block; width: 100%; height: 100%; }

.article-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.article-card:hover figure img { transform: scale(1.035); }

.article-copy {
  display: flex;
  flex-direction: column;
  min-height: 208px;
  padding: 17px 30px 30px;
}

.article-copy h2 {
  margin: 0;
  color: #000;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.22;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-copy h2 a { transition: color .2s ease; }
.article-copy h2 a:hover, .article-copy h2 a:focus-visible { color: var(--green); }

.article-copy time {
  margin-top: 6px;
  color: #939393;
  font-size: 17px;
  line-height: 1.6;
}

.article-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  margin-top: auto;
  color: var(--green);
  font-size: 16px;
  line-height: 1.4;
}

.article-more img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transform: rotate(180deg);
  transition: transform .2s ease;
}

.article-more:hover img { transform: rotate(180deg) translateX(-4px); }

.encyclopedia-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
  color: #333;
  font-size: 16px;
  line-height: 30px;
}

.pagination-controls { display: flex; align-items: center; gap: 8px; margin-left: 30px; }
.pagination-controls > :is(button, a, span) { display: block; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.pagination-controls img { width: 30px; height: 30px; object-fit: contain; }
.pagination-controls > :first-child img { transform: scaleX(-1); }
.pagination-controls :is(button:disabled, .is-disabled) { cursor: default; opacity: .55; }

@media (max-width: 1500px) {
  .encyclopedia-library { min-height: auto; }
  .article-copy { min-height: 220px; padding: 17px 24px 26px; }
  .article-copy h2 { font-size: 18px; }
}

@media (max-width: 991.98px) {
  .encyclopedia-library { padding: 70px 0 90px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
}

@media (max-width: 620px) {
  .page-filter-encyclopedia .resource-hero > img { object-position: 42% center; }
  .encyclopedia-library { padding: 46px 0 70px; }
  .article-grid { grid-template-columns: 1fr; gap: 24px; }
  .article-copy { min-height: 205px; padding: 16px 20px 22px; }
  .article-copy h2 { font-size: 18px; white-space: normal; }
  .article-copy time { font-size: 15px; }
  .article-copy p, .article-more { font-size: 15px; }
  .encyclopedia-pagination { margin-top: 36px; font-size: 14px; }
  .pagination-controls { margin-left: 10px; }
}
