/* Homepage only: inherits editable branding and shared archive card styling. */
.se-home.se-archive{padding:0 0 60px}
.se-home-page .site-header{background:var(--surface);box-shadow:none;border-bottom:1px solid color-mix(in srgb,var(--text) 12%,transparent)}
.se-home-page .main-nav>a[aria-current=page]{color:var(--primary);background:color-mix(in srgb,var(--primary) 9%,transparent);border-radius:7px}
.se-home-page .site-footer{border-top:1px solid color-mix(in srgb,var(--text) 12%,transparent);box-shadow:none}
.se-home-page .footer-grid{gap:32px}
.se-home .home-hero{padding-block:64px 44px;position:relative}
.se-home .home-eyebrow{display:block;font-size:.8rem;color:var(--primary);font-weight:600;letter-spacing:.04em;margin-bottom:18px}
.se-home .home-hero h1{max-width:820px;font-size:clamp(2rem,4.5vw,3.7rem);line-height:1.16;letter-spacing:-.045em;margin:0 0 22px;overflow-wrap:anywhere}
.se-home .home-lead{max-width:690px;font-size:1.08rem;line-height:1.8;color:var(--muted);margin:0 0 28px}
.se-home .home-search{position:relative;max-width:800px;margin:0;z-index:10}
.se-home .home-search-row{display:flex;gap:12px;padding:8px;background:var(--surface);border:1px solid var(--archive-border);border-radius:12px}
.se-home .home-search-row:focus-within{border-color:var(--primary)}
.se-home .home-search input{min-width:0;flex:1;width:100%;border:0;border-radius:6px;background:transparent;color:var(--text);padding:14px;font:inherit;font-size:1rem;min-height:50px;box-shadow:none}
.se-home .home-search .btn{min-width:112px}
.se-home .home-search-hint{font-size:.83rem;color:var(--muted);line-height:1.8;margin:14px 0 0;max-width:800px}
.se-home .home-search-hint a{display:inline-block;margin-inline-start:8px;text-decoration:underline;text-underline-offset:4px}
.se-home .home-suggestions{position:absolute;top:calc(100% + 8px);inset-inline:0;border:1px solid var(--archive-border);border-radius:10px;background:var(--surface);box-shadow:0 12px 30px color-mix(in srgb,var(--text) 10%,transparent);max-height:min(440px,55dvh);overflow:auto;padding:8px}
.se-home .home-suggestion{display:flex;flex-direction:column;gap:5px;padding:13px 14px;min-height:48px;color:var(--text);border-radius:6px;line-height:1.5}
.se-home .home-suggestion strong{font-size:.9rem;overflow-wrap:anywhere}
.se-home .home-suggestion span{font-size:.8rem;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.se-home .home-suggestion:hover,.se-home .home-suggestion[aria-selected=true]{background:color-mix(in srgb,var(--primary) 10%,transparent)}
.se-home #homeSearchAll{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--archive-border);padding:14px;min-height:48px;font-size:.85rem;font-weight:600}
.se-home #homeSearchEmpty{padding:14px;margin:0;color:var(--muted);line-height:1.7}
.se-home .home-stats{display:flex;flex-wrap:wrap;gap:12px 28px;font-size:.82rem;color:var(--muted);margin-top:28px}
.se-home .home-stats strong{color:var(--text);font-weight:600;margin-inline-end:4px}
.se-home .home-section{padding-block:36px}
.se-home .home-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.se-home .home-section-head h2{font-size:clamp(1.4rem,2.4vw,1.85rem);margin:0 0 9px;letter-spacing:-.025em}
.se-home .home-section-head p{margin:0;color:var(--muted);line-height:1.7;font-size:.92rem}
.se-home .home-text-link{font-size:.87rem;font-weight:600;color:var(--primary);display:inline-flex;align-items:center;min-height:44px;flex-shrink:0}
.se-home .home-filter{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:24px;font-size:.83rem}
.se-home .home-filter label{font-weight:600}
.se-home .home-filter select{min-width:180px;max-width:100%;min-height:46px;padding:10px 34px 10px 12px;border:1px solid var(--archive-border);border-radius:7px;background:var(--surface);color:var(--text);font:inherit}
.se-home #homePopularCount{color:var(--muted);margin-inline-start:auto}
.se-home .home-category-links{display:flex;flex-wrap:wrap;gap:12px;line-height:1.8}
.se-home .home-category-links a{text-decoration:underline}
.se-home .home-ad{padding-block:24px;margin-block:12px}
.se-home .home-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.se-home .home-category{display:flex;align-items:center;gap:16px;padding:22px;border:1px solid var(--archive-border);border-radius:10px;background:var(--surface);color:var(--text);min-width:0}
.se-home .home-category:hover{border-color:var(--primary)}
.se-home .home-category>.tool-icon{flex-shrink:0}
.se-home .home-category>span,.se-home .home-category-copy{min-width:0}
.se-home .home-category h3{font-size:.95rem;line-height:1.5;margin:0 0 6px;overflow-wrap:anywhere}
.se-home .home-category .muted{font-size:.78rem}
.se-home .home-category-arrow{margin-inline-start:auto;color:var(--primary)}
.se-home .home-calculator{display:flex;align-items:center;justify-content:space-between;gap:24px;border-inline-start:3px solid var(--primary);padding:22px 24px;background:color-mix(in srgb,var(--primary) 5%,var(--surface));border-radius:0 8px 8px 0;margin-top:24px;color:var(--text)}
.se-home .home-calculator>span:first-child{display:grid;gap:8px}
.se-home .home-calculator strong{font-size:1rem}
.se-home .home-calculator>span>span{font-size:.87rem;color:var(--muted);line-height:1.7}
.se-home .post-card h3{font-size:1.15rem;line-height:1.55;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:1000px){.se-home .home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.se-home.se-archive{padding-bottom:32px}.se-home .home-hero{padding-block:36px 24px}.se-home .home-lead{font-size:1rem}.se-home .home-search-row{flex-wrap:wrap;padding:10px;gap:8px}.se-home .home-search input{flex-basis:100%;padding:10px;font-size:1rem}.se-home .home-search .btn{width:100%}.se-home .home-search-hint a{margin-inline-start:0;display:block;min-height:44px;padding-top:6px}.se-home .home-stats{gap:10px 18px;margin-top:18px}.se-home .home-section{padding-block:24px}.se-home .home-section-head{align-items:flex-start;flex-direction:column;gap:6px;margin-bottom:18px}.se-home .home-category-grid{grid-template-columns:minmax(0,1fr)}.se-home .home-category{padding:18px}.se-home .home-calculator{flex-direction:column;align-items:flex-start;gap:10px;padding:20px}.se-home #homePopularCount{flex-basis:100%;margin:0}.se-home .home-filter select{flex:1;min-width:0}.se-home .home-suggestions{max-height:45dvh}}

.se-home .home-more{display:flex;justify-content:center;margin-top:24px}
.se-home .home-more:has([hidden]){display:none}
