/* VOU - Estilos compilados para las noticias (reemplaza el CDN de Tailwind en producción).
   Solo incluye las utilidades realmente usadas en noticia-*.html. */

:root { --primary: #e1ff80; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; line-height: 1.5; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

/* Colores base */
.bg-black { background-color: #000; }
.bg-gray-800 { background-color: #1f2937; }
.bg-gray-900 { background-color: #111827; }
.bg-primary { background-color: var(--primary); }
.text-white { color: #fff; }
.text-black { color: #000; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }

/* Layout */
.container { width: 100%; }
.noticia-header {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.noticia-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 120% at 85% 0%, rgba(225, 255, 128, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.82) 55%, #000 100%);
  pointer-events: none;
}

.noticia-header > .casos-container {
  position: relative;
  z-index: 1;
}
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.text-center { text-align: center; }

/* Tamaños */
.h-20 { height: 5rem; }
.h-12 { height: 3rem; }
.w-auto { width: auto; }

/* Espaciado */
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-20 { margin-top: 5rem; }
.gap-6 { gap: 1.5rem; }
.space-x-8 > :not([hidden]) ~ :not([hidden]) { margin-left: 2rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }

/* Bordes y radios */
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-gray-800 { border-color: #1f2937; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }

/* Tipografía */
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }

/* Prose (contenido del artículo) */
.prose { line-height: 1.75; }
.prose a { color: var(--primary); text-decoration: underline; }

/* Transiciones */
.transition-opacity { transition-property: opacity; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* Estados hover */
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:text-white:hover { color: #fff; }
.hover\:text-primary:hover { color: var(--primary); }
.hover\:bg-primary\/90:hover { background-color: rgba(225, 255, 128, 0.9); }

/* Botón CTA unificado */
.btn-asesoria {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #e1ff80;
  color: #000;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  transition: background-color 0.15s, transform 0.15s;
}

.btn-asesoria:hover {
  background-color: rgba(225, 255, 128, 0.9);
  color: #000;
}

/* Columna de lectura centrada (evita que el artículo quede pegado a la
   izquierda con un gran hueco a la derecha, igual que los casos de estudio) */
.max-w-4xl { margin-inline: auto; }
.noticia-header .casos-container > h1 {
  max-width: 56rem;
  margin-inline: auto;
}

/* Responsive (lg: >= 1024px) */
@media (min-width: 1024px) {
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
}
