/* ================================================================
   FINANCIAL TRADER MAGAZINE — Global Stylesheet
   ================================================================ */

/* --- RESET & VARIABLES --- */
:root {
  --gold: #b8860b;
  --gold-light: #d4a843;
  --gold-dark: #8a6508;
  --gold-text: #8a6508; /* WCAG AA 5.32:1 on white — use for any gold text on light bg */
  --gold-faint: rgba(184,134,11,0.07);
  --black: #111111;
  --dark: #1a1a1a;
  --gray-900: #222222;
  --gray-700: #555555;
  --gray-500: #737373; /* bumped from #888888 to clear WCAG AA 4.79:1 on white */
  --gray-400: #aaa;
  --gray-300: #cccccc;
  --gray-200: #e5e2dc;
  --gray-100: #f2f0ec;
  --cream: #faf8f5;
  --white: #ffffff;
  --red: #c0392b;
  --green: #27ae60;
  --max-width: 1280px;
  --article-width: 740px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- UTILITY --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- UTILITY BAR --- */
.utility-bar {
  background: var(--black);
  color: var(--gray-300);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid #333;
}
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; }
.utility-bar a { color: var(--gray-300); text-decoration: none; margin-left: 18px; transition: color 0.2s; }
.utility-bar a:hover { color: var(--gold-light); }

/* --- MASTHEAD --- */
.masthead {
  background: var(--white);
  padding: 28px 0 22px;
  text-align: center;
  position: relative;
  border-bottom: 3px double var(--gold);
}
.masthead::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--gold);
}
.masthead-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1;
}
.masthead-logo a { color: inherit; text-decoration: none; }
.masthead-logo span { color: var(--gold); }
.masthead-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-top: 8px;
  font-weight: 500;
}
.est-mark {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 0.75rem;
  color: var(--gold-text);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* --- NAVIGATION --- */
.main-nav {
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.97);
}
.main-nav .container { display: flex; justify-content: center; gap: 0; }
.main-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-700);
  text-decoration: none;
  padding: 14px 22px;
  transition: all 0.25s;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
.main-nav a:hover { color: var(--black); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.active { color: var(--gold-dark); }
.main-nav a.active::after { width: 100%; }

/* --- NEWS TICKER --- */
.ticker-bar { background: var(--gold); padding: 8px 0; overflow: hidden; }
.ticker-content { display: flex; animation: ticker 35s linear infinite; white-space: nowrap; }
.ticker-item {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--black); padding: 0 40px; text-transform: uppercase;
}
.ticker-item::before { content: '◆'; margin-right: 12px; opacity: 0.5; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- SECTION HEADERS --- */
.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 48px 0 28px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 32px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  white-space: nowrap;
}
.section-header .line { flex: 1; height: 1px; background: var(--gray-200); }
.section-header .section-tag {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-text);
}

/* --- ARTICLE GRID --- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-bottom: 48px; }
.article-card { cursor: pointer; transition: transform 0.3s; text-decoration: none; color: inherit; display: block; }
.article-card:hover { transform: translateY(-3px); }
.article-card .card-image {
  position: relative; width: 100%; aspect-ratio: 16/10;
  overflow: hidden; background: var(--gray-100); margin-bottom: 16px;
}
.article-card .card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s; display: block;
}
.article-card:hover .card-image img { transform: scale(1.04); }
.category-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--white);
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 4px 10px; font-family: 'DM Sans', sans-serif;
}
.article-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; line-height: 1.3;
  color: var(--black); margin-bottom: 8px;
}
.article-card .card-excerpt {
  font-size: 0.88rem; line-height: 1.55; color: var(--gray-700);
  margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { font-size: 0.68rem; color: var(--gray-500); letter-spacing: 0.04em; }
.card-meta .author {
  font-weight: 600; color: var(--black);
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.65rem;
}

/* --- HERO FEATURE --- */
.hero-feature { padding: 48px 0 0; }
.hero-feature .feature-wrapper {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 0; background: var(--cream); overflow: hidden;
}
.hero-image { position: relative; min-height: 520px; overflow: hidden; background: var(--dark); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.88; }
.hero-content {
  padding: 52px 48px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-content .category-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: 16px;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  font-weight: 700; line-height: 1.22; color: var(--black); margin-bottom: 18px;
}
.hero-content .excerpt {
  font-family: 'Source Serif 4', serif;
  font-size: 1.05rem; line-height: 1.7; color: var(--gray-700); margin-bottom: 24px;
}
.hero-content .meta { font-size: 0.75rem; color: var(--gray-500); }
.hero-content .meta .author {
  font-weight: 600; color: var(--black); text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.7rem;
}
.read-more-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-dark);
  text-decoration: none; margin-top: 20px; transition: gap 0.3s;
}
.read-more-link:hover { gap: 14px; }
.read-more-link svg { width: 16px; height: 16px; }

