/*
Theme Name:   EBEClaw (Astra Child)
Description:  Editorial child theme for EBEClaw: ERISA, employee benefits and executive compensation.
Template:     astra
Version:      1.0.17
Text Domain:  ebeclaw
*/
:root{--bg:#FBF9F5;--ink:#1C1B19;--ink2:#4A4741;--mute:#6B675F;--line:#E4DFD5;--ph:#E9E4D9;--accent:#8C2F39;--sans:Inter,Arial,sans-serif;--serif:"Source Serif 4",Georgia,serif}
body.ebeclaw{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.5}
.ebeclaw *{box-sizing:border-box}.ebeclaw a{color:inherit;text-decoration:none}.ebeclaw a:hover{color:var(--accent)}
.ebeclaw img{max-width:100%;height:auto;display:block}
.eb-wrap{max-width:1160px;margin:0 auto;padding:0 32px}
.eb-k{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);font-weight:600}
.eb-m{font-size:13px;color:var(--mute)}
.eb-ph{background:var(--ph);width:100%;height:100%}
/* header */
.eb-hd{position:sticky;top:0;z-index:50;background:var(--bg);border-bottom:1px solid var(--line);height:56px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.admin-bar .eb-hd{top:32px}
.eb-logo{font-family:var(--serif);font-weight:700;font-size:22px;letter-spacing:-.01em}.eb-logo b{color:var(--accent)}
.eb-nav{display:flex;align-items:center;gap:28px;font-size:14px;color:var(--ink2)}
.eb-nav ul{display:flex;gap:28px;list-style:none;margin:0;padding:0}
.eb-search{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--ink);width:150px}
.eb-search input{border:0;background:transparent;font:inherit;font-size:13px;padding:4px 0;width:100%;outline:0;color:var(--ink);border-radius:0}
.eb-menu{display:none;background:none;border:1px solid var(--line);padding:8px 14px;font:inherit;font-size:13px;min-height:44px;color:var(--ink);cursor:pointer}
/* intro + featured */
.eb-intro{padding:48px 0 8px;max-width:620px}.eb-intro p{font-family:var(--serif);font-size:20px;line-height:1.45;margin:10px 0 0;color:#3A3833}
.eb-feat{display:grid;grid-template-columns:1fr 1fr;gap:48px;padding:40px 0;border-bottom:1px solid var(--line);align-items:center}
.eb-feat .eb-img{order:2;height:340px;overflow:hidden}.eb-feat .eb-img img{width:100%;height:100%;object-fit:cover}
.eb-feat h2{font-family:var(--serif);font-size:40px;line-height:1.12;margin:10px 0 14px;font-weight:700;letter-spacing:-.015em}
.eb-feat p{font-family:var(--serif);font-size:18px;color:var(--ink2);margin:0 0 14px}
/* layout + feed */
.eb-main{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:72px;margin-top:8px}
.eb-row{display:grid;grid-template-columns:1fr 160px;gap:32px;padding:28px 0;border-bottom:1px solid var(--line)}
.eb-row h3{font-family:var(--serif);font-size:22px;line-height:1.25;margin:6px 0 8px;font-weight:600}
.eb-row p{margin:0 0 10px;color:var(--ink2)}
.eb-th{height:107px;overflow:hidden}.eb-th img{width:100%;height:100%;object-fit:cover}
.eb-pager{padding:28px 0;font-size:13px;display:flex;gap:16px}.eb-pager a,.eb-pager span{color:var(--accent);font-weight:600}
/* sidebar */
.eb-side section{padding:28px 0;border-bottom:1px solid var(--line)}
.eb-side h4{margin:0 0 12px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--mute);font-weight:600}
.eb-tags{display:flex;flex-wrap:wrap;gap:8px}.eb-tags a{border:1px solid #D9D3C6;padding:4px 12px;font-size:13px;border-radius:2px}
.eb-field{border:0;border-bottom:1px solid var(--ink);background:transparent;padding:8px 0;font:inherit;width:100%;margin:8px 0 14px;border-radius:0;outline:0}
.eb-btn{background:var(--ink);color:var(--bg);border:0;padding:12px 20px;font:inherit;font-weight:500;min-height:44px;cursor:pointer;border-radius:0}
.ebeclaw .eb-btn:hover{color:var(--bg);background:var(--accent)}
/* single article */
.eb-ar{max-width:680px;margin:0 auto;padding:56px 20px 0}
.eb-ar h1{font-family:var(--serif);font-size:46px;line-height:1.1;letter-spacing:-.02em;margin:12px 0 16px;font-weight:700}
.eb-dek{font-size:21px;color:var(--ink2);line-height:1.4;margin:0 0 24px}
.eb-by{display:flex;gap:12px;align-items:center;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.eb-by img{border-radius:50%;width:40px;height:40px}
.eb-hero{margin:32px 0 40px}.eb-hero img{width:100%}
.eb-body p,.eb-body li{font-family:var(--serif);font-size:20px;line-height:1.7;margin:0 0 24px;color:#26241F}
.eb-body h2{font-family:var(--serif);font-size:28px;margin:44px 0 14px;line-height:1.2}
.eb-body h3{font-family:var(--serif);font-size:22px;margin:32px 0 10px}
.eb-body ul,.eb-body ol{padding-left:24px;margin:0 0 24px}.eb-body li{margin:0 0 8px}
.eb-body blockquote{margin:32px 0;padding:0 0 0 24px;border-left:2px solid var(--accent)}
.eb-body blockquote p{font-style:italic;font-size:23px;line-height:1.45}
.eb-body a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.eb-body .wp-block-table,.eb-body figure.wp-block-table{overflow-x:auto;margin:0 0 32px}
.eb-body table{border-collapse:collapse;width:100%;font-family:var(--sans);font-size:14px;min-width:460px;border:0}
.eb-body th{text-align:left;font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:var(--mute);border:0;border-bottom:1px solid var(--ink);padding:8px 12px 8px 0;background:none}
.eb-body td{border:0;border-bottom:1px solid var(--line);padding:12px 12px 12px 0;vertical-align:top}
.eb-author{display:flex;gap:16px;align-items:center;margin-top:48px;padding-top:24px;border-top:1px solid var(--line)}
.eb-author img{border-radius:50%;width:56px;height:56px}
.eb-author strong{font-family:var(--serif);font-size:18px}
.eb-rel{max-width:680px;margin:64px auto 0;padding:0 20px}.eb-rel h4{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--mute);margin:0 0 4px}
.eb-rl{display:block;padding:18px 0;border-bottom:1px solid var(--line)}.eb-rl span.t{display:block;font-family:var(--serif);font-size:19px;font-weight:600;line-height:1.3}
/* Bio */
.eb-bio{display:grid;grid-template-columns:280px 1fr;gap:64px;max-width:900px;margin:0 auto;padding:64px 32px 0}
.eb-bio .eb-photo img{width:100%;aspect-ratio:4/5;object-fit:cover}
.eb-bio h1,.eb-page h1{font-family:var(--serif);font-size:44px;margin:8px 0 20px;line-height:1.1}
.eb-bio .eb-body p{font-size:19px}
.credentials{border-top:1px solid var(--line);margin-top:32px}
.credentials p{display:flex;gap:24px;padding:14px 0;margin:0;border-bottom:1px solid var(--line);font-family:var(--sans);font-size:14px}
.credentials p strong{width:120px;flex:none;color:var(--mute);font-weight:400}
/* Articles list (page content: a List block; format "Title <span>Publication · Year</span> <a>PDF</a>") */
.eb-page{max-width:760px;margin:0 auto;padding:64px 20px 0}
.eb-page.narrow{max-width:560px}
.eb-articles ul{list-style:none;margin:0;padding:0}
.eb-articles li{display:flex;justify-content:space-between;align-items:baseline;gap:24px;padding:18px 0;margin:0;border-bottom:1px solid var(--line);font-family:var(--serif);font-size:20px;font-weight:600;line-height:1.3}
.eb-articles li span{display:block;font-family:var(--sans);font-size:13px;font-weight:400;color:var(--mute)}
.eb-articles li a{font-family:var(--sans);font-size:13px;font-weight:400;color:var(--mute);text-decoration:underline;text-underline-offset:3px;white-space:nowrap;order:2}
/* Contact */
.eb-form label{display:block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--mute);margin-top:24px}
.eb-form input,.eb-form textarea{width:100%;border:0;border-bottom:1px solid var(--ink);background:transparent;font:inherit;font-size:17px;padding:10px 0;outline:0;border-radius:0;box-shadow:none}
.eb-form textarea{height:120px;resize:none}.eb-form .eb-btn{margin-top:32px;padding:14px 28px}
.eb-note{margin-top:16px;color:var(--accent)}
.eb-ft{border-top:1px solid var(--line);margin-top:80px;padding:32px 0;font-size:13px;color:var(--mute)}
/* tablet */
@media(max-width:900px){
.eb-nav ul,.eb-search{display:none}.eb-menu{display:block}.eb-hd{padding:0 20px}.eb-wrap{padding:0 20px}
.eb-nav.open{position:absolute;top:56px;left:0;right:0;background:var(--bg);border-bottom:1px solid var(--line);padding:8px 20px}
.eb-nav.open ul{display:flex;flex-direction:column;gap:0;width:100%}.eb-nav.open li a{display:block;padding:14px 0;border-bottom:1px solid var(--line)}
.eb-main{grid-template-columns:1fr;gap:0}.eb-feat{grid-template-columns:1fr;gap:24px}.eb-feat h2{font-size:32px}.eb-feat .eb-img{order:0;height:260px}
.eb-bio{grid-template-columns:1fr;gap:24px;padding:40px 20px 0}.eb-bio .eb-photo{max-width:280px}}
/* mobile */
@media(max-width:640px){
.eb-row{grid-template-columns:1fr 96px;gap:16px}.eb-th{height:72px}.eb-row h3{font-size:19px}.eb-row p{display:none}
.eb-intro p{font-size:18px}.eb-ar h1,.eb-bio h1,.eb-page h1{font-size:34px}.eb-body p,.eb-body li{font-size:18px}.eb-dek{font-size:18px}
.eb-articles li{flex-direction:column;gap:6px;align-items:flex-start}.eb-articles li a{order:0}}
/* no focus rings / dotted outlines (Astra + browser defaults) */
body.ebeclaw a:focus,body.ebeclaw a:active,body.ebeclaw button:focus,body.ebeclaw input:focus,body.ebeclaw textarea:focus,body.ebeclaw select:focus,body.ebeclaw .eb-menu:focus{outline:0 !important;box-shadow:none !important}
body.ebeclaw button::-moz-focus-inner,body.ebeclaw input::-moz-focus-inner{border:0}
body.ebeclaw input:focus,body.ebeclaw textarea:focus{border-color:var(--accent) !important}
body.ebeclaw .eb-search input:focus{border-color:transparent !important}
body.ebeclaw .eb-search:focus-within{border-bottom-color:var(--accent)}
/* content images stay inside the column */
.eb-body img{max-width:100%;height:auto}.eb-body figure{margin:0 0 32px}.eb-body figcaption{font-size:13px;color:var(--mute);margin-top:8px}

/* Editorial refinement: richer publication rhythm, responsive surfaces and accessible states */
:root{--bg:#faf8f4;--ink:#211d1b;--ink2:#514944;--mute:#777069;--line:#e5ded4;--ph:#e9e2d8;--accent:#842f3b;--accent-dark:#65232d;--serif:"Source Serif 4",Georgia,serif;--sans:Inter,Arial,sans-serif}
body.ebeclaw{background:var(--bg);font-size:16px;line-height:1.65;overflow-wrap:anywhere}
body.ebeclaw #page,body.ebeclaw .site-content,body.ebeclaw .ast-container{max-width:none;width:100%;padding:0;margin:0}
.eb-wrap{max-width:1280px;padding-inline:clamp(20px,4vw,56px)}
.eb-hd{height:72px;padding-inline:clamp(20px,4vw,56px);box-shadow:0 2px 10px rgba(35,25,20,.025);gap:clamp(12px,2vw,28px)}
.eb-logo{font-size:26px;letter-spacing:-.035em;white-space:nowrap}.eb-logo b{font-weight:700}
.eb-nav{gap:clamp(14px,2vw,32px)}.eb-nav ul{gap:clamp(14px,2vw,28px)}.eb-nav a{transition:color .2s ease}.eb-nav ul a{position:relative;padding:8px 0}.eb-nav ul a:after{content:"";position:absolute;left:0;right:100%;bottom:2px;height:1px;background:var(--accent);transition:right .22s ease}.eb-nav ul a:hover:after,.eb-nav ul a:focus-visible:after{right:0}
.eb-search{width:clamp(115px,14vw,170px);padding-bottom:4px}.eb-search input{font-size:14px}
.eb-intro{padding:clamp(38px,5vw,68px) 0 18px;max-width:760px}.eb-intro .eb-k{display:inline-flex;align-items:center;gap:10px}.eb-intro .eb-k:before{content:"";width:24px;height:1px;background:var(--accent)}.eb-intro p{font-size:clamp(20px,2.3vw,27px);line-height:1.48;letter-spacing:-.01em;color:#35312d;margin-top:18px}
.eb-feat{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:clamp(28px,5vw,72px);padding:clamp(28px,4vw,52px) 0 clamp(38px,5vw,64px);border-bottom:1px solid var(--line)}
.eb-feat .eb-img{order:0;height:auto;aspect-ratio:1.45;position:relative;background:var(--ph);border-radius:4px;overflow:hidden}.eb-feat .eb-img img{transition:transform .7s cubic-bezier(.2,.7,.2,1)}.eb-feat .eb-img:hover img{transform:scale(1.035)}
.eb-feat>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;max-width:600px}.eb-feat .eb-k{font-size:11px;letter-spacing:.13em}.eb-feat h2{font-size:clamp(34px,4vw,54px);line-height:1.08;letter-spacing:-.035em;margin:14px 0 18px}.eb-feat p{font-size:clamp(17px,1.7vw,20px);line-height:1.55;margin-bottom:20px}.eb-feat .eb-m{font-size:13px;line-height:1.5}
.eb-main{grid-template-columns:minmax(0,1fr) minmax(250px,320px);gap:clamp(32px,5vw,72px);margin-top:34px;align-items:start}.eb-main>div:first-child{min-width:0}.eb-feed-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 0 14px;border-bottom:2px solid var(--ink);margin-bottom:2px}.eb-feed-head h2{font:600 23px/1.2 var(--serif);margin:0;letter-spacing:-.02em}.eb-feed-head .eb-k{font-size:10px;letter-spacing:.12em}
.eb-row{grid-template-columns:minmax(0,1fr) minmax(140px,190px);gap:clamp(20px,3vw,36px);padding:26px 0;border-bottom:1px solid var(--line);align-items:center}.eb-row h3{font-size:clamp(21px,2vw,26px);line-height:1.22;letter-spacing:-.025em;margin:8px 0 10px}.eb-row p{font-size:15px;line-height:1.6;margin-bottom:12px;color:#58514b}.eb-row .eb-k{font-size:10px;letter-spacing:.12em}.eb-th{height:auto;aspect-ratio:1.42;border-radius:3px;background:var(--ph)}.eb-th img{transition:transform .55s ease}.eb-row:hover .eb-th img{transform:scale(1.04)}
.eb-side{position:sticky;top:98px;border:1px solid var(--line);background:#f5f1eb;padding:0 24px;border-radius:4px}.eb-side section{padding:24px 0;border-bottom:1px solid #ddd5ca}.eb-side section:last-child{border-bottom:0}.eb-side h4{font-size:11px;letter-spacing:.12em;color:var(--ink);margin-bottom:14px}.eb-side p{font-size:14px;line-height:1.6}.eb-tags{gap:8px}.eb-tags a{padding:6px 11px;border-color:#d4cbbf;border-radius:3px;font-size:12px;transition:background .2s,border-color .2s,color .2s}.eb-tags a:hover{background:var(--accent);border-color:var(--accent);color:#fff}.eb-field{font-size:14px;padding:10px 0}.eb-btn{border-radius:3px;transition:background .2s ease,transform .2s ease}.eb-btn:hover{transform:translateY(-1px)}
.eb-pager{padding:26px 0;display:flex;gap:10px}.eb-pager a{border:1px solid var(--line);padding:9px 14px;border-radius:3px;transition:background .2s,border-color .2s}.eb-pager a:hover{background:var(--accent);border-color:var(--accent);color:#fff}
.eb-ar{padding-top:clamp(38px,6vw,72px);max-width:760px}.eb-ar h1{font-size:clamp(38px,5.3vw,64px);letter-spacing:-.035em;line-height:1.05}.eb-dek{font-size:clamp(19px,2.2vw,24px);line-height:1.55}.eb-by{gap:14px;padding:18px 0}.eb-hero{margin:clamp(24px,4vw,40px) 0}.eb-hero img{width:100%;height:auto;max-height:620px;object-fit:cover;border-radius:3px}.eb-body p,.eb-body li{font-size:clamp(18px,1.5vw,21px);line-height:1.78}.eb-body h2{font-size:clamp(27px,3vw,34px);letter-spacing:-.025em}.eb-body blockquote{background:#f3eee7;padding:22px 24px;border-left:3px solid var(--accent);border-radius:0 3px 3px 0}.eb-author{padding:28px 0;margin-top:52px}.eb-rel{max-width:760px}.eb-rl{padding:20px 0}.eb-rl span.t{font-size:21px;transition:color .2s}.eb-rl:hover span.t{color:var(--accent)}
.eb-bio{max-width:1080px;grid-template-columns:minmax(240px,340px) minmax(0,1fr);gap:clamp(32px,6vw,84px);padding-top:clamp(40px,6vw,72px)}.eb-bio .eb-photo img{border-radius:3px}.eb-bio h1,.eb-page h1{font-size:clamp(36px,4.5vw,56px);letter-spacing:-.035em}.eb-bio .eb-body p{font-size:clamp(17px,1.5vw,20px);line-height:1.75}
.eb-page{padding-top:clamp(40px,6vw,72px)}.eb-articles li{padding:20px 0;gap:18px}.eb-ft{margin-top:clamp(48px,7vw,88px);padding:32px 0 42px;line-height:1.65}.eb-ft:before{content:"";display:block;width:36px;height:2px;background:var(--accent);margin-bottom:20px}
/* Keyboard access and visible focus */
body.ebeclaw a:focus-visible,body.ebeclaw button:focus-visible,body.ebeclaw input:focus-visible,body.ebeclaw textarea:focus-visible{outline:2px solid var(--accent)!important;outline-offset:3px!important;box-shadow:none!important}
@media(max-width:1024px){
 .eb-hd{height:68px}.eb-main{grid-template-columns:minmax(0,1fr) 280px;gap:28px}.eb-side{padding-inline:18px}.eb-feat{gap:28px}.eb-feat h2{font-size:clamp(32px,4vw,44px)}
}
@media(max-width:900px){
 .eb-hd{position:sticky}.eb-nav{gap:0}.eb-nav ul,.eb-search{display:none}.eb-menu{display:block;border-radius:3px}.eb-nav.open{position:absolute;top:68px;left:0;right:0;background:var(--bg);border-bottom:1px solid var(--line);padding:14px clamp(20px,4vw,36px) 18px;box-shadow:0 12px 24px rgba(30,20,15,.07)}.eb-nav.open ul{display:flex;flex-direction:column;gap:0;width:100%}.eb-nav.open li a{display:block;padding:13px 0;border-bottom:1px solid var(--line)}.eb-nav.open .eb-search{display:flex;width:100%;margin-top:16px;padding:8px 0}.eb-nav.open .eb-menu{position:absolute;right:clamp(20px,4vw,36px);top:14px}
 .eb-main{grid-template-columns:1fr;gap:24px}.eb-side{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin-top:8px}.eb-side section{padding:22px 0}.eb-feat{grid-template-columns:1fr 1fr;gap:24px}.eb-feat .eb-img{aspect-ratio:1.25}.eb-bio{grid-template-columns:240px minmax(0,1fr);gap:32px}
}
@media(max-width:640px){
 body.ebeclaw{font-size:15px}.eb-wrap{padding-inline:18px}.eb-hd{height:62px;padding-inline:18px}.eb-logo{font-size:23px}.eb-nav.open{top:62px;padding:12px 18px 16px}.eb-nav.open .eb-menu{right:18px;top:12px}.eb-menu{padding:8px 12px;min-height:40px}
 .eb-intro{padding:34px 0 8px}.eb-intro p{font-size:19px;line-height:1.5;margin-top:14px}.eb-feat{grid-template-columns:1fr;gap:18px;padding:26px 0 34px}.eb-feat .eb-img{aspect-ratio:1.35;height:auto}.eb-feat h2{font-size:clamp(31px,9vw,39px);margin:10px 0 12px}.eb-feat p{font-size:17px;margin-bottom:14px}.eb-feat .eb-m{font-size:12px}
 .eb-main{margin-top:24px;gap:16px}.eb-feed-head{padding-bottom:12px}.eb-feed-head h2{font-size:21px}.eb-row{grid-template-columns:minmax(0,1fr) 104px;gap:14px;padding:20px 0;align-items:start}.eb-row h3{font-size:18px;line-height:1.25;margin:5px 0 7px}.eb-row p{display:none}.eb-row .eb-k{font-size:9px;letter-spacing:.1em}.eb-row .eb-m{font-size:11px;line-height:1.4}.eb-th{aspect-ratio:1.15;height:auto}.eb-pager{padding:20px 0}
 .eb-side{grid-template-columns:1fr;padding-inline:16px;margin-top:18px}.eb-side section{padding:18px 0}.eb-side h4{margin-bottom:10px}.eb-side p{font-size:13px}.eb-tags a{font-size:12px}
 .eb-ar{padding:36px 18px 0}.eb-ar h1{font-size:clamp(34px,9vw,42px);line-height:1.07}.eb-dek{font-size:18px}.eb-by{padding:14px 0;gap:10px}.eb-hero{margin:24px 0 28px}.eb-body p,.eb-body li{font-size:18px;line-height:1.72;margin-bottom:20px}.eb-body h2{font-size:27px;margin:34px 0 12px}.eb-body h3{font-size:22px}.eb-body blockquote{padding:18px;margin-inline:0}.eb-body blockquote p{font-size:20px}.eb-body table{min-width:420px}.eb-author{gap:12px;margin-top:36px;padding-top:20px}.eb-rel{margin:48px auto 0;padding-inline:18px}.eb-rl span.t{font-size:19px}
 .eb-bio{grid-template-columns:1fr;gap:22px;padding:34px 18px 0}.eb-bio .eb-photo{max-width:220px}.eb-bio h1,.eb-page h1{font-size:36px}.eb-bio .eb-body p{font-size:17px;line-height:1.7}.credentials p{gap:12px}.credentials p strong{width:100px}
 .eb-page{padding:36px 18px 0}.eb-articles li{font-size:18px;padding:16px 0;gap:8px}.eb-articles li span{font-size:12px}.eb-form label{margin-top:20px}.eb-form input,.eb-form textarea{font-size:16px}.eb-ft{margin-top:48px;padding:26px 0 34px;font-size:12px}
}
@media(max-width:380px){.eb-row{grid-template-columns:minmax(0,1fr) 88px;gap:12px}.eb-row h3{font-size:17px}.eb-th{aspect-ratio:1}.eb-feat h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){.ebeclaw *,.ebeclaw *:before,.ebeclaw *:after{transition:none!important;scroll-behavior:auto!important}}

/* Targeted fixes: bio layout, article image duplication, and search UX */
.eb-bio.no-photo{display:block;max-width:760px;padding-inline:clamp(20px,4vw,32px)}
.eb-bio.no-photo .eb-body{max-width:680px}
.eb-bio.has-photo{grid-template-columns:minmax(220px,300px) minmax(0,1fr);align-items:start}
.eb-bio .eb-photo{min-width:0}
.eb-bio .eb-photo img{display:block;width:100%;height:auto;object-fit:cover}
.eb-search{width:clamp(160px,18vw,220px);min-height:38px;padding:5px 10px;gap:9px;border:1px solid var(--line);border-radius:999px;background:#fffefa;color:var(--mute);transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
.eb-search svg{flex:none;color:#817a72}
.eb-search input{min-width:0;border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;color:var(--ink);font-size:13px;padding:3px 0;border-radius:0!important}
.eb-search input::placeholder{color:#8d867d;opacity:1}
.eb-search:focus-within{border-color:rgba(132,47,59,.55);background:#fff;box-shadow:0 0 0 3px rgba(132,47,59,.09)}
.eb-search:focus-within svg{color:var(--accent)}
.eb-search input:focus-visible{outline:none!important;box-shadow:none!important;border:0!important}
@media(max-width:900px){.eb-nav.open .eb-search{border:1px solid var(--line);border-radius:999px;padding:7px 12px;background:#fffefa;box-shadow:none}.eb-nav.open .eb-search:focus-within{border-color:rgba(132,47,59,.55);box-shadow:0 0 0 3px rgba(132,47,59,.09)}}
@media(max-width:640px){.eb-bio.has-photo{grid-template-columns:1fr}.eb-bio.no-photo{padding-inline:18px}.eb-search{width:100%}}

/* Reference-inspired editorial page system: enhanced layouts for every template */
.eb-contact-page{max-width:1080px;padding-bottom:16px}.eb-contact-page>h1{max-width:760px;margin-bottom:14px}.eb-contact-lead{font-family:var(--serif);font-size:clamp(19px,2vw,24px);line-height:1.55;color:var(--ink2);max-width:760px;margin:0 0 42px}.eb-contact-grid{display:grid;grid-template-columns:minmax(260px,.78fr) minmax(0,1.22fr);gap:clamp(24px,5vw,64px);align-items:start}.eb-contact-panel{background:#f1ece5;border:1px solid var(--line);padding:clamp(22px,3vw,36px);border-radius:4px;position:relative;overflow:hidden}.eb-contact-panel:after{content:"";position:absolute;width:140px;height:140px;border:1px solid rgba(132,47,59,.16);border-radius:50%;right:-50px;bottom:-55px;pointer-events:none}.eb-contact-panel h2{font:600 clamp(27px,3vw,36px)/1.16 var(--serif);letter-spacing:-.025em;margin:14px 0}.eb-contact-panel p{font-size:15px;line-height:1.7;color:var(--ink2);margin:0}.eb-contact-note{padding:24px 4px 0}.eb-contact-note strong{font-size:12px;text-transform:uppercase;letter-spacing:.1em}.eb-contact-note p{font-size:14px;color:var(--mute);line-height:1.65;margin:8px 0 0}.eb-contact-form-wrap{background:#fffdfa;border:1px solid var(--line);border-radius:4px;padding:clamp(22px,3vw,36px)}.eb-form-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}.eb-form-field{min-width:0}.eb-form-field label{display:block;font-size:12px;font-weight:600;letter-spacing:.035em;color:var(--ink2);margin:0 0 8px;text-transform:none}.eb-form-field label span{color:var(--accent)}.eb-form-field label small{font-size:11px;color:var(--mute);font-weight:400;margin-left:5px}.eb-form input,.eb-form textarea{border:1px solid #ded8ce!important;background:#faf8f4!important;border-radius:3px!important;padding:12px 13px!important;font-size:15px!important;transition:border-color .2s,box-shadow .2s,background .2s}.eb-form input{min-height:46px}.eb-form textarea{height:148px;resize:vertical;min-height:120px}.eb-form input:focus,.eb-form textarea:focus{border-color:rgba(132,47,59,.65)!important;background:#fff!important;box-shadow:0 0 0 3px rgba(132,47,59,.08)!important}.eb-form-field.eb-form-message{grid-column:1/-1}.eb-form .eb-contact-submit{display:flex;justify-content:space-between;align-items:center;gap:24px;width:100%;margin-top:24px;padding:15px 18px;border-radius:3px;text-align:left}.eb-contact-submit span{font-size:20px;line-height:1}.eb-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}.eb-note{border:1px solid #d7c8b9;background:#f5eee8;padding:14px 16px;border-radius:3px;font-size:14px;line-height:1.5}
.eb-articles-header{border-bottom:1px solid var(--line);padding-bottom:28px;margin-bottom:8px}.eb-articles-header h1{margin-bottom:12px}.eb-articles-lead{font:19px/1.6 var(--serif);color:var(--ink2);max-width:720px;margin:0}.eb-articles-content>ul{list-style:none!important;padding:0!important;margin:0!important}.eb-articles-content>ul li{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;padding:22px 18px!important;margin:0!important;border-bottom:1px solid var(--line);font-family:var(--serif);font-size:clamp(18px,2vw,22px);font-weight:600;transition:background .2s,padding .2s}.eb-articles-content>ul li:hover{background:#f3eee8;padding-inline:22px!important}.eb-articles-content>ul li a{color:var(--accent);font-size:12px;font-weight:600;text-decoration:none;border:1px solid var(--line);border-radius:3px;padding:8px 12px;order:2}.eb-articles-content>ul li a:hover{background:var(--accent);color:#fff;border-color:var(--accent)}.eb-articles-content>ul li span{display:block;font:12px/1.5 var(--sans);font-weight:400;color:var(--mute);margin-top:6px}.eb-articles-content>p{color:var(--ink2)}
.eb-bio-content{min-width:0}.eb-bio .eb-photo{position:relative}.eb-bio .eb-photo-label{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--accent);margin-bottom:10px}.eb-bio .eb-photo img{border-radius:4px;aspect-ratio:4/5;object-fit:cover}.eb-bio.no-photo{max-width:820px}.eb-bio.no-photo .eb-bio-content{max-width:740px}.eb-bio .eb-body{max-width:740px}.eb-bio .eb-body p:first-child{font-family:var(--serif);font-size:clamp(19px,2vw,23px);line-height:1.65;color:var(--ink2)}.eb-bio .eb-body h2,.eb-bio .eb-body h3{margin-top:36px}
.eb-ar{max-width:800px}.eb-ar .eb-hero{border-radius:4px;overflow:hidden;background:var(--ph)}.eb-ar .eb-hero img{display:block;max-height:660px;width:100%;object-fit:contain;background:#f1ece5}.eb-body .wp-block-image img{border-radius:3px}.eb-body figure.wp-block-image{margin-block:28px}.eb-body figcaption{font-size:12px;letter-spacing:.02em}.eb-body h2{padding-bottom:8px;border-bottom:1px solid var(--line)}.eb-body hr{border:0;border-top:1px solid var(--line);margin:36px 0}.eb-body .wp-block-pullquote{border-top:2px solid var(--accent);border-bottom:1px solid var(--line);padding:24px 0;margin:32px 0}.eb-body .wp-block-pullquote blockquote{background:none;border:0;padding:0;margin:0}.eb-body .wp-block-pullquote p{font-size:clamp(22px,2.5vw,28px);line-height:1.45}
.eb-footer{margin-top:64px}.eb-footer-top{border-top:1px solid var(--line);padding:30px 0 24px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:32px}.eb-footer-top p{font:16px/1.5 var(--serif);color:var(--ink2);margin:0;max-width:460px}.eb-footer-top nav{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;color:var(--mute)}.eb-footer-top nav a:hover{color:var(--accent)}.eb-footer .eb-ft{margin-top:0;padding-top:18px;font-size:12px}
@media(max-width:900px){.eb-contact-grid{grid-template-columns:1fr;gap:24px}.eb-contact-aside{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:20px;align-items:stretch}.eb-contact-note{padding:12px 4px}.eb-footer-top{grid-template-columns:1fr;gap:14px}.eb-footer-top nav{padding-top:8px}}
@media(max-width:640px){.eb-contact-page{padding-bottom:0}.eb-contact-lead{font-size:18px;margin-bottom:28px}.eb-contact-aside{grid-template-columns:1fr;gap:0}.eb-contact-panel{padding:22px}.eb-contact-note{padding:18px 0 4px}.eb-contact-form-wrap{padding:20px 16px}.eb-form-fields{grid-template-columns:1fr;gap:16px}.eb-form-field.eb-form-message{grid-column:auto}.eb-form textarea{min-height:136px}.eb-articles-header{padding-bottom:22px}.eb-articles-lead{font-size:17px}.eb-articles-content>ul li{grid-template-columns:1fr;gap:10px;padding:17px 10px!important}.eb-articles-content>ul li:hover{padding-inline:12px!important}.eb-articles-content>ul li a{justify-self:start}.eb-footer{margin-top:42px}.eb-footer-top{padding:24px 0 18px;gap:12px}.eb-footer-top p{font-size:15px}.eb-footer-top nav{gap:14px;font-size:12px}.eb-bio.has-photo{grid-template-columns:minmax(0,1fr)}.eb-bio .eb-photo{max-width:240px}.eb-ar .eb-hero img{max-height:none;object-fit:contain}}
@media(prefers-reduced-motion:reduce){.eb-contact-panel:after{display:none}.eb-articles-content>ul li{transition:none}}

/* Brief-driven publication updates */
.eb-art-placeholder{position:relative;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;min-height:140px;width:100%;height:100%;aspect-ratio:1.4;padding:clamp(14px,2.5vw,28px);color:#17223a;background:linear-gradient(135deg,#e9e3d9 0%,#d7dce1 48%,#bfcbd8 100%);border:1px solid rgba(28,37,53,.08)}
.eb-art-placeholder:before{content:"";position:absolute;width:68%;aspect-ratio:1;border:1px solid rgba(132,47,59,.22);border-radius:50%;right:-12%;top:-25%;box-shadow:0 0 0 24px rgba(132,47,59,.04),0 0 0 50px rgba(132,47,59,.035)}
.eb-art-placeholder:after{content:"";position:absolute;inset:42% 0 0;background:linear-gradient(0deg,rgba(26,39,57,.14),transparent)}
.eb-art-placeholder .eb-art-label{position:relative;z-index:1;font:600 10px/1.2 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:10px}
.eb-art-placeholder strong{position:relative;z-index:1;font:600 clamp(17px,2vw,25px)/1.18 var(--serif);max-width:92%;letter-spacing:-.02em}
.eb-art-placeholder .eb-art-lines{position:absolute;left:12%;right:10%;top:34%;height:30%;border-top:1px solid rgba(35,48,65,.18);border-bottom:1px solid rgba(35,48,65,.12);transform:skewY(-13deg)}
.eb-art-mark{position:absolute;right:12px;top:12px;font:700 22px/1 var(--serif);letter-spacing:-.08em;color:rgba(132,47,59,.18)}
.eb-placeholder-large{aspect-ratio:1.45;min-height:260px}.eb-placeholder-small{aspect-ratio:1.42;min-height:90px;padding:12px}.eb-placeholder-small strong{font-size:clamp(13px,1.3vw,18px)}.eb-placeholder-small .eb-art-label{font-size:8px;margin-bottom:5px}
.eb-credentials{margin-top:34px;padding-top:24px;border-top:1px solid var(--line)}.eb-credentials h2,.eb-linked-publications h2,.eb-older-publications h2{font:600 28px/1.2 var(--serif);margin:0 0 18px}.eb-credentials ul{list-style:none;margin:0;padding:0}.eb-credentials li{padding:13px 0;border-bottom:1px solid var(--line);font:15px/1.55 var(--sans)}.eb-credentials li:before{content:"•";color:var(--accent);margin-right:12px}
.eb-publications-page{max-width:920px}.eb-linked-publications{margin-top:28px}.eb-publication-list{list-style:none;margin:0;padding:0}.eb-publication-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}.eb-publication-title{font:600 clamp(17px,1.7vw,21px)/1.3 var(--serif);color:var(--ink)}.eb-publication-title small{display:block;margin-top:7px;font:12px/1.5 var(--sans);color:var(--mute)}.eb-pdf-link{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;border:1px solid var(--line);padding:9px 12px;border-radius:3px;color:var(--accent);font:600 12px/1.2 var(--sans);text-decoration:none;transition:background .2s,color .2s,border-color .2s}.eb-pdf-link:hover{background:var(--accent);color:white;border-color:var(--accent)}.eb-pdf-actions{display:flex;flex-wrap:wrap;gap:8px}.eb-pdf-secondary{color:var(--mute)}.eb-publication-list li:last-child{border-bottom:0}
.eb-older-publications{margin-top:56px;padding-top:30px;border-top:1px solid var(--line)}.eb-publications-note{font:15px/1.6 var(--sans);color:var(--mute)}.eb-older-publications ul{list-style:none;padding:0;margin:0}.eb-older-publications li{padding:12px 0;border-bottom:1px solid var(--line);font:15px/1.6 var(--sans);color:var(--ink2)}
@media(max-width:640px){.eb-publication-list li{grid-template-columns:1fr;gap:12px;padding:18px 0}.eb-pdf-link{justify-self:start}.eb-older-publications li{font-size:14px}.eb-credentials li{font-size:14px}.eb-placeholder-large{min-height:230px}}

.eb-side-author-photo{width:64px;height:64px;margin-bottom:12px}.eb-side-author-photo img{display:block;width:64px;height:64px;border-radius:50%;object-fit:cover}.eb-side-author-name{font:600 18px/1.3 var(--serif);color:var(--ink)}.eb-side-bio{margin:6px 0 12px!important}.eb-side-search form{display:grid;grid-template-columns:1fr auto;gap:8px}.eb-side-search .eb-field{min-width:0}.eb-side-search .eb-btn{margin:0}

.eb-ar .eb-hero .eb-art-placeholder{width:100%;height:auto;aspect-ratio:1.45;min-height:260px}.eb-ar .eb-hero .eb-art-placeholder strong{font-size:clamp(24px,3.6vw,46px);max-width:75%}
@media(max-width:640px){.eb-side .eb-tags{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding:0 0 8px;scrollbar-width:thin}.eb-side .eb-tags a{flex:0 0 auto}.eb-ar .eb-hero .eb-art-placeholder{aspect-ratio:1.2;min-height:220px}.eb-ar .eb-hero .eb-art-placeholder strong{font-size:25px;max-width:90%}}

/* ===== Bio page (single, authoritative block) ===== */
.eb-bio-page{box-sizing:border-box;width:min(100% - 48px,1160px);margin:0 auto;padding:clamp(36px,5vw,72px) 0 24px;color:var(--ink)}
.eb-bio-grid{display:grid;grid-template-columns:minmax(0,42fr) minmax(0,58fr);gap:clamp(32px,5vw,72px);align-items:start}
.eb-bio-grid.no-portrait{grid-template-columns:minmax(0,760px);justify-content:center}
.eb-bio-portrait{margin:0;min-width:0}
.eb-bio-portrait img.eb-bio-image{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center top;border-radius:2px}
.eb-bio-portrait figcaption{font:12px var(--sans);color:var(--mute);padding-top:10px}
.eb-bio-main{min-width:0}
.eb-bio-main h1{font:600 clamp(38px,4.6vw,64px)/1.04 var(--serif);letter-spacing:-.03em;margin:10px 0 16px}
.eb-bio-deck{margin:0 0 clamp(24px,3vw,36px);padding-bottom:clamp(24px,3vw,36px);border-bottom:1px solid var(--line);color:var(--ink2);font:clamp(18px,1.9vw,22px)/1.55 var(--serif)}
.eb-bio-story p{font:clamp(16px,1.3vw,18px)/1.8 var(--sans);color:var(--ink2);margin:0 0 18px}
.eb-bio-story p.eb-bio-lead{font:clamp(19px,1.8vw,22px)/1.65 var(--serif);color:var(--ink)}
.eb-bio-story img{max-width:100%;height:auto}
.eb-bio-credentials{margin-top:clamp(28px,4vw,44px);padding-top:22px;border-top:2px solid var(--accent)}
.eb-bio-credentials h2{font:600 clamp(22px,2.4vw,28px)/1.2 var(--serif);margin:8px 0 14px}
.eb-bio-credentials ul{list-style:none;margin:0;padding:0}
.eb-bio-credentials li{display:grid;grid-template-columns:110px minmax(0,1fr);gap:18px;padding:14px 0;border-bottom:1px solid var(--line)}
.eb-bio-credentials li span{font:11px/1.6 var(--sans);text-transform:uppercase;letter-spacing:.1em;color:var(--accent)}
.eb-bio-credentials li strong{font:15px/1.6 var(--sans);font-weight:500;color:var(--ink2)}
@media(max-width:700px){.eb-bio-page{width:calc(100% - 36px);padding-top:28px}.eb-bio-grid{grid-template-columns:minmax(0,1fr);gap:24px}.eb-bio-portrait{max-width:420px}.eb-bio-credentials li{grid-template-columns:1fr;gap:4px}}

/* ===== Articles page: readable publications + PDF button hover ===== */
.ebeclaw a.eb-pdf-link:hover,.ebeclaw a.eb-pdf-link:focus-visible,.ebeclaw .eb-articles-content>ul li a:hover{background:var(--accent);border-color:var(--accent);color:#fff}
.ebeclaw a.eb-pdf-link:hover span,.ebeclaw a.eb-pdf-link:hover *{color:inherit}
.ebeclaw a.eb-pdf-link.eb-pdf-secondary:hover{color:#fff}
.eb-pdf-link{background:transparent;border-color:#D9D3C6}
.eb-older-publications{margin-top:64px;padding-top:36px}
.eb-older-publications .eb-publications-note{margin:0 0 8px}
.eb-pub-group{margin-top:36px}
.eb-pub-group h3{margin:0 0 4px;padding-bottom:10px;border-bottom:2px solid var(--ink);font:600 12px/1.4 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
.eb-older-publications .eb-pub-group ul{list-style:none;margin:0;padding:0}
.eb-older-publications .eb-pub-group li{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:24px;align-items:baseline;padding:16px 0;border-bottom:1px solid var(--line);font:inherit;color:inherit}
.eb-pub-t{font:600 17px/1.4 var(--serif);color:var(--ink)}
.eb-pub-t em{font-style:italic}
.eb-pub-t small{display:block;margin-top:4px;font:400 13px/1.55 var(--sans);color:var(--mute)}
.eb-pub-when{font:500 12px/1.4 var(--sans);color:var(--ink2);text-align:right;white-space:nowrap}
@media(max-width:640px){.eb-older-publications .eb-pub-group li{grid-template-columns:1fr;gap:4px}.eb-pub-when{text-align:left;order:-1;color:var(--accent)}}
/* ===== Category / archive / search ===== */
.eb-archive-head{padding:clamp(40px,6vw,72px) 0 clamp(24px,3vw,36px);border-bottom:1px solid var(--line)}
.eb-archive-head h1{font:700 clamp(34px,5vw,56px)/1.08 var(--serif);letter-spacing:-.025em;margin:12px 0 0;max-width:820px;color:var(--ink)}
.eb-archive-desc{font:19px/1.6 var(--serif);color:var(--ink2);max-width:680px;margin:14px 0 0}
.eb-archive .eb-main{margin-top:0;align-items:start}
.eb-archive .eb-feed{min-width:0}
.eb-archive .eb-row:first-child{padding-top:32px}
.eb-archive .eb-pager{padding:28px 0}
.eb-archive .nav-links{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;font:600 13px var(--sans)}
.eb-archive .nav-links .page-numbers{color:var(--ink2);padding:4px 2px}
.eb-archive .nav-links .page-numbers.current{color:var(--accent);border-bottom:2px solid var(--accent)}
.eb-archive .nav-links a.prev,.eb-archive .nav-links a.next{color:var(--accent)}
.eb-archive .screen-reader-text{position:absolute;left:-9999px}
.eb-archive .eb-side{margin-top:24px}
.ebeclaw a.eb-pdf-link,.ebeclaw a.eb-pdf-link:hover{text-decoration:none}


/* ===== Final UX refinements: sticky bio portrait + unified search control ===== */
/* Keep the bio portrait in view while the longer biography column scrolls. */
@media (min-width:701px) {
  body.ebeclaw .eb-bio-portrait {
    position: sticky;
    top: 98px;
    align-self: start;
  }
}

/* Use the site's button corner radius and a single focus treatment.
   The wrapper owns the border; the input itself must never draw a second one. */
body.ebeclaw .eb-search,
body.ebeclaw .eb-nav.open .eb-search {
  box-sizing: border-box;
  border: 1px solid var(--line) !important;
  border-radius: 3px !important;
  background: #fffefa !important;
  box-shadow: none !important;
  outline: 0 !important;
  transition: border-color .2s ease, background-color .2s ease !important;
}
body.ebeclaw .eb-search:focus-within,
body.ebeclaw .eb-nav.open .eb-search:focus-within {
  border-color: var(--accent) !important;
  background: #fff !important;
  box-shadow: none !important;
}
body.ebeclaw .eb-search input,
body.ebeclaw .eb-search input:hover,
body.ebeclaw .eb-search input:focus,
body.ebeclaw .eb-search input:focus-visible,
body.ebeclaw .eb-search input:active {
  box-sizing: border-box;
  min-width: 0;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  -webkit-appearance: none;
  appearance: none;
}
body.ebeclaw .eb-search input:focus,
body.ebeclaw .eb-search input:focus-visible {
  outline: 0 !important;
  outline-offset: 0 !important;
}
body.ebeclaw .eb-search input::-webkit-search-decoration,
body.ebeclaw .eb-search input::-webkit-search-cancel-button,
body.ebeclaw .eb-search input::-webkit-search-results-button,
body.ebeclaw .eb-search input::-webkit-search-results-decoration {
  -webkit-appearance: none;
}


/* ===== Category state + sidebar form controls ===== */
/* Mark the current category in the Topics list without changing other archives. */
body.ebeclaw .eb-side .eb-tags a.is-active,
body.ebeclaw.category .eb-side .eb-tags a.is-active {
  color: #fff !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  text-decoration: none !important;
  cursor: default;
}

/* Keep sidebar search and newsletter controls visually aligned with site buttons. */
body.ebeclaw .eb-side-search .eb-field,
body.ebeclaw .eb-side form .eb-field {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 8px 0 14px;
  padding: 10px 13px !important;
  border: 1px solid var(--line) !important;
  border-radius: 3px !important;
  background: #fffefa !important;
  color: var(--ink) !important;
  font: 400 15px/1.4 var(--sans) !important;
  outline: 0 !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .18s ease, background-color .18s ease !important;
}
body.ebeclaw .eb-side .eb-field:hover {
  border-color: #cfc5b8 !important;
}
body.ebeclaw .eb-side .eb-field:focus,
body.ebeclaw .eb-side .eb-field:focus-visible {
  border-color: var(--accent) !important;
  background: #fff !important;
  outline: 0 !important;
  box-shadow: none !important;
}
body.ebeclaw .eb-side .eb-field::placeholder {
  color: #8d867d;
  opacity: 1;
}
body.ebeclaw .eb-side .eb-btn {
  box-sizing: border-box;
  min-height: 46px;
  margin: 0;
  padding: 11px 22px;
  border: 1px solid var(--ink);
  border-radius: 3px !important;
  background: var(--ink);
  color: #fffefa;
  font: 600 15px/1.3 var(--sans);
  box-shadow: none;
  transform: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
body.ebeclaw .eb-side .eb-btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: none;
}
body.ebeclaw .eb-side .eb-btn:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 3px !important;
  box-shadow: none !important;
}
body.ebeclaw .eb-side-search form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}
body.ebeclaw .eb-side-search .eb-field {
  margin: 0;
  height: 46px;
  min-height: 46px;
}
/* Keep the Search button the same compact height as its input; do not let
   theme or Astra button defaults stretch it to the grid row height. */
body.ebeclaw .eb-side-search button.eb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: auto;
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  padding: 0 20px;
  line-height: 1.2;
  white-space: nowrap;
}
body.ebeclaw .eb-side section:not(.eb-side-search) form .eb-field {
  margin-top: 8px;
  margin-bottom: 14px;
}
@media (max-width: 480px) {
  body.ebeclaw .eb-side-search form {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }
  body.ebeclaw .eb-side .eb-btn {
    padding-inline: 16px;
  }
}

/* Archive thumbnails: apply the same hover zoom to generated artwork placeholders. */
.ebeclaw .eb-row .eb-th .eb-art-placeholder{transform:scale(1);transition:transform .55s cubic-bezier(.2,.7,.2,1);}
.ebeclaw .eb-row:hover .eb-th .eb-art-placeholder,
.ebeclaw .eb-row .eb-th:hover .eb-art-placeholder,
.ebeclaw .eb-row .eb-th:focus-visible .eb-art-placeholder{transform:scale(1.045);}
.ebeclaw .eb-row .eb-th img{transition:transform .55s cubic-bezier(.2,.7,.2,1);}
.ebeclaw .eb-row:hover .eb-th img,
.ebeclaw .eb-row .eb-th:hover img,
.ebeclaw .eb-row .eb-th:focus-visible img{transform:scale(1.045);}
@media(prefers-reduced-motion:reduce){.ebeclaw .eb-row .eb-th .eb-art-placeholder,.ebeclaw .eb-row .eb-th img{transition:none!important}.ebeclaw .eb-row:hover .eb-th .eb-art-placeholder,.ebeclaw .eb-row .eb-th:hover .eb-art-placeholder,.ebeclaw .eb-row .eb-th:focus-visible .eb-art-placeholder,.ebeclaw .eb-row:hover .eb-th img,.ebeclaw .eb-row .eb-th:hover img,.ebeclaw .eb-row .eb-th:focus-visible img{transform:none!important}}

/* ===== Search row balance: compact typography and content-sized action ===== */
body.ebeclaw .eb-side-search form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100%;
}
body.ebeclaw .eb-side-search input.eb-field[type="search"] {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid var(--line) !important;
  border-radius: 3px !important;
  background: #fffefa !important;
  color: var(--ink) !important;
  font: 400 16px/1.3 var(--sans) !important;
  letter-spacing: normal !important;
}
body.ebeclaw .eb-side-search input.eb-field[type="search"]::placeholder {
  font: 400 16px/1.3 var(--sans) !important;
  color: #8d867d !important;
  opacity: 1 !important;
}
body.ebeclaw .eb-side-search button.eb-btn[type="submit"] {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: start !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: max-content !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border-radius: 3px !important;
  font: 600 16px/1.2 var(--sans) !important;
  letter-spacing: normal !important;
  white-space: nowrap !important;
}
@media (max-width: 480px) {
  body.ebeclaw .eb-side-search form { gap: 8px !important; }
  body.ebeclaw .eb-side-search input.eb-field[type="search"] { padding-inline: 12px !important; }
  body.ebeclaw .eb-side-search button.eb-btn[type="submit"] { padding-inline: 16px !important; }
}


/* ===== Sidebar forms: match Topics and Read PDF button styling ===== */
body.ebeclaw .eb-side .eb-btn,
body.ebeclaw .eb-side .eb-btn:hover,
body.ebeclaw .eb-side .eb-btn:active {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #D9D3C6 !important;
  border-radius: 3px !important;
  background: transparent !important;
  color: var(--accent) !important;
  font: 600 12px/1.2 var(--sans) !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
  transform: none !important;
  white-space: nowrap !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease !important;
}
body.ebeclaw .eb-side .eb-btn:hover,
body.ebeclaw .eb-side .eb-btn:focus-visible {
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  color: #fff !important;
}
body.ebeclaw .eb-side .eb-btn:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 3px !important;
}
body.ebeclaw .eb-side-search form,
body.ebeclaw .eb-side section:not(.eb-side-search) form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  align-items: end !important;
  gap: 10px !important;
}
body.ebeclaw .eb-side-search input.eb-field[type="search"],
body.ebeclaw .eb-side section:not(.eb-side-search) input.eb-field[type="email"] {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid var(--line) !important;
  border-radius: 3px !important;
  background: #fffefa !important;
  color: var(--ink) !important;
  font: 400 14px/1.3 var(--sans) !important;
  box-shadow: none !important;
}
body.ebeclaw .eb-side-search input.eb-field[type="search"]::placeholder {
  color: #8d867d !important;
  opacity: 1 !important;
}
body.ebeclaw .eb-side section:not(.eb-side-search) form > label {
  grid-column: 1 / -1;
  margin: 0 0 -2px !important;
}
body.ebeclaw .eb-side section:not(.eb-side-search) form > button.eb-btn {
  align-self: end !important;
}
@media (max-width: 480px) {
  body.ebeclaw .eb-side-search form,
  body.ebeclaw .eb-side section:not(.eb-side-search) form {
    grid-template-columns: minmax(0, 1fr) max-content !important;
    gap: 8px !important;
  }
  body.ebeclaw .eb-side .eb-btn { padding-inline: 12px !important; }
}


/* Editorial footer refresh */
.ebeclaw .eb-footer{
        margin-top:clamp(64px,9vw,112px);
        background:#F1EEE7;
        border-top:1px solid var(--line);
        color:var(--ink);
}
.ebeclaw .eb-footer>.eb-wrap{padding-top:54px;padding-bottom:22px}
.ebeclaw .eb-footer-main{
        display:grid;
        grid-template-columns:minmax(260px,1.5fr) minmax(140px,.7fr) minmax(160px,.8fr);
        gap:clamp(32px,6vw,84px);
        padding-bottom:44px;
}
.ebeclaw .eb-footer-brand{max-width:390px}
.ebeclaw .eb-footer-logo{
        display:inline-block;
        font:700 30px/1.1 var(--serif);
        letter-spacing:-.025em;
        color:var(--ink);
}
.ebeclaw .eb-footer-logo b{color:var(--accent)}
.ebeclaw .eb-footer-brand p{
        max-width:340px;
        margin:16px 0 20px;
        font:18px/1.55 var(--serif);
        color:var(--ink2);
}
.ebeclaw .eb-footer-back{
        display:inline-flex;
        align-items:center;
        gap:9px;
        font-size:13px;
        font-weight:600;
        color:var(--accent);
}
.ebeclaw .eb-footer-back span{transition:transform .2s ease}
.ebeclaw .eb-footer-back:hover span{transform:translateX(4px)}
.ebeclaw .eb-footer-column h2{
        margin:5px 0 16px;
        font:600 11px/1.3 var(--sans);
        letter-spacing:.12em;
        text-transform:uppercase;
        color:var(--mute);
}
.ebeclaw .eb-footer-column nav{display:flex;flex-direction:column;align-items:flex-start;gap:11px}
.ebeclaw .eb-footer-column nav a{
        font-size:14px;
        line-height:1.45;
        color:var(--ink2);
        transition:color .18s ease;
}
.ebeclaw .eb-footer-column nav a:hover{color:var(--accent)}
.ebeclaw .eb-footer-bottom{
        display:flex;
        justify-content:space-between;
        align-items:center;
        gap:18px;
        padding-top:18px;
        border-top:1px solid #DCD6CB;
        font-size:11px;
        line-height:1.5;
        color:var(--mute);
}
/* Unified numbered pagination for homepage and archive listings */
.ebeclaw .eb-pager{
        display:flex;
        flex-wrap:wrap;
        align-items:center;
        justify-content:flex-start;
        gap:7px;
        padding:30px 0 38px;
        font:500 13px/1 var(--sans);
}
.ebeclaw .eb-pager .page-numbers{
        display:inline-flex;
        min-width:36px;
        min-height:36px;
        align-items:center;
        justify-content:center;
        padding:0 11px;
        border:1px solid var(--line);
        border-radius:3px;
        background:transparent;
        color:var(--ink2);
        text-decoration:none;
        transition:background .18s ease,border-color .18s ease,color .18s ease;
}
.ebeclaw .eb-pager a.page-numbers:hover{
        background:#F1EEE7;
        border-color:#CFC6B8;
        color:var(--accent);
}
.ebeclaw .eb-pager .page-numbers.current{
        background:var(--accent);
        border-color:var(--accent);
        color:#fff;
        font-weight:600;
}
.ebeclaw .eb-pager .page-numbers.dots{
        min-width:24px;
        padding:0 3px;
        border-color:transparent;
        background:transparent;
}
.ebeclaw .eb-pager .page-numbers.prev,
.ebeclaw .eb-pager .page-numbers.next{
        padding:0 13px;
        color:var(--accent);
        font-weight:600;
}
.ebeclaw .eb-pager a:focus-visible,
.ebeclaw .eb-footer a:focus-visible{
        outline:2px solid var(--accent);
        outline-offset:3px;
}
@media(max-width:760px){
        .ebeclaw .eb-footer{margin-top:54px}
        .ebeclaw .eb-footer>.eb-wrap{padding-top:36px;padding-bottom:18px}
        .ebeclaw .eb-footer-main{grid-template-columns:1fr 1fr;gap:30px 22px;padding-bottom:30px}
        .ebeclaw .eb-footer-brand{grid-column:1/-1;max-width:520px}
        .ebeclaw .eb-footer-brand p{font-size:17px;margin:12px 0 14px}
        .ebeclaw .eb-footer-bottom{align-items:flex-start;flex-direction:column;gap:6px}
        .ebeclaw .eb-pager{gap:6px;padding:24px 0 32px}
        .ebeclaw .eb-pager .page-numbers{min-width:34px;min-height:34px;padding:0 9px}
}
@media(max-width:380px){
        .ebeclaw .eb-footer-main{grid-template-columns:1fr;gap:24px}
        .ebeclaw .eb-footer-brand{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){
        .ebeclaw .eb-footer-back span,.ebeclaw .eb-footer-column nav a,.ebeclaw .eb-pager .page-numbers{transition:none}
}


/* ===== v16: balanced sidebar forms + full-width homepage publication intro ===== */
body.ebeclaw .eb-side-search form {
  grid-template-columns: minmax(0, 1fr) 88px !important;
  gap: 10px !important;
  align-items: center !important;
}
body.ebeclaw .eb-side-search button.eb-btn {
  width: 88px !important;
  min-width: 88px !important;
  padding-inline: 8px !important;
}
body.ebeclaw .eb-side section:not(.eb-side-search) form {
  grid-template-columns: minmax(0, 1fr) 104px !important;
  gap: 10px !important;
  align-items: end !important;
}
body.ebeclaw .eb-side section:not(.eb-side-search) form > label {
  grid-column: 1 / -1 !important;
}
body.ebeclaw .eb-side section:not(.eb-side-search) form > input.eb-field[type="email"] {
  grid-column: 1 !important;
}
body.ebeclaw .eb-side section:not(.eb-side-search) form > button.eb-btn {
  grid-column: 2 !important;
  width: 104px !important;
  min-width: 104px !important;
  padding-inline: 8px !important;
}
body.ebeclaw .eb-side .eb-btn {
  font-size: 12px !important;
  line-height: 1.2 !important;
}
body.ebeclaw .eb-side input.eb-field::placeholder {
  color: #8d867d !important;
  opacity: 1 !important;
}
/* Let the homepage publication statement use the complete content container width. */
body.ebeclaw .eb-intro {
  width: 100%;
  max-width: none !important;
}
body.ebeclaw .eb-intro > p,
body.ebeclaw .eb-intro > h1.eb-home-h1 {
  width: 100%;
  max-width: none !important;
}
@media (max-width: 480px) {
  body.ebeclaw .eb-side-search form {
    grid-template-columns: minmax(0, 1fr) 82px !important;
  }
  body.ebeclaw .eb-side-search button.eb-btn {
    width: 82px !important;
    min-width: 82px !important;
  }
  body.ebeclaw .eb-side section:not(.eb-side-search) form {
    grid-template-columns: minmax(0, 1fr) 98px !important;
    gap: 8px !important;
  }
  body.ebeclaw .eb-side section:not(.eb-side-search) form > button.eb-btn {
    width: 98px !important;
    min-width: 98px !important;
  }
}

/* ===================== Single article (v17) ===================== */
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
.eb-article-layout{display:grid;grid-template-columns:minmax(0,1fr);width:min(100% - 36px,700px);margin:0 auto;padding:clamp(32px,6vw,72px) 0 0}
.eb-article-head,.eb-article-main{min-width:0}
.eb-chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.eb-chips li{margin:0}
.ebeclaw .eb-chip{display:inline-block;padding:5px 12px;border:1px solid #D9D3C6;border-radius:2px;background:transparent;font:600 12px/1.3 var(--sans);letter-spacing:.04em;color:var(--ink2);transition:color .2s,background-color .2s,border-color .2s}
.ebeclaw .eb-chip:hover,.ebeclaw .eb-chip.is-active{color:#fff;background:var(--accent);border-color:var(--accent)}
.eb-chips-cat .eb-chip{color:var(--accent);border-color:rgba(140,47,57,.35);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.eb-article-title{font:700 clamp(34px,5.4vw,56px)/1.07 var(--serif);letter-spacing:-.03em;margin:18px 0 0;overflow-wrap:break-word;text-wrap:balance}
.eb-article .eb-dek{font:clamp(19px,2.2vw,23px)/1.5 var(--serif);color:var(--ink2);margin:16px 0 0}
.eb-article-meta{display:flex;align-items:center;gap:14px;margin-top:26px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.eb-article-meta .eb-meta-avatar{width:44px;height:44px;border-radius:50%;flex:none}
.eb-meta-by{font:600 14px var(--sans);color:var(--ink)}
.eb-meta-list{display:flex;flex-wrap:wrap;gap:2px 0;list-style:none;margin:2px 0 0;padding:0;font:13px/1.5 var(--sans);color:var(--mute)}
.eb-meta-list li{margin:0}.eb-meta-list li+li:before{content:"\00b7";margin:0 8px}
.ebeclaw .eb-meta-list a,.ebeclaw .eb-meta-by a{text-decoration:underline;text-decoration-color:rgba(0,0,0,.2);text-underline-offset:3px}
.eb-article .eb-hero{margin:clamp(24px,4vw,36px) 0;border-radius:4px;overflow:hidden;background:var(--ph)}
.eb-article .eb-hero img{display:block;width:100%;height:auto;max-height:620px;object-fit:cover}
.eb-article .eb-hero .eb-art-placeholder{width:100%;height:auto;aspect-ratio:1.45;min-height:240px}
.eb-article .eb-hero .eb-art-placeholder strong{font-size:clamp(22px,3.4vw,42px);max-width:80%}
/* reading typography */
.eb-article .eb-body{overflow-wrap:break-word}
.eb-article .eb-body>*:first-child{margin-top:0}
.eb-article .eb-body p{margin:0 0 1.45em;font-size:clamp(18px,1.5vw,20px);line-height:1.78}
.eb-article .eb-body :is(h2,h3,h4){font-family:var(--serif);color:var(--ink);scroll-margin-top:calc(var(--eb-hd-h,68px) + 8px)}
body.admin-bar .eb-article .eb-body :is(h2,h3,h4){scroll-margin-top:calc(var(--eb-hd-h,68px) + 40px)}
.eb-article .eb-body h2{margin:2.1em 0 .65em;font-size:clamp(26px,3vw,32px);line-height:1.22;letter-spacing:-.02em}
.eb-article .eb-body h3{margin:1.8em 0 .5em;font-size:clamp(21px,2.2vw,24px);line-height:1.3;padding:0;border:0}
.eb-article .eb-body h4{margin:1.6em 0 .4em;font-size:18px}
.eb-article .eb-body :is(ul,ol){margin:0 0 1.5em;padding-left:1.4em}
.eb-article .eb-body li{margin:0 0 .55em;font-size:clamp(18px,1.5vw,20px);line-height:1.7}
.eb-article .eb-body li::marker{color:var(--accent)}
.eb-article .eb-body blockquote{margin:2em 0}
.eb-article .eb-body :is(pre,code){font-size:.9em;background:#f3eee7;border-radius:2px}
.eb-article .eb-body code{padding:.1em .35em}.eb-article .eb-body pre{padding:16px;overflow-x:auto}
.eb-article .eb-body :is(iframe,video){max-width:100%}
/* footer: tags, author */
.eb-article-foot{margin-top:clamp(36px,5vw,52px);padding-top:24px;border-top:1px solid var(--line)}
.eb-foot-label,.eb-section-label{margin:0 0 12px;font:600 12px/1.4 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--mute)}
.eb-article .eb-author{margin-top:28px;padding:22px 0 0;border-top:1px solid var(--line);align-items:flex-start}
.ebeclaw .eb-author-link{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
/* related */
.eb-related{margin-top:clamp(48px,7vw,72px)}
.eb-related .eb-section-label{padding-bottom:10px;border-bottom:2px solid var(--ink);color:var(--accent)}
.eb-related .eb-row:last-child{border-bottom:0}
/* table of contents */
.eb-toc{margin:22px 0 0;font:14px/1.45 var(--sans)}
.eb-toc-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;min-height:44px;padding:12px 0;background:none;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;font:600 12px var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--ink);cursor:pointer}
.eb-toc-toggle svg{transition:transform .2s}.eb-toc.is-collapsed .eb-toc-toggle svg{transform:rotate(-90deg)}
.eb-toc.is-collapsed .eb-toc-list{display:none}
.eb-toc-list,.eb-toc-sub{list-style:none;margin:0;padding:0}
.eb-toc-list{padding:10px 0 4px}.eb-toc-list li{margin:0}
.ebeclaw .eb-toc-list a{display:block;padding:6px 0 6px 14px;border-left:2px solid transparent;color:var(--ink2)}
.ebeclaw .eb-toc-sub a{padding-left:28px;font-size:13px}
.ebeclaw .eb-toc-list a:hover,.ebeclaw .eb-toc-list a.is-active{color:var(--accent)}
.ebeclaw .eb-toc-list a.is-active{border-left-color:var(--accent);font-weight:600}
@media(min-width:1100px){
.eb-article-layout{width:min(100% - 64px,1016px);grid-template-columns:minmax(0,700px) 260px;column-gap:56px;justify-content:center}
.eb-article-head,.eb-article-main{grid-column:1}
.eb-article-head{grid-row:1}.eb-article-main{grid-row:2}
.eb-toc{grid-column:2;grid-row:2;align-self:start;margin:32px 0 0;position:sticky;top:96px;max-height:calc(100vh - 128px);overflow-y:auto;padding-left:20px;border-left:1px solid var(--line)}
.admin-bar .eb-toc{top:128px;max-height:calc(100vh - 160px)}
.eb-toc-toggle{border:0;padding:0 0 8px;min-height:0;cursor:default}
.eb-toc-toggle svg{display:none}.eb-toc-toggle:disabled{color:var(--accent)}
.eb-toc.is-collapsed .eb-toc-list{display:block}
.ebeclaw .eb-toc-list a{padding-left:12px;margin-left:-21px;padding-left:19px}.ebeclaw .eb-toc-sub a{padding-left:33px}}
/* comments */
.eb-comments{margin-top:clamp(48px,7vw,72px);padding-top:28px;border-top:2px solid var(--ink)}
.eb-comments-title{margin:0 0 20px;font:600 clamp(24px,3vw,30px)/1.2 var(--serif)}
.eb-comments-empty,.eb-comments-closed{margin:0 0 24px;padding:16px 18px;background:#f3eee7;border-left:3px solid var(--accent);font:15px/1.6 var(--sans);color:var(--ink2)}
.eb-comment-list,.eb-comment-list ol{list-style:none;margin:0;padding:0}
.eb-comment-list ol.children{margin-left:clamp(14px,4vw,40px);padding-left:clamp(12px,3vw,24px);border-left:1px solid var(--line)}
.eb-comment{padding:20px 0;border-bottom:1px solid var(--line)}
.eb-comment-head{display:flex;align-items:center;gap:12px}
.eb-comment-head img{width:44px;height:44px;border-radius:50%;flex:none}
.eb-comment-author{font:600 15px var(--sans);color:var(--ink);overflow-wrap:anywhere}
.eb-comment-badge{display:inline-block;margin-left:6px;padding:1px 7px;border:1px solid rgba(140,47,57,.35);color:var(--accent);font:600 10px var(--sans);letter-spacing:.08em;text-transform:uppercase;vertical-align:1px}
.ebeclaw .eb-comment-date{font:12px var(--sans);color:var(--mute)}
.eb-comment-text{overflow-wrap:break-word}.eb-comment-text p{margin:12px 0 0;font:17px/1.7 var(--serif);color:#26241F}
.eb-comment-pending{margin:12px 0 0;padding:10px 14px;background:#f3eee7;border-left:3px solid var(--accent);font:13px/1.5 var(--sans);color:var(--ink2)}
.eb-comment-reply{margin-top:10px}
.ebeclaw .eb-comment-reply a{font:600 12px var(--sans);letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}
/* comment form (overrides Astra's form styling) */
body.ebeclaw .eb-comments .comment-respond{margin:36px 0 0!important;padding:0!important;border:0!important;background:none!important;width:auto!important;max-width:none!important}
.comment-reply-title{margin:0 0 6px;font:600 clamp(22px,2.6vw,26px)/1.25 var(--serif)}
.comment-reply-title small{margin-left:10px;font:600 12px var(--sans)}
.eb-form-note{margin:0 0 4px;font:13px/1.5 var(--sans);color:var(--mute)}
body.ebeclaw .eb-comments .comment-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin:0;padding:0}
body.ebeclaw .eb-comments .comment-form>*{grid-column:1/-1;min-width:0;float:none!important;width:auto!important}
body.ebeclaw .eb-comments .comment-form>.comment-form-author,body.ebeclaw .eb-comments .comment-form>.comment-form-email{grid-column:auto}
.eb-field{margin:18px 0 0!important;padding:0!important}
.eb-field label{display:block;margin-bottom:6px;font:600 11px var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}
body.ebeclaw .eb-comments .eb-field :is(input,textarea){display:block;width:100%!important;height:auto!important;padding:12px 14px!important;border:1px solid #D9D3C6!important;border-radius:2px!important;background:#fff!important;font:16px/1.5 var(--sans)!important;color:var(--ink)!important;box-shadow:none!important;outline:0!important}
body.ebeclaw .eb-comments .eb-field textarea{min-height:150px;resize:vertical}
body.ebeclaw .eb-comments .eb-field :is(input,textarea):focus{border-color:var(--accent)!important}
.comment-form-cookies-consent{display:flex;gap:10px;align-items:flex-start;margin:16px 0 0;font:13px/1.5 var(--sans);color:var(--mute)}
.comment-form-cookies-consent input{margin-top:3px;width:auto!important;accent-color:var(--accent)}.comment-form-cookies-consent label{color:var(--mute);font:inherit}
body.ebeclaw .eb-comments .form-submit{margin:22px 0 0!important}
body.ebeclaw .eb-comments .form-submit :is(input.submit,button.submit){width:auto!important;min-height:44px;padding:14px 28px!important;border:0!important;border-radius:0!important;background:var(--ink)!important;color:var(--bg)!important;font:500 15px var(--sans)!important;box-shadow:none!important;cursor:pointer;transition:background-color .2s}
body.ebeclaw .eb-comments .form-submit :is(input.submit,button.submit):hover{background:var(--accent)!important;color:#fff!important}
@media(max-width:560px){body.ebeclaw .eb-comments .comment-form{grid-template-columns:minmax(0,1fr)}body.ebeclaw .eb-comments .comment-form>.comment-form-author,body.ebeclaw .eb-comments .comment-form>.comment-form-email{grid-column:1/-1}}
/* archive topic chips */
.eb-archive-topics{margin-top:22px}
.eb-article .eb-body :is(h2,h3,h4):empty{display:none}

/* ===== v20: no white blocks behind article/comments (Astra), unified form fields ===== */
html,body.ebeclaw{background:var(--bg)!important}
body.ebeclaw article.eb-article{background:transparent!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important}
body.ebeclaw .eb-comments,body.ebeclaw .eb-comments .comment-respond,body.ebeclaw .eb-article-layout{background-color:transparent!important;box-shadow:none!important}
body.ebeclaw .eb-form .eb-form-field{margin:18px 0 0;padding:0}
body.ebeclaw .eb-form label{display:block;margin:0 0 6px!important;font:600 11px var(--sans)!important;letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}
body.ebeclaw .eb-form label small{font:400 11px var(--sans);letter-spacing:0;text-transform:none;margin-left:6px}
body.ebeclaw .eb-form :is(input:not([type=hidden]):not(.eb-honeypot),textarea){display:block;width:100%!important;height:auto!important;padding:12px 14px!important;border:1px solid #D9D3C6!important;border-radius:2px!important;background:#fff!important;font:16px/1.5 var(--sans)!important;color:var(--ink)!important;box-shadow:none!important;outline:0!important}
body.ebeclaw .eb-form textarea{min-height:150px;resize:vertical}
body.ebeclaw .eb-form :is(input,textarea):focus{border-color:var(--accent)!important}
body.ebeclaw .eb-form .eb-btn{min-height:44px;padding:14px 28px!important;border:0!important;border-radius:0!important;background:var(--ink)!important;color:var(--bg)!important;font:500 15px var(--sans)!important;box-shadow:none!important;cursor:pointer;transition:background-color .2s}
body.ebeclaw .eb-form .eb-btn:hover{background:var(--accent)!important;color:#fff!important}

/* ===================== v21 editorial polish ===================== */
:root{--eb-field-bg:#fffdfa;--eb-field-border:#d9d1c5;--eb-field-border-hover:#b9aa9a;--eb-field-focus:rgba(132,47,59,.12);--eb-panel:#f4f0e9}

/* A more composed single-article composition: clear header, balanced reading column and TOC panel. */
body.ebeclaw .eb-article-layout{width:min(100% - 48px,1100px);padding-top:clamp(42px,5.5vw,68px);column-gap:clamp(30px,4vw,54px);row-gap:0}
@media(min-width:1100px){body.ebeclaw .eb-article-layout:not(.has-toc){width:min(100% - 48px,760px);grid-template-columns:minmax(0,760px)}body.ebeclaw .eb-article-layout:not(.has-toc) .eb-article-head{grid-column:1/-1}body.ebeclaw .eb-article-layout:not(.has-toc) .eb-article-main{grid-column:1;max-width:100%}}
body.ebeclaw .eb-article-head{grid-column:1/-1;grid-row:1;width:min(100%,860px);justify-self:center;padding:0 0 clamp(24px,3vw,34px);margin:0 0 2px;border-bottom:1px solid var(--line)}
body.ebeclaw .eb-article-main{grid-column:1;grid-row:2;min-width:0;padding-top:clamp(22px,3vw,32px)}
body.ebeclaw .eb-article-title{font-size:clamp(36px,4.5vw,54px);line-height:1.08;letter-spacing:-.035em;margin-top:16px;max-width:19ch}
body.ebeclaw .eb-article .eb-dek{max-width:62ch;font-size:clamp(19px,2vw,22px);line-height:1.52;margin-top:14px}
body.ebeclaw .eb-article-meta{margin-top:22px;padding:15px 17px;border:1px solid var(--line);border-radius:4px;background:rgba(244,240,233,.72)}
body.ebeclaw .eb-article .eb-hero{margin:0 0 34px;border:1px solid var(--line);border-radius:4px;box-shadow:0 8px 24px rgba(40,31,24,.045)}
body.ebeclaw .eb-article .eb-hero img{width:100%;max-height:480px;aspect-ratio:16/9;object-fit:cover}
body.ebeclaw .eb-article .eb-hero .eb-art-placeholder{aspect-ratio:16/9;min-height:220px}
body.ebeclaw .eb-article .eb-body{max-width:68ch;margin:0 auto}
body.ebeclaw .eb-article .eb-body p{font-size:clamp(17px,1.35vw,19px);line-height:1.78;margin-bottom:1.35em}
body.ebeclaw .eb-article .eb-body li{font-size:clamp(17px,1.35vw,19px);line-height:1.72}
body.ebeclaw .eb-article .eb-body h2{margin-top:1.9em;padding-top:5px}
body.ebeclaw .eb-article .eb-body blockquote{padding:18px 22px;background:var(--eb-panel);border-left:3px solid var(--accent);border-radius:0 4px 4px 0}
body.ebeclaw .eb-article .eb-body blockquote p:last-child{margin-bottom:0}
body.ebeclaw .eb-article .eb-body :is(pre,code){overflow-wrap:anywhere}
body.ebeclaw .eb-toc{background:var(--eb-panel);border:1px solid var(--line);border-radius:4px;padding:17px 18px;margin:32px 0 0;box-shadow:0 5px 18px rgba(40,31,24,.035)}
body.ebeclaw .eb-toc-toggle{font-size:11px;letter-spacing:.12em;color:var(--accent);padding:0 0 12px;border-bottom:1px solid #ddd5ca}
body.ebeclaw .eb-toc-list{padding:10px 0 0}
body.ebeclaw .eb-toc-list a{font-size:13px;line-height:1.45;padding-top:7px;padding-bottom:7px}
body.ebeclaw .eb-article-foot{margin-top:44px;padding-top:22px}
body.ebeclaw .eb-article-tags{padding:16px 18px;background:var(--eb-panel);border:1px solid var(--line);border-radius:4px}
body.ebeclaw .eb-article-tags .eb-chips{gap:7px}
body.ebeclaw .eb-article .eb-author{padding:22px;background:var(--eb-panel);border:1px solid var(--line);border-radius:4px;gap:16px}
body.ebeclaw .eb-article .eb-author img{width:64px;height:64px;object-fit:cover}
body.ebeclaw .eb-related{padding-top:28px;border-top:1px solid var(--line)}
body.ebeclaw .eb-related .eb-section-label{font-size:11px;letter-spacing:.13em;padding-bottom:12px}
body.ebeclaw .eb-comments{padding:28px 24px 24px;margin-top:48px;border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:4px;background:var(--eb-panel)!important}
body.ebeclaw .eb-comments-title{margin-bottom:8px}
body.ebeclaw .eb-comments .comment-respond{margin-top:30px!important;padding-top:24px!important;border-top:1px solid #ddd5ca!important}
body.ebeclaw .eb-comments .comment-form{column-gap:16px}
body.ebeclaw .eb-comments .eb-field{margin-top:16px!important}
body.ebeclaw .eb-comments .eb-field label{margin-bottom:7px}
body.ebeclaw .eb-comments .eb-field :is(input,textarea){background:var(--eb-field-bg)!important;border-color:var(--eb-field-border)!important;border-radius:4px!important}
body.ebeclaw .eb-comments .eb-field :is(input,textarea):focus{border-color:var(--accent)!important;box-shadow:0 0 0 3px var(--eb-field-focus)!important}
body.ebeclaw .eb-comments .form-submit :is(input.submit,button.submit){border:1px solid var(--accent)!important;border-radius:3px!important;background:var(--accent)!important;color:#fff!important;padding:12px 22px!important}
body.ebeclaw .eb-comments .form-submit :is(input.submit,button.submit):hover{background:var(--accent-dark)!important;border-color:var(--accent-dark)!important}

/* One field system across contact, comments, search, newsletter and other theme forms. */
body.ebeclaw :is(.eb-form,.eb-comments,.eb-side,.eb-search-page,.search-form) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=range]):not(.eb-honeypot),textarea,select),
body.ebeclaw .eb-side input.eb-field{
  box-sizing:border-box!important;min-width:0;min-height:46px;padding:11px 13px!important;
  border:1px solid var(--eb-field-border)!important;border-radius:4px!important;
  background:var(--eb-field-bg)!important;color:var(--ink)!important;
  font:15px/1.5 var(--sans)!important;box-shadow:none!important;outline:0;
  transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
}
body.ebeclaw :is(.eb-form,.eb-comments,.eb-side,.eb-search-page,.search-form) textarea{min-height:138px;resize:vertical}
body.ebeclaw :is(.eb-form,.eb-comments,.eb-side,.eb-search-page,.search-form) :is(input,textarea,select)::placeholder{color:#91887e;opacity:1}
body.ebeclaw :is(.eb-form,.eb-comments,.eb-side,.eb-search-page,.search-form) :is(input,textarea,select):hover{border-color:var(--eb-field-border-hover)!important}
body.ebeclaw :is(.eb-form,.eb-comments,.eb-side,.eb-search-page,.search-form) :is(input,textarea,select):focus{border-color:var(--accent)!important;background:#fff!important;box-shadow:0 0 0 3px var(--eb-field-focus)!important}
body.ebeclaw .eb-side .eb-field{width:100%;margin:8px 0 14px}
body.ebeclaw .eb-side form{min-width:0}
body.ebeclaw .eb-side form .eb-btn{min-height:46px;padding:11px 18px!important;border:1px solid var(--accent)!important;border-radius:4px!important;background:var(--accent)!important;color:#fff!important;font:600 14px/1.2 var(--sans)!important;white-space:nowrap}
body.ebeclaw .eb-side form .eb-btn:hover{background:var(--accent-dark)!important;border-color:var(--accent-dark)!important}
body.ebeclaw .eb-form .eb-form-field{margin-top:17px}
body.ebeclaw .eb-form :is(input:not([type=hidden]):not(.eb-honeypot),textarea){min-height:46px;border-radius:4px!important}
body.ebeclaw .eb-form textarea{min-height:138px}
body.ebeclaw .eb-form .eb-btn{min-height:46px;border:1px solid var(--accent)!important;border-radius:4px!important;background:var(--accent)!important;color:#fff!important;padding:12px 22px!important;font-weight:600}
body.ebeclaw .eb-form .eb-btn:hover{background:var(--accent-dark)!important;color:#fff!important}
body.ebeclaw .eb-comments .eb-field :is(input,textarea){min-height:46px}
body.ebeclaw .eb-comments .eb-field textarea{min-height:138px}
body.ebeclaw :is(input[type=checkbox],input[type=radio]){accent-color:var(--accent)}

/* Subtle, coordinated scrollbars for page scrolling and scrollable panels. */
html{scrollbar-color:#b9aa9a var(--bg);scrollbar-width:thin}
body.ebeclaw *{scrollbar-color:#b9aa9a transparent;scrollbar-width:thin}
body.ebeclaw *::-webkit-scrollbar{width:9px;height:9px}
body.ebeclaw *::-webkit-scrollbar-track{background:transparent}
body.ebeclaw *::-webkit-scrollbar-thumb{background:#c9beb0;border:2px solid transparent;border-radius:20px;background-clip:padding-box}
body.ebeclaw *::-webkit-scrollbar-thumb:hover{background:#9e8d7d;border:2px solid transparent;background-clip:padding-box}
body.ebeclaw *::-webkit-scrollbar-corner{background:transparent}

@media(max-width:1099px){
  body.ebeclaw .eb-article-layout{width:min(100% - 40px,760px);display:flex;flex-direction:column;gap:0}
  body.ebeclaw .eb-article-head{width:100%;max-width:100%;order:0}
  body.ebeclaw .eb-toc{position:relative;top:auto;order:1;width:100%;max-height:none;margin:24px 0 0;padding:15px 17px}
  body.ebeclaw .eb-article-main{order:2;width:100%;padding-top:24px}
  body.ebeclaw .eb-article .eb-body{max-width:72ch}
}
@media(max-width:640px){
  body.ebeclaw .eb-article-layout{width:calc(100% - 32px);padding-top:34px}
  body.ebeclaw .eb-article-title{font-size:clamp(32px,9vw,40px);line-height:1.1;max-width:100%}
  body.ebeclaw .eb-article .eb-dek{font-size:18px}
  body.ebeclaw .eb-article-meta{align-items:flex-start;padding:13px 12px;gap:10px}
  body.ebeclaw .eb-meta-list{font-size:12px}
  body.ebeclaw .eb-article .eb-hero{margin-bottom:26px}
  body.ebeclaw .eb-comments{padding:21px 16px;margin-top:38px}
  body.ebeclaw .eb-article .eb-author{padding:17px;gap:12px}
  body.ebeclaw .eb-article .eb-author img{width:52px;height:52px}
  body.ebeclaw .eb-side form .eb-btn{width:auto;max-width:100%}
}
/* Apply the shared field treatment to any remaining theme/plugin form controls. */
body.ebeclaw :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]):not([type=range]):not(.eb-honeypot),textarea,select){box-sizing:border-box;min-width:0;min-height:46px;padding:11px 13px;border:1px solid var(--eb-field-border);border-radius:4px;background:var(--eb-field-bg);color:var(--ink);font:15px/1.5 var(--sans);box-shadow:none;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
body.ebeclaw :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]):not([type=range]),textarea,select):focus{border-color:var(--accent);background:#fff;box-shadow:0 0 0 3px var(--eb-field-focus);outline:0}
body.ebeclaw .eb-search input{min-height:0;padding:4px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font:13px/1.4 var(--sans)!important}

/* ==========================================================
   EBEClaw site-wide visual refinement (v22)
   Richer editorial surfaces, clearer hierarchy and interaction.
   Keeps the existing palette, type system and page structure.
   ========================================================== */
:root{
  --eb-surface:#fffdfa;
  --eb-surface-soft:#f3eee7;
  --eb-border-strong:#d8cfc2;
  --eb-shadow-soft:0 10px 30px rgba(43,32,24,.055);
  --eb-shadow-hover:0 14px 34px rgba(43,32,24,.09);
}

/* Give the publication a little more depth without changing its warm palette. */
body.ebeclaw{background:linear-gradient(180deg,#f7f3ed 0,#faf8f4 260px,#faf8f4 100%)}
body.ebeclaw .eb-wrap{position:relative}
body.ebeclaw .eb-hd{background:rgba(250,248,244,.96);backdrop-filter:saturate(140%) blur(12px);border-bottom-color:#ded6cb;box-shadow:0 3px 16px rgba(35,27,20,.035)}
body.ebeclaw .eb-logo{letter-spacing:-.035em}
body.ebeclaw .eb-nav a{position:relative;transition:color .18s ease}
body.ebeclaw .eb-nav .eb-nav-links a:after{content:"";position:absolute;left:0;right:100%;bottom:-7px;height:2px;background:var(--accent);transition:right .2s ease}
body.ebeclaw .eb-nav .eb-nav-links a:hover:after,
body.ebeclaw .eb-nav .current-menu-item>a:after{right:0}
body.ebeclaw .eb-menu{border-radius:3px;background:var(--eb-surface);box-shadow:0 2px 8px rgba(40,30,20,.04)}

/* Homepage publication masthead and featured story. */
body.ebeclaw .eb-intro{position:relative;padding-top:clamp(42px,6vw,68px);padding-bottom:24px}
body.ebeclaw .eb-intro .eb-k{display:flex;align-items:center;gap:12px;font-size:11px;letter-spacing:.13em}
body.ebeclaw .eb-intro .eb-k:before{content:"";width:30px;height:1px;background:var(--accent)}
body.ebeclaw .eb-intro>p,
body.ebeclaw .eb-intro>h1.eb-home-h1{max-width:100%;font-family:var(--serif);font-weight:400;font-size:clamp(24px,3.1vw,38px);line-height:1.32;letter-spacing:-.018em;color:#302b27;margin-top:16px}
body.ebeclaw .eb-feat{position:relative;isolation:isolate;padding:clamp(22px,3vw,36px);margin:8px 0 0;border:1px solid var(--line);border-radius:5px;background:linear-gradient(115deg,#f1ece5 0%,#f8f5ef 62%,#eee8df 100%);box-shadow:var(--eb-shadow-soft);overflow:hidden}
body.ebeclaw .eb-feat:before{content:"";position:absolute;z-index:-1;width:260px;height:260px;right:-105px;top:-145px;border:1px solid rgba(132,47,59,.16);border-radius:50%;box-shadow:0 0 0 22px rgba(132,47,59,.025),0 0 0 48px rgba(132,47,59,.02)}
body.ebeclaw .eb-feat .eb-img{border-radius:3px;background:#e4ddd3;box-shadow:0 8px 20px rgba(36,28,22,.10)}
body.ebeclaw .eb-feat .eb-img img{transition:transform .55s cubic-bezier(.2,.65,.25,1)}
body.ebeclaw .eb-feat .eb-img:hover img{transform:scale(1.035)}
body.ebeclaw .eb-feat h2{max-width:620px;font-size:clamp(32px,4vw,48px);letter-spacing:-.025em}
body.ebeclaw .eb-feat h2 a{transition:color .18s ease}
body.ebeclaw .eb-feat p{max-width:620px;line-height:1.55}
body.ebeclaw .eb-feat .eb-m{display:flex;flex-wrap:wrap;gap:5px 8px;align-items:center}

/* Feed becomes a sequence of editorial cards rather than bare text rows. */
body.ebeclaw .eb-main{margin-top:clamp(34px,5vw,58px);gap:clamp(30px,5vw,68px)}
body.ebeclaw .eb-feed-head{border-bottom:1px solid var(--eb-border-strong);padding:0 0 16px;margin-bottom:6px}
body.ebeclaw .eb-feed-head h2{font-size:clamp(23px,2.4vw,29px)}
body.ebeclaw .eb-feed-head .eb-k{display:flex;align-items:center;gap:8px}
body.ebeclaw .eb-feed-head .eb-k:before{content:"";width:18px;height:1px;background:var(--accent)}
body.ebeclaw .eb-row{position:relative;padding:25px 16px;margin:0 -16px;border-bottom:1px solid var(--line);border-radius:3px;transition:background .22s ease,box-shadow .22s ease,transform .22s ease}
body.ebeclaw .eb-row:hover{background:rgba(255,253,250,.82);box-shadow:0 6px 22px rgba(40,30,20,.045);transform:translateY(-1px)}
body.ebeclaw .eb-row h3{font-size:clamp(20px,2vw,24px);letter-spacing:-.012em;transition:color .18s ease}
body.ebeclaw .eb-row p{font-size:14px;line-height:1.65;color:#5d554e}
body.ebeclaw .eb-row .eb-k{font-size:10px;letter-spacing:.12em}
body.ebeclaw .eb-th{border-radius:3px;background:#e9e2d8;box-shadow:0 4px 12px rgba(40,30,20,.06)}
body.ebeclaw .eb-th img{transition:transform .45s cubic-bezier(.2,.65,.25,1)}
body.ebeclaw .eb-row:hover .eb-th img{transform:scale(1.055)}
body.ebeclaw .eb-row .eb-art-placeholder{transition:transform .45s cubic-bezier(.2,.65,.25,1)}
body.ebeclaw .eb-row:hover .eb-art-placeholder{transform:scale(1.035)}

/* Sidebar sections become individually legible editorial modules. */
body.ebeclaw .eb-side{padding:4px 22px;background:linear-gradient(180deg,#f3eee7,#f7f3ed);border-color:#ded6cb;box-shadow:var(--eb-shadow-soft)}
body.ebeclaw .eb-side section{padding:22px 0;border-bottom-color:#ded6cb}
body.ebeclaw .eb-side h4{display:flex;align-items:center;gap:9px;font-size:11px;letter-spacing:.13em}
body.ebeclaw .eb-side h4:before{content:"";width:15px;height:1px;background:var(--accent)}
body.ebeclaw .eb-side-about{padding-top:24px}
body.ebeclaw .eb-side-author-photo img{border:2px solid #fffdfa;box-shadow:0 3px 12px rgba(38,28,20,.12)}
body.ebeclaw .eb-side-author-name{font-size:20px}
body.ebeclaw .eb-side .eb-tags a{background:rgba(255,253,250,.55);border-color:#d8cfc2}
body.ebeclaw .eb-side .eb-tags a.is-active{background:var(--accent);border-color:var(--accent);color:#fff}
body.ebeclaw .eb-side-search form{align-items:center}
body.ebeclaw .eb-side .eb-field{background:#fffdfa!important}

/* Archive and search pages get a stronger masthead and better result rhythm. */
body.ebeclaw .eb-archive-head{position:relative;padding-top:clamp(42px,6vw,68px);padding-bottom:28px;border-bottom:1px solid var(--eb-border-strong)}
body.ebeclaw .eb-archive-head>.eb-k{display:flex;align-items:center;gap:9px}
body.ebeclaw .eb-archive-head>.eb-k:before{content:"";width:22px;height:1px;background:var(--accent)}
body.ebeclaw .eb-archive-head h1{font-size:clamp(36px,5vw,58px);max-width:900px}
body.ebeclaw .eb-archive-desc{font-size:clamp(18px,2vw,21px)}
body.ebeclaw .eb-archive-topics{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
body.ebeclaw .eb-archive .eb-row{margin-inline:-12px;padding-inline:12px}
body.ebeclaw .eb-archive .eb-feed{min-width:0}
body.ebeclaw .eb-archive .eb-side{margin-top:24px}
body.ebeclaw .eb-archive .eb-pager{margin-top:12px;padding-top:22px;border-top:1px solid var(--line)}
body.ebeclaw .eb-archive .eb-feed>p{padding:24px!important;background:var(--eb-panel);border:1px solid var(--line);border-radius:4px;color:var(--ink2)}

/* Page headers, articles and editorial pages. */
body.ebeclaw .eb-page> .eb-k,
body.ebeclaw .eb-contact-page> .eb-k{display:flex;align-items:center;gap:10px;letter-spacing:.13em}
body.ebeclaw .eb-page> .eb-k:before,
body.ebeclaw .eb-contact-page> .eb-k:before{content:"";width:24px;height:1px;background:var(--accent)}
body.ebeclaw .eb-page>h1,
body.ebeclaw .eb-contact-page>h1{font-size:clamp(38px,5vw,58px);letter-spacing:-.03em;margin-top:14px}
body.ebeclaw .eb-generic-page,.ebeclaw .eb-publications-page{padding-bottom:clamp(40px,6vw,76px)}
body.ebeclaw .eb-bio-page{padding-bottom:clamp(38px,6vw,72px)}
body.ebeclaw .eb-bio-portrait img.eb-bio-image{border:1px solid var(--line);border-radius:4px;box-shadow:var(--eb-shadow-hover)}
body.ebeclaw .eb-bio-portrait figcaption{font-size:11px;letter-spacing:.04em}
body.ebeclaw .eb-bio-credentials{background:linear-gradient(180deg,rgba(243,238,231,.8),rgba(243,238,231,0));padding:22px 22px 8px;border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:4px}
body.ebeclaw .eb-article-layout{padding-bottom:12px}
body.ebeclaw .eb-article-title{font-size:clamp(38px,5vw,60px);line-height:1.04}
body.ebeclaw .eb-article .eb-hero{box-shadow:var(--eb-shadow-soft);border:1px solid var(--line)}
body.ebeclaw .eb-article .eb-body h2{position:relative;padding-top:5px}
body.ebeclaw .eb-article .eb-body h2:before{content:"";display:block;width:26px;height:2px;background:var(--accent);margin-bottom:12px}
body.ebeclaw .eb-article .eb-body figure{margin:34px 0}
body.ebeclaw .eb-article .eb-body figcaption{font-size:12px;letter-spacing:.02em;color:var(--mute)}
body.ebeclaw .eb-article .eb-body hr{border:0;border-top:1px solid var(--line);margin:42px 0}
body.ebeclaw .eb-article .eb-body .wp-block-button__link{border-radius:3px;background:var(--accent);color:#fff;text-decoration:none;padding:12px 20px}

/* Contact, publication list and form surfaces. */
body.ebeclaw .eb-contact-page{padding-top:clamp(44px,6vw,72px)}
body.ebeclaw .eb-contact-form-wrap{box-shadow:var(--eb-shadow-soft);border-top:3px solid var(--accent)}
body.ebeclaw .eb-contact-panel{box-shadow:var(--eb-shadow-soft)}
body.ebeclaw .eb-form-field label{font-size:12px;letter-spacing:.045em}
body.ebeclaw .eb-articles-content>ul li{border-radius:3px}
body.ebeclaw .eb-articles-content>ul li:before{content:"";position:absolute;left:0;top:22px;bottom:22px;width:2px;background:transparent;transition:background .18s ease}
body.ebeclaw .eb-articles-content>ul li:hover:before{background:var(--accent)}
body.ebeclaw .eb-pdf-link{background:#fffdfa;box-shadow:0 2px 7px rgba(40,30,20,.035)}

/* Footer finish: subtle top rule and a little more breathing room. */
body.ebeclaw .eb-footer{position:relative;margin-top:clamp(64px,8vw,104px);background:linear-gradient(180deg,#f1ece5 0%,#eee8df 100%);border-top:1px solid #ded5c9}
body.ebeclaw .eb-footer:before{content:"";position:absolute;top:-1px;left:max(32px,calc((100% - 1160px)/2));width:54px;height:2px;background:var(--accent)}
body.ebeclaw .eb-footer>.eb-wrap{padding-top:clamp(42px,6vw,66px)}
body.ebeclaw .eb-footer-main{gap:clamp(28px,5vw,76px)}
body.ebeclaw .eb-footer-logo{font-size:30px}
body.ebeclaw .eb-footer-column h2{padding-bottom:10px;border-bottom:1px solid #d8cfc2}
body.ebeclaw .eb-footer-bottom{border-top-color:#d8cfc2}

/* Unified motion and focus behavior. */
body.ebeclaw :is(.eb-chip,.eb-pdf-link,.eb-btn,.eb-footer a,.eb-tags a,.eb-menu){transition:color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
body.ebeclaw :is(a,button,input,textarea,select):focus-visible{outline:2px solid var(--accent)!important;outline-offset:3px!important}
@media(max-width:900px){
  body.ebeclaw .eb-main{gap:26px}
  body.ebeclaw .eb-side{box-shadow:none}
  body.ebeclaw .eb-feat{padding:24px}
  body.ebeclaw .eb-archive .eb-side{margin-top:8px}
}
@media(max-width:640px){
  body.ebeclaw{background:var(--bg)}
  body.ebeclaw .eb-intro{padding-top:34px;padding-bottom:16px}
  body.ebeclaw .eb-intro>p{font-size:clamp(22px,6.2vw,28px);line-height:1.38}
  body.ebeclaw .eb-feat{padding:16px;margin-top:6px;gap:16px}
  body.ebeclaw .eb-feat h2{font-size:clamp(29px,8vw,36px)}
  body.ebeclaw .eb-row{margin-inline:-8px;padding:19px 8px}
  body.ebeclaw .eb-row:hover{transform:none}
  body.ebeclaw .eb-side{padding-inline:16px}
  body.ebeclaw .eb-archive-head{padding-top:34px}
  body.ebeclaw .eb-archive-head h1{font-size:clamp(34px,9vw,43px)}
  body.ebeclaw .eb-bio-credentials{padding:18px 16px 6px}
  body.ebeclaw .eb-footer{margin-top:54px}
  body.ebeclaw .eb-footer:before{left:18px}
}
@media(prefers-reduced-motion:reduce){
  body.ebeclaw .eb-feat .eb-img img,
  body.ebeclaw .eb-row,
  body.ebeclaw .eb-th img{transition:none!important}
}


/* v23: Homepage sidebar topic chips mirror the Read PDF button treatment. */
body.ebeclaw .eb-side .eb-tags a,
body.ebeclaw .eb-side .eb-tags a:visited {
  display:inline-flex;align-items:center;justify-content:center;
  min-height:34px;padding:7px 12px!important;
  border:1px solid #D9D3C6!important;border-radius:3px!important;
  background:#fffdfa!important;color:var(--accent)!important;
  font:600 12px/1.2 var(--sans)!important;text-decoration:none!important;
  box-shadow:0 2px 7px rgba(40,30,20,.035)!important;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease!important;
}
body.ebeclaw .eb-side .eb-tags a:hover,
body.ebeclaw .eb-side .eb-tags a:focus-visible,
body.ebeclaw .eb-side .eb-tags a.is-active {
  background:var(--accent)!important;border-color:var(--accent)!important;
  color:#fff!important;box-shadow:0 3px 9px rgba(80,35,42,.13)!important;
}
body.ebeclaw .eb-side .eb-tags a:focus-visible{outline:2px solid var(--accent)!important;outline-offset:3px!important}

/* Search and newsletter fields share one identical control size and finish. */
body.ebeclaw .eb-side-search input.eb-field[type="search"],
body.ebeclaw .eb-side section:not(.eb-side-search) input.eb-field[type="email"]{
  display:block!important;width:100%!important;box-sizing:border-box!important;
  min-height:46px!important;height:46px!important;margin:8px 0 14px!important;
  padding:11px 13px!important;border:1px solid var(--eb-field-border)!important;
  border-radius:4px!important;background:var(--eb-field-bg)!important;
  color:var(--ink)!important;font:15px/1.5 var(--sans)!important;
  box-shadow:none!important;
}
body.ebeclaw .eb-side-search input.eb-field[type="search"]:focus,
body.ebeclaw .eb-side section:not(.eb-side-search) input.eb-field[type="email"]:focus{
  border-color:var(--accent)!important;background:#fff!important;
  box-shadow:0 0 0 3px var(--eb-field-focus)!important;outline:0!important;
}
body.ebeclaw .eb-side-search input.eb-field[type="search"]::placeholder{color:#91887e!important;opacity:1}


/* v24 — clean, Medium-inspired editorial homepage layout (EBEClaw identity retained). */
@media (min-width:901px){
 body.ebeclaw .eb-hd{position:sticky;top:0;z-index:1000;height:66px;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid #e9e5df}
 body.ebeclaw .eb-feat{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);align-items:center;gap:clamp(28px,4vw,56px);padding:30px 0 38px;margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none;overflow:visible}
 body.ebeclaw .eb-feat:before{display:none}
 body.ebeclaw .eb-feat>div{grid-column:1;grid-row:1;max-width:620px}
 body.ebeclaw .eb-feat>.eb-img{grid-column:2;grid-row:1;order:0;width:100%;aspect-ratio:1.42;height:auto;border-radius:4px;box-shadow:none}
 body.ebeclaw .eb-feat h2{font-size:clamp(34px,3.4vw,48px);line-height:1.1}
 body.ebeclaw .eb-main{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:clamp(34px,5vw,68px);align-items:start;margin-top:34px}
 body.ebeclaw .eb-main>.eb-feed,body.ebeclaw .eb-main>div:first-child{min-width:0}
 body.ebeclaw .eb-side{position:sticky;top:88px;align-self:start;max-height:calc(100vh - 108px);overflow-y:auto}
 body.ebeclaw .eb-intro{max-width:100%;padding:36px 0 10px}
 body.ebeclaw .eb-intro>p{max-width:920px;font-size:clamp(20px,2.1vw,26px);line-height:1.42}
}
/* Keep the homepage post list compact, scannable and consistent. */
body.ebeclaw .eb-feed-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:0 0 12px;border-bottom:1px solid var(--line)}
body.ebeclaw .eb-feed-head h2{margin:0;font-size:23px}
body.ebeclaw .eb-row{border-bottom:1px solid var(--line);padding-block:22px}
body.ebeclaw .eb-row:last-of-type{border-bottom:0}
body.ebeclaw .eb-row h3{font-size:clamp(19px,1.7vw,23px);line-height:1.25}
body.ebeclaw .eb-row p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* Search and Reach newsletter forms: identical field/button sizing and alignment. */
body.ebeclaw .eb-side .eb-side-search form,
body.ebeclaw .eb-side section:not(.eb-side-search) form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;width:100%;margin:0}
body.ebeclaw .eb-side .eb-side-search form .eb-field,
body.ebeclaw .eb-side section:not(.eb-side-search) form .eb-field{width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;padding:10px 11px!important;box-sizing:border-box!important;border:1px solid var(--eb-field-border)!important;border-radius:4px!important;background:#fffdfa!important;font:14px/1.3 var(--sans)!important}
body.ebeclaw .eb-side .eb-side-search form .eb-btn,
body.ebeclaw .eb-side section:not(.eb-side-search) form .eb-btn{height:44px!important;min-height:44px!important;align-self:stretch;padding:0 14px!important;margin:0!important;border:1px solid var(--accent)!important;border-radius:4px!important;background:#fffdfa!important;color:var(--accent)!important;font:600 13px/1 var(--sans)!important;white-space:nowrap}
body.ebeclaw .eb-side .eb-side-search form .eb-btn:hover,
body.ebeclaw .eb-side section:not(.eb-side-search) form .eb-btn:hover{background:var(--accent)!important;color:#fff!important}
body.ebeclaw .eb-side section:not(.eb-side-search) form label[for="eb-nl"]{grid-column:1/-1;margin:0 0 2px}
body.ebeclaw .eb-side .eb-side-search input::placeholder{color:#91887e!important;opacity:1}
@media(max-width:900px){
 body.ebeclaw .eb-main{display:flex;flex-direction:column;gap:0}
 body.ebeclaw .eb-side{position:static;max-height:none;overflow:visible;width:100%;margin-top:34px}
 body.ebeclaw .eb-feat{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.85fr);gap:22px;padding:24px 0 30px;margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none}
 body.ebeclaw .eb-feat:before{display:none}
 body.ebeclaw .eb-feat>div{grid-column:1;grid-row:1}
 body.ebeclaw .eb-feat>.eb-img{grid-column:2;grid-row:1;order:0;aspect-ratio:1.25;height:auto}
}
@media(max-width:640px){
 body.ebeclaw .eb-feat{grid-template-columns:1fr;gap:16px}
 body.ebeclaw .eb-feat>div{grid-column:1;grid-row:2}
 body.ebeclaw .eb-feat>.eb-img{grid-column:1;grid-row:1;aspect-ratio:16/9}
 body.ebeclaw .eb-side .eb-tags{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;padding:2px 1px 10px;scroll-snap-type:x proximity}
 body.ebeclaw .eb-side .eb-tags a{flex:0 0 auto;scroll-snap-align:start}
 body.ebeclaw .eb-side .eb-side-search form,
 body.ebeclaw .eb-side section:not(.eb-side-search) form{grid-template-columns:minmax(0,1fr) auto}
}

/* v25 — homepage sidebar: four compact editorial modules in the requested order. */
@media (min-width: 901px) {
  body.ebeclaw .eb-main { grid-template-columns:minmax(0,1fr) 276px; gap:clamp(30px,4vw,56px); }
  body.ebeclaw .eb-side { position:sticky; top:84px; align-self:start; max-height:none; overflow:visible; padding:0 18px; }
}
body.ebeclaw .eb-side { min-width:0; border:1px solid #e2dbd1; border-radius:4px; background:#f7f3ed; box-shadow:0 5px 18px rgba(38,29,22,.045); }
body.ebeclaw .eb-side > section { padding:19px 0; border-bottom:1px solid #e2dbd1; }
body.ebeclaw .eb-side > section:last-child { border-bottom:0; }
body.ebeclaw .eb-side > section > h4 { margin:0 0 12px; color:var(--ink); font:600 10px/1.3 var(--sans); letter-spacing:.13em; text-transform:uppercase; }
body.ebeclaw .eb-side > section > h4:before { content:none; }
body.ebeclaw .eb-side-author { display:flex; align-items:flex-start; gap:12px; }
body.ebeclaw .eb-side-author-photo { flex:0 0 54px; width:54px; height:54px; margin:0; }
body.ebeclaw .eb-side-author-photo img { display:block; width:54px; height:54px; border:1px solid #fff; border-radius:50%; object-fit:cover; }
body.ebeclaw .eb-side-author-details { min-width:0; }
body.ebeclaw .eb-side-author-name { margin:1px 0 3px; color:var(--ink); font:600 16px/1.25 var(--serif); }
body.ebeclaw .eb-side-bio { margin:0 0 5px!important; font:12px/1.45 var(--sans); color:var(--mute); }
body.ebeclaw .eb-side-author-details .eb-k { font-size:11px; letter-spacing:.035em; }
body.ebeclaw .eb-side .eb-tags { display:flex; flex-wrap:wrap; gap:7px; }
body.ebeclaw .eb-side .eb-tags a { min-height:29px; padding:6px 9px!important; border-radius:3px!important; background:#fffdfa!important; font-size:11px!important; }
body.ebeclaw .eb-side .eb-tags a:hover,
body.ebeclaw .eb-side .eb-tags a:focus-visible,
body.ebeclaw .eb-side .eb-tags a.is-active { background:var(--accent)!important; border-color:var(--accent)!important; color:#fff!important; }
body.ebeclaw .eb-side .eb-side-newsletter-copy { margin:0 0 10px; font-size:12px; line-height:1.5; }
body.ebeclaw .eb-side .eb-side-search form,
body.ebeclaw .eb-side .eb-newsletter-fallback { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:7px; width:100%; margin:0; }
body.ebeclaw .eb-side .eb-side-search form .eb-field,
body.ebeclaw .eb-side .eb-newsletter-fallback .eb-field { min-width:0; width:100%!important; height:40px!important; min-height:40px!important; margin:0!important; padding:8px 10px!important; border:1px solid #d9d1c6!important; border-radius:4px!important; background:#fffdfa!important; color:var(--ink)!important; font:13px/1.3 var(--sans)!important; box-shadow:none!important; }
body.ebeclaw .eb-side .eb-side-search form .eb-btn,
body.ebeclaw .eb-side .eb-newsletter-fallback .eb-btn { height:40px!important; min-height:40px!important; margin:0!important; padding:0 11px!important; border:1px solid #d9d1c6!important; border-radius:4px!important; background:#fffdfa!important; color:var(--accent)!important; font:600 11px/1 var(--sans)!important; white-space:nowrap; }
body.ebeclaw .eb-side .eb-side-search form .eb-btn:hover,
body.ebeclaw .eb-side .eb-newsletter-fallback .eb-btn:hover { background:var(--accent)!important; border-color:var(--accent)!important; color:#fff!important; }
body.ebeclaw .eb-side .eb-reach-form form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px; align-items:center; }
body.ebeclaw .eb-side .eb-reach-form :is(input[type=email],input[type=text]) { min-width:0; width:100%; height:40px; min-height:40px; margin:0; padding:8px 10px; border:1px solid #d9d1c6; border-radius:4px; background:#fffdfa; font:13px/1.3 var(--sans); }
body.ebeclaw .eb-side .eb-reach-form :is(button,input[type=submit]) { height:40px; min-height:40px; margin:0; padding:0 11px; border:1px solid #d9d1c6; border-radius:4px; background:#fffdfa; color:var(--accent); font:600 11px/1 var(--sans); white-space:nowrap; }
body.ebeclaw .eb-side .eb-reach-form :is(button,input[type=submit]):hover { background:var(--accent); border-color:var(--accent); color:#fff; }
@media(max-width:900px) {
  body.ebeclaw .eb-side { position:static; max-height:none; overflow:visible; width:100%; margin-top:30px; padding:0 18px; }
}
@media(max-width:640px) {
  body.ebeclaw .eb-side .eb-tags { display:flex; flex-wrap:nowrap; overflow-x:auto; overscroll-behavior-x:contain; padding:2px 1px 10px; scroll-snap-type:x proximity; scrollbar-width:thin; }
  body.ebeclaw .eb-side .eb-tags a { flex:0 0 auto; scroll-snap-align:start; }
  body.ebeclaw .eb-side .eb-side-search form,
  body.ebeclaw .eb-side .eb-newsletter-fallback { grid-template-columns:minmax(0,1fr) auto; }
}

/* v29: Unified warm editorial palette. Keep the white header locked. */
:root{
  --ebeclaw-page:#FAF8F4;
  --ebeclaw-header:#FFFFFF;
  --ebeclaw-footer:#F1EEE7;
  --ebeclaw-divider:#E5DED3;
}
body.ebeclaw{
  background:var(--ebeclaw-page) !important;
}
body.ebeclaw .eb-hd{
  background:var(--ebeclaw-header) !important;
  border-bottom:1px solid var(--ebeclaw-divider) !important;
  box-shadow:0 2px 10px rgba(35,28,20,.025);
}
body.ebeclaw .eb-nav.open{
  background:var(--ebeclaw-header) !important;
}
body.ebeclaw .eb-footer{
  background:var(--ebeclaw-footer) !important;
  border-top:1px solid #E2DBD0 !important;
}
body.ebeclaw .eb-footer:before{
  background:var(--accent) !important;
}
body.ebeclaw .eb-footer-column h2{
  border-bottom-color:#DED7CC !important;
}
body.ebeclaw .eb-footer-bottom{
  border-top-color:#DED7CC !important;
}

/* v31: article heading uses the full available editorial width; sidebar controls share compact sizing. */
body.ebeclaw .eb-article-title{max-width:none!important;width:100%;text-wrap:pretty}
body.ebeclaw .eb-article-head{width:100%;max-width:none}
body.ebeclaw .eb-side .eb-side-search form .eb-field,
body.ebeclaw .eb-side .eb-newsletter-fallback .eb-field,
body.ebeclaw .eb-side .eb-reach-form :is(input[type=email],input[type=text]){font-size:12px!important;line-height:1.3!important}
body.ebeclaw .eb-side .eb-side-search form .eb-btn,
body.ebeclaw .eb-side .eb-newsletter-fallback .eb-btn,
body.ebeclaw .eb-side .eb-reach-form :is(button,input[type=submit]){font-size:12px!important;height:40px!important;min-height:40px!important;padding-inline:12px!important}

/* v32: prevent the TOC heading from inheriting button hover/focus fills. */
body.ebeclaw .eb-toc .eb-toc-toggle,
body.ebeclaw .eb-toc .eb-toc-toggle:hover,
body.ebeclaw .eb-toc .eb-toc-toggle:active,
body.ebeclaw .eb-toc .eb-toc-toggle:focus,
body.ebeclaw .eb-toc .eb-toc-toggle:focus-visible {
  background: transparent !important;
  color: var(--accent) !important;
  border-color: #ddd5ca !important;
  box-shadow: none !important;
  transform: none !important;
}
/* v32: leave enough room above section headings after TOC anchor navigation. */
body.ebeclaw .eb-article .eb-body :is(h2,h3,h4) { scroll-margin-top: calc(var(--eb-hd-h,68px) + 8px); }
body.ebeclaw.admin-bar .eb-article .eb-body :is(h2,h3,h4),
body.admin-bar.ebeclaw .eb-article .eb-body :is(h2,h3,h4) { scroll-margin-top: calc(var(--eb-hd-h,68px) + 40px); }

/* v35: compact header search; unify pagination hover with Topics controls; sync sidebar fields. */
body.ebeclaw .eb-hd .eb-search,
body.ebeclaw .eb-nav .eb-search {
  min-height:32px!important;
  height:32px!important;
  padding:3px 9px!important;
  box-sizing:border-box!important;
  align-items:center!important;
  gap:7px!important;
}
body.ebeclaw .eb-hd .eb-search svg,
body.ebeclaw .eb-nav .eb-search svg {width:16px;height:16px;flex:0 0 16px}
body.ebeclaw .eb-hd .eb-search input,
body.ebeclaw .eb-nav .eb-search input {height:20px!important;min-height:20px!important;padding:0!important;font-size:12px!important;line-height:20px!important}
body.ebeclaw .eb-pager a.page-numbers:hover,
body.ebeclaw .eb-pager a.page-numbers:focus-visible {background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important;outline:none}
body.ebeclaw .eb-side .eb-side-search form .eb-field,
body.ebeclaw .eb-side .eb-newsletter-fallback .eb-field,
body.ebeclaw .eb-side .eb-reach-form :is(input[type=email],input[type=text]) {height:40px!important;min-height:40px!important;padding:8px 10px!important;font-size:12px!important;line-height:1.3!important;box-sizing:border-box!important}
body.ebeclaw .eb-side .eb-side-search form .eb-btn,
body.ebeclaw .eb-side .eb-newsletter-fallback .eb-btn,
body.ebeclaw .eb-side .eb-reach-form :is(button,input[type=submit]) {height:40px!important;min-height:40px!important;box-sizing:border-box!important}

/* v36: loosen header search and make sidebar search/newsletter rows share full-width spacing. */
body.ebeclaw .eb-hd .eb-search,
body.ebeclaw .eb-nav .eb-search {
  height:36px!important; min-height:36px!important; padding:4px 10px!important;
}
body.ebeclaw .eb-hd .eb-search input,
body.ebeclaw .eb-nav .eb-search input {
  height:24px!important; min-height:24px!important; font-size:13px!important; line-height:24px!important;
}
body.ebeclaw .eb-side .eb-side-search form,
body.ebeclaw .eb-side .eb-newsletter-fallback,
body.ebeclaw .eb-side .eb-reach-form {
  display:flex!important; width:100%!important; align-items:center!important; justify-content:space-between!important; gap:12px!important; box-sizing:border-box!important;
}
body.ebeclaw .eb-side .eb-side-search form .eb-field,
body.ebeclaw .eb-side .eb-newsletter-fallback .eb-field,
body.ebeclaw .eb-side .eb-reach-form :is(input[type=email],input[type=text]) {
  flex:1 1 0!important; width:auto!important; min-width:0!important;
}
body.ebeclaw .eb-side .eb-side-search form .eb-btn,
body.ebeclaw .eb-side .eb-newsletter-fallback .eb-btn,
body.ebeclaw .eb-side .eb-reach-form :is(button,input[type=submit]) {
  flex:0 0 auto!important; margin:0!important;
}

/* v37: Keep search results inside the same editorial archive layout, bypassing Astra's default search template. */
body.ebeclaw.search .eb-archive{width:100%;}
body.ebeclaw.search .eb-archive .eb-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,320px);gap:clamp(32px,5vw,72px);align-items:start;margin-top:0;}
body.ebeclaw.search .eb-archive .eb-feed{min-width:0;}
body.ebeclaw.search .eb-archive .eb-side{margin-top:24px;}
body.ebeclaw.search .eb-archive .eb-feed>p{background:transparent;border:0;border-radius:0;padding:28px 0!important;color:var(--ink2);}
@media(max-width:900px){body.ebeclaw.search .eb-archive .eb-main{grid-template-columns:1fr;gap:24px;}body.ebeclaw.search .eb-archive .eb-side{margin-top:8px;}}

/* v38: Explicit search-page layout, independent of archive/search body-class assumptions. */
body.ebeclaw .eb-search-page{width:100%;max-width:1280px;margin-inline:auto;}
body.ebeclaw .eb-search-page .eb-search-head{padding:clamp(36px,5vw,64px) 0 26px;border-bottom:1px solid var(--eb-border-strong, var(--line));}
body.ebeclaw .eb-search-page .eb-search-head h1{font:600 clamp(34px,4.6vw,54px)/1.12 var(--sans);letter-spacing:-.025em;color:var(--ink);margin:10px 0 12px;max-width:100%;}
body.ebeclaw .eb-search-page .eb-search-breadcrumb{font:14px/1.5 var(--sans);margin:0;color:var(--ink2);}
body.ebeclaw .eb-search-page .eb-search-breadcrumb a{color:inherit;text-decoration:none;}
body.ebeclaw .eb-search-page .eb-search-breadcrumb a:hover{color:var(--accent);}
body.ebeclaw .eb-search-page .eb-search-main{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(250px,320px)!important;gap:clamp(28px,4.5vw,64px)!important;align-items:start!important;margin-top:30px!important;}
body.ebeclaw .eb-search-page .eb-search-feed{min-width:0;}
body.ebeclaw .eb-search-page .eb-side{margin-top:0!important;position:sticky;top:84px;align-self:start;}
body.ebeclaw .eb-search-page .eb-search-feed .eb-row:first-child{padding-top:0;}
body.ebeclaw .eb-search-page .eb-pager{margin-top:12px;padding-top:22px;border-top:1px solid var(--line);}
body.ebeclaw .eb-search-page .eb-search-empty{padding:32px 0;color:var(--ink2);font:15px/1.6 var(--sans);}
body.ebeclaw .eb-search-page .eb-search-empty p{margin:0 0 24px;}
body.ebeclaw .eb-search-page .eb-search-empty form{display:flex;max-width:420px;align-items:stretch;gap:8px;margin:0;}
body.ebeclaw .eb-search-page .eb-search-empty input{min-width:0;flex:1;height:42px;padding:10px 12px;border:1px solid var(--line);border-radius:4px;background:#fffdfa;font:14px/1.3 var(--sans);}
body.ebeclaw .eb-search-page .eb-search-empty button{height:42px;padding:0 14px;border:1px solid var(--accent);border-radius:4px;background:#fffdfa;color:var(--accent);font:600 13px/1 var(--sans);cursor:pointer;}
body.ebeclaw .eb-search-page .eb-search-empty button:hover{background:var(--accent);color:#fff;}
@media(max-width:900px){body.ebeclaw .eb-search-page .eb-search-main{display:flex!important;flex-direction:column!important;gap:24px!important;margin-top:24px!important;}body.ebeclaw .eb-search-page .eb-side{position:static;width:100%;margin-top:0!important;}}
@media(max-width:640px){body.ebeclaw .eb-search-page .eb-search-head h1{font-size:clamp(30px,9vw,40px);}body.ebeclaw .eb-search-page .eb-search-empty form{width:100%;}}


/* v39: Homepage feed without excerpts; spread pagination across the available feed width. */
body.ebeclaw.home .eb-pager,
body.ebeclaw.front-page .eb-pager { width:100%; box-sizing:border-box; justify-content:space-between; }


/* v40: center pagination controls within the full available row width. */
body.ebeclaw.home .eb-pager,
body.ebeclaw.front-page .eb-pager { justify-content:center!important; gap:18px; }
/* Homepage feed rows: metadata, title, two-line summary, topic and compact image. */
body.ebeclaw.home .eb-home-post-row,
body.ebeclaw.front-page .eb-home-post-row{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:clamp(18px,2.8vw,32px);align-items:center;padding:24px 0;border-bottom:1px solid var(--line)}
body.ebeclaw.home .eb-home-post-row .eb-row-content,
body.ebeclaw.front-page .eb-home-post-row .eb-row-content{min-width:0}
body.ebeclaw.home .eb-home-post-row .eb-row-topic,
body.ebeclaw.front-page .eb-home-post-row .eb-row-topic{display:block;margin:0 0 5px;font-size:10px;line-height:1.4;letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
body.ebeclaw.home .eb-home-post-row .eb-row-meta,
body.ebeclaw.front-page .eb-home-post-row .eb-row-meta{margin:0 0 8px;font-size:12px;line-height:1.4;color:var(--ink2)}
body.ebeclaw.home .eb-home-post-row h3,
body.ebeclaw.front-page .eb-home-post-row h3{font-size:clamp(19px,1.6vw,23px);line-height:1.25;font-weight:700;margin:0 0 8px}
body.ebeclaw.home .eb-home-post-row .eb-row-excerpt,
body.ebeclaw.front-page .eb-home-post-row .eb-row-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0 0 10px;font-size:14px;line-height:1.55;color:var(--ink2)}
body.ebeclaw.home .eb-home-post-row .eb-row-topic,
body.ebeclaw.front-page .eb-home-post-row .eb-row-topic{display:block;margin:0 0 5px;font-size:10px;line-height:1.4;letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
body.ebeclaw.home .eb-home-post-row .eb-th,
body.ebeclaw.front-page .eb-home-post-row .eb-th{width:132px;height:96px;aspect-ratio:auto;overflow:hidden;border-radius:3px;align-self:center}
body.ebeclaw.home .eb-home-post-row .eb-th img,
body.ebeclaw.front-page .eb-home-post-row .eb-th img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:600px){body.ebeclaw.home .eb-home-post-row,body.ebeclaw.front-page .eb-home-post-row{grid-template-columns:minmax(0,1fr) 104px;gap:14px;padding:18px 0}body.ebeclaw.home .eb-home-post-row .eb-th,body.ebeclaw.front-page .eb-home-post-row .eb-th{width:104px;height:84px}body.ebeclaw.home .eb-home-post-row h3,body.ebeclaw.front-page .eb-home-post-row h3{font-size:18px}body.ebeclaw.home .eb-home-post-row .eb-row-excerpt,body.ebeclaw.front-page .eb-home-post-row .eb-row-excerpt{font-size:13px;line-height:1.45}}

/* v42: subtle homepage row hover and shared editorial page width. */
body.ebeclaw .eb-wrap{max-width:1160px!important;}
body.ebeclaw .eb-row:hover,
body.ebeclaw .eb-home-post-row:hover{background:rgba(132,47,59,.025)!important;box-shadow:none!important;transform:none!important;}
body.ebeclaw .eb-home-post-row:hover h3{color:var(--accent);}
body.ebeclaw .eb-home-post-row:hover .eb-th img{transform:scale(1.025);}
body.ebeclaw .eb-home-post-row{transition:background-color .18s ease;}
body.ebeclaw .eb-home-post-row h3{transition:color .18s ease;}
body.ebeclaw .eb-contact-page{max-width:none!important;width:100%;box-sizing:border-box;}
body.ebeclaw .eb-bio-page{width:min(100% - 48px,1160px)!important;max-width:1160px!important;}
body.ebeclaw .eb-article-layout{width:min(100% - 36px,1160px)!important;max-width:1160px!important;}
/* Keep article body text at a comfortable reading measure while the page shell aligns site-wide. */
body.ebeclaw .eb-article .eb-body{max-width:760px;}
@media(max-width:700px){body.ebeclaw .eb-bio-page{width:calc(100% - 36px)!important;}}

/* v43: give homepage article text breathing room inside the hover highlight without shifting the feed. */
body.ebeclaw.home .eb-home-post-row,
body.ebeclaw.front-page .eb-home-post-row{margin-inline:0;transition:background-color .18s ease,padding .18s ease,margin .18s ease;}
body.ebeclaw.home .eb-home-post-row:hover,
body.ebeclaw.front-page .eb-home-post-row:hover{padding-inline:16px;margin-inline:-16px;}
@media(max-width:600px){
 body.ebeclaw.home .eb-home-post-row:hover,
 body.ebeclaw.front-page .eb-home-post-row:hover{padding-inline:10px;margin-inline:-10px;}
}

/* v44: Align regular page shells to the homepage editorial container. Single posts retain their dedicated reading layout. */
body.ebeclaw .eb-wrap,
body.ebeclaw .eb-page,
body.ebeclaw .eb-bio-page,
body.ebeclaw .eb-contact-page,
body.ebeclaw .eb-search-page,
body.ebeclaw .eb-archive {
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}
body.ebeclaw .eb-bio-page { padding-top: clamp(36px, 5vw, 72px); }
body.ebeclaw .eb-page { padding-top: clamp(40px, 6vw, 72px); }
@media (max-width: 640px) {
  body.ebeclaw .eb-wrap,
  body.ebeclaw .eb-page,
  body.ebeclaw .eb-bio-page,
  body.ebeclaw .eb-contact-page,
  body.ebeclaw .eb-search-page,
  body.ebeclaw .eb-archive { padding-inline: 18px; }
}

/* v47: audited regular-page shell sizing. Homepage .eb-wrap is the reference;
   all regular page shells share its outer width, box model and side gutters.
   Single-post .eb-article-layout is deliberately excluded. */
body.ebeclaw :is(.eb-wrap, .eb-page, .eb-bio-page, .eb-contact-page, .eb-search-page, .eb-archive) {
  box-sizing: border-box !important;
  width: min(100%, 1280px) !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(20px, 4vw, 56px) !important;
  padding-right: clamp(20px, 4vw, 56px) !important;
}
@media (max-width: 640px) {
  body.ebeclaw :is(.eb-wrap, .eb-page, .eb-bio-page, .eb-contact-page, .eb-search-page, .eb-archive) {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* v48: single common override for all regular-page wrapper variants.
   Page-specific classes remain available for layout styling; their outer container
   dimensions are unified here. The single-post article shell is intentionally excluded. */
body.ebeclaw :is(
  .eb-wrap,
  .eb-page,
  .eb-bio-page,
  .eb-contact-page,
  .eb-articles-page,
  .eb-publications-page,
  .eb-search-page,
  .eb-archive,
  .eb-archive-page,
  .eb-generic-page
) {
  width: min(100%, 1280px) !important;
  max-width: 1280px !important;
  box-sizing: border-box !important;
  margin-inline: auto !important;
  padding-inline: clamp(20px, 4vw, 56px) !important;
}
@media (max-width: 640px) {
  body.ebeclaw :is(
    .eb-wrap,
    .eb-page,
    .eb-bio-page,
    .eb-contact-page,
    .eb-articles-page,
    .eb-publications-page,
    .eb-search-page,
    .eb-archive,
    .eb-archive-page,
    .eb-generic-page
  ) {
    padding-inline: 18px !important;
  }
}

/* v49: Fix the actual newsletter shortcode form inside the sidebar wrapper. The wrapper is not necessarily the form element; constrain its child form. */
body.ebeclaw .eb-side .eb-reach-form form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
body.ebeclaw .eb-side .eb-reach-form form :is(input[type=email], input[type=text], input[type=email], input[type=submit], button) {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
body.ebeclaw .eb-side .eb-reach-form form :is(input[type=email], input[type=text]) {
  width: 100% !important;
  flex: none !important;
}
body.ebeclaw .eb-side .eb-reach-form form :is(input[type=submit], button) {
  width: auto !important;
  flex: none !important;
  margin: 0 !important;
  white-space: nowrap !important;
}


/* v50: article tables and generated TOC refinement */
body.ebeclaw .eb-article .eb-body :is(.wp-block-table,figure.wp-block-table) {
  max-width:100%; overflow-x:auto; overscroll-behavior-x:contain;
  margin:clamp(24px,3vw,36px) 0; border:1px solid var(--line); border-radius:4px;
  background:#fffdfa; -webkit-overflow-scrolling:touch;
}
body.ebeclaw .eb-article .eb-body table {
  width:100%; min-width:520px; border-collapse:separate; border-spacing:0;
  font:14px/1.55 var(--sans); color:var(--ink); margin:0;
}
body.ebeclaw .eb-article .eb-body thead th {
  position:relative; text-align:left; vertical-align:bottom; padding:13px 16px;
  background:#f0ebe3; color:var(--ink); font-size:11px; font-weight:700;
  letter-spacing:.07em; text-transform:uppercase; border:0; border-bottom:1px solid #cfc5b8;
}
body.ebeclaw .eb-article .eb-body tbody td {
  padding:13px 16px; vertical-align:top; border:0; border-bottom:1px solid #e7e0d7;
  line-height:1.55; background:#fffdfa;
}
body.ebeclaw .eb-article .eb-body tbody tr:nth-child(even) td { background:#f8f5f0; }
body.ebeclaw .eb-article .eb-body tbody tr:last-child td { border-bottom:0; }
body.ebeclaw .eb-article .eb-body table :is(th,td) p { margin:0 0 .45em; font:inherit; }
body.ebeclaw .eb-article .eb-body table :is(th,td) p:last-child { margin-bottom:0; }
body.ebeclaw .eb-article .eb-body table a { text-underline-offset:2px; }
body.ebeclaw .eb-article .eb-body table caption { text-align:left; padding:12px 16px; font-weight:600; color:var(--ink2); }
body.ebeclaw .eb-toc-list { counter-reset:ebtoc; }
body.ebeclaw .eb-toc-list > li { counter-increment:ebtoc; }
body.ebeclaw .eb-toc-list > li > a { position:relative; padding:8px 8px 8px 30px; margin-left:-12px; border-radius:2px; }
body.ebeclaw .eb-toc-list > li > a::before { content:counter(ebtoc); position:absolute; left:9px; top:8px; width:16px; color:var(--mute); font-size:11px; font-weight:600; font-variant-numeric:tabular-nums; }
body.ebeclaw .eb-toc-sub { margin:2px 0 8px 8px; padding-left:12px; border-left:1px solid #ddd5ca; }
body.ebeclaw .eb-toc-sub a { padding:6px 8px 6px 12px!important; margin:0!important; border-left:0!important; font-size:12.5px!important; line-height:1.5!important; }
body.ebeclaw .eb-toc-list a { text-decoration:none; }
body.ebeclaw .eb-toc-list a:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
@media(max-width:640px) {
  body.ebeclaw .eb-article .eb-body table { min-width:500px; font-size:13px; }
  body.ebeclaw .eb-article .eb-body tbody td, body.ebeclaw .eb-article .eb-body thead th { padding:11px 12px; }
}
/* Native Customizer variable support */
body.ebeclaw{background:var(--bg);color:var(--ink);}

/* v55: polished search empty-state and inline newsletter controls */
body.ebeclaw .eb-search-page .eb-search-empty{
  position:relative; display:grid; grid-template-columns:64px minmax(0,1fr); align-items:center;
  gap:20px 24px; margin:clamp(20px,3vw,34px) 0; padding:clamp(22px,3.4vw,36px);
  border:1px solid #e7dfd5; border-radius:8px; background:linear-gradient(145deg,#fffdfa 0%,#f5f0e9 100%);
  box-shadow:0 12px 36px rgba(44,31,23,.045);
}
body.ebeclaw .eb-search-page .eb-search-empty-mark{
  width:64px;height:64px;display:grid;place-items:center;position:relative;border-radius:50%;
  background:#f0e6e0;border:1px solid #e4d5ce;
}
body.ebeclaw .eb-search-page .eb-search-empty-mark:before{
  content:"";position:absolute;width:28px;height:28px;border:2px solid var(--accent);border-radius:50%;left:16px;top:14px;
}
body.ebeclaw .eb-search-page .eb-search-empty-mark:after{
  content:"";position:absolute;width:13px;height:2px;background:var(--accent);transform:rotate(45deg);left:39px;top:42px;border-radius:2px;
}
body.ebeclaw .eb-search-page .eb-search-empty-mark span{display:none}
body.ebeclaw .eb-search-page .eb-search-empty-copy{min-width:0}
body.ebeclaw .eb-search-page .eb-search-empty-eyebrow{margin:0 0 6px;color:var(--accent);font:600 10px/1.4 var(--sans);letter-spacing:.13em;text-transform:uppercase}
body.ebeclaw .eb-search-page .eb-search-empty-copy h2{margin:0 0 8px;font:600 clamp(23px,2.5vw,31px)/1.2 var(--serif);letter-spacing:-.025em;color:var(--ink)}
body.ebeclaw .eb-search-page .eb-search-empty-copy>p:last-child{margin:0;color:var(--mute);font:14px/1.6 var(--sans)}
body.ebeclaw .eb-search-page .eb-search-empty form{grid-column:1/-1;display:flex;gap:8px;width:100%;max-width:560px;margin:2px 0 0;align-items:stretch}
body.ebeclaw .eb-search-page .eb-search-empty input{flex:1;min-width:0;height:48px;min-height:48px;padding:0 15px;border:1px solid #d9d0c5;border-radius:5px;background:#fff;font:14px/1.3 var(--sans);color:var(--ink);transition:border-color .2s,box-shadow .2s}
body.ebeclaw .eb-search-page .eb-search-empty input:focus{outline:none;border-color:rgba(132,47,59,.7);box-shadow:0 0 0 3px rgba(132,47,59,.09)}
body.ebeclaw .eb-search-page .eb-search-empty button{display:inline-flex;align-items:center;justify-content:center;gap:12px;height:48px;padding:0 20px;border:1px solid var(--accent);border-radius:5px;background:var(--accent);color:#fff;font:600 13px/1 var(--sans);cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
body.ebeclaw .eb-search-page .eb-search-empty button:hover{background:var(--accent-dark);border-color:var(--accent-dark);transform:translateY(-1px)}
body.ebeclaw .eb-search-page .eb-search-empty-hints{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:-4px;font:12px/1.4 var(--sans);color:var(--mute)}
body.ebeclaw .eb-search-page .eb-search-empty-hints a{padding:5px 10px;border:1px solid #e5dbd0;border-radius:999px;background:#fffdfa;color:var(--ink2);text-decoration:none;transition:all .18s}
body.ebeclaw .eb-search-page .eb-search-empty-hints a:hover{border-color:var(--accent);color:var(--accent);background:#fff}
body.ebeclaw .eb-side .eb-reach-form form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;width:100%!important}
body.ebeclaw .eb-side .eb-reach-form form :is(input[type=email],input[type=text]){width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0 12px!important;box-sizing:border-box!important}
body.ebeclaw .eb-side .eb-reach-form form :is(input[type=submit],button){width:auto!important;height:44px!important;min-height:44px!important;padding:0 15px!important;margin:0!important;white-space:nowrap!important;align-self:stretch!important}
@media(max-width:640px){
 body.ebeclaw .eb-search-page .eb-search-empty{grid-template-columns:48px minmax(0,1fr);gap:14px;padding:20px 16px}
 body.ebeclaw .eb-search-page .eb-search-empty-mark{width:48px;height:48px}
 body.ebeclaw .eb-search-page .eb-search-empty-mark:before{width:22px;height:22px;left:11px;top:10px}
 body.ebeclaw .eb-search-page .eb-search-empty-mark:after{left:31px;top:33px;width:11px}
 body.ebeclaw .eb-search-page .eb-search-empty form{gap:6px}
 body.ebeclaw .eb-search-page .eb-search-empty button{padding:0 14px}
}


/* v56: editorial search empty-state alignment with EBEClaw's flat, serif-led visual system */
body.ebeclaw .eb-search-page .eb-search-empty{
  margin:clamp(24px,3vw,42px) 0;
  padding:clamp(22px,3vw,34px) 0;
  border:0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:transparent;
  box-shadow:none;
  gap:18px 22px;
}
body.ebeclaw .eb-search-page .eb-search-empty-mark{
  background:transparent;
  border:1px solid var(--line);
  border-radius:50%;
}
body.ebeclaw .eb-search-page .eb-search-empty-copy h2{
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(26px,2.5vw,34px);
  letter-spacing:-.02em;
}
body.ebeclaw .eb-search-page .eb-search-empty-copy>p:last-child{
  font:16px/1.65 var(--sans);
  color:var(--ink2);
}
body.ebeclaw .eb-search-page .eb-search-empty form{
  max-width:620px;
  gap:0;
  margin-top:8px;
}
body.ebeclaw .eb-search-page .eb-search-empty input{
  height:50px;
  min-height:50px;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:transparent;
  padding:0 12px;
  font:15px/1.3 var(--sans);
}
body.ebeclaw .eb-search-page .eb-search-empty input:focus{
  border-bottom-color:var(--accent);
  box-shadow:0 2px 0 var(--accent);
}
body.ebeclaw .eb-search-page .eb-search-empty button{
  height:50px;
  border:0;
  border-radius:0;
  background:var(--ink);
  color:var(--bg);
  padding:0 22px;
  font:500 14px/1 var(--sans);
}
body.ebeclaw .eb-search-page .eb-search-empty button:hover{
  background:var(--accent);
  border-color:var(--accent);
  transform:none;
}
body.ebeclaw .eb-search-page .eb-search-empty-hints{
  margin-top:2px;
  gap:12px;
  font:13px/1.5 var(--sans);
  color:var(--ink2);
}
body.ebeclaw .eb-search-page .eb-search-empty-hints a{
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:transparent;
  padding:4px 0;
  color:var(--ink2);
}
body.ebeclaw .eb-search-page .eb-search-empty-hints a:hover{
  border-bottom-color:var(--accent);
  background:transparent;
  color:var(--accent);
}
@media(max-width:640px){
  body.ebeclaw .eb-search-page .eb-search-empty{padding:22px 0;gap:14px}
  body.ebeclaw .eb-search-page .eb-search-empty form{max-width:none}
  body.ebeclaw .eb-search-page .eb-search-empty button{padding:0 16px}
}

/* v57: empty-search field now mirrors the header's understated underline search */
body.ebeclaw .eb-search-page .eb-search-empty form{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  width:min(100%,420px)!important;
  max-width:420px!important;
  margin:12px 0 0!important;
  padding:0 0 4px!important;
  border:0!important;
  border-bottom:1px solid var(--ink)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.ebeclaw .eb-search-page .eb-search-empty input,
body.ebeclaw .eb-search-page .eb-search-empty input:hover,
body.ebeclaw .eb-search-page .eb-search-empty input:focus,
body.ebeclaw .eb-search-page .eb-search-empty input:focus-visible{
  flex:1 1 auto!important;
  width:100%!important;
  min-width:0!important;
  height:24px!important;
  min-height:24px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--ink)!important;
  font:13px/24px var(--sans)!important;
}
body.ebeclaw .eb-search-page .eb-search-empty input::placeholder{
  color:#8d867d!important;
  opacity:1!important;
}
body.ebeclaw .eb-search-page .eb-search-empty form:focus-within{
  border-bottom-color:var(--accent)!important;
}
body.ebeclaw .eb-search-page .eb-search-empty button{
  flex:0 0 auto!important;
  height:24px!important;
  min-height:24px!important;
  padding:0 0 0 8px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--ink)!important;
  font:500 12px/24px var(--sans)!important;
  cursor:pointer!important;
  transition:color .2s ease!important;
}
body.ebeclaw .eb-search-page .eb-search-empty button:hover,
body.ebeclaw .eb-search-page .eb-search-empty button:focus-visible{
  background:transparent!important;
  color:var(--accent)!important;
  transform:none!important;
  outline:0!important;
}
@media(max-width:640px){
 body.ebeclaw .eb-search-page .eb-search-empty form{width:100%!important;max-width:none!important}
}

/* v58: header-style search/newsletter controls; remove empty-state framing dividers */
body.ebeclaw .eb-search-page .eb-search-empty{
  border-top:0!important;
  border-bottom:0!important;
}
body.ebeclaw .eb-search-page .eb-search-empty form{
  border:0!important;
  border-bottom:1px solid var(--ink)!important;
  outline:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0 0 4px!important;
}
body.ebeclaw .eb-search-page .eb-search-empty input,
body.ebeclaw .eb-search-page .eb-search-empty input:focus,
body.ebeclaw .eb-search-page .eb-search-empty input:focus-visible{
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
body.ebeclaw .eb-search-page .eb-search-empty form:focus-within{
  border-bottom-color:var(--accent)!important;
}

/* Sidebar search + newsletter: echo the compact header underline form instead of boxed controls */
body.ebeclaw .eb-side .eb-side-search form,
body.ebeclaw .eb-side .eb-newsletter-fallback{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  width:100%!important;
  margin:0!important;
  padding:0 0 4px!important;
  border:0!important;
  border-bottom:1px solid var(--ink)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.ebeclaw .eb-side .eb-side-search form .eb-field,
body.ebeclaw .eb-side .eb-newsletter-fallback .eb-field,
body.ebeclaw .eb-side .eb-side-search form input[type=search],
body.ebeclaw .eb-side .eb-newsletter-fallback input[type=email]{
  flex:1 1 auto!important;
  width:100%!important;
  min-width:0!important;
  height:24px!important;
  min-height:24px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--ink)!important;
  font:13px/24px var(--sans)!important;
}
body.ebeclaw .eb-side .eb-side-search form:focus-within,
body.ebeclaw .eb-side .eb-newsletter-fallback:focus-within{
  border-bottom-color:var(--accent)!important;
}
body.ebeclaw .eb-side .eb-side-search form .eb-btn,
body.ebeclaw .eb-side .eb-newsletter-fallback .eb-btn,
body.ebeclaw .eb-side .eb-side-search form button,
body.ebeclaw .eb-side .eb-newsletter-fallback button{
  flex:0 0 auto!important;
  height:24px!important;
  min-height:24px!important;
  margin:0!important;
  padding:0 0 0 8px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--ink)!important;
  font:500 12px/24px var(--sans)!important;
}
body.ebeclaw .eb-side .eb-side-search form .eb-btn:hover,
body.ebeclaw .eb-side .eb-newsletter-fallback .eb-btn:hover,
body.ebeclaw .eb-side .eb-side-search form button:hover,
body.ebeclaw .eb-side .eb-newsletter-fallback button:hover{
  border:0!important;
  background:transparent!important;
  color:var(--accent)!important;
  transform:none!important;
}

/* v59: restore sidebar's standalone boxed search control; keep newsletter compact but boxed */
body.ebeclaw .eb-side .eb-side-search form{
  display:flex!important; align-items:center!important; gap:8px!important;
  width:100%!important; margin:0!important; padding:0!important;
  border:0!important; background:transparent!important; box-shadow:none!important;
}
body.ebeclaw .eb-side .eb-side-search form input#eb-side-search,
body.ebeclaw .eb-side .eb-side-search form input[type=search]{
  flex:1 1 auto!important; min-width:0!important; width:100%!important;
  height:40px!important; min-height:40px!important; padding:0 12px!important;
  border:1px solid var(--line)!important; border-radius:4px!important;
  background:var(--bg)!important; box-shadow:none!important;
  color:var(--ink)!important; font:14px/1.4 var(--sans)!important;
}
body.ebeclaw .eb-side .eb-side-search form input:focus{
  outline:0!important; border-color:var(--accent)!important; box-shadow:0 0 0 1px var(--accent)!important;
}
body.ebeclaw .eb-side .eb-side-search form button.eb-btn{
  flex:0 0 auto!important; height:40px!important; min-height:40px!important; padding:0 12px!important;
  border:1px solid var(--line)!important; border-radius:4px!important; background:var(--bg)!important;
  box-shadow:none!important; color:var(--accent)!important; font:14px/1 var(--sans)!important;
}
body.ebeclaw .eb-side .eb-side-search form button.eb-btn:hover{
  background:var(--accent)!important; color:var(--bg)!important; border-color:var(--accent)!important;
}
/* Sidebar newsletter input and action remain inline, but use the site's bordered control style */
body.ebeclaw .eb-side .eb-newsletter-fallback{
  border:0!important; border-bottom:0!important; padding:0!important; background:transparent!important;
  display:flex!important; align-items:center!important; gap:8px!important;
}
body.ebeclaw .eb-side .eb-newsletter-fallback input#eb-nl,
body.ebeclaw .eb-side .eb-newsletter-fallback input[type=email]{
  flex:1 1 auto!important; min-width:0!important; width:100%!important;
  height:40px!important; min-height:40px!important; padding:0 12px!important;
  border:1px solid var(--line)!important; border-radius:4px!important;
  background:var(--bg)!important; box-shadow:none!important; color:var(--ink)!important;
  font:14px/1.4 var(--sans)!important;
}
body.ebeclaw .eb-side .eb-newsletter-fallback button.eb-btn{
  flex:0 0 auto!important; height:40px!important; min-height:40px!important; padding:0 12px!important;
  border:1px solid var(--accent)!important; border-radius:4px!important; background:transparent!important;
  box-shadow:none!important; color:var(--accent)!important; font:14px/1 var(--sans)!important;
}
body.ebeclaw .eb-side .eb-newsletter-fallback button.eb-btn:hover{
  background:var(--accent)!important; color:var(--bg)!important;
}

/* v60: prevent newsletter subscribe control from wrapping into a second row */
body.ebeclaw .eb-side .eb-newsletter-fallback{
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  max-width:100%!important;
}
body.ebeclaw .eb-side .eb-newsletter-fallback input#eb-nl,
body.ebeclaw .eb-side .eb-newsletter-fallback input[type=email]{
  display:block!important;
  flex:1 1 0!important;
  width:1px!important;
  min-width:0!important;
  max-width:none!important;
  height:40px!important;
  min-height:40px!important;
  box-sizing:border-box!important;
}
body.ebeclaw .eb-side .eb-newsletter-fallback button.eb-btn,
body.ebeclaw .eb-side .eb-newsletter-fallback button[type=submit]{
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
  width:auto!important;
  min-width:max-content!important;
  height:40px!important;
  min-height:40px!important;
  align-self:center!important;
  margin:0!important;
  padding:0 14px!important;
}
body.ebeclaw .eb-side .eb-newsletter-fallback input,
body.ebeclaw .eb-side .eb-newsletter-fallback button{
  position:static!important;
  float:none!important;
  clear:none!important;
}
@media(max-width:420px){
 body.ebeclaw .eb-side .eb-newsletter-fallback button{padding:0 10px!important}
}

/* v61: Medium-inspired search heading hierarchy, expressed in EBEClaw typography. */
body.ebeclaw .eb-search-page .eb-search-head h1{
  font-size:clamp(32px,4.2vw,48px)!important;
  font-weight:500!important;
  letter-spacing:-.035em!important;
  line-height:1.12!important;
}
body.ebeclaw .eb-search-page .eb-search-head h1 .eb-search-heading-prefix{
  color:var(--ink2)!important;
  font-weight:400!important;
}

/* v63: robust newsletter two-column grid prevents email field collapse */
body.ebeclaw .eb-side .eb-newsletter-fallback{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) max-content!important;
  grid-template-rows:auto!important;
  align-items:center!important;
  column-gap:8px!important;
  row-gap:0!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.ebeclaw .eb-side .eb-newsletter-fallback input#eb-nl,
body.ebeclaw .eb-side .eb-newsletter-fallback input[type=email]{
  grid-column:1!important; grid-row:1!important;
  display:block!important;
  width:100%!important; min-width:0!important; max-width:100%!important;
  flex:none!important;
  box-sizing:border-box!important;
  height:40px!important; min-height:40px!important;
  margin:0!important;
}
body.ebeclaw .eb-side .eb-newsletter-fallback button.eb-btn,
body.ebeclaw .eb-side .eb-newsletter-fallback button[type=submit]{
  grid-column:2!important; grid-row:1!important;
  display:inline-flex!important;
  width:auto!important; min-width:max-content!important; max-width:100%!important;
  flex:none!important;
  justify-self:end!important; align-self:center!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
  height:40px!important; min-height:40px!important;
  margin:0!important;
  padding:0 12px!important;
}
body.ebeclaw .eb-side .eb-newsletter-fallback input,
body.ebeclaw .eb-side .eb-newsletter-fallback button{
  position:static!important; float:none!important; clear:none!important;
}

/* v64: newsletter sizing polish + refined empty-search state */
body.ebeclaw .eb-side .eb-newsletter-fallback{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) max-content!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
}
body.ebeclaw .eb-side .eb-newsletter-fallback input#eb-nl,
body.ebeclaw .eb-side .eb-newsletter-fallback input[type=email]{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:42px!important;
  min-height:42px!important;
  box-sizing:border-box!important;
  padding:0 12px!important;
  grid-column:1!important;grid-row:1!important;
}
body.ebeclaw .eb-side .eb-newsletter-fallback button.eb-btn,
body.ebeclaw .eb-side .eb-newsletter-fallback button[type=submit]{
  grid-column:2!important;grid-row:1!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  height:42px!important;min-height:42px!important;
  width:auto!important;min-width:0!important;max-width:100%!important;
  padding:0 14px!important;margin:0!important;
  box-sizing:border-box!important;white-space:nowrap!important;
  font-size:13px!important;line-height:1!important;
}
/* Empty state: one concise message, clearer grouping and responsive balance */
body.ebeclaw .eb-search-page .eb-search-empty-copy>p:last-child{
  max-width:58ch!important;
  margin-top:8px!important;
  font-size:15px!important;
  line-height:1.6!important;
}
body.ebeclaw .eb-search-page .eb-search-empty{
  align-items:center!important;
  column-gap:24px!important;
  row-gap:14px!important;
  margin-top:28px!important;margin-bottom:28px!important;
  padding:30px 0!important;
}
body.ebeclaw .eb-search-page .eb-search-empty-mark{
  width:68px!important;height:68px!important;flex:0 0 68px!important;
}
body.ebeclaw .eb-search-page .eb-search-empty form{
  max-width:480px!important;
  margin-top:10px!important;
}
body.ebeclaw .eb-search-page .eb-search-empty-hints{
  flex-wrap:wrap!important;
  row-gap:8px!important;
  margin-top:6px!important;
}
@media(max-width:640px){
 body.ebeclaw .eb-search-page .eb-search-empty{padding:22px 0!important;column-gap:14px!important}
 body.ebeclaw .eb-search-page .eb-search-empty-mark{width:52px!important;height:52px!important;flex-basis:52px!important}
 body.ebeclaw .eb-side .eb-newsletter-fallback{grid-template-columns:minmax(0,1fr) max-content!important}
}

/* v65 HARD OVERRIDE: newsletter layout + empty search polish (specific live markup) */
body.ebeclaw aside.eb-side section.eb-side-newsletter form.eb-newsletter-fallback {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) max-content!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important; max-width:100%!important; min-width:0!important;
  margin:0!important; padding:0!important;
  border:0!important; background:transparent!important; box-shadow:none!important;
}
body.ebeclaw aside.eb-side section.eb-side-newsletter form.eb-newsletter-fallback > input#eb-nl {
  grid-column:1!important; grid-row:1!important;
  display:block!important; width:100%!important; min-width:0!important; max-width:100%!important;
  height:42px!important; min-height:42px!important; max-height:42px!important;
  box-sizing:border-box!important; margin:0!important; padding:0 12px!important;
  border:1px solid var(--line,#ded8ce)!important; border-radius:4px!important;
  background:var(--bg,#fffdfa)!important; box-shadow:none!important;
  font:14px/1.4 var(--sans,Arial,sans-serif)!important;
}
body.ebeclaw aside.eb-side section.eb-side-newsletter form.eb-newsletter-fallback > button[type=submit] {
  grid-column:2!important; grid-row:1!important;
  display:inline-flex!important; align-items:center!important; justify-content:center!important;
  width:auto!important; min-width:0!important; max-width:100%!important;
  height:42px!important; min-height:42px!important; max-height:42px!important;
  box-sizing:border-box!important; margin:0!important; padding:0 14px!important;
  white-space:nowrap!important; line-height:1!important; font-size:14px!important;
  border:1px solid var(--accent,#96303c)!important; border-radius:4px!important;
  background:transparent!important; color:var(--accent,#96303c)!important;
  box-shadow:none!important; float:none!important; clear:none!important; position:static!important;
}
body.ebeclaw aside.eb-side section.eb-side-newsletter form.eb-newsletter-fallback > button[type=submit]:hover {
  background:var(--accent,#96303c)!important; color:var(--bg,#fffdfa)!important;
}
/* Empty search: remove duplicate query explanation paragraph; heading already communicates state */
body.ebeclaw .eb-search-page .eb-search-empty-copy h2 + p { display:none!important; }
body.ebeclaw .eb-search-page .eb-search-empty {
  display:grid!important; grid-template-columns:68px minmax(0,1fr)!important;
  align-items:center!important; column-gap:24px!important; row-gap:18px!important;
  margin:24px 0!important; padding:28px 0!important;
  border-top:0!important; border-bottom:0!important; background:transparent!important;
}
body.ebeclaw .eb-search-page .eb-search-empty-mark { grid-column:1!important; grid-row:1!important; width:68px!important; height:68px!important; }
body.ebeclaw .eb-search-page .eb-search-empty-copy { grid-column:2!important; grid-row:1!important; min-width:0!important; margin:0!important; }
body.ebeclaw .eb-search-page .eb-search-empty form { grid-column:2!important; grid-row:2!important; display:flex!important; flex-flow:row nowrap!important; align-items:center!important; gap:8px!important; width:100%!important; max-width:500px!important; margin:0!important; padding:0 0 5px!important; border:0!important; border-bottom:1px solid var(--ink,#292521)!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; }
body.ebeclaw .eb-search-page .eb-search-empty form input[type=search] { flex:1 1 0!important; width:1px!important; min-width:0!important; height:40px!important; margin:0!important; padding:0 8px!important; border:0!important; border-radius:0!important; outline:0!important; background:transparent!important; box-shadow:none!important; font:14px/1.4 var(--sans,Arial,sans-serif)!important; }
body.ebeclaw .eb-search-page .eb-search-empty form button[type=submit] { flex:0 0 auto!important; display:inline-flex!important; align-items:center!important; gap:8px!important; height:40px!important; min-height:40px!important; margin:0!important; padding:0 8px!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; color:var(--ink,#292521)!important; font:500 13px/1 var(--sans,Arial,sans-serif)!important; white-space:nowrap!important; }
body.ebeclaw .eb-search-page .eb-search-empty form:focus-within { border-bottom-color:var(--accent,#96303c)!important; }
body.ebeclaw .eb-search-page .eb-search-empty-hints { grid-column:2!important; grid-row:3!important; display:flex!important; flex-wrap:wrap!important; align-items:center!important; gap:8px 12px!important; margin:0!important; }
@media(max-width:640px){
 body.ebeclaw .eb-search-page .eb-search-empty { grid-template-columns:48px minmax(0,1fr)!important; column-gap:14px!important; padding:20px 0!important; }
 body.ebeclaw .eb-search-page .eb-search-empty-mark { width:48px!important; height:48px!important; }
 body.ebeclaw aside.eb-side section.eb-side-newsletter form.eb-newsletter-fallback { grid-template-columns:minmax(0,1fr) max-content!important; gap:6px!important; }
 body.ebeclaw aside.eb-side section.eb-side-newsletter form.eb-newsletter-fallback > button[type=submit] { padding-inline:10px!important; }
}
\n/* v66: make sidebar Search and Subscribe buttons visually identical */
body.ebeclaw aside.eb-side section.eb-side-search form button[type=submit],
body.ebeclaw aside.eb-side section.eb-side-search form .eb-btn,
body.ebeclaw aside.eb-side section.eb-side-newsletter form button[type=submit],
body.ebeclaw aside.eb-side section.eb-side-newsletter form .eb-btn {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  min-width:0!important;
  width:auto!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0 14px!important;
  border:1px solid var(--accent,#96303c)!important;
  border-radius:4px!important;
  background:transparent!important;
  color:var(--accent,#96303c)!important;
  box-shadow:none!important;
  font:600 13px/1 var(--sans,Arial,sans-serif)!important;
  white-space:nowrap!important;
  float:none!important;
  position:static!important;
}
body.ebeclaw aside.eb-side section.eb-side-search form button[type=submit]:hover,
body.ebeclaw aside.eb-side section.eb-side-search form .eb-btn:hover,
body.ebeclaw aside.eb-side section.eb-side-newsletter form button[type=submit]:hover,
body.ebeclaw aside.eb-side section.eb-side-newsletter form .eb-btn:hover {
  background:var(--accent,#96303c)!important;
  color:var(--bg,#fffdfa)!important;
  border-color:var(--accent,#96303c)!important;
}

/* v67: sidebar search hover must not shift the button or neighboring input */
body.ebeclaw aside.eb-side section.eb-side-search form button[type=submit],
body.ebeclaw aside.eb-side-search form .eb-btn {
  transform:none!important;
  transition:color .18s ease, background-color .18s ease, border-color .18s ease!important;
  box-sizing:border-box!important;
  border-width:1px!important;
  border-style:solid!important;
  font-weight:600!important;
}
body.ebeclaw aside.eb-side section.eb-side-search form button[type=submit]:hover,
body.ebeclaw aside.eb-side-search form .eb-btn:hover,
body.ebeclaw aside.eb-side-search form button[type=submit]:focus-visible,
body.ebeclaw aside.eb-side-search form .eb-btn:focus-visible {
  transform:none!important;
  margin:0!important;
  padding:0 14px!important;
  border-width:1px!important;
  border-style:solid!important;
}
body.ebeclaw aside.eb-side section.eb-side-search form input[type=search] {
  transition:none!important;
  transform:none!important;
}

/* v66: polished responsive article tables */
body.ebeclaw .eb-article .eb-body :is(.wp-block-table,figure.wp-block-table) {
  display:block;
  width:100%;
  box-sizing:border-box;
  border:1px solid var(--line);
  border-radius:5px;
  box-shadow:0 5px 18px rgba(35,28,20,.035);
  scrollbar-width:thin;
  scrollbar-color:#b9afa2 #f4efe8;
}
body.ebeclaw .eb-article .eb-body :is(.wp-block-table,figure.wp-block-table)::-webkit-scrollbar { height:9px; }
body.ebeclaw .eb-article .eb-body :is(.wp-block-table,figure.wp-block-table)::-webkit-scrollbar-track { background:#f4efe8; border-radius:0 0 5px 5px; }
body.ebeclaw .eb-article .eb-body :is(.wp-block-table,figure.wp-block-table)::-webkit-scrollbar-thumb { background:#b9afa2; border-radius:8px; }
body.ebeclaw .eb-article .eb-body table {
  min-width:560px;
  margin:0;
  border-spacing:0;
  border-collapse:separate;
}
body.ebeclaw .eb-article .eb-body thead th { line-height:1.4; }
body.ebeclaw .eb-article .eb-body tbody td { overflow-wrap:anywhere; }
body.ebeclaw .eb-article .eb-body tbody tr:hover td { background:#f3eee7; }
body.ebeclaw .eb-article .eb-body table :is(th,td):first-child { padding-left:16px; }
body.ebeclaw .eb-article .eb-body table :is(th,td):last-child { padding-right:16px; }
body.ebeclaw .eb-article .eb-body table th+th,
body.ebeclaw .eb-article .eb-body table td+td { border-left:1px solid #eee8df; }
body.ebeclaw .eb-article .eb-body table a { overflow-wrap:anywhere; }
@media(max-width:640px){
  body.ebeclaw .eb-article .eb-body :is(.wp-block-table,figure.wp-block-table) { margin:22px -2px 28px; width:calc(100% + 4px); }
  body.ebeclaw .eb-article .eb-body table { min-width:520px; font-size:12.5px; }
  body.ebeclaw .eb-article .eb-body table :is(th,td) { padding:10px 11px; }
  body.ebeclaw .eb-article .eb-body table :is(th,td):first-child { padding-left:12px; }
  body.ebeclaw .eb-article .eb-body table :is(th,td):last-child { padding-right:12px; }
  body.ebeclaw .eb-article .eb-body table th { font-size:10px; letter-spacing:.05em; }
}

/* Mobile/tablet navigation: clean, editorial drawer inspired by Medium-style simplicity. */
body.ebeclaw .eb-nav-backdrop{display:none}
@media(max-width:900px){
  body.ebeclaw .eb-hd{position:sticky;z-index:1200;overflow:visible;display:flex;align-items:center;justify-content:space-between}
  body.ebeclaw .eb-menu{display:grid!important;place-items:center;width:42px;height:42px;min-height:42px;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink);box-shadow:none;position:relative;z-index:1202;transition:opacity .18s ease}
  body.ebeclaw .eb-menu:hover{background:transparent;border-color:transparent;transform:none;opacity:.68}
  body.ebeclaw .eb-menu-icon{width:21px;height:16px;display:flex;flex-direction:column;justify-content:space-between;position:relative}
  body.ebeclaw .eb-menu-icon span{height:2px;width:100%;background:currentColor;border-radius:1px;display:block;transition:transform .22s ease,opacity .18s ease,width .18s ease}
  body.ebeclaw .eb-menu-icon span:nth-child(2){width:68%;margin-left:auto}
  body.ebeclaw .eb-menu.is-open .eb-menu-icon span:first-child{transform:translateY(7px) rotate(45deg)}
  body.ebeclaw .eb-menu.is-open .eb-menu-icon span:nth-child(2){transform:translateY(-7px) rotate(-45deg);width:100%}
  body.ebeclaw .eb-nav{display:block!important;position:static!important;gap:0!important;font-size:inherit}
  body.ebeclaw .eb-nav .eb-nav-links{display:none!important}
  body.ebeclaw .eb-nav .eb-search{display:none!important}
  body.ebeclaw .eb-nav.open{position:fixed!important;top:68px!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;max-height:none!important;overflow:auto;padding:24px clamp(24px,6vw,64px) 36px!important;background:var(--bg)!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important;z-index:1201;animation:eb-menu-in .24s cubic-bezier(.2,.7,.2,1) both}
  body.ebeclaw .eb-nav.open .eb-nav-links{display:flex!important;flex-direction:column!important;gap:0!important;width:100%!important;max-width:760px!important;margin:0 auto!important;padding:0!important}
  body.ebeclaw .eb-nav.open .eb-nav-links li{width:100%;list-style:none;border-bottom:1px solid var(--line)}
  body.ebeclaw .eb-nav.open .eb-nav-links li a{display:flex!important;align-items:center;justify-content:space-between;padding:21px 0!important;border:0!important;font-size:clamp(20px,3vw,24px);font-weight:500;letter-spacing:-.02em;color:var(--ink)}
  body.ebeclaw .eb-nav.open .eb-nav-links li a:after{content:'→';position:static;display:block;opacity:.45;font-size:18px;transform:translateX(-3px);transition:transform .18s,opacity .18s;background:none;height:auto}
  body.ebeclaw .eb-nav.open .eb-nav-links li a:hover:after{transform:translateX(0);opacity:1}
  body.ebeclaw .eb-nav.open .eb-search{display:flex!important;width:100%!important;max-width:760px!important;margin:28px auto 0!important;border:0!important;border-bottom:1px solid #bdb5aa!important;border-radius:0!important;background:transparent!important;padding:10px 0!important;min-height:44px!important;height:auto!important}
  body.ebeclaw .eb-nav.open .eb-search input{width:100%;background:transparent!important;outline:0!important}
  body.ebeclaw .eb-nav-backdrop{display:block;position:fixed;inset:0;width:100%;height:100%;padding:0;border:0;background:rgba(25,21,18,.18);opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease;z-index:1199;cursor:pointer}
  body.ebeclaw .eb-nav-backdrop.visible{opacity:1;visibility:visible}
  /* scroll lock for the open menu is on <html> (end of file): overflow:hidden on <body> un-sticks the header */
}
@media(max-width:640px){
  body.ebeclaw .eb-nav.open{top:62px!important;padding:20px 22px 30px!important}
  body.ebeclaw .eb-nav.open .eb-nav-links li a{padding:19px 0!important;font-size:21px}
  body.ebeclaw .eb-menu{width:40px;height:40px;min-height:40px}
}
@keyframes eb-menu-in{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){
  body.ebeclaw .eb-menu-icon span,body.ebeclaw .eb-nav-backdrop,body.ebeclaw .eb-nav.open .eb-nav-links li a:after{transition:none!important}
  body.ebeclaw .eb-nav.open{animation:none!important}
}

/* Single-article contact note replaces blog comments. */
.eb-article-contact-note{margin-top:clamp(36px,5vw,56px);padding:20px 22px;background:#f3eee7;border-left:3px solid var(--accent);border-radius:2px}
.eb-article-contact-note p{margin:0;color:var(--ink2);font-size:15px;line-height:1.7}
.eb-article-contact-note strong{color:var(--ink);font-weight:600}
.eb-article-contact-note a{color:var(--accent);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.eb-article-contact-note a:hover{opacity:.78}
@media(max-width:640px){.eb-article-contact-note{margin-top:30px;padding:16px}}

/* Unified editorial eyebrow treatment across page-level headers; single posts retain their own styling. */
body.ebeclaw :is(.eb-intro > .eb-k, .eb-archive-head > .eb-k, .eb-search-page .eb-search-head > .eb-k, .eb-page > .eb-k, .eb-articles-header > .eb-k, .eb-contact-page > .eb-k, .eb-bio-main > .eb-k){
  display:flex;align-items:center;gap:11px;font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:var(--accent);font-weight:600;
}
body.ebeclaw :is(.eb-intro > .eb-k, .eb-archive-head > .eb-k, .eb-search-page .eb-search-head > .eb-k, .eb-page > .eb-k, .eb-articles-header > .eb-k, .eb-contact-page > .eb-k, .eb-bio-main > .eb-k)::before{content:"";width:28px;height:1px;background:var(--accent);flex:0 0 28px}
/* Mobile homepage: single-column post cards and sideways-scroll topic chips. */
@media(max-width:640px){
 body.ebeclaw.home .eb-home-post-row,body.ebeclaw.front-page .eb-home-post-row{grid-template-columns:minmax(0,1fr);gap:12px;padding:20px 0}
 body.ebeclaw.home .eb-home-post-row .eb-th,body.ebeclaw.front-page .eb-home-post-row .eb-th{width:100%;height:auto;aspect-ratio:16/9;order:2}
 body.ebeclaw.home .eb-home-post-row .eb-row-content,body.ebeclaw.front-page .eb-home-post-row .eb-row-content{order:1}
 body.ebeclaw.home .eb-home-post-row .eb-row-excerpt,body.ebeclaw.front-page .eb-home-post-row .eb-row-excerpt{display:-webkit-box}
 body.ebeclaw.home .eb-home-post-row .eb-row-meta,body.ebeclaw.front-page .eb-home-post-row .eb-row-meta{display:block}
 body.ebeclaw.home .eb-side-topics .eb-tags,body.ebeclaw.front-page .eb-side-topics .eb-tags,body.ebeclaw .eb-archive-topics .eb-chips{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;white-space:nowrap;max-width:100%;padding-bottom:8px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 body.ebeclaw.home .eb-side-topics .eb-tags::-webkit-scrollbar,body.ebeclaw.front-page .eb-side-topics .eb-tags::-webkit-scrollbar,body.ebeclaw .eb-archive-topics .eb-chips::-webkit-scrollbar{display:none}
 body.ebeclaw .eb-archive-topics li{flex:0 0 auto}
}

/* Bio typography harmonized with the site's regular editorial page typography. */
body.ebeclaw .eb-bio-main h1{font-family:var(--serif);font-size:clamp(36px,4.5vw,56px);line-height:1.1;letter-spacing:-.035em;margin:8px 0 20px}
body.ebeclaw .eb-bio-story p,body.ebeclaw .eb-bio-story p.eb-bio-lead{font-family:var(--sans);font-size:18px;line-height:1.7;font-weight:400;color:var(--ink2);margin:0 0 18px}
body.ebeclaw .eb-bio-credentials h2{font-family:var(--serif);font-size:22px;line-height:1.2}
body.ebeclaw .eb-bio-credentials li strong{font-family:var(--sans);font-size:14px;line-height:1.65;font-weight:400;color:var(--ink2)}
@media(max-width:640px){body.ebeclaw .eb-bio-main h1{font-size:36px}body.ebeclaw .eb-bio-story p,body.ebeclaw .eb-bio-story p.eb-bio-lead{font-size:17px;line-height:1.7}}

/* Bio credentials panel: refined editorial hierarchy and responsive credential rows. */
body.ebeclaw .eb-bio-credentials{position:relative;margin-top:clamp(32px,4vw,48px);padding:clamp(24px,3.5vw,42px) clamp(18px,3vw,34px) 12px;background:linear-gradient(180deg,rgba(243,238,231,.58),rgba(243,238,231,.12));border:1px solid var(--line);border-top:1px solid var(--line);border-radius:4px;overflow:hidden}
body.ebeclaw .eb-bio-credentials:before{content:"";position:absolute;top:0;left:0;width:min(190px,28%);height:3px;background:var(--accent)}
body.ebeclaw .eb-bio-credentials-kicker{display:flex;align-items:center;gap:10px;font:11px/1.4 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--accent);margin:0 0 12px}
body.ebeclaw .eb-bio-credentials h2{font:600 clamp(30px,3.5vw,40px)/1.12 var(--serif);letter-spacing:-.025em;margin:0 0 clamp(20px,3vw,34px);color:var(--ink)}
body.ebeclaw .eb-bio-credentials li{grid-template-columns:minmax(112px,24%) minmax(0,1fr);gap:clamp(14px,2.5vw,28px);padding:clamp(14px,1.8vw,20px) 0;border-bottom:1px solid var(--line)}
body.ebeclaw .eb-bio-credentials li span{font:11px/1.6 var(--sans);letter-spacing:.15em;color:var(--accent);padding-top:3px}
body.ebeclaw .eb-bio-credentials li strong{font:400 16px/1.65 var(--sans);color:var(--ink2)}
@media(max-width:640px){body.ebeclaw .eb-bio-credentials{padding:24px 17px 8px;margin-top:28px}body.ebeclaw .eb-bio-credentials h2{font-size:30px;margin-bottom:20px}body.ebeclaw .eb-bio-credentials li{grid-template-columns:1fr;gap:5px;padding:15px 0}body.ebeclaw .eb-bio-credentials li span{font-size:10px;letter-spacing:.14em}body.ebeclaw .eb-bio-credentials li strong{font-size:15px;line-height:1.65}}

/* Bio page credentials — align with the site's restrained editorial system */
body.ebeclaw .eb-bio-credentials{
  margin-top:clamp(30px,4vw,44px);
  padding:24px 0 0;
  background:none;
  border:0;
  border-top:1px solid var(--line);
  border-radius:0;
  box-shadow:none;
}
body.ebeclaw .eb-bio-credentials:before{display:none}
body.ebeclaw .eb-bio-credentials-kicker{
  margin:0 0 8px;
  font:11px/1.5 var(--sans);
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--mute);
}
body.ebeclaw .eb-bio-credentials h2{
  margin:0 0 18px;
  font:600 28px/1.15 var(--serif);
  letter-spacing:-.015em;
  color:var(--ink);
}
body.ebeclaw .eb-bio-credentials li{
  display:grid;
  grid-template-columns:minmax(108px,126px) minmax(0,1fr);
  gap:22px;
  padding:15px 0;
  border-bottom:1px solid var(--line);
}
body.ebeclaw .eb-bio-credentials li span{
  padding-top:2px;
  font:11px/1.6 var(--sans);
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--mute);
}
body.ebeclaw .eb-bio-credentials li strong{
  font:400 15px/1.65 var(--sans);
  color:var(--ink2);
}
@media(max-width:640px){
  body.ebeclaw .eb-bio-credentials{margin-top:28px;padding-top:20px}
  body.ebeclaw .eb-bio-credentials h2{font-size:26px;margin-bottom:14px}
  body.ebeclaw .eb-bio-credentials li{grid-template-columns:1fr;gap:4px;padding:13px 0}
  body.ebeclaw .eb-bio-credentials li span{font-size:10px;letter-spacing:.07em}
  body.ebeclaw .eb-bio-credentials li strong{font-size:15px;line-height:1.6}
}

/* v33: reliable mobile menu drawer, explicit visibility and cache-safe script state. */
@media(max-width:900px){
  body.ebeclaw .eb-nav:not(.open){visibility:hidden!important;pointer-events:none!important}
  body.ebeclaw .eb-nav.open{visibility:visible!important;pointer-events:auto!important;display:block!important;position:fixed!important;top:68px!important;left:0!important;right:0!important;bottom:0!important;width:100vw!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain!important;z-index:1201!important;background:var(--ebeclaw-header,var(--bg))!important;padding:clamp(22px,5vw,42px) clamp(22px,6vw,64px) 36px!important}
  body.ebeclaw .eb-nav.open .eb-nav-links{display:flex!important;visibility:visible!important;opacity:1!important}
  body.ebeclaw .eb-nav.open .eb-search{display:flex!important;visibility:visible!important;opacity:1!important}
  body.ebeclaw .eb-menu{z-index:1203!important;position:relative!important}
  body.ebeclaw .eb-nav-backdrop{z-index:1200!important}
}
@media(max-width:640px){body.ebeclaw .eb-nav.open{top:62px!important;padding:22px 22px 32px!important}}

/* v68: prevent the mobile editorial sidebar from overflowing its parent column. */
@media (max-width: 640px) {
  body.ebeclaw .eb-side,
  body.ebeclaw .eb-side section,
  body.ebeclaw .eb-side .eb-side-author,
  body.ebeclaw .eb-side .eb-side-author-details,
  body.ebeclaw .eb-side .eb-tags,
  body.ebeclaw .eb-side-search form,
  body.ebeclaw .eb-side-newsletter,
  body.ebeclaw .eb-side-newsletter form,
  body.ebeclaw .eb-side-newsletter .eb-reach-form {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  body.ebeclaw .eb-side {
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: hidden;
  }

  /* Topics stay in one row and scroll horizontally on small screens. */
  body.ebeclaw .eb-side-topics .eb-tags {
    display: flex !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    max-width: 100% !important;
    gap: 7px !important;
    padding-bottom: 7px !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  body.ebeclaw .eb-side-topics .eb-tags::-webkit-scrollbar { display: none; }
  body.ebeclaw .eb-side-topics .eb-tags a {
    flex: 0 0 auto !important;
    max-width: none !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
  }

  body.ebeclaw .eb-side-search form,
  body.ebeclaw .eb-side-newsletter form.eb-newsletter-fallback {
    grid-template-columns: minmax(0, 1fr) max-content !important;
    gap: 6px !important;
  }

  body.ebeclaw .eb-side-search input,
  body.ebeclaw .eb-side-newsletter input,
  body.ebeclaw .eb-side-newsletter .eb-reach-form input,
  body.ebeclaw .eb-side-newsletter .eb-reach-form select,
  body.ebeclaw .eb-side-newsletter .eb-reach-form textarea {
    box-sizing: border-box;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  body.ebeclaw .eb-side-search button,
  body.ebeclaw .eb-side-newsletter button,
  body.ebeclaw .eb-side-newsletter .eb-reach-form button,
  body.ebeclaw .eb-side-newsletter .eb-reach-form input[type="submit"] {
    max-width: 100%;
    min-width: 0;
    white-space: nowrap;
  }
}

/* v60: single clean divider for related articles */
body.ebeclaw .eb-related .eb-section-label{border-bottom:0!important}

/* v69: final mobile drawer visibility and unified contact button styling */
@media(max-width:900px){
 body.ebeclaw .eb-nav.open{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;z-index:1201!important;background:var(--bg,#fffdfa)!important}
 body.ebeclaw .eb-nav.open ul.eb-nav-links{display:flex!important;visibility:visible!important;opacity:1!important;flex-direction:column!important;gap:0!important;list-style:none!important;width:100%!important;margin:0!important;padding:0!important}
 body.ebeclaw .eb-nav.open ul.eb-nav-links li{display:block!important;visibility:visible!important;opacity:1!important}
 body.ebeclaw .eb-nav.open ul.eb-nav-links li a{display:flex!important;visibility:visible!important;opacity:1!important;color:var(--ink,#24201c)!important}
 body.ebeclaw .eb-nav.open .eb-search{display:flex!important;visibility:visible!important;opacity:1!important}
}
body.ebeclaw .eb-form button.eb-contact-submit{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:48px;padding:13px 20px!important;border:1px solid var(--accent)!important;border-radius:4px!important;background:var(--accent)!important;color:#fff!important;font:600 14px/1.2 var(--sans)!important;box-shadow:none!important;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease}
body.ebeclaw .eb-form button.eb-contact-submit:hover,body.ebeclaw .eb-form button.eb-contact-submit:focus-visible{background:var(--accent-dark,var(--accent))!important;border-color:var(--accent-dark,var(--accent))!important;color:#fff!important;transform:translateY(-1px)}
body.ebeclaw .eb-form button.eb-contact-submit span{transition:transform .2s ease}body.ebeclaw .eb-form button.eb-contact-submit:hover span{transform:translateX(3px)}

/* v67: keep wide article tables inside the reading column; scroll the table, never the page */
body.ebeclaw .eb-article,
body.ebeclaw .eb-article .eb-body,
body.ebeclaw .eb-article .eb-body > * {
  min-width:0;
  max-width:100%;
}
body.ebeclaw .eb-article .eb-body :is(.wp-block-table,figure.wp-block-table) {
  display:block !important;
  box-sizing:border-box !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  margin-inline:0 !important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-inline:contain;
  touch-action:pan-x;
}
body.ebeclaw .eb-article .eb-body :is(.wp-block-table,figure.wp-block-table) table {
  width:max-content !important;
  min-width:100% !important;
  max-width:none !important;
  table-layout:auto;
}
body.ebeclaw .eb-article .eb-body :is(.wp-block-table,figure.wp-block-table) table th,
body.ebeclaw .eb-article .eb-body :is(.wp-block-table,figure.wp-block-table) table td {
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
}
@media(max-width:640px) {
  body.ebeclaw .eb-article .eb-body :is(.wp-block-table,figure.wp-block-table) {
    margin-block:20px 26px !important;
    border-radius:4px;
  }
  body.ebeclaw .eb-article .eb-body :is(.wp-block-table,figure.wp-block-table) table {
    min-width:max(520px,100%) !important;
  }
}

/* v70: mobile/tablet menu fix.
   Root cause: .eb-hd had backdrop-filter, which makes the header the containing block for the
   position:fixed drawer (so it collapsed to header height), and the header's z-index (1200) tied
   with the backdrop (1200, later in DOM), so only the dark overlay painted on top. */
:root{--eb-hd-h:68px}
@media(max-width:640px){:root{--eb-hd-h:62px}}
@media(max-width:900px){
  html,body.ebeclaw{overflow-x:clip}
  body.ebeclaw .eb-hd{
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
    filter:none!important;transform:none!important;will-change:auto!important;
    background:var(--bg,#faf8f4)!important;
    position:sticky!important;top:0;z-index:1300!important;
    height:var(--eb-hd-h)!important;
  }
  body.admin-bar.ebeclaw .eb-hd{top:46px}
  body.ebeclaw .eb-nav-backdrop{z-index:1250!important;background:rgba(25,21,18,.28)}
  body.ebeclaw .eb-nav.open{
    position:fixed!important;
    top:var(--eb-hd-h)!important;left:0!important;right:0!important;bottom:0!important;
    width:100%!important;height:auto!important;
    z-index:1280!important;
    overflow-y:auto!important;-webkit-overflow-scrolling:touch;
    animation:none!important;
    padding-bottom:calc(36px + env(safe-area-inset-bottom,0px))!important;
  }
  body.admin-bar.ebeclaw .eb-nav.open{top:calc(var(--eb-hd-h) + 46px)!important}
  body.ebeclaw .eb-menu{touch-action:manipulation;-webkit-tap-highlight-color:transparent;flex:0 0 auto}
  body.ebeclaw .eb-logo{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* v70: general responsiveness guards */
body.ebeclaw img,body.ebeclaw video,body.ebeclaw iframe,body.ebeclaw embed,body.ebeclaw object,body.ebeclaw svg{max-width:100%}
body.ebeclaw img,body.ebeclaw video{height:auto}
body.ebeclaw iframe{border:0}
body.ebeclaw .eb-article .eb-body iframe,body.ebeclaw .eb-article .eb-body video{width:100%}
body.ebeclaw :is(h1,h2,h3,h4,p,li,td,th,a,blockquote){overflow-wrap:break-word}
body.ebeclaw pre{max-width:100%;overflow-x:auto}
body.ebeclaw :is(.eb-wrap,.eb-main,.eb-feat,.eb-row,.eb-article,.eb-article-layout,.eb-side)>*{min-width:0}
body.ebeclaw input,body.ebeclaw textarea,body.ebeclaw select{max-width:100%;font-size:max(16px,1em)}
@media(max-width:900px){
  body.ebeclaw .eb-main,body.ebeclaw .eb-article-layout{grid-template-columns:minmax(0,1fr)!important}
  body.ebeclaw .eb-side{position:static!important;width:100%!important;max-width:100%}
  body.ebeclaw .eb-feat{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:380px){
  body.ebeclaw .eb-wrap{padding-inline:14px}
  body.ebeclaw .eb-hd{padding-inline:14px!important}
  body.ebeclaw .eb-logo{font-size:21px}
}

/* v71: one unified, responsive table system for every post/page (wrapper added by PHP, with a JS fallback).
   The table scrolls inside its own card; the page layout never stretches. */
body.ebeclaw .eb-body .eb-table-block{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:clamp(24px,3vw,36px) 0;border:1px solid var(--line);border-radius:6px;background:#fffdfa;box-shadow:0 5px 18px rgba(35,28,20,.035);overflow:hidden;clear:both}
body.ebeclaw .eb-body .eb-table-wrap{display:block;box-sizing:border-box;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#b9afa2 #f4efe8;
  background:
    linear-gradient(to right,#fffdfa 30%,rgba(255,253,250,0)) left center/44px 100% no-repeat local,
    linear-gradient(to left,#fffdfa 30%,rgba(255,253,250,0)) right center/44px 100% no-repeat local,
    linear-gradient(to right,rgba(35,28,20,.18),rgba(35,28,20,0)) left center/14px 100% no-repeat scroll,
    linear-gradient(to left,rgba(35,28,20,.18),rgba(35,28,20,0)) right center/14px 100% no-repeat scroll,
    #fffdfa}
body.ebeclaw .eb-body .eb-table-wrap::-webkit-scrollbar{height:9px}
body.ebeclaw .eb-body .eb-table-wrap::-webkit-scrollbar-track{background:#f4efe8}
body.ebeclaw .eb-body .eb-table-wrap::-webkit-scrollbar-thumb{background:#b9afa2;border-radius:8px}
body.ebeclaw .eb-body .eb-table-wrap:focus-visible{outline:2px solid var(--accent)!important;outline-offset:-2px}

body.ebeclaw .eb-body .eb-table-wrap>table.eb-table{display:table!important;box-sizing:border-box;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;border:0!important;border-collapse:separate!important;border-spacing:0!important;table-layout:auto!important;background:transparent!important;color:var(--ink);font:14px/1.55 var(--sans)!important;text-align:left}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table :is(th,td){box-sizing:border-box;min-width:9.5em;padding:12px 16px!important;border:0!important;border-bottom:1px solid #e7e0d7!important;background:transparent!important;text-align:left!important;vertical-align:top;font:inherit!important;line-height:1.55;overflow-wrap:break-word;word-break:normal;color:var(--ink)}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table :is(th,td)+:is(th,td){border-left:1px solid #eee8df!important}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table thead th,
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table thead td{background:rgba(120,90,50,.1)!important;border-bottom:1px solid #cfc5b8!important;font-size:11px!important;font-weight:700!important;letter-spacing:.07em;text-transform:uppercase;line-height:1.4;vertical-align:bottom}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table tbody th{font-weight:600!important}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table tfoot :is(th,td){background:rgba(120,90,50,.06)!important;font-weight:600!important;border-top:1px solid #cfc5b8}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table tbody tr:nth-child(even) :is(th,td){background:rgba(120,90,50,.045)!important}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table tbody tr:hover :is(th,td){background:rgba(120,90,50,.09)!important}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table tr:last-child :is(th,td){border-bottom:0!important}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table caption{caption-side:top;padding:12px 16px;text-align:left;font-weight:600;color:var(--ink2)}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table :is(p,li,ul,ol){margin:0 0 .5em;padding:0;font:inherit!important;line-height:1.55;color:inherit}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table :is(ul,ol){margin-left:1.1em}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table :is(p,li,ul,ol):last-child{margin-bottom:0}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table :is(strong,b,th){color:var(--ink)}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table a{overflow-wrap:anywhere;text-underline-offset:2px}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table :is(img,video,iframe){max-width:100%;height:auto}
body.ebeclaw .eb-body .eb-table-caption{margin:0;padding:10px 16px 12px;border-top:1px solid #e7e0d7;background:#faf6f0;color:var(--ink2);font:13px/1.5 var(--sans);text-align:left}
@media(max-width:640px){
  body.ebeclaw .eb-body .eb-table-block{margin:22px 0 28px;border-radius:5px}
  body.ebeclaw .eb-body .eb-table-wrap>table.eb-table{font-size:13px!important}
  body.ebeclaw .eb-body .eb-table-wrap>table.eb-table :is(th,td){min-width:8.5em;padding:10px 12px!important}
  body.ebeclaw .eb-body .eb-table-wrap>table.eb-table thead :is(th,td){font-size:10.5px!important;letter-spacing:.05em}
  body.ebeclaw .eb-body .eb-table-caption{padding:9px 12px 11px;font-size:12.5px}
}
@media print{body.ebeclaw .eb-body .eb-table-block,body.ebeclaw .eb-body .eb-table-wrap{overflow:visible;box-shadow:none}}

/* v72: identical typography in every table, whatever inline fonts/sizes/alignment were pasted into the post */
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table,
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table *{font-family:var(--sans)!important;text-indent:0!important;letter-spacing:normal;text-transform:none}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table :is(th,td,tr,p,div,span,em,i,strong,b,a,li,ul,ol,small,sub,sup,u){font-size:inherit!important;line-height:1.55!important;text-align:left!important;font-variant:normal!important}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table :is(span,em,i,small,u,div,p,li){color:inherit!important;background:none!important}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table :is(strong,b){font-weight:700!important}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table a{color:var(--accent)!important}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table thead :is(th,td,p,span,strong,b){font-size:11px!important;font-weight:700!important;letter-spacing:.07em!important;text-transform:uppercase!important;line-height:1.4!important}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table thead :is(th,td,p,span,strong,b){color:var(--ink)!important}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table :is(th,td){font-size:14px!important}
@media(max-width:640px){
  body.ebeclaw .eb-body .eb-table-wrap>table.eb-table :is(th,td){font-size:13px!important}
  body.ebeclaw .eb-body .eb-table-wrap>table.eb-table thead :is(th,td,p,span,strong,b){font-size:10.5px!important;letter-spacing:.05em!important}
}

/* v73: mobile + tablet UI refresh — readable type, comfortable tap targets, cleaner stacking, less clutter. */
@media(max-width:900px){
  body.ebeclaw{font-size:16px!important;-webkit-text-size-adjust:100%;text-size-adjust:100%}
  /* Small type was 10-12px; raise every label/meta to a readable floor. */
  body.ebeclaw .eb-k,body.ebeclaw .eb-row .eb-k,body.ebeclaw .eb-feat .eb-k,body.ebeclaw .eb-intro .eb-k,body.ebeclaw .eb-toc-toggle,body.ebeclaw .eb-related .eb-section-label,body.ebeclaw .eb-foot-label{font-size:12.5px!important;letter-spacing:.08em!important}
  body.ebeclaw .eb-m,body.ebeclaw .eb-meta-list,body.ebeclaw .eb-row-meta,body.ebeclaw .eb-footer-bottom{font-size:13.5px!important;line-height:1.5!important}
  body.ebeclaw .eb-tags a,body.ebeclaw .eb-chip,body.ebeclaw .eb-chips a{font-size:13.5px!important;min-height:38px;display:inline-flex;align-items:center}
  body.ebeclaw .eb-toc a,body.ebeclaw .eb-toc-list a{font-size:15px!important;line-height:1.45!important}
  body.ebeclaw .eb-toc-sub a{font-size:14px!important}
  /* Tap targets */
  body.ebeclaw .eb-btn,body.ebeclaw button[type=submit],body.ebeclaw .eb-field,body.ebeclaw input[type=search],body.ebeclaw input[type=email],body.ebeclaw input[type=text]{min-height:46px;font-size:16px!important}
  body.ebeclaw .eb-pager .page-numbers,body.ebeclaw .eb-archive .nav-links .page-numbers{min-width:42px;min-height:42px;display:inline-flex;align-items:center;justify-content:center}
  body.ebeclaw .eb-footer-column nav a{padding:6px 0;font-size:15px!important}

  /* Layout rhythm */
  body.ebeclaw .eb-wrap{padding-inline:clamp(18px,4.5vw,36px)!important}
  body.ebeclaw .eb-intro{padding:clamp(28px,6vw,48px) 0 6px!important}
  body.ebeclaw .eb-intro p{font-size:clamp(18px,4.6vw,22px)!important;line-height:1.5!important}
  body.ebeclaw .eb-feat{grid-template-columns:minmax(0,1fr)!important;gap:18px!important;padding:24px 0 30px!important}
  body.ebeclaw .eb-feat .eb-img,body.ebeclaw .eb-feat a.eb-img{display:block;width:100%;height:auto!important;aspect-ratio:16/10;overflow:hidden;border-radius:6px}
  body.ebeclaw .eb-feat .eb-img img,body.ebeclaw .eb-feat .eb-img .eb-art-placeholder{width:100%;height:100%!important;object-fit:cover}
  body.ebeclaw .eb-feat h2{font-size:clamp(26px,6.4vw,38px)!important;line-height:1.15!important}
  body.ebeclaw .eb-feed-head h2{font-size:clamp(22px,5vw,26px)!important}
  body.ebeclaw .eb-row h3{font-size:clamp(19px,4.6vw,23px)!important;line-height:1.28!important;margin:6px 0 !important}
  body.ebeclaw .eb-row .eb-row-excerpt{font-size:15px!important;line-height:1.55!important}
  body.ebeclaw .eb-th{border-radius:5px;overflow:hidden}
  body.ebeclaw .eb-th img,body.ebeclaw .eb-th .eb-art-placeholder{width:100%;height:100%;object-fit:cover}

  /* Article reading */
  body.ebeclaw .eb-article-title{font-size:clamp(28px,7vw,42px)!important;line-height:1.14!important;letter-spacing:-.015em}
  body.ebeclaw .eb-article .eb-dek{font-size:clamp(17px,4.2vw,20px)!important;line-height:1.5!important}
  body.ebeclaw .eb-article-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
  body.ebeclaw .eb-meta-list{display:flex;flex-wrap:wrap;gap:2px 14px;margin:0;padding:0;list-style:none}
  body.ebeclaw .eb-article .eb-body{max-width:720px;margin-inline:auto}
  body.ebeclaw .eb-article .eb-body :is(p,li){font-size:clamp(17px,4.2vw,19px)!important;line-height:1.72!important;margin-bottom:1.15em}
  body.ebeclaw .eb-article .eb-body h2{font-size:clamp(24px,6vw,30px)!important;line-height:1.2!important;margin:1.8em 0 .6em}
  body.ebeclaw .eb-article .eb-body h3{font-size:clamp(20px,5vw,24px)!important;line-height:1.25!important;margin:1.5em 0 .5em}
  body.ebeclaw .eb-article .eb-body blockquote{margin-inline:0;padding:.2em 0 .2em 18px;border-left:3px solid var(--accent)}
  body.ebeclaw .eb-article .eb-body :is(ul,ol){padding-left:1.35em}
  body.ebeclaw .eb-article .eb-body :is(h2,h3,h4)[id]{scroll-margin-top:calc(var(--eb-hd-h,68px) + 8px)}
  body.ebeclaw .eb-toc{border-radius:6px}
  body.ebeclaw .eb-toc-toggle{min-height:46px;width:100%}
  body.ebeclaw .eb-article-contact-note{border-radius:6px}
  body.ebeclaw .eb-side>section{padding-block:22px}
}

/* Tablet 641-900: roomier two-column helpers */
@media(min-width:641px) and (max-width:900px){
  body.ebeclaw .eb-row{grid-template-columns:minmax(0,1fr) 168px!important;gap:24px!important;padding:24px 0!important;align-items:center!important}
  body.ebeclaw .eb-th,body.ebeclaw .eb-row .eb-th{width:168px!important;height:118px!important}
  body.ebeclaw .eb-side{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 32px!important}
  body.ebeclaw .eb-footer-main{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:28px}
}

/* Phone <=640: cleaner, less cluttered */
@media(max-width:640px){
  body.ebeclaw .eb-row{grid-template-columns:minmax(0,1fr) 96px!important;gap:14px!important;padding:18px 0!important;align-items:start!important}
  body.ebeclaw .eb-th,body.ebeclaw .eb-row .eb-th{width:96px!important;height:96px!important}
  body.ebeclaw .eb-side{display:block!important}
  body.ebeclaw .eb-footer-main{display:grid!important;grid-template-columns:1fr 1fr!important;gap:26px 20px!important}
  body.ebeclaw .eb-footer-brand{grid-column:1/-1}
  body.ebeclaw .eb-footer-bottom{display:flex;flex-direction:column;gap:6px}
  /* Removed on phones to cut clutter: feed subtitle, sidebar bio blurb & newsletter blurb, empty hero placeholder. Excerpts stay visible. */
  body.ebeclaw .eb-feed-head .eb-k,
  body.ebeclaw .eb-side-bio,
  body.ebeclaw .eb-side-newsletter-copy,
  body.ebeclaw .eb-article .eb-hero .eb-art-placeholder{display:none!important}
  body.ebeclaw .eb-article .eb-hero:not(:has(img)){display:none}
}
@media(max-width:380px){
  body.ebeclaw .eb-row{grid-template-columns:minmax(0,1fr) 80px!important}
  body.ebeclaw .eb-th,body.ebeclaw .eb-row .eb-th{width:80px!important;height:80px!important}
  body.ebeclaw .eb-footer-main{grid-template-columns:1fr!important}
}

/* v74: excerpts stay visible on phones/tablets (tidy 3-line clamp so rows stay compact). */
@media(max-width:900px){
  body.ebeclaw .eb-home-post-row .eb-row-excerpt,body.ebeclaw .eb-related .eb-row-excerpt,body.ebeclaw .eb-row .eb-row-excerpt{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;margin:6px 0 0!important;color:var(--ink2)}
}
@media(max-width:640px){
  body.ebeclaw .eb-row .eb-row-excerpt{font-size:14.5px!important;line-height:1.5!important}
}

/* v75a: mobile/tablet menu search — never turns white on focus/typing/autofill; matches the drawer surface. */
@media(max-width:900px){
  body.ebeclaw .eb-nav.open .eb-search,
  body.ebeclaw .eb-nav.open .eb-search:hover,
  body.ebeclaw .eb-nav.open .eb-search:focus-within{
    display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;max-width:760px!important;
    height:auto!important;min-height:54px!important;margin:28px auto 0!important;padding:6px 2px!important;box-sizing:border-box!important;
    background:transparent!important;border:0!important;border-bottom:1px solid #bdb5aa!important;border-radius:0!important;box-shadow:none!important;
    transition:border-color .18s ease!important;
  }
  body.ebeclaw .eb-nav.open .eb-search:focus-within{border-bottom-color:var(--accent)!important;box-shadow:0 1px 0 var(--accent)!important}
  body.ebeclaw .eb-nav.open .eb-search svg{width:20px!important;height:20px!important;flex:0 0 20px!important;color:var(--mute)}
  body.ebeclaw .eb-nav.open .eb-search:focus-within svg{color:var(--accent)}
  body.ebeclaw .eb-nav.open .eb-search input,
  body.ebeclaw .eb-nav.open .eb-search input:hover,
  body.ebeclaw .eb-nav.open .eb-search input:focus,
  body.ebeclaw .eb-nav.open .eb-search input:focus-visible,
  body.ebeclaw .eb-nav.open .eb-search input:active{
    flex:1 1 auto;width:100%!important;min-width:0;height:40px!important;min-height:40px!important;padding:0!important;margin:0!important;
    background:transparent!important;background-color:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;
    color:var(--ink)!important;font:400 18px/40px var(--sans)!important;-webkit-appearance:none;appearance:none;
  }
  body.ebeclaw .eb-nav.open .eb-search input::placeholder{color:var(--mute);opacity:1}
  body.ebeclaw .eb-nav.open .eb-search input::-webkit-search-cancel-button{-webkit-appearance:none}
  body.ebeclaw .eb-nav.open .eb-search input:-webkit-autofill,
  body.ebeclaw .eb-nav.open .eb-search input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px var(--bg,#faf8f4) inset!important;-webkit-text-fill-color:var(--ink)!important;caret-color:var(--ink)}
}

/* v75b: empty search state rebuilt as one clean card that matches the site (replaces several older layered layouts). */
body.ebeclaw .eb-search-page .eb-search-feed .eb-search-empty{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:0!important;
  box-sizing:border-box;width:100%;max-width:100%;margin:0 0 8px!important;padding:clamp(24px,4vw,40px)!important;
  background:#fffdfa!important;border:1px solid var(--line)!important;border-radius:6px!important;box-shadow:0 5px 18px rgba(35,28,20,.035)!important;
  color:var(--ink2)!important;font:16px/1.6 var(--sans)!important;
}
body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-mark{
  display:block!important;position:static!important;grid-column:auto!important;grid-row:auto!important;flex:0 0 auto!important;
  width:52px!important;height:52px!important;margin:0 0 18px!important;border:0!important;border-radius:50%!important;
  background:rgba(132,47,59,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%23842f3b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") center/26px no-repeat!important;
}
body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-mark::before,
body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-mark::after,
body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-mark span{display:none!important;content:none!important}
body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-copy{display:block!important;grid-column:auto!important;grid-row:auto!important;width:100%;min-width:0;margin:0 0 22px!important;padding:0!important}
body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-eyebrow{margin:0 0 8px!important;color:var(--accent)!important;font:600 12.5px/1.4 var(--sans)!important;letter-spacing:.08em;text-transform:uppercase}
body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-copy h2{margin:0 0 10px!important;color:var(--ink)!important;font:600 clamp(24px,5.6vw,32px)/1.2 var(--serif,Georgia,serif)!important;letter-spacing:-.01em}
body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-copy h2+p,
body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-copy>p:last-child{display:block!important;margin:0!important;max-width:56ch;color:var(--ink2)!important;font:16px/1.6 var(--sans)!important}
body.ebeclaw .eb-search-page .eb-search-empty form{display:flex!important;grid-column:auto!important;grid-row:auto!important;align-items:stretch!important;gap:10px!important;width:100%!important;max-width:520px!important;margin:0 0 20px!important}
body.ebeclaw .eb-search-page .eb-search-empty form input[type=search]{flex:1 1 auto;min-width:0;height:48px!important;min-height:48px!important;padding:0 14px!important;border:1px solid #cfc7bb!important;border-radius:4px!important;background:#fff!important;color:var(--ink)!important;font:16px/1.3 var(--sans)!important;box-shadow:none!important;-webkit-appearance:none;appearance:none}
body.ebeclaw .eb-search-page .eb-search-empty form input[type=search]:focus{border-color:var(--accent)!important;box-shadow:0 0 0 3px rgba(132,47,59,.1)!important;outline:0!important}
body.ebeclaw .eb-search-page .eb-search-empty form button{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px!important;min-height:48px!important;padding:0 20px!important;border:1px solid var(--accent)!important;border-radius:4px!important;background:var(--accent)!important;color:#fff!important;font:600 14px/1 var(--sans)!important;cursor:pointer;white-space:nowrap}
body.ebeclaw .eb-search-page .eb-search-empty form button:hover,
body.ebeclaw .eb-search-page .eb-search-empty form button:focus-visible{background:var(--accent-dark,#6d2530)!important;border-color:var(--accent-dark,#6d2530)!important;color:#fff!important}
body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-hints{display:flex!important;grid-column:auto!important;grid-row:auto!important;flex-wrap:wrap;align-items:center;gap:8px 8px!important;width:100%;margin:0!important;padding:18px 0 0!important;border-top:1px solid #e7e0d7!important}
body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-hints>span{margin-right:4px;color:var(--mute)!important;font:13.5px/1.4 var(--sans)!important}
body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-hints a{display:inline-flex;align-items:center;min-height:38px;padding:0 14px!important;border:1px solid #ded6cb!important;border-radius:999px!important;background:#fff!important;color:var(--ink2)!important;font:500 13.5px/1 var(--sans)!important;text-decoration:none!important}
body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-hints a:hover,
body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-hints a:focus-visible{border-color:var(--accent)!important;color:var(--accent)!important}
@media(max-width:640px){
  body.ebeclaw .eb-search-page .eb-search-feed .eb-search-empty{padding:22px 18px!important;border-radius:5px!important}
  body.ebeclaw .eb-search-page .eb-search-empty form{flex-direction:column!important;max-width:none!important}
  body.ebeclaw .eb-search-page .eb-search-empty form button{width:100%}
  body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-hints>span{flex:0 0 100%;margin:0 0 2px}
}

/* v76: empty search on phones/tablets — drop the icon circle and the boxed card so it reads like the rest of the site
   (flat editorial block aligned to the page margins, same kicker/heading/chip rhythm as list pages). */
@media(max-width:900px){
  body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-mark{display:none!important}
  body.ebeclaw .eb-search-page .eb-search-feed .eb-search-empty{padding:4px 0 8px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
  body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-copy{margin-bottom:20px!important}
  body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-eyebrow{display:flex;align-items:center;gap:10px}
  body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-eyebrow::before{content:"";width:24px;height:1px;background:var(--accent)}
  body.ebeclaw .eb-search-page .eb-search-empty .eb-search-empty-hints{border-top:1px solid var(--line)!important}
}
@media(max-width:640px){
  body.ebeclaw .eb-search-page .eb-search-feed .eb-search-empty{padding:2px 0 6px!important;border-radius:0!important}
}

/* v72: related articles on single posts — the tablet/phone row rules zero the side padding (!important)
   while the negative side margin stays, so rows bled past the column with no breathing room.
   Keep related rows inside the reading column with their own padding at every width. */
body.ebeclaw .eb-article .eb-related{margin-inline:0;padding-inline:0}
body.ebeclaw .eb-article .eb-related .eb-section-label{margin:0 0 4px;padding-inline:16px!important}
body.ebeclaw .eb-article .eb-related .eb-row{margin-inline:0!important;padding:22px 16px!important;box-sizing:border-box;width:100%}
body.ebeclaw .eb-article .eb-related .eb-row:hover{transform:none}
@media(max-width:640px){
  body.ebeclaw .eb-article .eb-related{margin-top:40px;padding-top:22px}
  body.ebeclaw .eb-article .eb-related .eb-section-label{padding-inline:12px!important}
  body.ebeclaw .eb-article .eb-related .eb-row{padding:18px 12px!important}
}


/* v77: keep the site header visible and interactive while the mobile menu is open after scrolling.
   The header is its own opaque stacking context; the drawer sits below the logo/menu control,
   and the page backdrop sits below the entire header. */
@media(max-width:900px){
  body.ebeclaw .eb-hd{
    isolation:isolate!important;
    position:sticky!important;
    top:0!important;
    z-index:1400!important;
    background-color:var(--bg,#faf8f4)!important;
    opacity:1!important;
    visibility:visible!important;
  }
  body.admin-bar.ebeclaw .eb-hd{top:46px!important}
  body.ebeclaw .eb-logo,
  body.ebeclaw .eb-menu{
    position:relative!important;
    z-index:1403!important;
    visibility:visible!important;
    opacity:1!important;
  }
  body.ebeclaw .eb-nav.open{
    z-index:1401!important;
    top:var(--eb-hd-h,68px)!important;
    background-color:var(--bg,#faf8f4)!important;
  }
  body.admin-bar.ebeclaw .eb-nav.open{
    top:calc(var(--eb-hd-h,68px) + 46px)!important;
  }
  body.ebeclaw .eb-nav-backdrop{
    z-index:1390!important;
  }
}


/* ==========================================================================
   v80: header alignment, even spacing, active nav state, intro layout, motion.
   One consolidated block; sits last so it wins over the earlier layers.
   ========================================================================== */
:root{
  --eb-max:1280px;
  --eb-gutter:clamp(20px,4vw,56px);
  --eb-gap:clamp(40px,6vw,72px);      /* space under the header == space above the footer */
  --eb-ease:cubic-bezier(.2,.65,.25,1);
}
@media(max-width:640px){:root{--eb-gutter:18px;--eb-gap:36px}}

/* 1. Header content aligns to the same column as every page section. */
body.ebeclaw .eb-hd{
  box-sizing:border-box;
  padding-left:max(var(--eb-gutter),calc((100% - var(--eb-max))/2 + var(--eb-gutter)))!important;
  padding-right:max(var(--eb-gutter),calc((100% - var(--eb-max))/2 + var(--eb-gutter)))!important;
  transition:box-shadow .3s ease;
}
body.ebeclaw .eb-hd.is-scrolled{box-shadow:0 6px 22px rgba(35,28,20,.07)}
/* Single articles use the same outer column (inner grid unchanged). */
body.ebeclaw .eb-article-layout{
  box-sizing:border-box;
  width:min(100%,var(--eb-max))!important;
  max-width:var(--eb-max)!important;
  margin-inline:auto;
  padding-inline:var(--eb-gutter);
}

/* 2a. Equal breathing room below the header and above the footer. */
body.ebeclaw .eb-intro{padding-top:var(--eb-gap)!important;padding-bottom:clamp(24px,3vw,36px)!important}
body.ebeclaw .eb-page,
body.ebeclaw .eb-bio-page{padding-top:var(--eb-gap)!important}
body.ebeclaw .eb-archive,
body.ebeclaw .eb-search-page{padding-top:0!important}
body.ebeclaw .eb-archive-head,
body.ebeclaw .eb-search-page .eb-search-head{padding-top:var(--eb-gap)!important}
body.ebeclaw .eb-article-layout{padding-top:var(--eb-gap)}
body.ebeclaw :is(.eb-wrap,.eb-page,.eb-bio-page,.eb-contact-page,.eb-search-page,.eb-archive,.eb-article-layout){padding-bottom:0!important}
body.ebeclaw .eb-main,
body.ebeclaw .eb-search-main{margin-bottom:0!important}
body.ebeclaw .eb-main .eb-pager,
body.ebeclaw .eb-archive .eb-pager,
body.ebeclaw .eb-search-page .eb-pager{padding-bottom:0!important;margin-bottom:0!important}
body.ebeclaw .eb-footer{margin-top:var(--eb-gap)!important}
body.ebeclaw .eb-footer:before{left:max(var(--eb-gutter),calc((100% - var(--eb-max))/2 + var(--eb-gutter)))!important}

/* 2b. Post rows: one rhythm for topic > meta > title > excerpt, equal row padding. */
body.ebeclaw .eb-row{padding-block:28px!important;align-items:center}
body.ebeclaw .eb-row .eb-row-content{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}
body.ebeclaw .eb-row .eb-row-content>*{margin:0!important}
body.ebeclaw .eb-row .eb-row-topic{line-height:1.2}
body.ebeclaw .eb-row .eb-row-meta{line-height:1.3}
body.ebeclaw .eb-row .eb-row-content h3{line-height:1.25}
body.ebeclaw .eb-row .eb-row-excerpt{line-height:1.6}
@media(max-width:640px){body.ebeclaw .eb-row{padding-block:22px!important}body.ebeclaw .eb-row .eb-row-content{gap:8px}}

/* 3. Active page = the hover underline, held on. */
body.ebeclaw .eb-nav .eb-nav-links a:after{transition:right .28s var(--eb-ease)}
body.ebeclaw .eb-nav .eb-nav-links a:hover:after,
body.ebeclaw .eb-nav .eb-nav-links a:focus-visible:after,
body.ebeclaw .eb-nav .eb-nav-links .current-menu-item>a:after,
body.ebeclaw .eb-nav .eb-nav-links .current_page_item>a:after,
body.ebeclaw .eb-nav .eb-nav-links .current-menu-ancestor>a:after,
body.ebeclaw .eb-nav .eb-nav-links .current-page-ancestor>a:after,
body.ebeclaw .eb-nav .eb-nav-links a[aria-current="page"]:after{right:0}
/* Mobile drawer: the arrow takes the place of the underline, so mark the active row instead. */
@media(max-width:900px){
  body.ebeclaw .eb-nav.open .eb-nav-links :is(.current-menu-item,.current_page_item)>a,
  body.ebeclaw .eb-nav.open .eb-nav-links a[aria-current="page"]{color:var(--accent)!important}
  body.ebeclaw .eb-nav.open .eb-nav-links :is(.current-menu-item,.current_page_item)>a:after,
  body.ebeclaw .eb-nav.open .eb-nav-links a[aria-current="page"]:after{transform:translateX(0);opacity:1;right:auto}
}

/* 4. Homepage statement: narrower measure, eyebrow moved into its own left column. */
@media(min-width:901px){
  body.ebeclaw .eb-intro{display:grid;grid-template-columns:190px minmax(0,1fr);column-gap:clamp(24px,4vw,56px);align-items:start}
  body.ebeclaw .eb-intro>.eb-k{margin-top:clamp(12px,1.2vw,18px)}
}
body.ebeclaw .eb-intro>p,
body.ebeclaw .eb-intro>h1.eb-home-h1{max-width:21em!important;width:auto;margin:0!important;text-wrap:balance}
@media(max-width:900px){body.ebeclaw .eb-intro>p,body.ebeclaw .eb-intro>h1.eb-home-h1{max-width:100%!important;margin-top:14px!important}}

/* 5. Motion. Everything lives inside no-preference so reduced-motion users get a static site. */
@media(prefers-reduced-motion:no-preference){
  @keyframes eb-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
  @keyframes eb-drop{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
  @keyframes eb-draw{from{transform:scaleX(0)}to{transform:scaleX(1)}}
  @keyframes eb-settle{from{transform:scale(1.08)}to{transform:scale(1)}}

  /* header */
  body.ebeclaw .eb-logo{animation:eb-drop .6s var(--eb-ease) backwards}
  body.ebeclaw .eb-nav-links>li{animation:eb-drop .6s var(--eb-ease) backwards}
  body.ebeclaw .eb-nav-links>li:nth-child(1){animation-delay:.08s}
  body.ebeclaw .eb-nav-links>li:nth-child(2){animation-delay:.14s}
  body.ebeclaw .eb-nav-links>li:nth-child(3){animation-delay:.2s}
  body.ebeclaw .eb-nav-links>li:nth-child(4){animation-delay:.26s}
  body.ebeclaw .eb-nav-links>li:nth-child(n+5){animation-delay:.32s}
  body.ebeclaw .eb-hd .eb-search{animation:eb-drop .6s .34s var(--eb-ease) backwards}
  body.ebeclaw .eb-progress{position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--accent);transform:scaleX(0);transform-origin:left;pointer-events:none}

  /* mobile drawer links stagger in each time it opens */
  @media(max-width:900px){
    body.ebeclaw .eb-nav.open .eb-nav-links>li{animation:eb-rise .5s var(--eb-ease) backwards}
    body.ebeclaw .eb-nav.open .eb-nav-links>li:nth-child(1){animation-delay:.04s}
    body.ebeclaw .eb-nav.open .eb-nav-links>li:nth-child(2){animation-delay:.10s}
    body.ebeclaw .eb-nav.open .eb-nav-links>li:nth-child(3){animation-delay:.16s}
    body.ebeclaw .eb-nav.open .eb-nav-links>li:nth-child(n+4){animation-delay:.22s}
    body.ebeclaw .eb-nav.open .eb-search{animation:eb-rise .5s .28s var(--eb-ease) backwards}
  }

  /* homepage: intro > featured > feed head > rows > sidebar */
  body.ebeclaw .eb-intro>.eb-k{animation:eb-rise .7s .10s var(--eb-ease) backwards}
  body.ebeclaw .eb-intro>.eb-k:before{transform-origin:left;animation:eb-draw .8s .25s var(--eb-ease) backwards}
  body.ebeclaw .eb-intro>p,
  body.ebeclaw .eb-intro>h1.eb-home-h1{animation:eb-rise .8s .2s var(--eb-ease) backwards}
  body.ebeclaw .eb-feat>.eb-img{animation:eb-rise .8s .32s var(--eb-ease) backwards}
  body.ebeclaw .eb-feat>.eb-img img{animation:eb-settle 1.5s .32s var(--eb-ease) backwards}
  body.ebeclaw .eb-feat>div>*{animation:eb-rise .7s var(--eb-ease) backwards}
  body.ebeclaw .eb-feat>div>:nth-child(1){animation-delay:.42s}
  body.ebeclaw .eb-feat>div>:nth-child(2){animation-delay:.52s}
  body.ebeclaw .eb-feat>div>:nth-child(3){animation-delay:.62s}
  body.ebeclaw .eb-feed-head{animation:eb-rise .7s .55s var(--eb-ease) backwards}
  body.ebeclaw .eb-feed-head .eb-k:before{transform-origin:left;animation:eb-draw .7s .8s var(--eb-ease) backwards}
  body.ebeclaw .eb-main>.eb-side,body.ebeclaw .eb-search-main>.eb-side{animation:eb-rise .8s .7s var(--eb-ease) backwards}

  /* inner pages: heads and first blocks stagger in */
  body.ebeclaw :is(.eb-page,.eb-archive-head,.eb-search-head,.eb-article-head,.eb-articles-header,.eb-bio-main)>*{animation:eb-rise .7s var(--eb-ease) backwards}
  body.ebeclaw :is(.eb-page,.eb-archive-head,.eb-search-head,.eb-article-head,.eb-articles-header,.eb-bio-main)>:nth-child(1){animation-delay:.08s}
  body.ebeclaw :is(.eb-page,.eb-archive-head,.eb-search-head,.eb-article-head,.eb-articles-header,.eb-bio-main)>:nth-child(2){animation-delay:.16s}
  body.ebeclaw :is(.eb-page,.eb-archive-head,.eb-search-head,.eb-article-head,.eb-articles-header,.eb-bio-main)>:nth-child(3){animation-delay:.24s}
  body.ebeclaw :is(.eb-page,.eb-archive-head,.eb-search-head,.eb-article-head,.eb-articles-header,.eb-bio-main)>:nth-child(4){animation-delay:.32s}
  body.ebeclaw :is(.eb-page,.eb-archive-head,.eb-search-head,.eb-article-head,.eb-articles-header,.eb-bio-main)>:nth-child(n+5){animation-delay:.4s}
  body.ebeclaw .eb-bio-portrait{animation:eb-rise .8s .2s var(--eb-ease) backwards}

  /* scroll reveal (class added by motion.js only to elements below the fold) */
  body.ebeclaw .eb-rv{opacity:0;transform:translateY(18px)}
  body.ebeclaw .eb-rv.eb-rv-in{opacity:1;transform:none;animation:eb-rise .7s var(--eb-ease) backwards}

  /* hover/focus micro-interactions — no left accent bar or title underline on rows */
  body.ebeclaw .eb-row:before{display:none!important;content:none!important}
  body.ebeclaw .eb-feat:hover :is(h2) a{color:var(--accent)}
  body.ebeclaw :is(.eb-row,.eb-feat) :is(h2,h3) a:hover,
  body.ebeclaw :is(.eb-row,.eb-feat) :is(h2,h3) a:focus-visible{color:var(--accent)}
  body.ebeclaw :is(.eb-btn,.eb-pager a.page-numbers,.eb-tags a,.eb-chip,.eb-pdf-link):active{transform:translateY(0) scale(.97)}
  body.ebeclaw :is(.eb-tags a,.eb-chip,.eb-chips a):hover{transform:translateY(-1px)}
  body.ebeclaw .eb-footer-column nav a{transition:color .18s ease,transform .25s var(--eb-ease)}
  body.ebeclaw .eb-footer-column nav a:hover{transform:translateX(4px)}
  body.ebeclaw .eb-logo{transition:opacity .2s ease}
  body.ebeclaw .eb-logo:hover{opacity:.78}
}

/* Header hide on scroll down, show on scroll up */
body.ebeclaw .eb-hd{
  transition:transform .28s cubic-bezier(.2,.7,.2,1),box-shadow .28s ease,background-color .2s ease;
  will-change:transform;
}
body.ebeclaw .eb-hd.is-hidden{
  transform:translateY(-100%);
  box-shadow:none;
}
body.ebeclaw .eb-hd.is-scrolled{
  box-shadow:0 6px 22px rgba(35,28,20,.07);
}
@media(prefers-reduced-motion:reduce){
  body.ebeclaw .eb-hd{transition:none}
  body.ebeclaw .eb-hd.is-hidden{transform:none}
}

/* Homepage h1 (replaces intro paragraph) — match previous intro statement look */
body.ebeclaw .eb-intro > h1.eb-home-h1{
  font-family:var(--serif);
  font-weight:400;
  color:#302b27;
  margin:16px 0 0;
  padding:0;
  border:0;
  letter-spacing:-.018em;
}
body.ebeclaw .eb-intro p,
body.ebeclaw .eb-intro > h1.eb-home-h1{font-size:clamp(20px,2.3vw,27px);line-height:1.48}
body.ebeclaw .eb-intro>p,
body.ebeclaw .eb-intro>h1.eb-home-h1{font-size:clamp(24px,3.1vw,38px);line-height:1.32}
@media(max-width:640px){
  body.ebeclaw .eb-intro>p,
  body.ebeclaw .eb-intro>h1.eb-home-h1{font-size:clamp(22px,6.2vw,28px);line-height:1.38}
}
@media(max-width:480px){
  body.ebeclaw .eb-intro p,
  body.ebeclaw .eb-intro > h1.eb-home-h1{font-size:clamp(18px,4.6vw,22px)!important;line-height:1.5!important}
}

/* Articles page: single divider before "Books, chapters…" (no double line) */
body.ebeclaw .eb-publication-list > li:last-child{border-bottom:0!important}
body.ebeclaw .eb-older-publications{
  margin-top:clamp(40px,5vw,64px);
  padding-top:clamp(28px,3.5vw,40px);
  border-top:1px solid var(--line);
}
/* Kill leftover left accent bar on post rows (all viewports) */
body.ebeclaw .eb-row:before,
body.ebeclaw .eb-home-post-row:before{
  display:none!important;
  content:none!important;
  width:0!important;
  background:none!important;
}

/* Homepage intro: h1 (was eyebrow) + scaled-down lead paragraph beside it */
body.ebeclaw .eb-intro{
  display:grid;
  grid-template-columns:minmax(140px,220px) minmax(0,1fr);
  column-gap:clamp(24px,4vw,56px);
  align-items:start;
  padding-top:clamp(36px,5vw,64px);
  padding-bottom:clamp(20px,3vw,32px);
}
body.ebeclaw .eb-intro > h1.eb-home-h1{
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(22px,2.2vw,28px);
  line-height:1.2;
  letter-spacing:-.02em;
  color:var(--ink);
  margin:0;
  padding:0;
  max-width:none!important;
  text-wrap:balance;
}
body.ebeclaw .eb-intro > p.eb-home-lead{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(18px,2vw,24px)!important;
  line-height:1.45!important;
  letter-spacing:-.012em;
  color:#3a3530;
  margin:0!important;
  max-width:28em!important;
  text-wrap:balance;
}
@media(max-width:900px){
  body.ebeclaw .eb-intro{
    grid-template-columns:1fr;
    gap:10px;
  }
  body.ebeclaw .eb-intro > h1.eb-home-h1{
    font-size:clamp(20px,5vw,26px);
  }
  body.ebeclaw .eb-intro > p.eb-home-lead{
    font-size:clamp(17px,4.2vw,21px)!important;
    max-width:100%!important;
    margin-top:4px!important;
  }
}

/* Homepage load animation for new intro structure */
@media(prefers-reduced-motion:no-preference){
  body.ebeclaw .eb-intro > h1.eb-home-h1{animation:eb-rise .7s .1s var(--eb-ease) backwards}
  body.ebeclaw .eb-intro > p.eb-home-lead{animation:eb-rise .8s .2s var(--eb-ease) backwards}
}

/* Homepage hero: eyebrow, site name (h1), then the introductory line */
body.ebeclaw .eb-intro{
  display:block!important;
  grid-template-columns:none!important;
  max-width:42em;
  padding-top:clamp(40px,5.5vw,72px)!important;
  padding-bottom:clamp(20px,3vw,36px)!important;
}
body.ebeclaw .eb-intro > h1.eb-home-h1{
  font-family:var(--serif);
  font-weight:700;
  font-size:clamp(36px,4.5vw,56px)!important;
  line-height:1.08!important;
  letter-spacing:-.03em;
  color:var(--ink);
  margin:0 0 14px!important;
  padding:0;
  max-width:none!important;
  text-wrap:balance;
}
body.ebeclaw .eb-intro > p.eb-home-lead{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(18px,2vw,24px)!important;
  line-height:1.45!important;
  letter-spacing:-.01em;
  color:#3a3530;
  margin:0!important;
  max-width:34em!important;
  text-wrap:balance;
}
/* The homepage eyebrow is intentionally visible above the h1. */
body.ebeclaw .eb-intro > .eb-home-eyebrow{
  display:inline-flex!important;
  align-items:center;
  gap:10px;
  margin:0 0 16px!important;
  color:var(--accent);
  font-family:var(--sans);
  font-size:11px;
  font-weight:600;
  letter-spacing:.14em;
  line-height:1.4;
  text-transform:uppercase;
}
body.ebeclaw .eb-intro > .eb-home-eyebrow:before{
  content:"";
  display:inline-block;
  width:24px;
  height:1px;
  background:currentColor;
}
@media(max-width:640px){
  body.ebeclaw .eb-intro > .eb-home-eyebrow{margin-bottom:12px!important;font-size:10px}
  body.ebeclaw .eb-intro > h1.eb-home-h1{font-size:clamp(30px,9vw,40px)!important}
  body.ebeclaw .eb-intro > p.eb-home-lead{font-size:clamp(16px,4.2vw,20px)!important}
}
@media(prefers-reduced-motion:no-preference){
  body.ebeclaw .eb-intro > h1.eb-home-h1{animation:eb-rise .7s .08s var(--eb-ease) backwards}
  body.ebeclaw .eb-intro > p.eb-home-lead{animation:eb-rise .8s .18s var(--eb-ease) backwards}
}

/* Whole featured card + post rows are clickable */
body.ebeclaw .eb-feat,
body.ebeclaw .eb-row{
  position:relative;
  cursor:pointer;
}
/* Stretched link: title anchor covers the entire card */
body.ebeclaw .eb-feat h2 a::after,
body.ebeclaw .eb-row h3 a::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
}
/* Keep nested media links from fighting the stretched hit area */
body.ebeclaw .eb-feat .eb-img,
body.ebeclaw .eb-row .eb-th{
  position:relative;
  z-index:1;
  pointer-events:none;
}
body.ebeclaw .eb-feat:hover :is(h2) a,
body.ebeclaw .eb-row:hover :is(h3) a{
  color:var(--accent);
}

/* Featured image hover scale — same behavior as post-list thumbnails */
body.ebeclaw .eb-feat .eb-img{
  overflow:hidden;
  border-radius:4px;
}
body.ebeclaw .eb-feat .eb-img img{
  transition:transform .55s cubic-bezier(.2,.7,.2,1);
  will-change:transform;
}
body.ebeclaw .eb-feat:hover .eb-img img,
body.ebeclaw .eb-feat:focus-within .eb-img img{
  transform:scale(1.045);
}
@media(prefers-reduced-motion:reduce){
  body.ebeclaw .eb-feat .eb-img img{transition:none!important}
  body.ebeclaw .eb-feat:hover .eb-img img,
  body.ebeclaw .eb-feat:focus-within .eb-img img{transform:none!important}
}

/* TOC jumps move focus to the heading (article.js); a heading is not interactive, so no focus ring on it */
body.ebeclaw .eb-article .eb-body :is(h2,h3,h4)[tabindex="-1"]:focus{outline:none}

/* Mobile/tablet menu: lock page scroll on <html>, never on <body>.
   overflow:hidden on <body> (while <html> has overflow-x:clip) turns <body> into a scroll container, so the sticky
   header stopped sticking the moment the menu opened and scrolled out of view with the page behind it. */
@media(max-width:900px){
  html.eb-menu-open{overflow:hidden!important;overscroll-behavior:none}
  body.ebeclaw.eb-menu-open{overflow-x:clip!important;overflow-y:visible!important}
  body.ebeclaw .eb-nav.open{overscroll-behavior:contain}
  body.ebeclaw.eb-menu-open .eb-hd{position:sticky!important;top:0;transform:none!important}
}

/* Footer legal/copyright row: leave comfortable breathing room below the final line. */
body.ebeclaw .eb-footer-bottom{
  padding-bottom:clamp(24px,4vw,44px)!important;
}

/* Scroll-reveal states are outside the page-load animation media block so they
   remain available to the observer on every non-reduced-motion viewport. */
@media(prefers-reduced-motion:no-preference){
  body.ebeclaw .eb-rv{opacity:0;transform:translateY(18px)}
  body.ebeclaw .eb-rv.eb-rv-in{opacity:1;transform:none;animation:eb-rise .7s var(--eb-ease) both}
}


/* v1.0.5: homepage introductory line spans the full available content width. */
body.ebeclaw .eb-intro > p.eb-home-lead {
  display: block;
  width: 100%;
  max-width: none !important;
}
/* ==========================================================================
   v1.0.8: brand assets + always-visible header that starts tall and
   tightens to its familiar compact height once the page is scrolled.
   Sits last so it wins over every earlier header layer.
   ========================================================================== */

/* Expanded (top of page) vs compact (scrolled) header heights.
   --eb-hd-h keeps its previous value: the header still tightens to exactly
   the height it had before. */
:root{--eb-hd-tall:96px}
@media(max-width:900px){:root{--eb-hd-tall:84px}}
@media(max-width:640px){:root{--eb-hd-tall:80px}}

/* 1. The header never hides. It stays pinned and fully visible on every page,
   scrolling down or up. (motion.js no longer adds .is-hidden; this is a net.) */
body.ebeclaw .eb-hd.is-hidden{transform:none!important;opacity:1!important;visibility:visible!important}

/* 2. Tall while the reader is at the top of the page, compact after scrolling. */
body.ebeclaw .eb-hd{
  height:var(--eb-hd-tall)!important;
  transition:height .34s cubic-bezier(.2,.65,.25,1),box-shadow .3s ease,background-color .2s ease;
  will-change:height;
}
body.ebeclaw .eb-hd.is-scrolled{height:var(--eb-hd-h)!important}
@media(max-width:900px){
  body.ebeclaw .eb-hd{height:var(--eb-hd-tall)!important}
  body.ebeclaw .eb-hd.is-scrolled{height:var(--eb-hd-h)!important}
}

/* 3. Brand logo image: a larger mark while relaxed, quietly smaller when compact. */
body.ebeclaw .eb-logo{display:inline-flex;align-items:center;min-width:0}
body.ebeclaw .eb-logo .eb-logo-img{
  height:46px;width:auto;max-width:100%;display:block;
  transition:height .34s cubic-bezier(.2,.65,.25,1);
}
body.ebeclaw .eb-hd.is-scrolled .eb-logo .eb-logo-img{height:30px}
@media(max-width:900px){
  body.ebeclaw .eb-logo .eb-logo-img{height:40px}
  body.ebeclaw .eb-hd.is-scrolled .eb-logo .eb-logo-img{height:28px}
}
@media(max-width:640px){
  body.ebeclaw .eb-logo .eb-logo-img{height:34px}
  body.ebeclaw .eb-hd.is-scrolled .eb-logo .eb-logo-img{height:26px}
}
/* Text fallback (used only if the bundled logo file is missing). */
body.ebeclaw .eb-hd .eb-logo{font-size:30px;transition:font-size .34s cubic-bezier(.2,.65,.25,1),opacity .2s ease}
body.ebeclaw .eb-hd.is-scrolled .eb-logo{font-size:26px}
@media(max-width:640px){
  body.ebeclaw .eb-hd .eb-logo{font-size:24px}
  body.ebeclaw .eb-hd.is-scrolled .eb-logo{font-size:22px}
}

/* 4. Mobile drawer hangs below whatever height the header currently has. */
@media(max-width:900px){
  body.ebeclaw .eb-nav.open{top:var(--eb-hd-tall)!important;transition:top .3s ease}
  body.ebeclaw .eb-hd.is-scrolled .eb-nav.open{top:var(--eb-hd-h)!important}
  body.admin-bar.ebeclaw .eb-nav.open{top:calc(var(--eb-hd-tall) + 46px)!important}
  body.admin-bar.ebeclaw .eb-hd.is-scrolled .eb-nav.open{top:calc(var(--eb-hd-h) + 46px)!important}
}

/* 5. Footer brand logo image (text fallback unchanged). */
body.ebeclaw .eb-footer-logo{display:inline-flex;align-items:center;min-width:0}
body.ebeclaw .eb-footer-logo .eb-footer-logo-img{
  height:34px;width:auto;max-width:100%;display:block;
  transition:opacity .2s ease;
}
body.ebeclaw .eb-footer-logo:hover .eb-footer-logo-img{opacity:.78}
@media(max-width:640px){body.ebeclaw .eb-footer-logo .eb-footer-logo-img{height:28px}}

/* 6. Reduced motion: states still apply, just without the animated resize. */
@media(prefers-reduced-motion:reduce){
  body.ebeclaw .eb-hd,body.ebeclaw .eb-hd .eb-logo,body.ebeclaw .eb-logo .eb-logo-img,body.ebeclaw .eb-nav.open{transition:none!important}
}


/* ==========================================================================
   v1.0.9: the mobile menu slides in from the right edge to fill the screen,
   and a single article without a TOC uses the same full column as the header.
   ========================================================================== */

/* 1. Mobile menu: the open drawer slides in from the right; the header strip
   (logo + close button) stays on top, exactly as before. The staggered link
   reveal keeps running inside the drawer. */
@keyframes eb-drawer-in{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(max-width:900px){
  body.ebeclaw .eb-nav.open{
    animation:eb-drawer-in .32s cubic-bezier(.2,.7,.2,1) backwards!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.ebeclaw .eb-nav.open{animation:none!important}
}

/* 2. Single article without a TOC: same column width and edges as the site
   header (full --eb-max column, gutter-aligned). Articles WITH a TOC keep
   their content + sticky rail layout unchanged. */
body.ebeclaw .eb-article-layout:not(.has-toc) .eb-article-main{max-width:100%}
body.ebeclaw .eb-article-layout:not(.has-toc) .eb-body{max-width:none}
@media(min-width:1100px){
  body.ebeclaw .eb-article-layout:not(.has-toc){grid-template-columns:minmax(0,1fr);justify-content:start}
  body.ebeclaw .eb-article-layout:not(.has-toc) .eb-article-head{grid-column:1/-1}
  body.ebeclaw .eb-article-layout:not(.has-toc) .eb-article-main{grid-column:1}
}


/* ==========================================================================
   v1.0.10: touch-device polish and small consistency fixes.
   - No hover animation / tap layout shift on blog lists (phones + tablets).
   - Even spacing above and below the homepage latest-articles section.
   - Placeholder in the newsletter email input.
   - Contact panel eyebrow gets the same dash as every other eyebrow.
   - Arrow glyphs on the articles page render as text, not emoji, on iOS.
   Sits last so it wins over every earlier layer.
   ========================================================================== */

/* 1. Touch devices: taps must never trigger hover looks.
   iOS and Android latch :hover after a tap, so the row tint, image zoom,
   title recolor and the sideways padding shift all fired mid-tap and read
   as broken layout. Screens without a hover-capable pointer now get a
   completely static, stable list. Desktop hover behavior is untouched. */
@media (hover: none){
  /* Row/featured hover restyle: tint, shadow, lift — all off. */
  body.ebeclaw .eb-row:hover,
  body.ebeclaw .eb-home-post-row:hover,
  body.ebeclaw .eb-feat:hover{
    background:transparent!important;
    box-shadow:none!important;
    transform:none!important;
  }
  /* The sideways padding/margin shift is what visibly broke rows on tap.
     Pin the touched state to each breakpoint's resting geometry. */
  body.ebeclaw.home .eb-home-post-row:hover,
  body.ebeclaw.front-page .eb-home-post-row:hover{
    padding-inline:0!important;
    margin-inline:0!important;
  }
  /* Thumbnail / featured zoom on tap — off. */
  body.ebeclaw .eb-row:hover .eb-th img,
  body.ebeclaw .eb-row:hover .eb-art-placeholder,
  body.ebeclaw .eb-row:hover .eb-th .eb-art-placeholder,
  body.ebeclaw .eb-home-post-row:hover .eb-th img,
  body.ebeclaw .eb-feat:hover .eb-img img,
  body.ebeclaw .eb-feat:hover .eb-img .eb-art-placeholder{
    transform:none!important;
  }
  /* Title recolor on tap — back to the resting ink color. */
  body.ebeclaw .eb-row:hover h3,
  body.ebeclaw .eb-home-post-row:hover h3,
  body.ebeclaw .eb-row:hover :is(h3) a,
  body.ebeclaw .eb-home-post-row:hover :is(h3) a,
  body.ebeclaw .eb-feat:hover :is(h2) a{
    color:inherit!important;
  }
  /* Publications list: no sideways slide on tap (18px = resting padding). */
  body.ebeclaw .eb-articles-content>ul li:hover{
    padding-inline:18px!important;
  }
  /* Sidebar topic chips and footer links must not jump on tap either. */
  body.ebeclaw :is(.eb-tags a,.eb-chip,.eb-chips a):hover{transform:none!important}
  body.ebeclaw .eb-footer-column nav a:hover{transform:none!important}
}
@media (hover: none) and (max-width:640px){
  /* Phones: resting list padding is 10px (publications) / 0px (home rows). */
  body.ebeclaw .eb-articles-content>ul li:hover{padding-inline:10px!important}
}
@media (hover: none) and (min-width:641px){
  /* Tablets: home rows rest at 16px inline padding (no shift on tap). */
  body.ebeclaw.home .eb-home-post-row:hover,
  body.ebeclaw.front-page .eb-home-post-row:hover{
    padding-inline:16px!important;
    margin-inline:0!important;
  }
}

/* 2. Latest-articles section: even breathing room above and below on
   phones and tablets. The section now opens and closes with the site's
   standard gap (--eb-gap) instead of two different one-off values. */
@media (max-width:900px){
  body.ebeclaw.home .eb-main,
  body.ebeclaw.front-page .eb-main{margin-top:var(--eb-gap)!important}
  body.ebeclaw.home .eb-main>.eb-side,
  body.ebeclaw.front-page .eb-main>.eb-side{margin-top:var(--eb-gap)!important}
}

/* 3. Newsletter input: visible placeholder, same tone as the search field. */
body.ebeclaw .eb-side input.eb-field[type="email"]::placeholder{color:#91887e!important;opacity:1}

/* 4. Contact panel eyebrow: the same dash treatment as every other eyebrow
   on the site (page-level kickers), so the contact page matches. */
body.ebeclaw .eb-contact-panel>.eb-k{
  display:flex;align-items:center;gap:11px;
  font-size:11px;letter-spacing:.13em;text-transform:uppercase;
  color:var(--accent);font-weight:600;
}
body.ebeclaw .eb-contact-panel>.eb-k::before{
  content:"";width:28px;height:1px;background:var(--accent);flex:0 0 28px;
}

/* 5. Arrow glyphs render as text everywhere. The markup on the articles page
   now carries the U+FE0E text-presentation selector; this rule additionally
   pins the arrow spans to the text font stack and prefers the text glyph on
   engines that support font-variant-emoji. */
body.ebeclaw :is(.eb-pdf-link,.eb-contact-submit,.eb-footer-back) span[aria-hidden="true"]{
  font-family:var(--sans);
  font-variant-emoji:text;
}

/* ==========================================================================
   v1.0.11: scroll-flicker fix, article-to-contact-note spacing, and an even
   "Latest insights" heading rhythm. Sits last so it wins over every layer.
   ========================================================================== */

/* 1. Header flicker, fixed for good. The header used to be position:sticky and
   changed its flow height the moment .is-scrolled toggled, so the whole document
   reflowed on every frame of the height animation; the 40px threshold also had no
   hysteresis, so slow scrolling around it flipped the state back and forth and the
   header appeared to flicker. The header now floats above the page (position:fixed)
   while the flow space it reserves stays constant for the entire visit: shrinking
   the header repaints only the header itself, nothing below it ever moves again,
   and motion.js only switches states outside a 24-40px dead band. */
body.ebeclaw{padding-top:var(--eb-hd-tall)!important}
body.ebeclaw .eb-hd{
  position:fixed!important;
  top:0!important;left:0!important;right:0!important;bottom:auto!important;
  will-change:auto!important;
  -webkit-backface-visibility:hidden;backface-visibility:hidden;
}
body.admin-bar.ebeclaw .eb-hd{top:32px!important}
@media(max-width:900px){
  body.admin-bar.ebeclaw .eb-hd{top:46px!important}
}

/* 2. Article end -> "Questions about this article?" note: much tighter. The note's
   own top margin shrinks (was up to 56px), and the run of empty paragraphs some
   imported posts carry after their last line of text is now removed server-side in
   functions.php, so the note sits one clean paragraph-gap under the article. */
body.ebeclaw .eb-article-contact-note{margin-top:clamp(20px,2.5vw,26px)!important}
@media(max-width:640px){
  body.ebeclaw .eb-article-contact-note{margin-top:18px!important}
}

/* 3. "Latest insights": the room between the divider above and the heading now
   equals the room between the heading and its own underline (was 38px above the
   title vs 14px below it). The heading block opens and closes with 20px on every
   screen size, phones included. */
body.ebeclaw.home .eb-main,
body.ebeclaw.front-page .eb-main{margin-top:16px!important}
body.ebeclaw.home .eb-feed-head,
body.ebeclaw.front-page .eb-feed-head{padding:4px 0 20px}

/* ==========================================================================
   v1.0.12: the open menu starts at the very top edge, the table of contents
   is removed on phones, and the mobile author byline is rebuilt.
   Sits last so it wins over every earlier layer.
   ========================================================================== */

/* 1. Full-screen menu, starting from the top of the screen. The header used to
   switch back to position:sticky while the menu was open, which dropped it
   below the band the page reserves for the fixed header: readers saw a dimmed
   strip above the header and the first menu item sliding underneath the logo
   row. The header now stays fixed and pinned at the top edge above the panel,
   and the panel itself begins at the top edge, so the open menu reads as one
   clean full-screen takeover with the logo and the close button on top. */
@media(max-width:900px){
  body.ebeclaw.eb-menu-open .eb-hd{position:fixed!important;top:0!important;transform:none!important}
  body.ebeclaw .eb-nav.open,
  body.ebeclaw .eb-hd.is-scrolled .eb-nav.open{
    top:0!important;bottom:0!important;left:0!important;right:0!important;
    padding:calc(var(--eb-hd-tall,84px) + 18px) clamp(24px,6vw,64px) 36px!important;
  }
  body.admin-bar.ebeclaw .eb-nav.open,
  body.admin-bar.ebeclaw .eb-hd.is-scrolled .eb-nav.open{
    padding-top:calc(46px + var(--eb-hd-tall,84px) + 18px)!important;
  }
  /* The open panel receives focus when it opens; no focus ring around the panel. */
  body.ebeclaw .eb-nav:focus{outline:none!important}
}
@media(max-width:640px){
  body.ebeclaw .eb-nav.open,
  body.ebeclaw .eb-hd.is-scrolled .eb-nav.open{
    padding:calc(var(--eb-hd-tall,80px) + 16px) 22px 32px!important;
  }
  body.admin-bar.ebeclaw .eb-nav.open{
    padding-top:calc(46px + var(--eb-hd-tall,80px) + 16px)!important;
  }
}

/* 2. Table of contents on phones: removed completely. Between the byline box
   and the hero it read as a large clunky panel that pushed the article down,
   and on a phone the sticky desktop rail it mimics does not exist anyway.
   Tablets (641-900px) and desktop keep the TOC unchanged. */
@media(max-width:640px){
  body.ebeclaw .eb-toc{display:none!important}
}

/* 3. Author byline on single posts, phones. The meta row used to let the whole
   text block wrap underneath the avatar (leaving the avatar stranded on its own
   line) and the dot separators landed at the start of a wrapped line. The text
   now always sits beside the avatar, and the date / updated / read-time items
   stack as clean lines without separator dots. */
@media(max-width:900px){
  body.ebeclaw .eb-article-meta{flex-wrap:nowrap!important;align-items:center!important;gap:12px!important}
  body.ebeclaw .eb-meta-text{flex:1 1 0!important;min-width:0!important}
}
@media(max-width:640px){
  body.ebeclaw .eb-article-meta{padding:14px 14px!important}
  body.ebeclaw .eb-meta-avatar{width:48px!important;height:48px!important}
  body.ebeclaw .eb-meta-list{display:block!important;margin:4px 0 0!important}
  body.ebeclaw .eb-meta-list li{display:block!important;margin:0!important}
  body.ebeclaw .eb-meta-list li+li{margin-top:3px!important}
  body.ebeclaw .eb-meta-list li+li:before{content:none!important}
}

/* ==========================================================================
   v1.0.13: the open menu is a plain, instant reveal. The right-edge drawer
   slide (eb-drawer-in) and the staggered rise of the links and the search
   field inside the panel are removed: the panel and its content simply
   appear, fully visible, the moment the menu opens. The subtle backdrop fade
   and the hamburger/close button morph are kept, and reduced-motion
   behaviour is unchanged (it was already instant).
   ========================================================================== */
@media(max-width:900px){
  body.ebeclaw .eb-nav.open,
  body.ebeclaw .eb-hd.is-scrolled .eb-nav.open{
    animation:none!important;
    transition:none!important;
  }
  body.ebeclaw .eb-nav.open .eb-nav-links>li,
  body.ebeclaw .eb-nav.open .eb-nav-links>li:nth-child(n),
  body.ebeclaw .eb-nav.open .eb-search{
    animation:none!important;
    animation-delay:0s!important;
    transition:none!important;
  }
}

/* ==========================================================================
   v1.0.15: article tables size to their content instead of stretching
   across the whole article column.
   ========================================================================== */

/* The card used to be width:100% of the article column and the table inside
   was forced to the same 100%, so even a two-column table of short values
   spread its columns across the full content width and read as a wall of
   empty space. The bordered card now shrink-wraps around its table
   (width:fit-content, capped at the article column) and the table simply
   fills that card, so column widths stay content-driven: small data tables
   stay compact, tables whose cells hold long prose still take the full
   column width and wrap exactly as before, and tables genuinely wider than
   the column keep scrolling horizontally inside the card instead of breaking
   the page. A small 4.5em floor per cell keeps a column from collapsing
   below a readable word (was 9.5em/8.5em, which forced every column wide). */
body.ebeclaw .eb-body .eb-table-block{width:-moz-fit-content;width:fit-content;max-width:100%!important}
body.ebeclaw .eb-body .eb-table-wrap>table.eb-table :is(th,td){min-width:4.5em!important}
/* The caption paragraph used to inherit the article paragraph margin (1.35em)
   and 19px size - the higher-specificity article body-text rule beats the
   older caption rule. Inside the shrink-wrapped card that inherited bottom
   margin painted a dead white strip under the caption bar, so the caption is
   now pinned to its intended 13px sans with zero margins (phones keep the
   smaller 12.5px size). */
body.ebeclaw .eb-body p.eb-table-caption{margin:0!important;font:13px/1.5 var(--sans)!important}
@media(max-width:640px){
  body.ebeclaw .eb-body p.eb-table-caption{font-size:12.5px!important}
}

/* ==========================================================================
   v1.0.16: tighter tail of a single article - the space between the last
   line of content and the "Questions about this article?" note.
   ========================================================================== */

/* The tail stacked three independent gaps: the last content element kept its
   own bottom margin (a paragraph ~26px, a table block 36px), the tags card
   opened with margin-top 44px + padding-top 22px, and the contact note added
   margin-top 26px (18px on phones) - so the note sat far below the last line
   of text. The last element in the article body now carries no bottom
   margin, the tags card opens with 24-32px (22px + 16px padding on phones),
   and the note sits 16-22px under whatever precedes it, so the whole tail
   reads as one compact block. */
body.ebeclaw .eb-article .eb-body>:last-child{margin-bottom:0!important}
body.ebeclaw .eb-article-foot{margin-top:clamp(24px,3.5vw,32px)!important;padding-top:18px!important}
body.ebeclaw .eb-article-contact-note{margin-top:clamp(16px,2vw,22px)!important}
@media(max-width:640px){
  body.ebeclaw .eb-article-foot{margin-top:22px!important;padding-top:16px!important}
  body.ebeclaw .eb-article-contact-note{margin-top:16px!important}
}
