/**
 * Main how to guide page structure.
 */
.sd-how-to-guides-page
.sd-how-to-guides-wrapper {
    width: 100%;
}

.sd-how-to-guides-page
.sd-how-to-guides-container {
    width: 100%;
    padding-bottom: 40px;
}


/**
 * Introduction panel.
 */
.sd-how-to-guides-page
.sd-how-to-guides-intro {
    margin-bottom: 24px;
    padding: 26px 28px;

    border: 1px solid var(
        --bb-rl-border-secondary-color,
        #e2e2e2
    );

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(123, 44, 255, 0.07),
            rgba(205, 13, 135, 0.04)
        ),
        var(
            --bb-rl-background-color,
            #ffffff
        );
}

.sd-how-to-guides-page
.sd-how-to-guides-intro h1 {
    margin: 0 0 7px;

    color: var(
        --bb-rl-text-color,
        #1e2132
    );

    font-size: 27px;
    font-weight: 800;
    line-height: 1.25;
}

.sd-how-to-guides-page
.sd-how-to-guides-intro p {
    max-width: 760px;
    margin: 0;

    color: var(
        --bb-rl-text-secondary-color,
        #6d727d
    );

    font-size: 15px;
    line-height: 1.6;
}


/**
 * Desktop two-column layout.
 */
.sd-how-to-guides-page
.sd-how-to-guides-layout {
    display: grid;

    grid-template-columns:
        320px
        minmax(0, 1fr);

    align-items: start;
    gap: 22px;
}


/**
 * Desktop guide sidebar.
 */
.sd-how-to-guides-page
.sd-how-to-guides-sidebar {
    position: sticky;
    top: 24px;

    display: block;
    overflow: hidden;

    border: 1px solid var(
        --bb-rl-border-secondary-color,
        #e2e2e2
    );

    border-radius: 15px;

    background: var(
        --bb-rl-background-color,
        #ffffff
    );
}

.sd-how-to-guides-page
.sd-how-to-guides-sidebar-heading {
    padding: 19px 20px 15px;

    border-bottom: 1px solid var(
        --bb-rl-border-secondary-color,
        #e7e7e7
    );
}

