/* ============================================
   STRUCTURAL BATTERY COMPOSITES BLOG - STYLES
   Brand Colors: Red #bf3425, Blue #47577c, Gray #9d9d9c
   Typography: Archivo (headers), Assistant (body)
   ============================================ */

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

body {
  font-family: "Assistant", sans-serif;
  font-weight: 400;
  color: #334155;
  line-height: 1.8;
  background-color: #fff;
}

/* Layout */
.blog-layout {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;
  gap: 60px;
}

/* Sidebar Navigation */
.blog-sidebar {
  position: sticky;
  top: 40px;
  width: 280px;
  min-width: 280px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  padding-right: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.blog-sidebar::-webkit-scrollbar {
  display: none;
}

.blog-sidebar-title {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #9d9d9c;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-left: 12px;
}

.blog-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blog-sidebar-link {
  font-family: "Assistant", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #64748b;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
}

.blog-sidebar-link:hover {
  color: #47577c;
  background-color: #f8fafc;
}

.blog-sidebar-link.active {
  color: #bf3425;
  background-color: #fef7f6;
  font-weight: 700;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #bf3425 0%, #9d2a1e 100%);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(191, 52, 37, 0.4);
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle:hover {
  transform: scale(1.1);
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
  stroke: #ffffff;
}

/* Main Content */
.blog-content {
  flex: 1;
  max-width: 900px;
}

/* Blog Meta */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 10px;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-meta-icon {
  width: 16px;
  height: 16px;
  color: #64748b;
}

/* Typography */
.blog-content h1 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1.15;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.blog-content h2 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: #1e293b;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #bf3425;
}

.blog-content h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #47577c;
  margin-top: 2rem;
  margin-bottom: 0.875rem;
}

