/*
Theme Name: Wealth Insight
Theme URI: https://example.com/wealth-insight
Author: OpenAI
Author URI: https://openai.com
Description: A premium finance intelligence WordPress theme for market analysis, research notes, and wealth strategy.
Version: 1.8.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wealth-insight
Tags: news, blog, finance, editorial, two-columns
*/

:root {
  --wi-bg: #f5f8fc;
  --wi-surface: #ffffff;
  --wi-ink: #101b2d;
  --wi-ink-2: #20314f;
  --wi-muted: #65748a;
  --wi-line: #dce6f2;
  --wi-line-dark: rgba(255, 255, 255, .16);
  --wi-deep: #071b3a;
  --wi-deep-2: #0d2b5c;
  --wi-blue: #1f6feb;
  --wi-green: #1f6feb;
  --wi-red: #c94055;
  --wi-gold: #b9862c;
  --wi-mint: #e7f0ff;
  --wi-sand: #eef4fb;
  --wi-serif: "Noto Serif TC", Georgia, "Times New Roman", serif;
  --wi-sans: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Microsoft JhengHei", sans-serif;
  --wi-radius: 8px;
  --wi-shadow: 0 22px 60px rgba(7, 27, 58, .12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(31, 111, 235, .06), transparent 280px),
    var(--wi-bg);
  color: var(--wi-ink);
  font-family: var(--wi-sans);
  font-size: 16px;
  line-height: 1.75;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--wi-blue); }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button { cursor: pointer; }

a, button, input {
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease, opacity .18s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(43, 112, 214, .28);
  outline-offset: 3px;
}

.wi-container {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  z-index: 999;
  background: #fff;
  border: 1px solid var(--wi-line);
  padding: 10px 14px;
}

.wi-reading-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 0;
  height: 3px;
  z-index: 1000;
  background: linear-gradient(90deg, var(--wi-green), var(--wi-blue), var(--wi-gold));
}

/* Header */
.wi-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(245, 247, 246, .92);
  border-bottom: 1px solid rgba(223, 230, 226, .92);
  backdrop-filter: blur(18px);
}

.wi-headline-bar {
  background: var(--wi-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.wi-headline-bar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
}

.wi-headline-bar strong {
  color: #9ec5ff;
  flex: 0 0 auto;
  letter-spacing: .08em;
}

.wi-headline-bar__links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1 1 auto;
  overflow: visible;
  white-space: nowrap;
  min-width: max-content;
  animation: wiTicker 34s linear infinite;
}

.wi-headline-bar__links a {
  color: rgba(255, 255, 255, .9);
}

.wi-headline-bar__links:hover {
  animation-play-state: paused;
}

.wi-headline-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.wi-headline-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  min-width: max-content;
  white-space: nowrap;
  animation: wiTicker 28s linear infinite;
  will-change: transform;
}

.wi-headline-track:hover {
  animation-play-state: paused;
}

.wi-headline-track a {
  color: rgba(255, 255, 255, .92);
}

.wi-headline-track a:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 12px;
  border-radius: 50%;
  background: #9ec5ff;
  vertical-align: 1px;
}

@keyframes wiTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.wi-masthead {
  min-height: 96px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
}

.wi-branding {
  text-align: center;
  min-width: 0;
}

.wi-wordmark,
.custom-logo-link {
  display: inline-block;
}

.wi-wordmark {
  font-family: var(--wi-serif);
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--wi-deep);
}

.custom-logo { max-height: 76px; width: auto; }

.wi-tagline {
  margin: 8px 0 0;
  color: var(--wi-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.wi-header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--wi-ink-2);
  font-size: 14px;
  font-weight: 800;
}

.wi-header-tools--right { justify-self: end; }

.wi-icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--wi-line);
  border-radius: var(--wi-radius);
  background: var(--wi-surface);
  color: var(--wi-ink);
}

.wi-icon-button span,
.wi-icon-button span:before,
.wi-icon-button span:after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.wi-icon-button span { position: relative; }
.wi-icon-button span:before { position: absolute; top: -6px; left: 0; }
.wi-icon-button span:after { position: absolute; top: 6px; left: 0; }

.wi-search-link,
.wi-newsletter {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: var(--wi-ink-2);
  font-weight: 900;
}

