/* MayTec layout 3.0: the existing brand, shared editorial rhythm, native modules. */
@font-face{font-family:"MayTec Sans";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/maytec-sans-regular.woff2") format("woff2")}
@font-face{font-family:"MayTec Sans";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/maytec-sans-bold.woff2") format("woff2")}
:root{--bdm-gutter:clamp(1.25rem,3.3vw,3rem);--bdm-content:1200px;--bdm-wide:1280px;--bdm-section-space:clamp(3rem,5.6vw,5rem);--bd-content-width:min(calc(100% - var(--bdm-gutter)*2),var(--bdm-content))}
body.bdm-site,.editor-styles-wrapper{font-family:"MayTec Sans","Segoe UI",sans-serif;font-size:1.0625rem;line-height:1.65;color:#3e514a}
/* Connect the existing Material CF7 components to the native MayTec palette. */
.bdm-site .wpcf7{--primary:var(--wp--preset--color--green)}
.bdm-site :is(h1,h2,h3,h4,h5,h6),.editor-styles-wrapper :is(h1,h2,h3,h4,h5,h6){font-family:inherit;font-weight:700;line-height:1.16;letter-spacing:-.012em;color:var(--wp--preset--color--green);overflow-wrap:break-word;hyphens:auto}
.bdm-site h1,.editor-styles-wrapper h1{font-size:clamp(2rem,4vw,3.5rem)}
.bdm-site h2,.editor-styles-wrapper h2{font-size:clamp(1.75rem,2.65vw,2.375rem);margin-block:0 1.35rem}
.bdm-site h3,.editor-styles-wrapper h3{font-size:clamp(1.25rem,1.7vw,1.5rem);margin-block:0 1rem}
.bdm-site :is(h4,h5,h6){font-size:1.125rem}
.bdm-container{width:var(--bd-content-width);margin-inline:auto}
.bdm-copy{margin-block:0 1.25rem}.bdm-copy :is(p,ul,ol){margin-block:0 1.2rem}.bdm-copy--body{max-width:80ch}.bdm-copy--intro{font-size:1.1875rem;line-height:1.6;max-width:76ch}.bdm-copy--eyebrow{font-size:.8125rem;font-weight:700;letter-spacing:.11em}
.bdm-eyebrow{font-size:.8125rem;letter-spacing:.1em;margin-bottom:1.1rem}.bdm-lead{max-width:68ch}
.bdm-section{padding:var(--bdm-section-space) 0}.bdm-section__content>h2{max-width:32ch}.bdm-section__content>.bdm-copy{max-width:82ch}
.bdm-section__content>*+ .bdm-layout,.bdm-section__content>*+ .bdm-static-cards,.bdm-section__content>*+ .bdm-cards{margin-top:2.25rem}
.bdm-layout__items{gap:clamp(1.5rem,4vw,3.5rem)}.bdm-layout+.bdm-layout{margin-top:2.5rem}.bdm-panel__content>h2{max-width:30ch}
.bdm-image{margin:0}.bdm-image img{border-radius:6px}.bdm-panel:has(>.bdm-panel__content>.bdm-image:only-child){align-self:start;position:sticky;top:10rem}
/* The green contact rail and the original larger logo retain the live site's identity. */
.bdm-header{background:var(--wp--preset--color--green);border-bottom:0;box-shadow:0 1px 0 #173c3214}
.bdm-contact-strip{font-size:.8125rem;color:#fff}.bdm-contact-strip>.bdm-container{max-width:var(--bdm-wide);display:flex;align-items:center;gap:1.5rem;min-height:34px;padding-inline:2rem}.bdm-contact-strip a{color:inherit;text-decoration:none;padding-block:.25rem}.bdm-contact-strip a:hover{text-decoration:underline}
.bdm-header__inner{max-width:var(--bdm-wide);min-height:100px;padding-inline:2rem;background:#fff;gap:1.5rem}
.bdm-header .bdm-logo,.bdm-header .custom-logo-link{flex-basis:320px;max-width:320px}.bdm-header :is(.bdm-logo,.custom-logo-link) img{width:100%;height:auto}
.bdm-navigation .bd-nav-link,.bdm-site .bdm-navigation button.bd-nav-toggle{font-size:1rem;letter-spacing:0}
.bdm-site .bdm-navigation .bd-nav-link--contact{font-size:1rem}
/* Full-width real project imagery, with readable MayTec green rather than a floating image card. */
.bdm-hero{position:relative;isolation:isolate;padding:0;background:var(--wp--preset--color--green)}
.bdm-hero__image{position:absolute;inset:0;min-height:0!important;aspect-ratio:auto!important;z-index:auto}
.bdm-hero__image img{position:absolute;inset:0;z-index:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;border-radius:0}
.bdm-hero:not(.bdm-hero--text)::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(3,55,42,.87) 0%,rgba(3,65,48,.72) 44%,rgba(0,62,43,.24) 100%),linear-gradient(0deg,rgba(0,88,63,.6),transparent 75%)}
.bdm-hero__grid{position:relative;z-index:2;display:flex;align-items:center;min-height:430px;padding-block:4rem}
.bdm-hero--home .bdm-hero__grid{min-height:590px;padding-block:4.5rem}
.bdm-hero__copy{max-width:840px;padding:0;min-width:0}.bdm-hero--home .bdm-hero__copy{max-width:760px}
.bdm-hero:not(.bdm-hero--text) :is(h1,.bdm-eyebrow,.bdm-lead){color:#fff}.bdm-hero h1{margin:0 0 1.6rem;max-width:26ch;text-wrap:balance}
.bdm-hero .bdm-lead{font-size:1.1875rem;line-height:1.6;margin-bottom:1.75rem;white-space:normal;max-width:66ch}.bdm-hero .bdm-lead--headline{font-weight:700;font-size:1.375rem;margin-bottom:1.25rem}
.bdm-image-caption{inset:auto var(--bdm-gutter) 1rem auto;z-index:3;max-width:calc(100% - var(--bdm-gutter)*2);padding:.35rem .65rem;background:#003e2ed9;color:#fff;font-size:.75rem;line-height:1.35;border-radius:3px}
.bdm-hero--text{background:var(--wp--preset--color--fog);border-bottom:1px solid var(--wp--preset--color--line)}
.bdm-hero--text .bdm-hero__grid{min-height:0;padding-block:3.5rem}.bdm-hero--text .bdm-hero__copy{max-width:1000px}.bdm-hero--text h1{max-width:32ch;font-size:clamp(2rem,3.6vw,3rem);margin-bottom:1.25rem}.bdm-hero--text .bdm-lead{color:var(--wp--preset--color--muted)}
/* Static benefit cards and media cards have distinct, consistent roles. */
.bdm-card{border:1px solid var(--wp--preset--color--line);border-radius:6px;padding:1.75rem;background:#fff;height:auto}
.bdm-static-cards{gap:1.75rem}.bdm-static-cards .bdm-card{border-top:3px solid var(--wp--preset--color--green)}.bdm-static-cards .bdm-copy{font-size:1rem;line-height:1.6}
.bdm-static-cards--benefits{gap:3rem}.bdm-static-cards--benefits .bdm-card{border:0;background:transparent;padding:0;text-align:center}
.bdm-static-cards--benefits .bdm-icon-block{display:flex;align-items:center;justify-content:center;width:78px;height:78px;border-radius:50%;margin:0 auto 1.25rem;background:var(--wp--preset--color--fog)}
.bdm-static-cards--benefits .bdm-icon{width:42px;height:42px}.bdm-static-cards--benefits .bdm-module-card-title{font-size:1.5rem;margin-bottom:1rem}
.bdm-cards{gap:1.75rem;margin-block:2rem 0}.bdm-cards>.bdm-card{overflow:hidden;min-width:0;box-shadow:0 4px 18px #173c3207}
.bdm-card__image{margin:-1.75rem -1.75rem 1.5rem;overflow:hidden}.bdm-card__image img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:0}
.bdm-cards .bdm-card__title{font-size:1.5rem;line-height:1.2;margin:0 0 1rem;min-block-size:2.4em}
.bdm-cards .bdm-card__title a{color:var(--wp--preset--color--green)}.bdm-cards .bdm-card p{font-size:1rem;line-height:1.6;margin-bottom:1.25rem}.bdm-cards .bdm-card>a:last-child{font-size:1rem;min-height:44px;display:flex;align-items:center}
.bdm-cards--gallery{gap:1.5rem}.bdm-cards--gallery figure{min-width:0}.bdm-cards--gallery a{display:block;overflow:hidden;border-radius:6px}.bdm-cards--gallery img{aspect-ratio:16/11;width:100%;object-fit:cover;border-radius:0}.bdm-cards--gallery figcaption{font-size:.875rem;line-height:1.45;padding-top:.65rem}
.bdm-gallery{margin-block:3rem 0}.bdm-gallery h2{max-width:30ch}
/* Reading columns only reserve an image column when an image actually exists. */
.bdm-detail{display:block;padding-block:var(--bdm-section-space)}.bdm-detail:not(:has(>.bdm-detail__image)):not(:has(.bdm-gallery)){max-width:900px}
.bdm-detail:has(>.bdm-detail__image){display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:3.5rem}
.bdm-detail:has(.bdm-static-cards),.bdm-detail:has(.bdm-gallery){display:block;max-width:1200px}.bdm-detail__copy{min-width:0}.bdm-detail__copy>:is(p,ul,ol,.bdm-copy){max-width:80ch}
.bdm-detail__copy>.bdm-module-heading{margin-top:2rem}.bdm-detail__copy>.bdm-module-heading:first-child{margin-top:0}.bdm-detail__subtitle{font-size:1.375rem;line-height:1.35;letter-spacing:0;color:var(--wp--preset--color--green);margin-block:1.75rem 1.25rem}
.bdm-detail .bdm-layout{margin-block:2rem}.bdm-detail__image{min-width:0}.bdm-detail__image img{position:sticky;top:10rem;border-radius:6px}
.bdm-section--contact{background:var(--wp--preset--color--green);text-align:center;color:#fff}.bdm-section--contact :is(h2,h3,.bdm-copy){color:inherit}.bdm-section--contact h2{max-width:30ch;margin-inline:auto}.bdm-section--contact .bdm-copy{margin-inline:auto;max-width:70ch}
.bdm-contact-panel{margin-block:2.5rem;padding:2rem;border:1px solid var(--wp--preset--color--line);border-left:4px solid var(--wp--preset--color--green);border-radius:6px;background:var(--wp--preset--color--fog)}
/* Existing related-company logos keep their natural proportions and a single shared row. */
.bdm-image--logo{display:flex;align-items:center;justify-content:center;min-width:0;min-height:112px;padding:1rem}.bdm-image--logo a{display:flex;justify-content:center;align-items:center;max-width:100%}.bdm-image--logo img{width:auto;height:auto;max-width:min(100%,280px);max-height:80px;object-fit:contain;border-radius:0}
.bdm-section__content:has(>.bdm-image--logo){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem 3rem;align-items:center}
.bdm-section__content:has(>.bdm-image--logo)>:not(.bdm-image--logo){grid-column:1/-1;margin-block:0}
/* Forms and careers retain their existing fields, submission logic and one central application. */
.bdm-site .bd-career{padding-top:var(--bdm-section-space);font-size:1.0625rem;max-width:var(--bdm-content)}
.bdm-site .bd-career .bd-career-intro{max-width:840px;margin-bottom:3rem}.bdm-site .bd-career h1{font-size:clamp(2rem,3.6vw,3rem);color:var(--wp--preset--color--green);letter-spacing:-.012em}.bdm-site .bd-career h2{color:var(--wp--preset--color--green);font-size:clamp(1.75rem,2.65vw,2.375rem)}
.bdm-site .bd-career-application{margin-top:3rem;padding-top:2.5rem}.bdm-site .bd-career-help{font-size:1rem}.bdm-site .bd-career .bd-maytec-job-card h3{font-size:1.25rem}
/* Personal details share one row; the remaining fields retain equal half-widths. */
@media(min-width:768px){
.bdm-site .bd-application-form:has(#bd-application-salutation){grid-template-columns:repeat(8,minmax(0,1fr))}
.bdm-site .bd-application-form:has(#bd-application-salutation)>.bd-form-field{grid-column:span 4}
.bdm-site .bd-application-form:has(#bd-application-salutation)>:is(.bd-form-note,.bd-form-field--full,.bd-form-submit){grid-column:1/-1}
.bdm-site .bd-application-form:has(#bd-application-salutation)>.bd-form-field:has(>label[for="bd-application-salutation"]){grid-column:span 2}
.bdm-site .bd-application-form:has(#bd-application-salutation)>.bd-form-field:has(>label:is([for="bd-application-first-name"],[for="bd-application-last-name"])){grid-column:span 3}
}
.bdm-site .bdj-single{font-family:inherit}.bdm-site .bdj-single .bdj-layout{padding-block:var(--bdm-section-space);max-width:100%}.bdm-site .bdj-single .bdj-content{max-width:900px;margin-inline:auto}.bdm-site .bdj-content h2{font-size:1.75rem;color:var(--wp--preset--color--green)}
.bdm-site .bdj-content .bdj-section{margin-block:2.5rem}
.bdm-site .bdj-single .bdj-figure{width:100%;max-width:none;margin:0 auto 2.5rem}
.bdm-site .bdj-figure .bd-ai-image-frame{width:100%}
.bdm-site .bdj-figure img.bdj-thumb{display:block;width:100%;max-width:100%;height:auto;margin:0;aspect-ratio:16/9;object-fit:cover;object-position:center top;border-radius:6px}
.bdm-site .bdj-map iframe{min-height:320px}
.bdm-site .bdj-list{gap:1.5rem;margin-top:1.5rem}.bdm-site .bdj-item{padding:1.75rem;border-radius:6px;border-color:var(--wp--preset--color--line);box-shadow:0 4px 18px #173c3207;min-width:0}
.bdm-site :is(.bdj-item__title,.bdj-card__title){font-size:1.375rem;line-height:1.25;margin:0 0 .75rem}.bdm-site :is(.bdj-item__title,.bdj-card__title) a{color:var(--wp--preset--color--green)}
.bdm-site :is(.bdj-item__meta,.bdj-card__meta){font-size:.9375rem;margin:0 0 1rem}.bdm-site :is(.bdj-item__excerpt,.bdj-card__excerpt){margin:0;line-height:1.6}.bdm-site :is(.bdj-item__excerpt,.bdj-card__excerpt)>p{margin:0}.bdm-site :is(.bdj-item__excerpt,.bdj-card__excerpt)>p+p{margin-top:.75rem}
.bdm-site .bdm-job-lead{color:var(--wp--preset--color--green)}.bdm-site :is(.bdj-item__actions,.bdj-card__actions){margin:1.5rem 0 0}
.bdm-download-detail{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding-block:var(--bdm-section-space);min-height:230px}.bdm-download-detail>.bdm-copy{max-width:70ch;margin:0}.bdm-downloads .bdm-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.bdm-downloads h3{margin:0}
.bdm-page-title{padding-block:var(--bdm-section-space)}.bdm-page-title>h1{margin-bottom:2rem}.bdm-search-results article{padding:1.75rem 0;border-bottom:1px solid var(--wp--preset--color--line);max-width:900px}.bdm-search-results article h2{font-size:1.75rem;margin-bottom:.75rem}.bdm-search-results article p{margin:0}
.bdm-search-results article a{color:var(--wp--preset--color--green)}
:is(.page-id-302,.page-id-306,.page-id-1206) .bdm-content{padding-bottom:var(--bdm-section-space)}
:is(.page-id-302,.page-id-306) .bdm-content>.bdm-integration{width:min(calc(100% - var(--bdm-gutter)*2),1000px);margin-inline:auto;padding-top:3rem}
.bdm-integration--agency-credit .bdm-credit{padding-block:0 1rem}
.page-id-1206 .bdm-content>.bdm-section{width:100%;margin:0;padding-block:3rem;border:0}.page-id-1206 .bdm-section__content{max-width:1000px}
/* Footer labels are paragraphs; typographic hierarchy never creates extra headings. */
.bdm-footer{background:#00533e;color:#fff;padding-top:var(--bdm-section-space)}
.bdm-footer__grid{display:grid;grid-template-columns:1.15fr 1fr .9fr;gap:clamp(2rem,4vw,4rem);padding-bottom:3.5rem}.bdm-footer .bdm-eyebrow{color:#e0f1e8}
.bdm-footer .bdm-footer__title{font-size:clamp(1.75rem,2.5vw,2.125rem);font-weight:700;line-height:1.16;letter-spacing:-.012em;margin-bottom:1.25rem;max-width:19ch}
.bdm-footer__description{font-size:1rem;line-height:1.6;max-width:35ch}.bdm-footer__contact{justify-self:start;align-self:start}.bdm-footer__contact p{font-size:1rem;margin-top:1.25rem}.bdm-footer__contact a:not(.bdm-button){color:#fff}
.bdm-footer__label{font-size:1.125rem;font-weight:700;margin:0 0 1rem}.bdm-footer__services ul{list-style:none;margin:0;padding:0}.bdm-footer__services a{display:block;padding-block:.3rem;font-size:1rem;line-height:1.45;color:#fff;text-decoration:none}.bdm-footer__services a:hover{text-decoration:underline}
.bdm-footer__bottom{border-color:#ffffff30;font-size:.875rem;align-items:center;padding-block:1.5rem;gap:1rem 2rem}.bdm-footer__bottom a{color:inherit}.bdm-footer__links{gap:1rem}
.bdm-footer .bdm-search{margin-top:1.5rem;max-width:100%}.bdm-footer .bdm-search label{font-size:.875rem}.bdm-footer .bdm-search>div{flex-wrap:wrap}.bdm-footer .bdm-search input{min-width:100px}
@media(min-width:1024px) and (max-width:1199px){.bdm-header__inner{padding-inline:1.5rem;gap:1rem}.bdm-header .bdm-logo,.bdm-header .custom-logo-link{flex-basis:230px;max-width:230px}.bdm-navigation .bd-nav-link,.bdm-site .bdm-navigation button.bd-nav-toggle{font-size:.925rem;padding-inline:.55rem}.bdm-site .bdm-navigation .bd-nav-link--contact{font-size:.925rem}}
@media(max-width:1023px){
 .bdm-contact-strip{display:none}.bdm-header{background:#fff;border-bottom:1px solid var(--wp--preset--color--line)}.bdm-header__inner{padding-inline:0;min-height:calc(80px + env(safe-area-inset-top));gap:1rem}.bdm-header .bdm-logo,.bdm-header .custom-logo-link{flex-basis:250px;max-width:min(250px,calc(100% - 7.5rem))}
 .bdm-hero__grid{min-height:400px}.bdm-hero--home .bdm-hero__grid{min-height:550px}.bdm-footer__grid{grid-template-columns:1fr 1fr}.bdm-footer__services{grid-column:1/-1}.bdm-footer__services ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem 2rem}
 .bdm-static-cards--benefits{gap:1.5rem}.bdm-static-cards--benefits .bdm-module-card-title{font-size:1.3125rem}.bdm-detail:has(>.bdm-detail__image){gap:2rem}
}
@media(max-width:767px){
 .bdm-site .bd-application-form:has(#bd-application-salutation){grid-template-columns:minmax(0,1fr)}
 .bdm-site .bd-application-form:has(#bd-application-salutation)>:is(.bd-form-field,.bd-form-note,.bd-form-submit){grid-column:1/-1}
 .bdm-site :is(h1,h2,h3){hyphens:manual;text-wrap:balance}
 .bdm-site h1{font-size:2.125rem}.bdm-hero__grid{min-height:390px;padding-block:3rem}.bdm-hero--home .bdm-hero__grid{min-height:570px;padding-block:3rem 4rem}.bdm-hero__copy{max-width:100%}.bdm-hero h1{max-width:20ch;margin-bottom:1.25rem;font-size:2.25rem}
 .bdm-hero:not(.bdm-hero--text)::after{background:linear-gradient(90deg,#003e2ee6,#004b38bf),linear-gradient(0deg,#00513c99,transparent)}.bdm-hero__image img{object-position:60% center}.bdm-hero .bdm-lead{font-size:1.0625rem;line-height:1.6;margin-bottom:1.5rem}.bdm-hero .bdm-lead--headline{font-size:1.25rem}.bdm-hero .bdm-button{max-width:100%}
 .bdm-hero--text .bdm-hero__grid{min-height:0;padding-block:2.5rem}.bdm-hero--text h1{font-size:2.125rem}.bdm-image-caption{font-size:.6875rem;bottom:.65rem}
 .bdm-layout__items{gap:2rem}.bdm-panel:has(>.bdm-panel__content>.bdm-image:only-child){position:static}.bdm-static-cards--benefits{gap:2rem}.bdm-static-cards--benefits .bdm-card{max-width:35rem;margin-inline:auto}.bdm-static-cards--benefits .bdm-module-card-title{font-size:1.5rem}
 .bdm-card{padding:1.5rem}.bdm-card__image{margin:-1.5rem -1.5rem 1.25rem}.bdm-cards .bdm-card__title{min-block-size:0}.bdm-cards--gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem 1rem}.bdm-cards--gallery figcaption{font-size:.8125rem}.bdm-cards--gallery img{aspect-ratio:4/3}
 .bdm-detail:has(>.bdm-detail__image){display:flex;flex-direction:column;gap:2rem}.bdm-detail__image{order:0}.bdm-detail__image img{position:static}.bdm-detail .bdm-layout{margin-block:1.5rem}.bdm-detail__subtitle{font-size:1.25rem}
 .bdm-contact-panel{padding:1.5rem}.bdm-section__content:has(>.bdm-image--logo){grid-template-columns:1fr;gap:1rem}.bdm-image--logo{min-height:100px;padding:.75rem}.bdm-image--logo img{max-height:72px;max-width:250px}
 .bdm-download-detail{display:block}.bdm-download-detail>.bdm-button{margin-top:1.5rem}.bdm-downloads .bdm-card{display:block}.bdm-downloads .bdm-button{margin-top:1rem}
 .bdm-footer__grid{grid-template-columns:1fr;gap:2.5rem;padding-bottom:2.5rem}.bdm-footer__services{grid-column:auto}.bdm-footer__services ul{grid-template-columns:1fr;gap:0}.bdm-footer__services a{min-height:36px}.bdm-footer__bottom{align-items:flex-start;flex-direction:column;font-size:.8125rem}
 .bdm-site .bdj-content h2{font-size:1.625rem}.bdm-site .bdj-single .bdj-layout{padding-top:2rem}.bdm-site .bdj-content .bdj-section{margin-block:2rem}.bdm-site .bd-career .bd-career-intro{margin-bottom:2rem}
 .bdm-site .bdj-item{padding:1.5rem}.bdm-site :is(.bdj-item__title,.bdj-card__title){font-size:1.25rem}
}
@media print{.bdm-hero::after,.bdm-hero__image{display:none!important}.bdm-hero,.bdm-hero__grid{min-height:0!important;background:none!important;padding-block:1rem!important}.bdm-site .bdm-hero h1,.bdm-site .bdm-hero .bdm-lead,.bdm-site .bdm-hero .bdm-eyebrow{color:#000!important}.bdm-panel{position:static!important}}

/* Four related entries form two balanced rows; galleries retain their own grid. */
@media(min-width:768px){.bdm-cards:has(>.bdm-card:nth-child(4)):not(:has(>.bdm-card:nth-child(5))){grid-template-columns:repeat(2,minmax(0,1fr))}}
/* The inherited job renderer used a private-use webfont glyph. Reuse the local Pro Light SVG. */
.bdm-site .bdj-section ul li::before{content:"";display:block;flex:0 0 1em;width:1em;height:1em;margin-top:.36em;font-family:inherit;font-weight:inherit;line-height:1;color:var(--wp--preset--color--green);background:currentColor;mask:url("icons/light/check.svg") center/contain no-repeat}