.blog-content h4 {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1e293b;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.blog-content p {
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-content li {
  margin-bottom: 0.625rem;
  font-size: 1.0625rem;
}

.blog-content a {
  color: #47577c;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  transition: color 0.2s;
}

.blog-content a:hover {
  color: #bf3425;
}

/* Subtitle */
.subtitle {
  font-size: 1.25rem;
  font-style: italic;
  color: #47577c;
  margin-bottom: 2rem;
}

/* Drop Cap */
.drop-cap::first-letter {
  float: left;
  font-family: "Archivo", sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 0.8;
  color: #bf3425;
  margin-right: 12px;
  margin-top: 8px;
}

/* Images */
.full-width-image {
  width: 100%;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.image-caption {
  font-size: 0.875rem;
  color: #9d9d9c;
  text-align: center;
  font-style: italic;
  margin-top: -1rem;
  margin-bottom: 2rem;
}

/* Intro Card */
.intro-card {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 2rem 0;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.intro-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(191, 52, 37, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

/* Key Question Box */
.key-question {
  background: linear-gradient(135deg, #47577c 0%, #1e293b 100%);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  text-align: center;
}

.key-question p {
  color: #ffffff;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  font-style: italic;
  margin: 0;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, #fef7f6 0%, #ffffff 100%);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(191, 52, 37, 0.2);
}

.highlight-box p {
  margin: 0;
  color: #1e293b;
}

.highlight-box.dark {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border: none;
}

.highlight-box.dark h4 {
  color: #ffffff;
  margin-top: 0;
}

.highlight-box.dark p {
  color: #e2e8f0;
}

/* Data Tables */
.data-table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.data-table thead {
  background-color: #47577c;
  color: white;
}

.data-table th {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  padding: 1rem 1.25rem;
  text-align: left;
}

.data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.data-table tbody tr:hover {
  background-color: #f8fafc;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table.comparison-matrix {
  font-size: 0.85rem;
}

.data-table.comparison-matrix th,
.data-table.comparison-matrix td {
  padding: 0.75rem 1rem;
}

/* Infographic Placeholders */
.infographic-placeholder {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
  border: 2px dashed #cbd5e1;
}

.infographic-placeholder.inline {
  margin: 1rem 0;
}

.infographic-label {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: #47577c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.infographic-description {
  font-size: 0.9375rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-item p {
  margin: 0;
  font-size: 0.9375rem;
  color: #475569;
}

/* Split Layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 2.5rem 0;
}

.split-layout.reverse {
  direction: rtl;
}

.split-layout.reverse > * {
  direction: ltr;
}

.split-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.split-content {
  padding: 0;
}

.split-content h3,
.split-content h4 {
  margin-top: 0;
}

/* Two Column List */
.two-column-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.two-column-list .column h4 {
  margin-top: 0;
  color: #47577c;
}

.two-column-list ul {
  margin-bottom: 0;
}

/* Specs */
.specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-radius: 8px;
}

.spec-label {
  font-weight: 600;
  color: #475569;
}

.spec-value {
  color: #1e293b;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.spec-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.spec-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
}

.spec-card .spec-label {
  display: block;
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.spec-card .spec-value {
  display: block;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1e293b;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px -5px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-family: "Archivo", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #bf3425;
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8125rem;
  color: #64748b;
  margin-top: 0.5rem;
  display: block;
}

/* Conclusions Grid */
.conclusions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.conclusion-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.conclusion-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
}

.conclusion-number {
  position: absolute;
  top: -12px;
  left: 16px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #bf3425, #47577c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
}

.conclusion-card h4 {
  margin: 0.5rem 0 0.5rem 0;
}

.conclusion-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: #475569;
}

/* Final Statement */
.final-statement {
  background: linear-gradient(135deg, #47577c 0%, #1e293b 100%);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.final-statement p {
  color: #ffffff;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0;
}

/* References */
.references-list {
  font-size: 0.875rem;
  color: #475569;
}

.references-list p {
  margin-bottom: 1rem;
  padding-left: 2rem;
  text-indent: -2rem;
}

.references-list em {
  color: #47577c;
}

.article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.9375rem;
  color: #64748b;
  text-align: center;
}

/* Learn More Section */
.learn-more-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.learn-more-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.learn-more-card:hover {
  border-color: #bf3425;
  box-shadow: 0 8px 25px -5px rgba(191, 52, 37, 0.15);
  transform: translateY(-2px);
}

.learn-more-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #47577c 0%, #1e293b 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}

.learn-more-card:hover .learn-more-icon {
  background: linear-gradient(135deg, #bf3425 0%, #9d2a1e 100%);
}

.learn-more-icon svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.learn-more-text {
  display: flex;
  flex-direction: column;
}

.learn-more-title {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1e293b;
  transition: color 0.3s;
}

.learn-more-card:hover .learn-more-title {
  color: #bf3425;
}

.learn-more-desc {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.25rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #fef7f6 0%, #ffffff 100%);
  border: 2px solid #bf3425;
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #bf3425, #47577c);
}

.cta-section p {
  margin-bottom: 1.25rem;
  color: #1e293b;
  font-size: 1.125rem;
}

.cta-button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #bf3425 0%, #9d2a1e 100%);
  color: #ffffff !important;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(191, 52, 37, 0.4);
  color: #ffffff;
}

/* Author Section */
.author-section {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.author-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
}

.author-image-wrapper {
  flex-shrink: 0;
}

.author-image {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.author-info {
  flex: 1;
  min-width: 0;
}

.author-name {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 4px;
  text-decoration: underline;
  text-decoration-color: #bf3425;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.author-title {
  font-size: 1rem;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 16px;
}

.author-social {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.author-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f8fafc;
  border-radius: 10px;
  transition:
    transform 0.2s,
    background 0.2s;
  text-decoration: none;
}

.author-social a:hover {
  transform: scale(1.1);
  background: #e2e8f0;
}

.author-social svg {
  width: 24px;
  height: 24px;
}

.about-author-label {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #bf3425;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.author-bio {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.7;
  text-align: justify;
  margin: 0;
}

/* Section Scroll Margin */
section {
  scroll-margin-top: 40px;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet Large & Below (1024px) */
@media (max-width: 1024px) {
  .blog-layout {
    flex-direction: column;
    gap: 32px;
  }

  .blog-sidebar {
    position: relative;
    top: 0;
    width: 100%;
    min-width: 100%;
    max-height: none;
    padding-right: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
  }

  .blog-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .blog-sidebar-link {
    font-size: 13px;
    padding: 8px 12px;
  }

  .blog-content {
    max-width: 100%;
  }

  .blog-content h1 {
    font-size: 2rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .split-layout.reverse {
    direction: ltr;
  }

  .two-column-list,
  .feature-grid,
  .conclusions-grid,
  .learn-more-container {
    grid-template-columns: 1fr;
  }

  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-social {
    justify-content: center;
  }

  .author-bio {
    text-align: center;
  }
}

/* Tablet (768px) */
@media (max-width: 768px) {
  .blog-layout {
    padding: 24px 16px;
  }

  /* Mobile Nav Toggle */
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hide sidebar on mobile, show on toggle */
  .blog-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #ffffff;
    z-index: 999;
    padding: 20px;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    border-bottom: none;
    max-height: 100vh;
  }

  .blog-sidebar.active {
    transform: translateY(0);
  }

  .blog-sidebar-nav {
    flex-direction: column;
    gap: 4px;
  }

  .blog-sidebar-link {
    font-size: 16px;
    padding: 14px 16px;
    border-radius: 8px;
  }

  .blog-sidebar-title {
    font-size: 12px;
    margin-bottom: 20px;
    padding-top: 40px;
  }
}

/* Mobile Large (640px) */
@media (max-width: 640px) {
  .blog-layout {
    padding: 20px 12px;
  }

  .blog-content h1 {
    font-size: 1.75rem;
  }

  .blog-content h2 {
    font-size: 1.5rem;
  }

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

  .specs-grid {
    grid-template-columns: 1fr 1fr;
  }

  .intro-card,
  .highlight-box,
  .key-question {
    padding: 1.25rem;
  }

  .cta-button {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }

  .learn-more-card {
    padding: 1rem;
  }

  .learn-more-icon {
    width: 40px;
    height: 40px;
  }

  .learn-more-icon svg {
    width: 20px;
    height: 20px;
  }

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

/* Mobile Small (480px) */
@media (max-width: 480px) {
  .blog-layout {
    padding: 16px 10px;
  }

  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .spec-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .author-image {
    width: 100px;
    height: 100px;
  }

  .author-card {
    padding: 1.25rem;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin: 0 auto;
  }

  .cta-section {
    padding: 1.25rem;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .blog-sidebar,
  .mobile-nav-toggle,
  .cta-section,
  .author-social {
    display: none;
  }

  .blog-layout {
    display: block;
    padding: 0;
  }

  .blog-content {
    max-width: 100%;
  }

  .blog-content h1 {
    font-size: 24pt;
  }

  .blog-content h2 {
    font-size: 18pt;
    page-break-after: avoid;
  }

  .blog-content h3 {
    font-size: 14pt;
    page-break-after: avoid;
  }

  .full-width-image {
    max-width: 100%;
    page-break-inside: avoid;
  }

  .data-table-container {
    overflow: visible;
  }

  .data-table {
    font-size: 10pt;
  }

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

  .intro-card,
  .highlight-box,
  .key-question {
    page-break-inside: avoid;
  }
}

/* ============================================
   ACCESSIBILITY - REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   HIGH CONTRAST MODE
   ============================================ */
@media (prefers-contrast: high) {
  .blog-sidebar-link.active {
    outline: 2px solid #bf3425;
  }

  .cta-button {
    border: 2px solid #ffffff;
  }

  .data-table th,
  .data-table td {
    border: 1px solid #334155;
  }
}
/* <!-- infographic 1 --> */
.sbc-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.sbc-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 4px;
}

.sbc-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

.sbc-stack-area {
  position: relative;
  max-width: 700px;
  margin: 0 auto 24px;
}

.sbc-layer {
  position: relative;
  border-radius: 8px;
  padding: 18px 24px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
}

.sbc-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.sbc-layer:hover {
  transform: scaleX(1.02);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.sbc-layer-cathode {
  background: #47577c;
  color: #ffffff;
}

.sbc-layer-cathode:hover::before {
  opacity: 1;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 100%
  );
}

.sbc-layer-anode {
  background: #47577c;
  color: #ffffff;
}

.sbc-layer-anode:hover::before {
  opacity: 1;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 100%
  );
}

.sbc-layer-electrolyte {
  background: repeating-linear-gradient(
    90deg,
    #f1f5f9 0px,
    #f1f5f9 8px,
    #e2e8f0 8px,
    #e2e8f0 10px
  );
  color: #1e293b;
  border: 2px dashed #9d9d9c;
}

.sbc-layer-electrolyte:hover {
  border-color: #bf3425;
}

.sbc-separator {
  height: 3px;
  background: linear-gradient(90deg, #bf3425, #9d9d9c, #bf3425);
  margin: 0;
  opacity: 0.6;
}

.sbc-layer-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.sbc-layer-sub {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

/* Tooltip on hover */
.sbc-tooltip {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) scale(0.95);
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  max-width: 240px;
  z-index: 10;
}

.sbc-layer:hover .sbc-tooltip {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.sbc-tooltip-title {
  font-weight: 700;
  color: #bf3425;
  margin-bottom: 4px;
}

/* Dual function badges */
.sbc-functions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.sbc-function-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 22px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  cursor: default;
}

.sbc-function-badge:hover {
  border-color: #bf3425;
  box-shadow: 0 2px 12px rgba(191, 52, 37, 0.12);
  transform: translateY(-2px);
}

.sbc-function-icon {
  font-size: 28px;
  line-height: 1;
}

.sbc-function-text {
  font-size: 14px;
  font-weight: 600;
  color: #47577c;
}

.sbc-function-desc {
  font-size: 11px;
  color: #64748b;
  font-weight: 400;
}

/* State-of-art metrics */
.sbc-metrics {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sbc-metric-card {
  text-align: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 24px;
  min-width: 160px;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
}

.sbc-metric-card:hover {
  border-color: #47577c;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(71, 87, 124, 0.15);
}

.sbc-metric-value {
  font-size: 26px;
  font-weight: 700;
  color: #bf3425;
  line-height: 1.2;
}

.sbc-metric-unit {
  font-size: 13px;
  font-weight: 600;
  color: #47577c;
}

.sbc-metric-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.sbc-section-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #9d9d9c;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

/* Animated charge flow */
.sbc-charge-flow {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.sbc-charge-dot {
  position: absolute;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bf3425;
  opacity: 0.7;
  animation: sbc-flow 2.5s linear infinite;
}

.sbc-charge-dot:nth-child(2) {
  animation-delay: -0.8s;
}

.sbc-charge-dot:nth-child(3) {
  animation-delay: -1.6s;
}

@keyframes sbc-flow {
  0% {
    top: -8px;
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Fiber pattern overlay for CF layers */
.sbc-fiber-pattern {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 5px,
    rgba(255, 255, 255, 0.06) 5px,
    rgba(255, 255, 255, 0.06) 6px
  );
  pointer-events: none;
  border-radius: 8px;
}

@media (max-width: 600px) {
  .sbc-tooltip {
    display: none;
  }
  .sbc-layer-label {
    font-size: 12px;
  }
  .sbc-metric-value {
    font-size: 22px;
  }
  .sbc-metric-card {
    min-width: 130px;
    padding: 12px 16px;
  }
}
/* <!-- infographic 2 --> */
.sbl-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.sbl-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 2px;
}

.sbl-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

.sbl-section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #9d9d9c;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

/* ── Exploded stack ── */
.sbl-stack {
  position: relative;
  max-width: 640px;
  margin: 0 auto 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Connector line between layers */
.sbl-connector {
  width: 2px;
  height: 18px;
  background: linear-gradient(180deg, #bf3425 0%, #bf342544 100%);
  position: relative;
}

.sbl-connector::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bf3425;
  animation: sbl-pulse 2s ease-in-out infinite;
}

.sbl-connector:nth-child(4)::after {
  animation-delay: 0.3s;
}
.sbl-connector:nth-child(6)::after {
  animation-delay: 0.6s;
}
.sbl-connector:nth-child(8)::after {
  animation-delay: 0.9s;
}
.sbl-connector:nth-child(10)::after {
  animation-delay: 1.2s;
}

@keyframes sbl-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* ── Layer cards ── */
.sbl-layer {
  width: 100%;
  position: relative;
  border-radius: 8px;
  padding: 16px 20px 16px 20px;
  cursor: pointer;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sbl-layer:hover {
  transform: translateX(6px) scale(1.015);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
  z-index: 3;
}

/* ── Layer variants ── */
.sbl-layer-collector {
  background: linear-gradient(135deg, #9d9d9c 0%, #b0b0b0 100%);
  color: #ffffff;
  padding: 10px 20px;
}

.sbl-layer-collector .sbl-layer-icon {
  font-size: 18px;
}

.sbl-layer-cathode {
  background: #47577c;
  color: #ffffff;
}

.sbl-layer-cathode::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 4px,
    rgba(255, 255, 255, 0.05) 4px,
    rgba(255, 255, 255, 0.05) 5px
  );
  pointer-events: none;
}

.sbl-layer-separator {
  background: #f8fafc;
  color: #1e293b;
  border: 2px dashed #9d9d9c;
}

.sbl-layer-separator::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: repeating-linear-gradient(
    45deg,
    transparent 0px,
    transparent 6px,
    rgba(157, 157, 156, 0.08) 6px,
    rgba(157, 157, 156, 0.08) 7px
  );
  pointer-events: none;
}

.sbl-layer-separator:hover {
  border-color: #bf3425;
}

.sbl-layer-anode {
  background: #47577c;
  color: #ffffff;
}

.sbl-layer-anode::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 4px,
    rgba(255, 255, 255, 0.05) 4px,
    rgba(255, 255, 255, 0.05) 5px
  );
  pointer-events: none;
}

/* ── Layer content ── */
.sbl-layer-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.sbl-layer-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.sbl-layer-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sbl-layer-detail {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
}

/* ── Annotation arrow on right ── */
.sbl-annotation {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    right 0.35s ease;
}

.sbl-layer:hover .sbl-annotation {
  opacity: 1;
  right: -180px;
}

.sbl-annotation-arrow {
  width: 24px;
  height: 2px;
  background: #bf3425;
  position: relative;
}

.sbl-annotation-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  border: 4px solid transparent;
  border-left: 6px solid #bf3425;
}

.sbl-annotation-label {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11px;
  color: #47577c;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  line-height: 1.4;
}

.sbl-annotation-label span {
  display: block;
  font-weight: 400;
  color: #64748b;
  font-size: 10px;
}

/* ── Expanded detail panel (hidden by default) ── */
.sbl-detail-panel {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease,
    margin 0.4s ease;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  margin-top: 0;
  padding: 0 0;
  font-size: 12px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.sbl-layer:hover .sbl-detail-panel {
  max-height: 80px;
  padding: 8px 0 0 0;
  margin-top: 6px;
}

.sbl-layer-separator:hover .sbl-detail-panel {
  color: #475569;
}

/* ── Functional requirements ── */
.sbl-req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto 24px;
}

.sbl-req-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
}

.sbl-req-card:hover {
  border-color: #47577c;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(71, 87, 124, 0.12);
}

.sbl-req-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #47577c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.sbl-req-text {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.sbl-req-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 3px;
  letter-spacing: 0.3px;
}

.sbl-req-tag-elec {
  background: rgba(191, 52, 37, 0.1);
  color: #bf3425;
}

.sbl-req-tag-mech {
  background: rgba(71, 87, 124, 0.1);
  color: #47577c;
}

.sbl-req-tag-both {
  background: rgba(157, 157, 156, 0.15);
  color: #64748b;
}

/* ── Reference ── */
.sbl-reference {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
  font-style: italic;
  line-height: 1.5;
}

.sbl-reference em {
  font-style: normal;
  color: #64748b;
}

@media (max-width: 700px) {
  .sbl-annotation {
    display: none;
  }
  .sbl-req-grid {
    grid-template-columns: 1fr;
  }
  .sbl-layer {
    padding: 12px 14px;
  }
  .sbl-layer-name {
    font-size: 12px;
  }
}
/* <!-- infographic 3 --> */
.bse-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.bse-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 2px;
}

.bse-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

.bse-section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #9d9d9c;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

/* ── Microstructure SVG area ── */
.bse-micro-wrap {
  position: relative;
  max-width: 620px;
  margin: 0 auto 28px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  overflow: hidden;
}

.bse-micro-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Phase highlight on hover */
.bse-phase-ion {
  transition:
    opacity 0.4s ease,
    filter 0.4s ease;
  cursor: pointer;
}

.bse-phase-load {
  transition:
    opacity 0.4s ease,
    filter 0.4s ease;
  cursor: pointer;
}

.bse-micro-wrap:hover .bse-phase-ion,
.bse-micro-wrap:hover .bse-phase-load {
  opacity: 0.45;
}

.bse-micro-wrap:hover .bse-phase-ion:hover {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(191, 52, 37, 0.5));
}

.bse-micro-wrap:hover .bse-phase-load:hover {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(71, 87, 124, 0.5));
}

/* Ion flow animation */
.bse-ion-dot {
  animation: bse-ion-move 3s ease-in-out infinite;
}

.bse-ion-dot-2 {
  animation-delay: -1s;
}
.bse-ion-dot-3 {
  animation-delay: -2s;
}
.bse-ion-dot-4 {
  animation-delay: -0.5s;
}
.bse-ion-dot-5 {
  animation-delay: -1.5s;
}
.bse-ion-dot-6 {
  animation-delay: -2.5s;
}

@keyframes bse-ion-move {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 0.9;
  }
  85% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}

/* Load arrow pulse */
.bse-load-arrow {
  animation: bse-load-pulse 2.5s ease-in-out infinite;
}

.bse-load-arrow-2 {
  animation-delay: -0.8s;
}
.bse-load-arrow-3 {
  animation-delay: -1.6s;
}

@keyframes bse-load-pulse {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.8;
  }
}

