/* Skill Beings Blog v1.1.0 — single post styles */
.sbb-single{position:relative;width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);padding:0 0 80px;background:#fff}
.sbb-read{width:min(820px,calc(100% - var(--sb-gut)));margin-inline:auto}
.sbb-wide{width:min(1120px,calc(100% - var(--sb-gut)));margin-inline:auto}

.sbb-article-hero{position:relative;padding:30px 0 64px;color:#fff;background:radial-gradient(circle at 85% 0,rgba(92,151,255,.32),transparent 42%),linear-gradient(112deg,#070d36 0%,#101a6e 55%,#2111ee 120%);overflow:hidden}
.sbb-single.has-cover .sbb-article-hero{padding-bottom:128px}
.sbb-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 44px;font-size:13px;font-weight:600;color:rgba(255,255,255,.6)}
.sbb-breadcrumb a{color:rgba(255,255,255,.85)}
.sbb-breadcrumb a:hover{color:#fff}
.sbb-article-hero .sbb-journal-kicker{display:block;margin:0 0 14px;color:#a9c5ff;font-size:12px;font-weight:700;letter-spacing:1.8px;text-transform:uppercase}
.sbb-article-hero .sbb-tag{margin:0 0 20px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);color:#fff}
.sbb-single .sbb-article-hero h1{margin:0 0 20px;color:#fff;font-size:clamp(30px,3.8vw,46px);line-height:1.16;letter-spacing:-.025em;font-weight:600;text-align:left}
.sbb-single-excerpt{margin:0;color:rgba(255,255,255,.82);font-size:19px;line-height:1.7}
.sbb-single-meta{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:30px}
.sbb-single-meta strong,.sbb-single-meta small{display:block}
.sbb-single-meta strong{font-size:14px;font-weight:700;color:#fff;line-height:1.35}
.sbb-single-meta small{margin-top:2px;font-size:12px;color:rgba(255,255,255,.6)}
.sbb-avatar{display:grid;flex:0 0 44px;width:44px;height:44px;place-items:center;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:rgba(255,255,255,.14);font-size:16px;font-weight:800}
.sbb-meta-divider{height:30px;border-left:1px solid rgba(255,255,255,.25)}

.sbb-single-cover{position:relative;z-index:2;margin-top:-76px;margin-bottom:56px;aspect-ratio:16/8;overflow:hidden;border-radius:18px;background:#eef1fa;box-shadow:0 28px 70px rgba(8,20,60,.22)}
.sbb-single-cover img{width:100%;height:100%;object-fit:cover}
.sbb-single:not(.has-cover) .sbb-single-main{padding-top:56px}

/* article typography */
.sbb-single .sbb-article-content{color:#2b3752;font-size:18px;line-height:1.85;overflow-wrap:break-word;text-align:left}
.sbb-single .sbb-article-content>*:first-child{margin-top:0}
.sbb-single .sbb-article-content p{margin:0 0 24px;color:inherit;font-size:inherit;line-height:inherit}
.sbb-single .sbb-article-content :is(h2,h3,h4){color:var(--sb-navy);font-family:Montserrat,Arial,sans-serif;font-weight:700;letter-spacing:-.015em;text-align:left}
.sbb-single .sbb-article-content h2{margin:52px 0 16px;font-size:clamp(25px,2.8vw,31px);line-height:1.28}
.sbb-single .sbb-article-content h3{margin:38px 0 12px;font-size:22px;line-height:1.35}
.sbb-single .sbb-article-content h4{margin:30px 0 10px;font-size:18px;line-height:1.4}
.sbb-single .sbb-article-content a{color:var(--sb-blue);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.sbb-single .sbb-article-content :is(ul,ol){margin:0 0 26px;padding-left:26px}
.sbb-single .sbb-article-content li{margin:0 0 10px;padding-left:4px;line-height:1.75}
.sbb-single .sbb-article-content li::marker{color:var(--sb-blue)}
.sbb-single .sbb-article-content strong{color:var(--sb-navy);font-weight:700}
.sbb-single .sbb-article-content :is(blockquote,.wp-block-quote){margin:36px 0;padding:24px 28px;border:0;border-left:4px solid var(--sb-blue);border-radius:0 12px 12px 0;background:var(--sb-soft);color:var(--sb-navy);font-size:20px;font-weight:600;line-height:1.6}
.sbb-single .sbb-article-content blockquote p{margin:0;font-size:inherit;font-weight:inherit;color:inherit}
.sbb-single .sbb-article-content figure{max-width:100%;margin:36px 0}
.sbb-single .sbb-article-content figure img,.sbb-single .sbb-article-content>img{display:block;height:auto;margin-inline:auto;border-radius:12px}
.sbb-single .sbb-article-content figcaption{margin-top:10px;color:var(--sb-muted);font-size:13px;text-align:center}
.sbb-single .sbb-article-content table{display:block;width:100%;margin:32px 0;overflow-x:auto;border-collapse:collapse;font-size:15px;line-height:1.55}
.sbb-single .sbb-article-content :is(th,td){padding:12px 14px;border:1px solid var(--sb-line);text-align:left}
.sbb-single .sbb-article-content th{background:var(--sb-soft);color:var(--sb-navy);font-weight:700}
.sbb-single .sbb-article-content pre{max-width:100%;margin:32px 0;padding:20px;overflow:auto;border-radius:12px;background:#101936;color:#f5f6ff;font-size:14px;line-height:1.65}
.sbb-single .sbb-article-content code{padding:2px 6px;border-radius:5px;background:#f1f2f8;color:#27345a;font-size:.9em}
.sbb-single .sbb-article-content pre code{padding:0;background:none;color:inherit}
.sbb-single .sbb-article-content hr{margin:48px 0;border:0;border-top:1px solid var(--sb-line)}
.sbb-single .sbb-article-content :is(.alignwide,.alignfull){width:min(1040px,calc(100vw - var(--sb-gut)));max-width:none;margin-left:50%;transform:translateX(-50%)}

/* bottom CTA */
.sbb-article-bottom{display:flex;justify-content:space-between;align-items:center;gap:28px;margin-top:72px;padding:40px 44px;border-radius:20px;color:#fff;background:linear-gradient(110deg,#08143c,#1a14b8 85%)}
.sbb-article-bottom .sbb-kicker-blue{color:#a9c5ff}
.sbb-article-bottom h2{margin:0 0 8px;color:#fff;font-size:clamp(24px,2.8vw,32px);line-height:1.22;letter-spacing:-.02em;font-weight:800}
.sbb-article-bottom p{margin:0;max-width:520px;color:rgba(255,255,255,.78);font-size:16px;line-height:1.65}
.sbb-article-bottom .sbb-btn{flex:0 0 auto;background:#fff;color:var(--sb-blue)!important;padding:15px 26px}
.sbb-article-bottom .sbb-btn:hover{background:#eeeeff}

/* related */
.sbb-related{margin-top:88px}
.sbb-related .sbb-section-heading h2{font-size:clamp(26px,3vw,32px)}
.sbb-text-link{color:var(--sb-blue);font-size:14px;font-weight:700;white-space:nowrap}
.sbb-text-link:hover{text-decoration:underline;text-underline-offset:4px}

/* hide duplicate theme titles/breadcrumbs */
body.single-post :is(.elementor-widget-theme-post-title,.elementor-widget-post-title,.entry-header .entry-title,.page-header .page-title,.rank-math-breadcrumb,.yoast-breadcrumb){display:none!important}
body.single-post :is(.site-main,.content-area,.site-content,.elementor-location-single){max-width:100%;width:100%;padding-left:0;padding-right:0}

/* comments (theme-generated, aligned to the reading column) */
body.single-post :is(#comments,.comments-area,.comment-respond){width:min(820px,calc(100% - 48px));max-width:820px;margin:56px auto 0;padding:0;float:none;clear:both;font-family:Montserrat,Arial,sans-serif;color:#17213f;text-align:left}
body.single-post :is(#comments .comments-title,#reply-title,.comment-respond h3){margin:0 0 20px;color:#08143c;font:700 26px/1.25 Montserrat,Arial,sans-serif}
body.single-post :is(#commentform,.comment-form) p{margin:0 0 18px;font-size:14px;line-height:1.6}
body.single-post :is(#commentform,.comment-form) label{display:block;margin:0 0 8px;font-size:14px;font-weight:600}
body.single-post :is(#commentform,.comment-form) :is(textarea,input:not([type=submit]):not([type=checkbox])){display:block;width:100%;max-width:100%;padding:13px 15px;border:1px solid #d9e0ef;border-radius:10px;background:#fff;font:15px/1.6 Montserrat,Arial,sans-serif;box-shadow:none}
body.single-post :is(#commentform,.comment-form) textarea{min-height:160px;resize:vertical}
body.single-post :is(#commentform,.comment-form) :is(input[type=submit],.form-submit input){width:auto;padding:14px 26px;border:0;border-radius:10px;background:#2111ee;color:#fff;font:700 14px Montserrat,Arial,sans-serif;cursor:pointer}

@media(max-width:1024px){.sbb-single-cover{aspect-ratio:16/9}}
@media(max-width:680px){
.sbb-breadcrumb{margin-bottom:32px;font-size:12px}
.sbb-single-excerpt{font-size:16px}
.sbb-single.has-cover .sbb-article-hero{padding-bottom:96px}
.sbb-single-cover{margin-top:-56px;margin-bottom:36px;aspect-ratio:4/3;border-radius:12px}
.sbb-single .sbb-article-content{font-size:16.5px;line-height:1.8}
.sbb-single .sbb-article-content :is(blockquote,.wp-block-quote){padding:18px 20px;font-size:17px}
.sbb-article-bottom{flex-direction:column;align-items:flex-start;padding:30px 26px}
.sbb-related{margin-top:64px}
.sbb-single-meta{gap:12px}.sbb-meta-divider{display:none}
body.single-post :is(#comments,.comments-area,.comment-respond){width:calc(100% - 32px)}
}


/* v1.1.1 refinements */
body.single-post :is(.entry-footer,.post-tags,.tags-links,.tag-links,.cat-links){display:none!important}
body.single-post :is(.entry-header,.page-header,.elementor-page-title,.elementor-widget-theme-post-title,.elementor-widget-post-title,.entry-title,.page-title){display:none!important}
body.single-post .sbb-single{margin-top:0!important}
body.single-post .sbb-single .sbb-article-hero h1{font-weight:600}
body.single-post .sbb-single .sbb-article-content{color:#263451;line-height:1.78}
body.single-post .sbb-single .sbb-article-content p{margin-bottom:20px}

/* Rebuild the native WordPress reply area with one aligned reading-column width */
body.single-post :is(#comments,.comments-area,.comment-respond){
  width:min(820px,calc(100% - 48px))!important;
  max-width:820px!important;
  margin:56px auto 0!important;
  padding:0!important;
  float:none!important;
  clear:both!important;
  box-sizing:border-box!important;
}
body.single-post :is(#comments,.comments-area) .comment-respond{width:100%!important;max-width:100%!important;margin:32px 0 0!important}
body.single-post :is(#reply-title,.comment-respond h3){
  margin:0 0 18px!important;
  color:#08143c!important;
  font-size:25px!important;
  line-height:1.25!important;
  font-weight:600!important;
}
body.single-post :is(#commentform,.comment-form){width:100%!important;margin:0!important}
body.single-post :is(#commentform,.comment-form) p{
  width:100%!important;
  max-width:100%!important;
  margin:0 0 16px!important;
  color:#34415d!important;
  font-size:14px!important;
  line-height:1.65!important;
  overflow-wrap:anywhere!important;
}
body.single-post :is(#commentform,.comment-form) p.logged-in-as{
  display:block!important;
  padding:12px 15px!important;
  border:1px solid #e5e9f4!important;
  border-radius:8px!important;
  background:#f7f8fc!important;
}
body.single-post :is(#commentform,.comment-form) p.logged-in-as a{
  color:#2111ee!important;
  text-decoration:none!important;
  font-weight:600!important;
}
body.single-post :is(#commentform,.comment-form) label{
  display:block!important;
  margin:0 0 8px!important;
  color:#17213f!important;
  font-size:14px!important;
  font-weight:600!important;
}
body.single-post :is(#commentform,.comment-form) textarea{
  width:100%!important;
  min-height:170px!important;
  display:block!important;
  box-sizing:border-box!important;
  padding:14px 16px!important;
  border:1px solid #d9e0ef!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#17213f!important;
  font:15px/1.6 Montserrat,Arial,sans-serif!important;
}
body.single-post :is(#commentform,.comment-form) :is(input[type=text],input[type=email],input[type=url]){
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.single-post :is(#commentform,.comment-form) .form-submit{margin-top:18px!important}
body.single-post :is(#commentform,.comment-form) input[type=submit]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:48px!important;
  padding:0 26px!important;
  border:0!important;
  border-radius:9px!important;
  background:#2111ee!important;
  color:#fff!important;
  font:600 14px Montserrat,Arial,sans-serif!important;
}
@media(max-width:680px){
  body.single-post :is(#comments,.comments-area,.comment-respond){width:calc(100% - 32px)!important}
  body.single-post :is(#reply-title,.comment-respond h3){font-size:22px!important}
}
