*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5f7fa;color:#18243a;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}a:hover{color:var(--nv-accent)}img{max-width:100%;height:auto}button,input{font:inherit}.container{max-width:1240px;padding:0 22px;margin:auto}.site-header{background:var(--nv-header);color:#fff}.header-inner{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:116px}.site-title{font-weight:850;font-size:36px;letter-spacing:-1.5px;color:#fff}.site-description{display:block;font-size:12px;opacity:.75}.custom-logo{display:block;max-height:86px;width:auto}.header-actions{display:flex;align-items:center;gap:18px}.search-form{display:flex;align-items:center;border-radius:7px;overflow:hidden;background:#fff}.search-form input{width:180px;padding:9px 12px;border:0;min-width:0}.search-form button{background:var(--nv-accent);color:#fff;border:0;padding:9px 14px;cursor:pointer}.main-nav{background:var(--nv-menu);color:var(--nv-menu-text);border-top:1px solid #ffffff29}.menu,.footer-menu{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:0}.menu li{position:relative}.menu a{display:block;padding:13px 16px;color:var(--nv-menu-text);font-weight:700;font-size:13px;text-transform:uppercase}.menu a:hover,.menu .current-menu-item>a{color:var(--nv-hover)}.menu .sub-menu{display:none;position:absolute;z-index:10;background:var(--nv-menu);min-width:190px;list-style:none;padding:0;box-shadow:0 8px 20px #0003}.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu{display:block}.menu-toggle{display:none;border:1px solid #ffffff70;background:transparent;border-radius:5px;color:#fff;padding:7px 12px;cursor:pointer}.page-main{padding-top:27px;padding-bottom:60px}.news-strip{display:flex;align-items:center;gap:14px;background:#fff;padding:12px 16px;margin-bottom:26px;border:1px solid #e4e8ed}.news-strip strong{background:var(--nv-accent);color:#fff;padding:4px 12px;font-size:12px;letter-spacing:.5px}.news-strip span{font-size:13px}.section-heading{display:flex;align-items:center;margin:0 0 19px;border-bottom:2px solid #e0e6ef}.section-heading h1,.section-heading h2{font-size:23px;margin:0;padding:0 0 8px;border-bottom:3px solid var(--nv-accent);line-height:1.25}.featured-section{margin-bottom:44px}.featured-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.featured-grid .post-card:first-child{grid-column:span 2;grid-row:span 2}.featured-grid .post-card:first-child h3{font-size:23px}.post-card{background:#fff;border:1px solid #e7ebf0;overflow:hidden;border-radius:6px;min-width:0}.card-image{display:block;aspect-ratio:16/10;overflow:hidden;background:#dce4ee}.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.card-image:hover img{transform:scale(1.04)}.image-placeholder{display:grid;place-items:center;height:100%;color:#7e8a9e;font-weight:800;letter-spacing:1px}.card-body{padding:15px}.card-meta,.article-meta{font-size:12px;color:#697789}.card-meta a,.article-meta a{color:var(--nv-accent)}.post-card h3{font-size:17px;line-height:1.35;margin:9px 0}.post-card p{color:#647184;font-size:13px;line-height:1.55;margin:0}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:31px}.content-grid.no-sidebar{grid-template-columns:minmax(0,1fr)}.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.sidebar .widget{background:#fff;padding:22px;margin-bottom:22px;border:1px solid #e7ebf0;border-radius:6px}.widget-title{margin:0 0 12px;font-size:19px;border-bottom:2px solid var(--nv-accent);padding-bottom:8px}.widget ul{padding-left:20px}.widget li{padding:3px 0}.single-article,.author-box,.related-section,.comments-area,.page-content{background:#fff;border:1px solid #e7ebf0;padding:30px;border-radius:6px}.single-article{margin-bottom:22px}.article-title{font-size:clamp(30px,4vw,45px);line-height:1.16;margin:12px 0}.byline{font-size:13px;color:#6b7785;margin-bottom:19px}.hero-photo{margin:0 0 25px}.hero-photo img{width:100%;height:auto}.entry-content{font-size:17px;line-height:1.85;overflow-wrap:anywhere}.entry-content a{color:var(--nv-accent);text-decoration:underline}.entry-content h2,.entry-content h3{line-height:1.3}.entry-content img{height:auto}.entry-content iframe{max-width:100%}.article-tags{margin:20px 0}.post-navigation{margin-bottom:25px}.post-navigation .nav-links{display:flex;justify-content:space-between;gap:15px}.author-box,.related-section{margin-bottom:23px}.author-box h2{margin:0 0 15px}.author-details{display:flex;gap:18px;align-items:flex-start}.related-section .article-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.comments-area{margin-top:23px}.comments-area input:not([type="submit"]),.comments-area textarea{max-width:100%;border:1px solid #cbd5e1;padding:10px}.comments-area input[type="submit"]{background:var(--nv-accent);color:#fff;border:0;padding:12px 20px;cursor:pointer}.pagination{margin-top:23px}.pagination .page-numbers{display:inline-block;padding:7px 12px;background:#fff;border:1px solid #ddd;margin-right:5px}.site-footer{background:var(--nv-footer);color:#cdd4e0;margin-top:35px}.footer-main{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:30px;padding-top:43px;padding-bottom:35px}.footer-title{color:#fff;font-size:25px;margin:0 0 9px}.footer-menu{display:block}.footer-menu a{padding:4px;display:inline-block}.copyright{border-top:1px solid #ffffff24;padding-top:18px;padding-bottom:18px;font-size:13px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}.skip-link:focus{clip:auto;height:auto;width:auto;background:#fff;color:#000;padding:10px;z-index:1000}.wp-block-image img{height:auto}@media(max-width:1000px){.featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-grid .post-card:first-child{grid-column:span 2;grid-row:auto}.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid{grid-template-columns:minmax(0,1fr) 240px}}@media(max-width:760px){.container{padding-left:15px;padding-right:15px}.header-inner{min-height:85px}.site-title{font-size:27px}.menu-toggle{display:block}.main-nav{display:none}.main-nav.is-open{display:block}.menu{display:block}.menu .sub-menu{display:block;position:static;box-shadow:none;padding-left:20px}.search-form input{width:120px}.content-grid,.content-grid.no-sidebar{grid-template-columns:minmax(0,1fr)}.featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-main{grid-template-columns:1fr}.related-section .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.featured-grid,.article-grid,.related-section .article-grid{grid-template-columns:1fr}.featured-grid .post-card:first-child{grid-column:span 1}.search-form{display:none}.single-article,.author-box,.related-section,.comments-area,.page-content{padding:17px}}

