.hm-ne-wrapper {
    width: 100%;
}

.hm-ne-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hm-ne-columns-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.hm-ne-columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hm-ne-columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hm-ne-columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hm-ne-item {
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
}

.hm-ne-thumb img {
    width: 100%;
    display: block;
    height: auto;
}

.hm-ne-title {
    margin: 12px 12px 8px;
}

.hm-ne-title a {
    text-decoration: none;
}

.hm-ne-excerpt {
    margin: 0 12px 16px;
}

/* Single novedad (hm_novedad) */
.hm-ne-single-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    background: #ffffff;
}

/* Contenedor de la imagen en single: centrado y con ancho razonable */
.hm-ne-single-thumb {
    max-width: 1200px;
    margin: 0 auto 20px;
}

.hm-ne-single-thumb-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Por si la imagen original es enorme, dejamos preparada una clase extra */
.hm-ne-single-thumb.hm-ne-single-thumb--large .hm-ne-single-thumb-img {
    max-height: 80vh;
    object-fit: contain;
}

/* Contenido (incluido el H1 que venga del theme o de Elementor) */
.hm-ne-single-content {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}
