/*
Theme Name: Espresso at Home
Template: kadence
Description: Better coffee at home: gear, technique and everyday coffee life. Child theme of Kadence.
Version: 1.0
Text Domain: espressoathome
*/
:root{--brand:#9C5B2E;--brand2:#6B8F71;--ink:#2B1A12;--soft:#EFE3D3;}
.entry-content, .wp-block-post-content{font-size:1.06rem;line-height:1.75;}
.wp-block-post-content p{margin-block:0 1em;}
/* Affiliate building blocks (same class names as the other sites) */
.affiliate-disclosure{background:var(--soft);border-left:4px solid var(--brand);padding:12px 16px;font-size:.9rem;border-radius:4px;margin:1.2em 0;}
.cta-box{background:#fff;border:1px solid var(--soft);border-top:4px solid var(--brand);border-radius:8px;padding:16px 20px;margin:1.4em 0;box-shadow:0 2px 10px rgba(0,0,0,.05);}
.cta-box p{margin:0 0 .6em;}
a.amz-btn, .amz-btn{display:inline-block;background:#FF9900;color:#111 !important;font-weight:700;padding:10px 20px;border-radius:4px;text-decoration:none !important;line-height:1.2;}
a.amz-btn:hover{background:#f08804;}
.amz-btn.amz-btn-sm{padding:6px 12px;font-size:.85rem;}
.table-thumb{width:55px;height:55px;object-fit:contain;transition:transform .2s;background:#fff;}
.table-thumb:hover{transform:scale(4);position:relative;z-index:5;box-shadow:0 4px 18px rgba(0,0,0,.2);}
.wp-block-table table, .entry-content table{border-collapse:collapse;width:100%;font-size:.95rem;}
.wp-block-table th{background:var(--ink);color:#fff;}
.wp-block-table td, .wp-block-table th{border:1px solid #ddd;padding:8px 10px;vertical-align:middle;}
.key-takeaways{background:#fff;border:1px solid var(--soft);border-radius:8px;padding:14px 20px;margin:1.2em 0;}
.more-guides{border-top:2px solid var(--soft);padding-top:12px;}
figure.wp-block-image figcaption{font-size:.85rem;color:#6E5A4E;}
.wp-block-post-featured-image img{border-radius:8px;}
/* Kadence tweaks */
html:root{--global-palette1:#9C5B2E;--global-palette2:#7A4422;--global-palette3:#2B1A12;--global-palette4:#3E2C22;--global-palette5:#6E5A4E;--global-palette6:#9A8778;--global-palette7:#EFE3D3;--global-palette8:#FAF6F0;--global-palette9:#FFFFFF;}
h1,h2,h3,h4,.site-title,.entry-title{font-family:'Playfair Display',Georgia,serif !important;}
.site-header-row-container-inner{background:#2B1A12 !important;}
.site-main-header-wrap .site-header-row-container-inner{border-bottom:3px solid #C8A27A;}
.site-header .site-title, .site-header .header-navigation .menu > li > a, .site-header .search-toggle-open, .site-header .menu-toggle-open{color:#FAF6F0 !important;}
.site-header .header-navigation .menu > li > a:hover{color:#C8A27A !important;}
.site-header .header-navigation .sub-menu{background:#2B1A12 !important;}
.site-header .header-navigation .sub-menu a{color:#FAF6F0 !important;}
.site-header .site-title{font-size:30px;font-weight:700;letter-spacing:.3px;}
.site-header .site-description{color:#C8A27A !important;font-style:italic;}
.loop-entry{border-radius:12px;overflow:hidden;box-shadow:0 3px 16px rgba(43,26,18,.08);}
.loop-entry .post-thumbnail-inner img{transition:transform .35s;}
.loop-entry:hover .post-thumbnail-inner img{transform:scale(1.04);}
.loop-entry .entry-taxonomies a{background:#EFE3D3;color:#7A4422 !important;padding:2px 9px;border-radius:20px;font-size:11px;text-transform:uppercase;letter-spacing:.6px;}
.site-footer-row-container-inner{background:#2B1A12 !important;color:#C9B8A8;}
.site-footer a{color:#FAF6F0 !important;}

/* === HOMEPAGE START v1 === */
/* Site-wide "Café Editorial" look for Kadence */
:root{
--global-palette1:#9C5B2E;--global-palette2:#7A4422;--global-palette3:#2B1A12;--global-palette4:#3B2A20;--global-palette5:#6E5A4E;
--global-palette6:#A8968A;--global-palette7:#EFE3D3;--global-palette8:#FAF6F0;--global-palette9:#FFFFFF;
--global-body-font-family:'DM Sans',system-ui,sans-serif;--global-heading-font-family:Fraunces,Georgia,serif;
}
body{background:#FAF6F0;font-family:'DM Sans',system-ui,sans-serif;color:#2B1A12}
h1,h2,h3,h4,.entry-title,.site-title{font-family:Fraunces,Georgia,serif;color:#2B1A12}
.site-header,.site-header-row-container-inner,#masthead .site-main-header-wrap .site-header-row-container-inner{background:#FAF6F0 !important}
#masthead{border-bottom:1px solid #E6DACB}
.site-branding .site-title{font-family:Fraunces,Georgia,serif;font-weight:700;font-size:30px;color:#2B1A12}
.main-navigation .primary-menu-container > ul > li.menu-item > a{color:#2B1A12;font-weight:500;font-size:15px}
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover{color:#9C5B2E}
.site-footer,.site-footer .site-footer-row-container-inner{background:#2B1A12 !important;color:#E2D3C1}
.site-footer a{color:#F1E6D8}
.content-bg,.entry.content-bg,body.content-style-unboxed .site{background:#FAF6F0}
.entry-content a{color:#7A4422}
.amz-btn,.amz-btn:hover{color:#111 !important}
#masthead .site-header-row-container-inner{border-bottom:1px solid #E6DACB !important;box-shadow:none !important}
#masthead,#masthead .site-header-wrap{border-bottom:0 !important;box-shadow:none !important}
#masthead .site-title,#masthead .site-branding a,#masthead .primary-menu-container > ul > li > a,#masthead .header-navigation .menu > li > a,#masthead .menu-toggle-open,#masthead .search-toggle-open{color:#2B1A12 !important}
#masthead .primary-menu-container > ul > li > a:hover{color:#9C5B2E !important}
#masthead .sub-menu{background:#2B1A12 !important}
#masthead .sub-menu a{color:#FAF6F0 !important}
#masthead .sub-menu a:hover{color:#E8C9A3 !important;background:transparent !important}
#masthead .site-title{font-family:Fraunces,Georgia,serif !important;font-weight:700 !important;font-size:30px !important}
/* Article width + one-line tables */
.entry-content figure.wp-block-table,.entry-content .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-left:0;margin-right:0}
.entry-content table{width:100%;border-collapse:collapse;font-size:14px}
.entry-content figure.wp-block-table table{width:max-content;min-width:100%}
.entry-content th,.entry-content td{white-space:nowrap;padding:8px 12px;vertical-align:middle}
.entry-content td img.table-thumb{display:inline-block !important;vertical-align:middle;margin:0 10px 0 0 !important;width:44px;height:44px;object-fit:contain}
.entry-content td .amz-btn{white-space:nowrap;display:inline-block}
.content-width-narrow .content-container.site-container,.content-width-narrow .site-container{--global-content-narrow-width:1100px}
body.content-width-narrow{--global-content-narrow-width:1100px}
.content-width-narrow .content-area{max-width:1100px;margin-left:auto;margin-right:auto}
/* Product image frames (white-background photos sit on a white card) */
.entry-content figure.wp-block-image:has(img[style*="width"]),.entry-content figure.wp-block-image:has(img.product-img){text-align:center}
.entry-content img[style*="width"]:not(.table-thumb),.entry-content img.product-img{box-sizing:content-box;background:#fff;padding:18px;border:1px solid #EADFD0;border-radius:14px;box-shadow:0 8px 22px rgba(43,26,18,.08);max-width:calc(100% - 38px);height:auto;object-fit:contain}
.entry-content figure.wp-block-image figcaption{color:#6E5A4E;font-size:13px;margin-top:10px}
.entry-content img.table-thumb{background:#fff;border:1px solid #EADFD0;border-radius:8px;padding:3px;box-sizing:border-box}
#masthead .site-branding .custom-logo,#masthead .custom-logo{max-height:50px !important;height:50px !important;width:auto !important;max-width:none !important}
#masthead .site-branding a.brand,#masthead .site-branding .brand{display:flex !important;align-items:center;gap:10px}
#masthead .site-branding .site-title-wrap{display:block}
.eahh-foot-brand{display:inline-flex;align-items:center;gap:8px}
.eahh-foot-brand img{height:30px;width:auto}
/* Homepage */
.eahh{font-family:'DM Sans',system-ui,sans-serif;color:#2B1A12;background:#FAF6F0}
.eahh *{box-sizing:border-box}
.eahh a{text-decoration:none}
.eahh-wrap{max-width:1200px;margin:0 auto;padding-left:24px;padding-right:24px}
.eahh-sec{padding-top:56px;padding-bottom:56px}
.eahh-sec-tight{padding-top:0;padding-bottom:56px}
.eahh-hero-sec{padding-top:32px;padding-bottom:48px}
.eahh-kicker{font-size:13px;font-weight:700;letter-spacing:2px;color:#E8C9A3;text-transform:uppercase}
.eahh-kicker-dark{color:#7A4422;font-size:12px;letter-spacing:1.6px}
.eahh-h2{margin:0 0 6px;font-family:Fraunces,Georgia,serif;font-weight:700;font-size:38px;line-height:1.1;color:#2B1A12}
.eahh-sub{margin:0 0 24px;color:#6E5A4E;font-size:17px}
.eahh-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.eahh-head .eahh-h2{margin:0}
.eahh-head > a{font-weight:700;color:#7A4422}
.eahh-hero{position:relative;height:560px;border-radius:18px;overflow:hidden;background:#2B1A12}
.eahh-hero > img{width:100%;height:100%;object-fit:cover;display:block}
.eahh-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(43,26,18,.82) 0%,rgba(43,26,18,.3) 60%,rgba(43,26,18,0) 100%)}
.eahh-hero-copy{position:absolute;z-index:1;left:56px;top:50%;transform:translateY(-50%);max-width:540px;display:flex;flex-direction:column;gap:20px}
.eahh-hero h1{margin:0;font-family:Fraunces,Georgia,serif;font-weight:700;font-size:clamp(38px,5vw,64px);line-height:1.02;color:#FAF6F0}
.eahh-hero p{margin:0;font-size:18px;line-height:1.6;color:#F1E6D8}
.eahh-btns{display:flex;gap:12px;flex-wrap:wrap}
.eahh-btn{background:#C8A27A;color:#2B1A12 !important;padding:14px 22px;border-radius:28px;font-weight:700}
.eahh-btn:hover{background:#D9B48C}
.eahh-btn-ghost{background:transparent;border:1px solid #F1E6D8;color:#FAF6F0 !important}
.eahh-btn-ghost:hover{background:rgba(250,246,240,.12)}
.eahh-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.eahh-path{background:#fff;border:1px solid #EADFD0;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;color:#2B1A12;transition:transform .15s,box-shadow .15s}
.eahh-path:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(43,26,18,.1)}
.eahh-path-img{display:block;height:170px}
.eahh-path-img img{width:100%;height:100%;object-fit:cover;display:block}
.eahh-path-txt{padding:18px 20px 22px;display:flex;flex-direction:column;gap:6px}
.eahh-path-txt strong{font-family:Fraunces,Georgia,serif;font-weight:700;font-size:22px}
.eahh-path-txt small{font-size:14px;color:#6E5A4E;line-height:1.5}
.eahh-band{background:#EFE3D3;padding:56px 0;margin-bottom:0}
.eahh-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center}
.eahh-split-wide{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:36px;align-items:start;padding-top:0}
.eahh-calc-copy{display:flex;flex-direction:column;gap:14px}
.eahh-calc-copy .eahh-h2{font-size:40px}
.eahh-calc-copy p{margin:0;font-size:17px;line-height:1.6;color:#4A3628}
.eahh-calc{background:#fff;border-radius:18px;padding:28px;display:flex;flex-direction:column;gap:14px}
.eahh-methods{display:flex;gap:8px;flex-wrap:wrap}
.eahh-methods button{padding:10px 16px;border-radius:22px;border:1px solid #E6DACB;background:#fff;color:#2B1A12;font-weight:700;font-size:14px;cursor:pointer;font-family:inherit}
.eahh-methods button.is-on{background:#2B1A12;border-color:#2B1A12;color:#FAF6F0}
.eahh-cups-label{font-size:14px;font-weight:700}
#eahh-cups{accent-color:#9C5B2E;width:100%;border:0 !important;padding:0 !important;background:transparent !important;box-shadow:none !important;height:24px}
.eahh-out{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.eahh-out > div{background:#FAF6F0;border-radius:12px;padding:14px}
.eahh-out small{display:block;font-size:12px;color:#6E5A4E}
.eahh-out strong{font-family:Fraunces,Georgia,serif;font-size:24px;font-weight:700}
.eahh-grind{margin:0;font-size:14px;color:#4A3628}
.eahh-calc-link{font-weight:700;color:#7A4422}
.eahh-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.eahh-card{display:flex;flex-direction:column;gap:10px}
.eahh-card-img{display:block;height:250px;border-radius:14px;overflow:hidden;background:#EFE3D3}
.eahh-card-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.eahh-card:hover .eahh-card-img img{transform:scale(1.03)}
.eahh-type{font-size:12px;font-weight:700;letter-spacing:1.2px;color:#7A4422;text-transform:uppercase;margin-top:4px}
.eahh-card-title{font-family:Fraunces,Georgia,serif;font-weight:700;font-size:25px;line-height:1.2;color:#2B1A12}
.eahh-card-title:hover{color:#7A4422}
.eahh-meta{font-size:14px;color:#6E5A4E}
.eahh-video{position:relative;display:block;aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:#2B1A12}
.eahh-video img,.eahh-video iframe{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:0}
.eahh-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:76px;height:76px;border-radius:50%;background:#FAF6F0;color:#2B1A12;display:flex;align-items:center;justify-content:center}
.eahh-video-cap{position:absolute;left:20px;bottom:16px;right:20px;background:rgba(43,26,18,.85);color:#FAF6F0;padding:8px 12px;border-radius:8px;font-weight:700;width:max-content;max-width:calc(100% - 40px)}
.eahh-vmore{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
.eahh-video-sm{border-radius:10px}
.eahh-video-sm .eahh-play{width:40px;height:40px}
.eahh-gear{background:#fff;border:1px solid #EADFD0;border-radius:16px;padding:26px;display:flex;flex-direction:column;gap:8px;margin-top:58px}
.eahh-gear-row{display:flex;gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid #F1E8DC}
.eahh-gear-row:last-child{border-bottom:0}
.eahh-gear-img{width:70px;height:70px;border-radius:10px;border:1px solid #F1E8DC;overflow:hidden;flex:none;background:#fff}
.eahh-gear-img img{width:100%;height:100%;object-fit:contain}
.eahh-gear-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.eahh-gear-txt small{font-size:13px;color:#6E5A4E}
.eahh .amz-btn{white-space:nowrap}
.eahh-news{background:#2B1A12;color:#FAF6F0;padding:56px 0}
.eahh-news-in{max-width:760px;margin:0 auto;padding:0 24px;text-align:center;display:flex;flex-direction:column;gap:16px;align-items:center}
.eahh-news h2{margin:0;font-family:Fraunces,Georgia,serif;font-size:42px;color:#FAF6F0}
.eahh-news p{margin:0;color:#E2D3C1;font-size:17px;line-height:1.6}
.eahh-news form{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.eahh-news input[type=email]{border:0;border-radius:28px;padding:14px 20px;font-size:16px;width:300px;max-width:100%;background:#fff;color:#2B1A12}
.eahh-news button{background:#C8A27A;color:#2B1A12;border:0;border-radius:28px;padding:14px 24px;font-weight:700;font-size:15px;cursor:pointer;font-family:inherit}
@media (max-width:960px){.eahh-grid4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:860px){.eahh-split,.eahh-split-wide{grid-template-columns:1fr}.eahh-grid3{grid-template-columns:1fr}.eahh-hero{height:480px}.eahh-hero-copy{left:24px;right:24px}.eahh-gear{margin-top:0}}
@media (max-width:520px){.eahh-grid4{grid-template-columns:1fr}.eahh-out strong{font-size:19px}}

.site-footer{display:none !important}
.eahh-foot{background:#FAF6F0;border-top:1px solid #E6DACB;padding:36px 0;font-family:'DM Sans',system-ui,sans-serif}
.eahh-foot-in{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;font-size:14px;color:#6E5A4E}
.eahh-foot-brand{font-family:Fraunces,Georgia,serif;font-weight:700;font-size:22px;color:#2B1A12 !important;text-decoration:none}
.eahh-foot-brand em{color:#9C5B2E;font-weight:500}
.eahh-foot nav{display:flex;gap:22px;flex-wrap:wrap}
.eahh-foot nav a{color:#2B1A12;text-decoration:none}.eahh-foot nav a:hover{color:#9C5B2E}
.eahh-foot p{margin:0}
/* === HOMEPAGE END === */