/* NewsVision v0.2 preset layout engine: 10x10 homepage, 6x5 header, 6x5 footer */
:root{--nv-active:#ffb703;--nv-dropdown:#14213d;--nv-mobile:#14213d}
.menu .current-menu-item>a,.menu .current-menu-ancestor>a{color:var(--nv-active)}
.menu .sub-menu{background:var(--nv-dropdown)}
/* Featured-story arrangements */
.nv-hero-2 .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nv-hero-2 .featured-grid .post-card:first-child{grid-column:auto;grid-row:auto}
.nv-hero-3 .featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.nv-hero-3 .featured-grid .post-card:first-child{grid-column:span 2;grid-row:auto}
.nv-hero-4 .featured-grid{grid-template-columns:1fr}.nv-hero-4 .featured-grid .post-card:first-child{grid-column:auto;grid-row:auto}
.nv-hero-5 .featured-grid{grid-template-columns:repeat(4,1fr)}.nv-hero-5 .featured-grid .post-card:first-child{grid-column:span 4;grid-row:auto}
.nv-hero-6 .featured-grid{grid-template-columns:repeat(2,1fr);gap:9px}.nv-hero-6 .featured-grid .post-card:first-child{grid-column:auto;grid-row:auto}.nv-hero-6 .featured-grid .card-image{aspect-ratio:21/9}
.nv-hero-7 .featured-grid{grid-template-columns:repeat(3,1fr)}.nv-hero-7 .featured-grid .post-card:first-child{grid-column:span 3;grid-row:auto}.nv-hero-7 .featured-grid .post-card:first-child .card-image{aspect-ratio:21/8}
.nv-hero-8 .featured-grid{grid-template-columns:repeat(4,1fr)}.nv-hero-8 .featured-grid .post-card:first-child{grid-column:span 2;grid-row:auto}.nv-hero-8 .featured-grid .card-image{aspect-ratio:3/4}
.nv-hero-9 .featured-grid{grid-template-columns:repeat(2,1fr)}.nv-hero-9 .featured-grid .post-card:first-child{grid-column:auto;grid-row:auto}.nv-hero-9 .featured-grid .post-card{border-radius:0;border-top:3px solid #18243a}
.nv-hero-10 .featured-grid{grid-template-columns:repeat(4,1fr)}.nv-hero-10 .featured-grid .post-card:first-child{grid-column:span 2;grid-row:auto}.nv-hero-10 .featured-grid .post-card:nth-child(2){grid-column:span 2}
/* Latest stories arrangements */
.nv-feed-2 .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.nv-feed-3 .article-grid{grid-template-columns:1fr}.nv-feed-3 .article-grid .post-card{display:grid;grid-template-columns:210px 1fr}.nv-feed-3 .article-grid .card-image{height:100%}
.nv-feed-4 .article-grid{grid-template-columns:repeat(2,1fr)}.nv-feed-4 .article-grid .post-card:nth-child(3n){grid-column:span 2}
.nv-feed-5 .article-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.nv-feed-5 .article-grid .card-body{padding:10px}
.nv-feed-6 .article-grid{grid-template-columns:repeat(2,1fr);gap:30px}.nv-feed-6 .article-grid .card-image{aspect-ratio:4/3}
.nv-feed-7 .article-grid .post-card{border:0;background:transparent;box-shadow:none}.nv-feed-7 .article-grid .card-body{padding:12px 0}
.nv-feed-8 .article-grid{grid-template-columns:repeat(2,1fr)}.nv-feed-8 .article-grid .post-card:nth-child(even){margin-top:32px}
.nv-feed-9 .article-grid{grid-template-columns:repeat(2,1fr)}.nv-feed-9 .article-grid .post-card:first-child{grid-column:span 2;display:grid;grid-template-columns:1fr 1fr}
.nv-feed-10 .article-grid{grid-template-columns:repeat(4,1fr);gap:8px}.nv-feed-10 .article-grid .post-card h3{font-size:14px}.nv-feed-10 .article-grid .card-body{padding:9px}
/* Header shape 6 x details 5 */
.nv-header-2 .header-inner{flex-direction:column;justify-content:center;text-align:center;padding-top:20px;padding-bottom:20px;gap:12px}
.nv-header-3 .header-inner{flex-direction:row-reverse}
.nv-header-4 .header-inner{min-height:70px}.nv-header-4 .custom-logo{max-height:52px}.nv-header-4 .site-title{font-size:27px}
.nv-header-5 .header-inner{min-height:165px;align-items:flex-end;padding-bottom:30px}
.nv-header-6 .header-inner{max-width:1050px}.nv-header-6 .main-nav>.container{max-width:1050px}
.nv-hdetail-2 .main-nav{border-top:4px solid var(--nv-accent)}
.nv-hdetail-3 .main-nav .container{border-radius:20px;overflow:visible}.nv-hdetail-3 .menu a{border-radius:20px}
.nv-hdetail-4 .main-nav{margin:0 auto;max-width:1140px;border-radius:12px;box-shadow:0 8px 24px #0002}
.nv-hdetail-5 .main-nav{border-top:6px solid #ffffff35;border-bottom:3px solid var(--nv-accent)}
/* Footer shape 6 x details 5 */
.nv-footer-2 .footer-main{grid-template-columns:repeat(4,minmax(0,1fr))}
.nv-footer-3 .footer-main{grid-template-columns:1fr;text-align:center}.nv-footer-3 .footer-menu{display:flex;justify-content:center}
.nv-footer-4 .footer-main{grid-template-columns:2fr 1fr}
.nv-footer-5 .footer-main{grid-template-columns:1fr 1fr}.nv-footer-5 .footer-title{font-size:20px}
.nv-footer-6 .footer-main{grid-template-columns:1fr;text-align:left;gap:12px}
.nv-fdetail-2 .footer-main{border-top:5px solid var(--nv-accent)}
.nv-fdetail-3 .footer-main>div{background:#ffffff0d;padding:18px;border-radius:12px}
.nv-fdetail-4 .footer-main{padding-top:78px;padding-bottom:65px}
.nv-fdetail-5 .site-footer{border-top:7px solid var(--nv-accent)}.nv-fdetail-5 .footer-title{color:var(--nv-hover)}
@media(max-width:760px){.main-nav.is-open{background:var(--nv-mobile)}.featured-grid,.article-grid,[class*="nv-hero-"] .featured-grid,[class*="nv-feed-"] .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-grid .post-card:first-child,[class*="nv-hero-"] .featured-grid .post-card:first-child,[class*="nv-feed-"] .article-grid .post-card:first-child{grid-column:auto;grid-row:auto;display:block}.nv-feed-3 .article-grid .post-card{display:block}.footer-main,[class*="nv-footer-"] .footer-main{grid-template-columns:1fr}}
@media(max-width:480px){.featured-grid,.article-grid,[class*="nv-hero-"] .featured-grid,[class*="nv-feed-"] .article-grid{grid-template-columns:1fr}.nv-feed-8 .article-grid .post-card:nth-child(even){margin-top:0}}

/* v0.3: independent logo positioning and menu search */
.header-inner{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px}
.header-inner .branding{grid-column:1;min-width:0;justify-self:start}
.header-inner .header-actions{grid-column:3;justify-self:end}
.nv-logo-center .header-inner .branding{grid-column:2;justify-self:center;text-align:center}
.nv-logo-right .header-inner .branding{grid-column:3;justify-self:end;text-align:right}
.nv-logo-right .header-inner .header-actions{grid-column:1;grid-row:1;justify-self:start}
.nv-logo-center .header-inner .header-actions{grid-column:3;grid-row:1}
.branding .custom-logo-link{display:inline-block;max-width:100%}
.branding .custom-logo{max-width:100%;object-fit:contain}
.nv-nav-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:46px}
.nv-navigation-links{min-width:0;flex:1}
.nv-nav-search{flex:0 0 auto;margin-left:auto}
.nv-nav-search .search-form input{width:155px;padding:7px 9px;font-size:13px}
.nv-nav-search .search-form button{padding:7px 12px;font-size:13px}
@media(max-width:900px){.nv-nav-inner{flex-wrap:wrap}.nv-nav-search{margin:6px 0 8px auto}.menu a{padding:12px 9px}.nv-nav-search .search-form input{width:118px}}
@media(max-width:760px){.header-inner,.nv-header-2 .header-inner,.nv-header-3 .header-inner{display:grid;grid-template-columns:1fr auto;min-height:85px;gap:10px;text-align:left;flex-direction:initial;padding-top:10px;padding-bottom:10px}.header-inner .branding,.nv-logo-center .header-inner .branding,.nv-logo-right .header-inner .branding{grid-column:1;grid-row:1;justify-self:start;text-align:left}.header-inner .header-actions,.nv-logo-center .header-inner .header-actions,.nv-logo-right .header-inner .header-actions{grid-column:2;grid-row:1;justify-self:end}.nv-nav-inner{display:block}.nv-nav-search{padding:8px 0}.nv-nav-search .search-form{display:flex}.nv-nav-search .search-form input{width:100%;flex:1}.header-actions .search-form{display:none}}
@media(max-width:480px){.nv-nav-search .search-form{display:flex}.nv-nav-search .search-form input{display:block;width:100%}}
/* v0.5 editable homepage sections */
.nv-custom-block{margin-bottom:40px}.nv-custom-block .article-grid,.nv-custom-block .featured-grid{grid-template-columns:repeat(var(--nv-block-cols,3),minmax(0,1fr))}.nv-custom-block .featured-grid .post-card:first-child{grid-column:auto;grid-row:auto}.nv-custom-block .nv-block-list{grid-template-columns:1fr}.nv-custom-block .nv-block-list .post-card{display:grid;grid-template-columns:minmax(130px,28%) 1fr}.nv-custom-block .nv-block-list .card-image{height:100%}.nv-home-widgets{max-width:800px;margin:0 auto}.nv-home-widgets .sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}@media(max-width:760px){.nv-custom-block .article-grid,.nv-custom-block .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nv-home-widgets .sidebar{grid-template-columns:1fr}}@media(max-width:480px){.nv-custom-block .article-grid,.nv-custom-block .featured-grid{grid-template-columns:1fr}.nv-custom-block .nv-block-list .post-card{display:block}}

/* v0.6 - keep widget column beside post grids on wide screens */
.nv-home-layout{display:block}.nv-home-layout.has-sidebar{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px;align-items:start}.nv-home-primary{min-width:0}.nv-home-layout .nv-home-widgets{max-width:none;margin:0;min-width:0}.nv-home-layout .nv-home-widgets .sidebar{display:block}.nv-home-layout .nv-home-widgets .sidebar .widget{margin-bottom:20px}.nv-home-layout .nv-custom-block .article-grid,.nv-home-layout .nv-custom-block .featured-grid{grid-template-columns:repeat(var(--nv-block-cols,3),minmax(0,1fr))}@media(max-width:1000px){.nv-home-layout.has-sidebar{grid-template-columns:minmax(0,1fr) 250px;gap:18px}}@media(max-width:760px){.nv-home-layout.has-sidebar{display:block}.nv-home-layout .nv-custom-block .article-grid,.nv-home-layout .nv-custom-block .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.nv-home-layout .nv-custom-block .article-grid,.nv-home-layout .nv-custom-block .featured-grid{grid-template-columns:1fr}}

/* v0.7 stable homepage layout overrides old preset combinations. */
.nv-simple-home.has-sidebar{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:start}
.nv-simple-home .nv-home-primary,.nv-simple-home .nv-custom-block{min-width:0}
.nv-simple-home .nv-custom-block .article-grid,.nv-simple-home .nv-custom-block .featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
.nv-simple-home .post-card{min-width:0;height:auto;align-self:start;display:block;grid-column:auto!important;grid-row:auto!important;margin:0!important;overflow:hidden}
.nv-simple-home .post-card .card-image{display:block;height:auto;aspect-ratio:16/10;overflow:hidden}
.nv-simple-home .post-card .card-image img{display:block;width:100%;height:100%;object-fit:cover}
.nv-simple-home .post-card .card-body{height:auto;padding:14px}
.nv-simple-home .post-card h3{font-size:17px;line-height:1.35;overflow-wrap:anywhere;margin:8px 0}
.nv-simple-home .post-card p{margin:7px 0 0;line-height:1.55}
.nv-simple-home .nv-block-list{display:grid!important;grid-template-columns:1fr!important}
.nv-simple-home .nv-block-list .post-card{display:grid!important;grid-template-columns:36% minmax(0,1fr)!important}
.nv-simple-home .nv-block-list .card-image{height:100%;aspect-ratio:auto}
.nv-simple-home .nv-home-widgets{max-width:none;margin:0}
.nv-simple-home .nv-home-widgets .sidebar{display:block;grid-template-columns:none}
.nv-simple-home .nv-home-widgets .widget{margin-bottom:20px}
.nv-style-wide.nv-home-layout{display:block}
.nv-style-wide .nv-custom-block .article-grid,.nv-style-wide .nv-custom-block .featured-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.nv-style-compact .nv-custom-block .article-grid,.nv-style-compact .nv-custom-block .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1050px){.nv-simple-home.has-sidebar{grid-template-columns:minmax(0,1fr) 250px;gap:20px}.nv-simple-home .nv-custom-block .article-grid,.nv-simple-home .nv-custom-block .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.nv-simple-home.has-sidebar{display:block}.nv-simple-home .nv-custom-block .article-grid,.nv-simple-home .nv-custom-block .featured-grid,.nv-style-wide .nv-custom-block .article-grid,.nv-style-wide .nv-custom-block .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nv-simple-home .nv-home-widgets{margin-top:26px}}
@media(max-width:520px){.nv-simple-home .nv-custom-block .article-grid,.nv-simple-home .nv-custom-block .featured-grid,.nv-style-wide .nv-custom-block .article-grid,.nv-style-wide .nv-custom-block .featured-grid{grid-template-columns:1fr}.nv-simple-home .nv-block-list .post-card{display:block!important}.nv-simple-home .nv-block-list .card-image{aspect-ratio:16/10}}

/* Respect section column selector unless compact preset takes precedence. */
.nv-simple-home:not(.nv-style-compact):not(.nv-style-wide) .nv-custom-block .article-grid:not(.nv-block-list),.nv-simple-home:not(.nv-style-compact):not(.nv-style-wide) .nv-custom-block .featured-grid{grid-template-columns:repeat(min(3,var(--nv-block-cols,3)),minmax(0,1fr))}
.nv-simple-home.nv-style-wide .nv-custom-block .article-grid:not(.nv-block-list),.nv-simple-home.nv-style-wide .nv-custom-block .featured-grid{grid-template-columns:repeat(min(4,var(--nv-block-cols,4)),minmax(0,1fr))}
.nv-simple-home.nv-style-compact .nv-custom-block .article-grid:not(.nv-block-list),.nv-simple-home.nv-style-compact .nv-custom-block .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list),.nv-simple-home .nv-custom-block .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list),.nv-simple-home .nv-custom-block .featured-grid{grid-template-columns:1fr!important}}


