/* WordPress / Divi compatibility layer for JNB pages */
body.jnb-site .et_pb_section,body.jnb-site .et_pb_row,body.jnb-site .et_pb_column,body.jnb-site .et_pb_module,body.jnb-site .et_pb_code_inner,
body.jnb-site .et-l,body.jnb-site .et_builder_inner_content,body.jnb-site #et-boc{margin:0;padding:0;width:auto;max-width:none;float:none;background:none;position:static;overflow:visible;min-height:0}
body.jnb-site.admin-bar .header{top:32px}
@media (max-width:782px){body.jnb-site.admin-bar .header{top:46px}}
@media (max-width:600px){body.jnb-site.admin-bar .header{top:0}}
/* Divi visual builder: keep every section visible while editing */
.et-fb .rv,.et-fb .rv-x,.et-fb .pin{opacity:1!important;transform:none!important;filter:none!important;clip-path:none!important}
/* Article cards appear as their pages are published; keep the grids tidy with fewer cards */
.blog-feat:not(:has(.post-card)),section:has(>.wrap>.posts):not(:has(.post-card)),.a-more:not(:has(li)){display:none}
@media (min-width:761px){
.posts>.post-card:only-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
.posts>.post-card:only-child .pc-media{aspect-ratio:auto;min-height:340px}
.posts>.post-card:only-child .pc-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.posts>.post-card:only-child .pc-body{padding:clamp(24px,3.4vw,48px);justify-content:center;gap:14px}
.posts>.post-card:only-child h3{font-size:clamp(1.4rem,2.3vw,2rem);line-height:1.12}
.posts:has(>.post-card:nth-child(2):last-child){grid-template-columns:repeat(2,1fr)}
}
/* Divi visual builder: keep the JNB typography while editing */
body.jnb-site.et-fb,body.jnb-site.et-fb p,body.jnb-site.et-fb li{font-family:var(--f-body);color:var(--body)}
body.jnb-site.et-fb{font-size:16px;line-height:1.65;background:var(--cream,#FBF6EC)}
body.jnb-site.et-fb h1,body.jnb-site.et-fb h2,body.jnb-site.et-fb h3,body.jnb-site.et-fb h4{font-family:var(--f-display);padding-bottom:0}
body.jnb-site.et-fb .mono,body.jnb-site.et-fb .eyebrow{font-family:var(--f-mono)}
body.jnb-site.et-fb #main-content ul,body.jnb-site.et-fb #main-content ol,body.jnb-site.et-fb .et_pb_code ul,body.jnb-site.et-fb .et_pb_code ol{list-style:none;padding:0}
body.jnb-site.et-fb p{padding-bottom:0}
/* Leave room for the chat button and trust badge in the bottom corner */
body.jnb-site .fab{bottom:86px}
