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

:root {
  --cream:     #FBF7F0;
  --cream2:    #F3EDE2;
  --cream3:    #EAE2D4;
  --ink:       #14100A;
  --ink2:      #3A2E22;
  --ink3:      #5C4A32;
  --ink4:      #B0987A;
  --gold:      #9A7B2C;
  --gold2:     #C9A84C;
  --gold-dark: #6B5218;
  --rule:      #2C1A0E;
  --rule-lt:   #C8B89A;
  --red:       #8B1A1A;
  --green-ink: #1A4A1A;
  --mono:      'Courier New', Courier, monospace;
  --serif:     'Playfair Display', 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --sans:      'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

/* Offset anchor scroll targets by the sticky header height.
   --scroll-offset is written by JS (syncScrollMargin) on load + every resize.
   The 260px fallback fires before JS runs and on very old browsers —
   it intentionally overshoots so content is never hidden under the header. */
:root { --scroll-offset: 260px; }

.front-page,
.paper-section,
.ad-leaderboard,
.ad-midstrip,
.classifieds-section {
  scroll-margin-top: var(--scroll-offset);
}

body {
  font-family: var(--serif);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  min-height: 100vh;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.mono { font-family: var(--mono); }
.r    { text-align: right; }
.up-text { color: var(--green-ink); font-weight: 700; }
.dn-text { color: var(--red);       font-weight: 700; }

/* ── Masthead ─────────────────────────────────────────────────────────────── */
.masthead {
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
}

.masthead-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px 28px 6px;
  max-width: 1240px;
  margin: 0 auto;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink3);
  letter-spacing: 0.4px;
}
.masthead-meta.left  { justify-self: start; }
.masthead-meta.center{ justify-self: center; text-align: center; }
.masthead-meta.right { justify-self: end; text-align: right; }
.masthead-kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.meta-sep { margin: 0 6px; color: var(--ink4); }

.masthead-rule-top {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  height: 4px;
  background: var(--gold);
  margin: 0 0 0;
}

.masthead-title-wrap {
  text-align: center;
  padding: 16px 28px 12px;
  max-width: 1240px;
  margin: 0 auto;
}
.masthead-ornament {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 8px;
  margin-bottom: 6px;
}
.masthead-title {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--ink);
}
.masthead-gr { color: var(--gold); }
.masthead-tagline {
  font-family: var(--sans);
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink3);
  margin-top: 6px;
}

.masthead-rule-bottom {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  height: 5px;
}

.masthead-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 28px;
  max-width: 1240px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.mnav-link {
  font-family: var(--sans);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--ink2);
  padding: 8px 12px;
  transition: color 0.15s;
  white-space: nowrap;
}
.mnav-link:hover { color: var(--gold); }
.mnav-link--sub {
  background: var(--ink);
  color: var(--cream);
  padding: 6px 16px;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.15s;
}
.mnav-link--sub:hover { background: var(--gold-dark); color: var(--cream); }
.mnav-sep {
  color: var(--ink4);
  font-size: 14px;
  padding: 0 2px;
}
.mnav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink3);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 10px;
  margin-left: auto;
  border-radius: 2px;
}

.masthead-rule-nav {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  height: 3px;
  background: var(--cream3);
}

/* ── Market Wire ──────────────────────────────────────────────────────────── */
.wire-bar {
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--cream);
  height: 32px;
  overflow: hidden;
  border-bottom: 2px solid var(--gold);
}
.wire-label {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
}
.wire-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}
.wire-inner {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: wire 60s linear infinite;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 13px;
}
.wire-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s;
}
.wire-item:hover    { background: rgba(255,255,255,0.08); }
.wire-item.wp-active { background: rgba(201,168,76,0.18); outline: 1px solid rgba(201,168,76,0.35); }
.wire-sep { color: var(--gold); padding: 0 10px; font-weight: 300; }
.wi-name { color: var(--ink4); font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.wi-val  { color: var(--cream); font-weight: 400; font-family: var(--mono); font-size: 13px; }
.wi-up      { color: #6ABF6A; font-weight: 700; font-size: 12px; }
.wi-dn      { color: #E06060; font-weight: 700; font-size: 12px; }
.wi-neutral { color: var(--ink4); font-weight: 700; font-size: 12px; }
.wire-item--rate { cursor: default; }
.wire-item--rate:hover { background: transparent; }
.wire-item--rate .wi-name { color: #7AB8E0; }
.wire-item--baltic { cursor: default; }
.wire-item--baltic:hover { background: transparent; }
.wire-item--baltic .wi-name { color: #7ABF8E; }
@keyframes wire {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Wire Detail Panel ────────────────────────────────────────────────────── */
.wire-panel {
  background: #0D1120;
  border-bottom: 2px solid #1A1F35;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), border-color 0.2s;
}
.wire-panel.open {
  max-height: 260px;
  border-bottom-color: rgba(201,168,76,0.35);
}
.wp-inner {
  padding: 14px 28px 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.wp-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.wp-id { display: flex; align-items: baseline; gap: 10px; flex: 1 1 auto; }
.wp-symbol {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: #C9A84C;
  letter-spacing: 1px;
}
.wp-label {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.wp-ranges {
  display: flex;
  gap: 3px;
}
.wp-range {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.5px;
}
.wp-range:hover  { border-color: #C9A84C; color: #C9A84C; }
.wp-range.active { background: #C9A84C; border-color: #C9A84C; color: #000; }
.wp-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.15s;
  line-height: 1;
}
.wp-close:hover { color: #fff; }
.wp-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
}
.wp-price {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 6px;
}
.wp-change {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 10px;
}
.wp-change.gain { background: rgba(16,185,129,0.15); color: #10B981; border: 1px solid rgba(16,185,129,0.25); }
.wp-change.loss { background: rgba(239,68,68,0.15);  color: #EF4444; border: 1px solid rgba(239,68,68,0.25); }
.wp-change.flat { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.1); }
.wp-stats-row {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.9;
  letter-spacing: 0.3px;
}
.wp-chart-wrap { position: relative; height: 110px; }
#wireApexChart { height: 110px; }
.wp-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.wp-loading.hidden { display: none; }
.wp-spinner-ring {
  width: 22px; height: 22px;
  border: 2px solid rgba(201,168,76,0.2);
  border-top-color: #C9A84C;
  border-radius: 50%;
  animation: mc-spin 0.7s linear infinite;
}
.wp-no-data {
  display: none;
  text-align: center;
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  padding: 30px 0;
}
.wp-no-data.visible { display: block; }

/* ── Wire ticker: touch-scroll on mobile ─── */
@media (max-width: 640px) {
  .wire-bar { overflow: hidden; }
  .wire-track {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Fade out right edge to hint at more content */
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
  }
  .wire-track::-webkit-scrollbar { display: none; }
  .wire-inner {
    animation-play-state: paused;
    gap: 0;
  }
  .wire-item { padding: 2px 10px; }
  .wire-sep  { padding: 0 6px; }
}

@media (max-width: 680px) {
  .wp-body { grid-template-columns: 1fr; gap: 10px; }
  .wp-inner { padding: 12px 16px; }
  .wire-panel.open { max-height: 420px; }
  .wp-ranges { flex-wrap: wrap; }
}

/* ── Section Rules ────────────────────────────────────────────────────────── */
.section-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
}
.sr-line {
  flex: 1;
  height: 1px;
  background: var(--ink);
}
.sr-label {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
  white-space: nowrap;
  padding: 0 20px;
}
.section-rule--light .sr-line { background: var(--rule-lt); }
.section-rule--light .sr-label { color: var(--cream); }

.section-deck {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink3);
  text-align: center;
  margin-bottom: 28px;
  font-style: italic;
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.paper-section {
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--cream3);
}
.paper-section--tinted { background: var(--cream2); }
.paper-section--dark {
  background: var(--ink);
  color: var(--cream);
}
.paper-section--dark .section-deck { color: var(--ink4); }
.paper-section--dark .sr-label { color: var(--cream2); }

.subsection-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--rule-lt);
  padding-bottom: 6px;
  margin-bottom: 14px;
}

/* ── Front Page Newspaper Grid ────────────────────────────────────────────── */
.front-page { padding: 32px 0 48px; }

.newspaper-grid {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 320px;
  gap: 0;
  align-items: stretch;   /* let the lead column grow so its ad fills the gap */
}
/* Lead column wrapper: article on top, ad fills the remaining height */
.np-lead-col { display: flex; flex-direction: column; min-width: 0; }
.np-lead-ad { margin-top: 20px; padding: 16px 0 0; border-top: 1px solid var(--cream3); flex: 1; }
.np-lead-ad .sc-ad-box--feed { min-height: 320px; height: 100%; }
@media (max-width: 980px) {
  .np-lead-ad .sc-ad-box--feed { min-height: 220px; height: 220px; }
}

.col-rule {
  border-left: 1px solid var(--ink3);
  align-self: stretch;
  margin: 0 auto;
  width: 1px;
}

/* Lead story */
.story--lead {
  padding-right: 28px;
}
.lead-story-img-link { display: block; margin-bottom: 14px; }
.secondary-story-img-link { display: block; margin-bottom: 12px; }
.secondary-story-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border: 1px solid var(--cream3);
}
.story-body--loading { color: var(--ink4); font-style: italic; }
.story-empty-state   { color: var(--ink4); font-style: italic; }
.deal-monitor-feed   { display: flex; flex-direction: column; gap: 10px; }
.deal-monitor-item   { border-left: 2px solid var(--cream3); padding-left: 10px; }
.deal-monitor-hl {
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.35;
  margin-bottom: 3px;
}
.deal-monitor-hl:hover { color: var(--gold-dark); }
.deal-monitor-meta { display: flex; flex-direction: column; gap: 2px; }
.deal-monitor-date {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--gold-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.deal-monitor-excerpt {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink3);
  line-height: 1.5;
}
.lead-story-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border: 1px solid var(--cream3);
}
.lead-story-hl-link {
  color: inherit;
  text-decoration: none;
}
.lead-story-hl-link:hover { color: var(--gold-dark); }
.lead-story-read {
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.lead-story-read:hover { text-decoration: underline; }
.story-kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.story-headline {
  font-family: var(--serif);
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 8px;
}
.story--lead .story-headline { font-size: clamp(32px, 4.2vw, 52px); }
.story-headline--md { font-size: clamp(22px, 2.5vw, 30px); }
.story-headline--sm { font-size: clamp(19px, 2vw, 24px); }
.story-byline {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink3);
  margin-bottom: 8px;
  font-style: italic;
}
.story-rule {
  border-top: 1px solid var(--ink);
  margin: 8px 0 12px;
}
.story-body {
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--ink2);
  line-height: 1.9;
}
.story-body--cols {
  column-count: 2;
  column-gap: 24px;
}
.story-body p { margin-bottom: 12px; }
.story-body p:last-child { margin-bottom: 0; }
.dropcap {
  float: left;
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 900;
  line-height: 0.82;
  margin-right: 6px;
  margin-top: 6px;
  color: var(--ink);
}
.story-continued {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink3);
  font-style: italic;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--rule-lt);
}
.story-hl-link {
  color: inherit;
  text-decoration: none;
}
.story-hl-link:hover { text-decoration: underline; }
.story-read-link {
  color: var(--gold-dark);
  text-decoration: none;
  font-style: normal;
}
.story-read-link:hover { text-decoration: underline; }
.brief-link {
  color: var(--ink);
  text-decoration: none;
}
.brief-link:hover { text-decoration: underline; }

/* Secondary column */
.story-stack {
  padding: 0 28px;
}
.stack-rule {
  border-top: 1px solid var(--ink3);
  margin: 18px 0;
}
.story--secondary .story-body,
.story--brief    .story-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink2);
}

/* Market snapshot */
.market-snapshot {
  margin-top: 4px;
}
.snapshot-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 5px 0;
  margin-bottom: 0;
}
.snapshot-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.snapshot-table thead tr {
  border-bottom: 1px solid var(--ink3);
}
.snapshot-table th {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink3);
  padding: 5px 6px;
}
.snapshot-table tbody tr { border-bottom: 1px solid var(--cream3); }
.snapshot-table tbody tr:last-child { border-bottom: 1px solid var(--ink); }
.snapshot-table td {
  padding: 5px 6px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink2);
}
.snapshot-note {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink4);
  padding-top: 4px;
  font-style: italic;
}

/* Brief col */
.brief-col {
  padding-left: 20px;
}
.brief-box {
  border: 1px solid var(--ink);
  margin-bottom: 20px;
}
.brief-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  padding: 6px 12px;
}
.brief-item {
  padding: 10px 12px;
}
.bi-kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}
.brief-item p {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.65;
}
.bi-excerpt {
  font-size: 12px !important;
  color: var(--ink3) !important;
  line-height: 1.55 !important;
  margin-top: 3px !important;
}
.brief-rule {
  border-top: 1px solid var(--cream3);
  margin: 0 12px;
}

/* Subscribe box in sidebar */
.sub-box {
  border-top: 3px solid var(--gold-dark);
  border-right: 1px solid var(--cream3);
  border-bottom: 1px solid var(--cream3);
  border-left: 1px solid var(--cream3);
  padding: 18px;
  background: var(--cream);
  overflow: hidden;
  word-break: break-word;
}
.sub-box-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 12px;
  color: var(--ink);
  border-bottom: 1px solid var(--cream3);
  padding-bottom: 8px;
}
.sub-box-desc {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.6;
  margin-bottom: 12px;
  font-style: italic;
}
.sub-box-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sub-box-form input {
  width: 100%;
  border: 1px solid var(--cream3);
  background: var(--cream2);
  padding: 9px 11px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}
.sub-box-form input:focus { border-color: var(--ink3); background: var(--cream); }
.sub-box-form input::placeholder { color: var(--ink4); }
.sub-box-form button {
  background: var(--ink);
  color: var(--cream);
  border: none;
  padding: 11px 9px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
  min-height: 40px;
}
.sub-box-form button:hover { background: var(--gold-dark); }
.sub-box-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 6px 0 8px;
  padding: 10px;
  background: var(--cream2);
  border: 1px solid var(--cream3);
  cursor: pointer;
}
.sub-box-consent input[type=checkbox] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold-dark);
  width: 14px;
  height: 14px;
}
.sub-box-consent span {
  flex: 1;
  min-width: 0;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.sub-box-msg {
  font-family: var(--sans);
  font-size: 12px;
  min-height: 16px;
  line-height: 1.5;
  text-align: center;
}
.sub-box-msg.success { color: #3A7A3A; }
.sub-box-msg.error   { color: #B03030; }

/* ── Filter Row ──────────────────────────────────────────────────────────── */
.filter-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cream3);
}
.filter-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink3);
  margin-right: 4px;
}
.fpill {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border: 1px solid var(--ink3);
  background: transparent;
  color: var(--ink3);
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.3px;
}
.fpill:hover { border-color: var(--ink); color: var(--ink); }
.fpill.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

/* ── Paper Table ─────────────────────────────────────────────────────────── */
.paper-table-wrap { overflow-x: auto; }
.paper-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.paper-table thead tr {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.paper-table th {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink3);
  padding: 8px 12px;
}
.paper-table th.r { text-align: right; }
.paper-table th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
.paper-table th.sortable:hover { color: var(--ink); }
.paper-table th.sortable::after { content: ' ⇅'; opacity: .35; font-size: 10px; }
.paper-table th.sort-desc::after { content: ' ↓'; opacity: 1; color: var(--gold-dark); }
.paper-table th.sort-asc::after  { content: ' ↑'; opacity: 1; color: var(--gold-dark); }
.paper-table tbody tr { border-bottom: 1px solid var(--cream3); }
.paper-table tbody tr:last-child { border-bottom: 2px solid var(--ink); }
.paper-table tbody tr:hover { background: rgba(154,123,44,0.04); }
.paper-table td {
  padding: 10px 12px;
  vertical-align: middle;
  color: var(--ink2);
}
.paper-table td.r { text-align: right; font-family: var(--mono); }
.paper-table--compact th,
.paper-table--compact td { padding: 6px 10px; }

.st-company { font-weight: 700; color: var(--ink); font-family: var(--sans); font-size: 15px; }
.st-exchange { font-size: 11px; color: var(--ink4); font-family: var(--sans); }
.st-ticker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-dark);
  background: rgba(154,123,44,0.08);
  padding: 2px 6px;
  letter-spacing: 0.5px;
}
.st-seg {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1px solid currentColor;
}
.seg-dry  { color: #7A5500; }
.seg-tank { color: #6B1A1A; }
.seg-cont { color: #1A3A6B; }
.seg-gas  { color: #1A5A2E; }
.table-note {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink4);
  font-style: italic;
  margin-top: 8px;
}

/* ── Quote status bar ───────────────────────────────────────────────────────── */
.qt-bar {
  margin-top: 10px;
}
.qt-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.qt-badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 2px 8px;
  border-radius: 2px;
  white-space: nowrap;
}
.qt-badge--loading { color: var(--ink4); background: transparent; }
.qt-badge--delayed { color: #92400e; background: rgba(146,64,14,0.08); border: 1px solid rgba(146,64,14,0.25); }
.qt-badge--closed  { color: #1e3a5f; background: rgba(30,58,95,0.07);  border: 1px solid rgba(30,58,95,0.20);  }
.qt-badge--static  { color: var(--ink4); background: var(--cream2);    border: 1px solid var(--cream3);        }
.qt-ts {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink4);
}

/* ── Equity table: clickable rows + news toggle button ─────────────────────── */
.st-row { cursor: pointer; }
.st-row:hover { background: rgba(154,123,44,0.04); }
.st-row:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.st-row--active { background: rgba(154,123,44,0.07) !important; }

.st-news-toggle-cell { width: 80px; white-space: nowrap; }
.st-range-th { white-space: nowrap; min-width: 120px; }
.st-range-cell { padding: 8px 12px; min-width: 120px; }
.st-sparkline { display: block; width: 100%; height: 18px; }
.st-range-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink4);
  margin-top: 2px;
  letter-spacing: 0;
}
.st-news-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1px solid var(--cream3);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink4);
  padding: 3px 8px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.st-news-btn:hover { background: var(--cream3); color: var(--ink2); border-color: var(--ink4); }
.st-row--active .st-news-btn { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--cream); }
.st-news-chevron { display: inline-block; transition: transform 0.2s; line-height: 1; }
.st-row--active .st-news-chevron { transform: rotate(90deg); }

.st-news-row td { padding: 0 !important; }
.st-news-td {
  background: var(--cream2);
  border-top: 1px solid var(--cream3) !important;
  border-bottom: 2px solid var(--gold-dark) !important;
}

/* ── Company News Panel ─────────────────────────────────────────────────────── */
.cn-panel { padding: 20px 24px 24px; }

/* Loading spinner */
.cn-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink4);
  padding: 20px 0;
  font-style: italic;
}
.cn-spinner {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border: 2px solid var(--cream3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: cnSpin 0.7s linear infinite;
}
@keyframes cnSpin { to { transform: rotate(360deg); } }

/* Empty / error state */
.cn-empty {
  text-align: center;
  padding: 28px 0 20px;
}
.cn-empty-icon {
  font-size: 26px;
  color: var(--ink4);
  margin-bottom: 8px;
}
.cn-empty-title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink2);
  margin-bottom: 4px;
}
.cn-empty-desc {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink4);
}

/* Panel header bar */
.cn-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--cream3);
}
.cn-panel-identity {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.cn-panel-ticker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  background: var(--ink);
  color: var(--cream);
  padding: 2px 7px;
  letter-spacing: 0.5px;
}
.cn-panel-name {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cn-panel-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink4);
}
.cn-article-count { font-weight: 600; color: var(--ink3); }
.cn-refreshed { color: var(--ink4); }

/* News card grid */
.cn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--cream3);
  border: 1px solid var(--cream3);
}
.cn-grid-more--hidden { display: none; }
.cn-grid + .cn-grid { margin-top: 1px; }
.cn-show-more {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 9px 0;
  background: transparent;
  border: 1px solid var(--cream3);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-dark);
  cursor: pointer;
  text-align: center;
  letter-spacing: .02em;
  transition: background .15s, color .15s;
}
.cn-show-more:hover { background: var(--cream2); color: var(--ink); }

/* Individual news card */
.cn-card {
  display: flex;
  gap: 12px;
  background: var(--cream2);
  padding: 14px 16px;
  align-items: flex-start;
  transition: background 0.12s;
}
.cn-card:hover { background: #fff; }
.cn-card--filing { background: rgba(154,123,44,0.05); }
.cn-card--filing:hover { background: rgba(154,123,44,0.09); }

/* Card text column */
.cn-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cn-card-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.cn-form-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  background: var(--gold-dark);
  color: var(--cream);
  padding: 1px 5px;
  border-radius: 2px;
}
.cn-source {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
}
.cn-source--edgar {
  background: var(--ink2);
  color: var(--cream);
  padding: 1px 5px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}
.cn-sep { color: var(--cream3); font-size: 11px; }
.cn-date {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink4);
}
.cn-headline {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cn-headline:hover { color: var(--gold-dark); text-decoration: underline; }
.cn-summary {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink3);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.cn-read {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
  margin-top: 2px;
  display: inline-block;
}
.cn-read:hover { text-decoration: underline; }

/* Thumbnail */
.cn-thumb-wrap { flex-shrink: 0; }
.cn-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--cream3);
}

@media (max-width: 900px) {
  .cn-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cn-panel { padding: 14px 12px 16px; }
  .cn-panel-header { flex-direction: column; gap: 4px; }
  .cn-card { padding: 12px 12px; }
  .cn-thumb-wrap { display: none; }
  .cn-headline { font-size: 13px; }
}

/* ── Financing Layout ────────────────────────────────────────────────────── */
/* ── Analyst Coverage layout ─────────────────────────────────────────────── */
.ac-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}
.ac-loading {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink4);
  font-style: italic;
  padding: 16px 0 8px;
}

/* Analyst ratings table */
.ac-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 8px;
}
.ac-th {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ink3);
  padding: 6px 8px;
  text-align: left;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.ac-th--total, .ac-th--period { text-align: right; }
.ac-row { border-bottom: 1px solid var(--cream3); }
.ac-row:last-child { border-bottom: 2px solid var(--ink); }
.ac-row:hover { background: rgba(154,123,44,0.04); }
.ac-company {
  padding: 9px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ac-ticker {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.ac-name {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink3);
}
.ac-consensus { padding: 9px 8px; }
.ac-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 3px 9px;
  border: 1px solid var(--ink3);
  color: var(--ink3);
}
.ac-badge--buy  { border-color: #166534; color: #166534; background: rgba(22,101,52,0.06); }
.ac-badge--hold { border-color: #92400e; color: #92400e; background: rgba(146,64,14,0.06); }
.ac-badge--sell { border-color: #991b1b; color: #991b1b; background: rgba(153,27,27,0.06); }
.ac-split { padding: 9px 8px; min-width: 120px; }
.ac-split-bar {
  display: flex;
  height: 6px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--cream3);
  margin-bottom: 4px;
}
.ac-split-seg { height: 100%; }
.ac-split-seg--buy  { background: #166534; }
.ac-split-seg--hold { background: #b45309; }
.ac-split-seg--sell { background: #991b1b; }
.ac-split-counts {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink4);
  white-space: nowrap;
}
.ac-total, .ac-period {
  padding: 9px 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink3);
  text-align: right;
}
.ac-empty-state {
  padding: 32px 0 24px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.ac-empty-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 8px;
}
.ac-empty-desc {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.65;
  max-width: 520px;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
}
.product-item {
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--cream3);
  border-right: 1px solid var(--cream3);
}
.product-item:nth-child(even) { padding-left: 16px; padding-right: 0; border-right: none; }
.product-item:nth-last-child(-n+2) { border-bottom: none; }
.product-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}
.product-desc {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.65;
}

/* Analyst firms table (sidebar) */
.ac-firms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 20px;
}
.ac-firms-table thead tr {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.ac-firms-table th {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink3);
  padding: 6px 8px;
}
.ac-firms-table tbody tr { border-bottom: 1px solid var(--cream3); }
.ac-firms-table tbody tr:last-child { border-bottom: 2px solid var(--ink); }
.ac-firms-table tbody tr:hover { background: rgba(154,123,44,0.04); }
.ac-firms-table td { padding: 7px 8px; font-family: var(--sans); color: var(--ink2); }
.ac-ftag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 7px;
  border: 1px solid var(--ink3);
  color: var(--ink3);
}

