/* =========================================================
   MIENTRASDURE.COM — CSS COMPLETO Y DEPURADO
   ========================================================= */

:root {
    --blog-blue: #2f4fb8;
    --nosa-green: #245C46;
}

/* =========================================================
   1. BLOGSTREAM — CABECERA
   ========================================================= */

/* Eliminar la cabecera superior del tema */
#header-sticky {
    display: none !important;
}

/* Quitar el espacio superior que deja el tema */
#wrapper {
    margin-top: 0 !important;
}


/* =========================================================
   2. COLOR GENERAL DEL BLOG
   ========================================================= */

body,
body p,
body li,
body label,
body blockquote,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body strong,
body em,
body a,
body a:visited,
.entry-content,
.entry-content p,
.entry-content li,
.entry-header,
.entry-title,
.entry-title a,
.entry-meta,
.entry-meta a,
.widget,
.widget p,
.widget li,
.widget a,
.widget-title,
.sidebar,
.sidebar p,
.sidebar li,
.sidebar a {
    color: var(--blog-blue) !important;
}


/* Enlaces al pasar el ratón */
body a:hover,
.entry-title a:hover,
.widget a:hover {
    color: var(--blog-blue) !important;
}


/* =========================================================
   3. TÍTULOS DE LAS ENTRADAS
   ========================================================= */

.entry-header .entry-title,
.entry-header .entry-title a {
    color: var(--blog-blue) !important;
}


/* =========================================================
   4. METADATOS
   ========================================================= */

.entry-meta,
.entry-meta a,
.entry-meta .byline a,
.entry-meta .entry-category a {
    color: var(--blog-blue) !important;
}


/* =========================================================
   5. WIDGET DE TEXTO IZQUIERDO
   ========================================================= */

.widget_text,
.widget_text .textwidget,
.widget_text .textwidget p {
    color: var(--blog-blue) !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    font-weight: 600 !important;
}


/* =========================================================
   6. TÍTULOS DE LOS WIDGETS
   ========================================================= */

.widget .widget-title,
.widget-title,
.widget-title a,
.sidebar .widget-title,
.sidebar h3,
.sidebar h4,
.widget h3.group,
.widget h3.group span,
#sidebar .widget h3.group,
#sidebar .widget h3.group span {
    color: var(--blog-blue) !important;
    font-weight: 700 !important;
}


/* =========================================================
   7. CATEGORÍAS / LIBROS
   ========================================================= */

.widget_categories ul li,
.widget_categories ul li a,
.widget_categories ul li a:visited,
.widget_categories ul li .count {
    color: var(--blog-blue) !important;
    font-weight: 600 !important;
}


/* Listas generales de otros widgets */
.widget ul li,
.widget ul li a {
    color: var(--blog-blue) !important;
}


/* =========================================================
   8. ICONO DE LIBRO EN LAS CATEGORÍAS
   ========================================================= */

/*
   Utilizamos el carácter de libro directamente.
   No depende de Font Awesome.
*/

.widget_categories ul li > a::before,
.widget_categories div ul li > a::before {
    content: "📖" !important;
    font-family: inherit !important;
    font-weight: normal !important;
    font-size: 17px !important;
    margin-right: 8px !important;
    display: inline-block !important;
}


/* Si el tema añade una carpeta dentro del enlace, ocultarla */
.widget_categories ul li > a > i.fa-folder,
.widget_categories ul li > a > i.fa-folder-o {
    display: none !important;
}


/* =========================================================
   9. SUBCATEGORÍAS / LIBROS HIJOS
   ========================================================= */

/*
   IMPORTANTE:
   NO ocultamos la categoría padre con CSS.
   De esta forma no desaparecen sus libros hijos ni
   quedan contadores (100) flotando.
*/

.widget_categories ul.children {
    display: block !important;
}

.widget_categories ul.children li {
    display: list-item !important;
}


/* =========================================================
   10. TÍTULO DE UNA PÁGINA DE CATEGORÍA
   ========================================================= */

/* Ocultar la carpeta del tema */
.category .page-title h1 i.fa-folder,
.category .page-title h1 i.fa-folder-o {
    display: none !important;
}


