/* Footer photo: preserve the supplied image exactly at its natural 2:1 ratio. */
.fmp-footer {
  background-image: none !important;
  background-color: var(--fmp-walnut, #4f3526) !important;
  padding-top: 3.5rem !important;
  overflow: visible !important;
}
.fmp-footer::before {
  content: none !important;
  display: none !important;
}
.fmp-footer-photo {
  display: none !important;
}
.fmp-footer-banner-img {
  display: block !important;
  width: calc(100% - 24px) !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 2 / 1 !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 12px !important;
  background: var(--fmp-walnut, #4f3526) !important;
  border-top: 2px solid var(--fmp-emerald, #176b59) !important;
  border-bottom: 2px solid var(--fmp-emerald, #176b59) !important;
}

/* Home hero: use the page width instead of a narrow invitation-style card. */
.fmp-hero-home {
  padding: clamp(1rem, 2vw, 1.75rem) 12px !important;
}
.fmp-hero-frame {
  width: 100% !important;
  max-width: none !important;
}
.fmp-hero-inner {
  padding: clamp(1.25rem, 2.6vw, 2.25rem) clamp(.8rem, 2vw, 1.75rem) clamp(1.2rem, 2.4vw, 2rem) !important;
}
.fmp-hero-figure {
  width: 100% !important;
}

@media (max-width: 760px) {
  .fmp-footer-banner-img {
    width: calc(100% - 16px) !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
    height: auto !important;
  }
  .fmp-footer { padding-top: 2.5rem !important; }
  .fmp-hero-home { padding-left: 8px !important; padding-right: 8px !important; }
}
