.min-height-500 {
    min-height: 500px;
}

.min-height-640 {
    min-height: 640px;
}

.max-height-670 {
    max-height: 670px;
}

.text-40px {
    font-size: 40px;
}

.mini-stack {
    display: block;
}

.hero-grid-bg-image-position {
    background-position:100% 0%;
}

.large-grid-bg-image-position {
    background-position: center;
}

.side-bar-image-margin {
    margin-top: 85px;
}

.cs-story-group {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    animation: csStoryGroupIn 420ms ease-out forwards;
    transform-origin: center center;
    }

    @keyframes csStoryGroupIn {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }
    60% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs-story-group {
        animation: none;
        opacity: 1;
        transform: none;
    }
}  

@media (max-width: 991.98px){
    .h-50 { height: auto !important; }

    .mini-stack {
        display: block;
        height: 800px;
    }

    .mini-stack > a {
        height: 50%;
    }

    .side-bar-image-margin {
        margin-top: 0px;
    }
}

@media (min-width: 992px) {
    .mini-stack {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .mini-stack > a {
        flex: 1 1 0;
    }
}

@media (max-width: 600px) {
    .hero-grid-bg-image-position {
        background-position: center;
    }

    .text-40px {
        font-size: 26px;
    }
}
