.invert-svg {
    filter: invert(1);
}

.marginReset {
    margin: 0;
    padding: 0;
}

.cghero-user-cards {
    font-size: 16px;
    line-height: 1.5;
}

.user-card-link {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
}

.card {
    width: 100%;
    color: #fff;
    background-color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header, .profile-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-meta {
    flex-direction: row;
    gap: 20px;
    min-height: 34px;
    font-size: 0.8rem;
    opacity: 0.7;
}

.card-header {
    padding: 20px;
    padding-bottom: 0;
    text-align: center;
}

.profile-image-container {
    margin: 0 auto;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
}

.profile-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.name {
    font-size: 1.5rem;
    margin-bottom:5px;
    font-weight: bold;
    line-height: 100%;
    text-align: center;
    margin-top: 15px;
}

.industry_role {
    font-size: 0.875rem;
    margin-bottom: 14px;
    text-transform: uppercase;
    text-align: center;
    min-height: 21px;
}

.card-gallery {
    height: 125px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.w-third {
    width: 33.3333%;
}
.w-half {
    width: 50%;
}
.w-full {
    width: 100%;
}

.gallery-image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
} 

.card-button-container {
    text-align: center;
    height: 74px;
    position: relative;
}

.card-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FF6B3C;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    min-width: 200px;
    margin: 0 auto;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 25px;
    text-transform: capitalize;
    z-index: 10;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 5px;
    max-width: 200px;
}

.card-button:hover {
    background-color: #FF4C1F;
    color: #fff;
}

.discover {
    margin-top: 30px;
    width: fit-content;
    display: block;
    max-width: initial;
}

.cards-header {
    font-size: 1.5rem;
    text-align: center;
    text-transform: capitalize;
    position: relative;
    width: fit-content;
    margin: 0 auto;
    margin-top: 15px;
    margin-bottom: 30px;
}

.cards-header::after, .cards-header::before {
    content: '';
    width: 10rem;
    height: .0625rem;
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
}

.cards-header::after {
    margin-left: 1.5rem;
    background-image: linear-gradient(45deg, #bdc5d1, transparent);
}

.cards-header::before {
    right: 100%;
    margin-right: 1.5rem;
    background-image: linear-gradient(45deg, transparent, #bdc5d1);
}

@media (min-width: 768px) {
    .cghero-user-cards {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        flex-wrap: wrap;
        flex-direction: row;
        gap: 20px;
    }

    .card {
        margin-bottom: 0;
        transform: scale(1);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .card:hover {
        transform: scale(1.03);
    }
    
}