/* Concept B: one native paginated query; page one's first card becomes the lead. */
body.category:has(.hmj-category-archive){background:#fff;}
body.category:has(.hmj-category-archive) #content>.ast-container{max-width:none;width:100%;padding:0;}
body.category:has(.hmj-category-archive) #primary{width:100%;margin:0;padding:0;}
body.category:has(.hmj-category-archive) .elementor-location-archive{padding:0;}
/* Give the explicitly unpublished geometry specimen the same outer dimensions. */
body:has(.hmj-category-preview) #content>.ast-container{max-width:none;width:100%;padding:0;}
body:has(.hmj-category-preview) #primary{width:100%;margin:0;padding:0;}
body:has(.hmj-category-preview) .ast-article-single{padding:0;}
.hmj-category-archive.hmj-category-archive{--hmj-cat-h1:48px;--hmj-cat-feature:36px;--hmj-cat-title:24px;--hmj-cat-body:18px;--hmj-cat-gap:40px;--hmj-cat-space:64px;display:block;width:100%;padding:48px 48px 64px;background:#fff;color:var(--hmj-charcoal);font:500 var(--hmj-cat-body)/1.8 var(--hmj-font-body);}
.hmj-category-archive .hmj-category-inner{display:block;width:100%;max-width:1280px;margin:auto;padding:0;}
.hmj-category-archive .elementor-widget{margin:0;}
.hmj-category-archive .hmj-category-header{display:block;padding:0;margin:0 0 var(--hmj-cat-space);}
.hmj-category-archive :is(.rank-math-breadcrumb,.hmj-category-breadcrumb){font:500 14px/1.7 var(--hmj-font-body);margin:0 0 20px;}
.hmj-category-archive :is(.rank-math-breadcrumb,.hmj-category-breadcrumb) a{color:var(--hmj-charcoal);text-decoration:none;}
.hmj-category-archive .hmj-category-heading h1{font:800 var(--hmj-cat-h1)/1.2 var(--hmj-font-heading);letter-spacing:-.025em;color:var(--hmj-charcoal);margin:0 0 20px;overflow-wrap:anywhere;}
.hmj-category-archive .hmj-category-heading h1:after{content:'';display:block;width:64px;height:3px;background:var(--hmj-berry);margin-top:18px;}
.hmj-category-archive .hmj-category-description{max-width:980px;font-size:var(--hmj-cat-body);line-height:1.8;}
.hmj-category-archive .hmj-category-description p{margin:0;}
.hmj-category-archive .hmj-category-description:not(:has(:not(:empty))):empty{display:none;}
.hmj-category-archive .hmj-category-listing .elementor-loop-container{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hmj-cat-gap);align-items:start;}
.hmj-category-archive .hmj-category-listing .e-loop-item{min-width:0;margin:0;}
.hmj-category-archive .hmj-category-card{display:flex;flex-direction:column;gap:24px;width:100%;height:auto;padding:0;background:transparent;border:0;box-shadow:none;text-decoration:none;color:var(--hmj-charcoal);}
.hmj-category-archive .hmj-category-image{width:100%;margin:0;}
.hmj-category-archive .hmj-category-image:not(:has(img)){display:none;}
.hmj-category-archive .hmj-category-image img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:8px;}
.hmj-category-archive .hmj-category-card-text{display:flex;flex-direction:column;gap:16px;padding:0;min-width:0;}
.hmj-category-archive .hmj-category-card-title h2{font:700 var(--hmj-cat-title)/1.25 var(--hmj-font-heading);letter-spacing:-.015em;color:var(--hmj-charcoal);margin:0;overflow-wrap:anywhere;text-wrap:wrap;}
.hmj-category-archive .hmj-category-excerpt{font:500 var(--hmj-cat-body)/1.7 var(--hmj-font-body);}
.hmj-category-archive .hmj-category-excerpt p{margin:0;}
.hmj-category-archive .hmj-category-meta{font:500 14px/1.7 var(--hmj-font-body);margin:0;color:var(--hmj-charcoal);}
.hmj-category-archive .hmj-category-meta span{padding:0 6px;}
.hmj-category-archive .hmj-category-read-more{font:700 16px/1.5 var(--hmj-font-body);color:var(--hmj-berry);margin:0;}
.hmj-category-archive a:focus-visible{outline:3px solid var(--hmj-berry);outline-offset:5px;}
.hmj-category-archive .hmj-category-card:hover .hmj-category-card-title h2{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;}
body:not(.paged) .hmj-category-archive:not(.hmj-category-next) .hmj-category-listing .e-loop-item:first-of-type{grid-column:1/-1;border-bottom:1px solid #dce2d9;padding-bottom:40px;margin-bottom:24px;}
body:not(.paged) .hmj-category-archive:not(.hmj-category-next) .hmj-category-listing .e-loop-item:first-of-type .hmj-category-card{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:var(--hmj-cat-gap);align-items:center;}
body:not(.paged) .hmj-category-archive:not(.hmj-category-next) .hmj-category-listing .e-loop-item:first-of-type .hmj-category-card-title h2{font-size:var(--hmj-cat-feature);}
body:not(.paged) .hmj-category-archive:not(.hmj-category-next) .hmj-category-listing .e-loop-item:first-of-type .hmj-category-card:not(:has(img)){grid-template-columns:1fr;max-width:900px;}
.hmj-category-archive .elementor-pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;margin-top:var(--hmj-cat-space);font:600 16px/1 var(--hmj-font-body);}
.hmj-category-archive .elementor-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px;border:1px solid #a5b090;border-radius:50%;color:var(--hmj-charcoal);text-decoration:none;margin:0;}
.hmj-category-archive .elementor-pagination .current{color:#fff;background:var(--hmj-berry);border-color:var(--hmj-berry);}
.hmj-category-archive .elementor-pagination .dots{border:0;}
.hmj-category-archive :is(.elementor-posts-nothing-found,.e-loop-nothing-found-message__text){font-size:var(--hmj-cat-body);line-height:1.8;}
.hmj-category-archive .hmj-category-ad{display:none;}
@media(max-width:1024px){.hmj-category-archive.hmj-category-archive{--hmj-cat-h1:36px;--hmj-cat-feature:28px;--hmj-cat-title:22px;--hmj-cat-body:17px;--hmj-cat-gap:32px;--hmj-cat-space:48px;padding:32px 32px 48px;}.hmj-category-archive .hmj-category-listing .elementor-loop-container{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:767px){.hmj-category-archive.hmj-category-archive{--hmj-cat-h1:28px;--hmj-cat-feature:24px;--hmj-cat-title:20px;--hmj-cat-body:17px;--hmj-cat-gap:28px;--hmj-cat-space:40px;padding:24px 24px 40px;}.hmj-category-archive .hmj-category-listing .elementor-loop-container{grid-template-columns:minmax(0,1fr);}.hmj-category-archive .hmj-category-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:20px;align-items:start;}.hmj-category-archive .hmj-category-image img{aspect-ratio:4/3;}.hmj-category-archive .hmj-category-card-text{gap:12px;}.hmj-category-archive .hmj-category-excerpt,.hmj-category-archive .hmj-category-read-more{display:none;}body:not(.paged) .hmj-category-archive:not(.hmj-category-next) .hmj-category-listing .e-loop-item:first-of-type .hmj-category-card{grid-template-columns:1fr;gap:24px;}body:not(.paged) .hmj-category-archive:not(.hmj-category-next) .hmj-category-listing .e-loop-item:first-of-type .hmj-category-excerpt,body:not(.paged) .hmj-category-archive:not(.hmj-category-next) .hmj-category-listing .e-loop-item:first-of-type .hmj-category-read-more{display:block;}body:not(.paged) .hmj-category-archive:not(.hmj-category-next) .hmj-category-listing .e-loop-item:first-of-type .hmj-category-image img{aspect-ratio:16/10;}.hmj-category-archive .hmj-category-card:not(:has(img)){grid-template-columns:1fr;}.hmj-category-archive .hmj-category-meta{font-size:13px;}}
@media(max-width:359px){.hmj-category-archive .hmj-category-card{grid-template-columns:1fr;gap:20px;}.hmj-category-archive .hmj-category-image img{aspect-ratio:16/9;}.hmj-category-archive .elementor-pagination{gap:10px;}}
