:root {
    --bs-xxl-container-width: 1320px;
}

.home-header {
    position: relative;
    min-height: 300px;
    height: auto;
    background-color: rgba(var(--cts-darkgreen-rgb), .75);
    overflow: hidden;
}

.home-header-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

.home-headline {
    font-size: 2.5rem;
    width: 75%;
}

.home-headline .text-highlight {
    padding: 0 .2em;
    border-radius: .25rem;
    background-color: var(--cts-lightgreen);
    color: var(--mt-blue);
}

.home-section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.home-services .service-card {
    width: 100%;
    height: 100%;
    aspect-ratio: 5 / 4;
    padding: 1.5rem;
}

@media screen and (max-width: 575.98px) {
    .home-services .service-card {
        aspect-ratio: 1;
    }

    .home-headline {
        width: 100%;
    }
}

@media screen and (max-width: 424.98px) {
    .home-services .service-card {
        aspect-ratio: auto;
    }
}

.home-services .service-card-icon {
    background-color: var(--mt-green);
}

.home-services .service-card-title {
    color: var(--mt-blue);
}

.home-services .service-card-link {
    font-size: 1rem;
    color: var(--bs-body-color);
}


.project-card-wrapper {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.home-careers-container {
    display: grid;
    grid-template-rows: auto auto;
}

.home-careers-left {
    grid-row: 1 / 2;
}

.home-careers-right {
    grid-row: 2 / 3;
    padding: 2rem 1.5rem;
}

.home-careers-img {
    aspect-ratio: 2 / 1;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    object-position: center;
    margin-left: auto;
}

.home-leadership {
    position: relative;
    height: 500px;
    min-height: 400px;
    background-color: rgba(var(--cts-darkgreen-rgb), .8);
    color: white;
}

.home-leadership-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

.home-services-grid {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1.5rem;
    column-gap: 1rem;
    justify-content: center;
    align-items: stretch;
}

.home-services-grid-item {
    width: min(100%, 245px);
}

.home-blog-post {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 768px) {
    .home-headline .text-highlight {
        white-space: nowrap;
    }
}

@media screen and (min-width: 992px) {
    .home-header {
        min-height: 400px;
        height: 400px;
    }

    .home-section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .home-careers-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .home-careers-left {
        grid-row: 1 / 2;
        grid-column: 1 / 2;
    }

    .home-careers-right {
        grid-row: 1 / 2;
        grid-column: 2 / 3;
        padding: 4rem;
        max-width: calc(var(--bs-xxl-container-width) / 2);
    }

    .home-blog-post {
        max-width: none;
        margin-left: initial;
        margin-right: initial;
    }
}

@media screen and (min-width: 1400px) {
    .home-header {
        min-height: 500px;
        height: 500px;
    }
}