/*
Theme Name: CellyBuilt
Theme URI: https://cellybuilt.co.uk
Author: SAM Marketing Agency
Author URI: https://sammarketingagency.com
Description: CellyBuilt is a premium celebrity biography & net-worth magazine theme — a warm ivory canvas lit with metallic gold gradient accents, elegant Cormorant Garamond headlines and a crisp Albert Sans body. Features a dark spotlight hero, a signature Top Net Worth ranked list with net-worth pills, a Quick Facts panel, glow-on-hover cards, AJAX live search and AdSense-ready slots. Pure WordPress, no page builders — fast, accessible and Rank Math compatible.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cellybuilt
Tags: blog, news, entertainment, two-columns, right-sidebar, custom-colors, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready, full-width-template
*/

:root {
  --cb-bg: #ffffff;
  --cb-cream: #fbf8f1;
  --cb-champ: #f7f1e4;
  --cb-ink: #14110c;
  --cb-ink-2: #1f1a12;
  --cb-text: #4d473d;
  --cb-soft: #756e60;
  --cb-muted: #a59c8a;
  --cb-border: #ece6da;
  --cb-border-2: #e0d8c7;
  --cb-gold: #c8a24a;
  --cb-gold-dark: #a07e2e;
  --cb-grad: linear-gradient(115deg, #a97d2b 0%, #e9cd84 46%, #c79a3e 70%, #f0d896 100%);
  --cb-grad-flat: linear-gradient(115deg, #b8862f, #e8c878);
  --cb-glow: rgba(200,162,74,.32);
  --cb-shadow-xs: 0 2px 6px rgba(20,17,12,.06);
  --cb-shadow: 0 18px 44px rgba(20,17,12,.1);
  --cb-shadow-gold: 0 20px 48px rgba(168,125,43,.24);
  --cb-shadow-lg: 0 36px 80px rgba(20,17,12,.16);
  --cb-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --cb-body: "Albert Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --cb-container: 1220px;
  --cb-narrow: 740px;
  --cb-radius: 18px;
  --cb-radius-sm: 12px;
  --cb-pill: 999px;
  --cb-ease: cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; font-family: var(--cb-body); font-size: 1.06rem; line-height: 1.72; color: var(--cb-text); background: var(--cb-bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cb-gold-dark); text-decoration: none; transition: color .15s var(--cb-ease); }
a:hover { color: var(--cb-gold); }
h1, h2, h3, h4 { font-family: var(--cb-display); font-weight: 700; line-height: 1.1; color: var(--cb-ink); margin: 0 0 .4em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.2em; }
.cb-gold-text { background: var(--cb-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
blockquote { margin: 1.8em 0; padding: 1.3em 1.6em; border-radius: var(--cb-radius-sm); background: var(--cb-cream); border-left: 3px solid var(--cb-gold); font-family: var(--cb-display); font-size: 1.6rem; font-style: italic; line-height: 1.3; color: var(--cb-ink); }
code { background: var(--cb-cream); padding: .12em .4em; border-radius: 6px; font-size: .9em; }
pre { background: var(--cb-cream); padding: 1.1em; border-radius: var(--cb-radius-sm); overflow-x: auto; }
:focus-visible { outline: 2px solid var(--cb-gold); outline-offset: 3px; border-radius: 3px; }
.cb-container { width: 100%; max-width: var(--cb-container); margin: 0 auto; padding: 0 1.5rem; }
.cb-narrow { max-width: var(--cb-narrow); margin: 0 auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; z-index: 9999; background: var(--cb-ink); color: var(--cb-gold); padding: .7em 1.2em; }
.skip-link:focus { left: 0; top: 0; }
.cb-rule { height: 2px; width: 70px; background: var(--cb-grad); border-radius: 2px; margin: 0 0 1.4rem; }

.cb-topbar { background: var(--cb-ink); color: #fff; font-size: .78rem; }
.cb-topbar::before { content: ""; display: block; height: 3px; background: var(--cb-grad); }
.cb-topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 1rem; }
.cb-topbar-date { color: rgba(255,255,255,.66); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.cb-topbar-social { display: flex; gap: .25rem; }
.cb-topbar-social a { width: 30px; height: 30px; display: grid; place-items: center; color: rgba(255,255,255,.72); border-radius: 50%; }
.cb-topbar-social a:hover { color: var(--cb-gold); }
.cb-topbar-social svg { width: 15px; height: 15px; }

.cb-header { position: sticky; top: 0; z-index: 300; background: color-mix(in srgb, var(--cb-bg) 90%, transparent); backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid var(--cb-border); }
.cb-header-top { display: flex; align-items: center; justify-content: center; padding: 1.6rem 0 1.2rem; }
.cb-brand { display: inline-flex; align-items: center; gap: .8rem; }
.cb-brand-logo img { max-height: 58px; width: auto; }
.cb-brand-mark { width: 48px; height: 48px; border-radius: 12px; background: var(--cb-ink); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 8px 20px rgba(20,17,12,.25); }
.cb-brand-mark svg { width: 26px; height: 26px; color: var(--cb-gold); }
.cb-brand-text { line-height: 1; text-align: center; }
.cb-brand-title { font-family: var(--cb-display); font-weight: 700; font-size: 2.4rem; letter-spacing: .01em; color: var(--cb-ink); }
.cb-brand-title span { background: var(--cb-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.cb-brand-tag { display: block; font-family: var(--cb-body); font-size: .6rem; font-weight: 700; letter-spacing: .38em; text-transform: uppercase; color: var(--cb-muted); margin-top: .4rem; }

.cb-navbar { border-top: 1px solid var(--cb-border); }
.cb-navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 60px; }
.cb-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: .1rem; align-items: center; flex-wrap: wrap; }
.cb-menu > li { position: relative; }
.cb-menu > li > a { display: block; padding: .55rem .9rem; font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cb-soft); transition: color .16s var(--cb-ease); position: relative; }
.cb-menu > li > a:hover { color: var(--cb-ink); }
.cb-menu > .current-menu-item > a { color: var(--cb-gold-dark); }
.cb-menu > li > a::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 2px; background: var(--cb-grad); border-radius: 2px; transform: scaleX(0); transform-origin: center; transition: transform .22s var(--cb-ease); }
.cb-menu > li:hover > a::after, .cb-menu > .current-menu-item > a::after { transform: scaleX(1); }
.cb-menu .sub-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px; list-style: none; margin: 0; padding: .4rem; background: var(--cb-bg); border: 1px solid var(--cb-border); border-radius: var(--cb-radius-sm); box-shadow: var(--cb-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s var(--cb-ease); z-index: 50; }
.cb-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.cb-menu .sub-menu a { display: block; padding: .55rem .7rem; font-size: .85rem; font-weight: 600; color: var(--cb-soft); border-radius: 8px; text-transform: none; letter-spacing: 0; }
.cb-menu .sub-menu a:hover { background: var(--cb-cream); color: var(--cb-gold-dark); }

.cb-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; position: relative; }
.cb-searchbox { display: flex; align-items: center; background: var(--cb-cream); border: 1px solid var(--cb-border-2); border-radius: var(--cb-pill); padding: .15rem .15rem .15rem 1rem; transition: border-color .2s var(--cb-ease); }
.cb-searchbox:focus-within { border-color: var(--cb-gold); }
.cb-searchbox input { border: none; background: none; font-family: inherit; font-size: .9rem; color: var(--cb-ink); outline: none; width: 160px; }
.cb-searchbox input::placeholder { color: var(--cb-muted); }
.cb-searchbox button { width: 38px; height: 38px; border: none; background: var(--cb-ink); color: var(--cb-gold); border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.cb-searchbox svg { width: 17px; height: 17px; }
.cb-icon-btn { width: 44px; height: 44px; display: grid; place-items: center; background: var(--cb-cream); border: none; border-radius: 50%; cursor: pointer; color: var(--cb-ink); }
.cb-icon-btn svg { width: 22px; height: 22px; }
.cb-burger { display: none; }
.cb-live { position: absolute; top: calc(100% + 10px); right: 0; width: 370px; max-width: 86vw; background: var(--cb-bg); border: 1px solid var(--cb-border); border-radius: var(--cb-radius-sm); box-shadow: var(--cb-shadow); max-height: 60vh; overflow-y: auto; display: none; z-index: 400; }
.cb-live.is-open { display: block; }
.cb-live-item { display: flex; gap: .9rem; padding: .8rem; border-bottom: 1px solid var(--cb-border); align-items: center; }
.cb-live-item:last-child { border-bottom: none; }
.cb-live-item img { width: 58px; height: 44px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.cb-live-item .t { font-family: var(--cb-display); font-weight: 600; font-size: 1.1rem; color: var(--cb-ink); line-height: 1.2; }
.cb-live-item .m { font-size: .72rem; color: var(--cb-gold-dark); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.cb-live-loading, .cb-live-empty { padding: 1rem; color: var(--cb-muted); }

.cb-nw { display: inline-flex; align-items: center; gap: .35em; padding: .28em .8em; background: var(--cb-grad); color: var(--cb-ink); font-family: var(--cb-body); font-size: .72rem; font-weight: 800; letter-spacing: .03em; border-radius: var(--cb-pill); }
.cb-nw svg { width: 12px; height: 12px; }

.cb-hero { background: var(--cb-ink); position: relative; overflow: hidden; }
.cb-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 80% -10%, rgba(200,162,74,.16), transparent 60%); }
.cb-hero-inner { position: relative; z-index: 2; padding: clamp(2rem,4vw,3.4rem) 0; }
.cb-hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.6rem; }
.cb-feat-main { position: relative; border-radius: var(--cb-radius); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; }
.cb-feat-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--cb-ease); }
.cb-feat-main:hover img { transform: scale(1.05); }
.cb-feat-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,5,0) 30%, rgba(10,8,5,.55) 60%, rgba(10,8,5,.94) 100%); }
.cb-feat-inner { position: relative; z-index: 2; padding: 2.4rem; }
.cb-badge { display: inline-block; padding: .35em 1.1em; background: var(--cb-grad); color: var(--cb-ink); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border-radius: var(--cb-pill); margin-bottom: 1rem; }
.cb-feat-title { font-size: clamp(2.2rem,3.6vw,3.4rem); line-height: 1.04; margin: 0 0 .7rem; color: #fff; }
.cb-feat-title a { color: #fff; }
.cb-feat-title a:hover { color: var(--cb-gold); }
.cb-feat-meta { display: flex; align-items: center; gap: .7rem; color: rgba(255,255,255,.78); font-size: .85rem; flex-wrap: wrap; }
.cb-feat-meta img { width: 28px; height: 28px; border-radius: 50%; }
.cb-feat-side { display: grid; grid-template-rows: 1fr 1fr; gap: 1.6rem; }
.cb-feat-mini { position: relative; border-radius: var(--cb-radius-sm); overflow: hidden; min-height: 210px; display: flex; align-items: flex-end; }
.cb-feat-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--cb-ease); }
.cb-feat-mini:hover img { transform: scale(1.06); }
.cb-feat-mini::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,5,0) 38%, rgba(10,8,5,.92) 100%); }
.cb-feat-mini-inner { position: relative; z-index: 2; padding: 1.2rem 1.3rem; }
.cb-feat-mini .cat { display: inline-block; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cb-gold); margin-bottom: .4rem; }
.cb-feat-mini h3 { font-size: 1.3rem; line-height: 1.15; margin: 0; color: #fff; }
.cb-feat-mini h3 a { color: #fff; }

.cb-section { padding: clamp(2.6rem,5vw,4.4rem) 0; }
.cb-section-cream { background: var(--cb-cream); }
.cb-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.4rem; }
.cb-section-eyebrow { display: block; font-family: var(--cb-body); font-weight: 800; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cb-gold-dark); margin-bottom: .4rem; }
.cb-section-title { font-size: clamp(1.9rem,3.2vw,2.7rem); margin: 0; }
.cb-section-link { font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cb-soft); display: inline-flex; align-items: center; gap: .4rem; flex-shrink: 0; padding-bottom: .4rem; }
.cb-section-link:hover { color: var(--cb-gold-dark); }
.cb-section-link svg { width: 15px; height: 15px; }

