/* ============================================
   IN-SITU CONSOLIDATION 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;
}

html {
  scroll-behavior: smooth;
}

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

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #bf3425, #47577c);
  z-index: 9999;
  transition: width 0.1s linear;
  width: 0%;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #bf3425 0%, #9d2a1e 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(191, 52, 37, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(191, 52, 37, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  z-index: 1001;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.mobile-nav-toggle:hover {
  background: #f8fafc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-nav-toggle svg {
  color: #47577c;
}

/* 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;
}

/* 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);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.full-width-image:hover {
  transform: scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.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%;
}

.intro-card h2 {
  margin-top: 0;
  border-bottom: none;
  padding-bottom: 0;
}

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

.key-finding-card {
  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;
}

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

.finding-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;
}

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

.finding-content {
  display: flex;
  flex-direction: column;
}

.finding-value {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #bf3425;
}

.finding-label {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.25rem;
}

/* 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;
}

/* Equation Box */
.equation-box {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.equation {
  font-family: "Georgia", serif;
  font-size: 1.25rem;
  color: #1e293b;
  margin: 0;
}

/* 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 {
  transition: background-color 0.2s;
}

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

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

.table-note {
  font-size: 0.875rem;
  color: #64748b;
  font-style: italic;
  margin-top: -1rem;
  margin-bottom: 2rem;
}

/* Infographic Placeholders */
.infographic-placeholder {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.infographic-label {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #bf3425;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.infographic-description {
  font-size: 0.9375rem;
  color: #475569;
  margin: 0 0 1rem 0;
  line-height: 1.7;
  text-align: left;
}

.infographic-source {
  font-size: 0.8125rem;
  color: #9d9d9c;
  font-style: italic;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

/* 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);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.split-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.split-content {
  padding: 0;
}

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

/* Specs Grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 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: 2rem;
  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;
}

/* 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 h4 {
  margin-top: 0;
  color: #bf3425;
}

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

/* Process Cards */
.process-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

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

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

.process-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;
}

.process-card h4 {
  margin: 0.5rem 0 0.75rem 0;
  font-size: 1rem;
}

.process-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: #64748b;
}

/* Ranking List */
.ranking-list {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
}

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

.ranking-list ol {
  margin: 0;
  padding-left: 1.25rem;
}

.ranking-list li {
  padding: 0.5rem 0;
  color: #475569;
}

/* 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.75rem 0;
  font-size: 1rem;
  color: #1e293b;
}

.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.125rem;
  margin: 0;
  line-height: 1.6;
}

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

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

.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;
  }

  .feature-grid,
  .key-findings-grid,
  .conclusions-grid,
  .process-cards,
  .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;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

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

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

/* 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;
  }

  .intro-card,
  .highlight-box,
  .key-question,
  .equation-box {
    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;
  }

  .drop-cap::first-letter {
    font-size: 3.5rem;
    margin-right: 8px;
  }

  .data-table th,
  .data-table td {
    padding: 0.75rem;
    font-size: 0.8125rem;
  }
}

/* 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,
  .specs-grid {
    grid-template-columns: 1fr;
  }

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

  .author-card {
    padding: 1.25rem;
  }

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

  .feature-icon {
    margin: 0 auto;
  }

  .key-finding-card {
    flex-direction: column;
    text-align: center;
  }

  .finding-icon {
    margin: 0 auto;
  }

  .cta-section {
    padding: 1.25rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .conclusion-card,
  .process-card {
    padding: 1.25rem 1rem;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .blog-sidebar,
  .mobile-nav-toggle,
  .back-to-top,
  .reading-progress,
  .cta-section,
  .author-social,
  .learn-more-container {
    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,
  .conclusion-card,
  .process-card {
    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 PLACEHOLDER 1 --> */

.afp-laser-process-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: 1000px;
  margin: 0 auto;
}

.afp-laser-process-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin-bottom: 8px;
  text-align: center;
}

.afp-laser-process-subtitle {
  font-size: 14px;
  color: #64748b;
  text-align: center;
  margin-bottom: 24px;
}

.afp-laser-main-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .afp-laser-main-content {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* Process Diagram Styles */
.afp-laser-diagram-section {
  flex: 1;
  min-width: 300px;
}

.afp-laser-diagram-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
}

.afp-laser-diagram-svg {
  width: 100%;
  height: auto;
}

/* Interactive Elements */
.afp-laser-component {
  cursor: pointer;
  transition: all 0.3s ease;
}

.afp-laser-component:hover {
  filter: brightness(1.1);
}

