.at-heroCarousel {
    position: relative;
    height: var(--headerHeight);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.at-heroCarousel::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    content: '';
    background: var(--tertiaryColor500);
    mix-blend-mode: darken;
    opacity: .5;
}

.at-heroCarousel__imageWrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.at-heroCarousel__imageItem {
    position: relative;
    height: 100%;
}

.at-heroCarousel__image {
    height: 100%;
    background-color: #bebebe;
    background-repeat: no-repeat;
    background-size: cover;
}

.at-heroCarousel__container {
    position: relative;
    z-index: 3;
}

.at-heroCarousel__content {
    text-align: center;
    color: var(--baseLight100);
}

.at-heroCarousel__title {
    margin-bottom: .2em;
    font-size: var(--h1Size);
    color: var(--baseLight100);
}

.at-heroCarousel__description {
    font-size: 1.2em;
}

/**
 * Highlighted container
 */

.at-heroCarousel__highlightedContainer {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    display: none;
}

.at-heroCarousel__highlightedItem {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 5;
    width: 30rem;
    padding: 2em 1.5em 1.5em 2em;
    background: #41a62a;
    transition: all ease-in 200ms;
}

.at-heroCarousel__highlightedItem:hover {
    box-shadow: inset 0 0 0 3px var(--tertiaryColor500);
    transition: all ease-out 200ms;
}

.at-heroCarousel__highlightedItem::before {
    position: absolute;
    right: 1em;
    top: 1em;
    display: block;
    width: 100px;
    height: 35px;
    content: '';
    background: #41a62a no-repeat center;
    background-size: contain;
}

.at-heroCarousel__highlightedTitle {
    margin-bottom: 0.3em;
    padding-right: 100px;
    font-size: 2em;
}

.at-heroCarousel__highlightedTitle,
.at-heroCarousel__highlightedDescription {
    color: #fff;
}

.at-heroCarousel__highlightedDescription {
    margin-bottom: .2em;
}

.at-heroCarousel__highlightedLink {
    float: right;
    margin: 0;
    font-weight: 500;
}

.at-heroCarousel__highlightedItem:hover .at-heroCarousel__highlightedLink {
    border-color: #fff;
    background: none;
}

.at-heroCarousel__highlightedLinkOverlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/**
 * Controls
 */

.at-heroCarousel__controls {
    position: absolute;
    right: 1rem;
    left: 1rem;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 3;
    margin: 0;
}

.at-heroCarousel__controlButton {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: inline-block;
    margin: -2rem 0 0 0;
    padding: 0;
    border: none;
    cursor: pointer;
    font-size: 2rem;
}

.at-heroCarousel__controlButton,
.at-heroCarousel__controlButton:hover {
    background: none;
}

.at-heroCarousel__controlButton--prev {
    left: 0;
}

.at-heroCarousel__controlButton--next {
    right: 0;
}

.at-heroCarousel__controlButtonIcon::before {
    margin: 0;
    color: rgba(255,255,255, 0.5);
}

.at-heroCarousel__controlButton:hover .at-heroCarousel__controlButtonIcon::before {
    color: #fff;
}

@media screen and (min-width: 768px) {
    .at-heroCarousel__description {
        font-size: 1.4em;
    }

    .at-heroCarousel__controlButton {
        margin: -4rem 0 0 0;
        font-size: 4rem;
    }
}

@media screen and (min-width: 1024px) {
    .at-heroCarousel__highlightedContainer {
        display: block;
    }
}