.cb-content-grid { display: grid; grid-template-columns: 1fr 330px; gap: 3rem; align-items: start; }
.cb-grid { display: grid; gap: 1.8rem; }
.cb-grid-3 { grid-template-columns: repeat(3,1fr); }
.cb-grid-2 { grid-template-columns: repeat(2,1fr); }
.cb-card { background: var(--cb-bg); border: 1px solid var(--cb-border); border-radius: var(--cb-radius); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform .28s var(--cb-ease), box-shadow .28s var(--cb-ease), border-color .28s var(--cb-ease); }
.cb-card:hover { transform: translateY(-6px); box-shadow: var(--cb-shadow-gold); border-color: var(--cb-gold); }
.cb-card-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--cb-cream); display: block; }
.cb-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--cb-ease); }
.cb-card:hover .cb-card-thumb img { transform: scale(1.06); }
.cb-cat { position: absolute; top: 13px; left: 13px; padding: .3em .85em; background: rgba(20,17,12,.82); color: var(--cb-gold) !important; font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: var(--cb-pill); backdrop-filter: blur(4px); }
.cb-card-nw { position: absolute; top: 13px; right: 13px; }
.cb-card-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.cb-card-title { font-family: var(--cb-display); font-weight: 700; font-size: 1.55rem; line-height: 1.12; margin: 0 0 .5rem; }
.cb-card-title a { color: var(--cb-ink); }
.cb-card-title a:hover { color: var(--cb-gold-dark); }
.cb-card-excerpt { color: var(--cb-soft); font-size: .92rem; margin: 0 0 1.1rem; flex: 1; }
.cb-meta { display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: var(--cb-muted); margin-top: auto; }
.cb-meta .cb-avatar { width: 24px; height: 24px; border-radius: 50%; }
.cb-meta-sep::before { content: "•"; margin-right: .5rem; color: var(--cb-gold); }