/* Pull quote */
.pull-quote {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 16px 0 14px;
  margin-top: 4px;
}
.pq-mark {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: -8px;
}
.pq-text {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 8px;
}
.pq-attr {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink3);
  letter-spacing: 0.5px;
}

/* ── Analyst Submission Form ─────────────────────────────────────────────── */
.asf-wrap { padding-top: 4px; }
.asf-header { margin-bottom: 22px; }
.asf-header-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.asf-header-desc {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.55;
  margin: 0;
}
.asf-form { display: flex; flex-direction: column; gap: 0; }
.asf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin-bottom: 4px;
}
.asf-col { display: flex; flex-direction: column; }
.asf-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.asf-field--full { margin-bottom: 14px; }
.asf-label {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink2);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.asf-label-note {
  font-weight: 400;
  text-transform: none;
  color: var(--ink4);
  letter-spacing: 0;
  font-size: 11px;
}
.asf-req { color: #991b1b; font-size: 13px; }
.asf-input, .asf-textarea {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  background: var(--cream1);
  border: 1px solid var(--cream3);
  padding: 7px 10px;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.asf-input:focus, .asf-textarea:focus { border-color: var(--ink3); }
.asf-textarea { resize: vertical; min-height: 180px; line-height: 1.55; }
.asf-hint {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink4);
  font-style: italic;
}
.asf-counter {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink4);
  text-align: right;
  margin-top: 3px;
}
.asf-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 4px 0;
}
.asf-check {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink2);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  cursor: pointer;
  line-height: 1.45;
}
.asf-check input[type="checkbox"] { flex-shrink: 0; margin-top: 2px; accent-color: var(--ink); }
.asf-consent { font-size: 12px; color: var(--ink3); }
.asf-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.asf-submit {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 24px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: opacity 0.15s;
}
.asf-submit:hover  { opacity: 0.85; }
.asf-submit:disabled { opacity: 0.45; cursor: default; }
.asf-msg { font-family: var(--sans); font-size: 13px; line-height: 1.45; flex: 1; }
.asf-msg--ok    { color: #166534; }
.asf-msg--error { color: #991b1b; }

/* ── Research Hub Layout ─────────────────────────────────────────────────── */
.rh-layout {
  display: grid;
  grid-template-columns: 1fr 288px;
  gap: 52px;
  align-items: start;
  margin-top: 28px;
}
.rh-feed {}
.rh-sidebar {
  position: sticky;
  top: calc(var(--scroll-offset, 80px) + 20px);
}

/* Sidebar panels */
.rh-panel {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--cream3);
}
.rh-panel:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.rh-panel-title {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--ink4);
  padding-bottom: 8px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}
.rh-panel-empty {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink4);
  font-style: italic;
  line-height: 1.55;
}

/* Metrics 2×2 grid */
.rh-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 12px;
}
.rh-metric { display: flex; flex-direction: column; gap: 3px; }
.rh-metric-val {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.5px;
}
.rh-metric-label {
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--ink4);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Coverage area tags */
.rh-areas { display: flex; flex-wrap: wrap; gap: 6px; }
.rh-area-tag {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink2);
  background: var(--cream);
  border: 1px solid var(--cream3);
  padding: 4px 10px;
}

/* Top contributors list */
.rh-contributors { display: flex; flex-direction: column; }
.rh-contrib-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream3);
}
.rh-contrib-row:first-child { padding-top: 0; }
.rh-contrib-row:last-child  { border-bottom: none; padding-bottom: 0; }
.rh-contrib-name {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.rh-contrib-cred {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink4);
  font-style: italic;
  margin-top: 1px;
}
.rh-contrib-stat {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-dark);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
}

/* Skeleton loaders */
.rh-skels {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--ink);
}
@keyframes rh-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.rh-skel {
  background: linear-gradient(90deg, var(--cream2) 25%, var(--cream3) 50%, var(--cream2) 75%);
  background-size: 1200px 100%;
  animation: rh-shimmer 1.6s ease-in-out infinite;
}
.rh-skel--featured { height: 148px; margin: 20px 0 0; border-left: 3px solid var(--cream3); }
.rh-skel--card     { height:  88px; margin: 14px 0 0; border-left: 3px solid var(--cream3); }
.rh-skel--stat     { height:  14px; border-radius: 2px; margin: 8px 0; }

/* Submission section heading */
.rh-submit-head { margin-bottom: 0; }
.rh-submit-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.rh-submit-desc {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.55;
  margin: 0;
  max-width: 600px;
}

/* ── Research Hub responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .rh-layout { grid-template-columns: 1fr; gap: 0; }
  .rh-sidebar {
    position: static;
    border-top: 2px solid var(--ink);
    padding-top: 28px;
    margin-top: 36px;
  }
  .rh-metrics-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .rh-metrics-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Research Notes (Published Analyst Articles) ────────────────────────── */
.arc-section { padding-top: 4px; }

.arc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.arc-head-desc {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink4);
  line-height: 1.5;
  margin: 5px 0 0;
  max-width: 540px;
}
.arc-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink4);
  white-space: nowrap;
  padding-top: 2px;
}

.arc-loading {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink4);
  font-style: italic;
  padding: 8px 0;
}

/* Empty state */
.arc-empty {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 36px 0 28px;
}
.arc-empty-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.arc-empty-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}
.arc-empty-desc {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.6;
  max-width: 480px;
}

/* Article list */
.arc-list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--ink);
}
.arc-ad-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--cream3);
  background: var(--cream2);
}
.arc-ad-box {
  width: 300px;
  height: 250px;
  max-width: 100%;
  border: 1px dashed var(--cream3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
}

/* Individual card */
.arc-card {
  border-bottom: 1px solid var(--cream3);
  padding: 22px 0 22px 20px;
  border-left: 3px solid var(--gold);
  position: relative;
  transition: border-left-color 0.15s, background 0.15s;
}
.arc-card:last-child { border-bottom: 2px solid var(--ink); }
.arc-card:hover { border-left-color: var(--gold2); }

/* Featured first article */
.arc-card--featured { padding: 26px 0 28px 20px; }
.arc-card--featured .arc-card-title {
  font-size: 21px;
  margin-bottom: 10px;
}
.arc-card--featured .arc-card-excerpt { -webkit-line-clamp: 5; font-size: 13.5px; margin-top: 14px; }
.arc-card-featured-label {
  display: none;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--gold-dark);
  border: 1px solid rgba(154,123,44,0.35);
  background: rgba(154,123,44,0.08);
  padding: 2px 8px;
  margin-bottom: 10px;
}
.arc-card--featured .arc-card-featured-label { display: inline-block; }

/* Reading time */
.arc-card-reading-time {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink4);
  margin-left: 10px;
  letter-spacing: 0.2px;
}

.arc-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 10px;
}
.arc-card-meta { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }

.arc-card-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 4px;
}
.arc-card-cat {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold-dark);
  background: rgba(154,123,44,0.10);
  padding: 2px 7px;
  border: 1px solid rgba(154,123,44,0.25);
}

.arc-card-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 8px;
}

.arc-card-byline { display: flex; flex-direction: column; gap: 1px; }
.arc-card-author {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.arc-card-credentials {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink3);
  font-style: italic;
}

.arc-card-date {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink3);
  margin-bottom: 5px;
}
.arc-card-date-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 10px;
  color: var(--gold-dark);
  margin-right: 3px;
}

.arc-card-excerpt {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.65;
  margin: 12px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.arc-card-excerpt--expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
  white-space: normal;
}

/* Prose styles for Markdown-rendered analyst articles */
.arc-card-prose h1, .arc-card-prose h2, .arc-card-prose h3,
.arc-card-prose h4, .arc-card-prose h5 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  margin: 1.1em 0 .4em;
  line-height: 1.25;
}
.arc-card-prose h1 { font-size: 1.35em; }
.arc-card-prose h2 { font-size: 1.18em; }
.arc-card-prose h3 { font-size: 1.05em; }
.arc-card-prose p  { margin: 0 0 .75em; }
.arc-card-prose p:last-child { margin-bottom: 0; }
.arc-card-prose ul, .arc-card-prose ol { padding-left: 1.4em; margin: 0 0 .75em; }
.arc-card-prose li { margin-bottom: .25em; }
.arc-card-prose strong { font-weight: 700; color: var(--ink); }
.arc-card-prose em    { font-style: italic; }
.arc-card-prose a     { color: var(--gold-dark); text-underline-offset: 2px; }
.arc-card-prose a:hover { text-decoration: none; }
.arc-card-prose blockquote {
  border-left: 3px solid var(--gold);
  margin: .75em 0;
  padding: .4em 0 .4em 1em;
  color: var(--ink3);
  font-style: italic;
}
.arc-card-prose code {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--cream2);
  padding: .1em .35em;
  border-radius: 2px;
}
.arc-card-prose pre {
  background: var(--cream2);
  border: 1px solid var(--cream3);
  padding: .75em 1em;
  overflow-x: auto;
  margin: .75em 0;
  border-radius: 2px;
}
.arc-card-prose pre code { background: none; padding: 0; }
.arc-card-prose hr {
  border: none;
  border-top: 1px solid var(--cream3);
  margin: 1em 0;
}
.arc-card-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92em;
  margin: .75em 0;
}
.arc-card-prose th, .arc-card-prose td {
  border: 1px solid var(--cream3);
  padding: 5px 10px;
  text-align: left;
}
.arc-card-prose th { background: var(--cream2); font-weight: 700; }

.arc-card-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.arc-card-view:hover { background: var(--ink); color: var(--cream); }
.arc-card-view.is-expanded { background: var(--ink2); color: var(--cream); border-color: var(--ink2); }
.arc-card-view-arrow { font-size: 10px; transition: transform 0.2s; display: inline-block; }
.arc-card-view.is-expanded .arc-card-view-arrow { transform: rotate(180deg); }

/* Responsive */
@media (max-width: 600px) {
  .arc-card { padding-left: 14px; }
  .arc-card-top { flex-direction: column; gap: 6px; }
  .arc-card-title { font-size: 15px; }
  .arc-head { flex-direction: column; gap: 6px; }
}

/* ── Analyst Submission Wizard ───────────────────────────────────────────── */
.asf-wizard-head { margin-bottom: 28px; }
.asf-wizard-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.asf-wizard-desc {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.55;
  margin: 0 0 20px;
}

/* Stepper */
.asf-stepper {
  display: flex;
  align-items: center;
}
.asf-stepper-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.asf-stepper-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--cream3);
  background: var(--cream1);
  color: var(--ink4);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.asf-stepper-item--active .asf-stepper-dot {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.asf-stepper-item--done .asf-stepper-dot {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--cream);
}
.asf-stepper-label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--ink4);
}
.asf-stepper-item--active .asf-stepper-label,
.asf-stepper-item--done  .asf-stepper-label { color: var(--ink2); }
.asf-stepper-line {
  flex: 1;
  height: 2px;
  background: var(--cream3);
  margin: 0 10px 20px;
}

/* Step panels */
.asf-step-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.asf-step-sub {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink3);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Category grid */
.asf-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 0;
}
.asf-cat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 14px 16px;
  background: var(--cream1);
  border: 2px solid var(--cream3);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.14s, background 0.14s;
}
.asf-cat-card:hover { border-color: var(--ink3); }
.asf-cat-card.is-selected {
  background: var(--ink);
  border-color: var(--ink);
}
.asf-cat-abbr {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.asf-cat-card.is-selected .asf-cat-abbr { color: var(--gold2); }
.asf-cat-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.asf-cat-card.is-selected .asf-cat-name { color: var(--cream); }
.asf-cat-desc {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink4);
  line-height: 1.4;
}
.asf-cat-card.is-selected .asf-cat-desc { color: var(--cream); opacity: 0.7; }

/* Category echo tags (step 2) */
.asf-cat-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0; }
.asf-cat-tag {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--cream);
  background: var(--ink);
  padding: 3px 8px;
}

/* Nav rows */
.asf-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.asf-nav--right  { justify-content: flex-end; }
.asf-nav--split  { justify-content: space-between; }
.asf-nav-err {
  font-family: var(--sans);
  font-size: 12.5px;
  color: #991b1b;
  flex: 1;
  text-align: center;
  min-width: 0;
}

/* Buttons */
.asf-btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 22px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: opacity 0.14s;
  white-space: nowrap;
  flex-shrink: 0;
}
.asf-btn:disabled { opacity: 0.45; cursor: default; }
.asf-btn--primary { background: var(--ink); color: var(--cream); }
.asf-btn--primary:hover:not(:disabled) { opacity: 0.82; }
.asf-btn--ghost {
  background: transparent;
  color: var(--ink3);
  border: 1px solid var(--cream3);
}
.asf-btn--ghost:hover:not(:disabled) { border-color: var(--ink3); color: var(--ink); }

/* Review panel */
.asf-review { border: 1px solid var(--cream3); }
.asf-review-meta {
  background: var(--cream1);
  border-bottom: 1px solid var(--cream3);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.asf-review-row {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
}
.asf-review-key {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--ink4);
  min-width: 88px;
  flex-shrink: 0;
}
.asf-review-val { color: var(--ink); }
.asf-review-article { padding: 18px 20px; }
.asf-review-article-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}
.asf-review-article-body {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.65;
  white-space: pre-wrap;
  max-height: 220px;
  overflow-y: auto;
  border-top: 1px solid var(--cream3);
  padding-top: 12px;
}
.asf-review-article-len {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink4);
  margin-top: 8px;
  text-align: right;
}

/* Success state */
.asf-success {
  text-align: center;
  padding: 44px 24px 36px;
}
.asf-success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #166534;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.asf-success-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.asf-success-desc {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.65;
  max-width: 460px;
  margin: 0 auto 20px;
}
.asf-success-ref {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink2);
  background: var(--cream2);
  border: 1px solid var(--cream3);
  display: inline-block;
  padding: 7px 20px;
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 600px) {
  .asf-cat-grid { grid-template-columns: 1fr 1fr; }
  .asf-nav--split { flex-wrap: wrap; }
  .asf-nav-err { order: 3; text-align: left; flex-basis: 100%; }
}
@media (max-width: 400px) {
  .asf-cat-grid { grid-template-columns: 1fr; }
}

/* ── Maritime Intelligence Feed (front-page news section) ───────────────── */
.fnews-section {
  border-top: 2px solid var(--ink);
  padding: 30px 0 8px;
  margin-top: 36px;
}
.fnews-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.fnews-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink3);
  white-space: nowrap;
  padding-top: 4px;
}
.fnews-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.fnews-pill {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--ink4);
  background: none;
  border: 1px solid var(--cream3);
  padding: 4px 11px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, border-color 0.13s;
  line-height: 1.4;
}
.fnews-pill:hover  { border-color: var(--ink3); color: var(--ink2); }
.fnews-pill.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Article grid */
.fnews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--cream3);
}
.fnews-card {
  padding: 16px 20px 16px 0;
  border-bottom: 1px solid var(--cream3);
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-right: 1px solid var(--cream3);
  padding-right: 20px;
}
.fnews-card:nth-child(3n) { border-right: none; padding-right: 0; }
.fnews-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fnews-src {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding: 2px 6px;
  flex-shrink: 0;
}
.fnews-src--hsn      { background: rgba(154,123,44,0.12); color: var(--gold-dark); }
.fnews-src--splash   { background: rgba(22,101,52,0.10);  color: #166534; }
.fnews-src--gcaptain { background: rgba(29,78,216,0.10);  color: #1d4ed8; }
.fnews-src--oe       { background: rgba(13,148,136,0.10); color: #0d9488; }
.fnews-src--loadstar { background: rgba(124,58,237,0.10);  color: #7c3aed; }
.fnews-src--shiptech { background: rgba(220,38,38,0.10);   color: #dc2626; }
.fnews-src--marexec  { background: rgba(30,64,175,0.10);   color: #1e40af; }
.fnews-src--wmn      { background: rgba(15,118,110,0.10);  color: #0f766e; }
.fnews-src--gnsea    { background: rgba(30,58,95,0.10);    color: #1e3a5f; }
.fnews-src--gndeals  { background: rgba(30,58,95,0.10);    color: #1e3a5f; }
.fnews-time {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink4);
  margin-left: auto;
  white-space: nowrap;
}
.fnews-headline {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fnews-headline:hover { color: var(--gold-dark); text-decoration: underline; }

/* Footer */
.fnews-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 0 6px;
}
.fnews-load-more {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--ink3);
  background: none;
  border: 1px solid var(--cream3);
  padding: 9px 28px;
  cursor: pointer;
  transition: border-color 0.13s, color 0.13s, background 0.13s;
}
.fnews-load-more:hover { border-color: var(--ink); color: var(--ink); background: var(--cream1); }
.fnews-attribution {
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--ink4);
  text-align: center;
  line-height: 1.5;
}

/* Skeleton loaders */
.fnews-skel {
  height: 96px;
  background: linear-gradient(90deg, var(--cream2) 25%, var(--cream3) 50%, var(--cream2) 75%);
  background-size: 800px 100%;
  animation: fnews-shimmer 1.5s ease-in-out infinite;
  border-bottom: 1px solid var(--cream3);
}
@keyframes fnews-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.fnews-empty {
  grid-column: 1 / -1;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink4);
  font-style: italic;
  padding: 24px 0;
  text-align: center;
}

/* Brief box live feed */
.bi-loading { color: var(--ink4); font-style: italic; }
.bi-news-link { color: var(--ink2); text-decoration: none; }
.bi-news-link:hover { color: var(--gold-dark); text-decoration: underline; }
.bi-time {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink4);
  margin-top: 3px;
}

/* Responsive */
@media (max-width: 960px) {
  .fnews-grid { grid-template-columns: 1fr 1fr; }
  .fnews-card:nth-child(3n)   { border-right: 1px solid var(--cream3); padding-right: 20px; }
  .fnews-card:nth-child(2n)   { border-right: none; padding-right: 0; }
}
@media (max-width: 600px) {
  .fnews-grid   { grid-template-columns: 1fr; }
  .fnews-card   { border-right: none !important; padding-right: 0 !important; }
  .fnews-header { flex-direction: column; gap: 10px; }
}

/* ── Greek & Cypriot Shipowners ─────────────────────────────────────────── */
.so-disclaimer {
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--ink4);
  background: var(--cream2);
  border: 1px solid var(--cream3);
  border-left: 3px solid var(--ink3);
  padding: 8px 12px;
  margin-bottom: 24px;
  line-height: 1.55;
}
.so-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  margin-bottom: 16px;
}
.so-filter-group {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.so-pill {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border: 1px solid var(--ink3);
  background: transparent;
  color: var(--ink3);
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.so-pill:hover { border-color: var(--ink); color: var(--ink); }
.so-pill.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.so-search-wrap { flex: 1; min-width: 180px; max-width: 280px; }
.so-search {
  width: 100%;
  font-family: var(--sans);
  font-size: 13px;
  padding: 5px 10px;
  border: 1px solid var(--ink3);
  background: var(--cream1);
  color: var(--ink);
  outline: none;
  box-sizing: border-box;
}
.so-search:focus { border-color: var(--ink); }
.so-search::placeholder { color: var(--ink4); }
.so-result-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink4);
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}
.so-fleet-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-bottom: 16px;
  padding: 7px 12px;
  background: var(--cream2);
  border: 1px solid var(--cream3);
  border-radius: 3px;
}
.so-legend-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink4);
  margin-right: 4px;
}
.so-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--ink3);
}
.so-legend-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.so-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.so-card {
  border: 1px solid var(--cream3);
  background: var(--cream1);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.so-card:hover { border-color: var(--ink3); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.so-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
}
.so-card-flag { font-size: 16px; line-height: 1; flex-shrink: 0; }
.so-card-country {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold-dark);
  flex-shrink: 0;
  padding-top: 1px;
  white-space: nowrap;
}
.so-card-badges { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.so-badge {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  border: 1px solid transparent;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
}
.so-badge--public  { border-color: #166534; color: #166534; background: rgba(22,101,52,0.06); }
.so-badge--private { border-color: var(--cream3); color: var(--ink4); background: var(--cream2); }
.so-seg--tanker    { border-color: rgba(30,58,95,0.4);   color: #1e3a5f; background: rgba(30,58,95,0.06); }
.so-seg--bulk      { border-color: rgba(146,64,14,0.4);  color: #92400e; background: rgba(146,64,14,0.06); }
.so-seg--container { border-color: rgba(22,101,52,0.4);  color: #166534; background: rgba(22,101,52,0.06); }
.so-seg--gas       { border-color: rgba(109,40,217,0.4); color: #6d28d9; background: rgba(109,40,217,0.06); }
.so-seg--mixed     { border-color: rgba(75,85,99,0.4);   color: #4b5563; background: rgba(75,85,99,0.06); }
.so-seg--offshore  { border-color: rgba(0,100,100,0.4);  color: #006464; background: rgba(0,100,100,0.06); }
.so-seg--services  { border-color: rgba(120,53,15,0.4);  color: #78350f; background: rgba(120,53,15,0.06); }
.so-card-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
a.so-card-name--link {
  display: block;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.12s;
}
a.so-card-name--link:hover { color: var(--ink2); text-decoration: underline; text-underline-offset: 2px; }
.so-name-ext {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink4);
  margin-left: 3px;
  vertical-align: super;
  line-height: 1;
  text-decoration: none;
}
a.so-card-name--link:hover .so-name-ext { color: var(--ink3); }
.so-card-lead {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 3px 0 5px;
}
.so-card-lead-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink2);
}
.so-card-lead-title {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink4);
}
.so-card-meta {
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--ink4);
  line-height: 1.4;
}
.so-fleet {
  display: inline-block;
  margin-left: 4px;
  font-weight: 600;
  color: var(--ink3);
}
.so-card-desc {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink2);
  line-height: 1.55;
  flex: 1;
}
.so-card-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: var(--cream2);
  border: 1px solid var(--cream3);
  margin-top: 2px;
}
.so-ticker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink3);
  letter-spacing: 0.5px;
}
.so-price {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.so-price-loading { font-family: var(--mono); font-size: 13px; color: var(--ink4); }
.so-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.so-data-chip {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink4);
  background: var(--cream2);
  border: 1px solid var(--cream3);
  border-radius: 2px;
  padding: 2px 6px;
  cursor: default;
  flex-shrink: 0;
}
.so-card-link {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink3);
  text-decoration: none;
  letter-spacing: 0.2px;
}
.so-card-link:hover { color: var(--ink); text-decoration: underline; }
.so-empty {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink4);
  padding: 40px 20px;
  font-style: italic;
}
/* Skeleton loading cards */
.so-card-skel {
  border: 1px solid var(--cream3);
  background: var(--cream1);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.so-skel-line {
  height: 10px;
  background: var(--cream3);
  border-radius: 2px;
  animation: skel-pulse 1.4s ease-in-out infinite;
}
@keyframes skel-pulse { 0%,100%{opacity:1} 50%{opacity:0.45} }
.so-skel-line--title { height: 14px; width: 65%; }
.so-skel-line--meta  { width: 80%; }
.so-skel-line--desc  { width: 100%; }
.so-skel-line--desc2 { width: 88%; }

/* ── Fleet breakdown bar (CSS-only, no chart lib) ────────────────────────── */
.so-fbar-card {
  margin: 8px 0 4px;
}
.so-fbar-track {
  display: flex;
  height: 7px;
  border-radius: 2px;
  overflow: hidden;
  gap: 1px;
  background: var(--cream3);
}
.so-fbar-seg {
  height: 100%;
  transition: opacity 0.15s;
  cursor: default;
}
.so-fbar-seg:hover { opacity: 0.75; }
.so-fbar-micro {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 5px;
}
.so-fbar-lbl {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink4);
  display: flex;
  align-items: center;
  gap: 3px;
}
.so-fbar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.so-data-as-of {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink4);
  letter-spacing: 0.2px;
  margin-top: 6px;
  font-style: italic;
}
.so-card-profile-btn {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream2);
  border: 1px solid var(--cream3);
  padding: 4px 10px;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: background 0.15s, border-color 0.15s;
}
.so-card-profile-btn:hover { background: var(--cream3); border-color: var(--ink3); }

/* ── Shipowner Detail Panel ──────────────────────────────────────────────── */
.so-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,16,10,0.35);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.so-panel-overlay.open { opacity: 1; pointer-events: auto; }

.so-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 560px;
  max-width: 100vw;
  background: var(--cream1);
  border-left: 2px solid var(--ink);
  z-index: 1110;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -8px 0 32px rgba(20,16,10,0.12);
}
.so-panel.open { transform: translateX(0); }

