/* V2 Employees Styles */

.v2-employees-section {
    width: 100%;
    margin-bottom: 64px;
    padding: 0;
}

.v2-employees-main-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.3;
    text-align: left;
    width: 100%;
}

.v2-employees-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 100%;
}

/* Limit to maximum 4 columns on large screens */
@media (min-width: 1200px) {
    .v2-employees-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.v2-employee-item {
    background-color: #ffffff;
    border-radius: 9.6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.v2-employee-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.v2-employee-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.v2-employee-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}

.v2-employee-name {
    font-size: 1rem;
    font-weight: 600;
    color: #040D81;
    margin-bottom: 0;
    line-height: 1.3;
}

/* Medium screens (900px-1199px): 3 columns */
@media (min-width: 900px) and (max-width: 1199px) {
    .v2-employees-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Small desktop/tablet (600px-899px): 2 columns */
@media (min-width: 600px) and (max-width: 899px) {
    .v2-employees-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile responsive styles */
@media (max-width: 599px) {
    .v2-employees-section {
        margin-bottom: 48px;
    }

    .v2-employees-main-title {
        padding: 0 20px;
    }

    .v2-employees-grid {
        gap: 24px;
        grid-template-columns: 1fr;
    }

    .v2-employee-content {
        padding: 20px;
    }
}

