/* Article-specific styles */
.article-content {
  background: var(--background-light);
  padding: 2rem 0 4rem;
}

.article-header {
  text-align: center;
  margin-bottom: 3rem;
}

.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.article-meta .category {
  background: var(--gradient-primary);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.article-meta time,
.article-meta .read-time {
  color: var(--text-light);
  font-size: 0.9rem;
}

.article-content h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-primary);
}

.article-image {
  margin: 2rem 0;
  text-align: center;
}

.article-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-light);
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-body .lead {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-style: italic;
}

.article-body h2 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin: 2.5rem 0 1.5rem;
  position: relative;
}

.article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.article-body h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin: 2rem 0 1rem;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.article-body li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.article-body blockquote {
  background: var(--background-cream);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-style: italic;
  border-radius: 0 10px 10px 0;
}

.article-body blockquote p {
  margin-bottom: 0;
  color: var(--text-primary);
}

.article-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-body a {
  color: var(--primary-color);
  text-decoration: underline;
  text-decoration-color: rgba(248, 181, 195, 0.3);
  text-underline-offset: 3px;
  transition: all 0.3s ease;
}

.article-body a:hover {
  color: var(--secondary-color);
  text-decoration-color: var(--secondary-color);
}

/* Code blocks if needed */
.article-body code {
  background: var(--background-cream);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  color: var(--text-primary);
}

.article-body pre {
  background: var(--background-cream);
  padding: 1.5rem;
  border-radius: 10px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.article-body pre code {
  background: none;
  padding: 0;
}

/* Responsive design for articles */
@media (max-width: 768px) {
  .article-content h1 {
    font-size: 2rem;
    padding: 0 1rem;
  }

  .article-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .article-body {
    padding: 0 1rem;
    font-size: 1rem;
  }

  .article-body .lead {
    font-size: 1.1rem;
  }

  .article-body h2 {
    font-size: 1.5rem;
  }

  .article-body h3 {
    font-size: 1.2rem;
  }

  .article-body ul,
  .article-body ol {
    padding-left: 1.5rem;
  }

  .article-body blockquote {
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
  }
}

@media (max-width: 480px) {
  .article-content h1 {
    font-size: 1.8rem;
  }

  .article-body {
    line-height: 1.7;
  }

  .article-body .lead {
    font-size: 1rem;
  }
}

/* Reading progress indicator */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 9999;
  transition: width 0.3s ease;
}

/* Table of contents if needed */
.table-of-contents {
  background: var(--background-cream);
  padding: 1.5rem;
  border-radius: 10px;
  margin: 2rem 0;
  border-left: 4px solid var(--primary-color);
}

.table-of-contents h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.table-of-contents ul {
  list-style: none;
  padding-left: 0;
}

.table-of-contents li {
  margin-bottom: 0.5rem;
}

.table-of-contents a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.table-of-contents a:hover {
  color: var(--primary-color);
}
