/*
Theme Name: Komaroff РЕДАКЦИЯ
Theme URI: https://komaroff-dev.ru/
Author: Сергей Комаров
Description: Собственная демонстрационная тема без конструкторов.
Version: 1.0.0
Requires PHP: 8.1
Text Domain: komaroff-redakcia
License: GPL-2.0-or-later
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:18px;line-height:1.5}button,input,textarea,select{font:inherit}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:6px}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}img{max-width:100%;height:auto;display:block;object-fit:cover}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:400;line-height:1.05;letter-spacing:-.035em}h1{font-size:clamp(46px,7.8vw,108px)}h2{font-size:clamp(34px,4.6vw,65px)}h3{font-size:clamp(26px,2.6vw,38px)}p{line-height:1.5}svg{flex-shrink:0}.wrap{width:calc(100% - 80px);max-width:1440px;margin:auto}.site-header{display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:92px}.brand{font-size:33px;font-weight:700;letter-spacing:-.045em;line-height:1}.primary-nav ul{display:flex;gap:32px;align-items:center;list-style:none;margin:0;padding:0}.primary-nav a{font-size:17px}.outline-button{border:1px solid var(--ink);padding:11px 20px;font-size:15px}.menu-toggle{display:none;border:1px solid var(--line);padding:9px 12px;background:#fff}.button{display:inline-flex;align-items:center;gap:22px;justify-content:center;border:1px solid var(--ink);padding:16px 26px;color:#fff;background:var(--ink);font-size:18px;line-height:1.3}.text-link{display:inline-flex;gap:12px;align-items:center;text-decoration:underline;text-underline-offset:7px;color:var(--accent);font-size:21px}.fine{font-size:14px;color:#697076}.site-footer{padding:26px 0;margin-top:64px;border-top:1px solid var(--line);display:flex;align-items:center;gap:24px;justify-content:space-between;font-size:13px;color:#565b60}.site-footer nav{display:flex;gap:24px}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;z-index:99;left:10px;top:10px;background:#fff;padding:12px;color:#111}.article-head{margin:65px auto 35px;max-width:1000px}.article-head h1{font-size:clamp(42px,5.8vw,84px)}.article-content{max-width:820px;margin:42px auto 80px;font-size:21px;line-height:1.8}.article-content p{line-height:1.8}.article-content h2{font-size:36px;margin-top:46px}.article-content li{margin-bottom:12px}.article-cover{width:100%;max-height:690px;aspect-ratio:16/9;object-fit:cover}.archive-head{padding:55px 0 20px}.archive-head h1{margin-bottom:20px}.filter-nav{display:flex;flex-wrap:wrap;gap:28px;margin:15px 0 35px;font-size:18px}.filter-nav a[aria-current],.filter-nav .active{color:var(--accent);text-decoration:underline;text-underline-offset:8px}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px}.post-card img{width:100%;aspect-ratio:4/3}.post-card h2{font-size:30px;margin-top:18px;margin-bottom:12px}.post-card h3{margin:15px 0;font-size:28px}.post-card p{font-size:17px}.entry-meta{font-size:14px;margin:18px 0 12px;color:#565c63}.pagination{margin:45px 0;display:flex;gap:14px;flex-wrap:wrap}.pagination .page-numbers{padding:9px 15px;border:1px solid var(--line)}.pagination .current{background:var(--ink);color:white}.contact-form{display:grid;gap:22px;margin:36px 0}.contact-form label{display:grid;gap:8px;font-size:17px}.contact-form input,.contact-form textarea{width:100%;padding:14px;border:1px solid #a5aaad;background:#fff;border-radius:0;color:var(--ink)}.contact-form .button{justify-self:start}.form-success{padding:22px;background:#edf6ef;border-left:3px solid #2d6b40}.honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.search-form{display:flex;border:1px solid #a6abb1;align-items:center;min-width:240px}.search-form input{padding:9px 12px;min-width:0;flex:1;border:0;background:#fff;width:100%}.search-form button{border:0;padding:8px 10px;background:#fff;display:flex}.empty-state{padding:70px 0;max-width:700px}.empty-state h1{font-size:60px}.wp-block-image img{height:auto}.wp-block-gallery{gap:20px}.woocommerce .woocommerce-breadcrumb{margin:35px 0}.woocommerce div.product{margin-top:35px}.woocommerce .button{border-radius:0!important;background:var(--ink)!important;color:#fff!important;padding:14px 22px!important;font-weight:400!important;font-size:17px!important}.woocommerce div.product .product_title{font-size:clamp(36px,4vw,60px);margin-bottom:24px}.woocommerce ul.products li.product h2{font-size:25px}.woocommerce ul.products li.product .price{color:var(--ink)}.woocommerce div.product p.price{color:var(--ink);font-size:28px}.woocommerce div.product form.cart .button{float:none}.woocommerce input,.woocommerce select,.woocommerce textarea{font:inherit;padding:10px;border:1px solid #aaa;border-radius:0}.woocommerce .quantity .qty{width:80px;min-height:46px}.woocommerce form .form-row input.input-text{min-height:46px}.woocommerce table.shop_table{border-radius:0}.woocommerce .woocommerce-info,.woocommerce .woocommerce-message{border-top-color:var(--accent)}.woocommerce .woocommerce-info::before,.woocommerce .woocommerce-message::before{color:var(--accent)}.demo-shop-notice{padding:14px 0;margin-bottom:20px;border-block:1px solid var(--line);font-size:15px}.woocommerce .related.products{clear:both;padding-top:55px}.woocommerce-tabs{clear:both}.woocommerce-page .page-title{font-size:clamp(44px,6vw,82px)}
@media(max-width:900px){.wrap{width:calc(100% - 48px)}.site-header{gap:20px;min-height:76px}.brand{font-size:28px}.primary-nav ul{gap:20px}.primary-nav a{font-size:15px}.outline-button{font-size:13px;padding:9px 12px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-content{padding:0 20px}.site-footer{flex-wrap:wrap}}
@media(max-width:650px){body{font-size:17px}.wrap{width:calc(100% - 36px)}.site-header{flex-wrap:wrap;position:relative;gap:16px;padding:18px 0}.brand{font-size:26px}.menu-toggle{display:block;margin-left:auto}.primary-nav{display:none;width:100%}.primary-nav.open{display:block}.primary-nav ul{align-items:flex-start;flex-direction:column;gap:16px;padding:15px 0}.outline-button{display:none}.article-head{margin:35px auto 25px}.article-content{font-size:19px;padding:0}.post-grid{grid-template-columns:1fr;gap:32px}.site-footer{margin-top:40px;gap:20px}.site-footer nav{flex-wrap:wrap;gap:18px}.filter-nav{font-size:16px;gap:18px}.woocommerce ul.products li.product{width:48%!important}.woocommerce ul.products li.product h2{font-size:19px}.woocommerce div.product .product_title{font-size:39px}.woocommerce table.shop_table{font-size:14px}.search-form{min-width:0}.woocommerce table.shop_table_responsive tr td{max-width:100%}.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

:root{--ink:#161616;--accent:#254ab8;--line:#202020}.site-header{min-height:125px;border-bottom:2px solid #222}.site-header .brand{font-family:Georgia,'Times New Roman',serif;font-size:clamp(48px,8.2vw,118px);letter-spacing:-.05em}.site-header .primary-nav{margin-left:auto}.site-header .primary-nav a{font-size:16px}.editorial-nav{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:16px 0;border-bottom:2px solid #222}.editorial-nav nav{display:flex;gap:42px;font-size:18px}.editorial-nav .search-form{max-width:360px;min-width:230px}.editorial-hero{display:grid;grid-template-columns:minmax(0,1.27fr) minmax(0,1fr);gap:35px;padding-top:43px;padding-bottom:45px;border-bottom:2px solid #222}.editorial-hero>a img{width:100%;height:clamp(430px,40vw,580px)}.editorial-hero>div{padding:20px 28px 0 0}.editorial-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(40px,4.9vw,70px);line-height:1.02;margin-bottom:28px}.editorial-hero>div>p:not(.entry-meta){font-family:Georgia,serif;font-size:clamp(21px,2.2vw,30px);line-height:1.25}.editorial-hero .entry-meta{font-size:17px;margin:44px 0 35px}.editorial-stories{padding-top:32px}.editorial-stories>h2,.people>h2{font-family:Georgia,serif;font-weight:700;color:var(--accent);font-size:clamp(42px,5.4vw,76px);margin-bottom:35px}.editorial-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px 45px}.editorial-grid>article:first-child{grid-row:span 2}.editorial-grid>article:first-child img{aspect-ratio:1;max-height:none;height:clamp(420px,46vw,655px)}.editorial-grid img{width:100%;height:clamp(170px,18vw,260px);object-fit:cover}.editorial-grid h3{font-family:Georgia,serif;font-size:clamp(30px,3.2vw,46px);margin:9px 0 8px}.editorial-grid p:not(.entry-meta){font-family:Georgia,serif;font-size:22px;line-height:1.3;margin-bottom:14px}.editorial-grid .entry-meta{margin:14px 0 7px}.editorial-grid .text-link{font-size:20px}.editorial-grid>article:nth-child(2){border-bottom:1px solid #333;padding-bottom:25px}.people{margin-top:48px;border-top:2px solid #222;padding-top:27px}.people>div{display:grid;grid-template-columns:1.2fr .8fr;gap:45px}.people>div>img{width:100%;height:320px;object-fit:cover}.people h3{font-family:Georgia,serif;font-size:55px;margin-bottom:20px}.people article>p:not(.entry-meta){font-size:20px}.people .entry-meta{margin-top:0}.site-footer{border-top:2px solid #222}.article-content{font-family:Georgia,serif;font-size:23px}.article-head h1,.post-card h2{font-family:Georgia,serif}.article-head h1{font-size:clamp(44px,6vw,88px)}
@media(max-width:1000px){.site-header{flex-wrap:wrap;padding-block:20px}.site-header .primary-nav{display:block;width:100%;margin-left:0}.editorial-hero{grid-template-columns:minmax(0,1.22fr) minmax(0,1fr);gap:22px}.editorial-hero h1{font-size:43px}.editorial-hero>div{padding:12px 15px 0 0}.editorial-hero>div>p:not(.entry-meta){font-size:24px}.editorial-hero .entry-meta{margin:30px 0}.people h3{font-size:40px}}
@media(max-width:650px){.site-header .primary-nav{display:none}.site-header{min-height:90px}.site-header .brand{font-size:48px}.site-header .primary-nav.open{display:block}.editorial-nav{flex-direction:column;align-items:stretch;gap:20px}.editorial-nav nav{gap:22px;overflow:auto;font-size:16px}.editorial-nav .search-form{max-width:none}.editorial-hero{grid-template-columns:1fr;gap:24px;padding-top:25px;padding-bottom:30px}.editorial-hero>a img{height:300px}.editorial-hero>div{padding:0}.editorial-hero h1{font-size:42px}.editorial-hero>div>p:not(.entry-meta){font-size:23px}.editorial-hero .entry-meta{margin:24px 0}.editorial-stories{padding-top:26px}.editorial-stories>h2,.people>h2{font-size:40px}.editorial-grid{grid-template-columns:1fr;gap:35px}.editorial-grid>article:first-child{grid-row:auto}.editorial-grid>article:first-child img{height:350px}.editorial-grid img{height:250px}.editorial-grid h3{font-size:32px}.editorial-grid p:not(.entry-meta){font-size:20px}.people>div{grid-template-columns:1fr;gap:24px}.people>div>img{height:260px}.people h3{font-size:40px}.article-content{font-size:21px}}
