:root {
  --ivory: #f6f1e7;
  --ivory-box: #faf6ec;
  --ivory-hover: #efe8d8;
  --ivory-light-gold: #f0e7d6;
  --navy: #0e0f31;
  --gold: #9a7a2e;
  --gold-light: #d9be7e;
  --gold-label: #7c6122;
  --gold-wordmark: #bfa05a;
  --font-heading: "Newsreader", Georgia, serif;
  --font-body: "Montserrat", Arial, Helvetica, sans-serif;
  --font-inter: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 500;
  margin: 0 0 0.5rem;
}

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

.sp-container {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 1.1rem;
}

.sp-header {
  background: var(--navy);
  color: var(--ivory-box);
  padding: 1.1rem 0;
}

.sp-header .sp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-header a.brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--ivory-box);
}

.sp-header nav a {
  color: var(--gold-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: 1.5rem;
}

.sp-header nav a:hover { color: var(--ivory-box); }

.sp-hero {
  background: var(--navy);
  color: var(--ivory-box);
  padding: 3.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

/* Universal faint grid, present on every hero — matches the Next.js marketing
   pages' own .sp-hero::before convention (globals.css). */
.sp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(154, 122, 46, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 122, 46, 0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

@media (min-width: 901px) {
  .sp-hero {
    min-height: calc(100vh - 123px);
    display: flex;
    align-items: flex-start;
  }
}

.sp-hero > .sp-container { width: 100%; }

.sp-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.sp-heading { font-size: 2.1rem; line-height: 1.2; }
.sp-heading em { font-style: italic; color: var(--gold-light); }

main .sp-eyebrow { color: var(--gold-label); }

.sp-filters {
  background: var(--ivory-light-gold);
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  padding: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  margin: 2rem 0;
}

.sp-filters > div {
  flex: 1 1 200px;
}

.sp-filters label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-label);
  margin-bottom: 0.3rem;
}

.sp-filters select {
  width: 100%;
  font-family: var(--font-body);
  padding: 0.55rem 0.75rem;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  background: var(--ivory-box);
  min-width: 220px;
  transition: box-shadow 0.3s ease;
}

.sp-filters select:hover, .sp-filters select:focus {
  box-shadow: 0 0 0 1px var(--gold), 0 14px 36px rgba(217, 190, 126, 0.65), 0 0 28px rgba(217, 190, 126, 0.45);
}

.sp-filters .clear {
  margin-left: auto;
  align-self: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-label);
  text-decoration: underline;
}

.sp-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 1rem 0 2.5rem;
}

@media (max-width: 960px) {
  .sp-tile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .sp-tile-grid { grid-template-columns: 1fr; }
}

