/* ========================================
   Article Pages
   ======================================== */

.article-page {
  padding-top: 6rem;
  padding-bottom: 4rem;
  min-height: 100vh;
}

.article-header {
  max-width: 720px;
  margin: 0 auto 3rem;
}

.article-back {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--teal);
  margin-bottom: 2rem;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.article-back:hover {
  color: var(--teal-light);
}

.article-meta {
  font-size: 0.8125rem;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.article-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}

.article-lede {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--charcoal-light);
  border-left: 3px solid var(--teal);
  padding-left: 1.25rem;
}

/* Article Body */
.article-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-body p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--charcoal-light);
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.article-body ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body li {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--charcoal-light);
  margin-bottom: 0.75rem;
}

.article-body blockquote {
  border-left: 3px solid var(--teal);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--off-white);
  border-radius: 0 8px 8px 0;
}

.article-body blockquote p {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 0;
}

.article-conclusion {
  font-size: 1.125rem !important;
  padding: 1.25rem;
  background: var(--off-white);
  border-radius: 10px;
  margin-top: 2rem !important;
}

/* Article Footer */
.article-footer {
  max-width: 720px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.article-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.article-author-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.article-author strong {
  display: block;
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.article-author p {
  font-size: 0.875rem;
  color: var(--slate-light);
  line-height: 1.5;
  margin: 0;
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--off-white);
  border-radius: 10px;
}

.article-cta p {
  font-size: 0.9375rem;
  color: var(--charcoal-light);
  margin: 0;
  flex: 1;
  min-width: 200px;
}

/* Referenced In Section */
.referenced-in {
  padding: 3rem 0;
  background: var(--off-white);
}

.referenced-in .section-subtitle {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.citations-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.citation-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border-light);
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.citation-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  color: inherit;
}

.citation-source {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.citation-desc {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 768px) {
  .article-page {
    padding-top: 5rem;
  }

  .article-header h1 {
    font-size: 1.75rem;
  }

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

  .article-cta {
    flex-direction: column;
    text-align: center;
  }

  .citations-grid {
    flex-direction: column;
    align-items: center;
  }

  .citation-card {
    max-width: 100%;
  }
}

/* Discuss on LinkedIn link */
.article-discuss {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s var(--ease);
}

.article-discuss:hover {
  color: var(--teal-light);
}

/* Framework table */
.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
}

.framework-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.framework-table th {
  background: var(--charcoal);
  color: var(--white);
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  white-space: nowrap;
}

.framework-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  color: var(--charcoal-light);
}

.framework-table tr:nth-child(even) td {
  background: var(--off-white);
}

.framework-table td strong {
  color: var(--charcoal);
  white-space: nowrap;
}

/* Article hero image */
.article-hero-img {
  width: 100%;
  border-radius: 8px;
  margin: 1.5rem 0 0;
}
