.gs-first-level-children-shortcode{
    padding:20px 0;
}

.gs-first-level-children-shortcode .gs-parents{
    margin-bottom:20px;
    color:#5b6472;
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}

.gs-first-level-children-shortcode .gs-title{
    margin-bottom:40px;
}

.gs-first-level-children-shortcode .gs-subtitle-container{
	margin-bottom:40px;
}

.gs-first-level-children-shortcode .gs-subtitle{
    font-size: 16px;
	font-weight:600;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    background: #fff;
	padding: 7px 18px;
    border:1px solid #eef0f4;
}

.gs-first-level-children-shortcode .gs-subtitle-2{
    white-space: pre-line;
}

/* GRID */

.gs-first-level-children-shortcode .gs-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:22px;
}

/* CARD */

.gs-first-level-children-shortcode .gs-card{
    position:relative;
    display:block;
    aspect-ratio:1/1.1;

    border-radius:16px;
    overflow:hidden;

    text-decoration:none;
    color:#fff;

    background:#f8f8f8;
    background-size:cover;
    background-position:center;

    transition:
        transform .25s,
        box-shadow .25s;
}

/* overlay */

.gs-first-level-children-shortcode .gs-card-overlay{
    position:absolute;
    inset:0;
    z-index:1;
	background: linear-gradient(
    to top,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0) 100%);
}


/* content */

.gs-first-level-children-shortcode .gs-card-content{
    position:absolute;
    left:20px;
    right:20px;
    bottom:20px;

    z-index:2;
}

.gs-first-level-children-shortcode .gs-item-title{
    display:block;
    font-size:1.35rem;
    font-weight:700;
    line-height:1.2;
    margin-bottom:6px;
	color:#111;
}

.gs-first-level-children-shortcode .gs-item-descr{
    display:block;
    font-size:.9rem;
    opacity:.9;
	color:#111;
}

/* hover */

.gs-first-level-children-shortcode .gs-card:hover{
    transform:translateY(-3px);
    box-shadow:
        0 10px 25px rgba(0,0,0,.12),
        0 25px 60px rgba(0,0,0,.08);
}

@keyframes gs-fade-up{
from{opacity:0; transform:translateY(10px);}
to{opacity:1; transform:translateY(0);}
}

.gs-first-level-children-shortcode .gs-card{
    animation:gs-fade-up .5s ease both;
}

.gs-first-level-children-shortcode .gs-card:nth-child(1){animation-delay:.04s;}
.gs-first-level-children-shortcode .gs-card:nth-child(2){animation-delay:.08s;}
.gs-first-level-children-shortcode .gs-card:nth-child(3){animation-delay:.12s;}
.gs-first-level-children-shortcode .gs-card:nth-child(4){animation-delay:.16s;}
.gs-first-level-children-shortcode .gs-card:nth-child(5){animation-delay:.20s;}
.gs-first-level-children-shortcode .gs-card:nth-child(6){animation-delay:.24s;}
.gs-first-level-children-shortcode .gs-card:nth-child(7){animation-delay:.28s;}
.gs-first-level-children-shortcode .gs-card:nth-child(8){animation-delay:.32s;}

@media (prefers-reduced-motion:reduce){
    .gs-first-level-children-shortcode .gs-card{
        animation:none;
    }
}

/* mobile */

@media (max-width:700px){

    .gs-first-level-children-shortcode .gs-grid{
        grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
        gap:16px;
    }

    .gs-first-level-children-shortcode .gs-item-title{
        font-size:1.1rem;
    }

}