/* ============================================
   Atlas Química Comercial – SEO CSS
   seo.css – Structured Data Visual Enhancements
   ============================================ */

/* Visually hidden but accessible to screen readers and crawlers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Rich snippet friendly markup */
.seo-text {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 860px;
  margin: 0 auto;
}

.seo-text h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-4);
}

.seo-text p {
  margin-bottom: var(--space-4);
}

/* Local SEO emphasis */
.local-seo {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.local-seo h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-4);
}

.local-seo p {
  font-size: var(--font-size-sm);
  line-height: 1.8;
}

/* Internal linking styles */
.internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.internal-links a {
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  background: var(--color-primary-subtle);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.internal-links a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Article styling for blog */
.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content h2 {
  font-size: var(--font-size-2xl);
  margin: var(--space-10) 0 var(--space-4);
}

.article-content h3 {
  font-size: var(--font-size-xl);
  margin: var(--space-8) 0 var(--space-3);
}

.article-content p {
  margin-bottom: var(--space-4);
  line-height: 1.85;
}

.article-content ul,
.article-content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.article-content li {
  list-style: disc;
  margin-bottom: var(--space-2);
  color: var(--text-secondary);
  line-height: 1.7;
}

.article-content ol li {
  list-style: decimal;
}

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

/* Print styles for SEO-friendly printing */
@media print {
  .header,
  .footer,
  .whatsapp-float,
  .mobile-toggle,
  .theme-toggle {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
    background: #f5f5f5 !important;
  }

  .section {
    padding: 1rem 0;
  }
}
