/* ========================================
   Article Page
   ======================================== */

.article-container {
  max-width: 800px;
  padding: 100px 24px 80px;
  margin: 0 auto;
}

/* Article Hero */
.article-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  margin-bottom: 48px;
  overflow: hidden;
  border-radius: var(--radius-card, 20px);
}

.article-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: '';
  background: linear-gradient(
    to bottom,
    rgba(255, 125, 85, .85) 0%,
    rgba(200, 100, 70, .6) 40%,
    rgba(44, 55, 68, .7) 70%,
    rgba(44, 55, 68, .88) 100%
  );
}

.article-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px;
  text-align: center;
}

.article-hero__badge {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
  background: rgba(160, 80, 200, .85);
  border-radius: 8px;
}

.article-hero__title {
  margin-bottom: 12px;
  font-family: var(--font-h, 'Comfortaa', sans-serif);
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.article-hero__subtitle {
  max-width: 640px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,.95);
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

@media (max-width: 600px) {
  .article-hero { min-height: 220px; }
  .article-hero__content { padding: 24px; }
}

/* Back link */
.article-back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
  transition: color .2s;
}

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

/* Typography */
.article-body h2 {
  margin: 40px 0 16px;
  font-family: var(--font-h);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--graphite);
}

.article-body h3 {
  margin: 32px 0 12px;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--graphite);
}

.article-body p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--graphite);
}

.article-body ul,
.article-body ol {
  margin: 12px 0 16px 20px;
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--graphite);
}

.article-body .article__list {
  margin: 12px 0 16px 20px;
  list-style: disc;
}

.article-body .article__list li {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.7;
}

.article-body strong {
  font-weight: 600;
}

/* Images */
.article-body img {
  max-width: 100%;
  margin: 24px 0;
  border-radius: 12px;
}

.article-body .article__img {
  max-width: 100%;
  margin: 24px 0;
  border-radius: 12px;
}

.article-body .article__img-caption {
  margin-top: -16px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #606060;
  text-align: center;
}

/* Divider */
.article-body .divider,
.article-body hr,
.article-body .article__separator,
.article-body .article__divider {
  height: 1px;
  margin: 40px 0;
  background: var(--ice-alt);
  border: none;
}

/* Info box */
.article-body .info-box {
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--graphite);
  background: var(--ice);
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
}

/* Hook block */
.article-body .hook-block {
  padding: 32px;
  margin-bottom: 32px;
  background: var(--ice);
  border-radius: var(--radius-card);
}

.article-body .hook-block p {
  margin-bottom: 12px;
}

.article-body .hook-block p:last-child {
  margin-bottom: 0;
}

/* Quote block */
.article-body .quote-block {
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
  color: var(--graphite);
  background: var(--ice);
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
}

/* Callout box */
.article-body .callout-box {
  padding: 20px 24px;
  margin: 24px 0;
  background: rgba(255, 125, 85, .06);
  border: 1px solid rgba(255, 125, 85, .2);
  border-radius: 12px;
}

/* Highlight box */
.article-body .highlight-box {
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.7;
  background: linear-gradient(135deg, rgba(255, 125, 85, .08), rgba(10, 186, 170, .08));
  border-radius: 12px;
}

/* Tables */
.article-body .table-wrap {
  margin: 24px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-body table,
.article-body .data-table {
  width: 100%;
  margin: 24px 0;
  font-size: 14px;
  border-collapse: collapse;
}

.article-body table th,
.article-body .data-table th {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  background: var(--graphite);
}

.article-body table td,
.article-body .data-table td {
  padding: 10px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--ice);
}

.article-body table tr:hover td {
  background: var(--ice);
}

.article-body .group-header td {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--graphite);
  background: var(--ice);
}

/* Badges */
.article-body .badge-yes {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #0a8a80;
  background: rgba(10, 186, 170, .12);
  border-radius: 4px;
}

.article-body .badge-warn {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #b38600;
  background: rgba(255, 193, 7, .15);
  border-radius: 4px;
}

.article-body .badge-no {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #c62828;
  background: rgba(220, 53, 69, .1);
  border-radius: 4px;
}

/* Dark banner */
.article-body .dark-banner {
  padding: 40px;
  margin: 32px 0;
  color: var(--white);
  text-align: center;
  background: var(--graphite);
  border-radius: var(--radius-card);
}

.article-body .dark-banner__title {
  margin-bottom: 8px;
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
}

.article-body .dark-banner__subtitle {
  margin-bottom: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, .65);
}

.article-body .dark-banner__cta {
  display: inline-block;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--brand);
  border-radius: var(--radius-pill);
  transition: background .2s;
}

.article-body .dark-banner__cta:hover {
  background: var(--brand-hover);
}

/* Steps */
.article-body .steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.article-body .step-card {
  padding: 24px;
  text-align: center;
  background: var(--ice);
  border-radius: 12px;
}

.article-body .step-card__num {
  margin-bottom: 8px;
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
}

.article-body .step-card__title {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
}

.article-body .step-card__desc {
  font-size: 13px;
  line-height: 1.5;
  color: #606060;
}

.article-body .step.step-inline {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 16px 0;
}

.article-body .step__number {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: var(--brand);
  border-radius: 50%;
}

.article-body .step__content p {
  margin-bottom: 4px;
}

.article-body .steps .step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 16px 0;
}

.article-body .steps .step__text {
  flex: 1;
}

/* Stat grid */
.article-body .stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.article-body .stat-card {
  padding: 24px;
  text-align: center;
  background: var(--ice);
  border-radius: 12px;
}

