/*
Theme Name: Darstvennye Editorial
Template: twentytwentyfour
Version: 1.0.0
Text Domain: darstvennye-editorial
*/

:root{--ds-ink:#173e36;--ds-text:#293833;--ds-muted:#61706a;--ds-paper:#faf9f5;--ds-wash:#f0f2eb;--ds-white:#fff;--ds-copper:#b77a55;--ds-line:#dfe3da}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--ds-paper);color:var(--ds-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.wp-site-blocks{min-height:100vh;display:flex;flex-direction:column}.wp-site-blocks>main{flex:1 0 auto;width:100%}.wp-site-blocks>footer{flex-shrink:0;width:100%}
body .is-layout-constrained>:where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width:1160px}
a{color:var(--ds-ink);text-underline-offset:.19em}a:hover{color:#985c3e}
.ds-header{background:var(--ds-white);border-bottom:1px solid var(--ds-line)}
.ds-header-inner{width:100%;max-width:1190px;margin:auto;padding:18px 30px;display:flex;align-items:center;gap:25px}
.ds-brand{display:flex;align-items:center;gap:11px;text-decoration:none;white-space:nowrap}
.ds-brand img{width:42px;height:42px;object-fit:contain}.ds-brand-name{color:var(--ds-ink);font-family:Georgia,"Times New Roman",serif;font-size:24px;font-weight:700;letter-spacing:-.035em;line-height:1}.ds-brand-sub{display:block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--ds-muted);font-weight:700;margin-top:5px}
.ds-header-nav{font-size:14px;font-weight:650;text-decoration:none;white-space:nowrap}.ds-header .wp-block-search{margin:0 0 0 auto;min-width:230px}.ds-header .wp-block-search__inside-wrapper{border:1px solid #c9d0c6;border-radius:100px;overflow:hidden;padding:0;background:#fff}.ds-header .wp-block-search__input{min-width:0;border:0!important;padding:10px 15px;font-size:14px}.ds-header .wp-block-search__button{margin:0;border:0;border-radius:100px;background:var(--ds-ink);color:#fff;font-size:13px;font-weight:700;padding:10px 17px}.ds-header .wp-block-search__button:hover{background:#255a4f}
.ds-home{max-width:1160px;margin:auto;padding:0 30px 80px}.ds-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:62px;align-items:center;padding:65px 0 70px;border-bottom:1px solid var(--ds-line)}
.ds-kicker{font-size:11px!important;font-weight:800!important;letter-spacing:.16em!important;text-transform:uppercase;color:var(--ds-copper)!important;margin:0 0 15px!important}
.ds-hero h1{font-family:Georgia,"Times New Roman",serif;color:var(--ds-ink);font-size:clamp(43px,5vw,66px);font-weight:500;letter-spacing:-.045em;line-height:1.06;margin:0 0 25px}.ds-lead{font-size:19px;line-height:1.65;color:#43544d;margin:0;max-width:600px}.ds-hero figure{margin:0;position:relative}.ds-hero img{display:block;width:100%;height:390px;object-fit:cover;object-position:center}.ds-hero figure::after{content:"";position:absolute;right:-14px;bottom:-14px;width:42%;height:42%;border-right:3px solid var(--ds-copper);border-bottom:3px solid var(--ds-copper);pointer-events:none}
.ds-section{padding-top:62px}.ds-reading{max-width:790px;margin-left:auto;margin-right:auto}.ds-section h2,.ds-page h2{font-family:Georgia,"Times New Roman",serif;font-weight:500;color:var(--ds-ink);font-size:clamp(31px,3vw,41px);letter-spacing:-.035em;line-height:1.18;margin:0 0 20px}.ds-section h3,.ds-page h3{font-family:Georgia,"Times New Roman",serif;font-size:27px;color:var(--ds-ink);line-height:1.25;font-weight:500;margin:33px 0 13px}.ds-section p,.ds-section li,.ds-page p,.ds-page li{font-size:17px;line-height:1.78;color:var(--ds-text)}.ds-section p,.ds-page p{margin:0 0 18px}.ds-section ul,.ds-page ul{padding-left:23px}
.ds-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:34px 0}.ds-step{background:var(--ds-white);border:1px solid var(--ds-line);border-top:3px solid var(--ds-copper);padding:23px 23px 18px}.ds-step small{display:block;color:var(--ds-copper);font-size:11px;font-weight:800;letter-spacing:.15em;margin-bottom:12px}.ds-step strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:24px;font-weight:500;color:var(--ds-ink);line-height:1.2}.ds-step span{display:block;color:var(--ds-muted);font-size:14px;line-height:1.6;margin-top:10px}
.ds-note{border-left:4px solid var(--ds-copper);background:var(--ds-wash);padding:25px 29px;margin:31px 0}.ds-note h3{margin:0 0 10px;font-size:25px}.ds-note p:last-child{margin:0}.ds-divider{border-top:1px solid var(--ds-line);margin-top:65px}
.ds-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:30px 0}.ds-card{display:block;background:var(--ds-white);text-decoration:none;border:1px solid var(--ds-line);transition:transform .16s,box-shadow .16s}.ds-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(20,56,47,.08);color:var(--ds-ink)}.ds-card img{display:block;width:100%;height:210px;object-fit:cover}.ds-card-body{display:block;padding:22px 25px 25px}.ds-card-label{display:block;font-size:11px!important;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--ds-copper)!important;margin-bottom:10px}.ds-card strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:25px;line-height:1.2;font-weight:500;margin-bottom:11px;color:var(--ds-ink)}.ds-card-body>span:last-child{display:block;font-size:14px;line-height:1.55;color:var(--ds-muted)}
.ds-page{max-width:820px;margin:0 auto;padding:61px 28px 85px;min-height:55vh}.ds-page>h1,.ds-page .wp-block-post-title,.ds-page .wp-block-query-title{font-family:Georgia,"Times New Roman",serif;font-size:clamp(36px,4vw,54px);font-weight:500;line-height:1.1;letter-spacing:-.04em;color:var(--ds-ink);margin:0 0 27px}.ds-page h2{font-size:31px;margin:37px 0 15px}.ds-page h3{font-size:25px}.ds-page .wp-block-post-content>p:first-child{font-size:19px;line-height:1.65}.ds-page figure{margin:30px 0}.ds-page figure img{display:block;width:100%;height:auto;max-height:440px;object-fit:cover}.ds-page figcaption{font-size:13px;color:var(--ds-muted);margin-top:10px}
.ds-page .wp-block-query .wp-block-post-template{list-style:none;padding:0}.ds-page .wp-block-query li{border-top:1px solid var(--ds-line);padding:21px 0}.ds-page .wp-block-query .wp-block-post-title{font-size:27px;margin:0 0 8px}.ds-page .wp-block-query .wp-block-post-excerpt{font-size:15px}.ds-page .wp-block-query .wp-block-post-excerpt__excerpt{font-size:15px;margin:0}.ds-page .wp-block-query .wp-block-post-excerpt__more-link{font-size:13px;font-weight:700}
.ds-related{border-top:1px solid var(--ds-line);padding-top:35px;margin-top:45px}.ds-related h2{margin:0 0 15px}.ds-related .ds-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ds-related .ds-card:nth-child(n+3){display:none}.ds-related .ds-card img{height:160px}.ds-related .ds-card strong{font-size:20px}
.ds-source{font-size:14px!important;color:var(--ds-muted)!important;border-top:1px solid var(--ds-line);padding-top:20px;margin-top:34px}.ds-source a{font-size:14px}.ds-alert{padding:13px 18px;border-left:3px solid var(--ds-copper);background:#fff}
.ds-contact{display:grid;gap:18px;margin:28px 0}.ds-contact label{font-weight:650;font-size:15px}.ds-contact input,.ds-contact textarea{display:block;width:100%;margin-top:7px;border:1px solid #bfcac1;border-radius:4px;background:#fff;padding:12px;font:inherit}.ds-contact textarea{min-height:145px}.ds-contact button{justify-self:start;background:var(--ds-ink);color:#fff;border:0;padding:13px 24px;font:inherit;font-weight:700;cursor:pointer}.ds-hidden{position:absolute;left:-9999px}
.ds-footer{background:#e9eee8;border-top:1px solid var(--ds-line)}.ds-footer-inner{max-width:1190px;margin:auto;padding:28px 30px;display:flex;align-items:center;justify-content:space-between;gap:25px;color:#4e6258;font-size:14px;line-height:1.55}.ds-footer strong{font-family:Georgia,"Times New Roman",serif;color:var(--ds-ink);font-size:18px}.ds-footer small{font-size:12px}.ds-footer-links{display:flex;gap:20px}.ds-footer-links a{text-decoration:none;border-bottom:1px solid #9fac9e}
@media(max-width:900px){.ds-header-inner{flex-wrap:wrap}.ds-header-nav{margin-left:auto}.ds-header .wp-block-search{margin-left:0;width:100%;order:3}.ds-hero{gap:30px}.ds-steps{grid-template-columns:1fr}}
@media(max-width:680px){.ds-header-inner{padding:13px 18px;gap:10px}.ds-brand img{width:33px;height:33px}.ds-brand-name{font-size:18px}.ds-brand-sub{font-size:9px}.ds-header-nav{font-size:13px}.ds-header .wp-block-search{min-width:100%}.ds-home{padding:0 20px 55px}.ds-hero{display:block;padding:40px 0 47px}.ds-hero h1{font-size:45px}.ds-lead{font-size:17px}.ds-hero figure{margin-top:30px}.ds-hero img{height:290px}.ds-hero figure::after{right:-8px;bottom:-8px}.ds-section{padding-top:42px}.ds-section p,.ds-section li,.ds-page p,.ds-page li{font-size:16px}.ds-cards,.ds-related .ds-cards{grid-template-columns:1fr}.ds-card img{height:210px}.ds-page{padding:39px 20px 60px}.ds-footer-inner{display:block;padding:26px 20px}.ds-footer-links{margin-top:15px;flex-wrap:wrap}}