.cb-rich { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 2.5rem; }
.cb-rich-item { display: flex; gap: 1.1rem; align-items: center; padding: 1rem .6rem; border-bottom: 1px solid var(--cb-border-2); }
.cb-rich-rank { font-family: var(--cb-display); font-weight: 700; font-size: 2.4rem; line-height: 1; width: 46px; flex-shrink: 0; text-align: center; background: var(--cb-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.cb-rich-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; flex-shrink: 0; border: 2px solid var(--cb-gold); }
.cb-rich-body { flex: 1; min-width: 0; }
.cb-rich-title { font-family: var(--cb-display); font-weight: 700; font-size: 1.3rem; line-height: 1.15; margin: 0 0 .25rem; }
.cb-rich-title a { color: var(--cb-ink); }
.cb-rich-title a:hover { color: var(--cb-gold-dark); }

.cb-sidebar { position: sticky; top: 130px; }
.cb-widget { margin-bottom: 2rem; }
.cb-widget-card { background: var(--cb-bg); border: 1px solid var(--cb-border); border-radius: var(--cb-radius); padding: 1.6rem; }
.cb-widget-title { font-family: var(--cb-display); font-weight: 700; font-size: 1.5rem; margin: 0 0 .3rem; color: var(--cb-ink); }
.cb-widget .cb-rule { margin-bottom: 1.1rem; }
.cb-widget ul { list-style: none; padding: 0; margin: 0; }
.cb-widget > ul > li { padding: .55rem 0; border-bottom: 1px solid var(--cb-border); }
.cb-widget > ul > li:last-child { border-bottom: none; }
.cb-widget a { color: var(--cb-soft); font-weight: 600; font-size: .92rem; }
.cb-widget a:hover { color: var(--cb-gold-dark); }
.cb-list-item { display: flex; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid var(--cb-border); }
.cb-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.cb-list-item img { width: 78px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: var(--cb-cream); }
.cb-list-title { font-family: var(--cb-display); font-weight: 700; font-size: 1.15rem; line-height: 1.18; margin: 0 0 .3rem; }
.cb-list-title a { color: var(--cb-ink); }
.cb-list-title a:hover { color: var(--cb-gold-dark); }
.cb-list-meta { font-size: .72rem; color: var(--cb-muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 700; }
.cb-ad { margin: 2rem auto; text-align: center; background: var(--cb-cream); border-radius: var(--cb-radius-sm); padding: .6rem; min-height: 90px; display: grid; place-items: center; overflow: hidden; }
.cb-ad::before { content: "Advertisement"; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cb-muted); }

.cb-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.9rem; background: var(--cb-ink); color: var(--cb-gold); font-weight: 700; font-size: .9rem; letter-spacing: .04em; border: none; border-radius: var(--cb-pill); cursor: pointer; transition: all .22s var(--cb-ease); }
.cb-btn:hover { color: var(--cb-gold); transform: translateY(-2px); box-shadow: var(--cb-shadow-gold); }
.cb-btn-gold { background: var(--cb-grad); color: var(--cb-ink); }
.cb-btn-ghost { background: transparent; color: var(--cb-ink); border: 1px solid var(--cb-border-2); }
.cb-btn-ghost:hover { border-color: var(--cb-gold); color: var(--cb-gold-dark); box-shadow: none; transform: none; }
.cb-center { text-align: center; }

