/* ========================================   STATIC LOGO SECTION======================================== */

.static-logo-section {
  width: 100%;
  padding: clamp(1.5rem, 2.5vw, 2.5rem) 0;
}

/* ========================================   BASE LOGO======================================== */

.static-logo {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

/* ========================================   LOGO ITEM======================================== */

.static-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0;
  margin: 0;
}

/* ========================================   LG / XL / XXL   992px AND LARGER   SIX LOGOS ACROSS======================================== */

.static-logo-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  max-width: none;
  gap: clamp(0.5rem, 1vw, 1.25rem);
  margin: 0;
  padding: 0;
}

/* CIRCLE / SQUARE LOGOS   These continuously grow as the screen   becomes wider, until reaching 135px. */

.static-logo-compact {
  width: auto;
  height: clamp( 78px, calc(44px + 4.4vw), 135px );
}

/* LONG RECTANGULAR LOGOS   These continuously grow with the   viewport while maintaining proportion. */

.static-logo-wide {
  width: clamp( 185px, calc(80px + 11vw), 340px );
  height: auto;
}

/* ========================================   HOVER======================================== */

.static-logo-item:hover .static-logo {
  transform: scale(1.04);
}

/* ========================================   SM + MD   576px - 991px   THREE ACROSS / TWO ROWS======================================== */

@media (min-width: 576px) and (max-width: 991.98px) {
  .static-logo-section {
    padding: 1.5rem 0;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .static-logo-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    align-items: center;
    justify-content: space-between;
    width: 100%;
    column-gap: clamp(0.5rem, 1.5vw, 1rem);
    row-gap: 0.4rem;
    margin: 0;
    padding: 0;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .static-logo-item {
    padding: 0;
    margin: 0;
  }
}

/* Circle / square */

@media (min-width: 576px) and (max-width: 991.98px) {
  .static-logo-compact {
    width: auto;
    height: clamp( 82px, 12vw, 110px );
  }
}

/* Long rectangle */

@media (min-width: 576px) and (max-width: 991.98px) {
  .static-logo-wide {
    width: clamp( 150px, 25vw, 230px );
    height: auto;
  }
}

/* ========================================   XS ONLY   UNDER 576px   HORIZONTAL SWIPE STRIP======================================== */

@media (max-width: 575.98px) {
  .static-logo-section {
    padding: 1.25rem 0;
  }
}

@media (max-width: 575.98px) {
  .static-logo-grid {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.35rem;
    margin: 0;
    padding: 0 0 0.65rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
}

/* Hide scrollbar visually */

@media (max-width: 575.98px) {
  .static-logo-grid::-webkit-scrollbar {
    display: none;
  }
}

/* About 2–3 logos visible at once */

@media (max-width: 575.98px) {
  .static-logo-item {
    flex: 0 0 42vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    scroll-snap-align: center;
  }
}

/* Circle / square logos become     proportionally largest on phones */

@media (max-width: 575.98px) {
  .static-logo-compact {
    width: auto;
    height: clamp( 90px, 27vw, 115px );
  }
}

/* Rectangle uses most of its slider slot     but keeps its natural proportions */

@media (max-width: 575.98px) {
  .static-logo-wide {
    width: 96%;
    max-width: 210px;
    height: auto;
  }
}

