/* ── СТИЛИ ТОЛЬКО ДЛЯ ЭТОЙ СЕКЦИИ (вписываются в общую стилистику ИГОЛКИ) ── */
#about {
    background: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.about-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

/* Декоративная вертикальная линия (по центру на десктопе, слева на мобилках) */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: var(--red);
    transform: translateX(-50%);
    opacity: 0.4;
}

/* Каждый пункт таймлайна */
.timeline-item {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-bottom: 10px;
    position: relative;
}

/* Чередование: фото слева, контент справа — потом наоборот */
.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Фото */
.timeline-image {
    flex: 1;
    border: 2px solid rgba(204, 17, 17, .4);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #fff;
}

/* .timeline-image:hover {
    transform: translateY(-6px);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.08);
} */

.timeline-image img {
    width: 100%;
    height: 340px;
    display: block;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    filter: grayscale(0.15);
    transition: filter 0.3s;
}

.timeline-image:hover img {
    filter: grayscale(0);
}

/* Контентная часть */
.timeline-content {
    flex: 1;
    padding: 20px 0;
}

.timeline-year {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 4px;
    color: var(--red);
    line-height: 1;
    margin-bottom: 8px;
}

.timeline-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: var(--black);
    margin-bottom: 16px;
    border-left: 4px solid var(--red);
    padding-left: 16px;
}

.timeline-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #3a3a3a;
}

/* Декоративная точка на линии у каждого блока */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    background: var(--red);
    border: 3px solid var(--white);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 2px var(--black);
}

/* ── АДАПТИВ (мобилы) ── */
@media (max-width: 768px) {

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }

    .timeline-line {
        left: 24px;
        transform: none;
    }

    .timeline-item::before {
        left: 18px;
        transform: translateY(-50%);
        top: 40px;
    }

    .timeline-content {
        text-align: left;
        padding-left: 60px;
    }

    .timeline-title {
        font-size: 1.5rem;
        padding-left: 14px;
    }

    .timeline-year {
        font-size: 1.8rem;
    }

    .timeline-image img {

        aspect-ratio: auto;

    }

}

.section-title {
    font-weight: 600;
    margin-bottom: 0px;
}

.footer-left {
    font-weight: 500;
}

.timeline-image span {
    border-top: 2px solid rgba(204, 17, 17, .4);
    display: inline-block;
    line-height: 25px;
    width: 100%;
    text-align: center;
}