/* Base styles */
.custom-columns {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.custom-column {
    flex: 1;
    padding: 10px; /* Optional: for spacing */
}

/* 2 columns on medium screens (max-width: 1170px) */
@media (max-width: 1170px) {
    .custom-column {
        flex: 0 0 50%;
    }
}

/* 1 column on small screens (max-width: 781px) */
@media (max-width: 781px) {
    .custom-column {
        flex: 0 0 100%;
    }
}


/* 3 columns on large screens (above 1170px) */
@media (min-width: 1171px) {
    .custom-column {
        flex: 0 0 33.33%;
    }
}

.custom-card {
    border-radius: 8px;
    border-bottom-left-radius: 60px;
    border-top-left-radius: 60px;
    position: relative;
    height: 120px; /* Limit height to 100px */
    background-size: contain;
    background-position: left center; /* Justify left */
    background-repeat: no-repeat; /* Prevent repeat */
    overflow: hidden;
}

.custom-card-gradient {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 80px, #343741 120px);
    z-index: 1;
}

.custom-card-name a {
    text-decoration: none !important;
}

.custom-card-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: flex-end;
    padding: 12px 16px 12px 80px;
    color: white;
    z-index: 2;
    pointer-events: auto;
}

.custom-card-name,
.custom-card-name a,
.custom-card-name span,
.custom-card-email {
    margin: 0;
    color: white !important;
transition: all 0.2s ease-in-out;
}

.custom-card-name {
    font-size: 18px;
}

.custom-position,
.custom-function {
    font-size: 14px;
}

.custom-card-email {
    font-size: 12px;
    position: absolute;
    bottom: 12px;
    background-color: #fa4616;
    right: -300px;
    padding: 2px 16px 2px 12px;
}

.custom-card-line {
    position: absolute;
    bottom: 16px;
    background-color: #fa4616;
    right: 0;
    width: 100px;
    height: 2px;
    transition: all 0.2s ease-in-out;
    transition-delay: 0.05s;
}

.custom-card-linetwo {
    position: absolute;
    bottom: 24px;
    background-color: #fa4616;
    right: 0;
    width: 30px;
    height: 5px;
    transition: all 0.2s ease-in-out;
}


.custom-card-content:hover .custom-card-email {
	right: 0;
}

.custom-card-content:hover .custom-card-linetwo,
.custom-card-content:hover .custom-card-line {
right: -100px;
}

