/*
Theme Name: ECF Editorial 2026
Description: Standalone ECoffeeFinder editorial discovery design
Version: 1.0.0
Text Domain: ecf-editorial-2026
*/
:root{--ink:#232725;--muted:#66706a;--green:#247a52;--green-dark:#15583b;--ivory:#faf9f5;--cream:#f1f3ed;--line:#e2e7e0;--white:#fff;--espresso:#694b38;--serif:Georgia,Times New Roman,serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ivory);color:var(--ink);font:17px/1.65 Arial,Helvetica,sans-serif}a{color:inherit}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,a,input,summary{outline-offset:4px}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--green)}.ecf-wrap{max-width:1240px;margin:auto;padding:0 28px}.ecf-header{position:relative;z-index:40;background:#fff;border-bottom:1px solid var(--line)}.ecf-top{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:86px}.ecf-brand{font:700 29px/1 var(--serif);text-decoration:none;letter-spacing:-.05em;color:var(--green-dark)}.ecf-brand span{color:var(--espresso)}.ecf-nav{display:flex;align-items:center;gap:22px}.ecf-nav details{position:relative}.ecf-nav summary{cursor:pointer;list-style:none;font-size:14px;font-weight:700;padding:16px 3px}.ecf-nav summary::-webkit-details-marker{display:none}.ecf-nav summary:after{content:"⌄";margin-left:7px;color:var(--green)}.ecf-dropdown{position:absolute;top:100%;left:0;background:#fff;min-width:250px;padding:12px;border:1px solid var(--line);box-shadow:0 18px 45px #1d2d2430;border-radius:12px}.ecf-dropdown a{display:block;padding:9px 12px;text-decoration:none;font-size:14px;border-radius:6px}.ecf-dropdown a:hover{background:var(--cream)}.ecf-utility{display:flex;gap:17px;align-items:center;font-size:14px;font-weight:700}.ecf-utility a{text-decoration:none}.ecf-mobile{display:none}.ecf-mobile summary{cursor:pointer;font-weight:700}.ecf-mobile nav{display:grid;gap:2px;position:absolute;left:0;right:0;top:100%;background:#fff;padding:18px 28px;box-shadow:0 20px 25px #0002}.ecf-mobile nav a{padding:11px;border-bottom:1px solid var(--line);text-decoration:none}.ecf-eyebrow{font:700 12px/1.4 Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--green-dark);margin:0 0 16px}.ecf-hero{background:#eaf1e8}.ecf-hero-grid{display:grid;grid-template-columns:1fr 1.03fr;min-height:620px}.ecf-hero-copy{padding:76px 54px 70px 0;align-self:center}.ecf-hero h1{font:500 clamp(46px,5.6vw,78px)/1.07 var(--serif);letter-spacing:-.045em;margin:0 0 24px;max-width:680px}.ecf-hero p.ecf-intro{font-size:19px;color:#4d5a52;max-width:560px;line-height:1.7;margin:0 0 27px}.ecf-hero-media{height:100%;min-height:580px;position:relative;overflow:hidden}.ecf-hero-media img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.ecf-hero-media figcaption{position:absolute;bottom:20px;left:20px;background:#fffE;border-radius:6px;padding:7px 12px;font-size:12px}.ecf-actions{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}.ecf-btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:14px 23px;background:var(--green);border:2px solid var(--green);border-radius:6px;color:white!important;text-decoration:none;font-size:14px;font-weight:700;line-height:1.3;transition:background .2s}.ecf-btn:hover{background:var(--green-dark)}.ecf-btn.secondary{background:transparent;color:var(--green-dark)!important}.ecf-btn.secondary:hover{background:#ffffff8c}.ecf-search{display:flex;gap:8px;margin-top:25px;max-width:570px}.ecf-search input{flex:1;min-width:0;padding:13px 16px;border:1px solid #bfcfc4;border-radius:6px;background:white}.ecf-search button{border:0;border-radius:6px;background:var(--ink);color:white;font-weight:700;padding:12px 20px;cursor:pointer}.ecf-search-label{font-size:13px;font-weight:700;color:#445a4b}.ecf-section{padding:88px 0}.ecf-section.alt{background:#f0f3ec}.ecf-section h2,.ecf-band h2{font:500 clamp(33px,4vw,52px)/1.14 var(--serif);letter-spacing:-.035em;margin:0 0 17px}.ecf-section-intro{max-width:720px;color:var(--muted);margin:0 0 30px}.ecf-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:34px}.ecf-section-head .ecf-section-intro{margin-bottom:0}.ecf-text-link{color:var(--green-dark);font-size:14px;font-weight:700;text-decoration-thickness:2px;text-underline-offset:5px;white-space:nowrap}.ecf-interest-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.ecf-interest{display:flex;flex-direction:column;text-decoration:none;background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:transform .2s,box-shadow .2s}.ecf-interest:hover,.ecf-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #1b34221c}.ecf-interest img{width:100%;aspect-ratio:4/3;object-fit:cover}.ecf-interest strong{font:500 23px/1.2 var(--serif);padding:22px 20px 7px}.ecf-interest span{padding:0 20px 22px;color:var(--green-dark);font-size:13px;font-weight:700}.ecf-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.ecf-card{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.ecf-card>a.ecf-card-image{display:block;aspect-ratio:4/3;background:var(--cream)}.ecf-card-image img{width:100%;height:100%;object-fit:cover}.ecf-card-body{padding:22px;display:flex;flex-direction:column;gap:9px;flex:1}.ecf-card small{font:700 11px/1.4 Arial,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:var(--green-dark)}.ecf-card h3{font:500 22px/1.25 var(--serif);letter-spacing:-.02em;margin:0}.ecf-card h3 a{text-decoration:none}.ecf-card p{font-size:14px;line-height:1.6;color:var(--muted);margin:0}.ecf-card-body>.ecf-text-link{margin-top:auto;padding-top:15px}.ecf-band{padding:74px 0;background:#e4eee4}.ecf-band.business{background:#f5e9db}.ecf-band-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.ecf-band p{max-width:610px;color:#526056}.ecf-newsletter{background:white;border-radius:12px;padding:25px}.ecf-newsletter .sib-form{background:transparent!important}.ecf-newsletter #sib-container{max-width:100%!important;border:0!important;padding:0!important}.ecf-feature{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center;margin-bottom:26px}.ecf-feature img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:10px}.ecf-feature h3{font:500 36px/1.18 var(--serif);margin:10px 0}.ecf-footer{background:#23332b;color:#f8faf7;padding:65px 0 26px}.ecf-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px}.ecf-footer h3{font:500 19px var(--serif);margin:0 0 17px}.ecf-footer a{color:#e5f2e7;text-decoration:none}.ecf-footer a:hover{text-decoration:underline}.ecf-footer nav{display:grid;gap:10px;font-size:14px}.ecf-footer p{font-size:14px;color:#c5d7c8}.ecf-copyright{margin-top:50px;padding-top:22px;border-top:1px solid #ffffff30;font-size:12px;color:#d1dfd2}.ecf-content{padding:65px 28px 100px;max-width:1100px;margin:auto}.ecf-content h1{font:500 clamp(40px,5vw,62px)/1.13 var(--serif)}.ecf-content h2{font:500 35px/1.2 var(--serif)}.ecf-content p,.ecf-content li{line-height:1.8}.ecf-content img{border-radius:8px}.ecf-content .wp-block-post-featured-image img{max-height:600px;object-fit:cover}.ecf-content .wp-block-post-title a{text-decoration:none}.ecf-content .wp-block-post-template{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;padding:0}.ecf-content .wp-block-post-template li{background:white;border:1px solid var(--line);border-radius:10px;padding:18px}.ecf-content .wp-block-post-template h2{font-size:24px}.ecf-content table{border-collapse:collapse;width:100%}.ecf-content th,.ecf-content td{border:1px solid var(--line);padding:12px;text-align:left}.ecf-content input,.ecf-content textarea{max-width:100%}.ecf-disclosure{font-size:12px;color:var(--muted)}.ecf-card-noimage{height:100%;background:linear-gradient(140deg,#e4eee4,#f6e9d9)}@media(max-width:1100px){.ecf-nav{gap:10px}.ecf-utility{gap:9px}.ecf-interest-grid,.ecf-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ecf-hero-copy{padding-right:30px}}@media(max-width:820px){.ecf-nav,.ecf-utility{display:none}.ecf-mobile{display:block}.ecf-top{min-height:70px}.ecf-hero-grid,.ecf-band-grid,.ecf-feature{grid-template-columns:1fr}.ecf-hero-copy{padding:56px 0 30px}.ecf-hero-media{min-height:360px}.ecf-hero-media img{position:absolute}.ecf-section{padding:62px 0}.ecf-section-head{align-items:start;flex-direction:column}.ecf-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ecf-content .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.ecf-wrap{padding:0 18px}.ecf-hero h1{font-size:45px}.ecf-hero-media{min-height:260px}.ecf-interest-grid,.ecf-cards,.ecf-footer-grid,.ecf-content .wp-block-post-template{grid-template-columns:1fr}.ecf-section{padding:50px 0}.ecf-actions{flex-direction:column}.ecf-btn{width:100%}.ecf-search{flex-direction:column}.ecf-section-head{gap:10px}.ecf-text-link{white-space:normal}.ecf-band{padding:54px 0}.ecf-newsletter{padding:15px}.ecf-content{padding:40px 18px 70px}}
/* Existing commerce and editorial content integration */
.woocommerce .products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:35px 0!important}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;background:#fff;border:1px solid var(--line);border-radius:11px;padding:14px!important}.woocommerce ul.products li.product img{aspect-ratio:4/3;object-fit:contain;background:#fff}.woocommerce ul.products li.product .woocommerce-loop-product__title{font:500 21px/1.3 var(--serif);color:var(--ink)}.woocommerce .button,.woocommerce button.button,.woocommerce a.button{background:var(--green)!important;color:#fff!important;border-radius:6px!important;padding:13px 18px!important}.woocommerce .woocommerce-breadcrumb{color:var(--muted);margin:20px 0}.woocommerce div.product{padding:50px 0}.woocommerce div.product .product_title{font:500 clamp(36px,4vw,54px)/1.15 var(--serif)}.wp-block-post-title,.wp-block-query-title{letter-spacing:-.03em}.wp-block-search__button{background:var(--green);color:#fff;border:0;border-radius:6px}.wp-block-post-featured-image img{aspect-ratio:16/10;object-fit:cover}.wp-block-post-excerpt__more-link{font-weight:700;color:var(--green-dark)}.wp-block-post-content a{color:var(--green-dark);text-underline-offset:3px}.wp-block-post-content h2{margin-top:42px}.wp-block-post-content figure{margin:30px 0}.wp-block-post-content .wp-block-image img{height:auto}.wp-block-post-content blockquote{border-left:4px solid var(--green);padding-left:22px}.wp-block-post-content ul,.wp-block-post-content ol{padding-left:25px}.wp-block-post-content .wp-block-button__link{background:var(--green);border-radius:6px}.ecf-content .wp-block-post-date{font-size:13px;color:var(--muted);margin-bottom:24px}.ecf-content .wp-block-post-terms{font-size:13px;color:var(--green-dark);font-weight:700}.ecf-content .wp-block-post-navigation-link{display:inline-block;margin:24px 20px 0 0}.ecf-content .wp-block-post-navigation-link a{color:var(--green-dark)}@media(max-width:850px){.woocommerce .products{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.woocommerce .products{grid-template-columns:1fr}}
.ecf-inquiry{display:grid;gap:18px;max-width:760px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:30px;margin:30px 0}.ecf-inquiry>label{display:grid;gap:6px;font-size:14px;font-weight:700}.ecf-inquiry input:not([type=checkbox]),.ecf-inquiry textarea{padding:12px 14px;border:1px solid #b9c7bd;border-radius:6px;width:100%;font-weight:400}.ecf-inquiry .ecf-consent{display:flex;align-items:flex-start;font-weight:400;gap:10px}.ecf-inquiry .ecf-consent input{margin-top:6px}.ecf-inquiry .ecf-btn{cursor:pointer;max-width:330px}.ecf-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.ecf-form-success{padding:15px 20px;background:#e2f2e5;border-left:4px solid var(--green)}@media(max-width:520px){.ecf-inquiry{padding:18px}.ecf-inquiry .ecf-btn{max-width:none}}
.ecf-purchase{padding:24px;margin:30px 0;border:1px solid var(--line);border-radius:10px;background:#fff}.ecf-purchase .ecf-btn{margin-top:10px}.ecf-card .ecf-card-image img{object-fit:cover}.ecf-card:has(small:first-child) .ecf-card-image img{object-fit:contain}.ecf-section .ecf-cards{align-items:stretch}.ecf-card-body h3{overflow-wrap:anywhere}.ecf-content .wp-block-post-content{max-width:760px}.ecf-content .wp-block-post-content .alignwide{max-width:1100px}.ecf-footer .ecf-brand span{color:#f2dcc7}
.ecf-card:has(.ecf-card-body small) .ecf-card-image{display:block;overflow:hidden}.ecf-card:has(.ecf-card-body small) .ecf-card-image img{transition:transform .25s}.ecf-card:hover .ecf-card-image img{transform:scale(1.025)}.ecf-feature .ecf-btn{margin-top:12px}.ecf-feature p{color:var(--muted)}.ecf-section .ecf-disclosure{margin:-12px 0 24px}.ecf-section .ecf-cards:empty{display:none}
/* Final editorial rhythm and mobile usability */
.ecf-hero-media{margin:0}.ecf-hero-media img{display:block}.ecf-interest img{display:block}.ecf-card-image img{display:block}.ecf-card .ecf-card-noimage{min-height:170px}.ecf-header details[open]>summary{color:var(--green-dark)}.ecf-mobile summary{min-height:44px;display:flex;align-items:center}.ecf-mobile nav a{min-height:44px}.ecf-nav summary{min-height:44px}.ecf-btn,.ecf-search button{min-height:44px}.ecf-hero h1,.ecf-section h2,.ecf-card h3{text-wrap:balance}.ecf-section-intro{font-size:17px}.ecf-footer a:focus-visible{outline-color:#fff}.ecf-content .wp-block-post-content{overflow-wrap:break-word}.ecf-content .wp-block-post-content iframe{max-width:100%}.ecf-content .wp-block-table{overflow-x:auto}.ecf-content .wp-block-table table{min-width:550px}.ecf-card-image img[width][height]{height:100%}.ecf-card:has(small) .ecf-card-body{min-height:200px}.ecf-card-body .ecf-text-link{display:inline-flex;align-items:center;min-height:44px}.ecf-section .ecf-cards{margin-top:18px}@media(max-width:820px){.ecf-hero-grid{min-height:0}.ecf-hero-copy{padding:48px 0 32px}.ecf-hero-media{margin:0 -28px}.ecf-hero-media img{object-position:center}.ecf-footer-grid{gap:25px}}@media(max-width:520px){.ecf-hero-media{margin:0 -18px}.ecf-hero h1{font-size:clamp(37px,11vw,46px)}.ecf-brand{font-size:26px}.ecf-search button{width:100%}.ecf-section h2{font-size:clamp(30px,8vw,38px)}.ecf-interest strong{font-size:22px}.ecf-hero p.ecf-intro{font-size:17px}.ecf-feature{gap:15px}.ecf-feature h3{font-size:30px}.ecf-footer-grid{grid-template-columns:1fr 1fr}.ecf-footer-grid>div:first-child{grid-column:1/-1}.ecf-content .wp-block-table{margin:25px -10px}}

/* APPROVED NOV 9 MOCKUP: scoped visual design, no other site templates changed */
.approved-ecf{background:#fffdf8;color:#24211f}.approved-ecf h1,.approved-ecf h2{font-family:Georgia,serif;letter-spacing:-.045em;color:#301d19}.approved-ecf .ecf-wrap{max-width:1230px}.approved-hero{background:#fdf7ef}.approved-hero-layout{display:grid;grid-template-columns:44% 56%;align-items:stretch;min-height:480px}.approved-hero-text{padding:44px 20px 36px 0;align-self:center;z-index:1}.approved-hero h1{font-size:clamp(48px,5vw,70px);line-height:1.02;margin:0}.approved-hero-text>p:not(.ecf-eyebrow){font-size:18px;line-height:1.35;margin:10px 0 18px}.approved-swoosh{width:90px;height:7px;border-top:4px solid #b87933;transform:rotate(-5deg);margin:14px 0}.approved-actions{display:flex;gap:10px;flex-wrap:wrap}.approved-ecf .ecf-btn{border-radius:25px;background:#1f5a45;border-color:#1f5a45;padding:10px 22px;min-height:40px}.approved-ecf .ecf-btn.secondary{background:transparent;color:#1f5a45!important}.approved-search{margin-top:18px;max-width:410px}.approved-search input{width:100%;border:1px solid #d8d3c9;border-radius:30px;background:white;box-shadow:0 2px 8px #0001;padding:13px 17px}.approved-hero-photo{position:relative;min-height:455px}.approved-hero-photo>img{width:100%;height:100%;object-fit:cover;display:block}.approved-drink-inset{position:absolute;width:35%;height:52%;bottom:7%;left:-12%;padding:7px;background:white;box-shadow:0 6px 20px #0004;transform:rotate(-6deg)}.approved-drink-inset img{width:100%;height:100%;object-fit:cover}.approved-section{padding:38px 0 30px}.approved-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.approved-section-heading h2{font-size:clamp(27px,3.3vw,39px);margin:0}.approved-section-heading p{margin:2px 0 0}.approved-section-heading a{color:#1f5a45;text-decoration:none;font-weight:700;font-size:14px;white-space:nowrap}.approved-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.approved-photo-card{display:block;position:relative;overflow:hidden;border-radius:9px;aspect-ratio:1.7;color:white;text-decoration:none;background:#eee}.approved-photo-card img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.approved-photo-card:hover img{transform:scale(1.04)}.approved-photo-card:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#0009)}.approved-photo-card span{position:absolute;bottom:12px;left:13px;right:8px;z-index:1;font:700 19px/1.15 Georgia,serif;text-shadow:0 1px 4px #0008}.approved-books{padding:34px 0;background:#f7ead6}.approved-books-layout{display:grid;grid-template-columns:24% 1fr;gap:25px}.approved-books-intro h2{font-size:43px;line-height:1.04;margin:0}.approved-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.approved-book-card{text-align:left}.approved-book-card img{display:block;height:205px;width:100%;object-fit:contain}.approved-book-card p{font-size:13px;line-height:1.4;min-height:39px}.approved-book-card .ecf-btn{font-size:13px;min-height:36px;padding:7px 17px}.approved-signup{background:#e3eddb;padding:25px 0}.approved-signup-layout{display:grid;grid-template-columns:28% 1fr 23%;align-items:center;gap:25px}.approved-signup h2{font-size:36px;margin:0}.approved-signup p{margin:0 0 8px}.approved-club{border-left:1px solid #a1b6a4;padding-left:25px}.approved-club a{color:#1f5a45;font-weight:700}.approved-operator{padding:22px 0;background:#fffdf8}.approved-operator-layout{display:grid;grid-template-columns:30% 1fr;align-items:center;gap:32px}.approved-operator img{width:100%;height:160px;object-fit:cover;border-radius:8px}.approved-operator h2{font-size:32px;margin:0}.approved-operator p{margin:5px 0 12px}.approved-ecf .ecf-disclosure{text-align:center;margin:10px 0 0}
@media(max-width:820px){.approved-hero-layout{grid-template-columns:1fr}.approved-hero-text{padding:25px 0}.approved-hero-photo{min-height:290px}.approved-drink-inset{left:5%;width:30%;height:60%}.approved-books-layout{grid-template-columns:1fr}.approved-books-intro h2{font-size:34px}.approved-signup-layout{grid-template-columns:1fr 1fr}.approved-club{grid-column:1/-1;border-left:0;padding:0}.approved-grid{gap:9px}}
@media(max-width:520px){.approved-hero h1{font-size:clamp(38px,10vw,48px)}.approved-hero-text{padding:20px 0 10px}.approved-hero-photo{min-height:220px}.approved-drink-inset{width:34%;height:58%;left:7%}.approved-actions{flex-direction:column}.approved-actions .ecf-btn{width:100%}.approved-section{padding:28px 0 18px}.approved-section-heading{align-items:flex-start}.approved-section-heading h2{font-size:26px}.approved-section-heading a{white-space:normal;font-size:12px}.approved-grid{grid-template-columns:1fr}.approved-photo-card{aspect-ratio:1.9}.approved-book-grid{grid-template-columns:1fr}.approved-book-card{display:grid;grid-template-columns:100px 1fr;gap:8px 14px}.approved-book-card img{grid-row:1/4;height:145px}.approved-book-card p{min-height:0;margin:0}.approved-book-card .ecf-btn{width:max-content}.approved-signup-layout{grid-template-columns:1fr}.approved-operator-layout{grid-template-columns:1fr;gap:15px}.approved-operator img{height:180px}.approved-operator h2{font-size:28px}}
/* Small-screen cookie preferences dialog containment */
@media(max-width:767px){.cky-preference-center{max-width:calc(100vw - 24px)!important;width:calc(100vw - 24px)!important;left:12px!important;right:12px!important;box-sizing:border-box!important}.cky-preference-body-wrapper,.cky-preference-content-wrapper,.cky-accordion-wrapper{max-width:100%!important;box-sizing:border-box!important}}
@media(max-width:520px){html,body{overflow-x:clip!important}.approved-ecf{max-width:100%;overflow-x:clip}}


/* ECF NOV 10 — mobile-first editorial direction, scoped to homepage */
.ecf-next{--next-brown:#5d2e16;--next-gold:#b46b20;--next-ink:#251d19;--next-cream:#faf7f1;background:#fffdf9;color:var(--next-ink);font-family:Arial,Helvetica,sans-serif}
.ecf-next h1,.ecf-next h2{font-family:Georgia,Times New Roman,serif;letter-spacing:-.045em}
.next-eyebrow{font-size:11px;letter-spacing:.2em;text-transform:uppercase;font-weight:800;margin:0 0 13px;color:#93501d}
.next-hero{min-height:510px;position:relative;display:flex;align-items:center;background:#3c2a20;color:white;overflow:hidden}
.next-hero-image,.next-hero-shade{position:absolute;inset:0;width:100%;height:100%}
.next-hero-image{object-fit:cover;object-position:center 45%}
.next-hero-shade{background:linear-gradient(90deg,rgba(19,15,12,.89) 0%,rgba(19,15,12,.72) 35%,rgba(19,15,12,.10) 100%)}
.next-hero-inner{position:relative;z-index:1;width:100%;padding-top:65px;padding-bottom:65px}
.next-hero-copy{max-width:560px}.next-hero .next-eyebrow{color:#e8bd80}
.next-hero h1{font-size:clamp(55px,6.5vw,91px);line-height:.98;margin:0 0 25px;color:white}
.next-hero-copy>p:not(.next-eyebrow){font-size:18px;line-height:1.55;max-width:470px;margin:0 0 22px}
.next-hero-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.next-button{min-height:48px;padding:13px 22px;background:#925017;color:white!important;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:16px;text-decoration:none;font-size:15px;font-weight:700}
.next-button:hover{background:#743b10}.next-hero-secondary{color:white;font-size:14px;text-decoration:underline;text-underline-offset:5px;font-weight:700}
.next-paths{background:#f7f3ed;border-bottom:1px solid #eee6dc}
.next-path-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.next-path-grid>a{min-width:0;display:flex;align-items:center;gap:12px;text-decoration:none;padding:21px 14px;border-right:1px solid #ded3c5}
.next-path-grid>a:last-child{border:0}.next-path-symbol{font-size:31px;color:#8b4b21;line-height:1;min-width:34px;text-align:center}
.next-path-grid strong{display:block;font:700 15px/1.3 Georgia,serif}.next-path-grid small{display:block;color:#665b52;font-size:11px;margin-top:3px}
.next-feature{padding:66px 0;background:#fffdf9}.next-feature-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:55px}
.next-feature-image{display:block;overflow:hidden;border-radius:10px;aspect-ratio:1.8}
.next-feature-image img{width:100%;height:100%;object-fit:cover;display:block}
.next-feature-copy h2{font-size:clamp(32px,3.5vw,49px);line-height:1.09;margin:0 0 16px}
.next-feature-copy>p:not(.next-eyebrow){font-size:17px;line-height:1.6;color:#554c45;max-width:440px}
.next-text-link{display:inline-block;color:#7b3a13;text-decoration:none;font-weight:800;font-size:15px;margin-top:9px}
.next-text-link:hover{text-decoration:underline;text-underline-offset:4px}
.next-places{background:#f6f0e7;padding:58px 0 68px}.next-places-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:24px}
.next-places h2{font-size:clamp(32px,3.6vw,49px);line-height:1.1;margin:0 0 9px}.next-places-head p:not(.next-eyebrow){margin:0;color:#655c55}
.next-place-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.next-place-card{position:relative;display:block;aspect-ratio:1.65;overflow:hidden;border-radius:10px;color:white;text-decoration:none;background:#38271f}
.next-place-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}
.next-place-card:hover img{transform:scale(1.04)}.next-place-card:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.78))}
.next-place-card span{position:absolute;bottom:17px;left:18px;right:10px;z-index:1}
.next-place-card strong{display:block;font:700 25px/1.1 Georgia,serif}.next-place-card small{font-size:13px}
.next-loop{padding:44px 0;background:#3a241b;color:white}.next-loop-grid{display:flex;justify-content:space-between;align-items:center;gap:40px}
.next-loop .next-eyebrow{color:#e4b886}.next-loop h2{color:white;font-size:37px;margin:0 0 8px}.next-loop p:not(.next-eyebrow){margin:0;color:#e7dcd3}
.next-loop-action{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.next-loop-action small{font-size:11px;color:#d9c6b8}
@media(max-width:820px){.next-path-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.next-path-grid>a:nth-child(2){border-right:0}.next-path-grid>a:nth-child(-n+2){border-bottom:1px solid #ded3c5}.next-feature-grid{gap:24px}.next-place-card strong{font-size:20px}}
@media(max-width:600px){
.ecf-next .ecf-wrap{padding-left:20px;padding-right:20px}
.next-hero{min-height:0;display:block;padding:0;background:#281f19}
.next-hero-image{position:relative;display:block;height:235px;object-position:center 35%}
.next-hero-shade{display:none}
.next-hero-inner{padding-top:0;padding-bottom:0}
.next-hero-copy{padding:23px 0 27px}
.next-hero .next-eyebrow{font-size:10px;margin-bottom:8px}
.next-hero h1{font-size:clamp(40px,12vw,56px);line-height:1.02;margin:0 0 10px}
.next-hero-copy>p:not(.next-eyebrow){font-size:15px;line-height:1.45;margin:0 0 18px}
.next-hero-actions{display:block}.next-button{width:100%;min-height:50px}.next-hero-secondary{display:block;text-align:center;margin-top:14px;min-height:30px}
.next-path-grid{gap:0}.next-path-grid>a{padding:15px 10px;gap:8px;min-height:82px}.next-path-symbol{font-size:25px;min-width:25px}
.next-path-grid strong{font-size:13px}.next-path-grid small{font-size:10px;line-height:1.3}
.next-feature{padding:34px 0}.next-feature-grid{grid-template-columns:1fr;gap:20px}.next-feature-image{aspect-ratio:1.75}.next-feature-copy h2{font-size:32px;line-height:1.13}.next-feature-copy h2 br{display:none}.next-feature-copy>p:not(.next-eyebrow){font-size:15px;margin:0 0 8px}
.next-places{padding:32px 0 39px}.next-places-head{display:block;margin-bottom:19px}.next-places h2{font-size:32px}.next-places-head p:not(.next-eyebrow){font-size:14px;line-height:1.5}.next-places-head>.next-text-link{margin-top:11px}
.next-place-list{display:flex;gap:13px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 0 10px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.next-place-card{flex:0 0 78%;aspect-ratio:1.25;scroll-snap-align:start}.next-place-card strong{font-size:24px}
.next-loop{padding:31px 0}.next-loop-grid{display:block}.next-loop h2{font-size:30px}.next-loop p:not(.next-eyebrow){font-size:14px;line-height:1.5}
.next-loop-action{margin-top:19px}.next-loop-action .next-button{width:100%}
}


/* ECF BOOK-COVER PRESENTATION — preserve full portrait artwork at all breakpoints */
.ecf-book-card .ecf-card-image{background:#f8f5ef}
.ecf-book-card .ecf-card-image img{object-fit:contain}
.ecf-book-card:hover .ecf-card-image img{transform:none}

.ecf-book-card .ecf-card-image img{object-position:center}
.ecf-book-card .ecf-card-image{aspect-ratio:4/3}
.ecf-book-card .ecf-card-image img{width:100%;height:100%}
.ecf-book-card .ecf-card-image:has(img){display:flex;align-items:center;justify-content:center}
.ecf-book-card .ecf-card-image img{padding:10px}
/* Product covers and books: full jacket, never crop or zoom */
.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img,
.woocommerce div.product div.images img,
.woocommerce-page div.product div.images img,
.approved-book-card img{object-fit:contain!important;object-position:center!important;max-width:100%;height:auto}
.woocommerce ul.products li.product img{width:100%;height:230px!important;padding:12px;background:#fbf8f3}
.woocommerce div.product div.images img{max-height:650px;width:100%;height:auto!important;object-fit:contain!important}
.approved-book-card img{height:205px!important;width:100%;object-fit:contain!important}
@media(max-width:520px){
.woocommerce ul.products li.product img{height:260px!important}
.approved-book-card img{height:145px!important}
}


/* WooCommerce product collection blocks use inline object-fit:cover.
   Full product artwork (especially portrait book jackets) must remain visible. */
.wp-block-woocommerce-product-image img,
.wc-block-product img[data-testid="product-image"],
.wc-block-product-template img[data-testid="product-image"],
img[data-testid="product-image"]{
 object-fit:contain!important;
 object-position:center!important;
 background:#faf7f1;
 padding:10px;
}
