.fpTestimonials {
    padding-bottom: 100px;
}

.testimonialText {
    font-size: 1.125rem;
}

.fpAreas {
    background: url(/themes/custom/brokerage/images/shutterstock_646066663.jpg);
    background-attachment: fixed;
    background-size: cover;
    color: #fafafa;
    padding: 100px 0;
    position: relative;
}

.fpAreas:before {
    background-color: rgba(0, 0, 0, .7);
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.fpAreasLink {
    background-color: rgba(250, 250, 250, .7);
    border-radius: 3px;
    color: #222;
    padding: .5rem 1.5rem;
    transition: all .1s ease-in;
}

.fpAreasLink:hover {
    background-color: #e9e8e8;
    color: #222;
}

.fpAreasViewAll {
    background-color: #283c94;
    border-radius: 3px;
    color: #fafafa;
    display: inline-block;
    margin-top: 2rem;
    padding: .75rem 2.5rem;
    transition: all .1s ease-in;
}

.fpAreasViewAll:hover {
    background-color: #324AB5;
    color: #fafafa;
}

.fpTypes {
    padding: 100px 0;
}

.typesContainer {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 0.75fr);
}
    
.multiFam { grid-area: 1 / 1 / 2 / 2; }
.houses { grid-area: 2 / 1 / 3 / 2; }
.condos { grid-area: 3 / 1 / 4 / 2; }
.land { grid-area: 4 / 1 / 5 / 2; }

.fpTypes img {
    height: 100%;
    object-fit: cover;
    transition: all .3s ease-in;
    width: 100%;
}

.condos img {
    max-height: 350px;
}

.multiFam, .houses, .condos, .land {
    overflow: hidden;
    position: relative;
}

.typesContainer p {
    color: #fafafa;
    font-size: 1.5rem;
    font-weight: 500;
    left: 50%;
    margin-bottom: 0;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 1;
}

.multiFam:before, .houses:before, .condos:before, .land:before {
    background-color: rgba(0, 0, 0, .4);
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.multiFam:hover img, 
.houses:hover img,
.condos:hover img,
.land:hover img {
    transform: scale(1.1);
}

@media (min-width: 544px) {
    .typesContainer {
        display: grid;
        gap: 10px 10px; 
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 0.75fr);
    }
        
    .multiFam { grid-area: 1 / 1 / 2 / 2; }
    .houses { grid-area: 1 / 2 / 2 / 3; }
    .condos { grid-area: 2 / 1 / 3 / 3; }
    .land { grid-area: 3 / 1 / 4 / 3; }
}

@media (min-width: 1000px) {
    .typesContainer {
        display: grid; 
        grid-template-columns: repeat(3, 1fr); 
        grid-template-rows: repeat(2, 0.75fr);
        gap: 10px 10px; 
    }

    .multiFam { 
        grid-area: 1 / 1 / 2 / 2; 
    }
    
    .houses {
        grid-area: 1 / 2 / 2 / 3;
    }
    
    .condos {
        grid-area: 2 / 1 / 3 / 3;
    }
    
    .land {
        grid-area: 1 / 3 / 3 / 4;
    }
}