
.masthead__homepage {
    background: var(--fuchsia-red);
    position: relative;
    overflow: hidden;
}

.masthead__image {
    position: absolute;
    width: 100%;
    height: 100%;
}

.masthead__image img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
}

.masthead__text-wrap {
    text-align: center;
    padding: 25px 0px 38px;
}

.masthead__text-wrap h1 {color: var(--white);line-height: 1.1;padding-bottom: 17px;}

.masthead__text-wrap p {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.masthead__text-wrap p strong {
    font-weight: 700;
}

/* Mobile Styling */

.masthead__image-mobile {
    position: relative;
}

.masthead__image-mobile .masthead__img-mobile {
    object-position: 70%;
    object-fit: cover;
    width: 100%;
    min-height: 300px;
    max-height: 300px;
}

.masthea__img-card {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding-left: 20px;
    max-width: 190px;
    left: 22px;
}

@media (min-width: 500px) {
    .masthead__image-mobile .masthead__img-mobile {
        object-position: center;
        max-width: 100%;
    }

    .masthea__img-card {
        left: unset;
        right: 38%;
        max-width: 230px;
    }
}

@media (min-width: 768px ) {

    .masthead__image-mobile .masthead__img-mobile {
        min-height: 400px;
        max-height: 400px;
    }

    .masthead__text-wrap p {
        font-size: 18px;
    }

    .masthea__img-card {
        max-width: 250px;
    }
}

@media (min-width: 1025px) {
    
    .masthead__homepage { background: transparent; }

    .masthead__text-wrap h1 { color: var(--blue); }
    
    .masthead__text-wrap p { color: var(--black); }

    .masthead__text-wrap {
        text-align: left;
        min-height: 550px;
        padding: 0;
        padding-left: 2px;
        padding-top: 183px;
    }
    
    .masthead__homepage .btn {
        background: var(--fuchsia-red);
        margin-top: 26px;
    }
    .masthead__homepage .btn:hover {
        background: var(--btn-red-hover);
    }
}