.hero {
  position: relative;
}

.page-sub-type--filter_page_a .hero__bg {
  background-color: transparent;
}

.hero__bg {
  background-color: #fff;
  height: 100%;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: absolute;
  right: 50%;
  width: 100vw;
}

.hero--bg-blue .hero__bg {
  background-color: var(--amcp-blue);
}

.hero--bg-light-blue .hero__bg {
  background-color: var(--amcp-light-blue);
}

.hero__wrapper {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding: 6rem 0;
  position: relative;
  @media (min-width: 768px) {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    min-height: 504px;
  }
}

.hero--padding-no_vertical_padding .hero__wrapper {
  padding: 0;
  min-height: auto;
}

.hero--padding-medium_vertical_padding .hero__wrapper {
  padding: 4rem 0;
  min-height: auto;
}

.hero--padding-large_vertical_padding .hero__wrapper {
  padding: 8rem 0;
}

.hero--size-large .hero__wrapper {
  @media (min-width: 768px) {
    min-height: 564px;
  }
}

.hero__media {
  bottom: 0;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: absolute;
  right: 50%;
  top: 0;
  width: 100vw;
}

.hero:not(.hero--full-width) .hero__media {
  @media (min-width: 1200px) {
    margin: 0;
    max-width: 1320px;
    transform: translate(-50%, 0);
  }
}

.hero__media-img {
  height: 100%;
  left: 0;
  max-width: none;
  object-fit: cover;
  position: absolute;
  right: 0;
  width: 100%;
}

.hero__main {
  display: flex;
  flex-direction: column;
  gap: var(--amcp-space-150);
  position: relative;
  @media (min-width: 768px) {
    justify-content: center;
    max-width: 56.25rem;
  }
}

.hero__main h1 {
  font-size: 2.625rem;
}

.hero--theme-light .hero__main h1 {
  color: #fff;
}

.hero__user {
  display: flex;
  flex-direction: column;
  @media (min-width: 768px) {
    align-items: center;
    flex-direction: row;
    gap: 2rem;
  }
}

.hero__user-name {
  color: #fff;
  font-family: var(--header-font);
  font-size: 1.5rem;
  font-weight: bold;
}

.hero__user-id {
  color: #fff;
  font-size: 1rem;
  font-style: italic;
}

.hero__description {
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75;
  /* @media (min-width: 768px) {
    max-width: 590px;
  } */
}

.hero--2-cols .hero__description {
  @media (min-width: 768px) {
    max-width: 700px;
  }
}

.hero--theme-light .hero__description {
  /* TODO check color var */
  color: #fff;
}

.hero__description p {
}

.hero--theme-light .hero__description p {
  /* TODO check color var */
  color: #fff;
}

.hero--size-large .hero__description p {
  color: var(--amcp-blue);
  font-size: 1.6rem;
}

.hero__description p:last-child {
  margin-bottom: 0;
}

.hero .button {
  align-self: flex-start;
}

.hero__secondary {
  @media (min-width: 768px) {
    flex-basis: 488px;
    flex-shrink: 0;
    flex-grow: 0;
  }
}

.hero--2-cols .hero__secondary {
  position: relative;
  @media (min-width: 768px) {
    flex-basis: 434px;
  }
  .card {
    max-width: 24rem;
    .card__title {
      font-size: 20px;
    }
  }
}

.hero .card {
  background-color: #fff;
  border: none;
  box-shadow: none;
  margin: 0;
  max-width: none;
}

.hero--bg-default .card--custom,
.hero--bg-light-blue .card--custom {
  background-color: var(--amcp-blue);
}

.hero .card--custom .card__body {
  padding: 2rem;
  @media (min-width: 768px) {
    padding: 3rem;
  }
}

.hero .card .card__title {
  margin-bottom: 1rem;
  font-size: var(--amcp-font-size-xxl);
}

.hero--bg-default .card--custom .card__title,
.hero--bg-light-blue .card--custom .card__title {
  color: #fff;
}

.hero--bg-default .card--custom .card__description,
.hero--bg-light-blue .card--custom .card__description {
  color: #fff;
}

.card__description {
  line-height: 1.875;
}

.hero .card--custom .button {
  background: none;
  border: none;
  display: block;
  padding: 0;
  text-align: left;
  margin-top: 0.625rem;
}

.hero .card--custom .button svg {
  vertical-align: middle;
}

.hero--bg-default .card--custom .button,
.hero--bg-light-blue .card--custom .button {
  color: var(--amcp-green);
}

.hero--bg-blue .card--custom {
}

.hero--bg-blue .card--custom .button {
  color: #d1350f;
}
