/* ============================================================
   sv-insights.css — Securevision Insights Stylesheet

   VERSION HISTORY
   -------------------------------------------------------
   v1.0  May 2026    Extracted from sv-shared.css.
   v1.2  May 2026    Background images applied to hero classes.
   v1.4  May 2026    Section 1 hub components completed.
   v2.0  Jun 2026    MAJOR — Article hero redesigned.
                     - Two-column layout: content left,
                       SVG category illustration right.
                     - Six system-based category classes replace
                       single shared background image:
                       .insights-cat-cctv       (navy blue)
                       .insights-cat-alarm      (crimson)
                       .insights-cat-cctv       (blue)
                       .insights-cat-access     (teal)
                       .insights-cat-vehicle    (amber)
                       .insights-cat-ip         (cyan-teal)
                       .insights-cat-platform   (purple)
                       .insights-cat-planning   (slate)
                     - Typography scaled down for 35vh hero.
                     - .insights-header-intro removed — paragraph
                       moved to first <p> in article body.
                     - Trust bar removed from article pages.
                     - Hero byline resized: portrait 40px,
                       smaller type, tighter margins.
                     - Sidebar founder card replaced with
                       contextual CTA + assessment form.
                     - Full author bio footer replaced with
                       compact .author-attribution strip.
                     - prev/next nav removed.
                     - Progress bar added to TOC.

   Load order for all /insights/ pages:
   <link rel="stylesheet" href="/sv-shared.css">
   <link rel="stylesheet" href="/sv-insights.css">
   ============================================================ */


/* ============================================================
   SECTION 1 — INSIGHTS HUB
   Used on /insights/index.html only.
   ============================================================ */

/* ── 1a. Hub hero ── */

.hero-insights {
  background-color: #0E1A2B;
  background-image: url('/images/insights/securevision-insights.webp');
  background-size: cover;
  background-position: center 40%;
  padding: 120px 0 80px;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-insights::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(14, 26, 43, 0.90) 0%,
    rgba(14, 26, 43, 0.78) 55%,
    rgba(14, 26, 43, 0.55) 100%
  );
  pointer-events: none;
}

.hero-insights .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-insights {
    background-position: center center;
  }
  .hero-insights::before {
    background: linear-gradient(rgba(14, 26, 43, 0.80) 0%, rgba(14, 26, 43, 0.50) 50%, rgba(14, 26, 43, 0.15) 100%);
  }
}

/* ── 1b. Hub hero text ── */

.hero-sub-note {
  color: rgba(255, 255, 255, 0.7);
  max-width: 850px;
  margin: 24px auto 0;
  line-height: 1.8;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.hero-insights h1 {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-insights .subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  max-width: 750px;
  margin: 0 auto 0;
  line-height: 1.8;
  opacity: 1;
}

.hero-insights .eyebrow-light {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 20px;
}



/* ── Author strip — slim one-liner ── */

.author-strip {
  background: #f8f9fa;
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
}

.author-strip-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.author-strip-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border-light);
}

.author-strip-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-light);
  flex: 1;
  min-width: 0;
}

.author-strip-text strong {
  color: var(--text-dark);
}

.author-strip-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-blue);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.author-strip-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .author-strip-text {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .author-strip-link {
    display: none;
  }
}

/* ── Featured card — full width, text left / image right ── */

.fc-card {
  display: grid;
  grid-template-columns: 1fr 40%;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  margin-bottom: 32px;
  min-height: 320px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.fc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-blue);
}

.fc-text {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.fc-cat {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.fc-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin: 0;
}

.fc-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-blue);
}

.fc-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}

.fc-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

.fc-media[style] {
  /* gradient placeholder */
  min-height: 320px;
}

/* Mobile — stack vertically */
@media (max-width: 768px) {
  .fc-card {
    grid-template-columns: 1fr;
    grid-template-rows: 220px auto;
    min-height: auto;
  }

  .fc-card .fc-text {
    order: 2;
    padding: 28px 24px;
  }

  .fc-card .fc-media {
    order: 1;
    min-height: 220px;
  }
}

/* ── Load more button ── */

.load-more-btn {
  background: none;
  border: 1.5px solid var(--primary-blue);
  color: var(--primary-blue);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 36px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.load-more-btn:hover {
  background: var(--primary-blue);
  color: #fff;
}


  font-size: 11px;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.fc-title {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--text-dark);
}

.fc-excerpt {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.fc-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.author-thumb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.byline-text {
  font-size: 13px;
  color: var(--text-light);
}

.read-more {
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── 1e. Articles grid ── */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0;
}

/* ── Article card — image top, body below ── */
.article-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-blue);
}

