/* elara-article.css */
/* Premium styling for Elara Scale Files case study series */

.elara-article-body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #374151;
  line-height: 1.75;
}

/* 1. Lede */
.elara-article-body .lede {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.8;
  color: #0F1E3D;
  margin-bottom: 2rem;
}

/* 2. Paragraph */
.elara-article-body .paragraph {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 1.05rem;
  color: #374151;
  margin-bottom: 1.5rem;
}

/* 3. Section Kicker */
.elara-article-body .section-kicker {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #F25C2A;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

/* 4. Assertion */
.elara-article-body .assertion {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  color: #0F1E3D;
  background-color: #F9FAFB;
  border-left: 4px solid #1E7F6E;
  padding: 1.5rem 2rem;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}

/* 5. Figures Grid */
.elara-article-body .figures-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

@media (min-width: 640px) {
  .elara-article-body .figures-grid {
    grid-template-cols: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .elara-article-body .figures-grid {
    grid-template-cols: repeat(3, 1fr);
  }
}

.elara-article-body .figure-card {
  background-color: #F9FAFB;
  border-left: 4px solid #F25C2A;
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.elara-article-body .figure-number {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  color: #0F1E3D;
}

.elara-article-body .figure-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6B7280;
  margin-top: 0.5rem;
}

/* 6. Pillar List */
.elara-article-body .pillar-list {
  margin: 2rem 0;
}

.elara-article-body .pillar-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.elara-article-body .pillar-index {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #FFFFFF;
  background-color: #1E7F6E;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.elara-article-body .pillar-content {
  flex-grow: 1;
}

.elara-article-body .pillar-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #0F1E3D;
  margin-bottom: 0.25rem;
}

.elara-article-body .pillar-text {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 1rem;
  color: #374151;
}

/* 7. Scorecard */
.elara-article-body .scorecard-container {
  background-color: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2.5rem 0;
}

.elara-article-body .scorecard-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #E5E7EB;
}

.elara-article-body .scorecard-row:last-child {
  border-bottom: none;
}

.elara-article-body .scorecard-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0F1E3D;
}

.elara-article-body .scorecard-value {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 1rem;
  color: #1E7F6E;
  background-color: #E6F4EA;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

/* 8. Ask Call to Action */
.elara-article-body .ask-container {
  background-color: #0F1E3D;
  color: #FFFFFF;
  padding: 2rem 2.5rem;
  border-radius: 8px;
  margin: 2.5rem 0;
}

.elara-article-body .ask-kicker {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #F25C2A;
  margin-bottom: 0.5rem;
}

.elara-article-body .ask-text {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* 9. Note */
.elara-article-body .note-container {
  background-color: #F0FDF4;
  border-left: 4px solid #1E7F6E;
  padding: 1.25rem 1.75rem;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}

.elara-article-body .note-text {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2937;
}

/* 10. Video Facade & Click to Load */
.elara-article-body .video-container {
  margin: 2.5rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.elara-article-body .video-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  cursor: pointer;
}

.elara-article-body .video-thumbnail {
  width: 100%;
  height: 100%;
  object-cover: cover;
}

.elara-article-body .video-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.elara-article-body .video-facade:hover .video-overlay {
  background-color: rgba(0, 0, 0, 0.3);
}

.elara-article-body .video-play-btn {
  background-color: #F25C2A;
  color: #FFFFFF;
  padding: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  transform: scale(1);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.elara-article-body .video-facade:hover .video-play-btn {
  transform: scale(1.1);
}

.elara-article-body .video-play-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.elara-article-body .video-iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

/* 11. Close */
.elara-article-body .close-container {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: #4B5563;
  border-top: 1px solid #E5E7EB;
  padding-top: 2rem;
  margin-top: 3rem;
}
