/* 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){
  /* уменьшаем высоту футера */
  .footer .pi-section-w,
  .pi-section-w.footer{
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .footer .pi-section.pi-row-lg{
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

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

  .footer .pi-row-lg{
    text-align: center !important;
  }

  .footer p{
    margin: 6px 0 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  /* убираем Volga-Web (на мобилке лишний и раздувает строку) */
  .footer .volga{
    display: none !important;
  }

  /* соц. иконки тоже можно скрыть если пустые */
  .footer .pi-social-icons-simple{
    display: none !important;
  }
}