/* Añadir un libro */
.category .page-title h1::before {
    content: "📖" !important;
    font-family: inherit !important;
    font-weight: normal !important;
    font-size: 0.85em !important;
    margin-right: 10px !important;
}


/* Título de categoría */
.category .page-title h1 {
    color: var(--blog-blue) !important;
}


/* =========================================================
   11. ARCHIVOS DE CATEGORÍA:
       MOSTRAR SOLAMENTE LOS TÍTULOS
   ========================================================= */

/* Ocultar contenido de las entradas */
.category article .entry-content,
.category article .entry-summary,
.category article .post-content,
.category article .post-excerpt,
.category article .excerpt {
    display: none !important;
}


/* Ocultar imágenes */
.category article .entry-thumbnail,
.category article .post-thumbnail,
.category article .featured-image,
.category article .entry-image {
    display: none !important;
}


/* Ocultar fecha, autor y metadatos */
.category article .entry-meta,
.category article .post-meta,
.category article .entry-footer {
    display: none !important;
}


/* Ocultar "Leer más" */
.category article .more-link,
.category article .read-more,
.category article .moretag {
    display: none !important;
}


/* Mantener visible el título */
.category article .entry-header,
.category article .entry-title,
.category article .entry-title a {
    display: block !important;
    color: var(--blog-blue) !important;
}


/* Separación entre títulos */
.category article {
    margin-bottom: 22px !important;
}


/* =========================================================
   12. WIDGET DE SUSCRIPCIÓN
   ========================================================= */

.jetpack_subscription_widget,
.jetpack_subscription_widget p,
.jetpack_subscription_widget label,
.jetpack_subscription_widget span,
.widget_blog_subscription,
.widget_blog_subscription p,
.widget_blog_subscription label,
.widget_blog_subscription span {
    color: var(--blog-blue) !important;
    font-weight: 600 !important;
}


/* Texto explicativo */
.widget_blog_subscription #subscribe-text,
.widget_blog_subscription #subscribe-text p,
.jetpack_subscription_widget #subscribe-text,
.jetpack_subscription_widget #subscribe-text p {
    color: var(--blog-blue) !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    font-weight: 600 !important;
}


/* Campo de correo */
.widget_blog_subscription input[type="email"],
.jetpack_subscription_widget input[type="email"] {
    color: var(--blog-blue) !important;
    font-size: 1.08em !important;
    font-weight: 600 !important;
}


/* Placeholder */
.widget_blog_subscription input::placeholder,
.jetpack_subscription_widget input::placeholder {
    color: var(--blog-blue) !important;
    opacity: 1 !important;
    font-size: 1em !important;
    font-weight: 700 !important;
}


/* Botón */
.widget_blog_subscription input[type="submit"],
.jetpack_subscription_widget input[type="submit"],
.widget_blog_subscription button {
    color: var(--blog-blue) !important;
    background: #ffffff !important;
    border: 2px solid var(--blog-blue) !important;
    font-size: 1.10em !important;
    font-weight: 700 !important;
}


/* Botón al pasar el ratón */
.widget_blog_subscription input[type="submit"]:hover,
.jetpack_subscription_widget input[type="submit"]:hover,
.widget_blog_subscription button:hover {
    color: var(--blog-blue) !important;
    background: #f4f5f8 !important;
}


/* Texto "Únete a X suscriptores" */
.widget_blog_subscription #subscribe-blog,
.widget_blog_subscription .success,
.jetpack_subscription_widget #subscribe-blog {
    color: var(--blog-blue) !important;
    font-size: 1.08em !important;
}


/* Bloque moderno de Jetpack */
.wp-block-jetpack-subscriptions {
    color: var(--blog-blue) !important;
    font-size: 20px !important;
}

.wp-block-jetpack-subscriptions button,
.wp-block-jetpack-subscriptions input,
.wp-block-jetpack-subscriptions .wp-block-button__link {
    font-size: 20px !important;
}

.wp-block-jetpack-subscriptions button,
.wp-block-jetpack-subscriptions .wp-block-button__link {
    font-weight: 700 !important;
}