.cb-article { padding: clamp(1.8rem,3vw,2.8rem) 0; }
.cb-breadcrumbs { font-size: .8rem; color: var(--cb-muted); margin-bottom: 1.2rem; }
.cb-breadcrumbs a { color: var(--cb-soft); }
.cb-breadcrumbs a:hover { color: var(--cb-gold-dark); }
.cb-breadcrumbs span { margin: 0 .45rem; }
.cb-article-cat { display: inline-block; padding: .3em 1em; background: var(--cb-ink); color: var(--cb-gold); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border-radius: var(--cb-pill); margin-bottom: 1rem; }
.cb-article-title { font-size: clamp(2.2rem,5vw,3.8rem); margin: 0 0 .8rem; line-height: 1.04; }
.cb-article-dek { font-family: var(--cb-display); font-style: italic; font-size: 1.5rem; color: var(--cb-soft); margin: 0 0 1.2rem; line-height: 1.3; }
.cb-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; color: var(--cb-muted); font-size: .88rem; margin-bottom: 1.6rem; }
.cb-article-meta .author { font-weight: 700; color: var(--cb-ink); }
.cb-article-feat { margin: 0 0 .6rem; border-radius: var(--cb-radius); overflow: hidden; box-shadow: var(--cb-shadow); }
.cb-article-caption { font-size: .8rem; color: var(--cb-muted); margin-bottom: 1.8rem; }
.cb-quickfacts { background: var(--cb-cream); border: 1px solid var(--cb-border-2); border-radius: var(--cb-radius); padding: 1.4rem 1.6rem; margin: 0 0 1.8rem; }
.cb-quickfacts h3 { font-family: var(--cb-display); font-size: 1.4rem; margin: 0 0 .8rem; display: flex; align-items: center; gap: .5rem; }
.cb-quickfacts h3 svg { width: 20px; height: 20px; color: var(--cb-gold); }
.cb-quickfacts dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0; }
.cb-quickfacts dt { font-weight: 700; color: var(--cb-soft); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.cb-quickfacts dd { margin: 0; color: var(--cb-ink); font-weight: 600; }
.cb-article-body { font-size: 1.15rem; line-height: 1.85; color: var(--cb-text); }
.cb-article-body > *:first-child { margin-top: 0; }
.cb-article-body > p:first-of-type::first-letter { float: left; font-family: var(--cb-display); font-weight: 700; font-size: 4rem; line-height: .76; padding: .05em .12em 0 0; background: var(--cb-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.cb-article-body h2 { font-size: 2rem; margin: 1.5em 0 .4em; scroll-margin-top: 120px; }
.cb-article-body h3 { font-size: 1.55rem; margin: 1.3em 0 .4em; scroll-margin-top: 120px; }
.cb-article-body img { border-radius: var(--cb-radius-sm); margin: 1.6em 0; }
.cb-article-body a { color: var(--cb-gold-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cb-article-body ul, .cb-article-body ol { padding-left: 1.3em; }
.cb-article-body li { margin-bottom: .5em; }
.cb-article-body li::marker { color: var(--cb-gold); }
.cb-toc { background: var(--cb-cream); border-radius: var(--cb-radius-sm); padding: 1.2rem 1.4rem; margin: 0 0 1.8rem; }
.cb-toc-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--cb-display); font-weight: 700; font-size: 1.25rem; color: var(--cb-ink); }
.cb-toc-toggle { background: none; border: none; color: var(--cb-gold-dark); cursor: pointer; font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-family: var(--cb-body); }
.cb-toc ol { margin: .8rem 0 0; padding-left: 1.2rem; }
.cb-toc li { margin-bottom: .4rem; }
.cb-toc a { color: var(--cb-soft); font-weight: 600; font-size: .92rem; }
.cb-toc a:hover { color: var(--cb-gold-dark); }
.cb-toc.is-collapsed ol { display: none; }
.cb-toc .lvl-3 { margin-left: 1rem; }
.cb-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0; }
.cb-tag { font-size: .8rem; padding: .4em .95em; background: var(--cb-cream); border-radius: var(--cb-pill); color: var(--cb-soft); font-weight: 600; }
.cb-tag:hover { background: var(--cb-ink); color: var(--cb-gold); }
.cb-share { display: flex; gap: .5rem; align-items: center; margin: 2rem 0; flex-wrap: wrap; }
.cb-share-label { font-family: var(--cb-display); font-weight: 700; font-size: 1.25rem; color: var(--cb-ink); }
.cb-share a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--cb-cream); color: var(--cb-soft); }
.cb-share a:hover { background: var(--cb-ink); color: var(--cb-gold); }
.cb-author { display: flex; gap: 1.3rem; padding: 1.7rem; margin: 2rem 0; border-radius: var(--cb-radius); background: var(--cb-cream); border: 1px solid var(--cb-border-2); }
.cb-author img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--cb-gold); }
.cb-author-name { font-size: 1.4rem; margin: 0 0 .3rem; }
.cb-author-bio { font-size: .92rem; color: var(--cb-soft); margin: 0; }
.cb-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.cb-prevnext a { display: block; padding: 1.2rem 1.4rem; border: 1px solid var(--cb-border); border-radius: var(--cb-radius); transition: all .2s var(--cb-ease); background: var(--cb-bg); }
.cb-prevnext a:hover { border-color: var(--cb-gold); transform: translateY(-2px); box-shadow: var(--cb-shadow-xs); }
.cb-prevnext .lbl { font-weight: 800; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cb-gold-dark); }
.cb-prevnext .ttl { font-family: var(--cb-display); font-weight: 700; color: var(--cb-ink); font-size: 1.2rem; line-height: 1.2; margin-top: .3rem; }
.cb-prevnext .next { text-align: right; }

