/* Убираем белый фон и выстраиваем в ряд */
.my-super-header {
    background: transparent !important; /* Убираем фон */
    display: flex;
    align-items: center; /* Выравниваем по центру по вертикали */
    justify-content: flex-start; /* Прижимаем влево */
    gap: 20px; /* Расстояние между лого и текстом */
    padding: 10px 0;
    border: none !important;
}

/* Делаем 3D-эффект для логотипа */
.my-super-header .logo-3d {
    max-height: 70px;
    width: auto;
    /* Тень для эффекта объема */
    filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.4)); 
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Эффект при наведении (по желанию) */
.my-super-header .logo-3d:hover {
    transform: scale(1.05); /* Чуть увеличивается */
    filter: drop-shadow(0px 8px 8px rgba(0, 0, 0, 0.6));
}

/* Текст справа от логотипа */
.my-super-header .my-super-title {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    text-transform: uppercase;
}

/* Адаптив для телефонов (текст уходит под логотип) */
@media (max-width: 768px) {
    .my-super-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .my-super-header .my-super-title {
        font-size: 14px;
    }
}
/* Контейнер: убираем фон, ставим в ряд */
.my-super-header {
    background: transparent !important; /* Убираем любой фон */
    display: flex !important; 
    flex-direction: row !important; /* Принудительно в строку */
    align-items: center !important; /* Выравниваем по центру по вертикали */
    justify-content: flex-start !important; /* Прижимаем влево */
    gap: 20px !important; /* Отступ между лого и текстом */
    padding: 10px 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Логотип: 3D эффект */
.my-super-header .logo-3d {
    max-height: 70px !important;
    width: auto !important;
    display: inline-block !important;
    /* Вот эта тень создает эффект 3D (объем) */
    filter: drop-shadow(2px 5px 6px rgba(0, 0, 0, 0.6)) !important; 
    transition: transform 0.3s ease;
}

/* Эффект при наведении (логотип чуть увеличивается) */
.my-super-header .logo-3d:hover {
    transform: scale(1.05);
}

/* Текст справа */
.my-super-header .my-super-title {
    font-family: 'Arial', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #222 !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* МОБИЛЬНАЯ ВЕРСИЯ (чтобы на телефоне было красиво) */
@media (max-width: 768px) {
    .my-super-header {
        flex-direction: column !important; /* На телефоне ставим друг под другом */
        text-align: center !important;
        gap: 10px !important;
    }
    .my-super-header .my-super-title {
        font-size: 13px !important;
    }
}
/* Контейнер контактов */
.my-super-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    font-family: 'Arial', sans-serif;
}

/* Строка с контактом */
.my-super-contacts .contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
}

/* Иконки */
.my-super-contacts .contact-row span[class*="fa-"] {
    color: #3b5998; /* Тот же синий, что и в меню, для единства стиля */
    font-size: 18px;
}

