.badges {
    .nowl-desc {
        margin-bottom: 2rem;
    }

    .nowl-badges-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

.nowl-badge-card {
    display: flex;
    padding: .5rem .75rem;
    gap: 1rem;
    background: var(--global-palette7);
    border-radius: 8px;
    border: 1px solid var(--outline-color);

    .nowl-badge-icon {
        width: 65px;
        height: 65px;
        border-radius: 3px;
        min-width: 65px;
        min-height: 65px;
    }

    .nowl-badge-icon img {
        height: 100%;
        max-width: 100%;
        object-fit: cover;
        border-radius: 3px;
    }

    .nowl-badge-info {
        align-content: center;
        padding-right: .25rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p {
        font-size: .8rem;
        margin: 0;
        line-height: 1.3;
    }
}

.badges-widget {
    .nowl-badges-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1rem;
    }

    .nowl-badge-card {
        background: var(--global-palette8);
    }

    .nowl-button--outline {
        margin-top: 1rem;
        width: fit-content;
    }

}

@media (min-width: 767px) and (max-width: 1200px) {
    .badges-widget {
        .nowl-badges-grid {
            grid-template-columns: 1fr 1fr;
        }
    }
}

@media (max-width: 865px) {
    .badges-widget {
        .nowl-badges-grid {
            grid-template-columns: 1fr;
        }
    }
}

@media (max-width: 767px) {

    .nowl-badge-card {
        h3 {
            font-size: 1rem !important;
        }
    }

    .badges {
        .nowl-badges-grid {
            grid-template-columns: 1fr;
        }
    }
}

.nowl_profile_badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nowl_profile_badge {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    border: 1px solid var(--outline-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.nowl_profile_badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nowl_profile_badge:hover {
    border: 1px solid var(--global-palette2);
}

.nowl_profile_badge_more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--outline-color);
    color: var(--global-palette5);
    transition: background 0.2s ease;
}

.nowl_profile_badge_more:hover {
    border: 1px solid var(--global-palette2);
    color: var(--global-palette3);
}