
.hmg-editorial{--hmg-ink:#25372e;--hmg-border:#e1e5df;--hmg-paper:#f5f6f2;color:var(--hmg-ink)}
.article-template.hmg-editorial{padding-top:clamp(2.4rem,5vw,5.6rem)}
.hmg-editorial .page-width--narrow{max-width:86rem}
.hmg-editorial>header{margin:0 auto 2.4rem}
.hmg-editorial .article-template__title{font-size:clamp(2.8rem,4.2vw,4.8rem);line-height:1.15;letter-spacing:-.025em;max-width:24ch;margin:0 0 1.6rem}
.hmg-editorial .article-template__hero-container{max-width:78rem;margin:0 auto 3.2rem;padding:0 2rem}
.hmg-editorial .article-template__hero-container .media{height:auto;padding-bottom:0!important;aspect-ratio:16/10;background:var(--hmg-paper);border-radius:1.6rem;overflow:hidden}
.hmg-editorial .article-template__hero-container img{object-fit:contain;position:absolute;width:100%;height:100%}
.hmg-editorial .article-template__content{font-size:1.75rem;line-height:1.75;overflow-wrap:anywhere}
.hmg-editorial .article-template__content h2{font-size:clamp(2.2rem,3vw,3rem);line-height:1.25;margin:3.6rem 0 1.4rem;letter-spacing:-.015em;scroll-margin-top:12rem}
.hmg-editorial .article-template__content h3{font-size:2rem;line-height:1.35;margin-top:2.8rem;scroll-margin-top:12rem}
.hmg-editorial .article-template__content p{margin:1.4rem 0}
.hmg-editorial .article-template__content a{color:#245842;text-underline-offset:.25em;text-decoration-thickness:1px}
.hmg-editorial a:focus-visible,.hmg-editorial summary:focus-visible{outline:3px solid #245842;outline-offset:4px}
.hmg-editorial .article-template__content img{max-width:100%;height:auto;border-radius:1rem;object-fit:contain}
.hmg-editorial figure{margin:2.4rem 0}.hmg-editorial figcaption{font-size:1.35rem;line-height:1.55;color:#58635d;margin-top:.8rem}
.hmg-editorial .hmg-table-scroll{max-width:100%;overflow-x:auto;margin:2.4rem 0;overscroll-behavior-x:contain}
.hmg-editorial table{border-collapse:collapse;width:100%;font-size:1.5rem;margin:0}
.hmg-editorial th,.hmg-editorial td{border:1px solid var(--hmg-border);padding:1.2rem;text-align:left;vertical-align:top;min-width:12rem}
.hmg-editorial th{background:var(--hmg-paper)}.hmg-editorial caption{text-align:left;font-weight:600;margin-bottom:1rem}
.hmg-editorial .hmg-toc{border:1px solid var(--hmg-border);border-radius:1.2rem;padding:1.6rem 2rem;background:var(--hmg-paper);margin:2.4rem 0}
.hmg-editorial .hmg-toc summary{font-weight:600;cursor:pointer}.hmg-editorial .hmg-toc ol{padding-left:2rem;margin:1.2rem 0 0}.hmg-editorial .hmg-toc li{margin:.6rem 0}
.hmg-editorial .hmg-context-links{border-left:3px solid #76927d;padding:1rem 1.8rem;background:var(--hmg-paper);margin:2.8rem 0}
.hmg-guide-section{margin:4rem auto;max-width:120rem;padding:0 2rem}.hmg-guide-section h2{font-size:2.5rem;margin:0 0 1.8rem;color:#25372e}
.hmg-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;list-style:none;padding:0;margin:0}
.hmg-guide-card{border:1px solid #e1e5df;border-radius:1.4rem;overflow:hidden;background:#fff;height:100%}
.hmg-guide-card>a{display:block;color:#25372e;text-decoration:none;height:100%}
.hmg-guide-card img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#f5f6f2;height:auto}
.hmg-guide-card h3{font-size:1.8rem;line-height:1.35;margin:0;padding:1.6rem}.hmg-guide-card p{font-size:1.4rem;line-height:1.6;margin:0;padding:0 1.6rem 1.8rem;color:#58635d}
.hmg-guide-card a:hover h3{text-decoration:underline;text-underline-offset:.2em}
.hmg-guide-hub{max-width:120rem;margin:auto;padding:clamp(2.4rem,5vw,6rem) 2rem}.hmg-guide-hub h1{font-size:clamp(3.2rem,5vw,5.4rem);line-height:1.1;max-width:18ch;margin:0 0 1.8rem}.hmg-guide-hub .hmg-hub-intro{font-size:1.8rem;line-height:1.65;max-width:65ch}
.hmg-topic-list{display:flex;flex-wrap:wrap;gap:1rem;list-style:none;padding:0;margin:2rem 0 4rem}.hmg-topic-list a{display:block;padding:1rem 1.5rem;border:1px solid #d7ded7;border-radius:99rem;color:#25372e;text-decoration:none;background:#f5f6f2}.hmg-topic-list a:hover{background:#e6eee5}
.hmg-guide-hub .hmg-guide-section{padding:0;margin:4rem 0}.hmg-blog-index .card__heading{display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important}.hmg-blog-index .card__heading a{line-height:1.35}
@media(max-width:749px){.hmg-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}.hmg-guide-card h3{font-size:1.6rem;padding:1.2rem}.hmg-guide-card p{padding:0 1.2rem 1.4rem}.hmg-editorial .article-template__content{font-size:1.65rem}.hmg-editorial .article-template__hero-container{margin-bottom:2rem}.hmg-topic-list a{font-size:1.4rem;padding:.9rem 1.2rem}}
@media(prefers-reduced-motion:reduce){.hmg-editorial *{scroll-behavior:auto}}