.wp-block-jetpack-subscriptions
.wp-block-jetpack-subscriptions__subscriber-count,
.wp-block-jetpack-subscriptions p:last-child {
    font-size: 20px !important;
    font-weight: 600 !important;
}


/* =========================================================
   13. ICONO DE LAS ENTRADAS
   ========================================================= */

.entry-line-bullet {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    width: 46px !important;
    height: 46px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* Quitar círculo interior */
.entry-line-bullet-inner {
    display: none !important;
}


/*
   No añadimos otro icono mediante Font Awesome.
   Así evitamos los conflictos que había en el CSS anterior.
*/


/* =========================================================
   14. PIE DEL BLOG
   ========================================================= */

#footer-bottom #copyright,
#footer-bottom #copyright p,
#footer-bottom #copyright a {
    color: var(--blog-blue) !important;
    font-weight: 600 !important;
}


/* =========================================================
   15. FLECHAS DE NAVEGACIÓN
   ========================================================= */

.pagination .next,
.pagination .next i,
.pagination .next::before,
.pagination .next::after,
.pagination .prev,
.pagination .prev i,
.pagination .prev::before,
.pagination .prev::after,
.nav-links .next,
.nav-links .next i,
.nav-links .prev,
.nav-links .prev i,
.nav-next a,
.nav-next a i,
.nav-previous a,
.nav-previous a i,
a.nextpostslink,
a.nextpostslink i {
    color: var(--blog-blue) !important;
}


/* Paginación */
.pagination ul li.next a,
.pagination ul li.next a::before,
.pagination ul li.prev a,
.pagination ul li.prev a::before {
    color: var(--blog-blue) !important;
}


/* Volver arriba */
#footer-bottom #back-to-top,
#footer-bottom #back-to-top i,
#footer-bottom #back-to-top::before,
#footer-bottom #back-to-top::after {
    color: var(--blog-blue) !important;
}


/* SVG */
.pagination .next svg,
.pagination .prev svg,
.nav-links .next svg,
.nav-links .prev svg,
.nav-next a svg,
.nav-previous a svg,
#footer-bottom #back-to-top svg {
    fill: var(--blog-blue) !important;
    stroke: var(--blog-blue) !important;
}


/* =========================================================
   16. LONXURA.COM
   ========================================================= */

a[href*="lonxura.com"],
a[href*="lonxura.com"]:visited,
a[href*="lonxura.com"]:hover,
a[href*="lonxura.com"]:active,
a[href*="lonxura.com"] span,
a[href*="lonxura.com"] strong,
a[href*="lonxura.com"] * {
    color: var(--blog-blue) !important;
    -webkit-text-fill-color: var(--blog-blue) !important;
}


/* =========================================================
   17. A NOSA PEL — EXCEPCIÓN EN VERDE
   ========================================================= */

body.category-a-nosa-pel,
.category-a-nosa-pel,
.category-a-nosa-pel h1,
.category-a-nosa-pel h2,
.category-a-nosa-pel h3,
.category-a-nosa-pel h4,
.category-a-nosa-pel p,
.category-a-nosa-pel p *,
.category-a-nosa-pel li,
.category-a-nosa-pel li *,
.category-a-nosa-pel a,
.category-a-nosa-pel a:visited,
.category-a-nosa-pel strong,
.category-a-nosa-pel em,
.category-a-nosa-pel blockquote,
.category-a-nosa-pel blockquote *,
.category-a-nosa-pel .entry-title,
.category-a-nosa-pel .entry-title a,
.category-a-nosa-pel .page-title h1,
.category-a-nosa-pel .page-title h1::before {
    color: var(--nosa-green) !important;
}
/* =========================================================
   METADATOS MÁS VISIBLES
   Fecha, autor, categoría, comentarios, visitas, etc.
   ========================================================= */

.entry-meta,
.entry-meta a,
.entry-meta span,
.entry-meta time,
.entry-meta .byline,
.entry-meta .posted-on,
.entry-meta .entry-category,
.entry-footer,
.entry-footer a,
.post-meta,
.post-meta a,
.post-meta span,
.post-meta time {
    font-weight: 700 !important;
}


