/* The header owns its spacing; old per-item offsets must not break new items. */
.fp-adaptive-header .fp-header-inner{width:min(calc(100% - 40px),1400px)!important;max-width:none!important;display:flex!important;flex-wrap:nowrap!important;gap:clamp(96px,9vw,160px)!important;justify-content:space-between!important;}
.fp-adaptive-header .fp-brand{flex:0 0 auto;margin:0!important;}
.fp-adaptive-header .fp-nav{flex:1 1 0;min-width:0;width:auto!important;margin:0!important;padding:0!important;justify-content:stretch!important;}
.fp-adaptive-header .fp-main-menu{display:flex!important;flex-direction:row;flex-wrap:nowrap;width:100%!important;gap:24px!important;justify-content:space-between!important;margin:0!important;padding:0!important;}
.fp-adaptive-header .fp-main-menu > li{flex:0 0 auto;width:auto!important;margin:0!important;padding:28px 0!important;transform:none!important;left:auto!important;right:auto!important;}
.fp-adaptive-header .fp-main-menu > li > a{white-space:nowrap;margin:0!important;padding-inline:0!important;letter-spacing:normal!important;transform:none!important;font-size:var(--fp-nav_size,18px);}
.fp-adaptive-header .fp-mega-menu{max-width:100%;box-sizing:border-box;}
.fp-adaptive-header.fp-nav-compact .fp-header-inner{flex-wrap:wrap!important;gap:0!important;}
.fp-adaptive-header.fp-nav-compact .fp-menu-toggle{display:block;}
.fp-adaptive-header.fp-nav-compact .fp-nav{position:static;flex:0 0 100%;display:none;max-height:75vh;overflow:auto;}
.fp-adaptive-header.fp-nav-compact .fp-nav.is-open{display:block;}
.fp-adaptive-header.fp-nav-compact .fp-main-menu{flex-direction:column!important;align-items:stretch;gap:0!important;}
.fp-adaptive-header.fp-nav-compact .fp-main-menu > li{padding:10px 0!important;}
.fp-adaptive-header.fp-nav-compact .fp-main-menu > li > a{white-space:normal;}
.fp-adaptive-header.fp-nav-compact :is(.fp-mega-menu,.fp-dropdown-menu){position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;max-width:100%;min-width:0;}
@media(min-width:721px){.fp-adaptive-header:not(.fp-nav-compact) .fp-nav{position:static;display:flex;}.fp-adaptive-header:not(.fp-nav-compact) .fp-menu-toggle{display:none;}}
@media(max-width:720px){.fp-adaptive-header .fp-main-menu{flex-direction:column;gap:0!important;}.fp-adaptive-header .fp-header-inner{flex-wrap:wrap!important;}.fp-adaptive-header .fp-nav{flex:0 0 100%;position:static;}.fp-adaptive-header .fp-nav:not(.is-open){display:none;}.fp-adaptive-header .fp-main-menu > li{padding:10px 0!important;}}
.fp-service-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;}
.fp-service-tile{display:flex;flex-direction:column;min-width:0;border-radius:12px;overflow:hidden;background:white;box-shadow:0 10px 30px #172c2214;border:1px solid #e7ebe8;transition:box-shadow .2s,transform .2s;}
.fp-service-tile:hover{box-shadow:0 16px 35px #172c2224;transform:translateY(-4px);}
.fp-service-tile-link{display:block;flex:1;color:inherit;text-decoration:none;}
.fp-service-tile-image{display:block;width:100%;aspect-ratio:16/10;height:auto;object-fit:cover;}
.fp-service-tile-copy{padding:26px 20px;text-align:center;}
.fp-service-tile-copy h2{font-size:var(--fp-card_size,20px);margin:0;line-height:1.4;}
.fp-service-tile-copy p{font-size:var(--fp-service_size,16px);margin:14px 0 0;}
.fp-service-tile .fp-inline-edit{margin:0 12px 12px;}
.fp-blog-list{display:grid;gap:24px;}
.fp-blog-card{display:flex;gap:24px;padding:20px;border:1px solid #dce2de;border-radius:8px;background:white;align-items:start;}
.fp-blog-picture{flex:0 0 27%;}
.fp-blog-picture img{display:block;width:100%;height:auto;max-height:260px;object-fit:contain;border-radius:8px;}
.fp-blog-card > div{min-width:0;flex:1;}
.fp-blog-card h2{font-size:23px;margin:0 0 12px;line-height:1.4;}
.fp-blog-card p{font-size:16px;line-height:1.75;margin:0 0 10px;}
.fp-blog-intro:empty{display:none;}.fp-blog-intro{margin-bottom:30px;}
.fp-blog-article{max-width:1000px;font-size:18px;line-height:1.8;}
.fp-blog-featured{display:block;max-width:100%;height:auto;margin:0 auto 30px;}
.fp-about-free-content{max-width:1100px;padding-block:50px;}
.fp-about-free .fp-content-copy{max-width:none;}
.fp-about-free .wp-block-media-text img{height:auto;object-fit:contain;}
.fp-about-heading h1{color:var(--fp-banner-title-color,inherit)!important;}
@media(max-width:1000px){.fp-service-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;}}
@media(max-width:600px){.fp-service-cards{grid-template-columns:1fr;}.fp-blog-card{flex-direction:column;}.fp-blog-picture{flex:auto;width:100%;}.fp-blog-card h2{font-size:21px;}}
@media(prefers-reduced-motion:reduce){.fp-service-tile{transition:none;}.fp-service-tile:hover{transform:none;}}

/* New pages use the full available body width; embeds retain their video ratio. */
.fp-free-content{max-width:1200px;padding-block:48px;min-width:0;}
.fp-free-content .fp-content-copy{max-width:none;}
body.page .fp-page-hero,body.blog .fp-page-hero{display:flex;align-items:center;box-sizing:border-box;}
:is(.fp-free-content,.fp-free-page) .wp-block-embed{width:100%;max-width:100%;margin-inline:0;}
:is(.fp-free-content,.fp-free-page) .wp-block-embed__wrapper{position:relative;}
:is(.fp-free-content,.fp-free-page) .wp-block-embed:is(.is-provider-youtube,.is-provider-vimeo) .wp-block-embed__wrapper{aspect-ratio:16/9;}
:is(.fp-free-content,.fp-free-page) .wp-block-embed:is(.is-provider-youtube,.is-provider-vimeo) .wp-block-embed__wrapper:before{display:none;}
:is(.fp-free-content,.fp-free-page) .wp-block-embed:is(.is-provider-youtube,.is-provider-vimeo) iframe{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:100%;}
:is(.fp-free-content,.fp-free-page) iframe[src*="youtube.com"],:is(.fp-free-content,.fp-free-page) iframe[src*="youtube-nocookie.com"],:is(.fp-free-content,.fp-free-page) iframe[src*="player.vimeo.com"]{width:100%;height:auto;aspect-ratio:16/9;max-width:100%;}
/* Long horizontal blog cards with a clearer outline and shadow. */
.fp-blog-list{gap:28px;}
.fp-blog-card{padding:26px;gap:28px;border:1px solid #cdd8d1;border-left:4px solid var(--primary-green);border-radius:14px;box-shadow:0 6px 22px #173b2512;transition:box-shadow .2s ease,border-color .2s ease;}
.fp-blog-card:hover,.fp-blog-card:focus-within{border-color:var(--primary-green);box-shadow:0 10px 28px #173b2524;}
.fp-blog-picture{flex-basis:28%;}
.fp-blog-picture img{border-radius:10px;}
.fp-blog-card h2{overflow-wrap:anywhere;}
@media(max-width:600px){.fp-blog-card{padding:20px;gap:18px;}.fp-blog-picture{flex-basis:auto;}}
@media(prefers-reduced-motion:reduce){.fp-blog-card{transition:none;}}

.fp-free-page > :is(.wp-block-embed,.wp-block-columns,.wp-block-image){width:min(calc(100% - 40px),1200px);margin-inline:auto;}
