.cv-category-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}


.cv-category-card {
    position: relative;

    min-height: 200px;

    padding: 24px;

    display: flex;
    flex-direction: column;

    text-decoration: none;

    border-radius: 24px;

    border:
        1px solid rgba(255,255,255,.09);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.07),
            rgba(255,255,255,.018)
        );

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    overflow: hidden;

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


.cv-category-card::before {
    content: "";

    position: absolute;

    width: 160px;
    height: 160px;

    right: -55px;
    top: -65px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(221,65,255,.22),
            transparent 70%
        );

    pointer-events: none;
}


.cv-category-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(212,87,255,.48);

    box-shadow:
        0 18px 50px rgba(0,0,0,.28),
        0 0 32px rgba(179,66,255,.12);
}


.cv-category-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    position: relative;
    z-index: 1;
}


.cv-category-name {
    color: #fff;

    font-size: 24px;
    font-weight: 850;
    letter-spacing: -.03em;
}


.cv-category-count {
    min-width: 38px;
    height: 38px;

    padding: 0 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            rgba(255,70,199,.22),
            rgba(106,80,255,.22)
        );

    border:
        1px solid rgba(255,255,255,.1);

    color: #fff;

    font-size: 13px;
    font-weight: 800;
}


.cv-category-card p {
    position: relative;
    z-index: 1;

    margin:
        22px 0 28px;

    color:
        rgba(255,255,255,.60);

    line-height: 1.65;

    font-size: 14px;
}


.cv-category-open {
    position: relative;
    z-index: 1;

    margin-top: auto;

    color:
        rgba(255,255,255,.9);

    font-size: 14px;
    font-weight: 750;
}


.cv-category-open span {
    margin-left: 5px;

    color: #e663ff;
}


.cv-category-empty {
    grid-column: 1 / -1;

    padding: 50px;

    text-align: center;

    color:
        rgba(255,255,255,.62);
}


@media (max-width: 980px) {

    .cv-category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 620px) {

    .cv-category-grid {
        grid-template-columns: 1fr;
    }

}
