body.blog-article-page {
    background-color: #f3f3f3;
}

/* Single rail: 1400px artboard, 24px side inset → 1352px inner (matches Figma). */
.blog-article-shell {
    background: #f3f3f3;
    padding-bottom: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

body.blog-article-page .blog-article-shell {
    padding-top: 140px;
}

.blog-article-shell .container {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
}

/* Navbar: default inner width when blog page does not opt into the rail wrapper. */
body.blog-article-page nav.navbar:not(:has(.navbar-blog-rail)) > .preheader .container,
body.blog-article-page nav.navbar:not(:has(.navbar-blog-rail)) > .container {
    max-width: 1400px;
}

body.blog-article-page nav.navbar:has(.navbar-blog-rail) {
    background-color: transparent !important;
    box-shadow: none;
}

body.blog-article-page nav.navbar .navbar-blog-rail {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 6px 24px 8px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

body.blog-article-page nav.navbar .navbar-blog-rail > .preheader .container,
body.blog-article-page nav.navbar .navbar-blog-rail > .container {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.blog-article-shell > .blog-shell-hero {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.blog-shell-hero {
    position: relative;
    background: linear-gradient(127deg, rgb(40, 167, 69) 0%, rgb(106, 189, 98) 100%);
    color: #fff;
    border-radius: 16px;
    /* min-height: 400px; */
    height: auto;
    display: block;
    overflow: hidden;
    box-shadow: none;
    border: none;
}

@media (min-width: 992px) {
    .blog-shell-hero .col-lg-7 {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 1200px) {
    body.blog-article-page .blog-shell-hero > .blog-shell-cover-wrap {
        position: absolute !important;
        top: -50px !important;
        right: -50px !important;
        bottom: auto !important;
        left: auto !important;
        margin: 0 !important;
    }
}

.blog-shell-hero > .container {
    position: relative;
    z-index: 2;
    padding-left: 48px;
    padding-right: 48px;
    padding-top: 84px;
    padding-bottom: 36px;
}

.blog-shell-hero > .container > .row {
    margin-left: 0;
    margin-right: 0;
}

.blog-shell-meta {
    font-size: 15px;
    line-height: 1.2;
    opacity: 0.85;
    margin-bottom: 16px;
}

.blog-shell-meta--solo {
    letter-spacing: 0.04em;
    font-size: 12px;
    margin-top: 8px;
}

.blog-shell-hero-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 0;
}

.blog-shell-hero-byline-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-shell-hero-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: none;
}

.blog-shell-hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-shell-author-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.blog-shell-author-name:hover {
    color: #fff;
    text-decoration: none;
}

.blog-shell-hero-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.blog-shell-title {
    max-width: 736px;
    font-size: 44px;
    line-height: 1.16;
    font-weight: 700;
    margin: 0 0 20px;
    color: #fff;
}

/*
 * Hero cover: direct child of .blog-shell-hero (see view). Desktop offsets enforced in
 * @media (min-width: 992px) body.blog-article-page .blog-shell-hero > .blog-shell-cover-wrap.
 */
.blog-shell-cover-wrap {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    overflow: hidden;
    border: none;
    box-shadow: none;
    z-index: 1;
}

.blog-shell-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.blog-shell-author-card-wrap {
    margin-top: 24px;
}

.blog-shell-author-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border-radius: 10px;
    border: none;
    box-shadow: none;
    padding: 24px;
}

.blog-shell-author-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #28a744;
    object-fit: cover;
    flex-shrink: 0;
}

.blog-shell-author-content h2 {
    margin: 0 0 8px;
    font-size: 28px;
    color: #333;
}

.blog-shell-author-content p {
    margin: 0 0 14px;
    color: #666;
    font-size: 15px;
    line-height: 1.45;
}

.blog-shell-author-socials {
    display: flex;
    gap: 14px;
}

.blog-shell-author-socials a {
    color: #6abd62;
    font-size: 18px;
}

.blog-shell-main-wrap {
    margin-top: 24px;
}

.blog-shell-main-wrap .row {
    display: flex;
    gap: 64px;
    margin-right: 0;
    margin-left: 0;
}

.blog-shell-main-wrap .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.blog-shell-main-wrap .col-lg-3 {
    flex: 0 0 372px;
    max-width: 372px;
}

.blog-shell-main-wrap .col-lg-6 {
    flex: 0 0 600px;
    max-width: 600px;
}

.blog-shell-main-wrap .col-lg-4 {
    flex: 0 0 252px;
    max-width: 252px;
}

.blog-shell-main-wrap .col-lg-8 {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
}

/* With left TOC only (no right rail): Bootstrap uses 75% for .col-lg-9 — fights fixed .col-lg-3 and causes overlap ~1024px */
.blog-shell-main-wrap .col-lg-9 {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
}

.blog-shell-main-wrap .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.blog-shell-prose-col {
    min-width: 0;
}

.blog-shell-toc-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: none;
    border: none;
    padding: 24px;
    position: sticky;
    top: 140px;
}

