/*
Theme Name: DealFlow Energy
Theme URI: https://dealflowenergy.com
Author: DealFlow Energy
Author URI: https://dealflowenergy.com
Description: A professional M&A news theme for renewable energy deal tracking, built for subscription-based financial journalism.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dealflow-energy
Tags: news, finance, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =============================================
   CSS VARIABLES
============================================= */
:root {
  --ink: #0a0a0f;
  --paper: #f5f2eb;
  --cream: #faf8f3;
  --accent: #c8432a;
  --gold: #b8952a;
  --steel: #2c3e50;
  --muted: #7a7a7a;
  --border: #ddd8cc;
  --tag-bg: #e8e4da;
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 15px; scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p { margin-bottom: 1em; }

.entry-content p,
.entry-content ul,
.entry-content ol {
  max-width: 680px;
  margin-bottom: 1.4em;
}

.entry-content ul, .entry-content ol {
  padding-left: 1.5em;
  list-style: revert;
}

.entry-content h2 { font-size: 28px; margin: 2em 0 0.6em; }
.entry-content h3 { font-size: 22px; margin: 1.6em 0 0.5em; }
.entry-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 12px 20px;
  margin: 2em 0;
  font-style: italic;
  color: var(--steel);
  background: var(--paper);
}

/* =============================================
   UTILITY CLASSES
============================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.btn {
  display: inline-block;
  padding: 9px 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-filled {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
}
.btn-filled:hover { background: #a83520; border-color: #a83520; }

.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

/* =============================================
   STOCK TICKER
============================================= */
.site-ticker {
  background: var(--ink);
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
}
.ticker-track {
  display: flex;
  gap: 60px;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-item { display: flex; gap: 10px; align-items: center; }
.ticker-item .symbol { color: rgba(255,255,255,0.6); }
.ticker-item .up { color: #4ade80; }
.ticker-item .down { color: #f87171; }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   SITE HEADER
============================================= */
.site-header {
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
  position: relative;

}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0 12px;
  border-bottom: 1px solid var(--border);
}
.site-branding .site-title {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--ink);
  text-decoration: none;
}
.site-branding .site-title span { color: var(--accent); }
.site-branding .site-tagline {
  font-size: 11px;
  color: var(--muted);
  font-family: 'DM Mono', monospace;
  margin-top: 2px;
}
.header-date-meta {
  font-size: 11px;
  color: var(--muted);
  font-family: 'DM Mono', monospace;
  text-align: center;
}
.header-actions { display: flex; gap: 12px; align-items: center; }

/* Nav */
.main-navigation {
  display: flex;
  align-items: center;
  padding: 14px 0;
}
.main-navigation ul {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.main-navigation ul li a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
  color: var(--accent);
}
.main-navigation ul li.current-menu-item > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}

/* Mobile nav toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--ink);
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =============================================
   HERO SECTION (Front Page)
============================================= */
.hero-section {
  padding: 40px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}
.hero-main {
  border-right: 1px solid var(--border);
  padding-right: 40px;
}
.hero-featured-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-top: 20px;
  display: block;
}
.hero-featured-image-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 50%, #1a3a2a 100%);
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}
.hero-featured-image-placeholder::after {
  content: attr(data-deal-value);
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 6px 14px;
}
.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 18px;
  color: var(--ink);
}
.hero-title a { color: inherit; }
.hero-title a:hover { color: var(--accent); }
.hero-excerpt {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 560px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  font-family: 'DM Mono', monospace;
  margin-bottom: 24px;
}
.hero-meta .meta-author { color: var(--ink); font-weight: 500; }
.hero-meta .meta-deal-value { color: var(--accent); font-weight: 500; }

/* Sidebar latest */
.hero-sidebar {}
.sidebar-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 20px;
}
.sidebar-articles {}
.sidebar-article {
  display: grid;
  grid-template-columns: 1fr 70px;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.sidebar-article:last-child { border-bottom: none; }
.sa-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}
.sa-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  transition: color 0.2s;
}
.sa-title:hover { color: var(--accent); }
.sa-meta { font-size: 11px; color: var(--muted); margin-top: 5px; font-family: 'DM Mono', monospace; }
.sa-thumb {
  width: 70px;
  height: 55px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--steel), #1a2a3a);
  flex-shrink: 0;
}

