*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:#f3f6f7;color:#17212f;font:18px/1.72 Arial,"Helvetica Neue",system-ui,sans-serif;overflow-x:hidden;overflow-wrap:break-word}
a{color:#7c2d12;text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:#b45309}
img{max-width:100%;height:auto}
.container{width:100%}
.wrapper{width:100%;min-height:100vh;display:flex;flex-direction:column}
.header{background:#fff;border-bottom:1px solid #dfe7ec}
.header>a{display:block;max-width:1180px;margin:0 auto;padding:20px 22px 12px;text-decoration:none}
.head__logo img{display:block;width:auto;height:46px}
.header__nav{max-width:1180px;margin:0 auto;padding:0 22px 16px}
.header__nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.header__nav li{margin:0}
.header__nav a{display:inline-flex;align-items:center;min-height:40px;padding:7px 14px;border:1px solid #d9e4ea;border-radius:12px;background:#fff;color:#17212f;text-decoration:none;font-weight:700;font-size:16px}
.header__nav a:hover{border-color:#7c2d12;color:#7c2d12}
.middle{flex:1;width:100%;max-width:1180px;margin:30px auto;padding:0 22px;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}
.content{min-width:0;background:#fff;border:1px solid #dfe7ec;border-radius:18px;box-shadow:0 18px 40px rgba(23,33,47,.08);padding:34px}
.breadcrumbs{font-size:14px;color:#657485;margin:0 0 14px}
.breadcrumbs a{color:#657485}
.breadcrumbs>span[itemprop]::after{content:" / ";color:#a0acb8}
.post__headline{font-size:clamp(28px,4.4vw,46px);line-height:1.12;margin:0 0 20px;color:#17212f}
.post__entry h2{font-size:clamp(23px,3vw,30px);line-height:1.25;margin:36px 0 14px}
.post__entry h3{font-size:clamp(19px,2.4vw,23px);line-height:1.35;margin:24px 0 10px;color:#26384a}
.post__entry h4,.post__entry h5{font-size:19px;margin:20px 0 8px}
.post__entry p{margin:0 0 16px}
.post__entry ul,.post__entry ol{padding-left:24px;margin:0 0 18px}
.post__entry li{margin:6px 0}
.post__entry img{display:block;height:auto;margin:18px auto;border-radius:12px}
.post__entry figure{margin:20px 0}
.post__entry figcaption,.post__entry .wp-caption-text{font-size:14px;color:#657485;text-align:center}
.post__entry .wp-caption{max-width:100%!important;width:auto!important}
.post__entry blockquote{margin:22px 0;padding:14px 18px;border-left:4px solid #7c2d12;background:#fbf7f3;border-radius:0 12px 12px 0}
.post__entry pre,.post__entry code{white-space:pre-wrap;word-break:break-word;background:#f5f7f9;border-radius:8px}
.post__entry pre{padding:12px 14px}
.post__entry input,.post__entry select,.post__entry textarea,.post__entry button{max-width:100%;font:inherit}
.post__entry hr{border:0;border-top:1px solid #dfe7ec;margin:26px 0}
.tw{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:20px 0;border:1px solid #dfe7ec;border-radius:12px}
.tw table{width:100%;border-collapse:collapse;font-size:16px;margin:0}
.tw th,.tw td{padding:9px 12px;border:1px solid #e6edf1;vertical-align:top;text-align:left}
.tw th{background:#f5f8fa}
.vw{position:relative;max-width:100%;margin:20px 0}
.vw iframe{display:block;width:100%;max-width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:12px}
.post__entry [style*="width"]{max-width:100%}
.post__entry table[width],.post__entry img[width]{max-width:100%}
.yarpp-related{margin-top:34px}
.related .headline,.sidebar .headline{font-weight:800;font-size:22px;margin:0 0 14px;color:#17212f}
.related .items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.item{border:1px solid #dfe7ec;border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.item__meta{padding:10px 14px 0;font-size:13px}
.item__cat a,.item-small__cat a{color:#7c2d12;text-decoration:none;font-weight:700}
.item__link{display:block;color:#17212f;text-decoration:none}
.item__image img{display:block;width:100%;height:auto;aspect-ratio:29/15;object-fit:cover}
.item__title{padding:10px 14px 4px;font-weight:800;line-height:1.35}
.item__text{padding:0 14px 14px;font-size:15px;color:#455565;line-height:1.5}
.sidebar{min-width:0;display:flex;flex-direction:column;gap:18px}
.sidebar__section{background:#fff;border:1px solid #dfe7ec;border-radius:18px;padding:20px;box-shadow:0 18px 40px rgba(23,33,47,.06)}
.products__nav ul{list-style:none;margin:0;padding:0}
.products__nav li{margin:0 0 8px}
.products__nav a{display:block;border:1px solid #dfe7ec;border-radius:12px;padding:10px 14px;background:#fbfdff;color:#17212f;text-decoration:none;font-weight:700}
.products__nav a:hover{border-color:#7c2d12;color:#7c2d12}
.item-small{border-bottom:1px solid #eef2f5;padding:0 0 12px;margin:0 0 12px}
.item-small:last-child{border:0;margin:0;padding:0}
.item-small__cat{font-size:13px;margin-bottom:6px}
.item-small__link{display:flex;gap:12px;align-items:flex-start;color:#17212f;text-decoration:none}
.item-small__image{flex:none;width:96px}
.item-small__image img{display:block;width:96px;height:auto;aspect-ratio:7/5;object-fit:cover;border-radius:10px}
.item-small__title{font-weight:700;font-size:15px;line-height:1.4}
.footer{background:#7c2d12;color:#fff;margin-top:20px;padding:28px 22px}
.footer>*{max-width:1180px;margin-left:auto;margin-right:auto}
.footer,.footer p,.footer a{color:#fff}
.footer p{margin:0 0 8px;font-size:15px;line-height:1.55}
.footer img{height:40px;width:auto;filter:brightness(0) invert(1)}
.footer ul{list-style:none;margin:10px 0;padding:0;display:flex;flex-wrap:wrap;gap:6px 18px}
.footer li{margin:0}
.footer a{text-decoration:none}
.footer a:hover{text-decoration:underline}
.footer-phone__text{font-size:14px;opacity:.85;margin-top:8px}
.footer__counters{display:none}
@media (max-width:980px){.middle{grid-template-columns:minmax(0,1fr);margin-top:18px}.sidebar{order:2}}
@media (max-width:640px){body{font-size:16.5px}.header>a{padding:14px 12px 10px}.head__logo img{height:38px}.header__nav{padding:0 12px 12px}.header__nav ul{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px}.header__nav a{white-space:nowrap;min-height:38px;font-size:15px}.middle{padding:0 10px;gap:16px}.content{padding:20px 14px;border-radius:14px}.sidebar__section{padding:16px;border-radius:14px}.related .items{grid-template-columns:minmax(0,1fr)}.footer{padding:24px 14px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
