
/*
|--------------------------------------------------------------------------
| ACCUEIL — 3 DERNIERS BIENS HOSTAWAY
|--------------------------------------------------------------------------
| Ce fichier ne modifie que le bloc des hébergements de la page d'accueil.
*/

.pm-properties-hostaway{
    background:#f7f4ee;
}

.pm-properties-hostaway .pm-heading{
    margin-bottom:38px;
}

.pm-properties-hostaway .pm-heading p{
    max-width:620px;
    margin-left:auto;
    margin-right:auto;
}

.pm-hostaway-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}

.pm-hostaway-card{
    background:#fff;
    border:1px solid #e5dfd5;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 5px 18px rgba(20,38,31,.035);
    transition:transform .25s ease,box-shadow .25s ease;
}

.pm-hostaway-card:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 36px rgba(20,38,31,.09);
}

.pm-hostaway-image{
    position:relative;
    display:block;
    height:270px;
    overflow:hidden;
    background:#eee9e0;
}

.pm-hostaway-image:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,.01),rgba(0,0,0,.18));
    pointer-events:none;
}

.pm-hostaway-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .45s ease;
}

.pm-hostaway-card:hover .pm-hostaway-image img{
    transform:scale(1.035);
}

.pm-hostaway-badge{
    position:absolute;
    top:15px;
    left:15px;
    z-index:2;
    padding:7px 11px;
    border-radius:4px;
    background:#06251f;
    color:#fff;
    font-size:10px;
    line-height:1;
    font-weight:800;
    letter-spacing:.05em;
    text-transform:uppercase;
}

.pm-hostaway-card:first-child .pm-hostaway-badge{
    background:#a87d29;
}

.pm-hostaway-heart{
    position:absolute;
    right:14px;
    top:13px;
    z-index:2;
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.65);
    border-radius:50%;
    color:#fff;
    font-size:18px;
    background:rgba(0,0,0,.12);
    backdrop-filter:blur(2px);
}

.pm-hostaway-content{
    padding:20px 19px 0;
}

.pm-hostaway-content h3{
    min-height:54px;
    margin:0 0 8px;
    font-family:Georgia,'Times New Roman',serif;
    font-size:22px;
    font-weight:400;
    line-height:1.22;
}

.pm-hostaway-content h3 a{
    color:#1c211f;
}

.pm-hostaway-content h3 a:hover{
    color:#8f6e35;
}

.pm-hostaway-location{
    display:flex;
    align-items:center;
    gap:6px;
    margin:0 0 17px;
    color:#777d79;
    font-size:12px;
    line-height:1.5;
}

.pm-hostaway-location i{
    color:#a98546;
}

.pm-hostaway-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px 20px;
    min-height:49px;
    padding:14px 0;
    border-top:1px solid #eee9e0;
    color:#555d58;
}

.pm-hostaway-meta span{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:12px;
}

.pm-hostaway-meta i{
    color:#8b7650;
    font-size:14px;
}

.pm-hostaway-link{
    min-height:49px;
    border-top:1px solid #eee9e0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    color:#927035;
    text-transform:uppercase;
    letter-spacing:.035em;
    font-size:11px;
    font-weight:800;
}

.pm-hostaway-link i{
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#06251f;
    color:#fff;
    transition:.2s;
}

.pm-hostaway-link:hover{
    color:#06251f;
}

.pm-hostaway-link:hover i{
    transform:translateX(2px);
}

.pm-hostaway-empty{
    padding:30px;
    border:1px solid #e5dfd5;
    border-radius:8px;
    background:#fff;
    text-align:center;
}

.pm-hostaway-empty p{
    margin:0;
    color:#69706c;
}

.pm-properties-hostaway .pm-center-action{
    margin-top:35px;
}

@media(max-width:991px){
    .pm-hostaway-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .pm-hostaway-card:last-child{
        grid-column:1/-1;
        width:calc(50% - 12px);
        justify-self:center;
    }
}

@media(max-width:650px){
    .pm-hostaway-grid{
        grid-template-columns:1fr;
    }

    .pm-hostaway-card:last-child{
        grid-column:auto;
        width:100%;
    }

    .pm-hostaway-image{
        height:245px;
    }

    .pm-hostaway-content h3{
        min-height:auto;
        font-size:21px;
    }
}
