/* November artwork: natural aspect ratio, with the real form in the red PC band. */
html.mobile-vertical .hero.hero-approved {
  position: relative;
  display: block;
  width: min(1080px, 100%);
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  margin: 0 auto;
  padding: 0;
  background: #fff;
  container-type: inline-size;
}
html.mobile-vertical .hero.hero-approved .hero-approved-picture {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  overflow: visible;
}
html.mobile-vertical .hero.hero-approved .hero-approved-picture img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
html.mobile-vertical .hero.hero-approved .hero-gift { display: none; }
/* Override the legacy nth-of-type widths in both image and HTML modes. */
html.mobile-vertical .hero.hero-approved .hero-form-wrap form.invitation-form.compact > label:nth-of-type(n) {
  inset: auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  justify-self: stretch;
}
html.mobile-vertical .hero.hero-approved .hero-form-wrap form.invitation-form.compact > label > input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
@media (min-width: 900px) {
  html.mobile-vertical .hero.hero-approved .hero-form-wrap {
    position: absolute;
    inset: 77.5% auto auto 30%;
    display: block;
    width: 49%;
    height: auto;
    padding: 0;
    background: transparent;
    pointer-events: auto;
  }
  html.mobile-vertical .hero.hero-approved .invitation-form.compact {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: .6cqw 1cqw;
    width: 100%;
    height: auto;
    max-width: none;
    margin: 0;
    padding: .4cqw 0 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    pointer-events: auto;
  }
  html.mobile-vertical .hero.hero-approved .invitation-form.compact label {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    font-size: clamp(12px, 1.2cqw, 14px);
  }
  html.mobile-vertical .hero.hero-approved .invitation-form.compact label > span {
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin: 0 0 .2cqw;
    overflow: visible;
    clip: auto;
    color: #fff;
  }
  html.mobile-vertical .hero.hero-approved .invitation-form.compact input {
    width: 100%;
    height: 3.7cqw;
    min-height: 36px;
    padding: .4cqw .8cqw;
    border-radius: 4px;
    font-size: 1.3cqw;
  }
  html.mobile-vertical .hero.hero-approved .submit-invitation {
    position: static;
    grid-column: 1 / -1;
    justify-self: center;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    pointer-events: auto;
  }
  html.mobile-vertical .hero.hero-approved .submit-invitation picture,
  html.mobile-vertical .hero.hero-approved .submit-invitation img { width: 100%; height: auto; }
  html.mobile-vertical .hero.hero-approved .form-speed,
  html.mobile-vertical .hero.hero-approved .form-note,
  html.mobile-vertical .hero.hero-approved .form-consent,
  html.mobile-vertical .hero.hero-approved .entry-steps { display: none; }
  html.mobile-vertical .hero.hero-approved .form-error { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  html.mobile-vertical .hero.hero-approved .hero-form-wrap {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    padding: 0 16px 24px;
    background: #fff;
    pointer-events: auto;
  }
  html.mobile-vertical .hero.hero-approved .invitation-form.compact {
    position: static;
    display: grid;
    width: min(560px, 100%);
    height: auto;
    margin: 0 auto;
    padding: 20px 18px;
    background: #fff9ee;
    border: 1px solid #caa65a;
    border-radius: 12px;
    pointer-events: auto;
  }
  html.mobile-vertical .hero.hero-approved .invitation-form.compact label {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 12px;
    pointer-events: auto;
  }
  html.mobile-vertical .hero.hero-approved .invitation-form.compact label > span {
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin: 0 0 4px;
    overflow: visible;
    clip: auto;
  }
  html.mobile-vertical .hero.hero-approved .invitation-form.compact input {
    height: 48px;
    padding: 10px 12px;
    font-size: 16px;
    pointer-events: auto;
  }
  html.mobile-vertical .hero.hero-approved .submit-invitation {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 8px 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    pointer-events: auto;
  }
  html.mobile-vertical .hero.hero-approved .submit-invitation picture,
  html.mobile-vertical .hero.hero-approved .submit-invitation img { width: 100%; height: auto; }
  html.mobile-vertical .hero.hero-approved .entry-steps,
  html.mobile-vertical .hero.hero-approved .form-note,
  html.mobile-vertical .hero.hero-approved .form-consent { display: block; }
}