.article-body .stat-card__value {
  font-family: var(--font-h);
  font-size: 36px;
  font-weight: 700;
  color: var(--brand);
}

.article-body .stat-card__label {
  margin-top: 8px;
  font-size: 14px;
  color: #606060;
}

.article-body .article-body__note {
  font-size: 12px;
  font-style: italic;
  color: #999;
}

/* Case card */
.article-body .case-card {
  padding: 32px;
  margin: 24px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--graphite), var(--card-blue));
  border-radius: var(--radius-card);
}

.article-body .case-card__label {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  letter-spacing: 1px;
}

.article-body .case-card__title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
}

.article-body .case-card__value {
  margin-bottom: 12px;
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
}

.article-body .case-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .75);
}

/* Case block */
.article-body .case-block {
  padding: 24px;
  margin: 24px 0;
  background: var(--ice);
  border-radius: var(--radius-card);
}

.article-body .case-block__label {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.5px;
}

.article-body .case-block__text {
  font-size: 15px;
  line-height: 1.7;
}

.article-body .case-block__img {
  max-width: 100%;
  margin: 16px 0;
  border-radius: 8px;
}

/* Highlight row */
.article-body .highlight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.article-body .highlight-card {
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
  border-radius: 12px;
}

.article-body .highlight-card__label {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.article-body .highlight-card--positive {
  background: rgba(10, 186, 170, .08);
  border: 1px solid rgba(10, 186, 170, .2);
}

.article-body .highlight-card--negative {
  background: rgba(220, 53, 69, .06);
  border: 1px solid rgba(220, 53, 69, .15);
}

/* Signature */
.article-body .article-signature,
.article-body .article__signoff {
  margin-top: 40px;
  font-size: 15px;
  color: #606060;
}

/* Article preface */
.article-body .article__preface {
  margin-bottom: 24px;
  font-size: 20px;
  font-style: italic;
  color: #606060;
}

/* Article text wrapper */
.article-body .article__text {
  margin-bottom: 16px;
}

.article-body .article__text p {
  margin-bottom: 12px;
}

/* Pillar block */
.article-body .pillar-block {
  padding: 24px;
  margin: 20px 0;
  background: var(--ice);
  border-radius: var(--radius-card);
}

.article-body .pillar-block__header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.article-body .pillar-block__number {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  background: var(--brand);
  border-radius: 50%;
}

.article-body .pillar-block__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--graphite);
}

.article-body .pillar-block__text {
  font-size: 15px;
  line-height: 1.7;
}

/* Conclusion block */
.article-body .conclusion-block {
  padding: 24px;
  margin: 24px 0;
  background: linear-gradient(135deg, rgba(255, 125, 85, .06), rgba(10, 186, 170, .06));
  border: 1px solid rgba(255, 125, 85, .15);
  border-radius: var(--radius-card);
}

.article-body .conclusion-block__title {
  margin-bottom: 8px;
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
  color: var(--graphite);
}

.article-body .conclusion-block__text {
  font-size: 15px;
  line-height: 1.7;
  color: #606060;
}

/* Questions table */
.article-body .questions-table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
}

.article-body .questions-table td {
  padding: 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--ice);
}

.article-body .questions-table td:first-child {
  width: 40px;
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
}

/* Quote table */
.article-body .quote-table {
  width: 100%;
  margin: 24px 0;
}

.article-body .quote-table td {
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.6;
  vertical-align: top;
  border-bottom: 1px solid var(--ice);
}

.article-body .quote-table td:first-child {
  width: 40px;
  font-size: 20px;
}

/* Level cards */
.article-body .level-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.article-body .level-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--ice);
  border-radius: 12px;
}

.article-body .level-card__number {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-weight: 700;
  color: var(--white);
  background: var(--brand);
  border-radius: 50%;
}

.article-body .level-card__title {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
}

/* CTA Banner */
.article-body .cta-banner {
  padding: 32px;
  margin: 24px 0;
  color: var(--white);
  background: var(--graphite);
  border-radius: var(--radius-card);
}

.article-body .cta-banner__title {
  margin-bottom: 20px;
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.article-body .cta-banner__columns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.article-body .cta-banner__divider {
  width: 1px;
  height: 80px;
  background: rgba(255, 255, 255, .2);
}

.article-body .cta-banner__path-label {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 1px;
}

.article-body .cta-banner__path-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .75);
}

.article-body .cta-banner__col--bold .cta-banner__path-text {
  font-weight: 600;
  color: var(--white);
}

/* Timeline in articles */
.article-body .timeline {
  padding-left: 0;
  margin: 24px 0;
}

.article-body .timeline::before {
  display: none;
}

.article-body .timeline__item {
  display: flex;
  gap: 16px;
  padding: 16px;
  margin-bottom: 20px;
  background: var(--ice);
  border-radius: 12px;
}

.article-body .timeline__label {
  flex-shrink: 0;
  min-width: 140px;
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
}

.article-body .timeline__text {
  font-size: 14px;
  line-height: 1.6;
  color: #606060;
}

/* Responsive */
@media (max-width: 768px) {
  .article-container {
    padding: 80px 16px 60px;
  }

  .article-body .steps-row {
    grid-template-columns: 1fr;
  }

  .article-body .stat-grid {
    grid-template-columns: 1fr;
  }

  .article-body .highlight-row {
    grid-template-columns: 1fr;
  }

  .article-body .cta-banner__columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .article-body .cta-banner__divider {
    display: none;
  }

  .article-body .timeline__item {
    flex-direction: column;
    gap: 4px;
  }

  .article-body .timeline__label {
    min-width: auto;
  }
}
