/* Shared blog chrome — matches CCTV article template */
:root {
  --ml-red: #be1e2d;
  --ml-red-deep: #8a1520;
  --text: #1a1a1a;
  --muted: #5c5a5b;
  --border: rgba(0, 0, 0, 0.09);
  --bg-soft: #f6f6f6;
}

.content-aside {
  display: flex;
  flex-direction: column;
  gap: 0;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  position: sticky;
  top: 96px;
  z-index: 5;
  min-width: 0;
}

.sidebar-sticky {
  position: sticky;
  top: 96px;
  z-index: 5;
  max-height: calc(100vh - 112px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.sidebar-sticky .sidebar-toc-card {
  margin-bottom: 0;
}

/* Circular animated share icons */
.share-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.share-btn {
  --share-accent: var(--ml-red);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  color: var(--share-accent) !important;
  background: linear-gradient(160deg, #fff 0%, #fff5f5 100%) !important;
  border: 1px solid rgba(190, 30, 45, 0.14) !important;
  box-shadow: 0 8px 16px color-mix(in srgb, var(--share-accent) 12%, transparent);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.share-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.35), transparent 55%);
  pointer-events: none;
}

.share-btn i {
  position: relative;
  z-index: 1;
  animation: blogMegaSolFloat 3.4s ease-in-out infinite;
}

.share-btn:nth-child(2) i { animation-delay: 0.15s; }
.share-btn:nth-child(3) i { animation-delay: 0.3s; }
.share-btn:nth-child(4) i { animation-delay: 0.45s; }

.share-btn:hover {
  background: var(--share-accent) !important;
  color: #fff !important;
  border-color: var(--share-accent) !important;
  box-shadow: 0 10px 20px color-mix(in srgb, var(--share-accent) 28%, transparent);
  transform: translateY(-2px) scale(1.04);
}

.share-btn:hover i {
  animation: blogMegaSolNudge 0.45s ease;
}

.share-fb { --share-accent: #1877f2; background: linear-gradient(160deg, #fff 0%, #f0f6ff 100%) !important; }
.share-ig { --share-accent: #dd2a7b; background: linear-gradient(160deg, #fff 0%, #fff0f7 100%) !important; }
.share-li { --share-accent: #0a66c2; background: linear-gradient(160deg, #fff 0%, #eef6ff 100%) !important; }
.share-wa { --share-accent: #25d366; background: linear-gradient(160deg, #fff 0%, #effff5 100%) !important; }

@keyframes blogMegaSolFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes blogMegaSolNudge {
  0% { transform: scale(1) rotate(0deg); }
  40% { transform: scale(1.12) rotate(-6deg); }
  70% { transform: scale(1.06) rotate(4deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* Sidebar contact form */
.sidebar-contact-form {
  display: grid;
  gap: 10px;
}

.sidebar-contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-contact-form label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.sidebar-contact-form label .req { color: var(--ml-red); }

.sidebar-contact-form label .optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  opacity: 0.8;
}

.sidebar-contact-form input,
.sidebar-contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-contact-form input:focus,
.sidebar-contact-form textarea:focus {
  border-color: rgba(190, 30, 45, 0.45);
  box-shadow: 0 0 0 3px rgba(190, 30, 45, 0.12);
}

.sidebar-phone-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.sidebar-phone-wrap:focus-within {
  border-color: rgba(190, 30, 45, 0.45);
  box-shadow: 0 0 0 3px rgba(190, 30, 45, 0.12);
}

.sidebar-phone-cc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  background: #f7f7f7;
  border-right: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.sidebar-phone-cc img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.sidebar-phone-wrap input {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.sidebar-phone-wrap input:focus {
  box-shadow: none;
}

.sidebar-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 2px;
  padding: 11px 14px;
  border: none;
  border-radius: 10px;
  background: var(--ml-red);
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sidebar-contact-submit:hover {
  background: #a51926;
  transform: translateY(-1px);
}

.sidebar-contact-submit svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sidebar-contact-note {
  margin: 2px 0 0 !important;
  font-size: 0.75rem !important;
  color: var(--muted);
  line-height: 1.4;
}

.sidebar-contact-status {
  margin: 0 !important;
  min-height: 1.2em;
  font-size: 0.75rem !important;
  font-weight: 650;
  color: var(--ml-red);
}

.sidebar-contact-details {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.sidebar-contact-details a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text);
  text-decoration: none;
  line-height: 1.4;
}

.sidebar-contact-details a:hover {
  color: var(--ml-red);
}

.sidebar-contact-details .ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #fff 0%, #fff5f5 100%);
  border: 1px solid rgba(190, 30, 45, 0.14);
  color: var(--ml-red);
}

.sidebar-contact-details .ico svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* TOC card */
.sidebar-toc-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border: 1px solid var(--border);
  box-shadow: none;
}

.sidebar-toc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ml-red) 0%, #e85a66 55%, transparent 100%);
  pointer-events: none;
}

.sidebar-toc-card h5 {
  position: relative;
  z-index: 1;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.sidebar-toc-card h5 .toc-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(190, 30, 45, 0.18);
  color: var(--ml-red);
  box-shadow: 0 6px 14px rgba(190, 30, 45, 0.1);
  flex-shrink: 0;
}

.sidebar-toc-card h5 .toc-badge svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sidebar-toc-card h5 .toc-kicker {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ml-red);
  margin-bottom: 2px;
}

.sidebar-toc-card h5 .toc-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.sidebar-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  counter-reset: toc-step;
  position: relative;
  z-index: 1;
}

.sidebar-toc a {
  counter-increment: toc-step;
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-family: "Lexend Deca", system-ui, sans-serif !important;
  font-size: 0.8125rem;
  font-weight: 500 !important;
  line-height: 1.4;
  color: var(--text);
  text-decoration: none;
  background: #fff;
  border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sidebar-toc a::before {
  content: counter(toc-step, decimal-leading-zero);
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--ml-red);
  background: linear-gradient(160deg, #fff5f5 0%, #ffe8ea 100%);
  border: 1px solid rgba(190, 30, 45, 0.12);
}

.sidebar-toc a:hover {
  color: var(--ml-red);
  border-color: rgba(190, 30, 45, 0.16);
  background: #fffafb;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(190, 30, 45, 0.08);
}

.sidebar-toc a:hover::before {
  background: var(--ml-red);
  color: #fff;
  border-color: var(--ml-red);
}

.sidebar-toc a.is-active {
  color: var(--ml-red);
  border-color: rgba(190, 30, 45, 0.22);
  background: linear-gradient(135deg, #fff7f8 0%, #fff 100%);
  box-shadow: 0 10px 22px rgba(190, 30, 45, 0.1);
}

.sidebar-toc a.is-active::before {
  background: var(--ml-red);
  color: #fff;
  border-color: var(--ml-red);
}

.blog-article-body h2 {
  scroll-margin-top: 96px;
}

/* Bottom contact band */
.blog-bottom-contact {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(190, 30, 45, 0.12), transparent 55%),
    linear-gradient(165deg, #1a1a1a 0%, #2a1518 50%, #161616 100%);
  color: #fff;
  padding: 64px 0 72px;
}

.blog-bottom-contact .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.blog-bottom-contact .bottom-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
}

.blog-bottom-contact .bottom-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--ml-red);
}

