/* ==========================================================================
   CANADIAN FINANCIAL TECH REVIEW - EDITORIAL ADVERTORIAL STYLESHEET
   Design Language: Authoritative Financial Journalism (Clean, Trustworthy, Modern)
   Focus: Strategy Book Review & Educational Distribution
   ========================================================================== */

:root {
  --primary-navy: #0b132b;
  --secondary-navy: #1c2541;
  --news-blue: #1d4ed8;
  --news-blue-hover: #1e40af;
  --news-red: #c2410c;
  --news-red-bg: #fff7ed;
  --news-red-border: #ffedd5;
  --market-green: #059669;
  --market-red: #dc2626;
  --gold-star: #f59e0b;
  
  --text-main: #1e293b;
  --text-heading: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-page: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-highlight: #eff6ff;
  
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-editorial: #1e293b;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  --font-serif: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --container-max: 1200px;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--news-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  text-decoration: underline;
  color: var(--news-blue-hover);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Reading Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #1d4ed8, #059669);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* Meta Compliance Top Disclosure Bar */
.advertorial-top-bar {
  background-color: #0f172a;
  color: #f1f5f9;
  font-size: 0.78rem;
  padding: 6px 0;
  border-bottom: 1px solid #334155;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.disclosure-badge {
  background-color: #f97316;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.disclosure-text {
  color: #cbd5e1;
  flex: 1;
  min-width: 260px;
}

.disclosure-link {
  color: #93c5fd;
  text-decoration: underline;
  font-size: 0.75rem;
}

.disclosure-link:hover {
  color: #ffffff;
}

/* Market Ticker Ribbon */
.ticker-wrapper {
  background-color: #1e293b;
  color: #e2e8f0;
  font-size: 0.78rem;
  border-bottom: 1px solid #334155;
  overflow: hidden;
  position: relative;
}

.ticker-container {
  display: flex;
  align-items: center;
  height: 34px;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.7rem;
  color: #38bdf8;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding-right: 16px;
  border-right: 1px solid #475569;
  z-index: 2;
}

.live-pulse {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.ticker-scroll {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
}

.ticker-track {
  display: inline-block;
  padding-left: 20px;
  animation: ticker-slide 32s linear infinite;
}

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

.ticker-item {
  margin-right: 28px;
  color: #f8fafc;
}

.ticker-sym {
  color: #94a3b8;
  font-weight: 600;
}

.t-up {
  color: #34d399;
  font-weight: 600;
}

.t-down {
  color: #f87171;
  font-weight: 600;
}

.t-neutral {
  color: #cbd5e1;
}

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

/* Publication Masthead Header */
.masthead {
  border-bottom: 2px solid var(--primary-navy);
  background-color: var(--bg-page);
}

.masthead-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.masthead-meta .divider {
  margin: 0 8px;
  color: var(--border-subtle);
}

.masthead-main {
  text-align: center;
  padding: 22px 0 16px;
}

.brand-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: var(--primary-navy);
  text-decoration: none;
}

.brand-link:hover {
  text-decoration: none;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  font-weight: 700;
  color: var(--news-blue);
  margin-bottom: 2px;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--primary-navy);
  text-transform: uppercase;
}

.brand-est {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 6px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 3px 20px;
}

/* Navigation */
.news-nav {
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-subtle);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  overflow-x: auto;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-item {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 10px 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid transparent;
}

.nav-item:hover {
  color: var(--news-blue);
  text-decoration: none;
  background-color: #e2e8f0;
}

.nav-item.active {
  color: var(--news-blue);
  border-bottom: 2px solid var(--news-blue);
  background-color: #ffffff;
}

.nav-secondary {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
}

.trending-badge {
  font-weight: 800;
  color: var(--news-red);
}

.trending-topic {
  color: var(--text-muted);
  font-weight: 500;
}

/* Article Layout Structure */
.article-wrapper {
  padding-top: 32px;
  padding-bottom: 60px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

/* Main Column */
.main-column {
  min-width: 0;
}

.article-pre-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.breadcrumbs {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.category-pill {
  background-color: var(--news-blue);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Article Title & Subtitle */
.article-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.22;
  color: var(--text-heading);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.article-subtitle {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 24px;
  border-left: 3px solid var(--news-blue);
  padding-left: 16px;
}

/* Byline Card */
.byline-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.byline-info {
  flex: 1;
  min-width: 250px;
}

.author-name {
  font-size: 0.92rem;
  color: var(--text-heading);
  margin-bottom: 3px;
}

.author-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.author-meta .dot {
  color: var(--border-subtle);
}

.fact-checked-badge {
  color: var(--market-green);
  font-weight: 600;
  background-color: #ecfdf5;
  padding: 1px 6px;
  border-radius: 3px;
}

.share-actions {
  display: flex;
  gap: 8px;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-share:hover {
  background-color: #e2e8f0;
  color: var(--text-heading);
}

/* Hero Media Container */
.hero-media-container {
  margin-bottom: 32px;
}

.hero-image-frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-live-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #38bdf8;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.hero-caption {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 10px;
  padding-left: 4px;
  border-left: 2px solid var(--border-subtle);
}

/* Audio Player Card */
.audio-player-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  margin-bottom: 28px;
}

.audio-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--news-blue);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background-color 0.15s ease;
  flex-shrink: 0;
}