/* Phase-hover info box */
.bse-phase-info {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  color: #475569;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  white-space: nowrap;
  z-index: 5;
}

.bse-phase-info.bse-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.bse-phase-info-title {
  font-weight: 700;
  margin-bottom: 2px;
}

.bse-phase-info-ion .bse-phase-info-title {
  color: #bf3425;
}
.bse-phase-info-load .bse-phase-info-title {
  color: #47577c;
}

/* ── Network legend ── */
.bse-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.bse-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 18px;
  cursor: default;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  flex: 1;
  min-width: 220px;
  max-width: 320px;
}

.bse-legend-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.bse-legend-item-ion:hover {
  border-color: #bf3425;
}
.bse-legend-item-load:hover {
  border-color: #47577c;
}

.bse-legend-swatch {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  flex-shrink: 0;
}

.bse-legend-swatch-ion {
  background: repeating-linear-gradient(
    45deg,
    #bf3425 0px,
    #bf3425 3px,
    #d4564a 3px,
    #d4564a 6px
  );
}

.bse-legend-swatch-load {
  background: repeating-linear-gradient(
    -45deg,
    #47577c 0px,
    #47577c 3px,
    #5a6d94 3px,
    #5a6d94 6px
  );
}

.bse-legend-text {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.bse-legend-desc {
  font-size: 11px;
  font-weight: 400;
  color: #64748b;
}

/* ── Target properties ── */
.bse-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 640px;
  margin: 0 auto 20px;
}

