.bp-promotion {
box-sizing: border-box;
clear: both;
color: #071d2b;
}
.bp-promotion--default {
margin: 2rem 0;
padding: var(--article-card-padding, 24px);
background: var(--article-card-paper, #fff);
border: 1px solid var(--article-card-border, #dce6f0);
border-top: 3px solid var(--article-card-accent, #087fff);
border-radius: var(--article-card-radius, 14px);
box-shadow: var(--article-card-shadow, 0 6px 22px rgba(22, 50, 79, .045));
color: var(--article-card-ink, #16324f);
font-family: inherit;
font-size: 15px;
line-height: 1.65;
overflow-wrap: anywhere;
} .bp-promotion.bp-promotion--default .bp-promotion__title {
margin: 0 0 12px;
color: var(--article-card-ink, #16324f);
font-family: inherit;
font-size: 20px;
font-weight: 700;
line-height: 1.4;
}
.bp-promotion.bp-promotion--default p {
margin: 0 0 20px;
color: var(--article-card-muted, #50657b);
font: inherit;
}
.bp-promotion.bp-promotion--default p:last-child { margin-bottom: 0; }
.bp-promotion.bp-promotion--default :is(p > a:not(.bp-promotion__link), .wp-block-button__link) {
display: inline-flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: 100%;
min-height: 46px;
margin: 0;
padding: 12px 18px;
border: 1px solid transparent;
border-radius: 8px;
background: var(--article-card-button, #0672df);
color: #fff;
font-family: inherit;
font-size: 15px;
font-weight: 600;
line-height: 1.4;
text-align: center;
text-decoration: none;
white-space: normal;
box-shadow: none;
transition: background-color .18s ease;
}
.bp-promotion.bp-promotion--default .wp-block-button { width: 100%; margin: 0; }
.bp-promotion.bp-promotion--default .wp-block-buttons { margin: 0; }
.bp-promotion.bp-promotion--default :is(p > a:not(.bp-promotion__link), .wp-block-button__link):hover {
background: var(--article-card-button-hover, #055fb9);
color: #fff;
}
.bp-promotion.bp-promotion--default :is(p > a:not(.bp-promotion__link), .wp-block-button__link):focus-visible {
background: var(--article-card-button-hover, #055fb9);
color: #fff;
outline: 3px solid #87c4ff;
outline-offset: 3px;
}
.bp-promotion--unstyled {
margin: 0;
padding: 0;
background: transparent;
border: 0;
border-radius: 0;
}
.bp-promotion__label {
display: block;
margin-bottom: .5rem;
font-size: .75rem;
font-weight: 600;
letter-spacing: .04em;
text-transform: uppercase;
opacity: .75;
}
.bp-promotion--unstyled .bp-promotion__label {
margin-bottom: 0;
font-size: inherit;
font-weight: inherit;
letter-spacing: normal;
text-transform: none;
opacity: 1;
}
.bp-promotion__title {
display: block;
margin: 0 0 .75rem;
font-size: clamp(1.25rem, 2vw, 1.5rem);
font-weight: 700;
line-height: 1.3;
color: #071d2b;
}
.bp-promotion > p {
margin: 0 0 1rem;
color: #071d2b;
font-size: 1rem;
line-height: 1.55;
}
.bp-promotion img {
display: block;
max-width: 100%;
height: auto;
}
.bp-promotion p:last-child {
margin-bottom: 0;
}
.bp-promotion p > a:not(.bp-promotion__link) {
display: inline-block;
margin-top: .25rem;
padding: .8rem 1.25rem;
background: #0878ed;
border-radius: 6px;
color: #fff;
font-weight: 600;
line-height: 1.2;
text-decoration: none;
transition: background-color .2s ease;
}
.bp-promotion p > a:not(.bp-promotion__link):hover,
.bp-promotion p > a:not(.bp-promotion__link):focus {
background: #0567d1;
color: #fff;
} body.bp-has-sticky-sidebar main {
overflow: visible;
} body.bp-has-sticky-sidebar [data-sidebar-sticky] {
position: static !important;
top: auto !important;
}
.bp-promotion--sidebar_after_content_sticky {
position: sticky;
top: 100px;
align-self: flex-start;
z-index: 2;
}
.bp-sidebar-promotion-widget {
position: sticky;
top: 100px;
align-self: flex-start;
}
.bp-sidebar-promotion-widget .bp-promotion--sidebar_after_content_sticky {
position: static;
}
@media ( max-width: 767px ) {
.bp-promotion--sidebar_after_content_sticky {
display: none;
}
}
:is([ta-theme="dark"], body[data-theme="dark"], body.dark-mode, [data-bs-theme="dark"]) .bp-promotion--default {
--article-card-paper: #172335;
--article-card-border: #40526a;
--article-card-ink: #edf4fc;
--article-card-muted: #bacbde;
--article-card-shadow: none;
}
.bp-promotion[data-bp-context="search"] {
grid-column: 1 / -1;
} @media (min-width: 1280px) {
body.bp-has-learning-path-sidebar .article-paths-sidebar--right {
height: calc(100vh - var(--ap-right-sidebar-top, 104px) - 18px);
height: calc(100dvh - var(--ap-right-sidebar-top, 104px) - 18px);
}
body.bp-has-learning-path-sidebar .article-paths-sidebar--right > [data-article-paths-headings-for] {
flex: 1 1 0;
min-height: 0;
}
body.bp-has-learning-path-sidebar .article-paths-sidebar--right .mtn-floating-headings-flyout {
position: relative;
top: auto;
right: auto;
width: 100%;
height: 100%;
margin: 0;
transform: none;
}
body.bp-has-learning-path-sidebar .article-paths-sidebar--right .mtn-floating-headings-flyout.is-enabled.is-visible {
transform: none;
}
body.bp-has-learning-path-sidebar .article-paths-sidebar--right .mtn-floating-headings__card {
max-height: 100%;
overflow: hidden;
}
body.bp-has-learning-path-sidebar .article-paths-sidebar--right .mtn-floating-headings__scroll {
max-height: none;
flex: 1 1 auto;
}
body.bp-has-learning-path-sidebar .article-paths-sidebar--right > .bp-promotion {
position: static;
top: auto;
flex: 0 1 auto;
align-self: stretch;
min-height: 0;
max-height: 45%;
margin: 0 44px 0 6px;
overflow: auto;
}
}
@media (max-width: 1279px) {
body.bp-has-learning-path-sidebar .article-paths-sidebar--right > .bp-promotion {
display: none;
}
}.mtn-floating-headings,
.mtn-floating-headings-flyout,
.mtn-floating-headings--learning-right {
--mtn-toc-ink: #172033;
--mtn-toc-muted: #667085;
--mtn-toc-accent: var(--mtn-floating-headings-accent, #0081ff);
--mtn-toc-accent-soft: #e8f3ff;
--mtn-toc-accent-soft: color-mix(in srgb, var(--mtn-toc-accent) 11%, white);
margin: 26px 0 34px;
}
.mtn-floating-headings--learning-right {
position: sticky;
top: 104px;
margin: 0;
}
.mtn-floating-headings__card {
background: #fff;
border: 1px solid #e7eaf0;
border-radius: 14px;
box-shadow: 0 10px 35px rgba(16, 24, 40, 0.07);
overflow: hidden;
}
.mtn-floating-headings__header {
display: flex;
align-items: baseline;
gap: 10px;
padding: 18px 20px 13px;
border-bottom: 1px solid #edf0f4;
}
.mtn-floating-headings__disclosure > .mtn-floating-headings__header {
display: flex;
align-items: center;
justify-content: space-between;
list-style: none;
cursor: pointer;
}
.mtn-floating-headings__disclosure > .mtn-floating-headings__header::-webkit-details-marker { display: none; }
.mtn-floating-headings__disclosure:not([open]) > .mtn-floating-headings__header { border-bottom: 0; }
.mtn-floating-headings__disclosure > .mtn-floating-headings__header:focus-visible {
outline: 2px solid var(--mtn-toc-accent);
outline-offset: -3px;
}
.mtn-floating-headings__caret {
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 22px;
width: 22px;
height: 22px;
border-radius: 50%;
background: var(--mtn-toc-accent-soft);
color: var(--mtn-toc-accent);
}
.mtn-floating-headings__caret::before {
content: "";
width: 6px;
height: 6px;
border-bottom: 2px solid currentColor;
border-right: 2px solid currentColor;
transform: rotate(45deg) translate(-1px, -1px);
transition: transform .24s ease;
}
.mtn-floating-headings__disclosure[open] .mtn-floating-headings__caret::before {
transform: rotate(225deg) translate(-1px, -1px);
}
.mtn-floating-headings__eyebrow {
color: var(--mtn-toc-accent);
font-size: 10px;
font-weight: 700;
letter-spacing: .11em;
text-transform: uppercase;
}
.mtn-floating-headings__title {
color: var(--mtn-toc-ink);
font-size: 16px;
line-height: 1.3;
}
.mtn-floating-headings__scroll {
max-height: min(64vh, 520px);
overflow: auto;
padding: 10px;
scrollbar-width: thin;
scrollbar-color: #c7cdd6 transparent;
}
.mtn-floating-headings--inline .mtn-floating-headings__scroll {
max-height: none;
overflow: visible;
padding: 12px 14px 16px;
}
.mtn-floating-headings__scroll::-webkit-scrollbar { width: 6px; }
.mtn-floating-headings__scroll::-webkit-scrollbar-thumb { background: #c7cdd6; border-radius: 999px; }
.mtn-floating-headings__list { list-style: none; margin: 0; padding: 0; }
.mtn-floating-headings__item + .mtn-floating-headings__item { margin-top: 2px; }
.mtn-floating-headings__link {
display: block;
padding: 8px 10px;
border-radius: 7px;
color: #344054;
font-size: 13px;
font-weight: 500;
line-height: 1.35;
text-decoration: none;
transition: background-color .16s ease, color .16s ease, transform .16s ease;
}
.mtn-floating-headings__item--h3 .mtn-floating-headings__link {
padding-left: 24px;
color: var(--mtn-toc-muted);
font-size: 12px;
}
.mtn-floating-headings--inline .mtn-floating-headings__list {
display: block;
}
.mtn-floating-headings__link:hover,
.mtn-floating-headings__link:focus-visible {
background: #f5f7fa;
color: var(--mtn-toc-ink);
outline: 2px solid var(--mtn-toc-accent);
outline-offset: 1px;
transform: translateX(2px);
}
.mtn-floating-headings__link.is-active {
background: var(--mtn-toc-accent-soft);
color: var(--mtn-toc-accent);
font-weight: 650;
box-shadow: inset 3px 0 0 var(--mtn-toc-accent);
}
.mtn-floating-headings__item .mtn-floating-headings__link--locked {
display: flex;
align-items: center;
gap: 7px;
color: var(--mtn-toc-muted);
}
.mtn-floating-headings__lock {
flex: 0 0 12px;
width: 12px;
height: 14px;
}
.mtn-floating-headings-flyout {
--mtn-rail-width: 38px;
position: fixed;
top: 50%;
right: 18px;
width: 330px;
height: min(72vh, 620px);
z-index: 90;
opacity: 0;
transform: translateY(-50%) translateX(12px);
pointer-events: none;
transition: opacity .2s ease, transform .2s ease;
}
.mtn-floating-headings-flyout.is-enabled.is-visible {
opacity: 1;
transform: translateY(-50%);
} .mtn-floating-headings-flyout.is-enabled.is-visible .mtn-floating-headings__rail {
pointer-events: auto;
}
.mtn-floating-headings-flyout .mtn-floating-headings__card {
position: absolute;
top: 50%;
right: calc(var(--mtn-rail-width) + 6px);
width: 280px;
opacity: 0;
transform: translate(10px, -50%) scale(.98);
transform-origin: right center;
visibility: hidden;
pointer-events: none;
transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.mtn-floating-headings-flyout:focus-within .mtn-floating-headings__card,
.mtn-floating-headings-flyout.is-expanded .mtn-floating-headings__card {
opacity: 1;
transform: translate(0, -50%) scale(1);
visibility: visible;
pointer-events: auto;
transition-delay: 0s;
}
.mtn-floating-headings__rail {
position: absolute;
top: 50%;
right: 0;
display: flex;
align-items: center;
justify-content: center;
width: var(--mtn-rail-width);
min-height: 118px;
padding: 12px 7px;
border: 1px solid #e5e7eb;
border-radius: 12px;
background: rgba(255,255,255,.96);
box-shadow: 0 8px 24px rgba(16,24,40,.09);
transform: translateY(-50%);
cursor: pointer;
user-select: none;
}
.mtn-floating-headings__rail-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mtn-floating-headings__markers { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; width: 18px; }
.mtn-floating-headings__marker {
display: block;
width: 15px;
height: 2px;
border-radius: 99px;
background: #cfd4dc;
transition: width .16s ease, background-color .16s ease, height .16s ease;
}
.mtn-floating-headings__marker--h3 { width: 10px; }
.mtn-floating-headings__marker--locked { opacity: .6; }
.mtn-floating-headings__marker.is-active { width: 18px; height: 3px; background: var(--mtn-toc-accent); }
.post-details-content [data-mtn-heading-anchor],
.article-paths-body [data-mtn-heading-anchor] { scroll-margin-top: 120px; }
.post-details-content h2, .post-details-content h3 { line-height: 1.2; }
.post-details-content h2 { font-size: 28px; margin-top: 34px; margin-bottom: 14px; }
.post-details-content h3 { font-size: 22px; margin-top: 26px; margin-bottom: 12px; }
[ta-theme=dark] .mtn-floating-headings,
[ta-theme=dark] .mtn-floating-headings-flyout,
[ta-theme=dark] .mtn-floating-headings--learning-right { --mtn-toc-ink: #f4f6f8; --mtn-toc-muted: #a9b2c0; --mtn-toc-accent-soft: rgba(0,129,255,.2); --mtn-toc-accent-soft: color-mix(in srgb, var(--mtn-toc-accent) 20%, #171a21); }
[ta-theme=dark] .mtn-floating-headings__card,
[ta-theme=dark] .mtn-floating-headings__rail { background: #171a21; border-color: #303642; }
[ta-theme=dark] .mtn-floating-headings__header { border-color: #303642; }
[ta-theme=dark] .mtn-floating-headings__link { color: #d7dce3; }
[ta-theme=dark] .mtn-floating-headings__link:hover,
[ta-theme=dark] .mtn-floating-headings__link:focus-visible { background: #242933; color: #fff; }
[ta-theme=dark] .mtn-floating-headings__item .mtn-floating-headings__link--locked { color: var(--mtn-toc-muted); }
[ta-theme=dark] .mtn-floating-headings__marker { background: #596273; }
[ta-theme=dark] .mtn-floating-headings__marker.is-active { background: #f4f6f8; }
@media (max-width: 1279px) { .mtn-floating-headings-flyout { display: none; } }
@media (max-width: 1100px) { .mtn-floating-headings--learning-right { position: static; } }
@media (max-width: 767px) {
.mtn-floating-headings--learning-right { position: static; }
.mtn-floating-headings__header { display: block; }
.mtn-floating-headings__eyebrow { display: block; margin-bottom: 4px; }
.post-details-content h2 { font-size: 24px; }
.post-details-content h3 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
.mtn-floating-headings-flyout,
.mtn-floating-headings-flyout .mtn-floating-headings__card,
.mtn-floating-headings__caret::before,
.mtn-floating-headings__link { transition: none; }
}