/* mm-static-images.css - page header photos and section images */

/* Page header with photo: dark scrim on the left so the H1 stays readable */
.mm-pagehead--img {
  position: relative;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding-top: 72px;
  padding-bottom: 64px;
}
.mm-pagehead--img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,23,26,.88) 0%, rgba(8,23,26,.66) 50%, rgba(8,23,26,.25) 100%);
  pointer-events: none;
}
.mm-pagehead--img > .container { position: relative; z-index: 1; }
.mm-pagehead--img h1,
.mm-pagehead--img .mm-crumb,
.mm-pagehead--img .mm-crumb li,
.mm-pagehead--img .mm-crumb a,
.mm-pagehead--img .breadcrumbs,
.mm-pagehead--img .breadcrumbs a { color: #fff; }
.mm-pagehead--img .mm-crumb a:hover,
.mm-pagehead--img .breadcrumbs a:hover { color: #cfeff2; }

/* Section photos */
.mm-simg {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--mm-line, #dfe3e6);
  background: var(--mm-steel, #f3f5f6);
}
.mm-simg img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.mm-simg--wide img { aspect-ratio: 12 / 5; }
.mm-simg + * { margin-top: 0; }

/* Full-width band with a background photo (final CTA) */
.mm-bgband {
  position: relative;
  background-size: cover;
  background-position: center right;
  color: #fff;
}
.mm-bgband::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,23,26,.9) 0%, rgba(8,23,26,.7) 55%, rgba(8,23,26,.3) 100%);
  pointer-events: none;
}
.mm-bgband > .container { position: relative; z-index: 1; }
.mm-bgband h2, .mm-bgband p { color: #fff; }
.mm-ctaband { padding: 72px 0; background: var(--mm-ink, #0b2226); color: #fff; }
.mm-ctaband h2, .mm-ctaband p { color: #fff; }

@media (max-width: 767.98px) {
  .mm-pagehead--img { padding-top: 48px; padding-bottom: 44px; }
  .mm-pagehead--img::before { background: rgba(8,23,26,.78); }
  .mm-bgband::before { background: rgba(8,23,26,.82); }
}