.bse-prop-card {
  text-align: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 12px;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.bse-prop-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #9d9d9c;
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.bse-prop-card:nth-child(1)::after {
  background: #bf3425;
}
.bse-prop-card:nth-child(2)::after {
  background: #47577c;
}
.bse-prop-card:nth-child(3)::after {
  background: #9d9d9c;
}

.bse-prop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.bse-prop-card:hover::after {
  transform: scaleX(1);
}

.bse-prop-card:nth-child(1):hover {
  border-color: #bf3425;
}
.bse-prop-card:nth-child(2):hover {
  border-color: #47577c;
}
.bse-prop-card:nth-child(3):hover {
  border-color: #9d9d9c;
}

.bse-prop-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.bse-prop-value {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.bse-prop-value sup {
  font-size: 12px;
}

.bse-prop-unit {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.bse-prop-cond {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 4px;
}

/* ── Reference ── */
.bse-reference {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
  line-height: 1.5;
}

.bse-reference em {
  font-style: normal;
  color: #64748b;
}

@media (max-width: 600px) {
  .bse-props {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
  .bse-legend {
    flex-direction: column;
    align-items: center;
  }
  .bse-legend-item {
    max-width: 100%;
  }
  .bse-prop-value {
    font-size: 20px;
  }
}
/* <!-- infographic 4 --> */
.cfl-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.cfl-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 2px;
}

.cfl-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

.cfl-section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #9d9d9c;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

/* ── Side-by-side comparison ── */
.cfl-compare {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: stretch;
}

.cfl-fiber-panel {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
}

.cfl-fiber-panel:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cfl-fiber-panel-pristine:hover {
  border-color: #47577c;
}
.cfl-fiber-panel-lithiated:hover {
  border-color: #bf3425;
}

.cfl-fiber-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-align: center;
}

.cfl-fiber-label-pristine {
  color: #47577c;
}
.cfl-fiber-label-lithiated {
  color: #bf3425;
}

.cfl-fiber-svg {
  display: block;
  width: 100%;
  height: auto;
}

.cfl-dspacing {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  margin-top: 10px;
  padding: 6px 0;
  border-radius: 6px;
}

.cfl-dspacing-pristine {
  color: #47577c;
  background: rgba(71, 87, 124, 0.06);
}

.cfl-dspacing-lithiated {
  color: #bf3425;
  background: rgba(191, 52, 37, 0.06);
}

/* Arrow between panels */
.cfl-arrow-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
}

.cfl-arrow-svg {
  width: 40px;
  height: 40px;
}

/* Layer hover highlight within SVG */
.cfl-graphene-layer {
  transition:
    opacity 0.3s ease,
    filter 0.3s ease;
  cursor: pointer;
}

.cfl-graphene-layer:hover {
  filter: drop-shadow(0 0 4px rgba(71, 87, 124, 0.5));
}

.cfl-li-ion {
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  cursor: pointer;
}

.cfl-li-ion:hover {
  filter: drop-shadow(0 0 6px rgba(191, 52, 37, 0.7));
  transform: scale(1.15);
}

/* Li⁺ float animation */
.cfl-li-float {
  animation: cfl-float 2.8s ease-in-out infinite;
}

.cfl-li-float-2 {
  animation-delay: -0.7s;
}
.cfl-li-float-3 {
  animation-delay: -1.4s;
}
.cfl-li-float-4 {
  animation-delay: -2.1s;
}
.cfl-li-float-5 {
  animation-delay: -0.35s;
}
.cfl-li-float-6 {
  animation-delay: -1.75s;
}

@keyframes cfl-float {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

/* ── Reaction equation ── */
.cfl-reaction {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 20px;
  text-align: center;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
  cursor: default;
}

.cfl-reaction:hover {
  border-color: #47577c;
  transform: translateY(-1px);
}

.cfl-reaction-eq {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.cfl-reaction-eq .cfl-eq-li {
  color: #bf3425;
}
.cfl-reaction-eq .cfl-eq-c {
  color: #47577c;
}
.cfl-reaction-eq .cfl-eq-arrow {
  color: #9d9d9c;
  margin: 0 6px;
}

.cfl-capacity-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.cfl-cap-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cfl-cap-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cfl-cap-dot-theory {
  background: #47577c;
}
.cfl-cap-dot-practical {
  background: #bf3425;
}

.cfl-cap-label {
  font-size: 12px;
  color: #475569;
}

.cfl-cap-value {
  font-weight: 700;
  color: #1e293b;
}

/* ── Capacity bar comparison ── */
.cfl-bar-wrap {
  max-width: 520px;
  margin: 0 auto 24px;
}

.cfl-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.cfl-bar-label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  width: 120px;
  text-align: right;
  flex-shrink: 0;
}

.cfl-bar-track {
  flex: 1;
  height: 24px;
  background: #f1f5f9;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.cfl-bar-fill {
  height: 100%;
  border-radius: 6px;
  position: relative;
  transition: width 1s ease-out;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}

.cfl-bar-fill-theory {
  background: linear-gradient(90deg, #47577c, #5a6d94);
  width: 0;
}

.cfl-bar-fill-practical {
  background: linear-gradient(90deg, #bf3425, #d4564a);
  width: 0;
}

.cfl-bar-value {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.cfl-bar-pct {
  font-size: 11px;
  color: #94a3b8;
  margin-left: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  width: 70px;
}

/* Animate bars on scroll into view */
.cfl-bar-animated .cfl-bar-fill-theory {
  width: 100%;
}
.cfl-bar-animated .cfl-bar-fill-practical {
  width: 35%;
}

/* ── Challenges ── */
.cfl-challenges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.cfl-challenge-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.cfl-challenge-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #9d9d9c;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.cfl-challenge-card:hover {
  border-color: #9d9d9c;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.cfl-challenge-card:hover::before {
  transform: scaleX(1);
}

.cfl-challenge-icon {
  font-size: 20px;
  margin-bottom: 6px;
}

.cfl-challenge-title {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
  line-height: 1.3;
}

.cfl-challenge-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.5;
}

/* ── Reference ── */
.cfl-reference {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
  line-height: 1.5;
}

.cfl-reference em {
  font-style: normal;
  color: #64748b;
}

/* ── Detail tooltip on SVG layers ── */
.cfl-layer-tip {
  position: absolute;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  color: #475569;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
  max-width: 180px;
  line-height: 1.5;
}

.cfl-layer-tip strong {
  color: #47577c;
  display: block;
  margin-bottom: 2px;
}

.cfl-layer-tip-li strong {
  color: #bf3425;
}

@media (max-width: 640px) {
  .cfl-compare {
    flex-direction: column;
  }
  .cfl-arrow-center {
    width: auto;
    height: 36px;
    transform: rotate(90deg);
  }
  .cfl-challenges {
    grid-template-columns: 1fr;
  }
  .cfl-bar-label {
    width: 90px;
    font-size: 11px;
  }
}
/* <!-- infographic 5 --> */
.cfc-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.cfc-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 2px;
}

.cfc-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

.cfc-section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #9d9d9c;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

/* ── Main layout: SVG + detail panel ── */
.cfc-main {
  display: flex;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 24px;
}

/* ── SVG cross-section ── */
.cfc-svg-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cfc-svg {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* Ring hover effects */
.cfc-ring {
  cursor: pointer;
  transition:
    opacity 0.35s ease,
    filter 0.35s ease;
}

.cfc-ring:hover {
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.2));
}

/* Dim non-hovered rings */
.cfc-svg.cfc-has-hover .cfc-ring {
  opacity: 0.35;
}

.cfc-svg.cfc-has-hover .cfc-ring.cfc-ring-active {
  opacity: 1;
}

/* Pulse on core */
.cfc-core-pulse {
  animation: cfc-pulse 2.5s ease-in-out infinite;
}

@keyframes cfc-pulse {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 0.15;
  }
}

/* ── Detail sidebar ── */
.cfc-detail-panel {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cfc-detail-card {
  padding: 12px 14px;
  border-left: 3px solid transparent;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
  cursor: pointer;
  border-radius: 0 8px 8px 0;
}

.cfc-detail-card:hover,
.cfc-detail-card.cfc-detail-active {
  background: #f8fafc;
  transform: translateX(4px);
}

.cfc-detail-card[data-layer="core"]:hover,
.cfc-detail-card[data-layer="core"].cfc-detail-active {
  border-left-color: #47577c;
}

.cfc-detail-card[data-layer="interface1"]:hover,
.cfc-detail-card[data-layer="interface1"].cfc-detail-active {
  border-left-color: #5a6d94;
}

.cfc-detail-card[data-layer="coating"]:hover,
.cfc-detail-card[data-layer="coating"].cfc-detail-active {
  border-left-color: #bf3425;
}

.cfc-detail-card[data-layer="cei"]:hover,
.cfc-detail-card[data-layer="cei"].cfc-detail-active {
  border-left-color: #d4564a;
}

.cfc-detail-card[data-layer="electrolyte"]:hover,
.cfc-detail-card[data-layer="electrolyte"].cfc-detail-active {
  border-left-color: #9d9d9c;
}

.cfc-detail-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  margin-right: 8px;
  vertical-align: middle;
}