/* --- RANKINGS BANNER --- */
.rankings-banner {
  background: var(--black); padding: 64px 0;
  text-align: center; position: relative; overflow: hidden;
}
.rankings-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(184,134,11,0.12) 0%, transparent 70%);
}
.rankings-banner .overline {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; position: relative;
}
.rankings-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; color: var(--white); margin-bottom: 14px; position: relative;
}
.rankings-banner p {
  font-size: 1rem; color: var(--gray-300); max-width: 600px;
  margin: 0 auto 28px; line-height: 1.6; position: relative;
}
.rankings-banner .cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-light);
  text-decoration: none; padding: 14px 36px; border: 1px solid var(--gold-dark);
  transition: all 0.3s; position: relative;
}
.rankings-banner .cta:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* --- PULL QUOTE DIVIDER --- */
.pull-quote-divider {
  padding: 52px 0; text-align: center;
  max-width: 800px; margin: 0 auto; position: relative;
}
.pull-quote-divider::before {
  content: '\201C'; font-family: 'Playfair Display', serif;
  font-size: 5rem; color: var(--gold); position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%); line-height: 1; opacity: 0.7;
}
.pull-quote-divider blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic; line-height: 1.6; color: var(--gray-900);
  padding: 0 40px; margin-top: 30px;
}
.pull-quote-divider cite {
  display: block; font-family: 'DM Sans', sans-serif; font-style: normal;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-text); margin-top: 18px;
}

/* --- SIDEBAR LAYOUT --- */
.sidebar-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; padding-bottom: 48px; }
.sidebar-list-item {
  display: flex; gap: 18px; padding: 18px 0;
  border-bottom: 1px solid #ebe8e2; align-items: flex-start; cursor: pointer;
}
.sidebar-list-item:hover { background: var(--cream); margin: 0 -8px; padding: 18px 8px; }
.sidebar-list-item .item-number {
  font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 800;
  color: var(--gold); line-height: 1; min-width: 38px; opacity: 0.6;
}
.sidebar-list-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem; font-weight: 700; line-height: 1.3; margin-bottom: 4px;
}

/* --- SIDEBAR WIDGET --- */
.sidebar-widget { border: 1px solid var(--gray-200); padding: 28px 24px; margin-bottom: 28px; }
.sidebar-widget h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700; margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 2px solid var(--gold);
}
.sidebar-widget .trending-item { padding: 10px 0; border-bottom: 1px solid #f0ede8; cursor: pointer; }
.sidebar-widget .trending-item:last-child { border-bottom: none; }
.sidebar-widget .trending-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.88rem; font-weight: 600; line-height: 1.35;
  margin-bottom: 3px; transition: color 0.2s;
}
.sidebar-widget .trending-item:hover h4 { color: var(--gold-dark); }
.sidebar-widget.newsletter { background: var(--cream); border: none; text-align: center; }
.sidebar-widget.newsletter p { font-size: 0.85rem; color: var(--gray-700); line-height: 1.5; margin-bottom: 16px; }
.sidebar-widget.newsletter input {
  width: 100%; padding: 11px 14px; border: 1px solid #d5d0c8;
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem; margin-bottom: 10px; background: var(--white);
}
.sidebar-widget.newsletter button {
  width: 100%; padding: 12px; background: var(--black); color: var(--white); border: none;
  font-family: 'DM Sans', sans-serif; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: background 0.3s;
}
.sidebar-widget.newsletter button:hover { background: var(--gold-dark); }

