.team-card-link-wrapper-036d209e {
    display: block;
    text-decoration: none;
    height: 100%;
}

.team-card-036d209e {
    position: relative;
    overflow: hidden;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    /* Vertically center content */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-card-name-036d209e {
    margin: 0;
    padding: 0;
    /* Min height is now controlled via widget settings to keep things aligned */
}

.team-card-image-wrap-036d209e {
    width: 100%;
}

.team-card-image-wrap-036d209e img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.team-card-job-036d209e {
    font-weight: bold;
    color: var(--e-global-color-text, #333);
}

.team-card-subtitle-036d209e {
    font-weight: 300;
    opacity: 0.8;
    color: var(--e-global-color-text, #333);
    margin: 0;
    padding: 0;
}

/* Ensure no global link color bleeds */
.team-card-link-wrapper-036d209e .team-card-job-036d209e,
.team-card-link-wrapper-036d209e .team-card-subtitle-036d209e {
    color: var(--e-global-color-text, #333);
}

.team-card-overlay-036d209e {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(101%);
    transition: transform 0.4s ease;
    z-index: 2;
}

.team-card-036d209e.is-hovered .team-card-overlay-036d209e {
    transform: translateY(0);
}

/* Fix for Elementor Flex Containers */
.elementor-widget-team_card_036d209e {
    height: 100%;
}
.elementor-widget-team_card_036d209e .elementor-widget-container {
    height: 100%;
}

/* Remove forced width rules that override Elementor controls */
/* Responsive layout should be handled by Elementor container/column settings, not hardcoded CSS */
