/* ====================================================
   Testimonials Section — Okino-style marquee cards
   Extracted from okino-template.webflow.io
   ==================================================== */

/* ── Component wrapper ── */
.testimonials_component {
  max-width: 75rem;
  position: relative;
  overflow: hidden;
  margin-top: 3.5rem;
  /* Balanced spacing from the section heading */
  margin-bottom: 1.5rem;
}

/* ── Marquee rows ── */
.testimonials02_marquee {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  display: flex;
}

.testimonials02_marquee.is-bottom {
  margin-top: 0.5rem;
  /* Matches the original vertical separation */
}

/* ── Card list (the moving track) ── */
.testimonials02_list {
  gap: 0.5rem;
  /* Matches the original tight gap between card items */
  flex: none;
  justify-content: center;
  align-items: center;
  display: flex;
}

/* ── Scroll animations ── */
@keyframes scroll-right {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes scroll-left {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.testimonials02_list.move-right {
  animation: scroll-right 40s linear infinite;
}

.testimonials02_list.move-left {
  animation: scroll-left 40s linear infinite;
}

.testimonials_component:hover .testimonials02_list {
  animation-play-state: paused;
}

/* ── Individual card ── */
.testimonials02_card {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background-color: var(--_colors---foreground);
  border-radius: .5rem;
  flex-flow: column;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: stretch;
  width: 28rem;
  /* Reverted to the original Okino card width */
  max-width: 28rem;
  padding: 1.5rem;
  display: flex;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonials02_card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.25);
}

/* ── Quote icon ── */
.testimonials02_quote {
  width: 2rem;
  height: 2rem;
  color: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* ── Quote text ── */
.testimonials02_card>p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
  flex: 1;
}

/* ── Divider ── */
.testimonials_divider {
  background-color: rgba(255, 255, 255, 0.1);
  width: 5rem;
  height: 1px;
  flex-shrink: 0;
}

/* ── Author row ── */
.testimonials02_bottom {
  grid-column-gap: .75rem;
  grid-row-gap: .75rem;
  flex-flow: wrap;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

/* ── Avatar circle ── */
.avatar-wrapper {
  border-radius: 9999px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  display: inline-flex;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Author name / role ── */
.text-size-small {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.text-size-xsmall {
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

.text-color-subtle {
  color: rgba(255, 255, 255, 0.5);
}

/* ── Edge fade overlays ── */
.testimonials_fadeout {
  background-image: linear-gradient(90deg, var(--_colors---background), transparent);
  pointer-events: none;
  width: 15%;
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
}

.testimonials_fadeout.is-right {
  background-image: linear-gradient(270deg, var(--_colors---background), transparent);
  inset: 0 0 0 auto;
}

/* ── Responsive ── */
@media screen and (max-width: 991px) {
  .testimonials02_card {
    width: 28rem;
    max-width: 90vw;
    padding: 1.5rem;
  }
}

@media screen and (max-width: 767px) {
  .testimonials_fadeout {
    display: none;
  }
}

/* ── Hero Airport Logos Polish ── */
.hero-logo {
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.hero-logo:hover {
  opacity: 1;
}

/* Optical balance sizing (Desktop/Tablet) */
.hero-logo[src*="heathrow"] {
  height: 24px;
}

.hero-logo[src*="gatwick"] {
  height: 24px;
}

.hero-logo[src*="luton"] {
  height: 34px;
}

.hero-logo[src*="stansed"] {
  height: 32px;
}

.hero-logo[src*="southampton"] {
  height: 48px;
  /* Square logo needs more height to balance visual weight */
}

/* Optical balance overrides on mobile portrait */
@media screen and (max-width: 479px) {
  .hero-logo[src*="heathrow"] {
    height: 18px;
  }

  .hero-logo[src*="gatwick"] {
    height: 18px;
  }

  .hero-logo[src*="luton"] {
    height: 38px;
  }

  .hero-logo[src*="stansed"] {
    height: 36px;
  }

  .hero-logo[src*="southampton"] {
    height: 45px;
  }
}