/* 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;
  align-self: stretch;
}

.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;
  }
}
