@import './style-guide.css';

.cards{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    padding-top: 30px;
}
@media(max-width:1199px){
    .cards{
        grid-template-columns: repeat(3, 1fr);
    }
}
@media(max-width:991px){
    .cards{
        grid-template-columns: repeat(2, 1fr);
        padding-top: 30px;
    }
}
@media(max-width:767px){
    .cards{
        grid-template-columns: repeat(1, 1fr);
    }
}

.card{
    width: 100%;
    height: 285px;
    border: 0;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border-radius: 1px;
}
@media(max-width:991px){
    .card{
        height: 345px;
    }
}
@media(max-width:767px){
    .card{
        height: 430px;
    }
}
@media(max-width:575px){
    .card{
        height: calc((100vw - 30px));
    }
}
.card:hover .card-hero{
    background-size: 140%;
}
.card:hover .card-body h3{
    color: var(--label-bg-yellow);
}
.card-hero{
    width: 100%;
    height: 63%;
    padding: 10px;
    background-size: 120%;
    background-position: center;
    background-image: url('https://placeholder.pics/svg/255x180');
    transition: .3s !important;
}
@media(max-width:767px){
    .card-hero{
        height: 75%;
    }
}
.card-tag{
    padding: 5px 13px;
    float: left;
    color: var(--tag-font-color);
    line-height: 1;
    border-radius: 1px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.card-body{
    padding: 15px;
}
@media(max-width:767px){
    .card-body{
        flex: none;
    }
}
.card-body h3{
    margin: 0;
    font-size: var(--font-h6);
    font-weight: 900;
    color: var(--title-font-blue);
}
.card-footer{
    display: flex;
    justify-content: space-between;
    background-color: transparent;
    border: 0;
    font-size: var(--font-h7);
    font-weight: 500;
    color: var(--con-font-black);
    padding: 15px;
}
.card-footer i {
    margin-right: 7px;
    color: var(--label-bg-yellow);
}

