/* Homepage composition owns its layout; business modules provide data only. */
.wx-home-page{--home-ink:#123457;--home-copy:#405875;--home-line:#dce5f2}
.wx-home-page [hidden]{display:none!important}
.wx-home-page p,.wx-home-page h2,.wx-home-page h3{overflow-wrap:anywhere}
.wx-home-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:28px;row-gap:12px;align-items:center;margin:0 0 30px}
.wx-home-kicker{grid-column:1/-1;color:#0052d9;font-size:14px;line-height:1.6;font-weight:700;letter-spacing:.04em}
.site-root.v3 .wx-home-heading h2{grid-column:1;grid-row:2;font-size:clamp(26px,2.6vw,36px);line-height:1.45;color:var(--home-ink);margin:0;font-weight:700;min-width:0}
.wx-home-heading h2>span{display:block}
.wx-home-heading-action{grid-column:2;grid-row:2;align-self:center}
.wx-home-heading-action:empty{display:none}
.site-root.v3 .wx-home-heading>p{grid-column:1/-1;font-size:16px;line-height:1.9;color:var(--home-copy);margin:0;max-width:1050px}
.wx-home-page .v5-gallery-head{display:block}
.wx-home-page .v5-gallery-head .wx-home-heading{margin-bottom:0}
.site-root.v3 .wx-home-page .v5-gallery-head .wx-home-heading h2{color:#fff}
.site-root.v3 .wx-home-page .v5-gallery-head .wx-home-kicker,.site-root.v3 .wx-home-page .v5-gallery-head .wx-home-heading>p{color:#dbe6fa}
.wx-home-page .v3-hn-list{grid-template-columns:repeat(var(--news-count,3),minmax(0,1fr))}
.wx-home-page .v3-hn-list:empty{min-height:100px}
.wx-home-strip{padding:20px 0;background:#f3f8ff}
/* Category cards have their own styling, independent of the old catalogue tiles. */
.wx-home-page .wx-home-feature-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:28px}
.site-root.v3 .wx-home-feature-card{min-width:0;padding:24px 22px 20px;border:1px solid #dfe7f1;border-radius:4px;background:linear-gradient(150deg,#f4f8ff,#fff 45%);box-shadow:0 3px 12px #193c6004;transition:border-color .18s,box-shadow .18s}
.wx-home-feature-header{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-height:60px}
.wx-home-feature-symbol{display:grid;place-items:center;width:42px;height:42px;background:#eaf2ff;border-radius:3px;color:#0052d9}
.wx-home-feature-symbol>.wx-product-icon{display:block;width:29px;height:29px;max-width:100%;max-height:100%;object-fit:contain}
.site-root.v3 .wx-home-feature-header h3{margin:0;color:#153657;font-size:20px;font-weight:650;line-height:1.5;letter-spacing:-.025em}
.site-root.v3 .wx-home-feature-links{list-style:none;padding:0;margin:19px 0 0}
.site-root.v3 .wx-home-feature-links li{list-style:none;margin:0;padding:0}
.site-root.v3 .wx-home-feature-links a{display:grid;grid-template-columns:minmax(0,1fr) 16px;align-items:center;gap:12px;margin:0 -9px;padding:10px 9px;border:0;border-radius:2px;background:transparent;color:#405771;font-size:16px;font-weight:400;line-height:1.6;text-decoration:none;transition:color .16s,background-color .16s}
.wx-home-feature-links a>span{min-width:0;overflow-wrap:anywhere}
.wx-home-feature-links a>.wx-icon{width:16px;height:16px;color:#859bb5;transition:color .16s,transform .16s}
.site-root.v3 .wx-home-feature-card:hover,.site-root.v3 .wx-home-feature-card:focus-within{border-color:#b9cfe9;box-shadow:0 7px 20px #173e6c09}
.site-root.v3 .wx-home-feature-links a:hover{color:#0052d9;background:#edf4ff}
.wx-home-feature-links a:hover>.wx-icon{color:#0052d9;transform:translateX(2px)}
.wx-home-feature-links a:focus-visible{outline:2px solid #0052d9;outline-offset:1px;background:#edf4ff}
@media(max-width:1150px) and (min-width:1001px){.wx-home-page .wx-home-feature-groups{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px) and (min-width:561px){.wx-home-page .wx-home-feature-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.site-root.v3 .wx-home-feature-card{padding:22px 20px 18px}.site-root.v3 .wx-home-feature-header h3{font-size:19px}}
@media(prefers-reduced-motion:reduce){.site-root.v3 .wx-home-feature-card,.site-root.v3 .wx-home-feature-links a,.wx-home-feature-links a>.wx-icon{transition:none}}
.wx-home-page .wx-home-product-no-image{grid-template-columns:1fr}
.wx-home-page .wx-product-picture>img{display:block;width:100%;height:100%;object-fit:cover}
.wx-home-card-grid{display:grid;gap:24px}
.wx-home-card-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}
.wx-home-card-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.wx-home-card-grid:has(> :only-child){grid-template-columns:1fr}
.wx-home-card-grid--three:has(> :last-child:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr))}
.wx-home-content-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid var(--home-line);border-radius:5px;background:#fff;transition:border-color .18s,box-shadow .18s}
.wx-home-content-card:hover{border-color:#a2bfe8;box-shadow:0 10px 26px #1234570b}
.wx-home-card-media{display:block;overflow:hidden;aspect-ratio:2.1;background:#edf4ff}
.wx-home-card-media img{display:block;width:100%;height:100%;object-fit:cover}
.wx-home-card-copy{display:flex;flex:1;min-width:0;flex-direction:column;padding:25px 27px}
.site-root.v3 .wx-home-card-copy h3{margin:0 0 12px;font-size:23px;line-height:1.5;color:var(--home-ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.wx-home-card-copy h3 a{color:inherit;text-decoration:none}
.site-root.v3 .wx-home-card-copy>p{margin:0 0 24px;font-size:16px;line-height:1.9;color:var(--home-copy);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.site-root.v3 .wx-home-card-action{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:auto;padding-top:18px;border-top:1px solid #e5edf7;color:#0052d9;font-size:16px;font-weight:600;text-decoration:none}
.wx-home-card-action .wx-icon{width:20px;height:20px;flex:none}
.wx-home-case-card .wx-home-card-media{aspect-ratio:2.45;background:#113c70}
.wx-home-card-category{font-size:14px;line-height:1.7;color:#526a87;margin-bottom:12px}
.wx-home-case-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #dce5f2;margin-top:auto;padding-top:23px}
.wx-home-case-bottom dl{display:flex;gap:26px;flex-wrap:wrap;margin:0}
.wx-home-case-bottom dl>div{display:flex;flex-direction:column-reverse;gap:7px}
.wx-home-case-bottom dt{font-size:14px;line-height:1.6;color:#405875}
.wx-home-case-bottom dd{margin:0;color:#0052d9;font-size:29px;font-weight:700;line-height:1.25;overflow-wrap:anywhere}
.wx-home-case-bottom dd small{font-size:14px;font-weight:400;margin-left:4px}
.site-root.v3 .wx-home-case-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;flex:none;white-space:nowrap;border:1px solid #d4e0f0;border-radius:3px;background:#f8faff;color:#0052d9;font-size:16px;font-weight:600;padding:12px 16px;text-decoration:none}
.wx-home-case-tags{display:flex;gap:8px;flex-wrap:wrap;min-width:0}
.wx-home-case-tags span{font-size:14px;line-height:1.7;color:#315b87;background:#edf4ff;padding:4px 9px}
.wx-home-page .wx-home-resource-card .wx-resource-card-copy h3{font-size:22px;line-height:1.5;overflow-wrap:anywhere}
.wx-home-page .wx-home-resource-card .wx-resource-card-copy>p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.wx-home-resource-cover>img{width:100%;height:100%;object-fit:cover;display:block}
.wx-home-page .wx-home-about-no-facts{grid-template-columns:1fr}
.wx-home-page .wx-home-about .wx-home-heading{margin-bottom:24px}
.wx-home-page .wx-home-about-copy p{font-size:16px;line-height:1.95;color:var(--home-copy);margin:0 0 24px}
.wx-home-about-facts[data-count="1"]{grid-template-columns:1fr}
.wx-home-about-facts[data-count="3"]>div:last-child{grid-column:1/-1}
.wx-home-page .wx-home-about-facts strong{overflow-wrap:anywhere}
.wx-home-page .v5-copy{min-width:0}
.wx-home-page .v5-copy h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.wx-home-page .v5-copy>p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:1050px){.wx-home-card-grid--three{grid-template-columns:repeat(2,minmax(0,1fr))}.wx-home-case-bottom{flex-wrap:wrap}.wx-home-case-link{margin-left:auto}.wx-home-heading{column-gap:18px}.wx-home-heading-action .v3-text-link{padding:11px 13px}}
@media(max-width:760px){.wx-home-heading{column-gap:12px;row-gap:12px;margin-bottom:24px}.site-root.v3 .wx-home-heading h2{font-size:27px}.wx-home-kicker{font-size:12px}.site-root.v3 .wx-home-heading>p{font-size:16px}.wx-home-heading-action .v3-text-link{font-size:14px;gap:7px;padding:10px}.wx-home-card-grid--two{grid-template-columns:1fr}.wx-home-card-copy{padding:22px}.site-root.v3 .wx-home-card-copy h3{font-size:22px}.wx-home-case-bottom dd{font-size:27px}.wx-home-page .v3-hn-list{grid-template-columns:1fr}.wx-home-case-card .wx-home-card-media{aspect-ratio:2}.wx-home-page .wx-home-feature-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.wx-home-page .v5-copy>p{-webkit-line-clamp:3}.wx-home-page .v5-metric{overflow-wrap:anywhere}}
@media(max-width:560px){.wx-home-card-grid--three,.wx-home-card-grid--three:has(> :last-child:nth-child(2)){grid-template-columns:1fr}.wx-home-page .wx-home-feature-groups{grid-template-columns:1fr}.wx-home-heading{grid-template-columns:1fr}.wx-home-heading-action{grid-column:1;grid-row:4;justify-self:start}.site-root.v3 .wx-home-heading h2{font-size:26px}.wx-home-heading>p{grid-row:3}.wx-home-page .v5-copy-foot{flex-wrap:wrap;gap:14px}.wx-home-page .v5-copy{left:22px;right:22px;max-width:none}.wx-home-page .v3-float{max-width:90%}}
@media(prefers-reduced-motion:reduce){.wx-home-content-card{transition:none}}

/* Phone layouts reserve full rows for actions and numeric summaries. */
@media(max-width:760px){
 .site-root.v3 .wx-home-page .v3-hero .hero-btns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .site-root.v3 .wx-home-page .v3-hero .hero-btns>a{width:100%;min-width:0;height:auto;min-height:46px;padding:11px 14px;font-size:15px;line-height:1.5;gap:8px}
 .wx-home-page .v3-hero .hero-btns .wx-icon{flex-shrink:0}
 .wx-home-case-bottom{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding-top:16px}
 .wx-home-case-bottom dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;width:100%}
 .wx-home-case-bottom dl>div{min-width:0;gap:5px}
 .wx-home-case-bottom dt{font-size:13px;overflow-wrap:anywhere}
 .wx-home-case-bottom dd{font-size:26px;white-space:nowrap;overflow-wrap:normal}
 .wx-home-case-bottom dd small{font-size:12px;white-space:nowrap}
 .wx-home-case-tags{gap:6px}
 .wx-home-case-tags span{font-size:12px;padding:4px 8px;overflow-wrap:anywhere}
 .site-root.v3 .wx-home-case-bottom>.wx-home-case-link{justify-self:end;min-height:36px;border:0;background:transparent;padding:0;gap:8px;font-size:14px}
}
@media(max-width:480px){
 .site-root.v3 .wx-home-page .v3-hero .hero-btns{grid-template-columns:minmax(0,1fr)}
}
