/* ============================================
   SUSTAINABILITY REVOLUTION 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: 16px;
  right: 16px;
  z-index: 1001;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

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

.mobile-nav-toggle svg {
  display: block;
  color: #334155;
}

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

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

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

.feature-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.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 h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

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

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 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;
}

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

/* Video Container */
.video-container {
  margin: 2rem 0;
}

.video-label {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1e293b;
  margin-bottom: 1rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Future Direction Cards */
.future-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.future-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.future-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.12);
}

.future-card-number {
  font-family: "Archivo", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(191, 52, 37, 0.832);
  position: absolute;
  top: 10px;
  right: 20px;
  line-height: 1;
}

.future-card h4 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #47577c;
  margin: 0 0 0.75rem 0;
}

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

/* References */
.references-list {
  background: #f8fafc;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 1rem;
}

.references-list p {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  padding-left: 2rem;
  text-indent: -2rem;
}

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

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

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

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

.learn-more-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.learn-more-card:hover .learn-more-icon {
  background: linear-gradient(135deg, #fef7f6, #fee2e2);
}

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

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

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

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

.learn-more-desc {
  font-size: 0.8125rem;
  color: #64748b;
  text-decoration: none;
}

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

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

.cta-section p {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: #1e293b;
  margin-bottom: 1rem;
}

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

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

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

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

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

.author-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.author-info {
  flex: 1;
}

.author-name {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  color: #1e293b;
  margin: 0 0 0.25rem 0;
}

.author-name::after {
  display: none;
}

.author-title {
  font-size: 0.9375rem;
  color: #47577c;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

.author-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  transition: all 0.2s;
  text-decoration: none;
}

.author-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.about-author-label {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  color: #9d9d9c;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.author-bio {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* Article Footer */
.article-footer {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
}

.article-footer p {
  font-size: 0.875rem;
  color: #64748b;
}

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

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

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

  .feature-grid,
  .feature-grid.three-col,
  .learn-more-container {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 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;
  }

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

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

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

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

  .learn-more-container {
    grid-template-columns: 1fr;
  }

  .data-table.comparison-matrix th,
  .data-table.comparison-matrix td {
    padding: 0.5rem 0.625rem;
    font-size: 0.75rem;
  }

  .future-card {
    padding: 1.5rem;
  }

  .future-card-number {
    font-size: 2rem;
  }
}

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

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

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

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

  .feature-grid,
  .feature-grid.three-col {
    grid-template-columns: 1fr;
  }
}

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

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

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

  .key-question p {
    font-size: 1.05rem;
  }

  .video-label {
    font-size: 0.9rem;
  }

  .references-list {
    padding: 1.25rem;
  }

  .references-list p {
    font-size: 0.8rem;
    padding-left: 1.5rem;
    text-indent: -1.5rem;
  }
}

/* ============================================
   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 Placeholder 1 --> */
.remfg-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 28px 24px 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.remfg-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 28px;
  text-align: center;
}

/* Top Row: Source → Label → Target */
.remfg-top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.remfg-component-card {
  background: #f8fafc;
  border: 2px solid #47577c;
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
  flex: 0 1 220px;
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
}

.remfg-component-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(71, 87, 124, 0.18);
  border-color: #bf3425;
}

.remfg-component-card .remfg-card-name {
  font-size: 15px;
  font-weight: 700;
  color: #47577c;
  margin-bottom: 4px;
}

