@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..700&family=Inter:wght@300;400;500;600&display=swap');

/* Main Wrapper */
.timeline-79ff6216-container {
    position: relative;
    width: 100%;
    margin: 40px auto;
    padding: 20px 0;
    box-sizing: border-box;
    overflow: visible;
}

/* Base continuous line (Desktop Only) */
.timeline-79ff6216__line-container {
    position: absolute;
    top: 36px;
    left: 16.66%;
    right: 16.66%;
    height: 1px;
    z-index: 1;
    display: block;
}

.timeline-79ff6216__line {
    width: 100%;
    height: 1px;
    background-color: #C89A26;
    opacity: 0.35;
}

/* Grid Layout */
.timeline-79ff6216__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* Stage block styling */
.timeline-79ff6216__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Markers */
.timeline-79ff6216__marker-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    height: 32px;
}

.timeline-79ff6216__marker {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #C89A26;
    background-color: #FFFFFF;
    color: #C89A26;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    z-index: 3;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.timeline-79ff6216__stage:hover .timeline-79ff6216__marker {
    transform: scale(1.1);
    background-color: #C89A26;
    color: #FFFFFF;
}

/* Invisible connector in vertical view */
.timeline-79ff6216__connector {
    display: none;
}

/* Typography Elements */
.timeline-79ff6216__title {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0F3A37;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.timeline-79ff6216__desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(15, 58, 55, 0.8);
    margin: 0;
    line-height: 1.6;
    max-width: 260px;
}

/* Subtle entrance fade-in animation rules */
.timeline-79ff6216-hidden {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-79ff6216-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile & Responsive Adjustments */
@media screen and (max-width: 767px) {
    .timeline-79ff6216__line-container {
        display: none; /* Hide horizontal line */
    }

    .timeline-79ff6216__grid {
        grid-template-columns: 1fr;
        gap: 48px;
        position: relative;
    }

    /* Vertical line on mobile */
    .timeline-79ff6216__grid::before {
        content: '';
        position: absolute;
        top: 16px;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        background-color: #C89A26;
        opacity: 0.25;
        z-index: 1;
    }

    .timeline-79ff6216__stage {
        z-index: 2;
    }

    .timeline-79ff6216__marker-wrapper {
        margin-bottom: 16px;
    }
}