.so-panel-inner { display: flex; flex-direction: column; height: 100%; overflow: hidden; }

.so-panel-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--cream3);
  background: var(--cream);
  flex-shrink: 0;
  gap: 14px;
}
.so-panel-hd-left { display: flex; align-items: flex-start; gap: 12px; flex: 1; min-width: 0; }
.so-panel-hd-right { display: flex; align-items: flex-start; gap: 10px; flex-shrink: 0; }
.so-panel-flag { font-size: 26px; line-height: 1; padding-top: 2px; }
.so-panel-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  word-break: break-word;
}
.so-panel-sub {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink4);
  margin-top: 3px;
  line-height: 1.4;
}
.so-panel-badges { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.so-panel-close {
  font-size: 18px;
  color: var(--ink3);
  background: none;
  border: 1px solid var(--cream3);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.14s, color 0.14s;
}
.so-panel-close:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.so-panel-tabs {
  display: flex;
  border-bottom: 2px solid var(--ink);
  flex-shrink: 0;
  padding: 0 24px;
  background: var(--cream);
}
.so-ptab {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 14px;
  border: none;
  background: none;
  color: var(--ink4);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  letter-spacing: 0.3px;
  transition: color 0.15s;
}
.so-ptab:hover { color: var(--ink); }
.so-ptab.active { color: var(--ink); border-bottom-color: var(--ink); }

.so-panel-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--cream3) transparent;
}
.so-panel-body::-webkit-scrollbar { width: 4px; }
.so-panel-body::-webkit-scrollbar-track { background: transparent; }
.so-panel-body::-webkit-scrollbar-thumb { background: var(--cream3); border-radius: 2px; }
.so-ptab-pane { display: none; padding: 24px; }
.so-ptab-pane.active { display: block; }

/* Fleet tab */
.so-fleet-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--cream3);
  border: 1px solid var(--cream3);
  margin-bottom: 20px;
}
.so-fstat {
  background: var(--cream1);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.so-fstat-val {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.so-fstat-unit {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink2);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.so-fstat-lbl {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.so-fbar-wrap {
  margin-bottom: 8px;
}
.so-fbar-panel-track {
  display: flex;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
  gap: 1px;
  background: var(--cream3);
}
.so-fbar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 20px;
}
.so-fleg-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink2);
}
.so-fleg-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.so-panel-stock {
  border: 1px solid var(--cream3);
  background: var(--cream2);
  padding: 12px 14px;
  margin-top: 4px;
}
.so-panel-stock-title {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  color: var(--ink4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.so-panel-stock-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.so-panel-ticker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink3);
}
.so-panel-price {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}
.so-panel-mcap {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink3);
}
.so-panel-source {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink4);
  font-style: italic;
  margin-top: 6px;
}

/* History tab */
.so-history-section-title {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink4);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--cream3);
}
.so-timeline { margin-bottom: 24px; }
.so-tl-item {
  display: flex;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--cream2);
}
.so-tl-year {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink3);
  min-width: 40px;
  flex-shrink: 0;
  padding-top: 1px;
}
.so-tl-event {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink2);
  line-height: 1.5;
}
.so-txn-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream2);
  align-items: flex-start;
}
.so-txn-period {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink4);
  min-width: 52px;
  flex-shrink: 0;
  padding-top: 2px;
}
.so-txn-type {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.so-txn-type--order    { background: rgba(22,101,52,0.10); color: #166534; }
.so-txn-type--acquire  { background: rgba(30,58,95,0.10);  color: #1e3a5f; }
.so-txn-type--sale     { background: rgba(153,27,27,0.10); color: #991b1b; }
.so-txn-type--finance  { background: rgba(109,40,217,0.10);color: #6d28d9; }
.so-txn-type--ipo      { background: rgba(146,64,14,0.10); color: #92400e; }
.so-txn-desc {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink2);
  line-height: 1.5;
  flex: 1;
}
.so-no-data {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink4);
  font-style: italic;
  padding: 16px 0;
}

/* News tab */
.so-panel-news-loading {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink4);
  font-style: italic;
  padding: 16px 0;
}
.so-panel-news-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--cream2);
}
.so-panel-news-item:last-child { border-bottom: none; }
.so-panel-news-meta {
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--ink4);
  margin-bottom: 3px;
  display: flex;
  gap: 6px;
}
.so-panel-news-title {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.35;
  display: block;
}
.so-panel-news-title:hover { text-decoration: underline; color: var(--ink2); }
.so-panel-news-error {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink4);
  font-style: italic;
  padding: 16px 0;
}

/* News source badges (GN / HSN / S247) */
.so-news-src {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 2px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.so-news-src--gn   { background: rgba(66,133,244,0.12); color: #1a56db; }
.so-news-src--hsn  { background: rgba(22,101,52,0.10);  color: #166534; }
.so-news-src--s    { background: rgba(146,64,14,0.10);  color: #92400e; }

/* Quarterly staleness badge */
.so-stale-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  background: rgba(146,64,14,0.10);
  color: #92400e;
  border: 1px solid rgba(146,64,14,0.25);
  border-radius: 2px;
  letter-spacing: 0.3px;
  vertical-align: middle;
  margin-left: 4px;
}

/* ── M&A ─────────────────────────────────────────────────────────────────── */
.ma-summary-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.masb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 32px;
  text-align: center;
}
.masb-val {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
}
.masb-lbl {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.masb-sep {
  color: var(--ink4);
  font-size: 20px;
  font-weight: 200;
}

.ma-deals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}
.ma-empty {
  grid-column: 1 / -1;
  padding: 32px 0 16px;
}
.ma-empty-text {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}
.ma-empty-sub {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink3);
  line-height: 1.65;
  margin: 0;
}
.ma-empty-link {
  color: var(--gold-dark);
  text-decoration: none;
}
.ma-empty-link:hover { text-decoration: underline; }
.ma-card {
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid var(--cream3);
  border-right: 1px solid var(--cream3);
  cursor: pointer;
  transition: background 0.15s;
}
.ma-card:hover { background: var(--cream2); }
.ma-card:nth-child(3n) { border-right: none; padding-right: 0; }
.ma-card:nth-child(3n+2) { padding-left: 20px; }
.ma-card:nth-child(3n+3) { padding-left: 20px; }
.ma-card:nth-last-child(-n+3) { border-bottom: none; }

/* Placeholder card image */
.ma-card-img-wrap {
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid var(--cream3);
  aspect-ratio: 16/9;
}
.ma-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.ma-card:hover .ma-card-img { transform: scale(1.03); }

/* Ad slot inside M&A grid */
.ma-card--ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: default;
  background: var(--cream2);
}
.ma-card--ad:hover { background: var(--cream2); }
.ma-ad-box {
  width: 300px;
  height: 250px;
  max-width: 100%;
  border: 1px dashed var(--cream3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}
.ma-type {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.type-acquisition { color: #1A3A6B; }
.type-merger      { color: var(--gold-dark); }
.type-ipo         { color: var(--green-ink); }
.type-fleet       { color: var(--red); }
.ma-card h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 8px;
}
.ma-card-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.ma-val {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-dark);
}
.ma-date {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink4);
  font-style: italic;
}
.ma-desc {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.65;
}
.ma-card-footer {
  margin-top: 10px;
  border-top: 1px solid var(--cream3);
  padding-top: 8px;
}
.ma-read-link {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold-dark);
  text-transform: uppercase;
  padding: 7px 16px;
  border: 1px solid var(--gold-dark);
  border-radius: 2px;
  display: inline-block;
  transition: background 0.14s, color 0.14s;
}
.ma-card:hover .ma-read-link { background: var(--gold-dark); color: var(--cream); }
.ma-card:hover .ma-read-link { text-decoration: underline; }

/* ── M&A Article Modal ───────────────────────────────────────────────────── */
.ma-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(20, 16, 10, 0.72);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px 40px;
  overflow-y: auto;
}
.ma-modal-overlay.open { display: flex; }

.ma-modal {
  background: var(--cream);
  border-top: 4px solid var(--rule);
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  padding: 40px 48px 48px;
  box-shadow: 0 24px 80px rgba(20,16,10,0.45);
  scroll-behavior: smooth;
}

.ma-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: var(--ink3);
  cursor: pointer;
  padding: 4px 8px;
  font-family: var(--sans);
  transition: color 0.15s;
}
.ma-modal-close:hover { color: var(--ink); }

.ma-modal-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.ma-modal-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink4);
  font-style: italic;
}
.ma-modal-headline {
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 16px;
}
.ma-modal-rule {
  height: 3px;
  background: linear-gradient(to right, var(--rule) 60%, transparent);
  margin-bottom: 24px;
}
.ma-modal-body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink2);
}
.ma-modal-body p { margin-bottom: 18px; }
.ma-modal-body p:last-child { margin-bottom: 0; }
.ma-modal-footer {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-lt);
}
.ma-modal-disclaimer {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink4);
  font-style: italic;
}

/* Modal responsive */
@media (max-width: 600px) {
  .ma-modal { padding: 28px 20px 36px; }
  .ma-modal-headline { font-size: 22px; }
  .ma-modal-body { font-size: 15px; }
}

/* ── Greek Heritage ──────────────────────────────────────────────────────── */

.heritage-masthead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
  padding-top: 4px;
}
.heritage-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.heritage-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.4px;
}
.heritage-intro {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink3);
  line-height: 1.8;
}

/* ── Profile grid ── */
.heritage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--cream3);
  margin-bottom: 52px;
}
.heritage-card {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--cream3);
}
.heritage-card:last-child { border-right: none; }

/* Portrait area */
.hc-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--cream2);
  border-bottom: 1px solid var(--cream3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hc-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,   transparent, transparent 19px, rgba(154,123,44,0.07) 19px, rgba(154,123,44,0.07) 20px),
    repeating-linear-gradient(90deg,  transparent, transparent 19px, rgba(154,123,44,0.07) 19px, rgba(154,123,44,0.07) 20px);
}
.hc-portrait-inner {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(154,123,44,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hc-portrait-glyph {
  font-size: 24px;
  color: rgba(154,123,44,0.35);
  line-height: 1;
}

/* Card text body */
.hc-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.hc-category {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.hc-rule {
  border: none;
  border-top: 1px solid var(--cream3);
  margin: 0;
}
.hc-forthcoming {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  color: var(--ink3);
  line-height: 1.3;
}
.hc-desc {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink4);
  line-height: 1.65;
  margin-top: auto;
}

/* ── Editorial empty state ── */
.heritage-editorial {
  border-top: 1px solid var(--cream3);
  border-bottom: 1px solid var(--cream3);
  padding: 48px 24px;
  text-align: center;
  margin-bottom: 52px;
}
.he-ornament {
  font-size: 18px;
  color: var(--gold-dark);
  margin-bottom: 20px;
  letter-spacing: 4px;
}
.he-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--ink4);
  margin-bottom: 18px;
}
.he-text {
  font-family: var(--serif);
  font-size: clamp(16px, 1.6vw, 19px);
  font-style: italic;
  color: var(--ink2);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto 20px;
}
.he-contact {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink4);
}
.he-contact a {
  color: var(--gold-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(154,123,44,0.3);
  transition: border-color 0.15s;
}
.he-contact a:hover { border-color: var(--gold-dark); }

/* ── Pillars ── */
.heritage-pillars {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  gap: 0;
  border-top: 2px solid var(--ink);
  padding-top: 32px;
}
.hp-item { padding: 0 30px; }
.hp-item:first-child { padding-left: 0; }
.hp-item:last-child  { padding-right: 0; }
.hp-vr { background: var(--cream3); }
.hp-numeral {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.hp-label {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.2;
}
.hp-desc {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.65;
}

/* ── Apply & Sponsor ── */
.heritage-application {
  margin-top: 64px;
  padding-top: 52px;
  border-top: 1px solid var(--cream3);
}
.hap-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
}
.hap-divider-line {
  flex: 1;
  height: 1px;
  background: var(--cream3);
}
.hap-divider-glyph {
  font-size: 15px;
  color: var(--gold-dark);
  opacity: 0.55;
  flex-shrink: 0;
}
.hap-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 52px;
}
.hap-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.hap-intro {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.8;
}
.hap-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 52px;
  align-items: start;
}

/* Form panel */
.hap-form-panel {
  background: var(--cream2);
  border: 1px solid var(--cream3);
  padding: 40px;
}
.hap-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hf-row { display: grid; gap: 16px; }
.hf-row--2 { grid-template-columns: 1fr 1fr; }
.hf-group { display: flex; flex-direction: column; gap: 7px; }
.hf-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink3);
}
.hf-req { color: var(--gold-dark); }
.hf-input,
.hf-select,
.hf-textarea {
  background: var(--cream);
  border: 1px solid var(--cream3);
  border-radius: 0;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.hf-input::placeholder,
.hf-textarea::placeholder { color: var(--ink4); }
.hf-input:focus,
.hf-select:focus,
.hf-textarea:focus { border-color: var(--gold-dark); outline: none; }
.hf-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236B5218'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.hf-textarea { resize: vertical; min-height: 120px; line-height: 1.65; }

/* Consent checkbox */
.hf-consent { margin-top: 2px; }
.hf-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.hf-consent-label input[type=checkbox] {
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold-dark);
  width: 14px;
  height: 14px;
  cursor: pointer;
}
.hf-consent-label span {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink3);
  line-height: 1.65;
}

/* Actions */
.hf-actions { display: flex; flex-direction: column; gap: 14px; }
.hf-submit {
  background: var(--ink);
  color: var(--cream);
  border: none;
  padding: 17px 28px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.hf-submit:hover:not(:disabled) { background: var(--ink2); }
.hf-submit:disabled { opacity: 0.55; cursor: not-allowed; }
.hf-submit-spinner {
  display: none;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255,255,255,0.25);
  border-top-color: var(--cream);
  border-radius: 50%;
  animation: hfSpin 0.7s linear infinite;
  flex-shrink: 0;
}
.hf-submit--loading .hf-submit-spinner { display: block; }
@keyframes hfSpin { to { transform: rotate(360deg); } }
.hf-note {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink4);
  line-height: 1.7;
  font-style: italic;
}
.hf-error {
  font-family: var(--sans);
  font-size: 13px;
  color: #7A1E1E;
  background: rgba(122,30,30,0.06);
  border-left: 3px solid #7A1E1E;
  padding: 10px 14px;
  line-height: 1.6;
}
.hf-error[hidden] { display: none; }

/* Success state */
.hf-success {
  text-align: center;
  padding: 64px 32px;
}
.hf-success[hidden] { display: none; }
.hf-success-glyph {
  font-size: 30px;
  color: var(--gold-dark);
  opacity: 0.7;
  margin-bottom: 22px;
}
.hf-success-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}
.hf-success-text {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.8;
  max-width: 380px;
  margin: 0 auto 16px;
}
.hf-success-ref {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink4);
  letter-spacing: 1px;
  font-style: italic;
}

/* Info panel */
.hap-info-panel { padding-top: 6px; }
.hap-info-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.hap-info-title {
  font-family: var(--serif);
  font-size: clamp(18px, 1.9vw, 23px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}
.hap-info-lead {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.8;
  margin-bottom: 32px;
}
.hap-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hap-benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.hap-benefit-mark {
  font-size: 13px;
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 4px;
  opacity: 0.65;
}
.hap-benefit strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 5px;
  line-height: 1.2;
}
.hap-benefit p {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.65;
  margin: 0;
}
.hap-disclaimer {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink4);
  line-height: 1.7;
  font-style: italic;
  padding-top: 22px;
  border-top: 1px solid var(--cream3);
}

/* ── News Columns ────────────────────────────────────────────────────────── */
.news-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}
.news-card {
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid var(--cream3);
  border-right: 1px solid var(--cream3);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news-card:nth-child(3n) { border-right: none; padding-right: 0; }
.news-card:nth-child(3n+2),
.news-card:nth-child(3n+3) { padding-left: 20px; }
.news-card:nth-last-child(-n+3) { border-bottom: none; }
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.news-cat {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
}
.news-date {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink4);
  margin-left: auto;
  font-style: italic;
}
.news-title {
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.news-title:hover { color: var(--gold-dark); }
.news-rule { border-top: 1px solid var(--ink3); }
.news-context {
  font-family: var(--sans);
  font-size: 13px;
  font-style: italic;
  color: var(--ink4);
  line-height: 1.6;
  padding-left: 10px;
  border-left: 2px solid var(--gold-dark);
  opacity: 0.90;
}
.news-summary {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink3);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-footer {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--cream3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.news-source {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink4);
  font-style: italic;
}
.news-link {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-dark);
}
.news-link:hover { text-decoration: underline; }

/* ── Subscribe Section ───────────────────────────────────────────────────── */
.subscribe-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.sub-kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 10px;
}
.sub-headline {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 14px;
}
.sub-desc {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink4);
  line-height: 1.8;
  margin-bottom: 18px;
  font-style: italic;
}
/* "What's inside" content rows */
.sub-contents {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.sub-ci {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 16px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sub-ci-key {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gold2);
  white-space: nowrap;
  padding-top: 2px;
}
.sub-ci-val {
  font-family: var(--sans);
  font-size: 15px;
  color: #C8B8A0;
  line-height: 1.5;
}

/* Delivery time badge */
.sub-delivery {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.09);
  border-left: 3px solid var(--gold-dark);
  background: rgba(255,255,255,0.025);
  margin-bottom: 28px;
}
.sub-delivery-badge {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold2);
  letter-spacing: -0.5px;
  line-height: 1;
  flex-shrink: 0;
}
.sub-delivery-label {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--cream2);
  letter-spacing: 0.2px;
  margin-bottom: 3px;
}
.sub-delivery-sub {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink4);
  letter-spacing: 0.2px;
}
.sub-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.11);
  padding: 28px;
}
.sub-form-group { display: flex; flex-direction: column; gap: 6px; }
.sub-form-group label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.sub-form-group input,
.sub-form-group select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 0;
  padding: 11px 13px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--cream);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s, background 0.15s;
}
.sub-form-group input:focus,
.sub-form-group select:focus { border-color: var(--gold2); background: rgba(255,255,255,0.07); }
.sub-form-group input::placeholder { color: rgba(255,255,255,0.22); }
.sub-form-group select option { background: var(--ink2); }
.sub-btn {
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 15px 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
  min-height: 48px;
}
.sub-btn:hover { background: var(--gold2); }
.sub-gdpr {
  margin: 0;
  padding: 16px 0 4px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.sub-gdpr-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.sub-gdpr-label input[type=checkbox] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold2);
  width: 16px;
  height: 16px;
}
.sub-gdpr-label span {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
}
.sub-gdpr-link {
  color: var(--gold2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sub-msg {
  font-family: var(--sans);
  font-size: 13px;
  min-height: 18px;
  line-height: 1.5;
  text-align: center;
}
.sub-msg.success { color: #6ABF6A; }
.sub-msg.error   { color: #E06060; }
.sub-note {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(255,255,255,0.48);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}
.sub-confirm {
  text-align: center;
  padding: 32px 16px;
}
.sub-confirm-icon {
  font-size: 44px;
  color: #6ABF6A;
  line-height: 1;
  margin-bottom: 14px;
}
.sub-confirm-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.sub-confirm-body {
  font-family: var(--sans);
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 360px;
  margin: 0 auto;
}

/* ── About ───────────────────────────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-headline {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ink);
}
.about-body {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink2);
  line-height: 1.85;
  margin-bottom: 14px;
}
.about-body strong { color: var(--ink); }
.about-fleet-stats {
  display: flex;
  align-items: center;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-top: 20px;
}
.afs-item { flex: 1; padding: 14px 16px; text-align: center; }
.afs-sep { color: var(--ink4); font-size: 18px; font-weight: 200; }
.afs-val {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.afs-lbl {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.about-pillars { display: flex; flex-direction: column; gap: 0; }
.pillar {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  align-items: flex-start;
}
.pillar-n {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-dark);
  min-width: 28px;
  flex-shrink: 0;
  font-style: italic;
}
.pillar-title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ink);
  margin-bottom: 5px;
}
.pillar-desc {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink3);
  line-height: 1.7;
}
.pillar-rule { border-top: 1px solid var(--cream3); }

/* ── Forward strip ───────────────────────────────────────────────────────── */
.forward-strip {
  background: var(--ink);
  border-top: 3px solid var(--gold);
  padding: 28px 0;
}
.fwd-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.fwd-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 6px;
}
.fwd-headline {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 4px;
}
.fwd-sub {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink4);
}
.fwd-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.fwd-btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}
.fwd-btn:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.fwd-btn--linkedin { background: #0077B5; border-color: #0077B5; color: #fff; }
.fwd-btn--linkedin:hover { background: #005f96; border-color: #005f96; color: #fff; }

/* ── Subscribe — social / soft-CTA row ───────────────────────────────────── */
.sub-social {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.sub-social-lbl {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink4);
  margin-bottom: 12px;
}
.sub-social-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.sub-social-btn {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  transition: all 0.15s;
}
.sub-social-btn:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.sub-social-btn--linkedin { background: #0077B5; border-color: #0077B5; color: #fff; }
.sub-social-btn--linkedin:hover { background: #005f96; border-color: #005f96; }

/* ── News card share button ───────────────────────────────────────────────── */
.news-footer-right { display: flex; align-items: center; gap: 12px; }
.news-share-btns {
  display: flex;
  align-items: center;
  gap: 5px;
}
.news-share-li,
.news-share-x {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--ink4);
  text-decoration: none;
  transition: color 0.15s;
  line-height: 1;
}
.news-share-li:hover { color: #0077B5; }
.news-share-x        { font-size: 13px; font-weight: 900; }
.news-share-x:hover  { color: var(--ink); }
.news-share-dot {
  color: var(--cream3);
  font-size: 11px;
  line-height: 1;
}

/* Lead story share row — brand-colour modifiers */
.story-share-link--li:hover { color: #0077B5; }
.story-share-link--x        { font-size: 14px; font-weight: 900; }
.story-share-link--x:hover  { color: var(--ink); }

/* ── Lead story share row ─────────────────────────────────────────────────── */
.story-share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--rule-lt);
  flex-wrap: wrap;
}
.story-share-lbl {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink4);
}
.story-share-link {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  transition: color 0.15s;
}
.story-share-link:hover { color: var(--ink); text-decoration: underline; }
.story-share-sep { color: var(--rule-lt); }
.story-copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.story-copy-btn:hover { text-decoration: underline; color: var(--ink); }

/* ── Responsive ── forward strip + social btns ───────────────────────────── */
@media (max-width: 640px) {
  .fwd-inner    { flex-direction: column; }
  .fwd-actions  { width: 100%; }
  .fwd-btn      { flex: 1; text-align: center; }
  .sub-social-btns { flex-direction: column; }
  .sub-social-btn  { text-align: center; }
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--cream2);
  padding: 28px 0;
}
.footer-rule {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  height: 4px;
  background: var(--gold);
  margin-bottom: 20px;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.logo-gr { color: var(--gold-dark); }
.footer-tagline {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 3px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-left: auto;
  align-items: center;
}
.footer-links a {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink3);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--gold-dark); }
.footer-bottom {
  border-top: 1px solid var(--cream3);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink4);
}

/* ── Ad Units ────────────────────────────────────────────────────────────── */

/* Shared label */
.ad-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink4);
  text-align: center;
  margin-bottom: 0;
  padding: 4px 0;
  border-top: 1px solid var(--cream3);
}

/* ── Leaderboard (between front page and stocks) ──── */
.ad-leaderboard {
  background: var(--cream2);
  border-top: 1px solid var(--cream3);
  border-bottom: 1px solid var(--cream3);
}
.ad-leaderboard-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.ad-sponsor-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.5px;
  border: 2px solid var(--ink);
  padding: 6px 14px;
  flex-shrink: 0;
  min-width: 64px;
  text-align: center;
}
.ad-sponsor-copy { flex: 1; }
.ad-sponsor-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 3px;
}
.ad-sponsor-tag {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--ink3);
  line-height: 1.5;
}
.ad-sponsor-cta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 8px 16px;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.ad-sponsor-cta:hover { background: var(--ink); color: var(--cream); }

