/* NAN-QAT-FORUM-CARD-03B */
/* Forum homepage presentation only */

.forum-card{
    overflow:hidden;
}

.forum-card .nan-card-image-link{
    display:block;
    text-decoration:none;
}

.forum-card .forum-image{
    position:relative;
    aspect-ratio:16/9;
    overflow:hidden;
    background:#10291f;
}

.forum-card .forum-image > img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .25s ease;
}

.forum-card .nan-card-image-link:hover .forum-image > img{
    transform:scale(1.025);
}

.forum-card .forum-image .badge{
    position:absolute;
    top:12px;
    left:12px;
    z-index:2;
    max-width:calc(100% - 24px);
    padding:7px 10px;
    border-radius:999px;
    background:#08783f;
    color:#fff;
    font-size:10px;
    font-weight:900;
    line-height:1;
    box-shadow:0 5px 18px rgba(0,0,0,.18);
}

.forum-card .forum-overlay{
    position:absolute;
    left:12px;
    right:12px;
    bottom:12px;
    z-index:2;
    padding:10px 12px;
    border-radius:9px;
    background:rgba(8,31,22,.86);
    color:#fff;
    font-size:11px;
    font-weight:800;
    line-height:1.2;
}

.forum-card .vehicle-body{
    display:flex;
    flex-direction:column;
    padding:18px 16px 16px;
}

.forum-card .vehicle-body h3{
    margin:0 0 7px;
    font-size:17px;
    line-height:1.3;
}

.forum-card .vehicle-body h3 a{
    color:#081c2c;
    text-decoration:none;
}

.forum-card .trim{
    margin:0 0 14px;
    color:#65736d;
    font-size:12px;
    font-weight:700;
}

.forum-card .forum-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:13px 0;
    border-top:1px solid #e7ece9;
    border-bottom:1px solid #e7ece9;
    color:#64736c;
    font-size:11px;
}

.forum-card .forum-meta b{
    color:#08783f;
    font-weight:900;
    white-space:nowrap;
}

.forum-card .post-engagement{
    display:grid;
    grid-template-columns:1.25fr .8fr 1fr 1.25fr;
    gap:6px;
    margin-top:14px;
}

.forum-card .post-engagement > a,
.forum-card .post-engagement > button{
    min-width:0;
    min-height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:7px 6px;
    border:1px solid #dfe6e2;
    border-radius:7px;
    background:#fff;
    color:#20332a;
    font:inherit;
    font-size:10px;
    font-weight:800;
    line-height:1.1;
    text-decoration:none;
    cursor:pointer;
    white-space:nowrap;
}

.forum-card .post-engagement .nan-card-detail-link{
    background:#08783f;
    border-color:#08783f;
    color:#fff;
}

.forum-card .post-engagement > a:hover,
.forum-card .post-engagement > button:hover{
    border-color:#08783f;
}

.forum-card .post-engagement .nan-card-detail-link:hover{
    background:#066934;
    color:#fff;
}

.forum-card .media-empty{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    padding:24px;
    background:linear-gradient(135deg,#173a2d,#0a2419);
    color:#d7e2dc;
    font-size:12px;
    font-weight:900;
    letter-spacing:.06em;
    text-align:center;
    text-transform:uppercase;
}

@media(max-width:720px){
    .forum-card .post-engagement{
        grid-template-columns:1fr 1fr;
    }

    .forum-card .post-engagement > a,
    .forum-card .post-engagement > button{
        min-height:40px;
    }
}
