/* ========= PARTNERS PAGE — animated logo hero ========= */

.ab-page--partners .pt-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #003752 0%, #0077B6 48%, #005A8C 100%);
  min-height: 420px;
}

.ab-page--partners .pt-hero.page-hero--program::before {
  display: none;
}

.ab-page--partners .pt-hero .page-tagline {
  color: rgba(255, 255, 255, 0.92);
}

.pt-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  max-width: 1180px;
}

.pt-hero-copy {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.pt-hero-copy > * {
  animation: ptHeroFade 0.7s ease-out both;
}

.pt-hero-copy .breadcrumb { animation-delay: 0.05s; }
.pt-hero-copy .page-tagline { animation-delay: 0.12s; }
.pt-hero-copy h1 { animation-delay: 0.22s; }
.pt-hero-copy .page-lead { animation-delay: 0.35s; }

@keyframes ptHeroFade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.pt-hero-logos {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.pt-hero-marquee {
  overflow: hidden;
  width: 100%;
}

.pt-hero-marquee-track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: ptMarqueeLeft 38s linear infinite;
}

.pt-hero-marquee--right .pt-hero-marquee-track {
  animation-name: ptMarqueeRight;
  animation-duration: 42s;
}

.pt-hero-marquee--slow .pt-hero-marquee-track {
  animation-duration: 48s;
}

@keyframes ptMarqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes ptMarqueeRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.pt-hero-logo-tile {
  flex-shrink: 0;
  width: 118px;
  height: 68px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 35, 55, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pt-hero-logo-tile img {
  width: 100%;
  height: auto;
  max-height: 44px;
  object-fit: contain;
  display: block;
}

.pt-hero-marquee--left .pt-hero-logo-tile:nth-child(odd) {
  animation: ptTileFloat 5s ease-in-out infinite;
}

.pt-hero-marquee--right .pt-hero-logo-tile:nth-child(even) {
  animation: ptTileFloat 5.5s ease-in-out infinite;
  animation-delay: -1.5s;
}

@keyframes ptTileFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 900px) {
  .pt-hero-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pt-hero-logos {
    mask-image: none;
    padding: 0;
  }

  .pt-hero-logo-tile {
    width: 104px;
    height: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pt-hero-marquee-track,
  .pt-hero-logo-tile,
  .pt-hero-copy > * {
    animation: none;
  }

  .pt-hero-copy > * {
    opacity: 1;
    transform: none;
  }
}

/* ========= Stats + collaboration block ========= */

.ab-page--partners .page-main--about {
  padding-top: 48px;
}

.pt-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.pt-stat-card {
  background: linear-gradient(160deg, #fff 0%, var(--ab-bg, #EBF5FB) 100%);
  border: 1px solid rgba(0, 119, 182, 0.14);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 55, 90, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pt-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 55, 90, 0.1);
}

.pt-stat-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  background: #fff;
  color: #0077B6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 55, 90, 0.08);
}

.pt-stat-card .n {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: #0077B6;
  line-height: 1;
}

.pt-stat-card .l {
  font-size: 13px;
  font-weight: 600;
  color: #718096;
  margin-top: 6px;
}

.pt-collab {
  width: 100%;
  margin-bottom: 48px;
  padding: 40px 44px;
  background: linear-gradient(135deg, #fff 0%, #f3f9fd 50%, #fff 100%);
  border: 1px solid rgba(0, 119, 182, 0.12);
  border-radius: 22px;
  box-shadow: 0 16px 44px rgba(0, 55, 90, 0.07);
  position: relative;
  overflow: hidden;
}

.pt-collab::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0077B6 0%, #5eb8e8 50%, #0077B6 100%);
}

.pt-collab-copy {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 28px 48px;
  align-items: start;
}

.pt-collab-main {
  grid-column: 1;
  grid-row: 1;
}

.pt-collab-main .ab-eyebrow {
  margin-bottom: 8px;
}

.pt-collab-copy h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.8vw, 32px);
  color: #1A202C;
  margin: 0 0 12px;
}

.pt-collab-text {
  max-width: 62ch;
}

.pt-collab-text p {
  font-size: 16px;
  color: #4A5568;
  line-height: 1.7;
  margin: 0;
}

.pt-collab-text p + p {
  margin-top: 10px;
}

.pt-collab-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

.pt-collab-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #2D3748;
  background: #fff;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 6px 18px rgba(0, 55, 90, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pt-collab-points li:hover {
  transform: translateX(4px);
  border-color: rgba(0, 119, 182, 0.28);
  box-shadow: 0 10px 24px rgba(0, 55, 90, 0.09);
}

.pt-collab-points i {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: #EBF5FB;
  color: #0077B6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ab-page--partners .ab-section-head {
  margin-bottom: 28px;
  text-align: center;
}

.ab-page--partners .ab-section-head .ab-eyebrow {
  justify-content: center;
}

.ab-page--partners .partners-logo-wall {
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 18px;
}

.ab-page--partners .partner-logo-cell {
  min-height: 100px;
  padding: 18px 16px;
  border-radius: 16px;
}

.ab-page--partners .partner-logo-cell img {
  max-height: 68px;
  width: 100%;
}

@media (max-width: 900px) {
  .pt-stats {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .pt-collab {
    padding: 28px 24px;
  }

  .pt-collab-copy {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pt-collab-main,
  .pt-collab-points {
    grid-column: 1;
    grid-row: auto;
  }

  .ab-page--partners .partners-logo-wall {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }

  .ab-page--partners .partner-logo-cell {
    min-height: 88px;
    padding: 14px 12px;
  }

  .ab-page--partners .partner-logo-cell img {
    max-height: 56px;
  }
}

