﻿.WidgetResultHome {
    padding: 36px 0;
    position: relative;
    padding-bottom: 7px;
}

.WContentResult {
    padding-left: 11px;
}

.WidgetResultHome .grid.wide {
    max-width: 1220px;
    position: relative;
    z-index: 1;
}

.wResultHome {
    position: relative;
}

.WidgetResultHome:before {
    content: "";
    position: absolute;
    background: url(/Design/GeciAcademy/QuyTrinh/DecorBack.png) no-repeat;
    background-size: 100% 100%;
    left: 0;
    top: -52px;
    width: 100%;
    height: 299px;
    z-index: 1;
}

.WContentResult h4 {
    color: #FFF;
    font-family: 'KodchasanB';
    font-size: 38px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: capitalize;
}

.WContentResult span {
    color: #FFF;
    display: block;
    font-family: 'QuicksandB';
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 142.5%; /* 28.5px */
}

li.ItemResultHome {
    display: flex;
    align-items: center;
}

ul.ListResultHome {
    padding: 0;
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(4,minmax(0,1fr));
    column-gap: 48px;
    row-gap: 30px;
}

@media (min-width: 1024px) and (max-width: 1239px) {
    .WContentResult span {
        font-size: 15px;
    }

    .WContentResult h4 {
        font-size: 28px;
    }

    .IconDecorResultHome img {
        width: 100%;
    }
}
/* Mobile & tablet */
@media (max-width: 1023px) {
    ul.ListResultHome {
        padding: 0;
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 35px;
        row-gap: 30px;
    }

    .IconDecorResultHome img {
        width: 100%;
    }

    .IconDecorResultHome {
        width: 10%;
    }

    .WidgetResultHome:before {
        content: "";
        position: absolute;
        background: url(/Design/GeciAcademy/QuyTrinh/DecorBack.png) no-repeat;
        background-size: 100% 100%;
        left: 0;
        top: -40px;
        width: 100%;
        height: 299px;
        z-index: 1;
    }

    .WContentResult span {
        font-size: 18px;
    }

    .WContentResult h4 {
        font-size: 23px;
    }
}

/* Mobile */
@media (max-width: 739px) {
    .WContentResult h4 {
        font-size: 18px;
    }

    .WContentResult span {
        font-size: 13px;
    }

    .IconDecorResultHome {
        width: 62%;
    }

    .WidgetResultHome {
        padding: 24px 0;
    }

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

    .WidgetResultHome:before {
        background-size: auto;
    }
}
