.aft-section-layout-background .aft-banner-layout-tiled-2 .aft-main-banner-wrapper .aft-trending-part {
  visibility: hidden;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.aft-main-banner-wrapper,
.aft-main-banner-part {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.aft-section-layout-background {
  padding-bottom: 0 !important;
  margin-bottom: 30px !important;
}

.aft-trending-part {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Cambia el texto del placeholder a mayúsculas */

input[type="search"]::placeholder,
input[name="s"]::placeholder {
  text-transform: uppercase;
}

/* Ocultar botón de Me gusta de Jetpack */
.sharedaddy.sd-like,
.jetpack-likes-widget-wrapper,
#jp-post-flair {
    display: none !important;
}

/* Ocultar entradas relacionadas de Jetpack */
#jp-relatedposts {
    display: none !important;
}

/* Ocultar navegación de entrada Anterior/Siguiente */
.post-navigation,
.nav-links,
.navigation.post-navigation {
    display: none !important;
}

/* Ocultar la sección completa de comentarios y el formulario */
#comments,
#respond,
.comments-area,
.comment-respond {
    display: none !important;
}

/* Reemplazar el título principal de "No se ha encontrado nada" */
.no-results .page-title,
.error-404 .page-title {
    visibility: hidden !important;
    line-height: 0 !important;
    font-size: 0 !important;
}

/* Insertar "NO HAY RESULTADOS" */
.no-results .page-title::before,
.error-404 .page-title::before {
    content: "NO HAY RESULTADOS";
    visibility: visible !important;
    display: block !important;
    line-height: 1.2 !important;
    font-size: 36px !important; /* Puedes cambiar este número si lo ves muy grande o pequeño */
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
    color: #444444; /* Ajusta el color si es necesario */
}

/* Ocultar el párrafo del subtítulo pero mantener la caja de búsqueda */
.no-results .page-content > p,
.error-404 .page-content > p {
    display: none !important;
}

/* Convertir a mayúsculas el texto del copyright en ChromeNews */
.site-footer .site-info,
.site-footer .copyright-text,
footer .site-info {
    text-transform: uppercase !important;
}

/* Ocultar el extracto/descripción en el tema ChromeNews */
.af-post-excerpt,
.af-excerpt,
.post-excerpt,
.entry-summary,
.entry-summary p,
.af-article-body p,
.read-single-excerpt,
.post-description {
    display: none !important;
}

/* Ocultar las 2 primeras entradas SOLO en la portada */
body.home #primary article:nth-of-type(1),
body.home #primary article:nth-of-type(2),
body.blog #primary article:nth-of-type(1),
body.blog #primary article:nth-of-type(2) {
    display: none !important;
}

/* Forzar justificado en todas las entradas y bloques de texto */
body.single p,
body.single-post .entry-content p,
body.single-post .entry-content .wp-block-paragraph,
body.single-post .entry-content p.has-text-align-left {
    text-align: justify !important;
    text-justify: inter-word !important;
}

/* Centrar contenedores de imágenes, bloques y pies de foto */
.entry-content .wp-block-image,
.entry-content figure,
.entry-content .wp-block-image figure {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    width: 100% !important;
}

/* Centrar el archivo de imagen */
.entry-content img,
.entry-content figure img,
.entry-content .wp-block-image img,
.entry-content p img {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

/* Ajustar la separación entre párrafos a un tamaño intermedio */
body.single-post .entry-content p,
.single article .entry-content p {
    margin-bottom: 20px !important;
}

/* Forzar alineación a la izquierda en títulos creados con bloques de WordPress */
.wp-block-post-title,
h1.wp-block-post-title,
body.single-post .wp-block-post-title {
    text-align: left !important;
    margin-left: 0 !important;
}

/* Centrado absoluto de cabecera con máxima prioridad en TODA la web */
body .site-header .site-branding,
body .site-header .site-branding-text,
body .site-header .af-branding-wrapper,
body .site-header .site-title-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
}

body .site-header .site-description,
body .site-header p.site-description,
body .site-header .site-branding .site-description {
    text-align: center !important;
    align-self: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Convertir títulos de búsquedas y archivos a mayúsculas */
body.archive .page-title,
body.search .page-title,
.page-header .page-title,
h1.page-title {
    text-transform: uppercase !important;
}