.cst3-wrap {
    --cst3-section-height: auto;
    --cst3-transition-duration: 450ms;
    --cst3-vertical-offset: 0px;
    --cst3-text-color: #1b1b1b;
    --cst3-muted-color: #b7b7b7;
    --cst3-accent-color: #f7891d;
    --cst3-line-color: #c9c9c9;
    position: relative;
    height: auto;
    min-height: auto;
    overflow: hidden;
}

.cst3-wrap .cst3-stage {
    position: relative;
    height: auto;
    display: flex;
    align-items: center;
}

.cst3-wrap .cst3-grid {
    min-height: fit-content;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1;
    gap: clamp(20px, 3.2vw, 56px);
    align-items: center;
    transform: translateY(var(--cst3-vertical-offset));
}

.cst3-wrap .cst3-column-title {
    margin: 0 0 clamp(26px, 2.6vw, 42px);
    color: var(--cst3-text-color);
    font-size: clamp(46px, 4.8vw, 78px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.cst3-wrap .cst3-column-title-right {
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.cst3-wrap .cst3-column-title-right::after {
    content: '';
    position: absolute;
    left: -2px;
    right: -22px;
    bottom: 2px;
    height: 8px;
    background: var(--cst3-accent-color);
    border-radius: 999px;
    transform: rotate(-1.4deg);
}

.cst3-wrap .cst3-left {
    position: relative;
    padding-left: 12px;
    max-width: 620px;
    z-index: 1;
}

.cst3-wrap .cst3-rail {
    position: absolute;
    top: clamp(158px, 14vw, 220px);
    bottom: 8px;
    left: 0;
    width: 4px;
    background: var(--cst3-line-color);
}

.cst3-wrap .cst3-nav {
    display: grid;
    gap: clamp(10px, 1.2vw, 18px);
}

.cst3-wrap .cst3-nav-item {
    border: 0;
    background: transparent;
    color: var(--cst3-muted-color);
    display: block;
    width: 100%;
    padding: 0;
    text-align: left;
    cursor: pointer;
    transition: color var(--cst3-transition-duration) ease, opacity var(--cst3-transition-duration) ease;
    z-index: 2;
    text-wrap:wrap;
}

.cst3-wrap .cst3-nav-row {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    /* font-size: clamp(34px, 3.2vw, 52px); */
    font-size: 36px;
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.01em;
    transition: 0.3s all linear;
    padding-left: 30px;
}

.cst3-wrap .cst3-nav-marker {
    width: 4px;
    height: 54px;
    margin-left: -12px;
    background: transparent;
    border-radius: 999px;
    transform: translateX(-30px);
    transition: background-color var(--cst3-transition-duration) ease, height var(--cst3-transition-duration) ease;
}

.cst3-wrap .cst3-nav-item.is-active {
    color: var(--cst3-text-color);
}

.cst3-wrap .cst3-nav-item.is-active .cst3-nav-row {
    font-size: 36px;
    height:50px;
}

.cst3-wrap .cst3-nav-item.is-active .cst3-nav-marker {
    background: var(--cst3-accent-color);
    height: 84px;
}

.cst3-wrap .cst3-nav-content {
    display: none;
    margin-top: 0;
    margin-left: clamp(18px, 2vw, 34px);
    max-width: clamp(280px, 30vw, 520px);
    padding-bottom: 40px;
}

.cst3-wrap .cst3-nav-content p {
    margin: 0;
}

.cst3-wrap .cst3-nav-item.is-active .cst3-nav-content {
    display: block;
    animation: cst3-fade-in var(--cst3-transition-duration) ease both;
}

.cst3-wrap .cst3-panel-title {
    display: block;
    margin: 0;
    font-size: clamp(24px, 2vw, 36px);
    font-weight: 400;
    line-height: 1.3;
    color: var(--cst3-text-color);
}

.cst3-wrap .cst3-panel-description {
    display: block;
    margin: 0;
    color: var(--cst3-text-color);
    font-size: clamp(20px, 1.45vw, 30px);
    font-weight: 400;
    line-height: 1.4;
}

.cst3-wrap .cst3-panel-description p {
    margin: 0;
    font-size:24px;line-height:36px;
}

.cst3-wrap .cst3-panel-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--cst3-accent-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
}

.cst3-wrap .cst3-panel-link-trigger {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.cst3-wrap .cst3-right {
    min-height: 460px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.cst3-wrap .cst3-right-panels {
    width: min(100%, 760px);
    min-height: 500px;
}

.cst3-wrap .cst3-right-panel {
    display: none;
}

.cst3-wrap .cst3-right-panel.is-active {
    display: block;
    animation: cst3-fade-in var(--cst3-transition-duration) ease both;
}

.cst3-wrap .cst3-right-title {
    margin: 0;
    color: var(--cst3-text-color);
    font-size: clamp(44px, 3.4vw, 68px);
    font-weight: 400;
    line-height: 1.16;
}

.cst3-wrap .cst3-right-description {
    margin-top: clamp(12px, 1.6vw, 20px);
    color: var(--cst3-text-color);
    font-size: clamp(30px, 2.4vw, 48px);
    font-weight: 400;
    line-height: 1.32;
}

.cst3-wrap .cst3-right-description p {
    margin: 0;
}

.cst3-wrap .cst3-right-link {
    display: inline-block;
    margin-top: clamp(12px, 1.8vw, 22px);
    color: var(--cst3-accent-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: clamp(20px, 1.3vw, 28px);
}

@media (max-width: 1024px) {
    .cst3-wrap .cst3-grid {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 20px;
        padding-top: clamp(10px, 2vw, 18px);
        padding-bottom: clamp(14px, 2.4vw, 22px);
    }

    .cst3-wrap .cst3-stage {
        height: auto;
    }

    .cst3-wrap .cst3-right {
        order: -1;
        min-height: min(50vh, 430px);
        justify-content: flex-start;
    }

    .cst3-wrap .cst3-right-panels {
        width: 100%;
        min-height: auto;
    }

    .cst3-wrap .cst3-nav-item {
        font-size: clamp(20px, 4.8vw, 34px);
    }

    .cst3-wrap .cst3-nav-content {
        margin-left: clamp(14px, 3.2vw, 22px);
        max-width: 100%;
    }


    .cst3-wrap .cst3-left {
        padding-right: 20px;
    }

    .cst3-wrap .cst3-rail {
        top: clamp(90px, 22vw, 150px);
    }

    .cst3-wrap .cst3-nav {
        gap: clamp(18px, 4vw, 30px);
    }

    .cst3-wrap .cst3-nav-item {
        font-size: clamp(20px, 4.8vw, 34px);
    }

    .cst3-wrap .cst3-nav-content {
        margin-left: clamp(14px, 3.2vw, 22px);
        max-width: 100%;
    }


    .cst3-wrap .cst3-nav-item.is-active .cst3-nav-row {
        font-size: clamp(40px, 10vw, 62px);
        height: auto;
    }

    .cst3-wrap .cst3-nav-item.is-active .cst3-nav-marker {
        height: clamp(40px, 10vw, 62px);
    }

    .cst3-wrap .cst3-column-title {
        font-size: clamp(30px, 10vw, 52px);
    }

    .cst3-wrap .cst3-column-title-right::after {
        right: -12px;
        height: 6px;
    }

    .cst3-wrap .cst3-right-title {
        font-size: clamp(28px, 8vw, 46px);
    }

    .cst3-wrap .cst3-right-description {
        font-size: clamp(18px, 5.4vw, 30px);
    }
}

@keyframes cst3-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cst3-wrap,
    .cst3-wrap * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
