.mtfs-media {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  background: #e8eaed;
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.13);
}

.mtfs-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mtfs-media--standard {
  aspect-ratio: 3 / 2;
}

.mtfs-media--wide {
  aspect-ratio: 2 / 1;
}

.mtfs-media--panoramic {
  aspect-ratio: 21 / 9;
}

.mtfs-media--team {
  aspect-ratio: 16 / 9;
}

.mtfs-media--portrait {
  aspect-ratio: 4 / 5;
}

.mtfs-home-partner-visual {
  width: 100%;
  max-width: 520px;
  margin: 0;
  justify-self: end;
}

.mtfs-home-partner-visual .mtfs-media img {
  object-position: center center;
}

.mtfs-media-stack {
  display: grid;
  gap: 18px;
}

.mtfs-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.mtfs-intro-grid .sh {
  max-width: none;
  margin: 0;
  text-align: left;
}

.mtfs-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 52px;
  align-items: center;
}

.mtfs-hero-copy .sub {
  max-width: 720px;
}

.mtfs-about-hero {
  isolation: isolate;
}

.mtfs-about-hero .mtfs-hero-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mtfs-about-hero .mtfs-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 64%;
}

.mtfs-about-hero::before {
  z-index: 1;
  background: linear-gradient(
      90deg,
      rgba(17, 24, 39, 0.96) 0%,
      rgba(17, 24, 39, 0.82) 48%,
      rgba(17, 24, 39, 0.7) 100%
    ),
    radial-gradient(
      ellipse 680px 420px at 15% 50%,
      rgba(0, 139, 139, 0.26) 0%,
      transparent 72%
    );
}

.mtfs-about-hero .ctr {
  position: relative;
  z-index: 2;
}

.mtfs-photo-band {
  padding: 72px 0;
  background: #f8f9fa;
}

.mtfs-photo-band .mtfs-media {
  max-height: 640px;
}

.mtfs-location-photo {
  align-self: stretch;
  margin: 0;
}

.mtfs-location-photo .mtfs-media {
  height: 100%;
  min-height: 430px;
}

.mtfs-location-photo figcaption {
  margin-top: 10px;
  color: #6b7280;
  font-size: 0.76rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 1024px) {
  .mtfs-intro-grid,
  .mtfs-hero-split {
    grid-template-columns: 1fr;
  }

  .mtfs-intro-grid .sh {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
  }

  .mtfs-hero-split .mtfs-media {
    max-width: 760px;
    margin: 0 auto;
  }

  .mtfs-home-partner-visual {
    max-width: 620px;
    margin: 0 auto;
    justify-self: center;
  }

  .mtfs-location-photo .mtfs-media {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 768px) {
  .mtfs-intro-grid {
    gap: 28px;
    margin-bottom: 40px;
  }

  .mtfs-hero-split {
    gap: 34px;
  }

  .mtfs-photo-band {
    padding: 48px 0;
  }

  .mtfs-media,
  .mtfs-about-hero .mtfs-hero-image {
    border-radius: 14px;
  }

  .mtfs-media--panoramic {
    aspect-ratio: 16 / 9;
  }

  .mtfs-about-hero .mtfs-hero-image {
    border-radius: 0;
  }
}
