/* ==========================================================================
   JASA ENERGIES - ARTICLE DETAIL READING STYLES
   Matches React JASA-SPA typography, layout, and visual fidelity.
   ========================================================================== */

.article-reading-section {
  padding: 60px 0 100px;
  background: #FFFFFF;
}

.article-container-narrow {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.article-back-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #059669;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.article-back-link:hover {
  color: #047857;
  transform: translateX(-2px);
}

.article-reading-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.article-reading-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0F172A;
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.25;
}

.article-reading-content h2:first-of-type {
  margin-top: 20px;
}

.article-reading-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0F172A;
  margin-top: 32px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.article-reading-content p {
  margin-bottom: 24px;
  color: #334155;
}

/* Callout Box */
.article-callout-box {
  background: #F0FDF4;
  border-left: 4px solid #10B981;
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 28px;
}

.article-callout-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #065F46;
  margin-bottom: 6px;
}

.article-callout-text {
  font-size: 0.98rem;
  color: #065F46;
  line-height: 1.65;
  margin-bottom: 0 !important;
}

/* Feature Check List */
.article-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-list-item {
  display: flex;
  gap: 12px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.article-list-item svg {
  color: #10B981;
  flex-shrink: 0;
  margin-top: 4px;
  width: 20px;
  height: 20px;
}

/* Comparison Table */
.article-table-container {
  overflow-x: auto;
  margin-bottom: 32px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.98rem;
}

.article-table thead tr {
  background: #F8FAFC;
  border-bottom: 2px solid #CBD5E1;
}

.article-table th {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #E2E8F0;
  color: #334155;
}

.article-table tbody tr:last-child td {
  border-bottom: none;
}

.article-table tbody tr:hover {
  background: #F8FAFC;
}

/* Decision Framework Grid */
.article-decision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0 36px;
}

.decision-card-gray {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
}

.decision-card-green {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 16px;
  padding: 24px;
}

.decision-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.decision-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.94rem;
}

.decision-card-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* Article CTA Box */
.article-cta-card {
  margin-top: 48px;
  padding: 32px;
  background: #F8FAFC;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
}

.article-cta-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}

.article-cta-card p {
  font-size: 0.96rem;
  color: #64748B;
  margin-bottom: 20px;
  line-height: 1.6;
}

.article-cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .article-reading-section {
    padding: 40px 0 60px;
  }
  .article-cta-card {
    padding: 24px;
  }
  .article-cta-actions .btn-green,
  .article-cta-actions .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
