.hero-wrapper {
  display: flex;
}
.hero-watch-video-button-wrapper {
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}
.hero-media-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.hero-media-image {
  max-height: 600px;
  max-width: 100%;
  width: auto;
}
.hero-column {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
}
.hero-description {
  font-size: var(--typography-fluid-scale-2);
  color: var(--color-primary);
}
.hero-contact-wrapper {
  margin-bottom: 30px;
  display: block;
  width: fit-content;
}
.hero-content-wrapper {
  max-width: 700px;
  text-align: center;
}
.hero-sorter-button-description {
  font-size: 14px;
}
.hero-sorter-button--blue {
  background: #3A99D8;
}
.hero-sorter-button--green {
  background: #4FCA92;
}
.hero-sorter-wrapper {
  position: absolute;
  bottom: 20px;
  display: flex;
  width: 100%;
  flex: 1;
  gap: 1rem;
  right: 0;
  justify-content: flex-end;
}
.hero-sorter-button-arrow-wrapper {
  height: 75%;
  position: absolute;
  right: -25px;
  top: 12.5%;
}
/**
 * Fix the sorter arrow parts' positioning only on Firefox, for some reason.
 */
@supports (-moz-appearance: none) {
  .hero-sorter-button-arrow-wrapper {
    right: 35px;
  }
}
.hero-sorter-button-arrow {
  background: var(--color-primary);
  border-radius: 50%;
  height: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-red 2s infinite;
}
.hero-sorter-button-arrow svg {
  margin-left: -20px;
}
.hero-sorter-button-text {
  padding-right: 50px;
}
.hero-sorter-panel {
  position: absolute;
  bottom: -10px;
  right: -10px;
  min-height: 200px;
  width: 100%;
  background: var(--color-white);
  z-index: 1;
  border: 1px solid #C9CBCF;
  box-shadow: 0px 20px 20px rgb(0 0 0 / 5%);
  border-radius: 10px;
  padding: 4rem 2rem 2rem;
}
.hero-sorter-panel .h3 {
  text-align: center;
  margin-bottom: 20px;
}
.hero-sorter-back,
.hero-sorter-close {
  background: none;
  border: none;
  position: absolute;
  top: 0.5rem;
  cursor: pointer;
}
.hero-sorter-back {
  left: 1rem;
}
.hero-sorter-close {
  right: 1rem;
}
.hero-sorter-button {
  text-align: left;
  border: none;
  border-radius: 6px;
  padding: 20px;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}
.hero-sorter-button:hover,
.hero-sorter-button:focus {
  transform: translateY(-2px);
}
.hero-sorter-button-title {
  display: block;
  color: var(--color-white);
  margin: 0;
}
.hero-watch-video-button-wrapper {
  margin-top: 40px;
}
.hero-watch-video-button-circle {
  transition: 200ms ease;
}
.hero-watch-video-button-arrow {
  fill: transparent;
  transition: 200ms ease;
}
.hero-watch-video-button-wrapper:hover .hero-watch-video-button-circle,
.hero-watch-video-button-wrapper:focus .hero-watch-video-button-circle {
  fill: white;
}
.hero-watch-video-button-wrapper:hover .hero-watch-video-button-arrow,
.hero-watch-video-button-wrapper:focus .hero-watch-video-button-arrow {
  fill: var(--color-primary);
  stroke: var(--color-primary);
}

/* the video popup */
.hero-video {
  position: relative;
  border: 1px solid #C9CBCF;
  border-radius: 27px;
  padding: 3rem 3rem 2rem;
}
.hero-video-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  border: none;
}

/* the sorter dynamic form thing */
.hero-sorter-panel-business-wikipedia,
.hero-sorter-panel-individual-wikipedia,
.hero-sorter-panel-business,
.hero-sorter-panel-individual,
.hero-sorter-panel {
  display: none;
}

.hero-sorter-panel-individual.active,
.hero-sorter-panel-business-wikipedia.active,
.hero-sorter-panel-individual-wikipedia.active,
.hero-sorter-panel-business.active,
.hero-sorter-panel.active {
  display: block;
}

.hero-sorter-card {
  display: flex;
  color: var(--color-yankees-black);
  text-decoration: none;
  gap: 10px;
  background: var(--color-white);
  border: 1px solid var(--color-chinese-silver);
  border-radius: 6px;
  padding: 10px 15px;
  width: 100%;
  line-height: 1.5;
  cursor: pointer;
}
.hero-sorter-card:hover,
.hero-sorter-card:focus {
  border-color: var(--color-primary);
}
.hero-sorter-card:hover .hero-sorter-card-title,
.hero-sorter-card:focus .hero-sorter-card-title {
  color: var(--color-primary);
}
.hero-sorter-card + .hero-sorter-card {
  margin-top: 10px;
}
.hero-sorter-card-description,
.hero-sorter-card-title {
  margin: 0;
}
.hero-sorter-card-title {
  font-weight: 700;
}
.hero-sorter-card-description {
  font-size: 14px;
}
@media (max-width: 1200px) {
  .hero-column--second {
    margin-top: 40px;
  }
  .hero-wrapper--hide-image-mobile .hero-media-wrapper {
    display: none;
  }
  .hero-wrapper--hide-image-mobile:not(.hero-wrapper--show-sorter) .hero-column--second {
    display: none;
  }
  .hero-wrapper {
    flex-direction: column;
  }
  .hero-media-wrapper {
    justify-content: center;
  }
  .hero-contact-wrapper,
  .hero-content-wrapper {
    margin-inline: auto;
  }
  .hero-sorter-wrapper {
    position: relative;
    justify-content: center;
  }
}
