:root {
  --navy: #07111f;
  --navy-2: #0c1a2d;
  --navy-3: #13243a;
  --teal: #14b8a6;
  --teal-dark: #0f8f82;
  --amber: #f59e0b;
  --red: #ef4444;
  --violet: #8b5cf6;
  --bg: #f3f6f8;
  --surface: #ffffff;
  --surface-2: #eaf0f3;
  --text: #0b1728;
  --muted: #657184;
  --border: #dce4e8;
  --shadow: 0 18px 50px rgba(7, 17, 31, .09);
  --radius: 18px;
  --container: 1180px;
}

[data-theme="dark"] {
  --bg: #07111f;
  --surface: #0c1a2d;
  --surface-2: #12243a;
  --text: #f4f7f8;
  --muted: #a9b5c4;
  --border: #20354b;
  --shadow: 0 18px 50px rgba(0, 0, 0, .25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  transition: background .2s ease, color .2s ease;
}
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; background: var(--teal); color: #07111f; padding: 10px 16px; border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 16px; }

.demo-notice { background: #fff7df; color: #62440a; font-size: 12px; border-bottom: 1px solid #f5d887; }
.demo-notice__inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.demo-notice strong { background: var(--amber); color: #171007; padding: 3px 7px; border-radius: 4px; margin-right: 8px; font-size: 10px; letter-spacing: .08em; }
.demo-notice button { border: 0; background: transparent; font-size: 20px; cursor: pointer; color: #62440a; }
.demo-notice.hidden { display: none; }

.market-strip { background: var(--navy); color: #dbe7ed; border-bottom: 1px solid rgba(255,255,255,.08); }
.market-strip__inner { min-height: 40px; display: flex; align-items: center; gap: 24px; font-size: 12px; white-space: nowrap; }
.market-label { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.market-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(20,184,166,.12); }
.market-scroll { display: flex; flex: 1; justify-content: space-around; gap: 25px; overflow: hidden; }
.market-item b { color: #fff; margin-right: 5px; }
.market-item em { margin-left: 5px; font-style: normal; font-weight: 800; }
.up { color: #2dd4bf !important; }
.down { color: #fb7185 !important; }
.market-time { color: #8698aa; font-size: 10px; }

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.header-main { height: 76px; display: flex; align-items: center; gap: 34px; }
.brand { flex-shrink: 0; }
.brand img { width: 238px; height: 58px; object-fit: contain; object-position: left center; }
.desktop-nav { flex: 1; display: flex; justify-content: center; gap: 25px; }
.desktop-nav a { position: relative; color: var(--muted); font-size: 13px; font-weight: 750; padding: 27px 0 24px; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--text); }
.desktop-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 5px 5px 0 0; background: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .menu-button { width: 40px; height: 40px; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 10px; display: grid; place-items: center; cursor: pointer; }
.icon-button:hover, .menu-button:hover { border-color: var(--teal); color: var(--teal); }
.icon-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.menu-button { display: none; gap: 4px; align-content: center; }
.menu-button span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 5px; }
.mobile-nav { display: none; border-top: 1px solid var(--border); }
.mobile-nav.open { display: block; }
.mobile-nav .container { display: grid; padding: 8px 0 16px; }
.mobile-nav a { padding: 11px 4px; font-weight: 750; border-bottom: 1px solid var(--border); }

.breaking-bar { background: var(--surface); border-bottom: 1px solid var(--border); }
.breaking-bar__inner { min-height: 46px; display: flex; align-items: center; gap: 16px; }
.breaking-label { background: var(--red); color: #fff; padding: 5px 9px; font-size: 9px; font-weight: 900; letter-spacing: .12em; border-radius: 4px; }
.breaking-bar p { margin: 0; flex: 1; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.breaking-arrow { color: var(--teal); font-weight: 900; }

.hero-section { padding: 30px 0 20px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, .75fr); gap: 18px; }
.hero-story { min-height: 520px; border-radius: 24px; overflow: hidden; position: relative; isolation: isolate; background: var(--navy); box-shadow: var(--shadow); }
.hero-story__visual { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(circle at 70% 35%, #17415b 0, #0c2134 34%, #06111f 70%); }
.hero-story__visual::before, .hero-story__visual::after { content: ""; position: absolute; border: 1px solid rgba(20,184,166,.14); border-radius: 50%; }
.hero-story__visual::before { width: 520px; height: 520px; right: -120px; top: -150px; }
.hero-story__visual::after { width: 300px; height: 300px; right: -10px; top: -30px; }
.hero-chart { position: absolute; bottom: 0; left: 0; width: 100%; height: 63%; opacity: .9; }
.chart-area { fill: url(#chartFill); }
.chart-line { fill: none; stroke: #20d6c2; stroke-width: 5; filter: drop-shadow(0 0 10px rgba(20,184,166,.6)); }
.coin-orbit { position: absolute; top: 67px; right: 88px; width: 155px; height: 155px; border: 1px solid rgba(245,158,11,.35); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 25px rgba(245,158,11,.03), 0 0 70px rgba(245,158,11,.12); }
.coin-orbit span { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #fbc44d, #f59e0b); color: #211407; font-size: 54px; font-weight: 700; box-shadow: 0 16px 50px rgba(245,158,11,.25); }
.hero-story__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,10,19,.95) 0%, rgba(3,10,19,.72) 48%, rgba(3,10,19,.08) 100%), linear-gradient(0deg, rgba(3,10,19,.95), transparent 65%); }
.hero-story__content { position: absolute; z-index: 2; left: 44px; bottom: 40px; width: min(600px, calc(100% - 80px)); color: #fff; }
.tag { display: inline-flex; padding: 5px 9px; border-radius: 5px; color: #f4f7f8; background: var(--navy-3); font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.tag--teal { background: var(--teal); color: #05211e; }
.tag--amber { background: var(--amber); color: #211407; }
.hero-story h1 { margin: 15px 0 12px; max-width: 620px; font-size: clamp(32px, 4vw, 50px); line-height: 1.05; letter-spacing: -.035em; }
.hero-story p { margin: 0 0 20px; color: #c7d5df; max-width: 590px; font-size: 15px; }
.story-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; }
.story-meta i { width: 3px; height: 3px; background: currentColor; border-radius: 50%; }
.story-meta--light { color: #b7c7d3; }
.hero-side { display: grid; gap: 18px; }
.side-story { min-height: 251px; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.side-story__art { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.side-story__art::before, .side-story__art::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.side-story__art::before { width: 240px; height: 240px; top: -80px; right: -55px; }
.side-story__art::after { width: 140px; height: 140px; top: -22px; right: -5px; }
.art-regulation .side-story__art { background: linear-gradient(145deg, #173455, #0a1728); }
.art-education .side-story__art { background: linear-gradient(145deg, #584014, #15170f); }
.art-glyph { position: absolute; top: 29px; right: 34px; color: rgba(255,255,255,.92); font-size: 52px; font-weight: 950; letter-spacing: -.08em; }
.side-story__content { position: absolute; inset: auto 22px 20px; z-index: 2; color: #fff; }
.side-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,10,19,.94), rgba(3,10,19,.05) 75%); }
.side-story h2 { margin: 10px 0 9px; font-size: 18px; line-height: 1.25; }
.side-story .story-meta { color: #aebdca; }

.section { padding: 62px 0 70px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .65fr); gap: 40px; align-items: start; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.eyebrow { display: block; color: var(--teal-dark); font-size: 9px; font-weight: 950; letter-spacing: .18em; margin-bottom: 5px; }
.section-heading h2 { margin: 0; font-size: 31px; line-height: 1.15; letter-spacing: -.025em; }
.section-heading > a { color: var(--muted); font-size: 12px; font-weight: 800; }
.section-heading > a span { color: var(--teal); margin-left: 6px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter { border: 1px solid var(--border); background: var(--surface); color: var(--muted); border-radius: 100px; padding: 8px 14px; cursor: pointer; font-size: 11px; font-weight: 800; }
.filter.active, .filter:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
[data-theme="dark"] .filter.active { background: var(--teal); border-color: var(--teal); color: #05211e; }
.news-list { display: grid; gap: 14px; }
.news-card { display: grid; grid-template-columns: 220px 1fr; min-height: 172px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.news-card.hidden { display: none; }
.news-card__art { position: relative; display: grid; place-items: center; overflow: hidden; }
.news-card__art::before { content: ""; position: absolute; width: 165px; height: 165px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.news-card__art::after { content: ""; position: absolute; width: 100px; height: 100px; border-radius: 50%; background: rgba(255,255,255,.07); }
.news-card__art span { position: relative; z-index: 2; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 34px; font-weight: 900; border: 1px solid rgba(255,255,255,.2); }
.art-btc { background: linear-gradient(135deg, #c77c06, #5d3005); }
.art-eth { background: linear-gradient(135deg, #5363b9, #232547); }
.art-risk { background: linear-gradient(135deg, #0f887b, #063b3a); }
.art-sol { background: linear-gradient(135deg, #6a35a4, #162b4c); }
.news-card__body { padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; }
.category { color: var(--teal-dark); font-size: 9px; font-weight: 950; letter-spacing: .13em; }
.category--violet { color: var(--violet); }
.category--amber { color: #c17b05; }
.news-card h3 { margin: 7px 0; font-size: 19px; line-height: 1.27; }
.news-card h3 a:hover { color: var(--teal-dark); }
.news-card p { margin: 0 0 11px; color: var(--muted); font-size: 12px; line-height: 1.55; }

.sidebar { display: grid; gap: 20px; }
.sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.sidebar-title { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.sidebar-title span { width: 4px; height: 20px; background: var(--teal); border-radius: 5px; }
.sidebar-title h2 { margin: 0; font-size: 19px; }
.popular-list { list-style: none; padding: 0; margin: 6px 0 0; }
.popular-list li { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.popular-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.popular-list li > span { color: var(--teal); font-size: 22px; font-weight: 950; line-height: 1; }
.popular-list a { display: block; font-size: 13px; font-weight: 800; line-height: 1.35; }
.popular-list a:hover { color: var(--teal-dark); }
.popular-list small { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; }
.newsletter-mini { background: linear-gradient(150deg, var(--navy-2), var(--navy)); color: #fff; border: 0; }
.mail-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(20,184,166,.15); color: var(--teal); font-size: 20px; }
.newsletter-mini h2 { margin: 14px 0 7px; font-size: 20px; line-height: 1.2; }
.newsletter-mini p { margin: 0 0 16px; color: #adbdc9; font-size: 12px; }
.newsletter-mini form { display: grid; gap: 8px; }
.newsletter-mini input { width: 100%; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.08); color: #fff; padding: 11px 12px; border-radius: 8px; outline: none; font-size: 12px; }
.newsletter-mini input:focus { border-color: var(--teal); }
.newsletter-mini button { border: 0; background: var(--teal); color: #06201d; padding: 11px 12px; border-radius: 8px; font-weight: 900; cursor: pointer; font-size: 12px; }
.newsletter-mini small { min-height: 18px; color: #7ee7da; }
.ad-slot { min-height: 250px; border: 1px dashed #aeb9c1; color: var(--muted); border-radius: 14px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: repeating-linear-gradient(135deg, transparent, transparent 10px, color-mix(in srgb, var(--surface-2) 55%, transparent) 10px, color-mix(in srgb, var(--surface-2) 55%, transparent) 20px); }
.ad-slot span { font-size: 8px; letter-spacing: .15em; }
.ad-slot strong { font-size: 19px; }
.ad-slot small { font-size: 10px; }

.market-section { padding: 68px 0; background: var(--navy); color: #fff; }
.section-heading--light h2 { color: #fff; }
.section-heading--light .eyebrow { color: var(--teal); }
.market-disclaimer { color: #8fa1af; font-size: 10px; }
.market-table-wrap { overflow-x: auto; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; background: rgba(255,255,255,.035); }
.market-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.market-table th { padding: 13px 18px; text-align: left; color: #7890a1; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; background: rgba(0,0,0,.12); }
.market-table td { padding: 15px 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; }
.asset { display: flex; align-items: center; gap: 10px; }
.asset-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-weight: 900; color: #fff; }
.asset-icon.btc { background: #e8940b; }.asset-icon.eth { background: #5968b8; }.asset-icon.bnb { background: #d9a40a; color: #1b1607; }.asset-icon.sol { background: #7445a7; }
.asset small { display: block; color: #8095a4; font-size: 9px; }
.change { font-weight: 850; }
.spark { display: block; width: 100px; height: 30px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30'%3E%3Cpath d='M1 24 L15 18 L24 21 L36 10 L48 14 L61 7 L72 12 L88 3 L99 6' fill='none' stroke='black' stroke-width='3'/%3E%3C/svg%3E") center/contain no-repeat; background: #2dd4bf; }
.spark-c { transform: scaleY(-1); background: #fb7185; }.spark-b { transform: scaleY(.75); }.spark-d { transform: scaleY(1.2); }
.market-table button { border: 1px solid rgba(255,255,255,.16); background: transparent; color: #d7e3e9; border-radius: 7px; padding: 6px 10px; cursor: pointer; font-size: 10px; }
.market-table button:hover { border-color: var(--teal); color: var(--teal); }

.learn-section { padding: 80px 0; background: var(--surface); }
.learn-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.learn-copy h2 { margin: 7px 0 14px; font-size: clamp(31px, 4vw, 46px); line-height: 1.05; letter-spacing: -.04em; }
.learn-copy p { color: var(--muted); max-width: 480px; font-size: 14px; }
.primary-button { display: inline-flex; align-items: center; gap: 25px; margin-top: 13px; background: var(--teal); color: #05211e; border-radius: 9px; padding: 12px 18px; font-size: 12px; font-weight: 900; }
.primary-button:hover { background: #21cdbc; transform: translateY(-1px); }
.learn-cards { display: grid; gap: 11px; }
.learn-cards article { display: grid; grid-template-columns: 68px 1fr; align-items: center; gap: 18px; padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); }
.learn-cards article > span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 12px; background: var(--navy); color: var(--teal); font-weight: 950; font-size: 19px; }
.learn-cards small { color: var(--teal-dark); font-size: 8px; font-weight: 950; letter-spacing: .13em; }
.learn-cards h3 { margin: 4px 0; font-size: 16px; }.learn-cards p { margin: 0; color: var(--muted); font-size: 10px; }

.site-footer { background: #050c16; color: #fff; padding: 60px 0 0; }
.footer-main { display: grid; grid-template-columns: 1.7fr repeat(3, .75fr); gap: 55px; padding-bottom: 46px; }
.footer-brand img { width: 235px; height: 55px; object-fit: contain; object-position: left; background: #fff; border-radius: 8px; padding: 4px 8px; }
.footer-brand p { max-width: 350px; color: #8fa1af; font-size: 12px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid #213449; color: #91a4b2; border-radius: 8px; font-size: 9px; font-weight: 900; }
.socials a:hover { border-color: var(--teal); color: var(--teal); }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links h2 { margin: 0 0 7px; font-size: 13px; }
.footer-links a { color: #8fa1af; font-size: 11px; }.footer-links a:hover { color: var(--teal); }
.footer-bottom { min-height: 60px; border-top: 1px solid #142438; display: flex; align-items: center; justify-content: space-between; color: #698092; font-size: 10px; }

.search-modal { display: none; position: fixed; inset: 0; z-index: 100; }
.search-modal.open { display: grid; place-items: start center; }
.search-backdrop { position: absolute; inset: 0; background: rgba(3,9,17,.76); backdrop-filter: blur(6px); }
.search-panel { position: relative; z-index: 2; width: min(calc(100% - 32px), 680px); margin-top: 15vh; padding: 36px; background: var(--surface); border-radius: 20px; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.search-panel h2 { margin: 6px 0 22px; font-size: 30px; }
.search-panel form { display: flex; border: 1px solid var(--border); border-radius: 11px; overflow: hidden; }
.search-panel input { flex: 1; min-width: 0; border: 0; outline: 0; background: var(--bg); color: var(--text); padding: 14px 15px; }
.search-panel form button { border: 0; background: var(--teal); color: #05211e; padding: 0 22px; font-weight: 900; cursor: pointer; }
.search-panel p { margin: 15px 0 0; color: var(--muted); font-size: 11px; }
.search-close { position: absolute; right: 18px; top: 14px; border: 0; background: transparent; color: var(--muted); font-size: 29px; cursor: pointer; }

@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .header-main { justify-content: space-between; }
  .menu-button { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr 1fr; }
  .ad-slot { grid-column: 1 / -1; min-height: 140px; }
  .learn-grid { gap: 35px; }
  .footer-main { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .demo-notice__inner { padding: 6px 0; }
  .market-strip__inner { gap: 15px; }
  .market-scroll { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .market-time { display: none; }
  .header-main { height: 66px; }
  .brand img { width: 194px; height: 50px; }
  .breaking-bar p { font-size: 11px; }
  .hero-section { padding-top: 18px; }
  .hero-story { min-height: 480px; }
  .hero-story__content { left: 24px; bottom: 28px; width: calc(100% - 48px); }
  .hero-story h1 { font-size: 34px; }
  .hero-story p { font-size: 13px; }
  .coin-orbit { top: 58px; right: 25px; transform: scale(.75); }
  .hero-side { grid-template-columns: 1fr; }
  .side-story { min-height: 220px; }
  .section { padding: 45px 0 55px; }
  .section-heading h2 { font-size: 27px; }
  .news-card { grid-template-columns: 125px 1fr; min-height: 185px; }
  .news-card__body { padding: 15px; }
  .news-card h3 { font-size: 15px; }
  .news-card p { display: none; }
  .news-card__art span { width: 54px; height: 54px; font-size: 26px; }
  .sidebar { grid-template-columns: 1fr; }
  .ad-slot { grid-column: auto; min-height: 180px; }
  .market-section { padding: 50px 0; }
  .learn-section { padding: 58px 0; }
  .learn-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; padding: 14px 0; }
  .footer-bottom p { margin: 0; }
}

@media (max-width: 480px) {
  .demo-notice span { line-height: 1.35; }
  .demo-notice strong { display: inline-block; }
  .icon-button { width: 37px; height: 37px; }
  .hero-story { min-height: 450px; border-radius: 18px; }
  .hero-story h1 { font-size: 30px; }
  .hero-story p { display: none; }
  .hero-story__content { bottom: 25px; }
  .coin-orbit { transform: scale(.62); transform-origin: top right; }
  .news-card { grid-template-columns: 105px 1fr; }
  .news-card__body { padding: 13px; }
  .news-card h3 { margin: 5px 0 8px; font-size: 14px; }
  .news-card .story-meta span:first-child, .news-card .story-meta i { display: none; }
  .section-heading > a { display: none; }
  .learn-cards article { grid-template-columns: 56px 1fr; padding: 15px; gap: 10px; }
  .learn-cards article > span { width: 46px; height: 46px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .search-panel { padding: 28px 20px; }
  .search-panel h2 { font-size: 24px; }
}

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

/* WordPress integration */
.desktop-nav ul,
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.desktop-nav > ul { flex: 1; display: flex; justify-content: center; gap: 25px; }
.desktop-nav li { position: relative; }
.desktop-nav .current-menu-item > a,
.desktop-nav .current_page_item > a { color: var(--text); }
.desktop-nav .current-menu-item > a::after,
.desktop-nav .current_page_item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 5px 5px 0 0; background: var(--teal); }
.desktop-nav .sub-menu { display: none; position: absolute; top: 68px; left: -18px; min-width: 190px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }
.desktop-nav li:hover > .sub-menu,
.desktop-nav li:focus-within > .sub-menu { display: grid; }
.desktop-nav .sub-menu a { display: block; padding: 9px 10px; }
.mobile-nav .container > ul { display: grid; width: 100%; }
.brand .custom-logo-link { display: block; }
.brand .custom-logo { width: 238px; height: 58px; object-fit: contain; object-position: left center; }
body.admin-bar .site-header { top: 32px; }

.hero-story.has-featured-image { background-position: center; background-size: cover; }
.hero-story.has-featured-image .hero-story__visual { opacity: .16; }
.hero-story__content h1 a,
.side-story__content h2 a { color: inherit; }
.side-story.has-side-image { background-position: center; background-size: cover; }
.side-story.has-side-image .side-story__art { opacity: .14; }
.news-card__art.has-image::before,
.news-card__art.has-image::after { display: none; }
.news-card__art.has-image img { width: 100%; height: 100%; object-fit: cover; }
.market-detail { display: inline-block; border: 1px solid rgba(255,255,255,.16); background: transparent; color: #d7e3e9; border-radius: 7px; padding: 6px 10px; font-size: 10px; }
.market-detail:hover { border-color: var(--teal); color: var(--teal); }
.widget-ad { overflow: hidden; border-radius: 14px; }
.widget-ad img,
.widget-ad iframe { max-width: 100%; }
.empty-note { color: var(--muted); font-size: 12px; }

.archive-shell { padding: 62px 0 80px; }
.archive-header { margin-bottom: 32px; max-width: 760px; }
.archive-header h1 { margin: 0; font-size: clamp(34px, 5vw, 54px); letter-spacing: -.045em; line-height: 1.05; }
.archive-description { margin-top: 12px; color: var(--muted); }
.empty-state { padding: 55px 30px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); text-align: center; }
.empty-state h2 { margin-top: 0; }
.navigation.pagination { margin-top: 30px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers { min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); font-size: 12px; font-weight: 800; }
.page-numbers.current { background: var(--teal); color: #05211e; border-color: var(--teal); }

.single-shell { min-height: 60vh; }
.single-hero { padding: 68px 0 60px; background: radial-gradient(circle at 80% 15%, #163a50, var(--navy) 54%); color: #fff; }
.single-hero__inner { max-width: 920px; }
.single-hero h1 { margin: 16px 0 20px; font-size: clamp(37px, 6vw, 68px); line-height: 1.02; letter-spacing: -.05em; }
.single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #aebfca; font-size: 12px; }
.single-meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.single-meta a { color: #fff; font-weight: 800; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 55px; align-items: start; padding-top: 44px; padding-bottom: 80px; }
.article-main { min-width: 0; }
.article-featured { margin: 0 0 34px; overflow: hidden; border-radius: 18px; }
.article-featured img { width: 100%; height: auto; }
.article-content { font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.85; }
.article-content > * { max-width: 780px; margin-left: auto; margin-right: auto; }
.article-content h2,
.article-content h3,
.article-content h4 { font-family: Inter, ui-sans-serif, system-ui, sans-serif; line-height: 1.2; letter-spacing: -.025em; margin-top: 1.8em; }
.article-content a { color: var(--teal-dark); text-decoration: underline; }
.article-content blockquote { margin-block: 30px; padding: 20px 24px; border-left: 4px solid var(--teal); background: var(--surface-2); font-style: italic; }
.article-content img { height: auto; border-radius: 12px; }
.article-tags { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12px; }
.article-tags a { display: inline-block; margin: 4px; padding: 6px 10px; border-radius: 100px; background: var(--surface-2); }
.article-disclaimer { margin-top: 28px; padding: 18px 20px; border: 1px solid #f2cd75; border-radius: 12px; background: #fff8e7; color: #5d4513; font-size: 12px; }
[data-theme="dark"] .article-disclaimer { background: #2a210e; color: #f5deb0; border-color: #5f4a20; }
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.post-navigation > div { padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-size: 13px; font-weight: 800; }
.post-navigation small { display: block; color: var(--muted); font-size: 9px; margin-bottom: 5px; text-transform: uppercase; }
.comments-area { margin-top: 42px; }
.comment-list { padding-left: 24px; }
.comment-list li { margin-bottom: 18px; }
.comment-form input:not([type="submit"]),
.comment-form textarea,
.search-form input { width: 100%; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); color: var(--text); padding: 11px 12px; }
.comment-form input[type="submit"],
.search-submit { border: 0; border-radius: 8px; background: var(--teal); color: #05211e; padding: 10px 15px; font-weight: 900; cursor: pointer; }

.page-header { padding: 60px 0; background: var(--navy); color: #fff; }
.page-header h1 { margin: 4px 0 0; font-size: clamp(38px, 6vw, 64px); line-height: 1.05; }
.page-content { max-width: 880px; padding-top: 55px; padding-bottom: 80px; }
.not-found { min-height: 64vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.not-found .container { max-width: 720px; }
.error-code { display: block; color: var(--teal); font-size: clamp(80px, 18vw, 170px); font-weight: 950; letter-spacing: -.08em; line-height: .8; }
.not-found h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.05; }
.not-found p { color: var(--muted); }

@media (max-width: 1020px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-layout > .sidebar { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 760px) {
  .brand .custom-logo { width: 194px; height: 50px; }
  .single-hero { padding: 45px 0; }
  .single-hero h1 { font-size: 39px; }
  .article-layout { gap: 35px; padding-top: 28px; }
  .article-content { font-size: 17px; }
  .article-layout > .sidebar { grid-template-columns: 1fr; }
  .post-navigation { grid-template-columns: 1fr; }
}
