body,body .entry-content,body .entry-title,body .site-title,body .main-navigation{font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.entry-content{font-size:18px;line-height:1.75;overflow-wrap:break-word}
.entry-content h2{font-size:1.5em;line-height:1.3;margin-top:2em;scroll-margin-top:24px}
.entry-content h3{font-size:1.2em;line-height:1.4;margin-top:1.6em;scroll-margin-top:24px}
.entry-content p{margin-bottom:1.1em}
.single h1.entry-title{font-size:36px;line-height:1.2}
.b-r--before-site-content{margin-bottom:20px}
.entry-content img{max-width:100%;height:auto}
.entry-content figure{margin:1.5em 0}
.entry-content figure picture{display:block}
.entry-content figcaption{margin-top:10px;color:#625b56;font-size:.85em;line-height:1.5}
.entry-content .textru-brief{margin:24px 0;padding:20px 22px;border:1px solid #e5dfda;border-radius:12px;background:#faf8f5}
.entry-content .textru-brief__title{margin:0 0 14px;color:#342d31;font-size:18px;font-weight:700;line-height:1.4}
.entry-content .textru-brief__items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0}
.entry-content .textru-brief__items dt{margin:0;color:#625b56;font-size:14px;line-height:1.5;font-weight:500}
.entry-content .textru-brief__items dd{margin:5px 0 0;color:#342d31;font-size:16px;line-height:1.55;font-weight:600}
.entry-content .textru-brief__items dt span{margin-right:6px}
@media(max-width:600px){.entry-content .textru-brief{padding:18px}.entry-content .textru-brief__items{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.entry-content .textru-brief__items>div:last-child{grid-column:1/-1}}
.entry-content iframe[src*="youtube"],.entry-content iframe[src*="youtu.be"]{width:100%;height:auto;aspect-ratio:16/9}
.entry-content [class^="gw_"]{min-width:0!important;max-width:100%!important}
.entry-content iframe[src*="cdn-widget.grattis.ru/widgets/"]{min-width:0!important;max-width:100%!important}
.entry-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;font-size:.92em}
.entry-content th,.entry-content td{padding:12px 14px;border:1px solid #dedbd5;text-align:left;vertical-align:top}
.entry-content th{background:#f5f3ef}
.entry-content .textru-toc{margin:24px 0 32px;padding:0;border:1px solid #e5dfda;border-radius:12px;background:#fff;overflow:hidden;font-size:16px;line-height:1.45}
.entry-content .textru-toc .textru-toc__summary{display:flex;align-items:center;gap:12px;min-height:64px;margin:0;padding:16px 20px;list-style:none;cursor:pointer;color:#342d31;font-size:16px;line-height:1.4}
.textru-toc__summary::-webkit-details-marker{display:none}
.textru-toc__summary::marker{content:""}
.entry-content .textru-toc .textru-toc__title{font-size:18px;font-weight:700}
.entry-content .textru-toc .textru-toc__count{padding:3px 8px;border-radius:6px;background:#f4f1ee;font-size:12px;font-weight:400;color:#68605b;white-space:nowrap}
.entry-content .textru-toc .textru-toc__toggle{display:inline-flex;align-items:center;gap:7px;margin-left:auto;font-size:13px;font-weight:500;color:#96314b;white-space:nowrap}
.textru-toc__toggle svg{flex:none;transition:transform .18s ease}
.textru-toc__hide{display:none}
.textru-toc details[open]>.textru-toc__summary{border-bottom:1px solid #eee9e5}
.textru-toc details[open] .textru-toc__show{display:none}
.textru-toc details[open] .textru-toc__hide{display:inline}
.textru-toc details[open] .textru-toc__toggle svg{transform:rotate(180deg)}
.entry-content .textru-toc ol.textru-toc__list,.entry-content .textru-toc ol.textru-toc__sublist{display:block;margin:0;padding:10px;list-style:none;counter-reset:none}
.entry-content .textru-toc ol.textru-toc__sublist{padding:0 0 4px 28px}
.entry-content .textru-toc li.textru-toc__item{position:static;display:block;float:none;width:auto;max-width:none;margin:0;padding:0;border:0;list-style:none;counter-increment:none}
.entry-content .textru-toc li.textru-toc__item::before,.entry-content .textru-toc li.textru-toc__item::after{content:none!important;display:none!important}
.entry-content .textru-toc a.textru-toc__link{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:baseline;gap:10px;min-height:44px;margin:0;padding:10px;border:0;border-radius:7px;background:transparent;color:#3d3438;font-size:16px;font-weight:400;line-height:1.45;text-decoration:none;overflow-wrap:anywhere}
.entry-content .textru-toc .textru-toc__number{color:#9a465b;font-size:13px;font-variant-numeric:tabular-nums;line-height:1.6}
.entry-content .textru-toc a.textru-toc__link:hover,.entry-content .textru-toc a.textru-toc__link:focus-visible{background:#faf3f5;color:#862a42}
.entry-content .textru-toc .textru-toc__sublist a.textru-toc__link{font-size:15px}
@media(max-width:575px){.entry-content .textru-toc .textru-toc__summary{min-height:60px;padding:14px 16px;gap:10px}.entry-content .textru-toc .textru-toc__toggle>span{display:none}.entry-content .textru-toc ol.textru-toc__list{padding:8px}.entry-content .textru-toc a.textru-toc__link{padding:10px 8px;gap:6px;font-size:15px;grid-template-columns:28px minmax(0,1fr)}.entry-content .textru-toc ol.textru-toc__sublist{padding-left:20px}}
@media(prefers-reduced-motion:reduce){.textru-toc__toggle svg{transition:none}}
.textru-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0 20px;font-size:13px;color:#65605b}
.textru-tools button,.textru-copy-button{border:1px solid #b22b43;border-radius:8px;background:#fff;color:#8d2437;font:600 14px/1.4 system-ui,sans-serif;padding:10px 16px;cursor:pointer;min-height:44px}
.textru-tools button:hover,.textru-copy-button:hover{background:#fff2f4}
body a:focus-visible,body button:focus-visible,body summary:focus-visible,body [role=button]:focus-visible{outline:3px solid #3568c0;outline-offset:4px}
.textru-note{border-left:4px solid #b22b43;background:#faf6f1;padding:16px 20px;margin:24px 0}
.textru-quote{position:relative;border:1px solid #e2dcd4;border-radius:12px;background:#fffaf5;padding:20px;margin:20px 0}
.textru-quote p:last-of-type{margin-bottom:12px}
.textru-copy-status{font-size:14px;color:#4a6547;min-height:1.5em}
.textru-reviewed{font-size:13px;color:#68605a;margin:8px 0 16px}
.textru-plan{padding:20px 24px;border-radius:12px;background:#f5f6f0;margin:24px 0}
.textru-search-wrap{background:#fff;padding:12px 20px;max-width:1170px;margin:0 auto}
.textru-search{display:flex;gap:8px;max-width:650px;margin:0 auto}
.textru-search input{min-width:0;flex:1;border:1px solid #d3cec7;border-radius:8px;padding:10px 12px;font:16px/1.4 system-ui,sans-serif;background:#fff;color:#342b2b}
.textru-search button{border:0;border-radius:8px;padding:10px 16px;background:#a62c44;color:#fff;font:600 15px/1.4 system-ui,sans-serif;cursor:pointer;min-height:44px}
.textru-home-intro{max-width:1170px;margin:0 auto;padding:24px 40px;background:#faf6ef;border-bottom:1px solid #e9e0d5}
.textru-home-intro h1{font-size:32px;line-height:1.2;color:#342b2b;margin:0 0 12px}
.textru-home-intro p{font-size:17px;line-height:1.6;color:#655b51;margin:0 0 18px}
.textru-home-intro nav{display:flex;gap:8px;flex-wrap:wrap}
.textru-home-intro nav a{display:inline-flex;align-items:center;min-height:44px;border:1px solid #dccbc1;border-radius:24px;padding:8px 16px;background:#fff;color:#8d2437;font-size:14px}
@media(max-width:575px){.textru-home-intro{padding:22px 20px}.textru-home-intro h1{font-size:26px}}
@media print{.textru-search-wrap{display:none!important}}
@media(max-width:575px){.single h1.entry-title{font-size:26px}}
@media(max-width:575px){.entry-content{font-size:17px;line-height:1.7}.entry-content h2{font-size:1.4em}.entry-title{line-height:1.2!important}.textru-tools span{display:block;width:100%}.post-card{float:none!important;width:100%!important;max-width:none;margin-right:0}}
@media print{body{background:#fff!important;color:#000!important}.site-header,.main-navigation,.widget-area,.site-footer,.entry-footer,.entry-rating,.related-posts,.comments-area,.textru-tools,.textru-copy-button,.textru-copy-status,.b-r,.quads-location,.code-block,.scrolltop,iframe{display:none!important}.site-content,.content-area,.entry-content{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;float:none!important;box-shadow:none!important}.entry-content{font:11pt/1.5 Georgia,serif}.entry-title{font-size:22pt!important}.textru-toc{display:none}.entry-content h2,.entry-content h3{break-after:avoid}.textru-quote,.textru-plan{break-inside:avoid;border:1px solid #bbb;background:none}a{color:#000!important;text-decoration:none!important}}
/* Keep small metadata and links readable on the theme's light background. */
.breadcrumb,.breadcrumb a,.entry-header .entry-meta,.entry-header .entry-meta span,.entry-header .entry-meta a,.entry-header .entry-meta time{color:#626262}
.entry-content a,.yarpp a{color:#96314b;text-decoration:underline;text-underline-offset:.15em}
.entry-content a:hover,.yarpp a:hover{color:#682235}
#commentform input[type=submit]{background:#96314b;color:#fff}

.entry-content .textru-handout{margin:24px 0;padding:18px 20px;border:1px solid #e5dfda;border-radius:12px;background:#faf8f5}
.entry-content .textru-handout__title{margin:0 0 12px;color:#342d31;font-size:18px;font-weight:700;line-height:1.4}
.entry-content .textru-handout details{margin-top:12px}
.entry-content .textru-handout>details:first-child{margin-top:0}
.entry-content .textru-handout summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;list-style:none;cursor:pointer;padding:12px 0;color:#8d2437;font-size:16px;font-weight:600;line-height:1.5}
.entry-content .textru-handout summary::-webkit-details-marker{display:none}
.entry-content .textru-handout summary::marker{content:""}
.entry-content .textru-handout summary::after{content:"";flex:0 0 8px;width:8px;height:8px;margin-right:4px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.entry-content .textru-handout details[open]>summary::after{transform:rotate(225deg)}
.entry-content .textru-handout figure{margin:16px 0 0}
.entry-content .textru-handout picture{display:block}
.entry-content .textru-handout img{display:block;max-width:100%;height:auto;margin:0 auto}
/* Keep the memorial page free of festive wallpaper and comment emoji controls. */
body.postid-657{background-image:none!important;background-color:#fff!important}
body.postid-657 .comment-smiles{display:none}
