.gt-timeline {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px 0;
}

.gt-timeline__line {
    position: absolute;
    left: 35%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #0F2754;
}

.gt-timeline__items {
    position: relative;
}

.gt-timeline__item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.gt-timeline__item:last-child {
    margin-bottom: 0;
}

.gt-timeline__marker {
    position: absolute;
    left: 35%;
    transform: translateX(-50%);
    z-index: 2;
}

.gt-timeline__marker-dot {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #0F2754;
    background: #fff;
}

.gt-timeline__marker-dot--open {
    background: #28a745;
    border-color: #28a745;
}

.gt-timeline__marker-dot--few {
    background: #fd7e14;
    border-color: #fd7e14;
}

.gt-timeline__marker-dot--full {
    background: #999;
    border-color: #999;
}

.gt-timeline__content {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 60px;
}

/* Чётные — текст слева, картинка справа */
.gt-timeline__item--left .gt-timeline__content {
    flex-direction: row;
}

.gt-timeline__item--left .gt-timeline__info {
    width: 30%;
    text-align: right;
    padding-right: 40px;
}

.gt-timeline__item--left .gt-timeline__image-wrap {
    width: 50%;
    margin-left: auto;
    padding-left: 40px;
}

/* Нечётные — картинка слева, текст справа */
.gt-timeline__item--right .gt-timeline__content {
    flex-direction: row-reverse;
}

.gt-timeline__item--right .gt-timeline__info {
    width: 50%;
    text-align: left;
    padding-left: 40px;
    margin-left: auto;
}

.gt-timeline__item--right .gt-timeline__image-wrap {
    width: 30%;
    padding-right: 40px;
    text-align: right;
}

/* Дата */
.gt-timeline__date {
    margin-bottom: 8px;
}

.gt-timeline__date-day {
    font-size: 42px;
    font-weight: 700;
    color: #C20E1A;
    line-height: 1;
    display: block;
}

.gt-timeline__date-month {
    font-size: 18px;
    font-weight: 600;
    color: #0F2754;
    text-transform: lowercase;
}

.gt-timeline__date-year {
    font-size: 14px;
    color: #999;
    margin-left: 4px;
}

/* Заголовок */
.gt-timeline__title {
    margin: 8px 0;
    font-size: 20px;
    font-weight: 700;
}

.gt-timeline__title a {
    color: #0F2754;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gt-timeline__title a:hover {
    color: #C20E1A;
}

/* Направление */
.gt-timeline__direction {
    font-size: 15px;
    color: #666;
    margin-bottom: 6px;
}

/* Диапазон дат */
.gt-timeline__dates-range {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

/* Цена */
.gt-timeline__price {
    font-size: 18px;
    font-weight: 700;
    color: #C20E1A;
    margin-bottom: 8px;
}

/* Статус */
.gt-timeline__status {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.gt-timeline__status--open {
    background: #d4edda;
    color: #155724;
}

.gt-timeline__status--few {
    background: #fff3cd;
    color: #856404;
}

.gt-timeline__status--full {
    background: #e9ecef;
    color: #666;
}

.gt-timeline__seats {
    font-weight: 400;
    margin-left: 4px;
}

/* Изображение */
.gt-timeline__image-wrap a {
    display: block;
}

.gt-timeline__image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0F2754;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.gt-timeline__image:hover {
    border-color: #C20E1A;
    transform: scale(1.05);
}

.gt-timeline__image--placeholder {
    background: linear-gradient(135deg, #0F2754 0%, #C20E1A 100%);
}

/* Пустое состояние */
.gt-timeline__empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
}

/* Адаптив */
@media (max-width: 768px) {
    .gt-timeline__line {
        left: 20px;
    }

    .gt-timeline__marker {
        left: 20px;
    }

    .gt-timeline__item {
        margin-bottom: 40px;
    }

    .gt-timeline__item--left .gt-timeline__content,
    .gt-timeline__item--right .gt-timeline__content {
        flex-direction: column;
        padding-left: 50px;
        gap: 15px;
    }

    .gt-timeline__item--left .gt-timeline__info,
    .gt-timeline__item--right .gt-timeline__info {
        width: 100%;
        text-align: left;
        padding: 0;
        margin: 0;
    }

    .gt-timeline__item--left .gt-timeline__image-wrap,
    .gt-timeline__item--right .gt-timeline__image-wrap {
        width: 100%;
        padding: 0;
        text-align: left;
        margin: 0;
    }

    .gt-timeline__image {
        width: 120px;
        height: 120px;
    }

    .gt-timeline__date-day {
        font-size: 32px;
    }

    .gt-timeline__title {
        font-size: 17px;
    }
}
