/* ==============================> ESTILOS DEL CLÚSTER DE ENTRADA */
.blog-claster-item {
    opacity: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    transform: translateY(20px);
    animation: blogClasterFadeIn 0.5s ease forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

@keyframes blogClasterFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.blog-claster-item:nth-child(1) { animation-delay: 0.1s; }
.blog-claster-item:nth-child(2) { animation-delay: 0.2s; }
.blog-claster-item:nth-child(3) { animation-delay: 0.3s; }
.blog-claster-item:nth-child(4) { animation-delay: 0.4s; }
.blog-claster-item:nth-child(5) { animation-delay: 0.5s; }
.blog-claster-item:nth-child(6) { animation-delay: 0.6s; }
.blog-claster-item:nth-child(7) { animation-delay: 0.7s; }
.blog-claster-item:nth-child(8) { animation-delay: 0.8s; }

.blog-claster-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-claster-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.blog-claster-imagen {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.blog-claster-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-claster-item:hover .blog-claster-imagen img {
    transform: scale(1.05);
}

.blog-claster-contenido {
    padding: 0px 16px 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-claster-categoria {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--e-global-color-text);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.blog-claster-item:hover .blog-claster-categoria {
    color: var(--e-global-color-primary);
}

.blog-claster-titulo {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px 0;
    transition: color 0.3s ease;
}

.blog-claster-item:hover .blog-claster-titulo {
    color: var(--e-global-color-primary);
}

.blog-claster-extracto {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #666;
    flex-grow: 1;
}

.blog-claster-fecha {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #999;
    margin-top: auto;
}

@media (max-width: 1024px) {
    .blog-claster-titulo { font-size: 22px; }
    .blog-claster-extracto { font-size: 15px; }
    .blog-claster-imagen { height: 160px; }
}

@media (max-width: 768px) {
    .blog-claster-titulo { font-size: 20px; }
    .blog-claster-extracto { font-size: 14px; }
    .blog-claster-categoria { font-size: 13px; }
    .blog-claster-fecha { font-size: 13px; }
    .blog-claster-imagen { height: 180px; }
}

@media (max-width: 480px) {
    .blog-claster-imagen { height: 200px; }
    .blog-claster-titulo { font-size: 18px; }
}