/* Match right sidebar: whole left rail (TOC + banners) sticks with the article; align-self avoids column stretch. */
@media only screen and (min-width: 992px) {
    .blog-shell-left-col {
        display: flex;
        flex-direction: column;
        gap: 24px;
        position: sticky;
        top: 140px;
        align-self: flex-start;
        min-width: 0;
    }

    .blog-shell-left-col .blog-shell-toc-card {
        position: static;
        top: auto;
    }

    /* Inline widths from CMS banner HTML must not spill out of the rail */
    .blog-shell-left-col .blog-dynamic-banner,
    .blog-shell-sidebar-col .blog-dynamic-banner {
        max-width: 100%;
        box-sizing: border-box;
    }
}

.blog-shell-toc-card h3 {
    margin: 0 0 16px;
    color: #28a744;
    text-transform: none;
    letter-spacing: 0;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}

#blog-contents-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#blog-contents-nav li + li {
    margin-top: 8px;
}

#blog-contents-nav a {
    color: #434343;
    font-size: 14px;
    line-height: 1.45;
}

#blog-contents-nav .toc-level-3 {
    margin-left: 14px;
}

.blog-shell-closing-card {
    margin-top: 20px;
}

.blog-shell-prose-col .blog-shell-closing-card-inner {
    background: #fff;
    border-radius: 14px;
    padding: 22px 24px;
    color: #434343;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
    border: none;
}

.blog-shell-closing-card-inner > *:first-child {
    margin-top: 0;
}

.blog-shell-closing-card-inner > *:last-child {
    margin-bottom: 0;
}

.blog-article-prose {
    padding: 24px;
    border: none;
    box-shadow: none;
    overflow-x: auto;
    color: #434343;
    background: transparent;
}

.blog-article-prose > * {
    max-width: 100%;
}

.blog-article-prose p,
.blog-article-prose ul,
.blog-article-prose ol,
.blog-article-prose h2,
.blog-article-prose h3,
.blog-article-prose h4 {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.blog-article-prose h2 {
    font-size: 36px;
    line-height: 1.15;
    margin: 56px 0 24px;
    color: #536a57;
    font-weight: 700;
}

.blog-article-prose h3 {
    font-size: 22px;
    margin: 34px 0 16px;
    color: #333;
    font-weight: 700;
}

.blog-article-prose p,
.blog-article-prose li {
    font-size: 17px;
    line-height: 1.7;
    color: #434343;
}

.blog-article-prose ul li::marker {
    color: #67d670;
}

.blog-article-prose ul,
.blog-article-prose ol {
    padding-left: 24px;
}

.blog-article-prose li + li {
    margin-top: 8px;
}

body.blog-article-page .blog-article-prose a {
    color: #28a745;
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.blog-article-page .blog-article-prose a:hover {
    color: #1e7e34;
}

.blog-article-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.blog-shell-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 64px;
    position: sticky;
    top: 140px;
    align-self: flex-start;
    min-width: 0;
}

.blog-shell-author-card.blog-shell-author-card-side {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    margin-bottom: 0;
    position: static;
    top: auto;
}

.blog-shell-author-avatar-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 3px;
    border: 3px solid #28a744;
    box-sizing: border-box;
    margin-bottom: 4px;
    overflow: hidden;
}

.blog-shell-author-avatar-ring .blog-shell-author-pic {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 50%;
    display: block;
}

