@import url('../../boho-premium/css/styles.css');

/* Timeline Customization for Boho */
.boho-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.boho-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--boho-text);
    opacity: 0.2;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    width: 50%;
    padding: 0 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 15px;
    height: 15px;
    background: var(--boho-bg);
    border: 2px solid var(--boho-accent-1);
    border-radius: 50%;
    z-index: 10;
}

.timeline-item:nth-child(odd)::after {
    right: -7.5px;
}

.timeline-item:nth-child(even)::after {
    left: -7.5px;
}

@media (max-width: 768px) {
    .boho-timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        text-align: left;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 12.5px;
        right: auto;
    }
}