.sd-how-to-guides-page
.sd-how-to-guides-sidebar-heading strong {
    display: block;

    color: var(
        --bb-rl-text-color,
        #1e2132
    );

    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

.sd-how-to-guides-page
.sd-how-to-guides-sidebar-heading span {
    display: block;
    margin-top: 4px;

    color: var(
        --bb-rl-text-secondary-color,
        #777777
    );

    font-size: 13px;
    line-height: 1.4;
}

.sd-how-to-guides-page
.sd-how-to-guides-navigation {
    max-height: calc(100vh - 210px);
    overflow-y: auto;
    padding: 15px 13px 18px;
}

.sd-how-to-guides-page
.sd-how-to-guides-category {
    margin-bottom: 20px;
}

.sd-how-to-guides-page
.sd-how-to-guides-category:last-child {
    margin-bottom: 0;
}

.sd-how-to-guides-page
.sd-how-to-guides-category-title {
    display: block;
    margin: 0 7px 9px;
    padding-bottom: 8px;

    border-bottom: 1px solid var(
        --bb-rl-border-secondary-color,
        #e2e2e2
    );

    color: #7b2cff;

    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.sd-how-to-guides-page
.sd-how-to-guide-button {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 46px;

    margin: 2px 0;
    padding: 10px 12px 10px 16px;

    border: 0;
    border-radius: 9px;

    background: transparent;

    color: var(
        --bb-rl-text-color,
        #303440
    );

    font-family:
        Montserrat,
        Arial,
        sans-serif;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;

    cursor: pointer;

    transition:
        color 0.18s ease,
        background-color 0.18s ease;
}

.sd-how-to-guides-page
.sd-how-to-guide-button::before {
    content: "";

    position: absolute;
    top: 9px;
    bottom: 9px;
    left: 0;

    width: 3px;

    border-radius: 3px;

    background: transparent;
}

.sd-how-to-guides-page
.sd-how-to-guide-button:hover {
    background: rgba(123, 44, 255, 0.065);
    color: #7b2cff;
}

.sd-how-to-guides-page
.sd-how-to-guide-button.is-active {
    background: rgba(123, 44, 255, 0.1);
    color: #7b2cff;
}

.sd-how-to-guides-page
.sd-how-to-guide-button.is-active::before {
    background: linear-gradient(
        180deg,
        #7b2cff,
        #cd0d87
    );
}


/**
 * Mobile guide selector.
 *
 * Hidden on desktop.
 */
.sd-how-to-guides-page
.sd-how-to-guides-mobile-selector {
    display: none;
    margin-bottom: 24px;
    padding: 17px;

    border: 1px solid var(
        --bb-rl-border-secondary-color,
        #e2e2e2
    );

    border-radius: 13px;

    background: var(
        --bb-rl-background-color,
        #ffffff
    );
}

.sd-how-to-guides-page
.sd-how-to-guides-mobile-selector label {
    display: block;
    margin-bottom: 8px;

    color: var(
        --bb-rl-text-color,
        #1e2132
    );

    font-family:
        Montserrat,
        Arial,
        sans-serif;

    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.sd-how-to-guides-page
.sd-how-to-guides-select-wrap {
    position: relative;
    width: 100%;
}

.sd-how-to-guides-page
.sd-how-to-guides-select-wrap::after {
    content: "";

    position: absolute;
    top: 50%;
    right: 18px;

    width: 9px;
    height: 9px;

    border-right: 2px solid #7b2cff;
    border-bottom: 2px solid #7b2cff;

    transform:
        translateY(-70%)
        rotate(45deg);

    pointer-events: none;
}

.sd-how-to-guides-page
.sd-how-to-guides-mobile-selector select {
    display: block;

    width: 100%;
    min-height: 50px;

    margin: 0;
    padding: 0 48px 0 15px;

    border: 1px solid var(
        --bb-rl-border-secondary-color,
        #d9dce1
    );

    border-radius: 10px;

    background: var(
        --bb-rl-background-color,
        #ffffff
    );

    color: var(
        --bb-rl-text-color,
        #1e2132
    );

    font-family:
        Montserrat,
        Arial,
        sans-serif;

    font-size: 15px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.3;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    box-shadow:
        0 3px 10px
        rgba(31, 24, 48, 0.06);

    cursor: pointer;
}

.sd-how-to-guides-page
.sd-how-to-guides-mobile-selector select:focus {
    border-color: #7b2cff;
    outline: 0;

    box-shadow:
        0 0 0 3px
        rgba(123, 44, 255, 0.12);
}

.sd-how-to-guides-page
.sd-how-to-guides-mobile-selector optgroup {
    font-family:
        Montserrat,
        Arial,
        sans-serif;

    font-style: normal;
    font-weight: 800;
}

.sd-how-to-guides-page
.sd-how-to-guides-mobile-selector option {
    font-family:
        Montserrat,
        Arial,
        sans-serif;

    font-style: normal;
    font-size: 14px;
    font-weight: 600;
}


/**
 * Selected guide content.
 */
.sd-how-to-guides-page
.sd-how-to-guides-content {
    min-width: 0;
}

.sd-how-to-guides-page
.sd-how-to-guide-panel {
    padding: 30px;

    border: 1px solid var(
        --bb-rl-border-secondary-color,
        #e2e2e2
    );

    border-radius: 16px;

    background: var(
        --bb-rl-background-color,
        #ffffff
    );
}

.sd-how-to-guides-page
.sd-how-to-guide-panel[hidden] {
    display: none !important;
}

.sd-how-to-guides-page
.sd-how-to-guide-eyebrow {
    display: block;
    margin-bottom: 7px;

    color: #7b2cff;

    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.sd-how-to-guides-page
.sd-how-to-guide-panel h2 {
    margin: 0;

    color: var(
        --bb-rl-text-color,
        #1e2132
    );

    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
}

.sd-how-to-guides-page
.sd-how-to-guide-description {
    max-width: 790px;
    margin: 11px 0 0;

    color: var(
        --bb-rl-text-secondary-color,
        #686e78
    );

    font-size: 15px;
    line-height: 1.65;
}


/**
 * Video area.
 *
 * Only appears when a video exists.
 */
.sd-how-to-guides-page
.sd-how-to-guide-video {
    position: relative;

    width: 100%;
    margin-top: 25px;

    overflow: hidden;

    border-radius: 13px;

    background: #09070d;

    aspect-ratio: 16 / 9;
}

.sd-how-to-guides-page
.sd-how-to-guide-video iframe,
.sd-how-to-guides-page
.sd-how-to-guide-video video {
    display: block;

    width: 100% !important;
    height: 100% !important;

    border: 0;
}


/**
 * Step list.
 */
.sd-how-to-guides-page
.sd-how-to-guide-section-heading {
    margin: 29px 0 15px;

    color: var(
        --bb-rl-text-color,
        #1e2132
    );

    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.sd-how-to-guides-page
.sd-how-to-guide-steps {
    display: flex;
    flex-direction: column;
    gap: 11px;

    margin: 0;
    padding: 0;

    list-style: none;

    counter-reset: guide-step;
}

.sd-how-to-guides-page
.sd-how-to-guide-step {
    position: relative;

    min-height: 48px;

    padding:
        13px
        16px
        13px
        57px;

    border: 1px solid var(
        --bb-rl-border-secondary-color,
        #e4e5e8
    );

    border-radius: 11px;

    background: var(
        --bb-rl-background-secondary-color,
        #fafafa
    );

    color: var(
        --bb-rl-text-color,
        #343844
    );

    font-size: 14px;
    line-height: 1.55;

    counter-increment: guide-step;
}

.sd-how-to-guides-page
.sd-how-to-guide-step::before {
    content: counter(guide-step);

    position: absolute;
    top: 12px;
    left: 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 29px;
    height: 29px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #7b2cff,
        #cd0d87
    );

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}


/**
 * Good to know panel.
 */
.sd-how-to-guides-page
.sd-how-to-guide-notes {
    margin-top: 25px;
    padding: 18px 19px;

    border: 1px solid
        rgba(123, 44, 255, 0.18);

    border-radius: 12px;

    background:
        rgba(123, 44, 255, 0.055);
}

.sd-how-to-guides-page
.sd-how-to-guide-notes strong {
    display: block;
    margin-bottom: 8px;

    color: #7b2cff;

    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

.sd-how-to-guides-page
.sd-how-to-guide-notes ul {
    margin: 0;
    padding-left: 19px;
}

.sd-how-to-guides-page
.sd-how-to-guide-notes li {
    margin: 5px 0;

    color: var(
        --bb-rl-text-secondary-color,
        #606671
    );

    font-size: 13px;
    line-height: 1.55;
}


/**
 * Dark mode.
 */
body.bb-rl-dark-mode
.sd-how-to-guides-page
.sd-how-to-guides-intro,

body.bb-rl-dark-mode
.sd-how-to-guides-page
.sd-how-to-guides-sidebar,

body.bb-rl-dark-mode
.sd-how-to-guides-page
.sd-how-to-guides-mobile-selector,

body.bb-rl-dark-mode
.sd-how-to-guides-page
.sd-how-to-guide-panel {
    border-color: #3c3c3c;
    background: #242424;
}

body.bb-rl-dark-mode
.sd-how-to-guides-page
.sd-how-to-guide-step {
    border-color: #414141;
    background: #2b2b2b;
}

body.bb-rl-dark-mode
.sd-how-to-guides-page
.sd-how-to-guides-mobile-selector select {
    border-color: #444444;
    background: #2b2b2b;
}

body.bb-rl-dark-mode
.sd-how-to-guides-page
.sd-how-to-guide-button.is-active {
    background:
        rgba(123, 44, 255, 0.17);
}

body.bb-rl-dark-mode
.sd-how-to-guides-page
.sd-how-to-guide-notes {
    border-color:
        rgba(123, 44, 255, 0.35);

    background:
        rgba(123, 44, 255, 0.12);
}


/**
 * Medium desktop and tablet.
 */
@media screen and (max-width: 1000px) {

    .sd-how-to-guides-page
    .sd-how-to-guides-layout {
        grid-template-columns:
            275px
            minmax(0, 1fr);

        gap: 16px;
    }

    .sd-how-to-guides-page
    .sd-how-to-guide-panel {
        padding: 25px;
    }

    .sd-how-to-guides-page
    .sd-how-to-guide-button {
        font-size: 14px;
    }
}


/**
 * Mobile navigation.
 */
@media screen and (max-width: 800px) {

    .sd-how-to-guides-page
    .sd-how-to-guides-layout {
        display: block;
    }

    .sd-how-to-guides-page
    .sd-how-to-guides-sidebar {
        display: none;
    }

    .sd-how-to-guides-page
    .sd-how-to-guides-mobile-selector {
        display: block;
    }

    .sd-how-to-guides-page
    .sd-how-to-guide-panel h2 {
        font-size: 24px;
    }
}


/**
 * Small mobile.
 */
@media screen and (max-width: 520px) {

    .sd-how-to-guides-page
    .sd-how-to-guides-intro {
        padding: 21px;
    }

    .sd-how-to-guides-page
    .sd-how-to-guides-intro h1 {
        font-size: 23px;
    }

    .sd-how-to-guides-page
    .sd-how-to-guides-intro p {
        font-size: 14px;
    }

    .sd-how-to-guides-page
    .sd-how-to-guides-mobile-selector {
        padding: 16px;
    }

    .sd-how-to-guides-page
    .sd-how-to-guide-panel {
        padding: 20px;
    }

    .sd-how-to-guides-page
    .sd-how-to-guide-panel h2 {
        font-size: 22px;
    }

    .sd-how-to-guides-page
    .sd-how-to-guide-description {
        font-size: 14px;
    }

    .sd-how-to-guides-page
    .sd-how-to-guide-step {
        padding:
            12px
            13px
            12px
            51px;

        font-size: 13px;
    }

    .sd-how-to-guides-page
    .sd-how-to-guide-step::before {
        left: 12px;
    }
}

