.agpc-section {
  padding: 52px 0;
  border-bottom: 1px solid var(--line, #d9ddda);
  color: var(--ink, #1d211f);
}

.agpc-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 27px;
}

.agpc-section .agpc-heading {
  margin: 0;
  font-family: var(--serif, Georgia, 'Times New Roman', serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.agpc-controls { display: flex; flex-shrink: 0; gap: 4px; }
.agpc-controls[hidden] { display: none !important; }
.agpc-section .agpc-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.agpc-section .agpc-arrow:disabled { opacity: .22; cursor: default; }
.agpc-section .agpc-arrow:not(:disabled):hover { color: var(--blue, #2345eb); }

.agpc-section .agpc-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 3.2);
  gap: 24px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  list-style: none;
  -webkit-overflow-scrolling: touch;
}
.agpc-track::-webkit-scrollbar { display: none; }
.agpc-section .agpc-card { min-width: 0; margin: 0; padding: 0; scroll-snap-align: start; }
.agpc-section .agpc-card-link { display: block; color: inherit; text-decoration: none; }
.agpc-media {
  position: relative;
  background: var(--soft, #f4f5f2);
}
.agpc-section .agpc-media img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.agpc-placeholder {
  display: flex;
  align-items: center;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  padding: 24px;
  font-size: clamp(22px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.05em;
}
.agpc-section .agpc-title {
  margin: 16px 0 0;
  font-family: inherit;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.agpc-card-link:hover .agpc-title { color: var(--blue, #2345eb); }
.agpc-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 20px;
}
.agpc-pagination[hidden] { display: none !important; }
.agpc-section .agpc-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.agpc-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line, #d9ddda);
}
.agpc-dot[aria-current="true"]::before { background: var(--ink, #1d211f); }
.agpc-dot:hover::before { background: var(--muted, #656964); }
.agpc-dot:focus-visible { outline: 3px solid var(--blue, #2345eb); outline-offset: 0; }
.agpc-footer { display: flex; justify-content: flex-start; margin-top: 24px; }
.agpc-section .agpc-archive-link {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
.agpc-section .agpc-archive-link:hover { color: var(--blue, #2345eb); }
.agpc-card-link:focus-visible { outline: 3px solid var(--blue, #2345eb); outline-offset: -3px; }
.agpc-arrow:focus-visible, .agpc-track:focus-visible { outline: 3px solid var(--blue, #2345eb); outline-offset: 4px; }
.agpc-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 999px) {
  .agpc-section .agpc-track { grid-auto-columns: calc((100% - 40px) / 2.2); gap: 20px; }
}
@media (max-width: 599px) {
  .agpc-section { padding: 36px 0; }
  .agpc-heading-row { gap: 12px; margin-bottom: 20px; }
  .agpc-section .agpc-heading { font-size: 28px; }
  .agpc-section .agpc-track { grid-auto-columns: 82%; gap: 16px; }
  .agpc-section .agpc-title { font-size: 17px; margin-top: 13px; }
}
