/* 1. MENÚ OSCURO E ICONOS */
body.navigation-classic :is(#masthead, #masthead .navigation-wrapper, .primary-navigation, .primary-navigation .menu-primary, .primary-navigation ul, .primary-navigation ul ul),
.site-header, .navigation-wrapper, .main-navigation, .main-navigation ul { background: #111111 !important; border-color: #222222 !important; }

body.navigation-classic .primary-navigation :is(a, a:visited, button, *::before, *::after), #masthead .primary-navigation :is(*::before, *::after),
.main-navigation :is(a, .dropdown-toggle, .dropdown-toggle::before, .dropdown-toggle::after), .menu-item-has-children > a::after {
	color: #ffffff !important; border-top-color: #ffffff !important; fill: #ffffff !important; stroke: #ffffff !important; opacity: 1 !important;
}

body.navigation-classic .primary-navigation :is(li:hover > a, li.focus > a, li.current-menu-item > a, li.current_page_item > a, li.current-menu-ancestor > a, a:hover, a:focus, .dropdown-toggle:hover, .dropdown-toggle:focus),
.main-navigation :is(li:hover > a, li.focus > a, li.current-menu-item > a, li.current_page_item > a, li.current-menu-ancestor > a, a:hover, a:focus) { background: #111111 !important; color: #ffffff !important; }

body.navigation-classic .primary-navigation :is(ul.sub-menu, ul ul):is(::before, ::after), #masthead .primary-navigation :is(ul.sub-menu, ul ul):is(::before, ::after) { border-bottom-color: #111111 !important; border-top-color: transparent !important; }
body.navigation-classic .primary-navigation :is(ul ul ul, ul.sub-menu ul.sub-menu):is(::before, ::after), #masthead .primary-navigation ul ul ul:is(::before, ::after) { border-right-color: #111111 !important; border-left-color: #111111 !important; border-bottom-color: transparent !important; border-top-color: transparent !important; }
body.navigation-classic .primary-navigation ul ul :is(li, a, li:hover > a, li.focus > a, a:hover, a:focus), .main-navigation ul ul, .main-navigation ul ul :is(a, li:hover > a, a:hover) { background: #111111 !important; color: #ffffff !important; border-color: #222222 !important; }

@media screen and (min-width: 1020px) {
	body.navigation-classic :is(.primary-navigation .menu-primary, .navigation-wrapper) { max-width: 100% !important; width: 100% !important; padding-inline: 20px !important; }
	body.navigation-classic .primary-navigation .menu-primary > ul { display: flex !important; flex-wrap: nowrap !important; justify-content: center !important; align-items: center !important; width: 100% !important; }
	body.navigation-classic .primary-navigation .menu-primary > ul > li:not(.icono-bsky, .icono-facebook, .icono-instagram, .icono-lupa) > a { padding-inline: 11px !important; font-size: 13px !important; white-space: nowrap !important; }
	body.navigation-classic .primary-navigation :is(.dropdown-toggle, button, .menu-item-has-children::after, .menu-item-has-children::before) { display: none !important; }
	body.navigation-classic .primary-navigation .menu-primary > ul > li.menu-item-has-children > a { position: relative !important; padding-right: 26px !important; }
	body.navigation-classic .primary-navigation .menu-primary > ul > li.menu-item-has-children > a::after { position: absolute !important; right: 8px !important; top: 50% !important; transform: translateY(-50%) !important; margin: 0 !important; }
	body.navigation-classic .primary-navigation li.icono-bsky { margin-left: auto !important; }
	body.navigation-classic .primary-navigation li.icono-lupa { margin-left: 14px !important; }
	body.navigation-classic .primary-navigation :is(li.icono-bsky, li.icono-facebook, li.icono-instagram, li.icono-lupa) a { border: 0 !important; outline: 0 !important; box-shadow: none !important; }
}

body.navigation-classic .primary-navigation :is(li.icono-bsky, li.icono-facebook, li.icono-instagram, li.icono-lupa) > a { font-size: 0 !important; line-height: 0 !important; color: transparent !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; padding: 12px 10px !important; }
body.navigation-classic .primary-navigation :is(li.icono-bsky, li.icono-facebook, li.icono-instagram, li.icono-lupa) > a::before { font-family: "Genericons" !important; font-size: 14px !important; line-height: 1 !important; color: #ffffff !important; display: inline-block !important; }
body.navigation-classic .primary-navigation li.icono-facebook > a::before { content: "\f204" !important; }
body.navigation-classic .primary-navigation li.icono-instagram > a::before { content: "\f215" !important; }
body.navigation-classic .primary-navigation li.icono-lupa > a::before { content: "\f400" !important; }
body.navigation-classic .primary-navigation li.icono-bsky > a::before { font-family: sans-serif !important; content: "🦋" !important; filter: brightness(0) invert(1) !important; font-size: 13px !important; }
/* 2. HUELGA 11N (ID 18295) */
.site-branding, body.home .hero { display: none !important; }
body.page-id-18295 { overflow-x: hidden; }
body.page-id-18295 :is(.navigation-wrapper, .primary-navigation, .secondary-navigation, .header-navigation, #site-navigation, .hero, .hero-wrapper, .page-header, #post-18295 > .entry-header, .entry-breadcrumbs, .sharedaddy, .sd-sharing-enabled, #jp-post-flair, .jetpack-likes-widget-wrapper, .wpl-likebox, .entry-footer, #secondary, .widget-area, .footer-widget-area, .footer-widgets) { display: none !important; }
body.page-id-18295 :is(#primary, #main, #post-18295) { width: 100% !important; max-width: none !important; float: none !important; margin-inline: auto !important; }
body.page-id-18295 .entry-content { position: relative; left: 50%; transform: translateX(-50%); width: 100vw !important; max-width: 100vw !important; margin: 0 !important; padding: 0 !important; }
body.page-id-18295 .entry-content :is(.wp-block-image, figure, img) { display: block !important; width: 100% !important; max-width: none !important; height: auto !important; margin: 0 !important; }

/* 3. DIRECTORIO DE AUTORES/AS */
.indice-autores, .indice-autores-auto { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 4px; width: 100%; margin: 0 auto 25px; }
.indice-autores a { display: inline-block; padding: 7px 11px; border: 1px solid #ccc; border-radius: 4px; text-decoration: none; color: #333; font-weight: bold; text-align: center; }
.indice-autores-auto a { flex: 0 0 calc((100% - 52px) / 14); box-sizing: border-box; min-width: 0; padding: 7px 0; font-size: 12px; border: 1px solid #ccc; border-radius: 4px; color: #333; text-decoration: none; font-weight: bold; text-align: center; }
.indice-autores a:hover, .indice-autores-auto a:hover { background: #eee; color: #111; }
.indice-autores a:target, .indice-autores:not(:has(a:target)) #letra-a, .indice-autores-auto a:target, .indice-autores-auto:not(:has(a:target)) #auto-a { background: #333; color: #fff; border-color: #333; }
.entry-content:has(.indice-autores) ul.wp-block-list > li, .autores-automaticos:has(a[href*="/category/autores-as/"]) li { display: none; }
.entry-content:has(.indice-autores):not(:has(.indice-autores a:target)) ul.wp-block-list > li:has(a[href*="/category/autores-as/a"]), body:not(:has(.indice-autores-auto a:target)) .autores-automaticos li:has(a[href*="/category/autores-as/a"]) { display: list-item; }
.entry-content:has(#letra-a:target) li:has(a[href*="/category/autores-as/a"]), .entry-content:has(#letra-b:target) li:has(a[href*="/category/autores-as/b"]), .entry-content:has(#letra-c:target) li:has(a[href*="/category/autores-as/c"]), .entry-content:has(#letra-d:target) li:has(a[href*="/category/autores-as/d"]), .entry-content:has(#letra-e:target) li:has(a[href*="/category/autores-as/e"]), .entry-content:has(#letra-f:target) li:has(a[href*="/category/autores-as/f"]), .entry-content:has(#letra-g:target) li:has(a[href*="/category/autores-as/g"]), .entry-content:has(#letra-h:target) li:has(a[href*="/category/autores-as/h"]), .entry-content:has(#letra-i:target) li:has(a[href*="/category/autores-as/i"]), .entry-content:has(#letra-j:target) li:has(a[href*="/category/autores-as/j"]), .entry-content:has(#letra-k:target) li:has(a[href*="/category/autores-as/k"]), .entry-content:has(#letra-l:target) li:has(a[href*="/category/autores-as/l"]), .entry-content:has(#letra-m:target) li:has(a[href*="/category/autores-as/m"]), .entry-content:has(#letra-n:target) li:has(a[href*="/category/autores-as/n"]), .entry-content:has(#letra-ñ:target) li:has(a[href*="/category/autores-as/ñ"]), .entry-content:has(#letra-o:target) li:has(a[href*="/category/autores-as/o"]), .entry-content:has(#letra-p:target) li:has(a[href*="/category/autores-as/p"]), .entry-content:has(#letra-q:target) li:has(a[href*="/category/autores-as/q"]), .entry-content:has(#letra-r:target) li:has(a[href*="/category/autores-as/r"]), .entry-content:has(#letra-s:target) li:has(a[href*="/category/autores-as/s"]), .entry-content:has(#letra-t:target) li:has(a[href*="/category/autores-as/t"]), .entry-content:has(#letra-u:target) li:has(a[href*="/category/autores-as/u"]), .entry-content:has(#letra-v:target) li:has(a[href*="/category/autores-as/v"]), .entry-content:has(#letra-w:target) li:has(a[href*="/category/autores-as/w"]), .entry-content:has(#letra-x:target) li:has(a[href*="/category/autores-as/x"]), .entry-content:has(#letra-y:target) li:has(a[href*="/category/autores-as/y"]), .entry-content:has(#letra-z:target) li:has(a[href*="/category/autores-as/z"]),
body:has(#auto-a:target) .autores-automaticos li:has(a[href*="/category/autores-as/a"]), body:has(#auto-b:target) .autores-automaticos li:has(a[href*="/category/autores-as/b"]), body:has(#auto-c:target) .autores-automaticos li:has(a[href*="/category/autores-as/c"]), body:has(#auto-d:target) .autores-automaticos li:has(a[href*="/category/autores-as/d"]), body:has(#auto-e:target) .autores-automaticos li:has(a[href*="/category/autores-as/e"]), body:has(#auto-f:target) .autores-automaticos li:has(a[href*="/category/autores-as/f"]), body:has(#auto-g:target) .autores-automaticos li:has(a[href*="/category/autores-as/g"]), body:has(#auto-h:target) .autores-automaticos li:has(a[href*="/category/autores-as/h"]), body:has(#auto-i:target) .autores-automaticos li:has(a[href*="/category/autores-as/i"]), body:has(#auto-j:target) .autores-automaticos li:has(a[href*="/category/autores-as/j"]), body:has(#auto-k:target) .autores-automaticos li:has(a[href*="/category/autores-as/k"]), body:has(#auto-l:target) .autores-automaticos li:has(a[href*="/category/autores-as/l"]), body:has(#auto-m:target) .autores-automaticos li:has(a[href*="/category/autores-as/m"]), body:has(#auto-n:target) .autores-automaticos li:has(a[href*="/category/autores-as/n"]), body:has(#auto-nn:target) .autores-automaticos li:has(a[href*="/category/autores-as/ñ"]), body:has(#auto-o:target) .autores-automaticos li:has(a[href*="/category/autores-as/o"]), body:has(#auto-p:target) .autores-automaticos li:has(a[href*="/category/autores-as/p"]), body:has(#auto-q:target) .autores-automaticos li:has(a[href*="/category/autores-as/q"]), body:has(#auto-r:target) .autores-automaticos li:has(a[href*="/category/autores-as/r"]), body:has(#auto-s:target) .autores-automaticos li:has(a[href*="/category/autores-as/s"]), body:has(#auto-t:target) .autores-automaticos li:has(a[href*="/category/autores-as/t"]), body:has(#auto-u:target) .autores-automaticos li:has(a[href*="/category/autores-as/u"]), body:has(#auto-v:target) .autores-automaticos li:has(a[href*="/category/autores-as/v"]), body:has(#auto-w:target) .autores-automaticos li:has(a[href*="/category/autores-as/w"]), body:has(#auto-x:target) .autores-automaticos li:has(a[href*="/category/autores-as/x"]), body:has(#auto-y:target) .autores-automaticos li:has(a[href*="/category/autores-as/y"]), body:has(#auto-z:target) .autores-automaticos li:has(a[href*="/category/autores-as/z"]), body:has(#auto-nn:target) .autores-automaticos li:has(a[href*="/category/autores-as/namanal/"]) { display: list-item; }
body:has(#auto-n:target) .autores-automaticos li:has(a[href*="/category/autores-as/namanal/"]) { display: none; }
@media (max-width: 600px) { .indice-autores-auto a { flex-basis: calc((100% - 24px) / 7); } }
/* 4. CARRUSEL EVENTOS Y ESTILOS EDITORIALES */
#carrusel-eventos-auto { position: relative; display: block; width: 100%; height: 420px !important; overflow: hidden; box-sizing: border-box; }
#carrusel-eventos-auto .cartel-enlace { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
#carrusel-eventos-auto .cartel-imagen { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: 1; }

:is(.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .wp-block-heading, .editor-styles-wrapper .wp-block-heading):not(.has-text-color):not([style*="color"]) { color: #111111 !important; }
.rl-seccion-titulo { color: #d60000 !important; }
:is(#primary, #secondary) a:not(.wp-block-button__link, .wp-element-button, .button, .sd-button, [href^="tel:"]), :is(.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .wp-block-heading) a { color: #d60000 !important; }
:is(#primary, #secondary) a:not(.wp-block-button__link, .wp-element-button, .button, .sd-button, [href^="tel:"]):is(:hover, :focus), :is(.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .wp-block-heading) a:hover { color: #000000 !important; }
:is(footer, .site-footer, #colophon), :is(footer, .site-footer, #colophon) a, a[href^="tel:"] { color: inherit !important; text-decoration: none; }
:is(.wp-block-button__link, .wp-element-button, .button):is(*, :hover, :focus), .sharedaddy .sd-content ul li a.sd-button:not(.share-print, .share-email):is(*, :hover) { color: #ffffff !important; }
.sharedaddy .sd-content ul li a:is(.share-print, .share-email) { color: #333333 !important; }
.wp-block-latest-posts__post-title, .rl-articulo-titulo a, .entry-title a, #page #primary :is(.entry-title a, h2.entry-title a, article h2 a) { color: #111111 !important; text-decoration: none !important; }
.wp-block-latest-posts__post-title:hover, .rl-articulo-titulo a:hover, .entry-title a:is(:hover, :focus), #page #primary :is(.entry-title a:hover, .entry-title a:focus, h2.entry-title a:hover, article h2 a:hover) { color: #d60000 !important; }

.wp-block-quote, blockquote { position: relative !important; border: 1px solid #e0e0e0 !important; border-left: 6px solid #b30000 !important; border-radius: 0 8px 8px 0 !important; padding: 18px 22px 18px 42px !important; margin: 24px 0 !important; background-color: #f4f4f4 !important; font-family: inherit !important; font-size: 0.95em !important; line-height: 1.6 !important; font-style: italic !important; color: #222222 !important; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important; }
.wp-block-quote::before, blockquote::before { content: "“" !important; position: absolute !important; top: 6px !important; left: 12px !important; font-size: 46px !important; line-height: 1 !important; color: #b30000 !important; font-family: Georgia, serif !important; font-style: normal !important; opacity: 0.85 !important; }
:is(.wp-block-quote, blockquote) :is(p, pre) { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; white-space: normal !important; margin-bottom: 0.6em !important; }
:is(.wp-block-quote, blockquote) p:last-child { margin-bottom: 0 !important; }

html body.single #page #primary .entry-content :is(sup, sup a, a[href^="#"], [data-fn], [data-fn] a, .wp-block-footnotes a) { background: transparent !important; border: none !important; color: #222222 !important; text-decoration: none !important; font-weight: 600 !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; }
html body.single #page #primary .entry-content :is(sup a, a[href^="#"], [data-fn] a, .wp-block-footnotes a):hover { color: #d60000 !important; text-decoration: underline !important; }
/* 5. NÚMEROS, REDES DE AFINIDAD, PORTADA Y MÁS VISITADAS */
.rl-seccion-bloque { margin-bottom: 45px; }
.rl-seccion-titulo { font-size: 1.65rem; font-weight: 700; border-bottom: 2px solid #e0e0e0; padding-bottom: 10px; margin-bottom: 24px; }
.rl-articulos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; align-items: start; }
.rl-articulo-card { border-bottom: 1px solid #eaeaea; padding-bottom: 15px; display: flex; flex-direction: column; }
.rl-articulos-grid .rl-articulo-img { display: block !important; width: 100% !important; aspect-ratio: 1296 / 682 !important; overflow: hidden !important; background-color: #f2f2f2 !important; margin-bottom: 12px; }
.rl-articulos-grid .rl-articulo-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
.rl-articulo-titulo { font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin: 0 0 8px 0; }
.rl-articulo-autor { font-size: 0.85rem; color: #666; font-weight: 500; }

body.rl-pagina-directorio .entry-content:has(.wp-block-columns):is(::before, ::after) { display: none !important; }
body.rl-pagina-directorio .entry-content:has(.wp-block-columns) { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 20px !important; }
body.rl-pagina-directorio .entry-content .wp-block-columns { display: contents !important; }
body.rl-pagina-directorio .entry-content:has(.wp-block-columns) > *:not(.wp-block-columns) { grid-column: 1 / -1 !important; }
body.rl-pagina-directorio .entry-content .wp-block-columns .wp-block-column { width: 100% !important; max-width: 100% !important; flex-basis: auto !important; margin: 0 !important; background: #ffffff !important; border: 1px solid #e4e4e4 !important; border-top: 3px solid #d60000 !important; border-radius: 6px !important; padding: 20px 16px !important; text-align: center !important; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important; display: flex !important; flex-direction: column !important; align-items: center !important; overflow: hidden; }
body.rl-pagina-directorio .entry-content .wp-block-columns .wp-block-column .wp-block-image { height: 95px !important; width: 100% !important; display: flex !important; align-items: center; justify-content: center; margin: 0 0 14px 0 !important; }
body.rl-pagina-directorio .entry-content .wp-block-columns .wp-block-column .wp-block-image img { max-height: 85px !important; max-width: 100% !important; width: auto !important; height: auto !important; object-fit: contain !important; }
body.rl-pagina-directorio .entry-content .wp-block-columns .wp-block-column p { margin: 0 0 6px 0 !important; font-size: 0.95rem !important; }
body.rl-pagina-directorio .entry-content .wp-block-columns .wp-block-column a { font-weight: 700 !important; text-decoration: none !important; font-size: 1rem !important; }
body.rl-pagina-directorio .entry-content .wp-block-columns .wp-block-column:empty { display: none !important; }

body.page #page #primary .entry-content :is(a[href^="#"]:not(.button), a[data-letter]:not(.button), .az-letters a:not(.button), .letter-index a:not(.button), .indice-alfabetico a:not(.button), div:first-child > a:not(.button)) { background-color: #222222 !important; color: #ffffff !important; border: 1px solid #222222 !important; }
body.page #page #primary .entry-content :is(a[href^="#"]:not(.button):hover, a[href^="#"]:not(.button):focus, a[href^="#"]:not(.button).active, a[href^="#"]:not(.button).current, a[href^="#"]:not(.button).selected, .active > a[href^="#"]:not(.button), a[data-letter]:not(.button):hover, a[data-letter]:not(.button).active, .az-letters a:not(.button):hover, .az-letters .active a:not(.button), div:first-child > a:not(.button):hover, div:first-child > a:not(.button).active, div:first-child > a:not(.button).current) { background-color: #ffffff !important; color: #111111 !important; border: 1px solid #222222 !important; }
body.page #page #primary .entry-content ul li a:not([href^="#"]) { color: #111111 !important; text-decoration: none !important; }
body.page #page #primary .entry-content ul li a:not([href^="#"]):is(:hover, :focus) { color: #d60000 !important; text-decoration: none !important; }

body.home .entry-content :is(hr, .wp-block-separator, .wp-block-group) { border-top: none !important; border-bottom: none !important; }
body.home .entry-content :is(hr, .wp-block-separator) { display: none !important; }
body.home .entry-content :is(article, .wp-block-post) { border-top: none !important; border-bottom: 1px solid #e5e5e5 !important; padding-bottom: 14px !important; margin-bottom: 18px !important; }
body.page:not(.home) .entry-content :is(hr, .wp-block-separator) { display: block !important; border: none !important; border-top: 1px solid #e5e5e5 !important; background-color: transparent !important; height: 1px !important; opacity: 1 !important; margin: 20px 0 !important; }
.page .entry-content :is(h1 a, h2 a, h3 a, h4 a, .wp-block-post-title a, .entry-title a) { text-decoration: none !important; border-bottom: none !important; box-shadow: none !important; }
.page .entry-content :is(article h2 a, article h3 a, .wp-block-post-title a, .entry-title a):hover { text-decoration: none !important; color: #b30000 !important; }

.single-post .entry-footer { display: block !important; position: relative !important; clear: both !important; margin: 20px 0 30px !important; padding-bottom: 15px !important; border-bottom: 1px solid #e5e5e5; height: auto !important; overflow: visible !important; }
.single-post .entry-footer :is(.cat-links, .tags-links) { display: block !important; margin-bottom: 8px !important; line-height: 1.5 !important; }
.single-post .post-navigation { position: relative !important; clear: both !important; margin-top: 25px !important; }

.popular-posts.wpp-ajax ul.wpp-list { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; column-gap: 22px !important; row-gap: 26px !important; list-style: none !important; padding: 0 !important; margin: 18px 0 0 0 !important; border: none !important; }
.popular-posts.wpp-ajax ul.wpp-list li { display: flex !important; flex-direction: column !important; margin: 0 !important; padding: 0 !important; border: none !important; box-shadow: none !important; }
.popular-posts.wpp-ajax ul.wpp-list li a:is(*, :hover, :focus) { border: none !important; text-decoration: none !important; box-shadow: none !important; background-image: none !important; }
.popular-posts.wpp-ajax ul.wpp-list li:is(::after, ::before), .popular-posts.wpp-ajax ul.wpp-list li a:is(::after, ::before) { display: none !important; content: none !important; }
.popular-posts.wpp-ajax ul.wpp-list li img.wpp-thumbnail { width: 100% !important; aspect-ratio: 16 / 9 !important; height: auto !important; object-fit: cover !important; margin-bottom: 10px !important; display: block !important; border: none !important; }
.popular-posts.wpp-ajax ul.wpp-list li a.wpp-post-title { font-weight: 700 !important; font-size: 14px !important; line-height: 1.35 !important; margin-bottom: 6px !important; }
.popular-posts.wpp-ajax ul.wpp-list li a.wpp-post-title:hover { text-decoration: underline !important; }
.popular-posts.wpp-ajax .rl-wpp-cat, .popular-posts.wpp-ajax .rl-wpp-cat a { font-size: 13px !important; color: #666666 !important; }
.popular-posts.wpp-ajax .rl-wpp-cat a:hover { color: #111111 !important; }

@media (max-width: 900px) { body.rl-pagina-directorio .entry-content:has(.wp-block-columns) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 768px) { .rl-articulos-grid, .popular-posts.wpp-ajax ul.wpp-list { grid-template-columns: 1fr !important; } }
@media (max-width: 550px) { body.rl-pagina-directorio .entry-content:has(.wp-block-columns) { grid-template-columns: 1fr !important; } }