/* ECO FUTURE 2.0 — isolated WordPress front page. */
body.home {
    --home-dark: #071c15;
    --home-green: #0b2e23;
    --home-lime: #d5ff45;
    --home-sheet: #fcfdf6;
    --home-canvas: #f0f2e8;
    --home-rule: #d2dac8;
    --home-space: clamp(22px, 3.15vw, 52px);
    --home-edge: clamp(14px, 2.3vw, 36px);
}
body.home #page, body.home #content.site-content { background: var(--home-canvas); }
body.home #masthead { background: var(--home-dark); box-shadow: none; margin-bottom: 0; }
body.home #masthead .site-description { color: #bacbc0; }
body.home #masthead .site-header-inner,
body.home #content.site-content.fixed, body.home #colophon .site-footer-inner {
    width: 100%; max-width: 1632px; margin-inline: auto; padding-inline: var(--home-edge);
    box-sizing: border-box;
}
body.home #masthead .site-branding { flex-shrink: 0; }
body.home #masthead .site-title { color: #f8f9f1; font-weight: 800; }
body.home #masthead .top-menu > ul > li > a {
    padding: .65em 1em; border: 1px solid #496156; background: transparent;
    font-size: .82rem; font-weight: 560; letter-spacing: 0; text-transform: none;
}
body.home #masthead .top-menu > ul > li > a:hover { color: #10291f; background: var(--home-lime); }
body.home #site-navigation {
    width: 100%; max-width: none; margin-block: 0; color: white; background: var(--home-dark);
    border-block: 1px solid #334e40; box-shadow: none;
}
body.home #site-navigation .main-navigation-inner {
    padding: 7px var(--home-edge); max-width: 1632px; margin-inline: auto;
}
body.home #site-navigation .menu > li > :is(a,.removed-link) {
    padding: 12px 16px; line-height: 1.2; border-radius: 8px; font-weight: 700;
}
body.home #site-navigation .menu > .current-menu-item > :is(a,.removed-link) {
    color: var(--home-dark); background: var(--home-lime);
}
body.home #content.site-content { margin-block: 0; padding-block: clamp(18px,2vw,32px) 64px; }
body.home #content .site-content-inner { align-items: start; }
body.home #content .b-r--before_site_content { padding-block: 0; }
body.home #primary, body.home #secondary { min-width: 0; }
body.home #main .article-post {
    display: grid; grid-template-columns: minmax(0,1fr); isolation: isolate;
    padding: 0; margin: 0; background: transparent; border: 0; box-shadow: none;
}
body.home #main .article-post > .entry-content { display: contents; }
/* One uninterrupted printed surface behind the first three existing blocks. */
body.home #main .article-post::before {
    content: ""; grid-area: 1 / 1 / 4 / 2; z-index: -1; border-radius: 24px;
    background:
        repeating-radial-gradient(ellipse at 105% 3%, transparent 0 55px, #bad97738 56px, transparent 57px 76px),
        radial-gradient(ellipse at 103% -6%, #537b3a, transparent 62%),
        linear-gradient(140deg, #173f2f, #0a251d 62%, #071c15);
}
body.home #main .article-post > .breadcrumb {
    grid-area: 1 / 1; margin: 0; padding: var(--home-space) var(--home-space) 0;
    line-height: 1.3; font-size: .74rem; font-weight: 650; letter-spacing: .055em;
}
body.home #page .breadcrumb .breadcrumb-item a,
body.home #page .breadcrumb .breadcrumb-item a > span { color: #e3f0ce; }
body.home #main .article-post > .breadcrumb::before {
    content: ""; display: inline-block; vertical-align: middle; width: 30px; height: 3px;
    margin-inline-end: 10px; background: var(--home-lime);
}
body.home #main .article-post > h1.entry-title {
    grid-area: 2 / 1; width: auto; max-width: 15ch; margin: .34em var(--home-space) .43em;
    padding: 0; background: none; border: 0; text-align: left !important; color: var(--home-lime);
    font-size: clamp(2.5rem,4.55vw,4.85rem); font-weight: 800; letter-spacing: -.063em; line-height: .99;
}
body.home #main h1.entry-title::first-line { color: #fffef3; }
body.home #main .entry-content > p:first-child {
    grid-area: 3 / 1; position: relative; display: flow-root; margin: 0;
    padding: 0 var(--home-space) var(--home-space); color: #e8efdf;
    font-size: clamp(1.04rem,1.19vw,1.23rem); line-height: 1.52;
}
body.home #main .entry-content > p:first-child strong { color: #fff; }
body.home #main .entry-content > p:first-child > span[itemprop=image] {
    display: grid; place-items: center; float: right; width: 42%; max-width: 325px;
    margin: 0 0 12px clamp(18px,2.4vw,40px); padding: clamp(9px,1.05vw,16px);
    border-radius: 14px; background: #fffffc; border: 1px solid #c6d3ae;
    box-shadow: 5px 5px 0 #b3ce70; box-sizing: border-box;
}
body.home #main .entry-content img.wp-image-403 {
    float: none; display: block; margin: 0; width: 100%; max-width: 284px;
    height: auto; object-fit: contain;
}
body.home #main .entry-content > :where(:not(:first-child)) {
    grid-column: 1; margin: 0; background-color: var(--home-sheet);
    padding: 0 var(--home-space) 1em; color: #183327; font-size: 1.06rem; line-height: 1.65;
}
body.home #main .entry-content > h2 {
    margin-top: 18px; padding-top: clamp(24px,3vw,42px); padding-bottom: .48em;
    border-radius: 20px 20px 0 0; color: #10291f;
    font-size: clamp(1.8rem,2.65vw,2.85rem); line-height: 1.08; letter-spacing: -.055em;
}
body.home #main .entry-content > h2::before {
    content: ""; display: block; width: 46px; height: 5px;
    margin-bottom: 16px; background: #64901f; border-radius: 8px;
}
body.home #main .entry-content > p:last-child { padding-bottom: var(--home-space); border-radius: 0 0 20px 20px; }
body.home #main .entry-content p > span[style] { display: inline-block; margin-top: .7em; font-weight: 740; letter-spacing: -.04em; }
body.home #main .entry-content > blockquote.warning {
    position: relative; padding-block: 0 18px; border: none; border-radius: 0; background-image: none;
}
body.home #main .entry-content > blockquote.warning::before { content: none; }
body.home #main .entry-content > blockquote.warning p {
    margin: 0; padding: 20px 24px; border-left: 5px solid var(--home-lime);
    border-radius: 0 12px 12px 0; background: var(--home-green); color: var(--home-lime);
}
body.home #main .entry-content > blockquote.warning a { color: var(--home-lime); font-weight: 680; }
body.home #secondary .widget {
    box-sizing: border-box; margin: 0; border: 1px solid var(--home-rule);
    border-radius: 20px; background: var(--home-sheet); padding: clamp(16px,1.65vw,26px);
}
body.home #secondary .widget_search { box-shadow: none; margin-bottom: 12px; background: #e0e9d2; color: var(--home-dark); }
body.home #secondary .wp-block-search__label {
    display: block; font-weight: 750; font-size: .93rem; margin: 0 0 9px; color: #153a28;
}
body.home #secondary .wp-block-search__inside-wrapper { display: flex; gap: 7px; }
body.home #secondary .wp-block-search__input { flex: 1; width: 1%; background: #fff; border: 1px solid #93a68d; min-height: 45px; }
body.home #secondary .wp-block-search__button { margin: 0; padding-inline: 20px; background: var(--home-dark); color: #fff; border: none; }
body.home #secondary .wp-block-search__button:hover { background: #255938; }
body.home #secondary h2.wp-block-heading {
    margin: 0 0 17px; font-size: clamp(1.65rem,2.1vw,2.35rem); line-height: 1.05;
    letter-spacing: -.055em; color: var(--home-green);
}
body.home #secondary ul:has(> .cat-item) {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; margin: 0; padding: 0;
}
body.home #secondary ul:has(> .cat-item)::before,
body.home #secondary ul:has(> .cat-item)::after { content: none; }
body.home #secondary .cat-item {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 4px;
    margin: 0; padding: 7px 10px; min-height: 42px; border: 1px solid #d9e2d1;
    border-radius: 8px; background: #f1f4e9; color: #4a624b; font-size: .76rem;
    line-height: 1.18; font-variant-numeric: tabular-nums; box-sizing: border-box;
}
body.home #secondary .cat-item a {
    color: #173a28; text-decoration: none; font-size: .85rem; font-weight: 670; overflow-wrap: anywhere;
}
body.home #secondary .cat-item a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
body.home #secondary .cat-item:is(:hover,:focus-within) { background: #e4efc7; border-color: #648046; }
body.home #colophon { background: var(--home-dark); border-top: 4px solid var(--home-lime); }
body.home #page :is(a,button,input):focus-visible { outline: 3px solid #46711b; outline-offset: 2px; box-shadow: 0 0 0 2px white; }
body.home #masthead a:focus-visible, body.home #site-navigation a:focus-visible { outline-color: var(--home-lime); }
@media (min-width: 992px) {
    body.home #content .site-content-inner { display: grid; grid-template-columns: minmax(0,1.54fr) minmax(0,1fr); gap: clamp(16px,1.6vw,28px); }
    body.home #content :is(#primary,#secondary) { width: auto; max-width: none; margin: 0; padding: 0; float: none; }
}
@media (max-width: 991px) {
    body.home #content .site-content-inner { display: block; }
    body.home #content :is(#primary,#secondary) { width: 100%; max-width: none; padding: 0; margin-inline: 0; }
    body.home #content #secondary { display: block; margin: 20px 0 0; }
}
@media (max-width: 767px) {
    body.home #masthead { padding-block: 15px 12px; }
    body.home #masthead .site-branding { gap: 10px; justify-content: flex-start; padding: 0 0 0 40px; }
    body.home #masthead .site-branding__body { min-width: 0; text-align: left; }
    body.home #masthead .site-title { margin-bottom: 3px; }
    body.home #masthead .site-description { text-align: left; font-size: .8rem; }
    body.home #masthead .top-menu { display: block; margin: 12px 0 0; padding: 0; width: 100%; }
    body.home #masthead .top-menu > ul { display: flex; justify-content: flex-start; gap: 5px; margin: 0; padding: 0; }
    body.home #masthead .top-menu > ul::before, body.home #masthead .top-menu > ul::after { content: none; }
    body.home #masthead .top-menu > ul > li { margin: 0; padding: 0; }
    body.home #masthead .top-menu > ul > li > a { font-size: .76rem; line-height: 1.3; padding: 8px 11px; }
}
@media (max-width: 600px) {
    body.home { --home-space: 21px; --home-edge: 12px; }
    body.home #main .article-post > h1.entry-title { font-size: clamp(2.16rem,9vw,3.1rem); margin-block: .4em .62em; }
    body.home #main .article-post::before { border-radius: 17px; }
    body.home #main .entry-content > p:first-child { line-height: 1.5; }
    body.home #main .entry-content > p:first-child > span[itemprop=image] {
        float: none; width: 100%; max-width: none; margin: 0 0 20px; padding: 8px;
    }
    body.home #main .entry-content img.wp-image-403 { width: auto; max-width: 100%; max-height: 170px; }
    body.home #main .entry-content > :not(:first-child,:is(h2)) { font-size: 1rem; }
    body.home #secondary .cat-item { padding-inline: 7px; }
}
@media (max-width: 359px) {
    body.home #secondary ul:has(> .cat-item) { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
    body.home #page :is(a,button,input) { scroll-behavior: auto; transition-duration: 0s; }
}
