/* logistics.by: премиальный слой поверх Kadence. Подключать ПОСЛЕ site-blocks.css (шрифты: fonts/fonts.css рядом).
   Идея: справочник по грузоперевозкам как аккуратный рейсовый документ. Тёмные чернила, белая бумага, синий маршрут, янтарный сигнал.
   Логотип и рекламные баннеры не затрагиваются. */
:root{
  --lc-ink:#101a2e; --lc-ink-soft:#2a3550; --lc-muted:#5a6680; --lc-indigo:#1b004f;
  --lc-route:#0a5bff; --lc-route-dark:#0844c2; --lc-signal:#ffb020; --lc-signal-soft:#fff6e0;
  --lc-fog:#f2f6fc; --lc-paper:#fff; --lc-line:#d9e1ee;
  --lc-display:'Onest','Inter',system-ui,sans-serif; --lc-text:'PT Serif',Georgia,serif;
  --lc-r:14px;
  --global-palette1:#0a5bff; --global-palette2:#0844c2; --global-palette3:#101a2e; --global-palette4:#2a3550; --global-palette5:#5a6680;
  --global-palette7:#e8eef8; --global-palette8:#f2f6fc;
}
body{background:var(--lc-fog);color:var(--lc-ink);font-family:var(--lc-display);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}

/* ---------- шапка ---------- */
.site-header,.site-main-header-wrap{background:transparent}
.header-navigation .header-menu-container>ul>li>a,.header-navigation .menu>li>a{font-family:var(--lc-display);font-weight:550;font-size:15px;letter-spacing:.005em;color:var(--lc-ink);padding:.6em .9em;background-image:linear-gradient(var(--lc-signal),var(--lc-signal));background-repeat:no-repeat;background-position:.9em calc(100% - .35em);background-size:0 2px;transition:background-size .22s ease,color .15s}
.header-navigation .menu>li>a:hover,.header-navigation .menu>li.current-menu-item>a{color:var(--lc-route);background-size:calc(100% - 1.8em) 2px}