/* ── Mid-page sponsored analysis strip ──────────────── */
.ad-midstrip {
  background: var(--cream);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.ad-midstrip > .ad-label {
  border-top: none;
  border-bottom: 1px solid var(--cream3);
  padding: 5px 0;
}
.ad-midstrip-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.ad-midstrip-sponsor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-right: 28px;
  border-right: 1px solid var(--cream3);
}
.ad-midstrip-from {
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink4);
}
.ad-midstrip-co {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.ad-midstrip-body { }
.ad-midstrip-headline {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 8px;
}
.ad-midstrip-text {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink3);
  line-height: 1.65;
  font-style: italic;
}
.ad-midstrip-cta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold-dark);
  white-space: nowrap;
  border-bottom: 1px solid var(--gold-dark);
  padding-bottom: 1px;
  transition: color 0.15s;
}
.ad-midstrip-cta:hover { color: var(--gold); border-color: var(--gold); }

/* ── Partner content card in news grid ──────────────── */
.news-card--sponsored {
  background: rgba(154,123,44,0.04);
  border-color: var(--rule-lt);
  position: relative;
}
.news-sponsored-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 1px solid var(--gold-dark);
  padding: 1px 6px;
}

/* ── Classifieds ─────────────────────────────────────── */
.classifieds-section {
  background: var(--cream2);
  padding: 32px 0 36px;
  border-top: 1px solid var(--cream3);
  border-bottom: 1px solid var(--cream3);
}
.classifieds-rule { margin-bottom: 20px; }
.classifieds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}
.classified-col {
  padding: 16px 20px 16px 0;
  border-right: 1px solid var(--cream3);
}
.classified-col:last-child { border-right: none; padding-right: 0; }
.classified-col:not(:first-child) { padding-left: 20px; }
.classified-cat {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  margin-bottom: 12px;
}
.classified-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--cream3);
}
.classified-item:last-child { border-bottom: none; }
.ci-head {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--ink);
  margin-bottom: 4px;
}
.classified-item p {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.65;
  margin-bottom: 4px;
}
.ci-contact {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-dark);
}
.classifieds-footer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--cream3);
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink4);
  text-align: center;
  font-style: italic;
}
.cf-email {
  font-family: var(--mono);
  color: var(--gold-dark);
  font-style: normal;
}
.cf-email--link { transition: color 0.15s; border-bottom: 1px solid transparent; }
.cf-email--link:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* Classifieds deck intro line */
.classifieds-deck {
  font-family: var(--sans);
  font-size: 13px;
  font-style: italic;
  color: var(--ink3);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Available placement slot */
.classified-available {
  padding: 12px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ca-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink4);
  border: 1px dashed var(--cream3);
  display: inline-block;
  padding: 2px 8px;
  align-self: flex-start;
}
.ca-desc {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.65;
}
.ca-cta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.3px;
  transition: color 0.15s;
  align-self: flex-start;
}
.ca-cta:hover { color: var(--ink); }

/* ── Masthead sponsor link ────────────────────────────────────────────────── */
.masthead-sponsor-link {
  color: var(--ink4);
  font-weight: 400;
  letter-spacing: 0.2px;
  transition: color 0.15s;
  text-decoration: none;
}
.masthead-sponsor-link strong {
  color: var(--gold-dark);
  font-weight: 800;
  letter-spacing: 0.5px;
}
.masthead-sponsor-link:hover { color: var(--ink2); }
.masthead-sponsor-link:hover strong { color: var(--gold); }

/* ── Marefin logotype block (leaderboard sponsor) ─────────────────────────── */
.marefin-logo-block {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 4px 24px 4px 0;
  border-right: 1px solid var(--cream3);
  transition: opacity 0.15s;
}
.marefin-logo-block:hover { opacity: 0.72; }
.marefin-logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 100%; /* prevents overflow on narrow viewports */
  object-fit: contain;
}

/* ── Subscribe — Marefin credit line ──────────────────────────────────────── */
.sub-marefin-credit {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.sub-marefin-lbl {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink4);
}
.sub-marefin-logo {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.15s;
}
.sub-marefin-logo:hover { opacity: 0.75; }
.sub-marefin-logo-img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* ── Testimonial strip ────────────────────────────────────────────────────── */
.testimonial-strip {
  background: var(--cream2);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 52px 0 48px;
}
.testimonial-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-align: center;
  margin-bottom: 24px;
}
.testimonial-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-quote-mark {
  font-family: var(--serif);
  font-size: 96px;
  line-height: 0.55;
  color: var(--gold);
  display: block;
  margin-bottom: 22px;
  user-select: none;
}
.testimonial-quote {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 23px);
  font-style: italic;
  line-height: 1.75;
  color: var(--ink2);
  quotes: none;
  border: none;
  padding: 0;
  margin: 0 0 30px;
}
.testimonial-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 28px;
}
.testimonial-attr {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-align: left;
  max-width: 660px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--cream3);
  border-top: 3px solid var(--gold-dark);
  padding: 20px 24px;
}
.testimonial-avatar {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--gold-dark);
  display: block;
  margin-top: 2px;
}
.testimonial-text { flex: 1; }
.testimonial-name {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
  line-height: 1.2;
}
.testimonial-cfa {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.8px;
  padding: 1px 5px;
  background: rgba(154,123,44,0.12);
  border-radius: 2px;
}
.testimonial-role {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}
.testimonial-co-link {
  color: inherit;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.15s;
}
.testimonial-co-link:hover { color: var(--ink); border-color: var(--ink); }
.testimonial-bio {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink3);
  line-height: 1.7;
}

/* ── Today's Briefing bar ─────────────────────────────────────────────────── */
.briefing-bar {
  background: var(--ink);
  border-bottom: 2px solid var(--gold);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.bb-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
}
.bb-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}
.bb-sep-v {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.12);
  margin: 0 16px;
  flex-shrink: 0;
}
.bb-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}
.bb-key {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink4);
}
.bb-val {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--cream);
}
.bb-chg {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}
.bb-chg.wi-up      { color: #6ABF6A; }
.bb-chg.wi-dn      { color: #E06060; }
.bb-chg.wi-neutral { color: var(--ink4); }
.bb-dot {
  color: var(--gold);
  font-weight: 300;
  margin: 0 12px;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
}
.bb-filing {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.bb-filing-lbl {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink4);
  flex-shrink: 0;
}
.bb-filing-text {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--cream2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
  border-bottom: 1px solid transparent;
}
.bb-filing-text:hover {
  color: var(--gold2);
  border-bottom-color: var(--gold2);
}

@media (max-width: 860px) {
  .bb-filing { display: none; }
  .bb-sep-v:last-of-type { display: none; }
}
@media (max-width: 560px) {
  .bb-dot:last-of-type { display: none; }
  .bb-item:last-of-type { display: none; } /* hide EUR/USD on small screens */
  .briefing-bar { position: static; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .newspaper-grid { grid-template-columns: 1fr 24px 1fr; }
  .brief-col { display: none; }
  .ac-layout { grid-template-columns: 1fr; }
  .so-grid { grid-template-columns: repeat(2, 1fr); }
  .asf-row  { grid-template-columns: 1fr; gap: 0; }
  .so-search-wrap { max-width: 100%; min-width: 100%; }
  .heritage-grid { grid-template-columns: 1fr; }
  .heritage-card { border-right: none; border-bottom: 1px solid var(--cream3); }
  .heritage-card:last-child { border-bottom: none; }
  .heritage-pillars { grid-template-columns: 1fr 1px 1fr; gap: 0; }
  .hp-item { padding: 0 20px 28px; }
  .hp-item:first-child,.hp-item:nth-child(3) { padding-left: 0; }
  .hp-item:nth-child(2),.hp-item:last-child  { padding-right: 0; }
  .hp-vr:last-of-type { display: none; }
  .hap-layout { grid-template-columns: 1fr; gap: 40px; }
  .hap-form-panel { padding: 28px; }
  .ma-deals-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .ad-midstrip-inner { grid-template-columns: 1fr; gap: 16px; }
  .ad-midstrip-sponsor { flex-direction: row; border-right: none; border-bottom: 1px solid var(--cream3); padding-right: 0; padding-bottom: 12px; }
  .classifieds-grid { grid-template-columns: 1fr 1fr; }
  .classified-col:last-child { grid-column: 1 / -1; border-right: none; border-top: 1px solid var(--cream3); padding-left: 0; padding-top: 16px; }
}

@media (max-width: 640px) {
  .testimonial-attr { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .testimonial-avatar { width: 96px; height: 96px; }
  .testimonial-quote { font-size: 16px; }
  .marefin-logo-block { border-right: none; border-bottom: 1px solid var(--cream3); padding-right: 0; padding-bottom: 14px; }
  .marefin-logo-img { height: 44px; }
  .ad-leaderboard-inner { flex-direction: column; align-items: flex-start; }
  .sub-marefin-credit { justify-content: center; }
}

@media (max-width: 860px) {
  .masthead-nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 28px;
    position: relative;
    min-height: 44px; /* height for collapsed state showing only hamburger */
  }
  .masthead-nav .mnav-sep { display: none; }
  .masthead-nav .mnav-toggle {
    display: block;
    position: absolute;
    top: 10px;
    right: 28px;
  }
  .masthead-nav:not(.open) .mnav-link { display: none; }
  .masthead-nav.open { padding-top: 48px; }
  .masthead-nav.open .mnav-link { display: block; padding: 10px 0; border-bottom: 1px solid var(--cream3); width: 100%; }
  .masthead-nav.open .mnav-link:last-of-type { border-bottom: none; }
  .masthead-nav.open .mnav-toggle { top: 10px; }
  .newspaper-grid { grid-template-columns: 1fr; }
  .col-rule { display: none; }
  .so-grid { grid-template-columns: 1fr; }
  .so-filter-bar { flex-direction: column; align-items: flex-start; }
  .story-stack { padding: 20px 0 0; }
  .story--lead .story-body--cols { column-count: 1; }
  .story--lead .story-headline { font-size: clamp(28px, 6vw, 40px); }
  .story-headline--md { font-size: clamp(20px, 4.5vw, 28px); }
  .story-headline--sm { font-size: clamp(18px, 4vw, 24px); }
  .subscribe-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .ma-deals-grid { grid-template-columns: 1fr; }
  .ma-card { padding: 16px 0 !important; border-right: none !important; }
  .news-columns { grid-template-columns: 1fr 1fr; }
  .news-card { padding: 16px 16px 16px 0 !important; }
  .news-card:nth-child(even) { padding-left: 16px !important; border-right: none !important; }
  .masb-item { padding: 10px 16px; }
}

@media (max-width: 600px) {
  .ad-leaderboard-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ad-sponsor-cta { align-self: flex-start; }
  .classifieds-grid { grid-template-columns: 1fr; }
  .classified-col { border-right: none; padding-left: 0 !important; border-top: 1px solid var(--cream3); padding-top: 16px; }
  .classified-col:first-child { border-top: none; padding-top: 0; }
  .masthead-top { grid-template-columns: 1fr; gap: 2px; }
  .masthead-meta.right { display: none; }
  .masthead-meta.center { justify-self: start; }
  .news-columns { grid-template-columns: 1fr; }
  .news-card { padding: 16px 0 !important; border-right: none !important; }
  .product-grid { grid-template-columns: 1fr; }
  .product-item { padding: 12px 0 !important; border-right: none !important; }
  .ma-summary-bar { flex-direction: column; gap: 0; }
  .masb-sep { display: none; }
}

/* ════════════════════════════════════════════════════════════════════════════
   DASHBOARD PREMIUM — Institutional Financial Platform Enhancements
   All rules here are additive. They build on top of the base layer without
   overriding layout structure.
   ════════════════════════════════════════════════════════════════════════════ */

/* ── 1. Section Hierarchy: each major section gets a distinct visual entry ── */

/* Top-rule accent on primary data sections */
#stocks,
#news {
  border-top: 4px solid var(--ink);
}
#financing,
#heritage {
  border-top: 4px solid var(--gold-dark);
}
#ma {
  border-top: 4px solid var(--rule);
}

/* Section deck: add bottom rule to anchor the header block */
.section-deck {
  border-bottom: 1px solid var(--cream3);
  padding-bottom: 18px;
  margin-bottom: 28px;
  letter-spacing: 0.1px;
}

/* Section rules: slightly more commanding sr-line */
.sr-line {
  height: 2px;
  background: var(--ink);
  opacity: 0.15;
}
.paper-section--dark .sr-line { background: var(--cream2); opacity: 0.2; }

/* ── 2. Market Snapshot: Terminal-Grade Widget ──────────────────────────── */

/* Wrap the snapshot in a proper data card */
.market-snapshot {
  border: 1px solid rgba(20,16,10,0.18);
  border-top: 3px solid var(--gold-dark);
  background: var(--cream);
  margin-top: 0;
}

/* Header bar: dark band with live indicator */
.snapshot-label {
  background: var(--ink);
  color: var(--cream2);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-top: none;
  border-bottom: none;
}

/* Live pulse dot inside snapshot label */
.snapshot-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ABF6A;
  flex-shrink: 0;
  animation: snap-pulse 2.5s ease-in-out infinite;
}

@keyframes snap-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(106,191,106,0.4); }
  50%       { opacity: 0.6; box-shadow: 0 0 0 4px rgba(106,191,106,0); }
}

/* Snapshot table: tighter rows, distinct data formatting */
.snapshot-table {
  font-size: 13px;
}

.snapshot-table thead tr {
  background: rgba(0,0,0,0.03);
}

.snapshot-table th {
  font-size: 10px;
  letter-spacing: 1.2px;
  padding: 5px 10px;
  color: var(--ink3);
  background: rgba(0,0,0,0.03);
}

.snapshot-table td {
  padding: 7px 10px;
  font-size: 13px;
  color: var(--ink2);
  vertical-align: middle;
  border-bottom: 1px solid var(--cream3);
}

.snapshot-table tbody tr:last-child td {
  border-bottom: none;
}

/* First column: instrument label in secondary tone */
.snapshot-table td:first-child {
  color: var(--ink3);
  font-size: 12px;
  font-family: var(--sans);
  letter-spacing: 0.1px;
}

/* Value column: mono, readable */
.snapshot-table .mono {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

/* Change column: inherit span colors but add font weight */
.snapshot-table .r span {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--mono);
  letter-spacing: 0;
}

/* Row hover in snapshot */
.snapshot-table tbody tr {
  transition: background 0.1s;
}
.snapshot-table tbody tr:hover {
  background: rgba(154,123,44,0.05);
}

/* Snapshot note improved */
.snapshot-note {
  padding: 6px 10px 7px;
  font-size: 10px;
  color: var(--ink4);
  font-style: italic;
  background: rgba(0,0,0,0.02);
  border-top: 1px solid var(--cream3);
  letter-spacing: 0.2px;
}

/* ── 3. Briefing Bar: Cleaner Data Hierarchy ────────────────────────────── */

.bb-inner {
  height: 46px;
  gap: 0;
}

.bb-item {
  gap: 5px;
  padding: 0 2px;
}

.bb-key {
  color: rgba(255,255,255,0.38);
  letter-spacing: 1.2px;
  font-size: 10px;
  font-weight: 700;
}

