/* Efsane Global V71 - compact, clean brand portfolio inspired by the
   section organization of Anıl Group (logos, filters, white card grid).
   Scoped to home/brands galleries; no product or admin layout changes. */
.ef-brand-section .ef71-gallery{width:100%;max-width:1250px;margin-inline:auto}
.ef-brand-section .ef71-controls{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  margin:0 0 23px!important;padding:0 0 10px!important;
  border-bottom:1px solid #e7ebf2!important;background:transparent;
}
.ef-brand-section .ef71-tabs{display:flex;align-items:center;gap:3px;flex-wrap:wrap}
.ef-brand-section .ef71-tabs .ef-brand-tab{
  appearance:none;min-height:42px;margin:0!important;padding:10px 18px 12px!important;
  color:#52657c!important;background:transparent!important;border:0!important;
  border-bottom:3px solid transparent!important;border-radius:0!important;
  box-shadow:none!important;font-size:13px!important;font-weight:700!important;
  line-height:1.3!important;letter-spacing:0!important;cursor:pointer;
}
.ef-brand-section .ef71-tabs .ef-brand-tab.is-active,
.ef-brand-section .ef71-tabs .ef-brand-tab[aria-pressed="true"]{
  color:#0d3e70!important;border-bottom-color:#1367ae!important;
}
.ef-brand-section .ef71-tabs .ef-brand-tab:hover,
.ef-brand-section .ef71-tabs .ef-brand-tab:focus-visible{color:#0b4e86!important}
.ef-brand-section .ef71-count{padding:8px 0!important;color:#6f7f91!important;
  background:transparent!important;border:0!important;font-size:12px!important;white-space:nowrap}
.ef-brand-section .ef71-count strong{font-weight:800;color:#1d4d78}
.ef-brand-section .ef71-brand-grid{
  display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:13px!important;align-items:stretch!important;
}
.ef-brand-section .ef71-gallery .ef71-brand-grid .ef-brand-card.ef71-brand-card,
.ef-brand-section .ef71-gallery .ef71-brand-grid .ef-brand-card.ef71-brand-card:visited{
  display:flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:center!important;gap:7px!important;
  min-width:0!important;min-height:120px!important;height:auto!important;
  padding:16px 12px 12px!important;border:1px solid #e7ebf0!important;
  border-radius:13px!important;background:#fff!important;
  box-shadow:0 2px 9px rgba(21,51,88,.045)!important;
  text-decoration:none!important;transform:none!important;animation:none!important;
  transition:border-color .2s ease,box-shadow .2s ease!important;
}
.ef-brand-section .ef71-gallery .ef71-brand-grid .ef-brand-card.ef71-brand-card:hover,
.ef-brand-section .ef71-gallery .ef71-brand-grid .ef-brand-card.ef71-brand-card:focus-visible{
  border-color:#b6cde4!important;box-shadow:0 8px 20px rgba(19,76,129,.10)!important;
  outline-offset:3px;
}
.ef-brand-section .ef71-gallery .ef71-brand-grid .ef71-brand-card[hidden]{display:none!important}
.ef-brand-section .ef71-gallery .ef71-brand-logo{
  display:flex!important;flex:0 0 67px!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:67px!important;max-height:67px!important;
  margin:0!important;padding:0 6px!important;overflow:hidden!important;
  transform:none!important;filter:none!important;
}
.ef-brand-section .ef71-gallery .ef71-brand-logo img{
  display:block!important;position:static!important;width:auto!important;height:auto!important;
  max-width:100%!important;max-height:61px!important;
  object-fit:contain!important;object-position:center!important;
  background:transparent!important;border:0!important;filter:none!important;
  image-rendering:auto!important;mix-blend-mode:normal!important;
  transform:none!important;opacity:1!important;
}
/* Old raster logos should never be enlarged to fake detail. */
.ef-brand-section .ef71-gallery .ef71-brand-logo img[src*="brand-crisp-v63/"]{
  max-width:min(100%,115px)!important;max-height:51px!important;
}
.ef-brand-section .ef71-gallery .ef71-brand-fallback{
  font-weight:800;font-size:15px;line-height:1.22;color:#174c7b;text-align:center;
}
.ef-brand-section .ef71-gallery .ef71-brand-name{
  display:block!important;width:100%!important;margin:0!important;
  color:#56677a!important;text-align:center!important;
  font-size:11px!important;line-height:1.35!important;font-weight:600!important;
  letter-spacing:0!important;overflow-wrap:anywhere!important;
}
.ef-brand-section .ef71-search{margin-bottom:18px}
.ef-brand-section .ef71-search input{max-width:450px}
@media(max-width:1100px){.ef-brand-section .ef71-brand-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:850px){.ef-brand-section .ef71-brand-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:640px){
  .ef-brand-section .ef71-brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
  .ef-brand-section .ef71-gallery .ef71-brand-grid .ef-brand-card.ef71-brand-card{min-height:106px!important;padding:12px 8px 10px!important}
  .ef-brand-section .ef71-gallery .ef71-brand-logo{height:54px!important;max-height:54px!important;flex-basis:54px!important}
  .ef-brand-section .ef71-gallery .ef71-brand-logo img{max-height:50px!important}
  .ef-brand-section .ef71-controls{margin-bottom:17px!important}
  .ef-brand-section .ef71-tabs .ef-brand-tab{padding-inline:12px!important;font-size:12px!important}
}
@media(max-width:420px){
  .ef-brand-section .ef71-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ef-brand-section .ef71-gallery .ef71-brand-grid .ef-brand-card.ef71-brand-card{min-height:112px!important}
  .ef-brand-section .ef71-count{font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){.ef-brand-section .ef71-gallery .ef71-brand-card{transition:none!important}}
