.product-related-posts {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(11, 53, 87, 0.1);
}

/* Título principal del bloque: igual que "Valoraciones" */
.related-posts-title {
  font-size: 2rem;
  color: var(--nutri-primary);
  font-weight: 800;
  text-align: center;
  margin: 32px 0 18px;
  position: relative;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* Línea decorativa inferior corporativa */
.related-posts-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--nutri-secondary);
  margin: 10px auto 0;
  border-radius: 9999px;
  transition: width 0.3s ease;
}

/* Efecto hover como en "Valoraciones" */
.related-posts-title:hover::after {
  width: 90px;
}

/* Subtítulo armonizado visualmente con este estilo */
.related-posts-subtitle {
  max-width: 960px;
  margin: 5px auto 45px;
  padding: 0 20px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #3a3a3a;
  text-align: center;
  line-height: 1.7;
}



.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.related-post-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.related-post-content {
    padding: 16px 20px 22px;
}

.related-post-title {
    font-size: 1.1rem;
    color: #0b3557;
    font-weight: 600;
    margin-bottom: 8px;
}

.related-post-title a {
    color: inherit;
    text-decoration: none;
}

.related-post-title a:hover {
    color: #007b9e;
}

.related-post-excerpt {
    font-size: 0.9rem;
    color: #4a4a4a;
    line-height: 1.4;
}
