/* Estilos motivadores y humanistas para VOYRECIO.TOP */

* {
  box-sizing: border-box;
}

body.theme-hope {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  background: radial-gradient(circle at top, #fef3c7 0, #e0f2fe 40%, #e5e7eb 100%);
  color: #111827;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Cabecera */

.site-header {
  background: linear-gradient(90deg, rgba(248,250,252,0.96), rgba(219,234,254,0.96));
  border-bottom: 1px solid #e5e7eb;
  padding: 0.9rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}

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

.logo-wrap {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #f97316 0, #facc15 40%, #22c55e 100%);
  border: 1px solid rgba(234, 179, 8, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  max-width: 100%;
  max-height: 100%;
}

.brand-text h1 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111827;
}

.tagline {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Navegación */

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.main-nav a {
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #374151;
  background: rgba(255,255,255,0.8);
}

.main-nav a:hover {
  border-color: #fed7aa;
  background-color: #fffbeb;
}

.main-nav a.active {
  border-color: #f97316;
  background: linear-gradient(90deg, #fb923c, #facc15);
  color: #7c2d12;
}

/* Contenedor principal */

.content {
  max-width: 980px;
  margin: 1.75rem auto 2.75rem auto;
  padding: 0 1rem;
}

/* Tarjetas */

.card {
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
}

.soft {
  background: rgba(255,255,255,0.9);
  border: 1px solid #e5e7eb;
  box-shadow:
    0 20px 40px rgba(148, 163, 184, 0.35),
    0 0 0 1px rgba(255,255,255,0.9);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.hero-text h2 {
  margin-top: 0;
  font-size: 1.7rem;
  color: #111827;
}

.hero-text p {
  font-size: 0.97rem;
  color: #4b5563;
}

.hero-image img {
  border-radius: 16px;
}

.hero-image figcaption {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.4rem;
}

/* Bloques destacados */

.lead-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.3rem;
  margin-bottom: 1.8rem;
}

.lead-item h3 {
  margin-top: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ea580c;
}

.lead-item h4 {
  margin: 0.35rem 0 0.8rem 0;
  font-size: 1.1rem;
  color: #111827;
}

.lead-item p {
  font-size: 0.93rem;
  color: #4b5563;
}

.context-section h2 {
  margin-top: 0;
  font-size: 1.35rem;
  color: #111827;
}

.context-section p {
  color: #4b5563;
}

.inline-link {
  display: inline-block;
  margin-top: 0.7rem;
  font-weight: 600;
  color: #ea580c;
}

.inline-link:hover {
  text-decoration: underline;
}

/* Botones */

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.8rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(90deg, #fb923c, #22c55e);
  color: #7c2d12;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #f97316, #16a34a);
}

.btn-secondary {
  background: #fffbeb;
  color: #92400e;
  border-color: #fed7aa;
}

.btn-secondary:hover {
  background: #fef3c7;
}

/* Artículos */

.article-layout {
  margin-top: 1.4rem;
}

.article {
  max-width: 800px;
  margin: 0 auto;
}

.article-header h1 {
  margin-top: 0;
  font-size: 1.6rem;
  color: #111827;
}

.meta {
  font-size: 0.85rem;
  color: #6b7280;
}

.article p {
  font-size: 0.97rem;
  color: #374151;
}

.article h2 {
  font-size: 1.25rem;
  margin-top: 1.6rem;
  color: #111827;
}

.article-image {
  margin: 1.3rem 0;
}

.article-image img {
  border-radius: 14px;
}

.article-image figcaption {
  font-size: 0.83rem;
  color: #6b7280;
  margin-top: 0.45rem;
}

/* Autores */

.authors-page .page-intro h1 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #111827;
}

.author-card {
  margin-top: 1.2rem;
}

.author-card h2 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #111827;
}

.author-card p {
  color: #374151;
}

/* Pie de página */

.site-footer {
  text-align: center;
  padding: 1.7rem 1rem 2.2rem 1rem;
  font-size: 0.85rem;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
  background: linear-gradient(0deg, #fee2e2, #fffbeb);
}

/* Responsivo */

@media (max-width: 768px) {
  .site-header {
    padding-inline: 1rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-image {
    order: -1;
  }

  .brand-text h1 {
    font-size: 1.1rem;
  }

  .card {
    padding: 1.1rem 1rem;
  }
}
