.sano-media-content {
  /* Shared v2 motion tokens. The image zoom matches the hover
     behaviour already shipped in Resources and in the v1 steps
     section, so every section image reacts the same way. */
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --dur-image-zoom: 500ms;
  --image-zoom: 1.04;

  color: #0b1b2b;
  container-name: sano-media-content;
  container-type: inline-size;
  font-family: "Beaufort Classic", sans-serif;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.sano-media-content,
.sano-media-content * {
  box-sizing: border-box;
}

.sano-media-content--white {
  background: #ffffff;
}

.sano-media-content--subtle {
  background: #f6f7f8;
}

.sano-media-content__inner {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1140px;
  padding: var(--sano-media-pad-top, 96px) 0 var(--sano-media-pad-bottom, 96px);
}

.sano-media-content__copy,
.sano-media-content__media {
  min-width: 0;
}

.sano-media-content--left .sano-media-content__media {
  grid-column: 1;
  grid-row: 1;
}

.sano-media-content--left .sano-media-content__copy {
  grid-column: 2;
  grid-row: 1;
}

.sano-media-content__eyebrow {
  color: #0b1b2b;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.5;
  margin: 0 0 20px;
  text-transform: none;
}

.sano-media-content__heading {
  color: #0b1b2b;
  font-size: clamp(32px, 3.2cqi, 36px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

.sano-media-content__body {
  color: #5a6472;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  margin-top: 20px;
}

.sano-media-content__body > :first-child {
  margin-top: 0;
}

.sano-media-content__body > :last-child {
  margin-bottom: 0;
}

.sano-media-content__body p {
  font-size: inherit;
  line-height: inherit;
  margin: 0 0 16px;
}

.sano-media-content__list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.sano-media-content__item {
  align-items: start;
  color: #0b1b2b;
  display: flex;
  font-size: 16px;
  font-weight: 600;
  gap: 16px;
  line-height: 1.5;
  min-width: 0;
}

.sano-media-content--checks .sano-media-content__item {
  color: #5a6472;
  font-weight: 400;
  margin-top: 16px;
}

/* The editor choice is labelled "Green checks". The mark is a
   filled disc, not an outlined square: the fill is the tint
   Mercedes supplied on 2026-09-24 and the tick is the
   design-system success green. */
.sano-media-content__check {
  display: block;
  flex: none;
  height: 20px;
  margin-top: 2px;
  width: 20px;
}

.sano-media-content__check circle { fill: var(--check-fill, #eafed9); }
.sano-media-content__check path { stroke: var(--check-mark, #22a45d); }

.sano-media-content--icon-rows .sano-media-content__item {
  border-bottom: 1px solid #dbdee0;
  padding: 18px 0;
}

.sano-media-content--icon-rows .sano-media-content__item:first-child {
  border-top: 1px solid #dbdee0;
}

.sano-media-content__item-icon {
  display: block;
  flex: none;
  height: 20px;
  object-fit: contain;
  width: 20px;
}

.sano-media-content__button {
  align-items: center;
  background: #f75337;
  border: 2px solid #f75337;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.5;
  margin-top: 32px;
  min-height: 48px;
  padding: 9px 24px;
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.sano-media-content__button:focus-visible {
  outline: 3px solid #0b1b2b;
  outline-offset: 4px;
}

/* The frame clips the zoom, so the image can grow without
   pushing the grid or spilling past the rounded corner. */
.sano-media-content__media {
  border-radius: 16px;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}
.sano-media-content__media--video-only { aspect-ratio: 1 / 1; }
.sano-media-content__video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}
.sano-media-content__media.is-playing .sano-media-content__video { opacity: 1; }

.sano-media-content__media img {
  border-radius: 16px;
  transition: transform var(--dur-image-zoom) var(--ease-soft);
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .sano-media-content__media:hover img { transform: scale(var(--image-zoom)); }

  .sano-media-content__button:hover {
    box-shadow: 0 8px 18px rgba(247, 83, 55, .2);
    transform: scale(1.05);
  }
}

@container sano-media-content (max-width: 960px) {
  .sano-media-content__inner {
    gap: 40px;
    grid-template-columns: minmax(0, 1fr);
    padding: var(--sano-media-pad-top-compact, 64px) 24px var(--sano-media-pad-bottom-compact, 64px);
  }

  .sano-media-content--left .sano-media-content__copy,
  .sano-media-content--left .sano-media-content__media {
    grid-column: 1;
    grid-row: auto;
  }

  .sano-media-content__copy,
  .sano-media-content__media {
    margin: 0 auto;
    max-width: 660px;
    width: 100%;
  }
}

@container sano-media-content (max-width: 600px) {
  .sano-media-content__inner {
    gap: 32px;
    padding: var(--sano-media-pad-top-compact, 64px) 32px var(--sano-media-pad-bottom-compact, 64px);
  }
}

@supports not (container-type: inline-size) {
  @media (max-width: 960px) {
    .sano-media-content__inner {
      gap: 40px;
      grid-template-columns: minmax(0, 1fr);
      padding: var(--sano-media-pad-top-compact, 64px) 24px var(--sano-media-pad-bottom-compact, 64px);
    }

    .sano-media-content--left .sano-media-content__copy,
    .sano-media-content--left .sano-media-content__media {
      grid-column: 1;
      grid-row: auto;
    }
  }

  @media (max-width: 600px) {
    .sano-media-content__inner {
      padding: var(--sano-media-pad-top-compact, 64px) 32px var(--sano-media-pad-bottom-compact, 64px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .sano-media-content__media img { transition: none; }
  .sano-media-content__media:hover img { transform: none; }
  .sano-media-content__button { transition: none; }
  .sano-media-content__button:hover { transform: none; }
}

/* Keep the 1140px grid aligned inside HubSpot sections with outer gutters. */
@container sano-media-content (max-width: 1139px) {
  .sano-media-content__inner { padding-inline: 24px; }
}
@container sano-media-content (max-width: 767px) {
  .sano-media-content__inner { padding-inline: 32px; }
}
@supports not (container-type: inline-size) {
  @media (max-width: 1139px) {
    .sano-media-content__inner { padding-inline: 24px; }
  }
  @media (max-width: 767px) {
    .sano-media-content__inner { padding-inline: 32px; }
  }
}

/* Brief scroll entrance. Without JavaScript, content stays visible. */
.sano-media-content [data-sano-reveal="pending"] {
  opacity: 0;
  translate: 0 24px;
}

.sano-media-content [data-sano-reveal="visible"] {
  animation: sanoV2Reveal 1000ms cubic-bezier(0.33, 1, 0.68, 1) both;
  animation-delay: calc(var(--sano-reveal-index, 0) * 120ms);
}

@keyframes sanoV2Reveal {
  from { opacity: 0; translate: 0 24px; }
  to { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sano-media-content [data-sano-reveal] {
    opacity: 1;
    translate: none;
    animation: none;
  }
}

/* Mobile spacing and text containment, 2026-09-29. */
@media (max-width: 767px) {
  .sano-media-content__inner { padding: 48px 16px; }
}
