/* ==========================================================================
   Comprador Informado — main.css
   Sistema de fuentes nativo — cero descarga de fuentes
   ========================================================================== */

/* Base */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #2d2d2d;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
}

a {
  color: #1a6496;
  text-decoration: underline;
}

a:hover {
  color: #0d3f60;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3 {
  line-height: 1.3;
  color: #1a1a1a;
}

h1 { font-size: 1.75rem; margin-top: 0; }
h2 { font-size: 1.35rem; margin-top: 2rem; }
h3 { font-size: 1.15rem; }

/* Header */
.site-header {
  border-bottom: 1px solid #e5e5e5;
  padding: 0.75rem 0;
  margin-bottom: 2rem;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-logo {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: #1a1a1a;
}

.site-header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}

.site-header nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #444;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: #1a6496;
}

/* Footer */
.site-footer {
  border-top: 1px solid #e5e5e5;
  margin-top: 3rem;
  padding: 1.5rem 0;
  font-size: 0.875rem;
  color: #666;
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-footer nav a {
  color: #666;
}

/* Article */
.article-header {
  margin-bottom: 1.5rem;
}

.article-meta {
  font-size: 0.875rem;
  color: #666;
  margin: 0.5rem 0 0;
}

.article-body {
  margin-top: 1.5rem;
}

/* Category hub */
.hub-header {
  margin-bottom: 2rem;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.article-card {
  border-bottom: 1px solid #eee;
  padding-bottom: 1.5rem;
}

.article-card h2 {
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}

.article-card p {
  margin: 0;
  color: #444;
  font-size: 0.95rem;
}

/* Utility pages */
.utility-page {
  max-width: 680px;
}

/* Ad zones */
.ad-unit {
  margin: 2rem 0;
  min-height: 90px;
}

/* Affiliate notice */
.affiliate-notice {
  font-size: 0.85rem;
  color: #666;
  border-top: 1px solid #eee;
  margin-top: 2rem;
  padding-top: 1rem;
}
