.sa-hero-section-tertiary {
  padding-top: 1.5rem;
  min-height: 25.25rem;
  position: relative;
  overflow: clip;
}

.sa-hero-section-tertiary .sa-hero-section-inner {
  max-width: 73.125rem;
  margin: 0 auto;
  padding-bottom: 10.9375rem;
  position: relative;
}

@media screen and (min-width: 1200px) {
  .sa-hero-section-tertiary .sa-hero-section-inner {
    padding-bottom: 7.5rem;
    max-width: 159.0625rem;
  }
}

.sa-hero-section-tertiary .sa-hero-tertiary-content {
  max-width: 73.125rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sa-hero-section-tertiary .sa-hero-breadcrumbs {
  padding: 0 1rem;
  align-self: start;
}

.sa-hero-section-tertiary .sa-hero-breadcrumbs ol.breadcrumb {
  padding: 0;
}

.sa-hero-section-tertiary .sa-hero-tertiary-text {
  margin-top: 3.5rem;
  padding: 0 1rem;
}

.sa-hero-section-tertiary .hero-overline {
  color: var(--sa-linkcolor);
}

.sa-hero-section-tertiary h1 {
  margin: 0.5rem 0;
  font-family: 'ChevinPro-DemiBold', 'Open Sans', sans-serif;
  font-size: 1.875rem;
  line-height: 2.5rem;
}

@media screen and (min-width: 1200px) {
  .sa-hero-section-tertiary .sa-hero-tertiary-text {
    padding: 0 1rem;
    margin-top: 7.5rem;
    max-width: 37.5rem;
  }

  .sa-hero-section-tertiary h1 {
    font-size: 3rem;
    line-height: 3.875rem;
  }

  .sa-hero-section-tertiary .sa-hero-tertiary-text p {
    margin-bottom: 0;
  }
}

.sa-hero-tertiary-cta {
  margin-top: 1.5rem;
}

/* Icon right */
.sa-hero-section-tertiary.right .hero-tertiary-image-right {
  display: block;
  margin: 0 auto 0;
  width: 11.75rem;
  height: 11.75rem;
  object-fit: cover;
}

@media screen and (min-width: 1200px) {
  .sa-hero-section-tertiary.right .hero-tertiary-image-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20.625rem;
    height: 20.625rem;
  }
}

/* Round image */
.sa-hero-section-tertiary.rounded .hero-tertiary-image-rounded {
  display: block;
  width: calc(100%);
  height: 13.625rem;
  margin: 0 0 0 1rem;
  object-fit: cover;
  border-radius: 54.5rem 0 0 54.5rem;
  object-position: 50% 50%;
}

/* Mobile-first defaults for rounded variant */
.sa-hero-section-tertiary.rounded .sa-hero-section-inner {
  padding-bottom: 3.5rem;
}

.sa-hero-section-tertiary.rounded .sa-hero-tertiary-text {
  margin-top: 0rem;
  padding: 0 1rem;
}

@media screen and (min-width: 400px) {
  .sa-hero-section-tertiary.rounded .hero-tertiary-image-rounded {
    object-fit: cover;
  }
}

@media screen and (min-width: 1200px) {
  .sa-hero-section-tertiary.rounded .sa-hero-section-inner {
    padding-bottom: 7.5rem;
  }

  .sa-hero-section-tertiary.rounded .sa-hero-tertiary-text {
    margin-top: 7.5rem;
    padding: 0 1rem;
    max-width: 37.5rem;
  }

  .sa-hero-section-tertiary.rounded .hero-tertiary-image-rounded {
    position: absolute;
    height: 54.5rem;
    width: 45%;
    left: 55%;
    top: -11.75rem;
  }
}

/* Round illustration */
.sa-hero-section-tertiary.rounded-illustration .sa-hero-section-inner {
  padding-bottom: 3.5rem;
}

.sa-hero-section-tertiary.rounded-illustration .sa-hero-tertiary-text {
  margin-top: 1.5rem;
  padding: 0 1rem;
}

.sa-hero-section-tertiary.rounded-illustration .hero-tertiary-bg-container {
  position: relative;
  width: calc(100% - 1rem);
  margin: 1.5rem auto 0;
}

.sa-hero-section-tertiary.rounded-illustration .hero-tertiary-image-rounded-illustration {
  display: block;
  width: 100%;
  height: auto;
  z-index: 1;
  position: relative;
}

.sa-hero-section-tertiary.rounded-illustration .hero-tertiary-illustration-circle {
  height: 13.625rem;
  width: 100%;
  border-radius: 54.5rem 0 0 54.5rem;
  position: absolute;
  top: 0;
  z-index: 0;
}

