@media (max-width: 767px) {
  section.hero .hero-grid,
  #dt-hero-v1 .dth-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  section.hero .hero-grid > :first-child,
  section.hero .hero-grid > .hero-card,
  #dt-hero-v1 .dth-grid > :first-child,
  #dt-hero-v1 .dth-grid > .dth-visual {
    display: contents;
  }

  #dt-hero-v1 .dth-grid > .dth-visual::before {
    display: none;
  }

  section.hero .hero-grid > :first-child > :is(.eyebrow, h1),
  #dt-hero-v1 .dth-grid > :first-child > :is(.dth-eyebrow, h1) {
    order: -2;
  }

  section.hero .hero-grid > :first-child > .eyebrow {
    justify-self: start;
  }

  section.hero .hero-card > :is(img, .hero-card-image, .hero-card-media, .canada-flag),
  #dt-hero-v1 .dth-visual > .dth-photo {
    order: -1;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px;
    border-radius: 10px;
    overflow: hidden;
  }

  section.hero .hero-card > img,
  section.hero .hero-card-image img,
  #dt-hero-v1 .dth-visual > .dth-photo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 210px;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: 50% 38%;
  }

  section.hero .hero-card > .hero-card-image,
  section.hero .hero-card > .canada-flag {
    min-height: 0;
    height: auto;
    max-height: 210px;
    aspect-ratio: 2 / 1;
  }

  section.hero .hero-card > .hero-card-media {
    min-height: 0;
    padding: 8px;
    gap: 8px;
  }

  section.hero .hero-card-media > .sample-page {
    height: clamp(112px, 34vw, 168px);
    transform: none;
  }

  section.hero .hero-card > .hero-card-body {
    min-width: 0;
    margin-top: 20px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 10px;
    background: #e6eef3;
    color: var(--ink, #172033);
  }

  #dt-hero-v1 .dth-visual > .dth-caption {
    order: 4;
    min-width: 0;
    margin: 20px 0 0;
  }
}
