/* Styles for content-logo-repeater-opoverride.php (Logo Section). */

.award_logo{
  margin: 0px 20px;
}

.award_logo img{
  max-height: 100px;
  width: auto;
}

.award_logo_description{
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


/* Logo effects (Settings tab). "Color, gray on hover" uses .grayScale in style.css. */
.logo-effect-color-on-hover img{
  filter: grayscale(100%);
  transition: filter 0.3s;
}
.logo-effect-color-on-hover a:hover img,
.logo-effect-color-on-hover img:hover{
  filter: grayscale(0);
}
.logo-effect-gray img{
  filter: grayscale(100%);
}

/* Slider layout */
.logo-slider{
  position: relative;
}
.logo-slider-has-arrows .logo-slider{
  padding-left: 50px;
  padding-right: 50px;
}
.award_logo_slide{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
}
.award_logo_slide img{
  max-height: 100px;
  width: auto;
}
.logo-slider .swiper-button-prev{
  left: 0;
}
.logo-slider .swiper-button-next{
  right: 0;
}
.logo-slider .swiper-pagination{
  position: static;
  margin-top: 20px;
}
/* Continuous: steady speed instead of speeding up and slowing down */
.logo-slider-continuous .swiper-wrapper{
  transition-timing-function: linear;
}


/* Large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) {
  .award_logo img,
  .award_logo_slide img{
    max-height: 80px;
  }
  .award_logo_slide{
    height: 80px;
  }
}

/*// Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {
  .award_logos{
    flex-wrap: wrap;
  }
  .award_logo{
    margin: 0px 10px 20px 10px;
  }
  .award_logo img,
  .award_logo_slide img{
    max-height: 60px;
  }
  .award_logo_slide{
    height: 60px;
  }
}


/* =====  Marquee layout: a strip of logos that scrolls without stopping  ======== */

.logo-layout-marquee {
  overflow: hidden;
  padding: 34px 0 40px;
}
.logo-marquee-label {
  display: block;
  margin: 0 0 26px;
  text-align: center;
}
/* Logos fade out at both ends */
.logo-marquee-mask {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  padding-right: 72px; /* the same gap after the last logo, so the loop doesn't jump */
  animation: logo-marquee-scroll 46s linear infinite;
}
.logo-marquee img {
  display: block;
  height: 44px;
  width: auto;
  max-width: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.logo-marquee img:hover {
  opacity: 1;
}
.logo-marquee img.logo-marquee-tall {
  height: 60px;
}
.logo-marquee img.logo-marquee-small {
  height: 26px;
}
/* Dark logos recolored to the same bone/off-white as the rest */
.logo-marquee img.logo-marquee-tint {
  filter: brightness(0) invert(0.93) sepia(0.12);
}

@keyframes logo-marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* Visitors who turn off motion see a still strip */
@media (prefers-reduced-motion: reduce) {
  .logo-marquee {
    animation: none;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .logo-marquee {
    gap: 46px;
    padding-right: 46px;
  }
  .logo-marquee img {
    height: 34px;
  }
  .logo-marquee img.logo-marquee-tall {
    height: 46px;
  }
  .logo-marquee img.logo-marquee-small {
    height: 22px;
  }
}


/* =====  Badges layout: label on the left, logos tinted warm gray in one row  ======== */

.logo-layout-badges {
  padding: 0 0 84px;
}
.logo-badges {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid #2e2b27;
}
.logo-badges-label {
  flex: none;
  max-width: 150px;
  margin: 0;
  color: rgba(203, 196, 188, 0.6);
}
.logo-badges-row {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.logo-badge,
.logo-badge a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(203, 196, 188, 0.62);
}
/* Tinted to Warm Gray 2 at about 60% */
.logo-badge img {
  display: block;
  height: 46px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: brightness(0) invert(0.84) sepia(0.12);
  opacity: 0.6;
}
.logo-badge-small img {
  height: 28px;
}
.logo-badge-tall img {
  height: 56px;
}
/* A small square icon with its name beside it */
.logo-badge-icon img {
  width: 28px;
  height: 28px;
}
.logo-badge-name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo-badge-name small {
  display: block;
  margin-top: 5px;
  font-family: "Katahdin Round", "Inter", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .logo-badges {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .logo-layout-badges {
    padding-bottom: 60px;
  }
  .logo-badges-row {
    justify-content: flex-start;
    gap: 26px 30px;
  }
  .logo-badge img {
    height: 36px;
  }
  .logo-badge-icon img {
    height: 28px;
  }
}
