/* Fixed ACF module layouts; shared theme, button and motion tokens remain authoritative. */
.bdm-section__content>*:first-child,.bdm-panel__content>*:first-child,.bdm-copy>:first-child{margin-top:0}
.bdm-section__content>*:last-child,.bdm-panel__content>*:last-child,.bdm-copy>:last-child{margin-bottom:0}
.bdm-layout__items{display:grid;gap:var(--wp--preset--spacing--l);align-items:start}.bdm-layout--1>.bdm-layout__items{grid-template-columns:minmax(0,1fr)}.bdm-layout--2>.bdm-layout__items{grid-template-columns:repeat(2,minmax(0,1fr))}.bdm-layout--3>.bdm-layout__items{grid-template-columns:repeat(3,minmax(0,1fr))}.bdm-layout__items>*{min-width:0}
.bdm-panel--plain{min-width:0}.bdm-panel--card,.bdm-panel--feature{height:100%}.bdm-panel--center{text-align:center}.bdm-panel--center .bdm-panel__content{align-items:center}.bdm-panel--actions>.bdm-panel__content,.bdm-actions{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;margin-block:1.5rem}.bdm-section--contact .bdm-panel--actions>.bdm-panel__content,.bdm-section--contact .bdm-actions{justify-content:center}
.bdm-action{display:inline-flex}.bdm-copy{margin-block:0 1rem}.bdm-copy--intro{font-size:clamp(1.125rem,1.6vw,1.3rem);line-height:1.6;color:var(--wp--preset--color--muted)}.bdm-copy--eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--wp--preset--color--green)}.bdm-copy--number{font-size:.875rem;font-weight:650;color:var(--wp--preset--color--green)}
.bdm-copy :is(ul,ol){padding-left:1.5rem}.bdm-copy a{overflow-wrap:anywhere}.bdm-module-heading{scroll-margin-top:2rem}.bdm-panel .bdm-module-heading{margin-block:.5rem 1rem}.bdm-image{margin:0 0 1.5rem}.bdm-image img{width:100%;height:auto;border-radius:4px}.bdm-image figcaption{font-size:.8rem;color:var(--wp--preset--color--muted);margin-top:.5rem}.bdm-branch-feature .bdm-image img{height:220px;object-fit:cover}
.bdm-static-cards{display:grid;gap:1.5rem;align-items:stretch}.bdm-static-cards--2{grid-template-columns:repeat(2,minmax(0,1fr))}.bdm-static-cards--3{grid-template-columns:repeat(3,minmax(0,1fr))}.bdm-module-card-title{font-size:1.5rem;line-height:1.2;margin-block:.5rem 1rem}.bdm-static-cards .bdm-card{min-width:0}.bdm-static-cards .bdm-copy:last-child{margin-bottom:0}
.bdm-gallery{margin-top:3rem}.bdm-details{border-top:1px solid var(--wp--preset--color--line);padding-block:1rem}.bdm-details summary{cursor:pointer;font-weight:650;list-style:none;display:flex;align-items:center;gap:.5rem}.bdm-details summary::after{content:"";width:1rem;height:1rem;margin-left:auto;background:currentColor;mask:url("icons/light/chevron-down.svg") center/contain no-repeat}.bdm-details[open] summary::after{transform:rotate(180deg)}.bdm-details__content{padding-top:1rem}
.bdm-integration{min-width:0}.bdm-integration--legal-imprint,.bdm-integration--legal-privacy,.bdm-integration--agency-credit{width:min(calc(100% - 3rem),1000px);margin-inline:auto}.bdm-content>.bdm-section:last-child{margin-bottom:0}.bdm-section .bdm-card{height:100%}
.bdm-detail:has(.bdm-static-cards){grid-template-columns:1fr}.bdm-detail:has(.bdm-static-cards) .bdm-detail__image{display:none}.bdm-detail .bdm-layout{margin-block:2rem}
.editor-styles-wrapper .bdm-section{max-width:none}.editor-styles-wrapper .bdm-layout__items>.block-editor-block-list__block{width:auto;margin-block:0}.editor-styles-wrapper .bdm-section__content{max-width:1200px}
@media(max-width:767px){.bdm-layout--2>.bdm-layout__items,.bdm-layout--3>.bdm-layout__items,.bdm-static-cards--2,.bdm-static-cards--3{grid-template-columns:minmax(0,1fr)}.bdm-layout__items{gap:1.5rem}}