@media screen and (min-width: 1200px) {
  .sa-hero-section-tertiary.rounded-illustration .sa-hero-section-inner {
    padding-bottom: 7.5rem;
  }

  .sa-hero-section-tertiary.rounded-illustration .sa-hero-tertiary-text {
    margin-top: 7.5rem;
    padding: 0 1rem;
    max-width: 37.5rem;
  }

  .sa-hero-section-tertiary.rounded-illustration .hero-tertiary-bg-container {
    position: absolute;
    height: calc(100% + 2rem);
    width: 45%;
    top: -2rem;
    right: 0;
  }

  .sa-hero-section-tertiary.rounded-illustration .hero-tertiary-image-rounded-illustration {
    position: absolute;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
  }

  .sa-hero-section-tertiary.rounded-illustration .hero-tertiary-illustration-circle {
    height: 53.25rem;
    top: -11.75rem;
  }
}

/* Video (mobile-first) */
.sa-hero-section-tertiary.video .sa-hero-tertiary-content {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.sa-hero-section-tertiary.video .sa-hero-section-inner {
  padding-bottom: 3.5rem;
}

.sa-hero-section-tertiary.video .sa-hero-tertiary-video-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.5rem;
  flex-direction: column;
  gap: 1.5rem;
}

.sa-hero-section-tertiary.video .sa-hero-tertiary-text {
  max-width: 100%;
  width: 100%;
  padding: 0 1rem;
  order: 1;
  margin-top: 0 !important;
}

.sa-hero-section-tertiary.video .sa-hero-tertiary-video {
  max-width: calc(100% - 2rem);
  width: 100%;
  order: 2;
}

.sa-hero-section-tertiary.video .sa-hero-tertiary-video .video-verktyg {
  margin-bottom: 0 !important;
}

.sa-hero-section-tertiary.video .sa-hero-tertiary-video .video-verktyg a:not(.btn) .video-inner {
  min-height: 12.5rem;
  height: 12.5rem;
}

@media screen and (min-width: 768px) {
  .sa-hero-section-tertiary.video .sa-hero-tertiary-video .video-verktyg a:not(.btn) .video-inner {
    min-height: 21.25rem;
    height: 21.25rem;
  }
}

@media screen and (min-width: 1200px) {
  .sa-hero-section-tertiary.video .sa-hero-section-inner {
    padding-bottom: 7.5rem;
  }

  .sa-hero-section-tertiary.video .sa-hero-tertiary-content {
    flex-direction: row;
  }

  .sa-hero-section-tertiary.video .sa-hero-tertiary-video-content {
    margin-top: 5.5rem;
    flex-direction: row;
  }

  .sa-hero-section-tertiary.video .sa-hero-tertiary-text {
    max-width: calc(50% - 3.5rem);
    padding: 0;
    order: 0;
  }

  .sa-hero-section-tertiary.video .sa-hero-tertiary-video {
    max-width: 50%;
    order: 0;
  }
}

/* Background colors */
.sa-hero-section-tertiary.background-orange {
  background-color: var(--sa-primary-50);
}

.sa-hero-section-tertiary.background-orange .hero-tertiary-illustration-circle,
.sa-hero-section-tertiary.background-orange.rounded .hero-tertiary-image-rounded {
  background-color: var(--sa-primary-100);
}

.sa-hero-section-tertiary.background-green {
  background-color: var(--sa-green-100);
}

.sa-hero-section-tertiary.background-green .hero-tertiary-illustration-circle,
.sa-hero-section-tertiary.background-green.rounded .hero-tertiary-image-rounded {
  background-color: var(--sa-green-200);
}

.sa-hero-section-tertiary.background-purple {
  background-color: var(--sa-purple-100);
}

.sa-hero-section-tertiary.background-purple .hero-tertiary-illustration-circle,
.sa-hero-section-tertiary.background-purple.rounded .hero-tertiary-image-rounded {
  background-color: var(--sa-purple-200);
}

.sa-hero-section-tertiary.background-yellow {
  background-color: var(--sa-yellow-100);
}

.sa-hero-section-tertiary.background-yellow .hero-tertiary-illustration-circle,
.sa-hero-section-tertiary.background-yellow.rounded .hero-tertiary-image-rounded {
  background-color: var(--sa-yellow-200);
}

.sa-hero-section-tertiary.background-red {
  background-color: var(--sa-magenta-100);
}

.sa-hero-section-tertiary.background-red .hero-tertiary-illustration-circle,
.sa-hero-section-tertiary.background-red.rounded .hero-tertiary-image-rounded {
  background-color: var(--sa-magenta-200);
}

.sa-hero-section-tertiary.background-white {
  background-color: var(--sa-white);
}

.sa-hero-section-tertiary.background-white .hero-tertiary-illustration-circle,
.sa-hero-section-tertiary.background-white.rounded .hero-tertiary-image-rounded {
  background-color: var(--sa-white);
}