.cb-page-head { padding: clamp(2rem,4vw,3rem) 0 0; }
.cb-page-title { font-size: clamp(2.2rem,5vw,3.8rem); margin: .4rem 0 0; }
.cb-archive-desc { color: var(--cb-soft); margin-top: .7rem; max-width: 640px; }
.cb-pagination { margin: 3rem 0 1rem; }
.cb-pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; }
.cb-pagination .page-numbers { min-width: 46px; height: 46px; display: grid; place-items: center; padding: 0 .6rem; border: 1px solid var(--cb-border-2); border-radius: var(--cb-radius-sm); color: var(--cb-soft); font-weight: 700; }
.cb-pagination .page-numbers:hover, .cb-pagination .page-numbers.current { background: var(--cb-ink); color: var(--cb-gold); border-color: var(--cb-ink); }
.cb-loadmore-wrap { text-align: center; margin: 2.8rem 0; }
.cb-loadmore.is-loading { opacity: .6; pointer-events: none; }
.cb-infinite-sentinel { height: 1px; }
.cb-comments { margin: 2.6rem 0; }
.cb-comments .comment-list { list-style: none; padding: 0; }
.cb-comments .comment-body { padding: 1.2rem 0; border-bottom: 1px solid var(--cb-border); }
.cb-comments .children { list-style: none; padding-left: 1.8rem; }
.cb-comments .comment-author { font-family: var(--cb-display); font-weight: 700; color: var(--cb-ink); }
.cb-comments .comment-meta { font-size: .8rem; color: var(--cb-muted); margin-bottom: .5rem; }
.cb-comments input, .cb-comments textarea { width: 100%; padding: .8rem 1rem; border: 1px solid var(--cb-border-2); border-radius: var(--cb-radius-sm); background: var(--cb-bg); color: var(--cb-text); font-family: inherit; margin-bottom: 1rem; }

