/* assets/css/home.css */

/* Estilos exclusivos para la página de inicio */
.home-header {
  background: linear-gradient(to bottom, #ffffff, #f9f9fb);
  color: #4e3b8c;
  padding: 2em 1em;
  text-align: center;
  border-bottom: 2px solid #ddd;
  font-family: 'Ubuntu', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  width: 100%;
  margin-bottom: 2.5em;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  animation: fadeSlideIn 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(-20px);
}

.home-header i {
  font-size: 1.5em;
  color: #6c5eb5;
}

/* Animación */
@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.home-content {
background-color: #ffffff;
  color: #23325a
  padding: 2em;
  font-family: 'Ubuntu', sans-serif;
  font-size: 30px;
  text-align: left;
  margin: 70px; /* 96 px Esto agrega 1 pulgada de margen a todos los lados */
  line-height: 1.5;
}

.home-footer {
  padding: 1em;
  font-size: 0.9rem;
  color: #51508b;
  background-color: transparent;
}

.home-footer .footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}

/* Logo alineado a la izquierda pero sin afectar el centrado del texto */
.home-footer .footer-content img {
  position: absolute;
  left: 0;
  height: 35px;
}

/* Texto legal centrado */
.home-footer .footer-content p {
  margin: 0 auto;
  text-align: center;
  max-width: 700px;
  flex: 1;
}

/* Enlaces del pie */
.home-footer .footer-links {
  text-align: center;
  margin-top: 0.5em;
}

.home-footer .footer-links a {
  color: #557f9f;
  text-decoration: none;
  margin: 0 5px;
}

.home-footer .footer-links a:hover {
  text-decoration: underline;
}



/* Estilos refinados para la sección que contiene la lista de posts */
.post-list {
  background-color: #ffffff;          /* Fondo claro y limpio */
  padding: 32px;                      /* Más aire interno */
  border: 1px solid #e0e0e0;          /* Borde más suave */
  border-radius: 10px;                /* Esquinas más redondeadas */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Sombra sutil para profundidad */
  margin-bottom: 40px;               /* Más separación inferior */
  transition: box-shadow 0.3s ease;   /* Animación para hover */
}

/* Efecto al pasar el mouse (hover) */
.post-list:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Estilos para el título de la lista */
.post-list h2 {
  font-family: 'Ubuntu Condensed', sans-serif;
  font-size: 25px;
  margin-bottom: 15px;
  color: #51508b;
}

/* Estilos para la lista (ul) */
.post-list ul {
  list-style: none;  /* Eliminar viñetas predeterminadas */
  padding: 0;
  margin: 0;
}

/* Estilos para cada elemento de la lista (li) */
.post-list li {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;  /* Línea divisoria entre posts */
}

/* Estilos para el enlace del post */
.post-list li a {
  font-size: 25px;
  font-weight: bold;
  text-decoration: none;
  color: #232e3f;
  transition: color 0.3s ease;
}

.post-list li a:hover {
  color: #007acc;  /* Cambia el color al pasar el mouse */
}

/* Estilos para la fecha del post */
.post-list li small {
  display: block;
  color: #888;
  margin-top: 5px;
  font-size: 0.9em;
}
.home-nav {
  position: absolute;
  top: 1em;
  left: 1em;
  z-index: 10;
}

.home-nav a {
  font-size: 1.5rem;
  color: #6c5eb5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.home-nav a:hover {
  transform: scale(1.1);
}
.post-list-grid {
  max-width: 1200px;
  margin: 3em auto;
  padding: 0 2em;
}

.post-list-grid h2 {
  font-size: 1.8rem;
  color: #6c5eb5;
  margin-bottom: 1em;
  text-align: center;
}

.grid-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5em;
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-card {
  background-color: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.5em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.post-card a {
  text-decoration: none;
  color: #23325a;
}

.post-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.post-meta i {
  font-size: 1.2rem;
  color: #6c5eb5;
}

.post-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.post-date {
  font-size: 0.85rem;
  color: #6c6c6c;
}