/* v0.7.1 homepage layout hotfix: section layouts cannot inherit preset card grids. */
.nv-simple-home .nv-custom-block .featured-grid,
.nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:start!important}
/* Four featured posts fit neatly in a 2-by-2 grid instead of an orphan row. */
.nv-simple-home .nv-custom-block .nv-featured-four{grid-template-columns:repeat(2,minmax(0,1fr))!important}
/* A list is one full-width article per row. Never three narrow lists side by side. */
.nv-simple-home .nv-custom-block .article-grid.nv-block-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
.nv-simple-home .nv-custom-block .nv-block-list .post-card{display:grid!important;grid-template-columns:minmax(0,34%) minmax(0,1fr)!important;align-items:stretch!important;width:100%;min-width:0}
.nv-simple-home .nv-custom-block .nv-block-list .card-image{width:100%;height:100%!important;min-height:160px;aspect-ratio:auto!important}
.nv-simple-home .nv-custom-block .nv-block-list .card-image img{height:100%!important;object-fit:cover}
.nv-simple-home .nv-custom-block .nv-block-list .card-body{min-width:0;width:auto;overflow-wrap:break-word}
.nv-simple-home .nv-custom-block .nv-block-list .post-card h3{font-size:19px;line-height:1.36;word-break:normal;overflow-wrap:break-word}
/* Card images must not generate oversized rows. */
.nv-simple-home .nv-custom-block .post-card{height:auto!important;min-width:0!important;align-self:start!important}
.nv-simple-home .nv-custom-block .post-card .card-image{aspect-ratio:16/10}
@media(min-width:761px) and (max-width:1100px){
 .nv-simple-home.has-sidebar{grid-template-columns:minmax(0,1fr) 245px;gap:18px}
 .nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list),.nv-simple-home .nv-custom-block .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
 .nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list),.nv-simple-home .nv-custom-block .featured-grid,.nv-simple-home .nv-custom-block .nv-featured-four{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:520px){
 .nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list),.nv-simple-home .nv-custom-block .featured-grid,.nv-simple-home .nv-custom-block .nv-featured-four{grid-template-columns:minmax(0,1fr)!important}
 .nv-simple-home .nv-custom-block .nv-block-list .post-card{display:block!important}
 .nv-simple-home .nv-custom-block .nv-block-list .card-image{height:auto!important;min-height:0;aspect-ratio:16/10!important}
}