.cb-footer { background: var(--cb-ink); color: rgba(255,255,255,.68); margin-top: 0; }
.cb-footer::before { content: ""; display: block; height: 4px; background: var(--cb-grad); }
.cb-footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2.4rem; padding: 3.6rem 0 2.8rem; }
.cb-footer .cb-brand-title { color: #fff; font-size: 2rem; }
.cb-footer h3 { font-family: var(--cb-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 1rem; color: #fff; }
.cb-footer p { color: rgba(255,255,255,.6); font-size: .92rem; max-width: 320px; }
.cb-footer ul { list-style: none; padding: 0; margin: 0; }
.cb-footer li { padding: .3rem 0; }
.cb-footer a { color: rgba(255,255,255,.68); font-size: .92rem; }
.cb-footer a:hover { color: var(--cb-gold); }
.cb-footer-social { display: flex; gap: .5rem; margin-top: 1.2rem; }
.cb-footer-social a { width: 42px; height: 42px; display: grid; place-items: center; background: rgba(255,255,255,.07); border-radius: 50%; color: rgba(255,255,255,.8); }
.cb-footer-social a:hover { background: var(--cb-grad); color: var(--cb-ink); }
.cb-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: rgba(255,255,255,.48); }

.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin: 1.4em auto; }
.wp-caption-text, .gallery-caption { font-size: .82rem; color: var(--cb-muted); text-align: center; }
.sticky .cb-card { border-color: var(--cb-gold); }
.cb-empty { text-align: center; padding: 4rem 1rem; grid-column: 1/-1; }
.cb-reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--cb-ease), transform .55s var(--cb-ease); }
.cb-reveal.is-visible { opacity: 1; transform: none; }
.cb-totop { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--cb-ink); color: var(--cb-gold); border: none; display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--cb-ease); z-index: 200; box-shadow: var(--cb-shadow-gold); }
.cb-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.cb-mobile-panel { position: fixed; top: 0; right: 0; width: min(330px,86%); height: 100%; background: var(--cb-bg); z-index: 700; padding: 1.6rem 1.4rem; transform: translateX(100%); transition: transform .34s var(--cb-ease); box-shadow: var(--cb-shadow-lg); overflow-y: auto; }
.cb-mobile-panel.is-open { transform: none; }
.cb-mobile-panel ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.cb-mobile-panel li { border-bottom: 1px solid var(--cb-border); }
.cb-mobile-panel a { display: block; padding: .9rem .2rem; font-weight: 600; color: var(--cb-ink); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.cb-backdrop { position: fixed; inset: 0; background: rgba(20,17,12,.55); z-index: 650; opacity: 0; visibility: hidden; transition: opacity .3s; }
.cb-backdrop.is-open { opacity: 1; visibility: visible; }

@media (max-width: 1024px) {
  .cb-hero-grid, .cb-content-grid { grid-template-columns: 1fr; }
  .cb-sidebar { position: static; }
  .cb-feat-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .cb-grid-3 { grid-template-columns: repeat(2,1fr); }
  .cb-footer-grid { grid-template-columns: 1fr 1fr; }
  .cb-rich { grid-template-columns: 1fr; }
}
@media (max-width: 880px) { .cb-menu { display: none; } .cb-burger { display: grid; } }
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .cb-grid-3, .cb-grid-2 { grid-template-columns: 1fr; }
  .cb-feat-side { grid-template-columns: 1fr; }
  .cb-footer-grid { grid-template-columns: 1fr; }
  .cb-prevnext { grid-template-columns: 1fr; }
  .cb-feat-main { min-height: 380px; }
  .cb-searchbox { display: none; }
  .cb-section-head { flex-wrap: wrap; gap: .6rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
