:root {
  --ink: #151713;
  --paper: #f2f0e8;
  --cream: #e5e0d0;
  --lime: #d5ff3f;
  --orange: #ff6339;
  --muted: #686b61;
  --line: rgba(21, 23, 19, .18);
  --white: #fffdf6;
  --container: 1240px;
  --radius: 2px;
  --font: "Manrope", Arial, sans-serif;
  --mono: "DM Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; transform: translateY(-150%); background: var(--lime); padding: 10px 16px; font-weight: 800; }
.skip-link:focus { transform: none; }

.market-bar { overflow: hidden; background: var(--ink); color: var(--white); font-family: var(--mono); font-size: 11px; letter-spacing: .03em; }
.market-track { min-height: 34px; display: flex; align-items: center; gap: 34px; width: min(var(--container), calc(100% - 48px)); margin: auto; white-space: nowrap; }
.market-track b { margin-left: 5px; font-weight: 400; }
.market-track i { margin-left: 4px; font-style: normal; }
.market-label { align-self: stretch; display: grid; place-items: center; padding: 0 14px; background: var(--lime); color: var(--ink); font-weight: 500; }
.market-time { margin-left: auto; color: #a4a69e; }
.up { color: var(--lime); }
.down { color: #ff7760; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(242,240,232,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; background: var(--ink); color: var(--white); font-weight: 800; font-size: 23px; letter-spacing: -.08em; }
.brand-mark span { color: var(--lime); }
.brand-copy { display: grid; line-height: .9; }
.brand-copy b { font-size: 18px; letter-spacing: .12em; }
.brand-copy small { margin-top: 6px; font-family: var(--mono); font-size: 8px; letter-spacing: .28em; }
.main-nav { display: flex; align-items: center; gap: 24px; margin: auto; font-size: 13px; font-weight: 700; }
.main-nav a { position: relative; padding-block: 28px; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 21px; height: 2px; background: var(--ink); transition: right .2s; }
.main-nav a:hover::after, .main-nav .active::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 700; }
.login-link:hover { opacity: .6; }
.search-button { border: 0; background: transparent; padding: 7px; cursor: pointer; }
.search-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 52px; padding: 0 20px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); font-size: 13px; font-weight: 800; transition: transform .18s, background .18s, color .18s; }
.button:hover { transform: translate(-2px,-2px); box-shadow: 3px 3px 0 var(--lime); }
.button-small { min-height: 39px; gap: 15px; padding-inline: 15px; }
.menu-toggle { display: none; border: 0; background: transparent; }