.bb-val {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.bb-chg {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.bb-dot {
  font-size: 12px;
  margin: 0 10px;
  opacity: 0.25;
}

/* ── 4. Stocks Table: Professional Data Terminal ────────────────────────── */

/* Subtle alternating rows for long data tables */
.paper-table tbody tr:nth-child(even) {
  background: rgba(20,16,10,0.018);
}
.paper-table tbody tr:nth-child(even):hover {
  background: rgba(154,123,44,0.06);
}

/* Number cells: use tabular numerals for alignment */
.paper-table td.r,
.paper-table th.r {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

/* Stock company cell: stronger identity */
.st-company {
  line-height: 1.2;
  margin-bottom: 1px;
}

/* ── 5. Filter Pills: More Decisive Controls ────────────────────────────── */

.fpill {
  border-radius: 2px;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  white-space: nowrap;
}

.fpill.active {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.fpill:hover {
  background: rgba(20,16,10,0.05);
}

/* ── 6. News Cards: Scannable Editorial Grid ────────────────────────────── */

.news-card {
  transition: background 0.12s;
}

.news-card:hover {
  background: rgba(251,247,240,0.95);
}

/* Category tag: tighter, more decisive */
.news-cat {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 800;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

/* News title: strong first impression */
.news-title {
  line-height: 1.28;
  color: var(--ink);
  letter-spacing: -0.2px;
}

/* Source line: clear attribution */
.news-source {
  font-size: 10px;
  letter-spacing: 0.8px;
}

/* Date: right-aligned, clearly secondary */
.news-date {
  font-size: 11px;
  font-style: normal;
  color: var(--ink4);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

/* ── 7. Section Sub-labels: Stronger Hierarchy Cues ────────────────────── */

.subsection-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  border-bottom: 2px solid var(--rule-lt);
  padding-bottom: 7px;
  margin-bottom: 16px;
  line-height: 1;
}

/* ── 8. M&A Cards: Deal Intelligence Cards ──────────────────────────────── */

.ma-card {
  transition: background 0.12s;
}

.ma-card:hover {
  background: rgba(251,247,240,0.85);
}

.ma-card h4 {
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.ma-val {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

/* M&A summary bar: cleaner stat blocks */
.masb-val {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.3px;
  line-height: 1;
}

/* ── 10. Greek Heritage Section ─────────────────────────────────────────── */

/* Portrait grid: slightly taller on mid viewports */
.hc-portrait { aspect-ratio: 4 / 5; }

/* Pillar labels: slightly larger presence */
.hp-label { font-size: 18px; }

/* Editorial text: tighter on mid viewports */
.he-text { font-size: 17px; }

/* ── 12. Table Note & Disclaimers ───────────────────────────────────────── */

.table-note {
  color: var(--ink4);
  font-size: 11px;
  margin-top: 10px;
  letter-spacing: 0.1px;
  line-height: 1.5;
}

/* ── 13. Wire Bar: Financial Terminal Clarity ───────────────────────────── */

.wire-sep {
  color: rgba(255,255,255,0.12);
  padding: 0 7px;
  font-size: 10px;
  font-weight: 200;
}

.wi-val {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.wi-up,
.wi-dn,
.wi-neutral {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

/* ── 15. Mobile Dashboard: Priority-Ordered Data ────────────────────────── */

@media (max-width: 860px) {
  /* Stock table: hide lower-priority columns, keep core data */
  .paper-table th:nth-child(6),
  .paper-table td:nth-child(6),
  .paper-table th:nth-child(7),
  .paper-table td:nth-child(7) {
    display: none;
  }

  /* Table wrapper: proper horizontal scroll with iOS momentum */
  .paper-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--cream3);
    border-top: none;
  }

  /* Scroll affordance: faint right fade */
  .paper-table-wrap {
    -webkit-mask-image: linear-gradient(to right, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, black 92%, transparent 100%);
  }

  /* Market snapshot: full width on mobile */
  .market-snapshot {
    margin-top: 24px;
  }

  /* Filter row: allow wrapping without breaking alignment */
  .filter-row {
    gap: 5px;
    row-gap: 6px;
  }

  /* Briefing bar: tighter on tablet */
  .bb-inner {
    height: 40px;
    padding: 0 16px;
  }

  /* Section padding: tighter on tablet */
  .paper-section {
    padding: 32px 0 40px;
  }
}

@media (max-width: 640px) {
  /* Stock table: show only essential cols on phones */
  .paper-table th:nth-child(3),
  .paper-table td:nth-child(3),
  .paper-table th:nth-child(8),
  .paper-table td:nth-child(8) {
    display: none;
  }

  /* Remove the mask on mobile — full scroll, no clipping */
  .paper-table-wrap {
    -webkit-mask-image: none;
    mask-image: none;
  }

  /* Snapshot table: equal column widths on mobile */
  .snapshot-table th,
  .snapshot-table td {
    padding: 7px 8px;
    font-size: 12px;
  }

  /* News card category tags: wrap gracefully */
  .news-card-meta {
    gap: 6px;
  }

  /* ma grid: single col handled by existing rule */

  /* Filter pills: use full available width */
  .filter-label {
    width: 100%;
  }

  /* Wire bar: remove fade on phones, rely on touch scroll */
  .wire-track {
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
  }

  /* Section deck: smaller on phones */
  .section-deck {
    font-size: 14px;
    padding-bottom: 14px;
    margin-bottom: 20px;
  }
}

/* ── 16. Loading State: Skeleton Cells ──────────────────────────────────── */

/* When a table cell shows — it gets a subtle shimmer if needed */
.paper-table td[data-loading],
.snapshot-table td[data-loading] {
  background: linear-gradient(90deg,
    var(--cream2) 25%,
    var(--cream3) 50%,
    var(--cream2) 75%);
  background-size: 200% 100%;
  animation: cell-shimmer 1.4s ease-in-out infinite;
  color: transparent;
  border-radius: 2px;
}

@keyframes cell-shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Placeholder dashes: style the — values while live data loads */
.snapshot-table td:not(:first-child) {
  font-variant-numeric: tabular-nums;
}

/* ── 17. Up/Down Color System: Consistent Across Sections ──────────────── */

/* Snapshot change cells — override the wi-up/wi-dn defaults with
   slightly warmer tones that match the cream background */
.snapshot-table .r span.wi-up { color: #1A5A1A; font-size: 12px; font-weight: 700; }
.snapshot-table .r span.wi-dn { color: #8B1A1A; font-size: 12px; font-weight: 700; }

/* Stock table change column */
.paper-table .up-text { color: #1A5A1A; }
.paper-table .dn-text { color: #8B1A1A; }

/* Wire bar: keep the lighter green/red for dark background */
.wire-inner .wi-up { color: #6ABF6A; }
.wire-inner .wi-dn { color: #E06060; }

/* Briefing bar: same */
.bb-chg.wi-up { color: #6ABF6A; }
.bb-chg.wi-dn { color: #E06060; }

/* ── 18. Section Navigation Anchors: Clean Scroll ───────────────────────── */

/* Add extra top clearance beyond scroll-margin so section headers
   aren't hidden behind the sticky briefing bar */
#stocks,
#financing,
#ma,
#heritage,
#news,
#subscribe {
  scroll-margin-top: calc(var(--scroll-offset) + 20px);
}

/* ── 19. Pull Quote: Stronger Presence ──────────────────────────────────── */

.pull-quote {
  margin: 20px 0 0;
}

.pq-mark {
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: -10px;
}

.pq-text {
  font-size: 20px;
  line-height: 1.72;
  color: var(--ink2);
}

.pq-attr {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--ink3);
}

/* ── 20. Subscribe Form: Premium CTA Treatment ──────────────────────────── */

.sub-form {
  border: 1px solid rgba(255,255,255,0.11);
}

.sub-btn {
  letter-spacing: 1.5px;
  transition: background 0.15s;
}

.sub-btn:hover {
  background: var(--gold2);
}

/* ── 21. Testimonial: Authority Signal ──────────────────────────────────── */

.testimonial-attr {
  border-top: 3px solid var(--gold-dark);
}

.testimonial-name {
  letter-spacing: -0.2px;
}

/* ── 22. Footer Links: Professional Navigation ──────────────────────────── */

.footer-links a {
  font-size: 13px;
  letter-spacing: 0.2px;
}

/* ── 23. Masthead Nav Active Indicator ──────────────────────────────────── */

/* Nav links: slightly more spacing for better scanability */
.mnav-link {
  letter-spacing: 0.3px;
}

/* ── 24. Ad Unit Polish ─────────────────────────────────────────────────── */

.ad-sponsor-name {
  letter-spacing: 0.5px;
  font-size: 13px;
}

.ad-sponsor-tag {
  font-size: 14px;
  line-height: 1.55;
}

.ad-midstrip-headline {
  letter-spacing: -0.2px;
}

/* ── 25. Brief Box (Sidebar): Tighter Compose ───────────────────────────── */

.brief-box {
  border-top: 3px solid var(--ink);
}

.brief-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 900;
  padding: 7px 12px;
}

.brief-item {
  padding: 11px 12px;
}

.brief-item p {
  line-height: 1.7;
  color: var(--ink2);
}

.bi-kicker {
  letter-spacing: 1.8px;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 4px;
}

/* ── 26. Sub Box (Sidebar Subscribe): Clean Form ────────────────────────── */

.sub-box-form button {
  font-size: 12px;
}

/* ── 27. About Section: Credibility Treatment ───────────────────────────── */

.about-body {
  line-height: 1.9;
}

.pillar {
  padding: 16px 0;
}

/* ── 28. Classifieds: Professional Listing Feel ─────────────────────────── */

.classified-cat {
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 900;
  padding-bottom: 8px;
}

.ca-desc {
  font-size: 14px;
  line-height: 1.7;
}

/* ── 29. Forward Strip: Decisive CTA ────────────────────────────────────── */

.fwd-eyebrow {
  letter-spacing: 2.5px;
  font-size: 10px;
}

/* ── 30. Responsive Overflow Guards ────────────────────────────────────── */

/* Prevent any horizontal overflow globally */
.container {
  min-width: 0;
}

/* Long URLs and headlines inside cards: clip cleanly */
.news-title a,
.brief-link {
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Tables: always allow horizontal scroll container */
.paper-table-wrap,
.ac-firms-table {
  min-width: 0;
}

/* ── 31. Print / High-DPI Clarity ───────────────────────────────────────── */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* On Retina: make the ink rules crisper */
  .sr-line,
  .story-rule,
  .stack-rule,
  .brief-rule {
    height: 0.5px;
  }
  .paper-table thead tr {
    border-top-width: 1.5px;
  }
}

/* ════════════════════════════════════════════════════════════════════════════
   VISUAL POLISH — Unified Spacing System & Layout Harmony
   Resolves all measured inconsistencies. Last-write wins over prior layers.
   ════════════════════════════════════════════════════════════════════════════ */

/* ── A. Design Tokens: 8-point spacing scale ───────────────────────────── */
:root {
  /* Spacing scale (multiples of 4) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-7:  32px;
  --sp-8:  40px;
  --sp-9:  52px;
  --sp-10: 64px;
  --sp-11: 80px;

  /* Section vertical rhythm — mobile overrides cascade below */
  --sect-v:   56px;   /* primary sections */
  --sect-v-t: 60px;   /* tinted sections  */

  /* Standard card internal padding */
  --pad-card: 22px;
  --pad-card-sm: 14px;

  /* Consistent transition */
  --t: 0.14s ease;
}

/* ── B. Section Vertical Rhythm ────────────────────────────────────────── */

/* Primary sections: symmetric padding — equal visual weight top and bottom */
.paper-section {
  padding: var(--sect-v) 0;
}

/* Tinted sections: slightly more generous (they feel visually heavier) */
.paper-section--tinted {
  padding: var(--sect-v-t) 0;
}

/* Front page: shorter top (briefing bar anchors the viewport already) */
.front-page {
  padding: 40px 0 60px;
}

/* Testimonial strip: symmetric */
.testimonial-strip {
  padding: 56px 0;
}

/* Forward strip: tight and punchy */
.forward-strip {
  padding: 32px 0;
}

/* Classifieds: compact but not cramped */
.classifieds-section {
  padding: 36px 0 40px;
}

/* ── C. Section Header Spacing ─────────────────────────────────────────── */

/* sr-rule was 0 0 6px — criminally tight before a deck or section content */
.section-rule {
  margin: 0 0 12px;
}

/* Section deck: generous separation from the rule above, content below */
.section-deck {
  margin-top: 0;
  margin-bottom: 36px;
  padding-bottom: 20px;
}

/* ── D. Column Layout Internal Spacing ─────────────────────────────────── */

/* Right column gets same breathing room as left — was 8px less */
.story--lead   { padding-right: 32px; }
.story-stack   { padding: 0 32px; }
.brief-col     { padding-left: 24px; }

/* Pause between stacked articles — was 18px, now matches card rhythm */
.stack-rule    { margin: 24px 0; }

/* Story rule (thin ink line between byline and body) */
.story-rule    { margin: 10px 0 14px; }

/* ── E. Market Snapshot Table ──────────────────────────────────────────── */

.snapshot-table th { padding: 6px 10px; }
.snapshot-table td { padding: 9px 10px; }

/* ── F. Main Paper Tables (Stocks, Insurance rates) ────────────────────── */

/* Consistent 14px horizontal padding across all paper-table cells */
.paper-table th             { padding: 9px 14px; }
.paper-table td             { padding: 11px 14px; }
.paper-table--compact th,
.paper-table--compact td    { padding: 7px 10px; }

/* Analyst firms table: bring up to match paper-table density */
.ac-firms-table th { padding: 7px 10px; }
.ac-firms-table td { padding: 9px 10px; }

/* ── G. Filter & Period Controls ───────────────────────────────────────── */

.filter-row {
  margin-bottom: 24px;
  padding-bottom: 14px;
  gap: 7px;
  row-gap: 7px;
}

/* ── H. Stocks Section ─────────────────────────────────────────────────── */

/* Product grid: symmetric padding */
.product-item {
  padding: 16px 20px 16px 0;
}
.product-item:nth-child(even) {
  padding: 16px 0 16px 20px;
}

/* ── J. Lender Table Pull Quote ────────────────────────────────────────── */

/* Pull quote was margin-top: 4px — so close to lender table it felt attached */
.pull-quote {
  padding: 20px 0 16px;
  margin-top: 14px;
}

/* ── K. M&A Section ─────────────────────────────────────────────────────  */

/* Summary stats bar: tighten the side padding, equalize vertical */
.masb-item      { padding: 14px 24px; }

/* mas bar margin below: was 28px, now matches section rhythm */
.ma-summary-bar { margin-bottom: 32px; }

/* M&A cards: consistent padding on all positions */
.ma-card {
  padding: var(--pad-card) var(--pad-card) var(--pad-card) 0;
}
.ma-card:nth-child(3n+2),
.ma-card:nth-child(3n+3) { padding-left: var(--pad-card); }
.ma-card:nth-child(3n)   { padding-right: 0; }

.ma-card-footer {
  margin-top: 12px;
  padding-top: 10px;
}

/* M&A modal: more breathing room for article reading */
.ma-modal {
  padding: 44px 52px 52px;
}

.ma-modal-kicker { margin-bottom: 16px; }
.ma-modal-rule   { margin-bottom: 28px; }
.ma-modal-body p { margin-bottom: 20px; }

/* ── L. Greek Heritage Section ──────────────────────────────────────────── */

/* Card body: slightly more generous at large viewport */
.hc-body { padding: 28px 32px 32px; }

/* Pillar items: wider gutters at large viewport */
.hp-item { padding: 0 34px; }
.hp-item:first-child { padding-left: 0; }
.hp-item:last-child  { padding-right: 0; }

/* ── M. News Cards ──────────────────────────────────────────────────────── */

.news-card {
  padding: var(--pad-card) var(--pad-card) var(--pad-card) 0;
  gap: 10px;
}
.news-card:nth-child(3n+2),
.news-card:nth-child(3n+3)  { padding-left: var(--pad-card); }
.news-card:nth-child(3n)    { padding-right: 0; }

.news-card-meta   { gap: 10px; }
.news-footer      { padding-top: 10px; margin-top: 12px; }

/* ── N. Brief Column ────────────────────────────────────────────────────── */

/* Brief items: consistent card padding */
.brief-item { padding: 12px 14px; }
.bi-kicker  { margin-bottom: 5px; }
.brief-rule { margin: 0 12px; }

/* Brief box top rule: stronger anchor */
.brief-box {
  border-top: 3px solid var(--ink);
}

/* Brief label: more presence */
.brief-label {
  padding: 7px 14px;
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 900;
}

/* ── O. Subscribe Sidebar Box ───────────────────────────────────────────── */

.sub-box-form { gap: 10px; }

/* ── P. Subscribe Section (Dark) ────────────────────────────────────────── */

/* Contents rows: slightly more vertical breath */
.sub-ci { padding: 12px 0; }

/* Delivery badge block */
.sub-delivery {
  padding: 18px 22px;
  margin-bottom: 32px;
}

/* Form block: a touch more interior space */
.sub-form {
  padding: 30px;
  gap: 16px;
}

.sub-form-group   { gap: 6px; }
.sub-contents     { margin-bottom: 32px; }

.sub-social {
  margin-top: 28px;
  padding-top: 22px;
}

/* ── Q. About Section ───────────────────────────────────────────────────── */

/* Pillar items: more gap between icon and text */
.pillar {
  padding: 20px 0;
  gap: 18px;
}

/* Fleet stats: more top margin from body text above */
.about-fleet-stats { margin-top: 24px; }
.afs-item          { padding: 16px 18px; }

/* ── R. Classifieds ─────────────────────────────────────────────────────── */

/* Consistent padding — the last column was getting 0 right padding
   but middle columns were getting 20px left. Unify to 24px. */
.classified-col {
  padding: 18px 24px 18px 0;
}
.classified-col:not(:first-child) { padding-left: 24px; }
.classified-col:last-child        { padding-right: 0; }

.classified-cat {
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.classified-item  { padding: 12px 0; }

/* ── S. Testimonial Section ─────────────────────────────────────────────── */

/* Attr card: more internal breathing room */
.testimonial-attr {
  padding: 22px 26px;
  gap: 20px;
}

.testimonial-eyebrow { margin-bottom: 28px; }

/* ── T. Forward Strip ───────────────────────────────────────────────────── */

.fwd-inner     { gap: 32px; }
.fwd-eyebrow   { margin-bottom: 8px; }
.fwd-headline  { margin-bottom: 6px; }

/* ── V. Wire Detail Panel ───────────────────────────────────────────────── */

.wp-inner {
  padding: 16px 28px 20px;
}

.wp-header   { margin-bottom: 16px; gap: 18px; }
.wp-price    { margin-bottom: 8px; }
.wp-change   { margin-bottom: 12px; }

/* ── W. Ad Units ────────────────────────────────────────────────────────── */

.ad-leaderboard-inner {
  padding: 18px 28px;
  gap: 28px;
}

.ad-midstrip-inner {
  padding: 26px 28px;
  gap: 32px;
}

/* ── X. Footer ──────────────────────────────────────────────────────────── */

.site-footer { padding: 32px 0; }

.footer-inner {
  margin-bottom: 24px;
  gap: 48px;
}

.footer-bottom { padding-top: 16px; }

/* ── Y. Global Transition Consistency ──────────────────────────────────── */

/* Every interactive element uses the same speed — eliminates the
   "some things feel snappy, some feel sluggish" inconsistency */
.fpill, .tpill,
.fwd-btn, .sub-btn, .sub-social-btn,
.wp-range,
.mnav-link, .mnav-link--sub,
.ma-card, .news-card, .wire-item,
.ad-sponsor-cta, .ad-midstrip-cta,
.story-hl-link, .brief-link, .news-link,
.story-read-link, .ma-read-link,
.fwd-btn, .fwd-btn--linkedin {
  transition:
    background  var(--t),
    border-color var(--t),
    color       var(--t),
    opacity     var(--t),
    box-shadow  var(--t);
}

/* Anchor links globally */
a { transition: color var(--t), opacity var(--t); }

/* ── Z. Responsive Cascade ──────────────────────────────────────────────── */

/* 1080px: tablet landscape — scale sections down, tighten columns */
@media (max-width: 1080px) {
  :root {
    --sect-v:   48px;
    --sect-v-t: 52px;
  }

  .story--lead   { padding-right: 24px; }
  .story-stack   { padding: 0 24px; }
  .brief-col     { padding-left: 18px; }
  .ins-col       { padding: 0 22px; }
  .ins-col:first-child { padding-left: 0; }
  .ins-col:last-child  { padding-right: 0; }
  .ma-modal      { padding: 36px 40px 44px; }
}

/* 860px: tablet portrait — single column layouts kick in */
@media (max-width: 860px) {
  :root {
    --sect-v:   36px;
    --sect-v-t: 40px;
    --pad-card: 18px;
  }

  .story--lead  { padding-right: 0; }
  .story-stack  { padding: 20px 0 0; }
  .brief-col    { padding-left: 0; }
  .heritage-grid { grid-template-columns: 1fr; }
  .heritage-card { border-right: none; border-bottom: 1px solid var(--cream3); }
  .heritage-card:last-child { border-bottom: none; }
  .heritage-pillars { grid-template-columns: 1fr; }
  .hp-vr { display: none; }
  .hp-item { padding: 0 0 24px !important; border-bottom: 1px solid var(--cream3); }
  .hp-item:last-child { border-bottom: none; padding-bottom: 0 !important; }
  .hc-body { padding: 20px !important; }
  .hf-row--2 { grid-template-columns: 1fr; }
  .hap-form-panel { padding: 20px !important; }

  .masb-item    { padding: 12px 18px; }
  .ma-card      { padding: 18px 0 !important; }
  .ma-card:nth-child(3n+2),
  .ma-card:nth-child(3n+3) { padding-left: 0 !important; }

  .news-card    { padding: 18px 16px 18px 0 !important; }
  .news-card:nth-child(even) { padding-left: 16px !important; }

  .classified-col { padding: 16px 20px 16px 0; }
  .classified-col:not(:first-child) { padding-left: 0; }

  .product-item { padding: 14px 0 !important; border-right: none !important; }

  .testimonial-strip { padding: 40px 0 36px; }
  .testimonial-attr  { padding: 18px 20px; gap: 16px; }

  .forward-strip { padding: 28px 0; }
  .fwd-inner     { gap: 20px; }

  .section-deck { margin-bottom: 24px; }
  .section-rule { margin: 0 0 10px; }

  .filter-row   { margin-bottom: 18px; gap: 5px; row-gap: 6px; }

  .site-footer  { padding: 24px 0; }
  .footer-inner { gap: 28px; }
}

/* 640px: phone — full single column, maximum compression */
@media (max-width: 640px) {
  :root {
    --sect-v:   28px;
    --sect-v-t: 32px;
    --pad-card: 14px;
  }

  .section-rule  { margin: 0 0 8px; }
  .section-deck  { margin-bottom: 18px; padding-bottom: 14px; font-size: 14px; }
  .stack-rule    { margin: 16px 0; }

  .masb-item     { padding: 10px 14px; }
  .ma-summary-bar { margin-bottom: 20px; }

  .news-card     { padding: 14px 0 !important; border-right: none !important; gap: 8px; }
  .news-card:nth-child(even) { padding-left: 0 !important; }

  .sub-form      { padding: 20px; gap: 14px; }
  .sub-gdpr      { padding: 12px 0 2px; }
  .sub-gdpr-label span { font-size: 12px; }
  .sub-delivery  { padding: 14px 16px; margin-bottom: 24px; }
  .sub-contents  { margin-bottom: 24px; }
  .sub-ci        { padding: 10px 0; }

  .classified-col { padding: 14px 0 !important; border-right: none !important; }

  .pillar       { padding: 14px 0; gap: 14px; }
  .afs-item     { padding: 12px 14px; }

  .testimonial-strip  { padding: 32px 0 28px; }
  .testimonial-attr   { padding: 16px; flex-direction: column; align-items: center; text-align: center; gap: 14px; }

  .filter-row    { margin-bottom: 14px; padding-bottom: 12px; }

  .pull-quote    { margin-top: 16px; padding: 16px 0 14px; }
  .pq-text       { font-size: 18px; }

  .ma-modal      { padding: 24px 18px 32px; }
  .ma-modal-rule { margin-bottom: 20px; }

  .wp-inner      { padding: 14px 16px 16px; }

  .forward-strip   { padding: 24px 0; }
  .fwd-inner       { flex-direction: column; gap: 16px; }
  .fwd-actions     { width: 100%; gap: 8px; }
  .fwd-btn         { flex: 1; text-align: center; padding: 11px 12px; }

  .site-footer   { padding: 20px 0; }
  .footer-inner  { gap: 20px; margin-bottom: 16px; }
  .footer-bottom { padding-top: 12px; flex-direction: column; gap: 6px; }
}

/* ── ZA. Spacing Utility: Consistent vertical margin below subsection labels */
.subsection-label + * { margin-top: 0; }

/* ── ZB. Visual separator between front-page and the ad leaderboard ──────── */
.ad-leaderboard {
  border-top: 1px solid var(--cream3);
  border-bottom: 2px solid var(--ink);
}

/* ── ZC. Section-to-section flow: subtle top rule on dark sections ────────── */
.paper-section--dark {
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* ── ZD. Wire panel body: consistent column gap ─────────────────────────── */
.wp-body {
  gap: 28px;
}

/* ── ZE. News controls: tighter grouping between topic and time rows ─────── */
/* ── ZF. Table note: consistent spacing below data tables ────────────────── */
.table-note {
  margin-top: 10px;
  padding-top: 6px;
}

/* ── ZG. Snapshot note: aligned with table ───────────────────────────────── */
.snapshot-note {
  padding: 6px 10px 8px;
}

/* ── ZH. Page-level overflow guard ──────────────────────────────────────── */
body {
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TASK 5 — SECTION HEADERS & SCANNING HIERARCHY
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── T5A. Eyebrow row injected above each section rule ───────────────────── */
.section-rule[data-eyebrow] {
  flex-wrap: wrap;
}
/* classifieds-rule lacks display:flex at its base — add it here */
.classifieds-rule[data-eyebrow] {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.section-rule[data-eyebrow]::before,
.classifieds-rule[data-eyebrow]::before {
  content: attr(data-eyebrow);
  flex: 0 0 100%;
  order: -1;
  text-align: center;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
/* Dark-background subscribe section — eyebrow text must be legible */
.section-rule--light[data-eyebrow]::before {
  color: rgba(251,247,240,0.45);
}

/* ── T5B. Sr-line accent per section ─────────────────────────────────────── */
/* Specificity (.sr--x .sr-line) beats the bare .sr-line rule above */
.sr--editorial .sr-line { background: var(--gold);     opacity: 0.55; }
.sr--market    .sr-line { background: var(--ink);       opacity: 0.28; }
.sr--analyst     .sr-line { background: var(--gold-dark); opacity: 0.50; }
.sr--shipowners  .sr-line { background: var(--ink);       opacity: 0.35; }
.sr--deals       .sr-line { background: var(--rule);      opacity: 0.45; }
.sr--risk      .sr-line { background: var(--gold-dark); opacity: 0.45; }
.sr--heritage  .sr-line { background: var(--gold-dark); opacity: 0.60; }
.sr--events    .sr-line { background: var(--gold-dark); opacity: 0.55; }
.sr--classified .sr-line { background: var(--ink3);     opacity: 0.25; }
.sr--about     .sr-line { background: var(--ink3);      opacity: 0.25; }

/* ── T5C. section-deck — authoritative left-aligned standfirst ───────────── */
/* Override the original text-align:center and font-style:italic */
.section-deck {
  font-style:  normal;
  text-align:  left;
  border-left: 2px solid var(--cream3);
  padding-left: 10px;
  font-size:   15px;
}
.paper-section--dark .section-deck {
  border-left-color: rgba(251,247,240,0.18);
}

/* ── T5D. subsection-label — left-border accent for interior scan anchors ── */
/* Replace the bottom-only border with a left accent + ink color */
.subsection-label {
  border-bottom: none;
  border-left:   3px solid var(--gold-dark);
  padding-bottom: 0;
  padding-left:  10px;
  color:         var(--ink);
  margin-bottom: 18px;
}

/* ── T5E. story-kicker — left border + tint ─────────────────────────────── */
.story-kicker {
  display:      inline-block;
  border-left:  2px solid var(--gold);
  padding-left: 7px;
  padding-right: 9px;
  background:   rgba(184,148,60,0.07);
}

/* ── T5F. news-cat — left border matches its own text color ─────────────── */
.news-cat {
  border-left:  2px solid var(--gold-dark);
  padding-left: 5px;
}

/* ── T5G. bi-kicker — left border ───────────────────────────────────────── */
.bi-kicker {
  border-left:  2px solid var(--gold);
  padding-left: 7px;
}

/* ── T5H. Mobile scaling for the eyebrow row ─────────────────────────────── */
@media (max-width: 640px) {
  .section-rule[data-eyebrow]::before,
  .classifieds-rule[data-eyebrow]::before {
    font-size:     8.5px;
    letter-spacing: 2.5px;
    margin-bottom: 7px;
  }
  .section-deck {
    font-size: 13.5px;
  }
}

/* ── EVENTS SECTION ─────────────────────────────────────────────────────── */

.ev-featured-banner {
  border: 1px solid var(--cream3);
  border-top: 3px solid var(--gold-dark);
  background: var(--cream2);
  padding: 28px 32px 24px;
  margin-bottom: 32px;
}
.ev-featured-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.ev-featured-date {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink3);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.ev-featured-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.22;
}
.ev-featured-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.ev-featured-location {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink3);
  letter-spacing: 0.5px;
}
.ev-featured-org {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink4);
  font-style: italic;
}
.ev-featured-desc {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 20px;
}
.ev-featured-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ev-btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 18px;
  border: 1px solid;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ev-btn--primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.ev-btn--primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.ev-featured-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink3);
  padding: 3px 8px;
  border: 1px solid var(--rule-lt);
}

/* Events grid */
.ev-grid-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--rule);
  padding-bottom: 8px;
  margin-bottom: 0;
}
.ev-grid-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink2);
  font-weight: 700;
}
.ev-grid-meta {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink4);
  font-style: italic;
}
.ev-grid {
  margin-bottom: 36px;
}
.ev-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 0 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--cream3);
  transition: background 0.12s;
}
.ev-card:hover { background: rgba(251,247,240,0.6); }
.ev-card-date-col {
  padding-top: 2px;
}
.ev-card-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
  border: 1px solid var(--cream3);
  border-top: 2px solid var(--gold-dark);
  padding: 7px 6px 8px;
  background: var(--cream2);
  width: 64px;
}
.ev-date-day {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 3px;
  letter-spacing: -0.5px;
}
.ev-date-month {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 2px;
}
.ev-date-year {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink4);
  display: block;
  letter-spacing: 0.5px;
}
.ev-card-content { min-width: 0; }
.ev-card-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.ev-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 2px 7px;
  border: 1px solid;
}
.ev-tag--conference { border-color: var(--ink2); color: var(--ink2); }
.ev-tag--forum      { border-color: var(--gold-dark); color: var(--gold-dark); }
.ev-tag--awards     { border-color: var(--ink3); color: var(--ink3); }
.ev-tag--networking { border-color: var(--ink3); color: var(--ink3); }
.ev-tag--exhibition { border-color: var(--ink2); color: var(--ink2); }
.ev-card-location {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink3);
  letter-spacing: 0.5px;
}
.ev-card-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.3;
}
.ev-card-desc {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.65;
  margin-bottom: 10px;
  max-width: 640px;
}
.ev-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ev-card-org {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink4);
  font-style: italic;
}
.ev-card-link {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}
.ev-card-link:hover { color: var(--ink); }

/* Empty state */
.ev-empty {
  padding: 48px 24px;
  text-align: center;
  border-bottom: 1px solid var(--cream3);
}
.ev-empty-glyph {
  font-size: 28px;
  color: var(--cream3);
  margin-bottom: 14px;
}
.ev-empty-title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink2);
  margin-bottom: 10px;
}
.ev-empty-text,
.ev-empty-cta {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink4);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 8px;
}

/* Submit divider */
.ev-submit-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.ev-submit-divider-line {
  flex: 1;
  height: 1px;
  background: var(--cream3);
}
.ev-submit-divider-glyph {
  font-size: 16px;
  color: var(--gold-dark);
  opacity: 0.7;
  flex-shrink: 0;
}

/* Submission section */
.ev-submission {}
.ev-sub-header {
  margin-bottom: 28px;
  max-width: 640px;
}
.ev-sub-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.ev-sub-title {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.18;
}
.ev-sub-lead {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.7;
}
.ev-sub-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}
.ev-form-panel {
  border: 1px solid var(--cream3);
  border-top: 3px solid var(--gold-dark);
  background: var(--cream2);
  padding: 28px 32px 32px;
}

