﻿/*#main-content {
    max-width: 100vw;
    
}*/

.hero.root-hero {
    position: relative;
    height: fit-content;
    width: 100%;
    display: flex;
    align-items: center;
    max-width: 100vw; 
    overflow: hidden;
}

.hero.root-hero,
.hero.root-hero .hero-background,
.hero.root-hero .hero-overlay {
    height: 650px;
    max-height: 100vh;
}

    .hero.root-hero .hero-background {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        z-index: 0;
        bottom: auto;
        object-fit: cover;
        width: 100%;
    }

    .hero.root-hero .hero-overlay {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1;
        bottom: auto;
        background-color: rgba(23, 26, 2,.5);
        width: 100%;
    }

    .hero.root-hero .hero-content {
        position: relative;
        z-index: 2;
    }



        .hero.root-hero .hero-content .hero-content-head {
           
            display: flex;
            flex-direction: column;
            justify-content: center;
        }



.content-cards-container {
    padding-top: 32px;
}

    .content-cards-container .content-cards {
        z-index: 3;
    }

        .content-cards-container  .content-cards .card {
            border-radius: 15px;
            z-index: 1;
            box-shadow: 0px 0px 4px rgba(155,155,155,.25);
        }

            .content-cards-container  .content-cards .card .card-body {
                max-height: 300px;
                display: flex;
                flex-direction: column;
                /*justify-content: center;*/
            }

            .content-cards-container .content-cards .card .card-img {
                width: 100%;
                aspect-ratio: 3/2;
                background: transparent;
            }

                .content-cards-container .content-cards .card .card-img video,
                .content-cards-container .content-cards .card .card-img img {
                    display: block;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: center;
                    aspect-ratio: 3/2;
                }



@media (min-width: 425px) {
    .hero.root-hero,
    .hero.root-hero .hero-background,
    .hero.root-hero .hero-overlay {
        height: 100dvh;
    }

    .content-cards-container {
        margin-top: -280px;
        padding-top: 0;
    }

    .hero.root-hero .hero-content .hero-content-head {
        justify-content: end;
    }

    .hero.root-hero .hero-content .hero-content-head > div {
        margin-bottom: 280px;
    }
}


@media (min-width: 768px) {
    .hero.root-hero {
        align-items: center;
    }

    .content-cards-container {
        margin-top: -332px;
    }

        .content-cards-container .content-cards .card .card-body {
            max-height: unset;
            min-height: 300px;
        }

    .hero.root-hero .hero-content .hero-content-head {
        justify-content: end;
    }

    .hero.root-hero .hero-content .hero-content-head > div {
        margin-bottom: 332px;
    }
}


@media (min-width: 1200px) {
    .content-cards-container {
        margin-top: -332px;
    }

    .hero.root-hero .hero-content .hero-content-head {
        justify-content: end;
    }

    .hero.root-hero .hero-content .hero-content-head > div {
        margin-bottom: 332px;
    }
}