/* --- 1. ЖЕЛЕЗНАЯ ФИКСАЦИЯ ВЫСОТЫ (330px) --- */

#rec1889206261 .t396__carfix-fixed {
    top: 75px !important;
}


.uc-photo-330 .t-cover,
.uc-photo-330 .t-cover__carrier,
.uc-photo-330 .t-cover__filter,
.uc-photo-330 .t-cover__wrapper {
    height: 330px !important;
    min-height: 330px !important;
    max-height: 330px !important;
}

/* --- 2. СБРОС СЕТКИ (Чтобы текст не улетал вбок) --- */
.uc-photo-330 .t-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 15px !important; /* Безопасные поля слева/справа */
    margin: 0 !important;
    box-sizing: border-box !important;
}

.uc-photo-330 .t-col {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    float: none !important;
    display: block !important;
    padding: 0 !important;
}

/* Центрирование контента внутри блока */
.uc-photo-330 .t-cover__wrapper {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100% !important;
}

/* --- 3. УДАЛЕНИЕ РАЗДЕЛИТЕЛЯ (ЛИНИИ) --- */
.uc-photo-330 .t-divider,
.uc-photo-330 .t032__line {
    display: none !important; /* Полностью скрываем линию */
    height: 0 !important;
    margin: 0 !important;
}

/* --- 4. НАСТРОЙКИ ТЕКСТА (ФИНАЛЬНЫЙ ВАРИАНТ) --- */
.uc-photo-330 .t-title {
    white-space: normal !important;
    text-align: center !important;
    /* Мы разрешаем блоку занимать автоматическую ширину.
       Так как это inline-block во flex-контейнере,
       он сам встанет по центру и займет столько места,
       сколько нужно для 2-х красивых строк */
    width: auto !important;
    margin: 0 auto !important; /* На всякий случай центрируем маржинами */
}

.uc-photo-330 .t-descr {
    white-space: normal !important;
    text-align: center !important;
    width: auto !important;
    /* Возвращаем отступ сверху, т.к. линии больше нет */
    margin: 14px auto 0 auto !important; 
}

/* --- 5. МОБИЛЬНАЯ АДАПТАЦИЯ (Экраны < 640px) --- */
@media screen and (max-width: 640px) {
    .uc-photo-330 .t-title {
        font-size: 20px !important; 
        line-height: 1.3 !important;
        padding-bottom: 10px !important;
    }
    
    .uc-photo-330 .t-descr {
        font-size: 13px !important;
        line-height: 1.4 !important;
        padding-top: 5px !important;
    }
    
    .uc-photo-330 .t-cover__arrow {
        display: none !important;
    }

    /* === ДОБАВЛЕННЫЙ БЛОК ДЛЯ ИСПРАВЛЕНИЯ ЦЕНТРОВКИ === */
    .uc-photo-330 .t-title,
    .uc-photo-330 .t-descr {
        max-width: 92% !important; /* Ограничиваем ширину, оставляя зазоры по бокам */
        margin-left: auto !important;  /* Автоматический отступ слева */
        margin-right: auto !important; /* Автоматический отступ справа */
        box-sizing: border-box !important; /* Чтобы padding не увеличивал ширину сверх 100% */
        display: block !important; /* Иногда на мобильных лучше block c авто-маржинами, чем inline-block */
    }
}
    
    
/* Отключаем ховер сразу для двух блоков */
#rec1887549641 a:hover,
#rec1887549641 .t-menu__link-item:hover,
#rec1718931991 a:hover,
#rec1718931991 .t-menu__link-item:hover {
    color: #ffffff !important;
    opacity: 1 !important;
    text-decoration: none !important;
}