/* v0.7.2: isolate editable Homepage Blocks from legacy design-preset card rules.
   Legacy .nv-feed-3 styles applied display:grid to each card inside a 3-column
   block, making title/body columns unusably narrow. */
.nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list) > .post-card,
.nv-simple-home .nv-custom-block .featured-grid > .post-card {
 display:block!important;
 grid-template-columns:none!important;
 grid-column:auto!important;
 grid-row:auto!important;
 width:auto!important;
 min-width:0!important;
 margin:0!important;
}
.nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list) > .post-card > .card-image,
.nv-simple-home .nv-custom-block .featured-grid > .post-card > .card-image {
 display:block!important;
 width:100%!important;
 height:auto!important;
 aspect-ratio:16 / 10!important;
}
.nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list) > .post-card > .card-body,
.nv-simple-home .nv-custom-block .featured-grid > .post-card > .card-body {
 display:block!important;
 width:100%!important;
 min-width:0!important;
 padding:14px!important;
 overflow-wrap:break-word;
}
.nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list) > .post-card > .card-image img,
.nv-simple-home .nv-custom-block .featured-grid > .post-card > .card-image img {height:100%!important;width:100%!important;object-fit:cover}
/* Explicit list layouts remain full-width and horizontal, never multiple mini-list cards. */
.nv-simple-home .nv-custom-block .article-grid.nv-block-list > .post-card {
 display:grid!important;grid-template-columns:minmax(0,34%) minmax(0,1fr)!important;
 grid-column:auto!important;min-width:0!important;width:100%!important;
}
.nv-simple-home .nv-custom-block .article-grid.nv-block-list > .post-card > .card-body{min-width:0!important;width:auto!important}
@media(max-width:520px){
 .nv-simple-home .nv-custom-block .article-grid.nv-block-list > .post-card{display:block!important;grid-template-columns:none!important}
 .nv-simple-home .nv-custom-block .article-grid.nv-block-list > .post-card > .card-image{height:auto!important;aspect-ratio:16/10!important}
}