.cfc-num-core {
  background: #47577c;
}
.cfc-num-interface1 {
  background: #5a6d94;
}
.cfc-num-coating {
  background: #bf3425;
}
.cfc-num-cei {
  background: #d4564a;
}
.cfc-num-electrolyte {
  background: #9d9d9c;
}

.cfc-detail-name {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  display: inline;
  vertical-align: middle;
}

.cfc-detail-role {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
  line-height: 1.5;
}

/* Expandable detail */
.cfc-detail-extra {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    margin 0.4s ease;
  font-size: 11px;
  color: #475569;
  line-height: 1.6;
}

.cfc-detail-card:hover .cfc-detail-extra,
.cfc-detail-card.cfc-detail-active .cfc-detail-extra {
  max-height: 100px;
  margin-top: 6px;
}

.cfc-detail-spec {
  display: inline-block;
  background: rgba(71, 87, 124, 0.08);
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 10px;
  color: #47577c;
  margin-top: 4px;
}

/* ── Connector lines between detail items ── */
.cfc-detail-connector {
  width: 3px;
  height: 8px;
  margin-left: 22px;
  position: relative;
}

.cfc-detail-connector::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}

.cfc-detail-connector::after {
  content: "↓";
  position: absolute;
  left: -4px;
  top: -2px;
  font-size: 10px;
  color: #cbd5e1;
  line-height: 1;
}

/* ── Flow direction label ── */
.cfc-flow-label {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 20px;
  font-style: italic;
}

.cfc-flow-label span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cfc-flow-arrow {
  color: #bf3425;
  font-style: normal;
  font-weight: 700;
}

/* ── Legend strip ── */
.cfc-legend {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.cfc-legend-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: default;
}

.cfc-legend-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.cfc-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Reference ── */
.cfc-reference {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
  line-height: 1.5;
  margin-top: 16px;
}

.cfc-reference em {
  font-style: normal;
  color: #64748b;
}

@media (max-width: 700px) {
  .cfc-main {
    flex-direction: column;
    align-items: center;
  }
  .cfc-detail-panel {
    width: 100%;
  }
  .cfc-svg {
    max-width: 320px;
  }
}
/* <!-- infographic 6 --> */
.sep-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.sep-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 2px;
}

.sep-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}

.sep-section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #9d9d9c;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

/* Chart area */
.sep-chart-wrap {
  position: relative;
  width: 100%;
  height: 420px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .sep-chart-wrap {
    height: 340px;
  }
}

/* Target zone callout */
.sep-target {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.sep-target-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(191, 52, 37, 0.06);
  border: 1px solid rgba(191, 52, 37, 0.2);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #bf3425;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
}

.sep-target-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(191, 52, 37, 0.12);
}

.sep-target-icon {
  font-size: 16px;
}

/* Design strategies */
.sep-strategies {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.sep-strategy-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.sep-strategy-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: scaleY(0);
  transition: transform 0.35s ease;
}

.sep-strategy-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.sep-strategy-card:hover::before {
  transform: scaleY(1);
}

.sep-strategy-card:nth-child(1)::before {
  background: #bf3425;
}
.sep-strategy-card:nth-child(2)::before {
  background: #47577c;
}
.sep-strategy-card:nth-child(3)::before {
  background: #9d9d9c;
}
.sep-strategy-card:nth-child(4)::before {
  background: #bf3425;
}

.sep-strategy-card:nth-child(1):hover {
  border-color: #bf3425;
}
.sep-strategy-card:nth-child(2):hover {
  border-color: #47577c;
}
.sep-strategy-card:nth-child(3):hover {
  border-color: #9d9d9c;
}
.sep-strategy-card:nth-child(4):hover {
  border-color: #bf3425;
}

.sep-strategy-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  border: 2px solid;
}

.sep-dot-peo {
  background: #bf3425;
  border-color: #bf3425;
}
.sep-dot-epoxy {
  background: #47577c;
  border-color: #47577c;
}
.sep-dot-blend {
  background: #9d9d9c;
  border-color: #9d9d9c;
}
.sep-dot-bicont {
  background: #ffffff;
  border-color: #bf3425;
  box-shadow: 0 0 0 2px rgba(191, 52, 37, 0.2);
}

.sep-strategy-text {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.sep-strategy-desc {
  font-size: 11px;
  font-weight: 400;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.4;
}

/* Reference */
.sep-reference {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
  line-height: 1.5;
}

.sep-reference em {
  font-style: normal;
  color: #64748b;
}

@media (max-width: 640px) {
  .sep-strategies {
    grid-template-columns: 1fr;
  }
}
/* <!-- infographic 7 --> */
.sbi-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.sbi-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 2px;
}

.sbi-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

.sbi-section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #9d9d9c;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

/* ── Main SVG + sidebar layout ── */
.sbi-main {
  display: flex;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 28px;
}

.sbi-svg-col {
  flex: 1;
  min-width: 0;
}

.sbi-svg-wrap {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.sbi-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Layer hover interaction ── */
.sbi-layer-group {
  cursor: pointer;
  transition:
    opacity 0.35s ease,
    filter 0.35s ease;
}

.sbi-svg.sbi-has-hover .sbi-layer-group {
  opacity: 0.3;
  filter: grayscale(0.4);
}

.sbi-svg.sbi-has-hover .sbi-layer-group.sbi-layer-active {
  opacity: 1;
  filter: none drop-shadow(0 0 6px rgba(0, 0, 0, 0.15));
}

/* Animated ion flow */
.sbi-ion-flow {
  animation: sbi-ion-drift 4s linear infinite;
}

.sbi-ion-flow-2 {
  animation-delay: -1.3s;
}
.sbi-ion-flow-3 {
  animation-delay: -2.6s;
}

@keyframes sbi-ion-drift {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  15% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translateY(30px);
  }
}

/* SEI crack animation */
.sbi-crack-line {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: sbi-crack 3s ease-in-out infinite;
}

.sbi-crack-line-2 {
  animation-delay: -1.5s;
}

@keyframes sbi-crack {
  0%,
  100% {
    stroke-dashoffset: 30;
    opacity: 0;
  }
  40% {
    stroke-dashoffset: 0;
    opacity: 0.6;
  }
  60% {
    stroke-dashoffset: 0;
    opacity: 0.6;
  }
  80% {
    stroke-dashoffset: 30;
    opacity: 0;
  }
}