/* ---------- первый экран страницы: маршрутная линия ---------- */
.entry-hero.entry-hero .entry-hero-container-inner{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='260' viewBox='0 0 900 260' fill='none'%3E%3Cpath d='M20 210 C180 210 200 70 360 70 S560 190 700 120 S820 60 880 70' stroke='%230a5bff' stroke-opacity='.16' stroke-width='2' stroke-dasharray='3 9' stroke-linecap='round'/%3E%3Ccircle cx='360' cy='70' r='6' fill='%23fff' stroke='%230a5bff' stroke-opacity='.35' stroke-width='2'/%3E%3Ccircle cx='700' cy='120' r='6' fill='%23fff' stroke='%230a5bff' stroke-opacity='.35' stroke-width='2'/%3E%3Ccircle cx='880' cy='70' r='7' fill='%23ffb020'/%3E%3C/svg%3E") right 4% bottom 10px/min(62%,820px) no-repeat,
    linear-gradient(180deg,#e9f0fb 0%,#f2f6fc 100%)!important;
  border-bottom:1px solid var(--lc-line)}
.entry-hero .entry-title,.page-hero-section .entry-title,h1.entry-title{font-family:var(--lc-display);font-weight:700;font-size:clamp(1.9rem,3.6vw,2.9rem);line-height:1.12;letter-spacing:-.022em;color:var(--lc-ink);text-wrap:balance;text-align:left}
.entry-hero .entry-meta,.entry-hero .entry-meta a,.entry-hero .kadence-breadcrumbs,.entry-hero .kadence-breadcrumbs a{font-family:var(--lc-display);font-size:14px;color:var(--lc-muted)}
.entry-hero .kadence-breadcrumbs a,.entry-hero .yoast-breadcrumbs a{text-decoration:none;border-bottom:1px solid var(--lc-line)}
.entry-hero .kadence-breadcrumbs a:hover,.entry-hero .yoast-breadcrumbs a:hover{color:var(--lc-route);border-color:var(--lc-route)}

/* ---------- страница как рейсовый документ ---------- */
article.entry.content-bg,.content-bg{background:var(--lc-paper);border:1px solid var(--lc-line);border-radius:18px;box-shadow:0 1px 0 rgba(16,26,46,.04),0 18px 40px -28px rgba(16,26,46,.28)}
.single-content,.entry-content{font-family:var(--lc-text);font-size:1.1875rem;line-height:1.74;color:#1c2740;max-width:42rem;hyphens:manual}
.entry-content p{margin:0 0 1.15em}
.entry-content>p:first-of-type{font-size:1.28em;line-height:1.55;color:var(--lc-ink)}
.entry-content h2,.entry-content h3,.entry-content h4{font-family:var(--lc-display);color:var(--lc-ink);letter-spacing:-.015em;text-wrap:balance}
.entry-content h2{font-size:clamp(1.45rem,2.4vw,1.8rem);font-weight:680;line-height:1.2;margin:2.3em 0 .6em;padding-top:1.1em;border-top:1px solid var(--lc-line)}
.entry-content h2:first-of-type{border-top:0;padding-top:0;margin-top:1.6em}
.entry-content h3{font-size:1.2rem;font-weight:620;line-height:1.3;margin:1.6em 0 .4em}
.entry-content a{color:var(--lc-route);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em;text-decoration-color:rgba(10,91,255,.4);transition:text-decoration-color .15s,color .15s}
.entry-content a:hover{color:var(--lc-route-dark);text-decoration-color:var(--lc-signal);text-decoration-thickness:2px}
.entry-content ul,.entry-content ol{margin:0 0 1.3em;padding-left:1.3em}
.entry-content li{margin:.35em 0;padding-left:.2em}
.entry-content ul>li::marker{color:var(--lc-route)}
.entry-content ol>li::marker{font-family:var(--lc-display);font-weight:650;color:var(--lc-route)}
.entry-content strong{font-weight:700;color:var(--lc-ink)}
.entry-content :focus-visible,.site-header :focus-visible,.site-footer :focus-visible{outline:3px solid var(--lc-route);outline-offset:3px;border-radius:4px}

/* ---------- таблицы как тарифные листы ---------- */
.entry-content .lc-table-wrap{border:1px solid var(--lc-line);border-radius:12px;background:var(--lc-paper);box-shadow:0 10px 24px -22px rgba(16,26,46,.35);margin:1.4rem 0 1.8rem}
.entry-content .lc-table-wrap table{font-family:var(--lc-display);font-size:15px;line-height:1.45;color:var(--lc-ink)}
.entry-content .lc-table-wrap thead th{background:var(--lc-ink);color:#fff;font-weight:600;font-size:13.5px;letter-spacing:.01em;padding:11px 14px;border:0}
.entry-content .lc-table-wrap th:first-child,.entry-content .lc-table-wrap td:first-child{font-weight:600}
.entry-content .lc-table-wrap thead th:first-child{background:var(--lc-ink);color:#fff}
.entry-content .lc-table-wrap td{padding:11px 14px;border-top:1px solid var(--lc-line)}
.entry-content .lc-table-wrap tbody tr:first-child td{border-top:0}
.entry-content .lc-table-wrap tbody tr:hover td{background:#f6f9ff}
.entry-content .lc-table-wrap tbody tr:hover td:first-child{background:#f6f9ff}

/* ---------- карточки хабов ---------- */
.entry-content .lc-cards{gap:14px}
.entry-content .lc-cards a{font-family:var(--lc-display);padding:18px 20px;border:1px solid var(--lc-line);border-radius:var(--lc-r);background:var(--lc-paper);text-decoration:none;box-shadow:0 8px 20px -18px rgba(16,26,46,.45);transition:transform .18s ease,border-color .18s,box-shadow .18s}
.entry-content .lc-cards a:hover,.entry-content .lc-cards a:focus-visible{transform:translateY(-2px);border-color:var(--lc-route);box-shadow:0 16px 30px -20px rgba(10,91,255,.5)}
.entry-content .lc-cards strong{font-weight:650;font-size:1.06em;letter-spacing:-.01em;color:var(--lc-ink)}
.entry-content .lc-cards a:hover strong{color:var(--lc-route)}
.entry-content .lc-cards span{font-size:.9em;color:var(--lc-muted)}

/* ---------- «Читайте также» ---------- */
.entry-content .lc-related{margin:2.6rem 0 0;padding:1.4rem 1.5rem;border:1px solid var(--lc-line);border-radius:var(--lc-r);background:var(--lc-fog)}
.entry-content .lc-related h2{margin:0 0 .6em;padding:0;border:0;font-size:1.15rem}
.entry-content .lc-related ul{margin:0;padding:0;list-style:none}
.entry-content .lc-related li{margin:0;padding:.55em 0;border-top:1px solid var(--lc-line)}
.entry-content .lc-related li:first-child{border-top:0}
.entry-content .lc-related a{font-family:var(--lc-display);font-weight:550;text-decoration:none}

/* ---------- блок «Проверено»: накладная ---------- */
.entry-content p.lc-verified{position:relative;margin:2.2rem 0 0;padding:16px 20px 16px 26px;font-family:var(--lc-display);font-size:14px;line-height:1.55;color:var(--lc-ink-soft);background:var(--lc-signal-soft);border:1.5px dashed #e3b04b;border-left:6px solid var(--lc-signal);border-radius:8px}
.entry-content p.lc-verified::before{content:"";position:absolute;left:-9px;top:50%;width:12px;height:12px;margin-top:-6px;border-radius:50%;background:var(--lc-fog);border:1.5px dashed #e3b04b}

/* ---------- прочее: навигация записей, подвал ---------- */
.post-navigation a,.entry-taxonomies a{font-family:var(--lc-display)}
.site-footer{background:var(--lc-ink);color:#b9c3d9;font-family:var(--lc-display);font-size:14.5px}
.site-footer a{color:#e8eefc;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.2);transition:border-color .15s,color .15s}
.site-footer a:hover{color:#fff;border-color:var(--lc-signal)}
.site-footer .footer-widget-area,.site-footer .site-footer-row-container-inner{padding-top:12px;padding-bottom:12px}
.site-footer h2,.site-footer .widget-title{font-family:var(--lc-display);color:#fff;font-weight:650;font-size:1rem}

@media (max-width:600px){
  .entry-content{font-size:1.125rem;line-height:1.7}
  .entry-content>p:first-of-type{font-size:1.18em}
  .entry-content .lc-related{padding:1.1rem 1.1rem}
  .entry-content p.lc-verified{padding:14px 16px 14px 20px}
  .entry-content p.lc-verified::before{display:none}
  .entry-hero-container-inner{background-size:110%,auto;background-position:right -20px bottom 6px,center}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}

/* выравнивание шапки записи по левому краю + разделители крошек */
.entry-hero.entry-hero .entry-header,.entry-hero.entry-hero .entry-header *{text-align:left!important}
.entry-hero .entry-header{align-items:flex-start;justify-content:flex-start}
.yoast-bc-wrap>span>span+span::before{content:"/";margin:0 .55em;color:#aab6cc}
.entry-hero .entry-taxonomies{margin:.3rem 0 .5rem}
.entry-hero .entry-taxonomies a{font-size:13px;font-weight:600;color:var(--lc-route);text-decoration:none}

/* карточки записей (похожие, архивы) и подвал: те же шрифты и цвета */
.loop-entry .entry-title,.entry-related-title,.kadence-posts-list .entry-title,.entry-title a,.related-posts-title,h2.entry-title,h3.entry-title{font-family:var(--lc-display);font-weight:650;letter-spacing:-.012em;color:var(--lc-ink)}
.loop-entry,.entry.loop-entry{border-radius:var(--lc-r);border:1px solid var(--lc-line);box-shadow:0 12px 26px -22px rgba(16,26,46,.45)}
.loop-entry .entry-meta,.loop-entry time{font-family:var(--lc-display);color:var(--lc-muted);font-size:13px}
.site-footer .site-footer-row-container,.site-footer .site-footer-wrap,.site-footer .site-bottom-footer-wrap,.site-footer .site-middle-footer-wrap{background:var(--lc-ink)!important}
.site-footer-row-container-inner{border-color:rgba(255,255,255,.12)!important}

/* главная: плитки задач и чипы областей */
.entry-content .lc-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:1rem 0 .4rem;padding:0;list-style:none}
.entry-content .lc-tiles li{margin:0;padding:0}
.entry-content .lc-tiles a{display:flex;flex-direction:column;gap:6px;height:100%;padding:18px 18px 20px;border-radius:var(--lc-r);background:var(--lc-ink);color:#dbe4f7;text-decoration:none;font-family:var(--lc-display);transition:transform .18s ease,box-shadow .18s}
.entry-content .lc-tiles a:hover{transform:translateY(-2px);box-shadow:0 18px 30px -18px rgba(16,26,46,.7);color:#fff}
.entry-content .lc-tiles strong{font-size:1.1rem;font-weight:650;color:#fff;letter-spacing:-.01em}
.entry-content .lc-tiles span{font-size:.88rem;line-height:1.45;color:#b9c6e2}
.entry-content .lc-tiles li:first-child a{box-shadow:inset 0 -3px 0 var(--lc-signal)}
.entry-content .lc-chips{display:flex;flex-wrap:wrap;gap:8px;margin:.4rem 0 1rem;padding:0;list-style:none}
.entry-content .lc-chips li{margin:0;padding:0}
.entry-content .lc-chips a{display:inline-block;padding:7px 14px;border:1px solid var(--lc-line);border-radius:999px;background:var(--lc-paper);color:var(--lc-ink);font-family:var(--lc-display);font-size:.92rem;font-weight:550;text-decoration:none;transition:border-color .15s,background .15s,color .15s}
.entry-content .lc-chips a:hover{border-color:var(--lc-route);color:var(--lc-route);background:#f4f8ff}
.entry-content .lc-chips li:first-child a{background:var(--lc-ink);border-color:var(--lc-ink);color:#fff}
.entry-content .lc-chips li:first-child a:hover{background:var(--lc-route);border-color:var(--lc-route)}
@media (max-width:900px){.entry-content .lc-tiles{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.entry-content .lc-tiles{grid-template-columns:1fr}}

/* подвал: компактные строки разделов (mu-plugin lc-sitenav.php) */
.lc-footer-nav{background:var(--lc-ink);color:#b9c3d9;font-family:var(--lc-display);padding:1.6rem 0 1rem;margin-top:3rem;border-top:3px solid var(--lc-signal)}
.lc-footer-nav .lc-fn-row{display:flex;align-items:baseline;gap:1rem;padding:.38rem 0;border-bottom:1px solid rgba(255,255,255,.08)}
.lc-footer-nav .lc-fn-title{flex:0 0 6.2rem;font-size:.85rem;font-weight:650;color:#fff}
.lc-footer-nav ul{display:flex;flex-wrap:wrap;gap:.2rem 1.2rem;margin:0;padding:0;list-style:none}
.lc-footer-nav li{margin:0}
.lc-footer-nav a{color:#c9d4ea;text-decoration:none;font-size:14px;border-bottom:1px solid transparent;transition:color .15s,border-color .15s}
.lc-footer-nav a:hover{color:#fff;border-color:var(--lc-signal)}
.lc-footer-nav .lc-fn-note{margin:.8rem 0 0;font-size:12.5px;line-height:1.5;color:#8d9bb8}
.site-footer{margin-top:0}
@media (max-width:520px){.lc-footer-nav .lc-fn-row{flex-direction:column;gap:.15rem}.lc-footer-nav .lc-fn-title{flex:none}}

/* меню шапки: выпадающий список ГАИ */
.header-navigation ul ul.sub-menu{background:var(--lc-paper);border:1px solid var(--lc-line);border-radius:12px;box-shadow:0 22px 40px -24px rgba(16,26,46,.5);padding:8px;min-width:15rem}
.header-navigation ul ul.sub-menu li a{font-family:var(--lc-display);font-size:14.5px;font-weight:500;padding:.55em .8em;border-radius:8px;color:var(--lc-ink)}
.header-navigation ul ul.sub-menu li a:hover{background:var(--lc-fog);color:var(--lc-route)}

/* строка копирайта: компактная, того же цвета */
.site-footer .site-footer-row-container-inner{background:var(--lc-ink)!important;padding:0!important}
.site-footer .site-footer-row{padding:10px 0!important;min-height:0!important}
.site-footer .footer-widget-area{padding:0!important}
.site-footer .footer-html,.site-footer .footer-html-inner,.site-footer .footer-html-inner p{font-size:12.5px;color:#8d9bb8;margin:0}
.site-footer{border-top:1px solid rgba(255,255,255,.08)}

/* архивы, поиск, прочие заголовки */
h1,.archive-title,.page-title h1,.entry-hero h1,.search-title,.page-title .archive-title{font-family:var(--lc-display);font-weight:700;letter-spacing:-.022em;color:var(--lc-ink)}
h2,h3,h4{font-family:var(--lc-display)}
.archive .entry-content,.blog .entry-content,.search .entry-content{font-family:var(--lc-text)}
.archive .loop-entry .entry-summary,.search .loop-entry .entry-summary{font-family:var(--lc-text);color:#2a3550}

/* калькуляторы: интерфейсный шрифт и цифры, кнопки */
[data-calc],[data-calc] input,[data-calc] select,[data-calc] button,[data-calc] label,[data-calc] small{font-family:var(--lc-display);font-variant-numeric:lining-nums tabular-nums}
[data-calc]{border:1px solid var(--lc-line);border-radius:var(--lc-r);box-shadow:0 14px 30px -24px rgba(16,26,46,.4)}
[data-calc] input[type=number],[data-calc] input[type=text],[data-calc] select{border:1px solid var(--lc-line);border-radius:10px;background:var(--lc-fog);color:var(--lc-ink);transition:border-color .15s,background .15s}
[data-calc] input:focus,[data-calc] select:focus{border-color:var(--lc-route);background:#fff;outline:0;box-shadow:0 0 0 3px rgba(10,91,255,.18)}
[data-calc] button{border-radius:10px;font-weight:600;transition:background .15s,transform .15s}
[data-calc] button:first-of-type{background:var(--lc-route);color:#fff;border:0}
[data-calc] button:first-of-type:hover{background:var(--lc-route-dark)}
