/* Keep every translated hero title inside the image's clear text-safe area. */
html[lang="zh-Hans"] .onboarding-panel .panel-heading > p {
  display: none;
}

html[lang="zh-Hans"] .auction-rule-strip span:last-child {
  display: none;
}

@media (min-width: 601px) {
  .hero-copy {
    width: 48%;
    max-width: 650px;
    padding-right: 18px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(38px, 3vw, 56px);
    line-height: 1.1;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .hero-copy > p {
    max-width: 620px;
  }

  .hero-main::before {
    background: linear-gradient(90deg, rgba(250, 247, 240, .97) 0%, rgba(250, 247, 240, .9) 35%, rgba(250, 247, 240, .28) 49%, rgba(250, 247, 240, 0) 58%);
  }

  html[dir="rtl"] .hero-copy {
    margin-right: auto;
    margin-left: 0;
    text-align: right;
  }
}

@media (min-width: 601px) and (max-width: 1250px) {
  .hero-copy {
    width: 50%;
    padding-left: 28px;
    padding-right: 16px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 3.55vw, 44px);
  }
}

@media (min-width: 601px) and (max-width: 1050px) {
  .hero-copy h1 {
    font-size: clamp(30px, 3.7vw, 39px);
  }

  .hero-copy > p {
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .hero-copy h1 {
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .hero-art {
    object-position: 70% 50%;
  }

  .header-language .jba-language-switcher {
    width: 92px;
    min-width: 92px;
  }

  .header-language .jba-language-current {
    max-width: 46px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-apply {
    width: 106px;
    max-width: 106px;
  }
}
.hero-image-note {
  position: absolute;
  right: 18px;
  bottom: 128px;
  z-index: 3;
  padding: 6px 9px;
  background: rgba(250, 247, 240, 0.9);
  color: #5f584d;
  font-size: 10px;
  text-transform: uppercase;
}
