/* Cottage Dream — акварельный журнал, утверждено 30.10.2026. */
@font-face{font-family:Prata;src:url('fonts/prata-cyrillic.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
:root{--cd-cream:#faf7f2;--cd-cream-dark:#f1eee6;--cd-text:#17271e;--cd-charcoal:#243a2c;--cd-charcoal-light:#405246;--cd-text-secondary:#60685f;--cd-text-light:#60685f;--cd-green:#3c7145;--cd-green-deep:#34643e;--cd-green-dark:#274e31;--cd-green-light:#eaf0e5;--cd-border:#d9dace;--cd-font-serif:Prata,Georgia,serif;--cd-font-sans:var(--cd-font);--cd-max-width:1480px;--cd-gutter:clamp(20px,4.5vw,72px);--cd-transition:180ms ease-out}
html{scroll-padding-top:104px;scroll-behavior:auto}
body{color:var(--cd-text)!important}
#wrap,#outer-wrap{background:var(--cd-cream)}
h1,h2,h3,h4{color:var(--cd-text);font-weight:400}
button,input,textarea,select{font-family:var(--cd-font)}
button,a,input,textarea,summary{ -webkit-tap-highlight-color:rgba(52,100,62,.12)}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--cd-green-deep)!important;outline-offset:4px}
::selection{background:var(--cd-green-deep);color:#fff}
.cd-striped-bg{background-image:none}
.cd-header{background:var(--cd-cream);position:sticky;top:0;border-bottom:0;z-index:1000}
.cd-header-inner{position:relative;max-width:var(--cd-max-width);padding:0 var(--cd-gutter);height:86px;gap:28px;flex-wrap:nowrap}
.cd-logo{display:inline-flex;align-items:center;gap:8px;color:var(--cd-text)!important;flex:0 0 auto;text-decoration:none!important}
.cd-brand-mark{width:43px;height:43px;display:block;flex:0 0 auto}
.cd-brand-name{font:400 26px/1 Georgia,serif;letter-spacing:-.025em;white-space:nowrap}
.cd-nav{margin-left:auto}
.cd-nav .cd-nav-list{gap:clamp(16px,1.8vw,28px);flex-wrap:nowrap}
.cd-nav .cd-nav-list li a,.cd-nav .menu li a{font-size:13px;font-weight:400;line-height:1.4;letter-spacing:0;text-transform:none;min-height:44px;display:flex;align-items:center}
.cd-nav .cd-nav-list>li>a:hover,.cd-nav .cd-nav-list>li.current-menu-item>a{color:var(--cd-green-deep)!important;text-decoration:underline!important;text-underline-offset:5px}
.cd-nav .cd-nav-list .sub-menu{border-radius:8px;border-color:var(--cd-border);box-shadow:0 12px 24px rgba(23,39,30,.08)}
.cd-nav .cd-nav-list .sub-menu a{font-size:14px;padding:10px 18px;min-height:44px}
.cd-search-disclosure{position:relative;flex:0 0 44px;margin:0 0 0 4px}
.cd-search-disclosure>summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;list-style:none;cursor:pointer;color:var(--cd-text);border-left:1px solid var(--cd-border)}
.cd-search-disclosure>summary::-webkit-details-marker{display:none}
.cd-search-disclosure>summary svg{display:block}
.cd-search-disclosure[open]>summary{color:var(--cd-green-deep)}
.cd-search-disclosure .cd-search{position:absolute;top:54px;right:0;width:340px;max-width:calc(100vw - 40px);padding:6px 6px 6px 16px;margin:0;background:var(--cd-cream);border:1px solid var(--cd-border);border-radius:8px;box-shadow:0 8px 20px rgba(23,39,30,.08)}
.cd-search-disclosure .cd-search-input{width:100%;min-width:0;font-size:16px;height:42px}
.cd-search-disclosure .cd-search-btn{width:44px;height:44px;border-radius:6px!important;display:flex!important;align-items:center;justify-content:center}
.cd-mobile-toggle{min-width:44px;min-height:44px;align-items:center;justify-content:center}
/* Первый экран: текст и иллюстрация существуют раздельно. */
.cd-cover{position:relative;display:grid;grid-template-columns:46% 54%;align-items:center;max-width:var(--cd-max-width);margin:0 auto;padding:0 var(--cd-gutter);min-height:420px;isolation:isolate}
.cd-cover-copy{position:relative;z-index:1;padding:40px 0 52px}
.cd-cover h1{font-family:var(--cd-font-serif);font-size:clamp(40px,4.45vw,67px);font-weight:400;line-height:1.25;letter-spacing:-.035em;margin:0 0 20px;white-space:nowrap}
.cd-cover-copy>p{font-size:clamp(15px,1.2vw,18px);line-height:1.65;max-width:49ch;margin:0 0 28px;color:var(--cd-charcoal-light)}
.cd-cover-art{width:114%;margin-left:-7%;align-self:stretch;display:flex;align-items:center;position:relative;z-index:0}
.cd-cover-art img{width:100%;height:auto;display:block;mix-blend-mode:multiply}
.cd-cover-actions{display:flex;align-items:center;gap:30px;flex-wrap:wrap}
.cd-editorial-button{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:52px;padding:13px 28px;background:var(--cd-green-deep);color:#fff!important;font-size:16px;border:1px solid var(--cd-green-deep);border-radius:9px;font-weight:400;text-decoration:none!important;transition:background var(--cd-transition),border-color var(--cd-transition)}
.cd-editorial-button:hover{background:var(--cd-green-dark);border-color:var(--cd-green-dark)}
.cd-editorial-button span{font-size:21px;line-height:1}
.cd-editorial-link{font-size:15px;color:var(--cd-green-dark)!important;text-decoration:underline!important;text-underline-offset:6px;min-height:44px;display:inline-flex;align-items:center}
.cd-topic-strip{max-width:calc(var(--cd-max-width) - var(--cd-gutter)*2);margin:0 auto;padding:4px 0;display:flex;align-items:center;justify-content:space-between;gap:8px 22px;border-top:1px solid var(--cd-border);border-bottom:1px solid var(--cd-border);scroll-margin-top:100px}
.cd-topic-strip a{display:flex;align-items:center;min-height:44px;font-size:12px;line-height:1.5;color:var(--cd-charcoal)!important}
.cd-topic-strip a:hover{color:var(--cd-green-dark)!important;text-decoration:underline!important;text-underline-offset:4px}
.cd-section{padding:52px var(--cd-gutter) 64px;max-width:var(--cd-max-width)}
.cd-journal{padding-top:24px;scroll-margin-top:90px}
.cd-section-header{gap:20px;align-items:center;margin-bottom:24px}
.cd-section-title{font-family:var(--cd-font-serif);font-size:clamp(26px,3vw,40px);line-height:1.35;margin:0}
.cd-section-link{font-size:14px;letter-spacing:0;text-transform:none;font-weight:400;color:var(--cd-green-dark)!important;min-height:44px;display:inline-flex;align-items:center;text-decoration:underline!important;text-underline-offset:5px}
.cd-blog-grid{gap:32px 24px;align-items:stretch}
.cd-card{display:flex;flex-direction:column;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;transition:none}
.cd-card:hover{transform:none;box-shadow:none}
.cd-card-img{aspect-ratio:2.3/1;border-radius:6px;overflow:hidden;background:var(--cd-cream-dark)}
.cd-card-img>a{display:block;width:100%;height:100%}
.cd-card-img img{width:100%;height:100%;object-fit:cover;transition:none}
.cd-card:hover .cd-card-img img,.cd-card:hover .cd-card-img-placeholder{transform:none}
.cd-card-body{padding:16px 0 12px;flex:1}
.cd-card-category{font-size:11px;letter-spacing:.035em;font-weight:500;line-height:1.6;margin:0 0 8px;color:var(--cd-green-dark)!important}
.cd-card-title{font-family:var(--cd-font-serif);font-size:clamp(18px,1.55vw,23px);line-height:1.5;letter-spacing:-.02em;margin:0 0 10px}
.cd-card-title a{color:var(--cd-text)!important}
.cd-card:hover .cd-card-title a{color:var(--cd-green-dark)!important;text-decoration:underline!important;text-underline-offset:4px}
.cd-card-excerpt{font-size:14px;line-height:1.65;color:var(--cd-text-secondary);margin:0}
.cd-card-footer{padding:10px 0 0;margin-top:auto;border-top:1px solid var(--cd-border);font-size:12px;gap:12px;min-height:44px}
.cd-card-readmore{font-weight:400;letter-spacing:0;text-transform:none;min-height:44px;display:flex;align-items:center}
.cd-card-img-placeholder{background:var(--cd-green-light)!important;font-size:30px;color:var(--cd-green-deep)}
.cd-badge-new{display:none}
/* Рубрики, поиск и текстовые страницы. */
.cd-page-header,body.archive .cd-page-header{background:transparent;padding:40px 0 32px;border-bottom:1px solid var(--cd-border)}
.cd-page-header-inner{max-width:var(--cd-max-width);padding:0 var(--cd-gutter)}
.cd-page-header h1{font-family:var(--cd-font-serif);font-size:clamp(30px,3.5vw,50px);line-height:1.35;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}
body.archive .cd-archive-intro{margin-top:24px;display:block}
.cd-archive-intro .cd-page-description,.cd-page-description{font-size:17px;line-height:1.8;max-width:78ch;color:var(--cd-text-secondary)}
.cd-archive-intro .cd-page-description p{margin-bottom:16px}
.cd-category-description>summary{list-style:none;cursor:pointer}
.cd-category-description>summary::-webkit-details-marker{display:none}
.cd-description-preview{display:block;cursor:auto}
.cd-description-more{display:inline-flex;gap:8px;align-items:center;min-height:44px;font-size:14px;color:var(--cd-green-dark);text-decoration:underline;text-underline-offset:4px}
.cd-more-close{display:none}
.cd-category-description[open] .cd-more-close{display:inline}
.cd-category-description[open] .cd-more-open,.cd-category-description[open] .cd-description-preview{display:none}
.cd-description-full{padding-top:12px}
.cd-breadcrumb{max-width:var(--cd-max-width);padding:26px var(--cd-gutter) 0;margin:0 auto;font-size:12px;line-height:1.7;color:var(--cd-text-secondary)}
.cd-page-header .cd-breadcrumb{padding:0;margin-bottom:16px}
.cd-single{max-width:864px;padding:0 32px}
.cd-single-header{padding:28px 0 28px}
.cd-single-title{font-family:var(--cd-font-serif);font-size:clamp(30px,3.25vw,47px);font-weight:400;line-height:1.4;letter-spacing:-.025em;margin:10px 0 0;overflow-wrap:break-word}
.cd-single-meta{margin-top:20px;font-size:13px;color:var(--cd-text-secondary);flex-wrap:wrap}
.cd-single-thumbnail{border-radius:8px;margin-bottom:32px}
.cd-single-thumbnail img{aspect-ratio:3/2;object-fit:cover}
.cd-single-content{font-size:18px;line-height:1.85;color:var(--cd-text)}
.cd-single-content p{margin-bottom:1.4em}
.cd-single-content h2{font-family:var(--cd-font-serif);font-size:clamp(24px,2.4vw,32px);font-weight:400;line-height:1.5;margin:1.8em 0 .65em;border:0;padding:0;letter-spacing:-.02em;scroll-margin-top:110px}
.cd-single-content h3{font-family:var(--cd-font-serif);font-size:23px;line-height:1.5;margin:1.5em 0 .6em}
.cd-single-content a{color:var(--cd-green-dark)!important;text-underline-offset:4px}
.cd-single-content a:hover{color:var(--cd-green-deep)!important}
.cd-single-content blockquote{border:0;border-top:1px solid var(--cd-border);border-bottom:1px solid var(--cd-border);border-radius:0;background:transparent;padding:24px 0;font-style:normal;color:var(--cd-charcoal-light)}
.cd-single-content img{border-radius:8px}
.cd-toc{background:var(--cd-cream-dark);border:0;border-radius:8px;padding:20px 24px;margin:28px 0}
.cd-toc summary{min-height:32px;color:var(--cd-text)}
.cd-toc a{color:var(--cd-charcoal)!important}
.cd-faq{border:0;border-top:1px solid var(--cd-border);border-radius:0;background:transparent;padding:28px 0 0;margin:40px 0}
.cd-faq-title{margin-top:0!important}
.cd-faq-item>summary{min-height:52px;padding:16px 32px 16px 0;line-height:1.65;font-size:16px;font-weight:500}
.cd-faq-answer{font-size:16px;line-height:1.8;color:var(--cd-charcoal-light)}
.cd-inline-related{border:0;border-top:1px solid var(--cd-border);border-radius:0;background:transparent;padding:20px 0}
.cd-post-nav{gap:24px;padding-top:24px;margin-top:32px}
.cd-post-nav-item{border:0;border-radius:0;background:transparent;padding:0;min-height:70px}
.cd-post-nav-item:hover{box-shadow:none;transform:none}
.cd-post-nav-label{font-size:11px;letter-spacing:.04em}
.cd-post-nav-title{font-family:var(--cd-font-serif);font-size:17px;line-height:1.6}
.cd-share-btn,.cd-tag{border-radius:6px;min-height:44px;display:inline-flex;align-items:center;background:transparent}
.cd-comments{margin-top:36px;padding-top:32px}
.cd-comments #respond{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin:0}
.cd-comments .comment-reply-title{font-family:var(--cd-font-serif);font-size:28px;line-height:1.5;margin:0 0 20px}
.cd-comment-note{background:var(--cd-green-light);border-radius:6px;font-size:14px;padding:16px;margin-bottom:24px}
.cd-comments .comment-form-captcha{margin-top:24px}
.cd-comments .comment-form-consent{margin:24px 0!important}
.cd-comments .form-submit input[type=submit]{border-radius:8px!important;min-height:48px;background:var(--cd-green-deep)!important;font-size:14px!important;font-weight:500!important}
.cd-comments .form-submit input[type=submit]:hover{background:var(--cd-green-dark)!important}
.cd-comments .form-submit{margin-top:24px}
.cd-pagination{margin-top:40px}
.cd-pagination .nav-links{flex-wrap:wrap;gap:8px}
.cd-pagination .page-numbers{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;background:transparent;padding:8px 14px}
.cd-pagination .page-numbers.current{background:var(--cd-green-deep);border-color:var(--cd-green-deep)}
.cd-pagination a.page-numbers:hover{color:var(--cd-green-dark)!important;border-color:var(--cd-green-deep)}
.cd-no-posts{padding:24px 0 60px;font-size:17px}
.cd-error-page{min-height:55vh;text-align:center;padding-top:60px}
.cd-error-code{font:400 64px/1.3 var(--cd-font-serif);color:var(--cd-green-deep);margin-bottom:12px}
.cd-error-page h1{font:400 clamp(28px,4vw,44px)/1.4 var(--cd-font-serif);margin-bottom:16px}
.cd-error-page>p:not(.cd-error-code){margin-bottom:28px;color:var(--cd-text-secondary)}
/* Единый спокойный подвал. */
.cd-footer{background:var(--cd-cream-dark);border-top:1px solid var(--cd-border);margin-top:36px}
.cd-footer .cd-footer-inner{padding:32px var(--cd-gutter) 16px;gap:24px;max-width:var(--cd-max-width);flex-wrap:wrap}
.cd-footer-logo{opacity:.85}
.cd-footer-logo .cd-brand-name{font-size:22px}
.cd-footer-logo .cd-brand-mark{width:34px;height:34px}
.cd-footer-nav .cd-footer-nav-list,.cd-footer-nav .menu{gap:6px 24px}
.cd-footer-nav a{font-size:13px;min-height:44px;display:inline-flex;align-items:center;color:var(--cd-charcoal-light)!important}
.cd-footer-copy{font-size:12px;color:var(--cd-text-secondary)}
.cd-footer .cd-footer-legal{padding:0 var(--cd-gutter) 20px;gap:6px 24px}
.cd-footer-legal a,.cd-footer-legal .cd-cookie-settings{font-size:12px;color:var(--cd-text-secondary)!important;font-family:var(--cd-font);line-height:1.6}
/* Планшет и телефон — та же иерархия без уменьшения удобства. */
@media(min-width:1481px){.cd-topic-strip{max-width:1336px}}
@media(max-width:1480px){.cd-topic-strip{margin-left:var(--cd-gutter);margin-right:var(--cd-gutter)}}
@media(max-width:1100px){
 .cd-header-inner{height:76px;gap:12px}
 .cd-header .cd-mobile-toggle{display:flex;position:relative;z-index:1001;background:transparent!important;padding:10px}
 .cd-brand-name{font-size:24px}.cd-brand-mark{width:38px;height:38px}
 .cd-search-disclosure{margin-left:auto;order:2}.cd-mobile-toggle{order:3}
 .cd-header .cd-nav{display:none;position:absolute;top:76px;left:0;right:0;bottom:auto;background:var(--cd-cream);border-bottom:1px solid var(--cd-border);padding:16px var(--cd-gutter) 28px;max-height:calc(100dvh - 76px);overflow:auto;margin:0;box-shadow:0 12px 18px rgba(23,39,30,.06)}
 .cd-header .cd-nav.is-open{display:block}
 .cd-header .cd-nav .cd-nav-list{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;text-align:left;align-items:start}
 .cd-header .cd-nav .cd-nav-list li a{font-size:15px;justify-content:flex-start;min-height:44px;padding:8px 0}
 .cd-header .cd-nav .cd-nav-list .sub-menu{display:block;position:static;min-width:0;margin:0;padding:0 0 0 12px;border:0;border-left:1px solid var(--cd-border);border-radius:0;background:transparent;box-shadow:none}
 .cd-header .cd-nav .cd-nav-list .sub-menu a{font-size:13px;color:var(--cd-charcoal-light)!important;min-height:44px}
 .cd-header .cd-nav .cd-nav-list>li.menu-item-has-children>a::after{display:none}
 .cd-cover{min-height:360px}.cd-cover h1{font-size:clamp(34px,4.3vw,48px)}
 .cd-cover-actions{gap:18px}.cd-editorial-button{padding:12px 22px;font-size:15px}
 .cd-topic-strip{flex-wrap:wrap;justify-content:flex-start;gap:0 24px}
 .cd-blog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .cd-card-title{font-size:19px}
}
@media(max-width:768px){
 :root{--cd-gutter:24px}
 html{scroll-padding-top:84px}
 .cd-header-inner{height:70px;padding-top:0;padding-bottom:0}
 .cd-header .cd-nav{top:70px;max-height:calc(100dvh - 70px)}
 .cd-cover{grid-template-columns:1fr;min-height:0;padding-top:8px}
 .cd-cover-copy{padding:28px 0 0}
 .cd-cover h1{font-size:clamp(30px,6.5vw,48px);line-height:1.35;letter-spacing:-.035em;margin-bottom:16px;white-space:normal}
 .cd-cover-copy>p{font-size:16px;line-height:1.65;max-width:38ch;margin-bottom:20px}
 .cd-cover-actions{gap:16px 24px}
 .cd-editorial-button{min-height:48px;padding:12px 20px;font-size:14px;gap:16px}
 .cd-editorial-link{font-size:14px}
 .cd-cover-art{width:100%;margin:0;max-width:620px;justify-self:center}
 .cd-cover-art img{width:100%;margin:4px 0 12px}
 .cd-topic-strip{padding:6px 0;gap:0 22px;justify-content:flex-start}
 .cd-topic-strip a{font-size:12px;min-height:40px}
 .cd-section{padding:36px var(--cd-gutter) 44px}
 .cd-journal{padding-top:24px}
 .cd-section-header{align-items:center;margin-bottom:20px;gap:12px}
 .cd-section-title{font-size:27px;line-height:1.45}
 .cd-section-link{font-size:12px}
 .cd-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}
 .cd-card-title{font-size:20px;line-height:1.5}
 .cd-card-img{aspect-ratio:1.8/1}
 .cd-page-header,body.archive .cd-page-header{padding:28px 0 24px}
 .cd-page-header h1{font-size:30px;line-height:1.4}
 body.archive .cd-archive-intro{margin-top:20px}
 .cd-page-description,.cd-archive-intro .cd-page-description{font-size:16px;line-height:1.8}
 .cd-breadcrumb{padding:20px var(--cd-gutter) 0;font-size:11px}
 .cd-single{padding:0 var(--cd-gutter);max-width:760px}
 .cd-single-header{padding:24px 0}
 .cd-single-title{font-size:30px;line-height:1.45;margin-top:8px}
 .cd-single-meta{font-size:12px;margin-top:16px}
 .cd-single-content{font-size:17px;line-height:1.85}
 .cd-single-content h2{font-size:25px;line-height:1.5;margin-top:1.6em}
 .cd-single-content h3{font-size:21px}
 .cd-single-thumbnail{margin-bottom:24px}
 .cd-toc{padding:18px;margin:24px 0}
 .cd-post-nav{grid-template-columns:1fr;gap:20px}
 .cd-post-nav-next{text-align:left}
 .cd-comments .comment-reply-title{font-size:25px}
 .cd-comments #respond{padding:0}
 .cd-comments .form-submit input[type=submit]{width:100%}
 .cd-footer .cd-footer-inner{flex-direction:column;text-align:center;gap:12px;padding-top:28px}
 .cd-footer-nav{width:100%}
 .cd-footer-nav .cd-footer-nav-list,.cd-footer-nav .menu{justify-content:center;gap:0 18px}
 .cd-footer-copy{white-space:normal}
 .cd-footer .cd-footer-legal{gap:0 20px}
 .cd-search-disclosure .cd-search{right:-48px;top:52px}
}
@media(max-width:540px){
 :root{--cd-gutter:20px}
 .cd-brand-name{font-size:21px}.cd-brand-mark{width:34px;height:34px}.cd-logo{gap:5px}
 .cd-header-inner{gap:4px}
 .cd-search-disclosure{flex-basis:40px}.cd-search-disclosure>summary{width:40px;border:0}
 .cd-mobile-toggle{min-width:40px;padding:8px!important}
 .cd-header .cd-nav .cd-nav-list{grid-template-columns:1fr;gap:8px}
 .cd-cover h1{font-size:clamp(27px,6.7vw,36px)}
 .cd-cover-copy>p{font-size:15px}
 .cd-cover-actions{gap:12px 20px}.cd-editorial-button{padding:12px 18px}
 .cd-blog-grid{grid-template-columns:minmax(0,1fr);gap:30px}
 .cd-card-img{aspect-ratio:2/1}.cd-card-title{font-size:21px}
 .cd-card-body{padding-top:14px}
 .cd-section-title{font-size:25px}
 .cd-single-title{font-size:28px;line-height:1.45}
 .cd-topic-strip{gap:0 18px}
 .cd-footer-nav a{font-size:12px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.cd-card,.cd-card-img img,.cd-editorial-button,.cd-mobile-toggle span{transition:none}}
@media(min-width:769px){
 .cd-cover{min-height:0;height:clamp(360px,31vw,470px)}
 .cd-cover-art{height:100%;align-self:center}
 .cd-cover-art img{height:100%;object-fit:contain}
}
@media(min-width:769px){
 .cd-cover{grid-template-rows:minmax(0,1fr)}
 .cd-cover-art{min-height:0;max-height:100%;overflow:hidden}
 .cd-cover-art img{min-height:0;max-height:100%;object-fit:contain}
 .cd-cover-copy{min-width:0}
}
/* Короткие страницы: подвал у нижнего края окна, длинные — после текста. */
#wrap{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
#wrap>.cd-header,#wrap>.cd-footer{flex-shrink:0}
#wrap>#main{flex:1 0 auto;min-width:0}
body.admin-bar #wrap{min-height:calc(100vh - 32px);min-height:calc(100dvh - 32px)}
@media(max-width:782px){body.admin-bar #wrap{min-height:calc(100vh - 46px);min-height:calc(100dvh - 46px)}}

/* Два самостоятельных действия первого экрана. */
.cd-topic-picker{position:relative}
.cd-topic-picker>summary{cursor:pointer;list-style:none}
.cd-topic-picker>summary::-webkit-details-marker{display:none}
.cd-topic-picker-list{position:absolute;top:calc(100% + 10px);right:0;z-index:50;width:320px;max-width:calc(100vw - 40px);max-height:340px;overflow:auto;padding:8px;background:var(--cd-cream);border:1px solid var(--cd-border);border-radius:8px;box-shadow:0 12px 24px rgba(23,39,30,.1)}
.cd-topic-picker-list a{display:flex;align-items:center;min-height:44px;padding:10px 14px;font:400 14px/1.5 var(--cd-font);color:var(--cd-text)}
.cd-topic-picker-list a:hover{background:var(--cd-green-light);color:var(--cd-green-dark)}
@media(max-width:380px){.cd-topic-picker-list{position:fixed;top:130px;left:20px;right:20px;width:auto;max-height:calc(100dvh - 160px)}}
.cd-cover{z-index:2}
.cd-topic-picker-list{max-height:min(340px,32dvh)}
@media(max-width:380px){.cd-topic-picker-list{max-height:calc(100dvh - 160px)}}
@media(max-width:540px){.cd-topic-picker-list{position:fixed;top:130px;left:20px;right:20px;width:auto;max-width:none;max-height:calc(100dvh - 160px)}}

/* Описание раскрывается в одном блоке; кнопка всегда после текста. */
.cd-category-description{overflow-anchor:none}
.cd-category-description .cd-description-full{padding:0}
.cd-category-description .cd-description-full> :last-child{margin-bottom:0}
.cd-description-toggle{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin:8px 0 0;padding:0;border:0;background:transparent;color:var(--cd-green-dark);font:400 14px/1.5 var(--cd-font);text-transform:none;cursor:pointer;box-shadow:none;border-radius:0}
.cd-description-toggle[hidden]{display:none!important}
.cd-description-toggle:hover,.cd-description-toggle:focus{background:transparent;color:var(--cd-green-deep)}
.cd-description-toggle-label{text-decoration:underline;text-underline-offset:4px}
.cd-description-chevron{display:inline-block;transition:transform 280ms ease-out}
.cd-description-toggle[aria-expanded=true] .cd-description-chevron{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){.cd-description-chevron{transition:none}}
/* FAQ: компактные строки, геометрический плюс по центру вопроса. */
.cd-single-content .cd-faq{margin:32px 0;padding-top:24px}
.cd-single-content .cd-faq-title{margin:0 0 12px!important;line-height:1.4}
.cd-faq .cd-faq-item{margin:0;padding:0;min-height:0}
.cd-faq .cd-faq-item>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:52px;padding:14px 0;line-height:1.6}
.cd-faq .cd-faq-item>summary::after{content:"";position:static;flex:0 0 14px;display:block;width:14px;height:14px;margin:0 4px 0 0;transform:none;background:linear-gradient(currentColor,currentColor) center/14px 2px no-repeat,linear-gradient(currentColor,currentColor) center/2px 14px no-repeat;transition:background-size 180ms ease-out}
.cd-faq .cd-faq-item[open]>summary::after{content:"";background-size:14px 2px,2px 0}
.cd-faq .cd-faq-answer{padding:0 34px 16px 0;margin:0}
.cd-faq .cd-faq-item:not([open])>.cd-faq-answer{display:none}
@media(prefers-reduced-motion:reduce){.cd-faq .cd-faq-item>summary::after{transition:none}}
