/* Footer: PC'de iletişim %30, bülten %30, orta menüler kalan alanı eşit böler */

.footer .ws-footer-cols {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem 1.25rem;
}

.footer .ws-footer-col-company,
.footer .ws-footer-col-newsletter,
.footer .ws-footer-menus,
.footer .ws-footer-menu {
  min-width: 0;
  box-sizing: border-box;
}

.footer .ws-footer-menus {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 1rem;
}

/* Uzun menü çevirileri: tek satır + ellipsis (tam metin title ile) */
.footer .ws-footer-menu-link {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .footer .ws-footer-cols {
    flex-wrap: nowrap;
  }

  .footer .ws-footer-col-company {
    flex: 0 0 30%;
    width: 30%;
    max-width: 30%;
    padding-right: 1rem;
  }

  .footer .ws-footer-col-newsletter {
    flex: 0 0 30%;
    width: 30%;
    max-width: 30%;
    padding-left: 1rem;
  }

  /* Ortada kalan alan (bülten açıksa ~%40) menülere eşit */
  .footer .ws-footer-menus {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    flex-wrap: nowrap;
    gap: 1rem;
  }

  .footer .ws-footer-menus > .ws-footer-menu {
    flex: 1 1 0;
    width: auto;
    max-width: none;
  }

  /* Bülten kapalı: iletişim %30, menüler kalan %70 */
  .footer .ws-footer-cols:not(.ws-footer-has-newsletter) .ws-footer-col-company {
    flex: 0 0 30%;
    width: 30%;
    max-width: 30%;
  }

  /* Menü yok: iletişim + bülten yan yana (her biri %30 sabit; boşluk ortada) */
  .footer .ws-footer-cols:not(.ws-footer-has-menus) .ws-footer-col-company {
    flex: 0 0 30%;
    width: 30%;
    max-width: 30%;
  }
}

@media (max-width: 1023.98px) {
  .footer .ws-footer-col-company,
  .footer .ws-footer-col-newsletter,
  .footer .ws-footer-menus {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .footer .ws-footer-menus > .ws-footer-menu {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 140px;
  }
}

/* Sosyal bağlantılar — template-2 (dairesiz; footer header’dan büyük) */
.footer .ws-footer-social {
  gap: 1.5rem;
}

.footer .ws-footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  line-height: 1;
  transition: color .2s ease, opacity .2s ease;
}

.footer .ws-footer-social__link i,
.footer .ws-footer-social__link [class^="icon-"],
.footer .ws-footer-social__link [class*=" icon-"] {
  font-size: 1.5rem;
  line-height: 1;
  width: 1.5rem;
  height: 1.5rem;
}

.footer.ws-footer-theme-light.ws-social-icons--classic .ws-footer-social__link,
.footer.ws-footer-theme-light.ws-social-icons--classic .ws-footer-social__link i,
.footer.ws-footer-theme-light.ws-social-icons--standard .ws-footer-social__link,
.footer.ws-footer-theme-light.ws-social-icons--standard .ws-footer-social__link i {
  color: #1f1f1f;
}

.footer.ws-footer-theme-light.ws-social-icons--classic .ws-footer-social__link:hover,
.footer.ws-footer-theme-light.ws-social-icons--classic .ws-footer-social__link:hover i,
.footer.ws-footer-theme-light.ws-social-icons--standard .ws-footer-social__link:hover,
.footer.ws-footer-theme-light.ws-social-icons--standard .ws-footer-social__link:hover i {
  color: #111111;
  opacity: 0.75;
}

.footer.ws-footer-theme-dark.ws-social-icons--classic .ws-footer-social__link,
.footer.ws-footer-theme-dark.ws-social-icons--classic .ws-footer-social__link i,
.footer.ws-footer-theme-dark.ws-social-icons--standard .ws-footer-social__link,
.footer.ws-footer-theme-dark.ws-social-icons--standard .ws-footer-social__link i {
  color: #ffffff;
}

.footer.ws-footer-theme-dark.ws-social-icons--classic .ws-footer-social__link:hover,
.footer.ws-footer-theme-dark.ws-social-icons--classic .ws-footer-social__link:hover i,
.footer.ws-footer-theme-dark.ws-social-icons--standard .ws-footer-social__link:hover,
.footer.ws-footer-theme-dark.ws-social-icons--standard .ws-footer-social__link:hover i {
  opacity: 0.8;
}

