/* Base Wrapper */
.safari-timeline-wrapper-313fcae8 {
    width: 100%;
}

.tl-list-313fcae8 {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.tl-item-313fcae8 {
    position: relative;
    display: flex;
}

/* Marker (Icon + Number) */
.tl-marker-313fcae8 {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tl-icon-wrapper-313fcae8 {
    width: 80px; /* Default, overridden by control */
    height: 80px; /* Default, overridden by control */
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tl-icon-313fcae8 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tl-icon-313fcae8 i {
    font-size: 24px;
    color: #8a2b38;
}

.tl-icon-313fcae8 svg {
    width: 24px;
    height: 24px;
    fill: #8a2b38;
}

.tl-number-313fcae8 {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #cf9c5e;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Content */
.tl-content-313fcae8 {
    margin-top: 25px;
}

.tl-title-313fcae8 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.tl-desc-313fcae8 {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Line */
.tl-line-313fcae8 {
    position: absolute;
    background-color: #e5e5e5;
    z-index: 1;
}

/* =========================================
   Horizontal Layout Default
   ========================================= */
.tl-layout-313fcae8-horizontal .tl-list-313fcae8 {
    flex-direction: row;
    align-items: flex-start;
}

.tl-layout-313fcae8-horizontal .tl-item-313fcae8 {
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
}

.tl-layout-313fcae8-horizontal .tl-line-313fcae8 {
    height: 2px;
    width: 100%;
    top: 40px; /* Default, overridden dynamically by size control */
    left: 50%;
}

/* =========================================
   Vertical Layout
   ========================================= */
.tl-layout-313fcae8-vertical .tl-list-313fcae8 {
    flex-direction: column;
}

.tl-layout-313fcae8-vertical .tl-item-313fcae8 {
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 40px;
}

.tl-layout-313fcae8-vertical .tl-item-313fcae8:last-child {
    margin-bottom: 0;
}

.tl-layout-313fcae8-vertical .tl-marker-313fcae8 {
    margin-right: 30px;
    flex-shrink: 0;
}

.tl-layout-313fcae8-vertical .tl-content-313fcae8 {
    margin-top: 0;
    padding-top: 10px;
    text-align: left;
}

.tl-layout-313fcae8-vertical .tl-line-313fcae8 {
    width: 2px;
    height: calc(100% + 40px); /* Height + margin-bottom */
    left: 40px; /* Default, overridden dynamically by size control */
    top: 0;
}

/* Responsive - Stack horizontal to vertical on mobile */
@media (max-width: 768px) {
    .tl-layout-313fcae8-horizontal .tl-list-313fcae8 {
        flex-direction: column;
    }
    
    .tl-layout-313fcae8-horizontal .tl-item-313fcae8 {
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 30px;
        padding: 0;
    }
    
    .tl-layout-313fcae8-horizontal .tl-marker-313fcae8 {
        margin-right: 20px;
        flex-shrink: 0;
    }
    
    .tl-layout-313fcae8-horizontal .tl-content-313fcae8 {
        margin-top: 0;
        text-align: left !important;
    }
    
    .tl-layout-313fcae8-horizontal .tl-line-313fcae8 {
        width: 2px; /* Overrides height for vertical layout */
        height: calc(100% + 30px);
        left: 40px; /* Overridden dynamically by size control */
        top: 0;
    }
}