/*
Theme Name: Wikialkogolism Guide
Author: Argokov
Description: Редактируемая блочная тема справочника wikialkogolism.ru.
Version: 1.1.0
Requires at least: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: wikialkogolism-guide
*/
:root{--ink:#2e2540;--blue:#7950ad;--muted:#7a7188;--line:#e4ddeb;--paper:#f7f3fa}
*{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,#f1eaf7,#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 #2e25400b;transform:translateY(-3px)}.article-card .wp-block-post-featured-image{margin:0;aspect-ratio:16/10;overflow:hidden;background:#eee5f5}.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:#f1eaf7;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}

/* Guide layout: split introduction and wide horizontal article rows. */
body{background:#fffdfd}.site-header{background:#fffdfd;border-top:5px solid #7950ad;border-bottom:1px solid #e4ddeb;padding:23px 0}.wp-block-site-title{font-size:24px!important;letter-spacing:-1px}.wp-block-navigation{font-size:12px;letter-spacing:.4px}.header-search .wp-block-search__inside-wrapper{border-radius:30px;background:#f7f3fa}.hero{background:#f1eaf7;border-bottom:0;padding:68px 0}.hero h1{font-size:clamp(38px,4.4vw,62px)!important;line-height:1.1!important;letter-spacing:-2px;max-width:700px}.hero .eyebrow{letter-spacing:2.5px;color:#7950ad;font-size:10px!important}.hero-description{font-size:17px;max-width:520px;color:#71657e}.hero .wp-block-button__link{background:#7950ad!important;border-radius:50px;padding:14px 26px;font-size:13px}.hero-copy{flex-basis:62%!important}.hero-visual{flex-basis:38%!important}.hero-art{height:300px}.articles-section{padding-top:45px}.section-heading{padding-bottom:20px;border-bottom:2px solid #2e2540;margin-bottom:0!important}.section-heading h2{font-size:29px;letter-spacing:-1px}.section-heading p{font-size:11px;letter-spacing:1px;text-transform:uppercase}.wp-block-post-template{grid-template-columns:minmax(0,1fr)!important;gap:0!important}.article-card{display:grid;grid-template-columns:280px minmax(0,1fr);align-items:center;gap:34px;background:transparent;border:0;border-bottom:1px solid #e4ddeb;border-radius:0;padding:30px 0;box-shadow:none}.article-card:hover{box-shadow:none;transform:none}.article-card .wp-block-post-featured-image{border-radius:14px;aspect-ratio:16/11}.card-body{padding:0!important}.card-body .wp-block-post-date{font-size:11px;color:#7950ad;font-weight:650;letter-spacing:.5px}.card-body .wp-block-post-title{font-size:32px;line-height:1.15;margin:12px 0 0;letter-spacing:-1px;max-width:650px}.card-body .wp-block-post-title a{color:#2e2540}.card-body .wp-block-post-excerpt{font-size:15px;max-width:650px;margin-top:12px}.wp-block-post-excerpt__more-link{font-size:12px}.site-footer{background:#f1eaf7;border-top:0;padding:28px 0;font-size:12px;color:#71657e}.article-heading{border-left:5px solid #7950ad;padding:12px 0 12px 26px;margin:26px auto 30px}.article-heading h1{font-size:clamp(34px,4vw,52px);line-height:1.1;margin-bottom:0}.article-heading .wp-block-post-date{font-size:11px;color:#7950ad;font-weight:650}.article-cover{border-radius:16px}.wp-block-post-content blockquote{border-radius:12px;border-left:0;border-top:3px solid #7950ad;background:#f1eaf7;padding:25px 30px}.wp-block-table th{background:#f1eaf7}.related-grid article{border-radius:14px;border:1px solid #e4ddeb}.related-grid h3 a{color:#2e2540}.not-found .error-number{color:#d9c6e9}.wp-block-button__link{border-radius:40px}.wp-block-query-pagination .current{background:#7950ad}.wp-block-query-pagination a,.wp-block-query-pagination .current{border-radius:50px}
@media(max-width:1000px){.article-card{grid-template-columns:240px minmax(0,1fr);gap:28px}.card-body .wp-block-post-title{font-size:28px}.wp-block-site-title{font-size:21px!important}.hero-art{height:245px}}
@media(max-width:781px){.hero{padding:42px 0}.hero h1{font-size:43px!important;letter-spacing:-1.5px}.hero-description{font-size:16px}.wp-block-post-template.columns-3,.wp-block-post-template{grid-template-columns:minmax(0,1fr)!important}.article-card{grid-template-columns:190px minmax(0,1fr);gap:22px;padding:24px 0}.card-body .wp-block-post-title{font-size:25px}.card-body .wp-block-post-excerpt{font-size:13px}.article-heading{padding-left:20px}.hero-visual{display:none!important}}
@media(max-width:520px){.article-card{display:block;padding:25px 0}.card-body{padding-top:18px!important}.article-card .wp-block-post-featured-image{aspect-ratio:16/10}.card-body .wp-block-post-title{font-size:28px}.card-body .wp-block-post-excerpt{font-size:14px}.wp-block-site-title{font-size:20px!important}.hero h1{font-size:39px!important}.section-heading h2{font-size:25px}.article-heading h1{font-size:34px}}
