/* Component-partner: strategic partners strip + infinite marquee */

section.sec-partner-ticker.section,
section.sec-partner-ticker {
  padding-top: 0;
  padding-bottom: 0;
}

.sec-partner-ticker {
  --partner-navy: #00204a;
  --partner-border: #00204a;
  --partner-marquee-duration: 45s;
  background: #fff;
  padding: 0;
  margin: 0;
  position: relative;
}

.sec-partner-ticker__rule-top {
  height: 1px;
  background: var(--partner-border);
  width: 100%;
}

.sec-partner-ticker__rule-bottom {
  height: 10px;
  background: var(--partner-border);
  width: 100%;
}

.sec-partner-ticker__inner {
  width: 100%;
  margin: 0;
  max-width: none;
  padding: clamp(32px, 5vw, 56px) var(--site-gutter-x) clamp(40px, 6vw, 64px);
}

.sec-partner-ticker__head {
  margin-bottom: 36px;
  padding: 0;
}

.sec-partner-ticker__title {
  margin: 0;
  font-size: clamp(1.75rem, 0.5rem + 2.4vw, 2.375rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--partner-navy);
  font-family: inherit;
  letter-spacing: -0.02em;
}

.sec-partner-ticker__viewport {
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 8px 0 4px;
}

/* Marquee: two identical groups; -50% of track = one loop; runs from first paint */
@keyframes sec-partner-marquee {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

.sec-partner-ticker__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  animation: sec-partner-marquee var(--partner-marquee-duration, 45s) linear infinite;
}

@media (hover: hover) and (pointer: fine) {
  .sec-partner-ticker__viewport:hover .sec-partner-ticker__track {
    animation-play-state: paused;
  }
}

.sec-partner-ticker__group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(32px, 5vw, 72px);
  padding: 0 32px;
}

.sec-partner-ticker__link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  width: 160px;
  height: 160px;
  position: relative;
  z-index: 1;
}

.sec-partner-ticker__link img {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.sec-partner-ticker__link--static {
  cursor: default;
}

.sec-partner-ticker__link:hover img,
.sec-partner-ticker__link:focus-visible img {
  filter: grayscale(0) opacity(1);
}

@media (prefers-reduced-motion: reduce) {
  .sec-partner-ticker__track {
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
    animation: none !important;
    transform: none !important;
  }

  .sec-partner-ticker__group {
    flex-wrap: wrap;
    width: 100%;
    padding: 0 15px 16px;
    gap: 24px 40px;
  }

  .sec-partner-ticker__group + .sec-partner-ticker__group {
    display: none;
  }
}