.afp-laser-beam {
  animation: laserPulse 1.5s ease-in-out infinite;
}

@keyframes laserPulse {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

.afp-laser-tape-flow {
  animation: tapeFlow 2s linear infinite;
}

@keyframes tapeFlow {
  0% {
    stroke-dashoffset: 20;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.afp-heat-gradient {
  animation: heatPulse 2s ease-in-out infinite;
}

@keyframes heatPulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.9;
  }
}

/* Tooltip Styles */
.afp-laser-tooltip {
  position: absolute;
  background: #1e293b;
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  max-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.afp-laser-tooltip::after {
  content: "";
  position: absolute;
  border: 6px solid transparent;
}

.afp-laser-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

.afp-laser-tooltip-title {
  font-weight: 600;
  color: #bf3425;
  margin-bottom: 4px;
}

.afp-laser-tooltip-text {
  line-height: 1.4;
}

/* Temperature Profile Section */
.afp-temp-profile-section {
  flex: 1;
  min-width: 300px;
}

.afp-temp-profile-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
  text-align: center;
}

.afp-temp-chart-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
}

/* Legend and Info */
.afp-laser-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.afp-laser-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #475569;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.afp-laser-legend-item:hover {
  background-color: #f1f5f9;
}

.afp-laser-legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

/* Process Parameters */
.afp-process-params {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.afp-param-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.afp-param-card:hover {
  transform: translateY(-2px);
  border-color: #bf3425;
  box-shadow: 0 4px 12px rgba(191, 52, 37, 0.15);
}

.afp-param-value {
  font-size: 20px;
  font-weight: 700;
  color: #bf3425;
}

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

/* Source Citation */
.afp-laser-source {
  margin-top: 20px;
  padding: 12px 16px;
  background-color: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #47577c;
}

.afp-laser-source-text {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.afp-laser-source-text a {
  color: #bf3425;
  text-decoration: none;
}

.afp-laser-source-text a:hover {
  text-decoration: underline;
}

/* Zone Labels Animation */
.afp-zone-label {
  transition: all 0.3s ease;
}

.afp-zone-label:hover {
  transform: scale(1.05);
}

/* <!-- INFOGRAPHIC PLACEHOLDER 2 --> */
.afp-intimate-contact-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: 1000px;
  margin: 0 auto;
}

.afp-intimate-contact-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin-bottom: 8px;
  text-align: center;
}

.afp-intimate-contact-subtitle {
  font-size: 14px;
  color: #64748b;
  text-align: center;
  margin-bottom: 24px;
}

/* Two Panel Layout */
.afp-schematic-panels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .afp-schematic-panels {
    flex-direction: row;
    align-items: stretch;
  }
}

.afp-panel {
  flex: 1;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  min-height: 280px;
}

.afp-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.afp-panel-label {
  background-color: #47577c;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.afp-panel-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

/* Arrow between panels */
.afp-process-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

@media (min-width: 768px) {
  .afp-process-arrow {
    display: flex;
  }
}

.afp-process-arrow-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

@media (min-width: 768px) {
  .afp-process-arrow-mobile {
    display: none;
  }
}

.afp-arrow-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.afp-arrow-icon {
  width: 50px;
  height: 50px;
  background-color: #bf3425;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  animation: pulseArrow 2s ease-in-out infinite;
}

@keyframes pulseArrow {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.afp-arrow-label {
  font-size: 11px;
  font-weight: 600;
  color: #bf3425;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* SVG Schematic Styles */
.afp-schematic-svg {
  width: 100%;
  height: 180px;
}

/* Interactive Elements */
.afp-asperity {
  transition: all 0.3s ease;
  cursor: pointer;
}

.afp-asperity:hover {
  filter: brightness(0.9);
}

.afp-dimension-line {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.afp-dimension-line:hover {
  opacity: 1;
}

/* Parameter Cards */
.afp-param-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.afp-mini-param {
  background: white;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.afp-mini-param:hover {
  border-color: #bf3425;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(191, 52, 37, 0.15);
}

.afp-mini-param-symbol {
  font-size: 16px;
  font-weight: 700;
  color: #47577c;
  font-family: "Times New Roman", serif;
  font-style: italic;
}

.afp-mini-param-name {
  font-size: 10px;
  color: #64748b;
  margin-top: 2px;
}

/* After Panel Specific */
.afp-result-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.afp-result-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.afp-result-badge.positive {
  background-color: rgba(34, 197, 94, 0.1);
  color: #47577c;
}

.afp-result-badge.highlight {
  background-color: rgba(191, 52, 37, 0.1);
  color: #bf3425;
}

/* Evolution Chart Section */
.afp-evolution-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.afp-evolution-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .afp-evolution-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.afp-evolution-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}

.afp-evolution-equation {
  background: #f8fafc;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: "Times New Roman", serif;
  font-size: 14px;
  color: #475569;
  border-left: 3px solid #47577c;
}

.afp-chart-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
}

/* Tooltip Styles */
.afp-contact-tooltip {
  position: fixed;
  background: #1e293b;
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  max-width: 250px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.afp-contact-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

.afp-contact-tooltip-title {
  font-weight: 600;
  color: #bf3425;
  margin-bottom: 4px;
}

/* Animation for consolidation */
.afp-animate-consolidation {
  animation: consolidate 3s ease-in-out infinite;
}

@keyframes consolidate {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.7);
  }
}

/* Pressure indicator */
.afp-pressure-arrows {
  animation: pressDown 1.5s ease-in-out infinite;
}

@keyframes pressDown {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateY(5px);
    opacity: 1;
  }
}

/* Key Insights */
.afp-insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.afp-insight-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 10px;
  padding: 16px;
  border-left: 4px solid #47577c;
  transition: all 0.3s ease;
}