/* ── Sidebar detail cards ── */
.sbi-sidebar {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sbi-side-card {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  cursor: pointer;
}

.sbi-side-card:hover,
.sbi-side-card.sbi-side-active {
  transform: translateX(4px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.sbi-side-card[data-layer="anode"]:hover,
.sbi-side-card[data-layer="anode"].sbi-side-active {
  border-color: #47577c;
}
.sbi-side-card[data-layer="sei"]:hover,
.sbi-side-card[data-layer="sei"].sbi-side-active {
  border-color: #bf3425;
}
.sbi-side-card[data-layer="transition"]:hover,
.sbi-side-card[data-layer="transition"].sbi-side-active {
  border-color: #9d9d9c;
}
.sbi-side-card[data-layer="bulk"]:hover,
.sbi-side-card[data-layer="bulk"].sbi-side-active {
  border-color: #47577c;
}

.sbi-side-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.sbi-side-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sbi-dot-anode {
  background: #47577c;
}
.sbi-dot-sei {
  background: #bf3425;
}
.sbi-dot-trans {
  background: #9d9d9c;
}
.sbi-dot-bulk {
  background: linear-gradient(135deg, #bf3425 50%, #47577c 50%);
}

.sbi-side-name {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
}

.sbi-side-thick {
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  margin-left: auto;
}

.sbi-side-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.5;
}

/* Expandable bullets */
.sbi-side-bullets {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    margin 0.4s ease;
  font-size: 11px;
  color: #475569;
  line-height: 1.6;
}

.sbi-side-card:hover .sbi-side-bullets,
.sbi-side-card.sbi-side-active .sbi-side-bullets {
  max-height: 120px;
  margin-top: 6px;
}

.sbi-bullet {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.sbi-bullet::before {
  content: "•";
  color: #9d9d9c;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.6;
}

/* ── Connector arrows between sidebar cards ── */
.sbi-side-arrow {
  text-align: center;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1;
}

/* ── Failure modes ── */
.sbi-failures {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.sbi-fail-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fffbfa;
  border: 1px solid #fde8e4;
  border-radius: 10px;
  padding: 12px 14px;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.sbi-fail-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #bf3425;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.sbi-fail-card:hover {
  border-color: #bf3425;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(191, 52, 37, 0.1);
  background: #fff5f3;
}

.sbi-fail-card:hover::after {
  transform: scaleX(1);
}

.sbi-fail-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.sbi-fail-text {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.sbi-fail-desc {
  font-size: 11px;
  font-weight: 400;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.4;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    margin 0.35s ease;
}

.sbi-fail-card:hover .sbi-fail-desc {
  max-height: 60px;
  margin-top: 4px;
}

/* ── Reference ── */
.sbi-reference {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
  line-height: 1.5;
}

.sbi-reference em {
  font-style: normal;
  color: #64748b;
}

@media (max-width: 700px) {
  .sbi-main {
    flex-direction: column;
  }
  .sbi-sidebar {
    width: 100%;
  }
  .sbi-failures {
    grid-template-columns: 1fr;
  }
}
/* <!-- infographic 8 --> */
.mpc-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.mpc-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 2px;
}

.mpc-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

.mpc-section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #9d9d9c;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

/* ── Dual chart layout ── */
.mpc-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.mpc-chart-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.mpc-chart-card:hover {
  border-color: #47577c;
  box-shadow: 0 4px 14px rgba(71, 87, 124, 0.1);
}

.mpc-chart-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin-bottom: 10px;
}

.mpc-chart-wrap {
  position: relative;
  width: 100%;
  height: 280px;
}

/* ── Material legend cards ── */
.mpc-materials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.mpc-mat-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.mpc-mat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.mpc-mat-card:nth-child(1)::before {
  background: #9d9d9c;
}
.mpc-mat-card:nth-child(2)::before {
  background: #bf3425;
}
.mpc-mat-card:nth-child(3)::before {
  background: #47577c;
}

.mpc-mat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.mpc-mat-card:nth-child(1):hover {
  border-color: #9d9d9c;
}
.mpc-mat-card:nth-child(2):hover {
  border-color: #bf3425;
}
.mpc-mat-card:nth-child(3):hover {
  border-color: #47577c;
}

.mpc-mat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.mpc-mat-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}

.mpc-mat-name {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
}

.mpc-mat-specs {
  font-size: 11px;
  color: #64748b;
  line-height: 1.6;
}

.mpc-mat-value {
  font-weight: 700;
  color: #1e293b;
}

/* ── Gap-to-close callout ── */
.mpc-gap {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.mpc-gap-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(191, 52, 37, 0.04);
  border: 1px solid rgba(191, 52, 37, 0.15);
  border-radius: 10px;
  padding: 12px 18px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  cursor: default;
}

.mpc-gap-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(191, 52, 37, 0.1);
  border-color: rgba(191, 52, 37, 0.35);
}

.mpc-gap-icon {
  font-size: 22px;
  line-height: 1;
}

.mpc-gap-text {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.mpc-gap-mult {
  font-size: 20px;
  font-weight: 800;
  color: #bf3425;
}

.mpc-gap-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 400;
}

/* ── Percentage bars (visual gap indicator) ── */
.mpc-pct-section {
  max-width: 600px;
  margin: 0 auto 24px;
}

.mpc-pct-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.mpc-pct-label {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  width: 130px;
  text-align: right;
  flex-shrink: 0;
}

.mpc-pct-track {
  flex: 1;
  height: 18px;
  background: #f1f5f9;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.mpc-pct-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1.2s ease-out;
  display: flex;
  align-items: center;
  padding-left: 8px;
}

.mpc-pct-fill span {
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.mpc-pct-fill-std {
  background: #9d9d9c;
  width: 0;
}
.mpc-pct-fill-hs {
  background: #bf3425;
  width: 0;
}
.mpc-pct-fill-bench {
  background: #47577c;
  width: 0;
}

/* Animated state */
.mpc-pct-animated .mpc-pct-fill-std-mod {
  width: 21%;
}
.mpc-pct-animated .mpc-pct-fill-hs-mod {
  width: 36%;
}
.mpc-pct-animated .mpc-pct-fill-bench-mod {
  width: 100%;
}

.mpc-pct-animated .mpc-pct-fill-std-str {
  width: 16%;
}
.mpc-pct-animated .mpc-pct-fill-hs-str {
  width: 33%;
}
.mpc-pct-animated .mpc-pct-fill-bench-str {
  width: 100%;
}

.mpc-pct-subtitle {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 6px;
  font-weight: 600;
}

/* ── Reference ── */
.mpc-reference {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
  line-height: 1.5;
}

.mpc-reference em {
  font-style: normal;
  color: #64748b;
}

@media (max-width: 700px) {
  .mpc-charts {
    grid-template-columns: 1fr;
  }
  .mpc-materials {
    grid-template-columns: 1fr;
  }
  .mpc-chart-wrap {
    height: 240px;
  }
  .mpc-pct-label {
    width: 100px;
    font-size: 10px;
  }
}
/* <!-- infographic 9 --> */
.sbm-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.sbm-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 2px;
}

.sbm-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

.sbm-section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #9d9d9c;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

/* ── Parallel input row ── */
.sbm-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 0;
}

.sbm-input-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  position: relative;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
}

.sbm-input-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 10px 10px 0 0;
}

.sbm-input-card:nth-child(1)::before {
  background: #47577c;
}
.sbm-input-card:nth-child(2)::before {
  background: #bf3425;
}
.sbm-input-card:nth-child(3)::before {
  background: #9d9d9c;
}

.sbm-input-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sbm-input-card:nth-child(1):hover {
  border-color: #47577c;
}
.sbm-input-card:nth-child(2):hover {
  border-color: #bf3425;
}
.sbm-input-card:nth-child(3):hover {
  border-color: #9d9d9c;
}

.sbm-input-icon {
  font-size: 24px;
  margin-bottom: 6px;
}

