.nsr-hero--custom-page .nsr-hero__brand-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nsr-hero__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--nsr-border);
    font-size: var(--nsr-font-size-base);
    line-height: var(--nsr-line-height-sm);
}

.nsr-hero__breadcrumb-home {
    display: inline-flex;
    flex-shrink: 0;
    min-height: 24px;
    align-items: center;
    gap: 8px;
    justify-content: center;
    color: var(--nsr-border);
    text-decoration: none;
    white-space: nowrap;
}

.nsr-hero__breadcrumbs a {
    color: var(--nsr-border);
    text-decoration: none;
    transition: color .2s;
}

.nsr-hero__breadcrumbs a:hover,
.nsr-hero__breadcrumbs a:focus-visible {
    color: var(--nsr-secondary-300);
}

.nsr-hero__breadcrumb-separator {
    color: var(--nsr-border);
}

.nsr-hero__breadcrumb-current {
    overflow: hidden;
    color: var(--nsr-secondary-300);
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .nsr-hero__breadcrumb-home span {
        display: none;
    }
}

.nsr-custom-page {
    padding-top: var(--nsr-section-padding-y);
    padding-bottom: var(--nsr-section-padding-y);
    color: var(--nsr-text);
}

.nsr-custom-page__layout:not(.has-toc) .nsr-custom-page__content {
    width: 100%;
    flex: 0 0 auto;
}

.nsr-custom-page__sidebar {
    min-width: 0;
    padding-right: 24px;
    border-right: 1px solid var(--nsr-border);
}

.nsr-custom-page__sidebar[hidden] {
    display: none;
}

.nsr-custom-page__toc-toggle {
    display: none;
}

.nsr-custom-page__toc-close {
    display: none;
}

.nsr-custom-page__toc-marker {
    display: none;
}

