/* --- WIDGET 8: Odborný Tím (Team) --- */
.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

/* Header */
.section-heading {
    margin-bottom: 50px;
    text-align: center;
}

.section-heading h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
    color: var(--bio-text-main);
}

.section-heading span {
    display: inline-block;
    margin-top: 10px;
    width: 50px;
    height: 4px;
    background: var(--bio-accent-blue);
}

/* Main Interface */
.team-interface {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    border: 1px solid var(--bio-border-color);
    min-height: 600px;
}

/* Left Navigation */
.team-nav {
    background: #f9f9f9;
    border-right: 1px solid var(--bio-border-color);
    display: flex;
    flex-direction: column;
}

.nav-item {
    padding: 20px 25px;
    border-bottom: 1px solid var(--bio-border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.nav-item:hover {
    background: #eee;
}

.nav-item.active {
    background: #fff;
    box-shadow: inset 4px 0 0 var(--bio-accent-blue);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #fff;
}

.nav-name {
    font-weight: 700;
    font-size: 1rem;
    display: block;
    margin-bottom: 3px;
    color: var(--bio-text-main);
}

.nav-role {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
    font-weight: 500;
}

.nav-item.active .nav-name {
    color: var(--bio-accent-blue);
}

/* Right Display Area */
.team-display-area {
    background: #fff;
    padding: 40px;
    position: relative;
}

.bio-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.bio-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Detail Header */
.detail-header {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--bio-border-color);
    padding-bottom: 20px;
}

.member-initials {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(110, 193, 228, 0.15);
    position: absolute;
    top: 20px;
    right: 40px;
    line-height: 1;
    z-index: 0;
}

.detail-header h3 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: var(--bio-text-main);
    position: relative;
    z-index: 1;
}

.detail-header .role-badge {
    display: inline-block;
    background: var(--bio-accent-blue);
    color: #fff;
    padding: 5px 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 10px;
}

/* Detail Body */
.detail-body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bio-text-light);
    position: relative;
    z-index: 1;
}

.detail-body ul {
    padding-left: 20px;
    margin: 20px 0;
}

.detail-body h4 {
    font-size: 1.1rem;
    color: var(--bio-text-main);
    margin: 25px 0 10px 0;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 900px) {
    .team-interface {
        grid-template-columns: 1fr;
    }

    .team-nav {
        max-height: 300px;
        overflow-y: auto;
        border-right: none;
        border-bottom: 1px solid var(--bio-border-color);
    }

    .nav-item.active {
        box-shadow: inset 0 4px 0 var(--bio-accent-blue);
    }
}