/* ==========================================================================
   PARTNER LOGO RIBBON SECTION (SINGLE LINE OPTIMIZATION)
   ========================================================================== */

.partner-showcase {
  padding: 50px 20px !important;
  background-color: #efefef !important;
  text-align: center !important;
}

.partner-showcase h2 {
  margin-bottom: 35px !important;
  font-family: sans-serif !important;
  color: #333 !important;
}

/* Expanded grid ceiling to ensure plenty of room on desktop monitors */
.partner-grid-container {
  max-width: 1240px !important; 
  margin: 0 auto !important;
}

/* Decreased gap from 60px down to 35px so everything sits closer horizontally */
.partner-list {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 30px 35px !important; 
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.partner-slide {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.partner-slide a {
  display: block !important;
}

/* 
   RESIZING FOOTPRINT: Decreased standard bounding width from 160px to 140px.
   This small 20px difference across 6 logos saves 120px of total screen real estate,
   instantly pulling the stray logo back up onto the main line.
*/
.partner-list .partner-slide img {
  width: 140px !important;
  height: 80px !important;
  max-width: 140px !important;
  max-height: 80px !important;
  object-fit: contain !important; 
  display: block !important;
}
