/* ============================================
   JEC WORLD 2026 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;
}

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

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

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

/* 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 h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  color: #47577c;
}

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

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

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

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

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

.split-content {
  padding: 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.spec-card .spec-label {
  display: block;
  font-family: "Archivo", sans-serif;
  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;
}

/* Event Details Card */
.event-details-card {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid #e2e8f0;
}

.event-details-card h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #bf3425;
  margin-top: 0;
  margin-bottom: 1rem;
}

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

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

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

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

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

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

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

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

  .blog-content h2 {
    font-size: 1.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);
  }

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

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

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

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

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

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

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

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

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

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

  .author-card {
    padding: 1.25rem;
  }

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

  .feature-icon {
    margin: 0 auto;
  }

  .cta-section {
    padding: 1.25rem;
  }

  .event-details-card {
    padding: 1.25rem;
  }

  .references-list {
    padding: 1.25rem;
  }

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

/* ============================================
   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;
  }
}
.jec-timeline-container {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px 24px 32px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 960px;
  margin: 0 auto;
  overflow-x: auto;
}
.jec-timeline-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 32px;
}
.jec-timeline-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-width: 820px;
  padding: 0 12px;
}
.jec-timeline-track::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: linear-gradient(90deg, #47577c, #bf3425);
  z-index: 0;
}
.jec-timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  cursor: pointer;
  z-index: 1;
}
.jec-timeline-year {
  font-size: 15px;
  font-weight: 700;
  color: #47577c;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}
.jec-timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-top: 10px;
  background-color: #47577c;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #47577c;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  flex-shrink: 0;
}
.jec-timeline-node:nth-child(even) .jec-timeline-dot {
  background-color: #bf3425;
  box-shadow: 0 0 0 2px #bf3425;
}
.jec-timeline-card {
  margin-top: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  width: 120px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.jec-timeline-card-label {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
  margin-bottom: 4px;
}
.jec-timeline-card-stat {
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
}
.jec-timeline-node:nth-child(1) .jec-timeline-card {
  animation: jecFadeUp 0.5s 0.1s forwards;
}
.jec-timeline-node:nth-child(2) .jec-timeline-card {
  animation: jecFadeUp 0.5s 0.25s forwards;
}
.jec-timeline-node:nth-child(3) .jec-timeline-card {
  animation: jecFadeUp 0.5s 0.4s forwards;
}
.jec-timeline-node:nth-child(4) .jec-timeline-card {
  animation: jecFadeUp 0.5s 0.55s forwards;
}
.jec-timeline-node:nth-child(5) .jec-timeline-card {
  animation: jecFadeUp 0.5s 0.7s forwards;
}
.jec-timeline-node:nth-child(6) .jec-timeline-card {
  animation: jecFadeUp 0.5s 0.85s forwards;
}
.jec-timeline-node:nth-child(7) .jec-timeline-card {
  animation: jecFadeUp 0.5s 1s forwards;
}
@keyframes jecFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.jec-timeline-node:hover .jec-timeline-dot {
  transform: scale(1.45);
}
.jec-timeline-node:hover .jec-timeline-year {
  color: #bf3425;
}
.jec-timeline-node:hover .jec-timeline-card {
  border-color: #bf3425;
  box-shadow: 0 4px 12px rgba(191, 52, 37, 0.15);
  background: #ffffff;
}
.jec-timeline-node:last-child .jec-timeline-dot {
  animation: jecPulse 2s infinite;
}
@keyframes jecPulse {
  0%,
  100% {
    box-shadow: 0 0 0 2px #bf3425;
  }
  50% {
    box-shadow:
      0 0 0 2px #bf3425,
      0 0 0 8px rgba(191, 52, 37, 0.2);
  }
}
.jec-timeline-note {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
  font-style: italic;
  min-width: 820px;
}

/* info 2 */
.afp-material-chart-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  width: "100%";
  margin: 0 auto;
}

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

.afp-material-bar-row {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  gap: 16px;
}

.afp-material-bar-label {
  min-width: 120px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  text-align: right;
}

.afp-material-bar-track {
  flex: 1;
  background: #f1f5f9;
  border-radius: 8px;
  height: 42px;
  position: relative;
  overflow: visible;
}

.afp-material-bar-fill {
  height: 100%;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
  position: relative;
  width: 0;
  animation: afp-bar-grow 1s ease-out forwards;
  cursor: pointer;
  transition:
    filter 0.25s ease,
    box-shadow 0.25s ease;
}