.wi-search-glyph {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.wi-search-glyph:after {
  content: "";
  width: 7px;
  height: 2px;
  background: currentColor;
  position: absolute;
  right: -6px;
  bottom: -3px;
  transform: rotate(45deg);
}

.wi-subscribe,
.wi-read-more,
.wi-search-form button,
.wi-back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--wi-deep);
  border-radius: var(--wi-radius);
  background: var(--wi-deep);
  color: #fff;
  padding: 10px 16px;
  font-weight: 900;
}

.wi-subscribe:hover,
.wi-read-more:hover,
.wi-search-form button:hover,
.wi-back-to-top:hover {
  background: var(--wi-blue);
  border-color: var(--wi-blue);
  color: #fff;
  transform: translateY(-1px);
}

.wi-search-panel {
  border-top: 1px solid var(--wi-line);
  padding: 14px 0;
  background: rgba(255,255,255,.78);
}

.wi-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.wi-search-form input {
  width: 100%;
  border: 1px solid var(--wi-line);
  border-radius: var(--wi-radius);
  padding: 13px 14px;
  background: #fff;
  color: var(--wi-ink);
}

.wi-primary-nav {
  border-top: 1px solid rgba(223, 230, 226, .76);
}

.wi-primary-nav .wi-container {
  overflow: hidden;
}

.wi-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
  font-size: 14px;
  font-weight: 900;
}

.wi-menu a {
  display: block;
  padding: 15px 0;
  color: var(--wi-ink-2);
  position: relative;
}

.wi-menu .current-menu-item > a,
.wi-menu a:hover {
  color: var(--wi-blue);
}

.wi-menu .current-menu-item > a:after,
.wi-menu a:hover:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--wi-blue);
}

/* Home */
.wi-main {
  padding: 26px 0 34px;
}

.wi-market-brief {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
}

.wi-market-brief--metrics-only {
  margin-bottom: 14px;
}

.wi-market-brief > div:first-child,
.wi-brief-metrics span {
  border: 1px solid var(--wi-line);
  border-radius: var(--wi-radius);
  background: var(--wi-surface);
  box-shadow: 0 12px 30px rgba(7, 27, 58, .06);
}

.wi-market-brief > div:first-child {
  display: none;
}