/* Responsive */
@media (max-width: 1080px) {
  .ev-sub-layout { grid-template-columns: 1fr 300px; gap: 28px; }
}
@media (max-width: 860px) {
  .ev-sub-layout { grid-template-columns: 1fr; }
  .ev-featured-banner { padding: 20px 20px 18px; }
  .ev-form-panel { padding: 22px 20px 24px; }
  .ev-card { grid-template-columns: 60px 1fr; gap: 0 14px; }
  .ev-card-date { width: 52px; }
  .ev-date-day { font-size: 15px; }
}
@media (max-width: 640px) {
  .ev-featured-banner { padding: 16px 16px 14px; }
  .ev-featured-desc { font-size: 13px; }
  .ev-card { grid-template-columns: 1fr; }
  .ev-card-date-col { margin-bottom: 10px; }
  .ev-card-date { flex-direction: row; width: auto; border-top: 2px solid var(--gold-dark); padding: 5px 10px; gap: 8px; align-items: baseline; }
  .ev-date-day { font-size: 14px; margin-bottom: 0; }
  .ev-form-panel { padding: 16px 14px 18px; }
  .ev-sub-layout { gap: 24px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PERFORMANCE — Skeleton Loaders, Layout Anchors, Rendering Optimizations
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── P1. Skeleton shimmer base ────────────────────────────────────────────── */
@keyframes skel-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skel {
  display: inline-block;
  border-radius: 2px;
  background: linear-gradient(90deg,
    var(--cream2) 0%,
    var(--cream3) 45%,
    var(--cream2) 55%,
    var(--cream3) 100%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.6s ease-in-out infinite;
  color: transparent;         /* hide any text inside */
  user-select: none;
}
/* Size variants */
.skel--xs   { width: 44px;  height: 13px; }
.skel--sm   { width: 76px;  height: 13px; }
.skel--md   { width: 130px; height: 13px; }
.skel--lg   { width: 200px; height: 13px; }
.skel--full { width: 100%;  height: 13px; display: block; }
.skel--title { width: 80%;  height: 20px; display: block; margin-bottom: 10px; }
.skel--body  { width: 100%; height: 13px; display: block; margin-bottom: 6px; }
.skel--body-short { width: 60%; height: 13px; display: block; }

/* Skeleton table rows */
.skel-row td { padding: 9px 8px !important; vertical-align: middle; }

/* ── P2. Layout anchors — reserve space so content load doesn't shift page ── */
/* Containers that receive dynamic content get a minimum height.
   Once JS populates them, the min-height has no effect. */
#newsGrid:empty     { min-height: 320px; }
#stocksBody:empty   { min-height: 280px; }
#maGrid:empty       { min-height: 220px; }
#briefItems:empty   { min-height: 180px; }

/* Lead and secondary story: already have static HTML so no min-height needed */

/* Market chart container: explicit height prevents shift */
.wp-chart-wrap      { contain: layout; }

/* ── P3. Reduce expensive GPU effects on mobile ───────────────────────────── */
/* backdrop-filter: blur() triggers GPU compositing — costly on weaker devices */
@media (max-width: 860px) {
  .masthead           { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .wire-bar           { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (max-width: 640px) {
  /* Remove ALL blur effects — mobile GPU cannot sustain them without jank */
  * { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}

/* ── P4. Scroll performance — promote scrolled regions to their own layer ─── */
.paper-table-wrap   { will-change: scroll-position; }
.wire-track         { will-change: transform; }       /* already animating — hint to GPU */

/* ── P5. Image dimensions to prevent layout shift ────────────────────────── */
/* aspect-ratio gives the browser the known ratio so it reserves the correct
   width before the PNG loads (CLS prevention). height: auto is intentionally
   absent — the explicit height: 52px above controls the rendered size. */
.marefin-logo-img   { aspect-ratio: 280 / 75; }
.testimonial-avatar { aspect-ratio: 1 / 1; }

/* ── P6. Font loading: prevent invisible text on slow connections ─────────── */
/* font-display:swap is set in the Google Fonts URL — this ensures fallback
   serif/sans show until custom fonts download */
body        { font-synthesis: none; }
.masthead-title { font-display: swap; }   /* hint — actual swap is in @font-face */

/* ── P7. Reduce repaints during data updates ─────────────────────────────── */
/* Use transform for ticker animation rather than left/margin (avoids layout) */
.wire-track { transform: translateZ(0); } /* compositing layer */
.snapshot-live-dot { transform: translateZ(0); }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE OPTIMIZATION — Full-Platform Pass
   All rules here are additive and ordered small→large where possible.
   Critical bug fix (orphaned 600px block) is in the block above.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── R0. Nav: smooth open/close transition ───────────────────────────────── */
.masthead-nav {
  transition: padding 0.18s ease;
}
@media (max-width: 860px) {
  .masthead-nav .mnav-link {
    transition: opacity 0.15s ease, transform 0.15s ease;
  }
  .masthead-nav:not(.open) .mnav-link {
    opacity: 0;
    pointer-events: none;
  }
  .masthead-nav.open .mnav-link {
    opacity: 1;
    pointer-events: auto;
    min-height: 44px;         /* touch target */
    display: flex;
    align-items: center;
  }
  .mnav-toggle {
    min-height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ── R1. Wide desktop: prevent layout stretch on ultrawide monitors ───────── */
@media (min-width: 1440px) {
  .container           { max-width: 1340px; }
  .masthead-top        { max-width: 1340px; }
  .masthead-nav        { max-width: 1340px; }
  .masthead-title-wrap { max-width: 1340px; }
  .newspaper-grid      { grid-template-columns: 1fr 28px 1fr 28px 360px; }
}

/* ── R2. Laptop (max-width: 1200px): tighten brief column ───────────────── */
@media (max-width: 1200px) {
  .newspaper-grid { grid-template-columns: 1fr 24px 1fr 24px 280px; }
}

/* ── R3. Tablet landscape (max-width: 1080px): additions ────────────────── */
@media (max-width: 1080px) {
  /* Right masthead meta (date/sponsor) hidden — keeps header bar uncluttered */
  .masthead-meta.right { display: none; }
  /* Analyst table: enable horizontal scroll at tablet before layout collapses */
  .ac-main { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ac-table { min-width: 520px; }
}

/* ── R4. Tablet portrait (max-width: 860px): additions to existing rules ─── */
@media (max-width: 860px) {
  /* Masthead top: reduce to 2-col (hide date on left) */
  .masthead-top {
    grid-template-columns: 1fr auto;
    padding: 6px 20px 4px;
  }
  .masthead-meta.left { display: none; }

  /* Title: tighten vertical rhythm */
  .masthead-title-wrap { padding: 12px 20px 10px; }

  /* About fleet stats: wrap instead of overflow */
  .about-fleet-stats {
    flex-wrap: wrap;
    border-bottom: none;
  }
  .afs-item {
    flex: 1 0 33%;
    min-width: 90px;
    border-bottom: 1px solid var(--cream3);
    padding: 12px 8px;
  }
  .afs-sep { display: none; }

  /* Footer: stack brand above links */
  .footer-inner   { flex-direction: column; gap: 20px; }
  .footer-links   { margin-left: 0; gap: 12px 16px; }
  .footer-bottom  { flex-direction: column; gap: 4px; text-align: center; }

  /* Filter pills: bigger tap targets */
  .fpill, .tpill { min-height: 36px; padding: 5px 10px; }

  /* Briefing bar: lighter for smaller screens */
  .bb-item  { padding: 0 8px; }
  .bb-val   { font-size: 13px; }
  .bb-key   { font-size: 10px; letter-spacing: 0.5px; }

}

/* ── R5. Mobile (max-width: 640px): additions to existing rules ──────────── */
@media (max-width: 640px) {
  /* Masthead: tighter, cleaner */
  .masthead-title-wrap { padding: 10px 16px 8px; }
  .masthead-ornament   { font-size: 9px; letter-spacing: 5px; margin-bottom: 4px; }
  .masthead-kicker     { font-size: 10px; letter-spacing: 1.5px; }
  .masthead-tagline    { letter-spacing: 2px; }

  /* Briefing bar: hide EDGAR filing link to keep bar scannable */
  .bb-filing              { display: none; }
  .bb-sep-v:nth-child(4)  { display: none; }  /* the sep before filing */

  /* About fleet stats: go fully vertical for clarity */
  .about-fleet-stats  { flex-direction: column; flex-wrap: nowrap; }
  .afs-item {
    flex: none;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    text-align: left;
    border-bottom: 1px solid var(--cream3);
    min-width: 0;
  }
  .afs-item:last-child { border-bottom: none; }
  .afs-val  { font-size: 22px; margin-bottom: 0; min-width: 64px; }
  .afs-sep  { display: none; }

  /* Story share buttons: wrap on narrow screens */
  .story-share        { flex-wrap: wrap; gap: 6px; }
  .story-share button,
  .story-share a      { font-size: 12px; padding: 5px 10px; min-height: 36px; }

  /* Market snapshot: smaller type */
  .snapshot-table td  { font-size: 12px; padding: 5px 6px; }
  .snapshot-table th  { font-size: 11px; }
  .snapshot-label     { font-size: 10px; padding: 5px 10px; }

  /* Paper table: tighter on mobile */
  .paper-table        { font-size: 12.5px; }
  .paper-table th,
  .paper-table td     { padding: 6px 5px; }

  /* MA card value: scale down */
  .ma-card-value      { font-size: clamp(18px, 5vw, 22px); }

  /* Subscribe form: full width inputs */
  .sub-box-form input[type="email"] { width: 100%; box-sizing: border-box; }
  .sub-ci { grid-template-columns: max-content 1fr; gap: 12px; }

  /* Filter rows: tighter */
  .filter-row { gap: 4px 3px; }

  /* Brief box: tighter padding */
  .brief-item { padding: 8px 10px; }

  /* Section label size on mobile */
  .sr-label { font-size: clamp(18px, 5.5vw, 26px); padding: 0 12px; }

  /* Footer links: wrap tightly */
  .footer-links { gap: 8px 12px; }
  .footer-links a { font-size: 13px; }
}

/* ── R6. Small phones (max-width: 480px) ─────────────────────────────────── */
@media (max-width: 480px) {
  /* Container: narrower side gutter */
  .container { padding: 0 16px; }

  /* Masthead: single-row meta */
  .masthead-top {
    grid-template-columns: 1fr;
    padding: 5px 16px 3px;
  }
  .masthead-meta.center { justify-self: start; }
  .masthead-nav { padding: 0 16px; }
  .masthead-nav.open { padding: 40px 16px 8px; }
  .masthead-nav .mnav-toggle { right: 16px; }

  /* Title ornament: simpler */
  .masthead-ornament { letter-spacing: 3px; }

  /* Section rule label: fits narrow screen */
  .sr-label { padding: 0 8px; }

  /* Section deck: compact */
  .section-deck { font-size: 13px; padding-left: 8px; }

  /* Briefing bar: ultra-compact */
  .bb-inner   { gap: 6px; padding: 0 12px; }
  .bb-key     { font-size: 9px; }
  .bb-val     { font-size: 12px; }
  .bb-label   { font-size: 9px; letter-spacing: 0.5px; padding: 0 6px; }

  /* Filter pills: very small */
  .fpill, .tpill { padding: 4px 8px; font-size: 11px; }

  .wp-chart-wrap    { height: 88px; }

  /* Paper section: minimal vertical space */
  .paper-section,
  .paper-section--tinted { padding: 20px 0 24px; }

  /* Story body: slightly smaller */
  .story-body { font-size: 15px; }

  /* MA deals: full-bleed on phones */
  .ma-card { padding: 14px 0 !important; }

  /* Subscribe layout: tighten */
  .subscribe-layout { gap: 24px; }
  .sub-headline { font-size: clamp(26px, 7vw, 36px); }

  /* Footer: minimal */
  .footer-inner { gap: 16px; }
  .footer-links a { font-size: 12px; }
  .footer-bottom { font-size: 11px; }
}

/* ── R7. Touch devices: reliable tap targets ──────────────────────────────── */
@media (pointer: coarse) {
  .fpill, .tpill { min-height: 40px; }
  .sub-box-form button { min-height: 48px; }
  .wire-item  { padding: 4px 12px; }
}

/* ── R8. Reduced motion: disable animations ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .wire-track          { animation: none; overflow-x: auto; }
  .snapshot-live-dot   { animation: none; opacity: 1; }
  *,
  *::before,
  *::after             { transition-duration: 0.01ms !important;
                         animation-duration:  0.01ms !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   EDITORIAL SYSTEM — Article Hierarchy & Publication-Grade Reading Experience
   All rules are additive and scoped to article/news components.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── E1. Story standfirst — editorial deck below headline ─────────────────── */
/* The standfirst gives the reader the key point before they commit to the body.
   Visually distinct from both headline (larger) and body (lighter weight). */
.story-standfirst {
  font-family:  var(--serif);
  font-size:    clamp(15px, 1.55vw, 18px);
  font-weight:  400;
  font-style:   italic;
  line-height:  1.7;
  color:        var(--ink2);
  border-left:  3px solid var(--gold);
  padding-left: 14px;
  margin:       0 0 12px;
}

/* ── E2. Story meta-bar — source + date + reading time in one credibility row  */
.story-meta-bar {
  display:     flex;
  align-items: center;
  gap:         6px;
  flex-wrap:   wrap;
  font-family: var(--sans);
  font-size:   12px;
  color:       var(--ink4);
  margin:      0 0 8px;
  letter-spacing: 0.1px;
}
.story-meta-source {
  font-weight:     700;
  color:           var(--ink3);
  text-transform:  uppercase;
  letter-spacing:  0.6px;
  font-size:       11px;
}
.story-meta-sep  { color: var(--rule-lt); }
.story-meta-date { font-style: italic; }
.story-meta-time {
  background:    var(--cream2);
  border:        1px solid var(--cream3);
  padding:       1px 6px;
  border-radius: 2px;
  font-size:     10.5px;
  color:         var(--ink3);
  letter-spacing: 0.2px;
  white-space:   nowrap;
}

/* ── E3. Story body: paragraph rhythm + optimal line length ───────────────── */
/* Paragraphs need breathing room — tight spacing signals low-grade content */
.story-body p + p     { margin-top: 16px; }
.story-body strong    { color: var(--ink); font-weight: 700; }
.story-body em        { font-style: italic; color: var(--ink2); }

/* Max line length on unconstrained (single) column layouts */
.story--lead .story-body:not(.story-body--cols),
.story--secondary .story-body,
.story--brief .story-body {
  max-width: 70ch;
}

/* ── E4. Story subheadings — editorial section breaks within body text ─────── */
.story-subhead,
.story-body h3,
.story-body h4 {
  font-family:     var(--sans);
  font-size:       11.5px;
  font-weight:     800;
  letter-spacing:  1.8px;
  text-transform:  uppercase;
  color:           var(--ink);
  margin:          24px 0 10px;
  padding-top:     16px;
  border-top:      1px solid var(--cream3);
  clear:           both; /* clear dropcap float */
}

/* ── E5. Pull quote — prominent in-article callout ─────────────────────────── */
/* Override the existing border-only treatment with a richer layout */
.pull-quote {
  border-top:     none;
  border-bottom:  none;
  border-left:    4px solid var(--gold);
  padding:        14px 20px 14px 18px;
  margin:         24px 0;
  background:     rgba(184,148,60,0.05);
}
.pq-mark { display: none; } /* hide the large quotation mark — gold border carries it */
.pq-text {
  font-size:   clamp(17px, 1.8vw, 21px);
  font-style:  italic;
  line-height: 1.65;
  color:       var(--ink);
  margin:      0 0 8px;
}
.pq-attr {
  font-size: 11px;
  color:     var(--ink4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── E6. Key Takeaways box ────────────────────────────────────────────────── */
.key-takeaways {
  border:        1px solid var(--cream3);
  border-left:   4px solid var(--gold-dark);
  padding:       14px 18px;
  margin:        20px 0;
  background:    var(--cream2);
  clear:         both;
}
.kt-label {
  font-family:    var(--sans);
  font-size:      10px;
  font-weight:    800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color:          var(--gold-dark);
  margin-bottom:  8px;
}
.kt-list {
  list-style:  none;
  margin:      0;
  padding:     0;
  display:     flex;
  flex-direction: column;
  gap:         6px;
}
.kt-list li {
  font-family:  var(--sans);
  font-size:    13.5px;
  line-height:  1.55;
  color:        var(--ink2);
  padding-left: 14px;
  position:     relative;
}
.kt-list li::before {
  content:    '→';
  position:   absolute;
  left:       0;
  color:      var(--gold-dark);
  font-weight: 700;
}

/* ── E7. Story continued / read-link — stronger editorial CTA ─────────────── */
.story-continued {
  font-style: normal;
  font-size:  13px;
}
.story-read-link {
  display:      inline-flex;
  align-items:  center;
  gap:          6px;
  font-weight:  700;
  font-size:    13px;
  padding:      5px 12px 5px 0;
  color:        var(--gold-dark);
}
.story-read-link:hover { color: var(--ink); }

/* ── E8. Brief items — add source label and teaser snippet ────────────────── */
.brief-item {
  padding: 11px 14px;
}
.brief-item-meta {
  display:        flex;
  align-items:    center;
  gap:            5px;
  margin-bottom:  4px;
}
.brief-source {
  font-family:    var(--sans);
  font-size:      10px;
  color:          var(--ink4);
  font-style:     italic;
}
.brief-link {
  font-family:  var(--sans);
  font-size:    13.5px;
  font-weight:  700;
  line-height:  1.45;
  color:        var(--ink);
  display:      block;
}
.brief-link:hover { color: var(--gold-dark); }
.brief-snippet {
  font-family:          var(--sans);
  font-size:            12.5px;
  color:                var(--ink4);
  line-height:          1.55;
  margin-top:           5px;
  display:              -webkit-box;
  -webkit-line-clamp:   2;
  -webkit-box-orient:   vertical;
  overflow:             hidden;
}

/* ── E9. News card editorial upgrade ─────────────────────────────────────── */

/* Category chip: distinct visual token — replaces flat text */
.news-cat {
  background:    rgba(154,123,44,0.10);
  padding:       2px 7px;
  border-radius: 2px;
  font-size:     10.5px;
  letter-spacing: 1.8px;
}

/* Source inline in meta row */
.news-meta-sep {
  font-family: var(--sans);
  font-size:   11px;
  color:       var(--rule-lt);
}
.news-source-inline {
  font-family:    var(--sans);
  font-size:      11px;
  font-weight:    600;
  color:          var(--ink4);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space:    nowrap;
  overflow:       hidden;
  text-overflow:  ellipsis;
  max-width:      140px;
}

/* Reading time badge */
.news-read-time {
  font-family:  var(--sans);
  font-size:    10.5px;
  color:        var(--ink4);
  background:   var(--cream2);
  border:       1px solid var(--cream3);
  padding:      1px 5px;
  border-radius: 2px;
  white-space:  nowrap;
  margin-left:  auto;
}

/* Headline: cap to 3 lines, cleaner hover */
.news-title {
  display:              -webkit-box;
  -webkit-line-clamp:   3;
  -webkit-box-orient:   vertical;
  overflow:             hidden;
  transition:           color 0.12s;
}

/* Summary: 3-line clamp (was 4) — tighter scanning */
.news-summary {
  -webkit-line-clamp: 3;
  font-size:          14px;
  color:              var(--ink2);
  line-height:        1.72;
}

/* News rule: slightly lighter, more editorial */
.news-rule {
  border-top:   1px solid var(--cream3);
  margin:       0;
  opacity:      0.8;
}

/* News footer: date moves here from meta row */
.news-footer {
  font-family: var(--sans);
}
.news-date {
  font-size:  11px;
  font-style: normal;
  color:      var(--ink4);
  letter-spacing: 0.1px;
}

/* ── E10. Inline financial figure — mono styled data reference ─────────────── */
/* Apply class="fin-fig" to inline numbers like "$120B" or "BDI +42" */
.fin-fig {
  font-family:          var(--mono);
  font-weight:          700;
  font-variant-numeric: tabular-nums;
  color:                var(--ink);
  background:           rgba(20,16,10,0.05);
  padding:              1px 5px;
  border-radius:        2px;
  font-size:            0.93em;
  white-space:          nowrap;
}

/* ── E11. Story hover card — subtle lift on secondary article hover ─────────── */
.story--secondary,
.story--brief {
  transition: opacity var(--t);
}
.story--secondary:hover,
.story--brief:hover { opacity: 0.88; }
.story--secondary .story-hl-link:hover,
.story--brief .story-hl-link:hover { text-decoration: underline; }

/* ── E12. Dropcap: prevent column orphan ─────────────────────────────────── */
.story-body--cols .dropcap { margin-top: 4px; }

/* ── E13. Mobile reading experience ──────────────────────────────────────── */
@media (max-width: 860px) {
  /* Standfirst: tighter border on tablet */
  .story-standfirst { font-size: 15px; }

  /* Brief snippet hidden on tablet to save vertical space */
  .brief-snippet { display: none; }

  /* News source inline: shorter max-width */
  .news-source-inline { max-width: 100px; }
}

@media (max-width: 640px) {
  /* Standfirst: slightly smaller on phone */
  .story-standfirst {
    font-size:    14.5px;
    padding-left: 10px;
    border-left-width: 2px;
  }

  /* Meta-bar: wrap to two lines gracefully */
  .story-meta-bar  { gap: 5px; font-size: 11px; }
  .story-meta-time { font-size: 10px; }

  /* News title: 4 lines on narrow mobile (content is precious) */
  .news-title { -webkit-line-clamp: 4; }

  /* Key takeaways: full width on mobile */
  .key-takeaways { padding: 12px 14px; }
  .kt-list li    { font-size: 13px; }

  /* Brief link: smaller on mobile */
  .brief-link { font-size: 13px; }

  /* Source inline: hide on very small screens */
  .news-source-inline,
  .news-meta-sep    { display: none; }
  .news-read-time   { margin-left: 0; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   T6 — TAXONOMY: CATEGORY CHIP COLOUR SYSTEM
   Each category gets a distinct colour treatment so finance professionals can
   scan content type at a glance — consistent with Bloomberg / FT chip patterns.
   Legacy aliases (Markets, Stocks, Financing, Announcements) kept for articles
   already in session cache with old category names.
   ══════════════════════════════════════════════════════════════════════════════ */

.news-cat--freight      { background: rgba(37,99,235,0.09);  color: #1e3a8a; border-left-color: #2563eb; }
.news-cat--greekstocks  { background: rgba(5,150,105,0.09);  color: #064e3b; border-left-color: #059669; }
.news-cat--finance      { background: rgba(184,148,60,0.14); color: var(--gold-dark); border-left-color: var(--gold); }
.news-cat--ma           { background: rgba(20,16,10,0.09);   color: var(--ink2); border-left-color: var(--ink3); }
.news-cat--regulation   { background: rgba(217,119,6,0.10);  color: #78350f; border-left-color: #d97706; }
.news-cat--insurance    { background: rgba(79,70,229,0.08);  color: #312e81; border-left-color: #4f46e5; }
.news-cat--filings      { background: rgba(20,16,10,0.12);   color: var(--ink); border-left-color: var(--ink2); }
.news-cat--ir           { background: rgba(75,85,99,0.09);   color: #1f2937; border-left-color: #6b7280; }

/* Legacy aliases — articles cached before taxonomy rename display correctly */
.news-cat--equities    { background: rgba(5,150,105,0.09);  color: #064e3b; border-left-color: #059669; }
.news-cat--markets     { background: rgba(37,99,235,0.09);  color: #1e3a8a; border-left-color: #2563eb; }
.news-cat--stocks      { background: rgba(5,150,105,0.09);  color: #064e3b; border-left-color: #059669; }
.news-cat--financing   { background: rgba(184,148,60,0.14); color: var(--gold-dark); border-left-color: var(--gold); }
.news-cat--announcements { background: rgba(75,85,99,0.09); color: #1f2937; border-left-color: #6b7280; }

/* ── T6B. Section-rule modifier for Greek Stocks section ─────────────────── */
.sr--equity .sr-line { background: rgba(5,150,105,0.6); opacity: 0.55; }

/* ══════════════════════════════════════════════════════════════════════════════
   D — CONTROLLED INFORMATION DENSITY
   Bloomberg / FT / Reuters inspired density system.
   Goal: maximum intelligence per viewport without visual overload.

   D1  Section padding compression — reduce dead vertical space
   D2  News card density — smaller type, tighter spacing, more cards visible
   D3  Brief sidebar — compact scannable items
   D4  Stock table — tighter rows for terminal feel
   D5  Market Movers bar — key equity metrics above stocks table
   D6  Headlines strip — live breaking news before filters
   D7  Briefing bar — compact data points
   D8  Mobile density — graceful density on small screens
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── D1. Section padding compression ─────────────────────────────────────── */
.paper-section          { padding: 38px 0 44px !important; }
.paper-section--tinted  { padding: 36px 0 42px !important; }
.paper-section--dark    { padding: 56px 0 64px !important; }

/* ── D2. News card density — 3-col grid feels tight, not crowded ─────────── */
.news-card {
  padding: 14px 16px 14px 0 !important;
  gap: 5px !important;
}
.news-card:nth-child(3n+2),
.news-card:nth-child(3n+3) { padding-left: 16px !important; }
.news-card:nth-child(3n)   { padding-right: 0 !important;   }

.news-title {
  font-size: clamp(14px, 1.35vw, 17px) !important;
  line-height: 1.32 !important;
}
.news-summary {
  font-size: 13px !important;
  line-height: 1.6  !important;
  -webkit-line-clamp: 3 !important;
}
.news-footer { padding-top: 6px !important; }
.news-read-time { font-size: 10px !important; }

/* ── D3. Brief sidebar — headline-density, FT "In Brief" style ────────────── */
.brief-item           { padding: 8px 12px !important; }
.brief-item p         { font-size: 13px !important; line-height: 1.5 !important; }
.brief-snippet        { font-size: 12px !important; -webkit-line-clamp: 1 !important; }
.sub-box-desc         { display: none; }
.sub-box              { padding: 16px !important; }
.sub-box-title        { margin-bottom: 10px !important; }

/* ── D4. Stock table — tighter rows for terminal density ─────────────────── */
.paper-table td { padding: 7px 10px !important; }
.paper-table th { padding: 7px 10px !important; }
.paper-table--compact th,
.paper-table--compact td { padding: 5px 8px !important; }
.st-company { font-size: 14px !important; }

/* ── D5. Market Movers Bar ───────────────────────────────────────────────── */
.market-movers-bar {
  display: flex;
  align-items: stretch;
  margin-bottom: 18px;
  border: 1px solid var(--cream3);
  border-top: 2px solid var(--ink);
  background: var(--cream);
  overflow: hidden;
}
.mm-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 16px 10px;
  flex: 1;
  min-width: 0;
  border-left: 1px solid var(--cream3);
}
.mm-item:first-child { border-left: none; }
.mm-label {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink4);
  white-space: nowrap;
}
.mm-content {
  display: flex;
  align-items: center;
  gap: 7px;
}
.mm-ticker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.5px;
}
.mm-price {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.mm-chg {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.mm-chg.up  { color: #1a7c3e; }
.mm-chg.dn  { color: #b03030; }
.mm-meta    { font-family: var(--sans); font-size: 10px; color: var(--ink4); }
.mm-adv     { font-family: var(--mono); font-size: 15px; font-weight: 700; color: #1a7c3e; }
.mm-dec     { font-family: var(--mono); font-size: 15px; font-weight: 700; color: #b03030; }
.mm-sep-sm  { font-family: var(--sans);  font-size: 14px; color: var(--ink4); margin: 0 2px; }

/* ── D7. Briefing bar — pack more data in same bar height ─────────────────── */
.bb-key  { font-size: 9.5px; letter-spacing: 1.2px; }
.bb-val  { font-size: 12px; }
.bb-chg  { font-size: 11px; }
.bb-dot  { margin: 0 1px; font-size: 10px; }
.bb-item { gap: 4px; }

/* ── D8. Mobile density ───────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .market-movers-bar { flex-wrap: wrap; }
  .mm-item { flex: 1 1 50%; min-width: 130px; border-top: 0; }
  .mm-item:nth-child(3) { border-left: none; border-top: 1px solid var(--cream3); }
  .mm-item:nth-child(4) { border-top: 1px solid var(--cream3); }
}

@media (max-width: 600px) {
  .market-movers-bar  { display: none; }  /* below 600px, stocks table is already scrollable — movers add noise */
.paper-section      { padding: 28px 0 34px !important; }
  .paper-section--tinted { padding: 28px 0 34px !important; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   Q — INSTITUTIONAL QUALITY PASS: Bloomberg / Financial Times Grade Refinement
   Terminal design layer. All rules complete the institutional financial media
   positioning — restrained, precise, editorially authoritative.
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Q1. Masthead: Precision Sizing ──────────────────────────────────────────
   72px max is too large for institutional financial media. Bloomberg Terminal,
   FT, Reuters all use commanding but restrained masthead typesetting.
   Reduce to 60px max. Also tighten tagline letter-spacing (3px → 2px).        */

.masthead-title {
  font-size: clamp(30px, 4.8vw, 60px);
  letter-spacing: -0.5px;
}

.masthead-title-wrap {
  padding: 14px 28px 10px;
}

.masthead-ornament {
  font-size: 10px;
  letter-spacing: 6px;
  color: rgba(154, 123, 44, 0.5);
  margin-bottom: 5px;
}

.masthead-tagline {
  letter-spacing: 2px;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 400;
}

.mnav-link {
  font-size: clamp(11.5px, 0.95vw, 13px);
}

.mnav-sep {
  color: var(--cream3);
}

/* ── Q2. Section Labels: Editorial Scale ─────────────────────────────────────
   32px max section labels compete visually with lead headlines.
   26px is commanding enough to anchor a section without fighting the content. */

.sr-label {
  font-size: clamp(17px, 1.9vw, 26px);
  letter-spacing: -0.2px;
}

/* ── Q4. Typography Calibration: Body Text Rhythm ────────────────────────────
   FT uses 1.65–1.72 line-height for editorial body text at 16–18px.
   1.9 reads as "e-learning platform" rather than "financial newspaper".
   Tighten to 1.76 — dense enough to scan fast, open enough to read long.      */

.story-body {
  line-height: 1.76;
}

.about-body {
  line-height: 1.76;
}

.story--lead .story-headline {
  font-size: clamp(28px, 3.8vw, 48px);
}

/* ── Q5. Testimonial: Restrained Quotation Design ────────────────────────────
   96px opening quotation marks are a Squarespace/Wix template pattern.
   FT and Bloomberg attribution blocks use 60–72px max. Scale to 64px.         */

.testimonial-quote-mark {
  font-size: 64px;
  line-height: 0.6;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: clamp(16px, 1.7vw, 21px);
  line-height: 1.68;
}

.testimonial-strip {
  padding: 44px 0 40px;
}

/* ── Q6. Hover States: Meaningful Visual Feedback ────────────────────────────
   Current news-card hover is rgba(251,247,240,0.95) — virtually identical to
   the base cream background. The hover does nothing visible. Use a gold-tint
   that provides clear but restrained feedback.
   Table rows get a gold left-border accent — a Bloomberg Terminal pattern that
   helps the eye track across wide data tables.                                 */

.news-card:hover {
  background: rgba(154, 123, 44, 0.05);
}

.ma-card:hover {
  background: rgba(154, 123, 44, 0.05);
}

.paper-table tbody tr {
  transition: background var(--t), box-shadow var(--t);
}
.paper-table tbody tr:hover {
  background: rgba(154, 123, 44, 0.05);
  box-shadow: inset 3px 0 0 var(--gold);
}
.paper-table tbody tr:nth-child(even):hover {
  background: rgba(154, 123, 44, 0.07);
  box-shadow: inset 3px 0 0 var(--gold);
}

.ac-firms-table tbody tr {
  transition: background var(--t), box-shadow var(--t);
}
.ac-firms-table tbody tr:hover {
  background: rgba(154, 123, 44, 0.05);
  box-shadow: inset 3px 0 0 var(--gold);
}

.snapshot-table tbody tr {
  transition: background var(--t), box-shadow var(--t);
}
.snapshot-table tbody tr:hover {
  background: rgba(154, 123, 44, 0.05);
  box-shadow: inset 3px 0 0 var(--gold);
}

/* ── Q7. Subscribe Delivery Indicator: Editorial Presentation ────────────────
   The full-border box around "06:00" is a startup countdown/badge widget.
   Transform to a simple bordered row — more like WSJ or FT newsletter metadata. */

.sub-delivery {
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 0;
  gap: 14px;
}

.sub-delivery-badge {
  font-size: 20px;
  color: var(--gold);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 14px;
}

/* ── Q8. Interaction Refinements: No Startup Micro-Animations ────────────────
   Letter-spacing expansion on hover is a startup/SaaS "elastic" affordance.
   Institutional platforms keep button text stable on hover.                    */

.sub-btn,
.sub-btn:hover {
  letter-spacing: 1.5px;
}

/* ── Q9. Section Deck: Authoritative Editorial Voice ─────────────────────────  */

.section-deck {
  font-size: 14px;
  line-height: 1.62;
  color: var(--ink3);
  border-left-color: rgba(154, 123, 44, 0.32);
}

/* ── Q10. Story Kicker: Quiet Editorial Label ────────────────────────────────
   Reduce background tint so kicker reads as editorial label, not category tag. */

.story-kicker {
  background: rgba(154, 123, 44, 0.04);
  border-left-color: rgba(154, 123, 44, 0.6);
  font-size: 11px;
  letter-spacing: 1.8px;
}

/* ── Q11. Wire Bar: Tighter Terminal Density ─────────────────────────────────  */

.wire-bar {
  height: 30px;
}

.wire-inner {
  font-size: 12px;
}

.wire-item {
  gap: 4px;
  padding: 1px 5px;
}

/* ── Q12. Briefing Bar: Compact Data Strip ───────────────────────────────────  */

.bb-inner {
  height: 40px;
}

/* ── Q14. Focus States: Keyboard Navigation & Institutional Credibility ───────
   Bloomberg Terminal and Bloomberg Web have precise visible focus indicators.
   Adds accessibility and signals careful engineering.                          */

:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}

.wire-panel :focus-visible,
.paper-section--dark :focus-visible {
  outline-color: var(--gold2);
}

/* ── Q15. Table Alternating Rows: Terminal-Grade Clarity ─────────────────────
   Old value (0.018) was imperceptible. Increase to 0.028.                     */

.paper-table tbody tr:nth-child(even) {
  background: rgba(20, 16, 10, 0.028);
}

/* ── Q16. Dropcap: Proportional Scale ───────────────────────────────────────  */

.dropcap {
  font-size: 58px;
  line-height: 0.86;
  margin-right: 5px;
}

/* ── Q17. Responsive Q-Block Overrides ───────────────────────────────────────  */

@media (max-width: 860px) {
  .sr-label { font-size: clamp(16px, 4.5vw, 24px); }
}

@media (max-width: 640px) {
  .testimonial-quote-mark { font-size: 52px; }
  .story-body             { line-height: 1.7; }
  .masthead-title         { font-size: clamp(26px, 7vw, 40px); }
  .sr-label               { font-size: clamp(15px, 5.5vw, 22px); padding: 0 12px; }
  .masthead-ornament      { font-size: 9px; letter-spacing: 4px; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   P — PLATFORM IDENTITY: masthead credential strip
   ══════════════════════════════════════════════════════════════════════════════ */
.masthead-cred-strip {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink4);
  margin: 8px 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mcs-sep {
  color: var(--gold);
  opacity: 0.7;
}
@media (max-width: 480px) {
  .masthead-cred-strip { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   R — INSTITUTIONAL QUALITY PASS 2
   ══════════════════════════════════════════════════════════════════════════════ */

/* R1 — Active nav section indicator
   Gold underline marks the current section as the user scrolls — the same
   convention used by FT and Bloomberg for section-level navigation.
   The ::after pseudo-element avoids layout disruption from border-bottom
   and works regardless of flex/inline-flex container context.               */
.mnav-link.active {
  color: var(--gold-dark);
  position: relative;
}
.mnav-link.active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--gold-dark);
  opacity: 0.55;
}
.mnav-link--sub.active {
  background: var(--gold-dark);
  color: var(--cream);
}
.mnav-link--sub.active::after { display: none; }

/* Mobile: active state in dropdown just uses the gold colour, no underline */
@media (max-width: 860px) {
  .mnav-link.active::after { display: none; }
}

/* R2 — Segment badges: tinted fills for editorial clarity
   Text-only colour (existing) is weak at 13px. A very light fill tint
   disambiguates segments at a glance without saturating the table.          */
.seg-dry  { background: rgba(122, 85,  0, 0.08); color: #7A5500; padding: 1px 6px; }
.seg-tank { background: rgba(107, 26, 26, 0.08); color: #6B1A1A; padding: 1px 6px; }
.seg-cont { background: rgba( 26, 58,107, 0.08); color: #1A3A6B; padding: 1px 6px; }
.seg-gas  { background: rgba( 26, 90, 46, 0.08); color: #1A5A2E; padding: 1px 6px; }

/* R3 — Classified placeholder: editorial over wireframe
   Replace the dashed border (prototype signal) with a bottom-rule label.
   The gold-tinted colour and fine underline read as "editorial note"
   rather than "unfilled placeholder."                                        */
.ca-label {
  border: none;
  border-bottom: 1px solid rgba(154, 123, 44, 0.35);
  color: var(--gold-dark);
  letter-spacing: 2px;
  font-size: 9px;
  padding: 0 0 4px;
  margin-bottom: 4px;
}

/* R4 — Ad midstrip: editorial treatment for unsold placements
   Italic copy signals "invitation" rather than a blank slot.
   Remove the inline opacity:0.35 from the sponsor name by resetting it
   via a CSS attribute selector (inline styles beat class specificity
   without !important only when selector specificity matches — here we
   use attribute presence which has same specificity as the inline style
   in cascade terms; !important is therefore needed to win).               */
.ad-midstrip-co[style] { opacity: 1 !important; color: var(--ink3); }
.ad-midstrip-from      { font-style: italic; letter-spacing: 0; font-weight: 400; }
.ad-midstrip-headline  { font-style: italic; }

/* R5 — Wire panel: warm editorial dark consistent with ink/cream palette  */
.wire-panel {
  background: #120F0A;
  border-bottom-color: rgba(154, 123, 44, 0.12);
}

/* R6 — Briefing bar: tighten the left label to match editorial brevity     */
.bb-label {
  font-size: 10px;
  letter-spacing: 2.5px;
}

/* R7 — News card: sharper meta alignment
   Ensure the source badge and timestamp sit on a precise baseline.         */
.news-meta {
  align-items: baseline;
}

/* R9 — Classified section background: match tinted paper section treatment */
.classifieds-section {
  background: var(--cream2);
  border-top: 1px solid var(--cream3);
  border-bottom: 1px solid var(--cream3);
}

/* R10 — Ad label: consistent editorial labelling across all ad units       */
.ad-label {
  font-size: 9px;
  letter-spacing: 2.5px;
  opacity: 0.45;
}

/* ══ PLATFORM OVERVIEW (.pov-section) ═══════════════════════════════════════ */
.pov-section {
  background: var(--cream);
  border-top: 1px solid var(--cream3);
  border-bottom: 1px solid var(--cream3);
  padding: 32px 0 36px;
}

/* 3-column quick-nav grid */
.pov-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--cream3);
  border: 1px solid var(--cream3);
  margin-bottom: 28px;
}

.pov-nav-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  background: var(--cream);
  text-decoration: none;
  border-top: 3px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pov-nav-card:hover { background: #FAF5EC; border-top-color: var(--gold-dark); }

.pov-nav-kicker {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.pov-nav-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.pov-nav-desc {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.55;
  flex: 1;
}

.pov-nav-cta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-dark);
  margin-top: 4px;
}

/* Lower 2-column band: ad + featured */
.pov-lower {
  display: grid;
  grid-template-columns: 204px 1fr;
  gap: 0 28px;
  align-items: start;
}

.pov-block-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--cream3);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.pov-read-more {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
  margin-top: 14px;
  letter-spacing: 0.3px;
}

.pov-read-more:hover { text-decoration: underline; }

/* Ad midstrip */
.pov-ad-midstrip {
  background: var(--cream2);
  border: 1px solid var(--cream3);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pov-ad-label {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink4);
  opacity: 0.5;
}

.pov-ad-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pov-ad-placeholder {
  font-family: var(--sans);
  font-size: 12px;
  font-style: italic;
  color: var(--ink3);
  line-height: 1.6;
}

.pov-ad-cta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
  border: 1px solid var(--gold-dark);
  padding: 7px 10px;
  display: block;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.pov-ad-cta:hover { background: var(--gold-dark); color: var(--cream); }

/* Featured companies column */
.pov-chips-col {
  display: flex;
  flex-direction: column;
}

.pov-company-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--cream3);
  text-decoration: none;
  transition: background 0.1s;
}

.pov-company-chip:first-child { padding-top: 0; }

.pov-chip-ticker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  min-width: 38px;
}

.pov-chip-name {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink2);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pov-chip-price {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.pov-chip-chg {
  font-family: var(--mono);
  font-size: 11px;
  min-width: 44px;
  text-align: right;
}

.pov-chip-chg--up   { color: #1A6B3C; }
.pov-chip-chg--dn   { color: #8B2020; }
.pov-chip-chg--flat { color: var(--ink4); }

/* Responsive */
@media (max-width: 1024px) {
  .pov-nav-grid { grid-template-columns: repeat(2, 1fr); }
  .pov-lower { grid-template-columns: 180px 1fr; }
}

@media (max-width: 640px) {
  .pov-nav-grid { grid-template-columns: 1fr 1fr; }
  .pov-lower { grid-template-columns: 1fr; }
  .pov-section { padding: 20px 0 24px; }
  .pov-nav-grid { margin-bottom: 20px; }
}

/* fp-more-wrap and cat-band removed with news section */

/* ══ AD STRIP PLACEHOLDER (.ad-strip-placeholder) ═══════════════════════════ */
.ad-strip-placeholder {
  background: var(--cream2);
  border-top: 1px solid var(--cream3);
  border-bottom: 1px solid var(--cream3);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
}

.asp-label {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink4);
  opacity: 0.45;
  flex-shrink: 0;
}

.asp-text {
  font-family: var(--sans);
  font-size: 11px;
  font-style: italic;
  color: var(--ink4);
  opacity: 0.6;
}

.asp-link {
  color: var(--gold-dark);
  text-decoration: none;
  opacity: 1;
}

.asp-link:hover { text-decoration: underline; }

/* ── Maritime Intelligence Feed — enhanced card grid ──────────────────────── */

.stocks-news-grid {
  gap: 24px;
  border-top: none;
  padding-top: 4px;
}

/* Taller skeleton for image cards */
.sc-skel {
  height: 260px;
  border-radius: 2px;
}

/* Card */
.sc-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--cream3);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.sc-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.09);
  transform: translateY(-2px);
  border-color: var(--cream3);
}
.sc-card--trending {
  border-color: var(--gold);
  border-left: 3px solid var(--gold);
}

/* Image area */
.sc-card-img-wrap {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cream2);
  text-decoration: none;
  flex-shrink: 0;
}
.sc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.sc-card:hover .sc-card-img { transform: scale(1.03); }

/* Latest badge */
.sc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  line-height: 1;
}
.sc-badge--latest {
  background: var(--red);
  color: #fff;
}

/* Card body */
.sc-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
  gap: 8px;
}
.sc-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sc-card-date {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink4);
  margin-left: auto;
  white-space: nowrap;
}
.sc-card-headline {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.38;
  margin: 0;
}
.sc-card-headline a {
  color: var(--ink);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.13s;
}
.sc-card-headline a:hover { color: var(--gold-dark); text-decoration: underline; }

.sc-card-excerpt {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer row */
.sc-card-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid var(--cream2);
}
.sc-card-tickers {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1;
}
.sc-ticker {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--gold-dark);
  background: rgba(154,123,44,0.10);
  padding: 2px 6px;
  border-radius: 2px;
  white-space: nowrap;
}
.sc-card-read-more {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--ink2);
  text-decoration: none;
  white-space: nowrap;
  margin-left: auto;
  padding: 7px 14px;
  border: 1px solid var(--cream3);
  border-radius: 2px;
  transition: color 0.13s, background 0.13s, border-color 0.13s;
}
.sc-card-read-more:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.sc-card-read-more:hover { color: var(--gold-dark); text-decoration: underline; }

/* Ad slot — spans full grid width */
.sc-ad-slot {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 0;
  border-top: 1px solid var(--cream3);
  border-bottom: 1px solid var(--cream3);
}
.sc-ad-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink4);
}
.sc-ad-box {
  width: 100%;
  max-width: 970px;       /* horizontal billboard banner (~3× the old 300×250) */
  height: 250px;
  background: var(--cream2);
  border: 1px dashed var(--cream3);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 600px) {
  .sc-ad-box { height: 180px; }   /* keep it readable on small screens */
}

/* Between-section advertisement banner (leaderboard) */
.section-ad {
  max-width: 1160px;
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.section-ad-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink4);
}
.section-ad-box {
  width: 100%;
  max-width: 970px;
  height: 90px;
  background: var(--cream2);
  border: 1px dashed var(--cream3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-ad-ph { font-family: var(--mono); font-size: 12px; color: var(--ink4); letter-spacing: .3px; }
.section-ad-ph a { color: var(--gold-dark); }
@media (max-width: 600px) { .section-ad-box { height: 70px; } }

/* Whole-card click affordance — any card with a data-href is tappable */
[data-href] { cursor: pointer; }
[data-href] a, [data-href] button, [data-href] .share-btn { cursor: pointer; }

/* Article share buttons (X + LinkedIn) */
.share-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--cream3);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  color: var(--ink3);
  background: var(--cream);
  transition: background .14s, color .14s, border-color .14s;
  flex-shrink: 0;
}
.share-btn:hover { border-color: var(--ink); }
.share-btn--x:hover  { background: #14100A; color: #fff; border-color: #14100A; }
.share-btn--li { font-size: 13px; }
.share-btn--li:hover { background: #0A66C2; color: #fff; border-color: #0A66C2; }
.sc-card-footer .share-links,
.sn-feat-foot   .share-links,
.ma-card-footer .share-links { margin-left: auto; }
.sn-ni-share { margin-top: 8px; }

/* In-feed ad — fills the lower main news column so it isn't left empty */
.sn-main { display: flex; flex-direction: column; }
.sc-ad-slot--feed {
  margin-top: 24px;
  padding: 16px 0 0;
  border-top: 1px solid var(--cream3);
  flex: 1;                 /* grow to absorb the empty space under the story list */
  justify-content: flex-start;
}
.sc-ad-box--feed {
  width: 100%;
  max-width: none;         /* span the full main-column width */
  min-height: 280px;       /* floor; flex:1 grows it to fill the remaining gap */
  height: 100%;            /* stretch to fill the remaining column height */
}
@media (max-width: 900px) {
  .sc-ad-box--feed { min-height: 280px; height: 280px; }
}
@media (max-width: 600px) {
  .sc-ad-box--feed { min-height: 200px; height: 200px; }
}
.sc-ad-placeholder {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink4);
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 900px) {
  .stocks-news-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 600px) {
  .stocks-news-grid { grid-template-columns: 1fr; gap: 14px; }
  .sc-card-img-wrap { aspect-ratio: 16 / 7; }
}

/* ── Stocks Intelligence Hub ─────────────────────────────────────────────── */

/* Breaking market news ticker */
.sn-ticker-wrap {
  display: flex;
  align-items: stretch;
  height: 36px;
  margin-top: 28px;
  border: 1px solid var(--cream3);
  overflow: hidden;
  background: var(--cream2);
}
.sn-ticker-label {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  padding: 0 14px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.sn-ticker-vp {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.sn-ticker-belt {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  height: 36px;
  animation: sn-scroll 60s linear infinite;
  will-change: transform;
}
.sn-ticker-belt:hover { animation-play-state: paused; }
@keyframes sn-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.sn-tk-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
}
.sn-tk-src {
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  flex-shrink: 0;
}
.sn-tk-link {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink2);
  text-decoration: none;
  transition: color 0.13s;
}
.sn-tk-link:hover { color: var(--gold-dark); }
.sn-tk-time {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--ink4);
  flex-shrink: 0;
}
.sn-tk-sep { color: var(--ink4); font-size: 12px; }

/* Hub wrapper */
.sn-hub { margin-top: 36px; }

/* Two-column main layout */
.sn-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: stretch;   /* let the shorter main column grow so the in-feed ad fills it */
  border-top: 2px solid var(--ink);
  padding-top: 24px;
}
/* News hub: no sidebar → full-width single column */
.sn-layout--full { grid-template-columns: 1fr; }

/* Feed header */
.sn-feed-hd {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cream3);
}
.sn-feed-eyebrow {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.sn-feed-count {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink4);
  letter-spacing: 0.3px;
}

/* Featured article */
.sn-feat {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--cream3);
}
.sn-feat--img {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
}
.sn-feat-img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  background: var(--cream2);
}
.sn-feat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.sn-feat-img-wrap:hover .sn-feat-img { transform: scale(1.04); }
.sn-feat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sn-feat-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sn-feat-date {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink4);
  margin-left: auto;
}
.sn-feat-headline {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.sn-feat-headline a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.13s;
}
.sn-feat-headline a:hover { color: var(--gold-dark); text-decoration: underline; }
.sn-feat-excerpt {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sn-feat-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Numbered news list */
.sn-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sn-ni {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--cream3);
}
.sn-ni:first-child { border-top: 1px solid var(--cream3); }
.sn-ni-num {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--cream3);
  line-height: 1;
  min-width: 26px;
  text-align: right;
  flex-shrink: 0;
  user-select: none;
}
.sn-ni-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.sn-ni-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sn-ni-time {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink4);
  margin-left: auto;
  white-space: nowrap;
}
.sn-ni-hl {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.38;
  transition: color 0.13s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sn-ni-hl:hover { color: var(--gold-dark); text-decoration: underline; }
.sn-ni-ex {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink3);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sn-list-foot {
  padding: 16px 0 0;
  display: flex;
  justify-content: center;
}

/* Sidebar */
.sn-aside {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--cream3);
  padding-left: 28px;
}
.sn-widget {
  padding: 18px 0;
  border-bottom: 1px solid var(--cream3);
}
.sn-widget:last-child { border-bottom: none; padding-bottom: 0; }
.sn-widget-hd {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--ink);
  display: inline-block;
}

/* Trending Companies widget */
.sn-trend-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.sn-trend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sn-trend-rank {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--cream3);
  min-width: 18px;
  text-align: center;
  line-height: 1;
  flex-shrink: 0;
}
.sn-trend-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sn-trend-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.sn-trend-tick {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-dark);
  background: rgba(154,123,44,0.10);
  padding: 1px 5px;
  flex-shrink: 0;
}
.sn-trend-lbl {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink2);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sn-trend-cnt {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink4);
  flex-shrink: 0;
}
.sn-trend-bar-wrap {
  height: 2px;
  background: var(--cream3);
  border-radius: 1px;
  overflow: hidden;
}
.sn-trend-bar {
  height: 100%;
  background: var(--gold);
  border-radius: 1px;
  transition: width 0.5s ease;
}

/* Most Read widget */
.sn-mr-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.sn-mr-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--cream2);
}
.sn-mr-item:last-child { border-bottom: none; }
.sn-mr-num {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--cream3);
  line-height: 1;
  min-width: 18px;
  text-align: center;
  flex-shrink: 0;
}
.sn-mr-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sn-mr-hl {
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.35;
  transition: color 0.13s;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sn-mr-hl:hover { color: var(--gold-dark); text-decoration: underline; }
.sn-mr-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Subsections row */
.sn-subs-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--cream3);
}
.sn-sub-rule {
  width: 1px;
  background: var(--cream3);
}
.sn-sub-hd {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}
.sn-sub-label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--ink);
}
.sn-sub-tag {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink4);
  letter-spacing: 0.3px;
}
.sn-sub-grid {
  display: flex;
  flex-direction: column;
}
.sn-sub-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 0;
  border-bottom: 1px solid var(--cream2);
}
.sn-sub-card:last-child { border-bottom: none; }
.sn-sub-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sn-sub-hl {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.38;
  transition: color 0.13s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sn-sub-hl:hover { color: var(--gold-dark); text-decoration: underline; }
.sn-sub-ex {
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--ink4);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Empty states */
.sn-empty {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink4);
  font-style: italic;
  padding: 6px 0;
  list-style: none;
}

