/*
Theme Name: 6PL Archive — Astra Child
Description: Дочерняя тема Astra для восстановления «СКЛАДА ЗАКОНОВ» и исходных адресов 6pl.ru.
Template: astra
Version: 1.0.0
Requires PHP: 8.0
Text Domain: astra-6pl-child
*/
body { margin: 8px; font-family: "Times New Roman", serif; font-size: 16px; color: #000; background: #fff; }
a:link { color: #0000ff; }
a:visited { color: #800080; }
p.MsoNormal { margin: 0 0 .0001pt; font-family: Arial, sans-serif; }
.restored-site-header, .restored-content { display: block; }
.restored-search { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: 1rem auto; max-width: 38rem; }
.restored-search label { flex: 1; }
.restored-search input[type="search"] { box-sizing: border-box; width: 100%; min-width: 6rem; padding: .3rem; font: inherit; }
.restored-search button { padding: .3rem .7rem; color: #000080; background: #e6b6e6; border: 1px solid #800080; font: inherit; cursor: pointer; }
.restored-results { max-width: 70rem; margin: 2rem auto; }
.restored-results h1 { color: #9933ff; }
.restored-results li { margin-bottom: 1.5rem; }
.restored-results p { line-height: 1.5; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.restored-mobile-nav { display: none; }
.restored-table-scroll { display: contents; }
@media (max-width: 800px) {
  body.restored-archive { margin: 0; padding: 12px; font-size: 16px; line-height: 1.5; }
  .restored-site-header { display: none; }
  .restored-mobile-nav { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; margin-bottom: 20px; font: 16px/1.4 Arial, sans-serif; }
  .restored-mobile-brand { display: flex; align-items: center; min-height: 44px; flex-basis: 100%; }
  .restored-mobile-brand img { width: 128px; height: 23px; }
  .restored-mobile-nav details { border: 1px solid #800080; border-radius: 5px; background: #f8e8f8; flex: 1 1 145px; min-width: 0; }
  .restored-mobile-nav summary { padding: 12px 10px; cursor: pointer; color: #600060; font-weight: bold; }
  .restored-mobile-nav ul { list-style: none; margin: 0; padding: 0 10px 10px; max-height: 65vh; overflow-y: auto; }
  .restored-mobile-nav a:not(.restored-mobile-brand) { display: block; padding: 10px 0; overflow-wrap: anywhere; }
  .restored-mobile-nav a[aria-current="page"] { font-weight: bold; }
  .restored-content { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .restored-content p, .restored-content div, .restored-content font, .restored-content span, .restored-content li { font-size: 16px !important; line-height: 1.5 !important; }
  .restored-content p, .restored-content li { text-indent: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
  .restored-content p { margin-top: .5em !important; margin-bottom: .65em !important; }
  .restored-content p[align="justify"], .restored-content p[style*="justify"] { text-align: left !important; }
  .restored-content h1, .restored-content h1 * { font-size: 24px !important; line-height: 1.3 !important; }
  .restored-content h2, .restored-content h2 * { font-size: 21px !important; line-height: 1.35 !important; }
  .restored-content h3, .restored-content h3 * { font-size: 19px !important; line-height: 1.4 !important; }
  .restored-content img { max-width: 100% !important; height: auto !important; }
  .restored-content pre { white-space: pre-wrap; overflow-wrap: anywhere; }
  .restored-content blockquote { margin-left: 12px; margin-right: 12px; }
  .restored-home-layout, .restored-home-layout > tbody, .restored-home-layout > tbody > tr, .restored-home-news,
  .restored-layout-shell, .restored-layout-shell > tbody, .restored-layout-shell > tbody > tr, .restored-layout-shell > tbody > tr > td {
    display: block; box-sizing: border-box; width: 100% !important; max-width: 100% !important; padding: 0 !important; margin: 0 !important; border: 0 !important;
  }
  .restored-home-sidebar { display: none; }
  .restored-table-scroll { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 12px 0; }
  .restored-table-scroll.is-overflowing { border: 1px solid #b68bb6; border-radius: 3px; }
  .restored-table-scroll.is-overflowing::before { content: 'Таблица: прокрутите вправо →'; display: block; position: sticky; left: 0; width: fit-content; max-width: calc(100vw - 48px); padding: 6px 10px; font: 13px/1.5 Arial, sans-serif; color: #600060; background: #f8e8f8; }
  .restored-table-scroll table { margin-left: 0 !important; margin-right: 0 !important; }
  .restored-table-scroll td, .restored-table-scroll th { min-width: 64px; }
  .restored-table-scroll td p, .restored-table-scroll td span, .restored-table-scroll td font { font-size: 14px !important; }
  .restored-search { flex-wrap: wrap; }
  .restored-search input[type="search"], .restored-search button { min-height: 44px; }
  .restored-results { padding: 0; }
}
@media print {
  .restored-site-header, .restored-search { display: none; }
  body { color: #000 !important; background: #fff !important; }
  a { color: #000 !important; }
}
