.efg-wrapper {
  --efg-cols: 3;
  --efg-gap: 24px;
  --efg-lift: 6px;
  --efg-dim: 0.55;
}

.efg-grid {
  display: grid;
  grid-template-columns: repeat(var(--efg-cols), minmax(0, 1fr));
  gap: var(--efg-gap);
}

/* Kart */
.efg-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;

  transition: transform 180ms ease, filter 180ms ease, opacity 180ms ease;
  will-change: transform, filter, opacity;
}

/* Logo alanı */
.efg-logo {
  height: 42px;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.efg-logo img {
  max-height: 42px;
  max-width: 140px;
  width: auto;
  height: auto;
}

/* Metin */
.efg-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.efg-desc {
  font-size: 14px;
  line-height: 1.6;
}

/* Hover fly */
.efg-card:hover,
.efg-card:focus {
  transform: translateY(calc(var(--efg-lift) * -1));
  outline: none;
}

/* Dim siblings: JS bu class'ları ekleyecek */
.efg-wrapper.efg-dimming .efg-card {
  opacity: 1;
  filter: grayscale(0.2) saturate(0.6) brightness(0.92);
}
.efg-wrapper.efg-dimming .efg-card.efg-active {
  filter: saturate(1.15) brightness(1.05);
}

.efg-wrapper.efg-dimming .efg-card.efg-active {
  opacity: 1;
  filter: saturate(1.15) brightness(1.05);
}