/* v0.7.3: functional preset engine. Rules deliberately follow previous homepage
   hotfixes, and only affect homepage block grids, not single post or archives. */
body.nv-hero-1 .nv-simple-home .nv-custom-block .featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
body.nv-hero-2 .nv-simple-home .nv-custom-block .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body.nv-hero-3 .nv-simple-home .nv-custom-block .featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
body.nv-hero-4 .nv-simple-home .nv-custom-block .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body.nv-hero-5 .nv-simple-home .nv-custom-block .featured-grid{grid-template-columns:repeat(1,minmax(0,1fr))!important;}
body.nv-hero-6 .nv-simple-home .nv-custom-block .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body.nv-hero-7 .nv-simple-home .nv-custom-block .featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
body.nv-hero-8 .nv-simple-home .nv-custom-block .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body.nv-hero-9 .nv-simple-home .nv-custom-block .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body.nv-hero-10 .nv-simple-home .nv-custom-block .featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
body.nv-feed-1 .nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list){grid-template-columns:repeat(3,minmax(0,1fr))!important;}
body.nv-feed-2 .nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list){grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body.nv-feed-3 .nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list){grid-template-columns:repeat(1,minmax(0,1fr))!important;}
body.nv-feed-4 .nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list){grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body.nv-feed-5 .nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list){grid-template-columns:repeat(4,minmax(0,1fr))!important;}
body.nv-feed-6 .nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list){grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body.nv-feed-7 .nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list){grid-template-columns:repeat(3,minmax(0,1fr))!important;}
body.nv-feed-8 .nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list){grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body.nv-feed-9 .nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list){grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body.nv-feed-10 .nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list){grid-template-columns:repeat(4,minmax(0,1fr))!important;}

