/* Restored from discovery/phase1/raw_html/%2Fdeal-analysis%2Fallwyn-opap-merger%2F.html — page styles (do not strip) */
/* Page background override */
body { background: #0d1b2e; color: #cbd5e1; }
.article-page-bg { background: #0d1b2e; min-height: 100vh; }
/* Article hero */
.article-hero {
  background: linear-gradient(135deg, #0d1b2e 0%, #112240 50%, #0d2137 100%);
  padding: 80px 0 60px;
  border-bottom: 1px solid #1e3a5f;
}
.article-hero-inner { max-width: 900px; }
.article-category {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #94a3b8 !important;
  margin-bottom: 20px !important;
  display: block !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.article-hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.article-deck {
  font-size: 18px;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 800px;
}
.article-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #64748b;
  align-items: center;
}
.article-meta .author { color: #94a3b8; font-weight: 600; }
.article-meta .date { color: #64748b; }
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(245,158,11,0.15);
  color: #f59e0b;
  border: 1px solid rgba(245,158,11,0.3);
}
/* Key metrics bar */
.metrics-bar {
  background: #112240;
  border-top: 1px solid #1e3a5f;
  border-bottom: 1px solid #1e3a5f;
  padding: 24px 0;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
@media(max-width:900px){ .metrics-grid { grid-template-columns: repeat(3,1fr); } }
@media(max-width:500px){ .metrics-grid { grid-template-columns: repeat(2,1fr); } }
.metric-item {
  text-align: center;
  padding: 12px 8px;
  border-right: 1px solid #1e3a5f;
}
.metric-item:last-child { border-right: none; }
.metric-value {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  display: block;
  line-height: 1.2;
}
.metric-value.green { color: #10b981; }
.metric-value.amber { color: #f59e0b; }
.metric-value.blue { color: #38bdf8; }
.metric-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}
/* Article layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
  padding: 60px 0;
}
@media(max-width:960px){ .article-layout { grid-template-columns: 1fr; } }
/* Article body */
.article-body { max-width: 100%; }
.article-body h2 {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin: 48px 0 16px;
  padding-top: 8px;
  border-top: 1px solid #1e3a5f;
  line-height: 1.3;
}
.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: #e2e8f0;
  margin: 32px 0 12px;
}
.article-body p {
  font-size: 16px;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 20px;
}
.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.article-body li {
  font-size: 16px;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 6px;
}
/* Data table */
.data-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.data-table th {
  background: #1a2d45;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #2d4a6e;
}
.data-table td {
  padding: 12px 16px;
  color: #cbd5e1;
  border-bottom: 1px solid #1e3a5f;
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(37,99,235,0.05); }
.data-table td:first-child { color: #e2e8f0; font-weight: 500; }
.td-green { color: #10b981 !important; font-weight: 600 !important; }
.td-amber { color: #f59e0b !important; font-weight: 600 !important; }
.td-red { color: #ef4444 !important; font-weight: 600 !important; }
/* Callout boxes */
.callout {
  border-left: 3px solid #2563eb;
  background: rgba(37,99,235,0.08);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 8px 8px 0;
}
.callout.amber { border-color: #f59e0b; background: rgba(245,158,11,0.08); }
.callout.green { border-color: #10b981; background: rgba(16,185,129,0.08); }
.callout.red { border-color: #ef4444; background: rgba(239,68,68,0.08); }
.callout p { margin: 0; font-size: 15px; color: #cbd5e1; }
.callout strong { color: #e2e8f0; }
/* Chart container */
.chart-container {
  background: #1a2d45;
  border: 1px solid #2d4a6e;
  border-radius: 10px;
  padding: 24px;
  margin: 32px 0;
}
.chart-container img { width: 100%; height: auto; display: block; border-radius: 6px; }
.chart-caption {
  font-size: 12px;
  color: #64748b;
  text-align: center;
  margin-top: 12px;
}
/* TOC sidebar */
.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;
  border-left: 2px solid transparent;
  padding-left: 10px;
  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 */
.sidebar-deal-card {
  background: #1a2d45;
  border: 1px solid #2d4a6e;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-deal-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.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; }
/* Blockquote */
.article-body blockquote {
  border-left: 3px solid #2563eb;
  margin: 28px 0;
  padding: 16px 24px;
  background: rgba(37,99,235,0.06);
  border-radius: 0 8px 8px 0;
}
.article-body blockquote p {
  font-size: 17px;
  font-style: italic;
  color: #e2e8f0;
  margin: 0 0 8px;
}
.article-body blockquote cite {
  font-size: 13px;
  color: #64748b;
  font-style: normal;
}
/* Scenario grid */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
@media(max-width:768px){ .scenario-grid { grid-template-columns: 1fr; } }
.scenario-card {
  background: #1a2d45;
  border: 1px solid #2d4a6e;
  border-radius: 10px;
  padding: 20px;
}
.scenario-card.bull { border-top: 3px solid #10b981; }
.scenario-card.base { border-top: 3px solid #2563eb; }
.scenario-card.bear { border-top: 3px solid #ef4444; }
.scenario-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.scenario-card.bull .scenario-label { color: #10b981; }
.scenario-card.base .scenario-label { color: #3b82f6; }
.scenario-card.bear .scenario-label { color: #ef4444; }
.scenario-card h4 { font-size: 15px; font-weight: 700; color: #e2e8f0; margin-bottom: 10px; }
.scenario-card p { font-size: 13px; color: #94a3b8; line-height: 1.6; margin: 0; }
/* Related articles */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media(max-width:768px){ .related-grid { grid-template-columns: 1fr; } }
.related-card {
  background: #1a2d45;
  border: 1px solid #2d4a6e;
  border-radius: 10px;
  padding: 24px;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s, transform 0.2s;
}
.related-card:hover { border-color: #2563eb; transform: translateY(-2px); }
.related-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 10px;
}
.related-card h4 { font-size: 15px; font-weight: 700; color: #e2e8f0; line-height: 1.4; margin-bottom: 8px; }
.related-card p { font-size: 13px; color: #64748b; margin: 0; }
