    /* Базовые стили для collapse-text */
.collapse-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4 !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: unset; /* По умолчанию показываем весь текст */
    transition: max-height 0.3s ease;
}

/* Для неактивных табов сбрасываем ограничения */
.tab-content-item:not(.active) .collapse-text {
    max-height: none !important;
    -webkit-line-clamp: unset !important;
}

/* Стили для обрезанного текста */
.collapse-text-wrapper.truncated .collapse-text {
    -webkit-line-clamp: 10; /* Обрезаем до 10 строк */
    position: relative;
}

/* Градиент для обрезанного текста */
.collapse-text-wrapper.truncated .collapse-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2em;
    background: linear-gradient(to bottom, transparent, #ffffff);
    pointer-events: none; /* Чтобы не мешал кликам */
    display: block;
}

/* Активное состояние - показываем весь текст */
.collapse-text-wrapper.truncated.active .collapse-text {
    -webkit-line-clamp: unset;
    max-height: none;
}

.collapse-text-wrapper.truncated.active .collapse-text::after {
    display: none;
}

/* Стили для кнопки */
.collapse-btn:after {
    color: #FCE300;
    content: "Читать все";
    display: inline-block;
    border-bottom: 1px #FCE300 dashed;
    font-size: 14px;
    cursor: pointer;
}

.collapse-text-wrapper.active .collapse-btn:after {
    content: "Свернуть";
}

/* Скрываем кнопку если текст не обрезан */
.collapse-text-wrapper:not(.truncated) .collapse-btn {
    display: none !important;
}


.fs-15-xl-20 {
    font-size: 15px !important;
    line-height: 17px !important;
}
.fs-13-lg-14 {
    font-size: 13px !important;
    line-height: 15px !important;
}
@media (min-width: 992px) {
    .fs-13-lg-14 {
        font-size: 14px !important;
        line-height: 16px !important;
    }
}
@media (min-width: 1200px) {
    .fs-15-xl-20 {
        font-size: 20px !important;
        line-height: 22px !important;
    }
}

.owl-carousel .owl-item img{
    margin: 0!important;
    max-width: 115px;
    border-radius: 100%!important;
}
.custom-tabs .tabs-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.custom-tabs .tab-btn {
    padding: 10px 20px;
    background: #f3db1b;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
    border: none;
    font-size: 14px;
}

.custom-tabs .tab-btn:hover {
    background: #FFF069;
}

.custom-tabs .tab-btn.active {
    background: #313896;
    color: white;
}

.custom-tabs .tab-content-item {
    display: none;
}

.custom-tabs .tab-content-item.active {
    display: block;
}



.specialist-card {

}



.specialist-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.specialist-name {
    margin: 10px 0;
}

.specialist-name a {
    text-decoration: none;
}


.specialist-preview {
    margin-bottom: 10px;
}

.specialist-career {
    font-size: 14px;
}