/* sub pages */
#program-tabs,
#nonpay-tabs {
    position: relative;
}

#program-tabs:not(.is-fit) {
    cursor: grab;
}

#program-tabs:not(.is-fit):active {
    cursor: grabbing;
}

#program-tabs > a,
#nonpay-tabs > [data-nonpay-tab] {
    position: relative;
    z-index: 1;
}

#program-tabs-indicator,
#nonpay-tabs-indicator {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    border-radius: 9999px;
    background-color: #f5f1ec;
    pointer-events: none;
    will-change: transform, width, height;
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
    #program-tabs-indicator,
    #nonpay-tabs-indicator {
        transition: none;
    }
}

/* 정안정한의원 소개 - 좌측 레일 고정 */
@media (min-width: 1024px) {
    #reasons-rail {
        position: sticky;
        top: 150px;
        align-self: start;
        height: fit-content;
    }
}