.remfg-component-card .remfg-card-sub {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.remfg-component-card.remfg-target {
  border-color: #bf3425;
}

.remfg-component-card.remfg-target .remfg-card-name {
  color: #bf3425;
}

.remfg-component-card.remfg-target:hover {
  border-color: #47577c;
}

.remfg-chain-label {
  background: linear-gradient(135deg, #47577c, #5a6d94);
  color: #ffffff;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  flex: 0 1 180px;
  letter-spacing: 0.3px;
  position: relative;
}

.remfg-chain-label::before,
.remfg-chain-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  transform: translateY(-50%);
}

.remfg-chain-label::before {
  left: -8px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid #47577c;
}

.remfg-chain-label::after {
  right: -8px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #5a6d94;
}

/* Connector line from top row to process steps */
.remfg-connector-down {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.remfg-connector-down svg {
  display: block;
}

/* Process Steps Row */
.remfg-steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.remfg-step-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 1 180px;
  position: relative;
}

.remfg-step-box {
  background: #ffffff;
  border: 2px solid #9d9d9c;
  border-radius: 10px;
  padding: 12px 14px;
  text-align: center;
  width: 150px;
  transition: all 0.35s ease;
  cursor: default;
  position: relative;
  z-index: 2;
}

.remfg-step-box:hover {
  border-color: #bf3425;
  background: #fef7f6;
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(191, 52, 37, 0.15);
}

.remfg-step-box .remfg-step-num {
  display: inline-block;
  background: #47577c;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  margin-bottom: 6px;
  transition: background 0.3s ease;
}

.remfg-step-box:hover .remfg-step-num {
  background: #bf3425;
}

.remfg-step-box .remfg-step-name {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

/* Details below each step */
.remfg-step-detail {
  margin-top: 10px;
  text-align: center;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.35s ease;
  pointer-events: none;
}

.remfg-step-unit:hover .remfg-step-detail {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.remfg-step-detail .remfg-detail-title {
  font-size: 12px;
  font-weight: 600;
  color: #bf3425;
  margin-bottom: 2px;
}

.remfg-step-detail .remfg-detail-sub {
  font-size: 11px;
  color: #64748b;
  line-height: 1.3;
}

/* Arrow between steps */
.remfg-arrow-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  padding-top: 14px;
}

.remfg-arrow-sep svg {
  display: block;
}

/* Animated pulse on arrows */
.remfg-arrow-pulse {
  animation: remfgPulse 2s ease-in-out infinite;
}

@keyframes remfgPulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

.remfg-arrow-sep:nth-child(2) .remfg-arrow-pulse {
  animation-delay: 0s;
}
.remfg-arrow-sep:nth-child(4) .remfg-arrow-pulse {
  animation-delay: 0.5s;
}
.remfg-arrow-sep:nth-child(6) .remfg-arrow-pulse {
  animation-delay: 1s;
}

/* Hover hint */
.remfg-hint {
  text-align: center;
  font-size: 12px;
  color: #9d9d9c;
  margin-top: 18px;
  font-style: italic;
}

/* Source */
.remfg-source {
  margin-top: 14px;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 700px) {
  .remfg-container {
    padding: 18px 12px;
  }
  .remfg-top-row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .remfg-chain-label::before,
  .remfg-chain-label::after {
    display: none;
  }
  .remfg-steps-row {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .remfg-arrow-sep {
    transform: rotate(90deg);
    flex: 0 0 28px;
    padding-top: 0;
  }
  .remfg-step-detail {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}
/* <!-- Infographic Placeholder 2 --> */
.nfc-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 28px 24px 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.nfc-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 28px;
  text-align: center;
}

/* Two-card row */
.nfc-cards-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.nfc-card {
  flex: 1 1 280px;
  max-width: 340px;
  border: 2px solid #47577c;
  border-radius: 14px;
  padding: 20px;
  background: #f8fafc;
  transition: all 0.35s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.nfc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(71, 87, 124, 0.16);
  border-color: #bf3425;
}

.nfc-card-label {
  font-size: 14px;
  font-weight: 700;
  color: #47577c;
  margin-bottom: 14px;
  text-align: center;
  letter-spacing: 0.3px;
}

.nfc-card:hover .nfc-card-label {
  color: #bf3425;
}

/* Woven Flax SVG Pattern */
.nfc-pattern-area {
  width: 100%;
  height: 100px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
  position: relative;
}

.nfc-pattern-area svg {
  display: block;
}

.nfc-card-desc {
  font-size: 12px;
  color: #64748b;
  text-align: center;
  font-weight: 500;
  line-height: 1.4;
}

/* Plus sign between cards */
.nfc-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  align-self: center;
}

.nfc-plus-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #bf3425;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(191, 52, 37, 0.3);
  animation: nfcPlusPulse 2.5s ease-in-out infinite;
}

@keyframes nfcPlusPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 3px 10px rgba(191, 52, 37, 0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 5px 18px rgba(191, 52, 37, 0.45);
  }
}

/* Merge connector */
.nfc-merge-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
}

.nfc-merge-lines {
  position: relative;
  width: 100%;
  height: 40px;
}

.nfc-merge-lines svg {
  display: block;
  width: 100%;
  height: 40px;
}

/* Result card */
.nfc-result-card {
  background: linear-gradient(135deg, #47577c 0%, #5a6d94 100%);
  border-radius: 14px;
  padding: 20px 24px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  transition: all 0.35s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.nfc-result-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 28px rgba(71, 87, 124, 0.3);
}

.nfc-result-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.nfc-result-stats {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.nfc-stat {
  text-align: center;
  transition: transform 0.3s ease;
}

.nfc-result-card:hover .nfc-stat {
  transform: translateY(-2px);
}

.nfc-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.nfc-stat-unit {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
  line-height: 1.3;
}

/* Animated weave lines */
.nfc-weave-line {
  animation: nfcWeaveShift 3s linear infinite;
}

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

/* Animated leaf-vein lines */
.nfc-vein-line {
  animation: nfcVeinGrow 2s ease-in-out infinite alternate;
}

@keyframes nfcVeinGrow {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* Merge arrow animation */
.nfc-merge-arrow {
  animation: nfcArrowDrop 1.8s ease-in-out infinite;
}

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

/* Source */
.nfc-source {
  margin-top: 18px;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.5;
}

/* Hover hint */
.nfc-hint {
  text-align: center;
  font-size: 12px;
  color: #9d9d9c;
  margin-top: 14px;
  font-style: italic;
}

/* Responsive */
@media (max-width: 640px) {
  .nfc-container {
    padding: 18px 14px;
  }
  .nfc-cards-row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .nfc-plus {
    flex: 0 0 30px;
  }
  .nfc-stat-value {
    font-size: 22px;
  }
}
/* <!-- Infographic Placeholder 3 --> */
.co2-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;
}

.co2-chart-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 24px;
}

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

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

.co2-chart-source {
  margin-top: 16px;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.5;
}
/* <!-- Infographic Placeholder 4 --> */
.poly-cmp-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 28px 24px 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
}