.nsr-custom-page__toc {
    position: sticky;
    top: 112px;
    width: calc(100% + 24px);
    max-height: calc(100vh - 128px);
    margin-right: -24px;
    padding-right: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.nsr-custom-page__toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nsr-custom-page__toc-item {
    margin: 0;
    border-bottom: 1px solid var(--nsr-border);
}

.nsr-custom-page__toc-item:last-child {
    border-bottom: 0;
}

.nsr-custom-page__toc-item--h3 .nsr-custom-page__toc-link {
    padding-left: 16px;
}

.nsr-custom-page__toc-link {
    display: block;
    padding: 10px 0;
    color: var(--nsr-border);
    font-size: var(--nsr-font-size-base);
    font-weight: var(--nsr-font-weight-medium);
    line-height: var(--nsr-line-height-sm);
    text-decoration: none;
    transition: color .2s;
}

.nsr-custom-page__toc-link:hover,
.nsr-custom-page__toc-link:focus-visible,
.nsr-custom-page__toc-link.is-active {
    color: var(--nsr-primary-400);
}

.nsr-custom-page__content {
    min-width: 0;
    padding-top: 0;
    border-top: 0;
    color: var(--nsr-secondary-500);
    font-size: var(--nsr-font-size-base);
    line-height: var(--nsr-line-height-sm);
    overflow-wrap: anywhere;
}

.nsr-custom-page__content p,
.nsr-custom-page__content ul,
.nsr-custom-page__content ol {
    margin-top: 16px;
    margin-bottom: 16px;
}

.nsr-custom-page__content li {
    margin-bottom: 12px;
}

.nsr-custom-page__content li:last-child {
    margin-bottom: 0;
}

.nsr-custom-page__content a {
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-underline-offset: 3px;
    word-break: break-word;
}

.nsr-custom-page__content h2,
.nsr-custom-page__content h3 {
    scroll-margin-top: 112px;
    color: var(--nsr-secondary-300);
}

.nsr-custom-page__content h2 {
    margin: 56px 0 32px;
    padding-top: 40px;
    border-top: 1px solid var(--nsr-border);
    font-size: var(--nsr-font-size-2xl);
    font-weight: var(--nsr-font-weight-bold);
    line-height: var(--nsr-line-height-lg);
}

.nsr-custom-page__content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.nsr-custom-page__content h3 {
    margin: 32px 0 16px;
    font-size: var(--nsr-font-size-xl);
    font-weight: var(--nsr-font-weight-semibold);
    line-height: var(--nsr-line-height-md);
}

.nsr-custom-page__content img,
.nsr-custom-page__content table {
    max-width: 100%;
}

@media (max-width: 1599.98px) {
    .nsr-custom-page__toc {
        top: 96px;
        max-height: calc(100vh - 112px);
    }

    .nsr-custom-page__content h2,
    .nsr-custom-page__content h3 {
        scroll-margin-top: 96px;
    }
}

@media (max-width: 991.98px) {
    .nsr-custom-page__content h2 {
        margin-bottom: 16px;
        font-size: var(--nsr-font-size-xl);
        line-height: var(--nsr-line-height-md);
    }
}

@media (max-width: 767.98px) {
    .nsr-hero--custom-page .nsr-hero__container {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .nsr-hero--custom-page .nsr-hero__brand-column {
        gap: 16px;
    }

    .nsr-custom-page__sidebar {
        position: sticky;
        top: 80px;
        display: flex;
        min-width: 0;
        height: max-content;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 0;
        padding-right: 8px;
        border-right: 1px solid var(--nsr-border);
    }

    .nsr-custom-page__sidebar.is-open {
        z-index: 2000;
    }

    .nsr-custom-page__sidebar::before {
        position: fixed;
        inset: 0;
        z-index: 2000;
        display: block;
        pointer-events: none;
        background: rgb(0 0 0 / 32%);
        content: "";
        opacity: 0;
        transition: opacity .38s cubic-bezier(.22, 1, .36, 1);
    }

    .nsr-custom-page__sidebar.is-open::before {
        pointer-events: auto;
        opacity: 1;
    }

    .nsr-custom-page__toc-toggle {
        position: relative;
        z-index: 2;
        display: inline-flex;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid var(--nsr-primary-400);
        background: #fcfcfc;
        color: var(--nsr-primary-400);
    }

    .nsr-custom-page__toc-marker {
        display: block;
        width: 32px;
        height: 1px;
        margin-right: auto;
        margin-left: auto;
        background: var(--nsr-border);
        transition: width .2s ease, background-color .2s ease;
    }

    .nsr-custom-page__toc-marker--h3 {
        width: 24px;
    }

    .nsr-custom-page__toc-marker.is-active {
        width: 40px;
        background: var(--nsr-primary-400);
    }

    .nsr-custom-page__toc {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 2001;
        display: block;
        width: min(500px, 86vw);
        max-height: none;
        height: 100dvh;
        margin: 0;
        padding: 96px var(--nsr-page-gutter) 32px;
        overflow-y: auto;
        border: 0;
        background: #fcfcfc;
        box-shadow: 12px 0 32px rgb(0 0 0 / 8%);
        transform: translateX(-100%);
        transition: transform .38s cubic-bezier(.22, 1, .36, 1);
    }

    .nsr-custom-page__sidebar.is-open .nsr-custom-page__toc {
        transform: translateX(0);
    }

    .nsr-custom-page__toc-close {
        position: absolute;
        top: 24px;
        right: var(--nsr-page-gutter);
        display: block;
        width: 40px;
        height: 40px;
        padding: 8px;
        border: 0;
        border-radius: 0;
        background-color: transparent;
        opacity: .7;
    }

    .nsr-custom-page__toc-close:hover,
    .nsr-custom-page__toc-close:focus-visible {
        opacity: 1;
    }

    .nsr-custom-page__content h2 {
        margin-top: 40px;
        padding-top: 32px;
    }

    .nsr-custom-page__content {
        padding-left: 16px;
    }

    .nsr-custom-page__content h2,
    .nsr-custom-page__content h3 {
        scroll-margin-top: 80px;
    }
}

.nsr-custom-page__toc-item--h2 {
    .nsr-custom-page__toc-link {
        font-size: 24px;
        line-height: 30px;
    }
}

@media (max-width: 1599.98px) {
    .nsr-custom-page__toc-item--h2 {
        .nsr-custom-page__toc-link {
            font-size: 18px;
            line-height: 20px;
        }
    }
}

.nsr-custom-page--contact .nsr-custom-page__content {
    max-width: none;
    color: var(--nsr-secondary-500);
}

.nsr-custom-page--contact .nsr-custom-page__content h3 {
    margin: 0 0 32px;
    color: var(--nsr-secondary-300);
    font-size: var(--nsr-font-size-3xl);
    font-weight: var(--nsr-font-weight-semibold);
    line-height: var(--nsr-line-height-lg);
    text-transform: uppercase;
}

.nsr-custom-page--contact .nsr-custom-page__content h3 strong {
    font-weight: inherit;
}

.nsr-custom-page--contact .nsr-contact-page__section:first-child > h3 {
    display: none;
}

.nsr-custom-page--contact .nsr-custom-page__content p {
    margin: 0 0 16px;
    color: var(--nsr-secondary-500);
    font-size: var(--nsr-font-size-xl);
    font-weight: 500;
    line-height: var(--nsr-line-height-md);
}

.nsr-custom-page--contact .nsr-custom-page__content p strong,
.nsr-custom-page--contact .nsr-custom-page__content .nsr-contact-page__strong {
    color: var(--nsr-secondary-300);
    font-size: var(--nsr-font-size-2xl);
    font-weight: 500;
    line-height: var(--nsr-line-height-md);
    text-transform: none;
}

.nsr-custom-page--contact .nsr-custom-page__content .nsr-contact-page__lead {
    color: var(--nsr-secondary-300);
    font-size: var(--nsr-font-size-3xl);
    font-weight: var(--nsr-font-weight-semibold);
    line-height: var(--nsr-line-height-lg);
    text-transform: uppercase;
}

.nsr-custom-page--contact .nsr-custom-page__content .nsr-contact-page__lead,
.nsr-custom-page--contact .nsr-custom-page__content .nsr-contact-page__strong {
    margin-bottom: 32px;
}

.nsr-custom-page--contact .nsr-custom-page__content a {
    text-decoration: none;
    text-transform: none;
}

.nsr-custom-page--contact .nsr-custom-page__content p strong a,
.nsr-custom-page--contact .nsr-custom-page__content .nsr-contact-page__strong a {
    color: inherit;
    transition: color .2s;
}

.nsr-custom-page--contact .nsr-custom-page__content p strong a:hover,
.nsr-custom-page--contact .nsr-custom-page__content p strong a:focus-visible,
.nsr-custom-page--contact .nsr-custom-page__content .nsr-contact-page__strong a:hover,
.nsr-custom-page--contact .nsr-custom-page__content .nsr-contact-page__strong a:focus-visible {
    color: var(--nsr-link-hover-color);
}

@media (min-width: 768px) {
    .nsr-custom-page--contact .nsr-custom-page__content p strong,
    .nsr-custom-page--contact .nsr-custom-page__content .nsr-contact-page__strong {
        line-height: 35px;
    }
}

@media (max-width: 767.98px) {
    .nsr-custom-page--contact .nsr-custom-page__content h3 {
        margin-top: 40px;
        padding-top: 0;
        border-top: 0;
    }

    .nsr-custom-page--contact .nsr-custom-page__content h3:first-of-type {
        margin-top: 0;
    }
}
