/* Article archives and search: compact editorial layout, with useful empty states. */
.nex-blog-page{--blog-teal:var(--nex-secondary-dark);--blog-dark:var(--nex-navy);--blog-muted:#526b83;background:#fff}
.nex-blog-page .nex-container{width:min(calc(100% - clamp(36px,10vw,160px)),1400px)}
.nex-blog-page h1,.nex-blog-page h2,.nex-blog-page p{margin:0}
.nex-blog-page .nex-eyebrow{margin-bottom:12px;font-size:.7rem;letter-spacing:.13em;color:var(--nex-primary-dark)}
.nex-blog-hero{position:relative;overflow:hidden;background:linear-gradient(110deg,#f0faf9,#f5fafa);border-bottom:1px solid #e1eeed;padding:36px 0 42px}
.nex-blog-hero::after{position:absolute;right:-100px;top:-185px;width:370px;height:370px;border:52px solid #e3f5f1;border-radius:50%;content:"";pointer-events:none}
.nex-blog-hero__grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,.45fr);gap:48px;align-items:center}
.nex-blog-breadcrumb{display:flex;align-items:center;gap:10px;margin-bottom:22px;color:var(--blog-muted);font-size:.78rem}
.nex-blog-breadcrumb a{display:inline-flex;align-items:center;min-height:32px;color:var(--nex-primary-dark)}
.nex-blog-breadcrumb a:hover{text-decoration:underline;text-underline-offset:4px}
.nex-blog-hero h1{max-width:850px;font-size:clamp(2rem,3.5vw,3.6rem);line-height:1.14;letter-spacing:-.05em;color:var(--blog-dark);overflow-wrap:anywhere;text-wrap:balance}
.nex-blog-lead{max-width:690px;margin-top:18px!important;color:var(--blog-muted);font-size:1rem;line-height:1.65;overflow-wrap:anywhere}
.nex-blog-resource-link{display:flex;align-items:center;gap:15px;padding:22px;background:#fff;border:1px solid #d4e7e5;border-radius:18px;box-shadow:0 12px 35px rgba(20,70,75,.04);transition:background .2s,border-color .2s}
.nex-blog-resource-link>span:nth-child(2){flex:1;min-width:0}
.nex-blog-resource-link strong{display:block;color:var(--blog-dark);font-size:.9rem;line-height:1.45}
.nex-blog-resource-link>span:nth-child(2)>span{display:block;margin-top:5px;color:var(--blog-muted);font-size:.78rem;line-height:1.5}
.nex-blog-resource-link>span:last-child svg{width:19px;height:19px;color:var(--blog-teal)}
.nex-blog-resource-link:hover{background:#f3fcfa;border-color:#83c8bd}
.nex-blog-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;background:#eaf7f3;border-radius:12px;color:var(--blog-teal)}
.nex-blog-icon svg{width:25px;height:25px}
.nex-blog-content{padding:38px 0 56px}
.nex-blog-empty{display:flex;align-items:flex-start;gap:26px;padding:34px 38px;border:1px solid #d9e8e8;border-radius:20px;background:linear-gradient(110deg,#fff,#f7fcfb)}
.nex-blog-empty__icon{display:grid;place-items:center;flex:none;width:70px;height:70px;border-radius:18px;background:#e5f5ef;color:var(--blog-teal)}
.nex-blog-empty__icon svg{width:33px;height:33px}
.nex-blog-empty__copy{min-width:0;flex:1}
.nex-blog-empty h2{max-width:850px;color:var(--blog-dark);font-size:clamp(1.35rem,2vw,1.8rem);letter-spacing:-.035em;line-height:1.3;text-wrap:balance}
.nex-blog-empty__copy>p:not(.nex-eyebrow){max-width:860px;margin-top:12px;color:var(--blog-muted);font-size:.94rem;line-height:1.65}
.nex-blog-empty__actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:22px}
.nex-blog-page .nex-button{min-height:46px;padding:11px 20px;font-size:.85rem;border-radius:12px;background:var(--blog-teal);color:#fff}
.nex-blog-page .nex-button:hover{background:var(--nex-primary-dark);color:#fff}
.nex-blog-read-link{display:inline-flex;align-items:center;gap:9px;min-height:44px;color:var(--nex-primary-dark);font-size:.85rem;font-weight:700}
.nex-blog-read-link svg{width:18px;height:18px}
.nex-blog-read-link:hover{color:var(--blog-teal);text-decoration:underline;text-underline-offset:4px}
.nex-blog-search{max-width:670px;margin-top:20px}
.nex-blog-search label{display:block;margin-bottom:8px;font-size:.84rem;font-weight:650;color:var(--blog-dark)}
.nex-blog-search>div{display:flex;gap:10px}
.nex-blog-search input[type=search]{flex:1;min-width:0;min-height:46px;padding:10px 14px;border:1px solid #bfd8de;border-radius:11px;background:#fff;color:var(--blog-dark);font-size:.9rem}
.nex-blog-search button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 17px;border:0;border-radius:11px;background:var(--blog-teal);color:#fff;font-size:.85rem;font-weight:700;cursor:pointer;transition:background .2s}
.nex-blog-search button svg{width:18px;height:18px}
.nex-blog-search button:hover{background:var(--nex-primary-dark)}
.nex-blog-tools{margin-top:38px}
.nex-blog-tools__head{margin-bottom:20px}
.nex-blog-tools h2{font-size:clamp(1.35rem,2.1vw,1.8rem);line-height:1.3;letter-spacing:-.035em;color:var(--blog-dark)}
.nex-blog-topics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.nex-blog-topics>a{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:24px;border:1px solid #d9e8e8;border-radius:16px;background:#fff;transition:background .2s,border-color .2s}
.nex-blog-topics>a:hover{background:#f3fcfa;border-color:#83c8bd}
.nex-blog-topics strong{margin-top:16px;color:var(--blog-dark);font-size:.94rem;line-height:1.45}
.nex-blog-topic-description{margin-top:9px;color:var(--blog-muted);font-size:.85rem;line-height:1.6;flex:1}
.nex-blog-topic-action{display:inline-flex;align-items:center;gap:8px;min-height:32px;margin-top:14px;color:var(--nex-primary-dark);font-size:.8rem;font-weight:700}
.nex-blog-topic-action svg{width:17px;height:17px}
.nex-blog-articles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.nex-blog-card{min-width:0;overflow:hidden;border:1px solid #d9e8e8;border-radius:18px;background:#fff}
.nex-blog-card__image{display:block;aspect-ratio:16/10;overflow:hidden;background:#eaf7f3}
.nex-blog-card__image img{width:100%;height:100%;object-fit:cover}
.nex-blog-card__placeholder{display:grid;place-items:center;aspect-ratio:16/10;background:linear-gradient(135deg,#e7f7f2,#edf4f8);color:var(--blog-teal)}
.nex-blog-card__placeholder svg{width:52px;height:52px}
.nex-blog-card__body{padding:24px}
.nex-blog-card time{display:block;font-size:.76rem;color:var(--blog-muted)}
.nex-blog-card h2{margin-top:11px;font-size:1.25rem;line-height:1.4;letter-spacing:-.03em;color:var(--blog-dark);overflow-wrap:anywhere}
.nex-blog-card h2 a:hover{color:var(--blog-teal)}
.nex-blog-card p{margin-top:12px;font-size:.9rem;color:var(--blog-muted);line-height:1.65}
.nex-blog-card .nex-blog-read-link{margin-top:15px}
.nex-resource-list-page .nex-blog-card{display:flex;flex-direction:column}
.nex-resource-list-page .nex-blog-card__image{flex:none}
.nex-resource-list-page .nex-blog-card__body{display:flex;flex:1;flex-direction:column;align-items:flex-start}
.nex-resource-list-page .nex-blog-card__body p{margin-bottom:15px}
.nex-resource-list-page .nex-blog-read-link{margin-top:auto}
.nex-blog-page .pagination{margin-top:28px}
.nex-blog-page .nav-links{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.nex-blog-page .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 13px;border:1px solid #cde2df;border-radius:10px;background:#fff;color:var(--nex-primary-dark)}
.nex-blog-page .page-numbers.current,.nex-blog-page a.page-numbers:hover{background:var(--blog-teal);border-color:var(--blog-teal);color:#fff}
.nex-blog-page a:focus-visible,.nex-blog-page input:focus-visible,.nex-blog-page button:focus-visible{outline:3px solid var(--nex-primary-dark);outline-offset:4px}
@media(max-width:1000px){.nex-blog-hero__grid{grid-template-columns:minmax(0,1fr) 300px;gap:28px}.nex-blog-resource-link{padding:18px;gap:12px}.nex-blog-topics{grid-template-columns:repeat(2,minmax(0,1fr))}.nex-blog-articles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.nex-blog-page .nex-container{width:calc(100% - 36px)}.nex-blog-hero{padding:22px 0 28px}.nex-blog-hero__grid{grid-template-columns:1fr;gap:24px}.nex-blog-breadcrumb{margin-bottom:18px}.nex-blog-hero h1{font-size:2.2rem}.nex-blog-lead{font-size:.94rem}.nex-blog-resource-link{max-width:460px}.nex-blog-content{padding:24px 0 38px}.nex-blog-empty{padding:24px;gap:18px}.nex-blog-empty__icon{width:50px;height:50px;border-radius:13px}.nex-blog-empty__icon svg{width:26px;height:26px}.nex-blog-empty__actions{gap:10px 20px;margin-top:18px}.nex-blog-tools{margin-top:30px}.nex-blog-topics{gap:14px}.nex-blog-topics>a{padding:19px}.nex-blog-articles{gap:18px}.nex-blog-card__body{padding:20px}}
@media(max-width:480px){.nex-blog-hero h1{font-size:2rem}.nex-blog-empty{flex-direction:column;padding:24px 20px}.nex-blog-empty h2{text-wrap:initial}.nex-blog-empty__actions{align-items:stretch;flex-direction:column}.nex-blog-empty__actions .nex-blog-read-link{justify-content:center}.nex-blog-topics,.nex-blog-articles{grid-template-columns:1fr}.nex-blog-topics>a{display:grid;grid-template-columns:46px minmax(0,1fr);column-gap:14px}.nex-blog-topics .nex-blog-icon{grid-row:1/4}.nex-blog-topics strong{margin-top:0}.nex-blog-topic-description{margin-top:5px}.nex-blog-topic-action{margin-top:8px}.nex-blog-search>div{flex-direction:column}.nex-blog-search button{align-self:stretch}}

/* NEX resource library: shared photographic hero, lighter cards and explicit pagination. */
.nex-resource-list-page{--library-mint:#9aeadd;--library-surface:#f3f7f8;background:var(--library-surface)}
.nex-resource-list-page .nex-container{width:min(calc(100% - clamp(28px,5vw,72px)),var(--nex-container))}
.nex-resource-list-page .nex-blog-hero{display:flex;align-items:center;min-height:490px;padding:46px 0 54px;background-color:var(--nex-ice);background-image:linear-gradient(90deg,rgba(245,251,252,.45) 0%,rgba(245,251,252,.3) 42%,rgba(245,251,252,0) 65%),url("../images/nex-resource-library-hero-v1.png.webp");background-size:cover;background-position:center;background-repeat:no-repeat;border:0}
.nex-resource-list-page .nex-blog-hero::after{display:none}
.nex-resource-list-page .nex-blog-hero__grid{grid-template-columns:minmax(0,1fr);gap:0}
.nex-resource-list-page .nex-blog-hero__grid>div{max-width:690px}
.nex-resource-list-page .nex-blog-hero .nex-eyebrow{color:var(--nex-primary-dark)}
.nex-resource-list-page .nex-blog-hero .nex-eyebrow::after{display:block;width:52px;height:2px;margin-top:16px;background:var(--nex-primary);content:""}
.nex-resource-list-page .nex-blog-hero h1{color:var(--nex-navy);font-size:clamp(2.5rem,4.5vw,4.5rem);letter-spacing:-.045em;line-height:1.08}
.nex-resource-list-page .nex-blog-hero h1 span{color:var(--nex-secondary-dark)}
.nex-resource-list-page .nex-blog-lead{color:var(--blog-muted);max-width:550px;font-size:1rem;line-height:1.75}
.nex-resource-list-page .nex-blog-breadcrumb{color:var(--blog-muted);margin-bottom:28px;flex-wrap:wrap}
.nex-resource-list-page .nex-blog-breadcrumb a{color:var(--nex-primary-dark);min-height:44px}
.nex-resource-list-page .nex-blog-content{padding:42px 0 60px}
.nex-resource-list-toolbar{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}
.nex-resource-list-toolbar h2{font-size:clamp(1.4rem,2.3vw,1.8rem);line-height:1.25}
.nex-resource-list-page .nex-resource-list-count{flex:none;padding:10px 15px;border:1px solid #cfe6e2;border-radius:999px;background:#e7f5f1;color:var(--nex-secondary-dark);font-size:.85rem;font-weight:700}
.nex-resource-list-page .nex-blog-articles{gap:24px;align-items:stretch}
.nex-resource-list-page .nex-blog-card{border-color:#deeaeb;border-radius:24px;box-shadow:0 10px 30px rgba(15,45,50,.05);transition:box-shadow .2s,border-color .2s}
.nex-resource-list-page .nex-blog-card:hover{border-color:#9ecfc5;box-shadow:0 16px 36px rgba(15,45,50,.09)}
.nex-resource-list-page .nex-blog-card__image{aspect-ratio:16/9}
.nex-resource-list-page .nex-blog-card__body{padding:26px}
.nex-resource-list-page .nex-blog-card time{align-self:flex-start;padding:7px 10px;border-radius:999px;background:#e8f5f1;color:var(--nex-secondary-dark);font-size:.72rem;font-weight:700}
.nex-resource-list-page .nex-blog-card h2{margin-top:16px;font-size:1.25rem;line-height:1.35;letter-spacing:-.035em}
.nex-resource-list-page .nex-blog-card p{margin-top:14px;margin-bottom:24px;line-height:1.7}
.nex-resource-list-page .nex-blog-read-link{min-height:46px;padding:11px 17px;border-radius:999px;background:var(--nex-secondary-dark);color:var(--nex-white);font-size:.87rem;font-weight:750;text-decoration:none;transition:background .2s}
.nex-resource-list-page .nex-blog-read-link:hover{color:var(--nex-white);background:var(--nex-primary-dark);text-decoration:none}
.nex-resource-list-page .pagination{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;margin-top:30px;padding:20px 24px;border:1px solid #deeaeb;border-radius:20px;background:var(--nex-white)}
.nex-resource-list-page .nex-resource-page-status{color:var(--blog-muted);font-size:.88rem}
.nex-resource-list-page .nex-resource-page-status strong{color:var(--nex-navy)}
.nex-resource-list-page .nav-links{gap:8px;align-items:center}
.nex-resource-list-page .page-numbers{gap:9px;min-height:46px;min-width:46px;border-radius:12px;font-weight:700;font-size:.87rem}
.nex-resource-list-page .page-numbers.disabled{background:#f0f4f5;border-color:#f0f4f5;color:#627480;cursor:default}
.nex-resource-list-page .nex-blog-hero a:focus-visible{outline-color:var(--nex-primary-dark)}
@media(min-width:721px) and (max-width:1000px){.nex-resource-list-page .nex-blog-hero__grid>div{max-width:60%}.nex-resource-list-page .nex-blog-hero h1{font-size:clamp(2.5rem,4.5vw,3rem)}}
@media(max-width:720px){.nex-resource-list-page .nex-blog-hero{min-height:0;padding:24px 0 32px;background-image:linear-gradient(rgba(245,251,252,.93),rgba(245,251,252,.91)),url("../images/nex-resource-library-hero-v1.png.webp");background-position:65% center}.nex-resource-list-page .nex-blog-breadcrumb{margin-bottom:18px}.nex-resource-list-page .nex-blog-hero h1{font-size:clamp(2.2rem,9vw,3rem)}.nex-resource-list-page .nex-blog-content{padding:30px 0 40px}.nex-resource-list-toolbar{align-items:start;flex-wrap:wrap;gap:16px}.nex-resource-list-page .nex-blog-card__body{padding:22px}.nex-resource-list-page .pagination{padding:20px 14px;justify-content:center}.nex-resource-list-page .nex-resource-page-status{width:100%;text-align:center}}
@media(prefers-reduced-motion:reduce){.nex-resource-list-page .nex-blog-card,.nex-resource-list-page .nex-blog-read-link{transition:none}}
@media(max-width:680px){.nex-resource-list-page .nex-container{width:min(calc(100% - 28px),var(--nex-container))}}