.audio-play-btn:hover {
  background-color: var(--news-blue-hover);
  transform: scale(1.04);
}

.audio-details {
  flex: 1;
}

.audio-title {
  display: block;
  font-size: 0.88rem;
  color: var(--text-heading);
}

.audio-desc {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.audio-pill {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--news-blue);
  background-color: #dbeafe;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

/* Executive Summary Box */
.executive-summary {
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 4px solid var(--news-blue);
  border-radius: 4px;
  padding: 22px;
  margin-bottom: 32px;
}

.summary-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.summary-list {
  list-style: none;
}

.summary-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.summary-list li:last-child {
  margin-bottom: 0;
}

.summary-list li::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--news-blue);
  font-size: 0.75rem;
}

/* Article Core Content (~300 Words) */
.article-content {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.85;
  color: #1e293b;
  margin-bottom: 36px;
}

.article-content p {
  margin-bottom: 24px;
}

/* Editorial Drop-Cap */
.lead-paragraph::first-letter {
  font-family: var(--font-serif);
  float: left;
  font-size: 4rem;
  line-height: 0.8;
  font-weight: 900;
  color: var(--primary-navy);
  padding-top: 4px;
  padding-right: 12px;
  padding-bottom: 2px;
}

/* Pull Quote */
.editorial-quote {
  margin: 34px 0;
  padding: 24px 28px;
  border-top: 2px solid var(--primary-navy);
  border-bottom: 2px solid var(--primary-navy);
  background-color: #fafaf9;
}

.editorial-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.editorial-quote cite {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--news-blue);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Technical Chapter Breakdown Card */
.comparison-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 38px;
}

.comparison-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.table-responsive {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.comparison-table th {
  background-color: #0f172a;
  color: #ffffff;
  text-align: left;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comparison-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.comparison-table tr:nth-child(even) td {
  background-color: #ffffff;
}

.comparison-table tr td:last-child {
  background-color: #eff6ff;
  color: #1e3a8a;
  font-weight: 500;
}

/* Call To Action & On-Page Delivery Form Section */
.cta-box-container {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 8px;
  padding: 38px 36px;
  margin-bottom: 48px;
  border: 1px solid #334155;
  box-shadow: var(--shadow-xl);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.cta-box-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1d4ed8, #059669, #38bdf8);
}

.cta-header {
  text-align: center;
  margin-bottom: 28px;
}

.cta-kicker {
  display: inline-block;
  background-color: rgba(29, 78, 216, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.cta-heading {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 12px;
}

.cta-subheading {
  font-size: 0.96rem;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* On-Page Book Delivery Form */
.book-delivery-form {
  background-color: #ffffff;
  color: var(--text-main);
  padding: 28px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-row-three {
  grid-template-columns: 1.2fr 1fr 0.9fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-heading);
}

.form-group input,
.form-group select {
  padding: 11px 12px;
  font-size: 0.92rem;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--news-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.phone-input-group {
  display: flex;
  align-items: center;
}

.country-code {
  background-color: #f1f5f9;
  border: 1px solid var(--border-subtle);
  border-right: none;
  border-radius: 4px 0 0 4px;
  padding: 11px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.phone-input-group input {
  border-radius: 0 4px 4px 0;
  flex: 1;
}

.form-disclaimer-box {
  background-color: #eff6ff;
  padding: 12px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
  font-size: 0.78rem;
  color: #1e40af;
  line-height: 1.45;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.45);
  transition: all 0.2s ease;
  width: 100%;
}

.btn-primary-cta:hover {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.6);
}

.btn-primary-cta:active {
  transform: translateY(0);
}

.btn-icon {
  font-size: 1.3rem;
  transition: transform 0.2s ease;
}

.btn-primary-cta:hover .btn-icon {
  transform: translateX(4px);
}

.cta-assurances {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* On-Page Form Success State */
.onpage-success {
  background-color: #ffffff;
  color: var(--text-heading);
  padding: 36px 24px;
  border-radius: 8px;
  text-align: center;
}

.onpage-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.onpage-success p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.tracking-preview-box {
  display: inline-block;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 4px;
}

/* Reader Reviews Section */
.comments-section {
  border-top: 2px solid var(--border-light);
  padding-top: 28px;
}

.comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 10px;
}

.comments-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
}

.comments-policy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.comment-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.comment-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #0284c7;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comment-body {
  flex: 1;
}

.comment-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.82rem;
}

.c-name {
  font-weight: 700;
  color: var(--text-heading);
}

.c-location {
  color: var(--text-muted);
}

.c-time {
  color: var(--gold-star);
  font-size: 0.75rem;
  font-weight: 600;
}

.c-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Sidebar Column */
.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.sticky-sidebar-card {
  position: sticky;
  top: 24px;
  z-index: 10;
  background: #f8fafc;
  border: 2px solid #3b82f6;
}

.card-badge {
  display: inline-block;
  background-color: #dbeafe;
  color: #1e40af;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-description {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.card-feature-list {
  list-style: none;
  font-size: 0.82rem;
  color: var(--text-main);
  margin-bottom: 18px;
}

.card-feature-list li {
  margin-bottom: 6px;
}

.btn-sidebar-cta {
  display: block;
  text-align: center;
  width: 100%;
  background-color: var(--news-blue);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn-sidebar-cta:hover {
  background-color: var(--news-blue-hover);
  color: #ffffff;
  text-decoration: none;
}

.sidebar-trust-notes {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

.card-header-sub {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.market-watch-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.market-watch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.mw-name {
  color: var(--text-secondary);
  font-weight: 500;
}

.mw-val {
  font-weight: 600;
  color: var(--text-heading);
}

.about-sidebar-text {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}

.editorial-seal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--news-blue);
  background-color: #eff6ff;
  padding: 8px 10px;
  border-radius: 4px;
}

/* Floating Sticky Bottom Bar */
.floating-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #0f172a;
  color: #ffffff;
  border-top: 2px solid var(--news-blue);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.25);
  padding: 10px 0;
  z-index: 1000;
  transform: translateY(110%);
  transition: transform 0.3s ease-in-out;
}

.floating-cta-bar.visible {
  transform: translateY(0);
}

.floating-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.floating-text {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
}

.floating-text span {
  color: #94a3b8;
  font-size: 0.74rem;
}

.btn-floating-cta {
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease;
  display: inline-block;
}

.btn-floating-cta:hover {
  background-color: #1d4ed8;
  color: #ffffff;
  text-decoration: none;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-card {
  background-color: #ffffff;
  border-radius: 8px;
  max-width: 540px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
}

.legal-modal-card {
  max-width: 680px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-heading);
}

.modal-header {
  margin-bottom: 20px;
}

.modal-kicker {
  display: inline-block;
  background-color: #eff6ff;
  color: var(--news-blue);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-heading);
  margin-bottom: 6px;
  line-height: 1.3;
}

