/* Keep the supporting message clear of the earth artwork on small screens. */
.hero p.sub em {
  font-style: normal;
}

@media (max-width: 639px) {
  .hero .circular-gallery {
    height: 790px;
    min-height: 790px;
    --earth-center-y: 310px;
  }

  .hero .hero-content {
    top: calc(var(--earth-center-y) - 54px);
  }

  .hero p.sub {
    position: static;
    width: 0;
    max-width: none;
    height: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overflow: visible;
    transform: none;
    text-shadow: none;
  }

  .hero p.sub strong {
    position: absolute;
    z-index: 6;
    top: -226px;
    left: -42px;
    width: 218px;
    padding: 11px 22px 12px;
    border: 0;
    border-radius: 0;
    background: #fff49a;
    box-shadow: 4px 5px 0 rgba(226, 96, 152, 0.22);
    clip-path: polygon(7% 0, 100% 0, 94% 50%, 100% 100%, 7% 100%, 0 50%);
    color: #57514f;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.65;
    text-align: center;
    transform: rotate(-2deg);
  }

  .hero p.sub span {
    position: absolute;
    z-index: 6;
    top: 300px;
    left: 50%;
    width: min(350px, calc(100vw - 40px));
    margin: 0;
    padding: 0 10px 7px;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    color: #3e3a39;
    font-size: clamp(15px, 4.25vw, 17px);
    font-weight: 500;
    letter-spacing: 0.045em;
    line-height: 1.65;
    transform: translateX(-50%);
  }

  .hero p.sub span::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 52px;
    height: 1px;
    background: #81cabf;
    transform: translateX(-50%);
  }

  .hero p.sub span em {
    display: inline-block;
    margin-top: 3px;
    padding: 0 2px 2px;
    background: linear-gradient(transparent 62%, rgba(226, 96, 152, 0.24) 62%);
    font-size: 1.08em;
    font-weight: 700;
  }

  .hero .cta-wrap {
    top: 395px;
  }
}

@media (max-width: 350px) {
  .hero .circular-gallery {
    height: 770px;
    min-height: 770px;
    --earth-center-y: 290px;
  }

  .hero p.sub strong {
    top: -214px;
    left: -29px;
    width: 196px;
    padding: 10px 20px 11px;
    font-size: 11px;
  }

  .hero p.sub span {
    top: 285px;
    width: calc(100vw - 32px);
    font-size: 15px;
  }

  .hero .cta-wrap {
    top: 385px;
  }
}
