:root {
  --hero-button-top-bottom-space: 5.5px;
}

@media (min-width: 1200px) {
  :root {
    --hero-button-top-bottom-space: 14.5px;
    --hero-button-bg: url('../../icons/btn-bg-lg_en.svg');
  }
}

main .hero-container>div {
  max-width: unset;
}

main .hero-container {
  padding: 0;
}

main .hero {
  position: relative;
  min-height: 178px;
}

main .hero p {
  margin: 0;
}

main .hero .content-wrapper {
  padding: 16px 28px 28px;
  box-sizing: border-box;
}

main .hero.no-description .content-wrapper {
  padding: 0;
}

main .hero h1,
main h1 {
  max-width: 100%;
  margin-top: 0;
  margin-bottom: 24px;
  color: #7A3087;
}


main .hero ul {
  margin: 10px 0 0;
}

main .hero ul li:not(:last-child) {
  margin-bottom: .5rem;
}

main .hero img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

main .hero.homepage .button {
  font-size: var(--body-font-size);
  line-height: 22px;
  font-weight: 500;
}

/* image cover type by default */
main .hero.image-cover h1 {
  position: absolute;
  top: 8px;
  left: 19px;
  width: 50%;
  font-size: 1.5rem;
  line-height: normal;
  font-weight: normal;
}

/* exchange order type */
main .hero.exchange-order {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
}

main .hero.exchange-order .image-wrapper {
  padding-left: 14px;
  padding-right: 14px;
}


/* float both sides */
main .hero.float-both-sides .content-wrapper {
  position: initial;
}

/* homepage hero */
main .hero.homepage .button {
  background: url('../../icons/btn-bg-sm.svg') no-repeat;
  background-size: 100% 100%;
  min-width: 317px;
  padding: var(--hero-button-top-bottom-space) 12px var(--hero-button-top-bottom-space) 10px;
}

main .hero.homepage .button::before,
main .hero.homepage .button::after {
  display: none;
}

.hero.help-protect-yourself .content-wrapper {
  padding-bottom: 40px;
}

.hero.help-protect-yourself .content-wrapper h1 {
  max-width: 60%;
}

main .hero.with-gary-background .content-wrapper {
  padding-bottom: 45px;
}

.hero.take-action p br {
  display: none;
}

.hero h1 {
  font-weight: 600;
  max-width: 232px;
}

.hero table tr:first-child td {
  display: block;
}

.hero table tr:first-child td p {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--heading-color);
}

.hero table a:any-link {
  color: #7A3087;
}



.hero table tr:first-child h2 {
  color: var(--heading-color);
  letter-spacing: var(--column-letter-spacing-2);
  margin: 0;
  line-height: var(--h4-line-height);
}

.hero table h2 a {
  color: var(--primary-color);
  font-weight: 700;
}

.hero table h2 a {
  font-size: 24px;
  line-height: 1.17;
  display: inline-block;
  margin-top: 8px;
}

.hero table tr:first-child td:nth-child(3) h2 a {
  max-width: 300px;
}

.hero table h2 a br {
  display: none;
}

.hero table tr:first-child td:nth-child(2) {
  display: block;
  color: var(--heading-color);
  font-size: var(--wab-or-font-size);
  font-weight: var(--wab-or-font-weight);
  line-height: var(--wab-or-line-height);
  width: 45px;
  line-height: 45px;
  border-radius: 50%;
  background: #D3CEC2;
  margin: 32px 0;
}

.hero table tr:first-child td:nth-child(2) {
  font-size: 18px;
  font-weight: 600;
}

.hero table tr:nth-child(2) td {
  margin-top: 40px;
  display: block;
}

.hero table tr:nth-child(2) td h4 {
  margin: 0 0 7px;
  font-weight: 700;
  letter-spacing: var(--column-letter-spacing-2);
}

.hero table tr:nth-child(2) td p {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 0;
  color: var(--heading-color);
  text-align: center;
}

.hero table tr:nth-child(2) td p a {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
  max-width: 300px;
  display: inline-block;
}

.hero table tr:nth-child(2) td p a .icon {
  position: absolute;
}

.hero table tr:nth-child(2) td .icon svg {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 15px;
}

.hero table tr:nth-child(3) td {
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: var(--column-letter-spacing-2);
  display: block;
  margin-top: 33px;
}

main .hero.symptoms-and-impact img {
  max-width: 311px;
  height: auto;
}


.hero a.button:any-link.primary, .hero a.button[role=button].primary, .hero button.button.primary, .hero form button.primary, .hero .button, .hero .button::after, .hero .button::before {
  color: #782C88;
  line-height: unset;
  background-color: unset;
  border: unset;
  box-shadow: unset;
  background: unset;
  text-align: left;
  padding: 0;
  margin: 0;
  text-decoration: underline;
  font-size: 1.25rem;
  min-height: unset;
  min-width: unset;
}

.hero a.button:any-link.primary span {
  padding-left: 0;
}

@media (min-width: 575px) {
  main .hero.image-cover h1 {
    position: absolute;
    top: 16px;
    left: 19px;
    width: 50%;
    font-size: 40px;
    line-height: normal;
    font-weight: normal;
  }
}