.modal-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn-submit-modal {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 700;
  padding: 14px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-top: 4px;
}

.btn-submit-modal:hover {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
}

.modal-success-state {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #dcfce7;
  color: #15803d;
  font-size: 1.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.modal-success-state h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.modal-success-state p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
}

.legal-body-content {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-height: 60vh;
  overflow-y: auto;
  margin-top: 16px;
}

.legal-body-content h4 {
  color: var(--text-heading);
  margin: 16px 0 6px;
}

.legal-body-content p {
  margin-bottom: 12px;
}

/* Compliance & Legal Footer */
.site-footer {
  background-color: #0b132b;
  color: #cbd5e1;
  padding: 48px 0 36px;
  font-size: 0.78rem;
  line-height: 1.65;
  border-top: 4px solid #1e293b;
}

.site-footer h4 {
  color: #f8fafc;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.footer-disclosure-block,
.footer-risk-block,
.footer-meta-block {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #1e293b;
}

.footer-risk-block strong {
  color: #f87171;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 10px;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.f-link {
  background: none;
  border: none;
  color: #93c5fd;
  cursor: pointer;
  font-size: 0.78rem;
  padding: 0;
  text-decoration: underline;
}

.f-link:hover {
  color: #ffffff;
}

.copyright-text {
  color: #64748b;
  font-size: 0.74rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sidebar-column {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .sticky-sidebar-card {
    position: static;
  }

  .brand-title {
    font-size: 1.8rem;
  }

  .article-title {
    font-size: 1.85rem;
  }
}

@media (max-width: 640px) {
  .brand-title {
    font-size: 1.35rem;
  }

  .brand-est {
    font-size: 0.6rem;
    padding: 2px 10px;
  }

  .article-title {
    font-size: 1.45rem;
  }

  .article-subtitle {
    font-size: 1rem;
  }

  .cta-box-container {
    padding: 24px 16px;
  }

  .cta-heading {
    font-size: 1.35rem;
  }

  .book-delivery-form {
    padding: 18px 14px;
  }

  .btn-primary-cta {
    font-size: 0.92rem;
    padding: 14px 16px;
  }

  .form-row,
  .form-row-three {
    grid-template-columns: 1fr;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-secondary {
    display: none;
  }
}
