/* =======================
   Основной фон секции
   ======================= */
.hero-structure-home-simple {
    background: linear-gradient(
        135deg,
        rgba(255,107,107,0.15),
        rgba(255,142,114,0.1)
    );
    padding: 2rem 1rem;
    border-radius: 1rem;
    text-align: center;
    color: #343A40;
    margin-bottom: 2rem;
}

/* =======================
   Сетка карточек
   ======================= */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.member-card {
    background:#fff;
    border-radius:1rem;
    overflow:hidden;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding:15px;
}
.member-card:hover {
    transform: translateY(-5px);
    box-shadow:0 12px 25px rgba(255,107,107,0.3); /* мягкий красный */
}
.photo-wrapper {
    width:120px;
    height:120px;
    margin-bottom:15px;
    border-radius:50%;
    overflow:hidden;
    background-color:#e9ecef;
    display:flex;
    align-items:center;
    justify-content:center;
}
.photo-wrapper img { width:100%; height:100%; object-fit:cover; }
.no-photo { 
    font-size:1.5rem; 
    color:#fff; 
    background: linear-gradient(135deg, #ff6b6b, #ff8e72, #ffb199, #ffe0e0); 
    width:100%; height:100%; 
    display:flex; align-items:center; justify-content:center; 
    border-radius:50%; 
}
.member-info h3 { font-size:1.2rem; margin-bottom:5px; color:#222; }
.role { font-size:0.95rem; font-weight:500; color:#ff6b6b; margin-bottom:10px; }

/* =======================
   Кнопки
   ======================= */
.tab-btn,
.btn-back {
    background: linear-gradient(135deg, #ff6b6b, #ff8e72, #ffb199, #ffe0e0);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.tab-btn:hover,
.btn-back:hover {
    background: linear-gradient(135deg, #ff8e72, #ff6b6b, #ffb199, #ffe0e0);
}

/* ===== Вкладки ===== */
.tabs-section {
    margin-top: 3rem;
}

.tabs-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 0.6rem;
    cursor: pointer;
    background: #fff;
    color: #ff6b6b;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: linear-gradient(135deg, #ff6b6b, #ff8e72, #ffb199, #ffe0e0);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255,107,107,0.4);
    transform: scale(1.05);
}

.tab-btn:hover {
    background: linear-gradient(135deg, #ff8e72, #ff6b6b, #ffb199, #ffe0e0);
    color: #fff;
}

.tabs-content {
    width: 100%;
}

.tab-pane { 
    display: none; 
    margin-top: 1rem;
}

.tab-pane.active { 
    display: block; 
}

/* ===== Текстовые списки в 3 колонки ===== */
.text-lists {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* строго 3 колонки */
    gap: 1rem 2rem; /* вертикальные и горизонтальные отступы */
    background: #fff5f5; /* лёгкий фон для выделения блока */
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(255,107,107,0.1);
    margin-bottom: 2rem;
}

.list-item {
    font-size: 0.95rem;
    color: #555;
    padding: 5px 0;
    line-height: 1.4;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.list-item:hover {
    background: #ffe0e0;
    color: #ff6b6b;
    border-left-color: #ff6b6b;
    padding-left: 5px;
}

.list-item .role {
    font-weight: 500;
    color: #ff8e72;
}

/* Заголовки групп */
.text-lists h3 {
    font-size: 1.25rem;
    color: #ff6b6b;
    margin: 1rem 0;
}

/* ===== Адаптив ===== */
@media(max-width:1024px){
    .text-lists { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width:768px){
    .text-lists { grid-template-columns: 1fr; }
}
