/* ==========================================================================
   ACF Team Grid — base styles.
   Values here are fallbacks only. Everything visual is also exposed as an
   Elementor control, and Elementor's generated CSS overrides these rules.
   ========================================================================== */

.team-section-335942d8 {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
    font-family: inherit;
}

.team-empty-335942d8 {
    margin: 0;
}

/* Featured member card ---------------------------------------------------- */

.featured-member-card-335942d8 {
    display: flex;
    flex-direction: row;
    background: #F8FAFC;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    gap: 3rem;
    padding: 3rem;
    align-items: center;
}

.featured-photo-wrap-335942d8 {
    flex-shrink: 0;
    width: 280px;
    height: 280px;
}

.featured-photo-335942d8 {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    border-radius: 0.5rem;
}

.featured-content-335942d8 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    min-width: 0;
}

.featured-label-335942d8 {
    color: #14B8A6;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.featured-name-335942d8 {
    color: #0F172A;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.featured-position-335942d8 {
    color: #14B8A6;
    font-size: 1.125rem;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.featured-bio-335942d8 {
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0.5rem 0;
}

.featured-profile-btn-335942d8 {
    background: transparent;
    border: 2px solid #14B8A6;
    border-radius: 0.375rem;
    color: #14B8A6;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.featured-profile-btn-335942d8:hover,
.featured-profile-btn-335942d8:focus {
    background: #14B8A6;
    color: #FFFFFF;
}

/* Grid of team members ---------------------------------------------------- */

.team-grid-335942d8 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    column-gap: 2rem;
    row-gap: 2rem;
    width: 100%;
}

.member-card-335942d8 {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.member-card-335942d8:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.member-photo-wrap-335942d8 {
    width: 100%;
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}

.member-photo-335942d8 {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.member-content-335942d8 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    flex-grow: 1;
    align-items: flex-start;
    min-width: 0;
}

.member-name-335942d8 {
    color: #0F172A;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.member-position-335942d8 {
    color: #14B8A6;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin: 0;
    text-transform: uppercase;
}

.member-bio-335942d8 {
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.member-profile-btn-335942d8 {
    background: transparent;
    border: 1px solid #CBD5E1;
    border-radius: 0.375rem;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: stretch;
}

.member-profile-btn-335942d8:hover,
.member-profile-btn-335942d8:focus {
    border-color: #14B8A6;
    color: #14B8A6;
}

/* Accessibility ----------------------------------------------------------- */

.featured-profile-btn-335942d8:focus-visible,
.member-profile-btn-335942d8:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .member-card-335942d8,
    .member-card-335942d8:hover,
    .featured-profile-btn-335942d8,
    .member-profile-btn-335942d8 {
        transition: none;
        transform: none;
    }
}

/* Small-screen fallback for setups where the widget CSS has not been
   regenerated yet. Direction, sizes and padding are all controllable per
   breakpoint in the editor, so nothing here uses !important. */
@media (max-width: 767px) {
    .featured-member-card-335942d8 {
        padding: 2rem;
        gap: 2rem;
    }
}