/* --- TWO-COLUMN FEATURE CARDS --- */
.two-col-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.two-col-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center;
  cursor: pointer; padding: 20px 0; border-bottom: 1px solid #ebe8e2; transition: background 0.3s;
  text-decoration: none; color: inherit;
}
.two-col-card:hover { background: var(--cream); margin: 0 -12px; padding: 20px 12px; }
.two-col-card .col-image { aspect-ratio: 4/3; overflow: hidden; background: var(--gray-100); }
.two-col-card .col-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.two-col-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin-bottom: 6px;
}
.two-col-card .card-excerpt { font-size: 0.82rem; color: var(--gray-700); line-height: 1.5; }

/* ================================================================
   ARTICLE PAGE STYLES
   ================================================================ */

/* --- Article Hero --- */
.article-hero {
  position: relative;
  min-height: 480px;
  background: var(--dark);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.article-hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}
.article-hero .hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/ftm-hero-editorial.png');
  background-size: cover; background-position: center;
  background-blend-mode: soft-light;
}
.article-hero .hero-bg.img-p-gold,
.article-hero .hero-bg.img-p-teal { background-image: url('../images/ftm-chart-editorial.png'); }
.article-hero .hero-bg.img-p-blue,
.article-hero .hero-bg.img-p-green { background-image: url('../images/ftm-trading-room.png'); }
.article-hero .hero-text {
  position: relative; z-index: 2;
  padding: 60px 0 48px;
  max-width: var(--article-width);
}
.article-hero .hero-text .category-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px;
}
.article-hero .hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.18;
  color: var(--white); margin-bottom: 18px;
}
.article-hero .hero-text .subtitle {
  font-family: 'Source Serif 4', serif;
  font-size: 1.15rem; line-height: 1.65;
  color: rgba(255,255,255,0.75); margin-bottom: 24px;
}
.article-hero .hero-text .article-meta {
  font-size: 0.75rem; color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.article-hero .hero-text .article-meta .author-name {
  color: var(--gold-light); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* --- Article Body --- */
.article-body {
  max-width: var(--article-width);
  margin: 0 auto;
  padding: 48px 28px 64px;
}
.article-body p {
  font-family: 'Source Serif 4', serif;
  font-size: 1.08rem;
  line-height: 1.82;
  color: var(--gray-900);
  margin-bottom: 24px;
}
.article-body p:first-of-type::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem;
  float: left;
  line-height: 0.8;
  padding-right: 12px;
  padding-top: 6px;
  color: var(--gold);
  font-weight: 800;
}
.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--black);
  margin: 48px 0 20px;
  line-height: 1.25;
}
.article-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin: 36px 0 16px;
  line-height: 1.3;
}
.article-body .drop-cap-none p:first-of-type::first-letter {
  font-size: inherit; float: none; padding: 0; color: inherit; font-weight: inherit;
}

/* --- Pull Quote in article --- */
.article-body .pull-quote {
  border-left: 3px solid var(--gold);
  margin: 40px 0 40px -28px;
  padding: 20px 0 20px 28px;
}
.article-body .pull-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.article-body .pull-quote p::first-letter {
  font-size: inherit; float: none; padding: 0; color: inherit; font-weight: inherit;
}
.article-body .pull-quote cite {
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-text);
}

/* --- Info Box --- */
.article-body .info-box {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
  margin: 36px 0;
}
.article-body .info-box h3, .article-body .info-box h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 10px;
}
.article-body .info-box p {
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.article-body .info-box p:last-child { margin-bottom: 0; }

/* --- Horizontal Rule in article --- */
.article-body hr {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 48px auto;
  max-width: 120px;
}

/* --- Article Tags / Share --- */
.article-footer-meta {
  max-width: var(--article-width);
  margin: 0 auto;
  padding: 0 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
}
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.article-tags a {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray-500);
  border: 1px solid var(--gray-200); padding: 4px 12px;
  transition: all 0.2s;
}
.article-tags a:hover { border-color: var(--gold); color: var(--gold); }