.sbm-input-name {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.sbm-input-bullets {
  font-size: 11px;
  color: #64748b;
  line-height: 1.6;
  text-align: left;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
}

.sbm-input-card:hover .sbm-input-bullets {
  max-height: 60px;
  padding-top: 6px;
}

.sbm-input-bullet {
  display: flex;
  gap: 4px;
  align-items: flex-start;
}

.sbm-input-bullet::before {
  content: "•";
  color: #9d9d9c;
  flex-shrink: 0;
}

/* ── Merge connector (three lines merging to one) ── */
.sbm-merge {
  display: flex;
  justify-content: center;
  height: 36px;
  position: relative;
  margin-bottom: 0;
}

.sbm-merge svg {
  width: 100%;
  max-width: 600px;
  height: 36px;
}

/* ── Step connector (single vertical) ── */
.sbm-connector {
  display: flex;
  justify-content: center;
  height: 28px;
  position: relative;
}

.sbm-connector-line {
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, #bf3425, #bf342566);
  position: relative;
}

.sbm-connector-dot {
  position: absolute;
  left: -4px;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bf3425;
  animation: sbm-dot-pulse 2s ease-in-out infinite;
}

.sbm-connector:nth-child(odd) .sbm-connector-dot {
  animation-delay: -0.5s;
}
.sbm-connector:nth-child(even) .sbm-connector-dot {
  animation-delay: -1.2s;
}

@keyframes sbm-dot-pulse {
  0%,
  100% {
    transform: scale(0.7);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

/* ── Process step card ── */
.sbm-step {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  position: relative;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
  cursor: default;
  overflow: hidden;
}

.sbm-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 12px 0 0 12px;
  transition: background 0.35s ease;
}

.sbm-step:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Step color variants */
.sbm-step-coat::before {
  background: #bf3425;
}
.sbm-step-coat:hover {
  border-color: #bf3425;
}

.sbm-step-impreg::before {
  background: #47577c;
}
.sbm-step-impreg:hover {
  border-color: #47577c;
}

.sbm-step-assembly::before {
  background: #9d9d9c;
}
.sbm-step-assembly:hover {
  border-color: #9d9d9c;
}

.sbm-step-cure::before {
  background: #bf3425;
}
.sbm-step-cure:hover {
  border-color: #bf3425;
}

.sbm-step-formation::before {
  background: #47577c;
}
.sbm-step-formation:hover {
  border-color: #47577c;
}

.sbm-step-final::before {
  background: #47577c;
}
.sbm-step-final:hover {
  border-color: #47577c;
}

/* Step header */
.sbm-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.sbm-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.sbm-num-coat {
  background: #bf3425;
}
.sbm-num-impreg {
  background: #47577c;
}
.sbm-num-assembly {
  background: #9d9d9c;
}
.sbm-num-cure {
  background: #bf3425;
}
.sbm-num-formation {
  background: #47577c;
}
.sbm-num-final {
  background: #47577c;
}

.sbm-step-name {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.sbm-step-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.sbm-tag-optional {
  background: rgba(191, 52, 37, 0.08);
  color: #bf3425;
}

.sbm-tag-critical {
  background: rgba(71, 87, 124, 0.08);
  color: #47577c;
}

/* Step body */
.sbm-step-body {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin-left: 36px;
}

/* Expandable detail */
.sbm-step-detail {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    margin 0.4s ease;
  margin-left: 36px;
  font-size: 11px;
  color: #475569;
  line-height: 1.6;
}

.sbm-step:hover .sbm-step-detail {
  max-height: 160px;
  margin-top: 8px;
}

.sbm-detail-bullet {
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.sbm-detail-bullet::before {
  content: "→";
  color: #9d9d9c;
  flex-shrink: 0;
  font-size: 10px;
}

.sbm-step-spec {
  display: inline-block;
  background: rgba(71, 87, 124, 0.06);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 10px;
  color: #47577c;
  margin-top: 6px;
}

/* ── Two-approach split inside impregnation step ── */
.sbm-approach-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  margin-top: 10px;
  margin-left: 36px;
}

.sbm-approach-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.sbm-approach-card:hover {
  border-color: #47577c;
  background: #f0f4f8;
}

.sbm-approach-name {
  font-size: 11px;
  font-weight: 700;
  color: #47577c;
  margin-bottom: 4px;
}

.sbm-approach-bullets {
  font-size: 10px;
  color: #64748b;
  line-height: 1.6;
}

.sbm-approach-or {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #9d9d9c;
}

/* ── Assembly flow visualization ── */
.sbm-assembly-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  margin-left: 36px;
  flex-wrap: wrap;
}

.sbm-flow-chip {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.sbm-flow-chip:hover {
  transform: scale(1.05);
}

.sbm-flow-anode {
  background: #47577c;
  color: #ffffff;
}
.sbm-flow-sep {
  background: #e8e8e7;
  color: #475569;
  border: 1px solid #d1d5db;
}
.sbm-flow-cathode {
  background: #bf3425;
  color: #ffffff;
}

.sbm-flow-arrow {
  font-size: 12px;
  color: #9d9d9c;
  font-weight: 700;
}

/* ── Final output card (special styling) ── */
.sbm-step-final-output {
  background: linear-gradient(135deg, #47577c 0%, #5a6d94 100%);
  border-color: #47577c;
  color: #ffffff;
}

.sbm-step-final-output .sbm-step-name {
  color: #ffffff;
}
.sbm-step-final-output .sbm-step-body {
  color: rgba(255, 255, 255, 0.8);
}
.sbm-step-final-output .sbm-step-detail {
  color: rgba(255, 255, 255, 0.85);
}
.sbm-step-final-output .sbm-detail-bullet::before {
  color: rgba(255, 255, 255, 0.5);
}
.sbm-step-final-output .sbm-step-num {
  background: #ffffff;
  color: #47577c;
}

.sbm-step-final-output:hover {
  border-color: #ffffff;
  box-shadow: 0 4px 20px rgba(71, 87, 124, 0.3);
}

/* ── Process control parameters ── */
.sbm-params {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.sbm-param-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fffbfa;
  border: 1px solid #fde8e4;
  border-radius: 10px;
  padding: 12px 14px;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
}

.sbm-param-card:hover {
  border-color: #bf3425;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(191, 52, 37, 0.08);
}

.sbm-param-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.sbm-param-text {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.sbm-param-effect {
  font-size: 11px;
  font-weight: 400;
  color: #64748b;
  margin-top: 2px;
}

/* ── Reference ── */
.sbm-reference {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
  line-height: 1.5;
}

.sbm-reference em {
  font-style: normal;
  color: #64748b;
}

@media (max-width: 640px) {
  .sbm-inputs {
    grid-template-columns: 1fr;
  }
  .sbm-approach-split {
    grid-template-columns: 1fr;
  }
  .sbm-approach-or {
    padding: 4px 0;
  }
  .sbm-params {
    grid-template-columns: 1fr;
  }
  .sbm-step-name {
    font-size: 12px;
  }
  .sbm-assembly-flow {
    gap: 4px;
  }
}
/* <!-- infographic 10 --> */
.scs-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.scs-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 2px;
}

.scs-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

.scs-section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #9d9d9c;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

/* ── Main layout: Stack + Sidebar ── */
.scs-main {
  display: flex;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 24px;
}

/* ── SVG Stack ── */
.scs-svg-col {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scs-svg {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
}

/* Layer interaction */
.scs-layer-g {
  cursor: pointer;
  transition:
    opacity 0.35s ease,
    filter 0.35s ease;
}

.scs-svg.scs-has-hover .scs-layer-g {
  opacity: 0.3;
  filter: grayscale(0.3);
}

.scs-svg.scs-has-hover .scs-layer-g.scs-layer-active {
  opacity: 1;
  filter: none;
}

/* Hover glow per layer type */
.scs-layer-g:hover {
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.15));
}

/* Charge flow animation */
.scs-e-flow {
  animation: scs-electron-move 3s linear infinite;
}

.scs-e-flow-2 {
  animation-delay: -1s;
}
.scs-e-flow-3 {
  animation-delay: -2s;
}

@keyframes scs-electron-move {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
  }
}

/* Tab connector animation */
.scs-tab-pulse {
  animation: scs-tab-glow 2.5s ease-in-out infinite;
}

.scs-tab-pulse-2 {
  animation-delay: -1.25s;
}

@keyframes scs-tab-glow {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

/* ── Sidebar detail panel ── */
.scs-sidebar {
  width: 270px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scs-side-card {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.scs-side-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 8px 0 0 8px;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.scs-side-card:hover,
.scs-side-card.scs-side-active {
  transform: translateX(4px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.scs-side-card:hover::before,
.scs-side-card.scs-side-active::before {
  opacity: 1;
}

.scs-side-card[data-layer="al"]::before {
  background: #9d9d9c;
}
.scs-side-card[data-layer="al"]:hover,
.scs-side-card[data-layer="al"].scs-side-active {
  border-color: #9d9d9c;
}

.scs-side-card[data-layer="cathode"]::before {
  background: #bf3425;
}
.scs-side-card[data-layer="cathode"]:hover,
.scs-side-card[data-layer="cathode"].scs-side-active {
  border-color: #bf3425;
}

.scs-side-card[data-layer="separator"]::before {
  background: #e2c77c;
}
.scs-side-card[data-layer="separator"]:hover,
.scs-side-card[data-layer="separator"].scs-side-active {
  border-color: #c9a94e;
}

.scs-side-card[data-layer="anode"]::before {
  background: #47577c;
}
.scs-side-card[data-layer="anode"]:hover,
.scs-side-card[data-layer="anode"].scs-side-active {
  border-color: #47577c;
}

.scs-side-card[data-layer="cu"]::before {
  background: #b87333;
}
.scs-side-card[data-layer="cu"]:hover,
.scs-side-card[data-layer="cu"].scs-side-active {
  border-color: #b87333;
}

/* Side card content */
.scs-side-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.scs-side-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.scs-dot-al {
  background: linear-gradient(135deg, #b0b0b0, #d0d0d0);
  border: 1px solid #9d9d9c;
}
.scs-dot-cathode {
  background: #bf3425;
}
.scs-dot-sep {
  background: repeating-linear-gradient(
    45deg,
    #f5ecd0,
    #f5ecd0 2px,
    #e8dbb0 2px,
    #e8dbb0 4px
  );
  border: 1px solid #c9a94e;
}
.scs-dot-anode {
  background: #47577c;
}
.scs-dot-cu {
  background: linear-gradient(135deg, #b87333, #d4956a);
  border: 1px solid #9a5f28;
}

.scs-side-name {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
}

.scs-side-polarity {
  margin-left: auto;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.scs-pol-plus {
  color: #bf3425;
}
.scs-pol-minus {
  color: #47577c;
}

.scs-side-desc {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
  line-height: 1.5;
}

/* Expandable specs */
.scs-side-specs {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    margin 0.4s ease;
  font-size: 10px;
  color: #475569;
  line-height: 1.6;
}

.scs-side-card:hover .scs-side-specs,
.scs-side-card.scs-side-active .scs-side-specs {
  max-height: 100px;
  margin-top: 6px;
}

.scs-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
  border-bottom: 1px solid #f1f5f9;
}

.scs-spec-label {
  color: #94a3b8;
}
.scs-spec-value {
  font-weight: 600;
  color: #1e293b;
}

/* Arrow connectors between sidebar cards */
.scs-side-arrow {
  text-align: center;
  font-size: 10px;
  color: #cbd5e1;
  line-height: 1;
  padding: 1px 0;
}

/* ── Polarity indicator bar ── */
.scs-polarity-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.scs-pol-label {
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.scs-pol-label-plus {
  color: #bf3425;
}
.scs-pol-label-minus {
  color: #47577c;
}

.scs-pol-line {
  flex: 1;
  height: 1px;
  max-width: 80px;
}

.scs-pol-line-plus {
  background: linear-gradient(90deg, transparent, #bf3425);
}
.scs-pol-line-minus {
  background: linear-gradient(270deg, transparent, #47577c);
}

/* ── Reference ── */
.scs-reference {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
  line-height: 1.5;
  margin-top: 16px;
}

@media (max-width: 700px) {
  .scs-main {
    flex-direction: column;
    align-items: center;
  }
  .scs-sidebar {
    width: 100%;
  }
  .scs-svg {
    max-width: 360px;
  }
}
/* <!-- infographic 11 --> */
.sar-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.sar-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 2px;
}

.sar-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

.sar-section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #9d9d9c;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

/* ── Timeline spine ── */
.sar-timeline {
  position: relative;
  padding-left: 60px;
  margin-bottom: 28px;
}

.sar-timeline::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    #47577c 0%,
    #bf3425 40%,
    #9d9d9c 70%,
    #bf3425 100%
  );
  border-radius: 2px;
}

/* Progress fill animation on the spine */
.sar-timeline::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 0;
  width: 3px;
  height: 0;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: sar-spine-fill 3s ease-out forwards;
}

@keyframes sar-spine-fill {
  0% {
    height: 100%;
  }
  100% {
    height: 0%;
  }
}

/* ── Phase block ── */
.sar-phase {
  position: relative;
  margin-bottom: 8px;
}

/* Timeline node */
.sar-node {
  position: absolute;
  left: -42px;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid;
  background: #ffffff;
  z-index: 2;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.sar-phase:hover .sar-node {
  transform: scale(1.3);
}

.sar-node-done {
  border-color: #47577c;
  background: #47577c;
}

.sar-node-done::after {
  content: "✓";
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.sar-node-active {
  border-color: #bf3425;
  animation: sar-node-pulse 2s ease-in-out infinite;
}

@keyframes sar-node-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(191, 52, 37, 0.3);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(191, 52, 37, 0);
  }
}

.sar-node-future {
  border-color: #9d9d9c;
}

.sar-node-far {
  border-color: #9d9d9c;
  border-style: dashed;
}

/* ── Phase card ── */
.sar-phase-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
  cursor: default;
  overflow: hidden;
}

.sar-phase:hover .sar-phase-card {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

/* Phase color variants */
.sar-phase-done .sar-phase-card {
  border-left: 4px solid #47577c;
}
.sar-phase-done:hover .sar-phase-card {
  border-color: #47577c;
}

.sar-phase-active .sar-phase-card {
  border-left: 4px solid #bf3425;
  background: #fffbfa;
}
.sar-phase-active:hover .sar-phase-card {
  border-color: #bf3425;
}

.sar-phase-future .sar-phase-card {
  border-left: 4px solid #9d9d9c;
}
.sar-phase-future:hover .sar-phase-card {
  border-color: #9d9d9c;
}

.sar-phase-far .sar-phase-card {
  border-left: 4px dashed #9d9d9c;
}
.sar-phase-far:hover .sar-phase-card {
  border-color: #9d9d9c;
}

/* Phase header */
.sar-phase-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.sar-phase-years {
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 5px;
  white-space: nowrap;
}

.sar-years-done {
  background: #47577c;
  color: #ffffff;
}
.sar-years-active {
  background: #bf3425;
  color: #ffffff;
}
.sar-years-future {
  background: #e8e8e7;
  color: #475569;
}
.sar-years-far {
  background: #f1f5f9;
  color: #94a3b8;
}

.sar-phase-name {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.sar-phase-perf {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(71, 87, 124, 0.06);
  color: #47577c;
  white-space: nowrap;
}

/* Phase body */
.sar-phase-body {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

/* Application items grid */
.sar-apps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.sar-app-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
}

.sar-app-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.sar-phase-done .sar-app-item:hover {
  border-color: #47577c;
}
.sar-phase-active .sar-app-item:hover {
  border-color: #bf3425;
}
.sar-phase-future .sar-app-item:hover {
  border-color: #9d9d9c;
}
.sar-phase-far .sar-app-item:hover {
  border-color: #9d9d9c;
}

.sar-app-icon {
  font-size: 18px;
  margin-bottom: 4px;
}

.sar-app-name {
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

.sar-app-desc {
  font-size: 10px;
  color: #64748b;
  line-height: 1.4;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    margin 0.35s ease;
}

.sar-app-item:hover .sar-app-desc {
  max-height: 60px;
  margin-top: 4px;
}

/* Certification challenge tag */
.sar-cert-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 5px;
  background: rgba(191, 52, 37, 0.06);
  color: #bf3425;
  margin-top: 8px;
}

/* ── Performance trajectory bar ── */
.sar-perf-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.sar-perf-track {
  flex: 1;
  height: 6px;
  background: #f1f5f9;
  border-radius: 3px;
  overflow: hidden;
}

.sar-perf-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1.2s ease-out;
  width: 0;
}

.sar-perf-fill-done {
  background: #47577c;
}
.sar-perf-fill-active {
  background: #bf3425;
}
.sar-perf-fill-future {
  background: #9d9d9c;
}
.sar-perf-fill-far {
  background: #cbd5e1;
}

.sar-perf-label {
  font-size: 9px;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
  min-width: 65px;
  text-align: right;
}

/* Animate bars */
.sar-animated .sar-phase:nth-child(1) .sar-perf-fill {
  width: 30%;
}
.sar-animated .sar-phase:nth-child(2) .sar-perf-fill {
  width: 50%;
}
.sar-animated .sar-phase:nth-child(3) .sar-perf-fill {
  width: 70%;
}
.sar-animated .sar-phase:nth-child(4) .sar-perf-fill {
  width: 85%;
}
.sar-animated .sar-phase:nth-child(5) .sar-perf-fill {
  width: 100%;
}

/* ── Adoption factors ── */
.sar-factors {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.sar-factor-card {
  text-align: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 8px;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
}

.sar-factor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
  border-color: #47577c;
}

.sar-factor-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.sar-factor-text {
  font-size: 10px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

/* ── Reference ── */
.sar-reference {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
  line-height: 1.5;
}

.sar-reference em {
  font-style: normal;
  color: #64748b;
}

@media (max-width: 640px) {
  .sar-timeline {
    padding-left: 48px;
  }
  .sar-timeline::before,
  .sar-timeline::after {
    left: 18px;
  }
  .sar-node {
    left: -36px;
    width: 14px;
    height: 14px;
  }
  .sar-apps {
    grid-template-columns: 1fr;
  }
  .sar-factors {
    grid-template-columns: repeat(2, 1fr);
  }
  .sar-phase-name {
    font-size: 12px;
  }
  .sar-phase-perf {
    display: none;
  }
}