/* =============================================
   SECTION HEADERS
============================================= */
.section-header {
  border-top: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  margin: 40px 0 24px;
}
.section-header h2 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.section-header .view-all {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.section-header .view-all:hover { text-decoration: underline; }

/* ── NEWS GRID ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.news-card {
  border-top: 3px solid transparent;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: none;
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  transition: border-top-color 0.2s;
}
.news-card:nth-child(3n) { border-right: none; }
.news-card:hover { border-top-color: var(--accent); }

.nc-thumbnail { width: 100%; height: 190px; object-fit: cover; display: block; margin-bottom: 16px; }
.nc-tag {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  margin-bottom: 12px;
  border: 1px solid transparent;
  width: fit-content;
}
.tag-solar      { background: rgba(234,179,8,0.12);   color: #92700a; border-color: rgba(234,179,8,0.3);   }
.tag-wind       { background: rgba(59,130,246,0.10);  color: #1d52a3; border-color: rgba(59,130,246,0.25); }
.tag-storage    { background: rgba(168,85,247,0.10);  color: #7e22ce; border-color: rgba(168,85,247,0.25); }
.tag-hydrogen   { background: rgba(20,184,166,0.10);  color: #0f766e; border-color: rgba(20,184,166,0.25); }
.tag-policy     { background: rgba(239,68,68,0.10);   color: #b91c1c; border-color: rgba(239,68,68,0.25);  }
.tag-default    { background: rgba(100,116,139,0.10); color: #475569; border-color: rgba(100,116,139,0.2); }
.nc-title {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.nc-title a { color: var(--ink); text-decoration: none; transition: color 0.2s; }
.nc-title a:hover { color: var(--accent); }
.nc-excerpt {
  font-size: 13px;
  line-height: 1.65;
  color: #666;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nc-meta {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }

}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }

}
/* =============================================
   DEAL TRACKER PAGE
============================================= */
.deal-tracker-section {
  background: var(--ink);
  color: #fff;
  padding: 60px 0;
}
.dt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}
.dt-title {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
}
.dt-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  font-family: 'DM Mono', monospace;
}
.dt-stats {
  display: flex;
  gap: 40px;
  font-family: 'DM Mono', monospace;
  text-align: right;
}
.dt-stat-value {
  font-size: 28px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.dt-stat-label {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Filters */
.dt-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.dt-filter {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 9px 14px;
  font-size: 12px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  appearance: none;
  min-width: 150px;
  outline: none;
}
.dt-filter:focus { border-color: var(--gold); }
.dt-filter option { background: #1a1a2e; }
.dt-search {
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 9px 16px;
  font-size: 12px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
}
.dt-search::placeholder { color: rgba(255,255,255,0.35); }
.dt-search:focus { border-color: var(--gold); }

/* Active filter pills */
.active-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  min-height: 28px;
}
.filter-pill {
  background: rgba(184,149,42,0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 10px;
  font-family: 'DM Mono', monospace;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pill-remove {
  cursor: pointer;
  opacity: 0.7;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 12px;
  line-height: 1;
  padding: 0;
}
.pill-remove:hover { opacity: 1; }

/* Table */
.dt-table-wrap { overflow-x: auto; }
.dt-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 100%;
}
.dt-table th {
  text-align: left;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}
.dt-table th:hover { color: var(--gold); }
.dt-table th .sort-icon { margin-left: 4px; opacity: 0.5; }
.dt-table th.sort-asc .sort-icon::after { content: ' ↑'; opacity: 1; color: var(--gold); }
.dt-table th.sort-desc .sort-icon::after { content: ' ↓'; opacity: 1; color: var(--gold); }
.dt-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  vertical-align: middle;
}
.dt-table tr:hover td { background: rgba(255,255,255,0.03); }
.dt-company-name { font-weight: 600; color: #fff; font-size: 13px; }
.dt-target-name { color: rgba(255,255,255,0.6); font-size: 12px; margin-top: 3px; font-family: 'DM Mono', monospace; }
.dt-value {
  font-family: 'DM Mono', monospace;
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
}
.dt-industry-badge {
  display: inline-block;
  font-size: 10px;
  font-family: 'DM Mono', monospace;
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.dt-country-cell { white-space: nowrap; }
.dt-flag { margin-right: 6px; font-size: 16px; }
.dt-year { font-family: 'DM Mono', monospace; color: rgba(255,255,255,0.5); }
.dt-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: 'DM Mono', monospace;
  white-space: nowrap;
}
.dt-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dt-status.status-completed { color: #4ade80; }
.dt-status.status-completed::before { background: #4ade80; }
.dt-status.status-pending { color: #fbbf24; }
.dt-status.status-pending::before { background: #fbbf24; animation: status-pulse 2s infinite; }
.dt-status.status-announced { color: #60a5fa; }
.dt-status.status-announced::before { background: #60a5fa; }
@keyframes status-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.dt-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.dt-pages { display: flex; gap: 6px; }
.dt-page-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  background: none;
  font-family: 'DM Mono', monospace;
  transition: all 0.15s;
}
.dt-page-btn.active { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 600; }
.dt-page-btn:hover:not(.active) { border-color: var(--gold); color: var(--gold); }

/* =============================================
   SINGLE POST
============================================= */
.single-post-header {
  padding: 50px 0 40px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 50px;
}
.single-post-header .post-category {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.single-post-header h1 {
  font-size: 48px;
  font-weight: 700;
  max-width: 800px;
  margin-bottom: 18px;
}
.single-post-header .post-excerpt {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.single-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.single-post-meta .meta-author { color: var(--ink); font-weight: 500; }
.deal-stat-box {
  background: var(--ink);
  color: #fff;
  padding: 24px 30px;
  margin: 30px 0;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.deal-stat { font-family: 'DM Mono', monospace; }
.deal-stat-value { font-size: 24px; color: var(--gold); font-weight: 500; }
.deal-stat-label { font-size: 10px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 3px; }

.post-content-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  margin-bottom: 60px;
}
.entry-content { max-width: 100%; }
.post-sidebar {}
.post-sidebar-widget {
  border-top: 2px solid var(--ink);
  padding-top: 16px;
  margin-bottom: 32px;
}
.post-sidebar-widget h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

/* =============================================
   NEWSLETTER BANNER
============================================= */
.newsletter-section {
  background: var(--paper);
  padding: 70px 0;
  border-top: 2px solid var(--ink);
}
.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.nl-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  justify-content: center;
}
.nl-title {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
}
.nl-sub {
  font-size: 14px;
  color: #666;
  margin-bottom: 28px;
}
.nl-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto 16px;
}
.nl-input {
  flex: 1;
  padding: 14px 18px;
  font-size: 13px;
  border: 1.5px solid var(--ink);
  border-right: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  border-radius: 0;
}
.nl-input:focus { border-color: var(--accent); }
.nl-btn {
  padding: 14px 24px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s, border-color 0.2s;
}
.nl-btn:hover { background: var(--accent); border-color: var(--accent); }
.nl-note { font-size: 11px; color: var(--muted); font-family: 'DM Mono', monospace; }

/* =============================================
   SIDEBAR WIDGETS
============================================= */
.widget-area {}
.widget {
  margin-bottom: 36px;
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}
.widget-title {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.widget ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { transition: color 0.2s; }
.widget ul li a:hover { color: var(--accent); }

/* =============================================
   SITE FOOTER
============================================= */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 80px 0 50px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 30px;
}
.footer-brand .footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}
.footer-brand .footer-logo span { color: var(--accent); }
.footer-brand p { font-size: 12px; line-height: 1.6; max-width: 220px; }
.footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
  font-family: 'DM Mono', monospace;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copyright { font-size: 11px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 11px; color: rgba(255,255,255,0.3); }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* =============================================
   PAGINATION
============================================= */
.posts-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0 60px;
}
.posts-pagination a,
.posts-pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-family: 'DM Mono', monospace;
  transition: all 0.15s;
}
.posts-pagination a:hover { border-color: var(--accent); color: var(--accent); }
.posts-pagination .current {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  font-weight: 600;
}

/* =============================================
   SUBSCRIPTION PAGE
============================================= */
.pricing-section { padding: 80px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.pricing-card {
  border: 2px solid var(--border);
  padding: 36px 30px;
  position: relative;
  transition: border-color 0.2s;
}
.pricing-card:hover { border-color: var(--ink); }
.pricing-card.featured {
  border-color: var(--accent);
  background: var(--ink);
  color: #fff;
}
.pricing-card .plan-name {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.pricing-card.featured .plan-name { color: rgba(255,255,255,0.5); }
.pricing-card .plan-price {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.pricing-card .plan-price sup { font-size: 22px; vertical-align: super; }
.pricing-card .plan-period { font-size: 12px; color: var(--muted); font-family: 'DM Mono', monospace; margin-bottom: 24px; }
.pricing-card.featured .plan-period { color: rgba(255,255,255,0.5); }
.pricing-card .plan-features { margin-bottom: 28px; }
.pricing-card .plan-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-card.featured .plan-features li { border-color: rgba(255,255,255,0.1); }
.pricing-card .plan-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  white-space: nowrap;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .hero-title { font-size: 36px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .post-content-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { border-right: none; padding-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 30px; }
  .hero-title { font-size: 30px; }
  .news-grid { grid-template-columns: 1fr; }
  .dt-stats { display: none; }
  .menu-toggle { display: block; }
  .main-navigation { display: none; }
  .main-navigation.toggled { display: block; width: 100%; }
  .main-navigation.toggled ul { flex-direction: column; gap: 0; }
  .main-navigation.toggled ul li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .header-top { flex-wrap: wrap; gap: 12px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; }
  .nl-input { border-right: 1.5px solid var(--ink); border-bottom: none; }
  .deal-stat-box { gap: 20px; }
  .single-post-header h1 { font-size: 32px; }
}

/* DEAL SINGLE PAGE */
.deal-header { background: var(--ink); color: #fff; padding: 40px 0 36px; }
.deal-breadcrumb { font-family: 'DM Mono',monospace; font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.deal-breadcrumb a { color: rgba(255,255,255,0.5); }
.deal-breadcrumb a:hover { color: #fff; }
.deal-tags-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.deal-type-badge { font-family: 'DM Mono',monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(184,149,42,0.2); border: 1px solid var(--gold); color: var(--gold); padding: 4px 10px; }
.deal-title { font-family: 'Playfair Display',serif; font-size: 42px; font-weight: 700; line-height: 1.1; color: #fff; max-width: 860px; margin-bottom: 28px; }
.deal-parties { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.party-label { font-family: 'DM Mono',monospace; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 5px; }
.party-name { font-size: 18px; font-weight: 600; color: #fff; }
.deal-arrow { font-size: 24px; color: var(--gold); padding-top: 18px; }
.deal-stats-bar { background: #111; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.deal-stats-grid { display: flex; flex-wrap: wrap; gap: 0; }
.deal-stat-item { padding-right: 32px; margin-right: 32px; border-right: 1px solid rgba(255,255,255,0.1); font-family: 'DM Mono',monospace; }
.deal-stat-item:last-child { border-right: none; }
.dsi-value { font-size: 20px; color: var(--gold); font-weight: 500; }
.dsi-label { font-size: 9px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 4px; }
.deal-content-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 50px; padding: 50px 0 60px; }
.deal-section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.deal-section:last-child { border-bottom: none; }
.deal-section-title { font-family: 'Playfair Display',serif; font-size: 20px; font-weight: 700; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.deal-source-box { display: flex; align-items: center; gap: 16px; background: var(--paper); border: 1px solid var(--border); padding: 18px 20px; flex-wrap: wrap; }
.source-icon { font-size: 24px; }
.source-name { font-weight: 600; font-size: 14px; margin-bottom: 3px; }
.source-link { font-family: 'DM Mono',monospace; font-size: 12px; color: var(--accent); }
.source-btn { font-size: 11px; padding: 8px 16px; }
.deal-sidebar-card { border: 1px solid var(--border); padding: 22px; margin-bottom: 20px; background: #fff; }
.dsc-title { font-family: 'DM Mono',monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.dsc-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.dsc-row:last-child { border-bottom: none; }
.dsc-label { color: var(--muted); font-family: 'DM Mono',monospace; font-size: 11px; }
.dsc-value { font-weight: 500; text-align: right; }
.deal-sidebar-cta { background: var(--ink); color: #fff; border-color: var(--ink); }
.deal-sidebar-cta .dsc-eyebrow { font-family: 'DM Mono',monospace; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.deal-sidebar-cta h3 { font-family: 'Playfair Display',serif; font-size: 18px; color: #fff; margin-bottom: 10px; }
.deal-sidebar-cta p { font-size: 13px; color: rgba(255,255,255,0.6); margin: 0; }
.dt-type-badge { display: inline-block; font-size: 9px; font-family: 'DM Mono',monospace; padding: 2px 7px; background: rgba(184,149,42,0.15); border: 1px solid rgba(184,149,42,0.4); color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }
.dt-view-link { font-family: 'DM Mono',monospace; font-size: 10px; color: rgba(255,255,255,0.4); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.dt-view-link:hover { color: var(--gold); }
@media (max-width: 768px) {
  .deal-content-wrap { grid-template-columns: 1fr; }
  .deal-title { font-size: 26px; }
  .deal-stat-item { border-right: none; padding-right: 0; margin-right: 0; }
}

/* ── DEAL SINGLE REDESIGN ── */
.deal-header {
  background: var(--ink); padding: 36px 0 32px; position: relative; overflow: hidden;
}
.deal-header::before {
  content: 'M&A'; position: absolute; right: 40px; top: -10px;
  font-family: 'Playfair Display',serif; font-size: 120px; font-weight: 900;
  color: rgba(255,255,255,0.03); pointer-events: none; line-height: 1;
}
.deal-breadcrumb {
  font-family: 'DM Mono',monospace; font-size: 11px;
  color: rgba(255,255,255,0.35); margin-bottom: 18px;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.deal-breadcrumb a { color: rgba(255,255,255,0.45); }
.deal-breadcrumb a:hover { color: #fff; }
.deal-tags-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.tag { font-family: 'DM Mono',monospace; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border: 1px solid; }
.tag-industry  { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.05); }
.tag-type      { border-color: var(--gold); color: var(--gold); background: rgba(184,149,42,0.1); }
.tag-status-announced { border-color: #60a5fa; color: #60a5fa; background: rgba(96,165,250,0.08); display: flex; align-items: center; gap: 6px; }
.tag-status-completed { border-color: #4ade80; color: #4ade80; background: rgba(74,222,128,0.08); display: flex; align-items: center; gap: 6px; }
.tag-status-pending   { border-color: #fbbf24; color: #fbbf24; background: rgba(251,191,36,0.08); display: flex; align-items: center; gap: 6px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; flex-shrink: 0; }
.deal-title { font-family: 'Playfair Display',serif; font-size: 38px; font-weight: 700; line-height: 1.1; color: #fff; max-width: 820px; margin-bottom: 24px; letter-spacing: -0.5px; }
.deal-parties { display: flex; align-items: center; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); flex-wrap: wrap; }
.party-lbl { font-family: 'DM Mono',monospace; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 5px; }
.party-name { font-size: 17px; font-weight: 600; color: #fff; }
.party-arrow { font-size: 22px; color: var(--gold); padding-top: 16px; }

/* Stats strip */
.deal-stats-strip { background: #0f0f14; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 18px 0; }
.stats-strip-inner { display: flex; flex-wrap: wrap; }
.stat-cell { padding: 0 36px 0 0; margin-right: 36px; border-right: 1px solid rgba(255,255,255,0.08); font-family: 'DM Mono',monospace; }
.stat-cell:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.stat-val { font-size: 20px; color: var(--gold); font-weight: 500; line-height: 1.2; }
.stat-lbl { font-size: 9px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 4px; }

/* Body */
.deal-body { padding: 50px 0 80px; }

/* Intel grid */
.intel-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-bottom: 40px; }
.intel-cell { background: #fff; padding: 20px 22px; transition: background 0.15s; }
.intel-cell:hover { background: var(--paper); }
.intel-lbl { font-family: 'DM Mono',monospace; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.intel-val { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.intel-gold   { color: var(--gold); font-family: 'DM Mono',monospace; font-size: 18px; }
.intel-accent { color: var(--accent); }

/* Subscribe banner */
.deal-subscribe-banner { background: var(--ink); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 32px 40px; margin-bottom: 50px; }
.dsb-eyebrow { font-family: 'DM Mono',monospace; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.dsb-title { font-family: 'Playfair Display',serif; font-size: 24px; color: #fff; font-weight: 700; }
.dsb-sub { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 6px; }

/* Content cols */
.deal-content-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.deal-section-label { font-family: 'DM Mono',monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.deal-section-label::before { content: ''; display: block; width: 16px; height: 2px; background: var(--accent); flex-shrink: 0; }
.deal-entry-content p { font-size: 15px; line-height: 1.8; color: #444; margin-bottom: 1.2em; }
.advisor-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.advisor-row:last-child { border-bottom: none; }
.advisor-lbl { color: var(--muted); font-family: 'DM Mono',monospace; font-size: 11px; flex-shrink: 0; }
.advisor-val { font-weight: 500; text-align: right; }

/* Source */

.deal-source-block { display: flex; align-items: center; gap: 18px; background: var(--paper); border: 1px solid var(--border); border-left: 4px solid var(--accent); padding: 24px 28px; margin-top: 40px; margin-bottom: 0; flex-wrap: wrap; }
.deal-source-block .source-pub { font-weight: 700; font-size: 16px; margin-bottom: 4px; color: var(--ink); }
.deal-source-block .source-url { font-family: 'DM Mono',monospace; font-size: 12px; color: var(--accent); }
.deal-source-block .source-info { flex: 1; }
.deal-source-block .source-btn { padding: 12px 24px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border: none; cursor: pointer; text-decoration: none; display: inline-block; transition: background 0.2s; }
.deal-source-block .source-btn:hover { background: var(--accent); }
.source-icon { flex-shrink: 0; color: var(--muted); display: flex; align-items: center; }
.source-pub { font-weight: 600; font-size: 14px; margin-bottom: 3px; }
.source-url { font-family: 'DM Mono',monospace; font-size: 12px; color: var(--accent); }
.source-btn { font-size: 11px; padding: 10px 20px; }

/* Related deals */
.related-deals-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 20px; margin-bottom: 60px; }
.deal-section-label { margin-top: 50px; }
.related-deal-card { border-top: 3px solid var(--border); padding-top: 14px; transition: border-color 0.2s; }
.related-deal-card:hover { border-color: var(--accent); }
.rc-tag { font-family: 'DM Mono',monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.rc-title { font-family: 'Playfair Display',serif; font-size: 15px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; color: var(--ink); display: block; transition: color 0.2s; }
.rc-title:hover { color: var(--accent); }
.rc-meta { font-family: 'DM Mono',monospace; font-size: 11px; color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .intel-grid { grid-template-columns: repeat(2,1fr); }
  .deal-content-cols { grid-template-columns: 1fr; }
  .deal-subscribe-banner { grid-template-columns: 1fr; }
  .related-deals-grid { grid-template-columns: 1fr 1fr; }
  .deal-title { font-size: 28px; }
  .stats-strip-inner { gap: 20px; }
  .stat-cell { border-right: none; padding-right: 0; margin-right: 0; }
}
@media (max-width: 600px) {
  .intel-grid { grid-template-columns: 1fr 1fr; }
  .related-deals-grid { grid-template-columns: 1fr; }
}

/* ── BACK PILL BUTTON ── */
.back-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(184,149,42,0.3);
  padding: 8px 16px;
  background: rgba(184,149,42,0.08);
  margin-bottom: 20px;
  transition: background 0.2s, border-color 0.2s, gap 0.2s;
}
.back-pill:hover {
  background: rgba(184,149,42,0.15);
  border-color: var(--gold);
  gap: 14px;
  color: var(--gold);
}
.back-pill-arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.back-pill:hover .back-pill-arrow {
  transform: translateX(-4px);
}

/* ── INTER HEADING OVERRIDES ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.03em;
}
.hero-title      { letter-spacing: -0.04em; }
.deal-title      { letter-spacing: -0.04em; }
.dt-title        { letter-spacing: -0.04em; }
.nl-title        { letter-spacing: -0.04em; }
.nc-title        { letter-spacing: -0.02em; }
.sa-title        { letter-spacing: -0.02em; }
.rc-title        { letter-spacing: -0.02em; }
.footer-logo     { font-family: 'Inter', sans-serif; letter-spacing: -0.03em; }
.site-title      { font-family: 'Inter', sans-serif; letter-spacing: -0.04em; }

/* ══════════════════════════════════════
   SINGLE POST REDESIGN
══════════════════════════════════════ */
.sp-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* Header */
.sp-header { background: var(--ink); padding: 50px 0 0; border-bottom: none; }
.sp-eyebrow { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.sp-eyebrow::before { content: ''; display: block; width: 16px; height: 2px; background: var(--accent); }
.sp-title { font-family: 'Inter', sans-serif; font-size: 52px; font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; color: #fff; max-width: 900px; margin-bottom: 24px; }
.sp-meta { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; font-family: 'DM Mono', monospace; font-size: 11px; color: rgba(255,255,255,0.4); padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 10px; }
.sp-author { color: #fff; font-weight: 600; font-family: 'DM Sans', sans-serif; }
.sp-deal-val { color: var(--gold); font-family: 'DM Mono', monospace; }

/* Deal bar */
.sp-deal-bar { background: var(--ink); padding: 24px 0; }
.sp-deal-bar-inner { display: flex; flex-wrap: wrap; gap: 0; }
.sp-deal-stat { padding: 0 36px 0 0; margin-right: 36px; border-right: 1px solid rgba(255,255,255,0.08); font-family: 'DM Mono', monospace; }
.sp-deal-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.sp-ds-val { font-size: 20px; color: var(--gold); font-weight: 500; line-height: 1.2; }
.sp-ds-lbl { font-size: 9px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 4px; }

/* Content layout */
.sp-content-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 60px; padding: 50px 0 80px; }
.sp-featured-img { margin-bottom: 32px; }
.sp-featured-img img { width: 100%; height: auto; display: block; }
.sp-entry-content p  { font-size: 16px; line-height: 1.8; color: #333; margin-bottom: 1.4em; }
.sp-entry-content h2 { font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 2em 0 0.6em; color: var(--ink); }
.sp-entry-content h3 { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 700; margin: 1.6em 0 0.5em; color: var(--ink); }
.sp-entry-content blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; margin: 24px 0; font-size: 18px; font-style: italic; color: var(--steel); }

/* Tags */
.sp-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.sp-tag { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; background: var(--paper); border: 1px solid var(--border); color: var(--muted); transition: all 0.2s; }
.sp-tag:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── COMPANY DEALS WIDGET ── */
.cdw { border: 1px solid var(--border); margin-bottom: 28px; background: #fff; position: sticky; top: 20px; }
.cdw-header { background: var(--ink); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; }
.cdw-company { display: flex; align-items: center; gap: 12px; }
.cdw-logo { width: 38px; height: 38px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 800; color: #fff; flex-shrink: 0; letter-spacing: -0.02em; }
.cdw-name { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700; color: #fff; }
.cdw-subtitle { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 2px; }
.cdw-count { font-family: 'DM Mono', monospace; font-size: 24px; font-weight: 500; color: var(--gold); line-height: 1; }
.cdw-count-lbl { font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-top: 3px; }
.cdw-stats { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.cdw-stat { padding: 12px 16px; border-right: 1px solid var(--border); font-family: 'DM Mono', monospace; }
.cdw-stat:last-child { border-right: none; }
.cdw-stat-val { font-size: 15px; color: var(--gold); font-weight: 500; }
.cdw-stat-lbl { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 3px; }
.cdw-deals {}
.cdw-item { display: block; padding: 14px 18px; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: background 0.15s; }
.cdw-item:last-child { border-bottom: none; }
.cdw-item:hover { background: var(--paper); }
.cdw-item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 6px; }
.cdw-item-title { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ink); flex: 1; }
.cdw-item:hover .cdw-item-title { color: var(--accent); }
.cdw-item-val { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--gold); font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.cdw-item-bottom { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.cdw-item-tag { font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--paper); color: var(--steel); padding: 2px 7px; border: 1px solid var(--border); }
.cdw-item-meta { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--muted); }
.cdw-item-status { font-family: 'DM Mono', monospace; font-size: 10px; display: flex; align-items: center; gap: 4px; margin-left: auto; }
.cdw-item-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; display: inline-block; flex-shrink: 0; }
.cdw-item-status.completed { color: #16a34a; }
.cdw-item-status.announced { color: #2563eb; }
.cdw-item-status.pending   { color: #d97706; }
.cdw-footer { padding: 12px 18px; border-top: 1px solid var(--border); background: var(--paper); text-align: center; }
.cdw-footer a { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); text-decoration: none; font-weight: 500; }
.cdw-footer a:hover { text-decoration: underline; }

/* Related articles */
.sp-related { border-top: 2px solid var(--ink); padding-top: 16px; }
.sp-sidebar-title { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.sp-related-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.sp-related-item:last-child { border-bottom: none; }
.sp-related-title { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ink); display: block; margin-bottom: 4px; transition: color 0.2s; }
.sp-related-title:hover { color: var(--accent); }
.sp-related-meta { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--muted); }

/* Responsive */
@media (max-width: 1024px) {
  .sp-content-wrap { grid-template-columns: 1fr; }
  .sp-title { font-size: 38px; }
  .cdw { position: static; }
}
@media (max-width: 768px) {
  .sp-title { font-size: 28px; }
  .sp-deal-bar-inner { gap: 20px; }
  .sp-deal-stat { border-right: none; padding-right: 0; margin-right: 0; }
}

.news-card {
  background: var(--cream);
  border-top: 3px solid transparent;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  transition: border-top-color 0.2s;
}
.news-card:hover { border-top-color: var(--accent); }
.news-card:nth-child(3n) { border-right: none; }
.tag-oilgas  { background: rgba(251,146,60,0.12); color: #c2410c; border-color: rgba(251,146,60,0.3); }
.tag-nuclear { background: rgba(99,102,241,0.10); color: #4338ca; border-color: rgba(99,102,241,0.25); }
.tag-analysis{ background: rgba(20,184,166,0.10); color: #0f766e; border-color: rgba(20,184,166,0.25); }

/* ── PAYWALL OVERLAY ── */
.df-paywall-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,10,15,0.96);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.df-paywall-inner {
    background: var(--paper);
    max-width: 640px;
    width: 100%;
    padding: 48px 25px;
    text-align: center;
    position: relative;
}
.df-paywall-logo {
    font-family: Inter, sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
    margin-bottom: 32px;
}
.df-pw-logo-black { color: var(--ink); }
.df-pw-logo-red   { color: var(--accent); }
.df-paywall-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.df-paywall-headline {
    font-family: Inter, sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 14px;
}
.df-paywall-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 28px;
}
.df-paywall-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 32px;
    margin-bottom: 32px;
    text-align: left;
    padding: 0 16px;
}
.df-pw-feature {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--ink);
    white-space: nowrap;
}
.df-pw-cta {
    display: block;
    background: var(--accent);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    padding: 16px 32px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: opacity 0.2s;
}
.df-pw-cta:hover { opacity: 0.88; }
.df-pw-note {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 24px;
}
.df-pw-signin {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    padding-top: 20px;
}
.df-pw-signin a { color: var(--accent); text-decoration: none; }

.sp-excerpt {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted);
    margin: 20px 0 28px;
    font-style: italic;
    border-left: 3px solid var(--accent);
    padding-left: 16px;
}
.hero-excerpt {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
    margin: 16px 0 0;
}
.page-template-page-about .container,
.page-template-page-subscribe .container,
.page-template-page-contact .container,
.page-template-page-legal .container {
    max-width: 1280px;
    padding: 0 48px;
}

/* =============================================
   NEWS TICKER BAR (Breaking headlines strip)
   Add to the bottom of style.css
============================================= */

.news-ticker-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
  overflow: hidden;
}

.news-ticker-inner {
  width: 100%;
  margin: 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.news-ticker-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: ticker-dot-pulse 2s infinite;
}

@keyframes ticker-dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.news-ticker-track-wrap {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 40px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 40px), transparent 100%);
}

.news-ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  width: max-content;
  animation: news-ticker-scroll 100s linear infinite;
}

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

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

.news-ticker-item {
  font-size: 12.5px;
  color: var(--steel);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s;
}

.news-ticker-item:hover { color: var(--accent); }

.news-ticker-item strong {
  color: var(--ink);
  font-weight: 600;
  transition: color 0.15s;
}

.news-ticker-item:hover strong { color: var(--accent); }

.nt-sep { color: var(--border); }

.nt-time {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .news-ticker-inner { padding: 0 16px; }
  .news-ticker-label { display: none; }
  .news-ticker-item { font-size: 12px; }
}

/* =============================================
   DEAL TRACKER — BOOKMARK BUTTON
   Add to the bottom of style.css
============================================= */

.dt-bookmark-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.4);
  padding: 5px;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s;
}

.dt-bookmark-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.dt-bookmark-btn.is-saved {
  color: var(--gold);
  border-color: var(--gold);
}

.dt-bookmark-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* =============================================
   BOOKMARK BUTTON — single deal page header
   (dark theme context, distinct from dashboard's light styling)
   Add to the bottom of style.css
============================================= */

.deal-header .df-bookmark-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  padding: 9px 14px;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.deal-header .df-bookmark-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(184,149,42,0.1);
}

.deal-header .df-bookmark-btn.is-saved {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(184,149,42,0.12);
}

.deal-header .df-bookmark-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.deal-header .df-bookmark-btn::after {
  content: "Save Deal";
}

.deal-header .df-bookmark-btn.is-saved::after {
  content: "Saved";
}

/* =============================================
   ACCOUNT DROPDOWN WIDGET (header)
   Add to the bottom of style.css
============================================= */

.df-account-widget { position: relative; }

.df-account-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--ink);
  background: #fff;
  padding: 6px 14px 6px 8px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

.df-account-trigger:hover { background: var(--paper); }

.df-account-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}

.df-account-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.df-account-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.df-account-plan {
  font-size: 9px;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.df-account-plan--free { color: var(--muted); }

.df-account-caret {
  font-size: 10px;
  color: var(--muted);
  margin-left: 2px;
  transition: transform 0.15s;
}

.df-account-widget.is-open .df-account-caret { transform: rotate(180deg); }

.df-account-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  width: 230px;
  background: #fff;
  border: 1px solid var(--border);
  z-index: 9999;
  display: none;
}

.df-account-widget.is-open .df-account-dropdown { display: block; }

.df-account-dropdown-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.df-account-dropdown-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.df-account-dropdown-email {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.df-account-dropdown-links { padding: 8px 0; }

.df-account-dropdown-links a {
  display: flex;
  align-items: center;
  padding: 9px 16px;
  font-size: 12.5px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s;
}

.df-account-dropdown-links a:hover { background: var(--paper); }

.df-account-dropdown-badge {
  margin-left: auto;
  font-size: 9px;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.04em;
  background: rgba(184,149,42,0.15);
  color: var(--gold);
  padding: 2px 7px;
}

.df-account-dropdown-badge--free {
  background: var(--tag-bg);
  color: var(--muted);
}

.df-account-dropdown-footer {
  border-top: 1px solid var(--border);
  padding: 8px 0;
}

.df-account-signout {
  display: block;
  padding: 9px 16px;
  font-size: 12.5px;
  color: var(--accent);
  text-decoration: none;
  transition: background 0.15s;
}

.df-account-signout:hover { background: var(--paper); }

@media (max-width: 768px) {
  .df-account-info { display: none; }
  .df-account-trigger { padding: 6px; }
  .df-account-dropdown { right: -10px; }
}

/* =============================================
   COMPANY PROFILES — single + directory
   Add to the bottom of style.css
============================================= */

/* ── Single profile header ── */
.co-header {
  background: var(--ink);
  color: #fff;
  padding: 36px 0 0;
}

.co-breadcrumb {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.co-breadcrumb a { color: rgba(255,255,255,0.45); }
.co-breadcrumb a:hover { color: #fff; }

.co-header-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.co-avatar {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}

.co-header-info { flex: 1; }

.co-name-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.co-name {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: -0.5px;
}

.co-ticker {
  font-size: 10px;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(184,149,42,0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 3px 10px;
}

.co-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.co-stats-strip {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}

.co-stat {
  padding: 14px 28px 14px 0;
  margin-right: 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  font-family: 'DM Mono', monospace;
}

.co-stat:last-child { border-right: none; margin-right: 0; }

.co-stat-lbl {
  font-size: 9px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.co-stat-val { font-size: 14px; color: #fff; }
.co-stat-val--link { color: var(--accent); }

/* ── Body ── */
.co-body { padding: 40px 0 60px; }

.co-deal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 40px;
}

.co-deal-stat {
  background: var(--cream);
  padding: 20px 24px;
}

.co-deal-stat-val {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.co-deal-stat-lbl {
  font-size: 9px;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}

.co-content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
}

@media (max-width: 900px) { .co-content-grid { grid-template-columns: 1fr; } }

/* Section labels */
.co-section-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.co-section-count {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0;
  text-transform: none;
}

/* Deal list */
.co-deal-list { }

.co-deal-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.co-deal-item:last-child { border-bottom: none; }

.co-deal-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.co-deal-title {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.3;
  flex: 1;
  transition: color 0.15s;
}

.co-deal-title:hover { color: var(--accent); }

.co-deal-value {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.co-deal-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.co-role {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1px solid;
}

.co-role--acq { background: rgba(200,67,42,0.08); color: var(--accent); border-color: rgba(200,67,42,0.3); }
.co-role--tgt { background: rgba(184,149,42,0.1); color: var(--gold); border-color: rgba(184,149,42,0.35); }

.co-deal-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--tag-bg);
  color: var(--steel);
  padding: 2px 8px;
  border: 1px solid var(--border);
}

.co-deal-year {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
}

/* Press list */
.co-press-list { }

.co-press-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.co-press-date {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 2px;
  flex-shrink: 0;
}

.co-press-title {
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s;
}

.co-press-title:hover { color: var(--accent); }

/* News sidebar */
.co-news-list { }

.co-news-item { padding: 13px 0; border-bottom: 1px solid var(--border); }
.co-news-item:last-child { border-bottom: none; }

.co-news-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}

.co-news-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.35;
  display: block;
  transition: color 0.15s;
}

.co-news-title:hover { color: var(--accent); }

.co-news-meta {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

/* Info table */
.co-info-table { }

.co-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.co-info-row:last-child { border-bottom: none; }

.co-info-lbl {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
}

.co-info-val { font-weight: 600; }
.co-info-val--link { color: var(--accent); }

/* Empty state */
.co-empty {
  color: var(--muted);
  font-size: 14px;
  padding: 32px 0;
}

/* ── DIRECTORY ── */
.co-dir-header {
  background: var(--ink);
  color: #fff;
  padding: 48px 0 40px;
}

.co-dir-title {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.co-dir-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-family: 'DM Mono', monospace;
  margin: 0 0 28px;
}

.co-dir-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.co-dir-search {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  min-width: 260px;
}

.co-dir-search::placeholder { color: rgba(255,255,255,0.3); }
.co-dir-search:focus { border-color: var(--gold); }

.co-dir-select {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 10px 14px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  appearance: none;
  min-width: 180px;
}

.co-dir-select option { background: #0a0a0f; }
.co-dir-select:focus  { border-color: var(--gold); }

/* Directory grid */
.co-dir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px)  { .co-dir-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .co-dir-grid { grid-template-columns: 1fr; } }

.co-dir-card {
  border: 1px solid var(--border);
  padding: 20px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s;
}

.co-dir-card:hover { border-color: var(--accent); }

.co-dir-card-top { display: flex; align-items: center; gap: 14px; }

.co-dir-avatar {
  width: 44px;
  height: 44px;
  background: var(--tag-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--steel);
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}

.co-dir-card-name {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.co-dir-card-ticker {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--gold);
  margin-top: 2px;
}

.co-dir-card-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.co-dir-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.co-dir-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--tag-bg);
  color: var(--steel);
  padding: 2px 8px;
}

.co-dir-hq {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--muted);
}

.co-dir-deal-count {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--accent);
  margin-left: auto;
}

/* =============================================
   FOOTER REDESIGN — Option 2 (newsletter-anchored)
   Add to the bottom of style.css
============================================= */

.footer-top--option2 {
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
}

.footer-nl-form {
  display: flex;
  max-width: 240px;
  margin: 16px 0 8px;
}

.footer-nl-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 11.5px;
  padding: 8px 10px;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.15s;
}

.footer-nl-input::placeholder { color: rgba(255,255,255,0.3); }
.footer-nl-input:focus { border-color: var(--gold); }

.footer-nl-btn {
  background: var(--accent);
  border: none;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 14px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.15s;
}

.footer-nl-btn:hover { background: #a83520; }
.footer-nl-btn:disabled { opacity: 0.7; cursor: default; }

.footer-nl-note {
  font-size: 10.5px;
  color: rgba(255,255,255,0.35);
  font-family: 'DM Mono', monospace;
  margin: 0;
}

@media (max-width: 1024px) {
  .footer-top--option2 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .footer-top--option2 { grid-template-columns: 1fr; }
  .footer-nl-form { max-width: 100%; }
}
/* =============================================
   MARKET INTELLIGENCE PAGE
   Add to the bottom of style.css
============================================= */

.mi-header {
  background: var(--ink);
  color: #fff;
  padding: 56px 0 36px;
}

.mi-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.mi-title {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}

.mi-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin: 0 0 32px;
  max-width: 560px;
}

.mi-summary-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}

.mi-stat {
  background: var(--ink);
  padding: 18px 22px;
}

.mi-stat-val {
  font-family: 'DM Mono', monospace;
  font-size: 24px;
  color: var(--gold);
  font-weight: 500;
  line-height: 1.1;
}

.mi-stat-lbl {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 5px;
}

.mi-body { padding: 48px 0 60px; }

.mi-section {
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.mi-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.mi-section-label {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.mi-section-desc {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 24px;
}

.mi-chart-wrap {
  position: relative;
  width: 100%;
  background: var(--ink);
  padding: 24px;
}

.mi-table-wrap { width: 100%; overflow-x: auto; }

.mi-table {
  width: 100%;
  border-collapse: collapse;
}

.mi-table th {
  text-align: left;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 14px;
  border-bottom: 2px solid var(--ink);
}

.mi-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink);
}

.mi-table tr:hover td { background: var(--paper); }

.mi-table td a { color: var(--accent); text-decoration: none; }
.mi-table td a:hover { text-decoration: underline; }

.mi-tag {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1px solid;
}

.mi-tag-financial { background: rgba(200,67,42,0.08); color: var(--accent); border-color: rgba(200,67,42,0.3); }
.mi-tag-legal      { background: rgba(91,141,217,0.08); color: #3a6bc0; border-color: rgba(91,141,217,0.3); }

.mi-loading, .mi-empty {
  padding: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  background: var(--paper);
}

@media (max-width: 900px) {
  .mi-summary-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .mi-summary-stats { grid-template-columns: 1fr; }
  .mi-title { font-size: 28px; }
}