/* ===== ARTICLE PAGE STYLES ===== */

/* Article Header */
.article-header {
  padding: 120px 0 0;
}

.article-header .container {
  max-width: 800px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 32px;
  transition: color 0.2s, gap 0.2s;
}

.article-back:hover {
  color: var(--coral);
  gap: 12px;
}

.article-back svg {
  width: 16px;
  height: 16px;
}

.article-header .article-meta {
  margin-bottom: 20px;
}

.article-page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.article-page-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 680px;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.author-role {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Hero Image */
.article-hero-image {
  padding: 48px 0;
}

.article-hero-image .container {
  max-width: 960px;
}

.article-hero-image img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* Article Body */
.article-body {
  padding: 0 0 80px;
}

.article-body .container {
  max-width: 720px;
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 48px;
  margin-bottom: 20px;
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 36px;
  margin-bottom: 16px;
}

.article-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-content strong {
  color: var(--white);
  font-weight: 600;
}

.article-content em {
  color: var(--coral);
  font-style: italic;
}

.article-content blockquote {
  border-left: 3px solid var(--coral);
  padding: 20px 28px;
  margin: 32px 0;
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-content blockquote p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  margin-bottom: 0;
  line-height: 1.7;
}

.article-content blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.article-content li {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 10px;
}

.article-content li strong {
  color: var(--white);
}

.article-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* Callout Box */
.article-callout {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.08), rgba(155, 89, 182, 0.08));
  border: 1px solid rgba(255, 107, 107, 0.2);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 32px 0;
}

.article-callout h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--coral);
}

.article-callout p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Stat Grid */
.article-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.article-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
}

.article-stat .stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.article-stat .stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}

/* Tags */
.article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}

.article-tag:hover {
  border-color: rgba(255, 107, 107, 0.3);
  color: var(--white);
}

/* Share Section */
.article-share {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.article-share span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.share-btn:hover {
  border-color: var(--coral);
  color: var(--coral);
}

/* Related Articles */
.related-articles {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.related-articles h2 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.related-card:hover {
  border-color: rgba(255, 107, 107, 0.3);
  transform: translateY(-4px);
}

.related-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.related-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.related-card:hover .related-card-image img {
  transform: scale(1.05);
}

.related-card-content {
  padding: 20px;
}

.related-card-content .article-meta {
  margin-bottom: 8px;
}

.related-card-content h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.related-card-content p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA Banner */
.article-cta {
  padding: 0 0 100px;
}

.article-cta .container {
  max-width: 800px;
}

.cta-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.1), transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .article-header {
    padding: 100px 0 0;
  }

  .article-page-title {
    font-size: 1.8rem;
  }

  .article-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .cta-banner {
    padding: 40px 24px;
  }

  .article-content blockquote {
    padding: 16px 20px;
  }
}

@media (max-width: 480px) {
  .article-back {
    margin-bottom: 24px;
  }

  .article-hero-image {
    padding: 32px 0;
  }

  .article-content h2 {
    font-size: 1.35rem;
    margin-top: 36px;
  }

  .article-callout {
    padding: 20px;
  }
}