.afp-insight-card:hover {
  transform: translateX(4px);
  border-left-color: #bf3425;
}

.afp-insight-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.afp-insight-text {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

/* Source Citation */
.afp-contact-source {
  margin-top: 20px;
  padding: 12px 16px;
  background-color: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #47577c;
}

.afp-contact-source-text {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.afp-contact-source-text a {
  color: #bf3425;
  text-decoration: none;
}

.afp-contact-source-text a:hover {
  text-decoration: underline;
}

/* <!-- INFOGRAPHIC PLACEHOLDER 3 --> */
.afp-crystallinity-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;
}

.afp-crystallinity-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin-bottom: 8px;
  text-align: center;
}

.afp-crystallinity-subtitle {
  font-size: 14px;
  color: #64748b;
  text-align: center;
  margin-bottom: 24px;
}

/* Chart Container */
.afp-crystallinity-chart-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .afp-crystallinity-chart-wrapper {
    height: 450px;
  }
}

/* Legend Enhancement */
.afp-crystallinity-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  padding: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
}

.afp-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.afp-legend-item:hover {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.afp-legend-item.active {
  border-color: currentColor;
}

.afp-legend-marker {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.afp-legend-marker.peek {
  background-color: rgba(71, 87, 124, 0.15);
  color: #47577c;
  border: 2px solid #47577c;
}

.afp-legend-marker.pa6 {
  background-color: rgba(191, 52, 37, 0.15);
  color: #bf3425;
  border: 2px solid #bf3425;
}

.afp-legend-text {
  display: flex;
  flex-direction: column;
}

.afp-legend-name {
  font-weight: 600;
  font-size: 14px;
  color: #1e293b;
}

.afp-legend-detail {
  font-size: 11px;
  color: #64748b;
}

/* Process Zone Cards */
.afp-process-zones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.afp-zone-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.afp-zone-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.afp-zone-card.autoclave::before {
  background: linear-gradient(180deg, #16a34a, #22c55e);
}

.afp-zone-card.isc::before {
  background: linear-gradient(180deg, #f59e0b, #fbbf24);
}

.afp-zone-card.highspeed::before {
  background: linear-gradient(180deg, #bf3425, #ef4444);
}

.afp-zone-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.afp-zone-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.afp-zone-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.afp-zone-badge {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.afp-zone-badge.autoclave {
  background-color: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.afp-zone-badge.isc {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.afp-zone-badge.highspeed {
  background-color: rgba(191, 52, 37, 0.1);
  color: #bf3425;
}

.afp-zone-stats {
  display: flex;
  gap: 16px;
}

.afp-zone-stat {
  flex: 1;
}

.afp-zone-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: #47577c;
}

.afp-zone-stat-label {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.afp-zone-description {
  font-size: 12px;
  color: #64748b;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  line-height: 1.5;
}

/* Material Comparison Table */
.afp-material-comparison {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.afp-comparison-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
  text-align: center;
}

.afp-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.afp-comparison-table th {
  background-color: #f8fafc;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #475569;
  border-bottom: 2px solid #e2e8f0;
}

.afp-comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}

.afp-comparison-table tr {
  transition: background-color 0.2s ease;
}

.afp-comparison-table tr:hover {
  background-color: #f8fafc;
}

.afp-material-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
}

.afp-material-badge.peek {
  background-color: rgba(71, 87, 124, 0.1);
  color: #47577c;
}

.afp-material-badge.pa6 {
  background-color: rgba(191, 52, 37, 0.1);
  color: #bf3425;
}

.afp-value-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.afp-value-bar-fill {
  height: 8px;
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* Key Takeaways */
.afp-takeaways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.afp-takeaway {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.afp-takeaway:hover {
  background: #f1f5f9;
}

.afp-takeaway-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.afp-takeaway-icon.insight {
  background-color: rgba(71, 87, 124, 0.15);
  color: #47577c;
}

.afp-takeaway-icon.warning {
  background-color: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.afp-takeaway-icon.tip {
  background-color: rgba(22, 163, 74, 0.15);
  color: #16a34a;
}

.afp-takeaway-text {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
}

/* Source Citation */
.afp-crystallinity-source {
  margin-top: 20px;
  padding: 12px 16px;
  background-color: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #47577c;
}

.afp-crystallinity-source-text {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.afp-crystallinity-source-text a {
  color: #bf3425;
  text-decoration: none;
}

.afp-crystallinity-source-text a:hover {
  text-decoration: underline;
}
/* <!-- INFOGRAPHIC PLACEHOLDER 4 --> */
.afp-roller-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: 1000px;
  margin: 0 auto;
}

.afp-roller-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin-bottom: 8px;
  text-align: center;
}

.afp-roller-subtitle {
  font-size: 14px;
  color: #64748b;
  text-align: center;
  margin-bottom: 24px;
}

/* Comparison Layout */
.afp-roller-comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .afp-roller-comparison {
    grid-template-columns: 1fr 1fr;
  }
}

/* Roller Cards */
.afp-roller-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  padding: 20px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.afp-roller-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.afp-roller-card.rigid {
  border-color: #47577c;
}

.afp-roller-card.rigid:hover {
  border-color: #47577c;
  box-shadow: 0 12px 24px rgba(71, 87, 124, 0.2);
}

.afp-roller-card.deformable {
  border-color: #bf3425;
}

.afp-roller-card.deformable:hover {
  border-color: #bf3425;
  box-shadow: 0 12px 24px rgba(191, 52, 37, 0.2);
}

/* Card Headers */
.afp-roller-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.afp-roller-type {
  display: flex;
  align-items: center;
  gap: 10px;
}

.afp-roller-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.afp-roller-icon.rigid {
  background: linear-gradient(135deg, #47577c, #64748b);
  color: white;
}

.afp-roller-icon.deformable {
  background: linear-gradient(135deg, #bf3425, #dc2626);
  color: white;
}

.afp-roller-name {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
}

.afp-roller-material {
  font-size: 12px;
  color: #64748b;
}

.afp-roller-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.afp-roller-badge.rigid {
  background-color: rgba(71, 87, 124, 0.1);
  color: #47577c;
}

.afp-roller-badge.deformable {
  background-color: rgba(191, 52, 37, 0.1);
  color: #bf3425;
}

/* SVG Diagram Container */
.afp-roller-diagram {
  background: white;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  min-height: 200px;
}

.afp-roller-svg {
  width: 100%;
  height: auto;
}

/* Pressure Chart Container */
.afp-pressure-section {
  margin-bottom: 16px;
}

.afp-pressure-label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.afp-pressure-chart {
  background: white;
  border-radius: 10px;
  padding: 12px;
  height: 120px;
  position: relative;
}

/* Contact Width Indicator */
.afp-contact-width {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 10px;
  margin-bottom: 16px;
}

.afp-contact-value {
  font-size: 24px;
  font-weight: 700;
}

.afp-contact-value.rigid {
  color: #47577c;
}

.afp-contact-value.deformable {
  color: #bf3425;
}

.afp-contact-label {
  font-size: 12px;
  color: #64748b;
}

/* Curved Surface Section */
.afp-curved-section {
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
}

.afp-curved-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.afp-curved-diagram {
  background: white;
  border-radius: 10px;
  padding: 12px;
  min-height: 120px;
}

.afp-curved-result {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.afp-curved-result.negative {
  background-color: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.afp-curved-result.positive {
  background-color: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

/* Animated Elements */
.afp-roller-element {
  transition: all 0.3s ease;
}

.afp-roller-element:hover {
  filter: brightness(1.05);
}

@keyframes pressurePulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.afp-pressure-fill {
  animation: pressurePulse 2s ease-in-out infinite;
}

@keyframes rollerRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.afp-roller-rotation {
  transform-origin: center;
  animation: rollerRotate 3s linear infinite;
}

/* Comparison Summary */
.afp-comparison-summary {
  margin-top: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
}

.afp-summary-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
  text-align: center;
}

.afp-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.afp-summary-item {
  background: white;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

.afp-summary-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.afp-summary-metric {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.afp-summary-values {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.afp-summary-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.afp-summary-number {
  font-size: 16px;
  font-weight: 700;
}

.afp-summary-label {
  font-size: 10px;
  color: #94a3b8;
}

/* Application Guide */
.afp-application-guide {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.afp-app-card {
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.afp-app-card:hover {
  border-color: #cbd5e1;
  background-color: #fafafa;
}

.afp-app-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.afp-app-title.rigid {
  color: #47577c;
}

.afp-app-title.deformable {
  color: #bf3425;
}

.afp-app-list {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
}

/* Source Citation */
.afp-roller-source {
  margin-top: 20px;
  padding: 12px 16px;
  background-color: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #47577c;
}

.afp-roller-source-text {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.afp-roller-source-text a {
  color: #bf3425;
  text-decoration: none;
}

.afp-roller-source-text a:hover {
  text-decoration: underline;
}

/* Tooltip */
.afp-roller-tooltip {
  position: fixed;
  background: #1e293b;
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  max-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.afp-roller-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

/* <!-- INFOGRAPHIC PLACEHOLDER 5 --> */
.afp-temp-profile-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: 1000px;
  margin: 0 auto;
}

.afp-temp-profile-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin-bottom: 8px;
  text-align: center;
}

.afp-temp-profile-subtitle {
  font-size: 14px;
  color: #64748b;
  text-align: center;
  margin-bottom: 24px;
}

/* Chart Container */
.afp-temp-chart-container {
  position: relative;
  width: 100%;
  height: 400px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .afp-temp-chart-container {
    height: 450px;
  }
}

/* Process Zone Indicator Bar */
.afp-zone-bar {
  display: flex;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  height: 40px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.afp-zone-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.afp-zone-segment::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 50%
  );
}

.afp-zone-segment:hover {
  filter: brightness(1.1);
  transform: scaleY(1.05);
}

.afp-zone-segment.laser {
  background: linear-gradient(135deg, #bf3425, #d44637);
  flex: 1.5;
}

.afp-zone-segment.nip {
  background: linear-gradient(135deg, #a32d20, #bf3425);
  flex: 1;
}

.afp-zone-segment.roller {
  background: linear-gradient(135deg, #47577c, #5a6b8a);
  flex: 2;
}

.afp-zone-segment.cooling {
  background: linear-gradient(135deg, #3a4766, #47577c);
  flex: 2;
}

.afp-zone-segment.exit {
  background: linear-gradient(135deg, #9d9d9c, #ababab);
  flex: 1.5;
}

/* Temperature Thresholds Legend */
.afp-temp-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
}

.afp-temp-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.afp-temp-legend-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.afp-temp-legend-line {
  width: 24px;
  height: 3px;
  border-radius: 2px;
}

.afp-temp-legend-text {
  font-size: 12px;
  color: #1e293b;
}

.afp-temp-legend-value {
  font-weight: 700;
  margin-left: 4px;
}

/* Process Parameters Cards */
.afp-process-params-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.afp-param-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.afp-param-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.afp-param-card.cooling::before {
  background: linear-gradient(180deg, #bf3425, #47577c);
}

.afp-param-card.contact::before {
  background: linear-gradient(180deg, #47577c, #5a6b8a);
}

.afp-param-card.peak::before {
  background: linear-gradient(180deg, #bf3425, #d44637);
}

.afp-param-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.afp-param-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.afp-param-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.afp-param-card-icon.cooling {
  background: rgba(191, 52, 37, 0.1);
  color: #bf3425;
}

.afp-param-card-icon.contact {
  background: rgba(71, 87, 124, 0.1);
  color: #47577c;
}

.afp-param-card-icon.peak {
  background: rgba(191, 52, 37, 0.1);
  color: #bf3425;
}

.afp-param-card-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.afp-param-card-value {
  font-size: 28px;
  font-weight: 700;
  color: #47577c;
  margin-bottom: 4px;
}

.afp-param-card-unit {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
}

.afp-param-card-desc {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 8px;
  line-height: 1.4;
}

/* Thermal Zones Detail */
.afp-thermal-zones {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.afp-thermal-zones-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
  text-align: center;
}

.afp-thermal-zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.afp-thermal-zone-card {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.afp-thermal-zone-card:hover {
  border-color: transparent;
  transform: translateY(-2px);
}

.afp-thermal-zone-card.laser:hover {
  background: linear-gradient(
    135deg,
    rgba(191, 52, 37, 0.05),
    rgba(191, 52, 37, 0.1)
  );
  box-shadow: 0 4px 12px rgba(191, 52, 37, 0.15);
}

.afp-thermal-zone-card.nip:hover {
  background: linear-gradient(
    135deg,
    rgba(191, 52, 37, 0.05),
    rgba(191, 52, 37, 0.1)
  );
  box-shadow: 0 4px 12px rgba(191, 52, 37, 0.15);
}

.afp-thermal-zone-card.roller:hover {
  background: linear-gradient(
    135deg,
    rgba(71, 87, 124, 0.05),
    rgba(71, 87, 124, 0.1)
  );
  box-shadow: 0 4px 12px rgba(71, 87, 124, 0.15);
}

.afp-thermal-zone-card.crystallization:hover {
  background: linear-gradient(
    135deg,
    rgba(71, 87, 124, 0.05),
    rgba(71, 87, 124, 0.1)
  );
  box-shadow: 0 4px 12px rgba(71, 87, 124, 0.15);
}

.afp-thermal-zone-card.ambient:hover {
  background: linear-gradient(
    135deg,
    rgba(157, 157, 156, 0.05),
    rgba(157, 157, 156, 0.1)
  );
  box-shadow: 0 4px 12px rgba(157, 157, 156, 0.15);
}

.afp-zone-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.afp-zone-card-name {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.afp-zone-card-name.laser {
  color: #bf3425;
}
.afp-zone-card-name.nip {
  color: #bf3425;
}
.afp-zone-card-name.roller {
  color: #47577c;
}
.afp-zone-card-name.crystallization {
  color: #47577c;
}
.afp-zone-card-name.ambient {
  color: #9d9d9c;
}

.afp-zone-card-temp {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.afp-zone-card-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.5;
}

/* Gradient bar showing thermal journey */
.afp-thermal-gradient-bar {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    #bf3425 0%,
    #bf3425 25%,
    #47577c 50%,
    #9d9d9c 100%
  );
  margin: 16px 0;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.afp-gradient-label {
  position: absolute;
  font-size: 9px;
  color: #64748b;
  transform: translateX(-50%);
  bottom: -18px;
}

/* Source Citation */
.afp-temp-source {
  margin-top: 20px;
  padding: 12px 16px;
  background-color: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #47577c;
}

.afp-temp-source-text {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.afp-temp-source-text a {
  color: #bf3425;
  text-decoration: none;
}

.afp-temp-source-text a:hover {
  text-decoration: underline;
}
/* <!-- INFOGRAPHIC PLACEHOLDER 6 --> */
.afp-void-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: 1000px;
  margin: 0 auto;
}

.afp-void-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin-bottom: 8px;
  text-align: center;
}

.afp-void-subtitle {
  font-size: 14px;
  color: #64748b;
  text-align: center;
  margin-bottom: 24px;
}

/* Legend Bar */
.afp-void-legend-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
}

.afp-void-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: white;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.afp-void-legend-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.afp-void-legend-item.active {
  border-color: currentColor;
}

.afp-void-legend-item[data-void="ib"] {
  color: #bf3425;
}
.afp-void-legend-item[data-void="il"] {
  color: #47577c;
}
.afp-void-legend-item[data-void="it"] {
  color: #6b6b6b;
}
.afp-void-legend-item[data-void="micro"] {
  color: #888888;
}

.afp-legend-marker {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
}

.afp-legend-marker.ib {
  background-color: #bf3425;
}
.afp-legend-marker.il {
  background-color: #47577c;
}
.afp-legend-marker.it {
  background-color: #9d9d9c;
}
.afp-legend-marker.micro {
  background-color: #b8b8b8;
}

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

.afp-legend-size {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

/* Main Diagram Container */
.afp-diagram-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
}

.afp-cross-section-svg {
  width: 100%;
  height: auto;
}

/* Interactive SVG Elements */
.afp-void-element {
  cursor: pointer;
  transition: all 0.3s ease;
}

.afp-void-element:hover {
  filter: brightness(1.1);
}

.afp-bead {
  transition: all 0.3s ease;
}

.afp-bead:hover {
  filter: brightness(0.95);
}

/* Void highlight animations */
@keyframes voidPulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.afp-void-highlight {
  animation: voidPulse 2s ease-in-out infinite;
}

@keyframes voidGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 2px currentColor);
  }
  50% {
    filter: drop-shadow(0 0 6px currentColor);
  }
}

.afp-void-glow {
  animation: voidGlow 1.5s ease-in-out infinite;
}

/* Void Size Scale */
.afp-size-scale {
  margin-top: 20px;
  padding: 16px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.afp-scale-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
  text-align: center;
}

.afp-scale-bar {
  position: relative;
  height: 50px;
  background: linear-gradient(90deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}

.afp-scale-segment {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.afp-scale-segment:hover {
  filter: brightness(1.1);
  z-index: 10;
}

.afp-scale-segment.it {
  left: 0%;
  width: 15%;
  background: linear-gradient(
    135deg,
    rgba(157, 157, 156, 0.4),
    rgba(157, 157, 156, 0.6)
  );
  border-right: 2px solid #9d9d9c;
}

.afp-scale-segment.il {
  left: 15%;
  width: 25%;
  background: linear-gradient(
    135deg,
    rgba(71, 87, 124, 0.4),
    rgba(71, 87, 124, 0.6)
  );
  border-right: 2px solid #47577c;
}

.afp-scale-segment.ib {
  left: 40%;
  width: 60%;
  background: linear-gradient(
    135deg,
    rgba(191, 52, 37, 0.4),
    rgba(191, 52, 37, 0.6)
  );
}

.afp-scale-label {
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  line-height: 1.3;
}

.afp-scale-axis {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #64748b;
  padding: 0 4px;
}

/* Formation Mechanisms Section */
.afp-mechanisms-section {
  margin-top: 24px;
}

.afp-mechanisms-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
  text-align: center;
}

.afp-mechanisms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.afp-mechanism-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.afp-mechanism-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.afp-mechanism-card.ib::before {
  background: linear-gradient(180deg, #bf3425, #d44637);
}
.afp-mechanism-card.il::before {
  background: linear-gradient(180deg, #47577c, #5a6b8a);
}
.afp-mechanism-card.it::before {
  background: linear-gradient(180deg, #9d9d9c, #ababab);
}

.afp-mechanism-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.afp-mechanism-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.afp-mechanism-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
}

.afp-mechanism-icon.ib {
  background: linear-gradient(135deg, #bf3425, #d44637);
}
.afp-mechanism-icon.il {
  background: linear-gradient(135deg, #47577c, #5a6b8a);
}
.afp-mechanism-icon.it {
  background: linear-gradient(135deg, #9d9d9c, #ababab);
}

.afp-mechanism-title-text {
  flex: 1;
}

.afp-mechanism-name {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.afp-mechanism-code {
  font-size: 11px;
  color: #64748b;
}

.afp-mechanism-size {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.afp-mechanism-size.ib {
  background: rgba(191, 52, 37, 0.1);
  color: #bf3425;
}
.afp-mechanism-size.il {
  background: rgba(71, 87, 124, 0.1);
  color: #47577c;
}
.afp-mechanism-size.it {
  background: rgba(157, 157, 156, 0.2);
  color: #5a5a5a;
}

.afp-mechanism-causes {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.afp-mechanism-causes-title {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.afp-cause-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.afp-cause-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
}

.afp-cause-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

.afp-cause-bullet.ib {
  background-color: #bf3425;
}
.afp-cause-bullet.il {
  background-color: #47577c;
}
.afp-cause-bullet.it {
  background-color: #9d9d9c;
}

/* Impact Summary */
.afp-impact-section {
  margin-top: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
}

.afp-impact-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
  text-align: center;
}

.afp-impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.afp-impact-item {
  background: white;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.afp-impact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.afp-impact-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.afp-impact-property {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.afp-impact-effect {
  font-size: 11px;
  color: #bf3425;
  font-weight: 500;
}

/* Tooltip */
.afp-void-tooltip {
  position: fixed;
  background: #1e293b;
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
  max-width: 250px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.afp-void-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

.afp-void-tooltip-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.afp-void-tooltip-title.ib {
  color: #ff6b5b;
}
.afp-void-tooltip-title.il {
  color: #93c5fd;
}
.afp-void-tooltip-title.it {
  color: #d1d5db;
}

/* Source Citation */
.afp-void-source {
  margin-top: 20px;
  padding: 12px 16px;
  background-color: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #47577c;
}

.afp-void-source-text {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.afp-void-source-text a {
  color: #bf3425;
  text-decoration: none;
}

.afp-void-source-text a:hover {
  text-decoration: underline;
}
/* <!-- INFOGRAPHIC PLACEHOLDER 7 --> */
.ilss-chart-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;
}

.ilss-chart-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin-bottom: 8px;
  text-align: center;
}

.ilss-chart-subtitle {
  font-size: 14px;
  color: #64748b;
  text-align: center;
  margin-bottom: 24px;
}

/* Chart Container */
.ilss-chart-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .ilss-chart-wrapper {
    height: 450px;
  }
}

/* Legend */
.ilss-legend-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
}

.ilss-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.ilss-legend-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ilss-legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.ilss-legend-text {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
}

/* Process Method Cards */
.ilss-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.ilss-method-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.ilss-method-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.ilss-method-card.afp-low::before {
  background: linear-gradient(90deg, #9d9d9c, #b8b8b8);
}
.ilss-method-card.afp-opt::before {
  background: linear-gradient(90deg, #9d9d9c, #7a7a7a);
}
.ilss-method-card.hot-press::before {
  background: linear-gradient(90deg, #bf3425, #d44637);
}
.ilss-method-card.misc::before {
  background: linear-gradient(90deg, #47577c, #5a6b8a);
}
.ilss-method-card.autoclave::before {
  background: linear-gradient(90deg, #47577c, #3a4766);
}

.ilss-method-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.ilss-method-card.active {
  border-color: #47577c;
  box-shadow: 0 0 0 2px rgba(71, 87, 124, 0.2);
}

.ilss-method-name {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.ilss-method-value {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ilss-method-value.afp-low {
  color: #9d9d9c;
}
.ilss-method-value.afp-opt {
  color: #7a7a7a;
}
.ilss-method-value.hot-press {
  color: #bf3425;
}
.ilss-method-value.misc {
  color: #47577c;
}
.ilss-method-value.autoclave {
  color: #47577c;
}

.ilss-method-unit {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.ilss-method-metrics {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.ilss-metric {
  flex: 1;
  text-align: center;
}

.ilss-metric-label {
  font-size: 10px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.ilss-metric-value {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

/* Quality Indicator */
.ilss-quality-bar {
  margin-top: 24px;
  padding: 16px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.ilss-quality-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
  text-align: center;
}

.ilss-quality-scale {
  position: relative;
  height: 40px;
  background: linear-gradient(
    90deg,
    rgba(157, 157, 156, 0.3) 0%,
    rgba(191, 52, 37, 0.3) 50%,
    rgba(71, 87, 124, 0.5) 100%
  );
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}

.ilss-quality-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.ilss-quality-marker:hover {
  transform: translate(-50%, -50%) scale(1.2);
  z-index: 10;
}

.ilss-quality-marker.afp-low {
  left: 10%;
  background: #9d9d9c;
}
.ilss-quality-marker.afp-opt {
  left: 25%;
  background: #7a7a7a;
}
.ilss-quality-marker.hot-press {
  left: 45%;
  background: #bf3425;
}
.ilss-quality-marker.misc {
  left: 75%;
  background: #47577c;
}
.ilss-quality-marker.autoclave {
  left: 90%;
  background: #47577c;
}

.ilss-quality-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #64748b;
}

/* Key Insights */
.ilss-insights-section {
  margin-top: 24px;
}

.ilss-insights-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
  text-align: center;
}

.ilss-insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.ilss-insight-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  padding: 16px;
  border-left: 4px solid;
  transition: all 0.3s ease;
}

.ilss-insight-card:hover {
  transform: translateX(4px);
}

.ilss-insight-card.void {
  border-color: #bf3425;
}
.ilss-insight-card.crystal {
  border-color: #47577c;
}
.ilss-insight-card.process {
  border-color: #9d9d9c;
}

.ilss-insight-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.ilss-insight-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.ilss-insight-icon.void {
  background: rgba(191, 52, 37, 0.1);
}
.ilss-insight-icon.crystal {
  background: rgba(71, 87, 124, 0.1);
}
.ilss-insight-icon.process {
  background: rgba(157, 157, 156, 0.1);
}

.ilss-insight-title-text {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.ilss-insight-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
}

/* Tooltip */
.ilss-tooltip {
  position: fixed;
  background: #1e293b;
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
  max-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ilss-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

.ilss-tooltip-title {
  font-weight: 700;
  margin-bottom: 4px;
  color: #93c5fd;
}

/* Source Citation */
.ilss-source {
  margin-top: 20px;
  padding: 12px 16px;
  background-color: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #47577c;
}

.ilss-source-text {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}