.wi-panel-label {
  color: var(--wi-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wi-market-brief h1 {
  margin: 5px 0 0;
  color: var(--wi-deep);
  font-family: var(--wi-serif);
  font-size: 34px;
  line-height: 1.1;
}

.wi-brief-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.wi-brief-metrics span {
  min-height: 84px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wi-brief-metrics b {
  color: var(--wi-muted);
  font-size: 12px;
}

.wi-brief-metrics em {
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.wi-brief-metrics .up { color: var(--wi-green); }
.wi-brief-metrics .down { color: var(--wi-red); }

.wi-command-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 22px;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.wi-command-bar a {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wi-line);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  padding: 8px 16px;
  color: var(--wi-ink-2);
  font-size: 14px;
  font-weight: 900;
}

.wi-command-bar a:hover {
  background: var(--wi-deep);
  border-color: var(--wi-deep);
  color: #fff;
}

.wi-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.wi-home-content {
  min-width: 0;
  display: grid;
  gap: 22px;
}

.wi-home-hero {
  display: grid;
  grid-template-columns: minmax(320px, .46fr) minmax(430px, 1fr);
  gap: 0;
  min-height: 430px;
  max-height: 520px;
  overflow: hidden;
  border-radius: var(--wi-radius);
  background: var(--wi-deep);
  color: #fff;
  box-shadow: var(--wi-shadow);
}

.wi-home-hero--empty {
  min-height: 340px;
  grid-template-columns: 1fr;
}

.wi-hero-copy {
  padding: 30px 32px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  position: relative;
}

.wi-hero-copy:before {
  content: "";
  width: 64px;
  height: 4px;
  background: var(--wi-green);
  margin-bottom: 30px;
}

.wi-home-hero .wi-kicker,
.wi-home-hero .wi-panel-label {
  color: #9ec5ff;
}

.wi-home-hero h2 {
  color: #fff;
  font-family: var(--wi-serif);
  font-size: 38px;
  line-height: 1.12;
  margin: 8px 0 14px;
  max-width: 720px;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.wi-home-hero p {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.72;
  margin: 0 0 18px;
  max-width: 660px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.wi-home-hero .wi-meta {
  color: rgba(255,255,255,.64);
}

.wi-home-hero .wi-dot-sep {
  background: rgba(255,255,255,.48);
}

.wi-hero-image {
  min-height: 100%;
  overflow: hidden;
  background:
    linear-gradient(135deg, #edf3f1, #dbe8e4);
  padding: 14px;
  display: grid;
  place-items: center;
}

.wi-hero-image--generated {
  padding: 0;
  background: #071b3a;
}

.wi-hero-image--generated .wi-placeholder-image {
  min-height: 100%;
  border-radius: 0;
}

.wi-hero-image img,
.wi-story-image img,
.wi-archive-image img,
.wi-sidebar-post__thumb img,
.wi-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wi-hero-image img {
  width: 100%;
  height: 100%;
  max-height: 492px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(7, 27, 58, .18);
  filter: saturate(.98) contrast(1.01);
}

.wi-hero-image:hover img,
.wi-story-image:hover img,
.wi-archive-image:hover img {
  transform: scale(1.015);
}

.wi-read-more {
  width: fit-content;
  margin-top: 20px;
  background: #fff;
  border-color: #fff;
  color: var(--wi-deep);
}

.wi-section-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.wi-section-bar h2 {
  color: var(--wi-deep);
  font-size: 26px;
  line-height: 1.2;
  margin: 0;
}

.wi-spotlight-strip {
  border: 1px solid var(--wi-line);
  border-radius: var(--wi-radius);
  padding: 20px;
  background: var(--wi-surface);
}

.wi-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wi-spotlight-card {
  min-width: 0;
  border: 1px solid var(--wi-line);
  border-radius: var(--wi-radius);
  background: #fbfcfb;
  padding: 17px;
}

.wi-spotlight-card h3 {
  margin: 6px 0 14px;
  color: var(--wi-deep);
  font-family: var(--wi-serif);
  font-size: 22px;
  line-height: 1.18;
}

.wi-post-list {
  display: grid;
  gap: 14px;
}

.wi-archive-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 18px;
  padding: 12px;
  border: 1px solid var(--wi-line);
  border-radius: var(--wi-radius);
  background: var(--wi-surface);
  box-shadow: 0 12px 30px rgba(7, 27, 58, .05);
}

.wi-archive-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--wi-shadow);
}

.wi-archive-image {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background: #e6ece9;
}

.wi-kicker {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--wi-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wi-archive-card h2,
.wi-archive-card h3 {
  margin: 0 0 8px;
  color: var(--wi-deep);
  font-family: var(--wi-serif);
  font-size: 25px;
  line-height: 1.18;
}

.wi-archive-card p {
  margin: 0 0 12px;
  color: #3c4945;
}

.wi-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  color: var(--wi-muted);
  font-size: 13px;
}

.wi-dot-sep {
  width: 1px;
  height: 16px;
  background: var(--wi-muted);
  opacity: .55;
}

.wi-section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--wi-line);
  border-radius: var(--wi-radius);
  overflow: hidden;
  background: var(--wi-line);
}

.wi-section-column {
  min-width: 0;
  padding: 18px;
  background: var(--wi-surface);
}

.wi-section-title {
  margin: 0 0 14px;
  color: var(--wi-deep);
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.wi-section-title span {
  color: var(--wi-green);
}

.wi-story-image {
  display: block;
  aspect-ratio: 16 / 10;
  margin-bottom: 13px;
  border-radius: 6px;
  overflow: hidden;
  background: #e6ece9;
}

.wi-section-lead h3 {
  margin: 0 0 8px;
  color: var(--wi-deep);
  font-family: var(--wi-serif);
  font-size: 22px;
  line-height: 1.2;
}

.wi-section-lead p {
  margin: 0;
  color: #4a5652;
  font-size: 14px;
  line-height: 1.6;
}

.wi-link-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.wi-link-list li {
  border-top: 1px solid var(--wi-line);
  padding: 11px 0;
  font-family: var(--wi-serif);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.22;
}

/* Sidebar */
.wi-sidebar {
  position: sticky;
  top: 164px;
  display: grid;
  gap: 14px;
}

.wi-sidebar-block {
  border: 1px solid var(--wi-line);
  border-radius: var(--wi-radius);
  background: var(--wi-surface);
  padding: 18px;
  box-shadow: 0 12px 30px rgba(7, 27, 58, .05);
}

.wi-insight-panel {
  background: var(--wi-deep);
  color: #fff;
  border-color: var(--wi-deep);
}

.wi-sidebar-title {
  margin: 0 0 15px;
  color: var(--wi-deep);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wi-insight-panel .wi-sidebar-title {
  color: #9ec5ff;
}

.wi-radar-list,
.wi-sidebar-posts,
.wi-sidebar-categories {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wi-radar-list {
  display: grid;
  gap: 0;
}

.wi-radar-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--wi-line-dark);
}

.wi-radar-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.wi-radar-list span {
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 900;
}

.wi-radar-list b {
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.wi-sidebar-posts {
  display: grid;
  gap: 14px;
}

.wi-sidebar-post {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  align-items: start;
}

.wi-sidebar-post__thumb {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: #e6ece9;
}

.wi-sidebar-post__body {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.wi-sidebar-post__body .wi-kicker {
  margin: 0;
  font-size: 10px;
}

.wi-sidebar-post__title {
  color: var(--wi-deep);
  font-family: var(--wi-serif);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.18;
}

.wi-sidebar-post__meta {
  color: var(--wi-muted);
  font-size: 12px;
}

.wi-sidebar-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.wi-sidebar-categories a {
  display: block;
  min-height: 40px;
  border: 1px solid var(--wi-line);
  border-radius: 6px;
  background: #fbfcfb;
  padding: 9px 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.wi-sidebar-newsletter p,
.wi-empty-note {
  margin: 0 0 14px;
  color: #4a5652;
  font-size: 14px;
}

.wi-subscribe--block {
  width: 100%;
}

/* Article and archive */
.wi-page-content {
  min-width: 0;
}

.wi-page-title,
.wi-single-article h1 {
  max-width: 860px;
  margin: 0 0 16px;
  color: var(--wi-deep);
  font-family: var(--wi-serif);
  font-size: 46px;
  line-height: 1.08;
}

.wi-archive-description {
  margin: -8px 0 20px;
  color: var(--wi-muted);
}

.wi-single-article {
  border: 1px solid var(--wi-line);
  border-radius: var(--wi-radius);
  background: var(--wi-surface);
  padding: 34px;
  font-size: 17px;
  box-shadow: 0 12px 30px rgba(7, 27, 58, .05);
}

.wi-single-article .wi-meta {
  margin-bottom: 22px;
}

.wi-single-image {
  margin: 24px 0 30px;
  overflow: hidden;
  border: 1px solid var(--wi-line);
  border-radius: var(--wi-radius);
  background:
    linear-gradient(135deg, #f5f8ff, #e5eefb);
  padding: 14px;
}

.wi-single-image img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.wi-entry-content {
  color: #293531;
  line-height: 1.9;
}

.wi-entry-content > *:first-child { margin-top: 0; }
.wi-entry-content p { margin: 0 0 1.25em; }
.wi-entry-content a { color: var(--wi-blue); text-decoration: underline; text-underline-offset: 3px; }
.wi-entry-content h2,
.wi-entry-content h3,
.wi-entry-content h4 {
  margin: 1.65em 0 .75em;
  color: var(--wi-deep);
  font-family: var(--wi-serif);
  line-height: 1.32;
}
.wi-entry-content h2 { font-size: 28px; }
.wi-entry-content h3 { font-size: 23px; }
.wi-entry-content h4 { font-size: 19px; }
.wi-entry-content ul,
.wi-entry-content ol { margin: 0 0 1.25em 1.3em; padding: 0; }
.wi-entry-content li { margin: .45em 0; }
.wi-entry-content blockquote {
  margin: 1.5em 0;
  padding: 18px 20px;
  border-left: 4px solid var(--wi-green);
  background: #f3f7ff;
  color: #3c4945;
}
.wi-entry-content img { margin: 1.5em auto; border-radius: 6px; }
.wi-entry-content figcaption,
.wi-entry-content .wp-caption-text {
  margin-top: .5em;
  color: var(--wi-muted);
  font-size: 14px;
  text-align: center;
}
.wi-entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 15px;
}
.wi-entry-content th,
.wi-entry-content td {
  border: 1px solid var(--wi-line);
  padding: 10px 12px;
  text-align: left;
}
.wi-entry-content th { background: #f3f7ff; }
.wi-entry-content pre,
.wi-entry-content code {
  font-family: Consolas, Monaco, monospace;
  font-size: 14px;
}
.wi-entry-content pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: 6px;
  background: #071b3a;
  color: #e8f2ef;
}

.wi-author-box {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  margin-top: 34px;
  padding: 18px;
  border: 1px solid var(--wi-line);
  border-radius: var(--wi-radius);
  background: #f8faf9;
}

.wi-author-box__avatar { border-radius: 50%; }
.wi-author-box__label {
  margin: 0 0 4px;
  color: var(--wi-blue);
  font-size: 12px;
  font-weight: 900;
}
.wi-author-box__name {
  margin: 0 0 6px;
  color: var(--wi-deep);
  font-family: var(--wi-serif);
  font-size: 21px;
}
.wi-author-box__bio { margin: 0; color: #4a5652; font-size: 14px; }

/* Footer */
.wi-site-footer {
  margin-top: 20px;
  background: var(--wi-deep);
  color: #fff;
}

.wi-footer-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: var(--wi-line-dark);
}

.wi-footer-benefits > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 136px;
  padding: 24px;
  background: var(--wi-deep);
}

.wi-benefit-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 6px;
  color: #9ec5ff;
  font-size: 13px;
  font-weight: 900;
}

.wi-footer-benefits strong {
  color: #fff;
  font-family: var(--wi-serif);
  font-size: 18px;
}

.wi-footer-benefits p {
  grid-column: 2;
  margin: -18px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.55;
}

.wi-footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 0 34px;
  color: rgba(255,255,255,.62);
}

.wi-footer-wordmark {
  color: #fff;
  font-family: var(--wi-serif);
  font-size: 28px;
  font-weight: 900;
}

.wi-footer-main p {
  margin: 3px 0 0;
}

.wi-footer-menu {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wi-back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  min-height: 38px;
  padding: 8px 12px;
  opacity: 0;
  pointer-events: none;
  font-size: 12px;
}

.wi-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.wi-footer-legal {
  margin: 0;
  padding: 10px 20px 18px;
  background: var(--wi-deep);
  color: rgba(255,255,255,.52);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

/* Placeholder imagery */
.wi-placeholder-image {
  position: relative;
  display: grid;
  place-items: end start;
  width: 100%;
  height: 100%;
  min-height: 180px;
  overflow: hidden;
  padding: 20px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17,27,26,.92), rgba(43,112,214,.72)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 28px);
}

.wi-placeholder-image:before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 34%;
  height: 2px;
  background: rgba(255,255,255,.6);
  transform: rotate(-10deg);
  box-shadow: 58px -24px 0 rgba(255,255,255,.22), 122px -6px 0 rgba(255,255,255,.34), 188px -42px 0 rgba(255,255,255,.22);
}

