/* Single blog post (single-blog-post.php, inc/blog-post.php). Tokens and cards come from
   blog-hub.css (.blog-hub); this file adds the article layout, typography and sidebar. */

.blog-post .bp-wrap {
    max-width: 76rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
@media (min-width: 768px) {
    .blog-post .bp-wrap { padding-left: 32px; padding-right: 32px; }
}

/* ── Header ── */
.bp-head {
    padding: 32px 0 28px;
    background: linear-gradient(180deg, #F7F1FF 0%, #ffffff 100%);
    border-bottom: 1px solid var(--bh-border);
}
@media (min-width: 1024px) { .bp-head { padding: 48px 0 36px; } }
.bp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: 14px; color: var(--bh-muted); }
.blog-post .bp-crumbs a { color: var(--bh-muted); text-decoration: none; }
.blog-post .bp-crumbs a:hover { color: var(--bh-purple-700); text-decoration: underline; }
.blog-post .bp-topic { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.blog-post .bp-topic a { color: var(--fam-ink); text-decoration: none; }
.blog-post .bp-topic a:hover { text-decoration: underline; }
.blog-post .bp-title {
    max-width: 30ch;
    margin: 0 0 16px;
    font-size: clamp(1.9rem, 3.8vw, 52px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--bh-ink);
}
.blog-post .bp-dek { max-width: 62ch; margin: 0 0 24px; font-size: clamp(1.05rem, 1.4vw, 20px); line-height: 1.5; color: var(--bh-body); }
.bp-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.bp-byline__who { display: flex; align-items: center; gap: 12px; }
.blog-post .bp-byline__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.bp-byline__name { display: block; font-size: 15px; font-weight: 600; color: var(--bh-ink); }
.bp-byline__meta { display: flex; gap: 6px; font-size: 14px; color: #64707D; }

/* Share */
.bp-share { display: flex; align-items: center; gap: 8px; }
.blog-post .bp-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    border: 1px solid var(--bh-border-strong) !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: var(--bh-text) !important;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.blog-post .bp-share__btn:hover { border-color: var(--bh-purple-500) !important; background: var(--bh-violet-50) !important; color: #31007C !important; }
.blog-post .bp-share__btn:focus-visible { outline: 2px solid var(--bh-link); outline-offset: 2px; }
.bp-share__copied { font-size: 13px; color: var(--bh-purple-700); }

/* ── Article | sidebar ── */
.bp-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 36px; padding-bottom: 64px; }
@media (min-width: 1024px) {
    .bp-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding-top: 48px; align-items: start; }
}
@media (min-width: 1280px) {
    .bp-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; }
}
.bp-article { min-width: 0; max-width: 46rem; }
.bp-hero-img { margin: 0 0 36px; }
.blog-post .bp-hero-img img { display: block; width: 100%; height: auto; border-radius: 20px; }

@media (min-width: 1024px) {
    .bp-side__sticky { position: sticky; top: calc(var(--bh-header-h, 0px) + 84px); display: flex; flex-direction: column; gap: 20px; }
}
@media (max-width: 1023px) {
    .bp-side__sticky { display: flex; flex-direction: column; gap: 20px; }
}

/* ── Article typography: the values posts had under the Elementor template (measured on prod),
   so existing posts look as they did. Links use single-post-links.css (black underline,
   lavender hover), which applies here too (body.single main). Buttons use WordPress core. ── */
.bp-content { font-family: Inter, system-ui, sans-serif; font-size: 18px; line-height: 29px; color: #000000; }
.blog-post .bp-content p { margin: 0 0 17.6px; font-size: 18px; line-height: 29px; color: #000000; }
.blog-post .bp-content h2 { margin: 48px 0 8px; font-size: 30px; font-weight: 700; line-height: 33px; letter-spacing: normal; color: #000000; }
.blog-post .bp-content h3 { margin: 32px 0 8px; font-size: 24px; font-weight: 700; line-height: 27px; letter-spacing: normal; color: #000000; }
.blog-post .bp-content h4 { margin: 24px 0 8px; font-size: 20px; font-weight: 700; line-height: 25px; color: #000000; }
.blog-post .bp-content h2:first-child,
.blog-post .bp-content h3:first-child { margin-top: 0; }
/* Lists: Tailwind's reset removes markers; restore them (as tailwind-source.css did for .elementor). */
.blog-post .bp-content ol,
.blog-post .bp-content ul { margin: 20px 0; padding: 0 0 0 40px; list-style-position: outside; }
.blog-post .bp-content ul { list-style-type: disc; }
.blog-post .bp-content ol { list-style-type: decimal; }
.blog-post .bp-content ul ul { list-style-type: circle; margin: 4px 0; }
.blog-post .bp-content ol ol { list-style-type: lower-alpha; margin: 4px 0; }
.blog-post .bp-content li { margin: 0; font-size: 18px; line-height: 29px; color: #000000; }
.blog-post .bp-content li > p { margin: 0; }
.blog-post .bp-content img { max-width: 100%; height: auto; }
.bp-content figure { margin-left: 0; margin-right: 0; }
.bp-content figcaption { font-size: 14px; color: #64707D; }
.bp-content table { display: block; max-width: 100%; overflow-x: auto; }
.bp-content iframe { max-width: 100%; }

.bp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--bh-border); }

/* ── Course card (sidebar, and inline in the article on small screens) ── */
.bp-course {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border-radius: 20px;
    background:
        radial-gradient(90% 70% at 100% 0%, rgba(213, 0, 195, 0.42) 0%, rgba(213, 0, 195, 0) 70%),
        linear-gradient(160deg, #31007C 0%, var(--bh-deep) 70%);
    color: #ffffff;
}
.bp-course--inline { margin: 32px 0; }
@media (min-width: 1024px) { .bp-course--inline { display: none; } }
@media (max-width: 1023px) { .has-inline-card .bp-side .bp-course--side { display: none; } } /* the inline one shows instead */
.blog-post .bp-course__eyebrow { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #E2CCFF; }
.blog-post .bp-course__title { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; color: #ffffff; }
.blog-post .bp-course__text { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.82); }
.bp-course__list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bp-course__item {
    position: relative;
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    transition: background-color 0.15s ease;
}
.bp-course__item:hover { background: rgba(255, 255, 255, 0.16); }
.bp-course__item:focus-within { outline: 2px solid #ffffff; outline-offset: 2px; }
.blog-post .bp-course__img { flex: 0 0 96px; width: 96px; height: 54px; border-radius: 8px; object-fit: cover; }
.bp-course__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.blog-post .bp-course__link { font-size: 15px; font-weight: 600; line-height: 1.3; color: #ffffff; text-decoration: none; }
.blog-post .bp-course__link::after { content: ''; position: absolute; inset: 0; border-radius: 14px; }
.blog-post .bp-course__link:focus-visible { outline: none; }
.bp-course__meta { font-size: 13px; color: #E2CCFF; }
.blog-post .bp-course__more {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 10px 18px;
    border-radius: 9999px;
    background: #ffffff;
    font-size: 15px;
    font-weight: 600;
    color: var(--bh-ink);
    text-decoration: none;
}
.blog-post .bp-course__more:hover { background: var(--bh-violet-50); color: var(--bh-ink); }
.blog-post .bp-course__more:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
.bp-content .bp-course a { text-decoration: none; }
.bp-content .bp-course ul { padding-left: 0; }

/* ── Free guides and templates (sidebar) ── */
.bp-res { padding: 22px; border: 1px solid #C8A3FF; border-radius: 20px; background: #F7F1FF; }
.blog-post .bp-res__eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bh-purple-700); }
.blog-post .bp-res__title { margin: 0 0 14px; font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--bh-ink); }
.bp-res__list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bp-res__item {
    position: relative;
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--bh-border);
    border-radius: 14px;
    background: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.bp-res__item:hover { border-color: var(--bh-purple-500); box-shadow: 0 8px 20px rgba(91, 31, 153, 0.12); }
.bp-res__item:focus-within { outline: 2px solid var(--bh-link); outline-offset: 2px; }
.bp-res__media { flex: 0 0 88px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: linear-gradient(160deg, #31007C 0%, var(--bh-deep) 100%); }
.blog-post .bp-res__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bp-res__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bp-res__type { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bh-muted); }
.blog-post .bp-res__link { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--bh-ink); text-decoration: none; }
.blog-post .bp-res__link::after { content: ''; position: absolute; inset: 0; border-radius: 14px; }
.blog-post .bp-res__link:focus-visible { outline: none; }

/* ── Below the article ── */
.bp-news { padding: 56px 0; }
.bp-related { padding: 64px 0 72px; }
.bp-related .bh-rail__head { margin-bottom: 24px; }
@media (prefers-reduced-motion: reduce) {
    .bp-course__item,
    .bp-res__item,
    .blog-post .bp-share__btn { transition: none; }
}

/* The theme underlines links with a bottom border; not on these UI links. */
.blog-post .bp-head a,
.blog-post .bp-foot a,
.blog-post .bp-side a,
.blog-post .bp-related a,
.blog-post .bp-course a { border-bottom: 0 !important; }
/* Inside the article the body link colour must not win over the card's own colours. */
.blog-post .bp-content .bp-course__link,
.blog-post .bp-content .bp-course__link:hover { color: #ffffff; text-decoration: none; }
.blog-post .bp-content .bp-course__more,
.blog-post .bp-content .bp-course__more:hover { color: var(--bh-ink); text-decoration: none; }
.blog-post .bp-content .bp-course__img { border-radius: 8px; }
.blog-post .bp-content .bp-course p { margin: 0; }

/* Share buttons are links too: keep their full circle border (overrides the reset above). */
.blog-post .bp-head a.bp-share__btn,
.blog-post .bp-foot a.bp-share__btn { border: 1px solid var(--bh-border-strong) !important; }
.blog-post .bp-head a.bp-share__btn:hover,
.blog-post .bp-foot a.bp-share__btn:hover { border-color: var(--bh-purple-500) !important; }

/* Sidebar column runs the full height of the article so its contents can stay in view. */
.bp-side { align-self: stretch; }

/* Course card: light course tiles on the dark card so the screenshots stand out. */
.bp-course__item { background: #ffffff; }
.bp-course__item:hover { background: var(--bh-violet-50); }
.blog-post .bp-course__link,
.blog-post .bp-content .bp-course__link,
.blog-post .bp-content .bp-course__link:hover { color: var(--bh-ink); }
.bp-course__meta { color: var(--bh-purple-700); font-weight: 500; }
.blog-post .bp-course__img { box-shadow: 0 0 0 1px var(--bh-border); }
.blog-post .bp-course__more { white-space: nowrap; }

/* Keep reading: no purple title on hover. */
.blog-post .bp-related .bh-card__title a,
.blog-post .bp-related .bh-card:hover .bh-card__title a,
.blog-post .bp-related .bh-card__title a:hover { color: var(--bh-ink); }
/* single-post-links.css styles every heading link in main; card titles aren't article links. */
.blog-post .bh-card__title a,
.blog-post .bh-card__title a:hover,
.blog-post .bh-card__topic a,
.blog-post .bh-card__topic a:hover {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
    background-color: transparent !important;
}

/* Same article width as the Elementor template had (708px), so line lengths match. */
.bp-article { max-width: 708px; }
/* Posts built with Elementor inside the content: the template gave their inner container no
   padding; keep it that way so text lines up with the rest of the article. */
.blog-post .bp-content .e-con-inner { padding: 0 !important; }

/* As the Elementor template had (style_4.css .site__post--right-panel): slightly softened body
   text, and smaller type on phones. */
.blog-post .bp-content p,
.blog-post .bp-content li { opacity: 0.95; }
@media (max-width: 767px) {
    .blog-post .bp-content h2 { margin: 2rem 0 1rem; font-size: 26px; line-height: 29px; }
    .blog-post .bp-content h3 { margin: 1.5rem 0 1rem; font-size: 20px; line-height: 23px; }
    .blog-post .bp-content p,
    .blog-post .bp-content li { font-size: 16px; line-height: 24px; }
}

/* ── Table of contents (long posts with 3+ H2s) ── */
.blog-post .bp-content h2[id] { scroll-margin-top: 110px; }
html:has(.blog-post.has-toc) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html:has(.blog-post.has-toc) { scroll-behavior: auto; }
}
.bp-toc__list { margin: 0; padding: 0; list-style: none; counter-reset: bp-toc; }
.bp-toc__list li { margin: 0; counter-increment: bp-toc; }
.blog-post .bp-toc__list a {
    display: flex;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.35;
    color: var(--bh-text);
    text-decoration: none;
    border-bottom: 0 !important;
}
.blog-post .bp-toc__list a::before {
    content: counter(bp-toc);
    flex: 0 0 auto;
    min-width: 1.2em;
    font-weight: 600;
    color: var(--bh-muted);
}
.blog-post .bp-toc__list a:hover { background: var(--bh-lavender); color: var(--bh-ink); }
.blog-post .bp-toc__list a.is-active { background: var(--bh-violet-50); color: #31007C; font-weight: 600; }
.blog-post .bp-toc__list a.is-active::before { color: var(--bh-purple-700); }
.blog-post .bp-toc__list a:focus-visible { outline: 2px solid var(--bh-link); outline-offset: 1px; }
.blog-post .bp-toc__title { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bh-muted); }

/* Inline: top of the article, collapsible (narrower screens) */
.bp-toc--inline { margin: 0 0 32px; padding: 16px 18px; border: 1px solid var(--bh-border); border-radius: 16px; background: #ffffff; }
.bp-toc--inline summary { display: flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; list-style: none; }
.bp-toc--inline summary::-webkit-details-marker { display: none; }
.bp-toc--inline summary::after {
    content: '';
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 1.8px solid var(--bh-muted);
    border-bottom: 1.8px solid var(--bh-muted);
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
}
.bp-toc--inline details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.bp-toc--inline details[open] .bp-toc__list { margin-top: 10px; }
.bp-toc__count { padding: 1px 8px; border-radius: 9999px; background: var(--bh-lavender); font-size: 12px; letter-spacing: 0; color: var(--bh-muted); }

/* Left column (wide screens only; there it replaces the inline one): article in the middle,
   course card + guides keep the right column to themselves. */
.bp-toc-col { display: none; }
@media (min-width: 1280px) {
    .blog-post.has-toc .bp-wrap { max-width: 88rem; }
    .blog-post.has-toc .bp-layout { grid-template-columns: 200px minmax(0, 1fr) 300px; gap: 48px; }
    .bp-toc-col { display: block; align-self: stretch; min-width: 0; }
    .bp-toc-col__sticky {
        position: sticky;
        top: calc(var(--bh-header-h, 0px) + 84px);
        max-height: calc(100vh - var(--bh-header-h, 0px) - 108px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }
}
@media (min-width: 1440px) {
    .blog-post.has-toc .bp-layout { grid-template-columns: 220px minmax(0, 1fr) 320px; gap: 56px; }
}
.bp-toc--side { padding: 2px 0 2px 0; border-left: 1px solid var(--bh-border); }
.bp-toc--side .bp-toc__title { padding: 0 0 0 14px; }
.blog-post .bp-toc--side .bp-toc__list a { margin-left: -1px; padding: 6px 8px 6px 13px; border-left: 2px solid transparent !important; border-radius: 0 8px 8px 0; font-size: 14px; }
.blog-post .bp-toc--side .bp-toc__list a.is-active { border-left-color: var(--bh-purple-700) !important; }
@media (min-width: 1280px) {
    .bp-toc--inline { display: none; }
}

/* ── Single trial card + end-of-article guide (one clear ask each) ── */
.bp-course { gap: 10px; }
.bp-course__shot { display: block; margin: 4px 0 6px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); }
.blog-post .bp-course__shot .bp-course__img,
.blog-post .bp-content .bp-course__shot .bp-course__img { display: block; flex: none; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 0; object-fit: cover; box-shadow: none; }
.blog-post .bp-course__title { font-size: 20px; font-weight: 600; line-height: 1.25; }
.blog-post .bp-course__meta { margin: 0; font-size: 13px; font-weight: 500; color: #E2CCFF; }
.blog-post .bp-course__cta,
.blog-post .bp-content .bp-course__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    padding: 13px 20px;
    border-radius: 9999px;
    background: #ffffff;
    font-size: 16px;
    font-weight: 600;
    color: var(--bh-ink);
    text-decoration: none;
    transition: background-color 0.15s ease;
}
.blog-post .bp-course__cta:hover,
.blog-post .bp-content .bp-course__cta:hover { background: var(--bh-violet-50); color: var(--bh-ink); }
.blog-post .bp-course__cta:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
.blog-post .bp-course__all,
.blog-post .bp-content .bp-course__all { align-self: center; font-size: 14px; color: #E2CCFF; text-decoration: underline; text-underline-offset: 3px; }
.blog-post .bp-course__all:hover { color: #ffffff; }
.bp-course--inline { max-width: 26rem; }

.bp-res { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 40px; padding: 20px; }
@media (min-width: 640px) {
    .bp-res { grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 24px; }
}
.bp-res__media { display: block; flex: none; width: 100%; }
.blog-post .bp-res__title { margin: 0 0 14px; font-size: 20px; line-height: 1.3; }
.blog-post .bp-res__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 9999px;
    background: var(--bh-ink);
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 0 !important;
    transition: background-color 0.15s ease;
}
.blog-post .bp-res__cta:hover { background: #31007C; color: #ffffff; }
.blog-post .bp-res__cta:focus-visible { outline: 2px solid var(--bh-link); outline-offset: 2px; }
.blog-post .bp-res a { border-bottom: 0 !important; }
@media (prefers-reduced-motion: reduce) {
    .blog-post .bp-course__cta,
    .blog-post .bp-res__cta { transition: none; }
}
/* Inline card sits inside .bp-content, whose paragraph colour would otherwise win. */
.blog-post .bp-content .bp-course .bp-course__title { color: #ffffff; opacity: 1; }
.blog-post .bp-content .bp-course .bp-course__meta,
.blog-post .bp-content .bp-course .bp-course__eyebrow { color: #E2CCFF; opacity: 1; }
.blog-post .bp-content .bp-course .bp-course__text { color: rgba(255, 255, 255, 0.82); opacity: 1; }

/* Trial card: the whole card opens the course (the button's link stretches over it); the
   "All ... courses" link sits above that and goes to the topic page. */
.bp-course { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.blog-post .bp-course__cta::after { content: ''; position: absolute; inset: 0; border-radius: 20px; }
.blog-post .bp-course__all { position: relative; z-index: 1; }
.bp-course:has(.bp-course__cta):hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(49, 0, 124, 0.28); }
.blog-post .bp-course:hover .bp-course__cta { background: var(--bh-violet-50); }
.blog-post .bp-course__cta:focus-visible { outline: none; }
.bp-course:has(.bp-course__cta:focus-visible) { outline: 3px solid var(--bh-link); outline-offset: 3px; }
/* Screenshot on a light mat so dark thumbnails don't sink into the dark card. */
.bp-course__shot { padding: 6px; border-radius: 14px; background: #ffffff; }
.blog-post .bp-course__shot .bp-course__img,
.blog-post .bp-content .bp-course__shot .bp-course__img { border-radius: 9px; }

/* Guide box: whole box clickable, button sized to its label. */
.bp-res { position: relative; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.bp-res__body { display: flex; flex-direction: column; align-items: flex-start; }
.blog-post .bp-res__cta { align-self: flex-start; width: auto; }
.blog-post .bp-res__cta::after { content: ''; position: absolute; inset: 0; border-radius: 20px; }
.bp-res:hover { border-color: var(--bh-purple-500); box-shadow: 0 10px 28px rgba(91, 31, 153, 0.14); }
.blog-post .bp-res:hover .bp-res__cta { background: #31007C; }
.blog-post .bp-res__cta:focus-visible { outline: none; }
.bp-res:has(.bp-res__cta:focus-visible) { outline: 3px solid var(--bh-link); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
    .bp-course, .bp-res { transition: none; }
    .bp-course:has(.bp-course__cta):hover { transform: none; }
}

/* Free guide in the sidebar instead of the course trial card (Nov 2026): stacked to fit the column.
   One copy shows at a time: sidebar on desktop, end of article below 1024px. */
.bp-side .bp-res { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 0; }
@media (min-width: 1024px) { .bp-res-end { display: none; } }
@media (max-width: 1023px) { .bp-side .bp-res { display: none; } }
