/* HM-03. Scoped to the editable Explore by Topic section. */
.elementor .hmj-topics {--hmj-blush:#FBE8E5;padding:4px 24px 36px;background:var(--hmj-ivory);gap:0}
.elementor .hmj-topics > .e-con-inner {display:flex;flex-direction:column;gap:0;max-width:1320px;width:100%;padding:0}
.hmj-topics .elementor-widget {margin:0}
.hmj-topics .hmj-topics-heading {width:100%;margin:0 0 22px;text-align:center}
.hmj-topics .hmj-topics-heading h2 {display:flex;align-items:center;justify-content:center;gap:24px;margin:0;font:700 34px/1.2 var(--hmj-font-heading);color:var(--hmj-charcoal)}
.hmj-topics-heading h2::before,.hmj-topics-heading h2::after {content:'';height:1px;max-width:220px;flex:1;background:#E9C2C9}
.elementor .hmj-topics .hmj-topics-grid {display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;width:100%;padding:0;margin:0}
.elementor .hmj-topics a.hmj-topic-item {display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;min-width:0;padding:8px 4px;border-radius:8px;color:var(--hmj-charcoal);text-decoration:none;transition:background-color .15s ease}
.hmj-topics .hmj-topic-icon {display:flex;justify-content:center;align-items:center;width:68px;height:68px;flex:0 0 68px;border-radius:50%;background:var(--hmj-blush);color:var(--hmj-berry)}
.hmj-topic-icon .elementor-widget-container {display:flex;align-items:center;justify-content:center}
.hmj-topics .hmj-topic-icon svg {display:block;width:38px;height:38px;fill:none;stroke:currentColor}
.hmj-topics .hmj-topic-label {width:100%;text-align:center}
.hmj-topics .hmj-topic-label p {font:600 18px/1.25 var(--hmj-font-heading);margin:0;color:inherit;overflow-wrap:normal}
.hmj-topics a.hmj-topic-item:hover {background:#FFF8F3;color:var(--hmj-berry)}
body .hmj-topics a.hmj-topic-item:focus-visible {outline:3px solid var(--hmj-berry);outline-offset:3px;background:#FFF8F3}
@media(max-width:1100px){
 .elementor .hmj-topics .hmj-topics-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 16px}
 .hmj-topics .hmj-topic-icon {width:62px;height:62px;flex-basis:62px}
 .hmj-topics .hmj-topic-label p {font-size:17px}
}
@media(max-width:767px){
 .elementor .hmj-topics {padding:0 16px 28px}
 .hmj-topics .hmj-topics-heading {margin-bottom:14px}
 .hmj-topics .hmj-topics-heading h2 {font-size:27px;gap:12px}
 .elementor .hmj-topics .hmj-topics-grid {gap:12px 2px}
 .elementor .hmj-topics a.hmj-topic-item {padding:6px 0;gap:7px}
 .hmj-topics .hmj-topic-icon {width:54px;height:54px;flex-basis:54px}
 .hmj-topics .hmj-topic-icon svg {width:32px;height:32px}
 .hmj-topics .hmj-topic-label p {font-size:15px;line-height:1.25}
}
@media(max-width:389px){
 .elementor .hmj-topics .hmj-topics-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .hmj-topics .hmj-topic-label p {font-size:17px}
}
@media(prefers-reduced-motion:reduce){.hmj-topics a.hmj-topic-item {transition:none}}

