/*
Theme Name: Эководоем Студия
Description: Самостоятельная блочная тема для Эководоёма.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: ecovodoem-studio
*/
:root{--eco-ink:#102f2d;--eco-muted:#425854;--eco-leaf:#cde77e;--eco-sea:#174c44;--eco-paper:#f7f8f2;--eco-line:#d9e2d6}
html{scroll-padding-top:1rem}body{overflow-wrap:break-word}body .wp-site-blocks{padding-block:0}.wp-site-blocks>main,.wp-site-blocks>footer{margin-block-start:0}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #0b6457;outline-offset:4px}.eco-mast :focus-visible,.eco-footer :focus-visible,.eco-lead :focus-visible{outline-color:#d6f18b}
.eco-mast{background:var(--eco-ink);color:white;border-bottom:1px solid #39615a;padding:clamp(.8rem,2vw,1.4rem) var(--wp--preset--spacing--small)}.eco-mast>.wp-block-group{max-width:1340px;margin-inline:auto;gap:.7rem 2rem;flex-wrap:nowrap}.eco-mast .wp-block-site-title{font-size:clamp(1.2rem,2.3vw,1.6rem);line-height:1.1;letter-spacing:-.035em;font-weight:800;white-space:nowrap}.eco-mast .wp-block-site-title a{text-decoration:none}.eco-mast nav{font-size:.86rem;font-weight:650}.eco-mast nav a:hover{text-decoration:underline;text-underline-offset:.25em}.eco-mast .wp-block-navigation__submenu-container{color:var(--eco-ink);background:white;border:1px solid var(--eco-line);min-width:15rem}.eco-mast .wp-block-navigation__responsive-container.is-menu-open{color:var(--eco-ink);background:var(--eco-paper)}.eco-mast .wp-block-navigation__responsive-container.is-menu-open :focus-visible{outline-color:#0b6457}
.eco-mast .wp-block-navigation__responsive-container-open,.eco-mast .wp-block-navigation__responsive-container-close{min-width:44px;min-height:44px;align-items:center;justify-content:center}
@media(max-width:1150px){.eco-mast .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}.eco-mast .wp-block-navigation__responsive-container-open{display:flex}}
.eco-footer{background:var(--eco-ink);color:white;padding:clamp(2rem,6vw,4rem) var(--wp--preset--spacing--small)}.eco-footer>.wp-block-group{max-width:1340px;margin:auto;gap:1rem 2rem}.eco-footer a{color:var(--eco-leaf);text-underline-offset:.2em}.eco-footer p{margin:0}
.eco-shell{padding-block:clamp(1.9rem,5vw,4.5rem) clamp(3rem,7vw,7rem)}.eco-shell>article{max-width:900px}.eco-shell .entry-content{color:var(--eco-muted)}.eco-shell h1,.eco-shell h2,.eco-shell h3{color:var(--eco-ink);text-wrap:pretty}.eco-shell h1{max-width:24ch}.eco-shell .wp-block-post-title{margin-block-end:.7em}.eco-shell .entry-content img{max-width:100%;height:auto}.eco-shell a:not(.wp-block-button__link){text-underline-offset:.19em}
.wp-block-button__link,.eco-action{display:inline-flex;align-items:center;justify-content:center;min-height:48px;box-sizing:border-box;padding:.65rem 1.1rem;border-radius:100px;font-size:.95rem;font-weight:750;line-height:1.25;text-decoration:none;background:var(--eco-sea);color:white}.wp-block-button__link:hover,.eco-action:hover{background:#0b382f;color:white}
.eco-lead{clear:both;margin:1.25rem 0 2rem;padding:clamp(1.25rem,4vw,2.3rem);background:var(--eco-ink);color:#fff;border-radius:.9rem;display:flex;justify-content:space-between;align-items:center;gap:1rem 2rem;flex-wrap:wrap}.eco-lead strong{display:block;font-size:1.15rem}.eco-lead p{margin:.3rem 0 0;color:#e4eddf;max-width:44ch}.eco-lead a.eco-action{background:var(--eco-leaf);color:#162e20;text-decoration:none}.eco-lead a.eco-action:hover{background:#e8f5bd}
.eco-shell details,.eco-home details{border:1px solid var(--eco-line);border-radius:.7rem;padding:.8rem 1rem;background:#fff}.eco-shell details+details,.eco-home details+details{margin-top:.65rem}.eco-shell summary,.eco-home summary{cursor:pointer;font-weight:700}.eco-next-steps{clear:both;background:#eaf1e8;border:1px solid var(--eco-line);border-radius:.9rem;padding:clamp(1.2rem,4vw,2.2rem);margin-top:3rem}.eco-next-steps h2{margin-top:0}
.eco-shell article img.alignleft{float:left;margin:.5em 1.5em 1em 0;max-width:45%}.eco-shell article img.alignright{float:right;margin:.5em 0 1em 1.5em;max-width:45%}.eco-shell article p:has(img.alignleft),.eco-shell article p:has(img.alignright){display:flow-root}
.eco-home{padding-inline:var(--wp--preset--spacing--small);padding-block:clamp(1rem,3vw,2.5rem) clamp(3rem,7vw,7rem)}.eco-home>.entry-content>*{max-width:1200px;margin-inline:auto}.eco-home>.entry-content>.wp-block-columns:first-child{background:var(--eco-ink);color:white;border-radius:1.25rem;padding:clamp(1.3rem,4.5vw,4.5rem);gap:clamp(1.2rem,3.8vw,4rem);box-sizing:border-box;max-width:1340px;align-items:center;margin-top:0;overflow:hidden}.eco-home>.entry-content>.wp-block-columns:first-child h1{font-size:clamp(2.35rem,5.7vw,5rem);line-height:.99;max-width:13ch;color:white}.eco-home>.entry-content>.wp-block-columns:first-child p{color:#e0eee5;max-width:38ch}.eco-home>.entry-content>.wp-block-columns:first-child .wp-block-button__link{background:var(--eco-leaf);color:var(--eco-ink)}.eco-home>.entry-content>.wp-block-columns:first-child .wp-block-button__link:hover{background:#e8f5bd}.eco-home>.entry-content>.wp-block-columns:first-child :focus-visible{outline-color:#d6f18b}.eco-home>.entry-content>.wp-block-columns:first-child figure{margin:0}.eco-home>.entry-content>.wp-block-columns:first-child img{width:100%;height:auto;aspect-ratio:5/4;object-fit:cover;border-radius:.75rem!important}.eco-home>.entry-content>.wp-block-columns:first-child>.wp-block-column:has(h1){order:-1}.eco-home>.entry-content>.wp-block-columns:nth-child(2){padding-block:clamp(1rem,3vw,3rem)}
@media(max-width:781px){.eco-mast>.wp-block-group{gap:.4rem}.eco-shell article img.alignleft,.eco-shell article img.alignright{float:none;max-width:100%;margin:1em auto;display:block}.eco-home>.entry-content>.wp-block-columns:first-child img{aspect-ratio:16/9}.eco-home>.entry-content>.wp-block-columns:first-child .wp-block-group{padding-inline:0}}
.eco-shell{box-sizing:border-box;padding-inline:var(--wp--preset--spacing--small)}
body .eco-home>.entry-content>.wp-block-columns:first-child h1{font-size:clamp(1.85rem,4.35vw,3.9rem);max-width:18ch;overflow-wrap:normal;hyphens:auto;text-wrap:balance}
body .eco-home>.entry-content>.wp-block-columns:first-child .wp-block-button__link{background:var(--eco-leaf)!important;color:var(--eco-ink)!important}
body .eco-home>.entry-content>.wp-block-columns:first-child .wp-block-button__link:hover{background:#e8f5bd!important}
.eco-mast .wp-block-navigation__submenu-container a{color:inherit}
@media(max-width:781px){body .eco-home>.entry-content>.wp-block-columns:first-child h1{font-size:clamp(1.65rem,7.4vw,3rem)}}
