.nefc-hero-carousel,.nefc-news-carousel{position:relative;--nefc-gap:32px}
.nefc-hero-carousel>.wp-block-post-template,.nefc-news-carousel>.wp-block-post-template{display:flex!important;flex-wrap:nowrap;gap:var(--nefc-gap);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;list-style:none;margin:0;padding:0}
.nefc-hero-carousel>.wp-block-post-template::-webkit-scrollbar,.nefc-news-carousel>.wp-block-post-template::-webkit-scrollbar{display:none}
.nefc-hero-carousel{--nefc-gap:0px;margin-block:0!important;background:#000;color:#fff}
.nefc-hero-carousel>.wp-block-post-template>li{flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start;margin:0}
.nefc-hero-carousel .wp-block-cover{min-height:75vh;box-sizing:border-box;padding:clamp(24px,5vw,80px);padding-bottom:110px}
.nefc-hero-carousel .wp-block-cover__background{background:linear-gradient(90deg,rgba(0,0,0,.83),rgba(0,0,0,.42) 58%,rgba(0,0,0,.14)),linear-gradient(0deg,rgba(0,0,0,.65),transparent 65%)!important;opacity:1!important}
.nefc-hero-carousel .wp-block-cover__inner-container{width:100%;max-width:var(--wp--style--global--wide-size,80rem);margin-inline:auto}
.nefc-hero-carousel .nefc-hero-copy{max-width:850px;margin-inline:0!important}
.nefc-hero-carousel .nefc-hero-copy > *{margin-inline:0!important}
.nefc-hero-carousel .wp-block-post-title{font-family:var(--wp--preset--font-family--oswald);font-size:clamp(2rem,3.8vw,4rem);line-height:1.12;text-transform:uppercase;margin:18px 0;max-width:100%}
.nefc-hero-carousel .wp-block-post-title a,.nefc-hero-carousel .wp-block-post-terms a,.nefc-hero-carousel .wp-block-read-more{color:#fff!important;text-decoration:none}
.nefc-hero-carousel .wp-block-post-title a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.nefc-hero-carousel .wp-block-post-terms{font-size:1rem;font-weight:600}
.nefc-hero-carousel .wp-block-post-excerpt{max-width:660px;font-size:clamp(1rem,1.3vw,1.2rem);line-height:1.55;margin:0 0 24px}
.nefc-hero-carousel .wp-block-post-excerpt p{margin:0}
.nefc-hero-carousel .wp-block-read-more{display:inline-block;background:var(--wp--preset--color--primary);padding:12px 22px;border-radius:0;font-size:1rem;font-weight:600}
.nefc-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:24px;color:var(--wp--preset--color--foreground);font-family:var(--wp--preset--font-family--inter);font-size:14px}
.nefc-hero-carousel>.nefc-controls{position:absolute;bottom:28px;left:clamp(24px,5vw,80px);right:clamp(24px,5vw,80px);justify-content:flex-start;padding:0;color:#fff;z-index:4}
.nefc-controls button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid currentColor;border-radius:0;background:transparent;color:inherit;cursor:pointer;font:inherit;padding:8px 12px;line-height:1}
.nefc-controls button:hover{background:var(--wp--preset--color--primary);border-color:var(--wp--preset--color--primary);color:#fff}
.nefc-controls button:focus-visible,.nefc-hero-carousel a:focus-visible{outline:3px solid currentColor;outline-offset:4px}
.nefc-controls button:disabled{opacity:.35;cursor:default}
.nefc-controls .nefc-arrow{font-size:24px}
.nefc-counter{min-width:56px;text-align:center;font-variant-numeric:tabular-nums}
.nefc-news-carousel>.wp-block-post-template>li{flex:0 0 calc((100% - 64px)/3);scroll-snap-align:start;min-width:0;box-sizing:border-box;margin:0}
.nefc-news-carousel>.wp-block-post-template>li>.wp-block-group{height:100%;box-sizing:border-box}
.nefc-institutional .wp-block-cover{min-height:38vh;padding:clamp(32px,5vw,64px)}
.nefc-institutional .wp-block-cover__inner-container{max-width:var(--wp--style--global--wide-size,80rem);margin-inline:auto;width:100%}
.nefc-institutional h1{font-family:var(--wp--preset--font-family--oswald);font-size:clamp(2rem,3vw,3.25rem);line-height:1.15;margin:0}
.nefc-institutional p{font-size:clamp(1rem,1.3vw,1.2rem);line-height:1.6}
@media(max-width:900px){.nefc-news-carousel>.wp-block-post-template>li{flex-basis:calc((100% - 32px)/2)}.nefc-hero-carousel .nefc-hero-copy{max-width:720px}}
@media(max-width:599px){.nefc-hero-carousel .wp-block-cover{padding:24px 24px 100px;min-height:75vh}.nefc-hero-carousel .nefc-hero-copy > *{margin-inline:0!important}
.nefc-hero-carousel .wp-block-post-title{font-size:clamp(1.65rem,7.5vw,2.35rem);line-height:1.13}.nefc-hero-carousel .wp-block-post-excerpt{font-size:1rem;line-height:1.45}.nefc-hero-carousel>.nefc-controls{left:24px;right:24px;bottom:24px}.nefc-news-carousel>.wp-block-post-template>li{flex-basis:100%}.nefc-institutional .wp-block-cover{min-height:0;padding:36px 24px}.nefc-institutional .wp-block-columns{gap:24px}.nefc-controls{gap:8px}}
@media(prefers-reduced-motion:reduce){.nefc-hero-carousel>.wp-block-post-template,.nefc-news-carousel>.wp-block-post-template{scroll-behavior:auto!important}}
