/* ==========================================================================
   🏛️ Dedicated Academic Article Layout Viewport
   ========================================================================== */

.article-container {
  max-width: 840px;
  margin: 7rem auto 4rem; /* Safe spacing offset clear of fixed header heights */
  padding: 0 2rem;
}

.article-header {
  margin-bottom: 2.5rem;
}

.article-meta-top {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--amber, #c8a84b);
  display: block;
  margin-bottom: 1rem;
}

.article-main-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  color: var(--white, #ffffff);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.article-authors {
  font-size: 13.5px;
  color: var(--muted, #a0b2c6);
  line-height: 1.6;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(200, 168, 75, 0.15);
}

.article-authors strong {
  color: var(--white, #ffffff);
  font-weight: 600;
}

.article-authors small {
  font-size: 12px;
  color: #71899f;
  display: block;
  margin-top: 0.25rem;
}

/* Content Body Type Setup Rules */
.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--white, #ffffff);
  margin: 3.5rem 0 1.25rem;
  font-weight: 600;
}

.article-body h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--amber, #c8a84b);
  margin: 2.25rem 0 1rem;
  font-weight: 600;
}

.article-body p {
  font-size: 15px;
  color: var(--muted, #a0b2c6);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.article-body strong {
  color: var(--white, #ffffff);
}

/* Callout Block System configuration */
.abstract-blockquote {
  background: rgba(11, 37, 58, 0.5);
  border-left: 3px solid var(--amber, #c8a84b);
  padding: 2rem;
  margin: 2.5rem 0;
  border-radius: 0 4px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  border-right: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.abstract-blockquote p {
  font-style: italic;
  font-size: 14.5px;
  color: #d1dfee;
  line-height: 1.75;
  margin-bottom: 0;
  text-align: justify;
}

/* Technical Vector Plot Wrapper Frame */
.article-visual-asset {
  background: #051421;
  border: 1px solid rgba(200, 168, 75, 0.15);
  border-radius: 4px;
  padding: 2rem;
  margin: 2.5rem 0;
}

.regression-plot-mockup {
  height: 240px;
  border-left: 1.5px solid #586e85;
  border-bottom: 1.5px solid #586e85;
  position: relative;
  margin: 2rem 3rem 2rem 4rem;
}

.plot-line-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.axis-label {
  position: absolute;
  font-size: 10px;
  color: #586e85;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.axis-label.y {
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left center;
  top: 50%;
  left: -40px;
  white-space: nowrap;
}

.axis-label.x {
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.asset-caption {
  display: block;
  font-size: 12px;
  color: #71899f;
  text-align: center;
  margin-top: 1rem;
  line-height: 1.5;
  padding: 0 1rem;
}

/* Mathematical Equation Alignment Blocks */
.equation-display {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 1.15rem;
  color: var(--white, #ffffff);
  overflow-x: auto;
}

/* Code Panel Styling Rules */
.code-container {
  background: #040d16;
  padding: 1.25rem 1.5rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #e2e8f0;
  overflow-x: auto;
  line-height: 1.6;
  margin: 1.75rem 0;
}

/* Mobile Responsiveness View Scaling rules */
@media (max-width: 768px) {
  .article-container {
    margin-top: 6rem;
    padding: 0 1.25rem;
  }
  .article-main-title {
    font-size: 28px;
  }
  .regression-plot-mockup {
    margin: 2rem 1rem 2rem 3rem;
  }
  .axis-label.y {
    left: -32px;
    font-size: 9px;
  }
}