.hero { min-height: 660px; display: grid; grid-template-columns: 46% 54%; align-items: stretch; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.hero-copy { padding: 70px 58px 54px 0; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.eyebrow span { padding: 8px 10px; background: var(--lime); font-weight: 500; }
.eyebrow em { color: var(--muted); font-style: normal; }
.hero h1 { margin: 0; font-size: clamp(58px, 5.2vw, 82px); line-height: .94; letter-spacing: -.065em; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.hero-lead { max-width: 590px; margin: 30px 0; color: #494c44; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 800; border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
.trust-row { display: flex; gap: 32px; margin-top: 58px; font-family: var(--mono); color: var(--muted); font-size: 10px; }
.trust-row span { display: grid; gap: 4px; }
.trust-row b { color: var(--ink); font-family: var(--font); font-size: 17px; }

.hero-visual { position: relative; min-height: 630px; overflow: hidden; background: var(--ink); color: var(--white); }
.visual-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.2) 1px, transparent 1px); background-size: 64px 64px; }
.visual-top, .visual-bottom { position: absolute; z-index: 3; left: 28px; right: 28px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: #a4a69e; }
.visual-top { top: 25px; }
.visual-bottom { bottom: 23px; }
.visual-bottom b { color: var(--white); }
.chart { position: absolute; left: 0; bottom: 88px; width: 100%; overflow: visible; }
.chart-area { fill: url(#area); }
.chart-line { fill: none; stroke: var(--lime); stroke-width: 3; }
.chart-line.ghost { stroke: #fff; stroke-width: 9; opacity: .05; }
.chart circle { fill: var(--lime); stroke: var(--ink); stroke-width: 3; }
.chart-note { position: absolute; z-index: 4; display: grid; gap: 4px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.18); background: rgba(21,23,19,.86); font-family: var(--mono); }
.chart-note small { color: #999d92; font-size: 9px; }
.chart-note b { font-size: 12px; color: var(--lime); }
.note-one { top: 47%; left: 54%; }
.note-two { top: 17%; right: 8%; border-color: var(--lime); }

.topics-section { padding: 100px 0 110px; border-top: 1px solid var(--line); background: var(--white); }
.section-heading { display: flex; align-items: baseline; gap: 18px; margin-bottom: 42px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.section-heading h2 { margin: 0; font-size: clamp(32px,3vw,48px); letter-spacing: -.045em; line-height: 1; }
.section-index { font-family: var(--mono); color: var(--muted); font-size: 11px; }
.section-heading .text-link { margin-left: auto; }
.split-heading { justify-content: space-between; align-items: end; }
.split-heading > div { display: flex; gap: 18px; align-items: baseline; }
.split-heading > p { max-width: 390px; margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }
.topic-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.topic-card { min-height: 360px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--ink); margin-left: -1px; transition: transform .2s; }
.topic-card:hover { transform: translateY(-8px); z-index: 2; box-shadow: 8px 8px 0 rgba(21,23,19,.14); }
.topic-card.dark { background: var(--ink); color: var(--white); }
.topic-card.lime { background: var(--lime); }
.topic-card.cream { background: var(--cream); }
.topic-card.orange { background: var(--orange); }
.topic-number { font-family: var(--mono); font-size: 10px; opacity: .65; }
.topic-icon { width: 44px; height: 44px; margin: 38px 0 20px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 22px; }
.topic-card h3 { margin: 0; font-size: 29px; line-height: 1.05; letter-spacing: -.04em; }
.topic-card p { max-width: 240px; margin: 18px 0; font-size: 13px; line-height: 1.55; opacity: .75; }
.card-link { margin-top: auto; display: flex; justify-content: space-between; padding-top: 15px; border-top: 1px solid currentColor; font-family: var(--mono); font-size: 10px; }
.card-link i { font-style: normal; font-size: 16px; }

.featured-section { padding: 110px 0; }
.feature-story { display: grid; grid-template-columns: 56% 44%; min-height: 530px; border: 1px solid var(--ink); background: var(--white); }
.feature-art { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 34px; background: #252820; color: var(--white); }
.feature-art::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px); background-size: 12px 12px; mask-image: linear-gradient(180deg, transparent, #000); }
.feature-art strong { position: relative; z-index: 3; font-size: clamp(55px,7vw,100px); line-height: .75; letter-spacing: -.08em; color: var(--lime); }
.art-label { position: absolute; z-index: 4; top: 24px; left: 24px; padding: 7px 10px; background: var(--orange); color: var(--ink); font-family: var(--mono); font-size: 9px; }
.candles { position: absolute; inset: 40px 25px 80px; }
.candles i { position: absolute; left: var(--x); top: var(--y); width: 12px; height: var(--h); background: var(--lime); opacity: .7; }
.candles i::before { content: ""; position: absolute; width: 1px; height: calc(100% + 34px); top: -17px; left: 6px; background: inherit; }
.candles i.red { background: var(--orange); }
.feature-content { padding: 50px; display: flex; flex-direction: column; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--muted); font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .03em; }
.post-meta a { padding: 6px 8px; background: var(--lime); color: var(--ink); }
.feature-content h3 { margin: 50px 0 20px; font-size: clamp(35px,3.6vw,54px); line-height: 1.06; letter-spacing: -.055em; }
.feature-content h3 a:hover, .article-body h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.feature-content > p { margin: 0; color: var(--muted); line-height: 1.7; }
.author-row { margin-top: auto; padding-top: 34px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.avatar { width: 39px; height: 39px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); font-family: var(--mono); font-size: 10px; }
.author-row > span:nth-child(2) { display: grid; }
.author-row small { color: var(--muted); font-size: 9px; }
.author-row b { font-size: 12px; }
.round-link { width: 45px; height: 45px; margin-left: auto; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 20px; }
.round-link:hover { background: var(--lime); }

.latest-section { padding: 110px 0; background: var(--white); border-top: 1px solid var(--line); }
.latest-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(290px,.8fr); gap: 70px; }
.article-row { display: grid; grid-template-columns: 185px 1fr 44px; gap: 24px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.article-thumb { position: relative; min-height: 140px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--ink); }
.article-thumb::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(21,23,19,.07) 12px 13px); }
.article-thumb span { z-index: 1; font-size: 45px; font-weight: 800; letter-spacing: -.07em; }
.article-thumb i { position: absolute; z-index: 2; right: 8px; top: 8px; font: 9px var(--mono); font-style: normal; }
.thumb-one { background: var(--lime); }
.thumb-two { background: var(--orange); }
.thumb-three { background: var(--cream); }
.article-body h3 { margin: 18px 0 10px; font-size: 23px; line-height: 1.25; letter-spacing: -.03em; }
.article-body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.article-date { text-align: right; font: 19px var(--mono); }
.article-date small { color: var(--muted); font-size: 8px; }
.button-outline { margin-top: 32px; background: transparent; color: var(--ink); }
.sidebar { padding-top: 82px; }
.sidebar-card { border: 1px solid var(--ink); }
.manifesto { min-height: 310px; padding: 28px; display: flex; flex-direction: column; background: var(--ink); color: var(--white); }
.mini-label { font: 9px var(--mono); letter-spacing: .08em; }
.manifesto .mini-label { color: var(--lime); }
.manifesto blockquote { margin: 55px 0 20px; font-size: 25px; line-height: 1.3; letter-spacing: -.035em; }
.signature { margin-top: auto; color: #93978b; font: 10px var(--mono); }
.popular { margin-top: 20px; background: var(--paper); }
.sidebar-title { display: flex; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--ink); font-weight: 800; font-size: 13px; }
.popular ol { margin: 0; padding: 0; list-style: none; }
.popular li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 20px; border-bottom: 1px solid var(--line); }
.popular li:last-child { border: 0; }
.popular li span { color: var(--muted); font: 10px var(--mono); }
.popular li a { font-size: 13px; line-height: 1.45; font-weight: 700; }
.popular li a:hover { text-decoration: underline; }

.academy-cta { padding: 110px 0; background: var(--lime); border-block: 1px solid var(--ink); }
.academy-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; align-items: center; }
.academy-copy h2 { margin: 24px 0; font-size: clamp(55px,6vw,88px); line-height: .91; letter-spacing: -.07em; }
.academy-copy h2 span { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.academy-copy > p { max-width: 590px; font-size: 17px; line-height: 1.65; }
.academy-actions { display: flex; align-items: center; gap: 25px; margin-top: 35px; }
.button-light { background: var(--ink); }
.light-link { color: var(--ink); border-bottom-color: var(--ink); }
.academy-card { padding: 28px; background: var(--ink); color: var(--white); transform: rotate(1.5deg); box-shadow: 18px 18px 0 rgba(21,23,19,.17); }
.academy-card-top { display: flex; justify-content: space-between; margin-bottom: 20px; color: #8e9287; font: 9px var(--mono); }
.path-item { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.13); }
.path-item > span { color: #7e8278; font: 10px var(--mono); }
.path-item div { display: grid; gap: 4px; }
.path-item b { font-size: 13px; }
.path-item small { color: #8e9287; font-size: 9px; }
.path-item i { font: 10px var(--mono); color: var(--lime); font-style: normal; }
.path-item.active b { color: var(--lime); }
.path-progress { height: 3px; background: #3d4039; }
.path-progress span { display: block; height: 100%; background: var(--lime); }
.coach-note { display: flex; gap: 13px; align-items: center; margin-top: 26px; padding: 14px; border: 1px solid #4c5047; }
.coach-note > span { width: 34px; height: 34px; display: grid; place-items: center; background: var(--lime); color: var(--ink); font: 10px var(--mono); }
.coach-note p { display: grid; gap: 3px; margin: 0; color: #9da196; font-size: 10px; }
.coach-note b { color: var(--white); }

.newsletter-section { padding: 90px 0; background: var(--ink); color: var(--white); }
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.newsletter-grid h2 { max-width: 580px; margin: 18px 0 0; font-size: 45px; line-height: 1.08; letter-spacing: -.05em; }
.newsletter-grid p { margin: 0 0 24px; color: #a8aca1; font-size: 14px; line-height: 1.6; }
.newsletter-form { display: flex; border-bottom: 1px solid #70746a; }
.newsletter-form input { flex: 1; min-width: 0; padding: 15px 0; border: 0; outline: 0; background: transparent; color: var(--white); font-size: 18px; }
.newsletter-form button { border: 0; background: transparent; color: var(--lime); font-weight: 800; cursor: pointer; }
.newsletter-grid small { display: block; margin-top: 10px; color: #777b71; font-size: 9px; }

.site-footer { padding: 65px 0 25px; background: #0d0e0c; color: var(--white); }
.footer-top { display: grid; grid-template-columns: .7fr .8fr 1.4fr; gap: 50px; align-items: start; padding-bottom: 60px; }
.brand-footer .brand-mark { background: var(--lime); color: var(--ink); }
.brand-footer .brand-mark span { color: var(--orange); }
.footer-top p { margin: 0; color: #8c9086; font-size: 13px; line-height: 1.65; }
.footer-links { display: flex; justify-content: flex-end; gap: 25px; font-size: 12px; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 22px; border-top: 1px solid #30332d; color: #696d64; font: 8px var(--mono); }
.footer-bottom div { display: flex; gap: 18px; }

.search-overlay { position: fixed; z-index: 100; inset: 0; background: rgba(21,23,19,.97); color: var(--white); display: grid; place-items: center; }
.search-overlay[hidden] { display: none; }
.search-overlay > div { width: min(800px,calc(100% - 48px)); }
.search-overlay input { width: 100%; margin-top: 18px; padding: 24px 0; border: 0; border-bottom: 2px solid var(--lime); outline: 0; background: transparent; color: var(--white); font-size: clamp(30px,5vw,58px); letter-spacing: -.04em; }
.search-overlay p { color: #8b8f84; }
.search-close { position: absolute; top: 30px; right: 35px; border: 0; background: transparent; color: var(--white); font-size: 42px; cursor: pointer; }

@media (max-width: 1050px) {
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 78px; padding: 20px 24px; background: var(--paper); border-bottom: 1px solid var(--ink); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 10px 0; }
  .main-nav a::after { display: none; }
  .menu-toggle { display: grid; gap: 4px; order: 3; margin-left: auto; padding: 10px; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 22px; height: 2px; background: var(--ink); }
  .nav-actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 30px; }
  .hero-visual { min-height: 560px; }
  .topic-grid { grid-template-columns: repeat(2,1fr); gap: 1px; }
  .latest-layout { gap: 35px; }
  .academy-grid { gap: 50px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px,var(--container)); }
  .market-track { width: max-content; animation: ticker 24s linear infinite; }
  .market-time { margin-left: 0; }
  .login-link, .search-button { display: none; }
  .nav-wrap { min-height: 68px; gap: 12px; }
  .main-nav { top: 68px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-copy { display: none; }
  .button-small { min-height: 36px; }
  .hero { border: 0; }
  .hero-copy { padding: 55px 0 50px; }
  .eyebrow { align-items: flex-start; flex-direction: column; }
  .hero h1 { font-size: 52px; }
  .hero-lead { font-size: 16px; }
  .hero-actions, .academy-actions { align-items: stretch; flex-direction: column; }
  .trust-row { gap: 16px; justify-content: space-between; margin-top: 44px; }
  .hero-visual { min-height: 440px; }
  .visual-bottom span:first-child { display: none; }
  .chart { bottom: 70px; }
  .note-one { left: 38%; }
  .topics-section, .featured-section, .latest-section, .academy-cta { padding: 75px 0; }
  .split-heading { display: block; }
  .split-heading > p { margin-top: 20px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 305px; margin: -1px 0 0; }
  .feature-story { grid-template-columns: 1fr; }
  .feature-art { min-height: 390px; }
  .feature-content { padding: 30px 24px; }
  .feature-content h3 { margin-top: 35px; }
  .author-row { margin-top: 35px; }
  .latest-layout { grid-template-columns: 1fr; }
  .article-row { grid-template-columns: 105px 1fr; gap: 16px; }
  .article-thumb { min-height: 110px; }
  .article-thumb span { font-size: 31px; }
  .article-date { display: none; }
  .article-body h3 { margin-top: 12px; font-size: 18px; }
  .article-body p { display: none; }
  .sidebar { padding-top: 20px; }
  .academy-grid, .newsletter-grid { grid-template-columns: 1fr; gap: 55px; }
  .academy-copy h2 { font-size: 56px; }
  .academy-card { transform: none; box-shadow: 8px 8px 0 rgba(21,23,19,.17); }
  .newsletter-grid h2 { font-size: 34px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .desktop-only { display: none; }
}

@keyframes ticker { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* WordPress integration */
.custom-logo-link { display: block; }
.custom-logo { width: auto; max-height: 46px; }
.main-nav .menu-item { list-style: none; }
.main-nav .current-menu-item > a::after,
.main-nav .current-menu-ancestor > a::after { right: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; padding: 12px; background: var(--lime); color: var(--ink); z-index: 9999; }
.feature-art img, .article-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.feature-art::before, .article-thumb::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(21,23,19,.38)); }
.feature-art .art-label { z-index: 3; }
.author-row .avatar { object-fit: cover; }
.content-shell { min-height: 60vh; padding-block: 90px 120px; }
.archive-header { max-width: 920px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.archive-header h1 { margin: 18px 0 12px; font-size: clamp(50px,7vw,95px); line-height: .95; letter-spacing: -.065em; }
.archive-description { max-width: 680px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.posts-index { max-width: 920px; }
.navigation.pagination { margin-top: 45px; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { min-width: 40px; min-height: 40px; display: grid; place-items: center; border: 1px solid var(--ink); font: 11px var(--mono); }
.page-numbers.current, .page-numbers:hover { background: var(--ink); color: var(--white); }
.single-main { padding-block: 80px 110px; }
.single-header { max-width: 980px; padding-bottom: 48px; }
.breadcrumbs { margin-bottom: 30px; color: var(--muted); font: 10px var(--mono); }
.single-header h1 { margin: 27px 0 24px; font-size: clamp(48px,7vw,98px); line-height: .97; letter-spacing: -.07em; }
.single-deck { max-width: 780px; color: var(--muted); font-size: 20px; line-height: 1.6; }
.single-header .author-row { max-width: 420px; margin-top: 35px; border: 0; }
.single-cover { overflow: hidden; border: 1px solid var(--ink); }
.single-cover img { display:block; width: 100%; height: auto; object-fit: contain; }
.single-layout { display: grid; grid-template-columns: minmax(0,760px) 280px; justify-content: center; gap: 80px; padding-top: 70px; }
.entry-content { min-width: 0; font-size: 18px; line-height: 1.8; }
.entry-content > * { max-width: 760px; }
.entry-content h2 { margin: 2em 0 .7em; font-size: clamp(31px,4vw,47px); line-height: 1.12; letter-spacing: -.045em; }
.entry-content h3 { margin: 1.8em 0 .6em; font-size: 27px; line-height: 1.25; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content img { height: auto; border: 1px solid var(--line); }
.entry-content blockquote { margin: 2em 0; padding: 25px 30px; border-left: 5px solid var(--lime); background: var(--ink); color: var(--white); font-size: 24px; line-height: 1.5; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--line); text-align: left; }
.article-aside { position: relative; }
.article-aside .sidebar-card { position: sticky; top: 120px; }
.article-aside .manifesto { min-height: 240px; }
.inline-academy { margin-top: 90px; padding-block: 55px; border-block: 1px solid var(--ink); display: grid; grid-template-columns: .4fr 1.2fr auto; gap: 35px; align-items: center; }
.inline-academy h2 { margin: 0; font-size: 33px; line-height: 1.15; letter-spacing: -.04em; }
.page-article { max-width: 880px; margin-inline: auto; }
.page-article .single-header { padding-bottom: 20px; }
.error-page { min-height: 70vh; padding-block: 120px; }
.error-page h1 { max-width: 900px; margin: 20px 0; font-size: clamp(60px,9vw,130px); line-height: .85; letter-spacing: -.08em; }
.error-page p { margin-bottom: 35px; color: var(--muted); }
.search-form { display: flex; border-bottom: 2px solid var(--lime); }
.search-form label { flex: 1; }
.search-form input { width: 100%; padding: 22px 0; border: 0; outline: 0; background: transparent; color: inherit; font-size: clamp(25px,4vw,48px); }
.search-form button { border: 0; background: transparent; color: var(--lime); font-weight: 800; cursor: pointer; }
.newsletter-section .wpcf7-response-output { margin: 12px 0 0 !important; font-size: 11px; }
.newsletter-section .wpcf7-not-valid-tip { font-size: 10px; }
.wp-caption, .wp-caption-text, .gallery-caption { max-width: 100%; }
.alignwide { max-width: 1050px !important; margin-left: 50%; transform: translateX(-50%); width: min(1050px,100vw - 30px); }

@media (max-width: 900px) {
  .single-layout { grid-template-columns: 1fr; }
  .article-aside { display: none; }
  .inline-academy { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .content-shell, .single-main { padding-block: 55px 75px; }
  .single-header h1 { font-size: 48px; }
  .single-deck { font-size: 17px; }
  .single-layout { padding-top: 45px; }
  .entry-content { font-size: 17px; }
  .inline-academy { margin-top: 55px; }
  .main-nav .menu-item { display: block; }
}

/* ============================================================
   DARK / GOLD OVERRIDE — đồng bộ trang mặc định (blog, post, category,
   page, search, 404) với giao diện funnel #08090D + #F0B429.
   Lớp này nằm CUỐI file nên thắng cascade, không phá layout gốc.
   ============================================================ */
:root {
  --ink: #E8EAF0;      /* chữ + viền → sáng */
  --paper: #08090D;    /* nền trang → tối */
  --cream: #13151E;    /* surface phụ → tối */
  --white: #F5F7FA;    /* chữ trên card */
  --lime: #F0B429;     /* accent chính → vàng */
  --orange: #FF7A45;   /* accent phụ */
  --muted: #8A8F9A;
  --line: rgba(255,255,255,.10);
}
body { background: var(--paper); color: var(--ink); }

/* --- Header / nav --- */
.site-header { background: rgba(8,9,13,.9); border-bottom-color: var(--line); }
.menu-toggle span:not(.sr-only) { background: var(--ink); }
@media (max-width:1050px){ .main-nav { background: #0E0F16; border-bottom-color: var(--line); } }

/* --- Sections nền sáng (--white/--paper) → tối --- */
.topics-section, .latest-section, .popular, .page-article,
.feature-story { background: #0E0F16; }
.feature-story, .latest-section, .topics-section { border-color: var(--line); }

/* --- Card/khối nền tối (cũ = var(--ink)) → surface tối, chữ sáng --- */
.market-bar, .hero-visual, .topic-card.dark, .manifesto,
.academy-card, .newsletter-section { background: #0E0F16; color: var(--white); }
.avatar, .topic-card.cream, .thumb-three,
.entry-content blockquote { background: #13151E; }
.feature-art { background: #16181F; }

/* --- Viền mạnh (cũ = var(--ink)) → viền mảnh sáng --- */
.topic-card, .feature-story, .article-thumb, .sidebar-card, .single-cover,
.round-link, .page-numbers, .popular, .inline-academy,
.sidebar-title { border-color: var(--line); }
.academy-cta { border-block-color: var(--line); }

/* --- Accent VÀNG: nền vàng/cam → chữ ĐEN để tương phản --- */
.brand-mark { background: var(--lime); color: #08090D; }
.brand-mark span { color: var(--orange); }
.button { background: var(--lime); color: #08090D; border-color: var(--lime); }
.button:hover { box-shadow: 3px 3px 0 rgba(240,180,41,.45); }
.button-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.button-light { background: var(--lime); color: #08090D; }
.market-label, .post-meta a, .coach-note > span, .art-label,
.skip-link, .screen-reader-text:focus { color: #08090D; }
.topic-card.lime, .topic-card.orange { color: #08090D; }
.page-numbers.current, .page-numbers:hover { background: var(--lime); color: #08090D; }
.round-link:hover { background: var(--lime); color: #08090D; }

/* --- Academy CTA: cả khối vàng → nền tối + nhấn vàng --- */
.academy-cta { background: #0E0F16; }
.light-link { color: var(--ink); border-bottom-color: var(--line); }

/* --- Chart / blockquote / link bài viết --- */
.chart circle { fill: var(--lime); stroke: #08090D; }
.entry-content blockquote { border-left-color: var(--lime); color: var(--white); }
.entry-content a { text-decoration-color: var(--lime); }

/* --- Footer --- */
.site-footer { background: #060709; }
.brand-footer .brand-mark { background: var(--lime); color: #08090D; }
.brand-footer .brand-mark span { color: var(--orange); }

/* Logo ảnh đồng bộ (header dùng .custom-logo, footer/brand dùng .crazii-logo-img) */
.crazii-logo-img { height: 40px; width: auto; display: block; }
.brand-footer .crazii-logo-img { height: 38px; }
.brand-footer { font-weight: 900; font-size: 1.4rem; letter-spacing: -.02em; color: var(--gold); }

/* ============================================================
   DROPDOWN MENU CHÍNH (header.php) — đồng bộ với nav trang funnel.
   Fix submenu "Kiến Thức" bị đổ inline → dropdown gọn dark/gold.
   ============================================================ */
.main-nav .menu-item-has-children { position: relative; }
.main-nav .sub-menu {
  position: absolute; top: 100%; left: 0; z-index: 60;
  display: none; flex-direction: column; min-width: 210px;
  margin: 0; padding: 8px; list-style: none;
  background: #0E0F16; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu { display: flex; }
.main-nav .sub-menu .menu-item { display: block; }
.main-nav .sub-menu a { display: block; padding: 9px 12px; color: var(--muted); white-space: nowrap; }
.main-nav .sub-menu a::after { display: none; }
.main-nav .sub-menu a:hover { color: var(--gold); background: rgba(255,255,255,.05); border-radius: 6px; }
/* Mũi tên chỉ submenu */
.main-nav .menu-item-has-children > a::before {
  content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .6; vertical-align: middle;
}
@media (max-width: 1050px) {
  /* Trên mobile: submenu xổ dọc, thụt lề, không position absolute */
  .main-nav .sub-menu {
    position: static; display: flex; min-width: 0;
    background: transparent; border: 0; box-shadow: none; padding: 2px 0 6px 16px;
  }
  .main-nav .menu-item-has-children > a::before { display: none; }
}
