/* VertigoAI Article Styles */
:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-background: #ffffff;
  --color-border: #e5e7eb;
  --max-width: 800px;
  --spacing: 1.5rem;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-background);
  margin: 0;
  padding: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  text-decoration: none;
}

/* Breadcrumb */
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: var(--spacing) 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
}

.breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

/* Article */
.article {
  padding: 2rem 0;
}

.article-header {
  margin-bottom: 2rem;
}

.article h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  color: var(--color-text);
}

.featured-image {
  margin: 2rem 0;
}

.featured-image img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* Content */
.article-content {
  font-size: 1.125rem;
}

.article-content h2 {
  font-size: 1.75rem;
  margin: 2rem 0 1rem;
}

.article-content h3 {
  font-size: 1.375rem;
  margin: 1.5rem 0 0.75rem;
}

.article-content p {
  margin: 0 0 1.5rem;
}

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

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content a {
  color: var(--color-primary);
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* FAQ */
.faq-section {
  margin: 3rem 0;
  padding: 2rem;
  background: #f9fafb;
  border-radius: 0.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding-top: 1rem;
  color: var(--color-text-light);
}

/* HowTo */
.howto-section {
  margin: 3rem 0;
}

.howto-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.howto-step {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}

.howto-step::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  width: 2rem;
  height: 2rem;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.howto-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

/* Author box */
.author-box {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: #f9fafb;
  border-radius: 0.5rem;
  margin-top: 3rem;
}

.author-box-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

/* Related */
.related-articles {
  margin: 3rem 0;
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
}

.related-articles h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.related-articles ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-articles li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.related-articles li:last-child {
  border-bottom: none;
}

.related-articles a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem 0;
  margin-top: 3rem;
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 640px) {
  .article h1 {
    font-size: 1.75rem;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
  }
}