.sp-tile {
  background: var(--ivory-box);
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  box-shadow: 0 6px 22px rgba(217, 190, 126, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.sp-tile:hover {
  box-shadow: 0 0 0 1px var(--gold), 0 14px 36px rgba(217, 190, 126, 0.65), 0 0 28px rgba(217, 190, 126, 0.45);
}

.sp-tile { padding: 0.6rem; }

/* Image inset on all sides — matches the home page's M&A Insights article
   tiles (.sp-ma-card-img), not flush with the card edges. */
.sp-tile-img {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  height: 170px;
  background: var(--ivory-hover);
}

.sp-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* A cover image that fails to load (even after the retry script's attempts)
   is made invisible rather than left as a broken-icon glyph with overflowing
   alt text. visibility:hidden (not display:none) keeps the image's own box —
   and therefore its container's size, including aspect-ratio-sized elements
   like .sp-deal-hero-img-el — exactly as if it had loaded, so no tile or
   hero image ever collapses or shifts layout. The container's own background
   shows through as a clean, on-brand placeholder. Applies site-wide. */
img.sp-img-failed {
  visibility: hidden;
}

.sp-tile-body { padding: 1rem 0.65rem 0.65rem; display: flex; flex-direction: column; flex: 1; }

.sp-tile-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.6rem; }

.sp-tag {
  font: 700 9px/1.4 var(--font-body);
  letter-spacing: 0.33px;
  text-transform: uppercase;
  background: var(--ivory);
  color: var(--navy);
  border: 1px solid rgba(154, 122, 46, 0.4);
  border-radius: 10px;
  padding: 3px 10px;
}

.sp-tile h4 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  color: var(--navy);
}
.sp-tile h4 em { color: var(--gold); font-style: italic; }

.sp-tile .date { font-size: 0.78rem; color: #666; margin-bottom: 0.6rem; }

.sp-tile p.desc {
  font-size: 0.9rem;
  color: #333;
  flex: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 11;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.75rem 1.4rem;
  border-radius: 4px;
  border: 1.5px solid var(--navy);
  background: var(--navy);
  color: var(--gold-light);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.sp-btn:hover { background: var(--ivory-box); color: var(--navy); }
.sp-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.sp-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem; margin: 2rem 0 3rem; }
.sp-pagination a, .sp-pagination span {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-size: 0.85rem;
}
.sp-pagination .current { background: var(--navy); color: var(--gold-light); border-color: var(--navy); }
.sp-pagination .ellipsis { border: none; padding: 0.5rem 0.2rem; color: var(--gold-label); }
.sp-pagination .step, .sp-pagination .edge { font-weight: 600; }
.sp-pagination .disabled { opacity: 0.4; pointer-events: none; }

.sp-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0 3.5rem;
  align-items: stretch;
}

@media (max-width: 860px) {
  .sp-detail-grid { grid-template-columns: 1fr; }
}

.sp-box-light-gold {
  background: var(--ivory-box);
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 6px 22px rgba(217, 190, 126, 0.25);
  padding: 2rem;
  transition: box-shadow 0.4s ease;
}

.sp-box-light-gold:hover { box-shadow: 0 0 0 1px var(--gold), 0 14px 36px rgba(217, 190, 126, 0.65), 0 0 28px rgba(217, 190, 126, 0.45); }

.sp-box-light-gold h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  padding-bottom: 10px;
  margin: 1.4rem 0 0.9rem;
  border-bottom: 1.5px solid var(--gold);
}
.sp-box-light-gold h3:first-child { margin-top: 0; }
.sp-box-light-gold h3 .ic {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  background: #fbf8f1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-box-light-gold p { font-size: 0.95rem; line-height: 1.6; color: #222; }

/* Hero banner infographic — positioned as an absolute overlay anchored to the
   right side (not a flex sibling), sized to match the scale used on the
   Next.js marketing pages' own hero graphics. Anchoring via right+width
   (not a left % offset) keeps it from ever overlapping the text column,
   and it's dropped below 1300px rather than risk any overlap. */
.sp-hh-chart {
  position: absolute;
  top: 10%;
  bottom: 8%;
  right: 4%;
  width: min(38vw, 480px);
  pointer-events: none;
  display: none;
}
.sp-hh-chart svg { width: 100%; height: 100%; display: block; }
@media (min-width: 1300px) { .sp-hh-chart { display: block; } }

/* Report-detail hero (matches the live /reports/<slug>/ hero) */
.sp-rh { max-width: 680px; margin: 0; position: relative; z-index: 1; }
.sp-rh-back { font-size: 0.85rem; color: var(--gold); margin-bottom: 1rem; display: inline-block; }
.sp-rh-crumb { font-size: 0.8rem; color: #6b6b7a; margin-bottom: 1rem; }
.sp-rh-crumb a { color: inherit; text-decoration: none; }
.sp-rh-eb {
  display: flex; align-items: center; gap: 16px;
  font: 700 12px/1 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px;
}
.sp-rh-eb::before { content: ""; width: 48px; height: 1.5px; background: var(--gold); display: block; }
.sp-rh-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 16px; }
.sp-rh-date { font: 700 13px/1 var(--font-body); color: var(--gold); margin-right: 6px; }
.sp-rh-chip { font: 600 11px/1.4 var(--font-body); color: var(--gold); background: var(--ivory); border-radius: 999px; padding: 4px 12px; }
.sp-rh-t { font-family: var(--font-heading); font-weight: 500; font-size: clamp(30px, 2.7vw, 52px); line-height: 1.1; color: var(--navy); max-width: 860px; margin: 0; }
.sp-rh-d { font: 400 16px/1.6 var(--font-body); color: #5b5b6e; max-width: 740px; margin: 14px 0 0; }

/* Previous/Next report nav — sits below the two detail boxes (replacing the
   old hero rail scroller), replicating the live site's own .sp-rpn component. */
.sp-rpn { display: flex; justify-content: space-between; gap: 24px; padding: 32px 0 0; border-top: 1px solid rgba(154, 122, 46, 0.25); margin-top: -1rem; margin-bottom: 2.5rem; }
.sp-rpn-prev, .sp-rpn-next { display: flex; flex-direction: column; gap: 10px; max-width: 46%; text-decoration: none; }
.sp-rpn-next { text-align: right; align-items: flex-end; margin-left: auto; }
.sp-rpn-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: var(--ivory-box); border-radius: 6px; padding: 10px 20px; font: 700 13px/1.4 var(--font-body); width: fit-content; }
.sp-rpn-arr { font: 700 14px/1 var(--font-body); }
.sp-rpn-h { font: 600 15px/1.3 var(--font-body); color: var(--navy); }
.sp-rpn-empty { flex: 1; }

.sp-form-icon { display: inline-flex; width: 16px; margin-right: 0.3rem; opacity: 0.7; }

.sp-form label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-label);
  margin: 0.9rem 0 0.3rem;
}