.wi-placeholder-image i {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 88px;
  height: 60px;
  border-left: 2px solid rgba(255,255,255,.42);
  border-bottom: 2px solid rgba(255,255,255,.42);
}

.wi-placeholder-image i:after {
  content: "";
  position: absolute;
  right: -8px;
  top: 8px;
  width: 84px;
  height: 2px;
  background: #fff;
  transform: rotate(-34deg);
  transform-origin: right;
  box-shadow: -18px 15px 0 rgba(255,255,255,.68), -36px 28px 0 rgba(255,255,255,.44);
}

.wi-placeholder-image span {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* WordPress pagination and comments basics */
.navigation.pagination {
  margin-top: 20px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wi-line);
  border-radius: 6px;
  background: #fff;
  padding: 8px 12px;
  font-weight: 800;
}

.page-numbers.current {
  background: var(--wi-deep);
  border-color: var(--wi-deep);
  color: #fff;
}

@media (max-width: 1100px) {
  .wi-site-header { position: relative; }
  .wi-page-grid,
  .wi-home-hero,
  .wi-market-brief {
    grid-template-columns: 1fr;
  }
  .wi-home-hero {
    min-height: 0;
  }
  .wi-hero-image {
    min-height: 380px;
  }
  .wi-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wi-section-grid,
  .wi-footer-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .wi-container {
    width: min(100% - 28px, 1320px);
  }
  .wi-headline-bar__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
  }
  .wi-masthead {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0;
    text-align: center;
  }
  .wi-header-tools,
  .wi-header-tools--right {
    justify-content: center;
    justify-self: center;
  }
  .wi-header-tools--right .wi-newsletter {
    display: none;
  }
  .wi-primary-nav .wi-container {
    width: 100%;
  }
  .wi-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 8px 24px 14px;
    white-space: normal;
  }
  .wi-primary-nav.is-open .wi-menu {
    display: flex;
  }
  .wi-menu a {
    padding: 12px 0;
  }
  .wi-search-form,
  .wi-brief-metrics,
  .wi-spotlight-grid,
  .wi-section-grid,
  .wi-sidebar,
  .wi-footer-benefits {
    grid-template-columns: 1fr;
  }
  .wi-market-brief h1,
  .wi-page-title,
  .wi-single-article h1 {
    font-size: 34px;
  }
  .wi-home-hero h2 {
    font-size: 38px;
  }
  .wi-hero-copy {
    padding: 26px;
  }
  .wi-hero-image {
    min-height: 260px;
  }
  .wi-archive-card {
    grid-template-columns: 1fr;
  }
  .wi-archive-image {
    aspect-ratio: 16 / 9;
  }
  .wi-sidebar-categories {
    grid-template-columns: 1fr;
  }
  .wi-single-article {
    padding: 22px;
  }
  .wi-single-image {
    margin-left: 0;
    margin-right: 0;
    padding: 8px;
  }
  .wi-author-box {
    grid-template-columns: 1fr;
  }
  .wi-footer-main {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* V2 finance research experience: premium blue editorial layout */
.wi-market-brief,
.wi-brief-metrics {
  display: none;
}

body {
  background:
    linear-gradient(180deg, rgba(31, 111, 235, .08), transparent 320px),
    radial-gradient(circle at 18% 0%, rgba(31, 111, 235, .08), transparent 28%),
    #f5f8fc;
}

.wi-main {
  padding-top: 28px;
}

.wi-command-bar {
  margin: 0 0 20px;
  padding: 0 0 3px;
}

.wi-command-bar a {
  border-color: #c8d8ec;
  background: rgba(255,255,255,.78);
  color: #071b3a;
  box-shadow: 0 10px 26px rgba(7, 27, 58, .05);
}

.wi-command-bar a:hover {
  background: #1f6feb;
  border-color: #1f6feb;
}

.wi-home-hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(300px, .42fr) minmax(430px, 1fr);
  min-height: 462px;
  max-height: none;
  border: 1px solid rgba(158, 197, 255, .2);
  background:
    linear-gradient(120deg, #061a36 0%, #071b3a 45%, #0c2f66 100%);
  box-shadow: 0 26px 70px rgba(7, 27, 58, .18);
}

.wi-home-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(158,197,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158,197,255,.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.85), transparent 82%);
}

