/* ==========================================================================
   Hopmans Sync Frontend Styles - Team
   ========================================================================== */

.hopmans-team-container {
    max-width: 1260px;
    margin: 0 auto;
}

/* ==========================================================================
   Team Filter Buttons
   ========================================================================== */

.hopmans-team-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.hopmans-team-filter-btn {
    padding: 8px 16px !important;
    border: 2px solid var(--e-global-color-primary, #10aa9e) !important;
    background: #fff !important;
    border-radius: 4px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--e-global-typography-primary-font-family, 'Open Sans', sans-serif) !important;
    font-size: 0.8em !important;
    font-weight: 700 !important;
    color: var(--e-global-color-primary, #10aa9e) !important;
    text-decoration: none !important;
    line-height: 1.2em !important;
    text-transform: uppercase;
}

.hopmans-team-filter-btn:hover {
    background: var(--e-global-color-primary, #10aa9e) !important;
    color: #fff !important;
}

.hopmans-team-filter-btn.active {
    background: var(--e-global-color-primary, #10aa9e) !important;
    color: #fff !important;
    border-color: var(--e-global-color-primary, #10aa9e) !important;
}

/* ==========================================================================
   Team Sections (per afdeling)
   ========================================================================== */

.hopmans-team-afdeling {
    margin-bottom: 40px;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hopmans-team-afdeling.active {
    display: block;
    opacity: 1;
}

.hopmans-team-afdeling-title {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    text-align: left;
}

/* ==========================================================================
   Team Grid Layout
   ========================================================================== */

.hopmans-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .hopmans-team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hopmans-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hopmans-team-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Team Member Card
   ========================================================================== */

.hopmans-team-lid {
    text-align: center;
}

/* Team Member Photo with Corner Cutout */
.hopmans-team-lid-foto {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    margin-bottom: 15px;
    overflow: hidden;
}

.hopmans-team-lid-foto img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Corner cutout - use --team-bg-color CSS variable, defaults to white */
.hopmans-team-lid-foto:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    border-width: 50px 50px 0 0;
    border-style: solid;
    border-color: transparent var(--team-bg-color, #fff) var(--team-bg-color, #fff) transparent;
    z-index: 1;
}

/* Team Member Info */
.hopmans-team-lid-info {
    text-align: left;
}

.hopmans-team-lid-info h4,
.hopmans-team-lid-naam {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 600;
    color: var(--e-global-color-accent, #10aa9e);
}

.hopmans-team-lid-functie {
    margin: 0;
    color: #000;
    font-size: 16px;
}