/* --- Rankings Table --- */
.rankings-table { width: 100%; margin: 36px 0; border-collapse: collapse; }
.rankings-table th {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-text);
  text-align: left; padding: 12px 16px;
  border-bottom: 2px solid var(--gold);
}
.rankings-table td {
  font-family: 'Source Serif 4', serif;
  font-size: 0.95rem; padding: 14px 16px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}
.rankings-table tr:hover { background: var(--gold-faint); }
.rankings-table .rank-num {
  font-family: 'Playfair Display', serif;
  font-weight: 800; font-size: 1.3rem; color: var(--gold); opacity: 0.7;
}
.rankings-table .trader-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1.05rem;
}
.rankings-table .trader-detail {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; color: var(--gray-500); margin-top: 2px;
}

/* --- Trader Profile Card (within rankings articles) --- */
.trader-profile-card {
  background: var(--cream);
  padding: 40px;
  margin: 48px 0;
  position: relative;
}
.trader-profile-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--gold);
}
.trader-profile-card .profile-header {
  display: flex; align-items: center; gap: 24px; margin-bottom: 20px;
}
.trader-profile-card .profile-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  overflow: hidden; background: var(--gray-200);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 800; color: var(--gold); opacity: 0.5;
}
.trader-profile-card .profile-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  margin: 0 0 2px; line-height: 1.2; color: var(--black);
}
.trader-profile-card .profile-title {
  font-size: 0.78rem; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.trader-profile-card .profile-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.trader-profile-card .stat-item .stat-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gray-500); margin-bottom: 4px;
}
.trader-profile-card .stat-item .stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700; color: var(--black);
}
.trader-profile-card .profile-body p {
  font-family: 'Source Serif 4', serif;
  font-size: 0.98rem; line-height: 1.75; color: var(--gray-900); margin-bottom: 16px;
}
.trader-profile-card .profile-body p:first-of-type::first-letter {
  font-size: inherit; float: none; padding: 0; color: inherit; font-weight: inherit;
}
.trader-profile-card .profile-body p:last-child { margin-bottom: 0; }

/* --- Q&A / Profile Notes Format --- */
.article-body .qa-block { margin: 32px 0; }
.article-body .qa-question {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 0.98rem;
  color: var(--black); margin-bottom: 8px;
}
.article-body .qa-question::before {
  content: 'FTM';
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-text);
  margin-right: 10px; padding: 2px 8px;
  border: 1px solid var(--gold);
}
.article-body .qa-answer { margin-bottom: 0; }

/* --- Related Articles --- */
.related-articles { background: var(--cream); padding: 48px 0; margin-top: 48px; }
.related-articles .section-header { padding-top: 0; }

/* --- ABOUT PAGE --- */
.about-hero {
  background: var(--black);
  padding: 80px 0;
  text-align: center;
}
.about-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--white); margin-bottom: 16px;
}
.about-hero p {
  font-family: 'Source Serif 4', serif;
  font-size: 1.15rem; color: var(--gray-400);
  max-width: 640px; margin: 0 auto; line-height: 1.7;
}
.about-content {
  max-width: var(--article-width);
  margin: 0 auto;
  padding: 56px 28px;
}
.about-content p {
  font-family: 'Source Serif 4', serif;
  font-size: 1.05rem; line-height: 1.8;
  color: var(--gray-900); margin-bottom: 24px;
}
.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700;
  margin: 44px 0 18px; color: var(--black);
}
.team-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 32px; margin: 36px 0;
}
.team-member {
  padding: 28px;
  border: 1px solid var(--gray-200);
}
.team-member .member-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--cream); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--gold); opacity: 0.5;
}
.team-member h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700; margin-bottom: 2px;
}
.team-member .member-title {
  font-size: 0.72rem; color: var(--gold-text);
  font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 10px;
}
.team-member p {
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
  color: var(--gray-700) !important;
}

