.cards_bloc-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(12, 1fr);
}

.cards_bloc-grid.column-1 > .card {
    grid-column: span 12;
}

.cards_bloc-grid.column-2 > .card {
    grid-column: span 6;
}

.cards_bloc-grid.column-3 > .card {
    grid-column: span 4;
}

.cards_bloc-grid.column-4 > .card {
    grid-column: span 3;
}


.card {
    display: flex;
    padding: 42px 62px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 14px;
    background: var(--dark-10, #262626);
    transition: all 0.4s ease;
}

.card-header {
    width: 100%;
    position: relative;
    display: grid;
    row-gap: 24px;
}

.pre-title {
    color: white;
    font-family: var(--ff-secondary);
    font-size: var(--fs-h5);
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    text-transform: uppercase;
    padding-right: 6rem;
}
.pre-title .pre-title-ending--round {
    display: inline-block;
    color: var(--c-primary);
}

.card-link {
    position: absolute;
    right: 0;
    top: -7px;
    display: flex;
    padding: 14px;
    align-items: center;
    gap: 10px;
    border-radius: 100px;
    border: 1px solid var(--Dark-20, #333);
    background: var(--Neutral-Black, #101010);    
    transition: all 0.4s ease;
}

.card-link i {
    font-size: 24px;    
    transition: all 0.4s ease;
    position: relative;
    z-index: 5;
}
.card-link i::before {
    transition: all 0.4s ease;
}

.card-link:after {
    content: '';
    border-radius: 100px;
    background: var(--c-primary);
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(0);
    transition: all 0.4s ease;
}

.card-title {
    color: #F9EFEC;
    font-family: var(--ff-secondary);
    font-size: var(--fz-h4);
    font-style: normal;
    font-weight: 500;
    line-height: 118%;
    text-transform: uppercase;    
    transition: all 0.4s ease;
    
}
.card-header:has(.card-link) .card-title{
    padding-right: 60px;
}
.card-content {
    color: #B3B3B2;
    line-height: 150%;
}

/* Variation 2 */
.card--style-2 {
    padding: 6.2rem 3.2rem;
}
.card--style-2 .card-title {
    font-size: var(--fz-h5);
}
.card--style-2 .card-title::before {
    content: '';
    background-color: var(--c-primary);
    width: 5.4rem;
    height: 2px;
    margin-bottom: 4.2rem;
    display: block;
    transition: all 0.4s ease;
}
.card--style-2 .card-link {
    background: none;
    border: none;
    padding: 0;
}
.card--style-2  .card-link:after {
    display: none;
}
.card--style-2 .card-link i {
    font-size: 1.6rem;
}

@media (min-width: 1025px) {
    a.card:hover {
        transform: translateY(-8px);

    }
    a.card:hover .card-link:after {
        transform: translate(-50%, -50%) scale(1);
    }
    a.card:hover .card-link i::before {
        color: var(--dark-10);
    }

    /* Variation 2 */
    a.card.card--style-2:hover {
        transform: inherit
    }
    a.card--style-2:hover .card-title::before {
        width: 33.3rem;
    }
    a.card--style-2:hover .card-link {
        transform: translate(8px, -8px);
    }
}

@media (max-width: 1024px) {
    .card {
        padding: var(--space-md) var(--space-lg);
    }
    .cards_bloc-grid > .card,
    .cards_bloc-grid.column-2 > .card,
    .cards_bloc-grid.column-3 > .card {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .cards_bloc-grid > .card,
    .cards_bloc-grid.column-2 > .card,
    .cards_bloc-grid.column-3 > .card {
        grid-column: span 12;
    }
}