.poly-cmp-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 24px;
  text-align: center;
}

.poly-cmp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

/* Column card */
.poly-col {
  border-radius: 14px;
  padding: 20px 16px 18px;
  transition: all 0.35s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.poly-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 14px 14px 0 0;
  transition: height 0.35s ease;
}

.poly-col:hover::before {
  height: 6px;
}

.poly-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* Thermoset - Navy */
.poly-col--ts {
  background: #f6f7fa;
  border: 2px solid #47577c;
}
.poly-col--ts::before {
  background: #47577c;
}
.poly-col--ts:hover {
  border-color: #3a476a;
}

/* Vitrimer - Red */
.poly-col--vt {
  background: #fdf7f6;
  border: 2px solid #bf3425;
}
.poly-col--vt::before {
  background: #bf3425;
}
.poly-col--vt:hover {
  border-color: #a52d20;
}

/* Thermoplastic - Gray */
.poly-col--tp {
  background: #f9f9f9;
  border: 2px solid #9d9d9c;
}
.poly-col--tp::before {
  background: #9d9d9c;
}
.poly-col--tp:hover {
  border-color: #7d7d7c;
}

/* Header */
.poly-col-header {
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.12);
}

.poly-col-name {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.poly-col--ts .poly-col-name {
  color: #47577c;
}
.poly-col--vt .poly-col-name {
  color: #bf3425;
}
.poly-col--tp .poly-col-name {
  color: #6b6b6a;
}

/* Bond type badge */
.poly-bond-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.poly-col--ts .poly-bond-badge {
  background: rgba(71, 87, 124, 0.1);
  color: #47577c;
}
.poly-col--vt .poly-bond-badge {
  background: rgba(191, 52, 37, 0.1);
  color: #bf3425;
}
.poly-col--tp .poly-bond-badge {
  background: rgba(157, 157, 156, 0.15);
  color: #6b6b6a;
}

/* SVG network illustration */
.poly-network-area {
  display: flex;
  justify-content: center;
  margin: 14px 0;
  min-height: 70px;
}

/* Property rows */
.poly-props {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.poly-prop-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  transition: all 0.25s ease;
  font-size: 12.5px;
  color: #334155;
  line-height: 1.3;
}

.poly-prop-row:hover {
  background: rgba(0, 0, 0, 0.04);
  transform: translateX(3px);
}

.poly-prop-icon {
  flex: 0 0 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.poly-prop-icon--yes {
  background: rgba(71, 87, 124, 0.12);
  color: #47577c;
}
.poly-prop-icon--no {
  background: rgba(191, 52, 37, 0.1);
  color: #bf3425;
}
.poly-prop-icon--partial {
  background: rgba(157, 157, 156, 0.15);
  color: #9d9d9c;
}

/* Best-for section */
.poly-best {
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  padding-top: 12px;
  margin-top: 4px;
}

.poly-best-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
  opacity: 0.5;
}

.poly-best-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.poly-best-tag {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.poly-best-tag:hover {
  transform: scale(1.06);
}

.poly-col--ts .poly-best-tag {
  background: #47577c;
  color: #fff;
}
.poly-col--vt .poly-best-tag {
  background: #bf3425;
  color: #fff;
}
.poly-col--tp .poly-best-tag {
  background: #9d9d9c;
  color: #fff;
}

/* Animated network nodes */
.poly-node-pulse {
  animation: polyNodePulse 2.5s ease-in-out infinite;
}
@keyframes polyNodePulse {
  0%,
  100% {
    r: 4;
    opacity: 0.8;
  }
  50% {
    r: 5.5;
    opacity: 1;
  }
}

.poly-link-anim {
  animation: polyLinkDash 4s linear infinite;
}
@keyframes polyLinkDash {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -24;
  }
}

/* Hint */
.poly-cmp-hint {
  text-align: center;
  font-size: 12px;
  color: #9d9d9c;
  margin-top: 16px;
  font-style: italic;
}

/* Source */
.poly-cmp-source {
  margin-top: 12px;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 700px) {
  .poly-cmp-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .poly-cmp-container {
    padding: 18px 14px;
  }
}
