/**
 * Estilos del tema hijo News Magazine X Child
 * Imagen destacada contenida dentro del ancho del contenido
 */

/* Imagen destacada ocupa el ancho completo del contenedor del contenido */
.newsx-single-post-media {
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px;
    padding: 0;
}

.newsx-single-post-media img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Ajuste para que el caption se mantenga alineado con la imagen */
.newsx-single-post-media .newsx-single-post-media-caption {
    margin-top: 10px;
}

/* Volanta estilo badge en reemplazo de las categorías */
.newsx-volanta {
    display: inline-block;
    background-color: #c9121f;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quitar estilos de lista heredados para que el badge se vea limpio */
.post-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-categories li {
    margin: 0;
    padding: 0;
}

@media (max-width: 480px) {
    .newsx-magazine-layout-1-2 article:where(:nth-child(2), :nth-child(3)) h2, .newsx-magazine-layout-1-3 article:where(:nth-child(3), :nth-child(4)) h2, .newsx-magazine-layout-1-4 article:where(:nth-child(2), :nth-child(3), :nth-child(4), :nth-child(5)) h2, .newsx-magazine-layout-1-1-2 article:where(:nth-child(2), :nth-child(3), :nth-child(4)) h2, .newsx-magazine-layout-2-1-2 article:where(:nth-child(2), :nth-child(3), :nth-child(4), :nth-child(5)) h2, .newsx-magazine-layout-1-1-1 article:where(:nth-child(2), :nth-child(3)) h2, .newsx-magazine-layout-1vh-3h article:where(:nth-child(2), :nth-child(3), :nth-child(4)) h2, .newsx-magazine-layout-1-1-3 article:where(:nth-child(2), :nth-child(3), :nth-child(4), :nth-child(5)) h2, .newsx-magazine-layout-2-3 article:where(:nth-child(3), :nth-child(4), :nth-child(5)) h2 {
        font-size: 14px!important;
    }
}
