.section-hero {
  position: relative;
  padding: 15rem 0 8rem;
  display: flex;
  align-items: center;
  min-height: 60vh;
  background-color: var(--black);
}
.section-hero .background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
}
.section-hero .background:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 40vw;
  background-color: var(--secondary-dark);
}
.section-hero .background:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 60vw;
  background-image: radial-gradient(rgba(var(--secondary-dark-rgb), 0.7), rgba(var(--secondary-dark-rgb), 0) 70%);
}
.section-hero .background img {
  position: absolute;
  top: 0;
  right: 0;
  width: 60vw;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.section-hero .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1100px;
}
.section-hero .container .content {
  width: 50%;
  color: var(--white);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.section-hero .container .content :is(h1, h2) {
  font-size: 5em;
  margin: 0 0 10px;
  overflow-wrap: break-word;
}
.section-hero .container .content .subheading {
  margin-bottom: 40px;
  color: var(--white);
}
.section-hero .container .content .description {
  font-size: 0.9em;
  line-height: 1.5em;
  width: 350px;
  margin-bottom: 5rem;
}
.section-hero .container .content .description > * {
  opacity: 0.75;
}
.section-hero .container .content .description *:first-child {
  margin-top: 0;
}
.section-hero .container .content .description *:last-child {
  margin-bottom: 0;
}
.section-hero .container .content *:last-child {
  margin-bottom: 0;
}
.section-hero .container .content .buttons .button.plain-text {
  color: var(--white);
}

@media (max-width: 820px) {
  .section-hero {
    min-height: unset;
  }
  .section-hero .container .content {
    width: 100%;
  }
  .section-hero .container .image {
    display: none;
  }
}
@media (max-width: 600px) {
  .section-hero {
    padding: 10rem 0 5rem;
  }
  .section-hero .background:after {
    width: 80vw;
  }
  .section-hero .container .content :is(h1, h2) {
    font-size: 2.8em;
  }
}
/*

Buttons

*/
.section-hero .container .content .buttons {
  margin-top: 30px;
}
.section-hero .container .content .buttons .button.Primary-Border {
  color: var(--white) !important;
}

/*

Image Overlay Bottom

*/
.section-hero[options~=image-overlay-bottom] .container {
  align-items: flex-end;
}
.section-hero[options~=image-overlay-bottom] .container .content {
  margin-bottom: 3rem;
}
.section-hero[options~=image-overlay-bottom] .container .image {
  margin-bottom: -8rem;
}

/*

Options - Ribbon

*/
.section-hero[options~=ribbon] {
  min-height: unset;
}
.section-hero[options~=ribbon] .container .scroll-down {
  display: none;
}

/*

Blog page

*/
.section-hero[blog-page] .container {
  max-width: 900px;
}

/*

Loading transitions

*/
/* Background */
.section-hero .background {
  transition: all 0.5s;
  opacity: 0;
}

.section-hero.scrolled-to .background {
  opacity: 1;
}

/* Heading */
.section-hero .container .content :is(p.subheading, h1, h2, .description) {
  margin-left: -200px;
  margin-right: 200px;
  opacity: 0;
}

.section-hero.scrolled-to .container .content :is(p.subheading, h1, h2, .description) {
  animation: heroHeaders 1.5s forwards;
}

@keyframes heroHeaders {
  0%, 50% {
    margin-left: -200px;
    margin-right: 200px;
    opacity: 0;
  }
  100% {
    margin-left: 0;
    margin-right: 0;
    opacity: 1;
  }
}
/* Buttons */
.section-hero .container .content .buttons {
  opacity: 0;
}

.section-hero.scrolled-to .container .content .buttons {
  animation: heroButtons 2s forwards;
}

@keyframes heroButtons {
  0%, 50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}