/* Estilos generales para portada del blog */

.blog-landing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: 'Helvetica Neue', sans-serif;
  color: #222;
  background: #fff;
}

/* Breadcrumbs */
.blog-landing .breadcrumbs {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #666;
}

.blog-landing .breadcrumbs a {
  color: #666;
  text-decoration: none;
}

.blog-landing .breadcrumbs a:hover {
  text-decoration: underline;
}

/* Cabecera */
.blog-landing-header {
  margin-bottom: 2rem;
  text-align: center;
}

.landing-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.landing-description {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* Sección de entradas destacadas */
.featured-posts {
  margin-top: 3rem;
}

.featured-posts h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Grid de entradas */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.post-card {
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.post-card-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card-thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.post-card-content {
  padding: 1rem;
  flex-grow: 1;
}

.post-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.post-card-date {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 1rem;
}

.post-card-excerpt {
  font-size: 1rem;
  color: #444;
}
