/* ============================================
   ФУТЕР
   ============================================ */

.footer-content {
  width: 100%;
  padding: var(--pd10);
  border-radius: var(--radius10);
}

.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
}

.footer-social-link:hover {
  transform: translateY(-2px);
}

.footer-social-link img {
  display: block;
}

.footer-copyright {
  text-align: center;
}

.footer-copyright p {
  margin: 0 0 5px 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

/* ============================================
   ЕДИНЫЙ ТЕКСТ ФУТЕРА
   — только свойства, не пересекающиеся с p/a из global.css
   ============================================ */

.txt-footer {
  line-height: 1.4;
  text-decoration: none;
  transition: color var(--transition-base);
}

a.txt-footer:hover {
  text-decoration: underline;
}

/* ============================================
   ФУТЕР В БОКОВОМ МЕНЮ (ДЕСКТОП)
   ============================================ */

#leftmenu .footer-content {
  padding: 10px 15px;
  border-radius: var(--radius10);
}

#leftmenu .footer-social-link img {
  width: 28px;
  height: 28px;
}

#leftmenu .txt-footer {
  font-size: var(--txt14);
  color: rgb(255 255 255 / 23%);
}

#leftmenu a.txt-footer:hover {
  color: #fff;
}

/* ============================================
   МОБИЛЬНЫЙ ФУТЕР
   ============================================ */

.mobile-footer-container .footer-content {
  background-color: var(--main-color);
  padding: var(--pd10);
  border-radius: var(--radius10);
}

.mobile-footer-container .footer-social-link img {
  width: 32px;
  height: 32px;
}

.mobile-footer-container .txt-footer {
  font-size: var(--txt14);
  color: rgba(255, 255, 255, 0.85);
}

.mobile-footer-container a.txt-footer:hover {
  color: #fff;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 768px) {
  .footer-content {
    padding: var(--pd10);
  }

  .footer-socials {
    gap: 15px;
  }

  .mobile-footer-container .footer-social-link img {
    width: 35px;
    height: 35px;
  }

  .mobile-footer-container .txt-footer {
    font-size: var(--txt12);
  }
}

@media (max-width: 480px) {
  .footer-content {
    padding: 12px 10px;
  }

  .mobile-footer-container .footer-content {
    padding: 12px 10px;
  }

  .footer-socials {
    gap: 12px;
  }

  .mobile-footer-container .footer-social-link img {
    width: 30px;
    height: 30px;
  }

  .mobile-footer-container .txt-footer {
    font-size: var(--txt10);
  }
}
