/*
Theme Name: Brewie Editorial
Version: 0.6.0
Description: Independent brewing technology and homebrewing editorial theme. Staging build.
Text Domain: brewie-editorial
Requires at least: 6.2
Requires PHP: 7.4
*/
:root{--ink:#202b26;--muted:#53635a;--green:#203d31;--cream:#f7f5ed;--gold:#e8bb61;--line:#dce3da;--white:#fff}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff;font:16px/1.7 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:#24664c;text-underline-offset:3px}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #a56f13;outline-offset:3px}img{max-width:100%;height:auto}h1,h2,h3{letter-spacing:-.035em;line-height:1.22}h1{font-size:clamp(2rem,5vw,3.6rem)}h2{font-size:clamp(1.6rem,3vw,2.25rem)}.wrap{max-width:1200px;padding-inline:28px;margin-inline:auto}.site-head{border-bottom:1px solid var(--line);background:var(--cream)}.head-row{display:flex;align-items:center;justify-content:space-between;gap:22px;padding-block:20px;flex-wrap:wrap}.brand{font-size:1.8rem;font-weight:850;text-decoration:none;color:var(--green);letter-spacing:-.06em}.custom-logo{display:block;max-width:200px;max-height:65px;object-fit:contain}.nav ul,.site-foot .menu{display:flex;flex-wrap:wrap;list-style:none;gap:8px 20px;padding:0;margin:0}.nav a{font-size:.89rem;text-decoration:none;font-weight:650;color:var(--ink);display:block;padding-block:6px}.nav a:hover,.nav a[aria-current]{text-decoration:underline}.nav .sub-menu{padding-left:12px;font-size:.85rem}.hero{background:var(--green);color:white;padding:clamp(44px,7vw,90px) 0}.hero-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:center;gap:38px}.hero-layout.no-image{display:block}.hero h1{max-width:820px;font-size:clamp(2.5rem,5.8vw,4.7rem);letter-spacing:-.065em;line-height:1.03;margin:14px 0 22px}.hero p{max-width:660px;color:#e3ebe4;font-size:1.13rem}.hero-image img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px;display:block}.kicker{display:block;text-transform:uppercase;letter-spacing:.15em;font-size:.75rem;font-weight:750;color:var(--gold)}.section .kicker,.entry .kicker{color:#526b58}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.cta{display:inline-block;background:var(--gold);color:#1d3025;text-decoration:none;font-weight:750;padding:11px 20px;border-radius:4px}.cta.secondary{background:transparent;border:1px solid #b5c8ba;color:white}.section{padding-block:48px}.section+.section{border-top:1px solid var(--line)}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:24px}.section-head h2{margin:0}.section-head p{margin:5px 0 0;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.tile{border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#fff;min-width:0;display:flex;flex-direction:column}.tile img{aspect-ratio:3/2;width:100%;object-fit:cover;display:block}.tile-body{padding:22px;flex:1}.tile h2,.tile h3{font-size:1.28rem;margin:6px 0 10px}.tile a{text-decoration:none;color:var(--green)}.tile a:hover{text-decoration:underline}.tile p{color:var(--muted);font-size:.94rem;margin:0 0 10px}.tile-category{color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.09em;font-weight:700}.entry{max-width:870px;margin:0 auto;padding:36px 28px 64px;overflow-wrap:anywhere}.entry h1{margin:16px 0 20px}.entry h2{margin-top:36px;font-size:1.65rem}.entry h3{margin-top:24px}.crumb{font-size:.84rem;color:var(--muted)}.crumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:4px 8px;margin:0;padding:0}.crumb li+li:before{content:"/";margin-right:8px;color:#77867d}.summary{font-size:1.17rem;color:var(--muted);margin-bottom:26px}.entry .wp-post-image{width:100%;height:auto;border-radius:5px;display:block;margin-bottom:26px}.entry table{display:block;overflow-x:auto;max-width:100%;border-collapse:collapse}.entry td,.entry th{padding:9px;border:1px solid var(--line)}.entry iframe,.entry video{max-width:100%}.entry pre{overflow:auto;background:var(--cream);padding:16px}.entry blockquote{border-left:4px solid var(--gold);margin-left:0;padding-left:20px;color:var(--muted)}.entry .aligncenter{margin-inline:auto;display:block}.entry .alignwide{max-width:100%}.entry-bottom{border-top:1px solid var(--line);margin-top:36px;padding-top:18px}.site-foot{background:var(--cream);padding:40px 0;border-top:1px solid var(--line);font-size:.9rem;color:var(--muted)}.foot-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:30px}.foot-grid strong{font-size:1.1rem;color:var(--green)}.pagination .nav-links,.pagination{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px;align-items:center}.page-numbers{padding:6px 12px;border:1px solid var(--line);border-radius:4px;text-decoration:none}.page-numbers.current{background:var(--green);color:white}.search-form{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.search-field{max-width:100%;padding:10px;border:1px solid #9aaca0;border-radius:3px;font:inherit}.search-submit{padding:11px 16px;border:0;background:var(--green);color:#fff;border-radius:3px;font:inherit;cursor:pointer}.skip,.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip:focus,.screen-reader-text:focus{width:auto;height:auto;clip-path:none;left:8px;top:8px;background:white;padding:12px;z-index:99}.wp-block-image figcaption{font-size:.85rem;color:var(--muted)}@media(max-width:850px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-layout{grid-template-columns:1fr}.hero-image{max-width:660px}.head-row{gap:12px}}@media(max-width:540px){.grid,.foot-grid{grid-template-columns:1fr}.wrap{padding-inline:16px}.nav ul{gap:4px 14px}.nav a{font-size:.85rem}.entry{padding:24px 16px 48px}.section{padding-block:32px}.tile-body{padding:18px}.hero p{font-size:1rem}}

/* Keep long reference URLs inside small viewports. */
.entry a,.tile-body a,.archive-description{overflow-wrap:anywhere;}

.bwe-photo-credit{display:block;font-size:.75rem;line-height:1.4;color:var(--muted);padding:7px 12px;overflow-wrap:anywhere}.hero .bwe-photo-credit,.hero .bwe-photo-credit a{color:#e3ebe4}.entry .bwe-photo-credit{padding:0 0 20px}.entry .wp-post-image{margin-bottom:8px}.bwe-photo-credit a{text-decoration:underline}