/* Feature image */
.ac-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

/* Gradient placeholder when no image */
.ac-img-placeholder {
  width: 100%;
  height: 180px;
  flex-shrink: 0;
}

/* Card body */
.ac-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

/* Category pill */
.ac-cat {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-blue);
}

/* Category colour variants */
.ac-cat--alarm-intrusion      { color: #b91c1c; }
.ac-cat--cctv-surveillance    { color: #1d4ed8; }
.ac-cat--access-intercom      { color: #065f46; }
.ac-cat--vehicle-gates        { color: #92400e; }
.ac-cat--ip-telephony-network { color: #0e7490; }
.ac-cat--platform-integration { color: #4c1d95; }
.ac-cat--security-planning    { color: #334155; }

.ac-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0;
  flex: 1;
}

.ac-cta {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-blue);
  margin-top: 4px;
}

.ac-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-light);
  padding: 48px 0;
  font-size: 15px;
}

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

@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 32px 0 60px;
  }

  .ac-img,
  .ac-img-placeholder {
    height: 140px;
  }

  .ac-title {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ── 1f. Filter section wrapper ── */

/* ── Filter section ── */

.filter-section {
  padding: 0;
  background: #fff;
  border-bottom: 2px solid var(--border-light);
  position: sticky;
  top: 96px;
  z-index: 800;
}

.insights-filters {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.insights-filters::-webkit-scrollbar { display: none; }

.filter-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-btn:hover {
  color: var(--primary-blue);
}

.filter-btn.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
}

/* Mobile — swap to short labels via data-short attribute */
@media (max-width: 768px) {
  .filter-btn {
    font-size: 12px;
    padding: 12px 12px;
  }

  .filter-btn span.full-label { display: none; }
}


  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── 1g. Article grid section wrapper ── */

.grid-section {
  background: #fff;
  padding: 48px 0 80px;
}

/* ── 1h. About the author section ── */

.author-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.author-flex {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 64px;
  align-items: center;
}

.author-bio h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.author-bio p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.story-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  letter-spacing: 0.3px;
}

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

.author-photo-wrap {
  text-align: center;
}

.author-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 4px solid #fff;
}

/* ── 1i. Browse by system section ── */

.browse-section {
  padding: 80px 0;
  background: #fff;
}

.browse-header {
  text-align: center;
  margin-bottom: 48px;
}

.browse-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.browse-header p {
  font-size: 15px;
  color: var(--text-light);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.system-tile {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: 0.25s;
  cursor: pointer;
}

.system-tile:hover {
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.system-tile h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.system-tile p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.tile-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── 1j. Newsletter section ── */

.newsletter-section {
  background: var(--bg-light);
  padding: 80px 0;
  border-top: 1px solid var(--border-light);
}

.nl-container {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.nl-container h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.nl-container > p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 28px;
}

.nl-form {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.nl-input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}

.nl-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.nl-btn {
  padding: 12px 24px;
  background: var(--primary-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.nl-btn:hover {
  background: var(--dark-blue);
}

.nl-fineprint {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

/* ── 1k. Responsive — hub sections ── */

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

  .author-flex {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .author-photo-wrap {
    order: -1;
  }

  .author-photo {
    width: 140px;
    height: 140px;
  }
}

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

  .nl-form {
    flex-direction: column;
  }

  .nl-btn {
    width: 100%;
  }

  .filter-section {
    padding: 16px 0;
  }
}

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


/* ============================================================
   SECTION 2 — ARTICLE HEADER
   Used on all /insights/[article].html pages.

   Two-column layout: content (title + byline) left,
   SVG category illustration right. 35vh min-height.
   No background photography — category tint + dot pattern only.

   Apply one category modifier class to <header>:
     class="insights-header insights-cat-cctv"
     class="insights-header insights-cat-alarm"
     class="insights-header insights-cat-access"
     class="insights-header insights-cat-vehicle"
     class="insights-header insights-cat-platform"
     class="insights-header insights-cat-planning"
   ============================================================ */

/* ── 2a. Base article header ── */

.insights-header {
  min-height: 35vh;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* Muted monochromatic blue — professional, less saturated */
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #334155 50%,
    #0f172a 100%
  );
}

/* Dot pattern overlay — category colour applied via modifier */
.insights-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.insights-header .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 96px;
  padding-bottom: 40px;
}

/* ── 2b. Two-column inner layout ── */

.insights-header-inner {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 40px;
  align-items: center;
}

/* ── 2c. Left column — category pill, title, byline ── */

.insights-header-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

/* Title group — stays at top */
.insights-header-title-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Category eyebrow pill */
.insights-cat-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
  background: var(--ih-pill-bg, rgba(255,255,255,0.15));
  color: var(--ih-pill-text, #ffffff);
  width: fit-content;
}

/* Article H1 — tighter scale than old hero */
.insights-header-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 10px;
  max-width: 680px;
}

/* Subtitle — sits below H1, above byline */
.insights-header-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin: 0;
  max-width: 580px;
}

/* ── 2d. Author byline strip ── */

.hero-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.hero-byline-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.hero-byline-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.hero-byline-role {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-byline-role .sv-years-experience {
  display: inline;
}

/* On mobile — reduce avatar size, allow text to wrap */
@media (max-width: 768px) {
  .hero-byline-img {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }

  .hero-byline-text strong {
    font-size: 0.8rem;
  }

  .hero-byline-role {
    font-size: 0.72rem;
  }
}

/* ── 2e. Right column — SVG illustration wrapper ── */

.insights-header-illus {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Soft radial glow — lifts the illustration off the dark background */
.insights-header-illus::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    var(--ih-pill-bg, rgba(255,255,255,0.08)) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.insights-header-illus svg {
  width: 180px;
  height: 140px;
  overflow: visible;
  position: relative;
  z-index: 1;
}

/* ── 2f. Category modifier classes ──
   Each sets only the eyebrow pill colour.
   Background is unified across all categories.
   ─────────────────────────────────────────────────────────── */

/* CCTV & Surveillance — blue pill */
.insights-cat-cctv {
  --ih-pill-bg:   rgba(55, 138, 221, 0.9);
  --ih-pill-text: #ffffff;
}

/* Alarm & Intrusion — red pill */
.insights-cat-alarm {
  --ih-pill-bg:   rgba(194, 60, 60, 0.9);
  --ih-pill-text: #ffffff;
}

/* Access & Intercom — teal pill */
.insights-cat-access {
  --ih-pill-bg:   rgba(29, 158, 117, 0.9);
  --ih-pill-text: #ffffff;
}

/* Vehicle & Gates — amber pill */
.insights-cat-vehicle {
  --ih-pill-bg:   rgba(186, 117, 23, 0.9);
  --ih-pill-text: #ffffff;
}

/* Platform & Integration — purple pill */
.insights-cat-platform {
  --ih-pill-bg:   rgba(127, 119, 221, 0.9);
  --ih-pill-text: #ffffff;
}

/* IP Telephony & Network — cyan-teal pill */
.insights-cat-ip {
  --ih-pill-bg:   rgba(14, 165, 163, 0.9);
  --ih-pill-text: #ffffff;
}

/* Security Planning — slate pill */
.insights-cat-planning {
  --ih-pill-bg:   rgba(100, 116, 139, 0.9);
  --ih-pill-text: #ffffff;
}

/* ── 2g. Mobile — stack columns, hide illustration ── */

@media (max-width: 768px) {
  .insights-header {
    min-height: auto;
  }

  .insights-header .container {
    padding-top: 64px;
    padding-bottom: 48px;
  }

  .insights-header-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .insights-header-illus {
    display: none;
  }

  .insights-header-title {
    font-size: clamp(20px, 5vw, 26px);
  }

  .insights-header-subtitle {
    font-size: 13px;
  }

  /* Push byline away from title on mobile */
  .hero-byline {
    margin-top: 28px;
  }
}


/* ============================================================
   SECTION 3 — ARTICLE BODY & PROSE
   ============================================================ */

.article-body {
  padding: 48px 0 80px;
  background: #fff;
}

/* Override global section padding for article prose sections */
.article-body .layout-with-sidebar main section {
  padding: 0;
  border-bottom: none;
}

.prose h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--text-dark);
  margin: 36px 0 16px;
  scroll-margin-top: 100px;
  line-height: 1.25;
}

.prose h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-mid, #334155);
  margin: 28px 0 14px;
}