.footer.ws-social-icons--colored .ws-footer-social__link:hover {
  opacity: 0.85;
}

.footer.ws-social-icons--colored .ws-social-link--facebook,
.footer.ws-social-icons--colored .ws-social-link--facebook i { color: #1877f2; }
.footer.ws-social-icons--colored .ws-social-link--instagram,
.footer.ws-social-icons--colored .ws-social-link--instagram i { color: #e4405f; }
.footer.ws-social-icons--colored .ws-social-link--youtube,
.footer.ws-social-icons--colored .ws-social-link--youtube i { color: #ff0000; }
.footer.ws-social-icons--colored .ws-social-link--x,
.footer.ws-social-icons--colored .ws-social-link--x i { color: #111111; }
.footer.ws-footer-theme-dark.ws-social-icons--colored .ws-social-link--x,
.footer.ws-footer-theme-dark.ws-social-icons--colored .ws-social-link--x i { color: #ffffff; }
.footer.ws-social-icons--colored .ws-social-link--linkedin,
.footer.ws-social-icons--colored .ws-social-link--linkedin i { color: #0a66c2; }
.footer.ws-social-icons--colored .ws-social-link--tiktok,
.footer.ws-social-icons--colored .ws-social-link--tiktok i { color: #111111; }
.footer.ws-footer-theme-dark.ws-social-icons--colored .ws-social-link--tiktok,
.footer.ws-footer-theme-dark.ws-social-icons--colored .ws-social-link--tiktok i { color: #ffffff; }
.footer.ws-social-icons--colored .ws-social-link--pinterest,
.footer.ws-social-icons--colored .ws-social-link--pinterest i { color: #e60023; }
.footer.ws-social-icons--colored .ws-social-link--whatsapp,
.footer.ws-social-icons--colored .ws-social-link--whatsapp i { color: #25d366; }
.footer.ws-social-icons--colored .ws-social-link--telegram,
.footer.ws-social-icons--colored .ws-social-link--telegram i { color: #26a5e4; }
.footer.ws-footer-theme-light.ws-social-icons--colored .ws-social-link--other,
.footer.ws-footer-theme-light.ws-social-icons--colored .ws-social-link--other i { color: #1f1f1f; }
.footer.ws-footer-theme-dark.ws-social-icons--colored .ws-social-link--other,
.footer.ws-footer-theme-dark.ws-social-icons--colored .ws-social-link--other i { color: #ffffff; }

/* Footer dil seçici (Dil Ekranı ayarı) */
.footer .ws-locale-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.2;
}

.footer .ws-locale-flag {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.footer .ws-locale-switcher--list .ws-locale-item {
  text-decoration: none;
  opacity: 0.75;
}

.footer .ws-locale-switcher--list .ws-locale-item.is-active,
.footer .ws-locale-switcher--list .ws-locale-item:hover {
  opacity: 1;
}

.footer .choose-language .list-option .ws-locale-item {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

/* Sadece bayrak: dar dropdown (footer yukarı açılır) */
.footer .choose-language.ws-locale-switcher--flag-only .list-option {
  min-width: 0;
  width: max-content;
  left: 50%;
  transform: translate(-50%, -20px);
  padding: 4px;
}

.footer .choose-language.ws-locale-switcher--flag-only .list-option.open {
  transform: translate(-50%, -10px);
}

.footer .choose-language.ws-locale-switcher--flag-only .list-option li a {
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .choose-language.ws-locale-switcher--flag-only .list-option .ws-locale-label {
  gap: 0;
  justify-content: center;
}

.footer .ws-footer-categories {
  margin-top: 0.5rem;
  padding-top: 0;
  padding-bottom: 0.75rem;
  border-top: none;
}

.footer .ws-footer-categories__line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}

.footer .ws-footer-categories__label {
  font-weight: 600;
  margin-inline-end: 0.35rem;
}

.footer .ws-footer-categories__link {
  text-decoration: none;
  opacity: 0.85;
}

.footer .ws-footer-categories__link:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer .ws-footer-categories__sep {
  margin-inline-end: 0.25rem;
  opacity: 0.7;
}

@media (max-width: 767px) {
  .footer .ws-footer-categories__line {
    white-space: normal;
  }

  .footer .ws-footer-categories--hide-mobile {
    display: none;
  }
}

