.pst-img-77f2adaf-timeline {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.pst-img-77f2adaf-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
    flex: 1;
    transition: all 0.3s ease;
}

.pst-img-77f2adaf-marker-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.pst-img-77f2adaf-marker {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0073aa;
    color: #fff;
    border: 2px solid #0073aa;
    transition: all 0.3s ease;
}

.pst-img-77f2adaf-number {
    font-weight: bold;
    z-index: 3;
}

.pst-img-77f2adaf-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    border-top: 2px solid #0073aa;
    z-index: 1;
    transform: translateY(-50%);
}

.pst-img-77f2adaf-step:last-child .pst-img-77f2adaf-line {
    display: none;
}

.pst-img-77f2adaf-content {
    width: 100%;
    padding: 0 10px;
}

.pst-img-77f2adaf-title {
    margin-top: 0;
    margin-bottom: 10px;
}

.pst-img-77f2adaf-image img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* Horizontal Layout Fix for left/right align */
.pst-img-77f2adaf-layout-horizontal .pst-img-77f2adaf-step {
    /* Align items set via Elementor controls but default to center */
}
.pst-img-77f2adaf-layout-horizontal[data-elementor-device-mode="mobile"] {
    flex-direction: column;
}
.pst-img-77f2adaf-layout-horizontal[data-elementor-device-mode="mobile"] .pst-img-77f2adaf-step {
    flex-direction: row;
    align-items: stretch !important;
    text-align: left;
    margin-bottom: 20px;
}
.pst-img-77f2adaf-layout-horizontal[data-elementor-device-mode="mobile"] .pst-img-77f2adaf-step:last-child {
    margin-bottom: 0;
}
.pst-img-77f2adaf-layout-horizontal[data-elementor-device-mode="mobile"] .pst-img-77f2adaf-marker-wrapper {
    width: auto;
    margin-bottom: 0;
    margin-right: 20px;
    align-items: flex-start;
}
.pst-img-77f2adaf-layout-horizontal[data-elementor-device-mode="mobile"] .pst-img-77f2adaf-line {
    left: 50%;
    top: 0;
    width: 0;
    height: 100%;
    border-top: none !important;
    border-left: 2px solid #0073aa; /* Fallback */
    transform: translateX(-50%);
}

/* Vertical Layout */
.pst-img-77f2adaf-layout-vertical .pst-img-77f2adaf-timeline {
    flex-direction: column;
}
.pst-img-77f2adaf-layout-vertical .pst-img-77f2adaf-step {
    flex-direction: row;
    align-items: stretch !important;
    margin-bottom: 20px;
}
.pst-img-77f2adaf-layout-vertical .pst-img-77f2adaf-step:last-child {
    margin-bottom: 0;
}
.pst-img-77f2adaf-layout-vertical .pst-img-77f2adaf-marker-wrapper {
    width: auto;
    margin-bottom: 0;
    margin-right: 20px;
    align-items: flex-start;
}
.pst-img-77f2adaf-layout-vertical .pst-img-77f2adaf-line {
    left: 50%;
    top: 0;
    width: 0;
    height: 100%;
    border-top: none !important;
    border-left: 2px solid #0073aa;
    transform: translateX(-50%);
}
