.home-hero {
    position: relative;
}

.home-hero a {
    text-decoration: none;
}

.home-hero .hero-carousel {
    height: 543px;
}

.home-hero .hero-background-wrapper {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.home-hero .hero-background-wrapper::after {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-image: linear-gradient(360deg, rgba(32, 32, 32, 0.85) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.home-hero .hero-background-wrapper .hero-background,
.home-hero .card .hero-img {
    height: 100%;
    width: 100%;
    position: relative;
}

.home-hero .card .hero-img {
    transition: transform 0.3s ease-out;
}

.home-hero .home-hero-item {
    vertical-align: bottom;
}

.home-hero .home-hero-item .hero-content {
    padding: 109px 19px 23px;
    margin-top: -89px;
    color: #ffffff;
    background-image: linear-gradient(315deg, rgba(122, 30, 161, 0.65) 0%, rgba(72, 228, 255, 0.65) 100%);
    min-height: 320px;
    box-sizing: border-box;
}

.home-hero .carousel-dots {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.home-hero .card {
    width: calc(100% - 22px);
    margin: 80px auto 0;
    position: relative;
    white-space: normal;
    max-width: 380px;
}

.home-hero .card .hero-img-wrapper {
    display: block;
    height: 197px;
    width: calc(100% - 26px);
    margin: 0 auto;
    overflow: hidden;
}

.home-hero .card:hover .hero-img-wrapper amp-img {
    transform: scale(1.05);
}

.home-hero .card .hero-category {
    color: #FFFFFF;
    font-family: "helvetica";
    padding-top: 19px;
    padding-bottom: 7px;
}

.home-hero .card .hero-category:hover {
    text-decoration: underline;
}

.home-hero .card .hero-title {
    font-weight: 500;
    color: #FFFFFF;
    font-size: 1.75rem;
    margin-bottom: 10px;
    max-height: 137px;
    display: block;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
}

.home-hero .card .hero-metas {
    font-family: "helvetica";
    font-weight: 500;
    color: #ffffff;
}

.home-hero .carousel-button {
    display: block;
}

@media(min-width: 768px) {
    .home-hero .hero-carousel {
        height: 414px;
    }

    .home-hero .card {
        max-width: 800px;
        margin: 80px auto 0;
        display: flex;
        align-items: center;
        width: calc(100% - 96px);
    }

    .home-hero .card .hero-img-wrapper {
        height: 234px;
        width: 48%;
        margin: 0;
    }

    .home-hero .home-hero-item .hero-content {
        width: calc(70% - 20px);
        padding: 40px 20px 40px 123px;
        margin-left: -103px;
        margin-top: 0;
        min-height: 272px;
        max-height: 272px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .home-hero .card .hero-title {
        max-height: 156px;
    }

    .home-hero .carousel-dots {
        bottom: 10px;
    }
}

@media(min-width: 1366px) {
    .home-hero .hero-carousel {
        height: 619px;
    }

    .home-hero .card {
        max-width: calc(100% - 316px);
        margin: 90px auto 0;
        width: 1039px;
    }

    .home-hero .card .hero-img-wrapper {
        height: 379px;
        width: 522px;
    }

    .home-hero .home-hero-item .hero-content {
        padding: 40px 40px 40px 262px;
        margin-left: -222px;
        min-height: 447px;
        max-height: 447px;
        width: 738px;
    }

    .home-hero .card .hero-category {
        margin-bottom: 5px;
    }

    .home-hero .card .hero-title {
        margin-bottom: 20px;
        max-height: 178px;
    }
}