/* Apunta a contenedores con box-shadow (cuadro con sombra) */
*[style*="box-shadow"],
div[style*="shadow"],
.main-card,
.featured-box,
.causas-card,
.content-card,
.card,
article {
    background-color: #000000 !important;
    color: #ffffff !important; /* Texto blanco para contraste */
}

/* Más específico para centro de página con sombra */
div.box-shadow,
.shadow-box,
[class*="shadow"],
[class*="card"] {
    background-color: #000 !important;
}

/* Selector por estructura típica de "mitad/centro" */
.container > div:nth-child(2),
main > section,
.content-wrapper > .card {
    background-color: #000000 !important;
    color: #fff !important;
}

/* Título principal "Nuestras Causas" en blanco */
.page-title,
.entry-title,
h1.page-title,
.archive-title,
body.page h1:first-of-type,
body.single h1:first-of-type {
    color: #ffffff !important;
}

/* Si tiene fondo oscuro, agrega fondo negro también */
.page-title,
.entry-title {
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 10px;
}

/* Título "#Nuestras publicaciones" en blanco */
#nuestras-publicaciones,
.publicaciones-title,
h1:contains("Nuestras publicaciones"),
h2:contains("Nuestras publicaciones"),
.page-title--publicaciones {
    color: #ffffff !important;
    background-color: #000000 !important;
    padding: 10px 20px;
}
/* Forzar fondo blanco y texto oscuro en entradas de blog */
body.single-post,
body.single-post .page-content-wrapper,
body.single-post .content-container,
body.single-post .single-content,
body.single-post .single-content-inner,
body.single-post .card-layout {
    background-color: #ffffff !important;
    color: #474c5d !important;
}

/* Color oscuro para títulos */
body.single-post h1,
body.single-post h2,
body.single-post h3,
body.single-post h4,
body.single-post h5,
body.single-post h6,
body.single-post .single-page-title {
    color: #2f2e35 !important;
}

/* Párrafos, listas y enlaces dentro del contenido */
body.single-post .single-content-inner p,
body.single-post .single-content-inner li {
    color: #474c5d !important;
}

body.single-post .single-content-inner p a:not(.button) {
    color: var(--accent-color) !important;
}
/* Titular principal dentro de la entrada individual */
body.single .single-hero-title h1,
body.single .single-hero-title .title,
body.single h1:first-of-type,
body.single-post h1.title,
article.post .single-hero-title .title {
    color: #2f2e35 !important;
}

/* Categoría con numeral (#) dentro de la cabecera de la entrada */
body.single .single-hero-title .category a {
    color: #474c5d !important;
}

body.single .single-hero-title .category a::before {
    color: var(--accent-color, #ff5671) !important;
}

/* Metadatos dentro de la entrada (autor, fecha y tiempo de lectura) */
body.single .single-hero-title .meta-details,
body.single .single-hero-title .author-wrapper a,
body.single .single-hero-title .date,
body.single .single-hero-title .read-time {
    color: #797d8c !important;
}

body.single .single-hero-title .author-wrapper a:hover {
    color: var(--accent-color, #ff5671) !important;
}
/* Numerales (#) y texto en blanco dentro de la barra lateral y caja social */
.sidebar-container a[class*="term-id"],
.sidebar-container .widget_categories a,
.sidebar-container .rivax-tag-cloud-item,
.sidebar-container .wp-block-tag-cloud a,
.elementor-element-866564f a[class*="term-id"],
.card-layout-w .rivax-tag-cloud-item {
    color: #FFFFFF !important;
    --body-color: #FFFFFF !important;
}

/* Símbolo '#' en color blanco (o lila suave #E9D5FF) */
.sidebar-container a[class*="term-id"]::before,
.sidebar-container .widget_categories a::before,
.sidebar-container .rivax-tag-cloud-item::before,
.sidebar-container .wp-block-tag-cloud a::before,
.elementor-element-866564f a[class*="term-id"]::before,
.card-layout-w .rivax-tag-cloud-item::before {
    color: #FFFFFF !important;
}

/* Efecto al pasar el cursor (hover en lila brillante) */
.sidebar-container a[class*="term-id"]:hover,
.sidebar-container .rivax-tag-cloud-item:hover {
    color: #C480FF !important;
}

.sidebar-container a[class*="term-id"]:hover::before,
.sidebar-container .rivax-tag-cloud-item:hover::before {
    color: #C480FF !important;
}
body.single .single-hero-title .category a,
body.single .single-hero-title .category a::before {
    color: #FFFFFF !important;
}