.blog-shell-author-card-side .blog-shell-author-content h2 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px;
}

.blog-shell-author-card-side .blog-shell-author-content p {
    font-size: 15px;
    line-height: 1.55;
    color: #777;
    margin: 0 0 16px;
}

.blog-shell-author-card-side .blog-shell-author-socials {
    justify-content: center;
}

.blog-shell-cta-card {
    position: static;
    top: auto;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(145deg, #4bb654 0%, #206036 55%, #1a4f2d 100%);
    color: #fff;
    border: none;
    box-shadow: none;
}

.blog-shell-cta-card-inner > .blog-shell-cta-badge,
.blog-shell-cta-card-inner > h4,
.blog-shell-cta-card-inner > p,
.blog-shell-cta-card-inner > a {
    position: relative;
    z-index: 2;
}

.blog-shell-cta-card-inner {
    position: relative;
    z-index: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: visible;
}

.blog-shell-cta-deco {
    position: absolute;
    right: -48px;
    bottom: -72px;
    width: 210px;
    height: 190px;
    z-index: 0;
    pointer-events: none;
    transform: rotate(52deg);
    opacity: 0.95;
}

.blog-shell-cta-deco img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
}

.blog-shell-cta-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fd7e14;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.blog-shell-cta-badge-pct {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.blog-shell-cta-badge-off {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-transform: lowercase;
    margin-top: 2px;
}

.blog-shell-cta-card h4 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: #fff;
}

.blog-shell-cta-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

.blog-shell-cta-btn--block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 16px;
    background: #6abd62;
    box-shadow: 0 4px 17px rgba(0, 0, 0, 0.1);
    border: none;
}

.blog-shell-cta-btn--block:hover {
    background: #5aad56;
    color: #fff;
}

.blog-shell-cta-btn {
    display: inline-block;
    min-width: 140px;
    text-align: center;
    padding: 11px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.blog-shell-cta-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #fff;
    text-decoration: none;
}

.blog-dynamic-banner {
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.blog-dynamic-banner.blog-banner-style-embed img {
    width: auto;
    max-height: none;
    object-fit: initial;
    border-radius: 0;
    margin-bottom: 0;
}

.blog-dynamic-banner img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.blog-dynamic-banner h4 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.2;
}

.blog-dynamic-banner p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
}

