/* SayarahGo 1.25.5: lightweight, logo-first partner rail. */

.bcsg-partner-strip {
  background:
    radial-gradient(circle at 50% 0%, rgba(83, 0, 95, 0.045), transparent 36rem),
    #f7f7fa;
  border-block: 1px solid rgba(83, 0, 95, 0.08);
  color: var(--bcsg-text);
  padding: 50px 0 44px;
}

.bcsg-partner-strip__heading {
  align-items: center;
  display: grid;
  gap: 10px 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 30px;
}

.bcsg-partner-strip__heading .bcsg-eyebrow {
  background: rgba(83, 0, 95, 0.045);
  border-color: rgba(83, 0, 95, 0.14);
  color: var(--bcsg-primary);
  grid-column: 1 / -1;
  justify-self: start;
}

.bcsg-partner-strip__heading h2 {
  color: var(--bcsg-dark);
  font-size: clamp(28px, 3vw, 40px);
  max-width: 760px;
}

.bcsg-partner-strip__heading a {
  color: var(--bcsg-primary);
  padding-bottom: 0;
}

.bcsg-partner-ticker {
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.bcsg-partner-ticker__track {
  animation-duration: 38s;
  align-items: center;
}

.bcsg-partner-mark {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #4f4751;
  flex-basis: 220px;
  height: 82px;
  margin: 0 14px;
  padding: 14px 20px;
}

.bcsg-partner-mark::after {
  background: rgba(83, 0, 95, 0.1);
  content: "";
  height: 34px;
  position: absolute;
  right: -14px;
  width: 1px;
}

.bcsg-partner-mark {
  position: relative;
}

.bcsg-partner-mark svg {
  color: var(--bcsg-primary);
  height: 25px;
  opacity: 0.82;
  width: 25px;
}

.bcsg-partner-mark strong {
  color: var(--bcsg-primary);
  font-size: 14px;
  letter-spacing: -0.01em;
}

.bcsg-partner-mark img {
  filter: grayscale(1);
  max-height: 42px;
  max-width: 168px;
  opacity: 0.78;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.bcsg-partner-mark:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.03);
}

@media (max-width: 760px) {
  .bcsg-partner-strip {
    padding: 40px 0 36px;
  }

  .bcsg-partner-strip__heading {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bcsg-partner-strip__heading .bcsg-eyebrow {
    justify-self: center;
  }

  .bcsg-partner-strip__heading a {
    justify-self: center;
    margin-top: 4px;
  }

  .bcsg-partner-mark {
    flex-basis: 185px;
    height: 72px;
    margin-inline: 8px;
    padding-inline: 14px;
  }

  .bcsg-partner-mark::after {
    right: -8px;
  }
}