body.nv-hero-1 .nv-simple-home .featured-grid>.post-card:first-child,
body.nv-hero-7 .nv-simple-home .featured-grid>.post-card:first-child{grid-column:span 2!important}
body.nv-hero-3 .nv-simple-home .featured-grid>.post-card:first-child,
body.nv-hero-8 .nv-simple-home .featured-grid>.post-card:first-child{grid-column:span 2!important}
body.nv-hero-5 .nv-simple-home .featured-grid>.post-card .card-image{aspect-ratio:21/9!important}
body.nv-hero-6 .nv-simple-home .featured-grid{gap:10px!important}
body.nv-hero-9 .nv-simple-home .featured-grid>.post-card{border-radius:0!important;border-top:3px solid var(--nv-accent)!important}
body.nv-hero-10 .nv-simple-home .featured-grid>.post-card:first-child{grid-column:span 2!important}
body.nv-feed-3 .nv-simple-home .article-grid:not(.nv-block-list)>.post-card{display:grid!important;grid-template-columns:minmax(0,36%) minmax(0,1fr)!important;grid-column:auto!important}
body.nv-feed-3 .nv-simple-home .article-grid:not(.nv-block-list)>.post-card>.card-image{height:100%!important;aspect-ratio:auto!important}
body.nv-feed-3 .nv-simple-home .article-grid:not(.nv-block-list)>.post-card>.card-body{min-width:0!important}
body.nv-feed-4 .nv-simple-home .article-grid:not(.nv-block-list)>.post-card:nth-child(3n){grid-column:span 2!important}
body.nv-feed-5 .nv-simple-home .article-grid:not(.nv-block-list){gap:10px!important}
body.nv-feed-6 .nv-simple-home .article-grid:not(.nv-block-list){gap:30px!important}
body.nv-feed-7 .nv-simple-home .article-grid:not(.nv-block-list)>.post-card{background:transparent!important;border:0!important}
body.nv-feed-8 .nv-simple-home .article-grid:not(.nv-block-list)>.post-card:nth-child(even){margin-top:28px!important}
body.nv-feed-9 .nv-simple-home .article-grid:not(.nv-block-list)>.post-card:first-child{grid-column:span 2!important}
body.nv-feed-10 .nv-simple-home .article-grid:not(.nv-block-list){gap:10px!important}
body.nv-feed-10 .nv-simple-home .article-grid:not(.nv-block-list) .card-body{padding:10px!important}
body.nv-feed-10 .nv-simple-home .article-grid:not(.nv-block-list) h3{font-size:15px!important}
/* Section editor's explicit List choice always wins over the feed preset. */
body .nv-simple-home .nv-custom-block .article-grid.nv-block-list{grid-template-columns:minmax(0,1fr)!important}
body .nv-simple-home .nv-custom-block .article-grid.nv-block-list>.post-card{display:grid!important;grid-template-columns:minmax(0,34%) minmax(0,1fr)!important}
@media(max-width:1000px){
 body[class*="nv-hero-"] .nv-simple-home .nv-custom-block .featured-grid,
 body[class*="nv-feed-"] .nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body .nv-simple-home .featured-grid>.post-card:first-child{grid-column:auto!important}
 body .nv-simple-home .article-grid:not(.nv-block-list)>.post-card{grid-column:auto!important;display:block!important}
 body .nv-simple-home .article-grid:not(.nv-block-list)>.post-card>.card-image{height:auto!important;aspect-ratio:16/10!important}
}
@media(max-width:600px){
 body[class*="nv-hero-"] .nv-simple-home .nv-custom-block .featured-grid,
 body[class*="nv-feed-"] .nv-simple-home .nv-custom-block .article-grid:not(.nv-block-list){grid-template-columns:minmax(0,1fr)!important}
 body .nv-simple-home .nv-custom-block .article-grid.nv-block-list>.post-card{display:block!important}
}

