/* Editorial article system. Native WordPress blocks remain portable. */
body.single-post:has(.hmj-single){background:#fff;}
/* Release Astra's narrow post wrapper only for this Theme Builder layout. */
body:has(.elementor-location-single .hmj-single) #content>.ast-container{max-width:none;width:100%;padding:0;}
body:has(.elementor-location-single .hmj-single) #primary{width:100%;margin:0;padding:0;}
body:has(.elementor-location-single .hmj-single) .elementor-location-single.ast-article-single{padding:0;background:#fff;}
.hmj-single.hmj-single{display:block;width:100%;padding:40px 32px 80px;background:#fff;color:var(--hmj-charcoal);}
.hmj-single .hmj-single-layout{display:grid;grid-template-columns:minmax(0,860px) minmax(0,340px);column-gap:80px;max-width:1280px;margin:auto;padding:0;align-items:start;}
.hmj-single .hmj-article-primary{display:block;min-width:0;padding:0;}
.hmj-single .elementor-widget{margin:0;}
.hmj-single .hmj-breadcrumb-widget{margin-bottom:28px;}
.hmj-breadcrumbs,.hmj-single .rank-math-breadcrumb{font-size:14px;line-height:1.6;margin:0;}
.hmj-breadcrumbs span{padding:0 8px;}
.hmj-single .hmj-primary-category{display:inline-block;color:var(--hmj-berry);font:700 15px/1.4 var(--hmj-font-body);letter-spacing:.07em;text-transform:uppercase;text-decoration:none;margin-bottom:22px;}
.hmj-single .hmj-primary-category:after{content:'';display:block;background:var(--hmj-berry);width:40px;height:2px;margin-top:12px;}
.hmj-single .hmj-article-title h1{font:800 52px/1.13 var(--hmj-font-heading);color:var(--hmj-charcoal);letter-spacing:-.025em;margin:0 0 20px;text-wrap:balance;overflow-wrap:anywhere;}
.hmj-single .hmj-article-subtitle{font:500 21px/1.65 var(--hmj-font-body);max-width:800px;margin:0 0 24px;}
.hmj-single .hmj-article-byline{display:flex;align-items:center;gap:14px;margin:24px 0 28px;}
.hmj-single .hmj-author-photo{width:48px;height:48px;object-fit:cover;border-radius:50%;flex-shrink:0;}
.hmj-single .hmj-byline-name,.hmj-single .hmj-byline-details{font:500 15px/1.6 var(--hmj-font-body);margin:0;}
.hmj-single .hmj-byline-name a{font-weight:700;}
.hmj-single .hmj-byline-details span{padding:0 6px;}
.hmj-single .hmj-review-note{font:500 14px/1.7 var(--hmj-font-body);margin:0 0 24px;border-left:2px solid var(--hmj-teal);padding-left:14px;}
.hmj-single .hmj-article-featured{margin:0 0 36px;}
.hmj-single .hmj-article-featured:not(:has(img)){display:none;}
.hmj-single .hmj-article-featured img{display:block;width:100%;height:auto;max-height:580px;object-fit:cover;object-position:center;border-radius:8px;}
.hmj-single .hmj-article-content{max-width:760px;margin-right:auto;font:500 19px/1.85 var(--hmj-font-body);}
.hmj-single .hmj-article-content p{font:inherit;line-height:inherit;margin:0 0 24px;}
.hmj-single .hmj-article-content :is(h2,h3,h4){font-family:var(--hmj-font-heading);font-weight:700;color:var(--hmj-charcoal);line-height:1.25;scroll-margin-top:24px;}
.hmj-single .hmj-article-content h2{font-size:32px;margin:52px 0 24px;}
.hmj-single .hmj-article-content h3{font-size:25px;margin:40px 0 20px;}
.hmj-single .hmj-article-content h4{font-size:22px;margin:32px 0 16px;}
.hmj-single .hmj-article-content :is(ul,ol){padding-left:1.4em;margin:0 0 24px;}
.hmj-single .hmj-article-content li{padding-left:4px;margin-bottom:10px;}
.hmj-single .hmj-article-content li::marker{color:var(--hmj-berry);}
.hmj-single a{color:var(--hmj-berry);text-underline-offset:3px;}
.hmj-single a:focus-visible,.hmj-single [tabindex]:focus-visible{outline:3px solid var(--hmj-berry);outline-offset:4px;}
.hmj-single .hmj-article-content blockquote{margin:32px 0;padding:20px 26px;border:0;border-left:3px solid var(--hmj-berry);background:#fcf5f5;border-radius:6px;font:italic 600 23px/1.65 var(--hmj-font-heading);}
.hmj-single .hmj-article-content blockquote p{margin:0;}
.hmj-single .hmj-key-takeaways{padding:24px;background:#f2f7f4;border-left:3px solid var(--hmj-teal);margin:32px 0;border-radius:6px;}
.hmj-single .hmj-key-takeaways :first-child{margin-top:0;}
.hmj-single .hmj-article-content figure{margin:32px 0;max-width:100%;}
.hmj-single .hmj-article-content img{max-width:100%;height:auto;border-radius:6px;}
.hmj-single .hmj-article-content figcaption{font:500 14px/1.6 var(--hmj-font-body);margin-top:10px;color:var(--hmj-charcoal);}
.hmj-single .hmj-article-content .wp-block-table,.hmj-single .hmj-table-scroll{max-width:100%;overflow-x:auto;}
.hmj-single .hmj-article-content table{width:100%;min-width:560px;border-collapse:collapse;font-size:17px;line-height:1.65;margin:0;}
.hmj-single .hmj-article-content :is(td,th){padding:12px 16px;border:1px solid #d7dfd8;text-align:left;vertical-align:top;}
.hmj-single .hmj-article-content th{background:#f3f7ed;font-weight:700;}
.hmj-single .hmj-article-content .has-drop-cap:first-letter{font:700 4.1em/.9 var(--hmj-font-heading);color:var(--hmj-berry);margin:.04em .1em 0 0;float:left;}
.hmj-single .hmj-editorial-note,.hmj-single .hmj-author-bio{font:500 17px/1.8 var(--hmj-font-body);max-width:760px;margin-top:52px;padding-top:32px;border-top:1px solid #d7dfd8;}
.hmj-single :is(.hmj-editorial-note,.hmj-author-bio) h2{font:700 25px/1.25 var(--hmj-font-heading);margin:0 0 20px;}
.hmj-single .hmj-disclaimer,.hmj-single .hmj-affiliate{background:#fcf5f5;border:0;padding:24px;border-radius:6px;}
.hmj-single .hmj-references{font-size:15px;overflow-wrap:anywhere;}
.hmj-single .hmj-author-bio .hmj-author-photo{width:72px;height:72px;float:left;margin:0 20px 10px 0;}
.hmj-single .hmj-article-sidebar{display:flex;flex-direction:column;gap:48px;min-width:0;padding:0 0 0 30px;border-left:1px solid #d7dfd8;}
.hmj-single .hmj-sidebar-module{display:block;width:100%;padding:0;margin:0;}
.hmj-single .hmj-sidebar-heading h2{font:700 25px/1.3 var(--hmj-font-heading);color:var(--hmj-charcoal);margin:0 0 22px;}
.hmj-single .hmj-article-toc.hmj-article-toc{border:0;border-radius:0;box-shadow:none;}
.hmj-single .hmj-article-inactive.hmj-article-inactive{display:none;}
.hmj-single .hmj-mobile-toc-slot{display:none;}
.hmj-single .hmj-related:not(:has(.e-loop-item)){display:none;}
.hmj-single .elementor-toc__header{border:0;padding:0 0 20px;background:transparent;}
.hmj-single .elementor-toc__header-title{font:italic 700 25px/1.3 var(--hmj-font-heading);color:var(--hmj-charcoal);}
.hmj-single .elementor-toc__body{padding:0;}
.hmj-single .elementor-toc__container{border:0;box-shadow:none;background:transparent;}
.hmj-single .hmj-article-toc[hidden]{display:none;}
.hmj-single .hmj-mobile-toc-slot:has(>.hmj-article-toc[hidden]){display:none;}
.hmj-single .elementor-toc__list-item{font:500 16px/1.65 var(--hmj-font-body);margin:0 0 14px;}
.hmj-single .elementor-toc__list-wrapper{padding-left:0;}
.hmj-single .hmj-essentials-links ul{list-style:none;padding:0;margin:0;}
.hmj-single .hmj-essentials-links li{margin:0 0 14px;font-size:16px;line-height:1.6;}
.hmj-single .hmj-essentials-links a{text-decoration:none;}
.hmj-single .hmj-essentials-links a:hover{text-decoration:underline;}
.hmj-single .hmj-journal-secondary-card{display:grid;grid-template-columns:100px minmax(0,1fr);gap:16px;align-items:center;text-decoration:none;margin-bottom:24px;}
.hmj-single .hmj-journal-image img{width:100%;height:76px;object-fit:cover;border-radius:6px;}
.hmj-single .hmj-journal-title h3{font:700 19px/1.3 var(--hmj-font-heading);margin:0;color:var(--hmj-charcoal);}
.hmj-single .hmj-journal-category{font-size:11px;line-height:1.5;text-transform:uppercase;}
.hmj-single .hmj-journal-category ul{list-style:none;margin:0;padding:0;}
/* Owner-approved article scale. Fluid desktop transition; exact tablet/mobile sizes. */
.hmj-single{
 --hmj-article-h1:clamp(36px,calc(6.461538px + 2.884615vw),48px);
 --hmj-article-h2:clamp(28px,calc(18.153846px + .961538vw),32px);
 --hmj-article-h3:clamp(23px,calc(18.076923px + .480769vw),25px);
 --hmj-article-h4:clamp(20px,calc(15.076923px + .480769vw),22px);
 --hmj-article-body:clamp(18px,calc(15.538462px + .240385vw),19px);
 --hmj-article-subtitle:clamp(18px,calc(13.076923px + .480769vw),20px);
 --hmj-article-meta:clamp(13px,calc(10.538462px + .240385vw),14px);
 --hmj-article-title-line:1.15;--hmj-article-body-line:1.85;
}
@media(max-width:1300px) and (min-width:1101px){.hmj-single .hmj-single-layout{grid-template-columns:minmax(0,1fr) 280px;column-gap:48px;}.hmj-single .hmj-article-sidebar{padding-left:24px;}}
@media(max-width:1100px){.hmj-single .hmj-single-layout{display:block;}.hmj-single .hmj-article-primary,.hmj-single .hmj-article-sidebar{max-width:860px;margin:auto;}.hmj-single .hmj-mobile-toc-slot:not(:empty){display:block;margin:0 0 40px;padding:24px;background:#fcf2f5;border-radius:8px;}.hmj-single .hmj-article-sidebar{border-left:0;border-top:1px solid #d7dfd8;padding:40px 0 0;margin-top:56px;}}
@media(max-width:767px){.hmj-single.hmj-single{padding:28px 24px 48px;}.hmj-single .hmj-breadcrumb-widget{margin-bottom:24px;}.hmj-single .hmj-article-title h1{font-size:34px;line-height:1.16;margin-bottom:20px;}.hmj-single .hmj-primary-category{font-size:13px;}.hmj-single .hmj-article-subtitle{font-size:18px;line-height:1.7;}.hmj-single .hmj-article-byline{margin:24px 0;}.hmj-single .hmj-byline-details{font-size:14px;}.hmj-single .hmj-article-featured{margin-bottom:28px;}.hmj-single .hmj-article-content{font-size:18px;line-height:1.8;}.hmj-single .hmj-article-content p{margin-bottom:20px;}.hmj-single .hmj-article-content h2{font-size:27px;margin:40px 0 20px;}.hmj-single .hmj-article-content h3{font-size:23px;margin:36px 0 18px;}.hmj-single .hmj-article-content h4{font-size:20px;}.hmj-single .hmj-article-content blockquote{font-size:21px;padding:20px;}.hmj-single .hmj-mobile-toc-slot:not(:empty){padding:22px 20px;margin-bottom:36px;}.hmj-single .hmj-editorial-note,.hmj-single .hmj-author-bio{margin-top:40px;}.hmj-single .hmj-article-content table{font-size:16px;}.hmj-single .hmj-article-content :is(td,th){padding:10px 12px;}}
@media(max-width:359px){.hmj-single.hmj-single{padding-inline:20px;}.hmj-single .hmj-article-title h1{font-size:34px;}.hmj-single .hmj-article-byline{align-items:flex-start;}.hmj-single .hmj-byline-details{max-width:250px;}}
@media(max-width:1024px){.hmj-single{--hmj-article-h1:36px;--hmj-article-h2:28px;--hmj-article-h3:23px;--hmj-article-h4:20px;--hmj-article-body:18px;--hmj-article-subtitle:18px;--hmj-article-meta:13px;--hmj-article-title-line:1.2;--hmj-article-body-line:1.8;}}
@media(max-width:767px){.hmj-single{--hmj-article-h1:28px;--hmj-article-h2:24px;--hmj-article-h3:21px;--hmj-article-h4:19px;--hmj-article-body:17px;--hmj-article-subtitle:16px;--hmj-article-meta:12px;--hmj-article-title-line:1.25;--hmj-article-body-line:1.8;}}
.hmj-single .hmj-article-title h1{font-size:var(--hmj-article-h1);line-height:var(--hmj-article-title-line);text-wrap:wrap;}
.hmj-single .hmj-article-content,.hmj-single .hmj-author-bio,.hmj-single .hmj-disclaimer,.hmj-single .hmj-affiliate{font-size:var(--hmj-article-body);line-height:var(--hmj-article-body-line);}
.hmj-single :is(.hmj-article-content,.hmj-editorial-note,.hmj-author-bio) h2{font-size:var(--hmj-article-h2);}
.hmj-single .hmj-article-content h3{font-size:var(--hmj-article-h3);}
.hmj-single .hmj-article-content h4{font-size:var(--hmj-article-h4);}
.hmj-single .hmj-article-subtitle{font-size:var(--hmj-article-subtitle);}
.hmj-single .hmj-byline-name,.hmj-single .hmj-byline-details,.hmj-single .hmj-review-note{font-size:var(--hmj-article-meta);}
