/* Keep the original article's banner, typography, colours and two-column copy. */
.blog-detail-header-space{height:var(--blog-detail-nav,105px)}
.blog-detail-section,.blog-detail-section .elementor-inner-section{padding-block:0!important;margin-block:0!important}
.blog-detail-section .elementor-column-wrap,.blog-detail-section .elementor-widget-wrap{padding-block:0!important}
.blog-detail-container{width:var(--blog-detail-width,100%)!important;max-width:100%!important;padding-inline:var(--blog-detail-padding,15px)!important;box-sizing:border-box}
.blog-detail-wrap{padding-top:24px}
.blog-detail-section .blog-detail-title{font:700 clamp(26px,2.5vw,36px)/1.25 Arial,sans-serif;text-align:left!important;word-spacing:normal;letter-spacing:normal}
.blog-detail-section .blog-content{font:400 17px/1.65 Arial,sans-serif}
.blog-detail-section .blog-content :is(h2,h3,h4,h5,h6,.blog-subheading){font:600 22px/1.35 Arial,sans-serif!important;text-align:left!important;text-align-last:left!important;text-justify:none!important;word-spacing:normal!important;letter-spacing:normal!important;margin:0 0 14px}
.blog-detail-section .blog-content p:not(.blog-subheading){font:400 17px/1.65 Arial,sans-serif;margin-bottom:22px}
.blog-detail-meta{margin-bottom:20px}
.blog-article-screen{min-height:var(--blog-screen-height,auto);padding-block:0 24px;box-sizing:border-box;scroll-margin-top:var(--blog-detail-nav,105px)}
.blog-article-screen+.blog-article-screen{padding-top:24px}
.blog-article-screen .blog-content{height:var(--blog-copy-height,auto);column-fill:auto;overflow:visible;margin:0}
.blog-article-screen .blog-content>:first-child{margin-top:0}
.blog-article-screen .blog-content p{break-inside:auto}
.blog-article-screen .blog-subheading:not(:first-child){break-before:auto}
.blog-article-screen .blog-content :is(h2,h3,h4,h5,h6,.blog-subheading){break-after:avoid}
.blog-article-screen.blog-screen-overflow{min-height:0}
.blog-article-screen.blog-screen-overflow .blog-content{height:auto;column-fill:balance}
/* Keep the final button beside the content; remaining screen space follows the button. */
.blog-article-final>.blog-button{display:inline-block;margin-top:18px}
.blog-article-screen.blog-article-final{min-height:0}
.blog-article-screen.blog-article-final .blog-content{height:auto;column-fill:balance}
@media(max-width:991px){
 .blog-article-screen{min-height:0;padding-bottom:20px}
 .blog-article-screen .blog-content{height:auto;column-count:1}
}
@media print{
 .blog-article-screen{min-height:0;break-after:auto}
 .blog-article-screen .blog-content{height:auto;column-count:1}
}

/* Keep section headings with the beginning of their section. */
.blog-reading-block{break-inside:avoid-column}
.blog-reading-block:has(>h2,>h3,>h4,>h5,>h6,>.blog-subheading){break-inside:avoid}
.blog-detail-section .blog-content{overflow-wrap:anywhere}
.blog-detail-section .blog-content :is(p,li,div){text-align:justify;text-align-last:start}
.blog-detail-section .blog-content :is(ul,ol){padding-left:1.6em;margin:0 0 18px}
.blog-detail-section .blog-content .blog-subheading{text-align:left!important}
.blog-detail-section .blog-content .blog-reading-block>div:not(.blog-subheading){margin-bottom:18px}
.blog-featured{max-width:960px;margin:0 auto 28px;text-align:center}
.blog-featured img{display:block;max-width:100%;max-height:320px;width:auto;height:auto;margin:auto;object-fit:contain}
.blog-detail-section .blog-content .blog-subheading{break-before:auto!important}

/* Opening image and copy share a row; subsequent complete sections read across rows. */
.blog-article-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:start;margin:28px 0 32px}
.blog-article-intro .blog-featured{width:100%;max-width:none;margin:0}
.blog-article-intro .blog-featured img{width:100%;height:auto;max-height:none;margin:0;object-fit:contain}
.blog-detail-section .blog-content.blog-intro-copy{column-count:1!important;height:auto;min-width:0}
.blog-detail-section .blog-content.blog-section-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px 36px;column-count:auto!important;height:auto;margin-bottom:24px}
.blog-section-grid>.blog-reading-block{min-width:0}
.blog-section-grid>.blog-reading-block>:last-child,.blog-intro-copy .blog-reading-block>:last-child{margin-bottom:0}
@media(max-width:767px){.blog-article-intro,.blog-detail-section .blog-content.blog-section-grid{grid-template-columns:minmax(0,1fr);gap:24px}.blog-article-intro{margin-top:20px}}
@media print{.blog-article-intro,.blog-detail-section .blog-content.blog-section-grid{display:block}}

/* Each desktop article view uses the shared guided section scrolling. */
@media(min-width:992px){
 .blog-layout-screen{padding:24px 0;overflow:visible}
 .blog-layout-screen:first-of-type{padding-top:0}
 .blog-layout-screen .blog-article-intro{margin:24px 0}
 .blog-layout-screen .blog-featured img{max-height:min(34svh,300px);width:100%;object-fit:contain;object-position:left top}
 .blog-layout-screen .blog-content.blog-section-grid{height:auto;column-count:auto;column-fill:initial;margin:0}
 .blog-layout-screen .blog-button{margin-top:20px}
}
@media print{.blog-layout-screen{min-height:0!important}}

/* Paragraph flow: opening image/copy, then equal reading columns per view. */
.blog-flow-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px}
.blog-detail-section .blog-content.blog-flow-column{column-count:1!important;column-fill:auto;min-width:0;overflow:visible}
.blog-flow-column>*{break-before:auto!important;break-inside:auto!important}
.blog-flow-column>:last-child{margin-bottom:0!important}
.blog-flow-view .blog-article-intro{align-items:start;gap:40px}
.blog-flow-view .blog-article-intro .blog-featured img{max-height:inherit;width:100%;height:auto;object-fit:contain;object-position:left top}
.blog-flow-view .blog-content :is(p,li){margin-bottom:18px}
.blog-flow-view .blog-content :is(h2,h3,h4,h5,h6){margin-top:0;margin-bottom:14px}
.blog-flow-final{min-height:0!important}
@media(max-width:991px){.blog-detail-section .blog-content{column-count:1!important}.blog-featured{max-width:640px}}

.blog-detail-section .blog-content.blog-flow-column{min-height:0!important;align-self:start}

.blog-detail-section .blog-content.blog-flow-column{columns:auto!important;column-count:auto!important}
