/* listGrid block */

.listGrid{
    display: grid;
    grid-template-columns: fit-content(100%);
    gap: 1.8rem;

}
.listGrid__item{
    display:grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    place-items: center;
    row-gap: .5rem;
}
.listGrid__icon{
    height: 100px;
    width: auto;
}
.listGrid__title{
    font-family: var(--title-font);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.5rem;
    height: 100%;
    margin: 0;
    text-align: center;
    padding: .2rem .5rem;
    border-radius: .25rem;
}
.listGrid__bottom{
    align-self: start;
}

.listGrid__content{
    transition: height 1s linear;
    overflow:hidden;
    position:relative;
}
.listGrid__content--retracted{
    height: 8rem;
}
.listGrid__content::before{
    pointer-events: none;
    height: 100%;
    position: absolute;
    content:'';
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, .85) 100%);
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.listGrid__content--retracted::before{
    pointer-events:all;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, .85) 100%);
    opacity: 1;
}
.listGrid__readMore{
    color: white;
    background-color: var(--dark-color);
    border-radius: 0 0 8px 8px;
    padding: 4px;
    cursor: pointer;
    text-align:center;
}

@media only screen and (min-width: 650px) {
    .listGrid{
        grid-template-columns: 1fr 1fr;
    }
}
@media only screen and (min-width: 1300px) {
    .listGrid{
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media only screen and (min-width: 1700px) {
    .listGrid{
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media only screen and (min-width: 2500px) {
    .listGrid{
        grid-template-columns: repeat(6, minmax(0, 1fr));
        justify-content: center;
    }
}