/* V0.0.0.6: editable content keeps the established layout flexible. */
.section,.simple-hero,.hero,.strip,.page-hero,.site-footer,.download-card {position:relative}
.mm-edit-shortcut {position:absolute;right:14px;top:12px;z-index:8;display:inline-flex;align-items:center;min-height:32px;padding:5px 10px;border:1px solid #a9bbc9;border-radius:7px;background:#fff;color:#234965;font-family:Arial,sans-serif;font-size:12px;font-weight:600;line-height:1.4;text-transform:none;letter-spacing:normal;text-decoration:none;box-shadow:0 2px 8px rgba(18,43,61,.1)}
.mm-edit-shortcut:hover {background:#eaf1f5;color:#17354c}
.mm-edit-shortcut:focus-visible {outline:3px solid #497da7;outline-offset:3px}
.mm-one-column {grid-template-columns:minmax(0,1fr)!important}
.mm-one-column>img,.mm-one-column>figure {max-width:100%;justify-self:center}
.hero-no-image.hero-sketch {grid-template-columns:minmax(0,1fr);min-height:0}
.hero-no-image.hero-sketch .hero-content {max-width:900px;justify-self:start}
.hero-no-image.hero-sketch .hero-lead {max-width:680px}
.mm-home-photo-view {position:absolute;right:32px;bottom:65px;z-index:3}
.mm-home-photo-view .mm-image-hint {position:static;display:inline-flex}
.mm-home-photo-view:focus-visible {outline:3px solid #fff;outline-offset:5px;border-radius:24px}
.mm-home-photo-view .hero-note {position:static;display:block;margin:10px 0 0;font-size:10px;line-height:1.5;text-align:right}
.mm-home-stats-count-1 {grid-template-columns:1fr}
.mm-home-stats-count-2 {grid-template-columns:repeat(2,minmax(0,1fr))}
.mm-home-stats-count-3 {grid-template-columns:repeat(3,minmax(0,1fr))}
.before-after.mm-home-single {grid-template-columns:minmax(0,1fr)}
.before-after .image-card {display:flex;flex-direction:column;min-width:0}
.before-after .mm-lightbox-link {display:block;flex:0 0 auto}
.before-after .image-card img,.before-after .image-card.feature img {display:block;width:100%;height:clamp(300px,36vw,560px);min-height:0}
.before-after .image-card figcaption {flex:1}
.before-after .mm-image-fit-contain .mm-lightbox-link {background:#fff}
.project-grid.mm-home-cards-count-1 {grid-template-columns:minmax(0,1fr)}
.project-grid.mm-home-cards-count-2 {grid-template-columns:repeat(2,minmax(0,1fr))}
.project-grid.mm-home-cards-count-1 .story-card.big,.project-grid.mm-home-cards-count-2 .story-card.big {grid-row:auto;min-height:330px}
.mm-footer-menu {list-style:none;display:flex;flex-wrap:wrap;gap:16px;margin:0;padding:0}
.footer-links {flex-wrap:wrap}
.mm-download-pending {background:#555;color:#eee;cursor:default}
.download-card {overflow-wrap:anywhere}
.hero-content,.story-card,.plan-grid>div,.spec-section>div,.page-hero>div {min-width:0}
.hero h1,.simple-hero h1,.page-hero h1,.story-card h3 {overflow-wrap:anywhere}
.before-after.mm-one-column .image-card img {height:auto;max-height:760px;object-fit:contain}
.gallery-grid figure.gallery-contain img {height:auto;aspect-ratio:auto;object-fit:contain;background:#fff}
.gallery-grid figure:empty {display:none}
@media(max-width:900px){
  .project-grid.mm-home-cards-count-2 {grid-template-columns:minmax(0,1fr)}
  .before-after .image-card img,.before-after .image-card.feature img {height:360px}
  .before-after .image-card.mm-image-fit-contain img {height:auto}
}
@media(max-width:700px){
  .mm-edit-shortcut {right:10px;top:8px;font-size:11px;min-height:30px;max-width:calc(100% - 20px)}
  .site-footer {padding-top:54px}
  .mm-home-photo-view {right:20px;bottom:18px}
  .hero-photo .hero-content {padding-bottom:145px}
  .mm-home-photo-view .hero-note {max-width:270px;font-size:9px}
  .mm-home-stats-count-3 {grid-template-columns:repeat(2,minmax(0,1fr))}
  .mm-footer-menu {gap:12px}
}
