/*
Theme Name: Vseprozapoj Notes
Author: Argokov
Description: Редактируемая блочная тема справочника vseprozapoj.ru.
Version: 1.1.0
Requires at least: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: vseprozapoj-notes
*/
:root{--ink:#3d2d24;--blue:#b34f2d;--muted:#8b7868;--line:#e6d9c8;--paper:#faf6ed}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}a{text-underline-offset:4px}button,input{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #eaa64d;outline-offset:4px}
.site-header{border-bottom:1px solid var(--line);padding:25px 0;background:white}.header-inner{gap:28px!important}.brand{gap:12px!important}.wp-block-site-title{font-size:25px!important;font-weight:750;letter-spacing:-1px;white-space:nowrap}.wp-block-site-logo img{max-height:64px;width:auto}.header-search{width:245px}.wp-block-search__inside-wrapper{border:1px solid var(--line)!important;border-radius:7px;padding:4px!important;background:var(--paper)}.wp-block-search__input{min-width:0;background:transparent;border:0!important;padding:7px 10px!important;font-size:14px}.wp-block-search__button{border:0!important;border-radius:5px;padding:7px 10px!important;background:transparent!important;color:var(--ink)!important}.wp-block-navigation{font-size:14px;font-weight:600}.wp-block-navigation a:hover{color:var(--blue)}
.hero{padding:68px 0 56px;border-bottom:1px solid var(--line);background:linear-gradient(110deg,#f5ead7,#f8fafc)}.eyebrow{font-size:11px!important;font-weight:750;text-transform:uppercase;letter-spacing:2px;color:var(--blue);margin-bottom:22px!important}.hero h1{font-size:clamp(38px,4.6vw,64px)!important;line-height:1.08!important;letter-spacing:-2.4px;max-width:780px;margin:0!important}.hero-description{max-width:550px;color:var(--muted);font-size:18px;line-height:1.65;margin-top:22px!important}.hero .wp-block-columns{margin:0;gap:50px;align-items:center!important}.hero-art{height:260px;background:url('assets/editorial.svg') center/contain no-repeat}.hero .wp-block-button__link{font-size:14px;padding:13px 22px;margin-top:12px}
.articles-section{padding:48px 0 80px}.section-heading{margin-bottom:28px!important;align-items:baseline!important}.section-heading h2{font-size:28px;letter-spacing:-.8px}.section-heading p{font-size:13px;color:var(--muted)}.wp-block-post-template{gap:28px!important}.article-card{height:100%;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff;transition:box-shadow .2s,transform .2s}.article-card:hover{box-shadow:0 12px 35px #3d2d240b;transform:translateY(-3px)}.article-card .wp-block-post-featured-image{margin:0;aspect-ratio:16/10;overflow:hidden;background:#f2e2ca}.article-card .wp-block-post-featured-image img{height:100%;width:100%;object-fit:cover}.card-body{padding:23px!important}.card-body .wp-block-post-date{font-size:12px;color:var(--muted);margin-top:0}.card-body .wp-block-post-title{font-size:23px;line-height:1.3;letter-spacing:-.5px;margin-top:12px}.card-body .wp-block-post-title a{text-decoration:none}.card-body .wp-block-post-excerpt{font-size:14px;color:var(--muted);line-height:1.7;margin-top:14px}.wp-block-post-excerpt__more-link{font-size:13px;font-weight:700;color:var(--blue);text-decoration:none}.wp-block-query-pagination{margin-top:40px;gap:16px}.wp-block-query-pagination a,.wp-block-query-pagination .current{padding:8px 13px;border:1px solid var(--line);border-radius:5px;text-decoration:none}.wp-block-query-pagination .current{background:var(--ink);color:white}
.site-footer{border-top:1px solid var(--line);padding:25px 0;color:var(--muted);font-size:13px;background:var(--paper)}.site-footer p{margin:0}.article-main{padding:38px 0 75px}.back-link{font-size:13px;color:var(--muted)}.article-heading{padding:25px 0 32px}.article-heading h1{font-size:clamp(34px,4vw,52px);line-height:1.15;letter-spacing:-1.5px;margin:14px 0 22px}.article-heading .wp-block-post-date{font-size:13px;color:var(--muted)}.article-cover{border-radius:10px;overflow:hidden;margin-bottom:35px!important}.article-cover img{max-height:480px;object-fit:cover}.wp-block-post-content{line-height:1.85;display:flow-root}.wp-block-post-content h2{font-size:30px;line-height:1.3;margin-top:44px}.wp-block-post-content h3{font-size:25px}.wp-block-post-content h4{font-size:22px}.wp-block-post-content h5{font-size:19px}.wp-block-post-content h6{font-size:17px}.wp-block-post-content blockquote{margin:32px 0;border-left:3px solid var(--blue);padding:18px 25px;background:#f5ead7;border-radius:0 8px 8px 0}.wp-block-post-content blockquote p{margin:0}.wp-block-post-content cite{font-size:13px;color:var(--muted)}.wp-block-post-content li{padding-left:5px;margin:6px 0}.wp-block-post-content .alignleft{float:left;margin:8px 28px 16px 0;max-width:44%}.wp-block-post-content .alignright{float:right;margin:8px 0 16px 28px;max-width:44%}.wp-block-post-content figure img{border-radius:7px}.wp-block-post-content figcaption{font-size:12px;color:var(--muted)}.wp-block-table{overflow-x:auto;clear:both}.wp-block-table table{width:100%;border-collapse:collapse;font-size:15px}.wp-block-table th{background:#eef3fa;text-align:left}.wp-block-table td,.wp-block-table th{padding:13px 16px;border:1px solid var(--line)}.post-navigation{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid var(--line);padding-top:25px;margin-top:45px}.post-navigation a{text-decoration:none;font-size:16px;font-weight:650}.post-navigation small{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-bottom:8px}.post-navigation .next{text-align:right;grid-column:2}.related-section{clear:both;border-top:1px solid var(--line);padding-top:35px;margin-top:45px}.related-section h2{font-size:27px}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.related-grid article{border:1px solid var(--line);border-radius:8px;overflow:hidden}.related-grid img{width:100%;aspect-ratio:16/10;object-fit:cover}.related-grid .related-copy{padding:17px}.related-grid h3{font-size:18px;line-height:1.4;margin:8px 0}.related-grid a{text-decoration:none}.related-grid time{font-size:12px;color:var(--muted)}.related-empty{font-size:14px;color:var(--muted)}.not-found{min-height:60vh;padding:80px 0;text-align:center}.not-found .error-number{font-size:100px;line-height:1;font-weight:750;letter-spacing:-6px;color:#c1d2ed;margin:0}.not-found h1{font-size:40px}.not-found p{color:var(--muted)}.search-heading{padding:45px 0 25px}.search-heading h1{font-size:36px}.wp-block-query-no-results{padding:30px;border:1px solid var(--line);border-radius:8px;color:var(--muted)}
@media(min-width:782px){.hero-copy{flex-basis:70%!important}.hero-visual{flex-basis:30%!important}}@media(max-width:1000px){.header-search{width:190px}.header-inner{gap:16px!important}.wp-block-site-title{font-size:22px!important}.hero-art{height:220px}}@media(max-width:781px){.site-header{padding:18px 0}.header-inner{flex-wrap:wrap!important}.brand{flex:1}.header-search{width:100%;order:3}.hero{padding:40px 0}.hero h1{letter-spacing:-1.3px}.hero-description{font-size:16px}.hero-visual{display:none}.articles-section{padding:30px 0 50px}.wp-block-post-template.columns-3{grid-template-columns:repeat(2,minmax(0,1fr))!important}.section-heading p{display:none}.related-grid{grid-template-columns:1fr 1fr}.article-heading{padding-top:15px}.article-main{padding-top:24px}}@media(max-width:520px){.wp-block-post-template.columns-3{grid-template-columns:1fr!important}.section-heading h2{font-size:25px}.related-grid{grid-template-columns:1fr}.wp-block-post-content .alignleft,.wp-block-post-content .alignright{float:none;max-width:100%;width:100%;margin:20px 0}.post-navigation{gap:14px}.not-found h1{font-size:30px}.card-body .wp-block-post-title{font-size:24px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.article-card{transition:none}.article-card:hover{transform:none}}

.home-page-content:has(.wp-block-post-content:empty){display:none}.home-page-content:has(.wp-block-post-content:not(:empty)){padding-top:32px;padding-bottom:12px}.site-header .wp-block-site-title{margin:0}.site-header .brand{align-items:center}.site-header .header-inner{align-items:center}

/* Warm notes: centred masthead, italic introduction, images on the right. */
body{background:#faf6ed}.site-header{background:#faf6ed;border-bottom:1px solid #d9c6ae;padding:28px 0 20px}.header-inner{flex-wrap:wrap!important;gap:22px!important}.brand{flex-basis:100%;justify-content:center!important;border-bottom:1px solid #d9c6ae;padding-bottom:23px}.wp-block-site-title{font-family:Georgia,"Times New Roman",serif;font-size:34px!important;font-weight:400!important;letter-spacing:-1.4px}.site-header .wp-block-navigation{flex:1;font-size:12px;text-transform:uppercase;letter-spacing:1.4px}.site-header .wp-block-navigation__container{justify-content:flex-start}.header-search{width:260px}.wp-block-search__inside-wrapper{background:transparent!important;border-color:#d9c6ae!important;border-radius:0}.hero{background:#f5ead7;border:0;padding:65px 0}.hero-copy{flex-basis:70%!important}.hero-visual{flex-basis:30%!important}.hero-art{height:265px}.hero h1{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-weight:400!important;font-size:clamp(43px,5.4vw,72px)!important;line-height:1.05!important;letter-spacing:-2.6px;max-width:760px}.hero .eyebrow{color:#b34f2d;font-size:10px!important;letter-spacing:2.4px}.hero-description{font-size:17px;color:#8b7868;max-width:560px}.hero .wp-block-button__link{background:transparent!important;border:1px solid #b34f2d;border-radius:0;color:#b34f2d!important;font-size:12px;letter-spacing:1px;padding:13px 23px}.articles-section{padding-top:42px}.section-heading{padding-bottom:24px;border-bottom:1px solid #d9c6ae;margin-bottom:0!important}.section-heading h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:31px;letter-spacing:-.6px}.section-heading p{font-size:11px;text-transform:uppercase;letter-spacing:1.5px}.wp-block-post-template{grid-template-columns:minmax(0,1fr)!important;gap:0!important}.article-card{display:flex;flex-direction:row-reverse;align-items:center;gap:45px;border:0;border-bottom:1px solid #d9c6ae;border-radius:0;background:transparent;padding:35px 0}.article-card:hover{box-shadow:none;transform:none}.article-card .wp-block-post-featured-image{flex:0 0 265px;aspect-ratio:1/1;border-radius:110px 110px 0 0}.card-body{flex:1;padding:0!important}.card-body .wp-block-post-date{color:#b34f2d;font-size:10px;letter-spacing:1.4px;text-transform:uppercase}.card-body .wp-block-post-title{font-family:Georgia,"Times New Roman",serif;font-size:37px;line-height:1.15;font-weight:400;letter-spacing:-.9px;max-width:650px}.card-body .wp-block-post-title a{color:#3d2d24}.card-body .wp-block-post-excerpt{font-size:15px;line-height:1.75;max-width:620px}.wp-block-post-excerpt__more-link{font-size:11px;text-transform:uppercase;letter-spacing:1.3px;font-weight:500}.site-footer{background:#efe0c9;border-top:0;padding:28px 0;color:#7e6956;font-size:12px;text-align:center}.article-heading{text-align:center;padding:25px 0 30px;border-bottom:1px solid #d9c6ae;margin-bottom:30px}.article-heading .wp-block-post-date{color:#b34f2d;font-size:11px;text-transform:uppercase;letter-spacing:1px}.article-heading h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:clamp(36px,4.4vw,59px);line-height:1.12;letter-spacing:-1.3px}.article-cover{border-radius:0}.wp-block-post-content h2,.wp-block-post-content h3{font-family:Georgia,"Times New Roman",serif;font-weight:400}.wp-block-post-content blockquote{background:#f5ead7;border-color:#b34f2d;border-radius:0;font-family:Georgia,"Times New Roman",serif;font-size:23px}.wp-block-table th{background:#efe0c9}.related-grid article{border-radius:0;border-color:#d9c6ae}.related-grid h3{font-family:Georgia,"Times New Roman",serif;font-size:23px;font-weight:400}.related-grid h3 a{color:#3d2d24}.related-section{border-color:#d9c6ae}.wp-block-query-pagination .current{background:#b34f2d}.wp-block-query-pagination a,.wp-block-query-pagination .current{border-radius:0}.not-found .error-number{color:#d9ba94}.not-found h1{font-family:Georgia,"Times New Roman",serif;font-weight:400}.wp-block-button__link{border-radius:0}
@media(max-width:1000px){.article-card{gap:30px}.article-card .wp-block-post-featured-image{flex-basis:230px}.card-body .wp-block-post-title{font-size:32px}.hero-art{height:220px}}
@media(max-width:781px){.site-header{padding:22px 0 17px}.header-inner{gap:17px!important}.brand{flex:1 1 80%;padding-bottom:18px}.wp-block-site-title{font-size:29px!important}.site-header .wp-block-navigation{flex:0 0 24px}.header-search{width:100%;order:3}.hero{padding:40px 0}.hero h1{font-size:47px!important;letter-spacing:-1.5px}.hero-description{font-size:16px}.hero-visual{display:none!important}.wp-block-post-template.columns-3{grid-template-columns:minmax(0,1fr)!important}.article-card{gap:25px;padding:28px 0}.article-card .wp-block-post-featured-image{flex-basis:185px}.card-body .wp-block-post-title{font-size:29px}.card-body .wp-block-post-excerpt{font-size:14px}}
@media(max-width:520px){.brand{flex-basis:75%;border-bottom:0;padding-bottom:0;justify-content:flex-start!important}.wp-block-site-title{font-size:27px!important}.hero h1{font-size:43px!important}.article-card{display:flex;flex-direction:column-reverse;align-items:stretch}.article-card .wp-block-post-featured-image{flex:auto;width:100%;aspect-ratio:16/10;border-radius:100px 100px 0 0}.card-body .wp-block-post-title{font-size:31px}.section-heading h2{font-size:28px}.article-heading h1{font-size:37px}}