/* Contador de comentarios */
.comments-link,
.comments-link a,
.comment-count,
.entry-comments,
.entry-comments a {
    font-weight: 700 !important;
}


/* Visitas totales */
.entry-views,
.post-views,
.views,
.views-count,
[class*="view"],
[class*="visit"] {
    font-weight: 700 !important;
}/* =========================================================
   METADATOS MÁS VISIBLES
   Fecha, autor, categoría, comentarios, visitas, etc.
   ========================================================= */

.entry-meta,
.entry-meta a,
.entry-meta span,
.entry-meta time,
.entry-meta .byline,
.entry-meta .posted-on,
.entry-meta .entry-category,
.entry-footer,
.entry-footer a,
.post-meta,
.post-meta a,
.post-meta span,
.post-meta time {
    font-weight: 700 !important;
}


/* Contador de comentarios */
.comments-link,
.comments-link a,
.comment-count,
.entry-comments,
.entry-comments a {
    font-weight: 700 !important;
}


/* Visitas totales */
.entry-views,
.post-views,
.views,
.views-count,
[class*="view"],
[class*="visit"] {
    font-weight: 700 !important;
}
/* =========================================================
   METADATOS MÁS VISIBLES
   Fecha, autor, categoría, comentarios, visitas, etc.
   ========================================================= */

.entry-meta,
.entry-meta a,
.entry-meta span,
.entry-meta time,
.entry-meta .byline,
.entry-meta .posted-on,
.entry-meta .entry-category,
.entry-footer,
.entry-footer a,
.post-meta,
.post-meta a,
.post-meta span,
.post-meta time {
    font-weight: 700 !important;
}

/* Contador de comentarios */
.comments-link,
.comments-link a,
.comment-count,
.entry-comments,
.entry-comments a {
    font-weight: 700 !important;
}

/* Visitas totales */
.entry-views,
.post-views,
.views,
.views-count,
[class*="view"],
[class*="visit"] {
    font-weight: 700 !important;
}
/* VISITAS TOTALES — MÁS FUERTE Y VISIBLE */

.entry-content p,
.entry-content p span,
.entry-content p strong {
    font-weight: 700 !important;
}

/* Si el contador de visitas está en un párrafo independiente */
.entry-content p:last-child {
    font-weight: 700 !important;
}
/* VISITAS TOTALES */
.entry-content p:last-child,
.entry-content p:last-child * {
    font-weight: 800 !important;
}
/* =========================================================
   CATEGORÍAS / LIBROS — DISTINTIVO JMMT
   ========================================================= */

/* CATEGORÍAS / LIBROS — JMMT MÁS DISCRETO */

/* CATEGORÍAS / LIBROS — ICONO DE LIBRO MÁS VISIBLE */

.widget_categories ul li > a::before,
.widget_categories div ul li > a::before {
    content: "📘" !important;
    font-family: inherit !important;
    font-weight: normal !important;

    font-size: 22px !important;
    line-height: 1 !important;

    margin-right: 8px !important;

    display: inline-block !important;
    vertical-align: middle !important;
}
/* =========================================================
   PÁGINA DE CATEGORÍA / LIBRO — USAR EL MISMO ICONO 📘
   ========================================================= */

/* Ocultar el icono antiguo del tema */
.category .page-title h1 i,
.category .page-title h1 .fa,
.category .page-title h1 .fas,
.category .page-title h1 .far {
    display: none !important;
}

/* Añadir el mismo libro azul delante del nombre */
.category .page-title h1::before {
    content: "📘" !important;
    font-family: inherit !important;
    font-weight: normal !important;

    font-size: 22px !important;
    line-height: 1 !important;

    margin-right: 8px !important;

    display: inline-block !important;
    vertical-align: middle !important;
}
/* FONDO GENERAL DEL BLOG */
body {
    background-color: #f5f7fb !important;
}
/* FONDO DE LAS ENTRADAS */
article,
.post,
.hentry {
    background-color: #fafbfe !important;
}
/* =========================================================
  /* Mejorar visibilidad de la barra superior de WordPress */
