section.block-cards,
section.block-cards:first-child,
section.block-cards:last-child{
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
    border: 0;
    background: linear-gradient(292.34deg, #6060E1 29%, #3E2765 83.81%);
    color: var(--bg);
    border-radius: 64px 0 65px 0;
    padding: 60px 0 60px;
    overflow: hidden;
}
.block-cards .inner-cards{
    position: relative;
    z-index: 1;
}
.block-cards .content-cards{
    padding-bottom: 183px;
}
section.block-cards::after{
    position: absolute;
    z-index: 0;
    content: url("./bg_cards.png");
    right: 0;
    bottom: -8px;
}
.block-cards .heading .title{
    max-width: 620px;
}
.block-cards .heading .title h1,
.block-cards .heading .title h2,
.block-cards .heading .title h3,
.block-cards .heading .title h4,
.block-cards .heading .title h5,
.block-cards .heading .title h6,
.block-cards .heading .title p{
    font-size: 44px;
    font-weight: 700;
    line-height: 52px;
    letter-spacing: -0.01em;
    margin-top: 0;
    margin-bottom: 0;
}
.block-cards .heading .title h1 > span::after,
.block-cards .heading .title h2 > span::after,
.block-cards .heading .title h3 > span::after,
.block-cards .heading .title h4 > span::after,
.block-cards .heading .title h5 > span::after,
.block-cards .heading .title h6 > span::after,
.block-cards .heading .title p > span::after{
    position: relative;
    content: url("./arrow_title.svg");
    right: 0;
    bottom: 10px;
    left: 6px;
}
.block-cards .heading .title h1 > span,
.block-cards .heading .title h2 > span,
.block-cards .heading .title h3 > span,
.block-cards .heading .title h4 > span,
.block-cards .heading .title h5 > span,
.block-cards .heading .title h6 > span,
.block-cards .heading .title p > span{
    background: linear-gradient(91.93deg, #93FC66 65.85%, #47E7AF 85.13%, #14D9E1 99.91%, #00D3F4 107.13%, #07CBF4 111.91%, #1BB6F6 119.2%, #3B94F8 128.1%, #6368FA 137.37%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.block-cards .grid-cards{
    display: grid;
    grid-template-columns: repeat(4, minmax(auto, 1fr));
    grid-gap: -40px;
    padding: 0 56px;
    max-width: 1240px;
    margin: 0 auto;
}
.block-cards .grid-cards .item-card{
    position: relative;
    left: -1.6rem;
    width: 120%;
    height: fit-content;
    max-width: 368px;
    border-radius: 56px;
    overflow: hidden;
}
.block-cards .grid-cards .item-card:nth-child(4n){
    max-width: 422px;
}
.block-cards .grid-cards .item-card:nth-child(4n-3){
    background: rgba(100, 104, 242, 1);
    padding-top: 256px;
    top: 105px;
}
.block-cards .grid-cards .item-card:nth-child(4n-2){
    background: rgba(75, 209, 241, 1);
    color: rgba(61, 38, 99, 1);
    padding-top: 275px;
    top: 70px;
}
.block-cards .grid-cards .item-card:nth-child(4n-1){
    background: rgba(173, 250, 123, 1);
    color: rgba(61, 38, 99, 1);
    padding-bottom: 334px;
    top: 35px;
}
.block-cards .grid-cards .item-card:nth-child(4n){
    background: rgba(61, 38, 99, 1);
    padding-bottom: 322px;
}
.block-cards .item-card .image-card{
    position: absolute;
}
.block-cards .item-card .meta-card{
    padding: 36px 54px 36px 36px;
}
.block-cards .item-card:nth-child(2) .meta-card{
    margin-top: 0;
}
.block-cards .item-card:nth-child(4n) .meta-card{
    padding: 36px 48px;
}
.block-cards .grid-cards .item-card:nth-child(4n-3) .image-card,
.block-cards .grid-cards .item-card:nth-child(4n-2) .image-card{
    top: -1px;
    left: -1px;
    right: -1px;
}
.block-cards .grid-cards .item-card:nth-child(4n-1) .image-card,
.block-cards .grid-cards .item-card:nth-child(4n) .image-card{
    bottom: -10px;
    left: -1px;
    right: -1px;
}
.block-cards .item-card .title{
    display: flex;
    align-items: end;
}
.block-cards .item-card .title h1,
.block-cards .item-card .title h2,
.block-cards .item-card .title h3,
.block-cards .item-card .title h4,
.block-cards .item-card .title h5,
.block-cards .item-card .title h6,
.block-cards .item-card .title p{
    font-size: 28px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: -0.01em;
    margin-top: 0;
    margin-bottom: 0;
}
.block-cards .item-card .title .first-letter{
    font-size: 100px;
    font-weight: 700;
    line-height: 71px;
    letter-spacing: -0.01em;
}
.block-cards .item-card .description p{
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.01em;
    margin-bottom: 0;
}
.block-cards .buttons{
    max-width: 231px;
    margin-right: auto;
    margin-left: auto;
}
.block-cards .buttons .btn{
    display: block;
    max-width: 100%;
    margin-bottom: 10px;
}

@media only screen and (max-width: 1280px) {
    .block-cards .inner-cards .heading{
        padding: 0 20px;
    }
    .block-cards .grid-cards{
        grid-gap: 32px;
        margin-top: 48px;
    }
    .block-cards .content-cards{
        padding-bottom: 64px;
    }
    .block-cards .grid-cards .item-card{
        width: 100%;
        max-width: 100%;
        height: 100%;
    }
    .block-cards .grid-cards .item-card:nth-child(4n-3){
        padding-top: 272px;
        top: 0;
        padding-right: 40px;
    }
    .block-cards .grid-cards .item-card:nth-child(4n-2){
        padding-top: 280px;
        top: 0;
    }
    .block-cards .grid-cards .item-card:nth-child(4n-1){
        padding-bottom: 345px;
        top: 0;
    }
    .block-cards .grid-cards .item-card:nth-child(4n){
        padding-bottom: 284px;
    }
    .block-cards .item-card .meta-card{
        padding: 24px;
    }
    .block-cards .item-card .title .first-letter {
        font-size: 72px;
        font-weight: 700;
        line-height: 54px;
        letter-spacing: -0.01em;
    }
}

/* Responsive */
@media only screen and (max-width: 980px) {
    section.block-cards, section.block-cards:first-child, section.block-cards:last-child{
        padding-top: 120px;
        background: linear-gradient(292.34deg, #6060E1 29%, #3E2765 83.81%);
    }
    .block-cards .heading .title h1, .block-cards .heading .title h2, .block-cards .heading .title h3, .block-cards .heading .title h4, .block-cards .heading .title h5, .block-cards .heading .title h6, .block-cards .heading .title p{
        font-size: 30px;
        font-weight: 700;
        line-height: 34px;
        margin-bottom: 48px;
    }
    .block-cards .heading .title h1 > span::after, .block-cards .heading .title h2 > span::after, .block-cards .heading .title h3 > span::after, .block-cards .heading .title h4 > span::after, .block-cards .heading .title h5 > span::after, .block-cards .heading .title h6 > span::after, .block-cards .heading .title p > span::after{
        bottom: -10px;
    }
    .block-cards .grid-cards {
        grid-template-columns: repeat(1, minmax(auto, 1fr));
        grid-gap: 48px;
        max-width: 100%;
        padding: 0 24px;
    }
    .block-cards .grid-cards .item-card:nth-child(n){
        top: 0;
        max-width: 100%;
        left: 0;
        right: 0;
    }
    .block-cards .item-card .meta-card{
        padding: 36px 24px 24px;
    }
    .block-cards .content-cards{
        padding-bottom: 48px;
    }
}