.prose p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose ul,
.prose ol {
  font-family: 'Inter', sans-serif;
  margin-bottom: 24px;
  padding-left: 0;
  color: var(--text-gray);
  list-style: none;
}

.prose ol {
  counter-reset: prose-counter;
}

.prose li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
  color: var(--text-gray);
  padding-left: 28px;
  position: relative;
}

/* Unordered — blue tick */
.prose ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
}

/* Ordered — blue number */
.prose ol li::before {
  counter-increment: prose-counter;
  content: counter(prose-counter) '.';
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
}

.prose strong {
  color: var(--text-dark);
  font-weight: 600;
}

.prose hr {
  margin: 56px 0;
  border: 0;
  border-top: 1px solid var(--border-light);
}


/* ============================================================
   SECTION 4 — SIDEBAR
   TOC + progress bar + contextual CTA + assessment form.
   Founder card removed — authorship now in article hero.
   ============================================================ */

/* ── 4a. Layout grid ── */

.article-body .layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  grid-template-areas: "content sidebar";
  gap: 56px;
  align-items: start;
  margin-bottom: 80px;
}

.article-body .layout-with-sidebar aside {
  grid-area: sidebar;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  align-self: start;
  /* Hide scrollbar by default, show on hover */
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.article-body .layout-with-sidebar aside:hover {
  scrollbar-color: var(--border-light) transparent;
}

.article-body .layout-with-sidebar aside::-webkit-scrollbar {
  width: 4px;
}

.article-body .layout-with-sidebar aside::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 2px;
}

