/* Alt bilgi (site-footer) — icerik sayfalarinin kompakt yasal alt bilgisi.
   style.css'teki .footer / .footer-bottom / .legal-links / .etbis-footer-badge
   temel gorunumunu korur; burada yalnizca kompakt yerlesim ve mobil davranis eklenir.
   Tum kurallar .site-footer ile kapsanmistir. */

.site-footer {
  /* .footer'daki z-index:10002 sabit basligin/seridin ustune cikiyordu */
  z-index: 1;
  margin-top: 48px;
  padding: 32px 0 24px;
}

.site-footer .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Yasal linkler: yatay akar, gerekirse alt satira sarar (style.css'te nowrap idi) */
.site-footer .legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 4px 20px;
  margin: 0 0 18px;
}

.site-footer .legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px; /* dokunma yuksekligi >= 24px */
  padding: 2px 0;
  color: var(--text2);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer .legal-links a:hover,
.site-footer .legal-links a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

/* Alt satir: ETBIS rozeti + telif/iletisim */
.site-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.site-footer .etbis-footer-badge {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  width: auto;
  max-width: 120px;
  margin: 0;
  padding: 0 !important;
  background: transparent;
  text-decoration: none;
}

.site-footer .etbis-footer-badge img {
  display: block;
  width: auto;
  height: auto;
  max-width: 112px;
  max-height: 44px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.site-footer .footer-bottom p {
  margin: 0;
  color: var(--text3);
  font-size: .8rem;
  line-height: 1.6;
}

.site-footer .footer-bottom p a {
  color: var(--text2);
  font-weight: 700;
  text-decoration: none;
}

.site-footer .footer-bottom p a:hover,
.site-footer .footer-bottom p a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

/* Mobil: sahifedeki sabit ogeler (.lead-serit lead seridi, .mobile-sticky-cta)
   alt bilgiyi kapatmasin diye altta bosluk birakilir. */
@media (max-width: 759px) {
  .site-footer {
    margin-top: 36px;
    padding: 26px 0 88px;
  }

  .site-footer .container {
    padding: 0 20px;
  }

  .site-footer .legal-links {
    gap: 2px 16px;
    margin-bottom: 14px;
  }

  .site-footer .legal-links a {
    min-height: 32px;
    font-size: .8rem;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-footer .etbis-footer-badge img {
    max-width: 100px;
    max-height: 40px;
  }
}

@media (max-width: 390px) {
  .site-footer {
    padding: 24px 0 92px;
  }

  .site-footer .container {
    padding: 0 16px;
  }

  .site-footer .legal-links {
    gap: 2px 14px;
  }

  .site-footer .legal-links a {
    font-size: .78rem;
  }
}