.afp-material-bar-fill:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.afp-material-bar-fill--thermoplastic {
  background: linear-gradient(90deg, #47577c, #5a6d96);
  animation-delay: 0.1s;
}

.afp-material-bar-fill--thermoset {
  background: linear-gradient(90deg, #9d9d9c, #b0b0af);
  animation-delay: 0.3s;
}

.afp-material-bar-fill--mixed {
  background: linear-gradient(90deg, #bf3425, #d94a3b);
  animation-delay: 0.5s;
}

.afp-material-bar-value {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.afp-material-bar-tooltip {
  position: absolute;
  top: -44px;
  right: 0;
  background: #1e293b;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  transform: translateY(4px);
  z-index: 10;
}

.afp-material-bar-tooltip::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 16px;
  width: 10px;
  height: 10px;
  background: #1e293b;
  transform: rotate(45deg);
}

.afp-material-bar-fill:hover .afp-material-bar-tooltip {
  opacity: 1;
  transform: translateY(0);
}

@keyframes afp-bar-grow {
  to {
    width: var(--bar-width);
  }
}

.afp-material-chart-legend {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.afp-material-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
}

.afp-material-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}
/* info 3 */
.venue-map-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);
  width: "100%";
  margin: 0 auto;
}
.venue-map-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 4px;
}
.venue-map-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}
.venue-map-building {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 16px 16px;
  position: relative;
}
.venue-map-building-label {
  position: absolute;
  top: -11px;
  left: 24px;
  background: #47577c;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
}
.venue-map-halls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.venue-map-hall {
  flex: 1 1 110px;
  max-width: 140px;
  min-height: 100px;
  border-radius: 10px;
  border: 2px solid #d1d8e3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  position: relative;
  background: #ffffff;
}
.venue-map-hall:hover {
  transform: translateY(-4px);
  border-color: #bf3425;
  box-shadow: 0 6px 16px rgba(191, 52, 37, 0.15);
  background: #fff8f7;
}
.venue-map-hall-name {
  font-size: 14px;
  font-weight: 700;
  color: #47577c;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}
.venue-map-hall:hover .venue-map-hall-name {
  color: #bf3425;
}
.venue-map-hall-tag {
  font-size: 10px;
  font-weight: 600;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 6px;
  white-space: nowrap;
}
.venue-tag-bio {
  background: #47577c;
}
.venue-tag-circ {
  background: #5a6d96;
}
.venue-tag-startup {
  background: #bf3425;
}
.venue-tag-sme {
  background: #d44536;
}
.venue-tag-campus {
  background: #9d9d9c;
}

/* Demo area special styling */
.venue-map-hall-demo {
  background: linear-gradient(135deg, #47577c 0%, #5a6d96 100%);
  border-color: #47577c;
}
.venue-map-hall-demo .venue-map-hall-name {
  color: #ffffff;
}
.venue-map-hall-demo:hover {
  background: linear-gradient(135deg, #bf3425 0%, #d44536 100%);
  border-color: #bf3425;
}
.venue-map-hall-demo .venue-map-hall-desc {
  color: rgba(255, 255, 255, 0.85);
}

.venue-map-hall-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.3;
  margin-top: 2px;
}

/* Tooltip */
.venue-map-hall-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 10;
  line-height: 1.4;
  text-align: center;
}
.venue-map-hall-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1e293b;
}
.venue-map-hall:hover .venue-map-hall-tooltip {
  opacity: 1;
}

/* Stats row */
.venue-map-stats {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.venue-map-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 8px 14px;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
  cursor: default;
}
.venue-map-stat:hover {
  background: #e8ecf2;
  transform: scale(1.04);
}
.venue-map-stat-value {
  font-size: 16px;
  font-weight: 700;
  color: #bf3425;
}
.venue-map-stat-label {
  font-size: 12px;
  color: #475569;
  font-weight: 500;
}
.venue-map-note {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
}

/* Entrance animation */
.venue-map-hall {
  opacity: 0;
  transform: translateY(12px);
}
.venue-map-animated .venue-map-hall:nth-child(1) {
  animation: venueSlideUp 0.45s 0.05s forwards;
}
.venue-map-animated .venue-map-hall:nth-child(2) {
  animation: venueSlideUp 0.45s 0.12s forwards;
}
.venue-map-animated .venue-map-hall:nth-child(3) {
  animation: venueSlideUp 0.45s 0.19s forwards;
}
.venue-map-animated .venue-map-hall:nth-child(4) {
  animation: venueSlideUp 0.45s 0.26s forwards;
}
.venue-map-animated .venue-map-hall:nth-child(5) {
  animation: venueSlideUp 0.45s 0.33s forwards;
}
@keyframes venueSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