.sp-form input, .sp-form select, .sp-form textarea {
  width: 100%;
  font-family: var(--font-body);
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: #fff;
}

.sp-form .otp-row { display: flex; gap: 10px; margin: 0.3rem 0 0.75rem; }
.sp-form .otp-row input {
  width: 46px;
  height: 54px;
  padding: 0;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--gold-light);
}
.sp-form .otp-row input:focus { outline: none; border-color: var(--gold); }

.sp-form .note {
  font-style: italic;
  font-size: 0.82rem;
  color: #555;
  margin-top: 1.5rem;
  line-height: 1.6;
}

.sp-form .license-note { font-weight: 700; font-size: 0.82rem; margin-top: 0.75rem; }

.sp-form .status { margin-top: 0.75rem; font-size: 0.85rem; }
.sp-form .status.ok { color: #2a6b2a; }
.sp-form .status.err { color: #a33; }

.sp-carousel { display: flex; justify-content: space-between; margin: 2rem 0; gap: 1rem; }
.sp-carousel a { font-size: 0.85rem; color: var(--gold-label); border: 1px solid var(--gold); border-radius: 4px; padding: 0.5rem 1rem; }

.sp-footer {
  background: var(--navy);
  color: var(--ivory-hover);
  padding: 2.5rem 0;
  margin-top: 3rem;
  font-size: 0.85rem;
}

.sp-modal-overlay {
  position: fixed; inset: 0; background: rgba(14,15,49,0.6);
  display: none; align-items: center; justify-content: center; z-index: 50;
}
.sp-modal-overlay.open { display: flex; }
.sp-modal {
  background: var(--ivory-box);
  border: 1.5px solid var(--gold);
  border-radius: 8px;
  max-width: 420px;
  padding: 2rem;
  text-align: center;
}
.sp-modal h3 { margin-bottom: 0.75rem; }
.sp-modal p { margin-bottom: 1.25rem; font-size: 0.92rem; }

/* ===================================================================
   Shared site header & footer — identical markup/CSS across the
   Intelligence Hub (report-store), Payment Gateway, and Intelligence
   Platform (client-portal) apps. Ported from the Next.js SiteHeader.tsx
   / SiteFooter.tsx. Do not fork this block per app — keep it
   byte-identical in all three style.css files.
   =================================================================== */
.sp-site-header { position: sticky; top: 0; z-index: 50; }

.sp-tb { background: var(--navy); height: 42px; }
.sp-tb-in { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.sp-tb-l { display: flex; align-items: center; }
.sp-tb-l span { font-weight: 600; font-size: 12px; letter-spacing: 0.02em; color: var(--gold-light); padding: 0 18px; border-left: 1px solid var(--gold); }
.sp-tb-l span:first-child { border-left: none; padding-left: 0; }
.sp-tb-mail { font-weight: 600; font-size: 12px; color: var(--gold-light); padding-left: 18px; border-left: 1px solid var(--gold); }
@media (max-width: 700px) { .sp-tb-l { display: none; } .sp-tb-mail { padding-left: 0; border-left: none; margin-left: auto; } }

.sp-main-hdr { background: var(--ivory); border-bottom: 1px solid rgba(154, 122, 46, 0.3); }
.sp-main-hdr-in { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.sp-brand { display: flex; align-items: center; gap: 16px; }
.sp-brand-logo { border-radius: 50%; border: 1px solid var(--gold); display: block; }
.sp-brand-word { font-family: var(--font-heading); font-size: 24px; font-weight: 600; color: var(--gold); }
.sp-hdr-actions { display: flex; align-items: center; gap: 12px; }
.sp-menu-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 36px; height: 36px; border: 1px solid rgba(14, 15, 49, 0.7); border-radius: 4px; background: none; cursor: pointer; padding: 0; }
.sp-menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--navy); }
.sp-hdr-cta { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; font-weight: 700; font-size: 12px; letter-spacing: 0.48px; text-transform: uppercase; padding: 10px 20px; border-radius: 6px; border: 1.5px solid var(--navy); background: var(--navy); color: var(--gold-light); cursor: pointer; }
.sp-hdr-cta:hover { background: var(--ivory-box); color: var(--navy); }
@media (max-width: 640px) { .sp-hdr-cta { display: none; } }

.sp-drawer { position: fixed; inset: 0; z-index: 60; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0s linear 0.35s; }
.sp-drawer.open { opacity: 1; visibility: visible; transition: opacity 0.35s; }
.sp-drawer-backdrop { position: absolute; inset: 0; background: rgba(14, 15, 49, 0.4); border: none; padding: 0; cursor: pointer; }
.sp-drawer-panel {
  position: absolute; right: 0; top: 0; height: 100%; width: 100%; max-width: 384px;
  background: var(--ivory); box-shadow: -10px 0 40px rgba(0,0,0,0.25); overflow-y: auto;
  display: flex; flex-direction: column; justify-content: center;
  font-family: var(--font-heading); padding: 8px 0;
}
.sp-drawer-panel ul { list-style: none; margin: 0; padding: 0; }
.sp-drawer-panel > ul > li > a {
  display: block; color: var(--navy); font-size: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; padding: 14px 24px; text-decoration: none;
}
.sp-drawer-panel > ul > li > a.on { background: var(--navy); color: #fff; }
.sp-drawer-sub { }
.sp-drawer-sub li a { display: block; color: var(--navy); font-size: 14px; padding: 8px 24px 8px 40px; text-decoration: none; }

.sp-site-footer { background: var(--navy); color: var(--ivory-box); margin-top: 3rem; }
.sp-footer-top { padding-top: 56px; }
.sp-footer-brand { display: flex; align-items: center; margin-bottom: 24px; }
.sp-footer-logo { border-radius: 50%; border: 1px solid var(--gold); display: block; }
.sp-footer-word { margin-left: 14px; font-family: var(--font-heading); font-weight: 600; font-size: 24px; line-height: 1; color: var(--gold); white-space: nowrap; text-decoration: none; }
.sp-footer-blurb { font-size: 14px; line-height: 1.7; color: rgba(250, 246, 236, 0.8); max-width: none; }
.sp-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px 0; }
.sp-footer-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 760px) { .sp-footer-grid { grid-template-columns: 1fr; } }
@media (min-width: 761px) { .sp-footer-business { margin-left: 24px; } }
.sp-footer-h { font-family: var(--font-heading); font-size: 20px; margin-bottom: 16px; color: var(--gold-light); }
.sp-footer-reg { font-size: 14px; text-decoration: underline; margin-bottom: 4px; color: rgba(250, 246, 236, 0.85); }
.sp-footer-strong { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--gold-light); }
.sp-footer-muted { font-size: 14px; line-height: 1.7; color: rgba(250, 246, 236, 0.8); margin-bottom: 12px; }
.sp-footer-italic { font-size: 14px; font-style: italic; margin-bottom: 4px; color: rgba(250, 246, 236, 0.8); }
.sp-footer-link { color: rgba(250, 246, 236, 0.8); text-decoration: none; }
.sp-footer-link:hover { color: var(--gold-light); }
.sp-footer-link-bold { font-weight: 700; color: var(--ivory-box); text-decoration: none; }
.sp-footer-link-bold:hover { color: var(--gold-light); }
.sp-footer-legal { list-style: none; margin: 0 0 24px; padding: 0; font-size: 14px; }
.sp-footer-legal li { margin-bottom: 8px; }
.sp-footer-legal a { color: rgba(250, 246, 236, 0.8); text-decoration: none; }
.sp-footer-legal a:hover { color: var(--gold-light); }
.sp-footer-bar { border-top: 1px solid rgba(250, 246, 236, 0.15); }
.sp-footer-bar-in { padding: 24px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; color: rgba(250, 246, 236, 0.7); }
.sp-footer-socials { display: flex; align-items: center; gap: 12px; }
.sp-social { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* Rotating "sp-hh" hero carousel on the Intelligence Hub listing page — matches the
   live site's own crossfading hero of the 5 most recent reports. */
.sp-hh { max-width: 620px; padding: 0 0 56px; position: relative; z-index: 1; }
.sp-hh-crumb { font-size: 13px; color: #5c5c66; margin: 0 0 22px; }
.sp-hh-crumb a { color: inherit; text-decoration: none; }
.sp-hh-eb { font: 700 12px/1 var(--font-body); letter-spacing: 2.4px; color: var(--gold); margin: 0 0 22px; }
.sp-hh-slides { display: grid; padding-bottom: 40px; }
.sp-hh-s { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.sp-hh-s.on { opacity: 1; pointer-events: auto; }
.sp-hh-m { font: 600 12px/18px var(--font-body); letter-spacing: 0.96px; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.sp-hh-t { font: 500 30px/33px var(--font-heading); color: var(--navy); margin: 0 0 18px; }
.sp-hh-t em { font-style: italic; color: var(--gold); }
.sp-hh-d { font-size: 16px; line-height: 25.6px; color: #5b5b6e; margin: 0 0 22px; }
.sp-hh-b { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: fit-content; font: 700 13px/15.6px var(--font-body); letter-spacing: 0.52px; padding: 13px 26px; border-radius: 4px; background: var(--navy); color: var(--ivory-box); text-decoration: none; }
.sp-hh-ctl { display: flex; align-items: center; gap: 12px; }
.sp-hh-pv, .sp-hh-nx {
  width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--navy);
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
}
.sp-hh-pv svg, .sp-hh-nx svg { width: 18px; height: 18px; display: block; }
.sp-hh-pv svg { transform: rotate(180deg); }
.sp-hh-dots { display: flex; align-items: center; gap: 8px; }
.sp-hh-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--sand, #e3d9c2); padding: 0; cursor: pointer; }
.sp-hh-dot.on { background: var(--gold); }
.sp-hh-n { font: 600 12px/12px var(--font-body); color: var(--gold); letter-spacing: 1.2px; }

/* M&A Strategy article grid — same visual language as .sp-tile (ivory box, gold
   border, hover-glow) applied to the 3 featured M&A Insights articles. */
.sp-ma-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .sp-ma-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sp-ma-grid { grid-template-columns: 1fr; } }
.sp-ma-card {
  background: var(--ivory-box);
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  box-shadow: 0 6px 22px rgba(217, 190, 126, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0.6rem;
  transition: box-shadow 0.3s ease;
}
.sp-ma-card:hover { box-shadow: 0 0 0 1px var(--gold), 0 14px 36px rgba(217, 190, 126, 0.65), 0 0 28px rgba(217, 190, 126, 0.45); }
.sp-ma-card-img { border-radius: 4px; overflow: hidden; height: 176px; background: var(--ivory-hover); }
.sp-ma-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-ma-card-body { display: flex; flex-direction: column; flex: 1; padding: 1rem 0.4rem 0.2rem; }
.sp-ma-card-title { font-family: var(--font-heading); font-size: 1.1rem; line-height: 1.3; flex: 1; }
.sp-ma-card-date { font-size: 0.75rem; color: var(--gold-label); margin: 0.75rem 0 0.5rem; }
.sp-ma-card-link { color: var(--gold); font-size: 0.85rem; }

/* M&A Insights deal articles (/deal/<slug>) — ported from the Next.js site's own
   .sp-deal-* rules, which were themselves matched numerically against the live
   /deal/<slug> pages' computed styles (56-64px/700 H1, 780px Inter reading column,
   22px/1.6 lead paragraph, gold/ivory "In this article" jump box). */
.sp-deal { padding-top: 40px; padding-bottom: 80px; }
.sp-deal-hero-img { margin-bottom: 40px; background: var(--ivory-hover); border-radius: 6px; }
.sp-deal-hero-img-el { width: 100%; height: auto; aspect-ratio: 861 / 392; object-fit: cover; border-radius: 6px; display: block; }
.sp-deal-h1 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(26px, 6vw, 40px); line-height: 1.15; color: var(--navy); margin: 0 0 32px; max-width: 780px; }
@media (min-width: 768px) { .sp-deal-h1 { font-size: 56px; } }
@media (min-width: 1024px) { .sp-deal-h1 { font-size: 64px; } }
.sp-deal-body { max-width: 780px; }
.sp-deal-lead { font-family: var(--font-inter); font-size: 22px; line-height: 1.6; color: var(--navy); margin: 0 0 18px; }
.sp-deal-p { font-family: var(--font-inter); font-size: 18px; line-height: 1.75; color: #2b2d48; margin: 0 0 18px; }
.sp-deal-toc { background: var(--ivory-box); border: 1px solid var(--gold-light); border-radius: 6px; padding: 22px 26px; margin: 8px 0 48px; }
.sp-deal-toc-label { display: block; font-family: var(--font-inter); font-size: 12px; font-weight: 700; letter-spacing: 2.64px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.sp-deal-toc-list { list-style: none; margin: 0; padding: 0; }
.sp-deal-toc-list li a { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; font-family: var(--font-inter); font-size: 16px; font-weight: 400; color: var(--navy); text-decoration: none; }
.sp-deal-toc-list li a b { flex: none; font-weight: 700; }
.sp-deal-toc-list li a:hover { color: var(--gold); }
.sp-deal-sec { margin-top: 72px; margin-bottom: 12px; scroll-margin-top: 140px; }
.sp-deal-sec-n { display: block; font-family: var(--font-inter); font-size: 12px; font-weight: 700; letter-spacing: 2.64px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.sp-deal-sec-t { font-family: var(--font-heading); font-weight: 500; font-size: 28px; line-height: 1.3; color: var(--navy); margin: 0; }
.sp-deal-list { list-style: none; margin: 0 0 20px; padding: 0; }
.sp-deal-list li { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-inter); font-size: 16px; line-height: 1.4; color: var(--navy); margin-bottom: 10px; }
.sp-deal-diamond { color: var(--gold); margin-top: 1px; }
.sp-deal-quote { font-family: var(--font-heading); font-style: italic; font-size: 22px; color: var(--navy); border-left: 3px solid var(--gold); padding-left: 20px; margin: 24px 0; }
.sp-deal-hr { border: none; border-top: 1px solid var(--gold-wordmark); margin: 40px 0; }
.sp-deal-table-wrap { overflow-x: auto; margin: 24px 0 32px; max-width: 1040px; }
.sp-deal-table { border-collapse: collapse; width: 100%; min-width: 560px; }
.sp-deal-table th, .sp-deal-table td { color: var(--navy); font-family: var(--font-body); font-size: 12.5px; font-weight: 700; padding: 8px 9px; text-align: left; border: 1px solid var(--ivory); white-space: normal; }
.sp-deal-table thead th { background: var(--navy); color: var(--ivory-box); }
.sp-deal-table tbody tr:nth-child(odd) td { background: var(--ivory-light-gold); }
.sp-deal-table tbody tr:nth-child(even) td { background: var(--ivory); }
