/* WordPress поверх вёрстки сайта: только то, чего у сайта не было */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
img { max-width: 100%; height: auto; }

/* лента /blog/: заголовки карточек — h2 со стилем h1.heading сайта */
.post-list h2.heading { font-size: 28px; font-weight: inherit; padding: 30px 0 0 0; margin: 0; border: 0; }
.pagination .nav-links { display: flex; gap: .5rem; margin: 2rem 0; }
.pagination .page-numbers { display: inline-block; min-width: 44px; min-height: 44px; line-height: 44px; text-align: center; }

/* комментарии выключены (форма снята) — заголовок «Leave a Reply» без формы не показываем */
.post-comments { display: none; }

/* страницы прежней версии сайта (галерея 2009 г., старые .html), архивы, поиск, 404 — в колонке сайта */
.entry-legacy { max-width: 1100px; margin: 0 auto 40px; padding: 30px 30px 50px; box-sizing: border-box; background: rgba(255,255,255,.92); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.card-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.legacy [style*="position:absolute"], .legacy [style*="position: absolute"] { position: static !important; width: auto !important; height: auto !important; }
.legacy table { max-width: 100%; }
.entry-legacy table { display: block; overflow-x: auto; }
.widget_search .screen-reader-text { position: static !important; width: auto; height: auto; overflow: visible; clip: auto; }

/* text_only: страницы версии 2009 г. (brands, residential, privacy_policy) — шрифт и кегли как на живом сайте (Arial, H1 24px) */
.entry-oldsite h1.section-heading-dark, .entry-oldsite .entry-content h1 { font-family: Arial, Helvetica, sans-serif; font-size: 24px; line-height: 29px; font-weight: 700; color: #000; text-transform: none; letter-spacing: normal; }
.entry-oldsite .entry-content, .entry-oldsite .entry-content p, .entry-oldsite .entry-content li { font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 18px; color: #000; }

/* меню на телефоне — как у сайта (flexiCssMenus, mobileMaxWidth 767): полное меню скрыто, кнопка Menu в конце страницы */
a#fm2_drop_fullrowheadermenu_mobile_button { display: none; }
@media (max-width: 767px) {
  #drop_fullrowheadermenu_container { display: none !important; }
  a#fm2_drop_fullrowheadermenu_mobile_button { display: block; }
  html.mobile-menu-open #drop_fullrowheadermenu_container { display: block !important; width: 100%; }
  html.mobile-menu-open #drop_fullrowheadermenu { display: block !important; height: auto !important; }
  html.mobile-menu-open #drop_fullrowheadermenu > li { display: block; float: none; }
  html.mobile-menu-open .header .container { flex-wrap: wrap; }
}
