/* Restored from discovery/phase1/raw_html/%2Fdeal-analysis%2Fparamount-wbd-merger-analysis%2F.html — page styles (do not strip) */
/* Mobile grid stacking override */
@media (max-width: 640px) {
  div[style*="grid-template-columns:repeat(3"],
  div[style*="grid-template-columns: repeat(3"],
  div[style*="grid-template-columns:repeat(2"],
  div[style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
  }
  div.mobile-stack {
    grid-template-columns: 1fr !important;
  }
}

/* Article-specific styles */
.article-hero {
  background: linear-gradient(135deg, #0d1b2e 0%, #1a2d45 60%, #0d1b2e 100%);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,0.12) 0%, transparent 70%);
}
.article-hero-inner {
  position: relative;
  z-index: 1;
}
.article-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #94a3b8 !important;
  margin-bottom: 16px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.article-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 820px;
}
.article-hero .article-deck {
  font-size: 18px;
  color: #94a3b8;
  max-width: 720px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #64748b;
}
.article-meta .author {
  color: #94a3b8;
  font-weight: 500;
}
.article-meta .date {
  color: #64748b;
}
.article-meta .read-time {
  background: rgba(37,99,235,0.15);
  color: #3b82f6;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.breaking-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  color: #ef4444;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.breaking-dot {
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Deal stats band */
.deal-stats-band {
  background: #1a2d45;
  border-top: 1px solid #2d4a6e;
  border-bottom: 1px solid #2d4a6e;
  padding: 28px 0;
}
.deal-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.deal-stat-item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid #2d4a6e;
}
.deal-stat-item:last-child { border-right: none; }
.deal-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.deal-stat-value.highlight { color: #f59e0b; }
.deal-stat-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sidebar components */
.article-sidebar { position: sticky; top: 80px; }
.toc-box {
  background: #1a2d45;
  border: 1px solid #2d4a6e;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
}
.toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 16px;
}
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { margin-bottom: 8px; }
.toc-list a {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: none;
  display: block;
  padding: 4px 0 4px 10px;
  border-left: 2px solid transparent;
  transition: all 0.2s;
  line-height: 1.4;
}
.toc-list a:hover, .toc-list a.active {
  color: #3b82f6;
  border-left-color: #3b82f6;
}
.sidebar-deal-card {
  background: #1a2d45;
  border: 1px solid #2d4a6e;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-deal-card h4 {
  font-size: 11px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.sidebar-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #2d4a6e;
}
.sidebar-stat:last-of-type { border-bottom: none; }
.sidebar-stat-label { font-size: 12px; color: #64748b; }
.sidebar-stat-value { font-size: 13px; font-weight: 700; color: #e2e8f0; }
.sidebar-stat-value.green { color: #10b981; }
.sidebar-stat-value.amber { color: #f59e0b; }
@media(max-width:1024px){ .article-sidebar { position: static; } }

/* Article layout */
.article-page-bg {
  background: #0d1b2e;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  padding: 60px 0 80px;
  align-items: start;
}
.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin: 48px 0 16px;
  padding-top: 16px;
  border-top: 1px solid #1e3352;
}
.article-body h2:first-child { margin-top: 0; border-top: none; }
.article-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: #e2e8f0;
  margin: 28px 0 12px;
}
.article-body p {
  font-size: 16px;
  line-height: 1.8;
  color: #94a3b8;
  margin-bottom: 20px;
}
.article-body strong { color: #e2e8f0; }
.article-body a { color: #3b82f6; text-decoration: none; }
.article-body a:hover { text-decoration: underline; }

/* Chart containers */
.chart-block {
  background: #1a2d45;
  border: 1px solid #2d4a6e;
  border-radius: 12px;
  padding: 24px;
  margin: 36px 0;
}
.chart-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.chart-caption {
  font-size: 12px;
  color: #64748b;
  text-align: center;
  margin-top: 12px;
  font-style: italic;
}

/* Deal snapshot table */
.deal-snapshot {
  background: #1a2d45;
  border: 1px solid #2d4a6e;
  border-radius: 12px;
  overflow: hidden;
  margin: 28px 0;
}
.deal-snapshot table {
  width: 100%;
  border-collapse: collapse;
}
.deal-snapshot th {
  background: #1e3352;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 20px;
  text-align: left;
}
.deal-snapshot td {
  padding: 14px 20px;
  border-top: 1px solid #1e3352;
  font-size: 14px;
  color: #e2e8f0;
}
.deal-snapshot td:first-child { color: #64748b; font-size: 13px; }
.deal-snapshot tr:hover td { background: rgba(37,99,235,0.05); }

/* Blockquote */
.article-body blockquote {
  border-left: 3px solid #2563eb;
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(37,99,235,0.06);
  border-radius: 0 8px 8px 0;
}
.article-body blockquote p {
  font-size: 16px;
  color: #cbd5e1;
  font-style: italic;
  margin: 0 0 8px;
}
.article-body blockquote cite {
  font-size: 13px;
  color: #64748b;
  font-style: normal;
}

/* Scenario cards */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
}
.scenario-card {
  background: #1a2d45;
  border: 1px solid #2d4a6e;
  border-radius: 12px;
  padding: 24px;
}
.scenario-card.green { border-top: 3px solid #10b981; }
.scenario-card.red { border-top: 3px solid #ef4444; }
.scenario-card.amber { border-top: 3px solid #f59e0b; }
.scenario-prob {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}
.scenario-card.green .scenario-prob { color: #10b981; }
.scenario-card.red .scenario-prob { color: #ef4444; }
.scenario-card.amber .scenario-prob { color: #f59e0b; }
.scenario-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.scenario-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

/* Risk flags */
.risk-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #1e3352;
}
.risk-item:last-child { border-bottom: none; }
.risk-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.risk-icon.red { background: rgba(239,68,68,0.15); }
.risk-icon.amber { background: rgba(245,158,11,0.15); }
.risk-icon.blue { background: rgba(37,99,235,0.15); }
.risk-title {
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 4px;
}
.risk-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-toc {
  background: #1a2d45;
  border: 1px solid #2d4a6e;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-toc h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 16px;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc-list li {
  margin-bottom: 8px;
}
.toc-list a {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: none;
  display: block;
  padding: 4px 0;
  border-left: 2px solid transparent;
  padding-left: 10px;
  transition: all 0.2s;
}
.toc-list a:hover, .toc-list a.active {
  color: #3b82f6;
  border-left-color: #3b82f6;
}
.sidebar-cta {
  background: linear-gradient(135deg, #1e3352, #1a2d45);
  border: 1px solid #2d4a6e;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.sidebar-cta h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.sidebar-cta p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* References */
.references-section {
  background: #1a2d45;
  border: 1px solid #2d4a6e;
  border-radius: 12px;
  padding: 28px;
  margin-top: 48px;
}
.references-section h3 {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.ref-item {
  font-size: 12px;
  color: #64748b;
  padding: 6px 0;
  border-bottom: 1px solid #1e3352;
  line-height: 1.5;
}
.ref-item:last-child { border-bottom: none; }
.ref-item a { color: #3b82f6; }
.ref-num {
  color: #2563eb;
  font-weight: 700;
  margin-right: 6px;
}

/* Share bar */
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid #1e3352;
  border-bottom: 1px solid #1e3352;
  margin: 36px 0;
  flex-wrap: wrap;
}
.share-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.share-btn.linkedin { background: rgba(10,102,194,0.15); color: #0a66c2; border: 1px solid rgba(10,102,194,0.3); }
.share-btn.twitter { background: rgba(29,161,242,0.1); color: #1da1f2; border: 1px solid rgba(29,161,242,0.25); }
.share-btn:hover { transform: translateY(-1px); filter: brightness(1.2); }

/* Responsive */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .deal-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .deal-stat-item:nth-child(3) { border-right: none; }
  .deal-stat-item:nth-child(4), .deal-stat-item:nth-child(5) { border-right: none; }
}
@media (max-width: 768px) {
  .deal-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .scenario-grid { grid-template-columns: 1fr; }
  .article-hero { padding: 80px 0 40px; }
}
@media (max-width: 480px) {
  .deal-stats-grid { grid-template-columns: 1fr; }
  .deal-stat-item { border-right: none; border-bottom: 1px solid #2d4a6e; }
}
