/* Shared reading and discovery presentation. Keep the existing brand palette. */
.nl-editorial .article-hero.imported-hero{padding:42px 0 36px;background:#f2f6ff;border-bottom:1px solid #dbe4f1}
.nl-editorial .imported-hero>.wrap{max-width:1100px}
.nl-editorial .imported-hero h1{max-width:26ch;font-size:clamp(32px,3.3vw,48px);line-height:1.18;letter-spacing:-1px;margin:14px 0 20px;text-wrap:balance}
.nl-editorial .imported-deck{max-width:70ch;font-size:19px;line-height:1.6;margin-bottom:20px}
.nl-editorial .imported-hero .crumbs{margin-bottom:20px}
.nl-editorial .imported-hero .kicker{margin-bottom:12px}
.nl-editorial .imported-layout{max-width:1100px;grid-template-columns:minmax(0,740px) minmax(220px,270px);gap:64px}
.nl-editorial .content-section:has(.imported-layout){padding:36px 0 60px}
.nl-editorial .imported-body{font-size:18px;line-height:1.75;color:#34445e}
.nl-editorial .imported-body p{margin-bottom:20px}
.nl-editorial .imported-body h2{font-size:clamp(24px,2.4vw,29px);line-height:1.28;letter-spacing:-.55px;margin:38px 0 17px;text-wrap:pretty}
.nl-editorial .imported-body h3{font-size:22px;line-height:1.35}
.nl-editorial .imported-body li{padding-left:3px;margin-bottom:10px}
.nl-editorial .imported-body .imported-cover{margin:22px 0 30px}
.nl-editorial .imported-body .imported-cover img{display:block;width:auto!important;max-width:100%;height:auto!important;max-height:300px;aspect-ratio:auto;object-fit:contain;border-radius:14px;margin:0 auto}
.nl-editorial .imported-body .imported-cover figcaption{text-align:center}
.nl-editorial .article-jump summary{padding:14px 18px}
.nl-editorial .imported-body .nl-story-math{background:#f1f5ff;border:1px solid #d6e0f5;border-left:4px solid #008da8;border-radius:0 12px 12px 0;padding:18px 22px;margin:24px 0;font-variant-numeric:tabular-nums;color:#172449}
.nl-editorial .nl-story-math ul{list-style:none;margin:0;padding:0}
.nl-editorial .nl-story-math li{margin:0;padding:7px 0;line-height:1.5}
.nl-editorial .nl-story-math li:last-child{border-top:1px solid #cbd8ef;margin-top:6px;padding-top:12px;font-weight:700;color:#244bc5}
.nl-editorial .imported-body .nl-story-note{font-size:13px;line-height:1.7;margin:32px 0 18px;color:#52607b}
.nl-editorial .nl-story-sources{font-size:14px;line-height:1.6}
.nl-editorial .nl-story-sources ul{margin:12px 0;padding-left:20px}
.nl-editorial .nl-old-anchor{display:block;scroll-margin-top:90px}
.nl-editorial .imported-sidebar .article-help{padding:22px;font-size:15px;border:1px solid #dbe4f1}
.nl-editorial .article-related-row a{font-size:14px;line-height:1.4}
.nl-editorial .imported-body .article-related-row img{max-height:100px;aspect-ratio:1.8/1;object-fit:cover}
/* Indexes use smaller photos and clear text rows, instead of tall repeated cards. */
.nl-editorial .blog-hero{padding:38px 0;background:#f2f6ff}
.nl-editorial .blog-hero h1{font-size:clamp(34px,4vw,50px);line-height:1.16}
.nl-editorial .blog-hero> .wrap>p{font-size:18px;max-width:68ch}
.nl-editorial .blog-feature{margin-top:30px;padding:28px;gap:32px;border-radius:18px;grid-template-columns:1.2fr 1fr}
.nl-editorial .blog-feature h2{font-size:clamp(26px,2.8vw,34px);line-height:1.25}
.nl-editorial .blog-feature .blog-feature-image{height:260px;object-fit:cover;border-radius:12px}
.nl-editorial .blog-feature p{font-size:16px}
.nl-editorial #article-library{padding:42px 0 60px}
.nl-editorial #article-library>.wrap{max-width:1160px}
.nl-editorial .section-heading{margin-bottom:24px}
.nl-editorial .section-heading h2{font-size:30px}
.nl-editorial .blog-controls,.nl-editorial .nl-scenario-controls{background:#f5f8ff;padding:18px;border:1px solid #dbe4f1;border-radius:14px;margin:24px 0;gap:16px}
.nl-editorial .blog-controls input{width:300px}
.nl-editorial .blog-grid,.nl-editorial .nl-scenarios{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 36px}
.nl-editorial .blog-card,.nl-editorial .nl-scenario{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:start;gap:20px;border:0;border-bottom:1px solid #dbe4f1;border-radius:0;padding:24px 0;margin:0;max-width:none;background:white;overflow:visible}
.nl-editorial .blog-art,.nl-editorial .nl-scenario-image{height:140px;width:150px;border-radius:10px;overflow:hidden;background:#edf3ff}
.nl-editorial .blog-art .blog-cover-image,.nl-editorial .nl-scenario-image img{display:block;width:100%;height:100%;min-height:0;object-fit:cover}
.nl-editorial .blog-card-copy,.nl-editorial .nl-scenario-copy{min-width:0;padding:0;display:block}
.nl-editorial .blog-card h3,.nl-editorial .nl-scenario h2{font-size:20px;line-height:1.35;letter-spacing:-.3px;margin:5px 0 10px;text-wrap:pretty}
.nl-editorial .nl-scenario h2 a,.nl-editorial .blog-card h3 a{text-decoration:none}
.nl-editorial .nl-scenario h2 a:hover,.nl-editorial .blog-card h3 a:hover{text-decoration:underline;text-underline-offset:3px}
.nl-editorial .blog-card-copy>p:not(.kicker):not(.article-meta),.nl-editorial .nl-scenario-copy>p:not(.kicker):not(.source-note){font-size:14px;line-height:1.6;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nl-editorial .blog-card .article-meta,.nl-editorial .nl-scenario .source-note{font-size:11px;line-height:1.5;color:#52607b;margin:0 0 10px}
.nl-editorial .blog-card .read-link,.nl-editorial .nl-scenario-copy>a{font-size:13px;font-weight:700;color:#244bc5}
.nl-editorial .blog-card .kicker,.nl-editorial .nl-scenario .kicker{font-size:10px;letter-spacing:1px;line-height:1.5;margin:0;color:#244bc5}
.nl-editorial .nl-scenario details{font-size:12px;margin-top:12px}
.nl-editorial .nl-scenario-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:32px 0}
.nl-editorial .nl-scenario-pagination button{background:white;color:#244bc5;border:1px solid #a5b9e0;border-radius:10px;min-height:44px;padding:10px 18px;cursor:pointer}
.nl-editorial .nl-scenario-pagination button:disabled{opacity:.45;cursor:default}
.nl-editorial .nl-tools{max-width:1160px}
.nl-editorial .product-hero{padding:32px 0 36px}
.nl-editorial .product-hero .crumbs{margin-bottom:20px}
.nl-editorial .product-hero h1{font-size:clamp(32px,4vw,46px)}
@media(max-width:1050px){.nl-editorial .imported-layout{grid-template-columns:minmax(0,1fr);max-width:740px;gap:32px}.nl-editorial .imported-sidebar{position:static}.nl-editorial .blog-card,.nl-editorial .nl-scenario{grid-template-columns:115px minmax(0,1fr);gap:16px}.nl-editorial .blog-art,.nl-editorial .nl-scenario-image{width:115px;height:115px}.nl-editorial .blog-grid,.nl-editorial .nl-scenarios{gap:0 26px}}
@media(max-width:760px){.nl-editorial .blog-grid,.nl-editorial .nl-scenarios{grid-template-columns:1fr}.nl-editorial .blog-hero{padding:28px 0}.nl-editorial .blog-feature{grid-template-columns:1fr;padding:20px;gap:20px}.nl-editorial .blog-feature-image{grid-row:1}.nl-editorial .blog-feature .blog-feature-image{height:210px}.nl-editorial .blog-controls{display:grid;grid-template-columns:1fr 1fr;padding:14px;gap:12px}.nl-editorial .blog-controls label:first-child{grid-column:1/-1}.nl-editorial .blog-controls input,.nl-editorial .blog-controls select{width:100%;min-width:0;font-size:16px}.nl-editorial .blog-card,.nl-editorial .nl-scenario{grid-template-columns:100px minmax(0,1fr);padding:22px 0;gap:16px}.nl-editorial .blog-art,.nl-editorial .nl-scenario-image{width:100px;height:110px}.nl-editorial .blog-card h3,.nl-editorial .nl-scenario h2{font-size:18px;line-height:1.38}.nl-editorial .article-hero.imported-hero{padding:28px 0}.nl-editorial .imported-hero h1{font-size:32px;line-height:1.2}.nl-editorial .imported-deck{font-size:17px}.nl-editorial .imported-body{font-size:17px;line-height:1.75}.nl-editorial .imported-body .imported-cover img{aspect-ratio:auto;max-height:240px}.nl-editorial .imported-body .nl-story-math{padding:14px 16px;font-size:16px}.nl-editorial .content-section:has(.imported-layout){padding:24px 0 40px}.nl-editorial .nl-scenario-controls{grid-template-columns:1fr;padding:14px;gap:14px}.nl-editorial #article-library{padding-top:30px}.nl-editorial .section-heading h2{font-size:27px}.nl-editorial .nl-scenario-pagination{gap:12px;font-size:13px}}
@media(max-width:360px){.nl-editorial .blog-card,.nl-editorial .nl-scenario{grid-template-columns:80px minmax(0,1fr);gap:12px}.nl-editorial .blog-art,.nl-editorial .nl-scenario-image{width:80px;height:90px}.nl-editorial .blog-card h3,.nl-editorial .nl-scenario h2{font-size:17px}.nl-editorial .imported-hero h1{font-size:29px}}
/* A compact, editorial opening for the blog index. */
.nl-blog-compact .blog-hero{background:#fff;padding:20px 0 0}
.nl-blog-compact .blog-hero>.wrap{max-width:1160px}
.nl-blog-compact .blog-topline{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:16px}
.nl-blog-compact .blog-topline h1{font-size:28px;letter-spacing:-.6px;margin:0;line-height:1.2}
.nl-blog-compact .blog-topline a{font-size:13px}
.nl-blog-compact .blog-lead{display:block;position:relative;height:280px;overflow:hidden;border-radius:10px;background:#172449;color:#fff;text-decoration:none}
.nl-blog-compact .blog-lead:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,17,34,.95),rgba(8,17,34,.6) 35%,transparent 80%)}
.nl-blog-compact .blog-lead>.blog-feature-image{width:100%;height:100%;object-fit:cover;object-position:center 38%;border-radius:0}
.nl-blog-compact .blog-lead-copy{position:absolute;bottom:24px;left:28px;right:28px;z-index:1;max-width:590px}
.nl-blog-compact .blog-lead-copy p{font-size:13px;line-height:1.4;color:white;margin:0 0 8px}
.nl-blog-compact .blog-lead h2{font-size:30px;line-height:1.18;color:white;margin:0;letter-spacing:-.4px}
.nl-blog-compact .blog-lead:hover h2{text-decoration:underline;text-underline-offset:4px}
.nl-blog-compact .blog-lead:focus-visible{outline:3px solid #244bc5;outline-offset:4px}
.nl-blog-compact #article-library{padding-top:24px}
.nl-blog-compact .section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px}
.nl-blog-compact .section-heading h2{font-size:23px;margin:0}
.nl-blog-compact .section-heading a{font-size:13px}
.nl-blog-compact .blog-controls{display:grid;grid-template-columns:minmax(200px,2fr) minmax(150px,1fr) minmax(140px,1fr);gap:12px;background:none;border:0;border-radius:0;padding:0;margin:0}
.nl-blog-compact .blog-controls label{display:flex;flex-direction:column;gap:4px;font-size:12px;min-width:0}
.nl-blog-compact .blog-controls input,.nl-blog-compact .blog-controls select{width:100%;min-width:0;min-height:44px;height:44px;padding:8px 12px;font-size:16px;border-radius:6px;margin:0}
.nl-blog-compact #blog-results{font-size:12px;margin:10px 0 0;line-height:1.5;color:#52607b}
@media(max-width:760px){
.nl-blog-compact .blog-hero{padding-top:16px}
.nl-blog-compact .blog-topline{gap:8px;margin-bottom:12px}
.nl-blog-compact .blog-topline h1{font-size:23px}
.nl-blog-compact .blog-topline a{font-size:11px;max-width:105px;text-align:right;line-height:1.4}
.nl-blog-compact .blog-lead{height:230px}
.nl-blog-compact .blog-lead-copy{left:16px;right:16px;bottom:16px}
.nl-blog-compact .blog-lead h2{font-size:23px;line-height:1.2}
.nl-blog-compact .blog-lead-copy p{font-size:11px;margin-bottom:6px}
.nl-blog-compact #article-library{padding-top:18px}
.nl-blog-compact .section-heading h2{font-size:21px}
.nl-blog-compact .section-heading a{font-size:11px}
.nl-blog-compact .blog-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 10px}
.nl-blog-compact .blog-controls label:first-child{grid-column:1/-1}
}
.nl-blog-compact .section-heading{max-width:none}
@media(min-width:761px){
.nl-blog-compact .blog-lead>.blog-feature-image{position:absolute;right:0;width:55%;object-position:center 28%}
.nl-blog-compact .blog-lead:after{background:linear-gradient(90deg,#172449 39%,rgba(23,36,73,.4) 65%,transparent)}
.nl-blog-compact .blog-lead-copy{max-width:46%;bottom:32px}
}
