.angie-process-steps-container {
    display: grid;
    width: 100%;
    margin: 0; /* Grid handles spacing via gap */
    position: relative;
}

.angie-process-step {
    box-sizing: border-box;
    width: 100%; /* Grid items take full cell width */
    padding: 0; /* Internal padding handled by content or not needed */
    position: relative;
}

/* Timeline specific styles */
.angie-has-timeline .angie-process-step-number {
    margin-bottom: 5px; /* Reduced margin to bring closer to timeline */
}

.angie-process-step-timeline-wrapper {
    position: relative;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
}

.angie-process-step-timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #D03140;
    z-index: 2;
    position: relative;
}

/* Horizontal line between steps */
.angie-has-timeline .angie-process-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: calc(60px + 20px); /* Adjust based on number height + margin */
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: #E6E9EC;
    z-index: 1;
}

/* Adjust line position to be centered in the timeline wrapper */
.angie-has-timeline .angie-process-step:not(:last-child) .angie-process-step-timeline-wrapper:after {
    /* Alternative approach if direct pseudo-element on wrapper is better */
}

/* Content styles */
.angie-process-step-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.angie-process-step-number {
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 15px;
    opacity: 0.8;
}

.angie-process-step-title {
    font-size: 20px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.3;
}

.angie-process-step-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Ensure images in description don't overflow */
.angie-process-step-description img {
    max-width: 100%;
    height: auto;
}

/* Mobile responsive adjustments for timeline */
@media (max-width: 767px) {
    .angie-has-timeline .angie-process-step:not(:last-child):after {
        display: none; /* Hide horizontal line on mobile */
    }
    
    .angie-process-step-timeline-wrapper {
        margin-bottom: 10px;
    }
}