/* Behaviour Management V2 — Product vertical carousel
   Figma: 19804-9419 */

.bm-pvc {
    background: #ffffff;
    padding: 0 20px 64px;
    box-sizing: border-box;
}
.bm-pvc__inner {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 96px;
}

/* Sticky rail */
.bm-pvc__nav {
    position: sticky;
    top: 160px;
    flex: 0 0 288px;
    width: 288px;
}
.bm-pvc__nav-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
/* Grey track the marker slides along. The top is pinned 5px above the first
   link so it never trails up the page; the height is set by JS so the line
   runs on down to the end of the content. Fallback covers the no-JS case. */
.bm-pvc__nav-list::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 1px;
    width: 4px;
    height: var(--bm-pvc-track-height, calc(100% + 10px));
    background: #F5F5F5;
}
/* Single marker that slides between items; JS sets the translateY */
.bm-pvc__nav-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 34px;
    border-radius: 999px;
    background: #FFC640;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.bm-pvc__nav-list li {
    margin: 0;
}
a.bm-pvc__nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'avenir_next_worldmedium', 'Verdana';
    font-weight: normal;
    font-size: 16px;
    line-height: 28px;
    color: #707070;
    transition: color 0.4s ease;
}
a.bm-pvc__nav-link:hover {
    color: #333333;
}
/* Reserves the marker column. Height-less on purpose: the row height comes from
   the label, so the taller indicator overhangs it exactly as in the design. */
.bm-pvc__nav-marker {
    flex: 0 0 6px;
    width: 6px;
}
.bm-pvc__nav-label {
    padding: 0 16px;
}
a.bm-pvc__nav-link.is-active {
    font-family: 'avenir_next_worlddemi', 'Verdana';
    color: #333333;
}

@media (prefers-reduced-motion: reduce) {
    .bm-pvc__nav-indicator {
        transition: none;
    }
}

/* Content column */
.bm-pvc__content {
    flex: 1 1 736px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 96px;
}
.bm-pvc__item {
    /* Offset so anchor jumps clear the sticky site header */
    scroll-margin-top: 160px;
}
h2.bm-pvc__title {
    margin: 0;
    font-family: 'avenir_next_worldbold', 'Verdana';
    font-weight: normal;
    font-size: 24px;
    line-height: 32px;
    color: #333333;
}
p.bm-pvc__text {
    margin: 8px 0 0;
    font-family: 'avenir_next_worldmedium', 'Verdana';
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    color: #707070;
}
img.bm-pvc__img {
    display: block;
    width: 100%;
    max-width: 736px;
    height: auto;
    margin-top: 32px;
    border-radius: 16px;
}

@media (min-width: 1920px) {
    .bm-pvc__inner {
        max-width: 1600px;
    }
    img.bm-pvc__img {
        max-width: 100%;
    }
}
@media (max-width: 1120px) and (min-width: 992px) {
    .bm-pvc__inner {
        gap: 64px;
    }
    .bm-pvc__nav {
        flex-basis: 240px;
        width: 240px;
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    .bm-pvc__inner {
        gap: 40px;
    }
    .bm-pvc__nav {
        flex-basis: 200px;
        width: 200px;
    }
    a.bm-pvc__nav-link {
        font-size: 14px;
        line-height: 24px;
    }
    .bm-pvc__nav-indicator {
        height: 28px;
    }
    .bm-pvc__nav-label {
        padding: 0 12px;
    }
    .bm-pvc__content {
        gap: 64px;
    }
}
@media (max-width: 767px) {
    .bm-pvc {
        padding: 0 16px 64px;
    }
    /* No room for the rail — the blocks simply stack */
    .bm-pvc__nav {
        display: none;
    }
    .bm-pvc__content {
        gap: 64px;
    }
    img.bm-pvc__img {
        margin-top: 24px;
        border-radius: 12px;
    }
}
