/* Единый вид статей: содержание и штатные блоки WordPress сохранены. */
.ts-reading{--read-blue:#065cff;--read-ink:#172033;--read-muted:#727b96;font-family:Arial,sans-serif;color:var(--read-ink);padding-top:32px!important;padding-bottom:48px!important;box-sizing:border-box}
.ts-reading>.wp-block-post-title{font-size:clamp(28px,3.1vw,42px)!important;line-height:1.2;font-weight:700;letter-spacing:-.025em;margin-top:0;margin-bottom:24px}
.ts-reading>.is-style-section-1{background:#f4f7fc;border:1px solid #e5eaf3;border-radius:10px!important;padding:0 12px;margin-bottom:24px;font-size:13px;color:var(--read-muted)}
.ts-reading .taxonomy-category a{color:var(--read-blue);text-decoration:none}
.ts-reading>.wp-block-group:has(>.wp-block-post-featured-image){background:#f7f9fc;border:1px solid #e5eaf3;border-radius:12px;overflow:hidden;padding:18px}
.ts-reading .wp-block-post-featured-image{margin:0!important}
.ts-reading .wp-block-post-featured-image img{height:360px!important;width:100%;object-fit:contain;border-radius:8px}
.ts-reading>.taxonomy-post_tag{display:flex;flex-wrap:wrap;gap:7px;font-size:12px!important;margin-top:20px;margin-bottom:30px}
.ts-reading .taxonomy-post_tag a{display:inline-flex;padding:5px 9px;background:#f0f2f6;color:#414b5d;border-radius:7px;line-height:1.4;text-decoration:none;font-weight:500}
.ts-reading .taxonomy-post_tag a:hover{background:#e9efff;color:#2457d6}
.ts-reading .taxonomy-post_tag .wp-block-post-terms__separator{display:none}
.ts-reading .taxonomy-category .wp-block-post-terms__separator{display:inline;margin:0 5px;color:#727b96}
.ts-reading .wp-block-post-content{font-size:18px!important;line-height:1.8;overflow-wrap:anywhere}
.ts-reading .wp-block-post-content p{font-size:inherit;line-height:inherit;margin:0 0 1.3em}
.ts-reading .wp-block-post-content>p:first-child{font-size:20px;line-height:1.7;color:#46536a}
.ts-reading .wp-block-post-content :is(h1,h2,h3,h4){color:var(--read-ink);line-height:1.3;font-weight:700;letter-spacing:-.015em;scroll-margin-top:100px;margin:1.8em 0 .75em}
.ts-reading .wp-block-post-content h2{font-size:28px!important;padding-top:24px;border-top:1px solid #e5eaf3}
.ts-reading .wp-block-post-content h3{font-size:23px!important}
.ts-reading .wp-block-post-content h4{font-size:20px!important}
.ts-reading .wp-block-post-content :is(ul,ol){padding-left:1.5em;margin:0 0 1.5em}
.ts-reading .wp-block-post-content li{padding-left:5px;margin-bottom:.65em}
.ts-reading .wp-block-post-content li::marker{color:var(--read-blue);font-weight:700}
.ts-reading .wp-block-post-content a{color:var(--read-blue);text-decoration-thickness:1px;text-underline-offset:3px}
.ts-reading .wp-block-post-content :is(img,video,iframe){max-width:100%}
.ts-reading .wp-block-post-content img{height:auto;border-radius:10px}
.ts-reading .wp-block-post-content figure{margin:28px 0}
.ts-reading .wp-block-post-content figcaption{font-size:14px;line-height:1.5;color:var(--read-muted);text-align:center;margin-top:10px}
.ts-reading .wp-block-post-content :is(blockquote,.wp-block-pullquote){background:#f0f6ff;border-left:4px solid var(--read-blue);padding:22px 26px;margin:28px 0;border-radius:0 10px 10px 0;font-size:18px}
.ts-reading .wp-block-post-content pre{overflow:auto;padding:20px;background:#f4f7fc;border-radius:10px;font-size:14px;white-space:pre}
.ts-reading .wp-block-table{overflow-x:auto}
.ts-reading .wp-block-table table{font-size:15px;line-height:1.6}
.ts-reading #ez-toc-container{width:100%;box-sizing:border-box;padding:22px 26px;background:#f4f7fc;border:1px solid #dfe7f3;border-radius:12px;box-shadow:none;font-size:16px;margin:30px 0}
.ts-reading #ez-toc-container .ez-toc-title{font-size:20px;font-weight:700;color:var(--read-ink)}
.ts-reading #ez-toc-container ul{margin:14px 0 0;padding:0}
.ts-reading #ez-toc-container li{margin-bottom:8px;line-height:1.55}
.ts-reading>.wp-block-post-author,.ts-reading>.wp-block-comments{padding:24px;background:#f8faff;border:1px solid #e5eaf3;border-radius:12px;font-size:16px;line-height:1.65}
.ts-reading>.wp-block-heading{font-size:24px!important;margin-top:38px}
.ts-reading .wp-block-post-author__name{font-weight:700;color:var(--read-blue)}
.ts-reading nav[aria-label="Навигация по записям"]{gap:24px;font-size:14px;line-height:1.5}
.ts-reading .wp-block-comments textarea{width:100%;box-sizing:border-box;border:1px solid #dce3ef;border-radius:8px;background:#fff;padding:14px;font:inherit}
.ts-reading .wp-block-comments input[type="submit"]{background:#ff8500;color:#fff;border:0;border-radius:8px;padding:13px 20px;font-weight:700;white-space:normal}
.ts-reading .wp-block-latest-posts a{font-size:15px;line-height:1.5;color:var(--read-blue)}
.ts-reading a:focus-visible{outline:2px solid var(--read-blue);outline-offset:3px}
@media(max-width:600px){.ts-reading{padding-top:24px!important;padding-bottom:36px!important}.ts-reading>.wp-block-post-title{font-size:28px!important}.ts-reading .wp-block-post-content{font-size:17px!important;line-height:1.75}.ts-reading .wp-block-post-content>p:first-child{font-size:18px}.ts-reading .wp-block-post-content h2{font-size:24px!important}.ts-reading .wp-block-post-content h3{font-size:21px!important}.ts-reading .wp-block-post-featured-image img{height:280px!important}.ts-reading>.wp-block-group:has(>.wp-block-post-featured-image){padding:10px}.ts-reading #ez-toc-container{padding:18px 16px;font-size:15px}.ts-reading>.wp-block-post-author,.ts-reading>.wp-block-comments{padding:18px}.ts-reading nav[aria-label="Навигация по записям"]{flex-wrap:wrap}.ts-reading nav[aria-label="Навигация по записям"]>*{width:100%;text-align:left}.ts-reading>.wp-block-group.is-nowrap{flex-wrap:wrap}}
/* Кнопки в содержимом: единый размер и контрастный текст. */
.ts-reading .wp-block-post-content .wp-block-buttons{gap:12px;flex-wrap:wrap;margin:28px 0;align-items:stretch}
.ts-reading .wp-block-post-content .wp-block-button{display:flex;min-width:0}
.ts-reading .wp-block-post-content .wp-block-button__link{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;padding:13px 20px;border-radius:8px!important;font-size:16px!important;line-height:1.4;font-weight:600;color:#fff!important;background:#b95000;text-decoration:none;box-shadow:none;white-space:normal;text-align:center;transition:filter .15s}
.ts-reading .wp-block-post-content .wp-block-button__link.has-accent-4-background-color{background:#414b5d!important}
.ts-reading .wp-block-post-content .wp-block-button__link.has-accent-3-background-color{background:#065cff!important}
.ts-reading .wp-block-post-content .wp-block-button__link.has-accent-5-background-color{background:#f0f2f6!important;color:#172033!important;border:1px solid #dce3ef}
.ts-reading .wp-block-post-content .wp-block-button__link:hover{filter:brightness(.94);text-decoration:none}
@media(max-width:600px){.ts-reading .wp-block-post-content .wp-block-buttons>.wp-block-button{width:100%}.ts-reading .wp-block-post-content .wp-block-button__link{width:100%}}
