/* ==========================================================================
   Affiliations & Certifications — borderless rolling icon strip (BUILD-003)
   No frames/borders. Icons roll (marquee) on overflow, center when few.
   ========================================================================== */

.affiliations-section {
  padding: 48px 0;
}
.affiliations-carousel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.affiliations-heading {
  text-align: center;
  margin-bottom: 28px;
}
/* .section-title already carries the light-orange bubble style site-wide */
.affiliations-heading .section-title {
  display: inline-block;
}

/* strip = viewport; track = row that scrolls */
.affiliations-strip {
  overflow: hidden;
  width: 100%;
}
.affiliations-strip--centered {
  display: flex;
  justify-content: center;
}
.affiliations-track {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  width: max-content;
}
.affiliations-track--rolling {
  animation: affiliations-scroll linear infinite;
}
.affiliations-strip:hover .affiliations-track--rolling {
  animation-play-state: paused;
}

@keyframes affiliations-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* item = icon with title BELOW it, no border */
.affiliations-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 96px;
}
.affiliations-item__icon {
  height: 64px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}
.affiliations-item__title {
  font-family: var(--font-body, 'Nunito Sans', sans-serif);
  color: var(--text-color-body, #333);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}
a.affiliations-item:hover .affiliations-item__title {
  color: #f88e24;
}

@media (max-width: 600px) {
  .affiliations-track { gap: 36px; }
  .affiliations-item__icon { height: 52px; }
}