/* --- FOOTER --- */
.site-footer { background: var(--black); color: var(--gray-300); padding: 56px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 40px; border-bottom: 1px solid #333;
}
.footer-brand .masthead-logo { font-size: 1.4rem; color: var(--white); margin-bottom: 14px; }
.footer-brand .masthead-logo span { color: var(--gold); }
.footer-brand p { font-size: 0.82rem; line-height: 1.6; color: var(--gray-500); }
.footer-col h3, .footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.footer-col a {
  display: block; font-size: 0.82rem; color: var(--gray-500);
  text-decoration: none; padding: 4px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 0.7rem; color: var(--gray-500);
}
.footer-bottom a { color: var(--gray-500); text-decoration: none; margin-left: 20px; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold-light); }

/* --- IMAGE PLACEHOLDERS --- */
.img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
}
.img-p-dark { background: linear-gradient(145deg, #1a1a2e, #0f2027); }
.img-p-gold { background: linear-gradient(145deg, #2a1f0e, #1a1510); }
.img-p-blue { background: linear-gradient(145deg, #0a1628, #0f2940); }
.img-p-green { background: linear-gradient(145deg, #0a1a12, #0f2a1a); }
.img-p-gray { background: linear-gradient(145deg, #222, #333); }
.img-p-warm { background: linear-gradient(145deg, #2a1a1a, #1a0f0f); }
.img-p-teal { background: linear-gradient(145deg, #0a1a1f, #0f2a30); }
.img-p-purple { background: linear-gradient(145deg, #1a0f28, #120a20); }

/* Use the editorial image system on compact feature tiles instead of empty colour blocks. */
.img-placeholder {
  position: relative;
  background-image: url('../images/ftm-hero-editorial.png');
  background-size: cover;
  background-position: center;
  background-blend-mode: soft-light;
}
.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(10, 12, 20, 0.38), rgba(10, 10, 10, 0.68));
}
.img-placeholder span {
  position: relative;
  z-index: 1;
  padding: 7px 10px;
  background: rgba(17, 17, 17, 0.62);
  color: rgba(255,255,255,0.78);
}

/* Give each editorial treatment a distinct image while preserving the existing colour language. */
.img-p-dark,
.img-p-warm { background-image: url('../images/ftm-hero-editorial.png'); }
.img-p-gold,
.img-p-teal { background-image: url('../images/ftm-chart-editorial.png'); }
.img-p-blue,
.img-p-green { background-image: url('../images/ftm-trading-room.png'); }
.img-p-gray { background-image: url('../images/ftm-chart-editorial.png'); }
.img-p-purple { background-image: url('../images/ftm-trading-room.png'); }

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease-out forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-feature .feature-wrapper { grid-template-columns: 1fr; }
  .hero-image { min-height: 360px; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col-feature { grid-template-columns: 1fr; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .trader-profile-card .profile-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .utility-bar .container { flex-wrap: wrap; justify-content: center; gap: 4px 14px; text-align: center; }
  .utility-bar .container > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
  .utility-bar a { margin-left: 0; }
  .masthead { padding: 22px 16px 18px; }
  .masthead-logo { font-size: 1.72rem; line-height: 1.05; overflow-wrap: anywhere; }
  .masthead-logo a { display: block; }
  .masthead-tagline { font-size: 0.58rem; letter-spacing: 0.16em; }
  .est-mark { font-size: 0.68rem; }
  .article-grid { grid-template-columns: 1fr; }
  .hero-feature .feature-wrapper, .hero-content { min-width: 0; }
  .hero-content { padding: 32px 24px; }
  .hero-content h1 { font-size: 1.72rem; overflow-wrap: anywhere; }
  .hero-content .excerpt { font-size: 0.98rem; overflow-wrap: anywhere; }
  .main-nav .container { overflow: visible; justify-content: flex-start; }
  .section-header { gap: 10px; }
  .section-header h2 { font-size: 1.2rem; }
  .section-header .section-tag { margin-left: auto; white-space: normal; text-align: right; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .two-col-card { grid-template-columns: 1fr; }
  .article-body { padding: 32px 20px 48px; }
  .article-hero { min-height: 360px; }
  .trader-profile-card { padding: 24px; }
  .trader-profile-card .profile-header { flex-direction: column; text-align: center; }
  .trader-profile-card .profile-stats { grid-template-columns: 1fr; }
}
