/* Efsane Global V62 — Net ve kararlı marka vitrini.
 * Only the brand gallery section; does not alter hero, navigation, product photos
 * or the moving orbit visual. No JS / database changes.
 */
.ef-brand-section {
  background:linear-gradient(180deg,#fcfdff 0%,#f6f9fc 100%);
  isolation:isolate;
  overflow:clip;
}
.ef-brand-section::before,
.ef-brand-section::after {
  /* Eliminate old decorative circles crossing brand tile edges. */
  content:none !important;
  display:none !important;
}
.ef-brand-section .wrap {
  width:min(1376px,calc(100% - 56px));
}
.ef-brand-section .section {
  padding-top:70px;
  padding-bottom:74px;
}
.ef-brand-section .ef-brand-intro {
  max-width:820px;
  margin:0 auto 34px;
  text-align:center;
}
.ef-brand-section .ef-brand-eyebrow {
  display:inline-block;
  padding:7px 17px;
  background:#eef4fb;
  color:#54708e;
  border:1px solid #e7edf6;
  font-size:11px;
  font-weight:750;
  letter-spacing:1.3px;
}
.ef-brand-section .ef-brand-intro h1,
.ef-brand-section .ef-brand-intro h2 {
  font-family:Manrope,'DM Sans',system-ui,sans-serif;
  font-size:clamp(30px,3.4vw,46px);
  line-height:1.17;
  color:#071a39 !important;
  font-weight:850;
  letter-spacing:-1.2px !important;
  margin:15px auto 10px;
}
.ef-brand-section .ef-brand-intro p {
  max-width:760px;
  margin:0 auto;
  color:#687e9b;
  font-size:15px;
  line-height:1.6;
}
.ef-brand-section .ef-brand-grid {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}
.ef-brand-section .ef-brand-card,
.ef-brand-section .ef-brand-card:visited {
  min-width:0;
  min-height:138px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:17px 13px 13px;
  background:#fff;
  color:#3a536f;
  border:1px solid #e8eef5;
  border-radius:17px;
  box-shadow:0 4px 14px rgba(13,42,77,.07);
  text-decoration:none;
  /* Keep cards stable: no oscillation, scaling or logo blur from transforms. */
  transform:none !important;
  animation:none !important;
  filter:none !important;
  backdrop-filter:none !important;
  transition:border-color .18s ease,box-shadow .18s ease;
}
.ef-brand-section .ef-brand-card:hover,
.ef-brand-section .ef-brand-card:focus-visible {
  transform:none !important;
  border-color:#94bbe4;
  box-shadow:0 8px 23px rgba(16,67,119,.13);
}
.ef-brand-section .ef-brand-card:focus-visible {
  outline:3px solid #0d6bce;
  outline-offset:2px;
}
.ef-brand-section .ef-brand-logo {
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 76px;
  width:100%;
  height:76px;
  max-height:76px;
  margin:0 0 8px;
  overflow:visible;
  line-height:1;
  transform:none !important;
  filter:none !important;
}
.ef-brand-section .ef-brand-logo img {
  width:auto;
  max-width:100%;
  height:auto;
  max-height:74px;
  object-fit:contain;
  display:block;
  /* Original logo colors and natural pixel rendering; never stretch to fill. */
  opacity:1 !important;
  filter:none !important;
  transform:none !important;
  mix-blend-mode:normal;
  image-rendering:auto;
}
.ef-brand-section .ef-brand-name {
  display:block;
  width:100%;
  text-align:center;
  color:#526b8b;
  font-size:12px;
  font-weight:600;
  line-height:1.35;
  letter-spacing:0;
  word-break:normal;
  overflow-wrap:anywhere;
}
.ef-brand-section .ef-brand-fallback {
  font-family:Manrope,system-ui,sans-serif;
  font-size:17px;
  font-weight:800;
  line-height:1.15;
  color:#16588b;
  text-align:center;
}
.ef-brand-section .ef-gallery-controls {
  margin-bottom:23px;
  border-bottom:1px solid #e5ecf4;
}
.ef-brand-section .ef-gallery-tabs {display:flex;flex-wrap:wrap;gap:3px}
.ef-brand-section .ef-brand-tab {white-space:nowrap}
.ef-brand-section .ef-brand-count {color:#657b99}
.ef-brand-section .ef-gallery-empty {text-align:center;color:#657b99}
.ef-brand-section .ef-gallery-footer {margin-top:26px}
.ef-brand-section .ef-brand-card[hidden]{display:none !important}
@media(max-width:1200px){
  .ef-brand-section .ef-brand-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:960px){
  .ef-brand-section .ef-brand-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
  .ef-brand-section .ef-brand-card{min-height:128px}
}
@media(max-width:680px){
  .ef-brand-section .wrap{width:calc(100% - 28px)}
  .ef-brand-section .section{padding-top:44px;padding-bottom:50px}
  .ef-brand-section .ef-brand-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .ef-brand-section .ef-brand-card{min-height:117px;padding:12px 8px 9px;border-radius:13px}
  .ef-brand-section .ef-brand-logo{flex-basis:62px;height:62px;max-height:62px;margin-bottom:5px}
  .ef-brand-section .ef-brand-logo img{max-height:60px}
  .ef-brand-section .ef-brand-name{font-size:11px}
  .ef-brand-section .ef-brand-intro p{font-size:13px}
}
@media(max-width:430px){
  .ef-brand-section .ef-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ef-brand-section .ef-brand-card{min-height:120px}
  .ef-brand-section .ef-brand-logo{flex-basis:65px;height:65px;max-height:65px}
  .ef-brand-section .ef-brand-logo img{max-height:63px}
}
@media(prefers-reduced-motion:reduce){
  .ef-brand-section .ef-brand-card{transition:none !important}
}