@media (min-width: 768px) {

  main .hero.image-cover h1 {
    top: 30px;
    font-size: 3rem;
  }

  .hero.help-protect-yourself {
    margin-bottom: 33px;
  }

  .hero.help-protect-yourself h1 br {
    display: none;
  }

  .hero.help-protect-yourself .content-wrapper {
    padding-bottom: 0;
  }

  .hero table tr:first-child {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .hero table tr:first-child td {
    max-width: calc((100% - 132px) / 2);
  }

  .hero h1 {
    max-width: 540px;
  }

  .hero table tr:first-child td:first-child h2 a {
    max-width: 200px;
  }

  .hero table tr:first-child td {
    max-width: calc((100% - 150px) / 2);
  }

  .hero table tr:nth-child(2) td {
    display: flex;
    width: 100%;
    gap: 44px;
    align-items: center;
  }

  .hero table tr:first-child td:nth-child(2) {
    margin: 0;
  }

  .hero table tr:nth-child(2) td a br {
    display: none;
  }

  .hero table tr:nth-child(2) td p a {
    max-width: unset;
  }
}

@media (min-width: 900px) {

  main .hero.image-cover h1 {
    top: 30px;
    font-size: 48px;
  }

  /* float both sides */
  main .hero.float-both-sides {
    flex-direction: row-reverse;
    padding: 40px 0 0 24px;
  }

  main .hero.symptoms-and-impact {
    padding-right: 24px;
  }

  main .hero.float-both-sides.symptoms-and-impact {
    padding-bottom: 30px;
  }

  main .hero.with-gary-background {
    padding-bottom: 70px;
  }

  main .hero.float-both-sides .image-wrapper {
    padding: 0;
  }

  main .hero.float-both-sides.right-image .image-wrapper {
    max-width: 637px;
    flex: 1;
  }

  main .hero.float-both-sides.right-image .image-wrapper img {
    width: 100%;
  }

  main .hero.float-both-sides .content-wrapper {
    margin-right: 4.5%;
    max-width: 45%;
    padding: 0;
  }

  main .hero.symptoms-and-impact .content-wrapper {
    margin-right: 0;
    max-width: unset;
  }

  main .hero.with-gary-background::after {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #fff 10.06%, #F7F6F6 82.24%, #A09E9D 169.67%);
  }

  main .hero h1 {
    margin-bottom: 30px;
  }

  main .hero .content-wrapper {
    position: absolute;
    top: 40px;
    left: 5px;
    bottom: 0;
    right: 0;
    padding: 0;
    max-width: 50%;
  }

  main .hero h1 br {
    display: none;
  }

  main .hero .content-wrapper {
    max-width: 600px;
  }

  main .hero .button-container {
    text-align: left;
  }

  main .hero.image-cover h1 {
    position: initial;
    width: unset;
  }

}

@media (min-width:1200px) {
  
  .hero table tr:first-child {
    margin: 2rem 0;
  }

  main .hero {
    box-sizing: border-box;
  }

  main .hero.float-both-sides img {
    width: auto;
    height: auto;
  }

  .overview .hero .image-wrapper .img-pc img,
  .understand-from .image-wrapper .img-pc img {
    height: 538px;
  }

  main .hero.small {
    padding-top: 35px;
  }

  main .hero.symptoms-and-impact .image-wrapper {
    padding-right: 12%;
  }

  main .hero.symptoms-and-impact .image-wrapper {
    padding-right: 4%;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1;
    font-weight: 700;
    max-width: unset;
  }

  .hero table tr:nth-child(2) td h4 {
    font-weight: 400;
  }

  .hero table h2 a br {
    display: block;
  }

  .hero table tr:nth-child(3) td {
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: var(--hospitalization-spacing);
    margin-top: 70px;
    max-width: 75%;
  }

  .hero table tr:nth-child(2) td,
  .hero table tr:nth-child(3) td {
    margin-top: 0;
  }

  .hero table tr:first-child td p {
    font-weight: 500;
  }

  .hero table tr:first-child td:nth-child(2) {
    font-weight: 700;
    width: 100%;
    max-width: 50px;
    height: 50px;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero table tr:nth-child(2) td p {
    font-weight: 400;
    letter-spacing: -0.1px;
  }

  .hero table tr:nth-child(2) td p a {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.17;
  }

  .hero table tr:nth-child(3) td {
    font-size: 14px;
  }



  main .hero.homepage .button {
    line-height: 28px;
    font-weight: 400;
  }

  /* float both sides */
  main .hero.float-both-sides {
    padding-left: 45px;
  }

  /* homepage banner */
  main .hero.homepage .content-wrapper {
    max-width: 377px;
    box-sizing: border-box;
  }

  main .hero.homepage .button {
    background-image: var(--hero-button-bg);
    padding-left: 10px;
    padding-right: 12px;
    width: 100%;
  }

  main .hero.float-both-sides.symptoms-and-impact {
    padding-right: 0;
    padding-bottom: 0;
  }

  main .hero.symptoms-and-impact .content-wrapper p:not(:nth-last-of-type(1)) {
    margin-bottom: 58px;
  }

  main .hero.symptoms-and-impact .content-wrapper p:not(:nth-last-of-type(1)) {
    margin-bottom: 32px;
  }

  main .hero ul li:not(:last-child) {
    margin-bottom: .5rem;
  }

  main .hero ul {
    margin: 15px 0 0;
  }

  main .hero.symptoms-and-impact .content-wrapper {
    margin-right: 4.5%;
    max-width: 45%;
  }

  .hero.take-action p br {
    display: block;
  }

  .hero.help-protect-yourself .content-wrapper h1 {
    max-width: 100%;
  }

  main .hero h1 {
    max-width: unset;
  }
}