/* WordPress integration only: retain the approved visual system. */
body{margin:0}body.admin-bar header{top:32px}.cbem-pagination{grid-column:1/-1;display:flex;gap:12px;justify-content:center}.cbem-pagination a{display:grid;place-items:center;min-width:42px;min-height:42px;border:1px solid #cbd5dd;text-decoration:none}.cbem-pagination a[aria-current=page]{background:#0b3a67;color:#fff}.cbem-filter{padding:12px 18px;text-decoration:none;border:1px solid #cbd5dd}.cbem-filter[aria-current=page]{background:#0b3a67;color:#fff}.cbem-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;margin-top:36px}.cbem-news-grid a{text-decoration:none}.cbem-news-grid img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.cbem-news-grid h2{font-size:25px;line-height:1.3}.cbem-article{max-width:900px}.cbem-article h1{font-size:clamp(32px,4vw,56px);line-height:1.15}.cbem-article img{max-width:100%;height:auto}.service-summary p{margin:0}.project-image-placeholder{aspect-ratio:3/2;background:#e5ebef;color:#0b3a67;display:grid;place-items:center;font-size:32px;font-weight:700}.other-project-grid .project-image-placeholder{width:110px;height:80px;font-size:18px;grid-row:1/3}.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important;height:1px;width:1px;overflow:hidden}.screen-reader-text:focus{clip:auto!important;position:fixed!important;top:8px;left:8px;width:auto;height:auto;padding:12px;background:white;z-index:999999}.service-summary{line-height:1.65}.profile-overview{line-height:1.8}.news-filters{flex-wrap:wrap}@media(max-width:782px){body.admin-bar header{top:46px}.cbem-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.cbem-news-grid{grid-template-columns:1fr}}
.hero-slideshow,.hero-slide{position:absolute;inset:0;width:100%;height:100%}.hero-slide{opacity:0;transition:opacity .9s ease}.hero-slide.is-active{opacity:1}.hero-slide .hero-image{width:100%;height:100%;object-fit:cover}.hero-slide-controls{position:absolute;right:clamp(20px,5vw,80px);bottom:28px;z-index:4;display:flex;align-items:center;gap:6px}.hero-slide-controls button{cursor:pointer;color:white;border:0;background:transparent;min-width:36px;min-height:36px;padding:8px}.hero-slide-dot::after{content:"";display:block;width:8px;height:8px;border:1px solid white;border-radius:50%;margin:auto}.hero-slide-dot[aria-current=true]::after{background:white}.hero-slide-pause{font:inherit;font-size:12px!important;text-shadow:0 1px 3px #000}.hero-slide-controls button:focus-visible{outline:2px solid #fff;outline-offset:2px}@media(prefers-reduced-motion:reduce){.hero-slide{transition:none}}@media(max-width:600px){.hero-slide-controls{bottom:14px;right:16px}.hero-brand-only .hero-slideshow~.hero-copy{padding-bottom:55px}}

/* The header remains in normal flow; WordPress already offsets the toolbar. */
body.admin-bar header{top:0}
/* List pagination stays in document flow, separate from the header menu. */
.cbem-pagination{position:static;inset:auto;flex-direction:row;flex-wrap:wrap;align-items:center;padding:0;margin-top:36px;font-size:16px;font-weight:500;background:transparent}
.cbem-pagination a{min-width:44px;min-height:44px}

@media(min-width:1101px){
 header nav{font-size:18px}
}
@media(max-width:800px){
 .menu{min-width:44px;min-height:44px}
 #navigation a{min-height:44px;display:flex;align-items:center;padding-block:10px}
 header nav a[aria-current="page"]{padding-bottom:10px;box-shadow:none;text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:8px}
 .hero-slide-controls button{min-width:44px;min-height:44px}
}
@media(min-width:601px) and (max-width:1024px){
 .contact-layout{grid-template-columns:1fr;gap:40px}
 .contact-information{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px;align-items:start}
 .contact-information>.eyebrow{grid-column:1/-1}
 .contact-information .contact-social{margin-top:0;border-top:1px solid #ccd7df;padding-top:25px}
 .contact-layout .form-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
}

/* Migrated articles use the shared type scale, not the former page builder. */
.cbem-news-grid>article{min-width:0;border-bottom:1px solid #ccd7df;padding-bottom:24px}
.cbem-news-grid>article>a{display:flex;flex-direction:column;height:100%}
.cbem-news-grid img{display:block;margin-bottom:20px}
.cbem-news-grid a>p{font-size:15px;line-height:1.75;color:#627180;margin:0 0 18px}
.cbem-news-grid a>p:first-of-type{font-size:12px;margin-bottom:12px}
.cbem-news-grid a>h2{font-size:25px;line-height:1.3;letter-spacing:-.025em;margin:0 0 16px}
.cbem-news-grid a>span{margin-top:auto;font-size:14px;text-decoration:underline;text-underline-offset:6px;text-decoration-color:#b9cad6}
.cbem-news-grid a:hover>h2{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.cbem-article{max-width:1040px;margin-inline:auto;padding-inline:40px;padding-top:44px}
.cbem-article>.back-projects{display:inline-block;font-size:14px;margin-bottom:26px;border-bottom:1px solid #b9cad6;padding-bottom:5px}
.cbem-article h1{font-size:clamp(34px,4vw,54px);max-width:960px;line-height:1.15;margin-bottom:22px;overflow-wrap:break-word}
.cbem-article-date{font-size:13px;color:#627180;margin-bottom:30px}
.cbem-article-cover{display:block;width:100%;height:auto;max-height:420px;object-fit:cover;margin-bottom:42px}
.cbem-article-body{max-width:760px;margin-inline:auto}
.cbem-article-body p,.cbem-article-body li{font-size:17px;line-height:1.85;color:#526979}
.cbem-article-body p{margin-bottom:24px}
.cbem-article-body h2{font-size:30px;line-height:1.25;margin:40px 0 20px}
.cbem-article-body h3{font-size:23px;line-height:1.35;margin:30px 0 16px}
.cbem-article-body h4{font-size:19px;line-height:1.4;margin:26px 0 14px}
.cbem-article-body ul,.cbem-article-body ol{padding-left:24px;margin-bottom:26px}
.cbem-article-body li{margin-bottom:10px}
.cbem-article-body a{text-decoration:underline;text-underline-offset:3px}
.cbem-article-body img{display:block;max-width:100%;height:auto;margin:30px auto}
.cbem-article-body table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:28px 0}
.cbem-article-body td,.cbem-article-body th{padding:12px;border:1px solid #ccd7df;text-align:left}
.cbem-article-body hr{border:0;border-top:1px solid #ccd7df;margin:32px 0}
.cbem-article>.cbem-article-back{margin-top:36px;margin-bottom:0}
@media(min-width:601px) and (max-width:1100px){.cbem-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.cbem-article{padding-inline:24px;padding-top:30px}.cbem-article h1{font-size:34px}.cbem-article-cover{margin-bottom:30px}.cbem-article-body h2{font-size:27px}.cbem-article-body h3{font-size:22px}.cbem-news-grid a>h2{font-size:25px}}

.cbem-form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
