/* Правки мобильной версии поверх template.responsive.css */
/* шапка: 7 пунктов вместо 6 */
html.desktop .nav-inner ul.hmenu>li>a { font-size: 35px !important; padding: 0 13px !important; }
.footer .footer1-copy { width: auto; max-width: 1040px; padding: 0 16px; line-height: 2; }
.psy-page h2 { font-size: 18px; margin: 18px 0 8px; }
.psy-page ul { margin: 0 0 12px 20px; }
.psy-page li { list-style: disc; margin: 4px 0; }
.psy-btn { display: inline-block; padding: 10px 18px; border-radius: 22px; background: #c8102e; color: #fff !important; text-decoration: none !important; }
.psy-btn:hover { background: #a00d25; }
/* планшеты и узкие ноутбуки: шаблон фиксированной ширины, меню мельче */
@media (min-width: 768px) and (max-width: 1199px) {
  html.desktop .nav-inner ul.hmenu>li>a { font-size: 25px !important; padding: 0 8px !important; }
}
@media (max-width: 767px) {
  img { max-width: 100%; height: auto; }
  #main { overflow-x: hidden; }
  .sheet { width: auto !important; margin: 0 !important; padding: 0 10px; box-sizing: border-box; }
  /* верхняя полоса с языками */
  .header-top { width: auto !important; margin: 0 -10px !important; text-align: center; position: relative; z-index: 5; background: rgba(255,250,240,.92); }
  .header-top p { width: auto !important; margin: 0; }
  .header-top a { font-size: 13px; margin: 0 6px; }
  /* красная полоса с кружевом */
  /* кружок на полосе: центр в картинке (402,200), масштаб 0.6 -> (241,120); сдвиг ставит его на x=70 */
  .responsive #header-bg, #header-bg { height: 172px !important; background-size: auto 176px !important; background-position: -171px 0 !important; background-repeat: repeat-x !important; }
  .header { position: static !important; width: auto !important; height: auto !important; margin: 0 !important; padding-top: 150px; background: none !important; text-align: center; }
  .header>div.nostyle-logo, .header>div.nostyle-adress { position: static !important; display: block !important; width: 100% !important; }
  .custom-logo { position: absolute !important; left: 47px; top: 107px; margin: 0 !important; z-index: 3; width: 58px; height: 38px; }
  .custom-logo img { width: 58px; height: auto; }
  .custom-logo p { margin: 0; }
  .header>div.nostyle-adress { position: absolute !important; left: 150px; right: 6px; top: 112px; width: auto !important; }
  .custom-adress { width: auto !important; max-width: 447px; margin: 0 auto !important; background-size: contain !important; background-position: center !important; height: 0 !important; padding-top: 15.6%; }
  .custom-adress p { display: none; }
  /* главное меню */
  #hmenu-bg { display: none; }
  .nav, .desktop-nav.nav, .responsive-nav { width: auto !important; margin: 10px 0 0 !important; }
  .nav-inner { width: auto !important; }
  ul.hmenu { display: flex !important; flex-wrap: wrap; justify-content: center; width: auto !important; }
  ul.hmenu>li { width: auto !important; float: none !important; display: block !important; }
  ul.hmenu>li>a, .responsive .responsive-nav ul.hmenu a { font-size: 25px !important; line-height: 38px !important; padding: 0 8px !important; width: auto !important; }
  /* баннер с указателями: картинкой целиком, указатели скрыты (дублируются в меню слева) */
  .nostyle-pic { width: 100% !important; height: 0 !important; padding-top: 23.4%; margin: 10px 0 0 !important; background-size: 100% auto !important; }
  .nostyle-pic ul { display: none; }
  /* контент первым, боковые блоки после него */
  .content-layout, .content-layout-row { display: flex !important; flex-direction: column; width: auto !important; }
  .layout-cell { display: block !important; width: auto !important; float: none !important; }
  .layout-cell.content { order: -1; }
  .layout-cell.sidebar1 { margin-top: 24px; }
  .sidebar1 .block { width: auto !important; }
  .clearfix-vk .blockcontent { margin: 8px auto; }
  iframe, video, embed, object { max-width: 100%; }
  table { display: block; max-width: 100%; overflow-x: auto; }
  .postcontent, .itemFullText, .catItemIntroText { word-wrap: break-word; overflow-wrap: anywhere; }
  .sigProContainer { padding: 0; }
  .sigProContainer { display: flex !important; flex-wrap: wrap; justify-content: space-between; }
  .sigProContainer li.sigProThumb { float: none !important; width: 48% !important; margin: 0 0 10px !important; box-sizing: border-box; }
  .sigProContainer li.sigProClear { display: none; }
  .sigProContainer .sigProLinkOuterWrapper, .sigProContainer .sigProLinkWrapper { display: block !important; width: auto !important; height: auto !important; box-sizing: border-box; }
  .sigProContainer .sigProLink { display: block !important; width: 100% !important; height: auto !important; }
  .sigProContainer .sigProImg { display: block; width: 100% !important; height: auto !important; aspect-ratio: 9 / 8; background-size: cover !important; background-position: center !important; }
  /* подвал */
  .footer { background-size: auto 220px !important; }
  .footer .custom-adress { margin: 10px auto !important; }
  .footer1-copy { font-size: 11px; line-height: 1.6 !important; padding: 6px 10px !important; }
}