.blog-bottom-contact h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  color: #fff;
}

.blog-bottom-contact .bottom-sub {
  margin: 0 0 28px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.6;
}

.bottom-contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.bottom-contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bottom-contact-form label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.bottom-contact-form label .req { color: #fff; }

.bottom-contact-form label .optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  opacity: 0.7;
}

.bottom-contact-form input {
  width: 100%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: #fff;
  color: var(--text);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bottom-contact-form input:focus {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
}

.bottom-phone-wrap {
  display: flex;
  align-items: stretch;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.bottom-phone-wrap:focus-within {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
}

.bottom-phone-wrap .sidebar-phone-cc {
  border-right-color: rgba(0, 0, 0, 0.08);
}

.bottom-phone-wrap input {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.bottom-phone-wrap input:focus {
  box-shadow: none;
}

.bottom-form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 4px;
}

.bottom-contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border: none;
  border-radius: 999px;
  background: var(--ml-red);
  color: #fff;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.bottom-contact-submit:hover {
  background: #a51926;
  transform: translateY(-1px);
}

.bottom-contact-submit svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-form-note {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.bottom-form-status {
  margin: 0;
  width: 100%;
  min-height: 1.2em;
  font-size: 0.875rem;
  font-weight: 650;
  color: #ffb4bb;
}

.bottom-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.bottom-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  text-decoration: none;
}

.bottom-contact-links a:hover {
  color: #fff;
}

.bottom-contact-links .ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.bottom-contact-links .ico svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 991px) {
  .sidebar-sticky {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .bottom-contact-form {
    grid-template-columns: 1fr;
  }

  .blog-bottom-contact {
    padding: 48px 0 56px;
  }
}

/* Standardized article typography (Lexend Deca) */
.blog-article-body,
.blog-article-body p,
.blog-article-body li,
.blog-article-body span,
.blog-article-body a,
.blog-article-body strong,
.blog-article-body b,
.blog-article-body em,
.blog-article-body u,
.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4,
.blog-article-body figcaption,
.blog-article-body .info-block,
.blog-article-body .info-block-title,
.blog-article-body .info-tile,
.blog-article-body .info-tile strong,
.blog-article-body .info-tile span,
.blog-article-body .info-step,
.blog-article-body .info-step strong,
.blog-article-body .info-step span,
.blog-article-body .glance-row,
.blog-article-body .glance-row span,
.blog-article-body .glance-row strong,
.blog-article-body .highlight-stat,
.blog-article-body .highlight-stat .num-text,
.blog-article-body .highlight-stat span,
.blog-article-body .num,
.hero h1,
.hero .excerpt,
.hero-meta,
.blog-hero h1,
.blog-hero .excerpt {
  font-family: "Lexend Deca", system-ui, sans-serif !important;
}

.blog-article-body {
  font-size: 1rem !important;
  line-height: 1.7 !important;
  color: #2a2a2a;
}

.blog-article-body h2,
.blog-article-body h2 span,
.blog-article-body h2 a,
.blog-article-body h2 b,
.blog-article-body h2 strong {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.3 !important;
  color: #1a1a1a !important;
  margin: 36px 0 12px !important;
  scroll-margin-top: 110px;
}

.blog-article-body h3,
.blog-article-body h3 span,
.blog-article-body h3 a,
.blog-article-body h3 b,
.blog-article-body h3 strong {
  font-size: 1.125rem !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  color: #1a1a1a !important;
  margin: 22px 0 8px !important;
  scroll-margin-top: 110px;
}

.blog-article-body p {
  margin-bottom: 14px !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
  color: #2a2a2a !important;
  font-weight: 400 !important;
}

.blog-article-body p strong,
.blog-article-body p b,
.blog-article-body li strong,
.blog-article-body li b {
  font-weight: 600 !important;
  color: #1a1a1a !important;
}

.blog-article-body ul.point-list,
.blog-article-body ol.point-list {
  margin: 12px 0 20px;
  padding-left: 1.35rem;
  display: grid;
  gap: 10px;
}

.blog-article-body ul.point-list li,
.blog-article-body ol.point-list li {
  margin: 0;
  padding-left: 0.15rem;
  line-height: 1.65;
  color: #2a2a2a !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
}

/* Uniform brand markers for every article list */
.blog-article-body ul li::marker,
.blog-article-body ol li::marker {
  color: var(--ml-red, #be1e2d);
}

.blog-article-body ol li::marker {
  font-weight: 700;
}

.blog-article-body ul.point-list li::marker,
.blog-article-body ol.point-list li::marker {
  color: var(--ml-red, #be1e2d);
}

.blog-article-body ul.summary-points {
  margin-top: 8px;
  margin-bottom: 28px;
  padding: 18px 18px 18px 2.1rem;
  background: var(--bg-soft, #f6f6f6);
  border: 1px solid var(--border, rgba(0, 0, 0, 0.09));
  border-radius: 14px;
  border-left: 4px solid var(--ml-red, #be1e2d);
}

.blog-article-body ul.summary-points li {
  color: #1a1a1a !important;
}

.blog-article-body figcaption {
  color: var(--muted, #5c5a5b) !important;
  font-size: 0.8125rem !important;
}

.blog-article-body .info-block-title {
  color: var(--ml-red, #be1e2d) !important;
}

.blog-article-body .highlight-stat .num-text,
.blog-article-body .highlight-stat .num {
  color: var(--ml-red, #be1e2d) !important;
}

.blog-article-body .info-tile strong,
.blog-article-body .info-step strong,
.blog-article-body .glance-row strong {
  color: #1a1a1a !important;
}

.blog-article-body .info-tile span,
.blog-article-body .info-step span,
.blog-article-body .glance-row span,
.blog-article-body .highlight-stat span {
  color: var(--muted, #5c5a5b) !important;
}


.blog-article-body a,
.blog-article-body a * {
  color: #be1e2d !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.feature-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 28px;
  max-height: 400px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
  background: #f3f3f3;
}

/* Infographics + figures */
.info-block {
  margin: 28px 0 32px;
  padding: 22px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-family: "Lexend Deca", system-ui, sans-serif;
}

.info-block-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ml-red);
  margin-bottom: 16px;
}

.info-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.info-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}

.info-step strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}

.info-step span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

.info-pains,
.info-features,
.info-benefits,
.info-usecases {
  display: grid;
  gap: 10px;
}

.info-pains { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-benefits { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.info-usecases { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.info-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.info-tile .ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #fff 0%, #fff5f5 100%);
  border: 1px solid rgba(190, 30, 45, 0.14);
  box-shadow: 0 8px 16px color-mix(in srgb, #be1e2d 12%, transparent);
  color: var(--ml-red);
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.info-tile .ico::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.35), transparent 55%);
  pointer-events: none;
}

.info-tile .ico svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
  animation: blogMegaSolFloat 3.4s ease-in-out infinite;
}

.info-tile:nth-child(2) .ico svg { animation-delay: 0.12s; }
.info-tile:nth-child(3) .ico svg { animation-delay: 0.24s; }
.info-tile:nth-child(4) .ico svg { animation-delay: 0.36s; }
.info-tile:nth-child(5) .ico svg { animation-delay: 0.48s; }
.info-tile:nth-child(6) .ico svg { animation-delay: 0.6s; }

.info-tile:hover .ico {
  background: var(--ml-red);
  color: #fff;
  border-color: var(--ml-red);
  box-shadow: 0 10px 20px color-mix(in srgb, #be1e2d 28%, transparent);
  transform: scale(1.04);
}

.info-tile:hover .ico svg {
  animation: blogMegaSolNudge 0.45s ease;
}

.info-tile strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}

.info-tile span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

.info-step .num {
  width: auto;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(160deg, #fff 0%, #fff5f5 100%);
  color: var(--ml-red);
  border: 1px solid rgba(190, 30, 45, 0.14);
  box-shadow: 0 8px 16px color-mix(in srgb, #be1e2d 12%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1;
  white-space: nowrap;
  animation: blogMegaSolFloat 3.4s ease-in-out infinite;
}

.info-step:nth-child(2) .num { animation-delay: 0.12s; }
.info-step:nth-child(3) .num { animation-delay: 0.24s; }
.info-step:nth-child(4) .num { animation-delay: 0.36s; }
.info-step:nth-child(5) .num { animation-delay: 0.48s; }

.info-step:hover .num {
  background: var(--ml-red);
  color: #fff;
  border-color: var(--ml-red);
  animation: blogMegaSolNudge 0.45s ease;
}

.article-figure {
  margin: 22px 0 28px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f3f3f3;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  background: #f3f3f3;
}

.article-figure figcaption {
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--border);
  line-height: 1.45;
  font-family: "Lexend Deca", system-ui, sans-serif;
}

.usecase-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 8px;
}

.usecase-photo {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}

.usecase-photo img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.usecase-photo span {
  display: block;
  padding: 8px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  font-family: "Lexend Deca", system-ui, sans-serif;
}

@media (max-width: 991px) {
  .info-flow { grid-template-columns: 1fr 1fr; }
  .info-pains,
  .info-features { grid-template-columns: 1fr 1fr; }
  .info-benefits,
  .info-usecases { grid-template-columns: 1fr 1fr; }
  .usecase-photos { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .info-flow,
  .info-pains,
  .info-features,
  .info-benefits,
  .info-usecases {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .share-btn i,
  .share-btn:hover i,
  .info-tile .ico svg,
  .info-tile:hover .ico svg,
  .info-step .num,
  .info-step:hover .num {
    animation: none !important;
  }

  .share-btn:hover,
  .sidebar-toc a:hover,
  .info-tile:hover,
  .info-tile:hover .ico {
    transform: none;
  }
}

/* Article comparison tables */
.article-table-wrap {
  margin: 1.25rem 0 1.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.09));
  border-radius: 10px;
  background: #fff;
}
.article-compare-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}
.article-compare-table thead th {
  background: var(--ml-red, #be1e2d);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 0.85rem 1rem;
  border: none;
}
.article-compare-table tbody th,
.article-compare-table tbody td {
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--border, rgba(0, 0, 0, 0.09));
  vertical-align: top;
  text-align: left;
}
.article-compare-table tbody th {
  font-weight: 600;
  color: var(--text, #1a1a1a);
  width: 28%;
  background: var(--bg-soft, #f6f6f6);
}
.article-compare-table tbody tr:nth-child(even) td {
  background: rgba(190, 30, 45, 0.03);
}
.article-compare-table tbody tr:hover td,
.article-compare-table tbody tr:hover th {
  background: rgba(190, 30, 45, 0.06);
}

/* Case-study glance + highlight stats (shared with blog clusters) */
.project-glance {
  display: grid;
  gap: 0;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.09));
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.glance-row {
  display: grid;
  grid-template-columns: minmax(140px, 34%) 1fr;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  align-items: baseline;
}
.glance-row:nth-child(even) { background: #fafafa; }
.glance-row:last-child { border-bottom: 0; }
.glance-row span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #5c5a5b);
}
.glance-row strong {
  font-size: 0.95rem;
  color: var(--text, #1a1a1a);
  font-weight: 650;
}

.highlight-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}
.highlight-stat {
  text-align: center;
  padding: 22px 14px;
  border-radius: 14px;
  background: linear-gradient(160deg, #fff 0%, #fff5f5 100%);
  border: 1px solid rgba(190, 30, 45, 0.12);
}
.highlight-stat .num,
.highlight-stat .num-text {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--ml-red, #be1e2d);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.highlight-stat span {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--muted, #5c5a5b);
  font-weight: 600;
}

.info-flow-wrap {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
}

/* 6-step hub / checklist rows: clean 3×2 */
.info-flow-wrap:has(.info-step:nth-child(6):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* 7- and 8-step flows: 4 per row instead of an uneven 5+2 / 5+3 wrap */
.info-flow-wrap:has(.info-step:nth-child(7):last-child),
.info-flow-wrap:has(.info-step:nth-child(8):last-child) {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

@media (max-width: 991px) {
  .info-flow-wrap:has(.info-step:nth-child(6):last-child),
  .info-flow-wrap:has(.info-step:nth-child(7):last-child),
  .info-flow-wrap:has(.info-step:nth-child(8):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .info-pains,
  .info-features,
  .info-benefits,
  .info-usecases {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .highlight-stats {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .glance-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .blog-article-body h2,
  .blog-article-body h2 span,
  .blog-article-body h2 a,
  .blog-article-body h2 b,
  .blog-article-body h2 strong {
    font-size: clamp(1.25rem, 5vw, 1.4rem) !important;
  }
}

@media (max-width: 560px) {
  .info-flow-wrap {
    grid-template-columns: 1fr 1fr !important;
  }

  .info-flow-wrap:has(.info-step:nth-child(6):last-child),
  .info-flow-wrap:has(.info-step:nth-child(7):last-child),
  .info-flow-wrap:has(.info-step:nth-child(8):last-child) {
    grid-template-columns: 1fr 1fr !important;
  }

  .highlight-stats {
    grid-template-columns: 1fr;
  }

  .info-step,
  .info-tile {
    padding: 12px 10px;
  }

  .info-step strong,
  .info-tile strong {
    font-size: 0.8125rem;
  }

  .article-figure {
    margin: 18px 0 22px;
    border-radius: 12px;
  }

  .article-figure img {
    max-height: 260px;
  }
}

@media (max-width: 380px) {
  .info-flow-wrap,
  .info-flow-wrap:has(.info-step:nth-child(6):last-child),
  .info-flow-wrap:has(.info-step:nth-child(7):last-child),
  .info-flow-wrap:has(.info-step:nth-child(8):last-child),
  .info-flow,
  .info-pains,
  .info-features,
  .info-benefits,
  .info-usecases {
    grid-template-columns: 1fr !important;
  }
}


/* Moved from critical inline — FAQ + related (deferred) */
/* FAQ — Video Analytics Explained… */
.va-extended{margin-top:12px;width:100%}
.va-extended .post-faq{
  margin-top:40px;padding-top:40px;border-top:1px solid var(--border);
  scroll-margin-top:calc(var(--header-h) + 24px);
}
.va-extended .section-head{max-width:none;margin:0 0 18px;text-align:left}
.va-extended .section-head .eyebrow{
  color:var(--accent);font-size:.75rem;font-weight:700;letter-spacing:.06em;
  text-transform:uppercase;display:block;margin-bottom:8px;
}
.va-extended .section-head h2{
  font-size:clamp(1.55rem,2.6vw,2.1rem);letter-spacing:-.02em;margin:0 0 10px;
  scroll-margin-top:calc(var(--header-h) + 24px);
}
.va-extended .section-head p{margin:0;max-width:40rem;color:var(--muted);line-height:1.6}
.va-extended .hub-tools{margin:14px 0;display:flex;justify-content:flex-start}
.va-extended .search-box{
  display:flex;align-items:center;gap:8px;border:1px solid rgba(0,0,0,.12);
  border-radius:999px;padding:8px 14px;background:#fff;width:100%;
}
.va-extended .search-box input{border:0;outline:0;width:100%;font:inherit;background:transparent}
.va-extended .search-box svg{width:18px;height:18px;flex:none;stroke:currentColor;fill:none}
.va-extended .filter-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.va-extended .chip{
  border:1px solid rgba(0,0,0,.12);background:#fff;border-radius:999px;
  padding:6px 12px;cursor:pointer;font:inherit;color:#1a1a1a;
}
.va-extended .chip.is-active{background:#1a1a1a;color:#fff;border-color:#1a1a1a}
.va-extended .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.va-extended .faq-grid{display:grid;grid-template-columns:1fr;gap:16px}
.va-extended .faq{
  display:flex;flex-direction:column;width:100%;
  border:1px solid var(--border);border-radius:var(--radius);background:#fff;overflow:hidden;
  transition:box-shadow .25s,border-color .25s;
}
.va-extended .faq:hover{border-color:rgba(190,30,45,.25);box-shadow:var(--shadow)}
.va-extended .faq-img{
  display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;
  border-radius:var(--radius) var(--radius) 0 0;background:var(--border);
}
.va-extended .faq-head{
  display:grid !important;
  grid-template-columns:42px minmax(0,1fr) !important;
  gap:16px !important;
  align-items:center !important;
  padding:20px 22px 14px !important;
}
.va-extended .faq .ico,
.va-extended .faq-head > .ico{
  width:42px !important;height:42px !important;min-width:42px !important;
  border-radius:var(--r-md) !important;
  display:grid !important;place-items:center !important;
  position:relative;overflow:hidden;margin:0 !important;flex:none !important;
  color:var(--accent) !important;
  background:color-mix(in srgb, var(--accent) 7%, #fff) !important;
  border:1px solid color-mix(in srgb, var(--accent) 12%, transparent) !important;
  box-shadow:none !important;
  transition:background .25s,color .25s,border-color .25s,transform .25s;
}
.va-extended .faq .ico::after,
.va-extended .faq-head > .ico::after{content:none !important;display:none !important}
.va-extended .faq .ico svg,
.va-extended .faq-head > .ico svg{
  width:19px !important;height:19px !important;
  fill:none !important;stroke:currentColor !important;stroke-width:1.8 !important;
  stroke-linecap:round;stroke-linejoin:round;
  position:relative;z-index:1;animation:none !important;display:block;
}
.va-extended .faq:hover .ico{
  background:var(--accent) !important;color:#fff !important;border-color:var(--accent) !important;
  transform:translateY(-2px);
}
.va-extended .faq-head h3{font-size:.98rem;font-weight:600;line-height:1.4;margin:0;color:#161616}
.va-extended .faq-head small{display:block;font-size:.8rem;line-height:1.5;color:var(--muted);margin-top:3px}
.va-extended .faq-body{padding:0 22px 22px;color:var(--muted);font-size:.9rem;line-height:1.75}
.va-extended .faq-body ul{list-style:disc;padding-left:18px;display:grid;gap:4px;margin-bottom:8px}
.va-extended .faq[hidden],.va-extended .faq.is-hidden{display:none !important}

/* Related articles */
section.post-related{
  margin:48px 0 24px;padding:0;width:100%;
  grid-column:1 / -1;
}
section.post-related > .container{max-width:100%;padding:0}
section.post-related .section-head{margin:0 0 18px;text-align:left}
section.post-related .section-head .eyebrow{
  display:block;color:var(--accent);font-size:.72rem;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px;
}
section.post-related .section-head h2{
  margin:0;font-size:clamp(1.4rem,2.4vw,1.9rem);letter-spacing:-.02em;color:#161616;
}
section.post-related .article-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:8px;
}
section.post-related .article-card{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);
  overflow:hidden;box-shadow:var(--shadow-xs);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .35s;
}
section.post-related .article-card:hover{
  transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:transparent;
}
section.post-related .article-card img{
  aspect-ratio:16/9;object-fit:cover;width:100%;display:block;background:var(--bg-alt);
}
section.post-related .article-link{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}
section.post-related .article-body{display:flex;flex-direction:column;flex:1;padding:22px}
section.post-related .article-body .tag{
  font-size:.68rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);
}
section.post-related .article-body h3{
  font-size:1.04rem;font-weight:600;letter-spacing:-.01em;line-height:1.4;margin:10px 0 8px;color:#161616;
}
section.post-related .article-card:hover .article-body h3{color:var(--accent)}
section.post-related .article-body p{
  font-size:.86rem;line-height:1.6;color:var(--muted);margin:0;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
section.post-related .article-meta{
  display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:auto;padding-top:18px;
  font-size:.78rem;color:var(--subtle);
}
section.post-related .article-more{
  display:inline-flex;align-items:center;gap:6px;margin-top:14px;
  font-size:.84rem;font-weight:600;color:var(--accent);
}
section.post-related .article-more svg{width:15px;height:15px;stroke:currentColor;fill:none}
@media (max-width:900px){
  section.post-related .article-grid{grid-template-columns:1fr}
}
  

/* FAQ as simple Q/A table (no images) */
.va-extended .faq-table-wrap{width:100%;overflow-x:auto;margin-top:8px}
.va-extended .faq-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:14px;overflow:hidden}
.va-extended .faq-table th,.va-extended .faq-table td{padding:14px 16px;vertical-align:top;text-align:left;border-bottom:1px solid rgba(0,0,0,.07);font-size:.92rem;line-height:1.55}
.va-extended .faq-table thead th{background:#f7f7f7;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:#5f5d5e;font-weight:700}
.va-extended .faq-table .faq-q{width:34%;min-width:200px;color:#161616}
.va-extended .faq-table .faq-a{color:#5f5d5e}
.va-extended .faq-table .faq-a p{margin:0 0 .55em}
.va-extended .faq-table .faq-a p:last-child{margin-bottom:0}
.va-extended .faq-table .faq-a ul{margin:.35em 0 .55em;padding-left:1.15em}
.va-extended .faq-table tr.faq-row:last-child td{border-bottom:0}
.va-extended .faq-table tr.faq-row[hidden]{display:none}
@media (max-width:700px){
  .va-extended .faq-table,.va-extended .faq-table thead,.va-extended .faq-table tbody,.va-extended .faq-table th,.va-extended .faq-table td,.va-extended .faq-table tr{display:block;width:100%}
  .va-extended .faq-table thead{display:none}
  .va-extended .faq-table .faq-q{width:100%;border-bottom:0;padding-bottom:4px}
  .va-extended .faq-table .faq-a{width:100%;padding-top:0;padding-bottom:18px;border-bottom:1px solid rgba(0,0,0,.08)}
}


/* Floating TOC — fixed overlay, no layout width */
.float-toc {
  width: 100%;
  max-height: calc(100vh - 120px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 8px 6px 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  scrollbar-width: thin;
}
.float-toc-toggle {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ml-red, #be1e2d);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  padding: 2px 8px 8px;
}
.float-toc .sidebar-toc {
  display: flex;
  flex-direction: column;
  gap: 6px;
  counter-reset: none;
  list-style: none;
  margin: 0;
  padding: 0;
}
.float-toc .sidebar-toc li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.float-toc .sidebar-toc a {
  display: block;
  grid-template-columns: none;
  gap: 0;
  padding: 7px 10px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: #3a3a3a;
  font-size: 0.75rem;
  font-weight: 500 !important;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.float-toc .sidebar-toc a::before {
  content: none;
  display: none;
}
.float-toc .sidebar-toc a:hover {
  color: var(--ml-red, #be1e2d);
  background: rgba(0, 0, 0, 0.045);
  border-color: transparent;
  box-shadow: none;
  transform: none;
}
.float-toc .sidebar-toc a.is-active {
  color: var(--ml-red, #be1e2d);
  background: rgba(190, 30, 45, 0.1);
  border-color: transparent;
  box-shadow: none;
  font-weight: 600 !important;
}
.float-toc .sidebar-toc a.is-active:hover {
  background: rgba(190, 30, 45, 0.14);
}
.float-toc.is-collapsed {
  width: auto;
  padding: 6px 10px;
}
.float-toc.is-collapsed .sidebar-toc {
  display: none;
}
@media (max-width: 960px) {
  .float-toc,
  .content-aside {
    display: none;
  }
}
