.container.main-content{
    max-width: 100vw;
    margin: 0;
    padding: 0 8%;
}

.listings-header{
    width: 100vw;
    left: calc(-8% - 33px);
    position: relative;
    padding: 10% 4%;
}

.listings-header h1{
    z-index: 1;
    display: block;
    position: relative;
    color: white;
    font-weight: 400;
    width: fit-content;
}

.listings-header h1:after{
    content: '';
    height: 3px;
    width: calc(100% + 30px);
    background: #EC5031;
    display: block;
    position: absolute;
    top: 150%;
}

.listings-header-image{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(https://myrooftophome.com/wp-content/uploads/2024/06/AdobeStock_127443551-scaled.jpeg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.listings-header-overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #052c54;
    opacity: .9;
}

.listings-extra{
    text-align: center;
    padding: 4% 8% 8% 8%;
}

.listings-extra h2{
    color: #204a72;
    padding-bottom: 15px;
}

.listing-link{
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
}

.tk-units-grid{
    padding-bottom: 8%;
}

@media (max-width: 600px){
    .tk-units-grid{
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)) !important;
    }
}

.tk-unit-card{
    overflow: hidden;
}

.tk-unit-wrap-background{
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -2;
}

.tk-unit-wrap-overlay{
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, black, 0%,  transparent);
    z-index: -1;
    transition: .3s;
}

.tk-unit-wrap-overlay:before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, black, 35%,  transparent);
    transition: .3s;
}

.tk-unit-wrap-overlay:after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #204a72, 35%,  transparent);
    transition: .3s;
    opacity: 0;
}

article:hover .tk-unit-wrap-overlay:after{
    opacity: 1;
    transition: .3s;
}

article:hover .tk-unit-wrap-overlay:before{
    opacity: 0;
    transition: .3s;
}

.tk-unit-content{
    padding: 30px 50px;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

article{
    transform: translateY(0px);
    transition: .2s;
    box-shadow: none;
}

article:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 35px -15px black;
    transition: .2s;
}

article .tk-unit-wrap-background{
    /*background-size: 120%;*/
    transition: transform .3s ease-out;
    transform: scale(1);
}

article:hover .tk-unit-wrap-background{
    /*background-size: 130%;*/
    transform: scale(1.1);
    transition: transform 3s ease-out;
}

.details{
    margin: 0 5px;
}

.price-details{
    font-size: 30px;
    font-weight: 500;
    padding-bottom: 25px;
}

.listing-title, .price-details, .bed-bath-details{
    color: white;
}

.iconic:before{
    content: '';
    font-family: 'FontAwesome';
    margin-left: 5px;
    font-size: 15px;
}

.beds:before{
    content: '\f236';
}

.baths:before{
    content: '\f2cd';
}

.learn-more{
    color: white;
    text-align: center;
    padding: 7px;
    border: 1px solid white;
}