/* Ссылки (телефон и почта) - один цвет */
.my-super-contacts .contact-row a {
    color: #2c3e50 !important; /* Глубокий темно-синий/серый */
    text-decoration: none !important;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* Эффект при наведении на ссылки */
.my-super-contacts .contact-row a:hover {
    color: #3b5998 !important; 
}

/* Время работы - делаем "бейджем" */
.my-super-contacts .contact-time {
    background-color: #e9ecef; /* Светло-серый фон */
    color: #495057; /* Темно-серый текст */
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px; /* Скругленные углы */
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #dee2e6;
}

/* ==========================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================== */
@media (max-width: 992px) {
    .my-super-contacts {
        align-items: center;
        margin-top: 15px;
    }
    
    .my-super-contacts .contact-row {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* На телефоне бейдж времени переносим на новую строку */
    .my-super-contacts .contact-time {
        display: block;
        margin: 5px 0 0 0;
        width: max-content;
    }
}
/* Контейнер баннера (если фон-картинка задается тут) */
.my-hero-banner {
    /* Замените 'ваш-фон.jpg' на путь к вашей картинке, если она тут */
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/ваш-фон.jpg'); 
    background-size: cover;
    background-position: center;
    padding: 100px 20px; /* Отступы сверху и снизу */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Ограничиваем ширину текста для читаемости */
.my-hero-banner .hero-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85); /* Полупрозрачная белая подложка под текст */
    padding: 40px;
    border-radius: 15px; /* Скругленные углы */
    backdrop-filter: blur(5px); /* Эффект размытия фона за подложкой (современный эффект) */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Заголовок */
.my-hero-banner .hero-title {
    font-family: 'Arial', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

/* Основной текст */
.my-hero-banner .hero-text {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    line-height: 1.6; /* Увеличиваем межстрочный интервал для "воздуха" */
    color: #333;
    margin-bottom: 30px;
}

/* Кнопка */
.my-hero-banner .hero-btn {
    display: inline-block;
    background-color: #3b5998; /* Ваш фирменный синий */
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 15px 40px;
    border-radius: 50px; /* Овальная кнопка */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 89, 152, 0.4);
}

/* Эффект при наведении на кнопку */
.my-hero-banner .hero-btn:hover {
    background-color: #2c4373; /* Темнее при наведении */
    transform: translateY(-3px); /* Кнопка "подпрыгивает" */
    box-shadow: 0 6px 20px rgba(59, 89, 152, 0.6);
}

/* ==========================================
   АДАПТИВ ПОД СМАРТФОНЫ
   ========================================== */
@media (max-width: 768px) {
    .my-hero-banner {
        padding: 60px 15px;
    }
    
    .my-hero-banner .hero-content {
        padding: 25px 20px;
        border-radius: 10px;
    }
    
    .my-hero-banner .hero-title {
        font-size: 24px;
    }
    
    .my-hero-banner .hero-text {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .my-hero-banner .hero-btn {
        padding: 12px 25px;
        font-size: 14px;
        width: 100%; /* Кнопка на всю ширину на телефоне */
    }
}
/* Контейнер на полупрозрачной подложке */
.my-beautiful-list {
    max-width: 900px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.85); /* Белая подложка (85% непрозрачности) */
    backdrop-filter: blur(10px); /* Размытие фона под подложкой (эффект стекла) */
    padding: 30px 40px;
    border-radius: 15px; /* Скругленные углы */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Легкая тень */
    font-family: 'Arial', sans-serif;
}

/* Заголовок */
.my-beautiful-list .list-header {
    font-size: 24px;
    font-weight: 800;
    color: #3b5998; /* Ваш синий цвет */
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

/* Список */
.my-beautiful-list .birthday-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Элемент списка */
.my-beautiful-list .birthday-list li {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    padding: 12px 0;
    border-bottom: 1px dashed #d1d1d1; /* Пунктирная линия между строками */
    transition: background-color 0.2s ease;
}

/* Убираем линию у последнего элемента */
.my-beautiful-list .birthday-list li:last-child {
    border-bottom: none;
}

/* Эффект при наведении на строку */
.my-beautiful-list .birthday-list li:hover {
    background-color: rgba(59, 89, 152, 0.05); /* Легкий синий фон */
    border-radius: 8px;
}

/* Красивая дата (в кружочке) */
.my-beautiful-list .date {
    background-color: #3b5998;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Круглая */
    margin-right: 15px;
    flex-shrink: 0; /* Чтобы не сжималась на телефонах */
}

/* Имя именинника */
.my-beautiful-list .name {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-right: 8px;
}

/* Должность (серым, чуть мельче) */
.my-beautiful-list .desc {
    font-size: 15px;
    color: #555;
    line-height: 1.4;
}

/* ==========================================
   АДАПТИВ ПОД СМАРТФОНЫ
   ========================================== */
@media (max-width: 768px) {
    .my-beautiful-list {
        padding: 20px;
        margin: 20px 15px;
    }
    
    .my-beautiful-list .list-header {
        font-size: 20px;
    }
    
    .my-beautiful-list .birthday-list li {
        flex-direction: column; /* На телефоне текст идет друг под другом */
        align-items: flex-start;
        padding: 15px 0;
    }
    
    .my-beautiful-list .date {
        margin-bottom: 8px; /* Отступ от кружочка до текста */
    }
    
    .my-beautiful-list .name {
        font-size: 15px;
        margin-bottom: 4px;
    }
    
    .my-beautiful-list .desc {
        font-size: 14px;
    }
}
/* ==========================================
   КАРТОЧКА КОНТАКТОВ
   ========================================== */
.my-contact-card {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px 35px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Одна строка контакта */
.my-contact-card .contact-card__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* Иконка в кружке */
.my-contact-card .contact-card__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3b5998;
    color: #fff;
    font-size: 18px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(59, 89, 152, 0.3);
}

/* Текстовая часть */
.my-contact-card .contact-card__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Подпись (Адрес, Телефон...) */
.my-contact-card .contact-card__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #8a94a6;
}

/* Значение */
.my-contact-card .contact-card__value,
.my-contact-card .contact-card__link {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 1.45;
    text-decoration: none;
}

/* Ссылки */
.my-contact-card .contact-card__link {
    color: #2c3e50;
    transition: color 0.25s ease;
}

.my-contact-card .contact-card__link:hover {
    color: #3b5998;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ==========================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================== */
@media (max-width: 768px) {
    .my-contact-card {
        margin: 20px 15px;
        padding: 22px 20px;
        gap: 18px;
        border-radius: 14px;
    }

    .my-contact-card .contact-card__icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .my-contact-card .contact-card__value,
    .my-contact-card .contact-card__link {
        font-size: 15px;
    }

    .my-contact-card .contact-card__label {
        font-size: 11px;
    }
}
/* Длинные должности — компактнее и без «рваного» текста */
.my-staff-grid .staff-card__position {
    line-height: 1.4;
    text-transform: none;      /* убираем CAPS, чтобы длинный текст читался легче */
    letter-spacing: 0;
    font-weight: 600;
    color: #3b5998;
    font-size: 13px;
}
/* Плавная загрузка фото + лёгкая рамка */
.my-staff-grid .staff-card__photo img {
    background: #eef1f6;
    opacity: 0;
    animation: staffPhotoFade 0.6s ease forwards;
}

@keyframes staffPhotoFade {
    to { opacity: 1; }
}
/* ==========================================
   ОБНОВЛЕННАЯ КАРТОЧКА: ЦЕНТРИРОВАНИЕ И 3D ФОТО
   ========================================== */

/* Если карточка одна, центрируем сетку */
.my-staff-grid.staff-grid--single {
    display: flex;
    justify-content: center;
    max-width: 600px; /* Ограничиваем ширину, чтобы карточка не была слишком широкой */
}

/* Карточка по центру */
.staff-card--centered {
    text-align: center;
    background: transparent; /* Убираем белый фон карточки, чтобы фото "парило" */
    box-shadow: none; /* Убираем тень с самой карточки */
    max-width: 450px;
}

.staff-card--centered:hover {
    transform: translateY(-5px); /* Оставляем легкий эффект при наведении на всю карточку */
}

/* --- ФОТО С 3D ЭФФЕКТОМ --- */
.staff-card--centered .staff-card__photo {
    width: 280px;           /* Фиксированная ширина фото */
    height: 280px;          /* Фиксированная высота (квадрат) */
    margin: 0 auto 20px;    /* Центрируем и даем отступ снизу */
    border-radius: 20px;    /* Скругляем углы фото */
    overflow: hidden;
    background: #eef1f6;
    /* Вот та самая объемная 3D-тень */
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2), 
        0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Эффект при наведении на фото */
.staff-card--centered:hover .staff-card__photo {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 25px 45px rgba(0, 0, 0, 0.25), 
        0 10px 20px rgba(0, 0, 0, 0.15);
}

.staff-card--centered .staff-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Чтобы фото не искажалось */
    display: block;
}

/* --- ТЕКСТ ПО ЦЕНТРУ --- */
.staff-card--centered .staff-card__body {
    padding: 0 15px;
}

.staff-card--centered .staff-card__name {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.staff-card--centered .staff-card__position {
    font-size: 14px;
    font-weight: 600;
    color: #3b5998;
    line-height: 1.4;
    margin-bottom: 20px;
    text-transform: none; /* Убираем капс, как на скрине */
    letter-spacing: 0;
}

/* Контакты по центру */
.staff-card--centered .staff-card__contacts {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем контакты */
    gap: 8px;
    border-top: none; /* Убираем линию, как на скрине */
    padding-top: 0;
}

.staff-card--centered .staff-card__link {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.staff-card--centered .staff-card__link:hover {
    color: #3b5998;
}

/* На мобильных делаем фото чуть меньше */
@media (max-width: 480px) {
    .staff-card--centered .staff-card__photo {
        width: 220px;
        height: 220px;
    }
    .staff-card--centered .staff-card__name {
        font-size: 19px;
    }
}
/* ==========================================
   КАРТОЧКА СОТРУДНИКА (ДЛЯ ОТДЕЛЬНЫХ МОДУЛЕЙ)
   ========================================== */

.my-staff-single {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: 'Arial', sans-serif;
    padding: 10px 0;
}

.my-staff-single .staff-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 320px; /* Карточка не растягивается */
    background: transparent;
    transition: transform 0.3s ease;
}

.my-staff-single .staff-card:hover {
    transform: translateY(-5px);
}

/* --- ФОТО С 3D ТЕНЬЮ (ИСПРАВЛЕНА ОБРЕЗКА) --- */
.my-staff-single .staff-card__photo {
    width: 100%;
    max-width: 240px; /* Ширина фото */
    aspect-ratio: 3 / 4; /* Вертикальный формат, чтобы не резать головы */
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    background: #eef1f6;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.15), 
        0 5px 15px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.my-staff-single .staff-card:hover .staff-card__photo {
    box-shadow: 
        0 25px 45px rgba(0, 0, 0, 0.2), 
        0 10px 20px rgba(0, 0, 0, 0.1);
}

.my-staff-single .staff-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняет контейнер, сохраняя пропорции */
    object-position: top center; /* Центрирует по верху (чтобы не резать голову) */
    display: block;
}

/* --- ТЕКСТ --- */
.my-staff-single .staff-card__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}

.my-staff-single .staff-card__name {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.my-staff-single .staff-card__position {
    margin: 0 0 15px 0;
    font-size: 13px;
    font-weight: 600;
    color: #3b5998;
    line-height: 1.4;
    flex-grow: 1; /* Прижимает контакты к низу */
}

/* --- КОНТАКТЫ --- */
.my-staff-single .staff-card__contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.my-staff-single .staff-card__link {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.my-staff-single .staff-card__link:hover {
    color: #3b5998;
}

.my-staff-single .staff-card__icon {
    margin-right: 6px;
    font-size: 15px;
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ --- */
@media (max-width: 480px) {
    .my-staff-single .staff-card__photo {
        max-width: 200px;
    }
}

/* --- КОНТАКТЫ --- */
.my-staff-single .staff-card__contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.my-staff-single .staff-card__link {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.my-staff-single .staff-card__link:hover {
    color: #3b5998;
}

.my-staff-single .staff-card__icon {
    margin-right: 6px;
    font-size: 15px;
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ --- */
@media (max-width: 480px) {
    .my-staff-single .staff-card__photo {
        width: 180px;
        height: 180px;
    }
}