.blog-banner-style-green_gradient {
    background: linear-gradient(145deg, #4bb654 0%, #206036 55%, #1a4f2d 100%);
}

.blog-banner-style-light_card {
    background: #ffffff;
    border: none;
}

.blog-banner-style-dark_card {
    background: #1f1f1f;
}

/* Self-contained body_html: no outer gradient, padding, or text color from shell */
.blog-banner-style-embed {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.blog-dynamic-banner.blog-banner-style-embed.blog-banner-spacing-compact,
.blog-dynamic-banner.blog-banner-style-embed.blog-banner-spacing-normal,
.blog-dynamic-banner.blog-banner-style-embed.blog-banner-spacing-relaxed {
    padding: 0 !important;
}

body.blog-article-page .blog-dynamic-banner.blog-banner-style-embed.blog-banner-text-light,
body.blog-article-page .blog-dynamic-banner.blog-banner-style-embed.blog-banner-text-dark,
.blog-dynamic-banner.blog-banner-style-embed.blog-banner-text-light,
.blog-dynamic-banner.blog-banner-style-embed.blog-banner-text-dark {
    color: inherit;
}

.blog-dynamic-banner.blog-banner-style-embed {
    overflow: visible;
}

.blog-banner-text-light {
    color: #ffffff;
}

.blog-banner-text-dark {
    color: #333333;
}

.blog-banner-spacing-compact {
    padding: 14px;
}

.blog-banner-spacing-normal {
    padding: 20px;
}

.blog-banner-spacing-relaxed {
    padding: 26px;
}

.blog-banner-btn-light {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.blog-banner-btn-dark {
    background: #111;
    color: #fff;
}

.blog-banner-btn-outline {
    background: transparent;
    border: 1px solid currentColor;
    color: inherit;
}

.blog-dynamic-banner-sidebar {
    position: static;
    top: auto;
}

.blog-shell-left-col .blog-shell-toc-card + .blog-dynamic-banner-left {
    margin-top: 20px;
}

.blog-dynamic-banner-body {
    margin-top: 28px;
}

@media only screen and (min-width: 992px) {
    .blog-dynamic-banner--inline-desktop.blog-banner-style-green_gradient.blog-banner-text-light {
        display: grid;
        grid-template-columns: minmax(64px, 88px) 1fr minmax(100px, 120px);
        grid-template-rows: auto auto;
        column-gap: 16px;
        row-gap: 4px;
        align-items: center;
        border-radius: 16px;
    }

    .blog-dynamic-banner--inline-desktop.blog-banner-style-green_gradient.blog-banner-text-light > img {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 72px;
        height: 72px;
        max-height: none;
        object-fit: cover;
        border-radius: 12px;
        margin: 0;
        align-self: center;
    }

    .blog-dynamic-banner--inline-desktop.blog-banner-style-green_gradient.blog-banner-text-light > h4 {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        font-size: 18px;
        line-height: 1.3;
        align-self: end;
    }

    .blog-dynamic-banner--inline-desktop.blog-banner-style-green_gradient.blog-banner-text-light > p {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        font-size: 13px;
        line-height: 1.45;
        opacity: 0.95;
        align-self: start;
    }

    .blog-dynamic-banner--inline-desktop.blog-banner-style-green_gradient.blog-banner-text-light > a {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-self: stretch;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        min-width: 0;
        background: #6abd62;
        box-shadow: 0 4px 17px rgba(0, 0, 0, 0.1);
        border: none;
        padding-left: 12px;
        padding-right: 12px;
        text-align: center;
        line-height: 1.2;
    }
}

.hide-desktop {
    display: none !important;
}

.hide-mobile {
    display: block;
}

@media only screen and (max-width: 1399px) {
    .blog-article-shell {
        max-width: 1200px;
    }

    body.blog-article-page nav.navbar:not(:has(.navbar-blog-rail)) > .preheader .container,
    body.blog-article-page nav.navbar:not(:has(.navbar-blog-rail)) > .container {
        max-width: 1200px;
    }

    body.blog-article-page nav.navbar .navbar-blog-rail {
        max-width: 1200px;
    }

    body.blog-article-page .blog-shell-hero > .blog-shell-cover-wrap {
        width: 300px;
        height: 300px;
        top: -50px !important;
        right: -50px !important;
    }

    .blog-shell-main-wrap .row {
        gap: 30px;
    }

    .blog-shell-main-wrap .col-lg-3 {
        flex-basis: 300px;
        max-width: 300px;
    }

    .blog-shell-main-wrap .col-lg-6 {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
    }

    .blog-shell-main-wrap .col-lg-9 {
        flex: 1 1 auto;
        max-width: none;
        min-width: 0;
    }

    .blog-shell-main-wrap .col-lg-4 {
        flex-basis: 240px;
        max-width: 240px;
    }

    /* CMS inline widths on rail promos (e.g. width: 252px) break alignment below ~1400px */
    body.blog-article-page .blog-shell-left-col .blog-dynamic-banner,
    body.blog-article-page .blog-shell-sidebar-col .blog-dynamic-banner {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
}

/* Narrow lg (992–1199): shorter hero — tight paddings + smaller type; cover offsets only here + 1200+ block */
@media only screen and (min-width: 992px) and (max-width: 1199.98px) {
    body.blog-article-page .blog-shell-hero {
        min-height: 0 !important;
        padding: 0 !important;
        margin-bottom: 28px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }

    body.blog-article-page .blog-shell-main-wrap {
        margin-top: 32px !important;
    }

    body.blog-article-page .blog-shell-hero > .blog-shell-cover-wrap {
        position: absolute !important;
        width: 200px !important;
        height: 200px !important;
        top: -50px !important;
        right: -50px !important;
        bottom: auto !important;
        left: auto !important;
        margin: 0 !important;
    }

    body.blog-article-page .blog-shell-hero > .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 20px !important;
        padding-bottom: 14px !important;
    }

    body.blog-article-page .blog-shell-title {
        font-size: 26px !important;
        line-height: 1.12 !important;
        margin: 0 0 8px !important;
    }

    body.blog-article-page .blog-shell-hero-byline {
        gap: 10px !important;
    }

    body.blog-article-page .blog-shell-hero-avatar {
        width: 40px !important;
        height: 40px !important;
    }

    body.blog-article-page .blog-shell-author-name,
    body.blog-article-page .blog-shell-hero-date {
        font-size: 10px !important;
    }

    body.blog-article-page .blog-shell-main-wrap .row {
        gap: 16px !important;
    }

    /* Three-column rail: keep fixed rails from overflowing narrow lg viewports */
    body.blog-article-page .blog-shell-main-wrap .col-lg-3 {
        flex: 0 1 240px !important;
        max-width: min(260px, 28vw) !important;
    }

    body.blog-article-page .blog-shell-main-wrap .col-lg-4 {
        flex: 0 1 220px !important;
        max-width: min(240px, 26vw) !important;
    }
}

@media only screen and (max-width: 991px) {
    body.blog-article-page .blog-article-shell {
        max-width: 100%;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-top: 135px;
        padding-bottom: 28px;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    /* Bootstrap .row uses negative gutters — kills perceived centering at tablet widths */
    body.blog-article-page .blog-shell-main-wrap > .row {
        margin-left: 0;
        margin-right: 0;
    }

    body.blog-article-page .blog-shell-main-wrap > .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    /* In-article promos: span column width + gap above + centered */
    body.blog-article-page .blog-article-prose .blog-dynamic-banner,
    body.blog-article-page .blog-article-prose .blog-dynamic-banner-body {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    body.blog-article-page .blog-article-prose .blog-dynamic-banner-body {
        margin-top: 40px;
        margin-bottom: 32px;
    }

    /* CMS body promos use embed + --inline-desktop; center the block and inner card (not only green_gradient) */
    body.blog-article-page .blog-article-prose .blog-dynamic-banner--inline-desktop {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.blog-article-page .blog-article-prose .blog-dynamic-banner--inline-desktop > * {
        grid-column: unset !important;
        grid-row: unset !important;
        max-width: 100% !important;
    }

    /* Single wrapper from body_html: center card (CMS often outputs one root div) */
    body.blog-article-page .blog-article-prose .blog-dynamic-banner--inline-desktop > *:only-child {
        width: 100%;
        max-width: min(640px, 100%);
        margin-left: auto;
        margin-right: auto;
    }

    body.blog-article-page .blog-article-prose .blog-dynamic-banner--inline-desktop > a,
    body.blog-article-page .blog-article-prose .blog-dynamic-banner--inline-desktop.blog-banner-style-green_gradient.blog-banner-text-light > a {
        width: 100% !important;
        max-width: 280px;
        margin-left: auto !important;
        margin-right: auto !important;
        align-self: center !important;
    }

    /* Hero: green card, disk top-right (slight bleed clipped by hero), title + byline lower in card */
    .blog-shell-hero {
        /* min-height: 420px; */
        padding: 0;
        border-radius: 16px;
        overflow: hidden;
    }

    .blog-shell-hero > .container {
        position: relative;
        z-index: 2;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 22px;
        padding-bottom: 28px;
    }

    .blog-shell-hero .col-lg-7 {
        position: relative;
        z-index: 2;
        padding-top: 128px;
        padding-left: 0;
        padding-right: 0;
    }

    .blog-shell-title {
        font-size: clamp(26px, 6.2vw, 34px);
        line-height: 1.12;
        max-width: 22ch;
        margin-bottom: 16px;
    }

    body.blog-article-page .blog-shell-hero > .blog-shell-cover-wrap {
        position: absolute !important;
        top: -50px !important;
        right: -50px !important;
        bottom: auto !important;
        left: auto !important;
        width: 228px !important;
        height: 228px !important;
        margin: 0 !important;
        z-index: 1;
        border: none;
        box-shadow: none;
    }

    .blog-shell-meta--solo {
        font-size: 11px;
        letter-spacing: 0.06em;
    }

    .blog-shell-hero-byline {
        gap: 14px;
        flex-wrap: wrap;
    }

    .blog-shell-hero-avatar {
        width: 44px;
        height: 44px;
    }

    .blog-shell-author-name,
    .blog-shell-hero-date {
        font-size: 11px;
    }

    .blog-shell-main-wrap {
        margin-top: 18px;
    }

    .blog-shell-main-wrap .row {
        display: block;
    }

    .blog-shell-main-wrap .col-lg-3,
    .blog-shell-main-wrap .col-lg-4,
    .blog-shell-main-wrap .col-lg-6,
    .blog-shell-main-wrap .col-lg-8,
    .blog-shell-main-wrap .blog-shell-prose-col {
        max-width: 100%;
    }

    /* Stacked columns: clear vertical rhythm between rails and article */
    body.blog-article-page .blog-shell-main-wrap .row > .blog-shell-left-col + .blog-shell-prose-col {
        margin-top: 28px;
    }

    body.blog-article-page .blog-shell-main-wrap .row > .blog-shell-prose-col + .blog-shell-sidebar-col {
        margin-top: 32px;
    }

    /* When there is no left rail, prose is first — add space only after hero/author strip */
    body.blog-article-page .blog-shell-main-wrap .row > .blog-shell-prose-col:first-child {
        margin-top: 0;
    }

    body.blog-article-page .blog-shell-left-col .blog-shell-toc-card + .blog-dynamic-banner {
        margin-top: 24px;
    }

    body.blog-article-page .blog-shell-left-col > .blog-dynamic-banner:first-child {
        margin-top: 20px;
    }

    .blog-shell-toc-card,
    .blog-shell-author-card.blog-shell-author-card-side,
    .blog-shell-cta-card {
        position: static;
        margin-top: 16px;
    }

    .blog-shell-sidebar-col {
        position: static;
        top: auto;
        gap: 16px;
    }

    /* Tablet / stacked layout: center sidebar promo blocks (left + right rails) */
    body.blog-article-page .blog-shell-left-col .blog-dynamic-banner,
    body.blog-article-page .blog-shell-sidebar-col .blog-dynamic-banner {
        width: 100%;
        max-width: min(640px, 100%);
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        box-sizing: border-box;
    }

    body.blog-article-page .blog-shell-left-col .blog-dynamic-banner > *,
    body.blog-article-page .blog-shell-sidebar-col .blog-dynamic-banner > * {
        max-width: 100%;
    }

    body.blog-article-page .blog-shell-left-col .blog-dynamic-banner > *:only-child,
    body.blog-article-page .blog-shell-sidebar-col .blog-dynamic-banner > *:only-child {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .blog-shell-author-card-wrap {
        margin-top: 18px;
    }

    .blog-shell-author-card {
        padding: 22px 20px;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
    }

    .blog-shell-author-socials a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(40, 167, 69, 0.12);
        font-size: 18px;
    }

    .blog-shell-toc-card {
        padding: 22px 20px;
        border-radius: 14px;
        margin-top: 16px;
        background: #fff;
        box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
    }

    .blog-shell-toc-card h3 {
        font-size: 13px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        margin-bottom: 18px;
    }

    .blog-article-prose {
        margin-top: 16px;
        padding: 22px 20px 28px;
        border-radius: 14px;
        background: transparent;
        box-shadow: none;
        overflow-x: auto;
    }

    .blog-article-prose h2 {
        font-size: 28px;
        margin-top: 28px;
        color: #1a1a1a;
    }

    .blog-article-prose h2:first-child {
        margin-top: 0;
    }

    .blog-article-prose h3 {
        font-size: 21px;
    }

    .blog-article-prose p,
    .blog-article-prose li {
        font-size: 16px;
        line-height: 1.65;
        color: #333;
    }

    .blog-shell-closing-card {
        margin-top: 16px;
    }

    .blog-shell-prose-col .blog-shell-closing-card-inner {
        padding: 22px 20px;
        border-radius: 14px;
        box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
    }
}

@media only screen and (max-width: 767px) {
    body.blog-article-page .blog-article-shell {
        max-width: 100%;
        padding-top: 115px;
        padding-bottom: 28px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .blog-article-shell .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    body.blog-article-page nav.navbar:not(:has(.navbar-blog-rail)) > .preheader .container,
    body.blog-article-page nav.navbar:not(:has(.navbar-blog-rail)) > .container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    body.blog-article-page nav.navbar .navbar-blog-rail {
        max-width: 100%;
        padding: 6px 16px 8px;
    }

    .blog-shell-hero {
        border-radius: 16px;
        /* min-height: 400px; */
    }

    .blog-shell-hero > .container {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 18px;
        padding-bottom: 24px;
    }

    body.blog-article-page .blog-shell-hero > .blog-shell-cover-wrap {
        width: 216px !important;
        height: 216px !important;
        top: -50px !important;
        right: -50px !important;
    }

    .blog-shell-hero .col-lg-7 {
        padding-top: 132px;
    }

    .blog-shell-title {
        max-width: none;
        margin-top: 20px;
        font-size: clamp(28px, 7.5vw, 36px);
    }

    .blog-shell-author-card-wrap {
        margin-top: 20px;
    }

    .blog-shell-author-pic {
        width: 60px;
        height: 60px;
        border-width: 2px;
    }

    .blog-shell-author-content h2 {
        font-size: 22px;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .blog-shell-author-content p {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 16px;
    }

    .blog-shell-author-socials {
        gap: 12px;
    }

    .blog-shell-main-wrap {
        margin-top: 16px;
    }

    .blog-shell-toc-card {
        padding: 20px 18px;
    }

    #blog-contents-nav a {
        font-size: 13px;
    }

    .blog-article-prose {
        padding: 20px 18px 26px;
    }

    .blog-shell-prose-col .blog-shell-closing-card-inner {
        padding: 20px 18px;
    }

    .blog-article-prose h2 {
        font-size: 26px;
        margin-top: 36px;
        margin-bottom: 14px;
        line-height: 1.22;
    }

    .blog-article-prose h3 {
        font-size: 20px;
        margin-top: 24px;
        margin-bottom: 10px;
    }

    .blog-article-prose p,
    .blog-article-prose li {
        font-size: 16px;
        line-height: 1.65;
    }

    .blog-article-prose ul,
    .blog-article-prose ol {
        padding-left: 22px;
    }

    .blog-article-prose h2:first-child {
        margin-top: 0;
    }

    .blog-shell-meta {
        margin-bottom: 12px;
        font-size: 12px;
        line-height: 1.2;
    }

    .blog-shell-sidebar-col {
        gap: 16px;
    }

    .blog-shell-hero-banners {
        margin-top: 16px;
    }

    .blog-shell-main-wrap .row {
        gap: 0;
    }

    .blog-dynamic-banner-sidebar,
    .blog-dynamic-banner-left,
    .blog-dynamic-banner-body,
    .blog-shell-cta-card,
    .blog-shell-author-card.blog-shell-author-card-side {
        position: static;
        top: auto;
        margin-top: 24px;
    }

    .blog-shell-author-card.blog-shell-author-card-side {
        display: none;
    }

    .blog-dynamic-banner {
        border-radius: 10px;
    }

    .blog-dynamic-banner h4 {
        font-size: 29px;
        line-height: 1.2;
    }

    .blog-shell-cta-card h4 {
        font-size: 22px;
        line-height: 1.25;
    }

    .blog-dynamic-banner p {
        font-size: 16px;
        line-height: 1.55;
    }

    .blog-shell-cta-card p {
        font-size: 14px;
        line-height: 1.55;
    }

    .blog-shell-cta-btn,
    .blog-shell-cta-btn--block {
        width: 100%;
        min-width: 0;
        padding: 12px 16px;
    }

    .hide-mobile {
        display: none !important;
    }

    .hide-desktop {
        display: block !important;
    }
}

/* Scoped resets: global stylesheets must not reintroduce card borders on the blog shell. */
body.blog-article-page .blog-shell-toc-card,
body.blog-article-page .blog-shell-author-card,
body.blog-article-page .blog-article-prose,
body.blog-article-page .blog-shell-closing-card-inner,
body.blog-article-page .blog-shell-author-card-wrap .blog-shell-author-card,
body.blog-article-page .blog-banner-style-light_card {
    border: 0 !important;
}

body.blog-article-page .blog-banner-style-light_card {
    box-shadow: none !important;
}

/* Last: hero cover must use non-negative insets only (clips inside .blog-shell-hero; beats legacy/injected CSS). */
@media (min-width: 992px) and (max-width: 1199.98px) {
    body.blog-article-page .blog-shell-hero > .blog-shell-cover-wrap {
        top: -50px !important;
        right: -50px !important;
        bottom: auto !important;
        left: auto !important;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    body.blog-article-page .blog-shell-hero > .blog-shell-cover-wrap {
        top: -50px !important;
        right: -50px !important;
        bottom: auto !important;
        left: auto !important;
    }
}

@media (min-width: 1400px) {
    body.blog-article-page .blog-shell-hero > .blog-shell-cover-wrap {
        top: -100px !important;
        right: -80px !important;
        bottom: auto !important;
        left: auto !important;
    }
}

/* Newsletter (keep_in_touch) after article: match /blog listing; beat cascade from screen.css etc. */
body.blog-article-page section.newsletter {
    clear: both;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    background: #6abd62 !important;
    color: #fff !important;
    padding: 50px 0 !important;
}

body.blog-article-page section.newsletter .container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

body.blog-article-page section.newsletter h2 {
    color: #fff !important;
}

body.blog-article-page section.newsletter p {
    color: #fff !important;
    margin-bottom: 0 !important;
}

/* -------------------------------------------------------------------------- */
/* Blog article: post FAQs (section only output when BlogFaqs exist)         */
/* -------------------------------------------------------------------------- */
body.blog-article-page section.faqs.blog-shell-faqs {
    padding: 40px 24px 48px;
    margin: 0 auto;
    max-width: 1400px;
    box-sizing: border-box;
    background: transparent;
}

body.blog-article-page section.blog-shell-faqs .container {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

body.blog-article-page .blog-shell-faqs-title {
    margin: 0 0 24px;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.2;
    font-weight: 700;
    color: #536a57;
    letter-spacing: 0.02em;
}

body.blog-article-page section.blog-shell-faqs .blog-shell-faqs-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.blog-article-page section.blog-shell-faqs .blog-shell-faq-item {
    margin-bottom: 12px;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

body.blog-article-page section.blog-shell-faqs .blog-shell-faq-q {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 16px 18px 16px 46px;
    border: none !important;
    background: #fff !important;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
    color: #1a1a1a !important;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body.blog-article-page section.blog-shell-faqs .blog-shell-faq-q:hover {
    background: #f4faf4 !important;
    color: #2f6b3d !important;
}

body.blog-article-page section.blog-shell-faqs .blog-shell-faq-q.active {
    background: #f4faf4 !important;
}

body.blog-article-page section.blog-shell-faqs .blog-shell-faq-q::before {
    content: '+';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #6abd62;
    color: #6abd62;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    background: #fff;
}

body.blog-article-page section.blog-shell-faqs .blog-shell-faq-q.active::before {
    content: '\2212';
    border-color: #1a1a1a;
    color: #1a1a1a;
}

body.blog-article-page section.blog-shell-faqs .blog-shell-faq-q:hover::before {
    border-color: #2f6b3d;
    color: #2f6b3d;
}

body.blog-article-page section.blog-shell-faqs .faq-more.blog-shell-faq-a {
    display: none;
    margin: 0;
    padding: 0 18px 18px 46px;
    background: #f9fbf9 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 15px;
    line-height: 1.65;
    color: #434343 !important;
}

body.blog-article-page section.blog-shell-faqs .blog-shell-faq-a p {
    margin: 0 0 12px;
    color: #434343;
}

body.blog-article-page section.blog-shell-faqs .blog-shell-faq-a p:last-child {
    margin-bottom: 0;
}

body.blog-article-page section.blog-shell-faqs .blog-shell-faq-a a {
    color: #2f8f47;
    text-decoration: underline;
}

body.blog-article-page section.blog-shell-faqs .blog-shell-faqs-actions {
    margin-top: 28px;
}

body.blog-article-page section.blog-shell-faqs .blog-shell-faqs-more {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
}

@media only screen and (max-width: 767px) {
    body.blog-article-page section.faqs.blog-shell-faqs {
        padding: 28px 16px 32px;
    }

    body.blog-article-page section.blog-shell-faqs .blog-shell-faq-q {
        padding-left: 44px;
        font-size: 15px;
    }
}
