﻿
@media (min-width: 1024px) and (max-width: 1239px) {
    ul.listProHotHome {
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(5,minmax(0,1fr));
        column-gap: 10px;
        row-gap: 15px;
    }

    .star-view-pro-hot-home .star {
        color: #0049b4;
        font-size: 12px;
    }
}

@media(max-width:1023px) {
    ul.listProHotHome {
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(3,minmax(0,1fr));
        column-gap: 12px;
        row-gap: 30px;
        padding: 0;
    }

    .wp-home-pro-hot .imgTopProHotHome {
        height: 250px;
    }

    .star-view-pro-hot-home .star {
        color: #0049b4;
        font-size: 11px;
    }

    .top-home-pro-hot {
        text-align: center;
        margin-bottom: 20px;
    }

    .imgTopProHotHome > img {
        display: block;
        width: 100%;
        height: 250px;
    }

    .star-view-pro-hot-home {
        display: flex;
        align-items: center;
        margin: 8px 0;
    }

    li.itemProHotHome:last-child {
        display: block;
    }

    .wp-home-pro-hot {
        background: #f9f9f9;
        background-size: cover;
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media(max-width: 739px) {
    .top-home-pro-hot h2 {
        font-size: 28px;
    }

    .wp-home-pro-hot {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    span.slogan-home-pro-hot {
        padding: 0;
        margin-bottom: 10px;
    }

    ul.listProHotHome {
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 12px;
        row-gap: 20px;
    }

    .imgTopProHotHome > a > img {
        height: 100%;
    }

    .imgTopProHotHome > a {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .star-view-pro-hot-home {
        padding: 0;
    }

    .wp-home-pro-hot .imgTopProHotHome {
        height: 150px;
    }

    .star-view-pro-hot-home .star {
        color: #efc248;
        font-size: 8px;
    }

    span.viewProHotHome {
        font-size: 11px;
    }

    .star-view-pro-hot-home .star:after {
        height: 8px;
        top: 1px;
        content: unset;
    }

    span.contactProHotHome a {
        width: 100px;
        font-size: 11px;
        height: 30px;
    }

    .bottomContentProHotHome {
        padding: 10px;
    }

    h3.titleProHotHome {
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }
}