/* Responsive */
@media (max-width: 980px) {
  .sn-layout {
    grid-template-columns: 1fr;
  }
  .sn-aside {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--cream3);
    padding-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
  }
}
@media (max-width: 720px) {
  .sn-feat--img { grid-template-columns: 1fr; }
  .sn-subs-row  { grid-template-columns: 1fr; }
  .sn-sub-rule  { display: none; }
}
@media (max-width: 580px) {
  .sn-aside { grid-template-columns: 1fr; }
  .sn-feat-headline { font-size: 17px; }
  .sn-feed-eyebrow  { font-size: 15px; }
}

/* ── M&A Hub — deal type badges ──────────────────────────────────────────── */

.mah-type {
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 1px;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1.6;
}
.mah-type--merger  { background: rgba(124,58,237,0.10); color: #7c3aed; }
.mah-type--acq     { background: rgba(29,78,216,0.10);  color: #1d4ed8; }
.mah-type--ipo     { background: rgba(22,101,52,0.10);  color: #166534; }
.mah-type--jv      { background: rgba(13,148,136,0.10); color: #0d9488; }
.mah-type--restr   { background: rgba(220,38,38,0.10);  color: #dc2626; }
.mah-type--fleet   { background: rgba(154,123,44,0.12); color: var(--gold-dark); }
.mah-type--cap     { background: rgba(234,88,12,0.10);  color: #ea580c; }
.mah-type--txn     { background: var(--cream2);         color: var(--ink3); }

/* Top-of-hub separator when EDGAR deals grid is visible */
.mah-hub { padding-top: 4px; }
.ma-deals-grid:not(:empty) + .sn-ticker-wrap {
  margin-top: 36px;
}

/* ── Analyst Coverage — Published Research bar ───────────────────────────── */

.arc-pub-bar {
  margin-top: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}
.arc-pub-title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.arc-pub-label {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.arc-pub-count {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink4);
  letter-spacing: 0.3px;
}
.arc-filter-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.arc-pill {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--ink3);
  background: none;
  border: 1px solid var(--cream3);
  padding: 5px 12px;
  cursor: pointer;
  transition: border-color 0.13s, color 0.13s, background 0.13s;
  white-space: nowrap;
  line-height: 1;
}
.arc-pill:hover { border-color: var(--ink3); color: var(--ink); }
.arc-pill.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.arc-sort-sel {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink3);
  background: none;
  border: 1px solid var(--cream3);
  padding: 5px 10px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 26px;
  margin-left: auto;
  transition: border-color 0.13s;
}
.arc-sort-sel:hover { border-color: var(--ink3); }

/* ── Sidebar CTA panel ───────────────────────────────────────────────────── */

.rh-cta-panel {
  padding-top: 22px;
  border-top: 1px solid var(--cream3);
  margin-top: 4px;
}
.rh-cta-body {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink2);
  line-height: 1.55;
  margin: 0 0 14px;
}
.rh-cta-btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 8px 18px;
  text-decoration: none;
  transition: background 0.13s, color 0.13s;
}
.rh-cta-btn:hover {
  background: var(--ink);
  color: var(--cream);
}

/* ── Submission zone header ──────────────────────────────────────────────── */

.arc-submit-hd {
  margin: 52px 0 32px;
  border-top: 2px solid var(--ink);
  padding-top: 28px;
}
.arc-submit-hd-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.arc-submit-hd-left {
  flex: 1;
}
.arc-submit-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink4);
  margin-bottom: 10px;
}
.arc-submit-open-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--green-ink);
  text-transform: uppercase;
  background: rgba(22,101,52,0.08);
  border: 1px solid rgba(22,101,52,0.2);
  padding: 8px 14px;
  white-space: nowrap;
}
.arc-submit-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-ink);
  flex-shrink: 0;
  animation: arc-dot-pulse 2s ease-in-out infinite;
}
@keyframes arc-dot-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}
@media (max-width: 580px) {
  .arc-submit-hd-inner { flex-direction: column; }
  .arc-submit-open-badge { align-self: flex-start; }
  .arc-sort-sel { margin-left: 0; }
}

