/* WittyWriter homepage assets, exact original cascade */
/* WittyWriter Pearl Home v4.0 | Scoped to .wwh-home; no global resets or dependencies. */
.wwh-home{
  --wwh-ink:#25263d;--wwh-muted:#6d7086;--wwh-subtle:#9096a9;--wwh-line:#e8e6ef;
  --wwh-paper:#fff;--wwh-bg:#f9f8fc;--wwh-violet:#7160d7;--wwh-lilac:#e8e2fa;
  --wwh-mint:#d9f4ed;--wwh-teal:#287d74;--wwh-coral:#f0a28c;
  font-family:Inter,"Avenir Next","Segoe UI",system-ui,-apple-system,sans-serif;
  color:var(--wwh-ink);background:var(--wwh-bg);line-height:1.52;
  position:relative;isolation:isolate;min-width:0;overflow:hidden;
}
.wwh-home[data-theme="teal"]{--wwh-violet:#24877d;--wwh-lilac:#e0f2ec}
.wwh-home[data-theme="blue"]{--wwh-violet:#456ec6;--wwh-lilac:#e5efff}
.wwh-home,.wwh-home *,.wwh-home *::before,.wwh-home *::after{box-sizing:border-box}
.wwh-home::before{content:"";pointer-events:none;position:absolute;inset:0 0 auto;height:510px;z-index:-1;background:radial-gradient(ellipse 45% 50% at 7% 16%,#ffeadd88,transparent 90%),radial-gradient(ellipse 45% 65% at 86% 11%,#e8e4ff96,transparent 90%),linear-gradient(180deg,#fdfcff 0,#faf9fd 85%,transparent)}
.wwh-home a{text-decoration:none;color:inherit}
.wwh-home h1,.wwh-home h2,.wwh-home h3,.wwh-home p{margin:0}
.wwh-home img{display:block;max-width:100%}
.wwh-home button,.wwh-home input{font:inherit}
.wwh-home [hidden]{display:none!important}
.wwh-home a:focus-visible,.wwh-home button:focus-visible,.wwh-home input:focus-visible{outline:3px solid #7160d7;outline-offset:3px}
.wwh-wrap{width:min(100% - 64px,1540px);margin-inline:auto;padding:20px 0 58px}
.wwh-path{display:flex;align-items:center;gap:12px;color:#858ba2;font-size:10px;letter-spacing:.13em;font-weight:800;padding:6px 1px 18px}
.wwh-path strong{color:#69678b;font-weight:900}
.wwh-path__dot{height:7px;width:7px;border-radius:50%;background:#c6a0e5;box-shadow:0 0 0 4px #e9e1f8}
.wwh-path__slash{color:#d1d2dc}
.wwh-path__end{margin-left:auto;letter-spacing:.04em;font-weight:600;color:#9b9bab}
.wwh-welcome{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(350px,.73fr);gap:28px;align-items:center;border:1px solid #edebf2;border-radius:24px;min-height:270px;padding:34px 42px;box-shadow:0 13px 44px #24213e0a;background:linear-gradient(117deg,#ffffffed 0%,#fffcfdee 58%,#f0edffdd 100%);overflow:hidden}
.wwh-welcome::before{content:"";pointer-events:none;position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#f4b9a8 0 25%,#a89dec 25% 63%,#91cdbc 63%)}
.wwh-welcome::after{content:"✴";position:absolute;top:-76px;right:34%;font-size:212px;line-height:1;color:#eee8f9;opacity:.36;pointer-events:none;transform:rotate(11deg)}
.wwh-welcome__copy,.wwh-welcome__right{position:relative;z-index:1;min-width:0}
.wwh-eyebrow,.wwh-overline{font-size:10px;font-weight:900;letter-spacing:.14em;color:var(--wwh-violet)}
.wwh-eyebrow{display:flex;align-items:center;gap:8px;margin-bottom:13px}
.wwh-spark{display:grid;place-items:center;border-radius:10px;background:#fbe8e1;color:#d3786a;width:25px;height:25px;font-size:16px;letter-spacing:0}
.wwh-welcome h1{font-size:clamp(30px,3.16vw,51px);max-width:750px;letter-spacing:-.053em;font-weight:800;line-height:1.085;color:#29263d;text-wrap:balance}
.wwh-welcome h1 em{font-family:Georgia,"Times New Roman",serif;font-style:italic;letter-spacing:-.05em;color:#8a78d3;font-weight:500}
.wwh-welcome__copy>p{font-size:14px;color:#6f7187;margin-top:13px;max-width:640px;line-height:1.65}
.wwh-welcome__actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}
.wwh-button{display:inline-flex;align-items:center;justify-content:center;gap:15px;border:1px solid transparent;border-radius:11px;min-height:39px;padding:8px 14px;font-size:12px;font-weight:800;transition:transform .18s,background .18s,box-shadow .18s}
.wwh-button:hover{transform:translateY(-2px)}
.wwh-button--primary{background:#5f58bd;color:#fff!important;box-shadow:0 7px 18px #6256c132}
.wwh-button--primary:hover{background:#4d449d;color:#fff}
.wwh-button--quiet{background:#fff9;color:#5f557f!important;border-color:#e3dfe9}
.wwh-button--quiet:hover{background:#fff}
.wwh-welcome__right{display:grid;gap:12px}
.wwh-search{display:grid;gap:10px;background:#fff;border:1px solid #eeedf4;padding:18px;border-radius:16px;box-shadow:0 8px 24px #35305608}
.wwh-search label{font-size:12px;font-weight:800;color:#423d59}
.wwh-search__field{display:flex;align-items:center;height:43px;border:1px solid #e4e3ed;border-radius:10px;padding:4px;background:#fcfbff}
.wwh-search__magnify{font-size:27px;color:#9a91c8;line-height:1;transform:rotate(-25deg);width:31px;text-align:center}
.wwh-search input{border:0!important;box-shadow:none!important;outline:0!important;min-width:0;flex:1;height:100%;background:transparent!important;padding:0 6px;color:#363550;font-size:12px}
.wwh-search input::placeholder{color:#9d9daf}
.wwh-search button{cursor:pointer;border:0;background:#e8e4f8;color:#5b51ae;border-radius:8px;width:35px;height:33px;font-size:20px;font-weight:900;display:grid;place-items:center}
.wwh-search button:hover{background:#d9d1f4}
.wwh-search__hint{font-size:10.5px;color:#9997a8}
.wwh-numbers{display:grid;grid-template-columns:1fr 1fr auto;gap:0;align-items:center;padding:13px 18px;border:1px solid #e9e4f1;background:linear-gradient(110deg,#fffaf6,#faf7ff);border-radius:16px}
.wwh-numbers>div{min-width:0;display:grid;gap:1px;padding-right:12px}
.wwh-numbers>div+div{border-left:1px solid #e7dfed;padding-left:18px}
.wwh-numbers strong{font-size:24px;letter-spacing:-.06em;font-weight:900;color:#38315f;line-height:1.15;font-variant-numeric:tabular-nums}
.wwh-numbers span{font-size:10px;color:#77778d}
.wwh-numbers__mark{font-size:29px!important;color:#ddae9e!important;margin-left:4px}
.wwh-topics-strip{display:flex;align-items:center;gap:17px;border-block:1px solid #e8e5ef;margin:17px 0 20px;min-height:51px;padding:7px 3px}
.wwh-topics-strip__label{white-space:nowrap;text-transform:uppercase;font-size:10px;letter-spacing:.1em;color:#72738a;font-weight:900}
.wwh-topics-strip__scroll{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;padding:2px 1px;min-width:0}
.wwh-topic-pill{flex:none;border-radius:50px;background:#fff;border:1px solid #e9e6f0;padding:7px 13px;font-size:11px;color:#5e6177!important;font-weight:700;white-space:nowrap;transition:background .18s,border-color .18s}
.wwh-topic-pill:hover{background:#f1edff;border-color:#d0c8f6;color:#534ba5!important}
.wwh-topic-pill--all{background:#e9e6fa;color:#5f56a5!important;border-color:#e9e6fa}
.wwh-featureline{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.87fr);gap:18px;margin-top:15px}
.wwh-featureline--spotlight-only{grid-template-columns:1fr}
.wwh-featureline--trending-only{grid-template-columns:1fr}
.wwh-feature{min-width:0;min-height:331px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);background:linear-gradient(130deg,#f0ebfa,#faf6ff 65%,#fef4ee);border:1px solid #e7e1f3;border-radius:20px;overflow:hidden;box-shadow:0 8px 24px #302a4d08}
.wwh-feature__copy{padding:24px 26px 22px;display:flex;flex-direction:column;align-items:flex-start;min-width:0;position:relative;z-index:1}
.wwh-feature__eyebrow{color:#7060b0;font-weight:900;letter-spacing:.1em;font-size:10px;display:flex;align-items:center;gap:7px;margin-bottom:25px}
.wwh-feature__eyebrow>span{color:#ef9e85;font-size:17px}
.wwh-feature__category{display:inline-block;color:#815b8f;background:#f2e3f1;border-radius:6px;padding:5px 9px;font-size:10px;font-weight:800;margin-bottom:9px}
.wwh-feature h2{font-size:clamp(22px,2.16vw,33px);font-weight:800;letter-spacing:-.045em;line-height:1.19;color:#2f2b49;text-wrap:balance;overflow-wrap:anywhere}
.wwh-feature h2 a:hover{color:#6d5fc8}
.wwh-feature p{font-size:12px;color:#65617c;line-height:1.65;margin-top:10px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.wwh-feature__bottom{display:flex;align-items:center;gap:12px;justify-content:space-between;width:100%;margin-top:auto;padding-top:24px}
.wwh-feature__read{display:inline-flex;align-items:center;gap:12px;font-size:12px;font-weight:850;color:#6757b9!important}
.wwh-feature__read:hover{color:#41338a!important}
.wwh-feature__bottom time{font-size:10px;color:#928ba6;white-space:nowrap}
.wwh-feature__media{position:relative;overflow:hidden;min-height:300px;background:linear-gradient(145deg,#d9c9ed,#c9dfe2 60%,#f5d5ca)}
.wwh-feature__media>a{display:block;height:100%;width:100%}
.wwh-feature__media img{height:100%!important;width:100%!important;object-fit:cover;object-position:center;transition:transform .5s;max-height:none!important}
.wwh-feature:hover .wwh-feature__media img{transform:scale(1.035)}
.wwh-feature__media-chip{position:absolute;left:14px;bottom:14px;background:#ffffffec;border:1px solid #ffffffb9;backdrop-filter:blur(6px);border-radius:7px;color:#6c5f8c;font-size:9px;letter-spacing:.07em;font-weight:850;padding:8px 10px;pointer-events:none}
.wwh-feature__image-empty{height:100%;display:grid;place-items:center;background:radial-gradient(circle at 65% 35%,#fff8 0 10%,transparent 35%),linear-gradient(135deg,#d6c9ed,#bde7df)}
.wwh-feature__image-empty span{font-family:Georgia,serif;font-size:100px;color:#fff9;transform:rotate(-10deg)}
.wwh-popular{min-width:0;display:flex;flex-direction:column;border:1px solid #e7e8ef;border-radius:20px;padding:22px 23px 16px;background:#fff;box-shadow:0 8px 24px #302a4d07}
.wwh-popular__head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #efedf3;padding-bottom:15px}
.wwh-popular h2{font-size:19px;line-height:1.2;font-weight:850;letter-spacing:-.04em;margin-top:5px}
.wwh-popular h2 span{color:#d7a3a1;font-size:15px}
.wwh-popular__accent{font-size:30px;color:#edc4b9}
.wwh-popular__list{list-style:none;padding:0;margin:0;flex:1}
.wwh-popular__list li{display:flex;align-items:start;gap:11px;min-width:0;padding:14px 0;border-bottom:1px solid #f1eff4}
.wwh-popular__number{font-family:Georgia,serif;font-style:italic;font-weight:bold;color:#bdaae8;font-size:20px;line-height:1.2;min-width:29px}
.wwh-popular__list li>div{display:grid;gap:3px;min-width:0;flex:1}
.wwh-popular__category{color:#a48ab4;font-weight:800;font-size:9.5px;letter-spacing:.02em}
.wwh-popular__list li a{font-size:12px;line-height:1.39;font-weight:780;color:#3c3c54;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.wwh-popular__list li a:hover{color:#685ac4}
.wwh-popular__arrow{color:#b6b0c7;font-size:15px}
.wwh-popular__more{padding:12px 0 0;font-size:11px;font-weight:850;color:#6b60b2!important;display:flex;justify-content:space-between;align-items:center}
.wwh-empty-inline{font-size:12px;color:var(--wwh-muted);padding:18px 0}
.wwh-home-sections{display:flex;flex-direction:column;gap:40px;margin-top:38px}
.wwh-home-sections .wwh-latest{order:1}
.wwh-home-sections .wwh-categories{order:2}
.wwh-home[data-order="collections_first"] .wwh-home-sections .wwh-latest{order:2}
.wwh-home[data-order="collections_first"] .wwh-home-sections .wwh-categories{order:1}
.wwh-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:19px}
.wwh-section-head__bar{display:inline-block;vertical-align:middle;width:19px;height:3px;margin-right:6px;border-radius:4px;background:#c1a5de}
.wwh-section-head__bar--teal{background:#8fcfbc}
.wwh-section-head h2{font-size:clamp(23px,2.05vw,32px);letter-spacing:-.05em;line-height:1.23;font-weight:850;margin:8px 0 5px;color:#303047}
.wwh-title-dot{color:#dfaa9e}
.wwh-section-head p{color:#838197;font-size:12px}
.wwh-view{display:inline-flex;gap:3px;padding:4px;border:1px solid #ebe7f1;background:white;border-radius:10px}
.wwh-view button{cursor:pointer;border:0;background:transparent;color:#9690ae;border-radius:7px;min-width:34px;min-height:32px;font-size:19px;line-height:1}
.wwh-view button.is-current{background:#efeafa;color:#6553b4}
.wwh-filterbar{display:flex;align-items:center;gap:14px;margin-bottom:14px;min-width:0}
.wwh-filterbar__label{color:#9291a3;font-size:11px;font-weight:700;flex:none}
.wwh-filterbar__options{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;min-width:0;padding-bottom:4px}
.wwh-filterbar button{flex:none;cursor:pointer;border:1px solid #e7e5ef;border-radius:7px;background:#fff;color:#75748b;font-size:10.5px;padding:7px 12px;font-weight:750}
.wwh-filterbar button:hover,.wwh-filterbar button.is-current{background:#ede8fa;border-color:#d8cef5;color:#6254a7}
.wwh-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;align-items:stretch}
.wwh-story{min-width:0;display:flex;flex-direction:column;border:1px solid #eceaf1;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 6px 19px #28244508;transition:transform .2s,box-shadow .2s}
.wwh-story:hover{transform:translateY(-3px);box-shadow:0 12px 27px #342c5112}
.wwh-story__image{display:block;aspect-ratio:1.82/1;position:relative;overflow:hidden;background:linear-gradient(125deg,#e9e1f6,#daf0e7);isolation:isolate}
.wwh-story__image img{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover;transition:transform .35s}
.wwh-story:hover .wwh-story__image img{transform:scale(1.045)}
.wwh-story__image-arrow{position:absolute;right:11px;bottom:11px;background:#fffffff0;width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:#6157ae;font-size:18px}
.wwh-story__body{padding:16px 17px 15px;display:flex;flex:1;flex-direction:column;gap:9px}
.wwh-story__meta{display:flex;align-items:center;justify-content:space-between;gap:10px}
.wwh-story__tag{font-size:9.5px;font-weight:850;color:#775fa8;background:#f2edf9;padding:4px 8px;border-radius:5px;max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wwh-story__meta time{color:#a1a0ae;font-size:10px;white-space:nowrap}
.wwh-story h3{font-size:16px;line-height:1.35;letter-spacing:-.022em;font-weight:820;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.wwh-story h3 a:hover{color:#675ab7}
.wwh-story__body>p{font-size:11px;line-height:1.6;color:#7c7e8f;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.wwh-story__more{margin-top:auto;padding-top:8px;border-top:1px solid #f0eef3;color:#6a5fae!important;font-size:11px;font-weight:850;display:flex;align-items:center;justify-content:space-between}
.wwh-story-grid.is-list{grid-template-columns:1fr}
.wwh-story-grid.is-list .wwh-story{display:grid;grid-template-columns:225px minmax(0,1fr);min-height:155px}
.wwh-story-grid.is-list .wwh-story__image{aspect-ratio:auto;height:100%;min-height:155px}
.wwh-story-grid.is-list .wwh-story__body{padding:17px 20px}
.wwh-story-grid.is-list .wwh-story h3{font-size:19px}
.wwh-pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;border:1px solid #eae8f1;border-radius:12px;background:#fff;padding:12px 16px;margin-top:17px;font-size:11px;color:#87869b}
.wwh-pagination>div{display:flex;align-items:center;gap:12px}
.wwh-pagination a{display:inline-flex;align-items:center;min-height:29px;padding:4px 9px;border:1px solid #e8e3ef;background:#fbfaff;border-radius:7px;color:#685ba9!important;font-weight:800}
.wwh-pagination a:hover{background:#eee9fb}
.wwh-text-link{font-size:11px;font-weight:850;color:#6a5db4!important;white-space:nowrap;padding-bottom:4px}
.wwh-text-link:hover{color:#40358d!important}
.wwh-category-search{max-width:360px;margin-bottom:16px}
.wwh-category-search>label{display:block;font-size:11px;font-weight:800;color:#85819b;margin-bottom:7px}
.wwh-category-search>div{display:flex;gap:6px;align-items:center;background:#fff;border:1px solid #e5e2ed;padding:5px 9px;border-radius:10px;min-height:39px}
.wwh-category-search>div>span{font-size:21px;color:#8d87ad}
.wwh-category-search input{flex:1;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;font-size:12px;color:#3e3b54}
.wwh-category-search button{border:0;border-radius:6px;background:#efebfa;color:#5e53a5;font-weight:800;padding:4px 8px;font-size:10px;cursor:pointer}
.wwh-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.wwh-topic-card{min-width:0;display:flex;flex-direction:column;border-radius:15px;border:1px solid #e9e7ef;background:#fff;padding:18px 19px;box-shadow:0 5px 17px #28244506;transition:border-color .2s,transform .2s}
.wwh-topic-card:hover{border-color:#d2c9f1;transform:translateY(-2px)}
.wwh-topic-card__top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.wwh-topic-card__glyph{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:19px;background:#f0eafa;color:#846ab6}
.wwh-topic-card:nth-child(3n+2) .wwh-topic-card__glyph{background:#fcebe5;color:#ca846e}
.wwh-topic-card:nth-child(3n+3) .wwh-topic-card__glyph{background:#e4f5ed;color:#529d8c}
.wwh-topic-card__count{font-size:10px;font-weight:800;color:#9c98ac}
.wwh-topic-card h3{font-size:17px;letter-spacing:-.034em;line-height:1.28;font-weight:850;overflow-wrap:anywhere}
.wwh-topic-card h3 a:hover{color:#6457ad}
.wwh-topic-card>p{font-size:11px;color:#8a879b;line-height:1.6;margin-top:7px;min-height:34px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.wwh-topic-card__links{list-style:none;margin:12px 0;padding:11px 0 0;border-top:1px solid #f0eef3;display:grid;gap:9px;min-height:30px}
.wwh-topic-card__links li{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;align-items:baseline;font-size:11px;min-width:0}
.wwh-topic-card__links li span{font-size:9px;font-weight:850;color:#ac9cbe}
.wwh-topic-card__links li a{color:#66647b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wwh-topic-card__links li a:hover{color:#6a5db4}
.wwh-topic-card__cta{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:11px;border-top:1px solid #efedf3;color:#6758b4!important;font-weight:850;font-size:10.5px}
.wwh-topic-card__cta span{font-size:16px}
.wwh-no-match{border:1px dashed #d9d3e6;background:#fff;padding:20px;border-radius:12px;color:#716c86;font-size:12px;margin-top:10px}
.wwh-empty{text-align:center;border:1px dashed #ded8ed;border-radius:16px;background:#fff;padding:30px;color:#77738c}
.wwh-empty>span{font-size:31px;color:#c7a6d5}
.wwh-empty h3{font-size:18px;color:#3c355b;margin:5px 0}
.wwh-empty p{font-size:12px}
.wwh-empty a{display:inline-block;margin-top:13px;color:#6a5db4!important;font-weight:850;font-size:12px}
.wwh-lastword{border:1px solid #e7e1ee;border-radius:16px;background:linear-gradient(100deg,#fff,#f8f5ff 68%,#f4f1fa);margin-top:34px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:21px 25px}
.wwh-lastword>div{display:flex;align-items:center;gap:17px}
.wwh-lastword__star{display:grid;place-items:center;background:#f4e5e1;color:#ca8c84;border-radius:14px;width:48px;height:48px;font-size:27px;flex:none}
.wwh-lastword>div>div>span{font-size:9px;color:#9185ab;letter-spacing:.11em;font-weight:900}
.wwh-lastword h2{font-size:20px;letter-spacing:-.035em;font-weight:850;margin:2px 0}
.wwh-lastword p{font-size:11px;color:#858096}
.wwh-lastword>a{flex:none;display:inline-flex;gap:15px;align-items:center;justify-content:center;background:#e9e4f7;border-radius:10px;color:#5b50a6!important;min-height:38px;padding:8px 14px;font-size:11px;font-weight:850}
.wwh-lastword>a:hover{background:#dcd4f5}
.wwh-home[data-density="compact"] .wwh-story__body{padding:12px}
.wwh-home[data-density="compact"] .wwh-topic-card{padding:14px}
.wwh-home[data-density="compact"] .wwh-home-sections{gap:26px}
@media(max-width:1199px){
 .wwh-wrap{width:min(100% - 44px,1540px)}
 .wwh-welcome{grid-template-columns:1fr .74fr;padding:28px;gap:18px}
 .wwh-featureline{grid-template-columns:1.45fr .93fr}
 .wwh-feature{grid-template-columns:1.15fr .75fr}
 .wwh-feature__copy{padding:22px}
 .wwh-feature__eyebrow{margin-bottom:19px}
 .wwh-popular{padding:20px}
 .wwh-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:950px){
 .wwh-welcome{grid-template-columns:1fr;min-height:auto}
 .wwh-welcome__right{display:flex;align-items:stretch;gap:12px}
 .wwh-search{flex:1}
 .wwh-numbers{flex:1}
 .wwh-featureline{grid-template-columns:1fr}
 .wwh-feature{min-height:305px}
 .wwh-popular__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
 .wwh-popular__list li{border-bottom:0;border-right:1px solid #f0edf4;padding:12px 10px 8px 0}
 .wwh-popular__list li:last-child{border-right:0}
 .wwh-story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .wwh-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:670px){
 .wwh-wrap{width:min(100% - 28px,1540px);padding:8px 0 36px}
 .wwh-path{font-size:9px;padding-bottom:11px;gap:8px}
 .wwh-path__end{display:none}
 .wwh-welcome{padding:24px 19px;border-radius:18px;gap:18px}
 .wwh-welcome h1{font-size:clamp(30px,7.7vw,42px)}
 .wwh-welcome__copy>p{font-size:12px}
 .wwh-welcome__right{display:grid;gap:10px}
 .wwh-numbers strong{font-size:23px}
 .wwh-topics-strip{align-items:start;gap:10px;flex-direction:column;padding:11px 2px}
 .wwh-topics-strip__scroll{width:100%}
 .wwh-feature{grid-template-columns:1fr}
 .wwh-feature__copy{min-height:230px;padding:22px}
 .wwh-feature__eyebrow{margin-bottom:16px}
 .wwh-feature h2{font-size:27px}
 .wwh-feature__media{min-height:185px;max-height:240px}
 .wwh-feature__media img{min-height:185px}
 .wwh-featureline{gap:12px}
 .wwh-popular{padding:18px}
 .wwh-popular__list{grid-template-columns:1fr;gap:0}
 .wwh-popular__list li{border-bottom:1px solid #f0edf4;border-right:0;padding:12px 0}
 .wwh-home-sections{margin-top:30px;gap:31px}
 .wwh-section-head{align-items:start}
 .wwh-section-head h2{font-size:25px}
 .wwh-section-head p{font-size:11px}
 .wwh-view{margin-top:5px}
 .wwh-story-grid{grid-template-columns:1fr;gap:12px}
 .wwh-story__image{aspect-ratio:1.9/1}
 .wwh-story-grid.is-list .wwh-story{grid-template-columns:110px minmax(0,1fr);min-height:160px}
 .wwh-story-grid.is-list .wwh-story__image{min-height:160px}
 .wwh-story-grid.is-list .wwh-story__body{padding:11px}
 .wwh-story-grid.is-list .wwh-story h3{font-size:14px}
 .wwh-story-grid.is-list .wwh-story__body>p{display:none}
 .wwh-story-grid.is-list .wwh-story__meta{flex-wrap:wrap}
 .wwh-pagination{align-items:start;flex-direction:column}
 .wwh-section-head--categories{align-items:start;flex-direction:column;gap:9px}
 .wwh-category-grid{grid-template-columns:1fr;gap:11px}
 .wwh-topic-card{padding:17px}
 .wwh-topic-card>p{min-height:0}
 .wwh-lastword{align-items:start;flex-direction:column;gap:15px;padding:18px}
 .wwh-lastword__star{width:39px;height:39px;flex-basis:39px}
}
@media(max-width:380px){
 .wwh-wrap{width:min(100% - 20px,1540px)}
 .wwh-welcome{padding:20px 15px}
 .wwh-welcome__actions{gap:7px}
 .wwh-button{padding:7px 10px;font-size:11px}
 .wwh-numbers{padding:12px 13px}
 .wwh-numbers>div+div{padding-left:12px}
 .wwh-feature__copy{padding:19px}
 .wwh-feature h2{font-size:24px}
 .wwh-section-head h2{font-size:22px}
 .wwh-feature__bottom{align-items:start;flex-direction:column;gap:8px}
}
@media(prefers-reduced-motion:reduce){.wwh-home *,.wwh-home *::before,.wwh-home *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keyboard visibility, deep-link offsets, and palette variants */
.wwh-home #latest,.wwh-home #collections{scroll-margin-top:92px}
.wwh-home .wwh-search__field:focus-within,.wwh-home .wwh-category-search>div:focus-within{border-color:var(--wwh-violet);box-shadow:0 0 0 3px #b6a9ed55}
.wwh-home[data-theme="teal"] .wwh-button--primary{background:#26877d;box-shadow:0 7px 18px #2e837b30}
.wwh-home[data-theme="blue"] .wwh-button--primary{background:#456ec6;box-shadow:0 7px 18px #456ec630}
.wwh-home[data-theme="teal"] .wwh-welcome h1 em,.wwh-home[data-theme="teal"] .wwh-feature__read,.wwh-home[data-theme="teal"] .wwh-text-link{color:#24877d!important}
.wwh-home[data-theme="blue"] .wwh-welcome h1 em,.wwh-home[data-theme="blue"] .wwh-feature__read,.wwh-home[data-theme="blue"] .wwh-text-link{color:#456ec6!important}

/* Signature homepage */
/* WittyWriter Signature Home H1-H3 (2026-11-23)
   Deliberately scoped to main.wwh-home; appearance-theme specific with graceful fallbacks.
   Overrides the legacy layout expansion that produced the excessively tall lead card. */
html[data-ww-theme] main.wwh-home{
  --wwhs-ink:var(--ww-ink,#19233c);--wwhs-muted:var(--ww-muted,#627087);
  --wwhs-accent:var(--ww-accent,#635bdb);--wwhs-soft:var(--ww-accent-soft,#eeebfc);
  --wwhs-border:var(--ww-border,rgba(65,72,106,.14));
  --wwhs-elevation:0 16px 45px rgba(31,42,83,.075);
  --wwhs-radius:clamp(16px,var(--ww-user-radius,22px),30px);
  --wwhs-panel:var(--ww-paper,#fff);
  --wwhs-dimension:linear-gradient(135deg,rgba(215,231,255,.7),rgba(244,225,255,.56));
  background:transparent!important;color:var(--wwhs-ink);overflow:clip;
}
html[data-ww-theme] main.wwh-home>.wwh-wrap{width:min(1640px,calc(100% - 64px));padding-block:26px 80px}
html[data-ww-theme] main.wwh-home h1,html[data-ww-theme] main.wwh-home h2,html[data-ww-theme] main.wwh-home h3{letter-spacing:-.045em}
html[data-ww-theme] main.wwh-home .wwh-path{margin:0 0 12px;opacity:.86}
/* The welcome stage: a readable type-led centerpiece; works without imagery, JS or graphics. */
html[data-ww-theme] main.wwh-home .wwh-welcome{
  background:var(--wwhs-dimension)!important;border:1px solid var(--wwhs-border)!important;
  border-radius:calc(var(--wwhs-radius) + 9px)!important;box-shadow:var(--wwhs-elevation)!important;
  padding:clamp(28px,4.8vw,78px);min-height:315px;isolation:isolate;
  grid-template-columns:minmax(0,1.15fr) minmax(290px,.7fr);gap:clamp(22px,3vw,70px)
}
html[data-ww-theme] main.wwh-home .wwh-welcome:before{height:5px;background:linear-gradient(90deg,var(--wwhs-accent),#7bcbd4,#eeaf9d)}
html[data-ww-theme] main.wwh-home .wwh-welcome:after{content:"✳";right:31%;top:-115px;font-size:360px;opacity:.09;color:var(--wwhs-accent);transform:rotate(15deg)}
html[data-ww-theme] main.wwh-home .wwh-eyebrow{letter-spacing:.15em;font-size:11px;color:var(--wwhs-accent)}
html[data-ww-theme] main.wwh-home .wwh-welcome h1{font-size:clamp(39px,4vw,73px);line-height:1.06;max-width:850px;letter-spacing:-.065em}
html[data-ww-theme] main.wwh-home .wwh-welcome h1 em{color:var(--wwhs-accent)!important;font-weight:600}
html[data-ww-theme] main.wwh-home .wwh-welcome__copy>p{font-size:clamp(13px,.96vw,16px);line-height:1.75;max-width:590px}
html[data-ww-theme] main.wwh-home .wwh-welcome__actions{margin-top:24px;gap:10px}
html[data-ww-theme] main.wwh-home .wwh-button{min-height:46px;padding:10px 18px;border-radius:14px;font-size:12px;gap:22px}
html[data-ww-theme] main.wwh-home .wwh-button--primary{background:var(--wwhs-accent)!important;box-shadow:0 10px 25px color-mix(in srgb,var(--wwhs-accent) 24%,transparent)}
html[data-ww-theme] main.wwh-home .wwh-button--quiet{background:var(--wwhs-panel)!important;border:1px solid var(--wwhs-border)!important;color:var(--wwhs-ink)!important}
html[data-ww-theme] main.wwh-home .wwh-search,
html[data-ww-theme] main.wwh-home .wwh-numbers{background:color-mix(in srgb,var(--wwhs-panel) 87%,transparent)!important;border:1px solid var(--wwhs-border)!important;border-radius:19px!important;box-shadow:0 10px 30px rgba(40,55,82,.055)}
html[data-ww-theme] main.wwh-home .wwh-search{padding:19px}
html[data-ww-theme] main.wwh-home .wwh-search__field{border-radius:12px}
html[data-ww-theme] main.wwh-home .wwh-numbers{padding:18px 20px}
/* Topic navigation: no permanent scrollbar on desktop, keyboard-scroll friendly. */
html[data-ww-theme] main.wwh-home .wwh-topics-strip{border:0;gap:22px;margin:25px 0;padding:10px 4px;min-height:56px}
html[data-ww-theme] main.wwh-home .wwh-topics-strip__label{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--wwhs-muted)}
html[data-ww-theme] main.wwh-home .wwh-topics-strip__label>span{font-size:19px;color:var(--wwhs-accent)}
html[data-ww-theme] main.wwh-home .wwh-topics-strip__scroll{gap:10px;scrollbar-width:none;padding:5px 2px;mask-image:linear-gradient(90deg,#000 94%,transparent)}
html[data-ww-theme] main.wwh-home .wwh-topics-strip__scroll::-webkit-scrollbar{display:none}
html[data-ww-theme] main.wwh-home .wwh-topic-pill{
  padding:9px 15px;border-radius:999px!important;display:flex;gap:7px;align-items:center;
  background:var(--wwhs-panel)!important;color:var(--wwhs-ink)!important;border:1px solid var(--wwhs-border)!important;
  box-shadow:0 3px 12px rgba(40,55,85,.045);font-size:11px;transition:transform .2s,background .2s,border-color .2s
}
html[data-ww-theme] main.wwh-home .wwh-topic-pill:hover{transform:translateY(-2px);border-color:var(--wwhs-accent)!important;background:var(--wwhs-soft)!important}
html[data-ww-theme] main.wwh-home .wwh-topic-pill__spark{font-size:10px;color:var(--wwhs-accent)}
html[data-ww-theme] main.wwh-home .wwh-topic-pill--all{background:var(--wwhs-soft)!important;font-weight:850}
/* Magazine-style first fold, not a generic carousel. */
html[data-ww-theme] main.wwh-home .wwh-featureline{gap:18px;grid-template-columns:minmax(0,1.72fr) minmax(285px,.88fr);margin-top:17px}
html[data-ww-theme] main.wwh-home .wwh-featureline--spotlight-only,
html[data-ww-theme] main.wwh-home .wwh-featureline--trending-only{grid-template-columns:1fr}
html[data-ww-theme] main.wwh-home .wwh-feature,
html[data-ww-theme] main.wwh-home .wwh-popular{border-radius:var(--wwhs-radius)!important;border:1px solid var(--wwhs-border)!important;box-shadow:var(--wwhs-elevation)!important;overflow:hidden}
html[data-ww-theme] main.wwh-home .wwh-feature{min-height:360px;grid-template-columns:minmax(0,1.08fr) minmax(0,.82fr);background:var(--wwhs-panel)!important}
html[data-ww-theme] main.wwh-home .wwh-feature__copy{padding:clamp(23px,2.5vw,40px)}
html[data-ww-theme] main.wwh-home .wwh-feature__eyebrow{margin-bottom:22px}
html[data-ww-theme] main.wwh-home .wwh-feature h2{font-size:clamp(24px,2.35vw,40px);line-height:1.13;color:var(--wwhs-ink)}
html[data-ww-theme] main.wwh-home .wwh-feature p{font-size:12px;line-height:1.8}
html[data-ww-theme] main.wwh-home .wwh-feature__media{min-height:320px}
html[data-ww-theme] main.wwh-home .wwh-feature__read{
  min-height:42px;display:inline-flex;align-items:center;justify-content:space-between;gap:15px;
  background:var(--wwhs-accent)!important;color:#fff!important;border-radius:12px!important;
  padding:11px 16px;font-size:11px;text-decoration:none
}
html[data-ww-theme] main.wwh-home .wwh-feature__media-chip{border-radius:11px;font-size:10px;padding:10px 12px}
html[data-ww-theme] main.wwh-home .wwh-popular{background:var(--wwhs-panel)!important;padding:26px}
html[data-ww-theme] main.wwh-home .wwh-popular h2{font-size:25px}
html[data-ww-theme] main.wwh-home .wwh-popular__list li{padding:18px 0}
html[data-ww-theme] main.wwh-home .wwh-popular__list li a{font-size:13px}
html[data-ww-theme] main.wwh-home .wwh-popular__more{font-size:12px}
/* Multi-format discovery: real published calculator / product / resource pages only. */
html[data-ww-theme] main.wwh-home .wwh-discovery{margin-top:clamp(39px,5vw,70px)}
html[data-ww-theme] main.wwh-home .wwh-discovery__head{margin-bottom:20px}
html[data-ww-theme] main.wwh-home .wwh-discovery__head h2{font-size:clamp(25px,2.7vw,39px)}
html[data-ww-theme] main.wwh-home .wwh-discovery__head h2 em{font-weight:500;color:var(--wwhs-accent);font-family:Georgia,serif}
html[data-ww-theme] main.wwh-home .wwh-discovery__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:18px}
html[data-ww-theme] main.wwh-home .wwh-discovery__lane{
  background:var(--wwhs-panel);border:1px solid var(--wwhs-border);border-radius:var(--wwhs-radius);
  box-shadow:var(--wwhs-elevation);padding:clamp(19px,2vw,29px);min-width:0;position:relative;overflow:hidden
}
html[data-ww-theme] main.wwh-home .wwh-discovery__lane::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:var(--wwhs-accent)}
html[data-ww-theme] main.wwh-home .wwh-discovery__lane--products::before{background:#e7a37f}
html[data-ww-theme] main.wwh-home .wwh-discovery__lane--guides::before{background:#60b7ae}
html[data-ww-theme] main.wwh-home .wwh-discovery__lane-head{display:flex;gap:13px;align-items:center;padding-bottom:20px;border-bottom:1px solid var(--wwhs-border)}
html[data-ww-theme] main.wwh-home .wwh-discovery__icon{width:48px;height:48px;border-radius:16px;background:var(--wwhs-soft);color:var(--wwhs-accent);display:grid;place-items:center;font-size:25px;flex:none}
html[data-ww-theme] main.wwh-home .wwh-discovery__lane-head h3{margin-top:3px;font-size:clamp(17px,1.25vw,21px)}
html[data-ww-theme] main.wwh-home .wwh-discovery__count{margin-left:auto;color:var(--wwhs-muted);font-size:10px;white-space:nowrap}
html[data-ww-theme] main.wwh-home .wwh-discovery__links{display:grid;gap:0}
html[data-ww-theme] main.wwh-home .wwh-discovery__item{display:flex;align-items:center;gap:12px;min-height:74px;padding:13px 0;border-bottom:1px solid var(--wwhs-border);transition:padding .2s,color .2s}
html[data-ww-theme] main.wwh-home .wwh-discovery__item:last-child{border:0;padding-bottom:0}
html[data-ww-theme] main.wwh-home .wwh-discovery__item:hover{padding-left:5px;color:var(--wwhs-accent)}
html[data-ww-theme] main.wwh-home .wwh-discovery__bullet{font-size:17px;color:var(--wwhs-accent);width:25px;flex:none}
html[data-ww-theme] main.wwh-home .wwh-discovery__copy{display:grid;gap:4px;min-width:0;flex:1}
html[data-ww-theme] main.wwh-home .wwh-discovery__copy strong{font-size:13px;line-height:1.4;color:var(--wwhs-ink);overflow-wrap:anywhere}
html[data-ww-theme] main.wwh-home .wwh-discovery__copy small{font-size:11px;line-height:1.5;color:var(--wwhs-muted)}
html[data-ww-theme] main.wwh-home .wwh-discovery__arrow{font-size:19px;color:var(--wwhs-accent)}
/* Editorial story mosaic, expressly override the old Appearance Studio image stretch.
   Both the visual and text have controlled proportions; tall blank cards cannot recur. */
html[data-ww-theme] main.wwh-home .wwh-home-sections{gap:55px;margin-top:clamp(40px,5vw,70px)}
html[data-ww-theme] main.wwh-home .wwh-section-head{margin-bottom:22px}
html[data-ww-theme] main.wwh-home .wwh-section-head h2{font-size:clamp(27px,2.8vw,42px);line-height:1.13}
html[data-ww-theme] main.wwh-home .wwh-story-grid:not(.is-list){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
html[data-ww-theme] main.wwh-home .wwh-story{border-radius:var(--wwhs-radius)!important;background:var(--wwhs-panel)!important;border:1px solid var(--wwhs-border)!important;box-shadow:var(--wwhs-elevation)!important;min-width:0;overflow:hidden}
html[data-ww-theme] main.wwh-home .wwh-story-grid:not(.is-list) .wwh-story{display:flex;flex-direction:column;grid-column:auto;grid-row:auto;min-height:0;max-height:none}
html[data-ww-theme] main.wwh-home .wwh-story-grid:not(.is-list) .wwh-story--lead{grid-column:span 2;display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);height:360px;min-height:0}
html[data-ww-theme] main.wwh-home .wwh-story-grid:not(.is-list) .wwh-story__image{height:auto;aspect-ratio:1.62/1;min-height:0;max-height:none}
html[data-ww-theme] main.wwh-home .wwh-story-grid:not(.is-list) .wwh-story--lead .wwh-story__image{height:100%;aspect-ratio:auto;min-height:0;overflow:hidden}
html[data-ww-theme] main.wwh-home .wwh-story-grid:not(.is-list) .wwh-story__image img{display:block;width:100%!important;height:100%!important;object-fit:cover}
html[data-ww-theme] main.wwh-home .wwh-story-grid:not(.is-list) .wwh-story__body{padding:clamp(17px,1.55vw,27px);gap:10px;min-width:0}
html[data-ww-theme] main.wwh-home .wwh-story-grid:not(.is-list) .wwh-story--lead .wwh-story__body{min-height:0;overflow:hidden}
html[data-ww-theme] main.wwh-home .wwh-story-grid:not(.is-list) .wwh-story h3{font-size:clamp(16px,1.1vw,19px);line-height:1.3}
html[data-ww-theme] main.wwh-home .wwh-story-grid:not(.is-list) .wwh-story--lead h3{font-size:clamp(20px,1.65vw,29px);line-height:1.18;-webkit-line-clamp:3}
html[data-ww-theme] main.wwh-home .wwh-story__body>p{font-size:12px;line-height:1.65;max-width:58ch}
html[data-ww-theme] main.wwh-home .wwh-story__meta{flex-wrap:wrap}
html[data-ww-theme] main.wwh-home .wwh-story__more{
  margin-top:auto;min-height:45px;align-self:stretch;display:flex;align-items:center;justify-content:space-between;
  padding:11px 12px 11px 15px;border:1px solid var(--wwhs-border)!important;border-radius:13px!important;
  background:var(--wwhs-soft)!important;color:var(--wwhs-accent)!important;font-size:12px;font-weight:800;line-height:1.35
}
html[data-ww-theme] main.wwh-home .wwh-story__more:hover{border-color:var(--wwhs-accent)!important}
html[data-ww-theme] main.wwh-home .wwh-story__more-arrow{width:28px;height:28px;border-radius:9px;background:var(--wwhs-panel);display:grid;place-items:center;font-size:17px}
html[data-ww-theme] main.wwh-home .wwh-story-grid.is-list{display:grid;grid-template-columns:1fr}
html[data-ww-theme] main.wwh-home .wwh-story-grid.is-list .wwh-story{min-height:180px;max-height:none;display:grid;grid-template-columns:minmax(150px,280px) minmax(0,1fr)}
html[data-ww-theme] main.wwh-home .wwh-story-grid.is-list .wwh-story__image{min-height:180px;height:100%;aspect-ratio:auto}
html[data-ww-theme] main.wwh-home .wwh-story-grid.is-list .wwh-story__body{min-width:0;padding:20px 25px}
html[data-ww-theme] main.wwh-home .wwh-topic-card{border-radius:var(--wwhs-radius)!important}
html[data-ww-theme] main.wwh-home .wwh-category-grid{gap:18px}
html[data-ww-theme] main.wwh-home .wwh-lastword{border-radius:var(--wwhs-radius);background:var(--wwhs-dimension)!important;border:1px solid var(--wwhs-border)!important;padding:25px 30px}
/* Eight genuinely distinct treatments, deliberately driven by the existing Appearance Studio. */
html[data-ww-theme="pearl-classic"] main.wwh-home{--wwhs-dimension:linear-gradient(115deg,#fffefa,#f8f0ff 55%,#eff7ff);--wwhs-elevation:0 12px 40px rgba(91,69,114,.08)}
html[data-ww-theme="liquid-glass"] main.wwh-home{--wwhs-panel:rgba(255,255,255,.69);--wwhs-dimension:radial-gradient(circle at 82% 16%,rgba(186,210,255,.83),transparent 38%),linear-gradient(128deg,rgba(255,255,255,.84),rgba(227,240,255,.7));--wwhs-elevation:0 22px 55px rgba(45,82,142,.12),inset 0 1px rgba(255,255,255,.9)}
html[data-ww-theme="liquid-glass"] main.wwh-home :is(.wwh-welcome,.wwh-feature,.wwh-popular,.wwh-story,.wwh-discovery__lane,.wwh-topic-card){backdrop-filter:blur(var(--ww-user-blur,12px));-webkit-backdrop-filter:blur(var(--ww-user-blur,12px));border-color:rgba(255,255,255,.8)!important}
html[data-ww-theme="aurora-glass"] main.wwh-home{--wwhs-panel:rgba(250,255,253,.83);--wwhs-dimension:radial-gradient(ellipse at 18% 15%,#d9ffed,transparent 45%),radial-gradient(ellipse at 88% 25%,#e3e1ff,transparent 44%),linear-gradient(150deg,#f6fff9,#f9f6ff);--wwhs-elevation:0 16px 46px rgba(28,120,120,.095)}
html[data-ww-theme="aurora-glass"] main.wwh-home .wwh-discovery__lane{background:linear-gradient(165deg,rgba(255,255,255,.96),rgba(227,251,246,.68))}
html[data-ww-theme="editorial-luxury"] main.wwh-home{--wwhs-dimension:linear-gradient(115deg,#f9f4e9,#fffdf6);--wwhs-panel:#fffdf9;--wwhs-elevation:0 10px 28px rgba(64,45,23,.045);--wwhs-radius:8px}
html[data-ww-theme="editorial-luxury"] main.wwh-home :is(.wwh-welcome h1,.wwh-feature h2,.wwh-discovery h2,.wwh-section-head h2){font-family:Georgia,"Times New Roman",serif;letter-spacing:-.038em}
html[data-ww-theme="editorial-luxury"] main.wwh-home :is(.wwh-discovery__lane,.wwh-story,.wwh-popular,.wwh-feature){border-top:2px solid #8d704c!important}
html[data-ww-theme="bento-studio"] main.wwh-home{--wwhs-dimension:linear-gradient(125deg,#e8e4ff,#e8faf8 65%,#fff);--wwhs-elevation:0 13px 30px rgba(81,70,154,.095);--wwhs-radius:24px}
html[data-ww-theme="bento-studio"] main.wwh-home .wwh-discovery__lane--tools{background:linear-gradient(145deg,#f1ecff,#fff)}
html[data-ww-theme="bento-studio"] main.wwh-home .wwh-discovery__lane--products{background:linear-gradient(145deg,#fff1ec,#fff)}
html[data-ww-theme="soft-neumorphic"] main.wwh-home{--wwhs-panel:#edf3f9;--wwhs-dimension:linear-gradient(135deg,#e9f0f7,#e2ebf5);--wwhs-elevation:9px 9px 22px #c7d3df,-9px -9px 22px #fff;--wwhs-border:rgba(153,170,189,.12)}
html[data-ww-theme="soft-neumorphic"] main.wwh-home .wwh-story__more{box-shadow:inset 2px 2px 5px #cad5df,inset -2px -2px 5px #fff}
html[data-ww-theme="swiss-minimal"] main.wwh-home{--wwhs-panel:#fff;--wwhs-dimension:linear-gradient(90deg,#f5f5f3,#fff);--wwhs-elevation:none;--wwhs-radius:3px;--wwhs-border:#d1d1d1}
html[data-ww-theme="swiss-minimal"] main.wwh-home :is(.wwh-welcome,.wwh-story,.wwh-feature,.wwh-discovery__lane){border-top:3px solid #141414!important}
html[data-ww-theme="swiss-minimal"] main.wwh-home .wwh-welcome h1{font-weight:900;letter-spacing:-.07em}
html[data-ww-theme="swiss-minimal"] main.wwh-home .wwh-story__more{background:#fff!important;border-bottom:2px solid #111!important}
html[data-ww-theme="midnight-glass"]:not([data-ww-mode="light"]):not([data-ww-system-dark="0"]) main.wwh-home{--wwhs-panel:rgba(29,43,68,.89);--wwhs-dimension:radial-gradient(circle at 80% 20%,rgba(84,111,204,.35),transparent 38%),linear-gradient(140deg,#1b2c49,#18253d);--wwhs-elevation:0 17px 44px rgba(0,8,21,.32)}
html[data-ww-theme="midnight-glass"] main.wwh-home .wwh-topic-pill{color:var(--wwhs-ink)!important}
/* Layout choice creates editorial rhythm without breaking the controlled lead card. */
html[data-ww-home="editorial"] main.wwh-home .wwh-story-grid:not(.is-list){grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-ww-home="editorial"] main.wwh-home .wwh-story-grid:not(.is-list) .wwh-story--lead{grid-column:span 2}
html[data-ww-home="magazine"] main.wwh-home .wwh-story-grid:not(.is-list){grid-template-columns:repeat(4,minmax(0,1fr))}
html[data-ww-home="magazine"] main.wwh-home .wwh-story-grid:not(.is-list) .wwh-story--lead{grid-column:span 2}
html[data-ww-home="dashboard"] main.wwh-home .wwh-discovery__grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
/* Responsive behavior has greater specificity than theme layout rules above. */
@media(max-width:1100px){
 html[data-ww-theme] main.wwh-home .wwh-featureline{grid-template-columns:1fr}
 html[data-ww-theme] main.wwh-home .wwh-feature{min-height:310px}
 html[data-ww-theme] main.wwh-home .wwh-popular__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
 html[data-ww-theme] main.wwh-home .wwh-popular__list li{border-bottom:0;padding:9px;border-right:1px solid var(--wwhs-border)}
 html[data-ww-theme] main.wwh-home .wwh-popular__list li:last-child{border-right:0}
}
@media(max-width:900px){
 html[data-ww-theme] main.wwh-home>.wwh-wrap{width:min(100% - 36px,1640px)}
 html[data-ww-theme] main.wwh-home .wwh-welcome{grid-template-columns:1fr;padding:30px;min-height:0}
 html[data-ww-theme] main.wwh-home .wwh-welcome__right{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 html[data-ww-theme] main.wwh-home .wwh-welcome__right>*{min-width:0}
 html[data-ww-theme] main.wwh-home .wwh-story-grid:not(.is-list){grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-ww-home] main.wwh-home .wwh-story-grid:not(.is-list) .wwh-story--lead{grid-column:span 2}
 html[data-ww-theme] main.wwh-home .wwh-story-grid:not(.is-list) .wwh-story--lead{height:335px}
}
@media(max-width:640px){
 html[data-ww-theme] main.wwh-home>.wwh-wrap{width:calc(100% - 28px);padding-block:14px 50px}
 html[data-ww-theme] main.wwh-home .wwh-path{padding:8px 0}
 html[data-ww-theme] main.wwh-home .wwh-path__end{display:none}
 html[data-ww-theme] main.wwh-home .wwh-welcome{padding:25px 21px;gap:22px;border-radius:23px!important}
 html[data-ww-theme] main.wwh-home .wwh-welcome h1{font-size:clamp(33px,9vw,48px)}
 html[data-ww-theme] main.wwh-home .wwh-welcome__right{grid-template-columns:1fr}
 html[data-ww-theme] main.wwh-home .wwh-topics-strip{display:flex;flex-direction:column;align-items:stretch;gap:7px}
 html[data-ww-theme] main.wwh-home .wwh-topics-strip__scroll{width:100%}
 html[data-ww-theme] main.wwh-home .wwh-featureline{grid-template-columns:1fr!important}
 html[data-ww-theme] main.wwh-home .wwh-feature{display:flex;flex-direction:column-reverse;min-height:0}
 html[data-ww-theme] main.wwh-home .wwh-feature__media{height:230px;min-height:230px}
 html[data-ww-theme] main.wwh-home .wwh-feature__copy{padding:23px}
 html[data-ww-theme] main.wwh-home .wwh-feature h2{font-size:clamp(24px,6vw,33px)}
 html[data-ww-theme] main.wwh-home .wwh-feature__bottom{flex-wrap:wrap}
 html[data-ww-theme] main.wwh-home .wwh-popular{padding:20px}
 html[data-ww-theme] main.wwh-home .wwh-popular__list{display:block}
 html[data-ww-theme] main.wwh-home .wwh-popular__list li{border-right:0;border-bottom:1px solid var(--wwhs-border);padding:13px 0}
 html[data-ww-theme] main.wwh-home .wwh-section-head{align-items:start;flex-direction:column}
 html[data-ww-theme] main.wwh-home .wwh-story-grid:not(.is-list){grid-template-columns:1fr!important}
 html[data-ww-home] main.wwh-home .wwh-story-grid:not(.is-list) .wwh-story--lead{display:flex;grid-column:auto;flex-direction:column;height:auto;min-height:0}
 html[data-ww-theme] main.wwh-home .wwh-story-grid:not(.is-list) .wwh-story--lead .wwh-story__image{aspect-ratio:1.62/1;height:auto;min-height:0}
 html[data-ww-theme] main.wwh-home .wwh-story-grid.is-list .wwh-story{grid-template-columns:120px minmax(0,1fr);min-height:160px}
 html[data-ww-theme] main.wwh-home .wwh-story-grid.is-list .wwh-story__image{min-height:160px}
 html[data-ww-theme] main.wwh-home .wwh-story-grid.is-list .wwh-story__body{padding:12px;gap:5px}
 html[data-ww-theme] main.wwh-home .wwh-story-grid.is-list .wwh-story__more{min-height:30px;padding:5px 8px}
 html[data-ww-theme] main.wwh-home .wwh-story-grid.is-list .wwh-story__more-arrow{display:none}
 html[data-ww-theme] main.wwh-home .wwh-discovery__grid{grid-template-columns:1fr}
 html[data-ww-theme] main.wwh-home .wwh-lastword{padding:22px}
}
@media(prefers-reduced-motion:reduce){html[data-ww-theme] main.wwh-home *,html[data-ww-theme] main.wwh-home *::before,html[data-ww-theme] main.wwh-home *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

