.afpcc {
  --afpcc-columns: 4;
  --afpcc-gap: 24px;
  --afpcc-ink: #252525;
  --afpcc-radius: 24px;
  width: 100%;
  color: var(--afpcc-ink);
  font-family: inherit;
}

.afpcc *, .afpcc *::before, .afpcc *::after { box-sizing: border-box; }
.afpcc__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.afpcc__heading { margin: 0; color: inherit; font-size: clamp(27px, 2.2vw, 40px); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.afpcc__controls { display: inline-flex; align-items: center; gap: 13px; min-height: 42px; padding: 0 15px; border: 1px solid #dedede; border-radius: 999px; white-space: nowrap; }
.afpcc__nav { display: inline-grid; place-items: center; width: 24px; height: 32px; padding: 0; border: 0; background: transparent; color: var(--afpcc-ink); font: inherit; font-size: 19px; line-height: 1; cursor: pointer; }
.afpcc__nav:disabled { opacity: .35; cursor: default; }
.afpcc__position { min-width: 3.5em; color: #717171; text-align: center; font-size: 14px; font-weight: 500; letter-spacing: .03em; }
.afpcc__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--afpcc-columns) - 1) * var(--afpcc-gap)) / var(--afpcc-columns)); gap: var(--afpcc-gap); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-inline: contain; }
.afpcc__track::-webkit-scrollbar { display: none; }
.afpcc__track:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.afpcc__card { display: block; min-width: 0; color: inherit; text-decoration: none; scroll-snap-align: start; }
.afpcc__card:hover, .afpcc__card:focus { color: inherit; text-decoration: none; }
.afpcc__image-wrap { position: relative; display: block; width: 100%; aspect-ratio: .78; overflow: hidden; border-radius: var(--afpcc-radius); background: #f6f1f0; }
.afpcc__image, .afpcc__image-placeholder { display: block; width: 100%; height: 100%; }
.afpcc .afpcc__image { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; transition: transform .35s ease; }
.afpcc__card:hover .afpcc__image { transform: scale(1.035); }
.afpcc__image-placeholder { background: #f6f1f0; }
.afpcc__card-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 24px 8px 0; }
.afpcc__label { font-size: 14px; font-weight: 600; line-height: 1.3; text-transform: uppercase; }
.afpcc__card-arrow { display: inline-grid; flex: none; place-items: center; width: 44px; height: 44px; border: 1px solid #dedede; border-radius: 50%; font-size: 21px; line-height: 1; transition: background-color .2s, border-color .2s; }
.afpcc__card:hover .afpcc__card-arrow, .afpcc__card:focus-visible .afpcc__card-arrow { background: #f2f2f2; border-color: #aaa; }
.afpcc__card:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: var(--afpcc-radius); }
@media (max-width: 1024px) { .afpcc { --afpcc-columns: 2; --afpcc-gap: 18px; } }
@media (max-width: 767px) { .afpcc { --afpcc-columns: 1; --afpcc-gap: 16px; } .afpcc__header { align-items: center; margin-bottom: 22px; } .afpcc__heading { font-size: 26px; } .afpcc__controls { gap: 7px; min-height: 38px; padding: 0 8px; } .afpcc__position { font-size: 12px; } .afpcc__card-footer { padding-top: 16px; } }
@media (prefers-reduced-motion: reduce) { .afpcc__track { scroll-behavior: auto; } .afpcc__image { transition: none; } }

/* Center category names and remove the per-card CTA icon. */
.afpcc__card-footer { justify-content: center; text-align: center; }
.afpcc__card-arrow { display: none; }