#wpadminbar,
#wpadminbar .ab-item,
#wpadminbar a.ab-item,
#wpadminbar > #wp-toolbar span.ab-label,
#wpadminbar > #wp-toolbar span.noticon,
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before {
    color: #ffffff !important;
} 

/* =========================================================
   MIENTRASDURE.COM — SUSCRIPCIÓN SOLO EN LA PORTADA
   Tamaños discretos; no afecta a los artículos.
   ========================================================= */
body.home .widget_blog_subscription .widget-title,
body.home .jetpack_subscription_widget .widget-title,
body.home .widget_blog_subscription h2,
body.home .jetpack_subscription_widget h2 {
    font-size: 18px !important;
    line-height: 1.35 !important;
}

body.home .widget_blog_subscription #subscribe-text,
body.home .widget_blog_subscription #subscribe-text p,
body.home .jetpack_subscription_widget #subscribe-text,
body.home .jetpack_subscription_widget #subscribe-text p,
body.home .widget_blog_subscription label,
body.home .jetpack_subscription_widget label {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

body.home .widget_blog_subscription input[type="email"],
body.home .jetpack_subscription_widget input[type="email"],
body.home .widget_blog_subscription input[type="email"]::placeholder,
body.home .jetpack_subscription_widget input[type="email"]::placeholder,
body.home .widget_blog_subscription input[type="submit"],
body.home .jetpack_subscription_widget input[type="submit"],
body.home .widget_blog_subscription button,
body.home .jetpack_subscription_widget button {
    font-size: 14px !important;
}


/* Páginas 2, 3, 4...: mostrar solo títulos */
body.paged .entry-content,
body.paged .entry-summary,
body.paged .post-content,
body.paged .post-excerpt {
    display: none !important;
}

/* Mantener los títulos visibles */
body.paged .entry-title,
body.paged .post-title {
    display: block !important;
}

/* Páginas 2, 3, 4...: mostrar solo títulos */
body.paged .entry-content,
body.paged .entry-summary,
body.paged .post-content,
body.paged .post-excerpt {
    display: none !important;
}

/* Mantener los títulos visibles */
body.paged .entry-title,
body.paged .post-title {
    display: block !important;
}

/* Color azul intenso para las visitas */
.post-views,
.post-views span,
.views,
.views-count {
    color: #102A66 !important;
    font-weight: 2300 !important;
}

/* Contador de visitas en azul marino */
.blog-stats,
.blog-stats li,
.blog-stats span,
.blog-stats a {
    color: #102A66 !important;
    font-weight: 600 !important;
}
/* Contador de visitas */
.contador-visitas {
    color: #173A9E !important;
    font-weight: 600;
}
/* Color azul intenso del contador de visitas */
#wp_statistics_widget-4 li,
#wp_statistics_widget-4 li label {
    color: #173A9E !important;
    font-weight: 600 !important;
}
.widget_top-posts ul {
  list-style: none;
  padding-left: 0;
}

.widget_top-posts ul li {
  position: relative;
  padding-left: 30px;
}

.widget_top-posts ul li::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 0.55em;
  width: 12px;
  height: 12px;
  background: #B8E5FA;
  border: 2px solid #101D68;
  transform: rotate(45deg);
  box-sizing: border-box;
}


/* Categorías principales: azul claro */
.widget_categories ul > li > a {
    color: #42A5D9;
}

/* Subcategorías: azul oscuro original */
.widget_categories ul li ul li > a {
    color: #3046B5;
}



/* Categorías principales: doble subrayado */
.widget_categories > ul > li > a {
    color: #243BC4 !important;
    text-decoration-line: underline !important;
    text-decoration-style: double !important;
    text-decoration-color: #243BC4 !important;
    text-underline-offset: 3px;
}

/* Subcategorías: sin subrayado */
.widget_categories ul.children li > a {
    text-decoration: none !important;
}



/* Agrandar contador de visitas Jetpack */

#blog-stats-2,
#blog-stats-2 ul,
#blog-stats-2 ul li,
#blog-stats-2 ul li a,
#blog-stats-2 ul li span {
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
}