/* ── Analyst — ghost placeholder cards ───────────────────────────────────── */

.arc-card--ghost {
  border-left-color: var(--cream3);
  cursor: default;
  pointer-events: none;
}
.arc-card--ghost:hover { border-left-color: var(--cream3); background: none; }

/* Shared shimmer base */
.arc-ghost-chip,
.arc-ghost-line,
.arc-ghost-avatar {
  display: block;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--cream2) 25%, var(--cream3) 50%, var(--cream2) 75%);
  background-size: 800px 100%;
  animation: arc-ghost-shimmer 1.6s ease-in-out infinite;
}
@keyframes arc-ghost-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.arc-ghost-row {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.arc-ghost-chip  { height: 18px; }
.arc-ghost-line  { height: 13px; }

.arc-ghost-byline {
  display: flex;
  align-items: center;
  gap: 10px;
}
.arc-ghost-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Banner inside ghost list */
.arc-empty-banner {
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--cream3);
  margin-bottom: 4px;
}
.arc-empty-link {
  color: var(--gold-dark);
  text-decoration: none;
}
.arc-empty-link:hover { text-decoration: underline; }

/* ── Author avatar circle ─────────────────────────────────────────────────── */

.arc-card-byline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 10px;
}
.arc-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
  user-select: none;
}
.arc-card-byline-row .arc-card-reading-time {
  margin-left: auto;
  flex-shrink: 0;
}

/* ── Category group headers ─────────────────────────────────────────────── */

.arc-group { margin-bottom: 4px; }
.arc-group-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0 10px;
}
.arc-group-label {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.arc-group-hd::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cream3);
}
.arc-group-count {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink4);
  white-space: nowrap;
}

/* ── Analyst — cover image upload zone (Step 2) ──────────────────────────── */

.asf-img-drop {
  border: 1.5px dashed var(--cream3);
  background: var(--cream2);
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
  position: relative;
  min-height: 120px;
  display: flex;
  flex-direction: column;
}
.asf-img-drop:hover,
.asf-img-drop.is-over {
  border-color: var(--gold);
  background: rgba(154,123,44,0.04);
}
.asf-img-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}
.asf-img-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 20px;
  text-align: center;
  pointer-events: none;
}
.asf-img-icon {
  font-size: 26px;
  color: var(--ink4);
  line-height: 1;
}
.asf-img-cta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink3);
}
.asf-img-hint {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink4);
  letter-spacing: 0.3px;
}
.asf-img-preview {
  position: relative;
}
.asf-img-preview-img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
}
.asf-img-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--cream);
  background: rgba(0,0,0,0.55);
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.13s;
}
.asf-img-remove:hover { background: rgba(0,0,0,0.75); }
.asf-img-err {
  font-family: var(--sans);
  font-size: 12px;
  color: #991b1b;
  padding: 6px 12px 8px;
  min-height: 0;
}

/* Review step image */
.asf-review-img-wrap {
  margin-bottom: 14px;
  overflow: hidden;
}
.asf-review-img {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: cover;
}

/* ── Analyst — article card images ──────────────────────────────────────── */

/* Featured card: full-width image above content */
.arc-feat-img {
  margin: -26px 0 20px -20px;
  width: calc(100% + 20px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.arc-feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.arc-card--featured:hover .arc-feat-img img { transform: scale(1.02); }

/* When featured card has image, soften its left border */
.arc-card--featured.arc-card--has-img {
  border-left-color: var(--cream3);
}

/* Regular card: right-floated thumbnail */
.arc-thumb {
  float: right;
  width: 110px;
  height: 62px; /* 16:9 */
  object-fit: cover;
  margin: 0 0 10px 16px;
  flex-shrink: 0;
  display: block;
}
/* Clear float before byline so layout stays tidy */
.arc-card-byline-row { clear: right; }

@media (max-width: 480px) {
  .arc-thumb { display: none; }
  .arc-feat-img { margin: -26px 0 16px -14px; width: calc(100% + 14px); }
}

/* ── Analyst wizard — "Other" category card + custom topic reveal ─────────── */

/* "Other" card sits full-width in the grid's last cell */
.asf-cat-card--other {
  border-style: dashed;
}
.asf-cat-card--other .asf-cat-abbr {
  color: var(--ink4);
}
.asf-cat-card--other:hover,
.asf-cat-card--other.is-selected {
  border-style: solid;
}

/* Custom topic input — revealed when Other is selected */
.asf-other-wrap {
  margin-top: 12px;
  margin-bottom: 22px;
  padding: 16px 18px;
  background: var(--cream2);
  border: 1px solid var(--cream3);
  border-left: 3px solid var(--gold);
}
.asf-other-wrap:not([hidden]) {
  animation: asf-other-in 0.18s ease;
}
@keyframes asf-other-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.asf-other-wrap .asf-label {
  margin-bottom: 8px;
  display: block;
}
.asf-other-wrap .asf-input {
  width: 100%;
  max-width: 480px;
}



/* ═══════════════════════════════════════════════════════════════════════════
   IPHONE & SMALL SCREEN OPTIMISATIONS
   Font sizes left at base — only layout, padding and scroll behaviour adjusted
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {

  /* ── Masthead ── */
  .masthead-top { padding: 8px 18px 6px; }
  .masthead-title-wrap { padding: 14px 18px 12px; }
  .masthead-title { font-size: clamp(44px, 11vw, 60px); }

  /* ── Nav bar ── */
  .masthead-nav { padding: 8px 18px; min-height: 44px; border-bottom: 1px solid var(--cream3); }
  .masthead-nav .mnav-toggle { right: 18px; top: 10px; }
  .masthead-nav.open { padding: 50px 18px 12px; }
  .masthead-nav.open .mnav-link { padding: 13px 0; }
  .masthead-rule-nav { display: none; }

  /* ── Briefing bar — scrolls horizontally ── */
  .bb-inner { padding: 0 18px; height: auto; min-height: 46px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .bb-inner::-webkit-scrollbar { display: none; }
  .bb-filing { display: none; }

  /* ── Container ── */
  .container { padding: 0 18px; }
  section.paper-section .container { padding: 0 18px; }

  /* ── Front page layout ── */
  .newspaper-grid { grid-template-columns: 1fr; gap: 0; }
  .col-rule { display: none; }
  .story--lead { padding-right: 0; }
  .story-share-row { gap: 8px; flex-wrap: wrap; }
  .story-stack { padding-top: 20px; }
  .brief-col { display: none; }

  /* ── News feed ── */
  .fnews-grid { grid-template-columns: 1fr; gap: 0; }
  .fnews-filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .fnews-filters::-webkit-scrollbar { display: none; }
  .fnews-pill { white-space: nowrap; flex-shrink: 0; }
  .sc-card { border-right: none; padding: 18px 0; }

  /* ── Stocks table ── */
  .paper-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .paper-table { min-width: 680px; }
  .market-movers-bar { grid-template-columns: 1fr 1fr; gap: 10px; }
  .filter-row { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .filter-row::-webkit-scrollbar { display: none; }
  .fpill { flex-shrink: 0; }

  /* ── Stocks hub ── */
  .sn-layout { grid-template-columns: 1fr; }
  .sn-aside { display: none; }
  .sn-subs-row { grid-template-columns: 1fr; }
  .sn-sub-rule { display: none; }

  /* ── Analyst coverage ── */
  .rh-layout { grid-template-columns: 1fr; }
  .rh-sidebar { display: none; }
  .arc-filter-row { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .arc-filter-row::-webkit-scrollbar { display: none; }
  .arc-pill { flex-shrink: 0; }
  .arc-card { padding: 18px 0 18px 14px; }
  .arc-card--featured { padding: 18px 0 18px 14px; }

  /* ── M&A ── */
  .ma-deals-grid { grid-template-columns: 1fr; }
  .ma-card { padding: 18px 0; border-right: none; }
  .ma-card:nth-child(3n+2), .ma-card:nth-child(3n+3) { padding-left: 0; }

  /* ── Shipowners ── */
  .so-grid { grid-template-columns: 1fr; }
  .so-filter-bar { flex-direction: column; gap: 10px; }
  .so-filter-group { overflow-x: auto; flex-wrap: nowrap; }
  .so-filter-group::-webkit-scrollbar { display: none; }
  .so-pill { flex-shrink: 0; white-space: nowrap; }
  .so-search { font-size: 16px; }
  .so-card { padding: 18px 16px; }

  /* ── Subscribe ── */
  .subscribe-layout { grid-template-columns: 1fr; gap: 28px; }
  .sub-left, .sub-right { padding: 0; }
  .sub-box-form input { font-size: 16px; }
  .asf-input { font-size: 16px; }
  .asf-textarea { font-size: 16px; }

  /* ── Platform overview ── */
  .pov-nav { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* ── Touch targets ── */
  .fnews-pill, .fpill, .arc-pill, .so-pill { min-height: 42px; display: inline-flex; align-items: center; }
  .asf-btn { min-height: 50px; }
}

/* iPhone SE (375px and below) — only fix what overflows */
@media (max-width: 375px) {
  .masthead-title { font-size: 38px; }
  .masthead-cred-strip { font-size: 10px; }
}

/* ════ SHIP FINANCE CALCULATOR (#calculator / .sfc) ════════════════════════ */
.sfc { margin-top: 8px; }
.sfc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.sfc-panel-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.sfc-subhead {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink4);
  margin: 18px 0 6px;
  border-top: 1px solid var(--cream3);
  padding-top: 14px;
}

/* Inputs */
.sfc-inputs { display: flex; flex-direction: column; gap: 12px; }
.sfc-field { display: flex; flex-direction: column; gap: 4px; }
.sfc-label {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink2);
}
.sfc-hint {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink4);
  font-style: italic;
}
.sfc-inputs input,
.sfc-inputs select {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--cream3);
  border-radius: 2px;
  padding: 9px 11px;
  outline: none;
  transition: border-color .14s, box-shadow .14s;
  width: 100%;
  box-sizing: border-box;
}
.sfc-inputs input:focus,
.sfc-inputs select:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 2px rgba(154,123,44,0.15);
}
.sfc-inputs select { font-family: var(--sans); cursor: pointer; }

/* Results */
.sfc-results {
  background: var(--cream1);
  border: 1px solid var(--cream3);
  border-top: 3px solid var(--ink);
  padding: 18px 20px;
}
.sfc-result {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--cream3);
}
.sfc-result:last-child { border-bottom: none; }
.sfc-r-label {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink3);
}
.sfc-r-val {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}
.sfc-result--hero { padding-top: 4px; }
.sfc-result--hero .sfc-r-val { font-size: 22px; color: var(--gold-dark); }
.sfc-result--accent .sfc-r-val { font-size: 19px; }
.sfc-result--be {
  background: rgba(154,123,44,0.07);
  margin: 6px -20px -18px;
  padding: 14px 20px;
  border-top: 2px solid var(--gold);
}
.sfc-result--be .sfc-r-label { font-weight: 700; color: var(--ink); }
.sfc-result--be .sfc-r-val { color: var(--gold-dark); font-size: 18px; }

/* Schedule */
.sfc-sched {
  margin-top: 24px;
  border: 1px solid var(--cream3);
  border-radius: 2px;
}
.sfc-sched-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--ink2);
  background: var(--cream1);
}
.sfc-sched-summary::-webkit-details-marker { display: none; }
.sfc-sched-summary::before { content: '▸ '; color: var(--gold-dark); margin-right: 4px; }
.sfc-sched[open] .sfc-sched-summary::before { content: '▾ '; }
.sfc-sched-count { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--ink4); text-transform: none; letter-spacing: 0; }
.sfc-sched-scroll { max-height: 360px; overflow: auto; }
.sfc-sched-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12px; }
.sfc-sched-table th {
  position: sticky; top: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 8px 10px;
  text-align: right;
}
.sfc-sched-table th:first-child { text-align: left; }
.sfc-sched-table td { padding: 7px 10px; text-align: right; color: var(--ink2); border-bottom: 1px solid var(--cream2); }
.sfc-sched-table td:first-child { text-align: left; color: var(--ink4); }
.sfc-sched-table tr:nth-child(even) td { background: var(--cream1); }

/* Disclaimer + sponsor */
.sfc-disclaimer {
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--ink4);
  line-height: 1.55;
  margin: 20px 0 0;
}
.sfc-sponsor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  margin-top: 18px;
  padding: 16px;
  background: var(--cream1);
  border: 1px solid var(--cream3);
  border-top: 3px solid var(--gold-dark);
  transition: background .15s;
}
.sfc-sponsor:hover { background: #FAF5EC; }
.sfc-sponsor-by { font-family: var(--sans); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink4); }
.sfc-sponsor-name { font-family: var(--serif); font-size: 22px; font-weight: 800; letter-spacing: 2px; color: var(--ink); }
.sfc-sponsor-cta { font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--gold-dark); margin-top: 2px; }

@media (max-width: 760px) {
  .sfc-grid { grid-template-columns: 1fr; gap: 22px; }
  .sfc-result--be { margin-left: -20px; margin-right: -20px; }
}

/* ════ NAV DISCOUNT TRACKER (#nav-tracker / .navt) ═════════════════════════ */
.navt-loading { font-family: var(--sans); font-size: 13px; color: var(--ink4); font-style: italic; padding: 24px 0; }
.navt-controls {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; margin-bottom: 14px;
}
.navt-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.navt-pill {
  font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .3px;
  color: var(--ink3); background: none; border: 1px solid var(--cream3);
  padding: 5px 12px; cursor: pointer; transition: background .13s, color .13s, border-color .13s;
}
.navt-pill:hover { border-color: var(--ink3); }
.navt-pill.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.navt-legend { display: flex; gap: 16px; font-family: var(--sans); font-size: 11.5px; color: var(--ink3); }
.navt-legend span { display: inline-flex; align-items: center; gap: 6px; }
.navt-key { width: 11px; height: 11px; border-radius: 2px; display: inline-block; }
.navt-key--disc { background: var(--green-ink); }
.navt-key--prem { background: var(--red); }

.navt-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.navt-table { width: 100%; border-collapse: collapse; font-family: var(--sans); }
.navt-th {
  font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; color: var(--cream); background: var(--ink);
  padding: 10px 12px; cursor: pointer; white-space: nowrap; user-select: none;
}
.navt-th--right { text-align: right; }
.navt-th--left  { text-align: left; }
.navt-th:hover  { color: var(--gold2); }
.navt-th.active { color: var(--gold2); }

.navt-row { border-bottom: 1px solid var(--cream3); cursor: pointer; transition: background .12s; }
.navt-row:hover { background: var(--cream1); }
.navt-row--open { background: var(--cream1); }
.navt-table td { padding: 11px 12px; font-size: 13.5px; color: var(--ink2); vertical-align: middle; }
.navt-num { text-align: right; font-family: var(--mono); white-space: nowrap; }
.navt-co { display: block; font-family: var(--serif); font-weight: 700; font-size: 14.5px; color: var(--ink); }
.navt-tk { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--ink4); margin-top: 1px; }
.navt-seg {
  font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .3px;
  color: var(--ink3); background: var(--cream2); padding: 3px 8px; white-space: nowrap;
}
.navt-badge {
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  padding: 3px 9px; border-radius: 2px; display: inline-block;
}
.navt-disc { color: var(--green-ink); }
.navt-prem { color: var(--red); }
.navt-badge.navt-disc { background: rgba(22,101,52,0.10); }
.navt-badge.navt-prem { background: rgba(153,27,27,0.09); }

/* Expanded detail */
.navt-detail-row td { background: var(--cream); padding: 0; }
.navt-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  padding: 18px 16px 22px; border-bottom: 2px solid var(--ink);
}
.navt-buildup-title {
  font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px;
}
.navt-asof { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink4); font-style: italic; }
.navt-bu-line {
  display: flex; justify-content: space-between; gap: 14px;
  font-family: var(--sans); font-size: 13px; color: var(--ink2);
  padding: 6px 0; border-bottom: 1px solid var(--cream3);
}
.navt-bu-line span:last-child { font-family: var(--mono); white-space: nowrap; }
.navt-bu-total { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--ink); }
.navt-fleet-table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 12.5px; }
.navt-fleet-table th {
  text-align: right; font-family: var(--sans); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .4px; color: var(--ink3);
  padding: 6px 8px; border-bottom: 1px solid var(--ink);
}
.navt-fleet-table th:first-child { text-align: left; }
.navt-fleet-table td { padding: 6px 8px; text-align: right; color: var(--ink2); border-bottom: 1px solid var(--cream2); font-family: var(--mono); }
.navt-fleet-table td:first-child { text-align: left; font-family: var(--sans); }
.navt-fleet-table tfoot td { font-weight: 700; color: var(--ink); border-top: 1px solid var(--ink); border-bottom: none; }
.navt-fleet--none { font-family: var(--sans); font-size: 12.5px; color: var(--ink4); font-style: italic; line-height: 1.5; }

/* Methodology */
.navt-method { margin-top: 18px; border-top: 1px solid var(--cream3); }
.navt-method summary {
  cursor: pointer; font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase; color: var(--ink3); padding: 12px 0;
}
.navt-method summary:hover { color: var(--ink); }
.navt-method-body p { font-family: var(--sans); font-size: 12.5px; color: var(--ink3); line-height: 1.6; margin: 0 0 10px; }
.navt-method-body strong { color: var(--ink2); }

/* Mobile: collapse table to cards */
@media (max-width: 720px) {
  .navt-table thead { display: none; }
  .navt-table, .navt-table tbody, .navt-table tr, .navt-table td { display: block; width: 100%; }
  .navt-row { border: 1px solid var(--cream3); border-radius: 2px; margin-bottom: 10px; padding: 6px 4px; }
  .navt-table td { display: flex; justify-content: space-between; align-items: center; text-align: right; padding: 7px 12px; border: none; }
  .navt-table td::before { content: attr(data-label); font-family: var(--sans); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--ink4); text-align: left; margin-right: 12px; }
  .navt-co, .navt-tk { display: inline; }
  .navt-detail { grid-template-columns: 1fr; gap: 16px; }
  .navt-detail-row td::before { content: none; }
}
.navt-fleet-note { font-family: var(--sans); font-size: 11.5px; color: var(--ink4); line-height: 1.5; margin-top: 8px; }
.navt-fleet-note strong { color: var(--ink2); }
