/* ECO FUTURE 2.0, second home-page edition. Loaded after the archived first edition. */
body.home {
    --home-canvas: #f2f3eb;
    --home-sheet: #fdfdf7;
    --home-lime: #d8ff54;
    --r2-ink: #0c3027;
    --r2-hairline: #c7d2c3;
    --r2-pad: clamp(24px, 2.65vw, 46px);
}
body.home #masthead { background: #09271f; }
body.home #masthead .site-title { letter-spacing: -.045em; }
body.home #masthead .site-description { line-height: 1.32; color: #c1d3c4; }
body.home #masthead .top-menu > ul { gap: 6px; }
body.home #masthead .top-menu > ul > li > a {
    background: #14362c; border: 1px solid #496358;
    border-radius: 5px; font-weight: 570; padding: 9px 13px;
}
body.home #masthead .top-menu > ul > li > a:hover { background: #d8ff54; color: #0c3027; }
body.home #site-navigation { background: #09271f; border-color: #385447; }
body.home #site-navigation .main-navigation-inner { padding-block: 0; }
body.home #site-navigation .menu > li > :is(a,.removed-link) {
    position: relative; padding: 16px 17px; font-size: .98rem; border-radius: 0;
}
body.home #site-navigation .menu > .current-menu-item > :is(a,.removed-link) {
    color: #d8ff54; background: #173b2f; box-shadow: inset 0 -3px #d8ff54;
}
body.home #content.site-content { padding-block: clamp(14px,1.55vw,25px) 40px; }
body.home #main .article-post { position: relative; }
body.home #main .article-post::before {
    border-radius: 4px 30px 4px 4px;
    background:
        radial-gradient(ellipse at 83% 45%, #40734b 0, #234c38 23%, transparent 53%),
        linear-gradient(108deg, #09261f 8%, #103a2d 73%, #174131);
}
body.home #main .article-post::after {
    content: ""; grid-area: 1 / 1 / 4 / 2; z-index: -1; pointer-events: none;
    border-radius: 4px 30px 4px 4px;
    background:
        linear-gradient(90deg, transparent 64%, #d8ff5430 64% calc(64% + 1px), transparent 0),
        repeating-radial-gradient(ellipse at 85% 45%, transparent 0 41px, #d8ff5440 41.5px, transparent 42.5px 59px),
        repeating-linear-gradient(0deg, transparent 0 31px, #dbeacc12 31px 32px),
        repeating-linear-gradient(90deg, transparent 0 31px, #dbeacc12 31px 32px);
    mask-image: linear-gradient(90deg, transparent 12%, #000 77%);
}
body.home #main .article-post > .breadcrumb {
    padding: var(--r2-pad) var(--r2-pad) 0;
    letter-spacing: .1em; font-size: .72rem; font-weight: 720;
}
body.home #main .article-post > .breadcrumb::before {
    width: 22px; height: 10px; border-radius: 1px;
    background: repeating-linear-gradient(115deg, #d8ff54 0 3px, transparent 3px 6px);
}
body.home #main .article-post > h1.entry-title {
    margin: .48em var(--r2-pad) .4em; max-width: 15ch;
    font-size: clamp(2.95rem,4.75vw,5.35rem); font-weight: 780; letter-spacing: -.06em; line-height: .99;
}
body.home #main .entry-content > p:first-child {
    padding-inline: var(--r2-pad); padding-bottom: var(--r2-pad);
    font-size: clamp(1.03rem,1.1vw,1.19rem); line-height: 1.56; color: #dce8df;
}
body.home #main .entry-content > p:first-child > span[itemprop=image] {
    position: relative; isolation: isolate; width: 37%; max-width: 342px; aspect-ratio: 1;
    padding: 6%; border-radius: 50%; border: 1px solid #e0e9d8;
    background: #fff; box-shadow: 0 0 0 6px #193d30, 0 0 0 7px #94b17b, 0 14px 28px #001a133e;
}
body.home #main .entry-content > p:first-child > span[itemprop=image]::before {
    content: ""; position: absolute; inset: -10px; pointer-events: none; border-radius: 50%;
    background: conic-gradient(from 230deg, #d8ff54 0 58deg, transparent 58deg 175deg, #d8ff54 175deg 192deg, transparent 192deg);
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
}
body.home #main .entry-content img.wp-image-403 { width: 92%; max-height: none; }
body.home #main .entry-content > :where(:not(:first-child)) { padding-inline: var(--r2-pad); }
body.home #main .entry-content > h2 {
    margin-top: 14px; border-radius: 3px 3px 0 0; border-top: 1px solid #749278;
    font-family: Georgia, "Times New Roman", serif; font-weight: 650; letter-spacing: -.04em;
    font-size: clamp(1.95rem,2.7vw,3.05rem); padding-top: .72em;
}
body.home #main .entry-content > h2::before { content: none; }
body.home #main .entry-content > p:last-child { border-radius: 0 0 4px 4px; }
body.home #main .entry-content > blockquote.warning p {
    border-radius: 2px; border-inline-start: 5px solid #d8ff54;
    padding: 16px 20px; background: #153e30;
}
body.home #secondary .widget { border-radius: 4px; padding: clamp(16px,1.6vw,25px); }
body.home #secondary .widget_block:has(> .wp-block-group:only-child > .wp-block-group__inner-container:only-child:empty) {
    border-color: transparent; padding: 0; background: transparent;
}
body.home #secondary .widget_search {
    margin-bottom: 13px; background: #d8ff54; border: 1px solid #bddc44;
    border-radius: 4px 18px 4px 4px;
}
body.home #secondary .wp-block-search__label {
    font-size: clamp(1.3rem,1.7vw,1.85rem); letter-spacing: -.04em; line-height: 1; margin-bottom: 12px;
}
body.home #secondary .wp-block-search__inside-wrapper {
    background: #fff; border: 1px solid #75843e; border-radius: 5px; padding: 3px; gap: 3px;
}
body.home #secondary .wp-block-search__inside-wrapper:focus-within { outline: 3px solid #163e2d; outline-offset: 2px; }
body.home #secondary .wp-block-search__input {
    border: 0; border-radius: 2px; min-height: 46px; color: #0c3027; font: inherit; padding-inline: 36px 6px;
    background:
        radial-gradient(circle at center, transparent 4.5px,#426554 5px 6px,transparent 6.6px) 10px center / 15px 18px no-repeat,
        linear-gradient(45deg, transparent 36%,#426554 37% 64%,transparent 65%) 21px calc(50% + 6px) / 6px 6px no-repeat white;
}
body.home #secondary .wp-block-search__button { border-radius: 3px; min-width: 80px; min-height: 46px; font-weight: 680; }
body.home #secondary h2.wp-block-heading {
    margin-bottom: 16px; font-size: clamp(1.6rem,2.1vw,2.25rem); font-weight: 780;
}
body.home #secondary ul:has(> .cat-item) { gap: 0 14px; border-top: 2px solid #244d39; }
body.home #secondary .cat-item {
    padding: 8px 2px; min-height: 44px; background: transparent; border: none;
    border-bottom: 1px solid var(--r2-hairline); border-radius: 0;
    color: #53664f; font: .76rem/1.2 ui-monospace, Menlo, monospace;
}
body.home #secondary .cat-item a {
    font: 600 .87rem/1.26 system-ui, sans-serif; letter-spacing: -.012em; color: var(--r2-ink);
}
body.home #secondary .cat-item:is(:hover,:focus-within) { background: #ebf4d5; border-bottom-color: #4f763b; }
body.home #colophon { background: #09271f; border-top: 3px solid #aacd48; }
@media (min-width: 992px) {
    body.home #content .site-content-inner { grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: clamp(16px,1.6vw,28px); }
}
@media (min-width: 768px) {
    body.home #main .article-post { container-type: inline-size; }
    body.home #main .article-post > h1.entry-title {
        max-width: 60%; min-height: 25cqw; align-content: center;
        font-size: clamp(2.6rem,7.7cqw,4.8rem); text-wrap: balance;
    }
    body.home #main .entry-content > p:first-child { position: static; }
    body.home #main .entry-content > p:first-child::before {
        content: ""; display: block; height: 1px; margin-bottom: 16px; background: #92b29e55;
    }
    body.home #main .entry-content > p:first-child > span[itemprop=image] {
        position: absolute; top: clamp(40px,6.5cqw,74px); right: var(--r2-pad);
        width: 30%; margin: 0; padding: 2.3%;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    body.home { --r2-pad: 23px; }
    body.home #main .article-post > h1.entry-title { min-height: 20cqw; font-size: 6.25cqw; }
    body.home #main .entry-content > p:first-child > span[itemprop=image] { top: 25px; width: 23%; }
    body.home #main .entry-content > p:not(:first-child) { padding-bottom: .7em; line-height: 1.52; }
}
@media (min-width: 1500px) {
    body.home #secondary ul:has(> .cat-item) { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 12px; }
    body.home #secondary .cat-item { min-height: 37px; padding-block: 6px; }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
    body.home #masthead .top-menu a, body.home #site-navigation .menu a,
    body.home #secondary .cat-item, body.home #secondary .wp-block-search__button {
        transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out;
    }
    body.home #secondary .cat-item a { transition: translate .15s ease-out; }
    body.home #secondary .cat-item:hover a { translate: 2px 0; }
    body.home #main .entry-content > p:first-child > span[itemprop=image]::before { transition: transform .32s ease-out; }
    body.home #main .entry-content > p:first-child > span[itemprop=image]:hover::before { transform: rotate(9deg); }
}
@media (max-width: 767px) {
    body.home { --r2-pad: 17px; --home-edge: 10px; }
    body.home #masthead { padding-block: 10px; }
    body.home #masthead .site-branding { gap: 8px; }
    body.home #masthead .site-logotype img { width: 42px; height: auto; }
    body.home #masthead .top-menu { margin-top: 9px; }
    body.home #masthead .top-menu > ul { gap: 4px; }
    body.home #masthead .top-menu > ul > li > a { padding: 7px 10px; }
    body.home #main .article-post > .breadcrumb { padding-top: 18px; }
    body.home #main .article-post > h1.entry-title {
        max-width: 15ch; font-size: clamp(2.05rem,8.8vw,3.35rem); margin-block: .42em .5em;
    }
    body.home #main .article-post::before, body.home #main .article-post::after { border-radius: 3px 19px 3px 3px; }
    body.home #main .entry-content > p:first-child { font-size: 1rem; line-height: 1.48; }
    body.home #main .entry-content > p:first-child > span[itemprop=image] {
        float: right; width: clamp(100px,38%,158px); max-width: none;
        margin: 5px 6px 12px 17px; padding: 3%; box-shadow: 0 0 0 4px #193d30, 0 0 0 5px #94b17b;
    }
    body.home #main .entry-content > p:first-child > span[itemprop=image]::before { inset: -7px; }
    body.home #main .entry-content > h2 { margin-top: 12px; font-size: clamp(1.65rem,6.6vw,2.25rem); }
    body.home #main .entry-content > p:not(:first-child) { font-size: 1rem; line-height: 1.48; padding-bottom: .75em; }
    body.home #main .entry-content > blockquote.warning { padding-bottom: 12px; }
    body.home #main .entry-content > blockquote.warning p { padding: 12px; }
    body.home #content #secondary { margin-top: 14px; }
    body.home #site-navigation-mobile .menu li > :is(a,.removed-link) { min-height: 44px; }
}
