/* SSB single post layout: full width, no sidebar, wide hero + readable column */
body.ssb-wide-single{--ssb-wide:1240px;--ssb-read:760px}
body.ssb-wide-single #secondary,body.ssb-wide-single .primary-sidebar,body.ssb-wide-single aside.sidebar{display:none!important}
body.ssb-wide-single .content-container.site-container,
body.ssb-wide-single .site-main .content-container{max-width:var(--ssb-wide);width:100%;margin-inline:auto;padding-inline:24px;box-sizing:border-box;display:block}
body.ssb-wide-single #primary.content-area{width:100%;max-width:none;margin-top:2.5rem;margin-bottom:0}
body.ssb-wide-single .content-wrap,
body.ssb-wide-single .site-main{width:100%;max-width:none;background:transparent;box-shadow:none;border:0}
body.ssb-wide-single .single-content,
body.ssb-wide-single .entry.single-entry{background:transparent;box-shadow:none;border:0;border-radius:0}
body.ssb-wide-single .entry-content{max-width:none}
/* Kadence element row: remove its boxed width/padding */
body.ssb-wide-single .single-content .kb-row-layout-wrap>.kt-row-column-wrap{max-width:none!important;width:100%;padding-left:0!important;padding-right:0!important;padding-top:0!important}
body.ssb-wide-single .single-content .kb-row-layout-wrap{width:100%}
body.ssb-wide-single .single-content .kt-inside-inner-col{display:flex;flex-direction:column;align-items:center;width:100%}
/* hero image */
body.ssb-wide-single .single-content .wp-block-kadence-image{width:100%;order:0}
body.ssb-wide-single .single-content .wp-block-kadence-image figure{width:100%;margin:0}
body.ssb-wide-single .single-content .wp-block-kadence-image .kb-is-ratio-image{aspect-ratio:21/9;width:100%;max-height:560px;border-radius:18px;overflow:hidden;box-shadow:0 18px 50px -18px rgba(20,22,28,.35)}
body.ssb-wide-single .single-content .wp-block-kadence-image img{width:100%;height:100%;object-fit:cover;border-radius:0!important;box-shadow:none}
/* title + meta + body in reading column */
body.ssb-wide-single .single-content .wp-block-kadence-advancedheading,
body.ssb-wide-single .single-content .kb-dynamic-html{width:100%;max-width:var(--ssb-read);margin-inline:auto;box-sizing:border-box}
body.ssb-wide-single .single-content .wp-block-kadence-advancedheading:first-of-type{max-width:900px;text-align:center;font-size:clamp(30px,4vw,52px);line-height:1.12;margin:44px auto 14px;text-wrap:balance}
body.ssb-wide-single .single-content .wp-block-kadence-advancedheading:first-of-type::after{margin-inline:auto}
body.ssb-wide-single .single-content .kb-dynamic-html:not(:has(p,h2,h3)){text-align:center;color:#6b7280;font-size:15px;letter-spacing:.04em;text-transform:uppercase;margin-bottom:8px}
body.ssb-wide-single .single-content p.wp-block-kadence-advancedheading:empty{display:none}
body.ssb-wide-single .kb-dynamic-html:has(p){font-size:19px;line-height:1.85;color:#1f2430;padding-bottom:24px}
body.ssb-wide-single .kb-dynamic-html:has(p)>p:first-child{font-size:21px;line-height:1.75;color:#111}
body.ssb-wide-single .kb-dynamic-html p{margin:0 0 1.35em}
body.ssb-wide-single .kb-dynamic-html h2{font-size:clamp(26px,2.6vw,34px);line-height:1.2;margin:2.2em 0 .6em}
body.ssb-wide-single .kb-dynamic-html h3{font-size:clamp(22px,2.2vw,27px);line-height:1.25;margin:1.9em 0 .5em}
body.ssb-wide-single .kb-dynamic-html h4{font-size:20px;margin:1.6em 0 .4em}
body.ssb-wide-single .kb-dynamic-html ul,body.ssb-wide-single .kb-dynamic-html ol{margin:0 0 1.5em;padding-left:1.4em}
body.ssb-wide-single .kb-dynamic-html li{margin-bottom:.55em;padding-left:.2em}
body.ssb-wide-single .kb-dynamic-html li::marker{color:var(--ssb-red,#c8102e);font-weight:700}
body.ssb-wide-single .kb-dynamic-html blockquote{margin:2em 0;padding:20px 26px;border-left:4px solid var(--ssb-red,#c8102e);background:#faf7f4;border-radius:0 12px 12px 0;font-size:1.08em;font-style:italic}
body.ssb-wide-single .kb-dynamic-html blockquote p:last-child{margin:0}
body.ssb-wide-single .kb-dynamic-html img{display:block;max-width:100%;height:auto;border-radius:14px;margin:1.8em auto}
body.ssb-wide-single .kb-dynamic-html figure{margin:2em 0}
body.ssb-wide-single .kb-dynamic-html figcaption{text-align:center;font-size:14px;color:#6b7280;margin-top:8px}
body.ssb-wide-single .kb-dynamic-html table{display:block;width:100%;overflow-x:auto;border-collapse:collapse;margin:2em 0;font-size:16px;line-height:1.5}
body.ssb-wide-single .kb-dynamic-html th{background:#16181d;color:#fff;text-align:left;padding:12px 14px}
body.ssb-wide-single .kb-dynamic-html td{padding:11px 14px;border-bottom:1px solid #e8e3dd}
body.ssb-wide-single .kb-dynamic-html tr:nth-child(even) td{background:#faf7f4}
body.ssb-wide-single .kb-dynamic-html a{text-underline-offset:3px}
body.ssb-wide-single .kb-dynamic-html iframe{max-width:100%}
/* comments */
body.ssb-wide-single .wp-block-comments,body.ssb-wide-single #comments,body.ssb-wide-single .comments-area{max-width:var(--ssb-read);margin:56px auto 0;padding-top:36px;border-top:1px solid #e8e3dd}
body.ssb-wide-single .comment-respond input[type=text],body.ssb-wide-single .comment-respond input[type=email],body.ssb-wide-single .comment-respond input[type=url],body.ssb-wide-single .comment-respond textarea{width:100%;box-sizing:border-box;border-radius:10px}
body.ssb-wide-single .single-content>.kb-row-layout-wrap+.kb-row-layout-wrap{margin-top:0}
/* related */
.ssb-related{max-width:var(--ssb-wide,1240px);margin:72px auto 0;padding:48px 24px 0;border-top:1px solid #e8e3dd;box-sizing:border-box}
.ssb-related__title{font-family:var(--ssb-serif,inherit);font-size:clamp(26px,3vw,34px);margin:0 0 28px;text-align:center}
.ssb-related__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.ssb-related__card{display:flex;flex-direction:column;text-decoration:none;color:inherit;background:#fff;border-radius:14px;overflow:hidden;border:1px solid #e8e3dd;box-shadow:0 1px 2px rgba(20,22,28,.04),0 6px 18px rgba(20,22,28,.05);transition:transform .3s,box-shadow .3s}
.ssb-related__card:hover{transform:translateY(-4px);box-shadow:0 2px 6px rgba(20,22,28,.06),0 18px 36px -10px rgba(20,22,28,.18)}
.ssb-related__img{display:block;aspect-ratio:16/10;overflow:hidden;background:#ece7e1}
.ssb-related__img img{width:100%;height:100%;object-fit:cover;display:block}
.ssb-related__name{display:block;padding:16px 18px 4px;font-weight:700;font-size:18px;line-height:1.3}
.ssb-related__date{display:block;padding:0 18px 18px;font-size:13px;color:#6b7280}
/* generous bottom space */
body.ssb-wide-single .content-container.site-container{padding-bottom:40px}
body.ssb-wide-single #primary.content-area{margin-bottom:5rem}
@media(max-width:900px){.ssb-related__grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){
 body.ssb-wide-single .content-container.site-container{padding-inline:16px}
 body.ssb-wide-single #primary.content-area{margin-top:1.25rem;margin-bottom:3rem}
 body.ssb-wide-single .single-content .wp-block-kadence-image .kb-is-ratio-image{aspect-ratio:16/10;border-radius:12px}
 body.ssb-wide-single .kb-dynamic-html:has(p){font-size:17.5px;line-height:1.8}
 body.ssb-wide-single .kb-dynamic-html:has(p)>p:first-child{font-size:18.5px}
 .ssb-related{margin-top:48px;padding-inline:16px}
 .ssb-related__grid{grid-template-columns:1fr}
}

/* ===== SSB wide-single v2 (Pixel, news full-width task): hero ratio fix, clean title rule, polish. Delete this block to revert. ===== */
body.ssb-wide-single .single-content .wp-block-kadence-image .kb-is-ratio-image{padding:0!important;height:auto!important;position:relative}
body.ssb-wide-single .single-content .wp-block-kadence-image .kb-is-ratio-image::before{display:none!important}
body.ssb-wide-single .single-content .wp-block-kadence-image .kb-is-ratio-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 30%!important}
body.ssb-wide-single .single-content .wp-block-kadence-advancedheading:first-of-type{border-bottom:0!important;padding-bottom:0;margin-bottom:10px}
body.ssb-wide-single .single-content .wp-block-kadence-advancedheading:first-of-type::after{display:block;content:"";width:72px;height:3px;background:var(--ssb-red,#c8102e);margin:20px auto 0;position:static;border-radius:2px}
body.ssb-wide-single .single-content .kb-dynamic-html:not(:has(p,h2,h3)){margin-bottom:26px;padding-bottom:0}
body.ssb-wide-single .kb-dynamic-html h2{border-bottom:0;padding-bottom:0;padding-left:16px;border-left:4px solid var(--ssb-red,#c8102e)}
body.ssb-wide-single .kb-dynamic-html h2::after{display:none}
body.ssb-wide-single .kb-dynamic-html>p:first-child{border-bottom:1px solid #e8e3dd;padding-bottom:1.2em}
body.ssb-wide-single .kb-dynamic-html:has(p){padding-bottom:8px}
body.ssb-wide-single .kb-dynamic-html>p:first-child::first-line{font-weight:inherit}
@media(max-width:640px){body.ssb-wide-single .kb-dynamic-html h2{padding-left:12px}body.ssb-wide-single .single-content .wp-block-kadence-advancedheading:first-of-type{font-size:28px}}

/* ===== SSB wide-single v3 (Pixel, t270): truly full width. Delete this block to revert to v2. ===== */
body.ssb-wide-single{--ssb-wide:1800px;--ssb-read:1240px}
body.ssb-wide-single .content-container.site-container,
body.ssb-wide-single .site-main .content-container{max-width:var(--ssb-wide);padding-inline:clamp(16px,3.5vw,64px)}
body.ssb-wide-single .single-content .wp-block-kadence-image .kb-is-ratio-image{aspect-ratio:21/8;max-height:680px;border-radius:16px}
body.ssb-wide-single .single-content .wp-block-kadence-advancedheading:first-of-type{max-width:1240px;font-size:clamp(30px,4.2vw,64px)}
body.ssb-wide-single .kb-dynamic-html:has(p){font-size:clamp(18px,1.15vw,21px);line-height:1.8}
body.ssb-wide-single .kb-dynamic-html:has(p)>p:first-child{font-size:clamp(20px,1.3vw,24px)}
body.ssb-wide-single .kb-dynamic-html:has(p,h2,h3){max-width:var(--ssb-read)}
@media(max-width:640px){body.ssb-wide-single .single-content .wp-block-kadence-image .kb-is-ratio-image{aspect-ratio:16/10}body.ssb-wide-single .kb-dynamic-html:has(p){font-size:17.5px}}

/* ===== SSB refined title v4 (Pixel): smaller, tidier single-post title + meta. Delete this block to revert. ===== */
body.ssb-wide-single .single-content .wp-block-kadence-advancedheading:first-of-type{max-width:820px;font-size:clamp(28px,2.4vw,36px);line-height:1.22;font-weight:700;letter-spacing:-.005em;margin:36px auto 12px;text-wrap:balance}
body.ssb-wide-single .single-content .wp-block-kadence-advancedheading:first-of-type::after{width:56px;height:3px;margin:18px auto 0}
body.ssb-wide-single .single-content .kb-dynamic-html:not(:has(p,h2,h3)){font-size:13px;font-weight:500;letter-spacing:.12em;margin:0 auto 30px;padding-top:2px}
@media(max-width:640px){body.ssb-wide-single .single-content .wp-block-kadence-advancedheading:first-of-type{font-size:25px;line-height:1.25;margin:26px auto 10px;max-width:100%}body.ssb-wide-single .single-content .wp-block-kadence-advancedheading:first-of-type::after{width:48px;margin-top:14px}body.ssb-wide-single .single-content .kb-dynamic-html:not(:has(p,h2,h3)){font-size:12px;margin-bottom:22px}}

/* ===== SSB refined title v4b (Pixel): h1.entry-title on bios/movies/other single types. Delete this block to revert. ===== */
body.ssb-wide-single h1.entry-title{font-size:clamp(26px,2.4vw,36px);line-height:1.22;font-weight:700;letter-spacing:-.005em;max-width:860px;margin:0 0 18px;text-wrap:balance}
body.ssb-wide-single .entry-header{margin-bottom:0}
body.ssb-wide-single .entry-meta{font-size:13px;letter-spacing:.06em;color:#6b7280}
@media(max-width:640px){body.ssb-wide-single h1.entry-title{font-size:24px;line-height:1.25;margin-bottom:14px}}
