@media (max-width: 767px) {
  #dmRoot #dm #dm_content [id="1586887336"] { display: none !important; }

  #dmRoot #dm #dm_content [id="1272286230"] {
    padding: 24px 16px !important;
    height: auto !important;
    min-height: 0 !important;
  }

  #dmRoot #dm #dm_content :is([id="1671618634"], [id="1864021519"]) {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    background: none !important;
  }

  #dmRoot #dm #dm_content :is([id="1671618634"], [id="1864021519"]) > img {
    display: block !important;
    width: 100%;
    height: auto !important;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    margin: 0;
  }

  #dmRoot #dm #dm_content :is([id="1590774842"], [id="1303524626"]) {
    background: #0c587b !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  #dmRoot #dm #dm_content [id="1590774842"] [id="1864021519"] { order: 1; }

  #dmRoot #dm #dm_content [id="1303524626"] {
    padding: 20px 16px !important;
  }

  #dmRoot #dm #dm_content [id="1303524626"] .dmNewParagraph {
    padding-block: 0 !important;
    margin-block: 0 12px !important;
  }
  #dmRoot #dm #dm_content [id="1303524626"] :is(h2, p, span) { color: #fff !important; }

  #dmRoot #dm #dm_content [id="1237141432"] { margin-top: 0 !important; }
}

/* Keep the homepage navigation above the photo so it cannot obscure Evan's face. */
#dm:has(.pgc-home-desktop-photo) .header-over-content .dmHeaderContainer {
  position: relative;
}

#dmRoot #dm #dm_content [id="1369528240"] {
  display: none !important;
}

/* Use the full 3:2 photo at every width so resizing never changes the crop. */
#dmRoot #dm #dm_content [id="1590126981"] {
  display: grid;
  isolation: isolate;
  overflow: hidden;
  background: #003153 !important;
  padding: 0 !important;
  margin: 0 !important;
}

#dmRoot #dm #dm_content [id="1590126981"] > * {
  grid-area: 1 / 1;
}

#dmRoot #dm #dm_content [id="1590126981"] > .pgc-home-desktop-photo {
  display: block;
  width: 100%;
  height: auto;
}

#dmRoot #dm #dm_content [id="1590126981"]::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 36%, rgb(0 17 29 / 80%)) !important;
  opacity: 1 !important;
  z-index: 1;
  pointer-events: none;
}

#dmRoot #dm #dm_content [id="1590126981"] > .dmRespColsWrapper {
  align-self: end;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 16px clamp(20px, 5vw, 70px) clamp(20px, 4vw, 56px);
  box-sizing: border-box;
}

@media (max-width: 767px), (orientation: landscape) and (max-height: 540px) and (max-width: 1200px) and (pointer: coarse) {
  #dmRoot #dm #dm_content .pgc-phone-hero {
    display: grid !important;
    min-height: 0;
  }

  #dmRoot #dm #dm_content .pgc-phone-hero > img {
    position: static;
    height: auto !important;
    width: 100%;
    max-height: none;
  }

  #dmRoot #dm #dm_content .pgc-phone-hero::before {
    display: none;
  }
}
