.ets-f91ceffb-wrapper {
    width: 100%;
}

.ets-f91ceffb-heading {
    font-family: 'Georgia', serif;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 40px 0;
    text-align: center;
    color: #1a1a1a;
}

.ets-f91ceffb-heading span {
    color: #F7931E;
}

.ets-f91ceffb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    justify-content: center; /* Allows grid alignment controls to work */
}

.ets-f91ceffb-card-wrapper {
    display: flex;
    justify-content: center; /* Centers the card horizontally in its grid column */
    width: 100%;
}

.ets-f91ceffb-card {
    background-color: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    width: 100%; /* Can be overridden by Elementor controls */
    height: 100%; /* Can be overridden by Elementor controls */
    display: flex;
    flex-direction: column;
}

.ets-f91ceffb-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.ets-f91ceffb-image-wrapper {
    position: relative;
}

.ets-f91ceffb-image {
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.ets-f91ceffb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.ets-f91ceffb-card:hover .ets-f91ceffb-image img {
    filter: grayscale(0%);
}

.ets-f91ceffb-linkedin {
    position: absolute;
    bottom: -14px;
    right: 16px;
    width: 36px;
    height: 36px;
    background-color: #F7931E;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.ets-f91ceffb-linkedin:hover {
    background-color: #e07c0e;
    transform: scale(1.1);
}

.ets-f91ceffb-linkedin svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.ets-f91ceffb-info {
    padding: 20px 16px 20px;
    text-align: center;
    flex-grow: 1; /* Pushes content appropriately if height is increased */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.ets-f91ceffb-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.ets-f91ceffb-designation {
    font-size: 14px;
    color: #666666;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .ets-f91ceffb-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .ets-f91ceffb-grid {
        grid-template-columns: 1fr;
    }

    .ets-f91ceffb-heading {
        font-size: 28px;
    }
}