.hero-trust {
  align-items: center;
  gap: 18px;
  top: min(61vh, 600px);
}

.hero-trust .logo-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.72fr 0.7fr 1.18fr 1.34fr 1.55fr 1.18fr 1.3fr 0.72fr;
  gap: 12px;
  align-items: center;
}

.hero-trust .logo-cell {
  min-width: 0;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-trust .logo-cell img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.9;
  filter: grayscale(1) brightness(2.15) contrast(1.08);
}

.hero-trust .logo-cell img[alt="Cambridge University Press"],
.hero-trust .logo-cell img[alt="Prime Video"],
.hero-trust .logo-cell img[alt="Oxford University Press"],
.hero-trust .logo-cell img[alt="Netflix"] {
  max-width: 100%;
}

.hero-trust .logo-cell:hover img {
  opacity: 1;
  filter: brightness(1.08) contrast(1.04);
}

@media (max-width: 1050px) {
  .hero-trust .logo-grid {
    grid-template-columns: repeat(5, minmax(70px, 1fr));
    gap: 10px 14px;
  }

  .hero-trust .logo-cell {
    height: 38px;
  }
}

@media (max-width: 800px) {
  .hero-trust {
    position: relative;
    inset: auto;
    margin: -54px 4vw 0;
    display: block;
  }

  .hero-trust > span {
    display: block;
    width: auto;
    margin-bottom: 12px;
    text-align: center;
    font-size: 8px;
  }

  .hero-trust .logo-grid {
    grid-template-columns: repeat(3, minmax(76px, 1fr));
    gap: 14px 18px;
  }

  .hero-trust .logo-cell {
    height: 34px;
  }
}
