/*
Theme Name: Everyday Car Camper
Description: Lightweight native block theme for a research-based car-camping publication. No demo posts are created.
Version: 0.2.3
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: everyday-camper
Tags: blog, block-patterns, full-site-editing, wide-blocks
*/

:root{--ecc-paper:#f6f4ed;--ecc-ink:#183b32;--ecc-muted:#4b615a;--ecc-line:#c4d0c7;--ecc-accent:#205f4e}
body{margin:0;background:var(--ecc-paper);color:var(--ecc-ink);font-family:system-ui,sans-serif;line-height:1.7}
*,*::before,*::after{box-sizing:border-box}
a{color:var(--ecc-accent);text-underline-offset:.2em;overflow-wrap:anywhere}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid #9c4e18;outline-offset:4px}
.ecc-header{padding:1.3rem 0;border-bottom:1px solid var(--ecc-line)}
.ecc-footer{margin-top:4rem;padding:2rem 0;border-top:1px solid var(--ecc-line);color:var(--ecc-muted)}
.ecc-main{padding-top:3rem;padding-bottom:2rem}
h1,h2,h3{line-height:1.18;text-wrap:balance;letter-spacing:-.025em}
h2{margin-top:2.3rem}
.ecc-verdict{background:#dfebe3;padding:1.4rem;border-left:4px solid var(--ecc-accent)}
.ecc-note,figcaption{color:var(--ecc-muted);font-size:.9rem}
.wp-block-image img{max-width:100%;height:auto;display:block}
.wp-block-image figcaption{margin-top:.65rem;text-align:left}
.wp-block-table{overflow-x:auto;margin:1.8rem 0}
.wp-block-table table{border-collapse:collapse;width:100%;font-size:.92rem}
.wp-block-table td,.wp-block-table th{padding:.8rem .6rem;border:0;border-bottom:1px solid var(--ecc-line);vertical-align:top;text-align:left;overflow-wrap:anywhere}
.wp-block-table thead{background:#dfebe3}
.ecc-card{padding:1.5rem;border:1px solid var(--ecc-line);border-radius:.5rem;background:#fff}
.ecc-hero{padding:3rem 0}
.ecc-meta{color:var(--ecc-muted);font-size:.88rem}
@media(max-width:600px){.ecc-main{padding-top:1.6rem}.wp-block-table td,.wp-block-table th{padding:.55rem .35rem;font-size:.8rem}.ecc-hero{padding:1.5rem 0}}

/* Private build design refinements. */
.ecc-header{gap:1.5rem;padding:1.45rem 0}.ecc-header .wp-block-site-title{font-family:Georgia,Cambria,serif;font-size:1.65rem;font-weight:700;letter-spacing:-.055em;line-height:1.1}.wp-block-site-title a{text-decoration:none;color:var(--ecc-ink)}
.ecc-header .wp-block-navigation{font-size:.9rem;font-weight:550}.ecc-header .wp-block-navigation-item__content{padding:.5rem .15rem}
.ecc-main{padding-top:2.5rem}.ecc-hero{padding:clamp(2.3rem,6vw,5rem) clamp(1.25rem,5vw,4rem);background:#e7ece4;border-radius:5px;margin-bottom:3.5rem;position:relative;overflow:hidden}.ecc-hero>*{position:relative;z-index:1}.ecc-hero:after{content:"";position:absolute;width:350px;height:350px;right:-190px;top:0;border:1px solid #c1d0bf;border-radius:50%;box-shadow:0 0 0 40px #dde6d9,0 0 0 41px #c1d0bf,0 0 0 90px #e2e9df;opacity:.5}.ecc-hero h1{font-size:clamp(2.65rem,6vw,5rem);max-width:900px!important;margin-top:1.2rem}.ecc-intro{font-size:clamp(1.1rem,2vw,1.25rem);max-width:620px!important;margin-left:0!important}.ecc-hero .wp-block-buttons{margin-top:1.7rem}.ecc-eyebrow,.ecc-format{font-size:.72rem;font-weight:650;letter-spacing:.11em;text-transform:uppercase}.ecc-eyebrow{color:#42684b}.ecc-section-heading{margin-bottom:2rem}.ecc-section-heading h2{margin-top:.6rem}.ecc-main>.wp-block-query{max-width:1160px}.wp-block-post-template{gap:1.5rem}.ecc-card{padding:clamp(1.35rem,3vw,2.1rem);border-radius:5px;border-color:#d6ddd3;background:#fffcf5;height:100%;transition:box-shadow .2s}.ecc-card:hover{box-shadow:0 6px 24px #173c3210}.ecc-card h2{font-size:clamp(1.6rem,2.5vw,2.1rem);margin-top:1.1rem}.ecc-card h2 a{text-decoration:none;color:var(--ecc-ink)}.ecc-card h2 a:hover{text-decoration:underline}.ecc-card .wp-block-post-excerpt{font-size:1rem;color:var(--ecc-muted)}.wp-block-post-excerpt__more-link{font-weight:650;font-size:.9rem}.ecc-format a{text-decoration:none;border-bottom:1px solid #90a591;padding-bottom:.25rem}.ecc-meta a{font-size:.8rem;color:var(--ecc-muted)}.ecc-footer{padding:2.5rem 0;margin-top:5rem}.ecc-footer .wp-block-site-title{font:700 1.4rem Georgia,serif}.ecc-footer p{margin-top:.7rem}.ecc-footer .ecc-note{max-width:650px;margin-left:0!important}.wp-block-post-content>p:first-child{font-size:1.18rem}.wp-block-post-content>.ecc-method{padding:1.1rem 1.3rem;border-left:3px solid #92ac92;background:#edf0e8;font-size:.95rem}.wp-block-post-content h2{margin-top:2.8rem}.wp-block-post-content figure{margin-top:2rem;margin-bottom:2rem}.wp-block-post-content .wp-block-image{max-width:720px}.wp-block-post-content .wp-block-image img{border-radius:4px}.wp-block-table th{font-weight:650}.wp-block-table table{min-width:320px}.wp-block-query-pagination{margin-top:2rem}.wp-block-navigation__responsive-container.is-menu-open{padding:2rem;background:#f6f4ed}.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{padding:.5rem 0}
@media(max-width:600px){.ecc-header{padding:1rem 0}.ecc-header .wp-block-site-title{font-size:1.35rem;max-width:220px}.ecc-main{padding-top:1.4rem}.ecc-hero{margin-bottom:2.4rem}.ecc-hero h1{font-size:2.7rem}.wp-block-post-template.is-layout-grid{grid-template-columns:1fr!important}.ecc-card h2{font-size:1.75rem}.ecc-footer{margin-top:3rem}.wp-block-post-content>p:first-child{font-size:1.1rem}.wp-block-post-content>.ecc-method{padding:.9rem 1rem}.wp-block-table{max-width:100%;-webkit-overflow-scrolling:touch}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.ecc-card{transition:none}}

.ecc-header,.ecc-footer{width:calc(100% - clamp(32px,8vw,80px));max-width:1160px;margin-left:auto;margin-right:auto}.ecc-main{padding-left:clamp(16px,4vw,40px);padding-right:clamp(16px,4vw,40px)}

.ecc-hero>*,.ecc-section-heading>*,.ecc-footer>*{margin-left:0!important;margin-right:0!important}

/* Article editorial media */
.ecc-article-hero{padding:0;background:none;border:0;margin:1.5rem auto 2rem;max-width:960px}.ecc-article-hero img{display:block;width:100%;height:auto;object-fit:contain;border-radius:14px}.ecc-article-hero figcaption{font-size:.875rem;line-height:1.55;color:#52645d;text-align:left;margin:.7rem 0 0}.ecc-byline{font-size:.9rem;color:#52645d}.ecc-footer-links{font-size:.95rem;line-height:1.8}

.ecc-card-image{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:4px;margin-bottom:1.1rem}

/* Keep editorial cards inside their grid columns. */
.wp-block-post-template.is-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wp-block-post-template>li,.ecc-card,.ecc-card>*{min-width:0;max-width:100%}.ecc-card{width:100%}.ecc-card img.ecc-card-image{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:4px;margin:1.1rem 0}.ecc-article-hero,.wp-block-post-content .wp-block-image{max-width:100%}.ecc-article-hero img,.wp-block-post-content .wp-block-image img{max-width:100%;height:auto}
@media(max-width:600px){.wp-block-post-template.is-layout-grid{grid-template-columns:minmax(0,1fr)!important}}

@media(max-width:600px){.wp-block-table{overflow-x:auto;-webkit-overflow-scrolling:touch}.wp-block-table table{min-width:560px}.wp-block-table th:first-child,.wp-block-table td:first-child{width:24%;word-break:normal;overflow-wrap:normal}}