/* EMPLOYEE INFO GRID STYLES */
.employee-info-grid {
    margin-top: 3rem;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-row-gap: 2rem;
    justify-items: center;
    background-color: #F5F5F5;
}

/* EMPLOYEE INFO CARDS SECTION STYLES */
.content-desc {
    text-align: center;
}

.employee-info-card {
    position: relative;
    width: 90%;
    background-color: white;
    border-radius: 6px;
    box-shadow: 2px 2px 3px #ccc;
    color: inherit;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.employee-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.employee-info-card:focus-visible {
    outline: 2px solid rgba(244, 116, 6, 1);
    outline-offset: 2px;
}

.employee-info-card-image {
    overflow: hidden;
    border-radius: 6px 6px 0 0;
}

.employee-info-card-image img {
    display: block;
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.employee-info-card:hover .employee-info-card-image img {
    transform: scale(1.05);
}

.employee-info-external {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    color: #555;
    transition: color 0.15s;
}

.employee-info-card:hover .employee-info-external {
    color: rgba(244, 116, 6, 1);
}

.employee-info-card-content {
    padding: 1.5rem 2rem 2rem;
}

.employee-info-card .card-divider {
    width: 40px;
    margin-top: 0.75rem;
    transition: width 0.2s;
}

.employee-info-card:hover .card-divider {
    width: 80px;
}

.employee-info-card-content p {
    margin-top: 1rem;
}

/* EMPLOYEE RESOURCES STYLES - MOBILE */
@media only screen and (max-width: 992px) {
    .employee-info-grid {
        grid-template-columns: 1fr 1fr;
        margin: 0;
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .employee-info-grid {
        grid-template-columns: 1fr;
        padding: 2rem 0 2rem 0;
        width: 100%;
    }

    .employee-info-card {
        width: 100%;
    }
}