.article-body .layout-with-sidebar aside:hover::-webkit-scrollbar-thumb {
  background: var(--border-light);
}

.article-body .layout-with-sidebar main {
  grid-area: content;
}

/* ── 4b. Single sidebar container — visual wrapper only ── */

.sidebar-container {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

/* Each section separated by a divider */
.sidebar-section {
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-section:last-child {
  border-bottom: none;
}

/* CTA section tinted background */
.sidebar-section--cta {
  background: #eef4fc;
}

/* ── 4c. TOC heading ── */

.article-body .toc-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  display: block;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

/* ── 4d. Reading progress bar ── */

.toc-progress-wrap {
  padding: 0 0 10px;
}

.toc-progress-track {
  height: 3px;
  background: var(--border-light);
  border-radius: 2px;
  overflow: hidden;
}

.toc-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--primary-blue);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* ── 4e. TOC list ── */

.article-body .toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-body .toc-list li {
  margin-bottom: 2px;
}

.article-body .toc-list a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  display: block;
  padding: 5px 0 5px 28px;
  text-indent: -18px;
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.article-body .toc-list a:hover {
  color: var(--primary-blue);
  border-left-color: var(--primary-blue);
}

.article-body .toc-list a.active {
  color: var(--primary-blue);
  border-left-color: var(--primary-blue);
  font-weight: 600;
}

/* ── 4f. CTA inside container ── */

.sidebar-section--cta .sidebar-cta-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-blue);
  margin-bottom: 8px;
  display: block;
}

.sidebar-section--cta .sidebar-cta-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 8px;
}

.sidebar-section--cta .sidebar-cta-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 14px;
}

.sidebar-cta-btn {
  display: block;
  text-align: center;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  margin-bottom: 8px;
  transition: 0.2s;
}

.sidebar-cta-btn:last-child {
  margin-bottom: 0;
}

.sidebar-cta-btn-primary {
  background: var(--primary-blue);
  color: #fff;
  border: 1px solid var(--primary-blue);
}

.sidebar-cta-btn-primary:hover {
  background: var(--dark-blue);
}

.sidebar-cta-btn-wa {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.sidebar-cta-btn-wa:hover {
  background: #dcfce7;
}

/* ── 4g. Form inside container ── */

.sidebar-section .sidebar-form-head {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  display: block;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-form-body {
  padding: 0;
}

.sf-field {
  margin-bottom: 12px;
}

.sf-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sf-input,
.sf-select {
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.sf-input:focus,
.sf-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.08);
}

.sf-submit {
  width: 100%;
  padding: 10px;
  background: #0E1A2B;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.2s;
}

.sf-submit:hover {
  background: var(--primary-blue);
}

.sf-note {
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}


/* ============================================================
   SECTION 5 — INLINE ARTICLE COMPONENTS
   Takeaways block, callout box, verdict box, article image box.
   ============================================================ */

/* ── Article takeaways block ── */

.article-takeaways {
  background: #f0f7ff;
  border-left: 4px solid var(--primary-blue);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin: 0 0 24px;
}

.article-takeaways-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-blue);
  margin-bottom: 14px;
  display: block;
}

.article-takeaways ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-takeaways li {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.article-takeaways li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 13px;
}

.article-takeaways li:last-child {
  margin-bottom: 0;
}

/* ── Callout box ── */

.callout-box {
  background: #f0f7ff;
  border-left: 4px solid var(--primary-blue);
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
  margin: 32px 0;
}

.callout-box .callout-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.verdict-box {
  background: #dbeafe;
  border-left: 4px solid var(--primary-blue);
  border-radius: 0 12px 12px 0;
  padding: 32px 36px;
  margin: 40px 0;
}

.verdict-box .verdict-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.verdict-box p {
  font-family: 'Inter', sans-serif;
  color: #1e3a5f;
  line-height: 1.7;
  margin: 0;
}

