/* LJH Editorial v0.4 – Journal, articles, pages, search and empty states.
   Scoped to this child theme so Elementor and WooCommerce can keep their own layouts. */
body.ljhbe-theme{--ljhbe-content-inset:clamp(18px,3.2vw,60px);--ljhbe-article-width:820px;--ljhbe-content-width:1536px}
body.ljhbe-theme .ljhbe-page-layout{width:100%;min-width:0;margin:0 auto;background:#fff;color:#171717}
body.ljhbe-theme .ljhbe-page-layout a{color:inherit}
body.ljhbe-theme .ljhbe-page-layout img{max-width:100%;height:auto}
body.ljhbe-theme .ljhbe-eyebrow{margin:0 0 19px;font-size:10px;font-weight:600;letter-spacing:.21em;line-height:1.4;text-transform:uppercase;color:#777}
body.ljhbe-theme .ljhbe-crumbs{margin-bottom:42px;display:flex;align-items:center;gap:10px;font-size:10px;font-weight:600;letter-spacing:.11em;text-transform:uppercase;color:#747474;flex-wrap:wrap}
body.ljhbe-theme .ljhbe-crumbs a:hover{text-decoration:underline;text-underline-offset:3px}
body.ljhbe-theme .ljhbe-editorial-link{display:inline-flex;align-items:center;gap:14px;width:fit-content;padding:0 0 6px;border-bottom:1px solid currentColor;font-size:10px;font-weight:600;letter-spacing:.09em;line-height:1.5;text-transform:uppercase;transition:gap .15s}
body.ljhbe-theme .ljhbe-editorial-link:hover{gap:22px}
/* Journal landing / taxonomy listings */
body.ljhbe-theme .ljhbe-journal-hero{background:#f5f3ef;padding:clamp(76px,10vw,165px) var(--ljhbe-content-inset) clamp(70px,8vw,128px);overflow:hidden}
body.ljhbe-theme .ljhbe-journal-hero__inner{max-width:var(--ljhbe-content-width);margin:0 auto}
body.ljhbe-theme .ljhbe-journal-hero h1{font:800 clamp(74px,14vw,190px)/.83 var(--ljhbe-display);text-transform:uppercase;letter-spacing:-.027em;overflow-wrap:anywhere;margin:0 0 32px}
body.ljhbe-theme .ljhbe-journal-hero p:not(.ljhbe-eyebrow){font-size:clamp(14px,1.4vw,18px);line-height:1.7;max-width:700px;margin:0;color:#666}
body.ljhbe-theme .ljhbe-journal-hero--archive{padding-top:clamp(76px,9vw,128px);padding-bottom:clamp(60px,7vw,105px)}
body.ljhbe-theme .ljhbe-journal-hero--archive h1{font-size:clamp(58px,11vw,142px);margin-bottom:22px}
body.ljhbe-theme .ljhbe-archive-intro{max-width:690px;color:#666;font-size:14px;line-height:1.8}
body.ljhbe-theme .ljhbe-journal-section{padding:40px var(--ljhbe-content-inset) 110px;max-width:calc(var(--ljhbe-content-width) + (2 * var(--ljhbe-content-inset)));margin:0 auto}
body.ljhbe-theme .ljhbe-journal-toolbar{display:flex;justify-content:space-between;gap:16px;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #e5e5e5;color:#666;font-size:10px;letter-spacing:.12em;font-weight:600}
body.ljhbe-theme .ljhbe-journal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(25px,3.2vw,50px) clamp(9px,1.25vw,22px);min-width:0}
body.ljhbe-theme .ljhbe-journal-card{display:flex;flex-direction:column;min-width:0}
body.ljhbe-theme .ljhbe-journal-card__image{display:block;aspect-ratio:4/5;overflow:hidden;background:#e7e6e3}
body.ljhbe-theme .ljhbe-journal-card__image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
body.ljhbe-theme .ljhbe-journal-card:hover .ljhbe-journal-card__image img{transform:scale(1.025)}
body.ljhbe-theme .ljhbe-journal-card__fallback{height:100%;display:flex;align-items:center;padding:9%;background:linear-gradient(140deg,#cec4b9,#e6e4df 65%,#bba68e);color:#45413c;font:800 clamp(38px,5vw,75px)/.89 var(--ljhbe-display);letter-spacing:-.018em}
body.ljhbe-theme .ljhbe-journal-card__body{display:flex;flex:1;flex-direction:column;padding:17px 4px 0}
body.ljhbe-theme .ljhbe-journal-card__meta{display:flex;flex-wrap:wrap;gap:9px;color:#777;font-size:10px;letter-spacing:.08em;text-transform:uppercase;line-height:1.5;margin:0 0 13px}
body.ljhbe-theme .ljhbe-journal-card__title{font:700 clamp(26px,2.7vw,40px)/1.02 var(--ljhbe-display);text-transform:uppercase;letter-spacing:.003em;margin:0 0 12px}
body.ljhbe-theme .ljhbe-journal-card__title a:hover{color:#735a40}
body.ljhbe-theme .ljhbe-journal-card__excerpt{font:400 13px/1.8 var(--ljhbe-body);margin:0 0 18px;color:#686868;max-width:45ch}
body.ljhbe-theme .ljhbe-journal-card .ljhbe-editorial-link{margin-top:auto}
body.ljhbe-theme .ljhbe-pagination{display:flex;justify-content:center;gap:8px;align-items:center;flex-wrap:wrap;margin:75px auto 0;font-size:12px}
body.ljhbe-theme .ljhbe-pagination .page-numbers{display:inline-grid;place-items:center;min-width:37px;min-height:37px;padding:7px;color:#222;border:1px solid #e4e2df}
body.ljhbe-theme .ljhbe-pagination .page-numbers.current{background:#161616;color:#fff;border-color:#161616}
body.ljhbe-theme .ljhbe-pagination a:hover{border-color:var(--ljhbe-accent,#b69a77);background:#f5f3ef}
body.ljhbe-theme .ljhbe-empty-state{text-align:center;padding:75px 20px 120px;max-width:720px;margin:auto}
body.ljhbe-theme .ljhbe-empty-state h2{font:800 clamp(44px,7vw,86px)/.94 var(--ljhbe-display);margin:0 0 20px}
body.ljhbe-theme .ljhbe-empty-state>p:not(.ljhbe-eyebrow){font-size:14px;line-height:1.8;color:#696969;margin:0 auto 24px;max-width:530px}
/* Single article */
body.ljhbe-theme .ljhbe-article__header{max-width:var(--ljhbe-content-width);padding:clamp(50px,8vw,120px) var(--ljhbe-content-inset) 56px;margin:0 auto}
body.ljhbe-theme .ljhbe-article__header h1{font:800 clamp(55px,8.2vw,132px)/.88 var(--ljhbe-display);text-transform:uppercase;letter-spacing:-.025em;margin:0 0 24px;max-width:1200px;overflow-wrap:anywhere}
body.ljhbe-theme .ljhbe-article__lede{font-size:clamp(16px,2vw,23px);line-height:1.65;color:#545454;max-width:840px;margin:0 0 30px}
body.ljhbe-theme .ljhbe-article__byline{display:flex;flex-wrap:wrap;gap:14px 25px;padding-top:18px;border-top:1px solid #e2e2e2;font:600 10px/1.5 var(--ljhbe-body);letter-spacing:.08em;text-transform:uppercase;color:#666}
body.ljhbe-theme .ljhbe-article__cover{margin:0 auto 0;max-width:var(--ljhbe-content-width);background:#f0f0f0}
body.ljhbe-theme .ljhbe-article__cover img{width:100%;height:auto;display:block;max-height:760px;object-fit:cover}
body.ljhbe-theme .ljhbe-article__cover figcaption{text-align:right;padding:10px var(--ljhbe-content-inset);font-size:10px;color:#777}
body.ljhbe-theme .ljhbe-article__content{max-width:var(--ljhbe-article-width);margin:clamp(40px,6vw,85px) auto 65px;padding:0 var(--ljhbe-content-inset)}
/* Rich Gutenberg text: do not apply the homepage's image-crop resets to page content. */
body.ljhbe-theme .ljhbe-richtext{font:400 clamp(14px,1.12vw,16px)/1.95 var(--ljhbe-body);overflow-wrap:anywhere}
body.ljhbe-theme .ljhbe-richtext> :first-child{margin-top:0}
body.ljhbe-theme .ljhbe-richtext p{margin:0 0 1.65em;line-height:inherit}
body.ljhbe-theme .ljhbe-richtext h2{font:750 clamp(33px,4vw,50px)/1.05 var(--ljhbe-display);text-transform:uppercase;letter-spacing:0;margin:1.65em 0 .6em}
body.ljhbe-theme .ljhbe-richtext h3{font:700 clamp(24px,3vw,34px)/1.15 var(--ljhbe-display);text-transform:uppercase;margin:1.5em 0 .55em}
body.ljhbe-theme .ljhbe-richtext h4{font-size:16px;font-weight:700;margin:1.4em 0 .7em}
body.ljhbe-theme .ljhbe-richtext a:not(.wp-block-button__link){color:#765a3e;text-decoration:underline;text-underline-offset:3px}
body.ljhbe-theme .ljhbe-richtext ul,body.ljhbe-theme .ljhbe-richtext ol{padding-left:1.35em;margin:0 0 1.7em}
body.ljhbe-theme .ljhbe-richtext li{padding-left:4px;margin:0 0 .45em}
body.ljhbe-theme .ljhbe-richtext blockquote,body.ljhbe-theme .ljhbe-richtext .wp-block-quote{border-left:3px solid var(--ljhbe-accent,#b69a77);padding:15px 0 15px 26px;margin:37px 0;font:600 clamp(20px,3vw,30px)/1.45 var(--ljhbe-display)}
body.ljhbe-theme .ljhbe-richtext pre{padding:24px;background:#222;color:#fff;overflow-x:auto;white-space:pre;font-size:12px}
body.ljhbe-theme .ljhbe-richtext code{overflow-wrap:anywhere}
body.ljhbe-theme .ljhbe-richtext table{width:100%;border-collapse:collapse;font-size:13px;display:block;overflow-x:auto}
body.ljhbe-theme .ljhbe-richtext th,body.ljhbe-theme .ljhbe-richtext td{padding:12px;border:1px solid #ddd;text-align:left}
body.ljhbe-theme .ljhbe-richtext img,body.ljhbe-theme .ljhbe-richtext .wp-block-image img,body.ljhbe-theme .ljhbe-richtext .wp-block-cover img{max-width:100%;height:auto}
body.ljhbe-theme .ljhbe-richtext .wp-block-image{max-width:100%;margin:25px 0}
body.ljhbe-theme .ljhbe-richtext figcaption{font-size:11px;line-height:1.6;color:#777;margin:10px 0}
body.ljhbe-theme .ljhbe-richtext .alignwide{width:min(1200px,calc(100vw - 2 * var(--ljhbe-content-inset)));max-width:none;position:relative;left:50%;transform:translateX(-50%)}
body.ljhbe-theme .ljhbe-richtext .alignfull{width:100vw;max-width:none;position:relative;left:50%;transform:translateX(-50%)}
body.ljhbe-theme .ljhbe-richtext .wp-block-button__link{border-radius:0;background:#191919;color:#fff;padding:13px 23px;font-size:12px;font-weight:600}
body.ljhbe-theme .ljhbe-richtext .wp-block-columns{gap:25px}
body.ljhbe-theme .ljhbe-richtext .wp-block-gallery{display:flex;flex-wrap:wrap;gap:8px}
body.ljhbe-theme .ljhbe-richtext iframe,body.ljhbe-theme .ljhbe-richtext video{max-width:100%}
body.ljhbe-theme .ljhbe-page-links{margin:25px 0}
body.ljhbe-theme .ljhbe-article__footer{max-width:var(--ljhbe-article-width);padding:0 var(--ljhbe-content-inset);margin:0 auto 80px}
body.ljhbe-theme .ljhbe-article__tags{display:flex;gap:12px;flex-wrap:wrap;align-items:center;font-size:10px;font-weight:600;letter-spacing:.05em;margin-bottom:40px}
body.ljhbe-theme .ljhbe-article__tags a{padding:5px 10px;background:#f0eeea}
body.ljhbe-theme .ljhbe-article__nextprev{border-top:1px solid #ddd;border-bottom:1px solid #ddd;padding:22px 0;display:grid;grid-template-columns:1fr 1fr;gap:28px;font:650 14px/1.4 var(--ljhbe-body)}
body.ljhbe-theme .ljhbe-article__nextprev>div:last-child{text-align:right}
body.ljhbe-theme .ljhbe-article__nextprev a:hover{text-decoration:underline;text-underline-offset:3px}
body.ljhbe-theme .ljhbe-article-related{padding:68px var(--ljhbe-content-inset) 110px;background:#f6f5f2}
body.ljhbe-theme .ljhbe-article-related__heading{max-width:var(--ljhbe-content-width);margin:0 auto 30px;display:flex;justify-content:space-between;align-items:end;gap:20px}
body.ljhbe-theme .ljhbe-article-related__heading h2{font:750 clamp(38px,6vw,78px)/.9 var(--ljhbe-display);margin:0}
body.ljhbe-theme .ljhbe-article-related>.ljhbe-journal-grid{max-width:var(--ljhbe-content-width);margin:0 auto}
/* Pages: shop utility pages remain wide for native Woo blocks */
body.ljhbe-theme .ljhbe-standard-page__heading{padding:clamp(48px,6vw,95px) var(--ljhbe-content-inset) 46px;border-bottom:1px solid #eee;max-width:var(--ljhbe-content-width);margin:auto}
body.ljhbe-theme .ljhbe-standard-page__heading h1{font:800 clamp(54px,9.2vw,128px)/.9 var(--ljhbe-display);text-transform:uppercase;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}
body.ljhbe-theme .ljhbe-standard-page__lede{font-size:clamp(14px,1.7vw,19px);line-height:1.7;color:#666;max-width:780px;margin:25px 0 0}
body.ljhbe-theme .ljhbe-standard-page__content{max-width:1050px;margin:0 auto;padding:clamp(36px,5.2vw,80px) var(--ljhbe-content-inset) 105px}
body.ljhbe-theme .ljhbe-standard-page--commerce .ljhbe-standard-page__content{max-width:var(--ljhbe-content-width)}
body.ljhbe-theme .ljhbe-standard-page__content .woocommerce{max-width:100%;width:100%}
body.ljhbe-theme .ljhbe-standard-page__content .woocommerce :is(input,textarea,select){max-width:100%}
/* Search and 404 */
body.ljhbe-theme .ljhbe-journal-search{max-width:640px;margin:35px 0 0}
body.ljhbe-theme .ljhbe-journal-search label{display:block;margin:0 0 10px;font-size:10px;font-weight:600;letter-spacing:.1em}
body.ljhbe-theme .ljhbe-journal-search>div{display:flex;border-bottom:1px solid #333;align-items:center;gap:12px}
body.ljhbe-theme .ljhbe-journal-search input{background:transparent;border:0;border-radius:0;outline:0;flex:1;min-width:0;padding:13px 0;color:#111}
body.ljhbe-theme .ljhbe-journal-search button{background:#161616;color:#fff;border:0;padding:12px 21px;cursor:pointer;font-size:11px;white-space:nowrap}
body.ljhbe-theme .ljhbe-search-page .ljhbe-catalog-grid{padding:0}
body.ljhbe-theme .ljhbe-not-found{min-height:70svh;display:grid;place-items:center;background:#f4f1ec;padding:75px var(--ljhbe-content-inset) 120px}
body.ljhbe-theme .ljhbe-not-found__inner{width:100%;max-width:900px}
body.ljhbe-theme .ljhbe-not-found h1{font:800 clamp(66px,14vw,166px)/.85 var(--ljhbe-display);letter-spacing:-.018em;margin:0 0 28px}
body.ljhbe-theme .ljhbe-not-found__inner>p:not(.ljhbe-eyebrow){max-width:630px;color:#666;font-size:15px;line-height:1.8}
body.ljhbe-theme .ljhbe-not-found__actions{display:flex;gap:25px;flex-wrap:wrap;margin:30px 0 65px;font-size:11px;font-weight:650}
body.ljhbe-theme .ljhbe-not-found__actions a{border-bottom:1px solid #222;padding-bottom:9px}
/* Comments use standard WP form/markup, but editorial spacing. */
body.ljhbe-theme .ljhbe-comments{max-width:var(--ljhbe-article-width);padding:0 var(--ljhbe-content-inset) 100px;margin:auto}
body.ljhbe-theme .ljhbe-comment-section{border-top:1px solid #ddd;padding-top:32px}
body.ljhbe-theme .ljhbe-comment-section h2,body.ljhbe-theme .ljhbe-comment-section h3{font:700 31px var(--ljhbe-display)}
body.ljhbe-theme .ljhbe-comment-list{padding-left:20px}
body.ljhbe-theme .ljhbe-comment-list li{margin:20px 0}
body.ljhbe-theme .ljhbe-comment-section input:not([type=submit]),body.ljhbe-theme .ljhbe-comment-section textarea{display:block;max-width:100%;width:100%;padding:12px;border:1px solid #ccc}
body.ljhbe-theme .ljhbe-comment-section input[type=submit]{background:#171717;color:#fff;padding:12px 20px;border:0;cursor:pointer}
body.ljhbe-theme a:focus-visible,body.ljhbe-theme button:focus-visible,body.ljhbe-theme input:focus-visible,body.ljhbe-theme summary:focus-visible{outline:2px solid var(--ljhbe-accent,#b69a77);outline-offset:4px}
/* Correct v0.3 rail grid target: rendered shortcode HTML is a direct child, not always a block wrapper. */
@media(min-width:701px){body.ljhbe-theme .ljhbe-home .ljhbe-products{display:grid!important;grid-template-columns:minmax(165px,19%) minmax(0,1fr)!important;align-items:start;width:100%;max-width:none}body.ljhbe-theme .ljhbe-home .ljhbe-products>.ljhbe-products__intro{grid-column:1!important;grid-row:1!important;min-width:0}body.ljhbe-theme .ljhbe-home .ljhbe-products>.ljhbe-rail-container,body.ljhbe-theme .ljhbe-home .ljhbe-products>.wp-block-shortcode{grid-column:2!important;grid-row:1!important;min-width:0!important;width:100%!important;max-width:100%!important;display:block!important;overflow:hidden}body.ljhbe-theme .ljhbe-home .ljhbe-products .ljhbe-rail{display:flex;width:100%;min-width:0;overflow-x:auto}body.ljhbe-theme .ljhbe-home .ljhbe-products .ljhbe-rail>.ljhbe-card{flex:0 0 clamp(215px,32.6%,520px)}}
@media(max-width:1024px){body.ljhbe-theme .ljhbe-journal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.ljhbe-theme .ljhbe-journal-hero h1{font-size:clamp(65px,13vw,120px)}}
@media(max-width:700px){body.ljhbe-theme .ljhbe-journal-hero{padding:72px 18px 65px}body.ljhbe-theme .ljhbe-journal-hero h1{font-size:clamp(60px,18vw,90px);margin-bottom:19px}body.ljhbe-theme .ljhbe-journal-section{padding:30px 14px 65px}body.ljhbe-theme .ljhbe-journal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 9px}body.ljhbe-theme .ljhbe-journal-card__body{padding:12px 1px 0}body.ljhbe-theme .ljhbe-journal-card__meta{font-size:8px;gap:5px;margin-bottom:7px}body.ljhbe-theme .ljhbe-journal-card__title{font-size:clamp(21px,6vw,32px)}body.ljhbe-theme .ljhbe-journal-card__excerpt{font-size:11px;line-height:1.6;margin-bottom:14px}body.ljhbe-theme .ljhbe-editorial-link{font-size:9px}body.ljhbe-theme .ljhbe-article__header{padding:55px 18px 30px}body.ljhbe-theme .ljhbe-article__header h1{font-size:clamp(54px,12vw,78px)}body.ljhbe-theme .ljhbe-article__lede{font-size:16px}body.ljhbe-theme .ljhbe-article__content{padding:0 19px;margin:39px auto 45px}body.ljhbe-theme .ljhbe-article__cover img{max-height:none}body.ljhbe-theme .ljhbe-article__footer{padding:0 19px}body.ljhbe-theme .ljhbe-article-related{padding:50px 14px}body.ljhbe-theme .ljhbe-article-related__heading h2{font-size:46px}body.ljhbe-theme .ljhbe-standard-page__heading{padding:44px 18px 35px}body.ljhbe-theme .ljhbe-standard-page__heading h1{font-size:clamp(55px,13vw,80px)}body.ljhbe-theme .ljhbe-standard-page__content{padding:34px 18px 65px}body.ljhbe-theme .ljhbe-not-found{padding:70px 20px}body.ljhbe-theme .ljhbe-not-found h1{font-size:75px}}
@media(max-width:440px){body.ljhbe-theme .ljhbe-journal-grid{grid-template-columns:1fr;gap:36px}body.ljhbe-theme .ljhbe-journal-card__image{aspect-ratio:4/4.4}body.ljhbe-theme .ljhbe-journal-card__title{font-size:32px}body.ljhbe-theme .ljhbe-journal-card__excerpt{font-size:13px}body.ljhbe-theme .ljhbe-article__nextprev{grid-template-columns:1fr}body.ljhbe-theme .ljhbe-article__nextprev>div:last-child{text-align:left}body.ljhbe-theme .ljhbe-journal-hero h1{font-size:62px}}
@media(prefers-reduced-motion:reduce){body.ljhbe-theme .ljhbe-journal-card__image img,body.ljhbe-theme .ljhbe-editorial-link{transition:none}}

/* WP pagination generated as a list: only style anchors/current spans, not the <ul>. */
body.ljhbe-theme .ljhbe-pagination ul.page-numbers{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;align-items:center;list-style:none;margin:0;padding:0;border:0}
body.ljhbe-theme .ljhbe-pagination ul.page-numbers>li{list-style:none;margin:0;padding:0}
body.ljhbe-theme .ljhbe-pagination ul.page-numbers>li>.page-numbers{display:inline-grid;place-items:center;min-width:37px;min-height:37px;border:1px solid #e4e2df}
/* Narrow phones: related-article heading and "all articles" link must wrap rather than overflow. */
@media(max-width:700px){body.ljhbe-theme .ljhbe-article-related__heading{display:flex;align-items:flex-start;flex-direction:column;gap:19px}body.ljhbe-theme .ljhbe-article-related__heading h2{max-width:100%;overflow-wrap:anywhere}}

/* Custom logo remains visible when header turns white on subpages. */
body.ljhbe-theme:not(.home) .ljhbe-header .custom-logo{filter:brightness(0)}
body.ljhbe-theme .ljhbe-drawer__secondary .menu-item{list-style:none;margin:0;padding:0}
body.ljhbe-theme .ljhbe-drawer__secondary .menu-item a{display:block}

body.ljhbe-theme .ljhbe-drawer__secondary-list{display:flex;flex-direction:column;gap:16px;padding:0;margin:0;list-style:none}
