/* Editorial category tops only; individual articles and tools do not load this file. */
.hc-editorial-top{--category-accent:#326f68;--category-line:#c9d9d5;--category-soft:#f2f7f5;--category-muted:#536970}
.hc-editorial-top.category-money{--category-accent:#82682e;--category-line:#ded6c3;--category-soft:#f8f6f0}
:where(.hc-editorial-top) main :where(section){padding:0;margin:0}
.hc-editorial-top .category-width{width:min(1360px,calc(100% - 80px));margin-inline:auto}
.hc-editorial-top :is(h1,h2,h3,p,a){letter-spacing:0;overflow-wrap:anywhere}
.hc-editorial-top a:focus-visible{outline:3px solid var(--category-accent);outline-offset:5px}
.hc-editorial-top .category-introduction{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:3rem;align-items:center;padding:2.25rem 0 3rem}
.hc-editorial-top .category-introduction h1{margin:0 0 1.25rem;font-size:38px;line-height:1.5;font-weight:500;color:var(--primary-color)}
.hc-editorial-top .category-introduction p{margin:0;max-width:32rem;font-size:16px;line-height:2}
.hc-editorial-top .category-media{position:relative;display:grid;place-items:center;margin:0;background:#f3f5f5;border:1px solid #dfe6e6;box-sizing:border-box;overflow:hidden;min-width:0}
.hc-editorial-top .category-media-wide{width:100%;aspect-ratio:5/2}
.hc-editorial-top .category-media-thumbnail{width:100%;aspect-ratio:16/9}
.hc-editorial-top .category-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.hc-editorial-top .category-placeholder{padding:1rem;text-align:center;color:#65767b;font-size:13px;line-height:1.8}
.hc-editorial-top .category-featured{padding:1rem 0 3.25rem}
.hc-editorial-top .category-section-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.75rem 2rem;margin-bottom:1.5rem;padding-top:1.25rem;border-top:2px solid var(--category-line)}
.hc-editorial-top .category-section-heading h2{display:block;font-size:28px;font-weight:500;line-height:1.6;margin:0;color:var(--primary-color)}
.hc-editorial-top .category-section-heading p{max-width:39rem;margin:0;color:var(--category-muted);font-size:14px;line-height:1.9}
.hc-editorial-top .category-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;list-style:none;margin:0;padding:0}
.hc-editorial-top .category-featured-grid li{min-width:0}
.hc-editorial-top .category-featured-grid a{display:block;color:var(--primary-color);text-decoration:none}
.hc-editorial-top .category-featured-copy{padding-top:1rem}
.hc-editorial-top .category-featured-copy h3{margin:0 0 .6rem;font-size:22px;font-weight:500;line-height:1.6}
.hc-editorial-top .category-featured-copy p{font-size:14px;line-height:1.9;color:var(--category-muted);margin:0 0 .8rem}
.hc-editorial-top .article-link-label{font-size:13px;color:var(--category-accent);text-decoration:underline;text-underline-offset:.3em}
.hc-editorial-top .category-featured-grid a:hover h3{color:var(--category-accent);text-decoration:underline;text-underline-offset:.25em}
.hc-editorial-top .category-article-date{display:block;font-size:12px;color:var(--category-muted);margin-top:.6rem}
.hc-editorial-top .category-themes{padding:2.5rem 0 3rem;background:#f4f7f7;border-block:1px solid #e2e9e8}
.hc-editorial-top .category-themes .category-section-heading{border:0;padding-top:0}
.hc-editorial-top .category-theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem 3rem}
.hc-editorial-top.category-money .category-theme-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.hc-editorial-top .category-theme{min-width:0;padding-top:1.2rem;border-top:3px solid var(--category-line)}
.hc-editorial-top .category-theme h3{margin:0 0 .6rem;color:var(--category-accent);font-size:23px;line-height:1.6;font-weight:500}
.hc-editorial-top .category-theme p{margin:0 0 1rem;font-size:14px;line-height:1.9;color:var(--category-muted)}
.hc-editorial-top .category-theme ul{list-style:none;margin:0;padding:0;border-top:1px solid #d7e1df}
.hc-editorial-top .category-theme li{border-bottom:1px solid #d7e1df}
.hc-editorial-top .category-theme a{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:48px;padding:.6rem 0;color:var(--primary-color);text-decoration:none;font-size:15px;line-height:1.7}
.hc-editorial-top .category-theme a::after{content:"→";flex:none;color:var(--category-accent)}
.hc-editorial-top .category-theme a:hover{color:var(--category-accent);text-decoration:underline;text-underline-offset:.25em}
.hc-editorial-top .category-tools{padding:3rem 0 3.5rem}
.hc-editorial-top .category-tools>h2{display:block;font-size:28px;font-weight:500;margin:0 0 1.5rem}
.hc-editorial-top .category-tool-feature{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-areas:"copy media" "action media";gap:1rem 3rem;align-items:center;padding:2rem;background:var(--category-soft);border-left:3px solid var(--category-line)}
.hc-editorial-top .category-tool-copy{grid-area:copy;align-self:end}
.hc-editorial-top .category-tool-action{grid-area:action;align-self:start}
.hc-editorial-top .category-tool-feature>.category-media{grid-area:media}
.hc-editorial-top .category-tool-copy h3{font-size:25px;line-height:1.6;font-weight:500;margin:0 0 .75rem}
.hc-editorial-top .category-tool-copy p{font-size:15px;line-height:1.9;margin:0 0 1.25rem;max-width:35rem}
.hc-editorial-top .category-tool-cta{display:inline-flex;align-items:center;gap:1rem;min-height:48px;padding:.6rem 1.2rem;box-sizing:border-box;border-radius:3px;background:var(--accent-color);color:#fff;text-decoration:none;font-size:15px;font-weight:700}
.hc-editorial-top .category-tool-cta:hover{background:#236b65}
.hc-editorial-top .category-tool-links{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;list-style:none;padding:0;margin:1.25rem 0 0}
.hc-editorial-top .category-tool-links a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:var(--category-accent);text-underline-offset:.3em}
@media(max-width:900px){
 .hc-editorial-top .category-width{width:calc(100% - 48px)}
 .hc-editorial-top .category-introduction{grid-template-columns:minmax(0,1fr);gap:1.5rem;padding-top:1.5rem}
 .hc-editorial-top .category-introduction p{max-width:42rem}
 .hc-editorial-top .category-featured-grid{grid-template-columns:minmax(0,1fr);gap:1.5rem}
 .hc-editorial-top .category-featured-grid a{display:grid;grid-template-columns:240px minmax(0,1fr);align-items:center;gap:1.5rem}
 .hc-editorial-top .category-featured-copy{padding-top:0}
 .hc-editorial-top .category-featured-copy h3{font-size:21px}
 .hc-editorial-top .category-theme-grid,.hc-editorial-top.category-money .category-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}
 .hc-editorial-top .category-tool-feature{grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "media" "action";gap:1.5rem}
}
@media(max-width:600px){
 .hc-editorial-top .category-width{width:calc(100% - 40px)}
 .hc-editorial-top .category-introduction{padding:1.25rem 0 2rem}
 .hc-editorial-top .category-introduction h1{font-size:30px;margin-bottom:.75rem}
 .hc-editorial-top .category-introduction p{font-size:15px;line-height:1.9}
 .hc-editorial-top .category-section-heading{display:block;margin-bottom:1.25rem}
 .hc-editorial-top .category-section-heading h2,.hc-editorial-top .category-tools>h2{font-size:24px}
 .hc-editorial-top .category-section-heading p{margin-top:.6rem;font-size:14px}
 .hc-editorial-top .category-featured{padding:0 0 2rem}
 .hc-editorial-top .category-featured-grid{gap:1.75rem}
 .hc-editorial-top .category-featured-grid a{display:block}
 .hc-editorial-top .category-featured-copy{padding-top:.75rem}
 .hc-editorial-top .category-featured-copy h3{font-size:21px}
 .hc-editorial-top .category-themes{padding:1.75rem 0 2rem}
 .hc-editorial-top .category-theme-grid,.hc-editorial-top.category-money .category-theme-grid{grid-template-columns:minmax(0,1fr);gap:1.5rem}
 .hc-editorial-top .category-theme h3{font-size:22px}
 .hc-editorial-top .category-tools{padding:2rem 0}
 .hc-editorial-top .category-tool-feature{padding:1.25rem;gap:1.25rem}
 .hc-editorial-top .category-tool-copy h3{font-size:23px}
 .hc-editorial-top .category-tool-copy p{font-size:14px}
 .hc-editorial-top .category-tool-cta{width:100%;justify-content:center;font-size:14px;padding:.65rem .75rem}
 .hc-editorial-top .category-tool-links{display:grid;gap:.25rem;margin-top:1rem}
}
