

/* Start:/company/style.css?17950241363809*/
.groit-timeline-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 16px;
    position: relative
}

.groit-timeline {
    position: relative
}

/* Вертикальная пунктирная ось (десктоп) */
.groit-timeline::before {
    content: "";
    position: absolute;
    left: 90px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #a5a6b4 60%, transparent 60%);
    background-size: 100% 20px;
    background-repeat: repeat-y;
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    animation: lineGrow 2s ease forwards;
    transform-origin: top;
    transform: scaleY(0)
}

@keyframes lineGrow {
    to {
        transform: scaleY(1)
    }
}

/* Элемент таймлайна (десктоп) */
.tl-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 200px;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(60px);
    transition: all .8s cubic-bezier(.22, 1, .36, 1)
}

.tl-item.active {
    opacity: 1;
    transform: translateY(0)
}

/* Дата слева */
.tl-header {
    flex: 0 0 100px;
}

.tl-header .ui-accordion-header-icon {
    display: none;
}

.tl-date {
    flex: 0 0 100px;
    padding: 2px 0;
    color: black;
    text-align: right;
    position: relative;
    background: white
}

.tl-date__month {
    font-weight: 700;
    font-size: 20px
}

.tl-date__year {
    font-weight: 700;
    font-size: 26px;
    line-height: 1
}

/* Линия от даты к карточке */
.tl-connector {
    position: absolute;
    top: 50%;
    right: -187px;
    border: 2px solid #4b4f6b;
    width: 0;
    border-radius: 2px;
    transition: width .8s ease .3s
}

.tl-item.active .tl-connector {
    width: 180px
}

.tl-connector::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4b4f6b
}

/* Карточка справа */
.tl-card {
    flex: 1;
    margin-top: 15px;
    max-width: 300px;
    color: black
}

.tl-card__title {
    margin: 0 0 8px;
    font: 700 18px/1.2 system-ui, Arial;
    color: #000
}

.tl-card__text {
    font: 400 13px/1.2 system-ui, Arial;
    color: #000
}

/* ====== Мобильная версия: превращаем в jQuery UI Accordion ====== */
@media (max-width:767px) {

    .groit-timeline::before,
    .tl-connector {
        display: none
    }

    /* линии убираем */
    .tl-item {
        display: block;
        opacity: 1;
        transform: none;
        margin-bottom: 10px
    }

    /* без анимации блоков */
    .tl-date {
        text-align: left;
        padding: 12px 8px;
        border-radius: 10px;
        background: #f2f3f7;
        cursor: pointer
    }

    .tl-card {
        max-width: none;
        margin-top: 8px
    }

    /* Чиним стили UI */
    #groit-timeline.ui-accordion .ui-accordion-header {
        border: 0;
        background: none;
        padding: 0;
        margin: 0
    }

    #groit-timeline.ui-accordion .ui-accordion-content {
        border: 0;
        padding: 8px 0 14px
    }

    /* Добавим маленький индикатор раскрытия */
    .tl-date {
        position: relative
    }

    .tl-date:after {
        content: \"\";
        position: absolute;
        right: 8px;
        top: 50%;
        width: 8px;
        height: 8px;
        border-right: 2px solid #666;
        border-bottom: 2px solid #666;
        transform: translateY(-50%) rotate(-45deg);
        transition: transform .2s
    }

    .ui-accordion-header-active.tl-date:after {
        transform: translateY(-50%) rotate(45deg)
    }
}

/* End */
/* /company/style.css?17950241363809 */
