/*
 * news preview cards include style for solarsi template.
 */

section#products section.mobile {
    display: none;
}

section#products .products-card-container {
    display: flex;
    justify-content: space-around;
    padding: 2em 0;
}

section#products .products-card-container a {
    text-align: center;
    width: 25%;
    position: relative;
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
    border-radius: 15px;
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);
       -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);
         -o-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);
            box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);
    pointer-events: none;
}

section#products .products-card-container div.card > div {
    position: relative;
    padding: 5.5em 0;
    border-radius: 15px 15px 0 0;
    overflow: visible;
}

section#products .products-card-container div.card div div#created {
    padding: 1em 5%;
    border-radius: 0 12% 12% 0;
    width: 55%;
    color: var(--white);
    position: absolute;
    top: 3.5em;
    left: -2em;
    display: flex;
    align-items: center;
}

section#products .products-card-container div.card div div#created p.day {
    padding-right: 0.5em;
    font-size: 2em;
}

section#products .products-card-container div.card div div#created div p {
    font-size: .8em;
}

section#products .products-card-container div.card > p {
    font-weight: bold;
    padding: 1.5em 5%;
}

@media screen and (max-width: 768px) {

    section#products h2 {
        font-size: 1.5em;
    }

    section#products .products-card-container {
        flex-wrap: wrap;
    }

    section#products .products-card-container.mobile {
        display: none;
    }

    section#products .products-card-container a {
        width: 40%;
        margin-bottom: 2em;
    }
}

@media screen and (max-width: 576px) {
    section#products h2.textBig {
        width: 100%;
        text-align: center;
    }

    section#products .products-card-container.desktop {
        display: none;
    }

    section#products .products-card-container.mobile {
        display: flex;
    }

    section#products .products-card-container.mobile a.button {
        height: inherit;
        text-align: center;
        width: 50%;
    }

    section#products .products-card-container a {
        width: 80%;
        margin-bottom: 2em;
    }
}