.site-edit-text{display:contents}
.site-extra-section{display:flex;align-items:center;gap:36px;max-width:1120px;margin:48px auto;padding:24px;line-height:1.8}.site-extra-section>img{width:45%;max-height:500px;object-fit:cover;border-radius:12px}.site-extra-section>div{flex:1}.site-extra-section a{display:inline-block;padding:12px 20px;background:#434343;color:#fff;text-decoration:none}.site-extra-section p{white-space:normal}@media(max-width:700px){.site-extra-section{flex-direction:column}.site-extra-section>img{width:100%}}

/* Custom pages provide a full-width row for added sections. */
.site-page-content{width:100%;max-width:none;margin:40px 0;padding:24px 0;min-height:40vh;box-sizing:border-box}
.site-page-intro{max-width:1148px;margin:0 auto;padding:0 24px;box-sizing:border-box}.site-extra-section:has(>div:only-child){display:block}.site-extra-button a{display:inline-block;padding:12px 24px;background:#173b62;color:#fff;border-radius:8px;text-decoration:none}

.site-extra-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:16px;width:100%}.site-extra-gallery img{display:block;width:100%;height:auto;max-height:500px;object-fit:cover;border-radius:12px}

/* Sections occupy a complete row; explicit user resizing remains available. */
.site-extra-section.site-extra-block{display:inline-flex;vertical-align:top;flex-direction:column;align-items:stretch;box-sizing:border-box;width:100%;max-width:100%!important;min-width:0;min-height:80px;margin:24px 0;padding:16px;gap:12px;overflow-wrap:anywhere;overflow:visible}
.site-extra-section.site-extra-block>div{min-width:0;width:100%}.site-extra-section.site-extra-block>img{width:100%;max-width:100%;height:auto}.site-extra-section.site-extra-block:has(>div:only-child){display:inline-flex}

.site-extra-section.site-extra-inline{display:block;box-sizing:border-box;width:fit-content;max-width:100%!important;min-width:20px;min-height:20px;margin:16px auto;padding:0;overflow-wrap:anywhere}.site-extra-section.site-extra-button-link{padding:12px 24px;background:#173b62;color:#fff;border-radius:8px;text-decoration:none}

/* The section and its background share the entire row, without outer gutters. */
.site-extra-section:is(.site-full-section,.site-extra-block){display:flex!important;width:100%!important;max-width:100%!important;margin:0!important;min-height:80px;box-sizing:border-box}
.site-section-background::before{background:none!important}.site-section-background>.home-hero__picture,.site-section-background>.home-hero__shade{visibility:hidden!important}

.site-extra-inline{position:relative;flex:0 0 auto;align-self:center}

/* Standalone photos stay inside the selected section. */
img.site-extra-section.site-extra-image{display:block;width:320px;height:auto;max-width:100%!important;max-height:none;margin:16px auto;padding:0;object-fit:contain;object-position:50% 50%;border-style:solid;border-width:0}
