/* Article design is scoped to ordinary single posts. Native theme content and ad hooks remain. */
body.b5m-editorial,body.b5m-editorial #tie-container,body.b5m-editorial #tie-wrapper{background:#17191d!important;background-image:none!important}
body.b5m-editorial #tie-wrapper>.rainbow-line{display:none}
body.b5m-editorial .b5m-masthead .b5m-brand picture{display:block}
body.b5m-editorial .b5m-masthead a[aria-current="location"]{border-bottom:2px solid var(--b5m-nav-color,#abb8c0)}
body.b5m-article #content{max-width:1240px;padding-top:28px}
body.b5m-article .featured-area{margin-top:22px;margin-bottom:24px;background:transparent}
body.b5m-article .featured-area-inner{max-width:1180px;margin:auto}
body.b5m-article .single-featured-image{margin:0;border-radius:6px;overflow:hidden;background:#21242a}
body.b5m-article .single-featured-image img{display:block;width:100%;height:clamp(190px,25vw,300px)!important;max-height:300px;object-fit:cover;object-position:center 35%}
body.b5m-article #the-post{background:transparent;border:0;box-shadow:none;padding:0 24px 24px 0}
body.b5m-article .entry-header-outer,body.b5m-article .entry-header{background:transparent;padding:0!important;margin:0 0 22px!important}
body.b5m-article .entry-title{font-family:Arial,Helvetica,sans-serif;color:#f4f3ef;font-size:clamp(32px,3.6vw,46px);line-height:1.12;letter-spacing:-.035em;font-weight:750;margin:12px 0 18px}
body.b5m-article .entry-sub-title{color:#bac4ce}
body.b5m-article #the-post .entry-content{font-family:Arial,Helvetica,sans-serif;font-size:18px;line-height:1.85;color:#dce0e5;overflow-wrap:break-word}
body.b5m-article #the-post .entry-content>p{margin:0 0 1.35em;line-height:1.85}
body.b5m-article #the-post .entry-content>h2,body.b5m-article #the-post .entry-content>h3{font-family:Arial,Helvetica,sans-serif;color:#f4f3ef;font-size:27px;line-height:1.28;letter-spacing:-.025em;margin:44px 0 20px;padding:0 0 0 16px;border-left:4px solid var(--b5m-accent,#4b7a87);font-weight:700}
body.b5m-article #the-post .entry-content>h3{font-size:23px}
body.b5m-article #the-post .entry-content a:not(.b5m-card-link):not(.b5m-button):not(.google-anno){color:var(--b5m-link,#c4dce6);text-decoration:underline;text-underline-offset:3px}
body.b5m-article #the-post .entry-content a:hover{color:#fff}
body.b5m-article #the-post .entry-content>ul,body.b5m-article #the-post .entry-content>ol{padding-left:26px;margin:20px 0 30px}
body.b5m-article #the-post .entry-content li{margin-bottom:10px}
body.b5m-article #the-post .entry-content hr{border:0;border-top:1px solid #363d45;background:none;margin:36px 0;height:0}
body.b5m-article #the-post .entry-content blockquote{background:#222830;border-left:4px solid var(--b5m-accent);padding:22px 26px;color:#eef0f3}
body.b5m-article .b5m-episode{margin:0 0 32px;padding:18px;background:#212830;border:1px solid #3c4550;border-top:3px solid var(--b5m-accent);border-radius:6px}
body.b5m-article .b5m-episode-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px}
body.b5m-article .b5m-episode-heading h2{font-family:Arial,Helvetica,sans-serif;font-size:17px;line-height:1.4;font-weight:700;color:#fff;margin:0;padding:0;border:0}
body.b5m-article .b5m-episode-heading a{font-size:12px;line-height:1.5}
body.b5m-article .b5m-episode iframe{display:block;width:100%!important;max-width:100%;border:0;margin:0}
body.b5m-article #the-post .schema-faq-section{padding:20px 22px;background:#21262d;border:1px solid #363e47;border-radius:5px;margin:0 0 14px}
body.b5m-article #the-post .schema-faq-question{display:block;font-size:18px;font-weight:700;line-height:1.5;color:#f4f3ef;margin-bottom:10px}
body.b5m-article #the-post .schema-faq-answer{font-size:16px;line-height:1.75;color:#ccd3db;margin:0}
body.b5m-article #the-post [data-b5m-section]+ul{padding:22px 24px 16px 44px!important;background:#21262d;border:1px solid #363e47;border-radius:5px;font-size:16px}
body.b5m-article .sidebar .widget{background:#20252c;border:1px solid #363e47;border-radius:5px;padding:22px;margin-bottom:24px;box-shadow:none}
body.b5m-article .sidebar .widget-title{font-family:Arial,Helvetica,sans-serif;font-size:17px;line-height:1.45;color:#f4f3ef;border:0;border-left:3px solid var(--b5m-accent);padding-left:12px;margin-bottom:18px}
body.b5m-article .sidebar .widget-title .the-subtitle{background:transparent!important;color:#f4f3ef!important;padding:0!important;font-size:17px}
body.b5m-article .sidebar .widget-title:after,body.b5m-article .sidebar .widget-title:before{display:none}
body.b5m-article .sidebar .widget-title .widget-title-icon{display:none}
body.b5m-article .sidebar a{color:#e6eaee}
body.b5m-article .sidebar iframe{max-width:100%}
body.b5m-article #related-posts{display:none}
body.b5m-article .b5m-related-stories{padding-top:30px;margin-top:40px;border-top:1px solid #3b414a}
body.b5m-article .b5m-related-stories .b5m-card-grid{gap:14px}
body.b5m-article .b5m-related-stories .b5m-card-copy{padding:16px}
body.b5m-article .b5m-related-stories .b5m-card h3{font-size:19px;line-height:1.25}
body.b5m-article .b5m-related-stories .b5m-card p{display:none}
body.b5m-article .b5m-related-stories .b5m-read{font-size:11px}
body.b5m-article .b5m-related-stories .b5m-card-link{color:#f4f3ef!important;text-decoration:none!important}
body.b5m-article .post-bottom-tags{padding-top:28px;border-top:1px solid #363d45;margin-top:32px;font-size:12px;line-height:1.6}
body.b5m-article .post-bottom-tags a{display:inline-block;background:#252b33;border:1px solid #414b56;border-radius:3px;padding:5px 8px;margin:3px;color:#d7e0e9!important;text-decoration:none!important}
.b5m-category .b5m-archive-heading{border-left:4px solid var(--b5m-accent);padding:8px 0 8px 24px;margin:34px 0 36px}
.b5m-category .b5m-archive-heading h1{font-size:clamp(34px,4vw,48px);line-height:1.15;margin-bottom:16px;color:#f4f3ef}
.b5m-category .b5m-archive-intro{max-width:820px;font-size:17px;line-height:1.8;color:#bdc7d1;margin-bottom:22px}
.b5m-category .b5m-archive-intro p{margin-bottom:12px}
.b5m-category .pagination{margin:36px 0;text-align:center}
.b5m-category .nav-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.b5m-category .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px 14px;border:1px solid #48535f;border-radius:4px;color:#eef2f5;background:#242b33;font-size:14px}
.b5m-category .page-numbers.current{background:var(--b5m-accent);color:var(--b5m-ink);border-color:var(--b5m-accent)}
.b5m-category .page-numbers:hover{background:#3b4652;color:#fff}
@media(min-width:992px){body.b5m-article #content .main-content{width:70%}body.b5m-article #content .sidebar{width:30%}}
@media(max-width:991px){body.b5m-article #the-post{padding:0 0 24px}body.b5m-article .sidebar{margin-top:30px}}
@media(max-width:700px){body.b5m-article #content{padding-top:20px}body.b5m-article .featured-area{margin-top:16px}body.b5m-article .single-featured-image img{height:200px!important}body.b5m-article #the-post .entry-content{font-size:17px;line-height:1.8}body.b5m-article #the-post .entry-content>h2{font-size:24px;margin-top:34px}body.b5m-article .b5m-episode{padding:12px}body.b5m-article .b5m-episode-heading{flex-direction:column;align-items:flex-start;gap:6px}body.b5m-article .b5m-related-stories .b5m-card-grid{grid-template-columns:1fr}.b5m-category .b5m-archive-heading{padding-left:16px;margin-top:26px}.b5m-category .b5m-archive-intro{font-size:16px}}
.b5m-category .b5m-home{--b5m-accent:inherit;--b5m-ink:inherit}
/* 1.3: Title overlay and a controllable focal point. Grid lets long titles increase height safely. */
body.b5m-article .single-featured-image{display:grid;position:relative;isolation:isolate}
body.b5m-article .single-featured-image img{grid-area:1/1;width:100%;height:100%!important;min-height:290px;max-height:none;aspect-ratio:4/1;object-fit:cover;object-position:50% var(--b5m-image-focus,20%)}
body.b5m-article .single-featured-image:has(.b5m-hero-title):after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(0deg,rgba(7,11,17,.92),rgba(7,11,17,.5) 38%,transparent 82%)}
body.b5m-article .b5m-hero-title{grid-area:1/1;align-self:end;z-index:1;position:relative;padding:60px 34px 28px;margin:0;max-width:100%;background:transparent}
body.b5m-article .b5m-hero-title .entry-header{margin:0!important;padding:0!important}
body.b5m-article .b5m-hero-title .entry-title{font-size:clamp(28px,3.4vw,44px);line-height:1.13;color:#fff;margin:10px 0 0!important;text-shadow:0 2px 14px #0008;max-width:1000px}
body.b5m-article .b5m-hero-title .post-cat{background:var(--b5m-accent);color:var(--b5m-ink);border-radius:3px;font-size:12px;padding:5px 10px}
body.b5m-article #the-post .entry-content{padding:0 0 30px!important}
body.b5m-article #the-post .entry-content>.b5m-episode:first-child{margin-top:0}
body.b5m-article .main-content-row>.main-content,body.b5m-article .main-content-row>.sidebar{padding-top:0!important}
.b5m-footer{background:#1d2228;color:#c5ccd4;font:14px/1.7 Arial,Helvetica,sans-serif;border-top:1px solid #3d4650;margin-top:48px;text-align:left;clear:both}
.b5m-footer *{box-sizing:border-box}
.b5m-footer-inner{max-width:1240px;margin:auto;padding:42px 30px 20px}
.b5m-footer-grid{display:grid;grid-template-columns:1.3fr 1.2fr 1fr;gap:42px}
.b5m-footer a{color:#d9e1e8!important;text-decoration:none!important}
.b5m-footer a:hover{color:#fff!important;text-decoration:underline!important;text-underline-offset:3px}
.b5m-footer a:focus-visible{outline:2px solid #fff;outline-offset:4px}
.b5m-footer-brand img{display:block;width:230px;height:auto;max-width:100%;margin:0 0 18px}
.b5m-footer-brand p{font:14px/1.8 Arial,Helvetica,sans-serif;color:#bdc7d0;margin:0 0 16px}
.b5m-footer h2{font:700 14px/1.4 Arial,Helvetica,sans-serif;letter-spacing:.01em;color:#f4f3ef;margin:0 0 16px;padding:0;border:0}
.b5m-footer ul{list-style:none!important;margin:0!important;padding:0!important}
.b5m-footer li{list-style:none!important;padding:0;margin:0 0 4px}
.b5m-footer li a{display:inline-flex;align-items:center;gap:9px;padding:5px 0;min-height:34px;font-size:13px}
.b5m-footer-collections{display:grid;grid-template-columns:1fr 1fr;column-gap:18px}
.b5m-footer-listen{font-size:13px;font-weight:700;display:inline-flex;gap:18px;align-items:center;padding:5px 0}
.b5m-footer-disclosure{margin-top:30px;padding:18px 0;border-top:1px solid #38414b;color:#aeb9c4;font-size:12px}
.b5m-footer-disclosure strong{color:#d1d9e1;font-size:12px}
.b5m-footer-disclosure p{font-size:12px;line-height:1.7;margin:4px 0 0}
.b5m-footer-bottom{border-top:1px solid #38414b;padding-top:16px;display:flex;justify-content:space-between;gap:18px;color:#aeb9c4;font-size:12px}
@media(max-width:800px){.b5m-footer-grid{grid-template-columns:1fr 1fr;gap:28px}.b5m-footer-brand{grid-column:1/-1}.b5m-footer-inner{padding:30px 22px 20px}}
@media(max-width:700px){body.b5m-article .single-featured-image img{min-height:230px;aspect-ratio:2/1}body.b5m-article .b5m-hero-title{padding:48px 20px 22px}body.b5m-article .b5m-hero-title .entry-title{font-size:28px}}
@media(max-width:480px){.b5m-footer-grid{grid-template-columns:1fr}.b5m-footer-brand{grid-column:auto}.b5m-footer-bottom{flex-direction:column;gap:6px}}
body.b5m-editorial,body.b5m-editorial #tie-container,body.b5m-editorial #tie-wrapper{background:#f7f5f0!important;color:#252a2e;--b5m-accent:#3ea9f7!important;--b5m-link:#287db9!important}
.b5m-masthead{max-width:none!important;margin:0!important;padding-left:max(24px,calc((100vw - 1180px)/2));padding-right:max(24px,calc((100vw - 1180px)/2));background:#f1f7fa!important;border-bottom:4px solid #3ea9f7!important}.b5m-footer{background:#152a3a!important;border-top:4px solid #3ea9f7!important}.b5m-episode{background:#eaf6fe!important;border-color:#b9def5!important;color:#152a3a!important}
body.b5m-article .entry-content,body.b5m-article .entry-content p{color:#252a2e}body.b5m-article .entry-content h2,body.b5m-article .entry-content h3{color:#152a3a}
/* Light-canvas contrast: override the earlier charcoal-theme heading rules. */
body.b5m-article #the-post .entry-content>h2,body.b5m-article #the-post .entry-content>h3{color:#152a3a!important}
body.b5m-editorial.page .main-content .entry-title{color:#152a3a!important;text-shadow:none}
body.b5m-editorial.page .sidebar .widget{background:#eef5f8;border:1px solid #cadbe4;border-radius:10px;padding:18px;margin-bottom:18px;box-shadow:none;color:#252a2e}
body.b5m-editorial.page .sidebar .widget-title,body.b5m-editorial.page .sidebar .widget-title .the-subtitle{background:transparent!important;color:#152a3a!important;border:0!important}
body.b5m-editorial.page .sidebar .widget-title{border-left:3px solid #3ea9f7!important;padding-left:12px;margin-bottom:14px}
body.b5m-editorial.page .sidebar .widget-title:before,body.b5m-editorial.page .sidebar .widget-title:after{display:none!important}
body.b5m-editorial.page .sidebar a,body.b5m-editorial.page .sidebar li,body.b5m-editorial.page .sidebar p{color:#34434d}
.b5m-under-hero-meta{display:flex;justify-content:flex-end;padding:9px 4px 0;color:#62717c;font-size:13px;line-height:1.4}
body.b5m-article .b5m-hero-title .post-cat-wrap{display:block;margin-bottom:8px}body.b5m-article .b5m-hero-title .entry-title{margin:0!important}body.b5m-article .b5m-hero-title{padding-top:80px;padding-bottom:24px}
body.b5m-article .sidebar .widget{border-radius:10px;padding:18px;margin-bottom:18px}body.b5m-article .sidebar .widget-title{margin-bottom:14px}body.b5m-article .sidebar .posts-list-items>li:nth-child(n+5){display:none!important}body.b5m-article .sidebar .posts-list-items>li:not(:first-child){display:grid!important;grid-template-columns:84px 1fr;gap:12px;align-items:center;margin-top:12px}body.b5m-article .sidebar .posts-list-items>li:not(:first-child) .post-widget-thumbnail{width:84px!important;height:58px!important;margin:0!important}body.b5m-article .sidebar .posts-list-items>li:not(:first-child) .post-widget-thumbnail img{width:84px!important;height:58px!important;object-fit:cover;border-radius:5px}body.b5m-article .sidebar .posts-list-items>li:not(:first-child) .post-widget-body{padding:0!important}body.b5m-article .sidebar .posts-list-items>li:not(:first-child) .post-title{font-size:14px;line-height:1.35}
@media(max-width:700px){.b5m-under-hero-meta{padding-right:0}.floatingchat-container-wrap{right:10px!important;bottom:10px!important;transform:scale(.78)}}
/* 1.0.3: complete the light-canvas contrast pass. */
.b5m-category .b5m-archive-heading h1{color:#152a3a!important}.b5m-category .b5m-archive-intro,.b5m-category .b5m-archive-intro p{color:#34434d!important}
body.b5m-editorial.page #the-post .entry-content h2,body.b5m-editorial.page #the-post .entry-content h3,body.b5m-editorial.page #the-post .entry-content h4{color:#152a3a!important}
body.b5m-editorial.page #the-post .entry-content a{color:#176da8}
body.b5m-article .post-bottom-tags .tagcloud{color:#52616c!important}
body.b5m-article .about-author{background:#fff;border:1px solid #dce3e7;border-radius:10px;color:#34434d}
body.b5m-article .about-author .author-name,body.b5m-article .about-author .author-name a{color:#152a3a!important}
body.b5m-article .about-author .author-bio{color:#52616c!important}
body.b5m-article .b5m-related-stories .b5m-card h3,body.b5m-article .b5m-related-stories .b5m-card h3 a{color:#fff!important}
body.b5m-article .b5m-hero-title .post-cat-wrap,body.b5m-article .b5m-hero-title .post-cat{color:var(--b5m-ink)!important}
body.b5m-editorial .sidebar .widget_categories ul{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0!important}
body.b5m-editorial .sidebar .widget_categories li{margin:0!important;padding:0!important;border:0!important}
body.b5m-editorial .sidebar .widget_categories li a{display:block;padding:9px 10px;border:1px solid #44515d;border-radius:6px;line-height:1.3}
body.b5m-article .sidebar .widget_categories li a:hover{border-color:#3ea9f7;background:#29313a}
body.b5m-editorial.page .sidebar .widget_categories li a{border-color:#d2dce2;color:#244154!important;background:#f8fbfc}
body.b5m-editorial.page .sidebar .widget_categories li a:hover{border-color:#3ea9f7;background:#eaf6fe;color:#152a3a!important}
body.b5m-editorial .sidebar .widget_categories li span{display:none!important}
/* 1.0.4: useful, compact sidebar shared by articles and standard pages. */
body.b5m-editorial .sidebar .posts-list-items>li:nth-child(n+6){display:none!important}
body.b5m-editorial.page .sidebar .posts-list-items>li:not(:first-child){display:grid!important;grid-template-columns:78px 1fr;gap:11px;align-items:center;margin-top:11px}
body.b5m-editorial.page .sidebar .posts-list-items>li:not(:first-child) .post-widget-thumbnail{width:78px!important;height:54px!important;margin:0!important}
body.b5m-editorial.page .sidebar .posts-list-items>li:not(:first-child) .post-widget-thumbnail img{width:78px!important;height:54px!important;object-fit:cover;border-radius:5px}
.b5m-sidebar-topics{display:grid;grid-template-columns:1fr 1fr;gap:8px;list-style:none!important;margin:0 0 14px!important;padding:0!important}.b5m-sidebar-topics li{margin:0!important;padding:0!important}.b5m-sidebar-topics a{display:flex!important;justify-content:space-between;gap:6px;align-items:center;min-height:48px;padding:9px 10px;border:1px solid #d2dce2;border-radius:6px;background:#f8fbfc;color:#244154!important;font-size:13px;font-weight:700;line-height:1.25}.b5m-sidebar-topics a:hover{border-color:#3ea9f7;background:#eaf6fe}.b5m-sidebar-random{display:block;margin:0 0 12px;padding:11px 13px;border-radius:6px;background:#3ea9f7;color:#102433!important;text-align:center;font-weight:750}.b5m-sidebar-search{display:grid;grid-template-columns:1fr auto;gap:7px}.b5m-sidebar-search input{min-width:0;width:100%;padding:10px;border:1px solid #bdcbd4;border-radius:6px;background:#fff;color:#252a2e}.b5m-sidebar-search button{padding:10px 12px;border:0;border-radius:6px;background:#152a3a;color:#fff;font-weight:700;cursor:pointer}
body.b5m-article .b5m-sidebar-topics a{background:#29313a;border-color:#44515d;color:#eef2f5!important}body.b5m-article .b5m-sidebar-topics a:hover{border-color:#3ea9f7;background:#313c47}body.b5m-article .b5m-sidebar-search input{background:#171b20;color:#f4f3ef;border-color:#596675}

/* 1.0.5: a light masthead gives the new blue-and-navy logo enough contrast. */
.b5m-masthead,.b5m-masthead a{color:#152a3a!important}
.b5m-masthead a:hover{color:#0d5f98!important;background:#e2f1f9}
.b5m-masthead .b5m-brand:hover{background:transparent}
.b5m-masthead .b5m-header-tools form{background:#fff;border-color:#b9cbd5}
.b5m-masthead .b5m-header-tools input{color:#152a3a!important}
.b5m-masthead .b5m-header-tools input::placeholder{color:#60717c}
.b5m-masthead .b5m-header-tools button{color:#176da8!important}
.b5m-masthead .b5m-subnav summary{color:#244154}
.b5m-masthead .b5m-subnav>ul{background:#fff;border-color:#cad7df;box-shadow:0 10px 24px rgba(21,42,58,.16)}
.b5m-masthead .b5m-mobile-nav{border-color:#cadbe4}
.b5m-masthead a:focus-visible,.b5m-masthead button:focus-visible,.b5m-masthead summary:focus-visible,.b5m-masthead input:focus-visible{outline-color:#176da8!important}
body.b5m-about #the-post{background:#fff!important;border:1px solid #dce3e7!important;border-radius:12px;padding:32px 36px!important}body.b5m-about #the-post .entry-title{color:#152a3a!important}body.b5m-about #the-post .entry-content{color:#34434d;font-size:17px;line-height:1.8}body.b5m-about #the-post .entry-content>p:first-child{font-size:20px;color:#152a3a}body.b5m-about #the-post .entry-content h2{color:#152a3a!important;margin:30px 0 14px}
@media(max-width:600px){.b5m-sidebar-topics{grid-template-columns:1fr}.b5m-sidebar-search{grid-template-columns:1fr}body.b5m-about #the-post{padding:24px 20px!important}}

/* 1.0.6: use the preferred charcoal sidebar on standard pages too. */
body.b5m-editorial.page .sidebar .widget{background:#20252c!important;border-color:#363e47!important;color:#e6eaee!important}
body.b5m-editorial.page .sidebar .widget-title,body.b5m-editorial.page .sidebar .widget-title .the-subtitle{color:#f4f3ef!important}
body.b5m-editorial.page .sidebar a,body.b5m-editorial.page .sidebar li,body.b5m-editorial.page .sidebar p{color:#e6eaee!important}
body.b5m-editorial.page .sidebar .widget_categories li a,body.b5m-editorial.page .b5m-sidebar-topics a{background:#29313a!important;border-color:#44515d!important;color:#eef2f5!important}
body.b5m-editorial.page .sidebar .widget_categories li a:hover,body.b5m-editorial.page .b5m-sidebar-topics a:hover{background:#313c47!important;border-color:#3ea9f7!important;color:#fff!important}
body.b5m-editorial.page .b5m-sidebar-search input{background:#171b20!important;color:#f4f3ef!important;border-color:#596675!important}
body.b5m-editorial.page .b5m-sidebar-search input::placeholder{color:#aeb9c4}
body.b5m-editorial.page .b5m-sidebar-search button{background:#3ea9f7;color:#102433}

/* Align the article hero with the first sidebar card on desktop. */
@media(min-width:992px){body.b5m-article .featured-area{margin-top:0!important}}
