/* =============================================
   ESTILOS GLOBALES - CSS SIN TAILWIND
   ============================================= */

/* Reset y estilos base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Estilos del body */
body {
  background-color: #FAFAFA;
  color: #1A1A1A;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
}

/* =============================================
   ESPACIADOR PARA NAV
   ============================================= */

.nav-spacer {
  padding-top: 8rem;
}

/* =============================================
   CONTENIDO PRINCIPAL - GRID LAYOUT
   ============================================= */

.main-detalle-grid {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  flex-grow: 1;
}

@media (min-width: 1024px) {
  .main-detalle-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
  }
}

/* =============================================
   UTILIDADES ADICIONALES
   ============================================= */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Asegurar que el contenido principal ocupe el espacio disponible */
#main-content {
  flex: 1;
}

/* Clase para texto solo para lectores de pantalla (por si se necesita) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}