/* Timeline horizontal line - mathematically centered with faded edges */
#timeline {
    position: relative;
}

#timeline::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    pointer-events: none;
    z-index: 0;
}

/* Here-to-section tab buttons - desktop accordion style (text left, icon right) */
@media (min-width: 1201px) {
    .here-to-section .e-n-tab-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .here-to-section .e-n-tab-title .e-n-tab-icon {
        order: 1;
    }

    .here-to-section .e-n-tab-title .e-n-tab-title-text {
        order: -1;
    }
}

/* Fix tab content height change - prevent flex stretch (desktop only) */
@media (min-width: 1201px) {
    .here-to-section .e-n-tabs-content {
        min-height: 300px;
    }
}

/* Timeline Milestone Cards - Background Color */
.elementor-element-container-card,
.rmrs-timeline .elementor-loop-item .e-container,
.rmrs-timeline-widget .elementor-loop-item .e-container {
    background-color: #E8F4F8;
    border-radius: 12px;
    padding: 25px;
}

/* Ensure cards have proper styling */
.rmrs-timeline .elementor-loop-item,
.rmrs-timeline-widget .elementor-loop-item {
    min-height: 230px;
}