.wi-home-hero:after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -25%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
  transform: skewX(-16deg);
  animation: wiHeroSweep 7s ease-in-out infinite;
  pointer-events: none;
}

.wi-hero-copy {
  padding: 34px;
  justify-content: center;
}

.wi-hero-copy:before {
  background: #1f6feb;
  box-shadow: 0 0 24px rgba(31,111,235,.75);
}

.wi-home-hero h2 {
  font-size: 36px;
  line-height: 1.13;
  letter-spacing: 0;
  -webkit-line-clamp: 4;
}

.wi-home-hero p {
  max-width: 430px;
  font-size: 15px;
  line-height: 1.74;
  -webkit-line-clamp: 3;
}

.wi-read-more {
  background: #ffffff;
  color: #071b3a;
  border-color: #ffffff;
}

.wi-hero-image {
  position: relative;
  min-height: 100%;
  padding: 22px;
  background:
    radial-gradient(circle at 18% 14%, rgba(158,197,255,.28), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(229,238,251,.9));
}

.wi-hero-image:before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(31,111,235,.22);
  border-radius: 8px;
  pointer-events: none;
}

.wi-cover-badge {
  position: absolute;
  top: 34px;
  left: 34px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(7,27,58,.76);
  color: #fff;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.wi-hero-image img,
.wi-hero-image .wi-placeholder-image {
  width: min(100%, 760px);
  height: auto;
  max-height: 410px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(7, 27, 58, .22);
}

.wi-spotlight-strip,
.wi-home-feed,
.wi-section-grid--auto {
  animation: wiFadeUp .7s ease both;
}

.wi-spotlight-card,
.wi-archive-card,
.wi-sidebar-block {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.wi-spotlight-card:hover,
.wi-archive-card:hover,
.wi-sidebar-block:hover {
  transform: translateY(-3px);
  border-color: rgba(31,111,235,.34);
  box-shadow: 0 20px 48px rgba(7, 27, 58, .10);
}

.wi-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.wi-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .65s ease, transform .65s ease;
}

@keyframes wiHeroSweep {
  0%, 45% { transform: translateX(0) skewX(-16deg); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: translateX(360%) skewX(-16deg); opacity: 0; }
}

@keyframes wiFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .wi-home-hero {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .wi-hero-image {
    min-height: 340px;
  }
}

@media (max-width: 760px) {
  .wi-home-hero h2 {
    font-size: 32px;
  }

  .wi-hero-copy {
    padding: 26px;
  }

  .wi-hero-image {
    padding: 14px;
    min-height: 230px;
  }

  .wi-cover-badge {
    top: 24px;
    left: 24px;
  }
}

/* V3 brighter blue editorial system */
:root {
  --wi-bg: #f3f8ff;
  --wi-surface: #ffffff;
  --wi-ink: #0b1730;
  --wi-ink-2: #213a63;
  --wi-muted: #60718d;
  --wi-line: #d7e5f5;
  --wi-line-dark: rgba(255,255,255,.22);
  --wi-deep: #061a3d;
  --wi-deep-2: #0d3470;
  --wi-blue: #1769ff;
  --wi-green: #1769ff;
  --wi-gold: #c59b45;
  --wi-mint: #eaf3ff;
  --wi-sand: #f7fbff;
  --wi-shadow: 0 24px 70px rgba(13, 52, 112, .14);
}

body {
  background:
    linear-gradient(180deg, rgba(23,105,255,.10), transparent 350px),
    linear-gradient(135deg, rgba(255,255,255,.72), rgba(230,241,255,.74)),
    #f3f8ff;
}

.wi-site-header {
  background: rgba(250,253,255,.92);
  border-bottom-color: rgba(199,218,241,.85);
}

.wi-headline-bar {
  background:
    linear-gradient(90deg, #061a3d, #0b3f88 52%, #061a3d);
}

.wi-headline-bar strong,
.wi-headline-track a:before,
.wi-home-hero .wi-kicker,
.wi-home-hero .wi-panel-label,
.wi-insight-panel .wi-sidebar-title,
.wi-benefit-icon {
  color: #b9d8ff;
}

.wi-headline-track a:before {
  background: #b9d8ff;
}

.wi-wordmark {
  color: #061a3d;
}

.wi-tagline,
.wi-meta,
.wi-sidebar-post__meta {
  color: #60718d;
}

.wi-command-bar {
  gap: 10px;
  margin-bottom: 24px;
}

.wi-command-bar a {
  min-height: 42px;
  border: 1px solid rgba(23,105,255,.22);
  background: rgba(255,255,255,.88);
  color: #0b2e67;
  box-shadow: 0 12px 30px rgba(13,52,112,.07);
}

.wi-command-bar a:hover {
  background: #1769ff;
  border-color: #1769ff;
  color: #fff;
}

.wi-home-hero {
  grid-template-columns: minmax(300px, .40fr) minmax(460px, 1fr);
  min-height: 500px;
  border: 1px solid rgba(185,216,255,.32);
  background:
    linear-gradient(128deg, #061a3d 0%, #082c66 42%, #0b5bd3 100%);
  box-shadow: 0 34px 90px rgba(13,52,112,.22);
}

.wi-home-hero:before {
  background:
    linear-gradient(rgba(185,216,255,.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185,216,255,.11) 1px, transparent 1px);
  background-size: 38px 38px;
}

.wi-hero-copy {
  padding: 38px 36px;
}

.wi-hero-copy:before {
  background: #6db3ff;
  box-shadow: 0 0 28px rgba(109,179,255,.82);
}

.wi-home-hero h2 {
  font-size: 39px;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.wi-home-hero p {
  color: rgba(255,255,255,.82);
  max-width: 440px;
}

.wi-read-more {
  background: #fff;
  border-color: #fff;
  color: #061a3d;
}

.wi-read-more:hover {
  background: #b9d8ff;
  border-color: #b9d8ff;
  color: #061a3d;
}

.wi-hero-image {
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(232,243,255,.96)),
    radial-gradient(circle at 15% 18%, rgba(23,105,255,.20), transparent 32%);
}

.wi-hero-image:before {
  border-color: rgba(23,105,255,.22);
}

.wi-cover-badge {
  background: rgba(6,26,61,.82);
  border-color: rgba(255,255,255,.82);
  color: #fff;
  letter-spacing: 0;
}

.wi-hero-image img,
.wi-hero-image .wi-placeholder-image {
  border: 1px solid rgba(23,105,255,.14);
  box-shadow:
    0 26px 66px rgba(13,52,112,.24),
    0 0 0 10px rgba(255,255,255,.58);
}

.wi-section-bar {
  border-bottom: 1px solid rgba(23,105,255,.16);
  padding-bottom: 12px;
}

.wi-section-bar h2 {
  color: #061a3d;
}

.wi-panel-label,
.wi-kicker {
  color: #1769ff;
  letter-spacing: 0;
}

.wi-spotlight-strip,
.wi-section-grid,
.wi-archive-card,
.wi-sidebar-block,
.wi-single-article {
  border-color: rgba(23,105,255,.16);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 48px rgba(13,52,112,.08);
}

.wi-spotlight-card {
  background:
    linear-gradient(180deg, #ffffff, #f7fbff);
  border-color: rgba(23,105,255,.16);
}

.wi-spotlight-card h3,
.wi-archive-card h2,
.wi-archive-card h3,
.wi-sidebar-post__title,
.wi-section-lead h3 {
  color: #061a3d;
}

.wi-archive-card {
  grid-template-columns: 210px 1fr;
}

.wi-archive-image,
.wi-story-image,
.wi-sidebar-post__thumb {
  background: #eaf3ff;
}

.wi-insight-panel {
  background:
    linear-gradient(155deg, #061a3d, #0b3f88);
  border-color: rgba(185,216,255,.24);
  box-shadow: 0 24px 60px rgba(6,26,61,.20);
}

.wi-radar-list li {
  border-top-color: rgba(255,255,255,.18);
}

.wi-radar-list span {
  color: rgba(255,255,255,.68);
}

.wi-sidebar-categories a {
  background: #f7fbff;
  border-color: rgba(23,105,255,.16);
}

.wi-sidebar-categories a:hover {
  background: #1769ff;
  border-color: #1769ff;
  color: #fff;
}

.wi-placeholder-image {
  background:
    linear-gradient(135deg, rgba(6,26,61,.94), rgba(23,105,255,.72)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.10) 0 1px, transparent 1px 28px);
}

.wi-home-hero,
.wi-spotlight-strip,
.wi-archive-card,
.wi-sidebar-block,
.wi-section-grid {
  border-radius: 8px;
}

.wi-home-hero *,
.wi-command-bar *,
.wi-section-bar *,
.wi-sidebar *,
.wi-archive-card *,
.wi-spotlight-card * {
  letter-spacing: 0;
}

@media (max-width: 1100px) {
  .wi-home-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .wi-masthead {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    text-align: center;
  }

  .wi-header-tools--left {
    grid-column: 1;
    justify-self: start;
  }

  .wi-branding {
    grid-column: 2;
    min-width: 0;
  }

  .wi-header-tools--right {
    grid-column: 3;
    justify-self: end;
  }

  .wi-wordmark {
    font-size: clamp(30px, 7vw, 42px);
    line-height: .98;
  }

  .wi-tagline {
    font-size: 11px;
    line-height: 1.4;
  }

  .wi-home-hero h2 {
    font-size: 31px;
  }

  .wi-archive-card {
    grid-template-columns: 1fr;
  }
}
