/* Super Stars Bio - premium redesign layer (2026-11). Remove the "ssb-design" enqueue in functions.php to revert. */
:root{
  --ssb-red:#c8102e; --ssb-red-dark:#9d0b23; --ssb-ink:#14161c; --ssb-text:#2c3039; --ssb-muted:#6b7280;
  --ssb-line:#e8e3dd; --ssb-bg:#faf8f5; --ssb-card:#fff; --ssb-gold:#b8893b;
  --ssb-serif:"Playfair Display",Georgia,"Times New Roman",serif; --ssb-sans:"Inter","Helvetica Neue",Arial,sans-serif;
  --ssb-shadow:0 1px 2px rgba(20,22,28,.05),0 8px 24px rgba(20,22,28,.07); --ssb-shadow-hover:0 2px 4px rgba(20,22,28,.06),0 16px 36px rgba(20,22,28,.14);
}
html{scroll-behavior:smooth}
body,body.home{font-family:var(--ssb-sans)!important;background:var(--ssb-bg)!important;color:var(--ssb-text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,h4,.entry-title,.heading-titles{font-family:var(--ssb-serif);color:var(--ssb-ink);letter-spacing:-.01em}
::selection{background:var(--ssb-red);color:#fff}
a{color:var(--ssb-red);transition:color .2s ease}
a:hover{color:var(--ssb-red-dark)}
img{border-radius:6px}

/* ---------- Header ---------- */
#masthead,.site-header-wrap,.site-header{background:#fff!important}
#masthead{border-top:4px solid var(--ssb-red);box-shadow:0 2px 20px rgba(20,22,28,.06);position:relative;z-index:50}
#masthead .site-main-header-wrap .site-header-row-container-inner,#masthead .site-header-row-container-inner{border-bottom:0!important}
#masthead .site-branding img,.custom-logo{transition:transform .3s ease}
#masthead .site-branding a:hover img{transform:scale(1.02)}
#masthead .main-navigation .primary-menu-container>ul>li.menu-item>a,#masthead .header-navigation .header-menu-container>ul>li.menu-item>a{
  font-family:var(--ssb-sans);font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ssb-ink);padding:1.1em 1.3em;position:relative}
#masthead .header-navigation .header-menu-container>ul>li.menu-item>a::after{content:"";position:absolute;left:1.3em;right:1.3em;bottom:.55em;height:2px;background:var(--ssb-red);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
#masthead .header-navigation .header-menu-container>ul>li.menu-item>a:hover::after,
#masthead .header-navigation .header-menu-container>ul>li.current-menu-item>a::after{transform:scaleX(1)}
#masthead .header-navigation .header-menu-container>ul>li.menu-item>a:hover,
#masthead .header-navigation .header-menu-container>ul>li.current-menu-item>a{color:var(--ssb-red)}
#masthead .sub-menu{border-radius:8px;box-shadow:var(--ssb-shadow);border:1px solid var(--ssb-line)}
#mobile-drawer .drawer-inner{background:#14161c}
#mobile-drawer .mobile-navigation a{font-family:var(--ssb-sans);letter-spacing:.08em;text-transform:uppercase;font-size:14px;font-weight:600}

/* ---------- Home ---------- */
.home-template.main-content{padding-top:48px;padding-bottom:70px}
.home-template .container{max-width:1280px}
.home-template .left-column,.home-template .right-column{border:0!important}
.home-template .middle-column .featured-post{background:var(--ssb-card);border-radius:14px;overflow:hidden;box-shadow:var(--ssb-shadow);gap:0;align-items:stretch;transition:box-shadow .3s ease,transform .3s ease;position:relative}
.home-template .middle-column .featured-post:hover{box-shadow:var(--ssb-shadow-hover);transform:translateY(-3px)}
.home-template .middle-column .featured-post>a{width:55%;flex:0 0 55%;display:block;overflow:hidden}
.home-template .middle-column .featured-post>a img{width:100%;height:100%;min-height:300px;object-fit:cover;border-radius:0;margin:0;transition:transform .6s ease}
.home-template .middle-column .featured-post:hover>a img{transform:scale(1.04)}
.home-template .middle-column .featured-post>div{padding:34px 38px;display:flex;flex-direction:column;justify-content:center}
.home-template .middle-column .featured-post>div::before{content:"Featured";font:700 11px/1 var(--ssb-sans);letter-spacing:.2em;text-transform:uppercase;color:#fff;background:var(--ssb-red);padding:6px 10px;border-radius:3px;align-self:flex-start;margin-bottom:16px}
.home-template .middle-column .post-title{font-family:var(--ssb-serif);font-size:30px;line-height:1.2;color:var(--ssb-ink)}
.home-template .post-title:hover{color:var(--ssb-red)}
.home-template .post-excerpt{color:var(--ssb-muted);font-size:16px;line-height:1.7}
.home-template .bottom-section{border-top:0;padding-top:34px;margin-top:20px}
.home-template .heading-titles{font-size:22px;text-transform:none;display:flex;align-items:center;gap:14px;margin-bottom:24px}
.home-template .heading-titles::before{content:"";width:5px;height:26px;background:var(--ssb-red);border-radius:2px}
.home-template .heading-titles::after{content:"";flex:1;height:1px;background:var(--ssb-line)}
.home-template .threeposts-sec{gap:22px;align-items:stretch}
.home-template .threeposts-sec .single-post{background:var(--ssb-card);border-radius:12px;overflow:hidden;box-shadow:var(--ssb-shadow);transition:box-shadow .3s ease,transform .3s ease;display:flex;flex-direction:column}
.home-template .threeposts-sec .single-post:hover{box-shadow:var(--ssb-shadow-hover);transform:translateY(-4px)}
.home-template .threeposts-sec .single-post>a:first-child{display:block;overflow:hidden}
.home-template .threeposts-sec .single-post img{height:190px!important;border-radius:0;margin:0!important;transition:transform .5s ease}
.home-template .threeposts-sec .single-post:hover img{transform:scale(1.06)}
.home-template .bottom-section .post-title,.home-template .middle-column .bottom-section .post-title{font-family:var(--ssb-serif);font-size:18px;line-height:1.3;padding:16px 18px 20px;margin:0}
.home-template .right-column{padding-left:30px}
.home-template .right-column .tab-post-list{background:var(--ssb-card);border-radius:14px;box-shadow:var(--ssb-shadow);padding:10px 22px;position:relative}
.home-template .right-column .tab-post-list::before{content:"Latest";display:block;font:700 12px/1 var(--ssb-sans);letter-spacing:.2em;text-transform:uppercase;color:var(--ssb-red);padding:16px 0 4px}
.home-template .tab-post-item{border-bottom:1px solid var(--ssb-line)!important;padding:16px 0!important;margin:0!important;gap:12px}
.home-template .tab-post-item:last-child{border-bottom:0!important}
.home-template .right-column .post-title{font-family:var(--ssb-serif);font-size:15px;line-height:1.35;margin:0}
.home-template .tab-post-item img{width:92px;height:70px;border-radius:8px;margin:0}

/* ---------- Posts / pages (Kadence content) ---------- */
.content-bg,.entry.content-bg,.single-content{background:var(--ssb-card)}
body.single .entry.single-entry,body.page .entry.single-entry,body.archive .entry.loop-entry,body.blog .entry.loop-entry{border-radius:14px;box-shadow:var(--ssb-shadow);border:1px solid rgba(232,227,221,.7)}
.content-area{margin-top:48px;margin-bottom:56px}
.entry-title,.single-entry .entry-title{font-family:var(--ssb-serif);font-weight:800;font-size:clamp(28px,3.4vw,44px);line-height:1.15}
.entry-content p,.entry-content li{font-size:18px;line-height:1.8;color:var(--ssb-text)}
.entry-content h2{font-size:clamp(24px,2.4vw,32px);margin-top:1.8em;padding-bottom:.35em;border-bottom:2px solid var(--ssb-line);position:relative}
.entry-content h2::after{content:"";position:absolute;left:0;bottom:-2px;width:64px;height:2px;background:var(--ssb-red)}
.entry-content h3{font-size:clamp(20px,2vw,25px)}
.entry-content a:not(.wp-block-button__link):not(.button){text-decoration-thickness:1px;text-underline-offset:3px}
.entry-content img,.post-thumbnail img,.entry-content figure img{border-radius:12px;max-width:100%;height:auto}
.entry-content blockquote{border-left:4px solid var(--ssb-red);background:#faf3f3;margin:1.8em 0;padding:1.1em 1.5em;border-radius:0 10px 10px 0;font-family:var(--ssb-serif);font-style:italic;color:var(--ssb-ink)}
.entry-content table{border:1px solid var(--ssb-line);border-radius:10px;overflow:hidden;box-shadow:none;font-family:var(--ssb-sans)}
.entry-content table tr:nth-child(odd){background:#faf8f5}
.entry-content table tr:hover{background:#f3eee8}
.kadence-breadcrumbs,.kadence-breadcrumbs a{font-size:13px;letter-spacing:.02em;color:var(--ssb-muted)}
.entry-meta{font-size:13px;letter-spacing:.05em;text-transform:uppercase;color:var(--ssb-muted)}
/* archives */
body.archive .loop-entry,body.blog .loop-entry{transition:box-shadow .3s ease,transform .3s ease;overflow:hidden}
body.archive .loop-entry:hover,body.blog .loop-entry:hover{box-shadow:var(--ssb-shadow-hover);transform:translateY(-3px)}
.loop-entry .entry-title{font-size:21px}
.loop-entry .entry-title a{color:var(--ssb-ink)}
.loop-entry .entry-title a:hover{color:var(--ssb-red)}
.loop-entry .post-thumbnail img{border-radius:0;transition:transform .5s ease}
.loop-entry:hover .post-thumbnail img{transform:scale(1.04)}

/* ---------- Buttons / forms ---------- */
.button,button,input[type=submit],.wp-block-button__link,.kb-button,.bbp-submit-wrapper button{font-family:var(--ssb-sans);font-weight:600;letter-spacing:.06em;text-transform:uppercase;font-size:13px;border-radius:999px!important;padding:.85em 1.8em;background:var(--ssb-red);border:0;color:#fff;box-shadow:0 4px 14px rgba(200,16,46,.28);transition:all .25s ease}
.button:hover,button:hover,input[type=submit]:hover,.wp-block-button__link:hover,.kb-button:hover{background:var(--ssb-red-dark);color:#fff;transform:translateY(-2px);box-shadow:0 8px 20px rgba(200,16,46,.35)}
input[type=text],input[type=email],input[type=search],input[type=url],input[type=password],textarea,select{border:1px solid var(--ssb-line);border-radius:10px;background:#fff;padding:.7em 1em;transition:border-color .2s,box-shadow .2s}
input:focus,textarea:focus,select:focus{border-color:var(--ssb-red)!important;box-shadow:0 0 0 3px rgba(200,16,46,.12)!important;outline:0}
.search-form .search-submit,.kadence-search-form button{border-radius:0 10px 10px 0!important;box-shadow:none}

/* ---------- Forum (bbPress) ---------- */
#bbpress-forums{font-family:var(--ssb-sans);font-size:15px}
#bbpress-forums ul.bbp-forums,#bbpress-forums ul.bbp-topics,#bbpress-forums ul.bbp-replies,#bbpress-forums ul.bbp-lead-topic{border:1px solid var(--ssb-line);border-radius:12px;overflow:hidden;background:#fff;box-shadow:none}
#bbpress-forums li.bbp-header,#bbpress-forums li.bbp-footer{background:var(--ssb-ink);color:#fff;border:0;font-size:12px;letter-spacing:.14em;text-transform:uppercase;padding:12px 8px}
#bbpress-forums li.bbp-header *,#bbpress-forums li.bbp-footer *{color:#fff}
#bbpress-forums li.bbp-body ul.forum,#bbpress-forums li.bbp-body ul.topic{border-top:1px solid var(--ssb-line);transition:background .2s}
#bbpress-forums li.bbp-body ul.topic:hover,#bbpress-forums li.bbp-body ul.forum:hover{background:#fdf7f7}
#bbpress-forums ul.bbp-topics li.bbp-body ul.topic.status-sticky,#bbpress-forums div.odd,#bbpress-forums ul.odd{background:#fff}
#bbpress-forums div.even,#bbpress-forums ul.even{background:#fcfaf8}
#bbpress-forums ul.super-sticky,#bbpress-forums ul.sticky{background:#fff7e8!important}
.bbp-topic-title a.bbp-topic-permalink,.bbp-forum-title{font-family:var(--ssb-serif);font-weight:700;font-size:18px;color:var(--ssb-ink)}
.bbp-topic-title a.bbp-topic-permalink:hover,.bbp-forum-title:hover{color:var(--ssb-red)}
#bbpress-forums .bbp-topic-meta,#bbpress-forums .bbp-topic-started-by{color:var(--ssb-muted);font-size:12px}
#bbpress-forums img.avatar{border-radius:50%}
#bbpress-forums div.bbp-forum-content,#bbpress-forums div.bbp-topic-content,#bbpress-forums div.bbp-reply-content{font-size:16px;line-height:1.75}
#bbpress-forums div.bbp-reply-author,#bbpress-forums div.bbp-topic-author{padding-top:8px}
#bbpress-forums div.bbp-reply-header,#bbpress-forums div.bbp-topic-header{background:#faf8f5;border-bottom:1px solid var(--ssb-line)}
.bbp-pagination-links a,.bbp-pagination-links span{border-radius:6px;border:1px solid var(--ssb-line);background:#fff;padding:3px 9px;font-size:13px;margin:0 2px}
.bbp-pagination-links span.current{background:var(--ssb-red);color:#fff;border-color:var(--ssb-red)}
#bbpress-forums fieldset.bbp-form{border:1px solid var(--ssb-line);border-radius:12px;background:#fff;padding:20px}

/* ---------- Footer ---------- */
.site-footer{background:#12141a!important;color:#b9bdc7!important;padding:0!important;margin-top:60px;border-top:4px solid var(--ssb-red);text-align:left}
.site-footer .top-footer{border-bottom:1px solid rgba(255,255,255,.1)!important;padding:64px 12px 48px!important}
.site-footer p{color:#9aa0ad;line-height:1.8;font-size:15px;max-width:480px}
.site-footer img{filter:brightness(0) invert(1);border-radius:0}
.site-footer h5{font-family:var(--ssb-sans)!important;color:#fff;letter-spacing:.18em;font-size:12px!important;position:relative;padding-bottom:14px}
.site-footer h5::after{content:"";position:absolute;left:0;bottom:0;width:32px;height:2px;background:var(--ssb-red)}
.site-footer ul a{color:#b9bdc7!important;font-family:var(--ssb-sans)!important;font-size:15px!important}
.site-footer ul a:hover{color:#fff!important;transform:translateX(4px)}
.site-footer .header-social{display:flex;gap:10px}
.site-footer .header-social a{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.08);transition:all .25s}
.site-footer .header-social a:hover{background:var(--ssb-red);transform:translateY(-3px)}
.site-footer .header-social i{color:#fff!important;margin:0!important;font-size:16px}
.site-footer .bottom-footer{padding:22px 12px 14px;font-size:13px;color:#7c8190}
.site-footer .bottom-footer div{text-align:center;color:#7c8190}
#kt-scroll-up,#kt-scroll-up-reader{background:var(--ssb-red);color:#fff;border-radius:50%}

/* ---------- Responsive ---------- */
@media(max-width:991px){
  .home-template .right-column{padding-left:12px;margin-top:30px}
  .home-template .middle-column{padding-right:12px}
  .site-footer .pl-50{padding-left:12px!important}
  .site-footer .col-lg-3,.site-footer .col-lg-6{margin-bottom:28px}
}
@media(max-width:767px){
  .home-template.main-content{padding-top:24px}
  .home-template .middle-column .featured-post{flex-direction:column}
  .home-template .middle-column .featured-post>a{width:100%;flex:none}
  .home-template .middle-column .featured-post>a img{min-height:0;height:220px}
  .home-template .middle-column .featured-post>div{padding:22px 20px}
  .home-template .middle-column .post-title{font-size:23px}
  .home-template .threeposts-sec{display:grid;grid-template-columns:1fr 1fr;gap:14px}
  .home-template .threeposts-sec .single-post img{height:130px!important}
  .home-template .bottom-section .post-title,.home-template .middle-column .bottom-section .post-title{font-size:15px;padding:12px 12px 16px}
  .entry-content p,.entry-content li{font-size:17px}
  #bbpress-forums{font-size:14px}
  .bbp-topic-title a.bbp-topic-permalink{font-size:16px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* polish */
#masthead .site-main-header-wrap,#masthead .site-header-row-container-inner,#masthead .site-header-upper-wrap,#masthead .site-header-inner-wrap,#masthead .site-header-row-container{border-bottom:0!important}
#masthead .site-header-row-container-inner{box-shadow:none!important}
#masthead .site-main-header-inner-wrap{border-bottom:1px solid var(--ssb-line)!important}
#bbpress-forums ul.bbp-forums li.bbp-header,#bbpress-forums ul.bbp-topics li.bbp-header,#bbpress-forums ul.bbp-replies li.bbp-header,div.bbp-template-notice,#bbpress-forums li.bbp-header{background:var(--ssb-ink)!important;color:#fff!important}
#bbpress-forums li.bbp-header ul.forum-titles li,#bbpress-forums li.bbp-header ul.forum-titles{color:#fff!important}
#bbpress-forums li.bbp-footer{background:#f1ede8!important;color:var(--ssb-muted)!important}
#bbpress-forums li.bbp-footer *{color:var(--ssb-muted)!important}
@media(max-width:767px){
  #bbpress-forums li.bbp-topic-freshness,#bbpress-forums li.bbp-forum-freshness{width:26%!important;font-size:11px;line-height:1.4;overflow:hidden;word-break:break-word}
  #bbpress-forums li.bbp-topic-title{width:70%!important}
  #bbpress-forums li.bbp-topic-freshness .bbp-topic-meta,#bbpress-forums li.bbp-topic-freshness a{font-size:11px}
  #bbpress-forums li.bbp-topic-freshness img.avatar{display:none}
  .bbp-topic-title a.bbp-topic-permalink{font-size:15px;line-height:1.3}
}

/* ===== SSB polish v2 (2026-11-02). Revert: restore design_v1_backup.css as design.css ===== */
:root{--ssb-ease:cubic-bezier(.22,.61,.36,1);--ssb-red-soft:#fdeef0;--ssb-text:#262a33;--ssb-muted:#5f6674}
body{font-size:17px}
:focus-visible{outline:2px solid var(--ssb-red);outline-offset:3px;border-radius:4px}
/* sticky, blurred header */
#masthead{position:sticky;top:0;z-index:999;background:rgba(255,255,255,.94)!important;-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px);border-top-width:3px}
.admin-bar #masthead{top:32px}
#masthead .site-branding img,#masthead .custom-logo{max-height:44px;width:auto}
#masthead .site-main-header-inner-wrap{min-height:0}
#masthead .header-navigation .header-menu-container>ul>li.menu-item>a{font-size:12.5px;letter-spacing:.14em;padding:.95em 1.2em}
/* hero */
.home-template.main-content{padding-top:40px}
.home-template .middle-column .featured-post{border-radius:18px;min-height:420px;box-shadow:0 2px 6px rgba(20,22,28,.05),0 24px 56px -12px rgba(20,22,28,.2)}
.home-template .middle-column .featured-post>a{width:58%;flex-basis:58%;position:relative}
.home-template .middle-column .featured-post>a::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,22,28,0) 60%,rgba(20,22,28,.12));pointer-events:none}
.home-template .middle-column .featured-post>div{padding:44px 46px}
.home-template .middle-column .featured-post .post-title{font-size:clamp(26px,2.5vw,38px);line-height:1.15;font-weight:800;margin:0 0 14px;text-wrap:balance}
.home-template .middle-column .featured-post .post-excerpt{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;font-size:16px;color:var(--ssb-muted)}
.home-template .middle-column .featured-post>div::after{content:"Read the story \2192";margin-top:22px;align-self:flex-start;font:600 13px/1 var(--ssb-sans);letter-spacing:.1em;text-transform:uppercase;color:var(--ssb-red);border-bottom:2px solid currentColor;padding-bottom:6px;transition:letter-spacing .25s var(--ssb-ease)}
.home-template .middle-column .featured-post:hover>div::after{letter-spacing:.16em}
/* cards: consistent ratios, clamped titles */
.home-template .threeposts-sec{gap:24px}
.home-template .threeposts-sec .single-post{border-radius:14px;border:1px solid rgba(232,227,221,.8);box-shadow:0 1px 2px rgba(20,22,28,.04),0 6px 18px rgba(20,22,28,.05)}
.home-template .threeposts-sec .single-post>a:first-child{aspect-ratio:16/10;background:#ece7e1}
.home-template .threeposts-sec .single-post img{height:100%!important;width:100%;object-fit:cover}
.home-template .bottom-section .post-title,.home-template .middle-column .bottom-section .post-title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:calc(3*1.3em + 36px);font-size:17px;font-weight:700;transition:color .2s}
.home-template .threeposts-sec .single-post:hover .post-title{color:var(--ssb-red)}
.home-template .bottom-section{padding-top:44px;margin-top:26px}
.home-template .heading-titles{font-size:24px;font-weight:800;margin-bottom:26px}
.home-template .heading-titles::before{height:28px;width:5px;background:linear-gradient(var(--ssb-red),var(--ssb-gold))}
/* latest */
.home-template .right-column .tab-post-list{border-radius:18px;padding:10px 24px 14px;border:1px solid rgba(232,227,221,.8)}
.home-template .right-column .post-title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:15.5px;font-weight:700;transition:color .2s}
.home-template .tab-post-item:hover .post-title{color:var(--ssb-red)}
.home-template .tab-post-item img{width:88px;height:66px;object-fit:cover;flex:none}
.home-template .tab-post-item{align-items:center}
/* subtle entrance (opacity only: no layout shift) */
@keyframes ssbIn{from{opacity:0}to{opacity:1}}
.home-template .featured-post,.home-template .tab-post-list{animation:ssbIn .5s var(--ssb-ease) both}
/* articles */
.single-entry .entry-title{font-size:clamp(30px,3.6vw,48px);line-height:1.12;text-wrap:balance}
.entry-content{max-width:760px;margin-inline:auto}
.entry-content p{margin-bottom:1.35em}
.entry-content p:first-of-type::first-line{font-weight:600;color:var(--ssb-ink)}
.entry-content img{height:auto}
.entry-content a:not(.wp-block-button__link):not(.button){color:var(--ssb-red);text-decoration-color:rgba(200,16,46,.35)}
.entry-content a:not(.wp-block-button__link):not(.button):hover{text-decoration-color:currentColor}
.entry-meta .meta-label,.entry-meta a{color:var(--ssb-muted)}
.entry-taxonomies .category-links a,.entry-taxonomies a{display:inline-block;background:var(--ssb-red-soft);color:var(--ssb-red);padding:4px 12px;border-radius:999px;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;transition:background .2s,color .2s}
.entry-taxonomies a:hover{background:var(--ssb-red);color:#fff}
/* archive cards */
body.archive .loop-entry .post-thumbnail,body.search .loop-entry .post-thumbnail,body.blog .loop-entry .post-thumbnail{aspect-ratio:16/10;overflow:hidden}
body.archive .loop-entry .post-thumbnail img,body.search .loop-entry .post-thumbnail img{height:100%;object-fit:cover}
.loop-entry .entry-title{font-size:20px;line-height:1.28;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.page-title,.archive-title{font-family:var(--ssb-serif);font-weight:800;letter-spacing:-.01em}
.pagination .page-numbers,.navigation .page-numbers{border-radius:8px;border:1px solid var(--ssb-line);background:#fff;min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;margin:0 3px;transition:all .2s}
.pagination .page-numbers.current,.pagination .page-numbers:hover{background:var(--ssb-red);color:#fff;border-color:var(--ssb-red)}
/* buttons/forms */
.button,button,input[type=submit],.wp-block-button__link{min-height:44px;transition:transform .2s var(--ssb-ease),box-shadow .2s,background .2s}
.button:active,button:active,input[type=submit]:active{transform:translateY(0) scale(.98)}
input[type=text],input[type=email],input[type=search],input[type=url],input[type=password],textarea,select{min-height:46px;font-size:16px}
.search-form,.kadence-search-form{border-radius:12px}
/* 404 / no results */
.error404 .entry-title,.search-no-results .entry-title{text-align:center}
.error404 .content-area,.search-no-results .content-area{text-align:center}
/* footer */
.site-footer{margin-top:80px;background:linear-gradient(180deg,#14161c,#0e1015)!important}
.site-footer .top-footer{padding:72px 12px 52px!important}
.site-footer ul a{display:inline-block;padding:3px 0;transition:color .2s,transform .2s}
.site-footer .bottom-footer{padding:24px 12px 20px;border-top:0}
#kt-scroll-up{box-shadow:0 6px 18px rgba(200,16,46,.35);transition:transform .2s}
#kt-scroll-up:hover{transform:translateY(-3px)}
/* forum */
#bbpress-forums ul.bbp-forums,#bbpress-forums ul.bbp-topics,#bbpress-forums ul.bbp-replies{border-radius:14px;box-shadow:var(--ssb-shadow)}
#bbpress-forums li.bbp-body ul.forum,#bbpress-forums li.bbp-body ul.topic{padding:14px 8px}
#bbpress-forums li.bbp-body ul.topic:hover,#bbpress-forums li.bbp-body ul.forum:hover{background:var(--ssb-red-soft)}
/* mobile */
#mobile-drawer .drawer-inner{background:linear-gradient(180deg,#14161c,#0e1015)}
#mobile-drawer .mobile-navigation a{padding:16px 20px;border-bottom:1px solid rgba(255,255,255,.07);color:#fff}
#mobile-drawer .mobile-navigation a:hover{color:var(--ssb-red);background:rgba(255,255,255,.03)}
@media(max-width:1024px){.home-template .middle-column .featured-post>a{width:50%;flex-basis:50%}.home-template .middle-column .featured-post>div{padding:30px 28px}}
@media(max-width:767px){
  #masthead .site-branding img,#masthead .custom-logo{max-height:34px}
  .home-template .middle-column .featured-post{min-height:0;border-radius:14px}
  .home-template .middle-column .featured-post>a{aspect-ratio:16/10}
  .home-template .middle-column .featured-post>a img{height:100%}
  .home-template .middle-column .featured-post>div{padding:22px 20px 24px}
  .home-template .middle-column .featured-post .post-title{font-size:24px}
  .home-template .threeposts-sec{gap:12px}
  .home-template .threeposts-sec .single-post img{height:100%!important}
  .home-template .bottom-section .post-title,.home-template .middle-column .bottom-section .post-title{font-size:14.5px;min-height:calc(3*1.3em + 28px);padding:12px 12px 14px}
  .home-template .heading-titles{font-size:20px}
  .entry-content{max-width:100%}
  .single-entry .entry-title{font-size:28px}
  .site-footer{margin-top:50px}
  .site-footer .top-footer{padding:48px 12px 28px!important}
}

/* header rule + category/cast grid */
#masthead .site-header,#masthead.site-header,.site-header{border-bottom:1px solid var(--ssb-line)!important}
body.archive.category .kt-adv-heading272494_1b5c65-1e,body.archive h2.wp-block-kadence-advancedheading[data-kb-block^="kb-adv-heading272494"]{font-family:var(--ssb-serif);font-size:clamp(28px,3.4vw,44px);font-weight:800;text-align:center;margin:48px 0 8px}
#archive-container.post-archive{gap:26px!important;padding-top:24px}
.custom-archive-loop-item{background:#fff;border:1px solid rgba(232,227,221,.8);border-radius:14px;overflow:hidden;box-shadow:0 1px 2px rgba(20,22,28,.04),0 6px 18px rgba(20,22,28,.05);transition:box-shadow .3s var(--ssb-ease),transform .3s var(--ssb-ease)}
.custom-archive-loop-item:hover{transform:translateY(-4px);box-shadow:var(--ssb-shadow-hover)}
.custom-archive-loop-item .kb-is-ratio-image{overflow:hidden;border-radius:0}
.custom-archive-loop-item .kb-is-ratio-image img{object-fit:cover;border-radius:0;transition:transform .5s var(--ssb-ease)}
.custom-archive-loop-item:hover .kb-is-ratio-image img{transform:scale(1.05)}
.custom-archive-loop-item .wp-block-kadence-advancedheading{padding:14px 16px 18px;margin:0;min-height:1.4em;font-family:var(--ssb-serif);font-weight:700;line-height:1.3}
.custom-archive-loop-item .kt-row-column-wrap,.custom-archive-loop-item .kt-inside-inner-col,.custom-archive-loop-item .kt-inside-inner-col>*{padding-top:0;margin-top:0}
.custom-archive-loop-item figure{margin:0}
.custom-archive-loop-item .kt-inside-inner-col{padding:0!important}
.custom-archive-loop-item .wp-block-kadence-advancedheading{padding:14px 16px 18px!important}

/* ===== SSB spacing + polish v3 (2026-11-02). Revert: restore design_v2_backup.css as design.css ===== */
:root{--ssb-gap-sec:72px;--ssb-gap-card:28px}
/* page rhythm */
.home-template.main-content{padding-top:48px;padding-bottom:96px}
.home-template .middle-column .featured-post{margin-bottom:56px}
.home-template .middle-column>.bottom-section:first-of-type,.home-template .middle-column .featured-post+.bottom-section{padding-top:0;margin-top:0}
.home-template .bottom-section{padding-top:0;margin-top:var(--ssb-gap-sec);margin-bottom:0}
.home-template .container>.bottom-section:last-child{margin-bottom:24px}
.home-template .heading-titles{margin-bottom:32px;padding-bottom:2px}
/* equal cards, nothing clipped */
.home-template .threeposts-sec{gap:var(--ssb-gap-card);align-items:stretch}
.home-template .threeposts-sec .single-post{display:flex;flex-direction:column;height:auto;padding-bottom:6px}
.home-template .threeposts-sec .single-post>a:first-child{flex:none}
.home-template .bottom-section .post-title,.home-template .middle-column .bottom-section .post-title{display:block!important;-webkit-line-clamp:unset;overflow:visible;min-height:0;flex:1 1 auto;padding:20px 22px 22px;line-height:1.35;font-size:17px;text-wrap:balance}
.home-template .threeposts-sec .single-post:hover{box-shadow:0 2px 6px rgba(20,22,28,.06),0 18px 36px -10px rgba(20,22,28,.18)}
/* latest box */
.home-template .right-column{padding-left:36px}
.home-template .right-column .tab-post-list{padding:14px 26px 18px;box-shadow:0 2px 6px rgba(20,22,28,.05),0 18px 40px -14px rgba(20,22,28,.16)}
.home-template .right-column .tab-post-list::before{padding:18px 0 8px;border-bottom:2px solid var(--ssb-red);margin-bottom:4px;display:block}
.home-template .tab-post-item{padding:20px 0!important;gap:16px}
.home-template .right-column .post-title{display:block!important;-webkit-line-clamp:unset;overflow:visible;line-height:1.38;font-size:15.5px;overflow-wrap:anywhere}
.home-template .tab-post-item .text-content{min-width:0}
.home-template .tab-post-item img{width:92px;height:70px;flex:none;object-fit:cover;border-radius:8px}
/* footer + sections below */
.site-footer{margin-top:110px}
.site-footer .top-footer{padding:88px 12px 64px!important}
/* single posts */
.single-entry .entry-content-wrap,.single .entry-content-wrap{padding-bottom:12px}
.single .entry-content{margin-bottom:56px}
.single .entry-header{margin-bottom:40px}
.single .entry-tags,.single .entry-taxonomies,.single .post-navigation,.single .entry-author,.single .author-box{margin-top:48px}
.single .comments-area,.single #comments{margin-top:72px;padding-top:40px;border-top:1px solid var(--ssb-line)}
.single .comment-respond{margin-top:40px}
.single .entry-related,.single .related-posts,.single .kadence-related-posts{margin-top:72px;margin-bottom:72px}
.single .content-wrap,.single .content-area{margin-bottom:0}
.single .content-container{padding-bottom:40px}
/* archives */
body.archive .content-area,body.search .content-area,body.blog .content-area{margin-bottom:24px}
#archive-container.post-archive{gap:32px!important;padding-top:32px;padding-bottom:40px}
.pagination,.navigation.pagination{margin:56px 0 24px}
.custom-archive-loop-item .wp-block-kadence-advancedheading{padding:18px 20px 22px!important}
.loop-entry .entry-content-wrap{padding:26px 26px 30px}
/* pretty touches */
.home-template .heading-titles::after{background:linear-gradient(90deg,var(--ssb-line),transparent)}
.home-template .threeposts-sec .single-post{transition:box-shadow .3s var(--ssb-ease),transform .3s var(--ssb-ease)}
.entry-content h2,.entry-content h3{margin-top:2em;margin-bottom:.7em}
.entry-content blockquote{border-left:4px solid var(--ssb-red);background:var(--ssb-red-soft);padding:20px 26px;border-radius:0 12px 12px 0;margin:2em 0}
.entry-content img{border-radius:10px}
.entry-content figure,.entry-content .wp-block-image{margin:2em 0}
html{scroll-behavior:smooth}
::selection{background:var(--ssb-red);color:#fff}
@media(max-width:1024px){
  :root{--ssb-gap-sec:56px;--ssb-gap-card:20px}
  .home-template .right-column{padding-left:12px}
  .home-template .middle-column .featured-post{margin-bottom:44px}
}
@media(max-width:767px){
  :root{--ssb-gap-sec:44px;--ssb-gap-card:14px}
  .home-template.main-content{padding-top:24px;padding-bottom:64px}
  .home-template .middle-column .featured-post{margin-bottom:36px}
  .home-template .right-column{margin-top:48px}
  .home-template .heading-titles{margin-bottom:22px}
  .home-template .bottom-section .post-title,.home-template .middle-column .bottom-section .post-title{padding:14px 14px 16px;font-size:15px}
  .home-template .right-column .tab-post-list{padding:10px 18px 14px}
  .site-footer{margin-top:72px}
  .site-footer .top-footer{padding:56px 14px 36px!important}
  .single .entry-content{margin-bottom:40px}
  .single .comments-area,.single #comments{margin-top:52px}
  .single .entry-related,.single .related-posts{margin-top:52px;margin-bottom:52px}
  #archive-container.post-archive{gap:18px!important}
}
