#hero {
    position: relative;
    overflow: hidden;
}

#hero .splide__list > .splide__slide {
	width: 100%;
}

#hero .container {
    flex-direction: column;
    align-items: start;
    gap: var(--vert-spacing-5);
}

#hero .container.style1 > div {
    max-width: 42rem;
}

#hero .container.style2 > div > .title {
    max-width: 30rem;
}

#hero .container.style2 > div {
    gap: 0 var(--hori-spacing-5);
}

#hero .container.style2 > div > div {
    flex: 1;
}

#hero .hero-content {
    position: relative;
    z-index: 9;
    max-width: 40rem;
}

body #hero > .container.style1 > div {
    padding: 0 var(--hori-spacing-4);
}

body:has(.header-cta) #hero > .container.style3 {
    padding-top: clamp(12rem, calc(var(--vert-spacing-5) + 3rem), 30rem) !important;
}

body #hero > .container.style3 {
    padding-top: clamp(8rem, calc(var(--vert-spacing-5) + 3rem), 30rem) !important;
}

#hero .style3 > .d-flex > div {
    flex: 1.3;
}

#hero .style3 > div:not(.course-details) > div:not(.image) {
    padding: var(--vert-spacing-4) var(--hori-spacing-5);
}

#hero .style3 > .d-flex > img {
    flex: 1;
}

#hero .container:has(.course-details) {
    gap: 0 !important;
}

#hero .container:has(.course-details).style3 > .d-flex {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

#hero .course-details {
    background: var(--color-azure);
    display: flex;
    width: 100%;
    gap: 2rem;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    justify-content: space-between;
    flex-wrap: wrap;
    padding: var(--vert-spacing-2) var(--hori-spacing-5);
}

#hero .course-details span.title {
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

#hero .course-details ul {
    margin: 0 !important;
}

#hero .style1 .hero-image,
#hero .style2 .hero-image {
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    aspect-ratio: 16 / 9;
    height: auto;
}

#hero .style3 > .d-flex {
    border-radius: var(--border-radius);
    width: 100%;
    overflow: hidden;
}

#hero .style3 .hero-image {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

#hero .hero-eyebrow {
    margin: 0 0 1rem;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--color-blue);
  display: block;
}

#hero:not(:has( + .bg-cyan)) .container:has(.style2) {
    padding-bottom: 0 !important;
}

#hero .container:has(.style2):before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(25vw);
    background: var(--color-white);
}

#hero:has( + .bg-pink) .container:has(.style2):before {
    background: var(--color-pink) !important;
}

#hero:has( + .bg-cyan) .container:has(.style2):before {
    background: var(--color-cyan) !important;
}

#hero:has( + .bg-azure) .container:has(.style2):before {
    background: var(--color-azure) !important;
}

#hero:has( + .bg-navy) .container:has(.style2):before {
    background: var(--color-navy) !important;
}

#hero .container > svg {
    position: absolute;
    right: 0;
    opacity: 0.3;
    top: 10rem;
	max-width: 100vw;
}

#hero .container > div,
#hero .container > img {
    position: relative;
    z-index: 9;
}

#hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

#hero .style1 {
    background: var(--color-azure);
}

@media (max-width: 945.98px) {
    #hero .container > div.style2 {
        flex-direction: column !important;
    }
}

@media (max-width: 470px) {
    #hero .container.style3 > div .image {
        display: none !important;
    }
}

#hero .news-tag {
    display: inline-block;
    margin-bottom: 1.25rem;
    padding: .45rem .85rem;
    border-radius: 6px;
    background: var(--color-cyan);
    color: var(--color-navy);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1;
  }

  #hero:has(div[class*="elfsight"]) h1 {
    margin-top: 1rem !important;
  }

@media(max-width: 600px) {
	#hero .course-details {
		justify-content: start !important;
	}
	#hero .course-details > div {
		min-width: 150px;
	}
}