/* mob/footer.css
   Футер: читаемость + перенос ссылок
*/
@media (max-width: 1024px){
  footer, .footer{
    font-size: 16px;
  }

  footer a, .footer a{
    word-break: break-word;
  }
}
@media (max-width: 767px){
  footer .pi-row > [class*="pi-col"],
  .footer .pi-row > [class*="pi-col"]{
    width: 100% !important;
  }
}

@media (max-width: 767px) and (orientation: portrait){
  /* показываем то, что шаблон скрывает на xs */
  .footer .pi-hidden-xs{
    display: block !important;
  }
  .footer .pi-hidden-2xs{
    display: block !important;
  }

  /* и выстраиваем в колонку */
  .footer .pi-row-lg{
    display: block !important;
    text-align: center !important;
  }
  .footer .pi-row-block{
    display: block !important;
    width: 100% !important;
    margin: 10px 0 !important;
  }
}

@media (max-width: 767px) and (orientation: portrait){
  .pi-section-w.footer .pi-section{
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  /* показываем адрес/телефоны, которые шаблон скрывает */
  .footer .pi-hidden-xs,
  .footer .pi-hidden-2xs{
    display: block !important;
  }

  /* всё в колонку */
  .footer .pi-row-lg{
    display: block !important;
    text-align: center !important;
  }
  .footer .pi-row-block{
    display: block !important;
    width: 100% !important;
    margin: 8px 0 !important;
  }

  /* убираем пустые/лишние блоки, которые раздувают высоту */
  .footer .volga{ display: none !important; }
  .footer .pi-social-icons-simple{ display: none !important; }
}


/* === Mobile fixes vA-1 (2026-03-03) === */
@media (max-width: 1024px){
  .footer,
  .footer p,
  .footer span,
  .footer a{
    color: #fff !important;
  }
  .footer a{ text-decoration: underline; text-underline-offset: 2px; }

  /* ссылки в верхней полосе футера */
  .footer .pi-section.pi-center a{
    color:#9be7ff !important;
  }
}
@media (max-width: 767px) and (orientation: portrait){
  /* уменьшаем высоту */
  .footer .pi-section,
  .footer .pi-section-w{
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }
}