/* v0.7.4 - Footer logo inherits the header custom logo by default. */
.nv-footer-brand{margin-bottom:12px;min-height:0}
.nv-footer-logo-link{display:inline-flex;max-width:100%;align-items:center}
.nv-footer-logo{display:block;width:auto;height:auto;max-width:min(100%,260px);max-height:85px;object-fit:contain}
.nv-footer-brand .footer-title a{color:inherit}
@media(max-width:760px){.nv-footer-logo{max-width:min(100%,220px);max-height:70px}}

/* v0.7.5: independent, accessible header and footer text color choices */
.site-header { color:var(--nv-header-text,#ffffff); }
.site-header .site-title,.site-header .site-title:visited {color:var(--nv-header-text,#ffffff)}
.site-header .site-description {color:var(--nv-header-subtext,#d6deec);opacity:1}
.site-header .menu-toggle {color:var(--nv-header-text,#ffffff)}
.site-footer {color:var(--nv-footer-text,#cdd4e0)}
.site-footer .footer-title,.site-footer .footer-title a,.site-footer .widget-title {color:var(--nv-footer-heading,#ffffff)}
.site-footer a,.site-footer a:visited {color:var(--nv-footer-link,#cdd4e0)}
.site-footer a:hover,.site-footer a:focus-visible {color:var(--nv-accent,#e63946)}
.site-footer .copyright {color:var(--nv-footer-copyright,#cdd4e0)}