/* In Short summary box — visually distinct from Securevision's View */
.verdict-box--summary {
  background: #0E1A2B;
  border-left: 4px solid var(--primary-blue);
  border-radius: 0 12px 12px 0;
  padding: 32px 36px;
  margin: 40px 0;
}

.verdict-box--summary .verdict-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.verdict-box--summary p {
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin: 0;
}

.article-image-box {
  margin: 32px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.article-image-box img {
  width: 100%;
  display: block;
}

.image-caption {
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
  padding: 10px 16px;
  background: var(--bg-light);
}


/* ============================================================
   SECTION 6 — ARTICLE FOOTER ELEMENTS
   Compact author attribution, tags, related articles.
   Full author-bio-footer and prev/next nav removed.
   ============================================================ */

/* ── 6a. Compact author attribution strip ── */

.author-attribution {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  margin-bottom: 8px;
}

.author-attribution-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border-light);
}

.author-attribution-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

.author-attribution-text strong {
  color: var(--text-dark);
  font-weight: 600;
}

.author-attribution-links {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.author-attribution-links a {
  font-size: 13px;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
}

.author-attribution-links a:hover {
  text-decoration: underline;
}

/* ── 6b. Tag pills ── */

/* ── Article inline images with text wrap ── */

.article-img-float-right {
  float: right;
  width: 280px;
  max-width: 40%;
  margin: 4px 0 20px 28px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  display: block;
  height: auto;
}

/* Clearfix — prevents float overflowing into next section */
.prose section::after {
  content: '';
  display: table;
  clear: both;
}

@media (max-width: 991px) {
  .article-img-float-right {
    float: none !important;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;
    clear: both;
  }
}

/* ── Article share strip ── */

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  margin-bottom: 32px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.article-share-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  flex-shrink: 0;
  margin-right: 4px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.share-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.share-btn-linkedin {
  background: #0a66c2;
  color: #fff;
}

.share-btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.share-btn-copy {
  background: #f1f5f9;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.share-btn-copy.copied {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

@media (max-width: 600px) {
  .article-share {
    gap: 8px;
  }

  .share-btn {
    font-size: 11px;
    padding: 7px 12px;
  }
}

/* ── Article tags ── */

.article-tags {
  margin-bottom: 60px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-pill {
  background: #f1f5f9;
  color: #475569;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s;
}

.tag-pill:hover {
  background: #e2e8f0;
}


/* ============================================================
   SECTION 7 — RELATED ARTICLES GRID
   ============================================================ */

.insights-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.related-article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
}

.related-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
}

.related-card-img-placeholder {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
  border-radius: 12px 12px 0 0;
}

.related-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.related-article-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.related-card-cat {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-blue);
}

.related-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
  flex: 1;
}

.related-card-cta {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-blue);
  margin-top: 4px;
}


/* ============================================================
   SECTION 8 — SUCCESS / THANK-YOU PAGE
   ============================================================ */

.success-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
}

.success-steps {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.success-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 160px;
}

.success-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e8f0fe;
  color: #0056b3;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.success-step p {
  font-size: 14px;
  color: #374151;
  margin: 0;
  line-height: 1.5;
}

.success-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 48px auto;
  max-width: 480px;
}


/* ============================================================
   SECTION 9 — RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
  .featured-card {
    grid-template-columns: 1fr;
  }

  .fc-image {
    height: 300px;
  }

  .article-body {
    padding: 40px 0;
  }

  .insights-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .author-attribution {
    flex-wrap: wrap;
  }
}

/* ── Sidebar hidden below 991px — CTA handled by final section ── */

@media (max-width: 991px) {
  .article-body .layout-with-sidebar {
    display: block;
  }

  .article-body .layout-with-sidebar aside {
    position: static;
    max-height: none;
    overflow-y: visible;
    display: none;
  }
}

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

  .insights-related-grid {
    grid-template-columns: 1fr;
  }
}

/* ── END sv-insights.css ── */

/* In-article float-right image � used in sprint-rebuilt articles */
.article-img-float-right {
  float: right;
  width: 340px;
  max-width: 45%;
  margin: 0 0 24px 32px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  display: block;
  height: auto;
}

@media (max-width: 768px) {
  .article-img-float-right {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 24px 0;
  }
}

/* Comparison Table Refinements */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.5;
}
.prose th {
  padding: 12px 16px;
  text-align: left;
  background: rgba(0, 86, 179, 0.08); /* Alpha tint of primary blue */
  border-bottom: 2px solid var(--primary-blue);
  color: var(--text-dark);
  font-weight: 600;
}
.prose td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-gray);
}
.prose tbody tr:nth-child(even) {
  background: var(--bg-light);
}
