
/* ======================================================
   S.B.M. Sponsors — v2.4: uitlijning fix + single <img> swap
   ====================================================== */

.client-style-one-items .client-style-one-item{
  --h: 72px;
  --pad: 8px;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: var(--h) !important;
  padding: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
}

.client-style-one-items .client-style-one-item img{
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;

  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  max-height: calc(var(--h) - 2 * var(--pad)) !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 !important;
  vertical-align: middle !important;
}

@media (max-width: 767.98px){
  .client-style-one-items .client-style-one-item{ --h: 56px; --pad: 6px; }
}

/* ===============================
   S.B.M. Sponsors — per-logo maten
   Werkt met plugin v2.4 (single <img>)
   -------------------------------
   UITLEG:
   - --h  = tegelhoogte (logo schaalt hierin mee)
   - --pad = binnenmarge t.o.v. de rand (optioneel)
   - Pas per logo de pixels aan naar smaak.
   =============================== */

/* (1) Globale defaults (optioneel iets aanpassen) */
.client-style-one-items .client-style-one-item{
  --h: 72px;      /* algemene standaardhoogte */
  --pad: 8px;     /* algemene binnenmarge */
}

/* (2) Per-logo overrides — wijzig hier de pixels */
/* Zet alleen de regels die je nodig hebt. */

.client-style-one-item:has(img[src*="bresser-logo.png"])                   { --h: 58px; --pad: 8px; }
.client-style-one-item:has(img[src*="bvr-logo.png"])                       { --h: 60px; --pad: 8px; }
.client-style-one-item:has(img[src*="coffee3-logo.png"])                   { --h: 68px; --pad: 8px; }
.client-style-one-item:has(img[src*="d-g-logo.png"])                       { --h: 94px; --pad: 8px; }
.client-style-one-item:has(img[src*="demzo-logo.png"])                     { --h: 70px; --pad: 8px; }
.client-style-one-item:has(img[src*="dierkx-logo.png"])                    { --h: 96px; --pad: 8px; }
.client-style-one-item:has(img[src*="ep-systems-logo.png"])                { --h: 74px; --pad: 8px; }
.client-style-one-item:has(img[src*="hgt-logo.png"])                       { --h: 114px; --pad: 8px; }
.client-style-one-item:has(img[src*="huijsmans-elektrotechniek-logo.png"]) { --h: 66px; --pad: 8px; }
.client-style-one-item:has(img[src*="kroonstad-logo.png"])                 { --h: 90px; --pad: 8px; }
.client-style-one-item:has(img[src*="mb-tegelwerken-logo.png"])            { --h: 86px; --pad: 8px; }
.client-style-one-item:has(img[src*="peter-jansen-logo.png"])              { --h: 90px; --pad: 8px; }
.client-style-one-item:has(img[src*="riemsdijk-logo.png"])                 { --h: 60px !important; --pad: 8px; }
.client-style-one-item:has(img[src*="squido-logo.png"])                    { --h: 82px; --pad: 10px; } /* iets meer lucht */
.client-style-one-item:has(img[src*="super-sign-logo.png"])                { --h: 112px; --pad: 8px; }
.client-style-one-item:has(img[src*="van-vugt-logo.png"])                  { --h: 62px; --pad: 8px; }
.client-style-one-item:has(img[src*="veko-logo.png"])                      { --h: 54px; --pad: 8px; }
.client-style-one-item:has(img[src*="verschuuren-logo.png"])               { --h: 114px; --pad: 8px; }

/* (3) Optioneel: kleine schermen iets compacter */
@media (max-width: 767.98px){
  .client-style-one-items .client-style-one-item{ --h: 56px; --pad: 6px; }
}

/* ====== (4) Fallback zonder :has() (alleen nodig als je dat liever gebruikt) ======
   Gebruik dit ALTERNATIEF i.p.v. de :has()-regels hierboven.
   Zet de gewenste max-hoogte direct op het <img> per bestand.  */

/*
.client-style-one-item img[src*="bresser-logo.png"]      { max-height: 80px !important; }
.client-style-one-item img[src*="bvr-logo.png"]          { max-height: 72px !important; }
.client-style-one-item img[src*="coffee3-logo.png"]      { max-height: 68px !important; }
.client-style-one-item img[src*="d-g-logo.png"]          { max-height: 76px !important; }
.client-style-one-item img[src*="demzo-logo.png"]        { max-height: 70px !important; }
.client-style-one-item img[src*="dierkx-logo.png"]       { max-height: 74px !important; }
.client-style-one-item img[src*="ep-systems-logo.png"]   { max-height: 78px !important; }
.client-style-one-item img[src*="hgt-logo.png"]          { max-height: 66px !important; }
.client-style-one-item img[src*="huijsmans-elektrotechniek-logo.png"] { max-height: 82px !important; }
.client-style-one-item img[src*="kroonstad-logo.png"]    { max-height: 72px !important; }
.client-style-one-item img[src*="mb-tegelwerken-logo.png"]{ max-height: 76px !important; }
.client-style-one-item img[src*="peter-jansen-logo.png"] { max-height: 74px !important; }
.client-style-one-item img[src*="riemsdijk-logo.png"]    { max-height: 74px !important; }
.client-style-one-item img[src*="squido-logo.png"]       { max-height: 82px !important; }
.client-style-one-item img[src*="super-sign-logo.png"]   { max-height: 68px !important; }
.client-style-one-item img[src*="van-vugt-logo.png"]     { max-height: 72px !important; }
.client-style-one-item img[src*="veko-logo.png"]         { max-height: 76px !important; }
.client-style-one-item img[src*="verschuuren-logo.png"]  { max-height: 74px !important; }
*/
