/*!
Theme Name: basejl
Theme URI: https://justiciaabierta.net
Author: Justicia Abierta
Author URI: https://justiciaabierta.net
Description: Tema personalizado para Justicia Abierta
Version: 1.0.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: basejl

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
    - Variables
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	transition: background-color 0.3s ease, color 0.3s ease;
	
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}



/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
  appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
  appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}



/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/


/* Variables
--------------------------------------------- */

:root {
    --font-family: "Noto Sans", sans-serif;
    --font-weight: 400;
    --texto-thin: 200;
    --texto-normal: 400;
    --texto-notsobold :500;
    --texto-bold: 700;
    --texto-comfortaa: "Comfortaa", sans-serif;
}
.heading {
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.texto {
    font-family: var(--font-family);
    font-optical-sizing: auto;
    font-weight: var(--font-weight);
    font-style: normal;
}
  
.texto-thin {
    --font-weight: 200;
}
  
.texto-normal {
    --font-weight: 400;
}
  
.texto-bold {
    --font-weight: 700;
}
body {
    font-family: var(--font-family);
    font-optical-sizing: auto;
    font-weight: var(--font-weight);
    font-style: normal;
  }  



:root {
  /* Colores principales */
  --color-primary: rgb(106, 159, 181);
  --color-secondary: rgb(225, 198, 153);

  /* Neutros */
  --color-white: rgb(245, 246, 246);
  --color-black: rgb(34, 36, 41);
  --color-gray-light: rgb(234, 234, 234);
  --color-gray-medium: rgb(151, 151, 151); 
  --color-gray-dark: rgb(74, 74, 74); 
  --color-gray-discrete: rgb(236, 236, 236);
  --color-white-rgba: rgba(255,255,255,0.8);
  --color-black-rgba: rgba(0,0,0,0.8); 
  --color-white-rgba100: rgba(255,255,255,1);

  /* Acciones */
  --color-success: rgb(107, 175, 116); 
  --color-warning: rgb(214, 167, 84);
  --color-error: rgb(216, 92, 92);
  --color-info: rgb(92, 135, 200);
	
  /* Enlaces */
  --color-link: rgb(47, 110, 129);
  --color-linka: 47,110,129;/* Este es el normal del a en light */
  --color-linka-hover: 61,107,176; /* Este es el hover en light */
  --color-link-visited: rgb(25, 83, 101);
  --color-link-hover: rgb(38, 96, 114); 
  --color-link-active: rgb(39, 74, 138);

  /* Transparencias */
  --color-overlay: rgba(0, 0, 0, 0.4);

  /* Variables y reset */
  --header-height: 70px;
  --border-radius: 1em;
  
  --transition-time: 0.3s;
}

body.dark-theme {
  /* Colores principales */
  --color-primary: rgb(81, 123, 138);
  --color-secondary: rgb(191, 163, 116);

  /* Neutros */
  --color-white: rgb(28, 28, 28);
  --color-black: rgb(240, 240, 240); 
  --color-gray-light: rgb(96, 96, 96);
  --color-gray-medium: rgb(198, 198, 198);
  --color-gray-dark: rgb(226, 226, 226);
  --color-gray-discrete: rgb(18, 18, 18);
  --color-black-rgba: rgba(255,255,255,0.8);
  --color-white-rgba: rgba(0,0,0,0.8);
  --color-white-rgba100: rgba(0,0,0,1);

  /* Enlaces */
  --color-link: rgb(134, 166, 198);
  --color-linkb: 134,166,198; /* Este es el normal del a en dark */
  --color-linkb-hover: 140,170,201; /* Este es el hover del a en dark */
  --color-link-visited: rgb(112, 139, 167);
  --color-link-hover: rgb(140, 170, 201);
  --color-link-active: rgb(58, 88, 117);

  /* Acciones */
  --color-success: rgb(84, 138, 94);
  --color-warning: rgb(169, 123, 60);
  --color-error: rgb(176, 70, 70);
  --color-info: rgb(71, 105, 150);

  /* Transparencias */
  --color-overlay: rgba(255, 255, 255, 0.1);
}


@media (min-width: 921px) {
  #masthead { 
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    border: 2px solid var(--color-white-rgba);
    background: var(--color-white-rgba);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }
  body {
    margin-top: 8em !important;
  }
}
.theme-toggle-item {
    display: flex;
  align-items: center;
  justify-content: start; 
  padding: 0.75rem 1rem;
}


#theme-toggle {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 25px;
    display: flex;
  align-items: center;
  justify-content: center;
}

#theme-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}



/* Animaciones
--------------------------------------------- */


@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Keyframes para Slide Derecha */
@keyframes slideFromRight {
	from { 
		opacity: 0;
		transform: translateX(50px); 
	}
	to { 
		opacity: 1;
		transform: translateX(0); 
	}
}

/* Keyframes para Slide Izquierda */
@keyframes slideFromLeft {
	from { 
		opacity: 0;
		transform: translateX(-50px); 
	}
	to { 
		opacity: 1;
		transform: translateX(0); 
	}
}

/* Keyframes para Slide Abajo */
@keyframes slideFromBottom {
	from { 
		opacity: 0;
		transform: translateY(50px); 
	}
	to { 
		opacity: 1;
		transform: translateY(0); 
	}
}
/* Keyframes para Slide Arriba */
@keyframes slideFromTop {
	from { 
		opacity: 0;
		transform: translateY(-50px); 
	}
	to { 
		opacity: 1;
		transform: translateY(0); 
	}
}

/* Animaciones Iniciales */
.initial-fade {
	opacity: 0;
	animation: fadeIn 1s ease forwards;
	animation-delay: 0.2s;
}

.initial-right {
	opacity: 0;
	animation: slideFromRight 1s ease forwards;
	animation-delay: 0.2s;
}

.initial-left {
	opacity: 0;
	animation: slideFromLeft 1s ease forwards;
	animation-delay: 0.2s;
}

.initial-bottom {
	opacity: 0;
	animation: slideFromBottom 1s ease forwards;
	animation-delay: 0.2s;
}

.initial-top {
	opacity: 0;
	animation: slideFromTop 1s ease forwards;
	animation-delay: 0.2s;
}
/* Animaciones de Scroll */
.scroll-fade {
	opacity: 0;
	animation-name: fadeIn;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	view-timeline-axis: block;
	animation-timeline: view();
	animation-range: cover 0% cover 50%;
}

.scroll-right {
	opacity: 0;
	animation-name: slideFromRight;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	view-timeline-axis: block;
	animation-timeline: view();
	animation-range: cover 0% cover 50%;
}

.scroll-left {
	opacity: 0;
	animation-name: slideFromLeft;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	view-timeline-axis: block;
	animation-timeline: view();
	animation-range: cover 0% cover 50%;
}

.scroll-bottom {
	opacity: 0;
	animation-name: slideFromBottom;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	view-timeline-axis: block;
	animation-timeline: view();
	animation-range: cover 0% cover 50%;
}

.delay1 {
	animation-delay: 250ms;
}
.delay2 {
	animation-delay: 500ms;
}
.delay3 {
	animation-delay: 750ms;
}
.delay4 {
	animation-delay: 1000ms;
}


 

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color-black);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: var(--color-gray-light);
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted var(--color-gray-medium);
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 150%;
}

/* Elements
--------------------------------------------- */
body {
	background:var(--color-white);
}

hr {
	background-color: var(--color-gray-medium);
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 0.6em 1.2em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 0.6em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--color-link);
}

a:hover {
	color: var(--color-link-hover);
}

a:visited {
	color: var(--color-link-visited);
}
a:focus,
a:active {
	color: var(--color-link-active);
}

a:focus {
	outline: none;
}

a:hover,
a:active {
	outline: 0;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  position: relative;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px; /* Línea oculta inicialmente */
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease-in-out;
}

h1 a:hover, h2 a:hover, h3 a:hover, 
h4 a:hover, h5 a:hover, h6 a:hover {
  background-size: 100% 2px; /* La línea se expande de izquierda a derecha */
}


/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */



.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle .line {
  width: 100%;
  height: 4px;
  background-color: var(--color-black);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}


/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.entry-title {
	font-size: 2.5rem;
  text-align: center;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}










/* Header y Branding */
.site-header {
  display: flex;
  justify-content: center;
  align-items: baseline;
  padding: 0 20px;
  background-color: var(--color-white);
  /*height: var(--header-height);*/
  position: relative;
  width: 100%;
}

.site-branding {
  display: flex;
  align-items: center;
  flex: 1;
  z-index: 999999;
}
.site-title {
	margin: 0;
}

.site-header.hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}



#colophon, #colophon h2  {
	background: var(--color-gray-dark);
	color: var(--color-white);
}
#colophon a {
	color: var(--color-white);
    text-decoration: none;
}






/*
:root{

    --screen-min-width:30;
    --screen-max-width:120;
  

    --h1-min-size:3.0;
    --h1-max-size:5.0;
  
    --h2-min-size:2.8;
    --h2-max-size:4.5;

    --h3-min-size:2.1;
    --h3-max-size:4;

    --h4-min-size:1.6;
    --h4-max-size:3.5;
	
	 --h5-min-size:1.4;
     --h5-max-size:2.8;

    --entry-content-p-min-size:1.8;
    --entry-content-p-max-size:2.4;

    --entry-content-li-min-size:1.8;
    --entry-content-li-max-size:2.2;

    --entry-content-td-min-size:1.6;
    --entry-content-td-max-size:2;

    --entry-content-th-min-size:1.6;
    --entry-content-th-max-size:2;
	
    --entry-content;
    --entry-content;

  
     --h1-slope: calc((var(--h1-max-size) - var(--h1-min-size)) / (var(--screen-max-width) - var(--screen-min-width)));
     --h2-slope: calc((var(--h2-max-size) - var(--h2-min-size)) / (var(--screen-max-width) - var(--screen-min-width)));
     --h3-slope: calc((var(--h3-max-size) - var(--h3-min-size)) / (var(--screen-max-width) - var(--screen-min-width)));
     --h4-slope: calc((var(--h4-max-size) - var(--h4-min-size)) / (var(--screen-max-width) - var(--screen-min-width)));
	 --h5-slope: calc((var(--h5-max-size) - var(--h5-min-size)) / (var(--screen-max-width) - var(--screen-min-width)));
     --entry-content-p-slope: calc((var(--entry-content-p-max-size) - var(--entry-content-p-min-size)) / (var(--screen-max-width) - var(--screen-min-width)));
     --entry-content-li-slope: calc((var(--entry-content-li-max-size) - var(--entry-content-li-min-size)) / (var(--screen-max-width) - var(--screen-min-width)));
     --entry-content-td-slope: calc((var(--entry-content-td-max-size) - var(--entry-content-td-min-size)) / (var(--screen-max-width) - var(--screen-min-width)));
     --entry-content-th-slope: calc((var(--entry-content-th-max-size) - var(--entry-content-th-min-size)) / (var(--screen-max-width) - var(--screen-min-width)));
     --entry-content-slope: calc((var(--entry-content-max-size) - var(--entry-content-min-size)) / (var(--screen-max-width) - var(--screen-min-width)));

  
     --h1-intersection: calc((-1 * var(--screen-min-width) * var(--h1-slope)) + var(--h1-min-size));
     --h2-intersection: calc((-1 * var(--screen-min-width) * var(--h2-slope)) + var(--h2-min-size));
     --h3-intersection: calc((-1 * var(--screen-min-width) * var(--h3-slope)) + var(--h3-min-size));
     --h4-intersection: calc((-1 * var(--screen-min-width) * var(--h4-slope)) + var(--h4-min-size));
     --h5-intersection: calc((-1 * var(--screen-min-width) * var(--h5-slope)) + var(--h5-min-size));	
     --entry-content-p-intersection: calc((-1 * var(--screen-min-width) * var(--entry-content-p-slope)) + var(--entry-content-p-min-size));
     --entry-content-li-intersection: calc((-1 * var(--screen-min-width) * var(--entry-content-li-slope)) + var(--entry-content-li-min-size));
     --entry-content-td-intersection: calc((-1 * var(--screen-min-width) * var(--entry-content-td-slope)) + var(--entry-content-td-min-size));
     --entry-content-th-intersection: calc((-1 * var(--screen-min-width) * var(--entry-content-th-slope)) + var(--entry-content-th-min-size));
     --entry-content-intersection: calc((-1 * var(--screen-min-width) * var(--entry-content-slope)) + var(--entry-content-min-size));

     --h1-preferred: calc(var(--h1-intersection) + (var(--h1-slope) * 100));
     --h2-preferred: calc(var(--h2-intersection) + (var(--h2-slope) * 100));
     --h3-preferred: calc(var(--h3-intersection) + (var(--h3-slope) * 100));
     --h4-preferred: calc(var(--h4-intersection) + (var(--h4-slope) * 100));
 	 --h5-preferred: calc(var(--h5-intersection) + (var(--h5-slope) * 100)); 
	--entry-content-p-preferred: calc(var(--entry-content-p-intersection) + (var(--entry-content-p-slope) * 100));
	--entry-content-li-preferred: calc(var(--entry-content-li-intersection) + (var(--entry-content-li-slope) * 100));
	--entry-content-td-preferred: calc(var(--entry-content-td-intersection) + (var(--entry-content-td-slope) * 100));
	--entry-content-th-preferred: calc(var(--entry-content-th-intersection) + (var(--entry-content-th-slope) * 100));
	--entry-content-preferred: calc(var(--entry-content-intersection) + (var(--entry-content-slope) * 100));
	


     --h1-min: calc(var(--h1-min-size) * 1rem);
     --h1-mid: calc(var(--h1-preferred) * 1vw);
     --h1-max: calc(var(--h1-max-size) * 1rem);
  
     --h2-min: calc(var(--h2-min-size) * 1rem);
     --h2-mid: calc(var(--h2-preferred) * 1vw);
     --h2-max: calc(var(--h2-max-size) * 1rem);
  
     --h3-min: calc(var(--h3-min-size) * 1rem);
     --h3-mid: calc(var(--h3-preferred) * 1vw);
     --h3-max: calc(var(--h3-max-size) * 1rem);
  
     --h4-min: calc(var(--h4-min-size) * 1rem);
     --h4-mid: calc(var(--h4-preferred) * 1vw);
     --h4-max: calc(var(--h4-max-size) * 1rem);
	
     --h5-min: calc(var(--h5-min-size) * 1rem);
     --h5-mid: calc(var(--h5-preferred) * 1vw);
     --h5-max: calc(var(--h5-max-size) * 1rem);
	
     --entry-content-p-min: calc(var(--entry-content-p-min-size) * 1rem);
     --entry-content-p-mid: calc(var(--entry-content-p-preferred) * 1vw);
     --entry-content-p-max: calc(var(--entry-content-p-max-size) * 1rem);
	
     --entry-content-li-min: calc(var(--entry-content-li-min-size) * 1rem);
     --entry-content-li-mid: calc(var(--entry-content-li-preferred) * 1vw);
     --entry-content-li-max: calc(var(--entry-content-li-max-size) * 1rem);
	
     --entry-content-td-min: calc(var(--entry-content-td-min-size) * 1rem);
     --entry-content-td-mid: calc(var(--entry-content-td-preferred) * 1vw);
     --entry-content-td-max: calc(var(--entry-content-td-max-size) * 1rem);
	
     --entry-content-th-min: calc(var(--entry-content-th-min-size) * 1rem);
     --entry-content-th-mid: calc(var(--entry-content-th-preferred) * 1vw);
     --entry-content-th-max: calc(var(--entry-content-th-max-size) * 1rem);
	
     --entry-content-min: calc(var(--entry-content-min-size) * 1rem);
     --entry-content-mid: calc(var(--entry-content-preferred) * 1vw);
     --entry-content-max: calc(var(--entry-content-max-size) * 1rem);

     --h1-font-size: clamp(var(--h1-min), var(--h1-mid), var(--h1-max));
     --h2-font-size: clamp(var(--h2-min), var(--h2-mid), var(--h2-max));
     --h3-font-size: clamp(var(--h3-min), var(--h3-mid), var(--h3-max));
     --h4-font-size: clamp(var(--h4-min), var(--h4-mid), var(--h4-max));
     --h5-font-size: clamp(var(--h5-min), var(--h5-mid), var(--h5-max));
	--entry-content-p-font-size: clamp(var(--entry-content-p-min), var(--entry-content-p-mid), var(--entry-content-p-max));
	--entry-content-li-font-size: clamp(var(--entry-content-li-min), var(--entry-content-li-mid), var(--entry-content-li-max));
	--entry-content-td-font-size: clamp(var(--entry-content-td-min), var(--entry-content-td-mid), var(--entry-content-td-max));
	--entry-content-th-font-size: clamp(var(--entry-content-th-min), var(--entry-content-th-mid), var(--entry-content-th-max));
	--entry-content-font-size: clamp(var(--entry-content-min), var(--entry-content-mid), var(--entry-content-max));
	
     } 
*/

/*
html{
font-size:62.5%;
}

body{
font-size:1.8rem;
}
*/
/*
h1{
font-size: var(--h1-font-size);
margin-bottom: 2rem;
}  

h2{
font-size: var(--h2-font-size);
margin-bottom: 2rem;
}  

h3{
font-size: var(--h3-font-size);
margin-bottom: 2rem;
}  

h4{
font-size: var(--h4-font-size);
margin-bottom: 2rem;
}

h5 {
    font-size: var(--h5-font-size);
    margin-bottom: 1.5rem;
}

.entry-content p {
    font-size: var(--entry-content-p-font-size);
}

.entry-content li {
    font-size: var(--entry-content-li-font-size);
}

.entry-content td {
    font-size: var(--entry-content-td-font-size);
}

.entry-content th {
    font-size: var(--entry-content-th-font-size);
}

.entry-content {
    font-size: var(--entry-content-font-size);
}

*/


/* -------------------------------
   Menú Responsivo Sliding Multinivel
   ------------------------------- */
   /* ====================
   ESTILOS GENERALES
   ==================== */
.main-navigation {
    position: relative;
    z-index: 1000;
}

/* Botón Hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.menu-toggle .hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s ease;
}

.menu-toggle .line {
    width: 30px;
    height: 3px;
    background: var(--color-gray-dark);
    transition: all 0.3s ease;
}

/* ====================
   VERSIÓN ESCRITORIO
   ==================== */
.primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}
/*.menu-item {
  display: flex;
  align-items: center; 
}
.menu-item-search, .theme-toggle-item {
  position: relative;
  top: -4px;
}*/
.menu-item a, .menu-item a:hover, .menu-item a:visited {
    color: var(--color-black);
    font-size: 0.8em;
    font-family: 'Comfortaa', Arial, sans-serif;
    line-height: 1.2rem !important;
}
@media (max-width: 921px) {
  .menu-item a, .menu-item a:hover, .menu-item a:visited {
    font-size: 1em;
  }
}
.primary-menu > .menu-item {
    position: relative;
}

.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: var(--color-white);
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear;
}

.primary-menu .menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s; 
}

.primary-menu .menu-item:not(:hover) > .sub-menu {
    transition-delay: 1s; 
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 1s;
}
.sub-menu li {
    padding: 1em 0.4em;
}

.menu-item-has-children:hover > a, .menu-item-has-children:hover > a {
    color: var(--color-link-hover);
}

/* ====================
   VERSIÓN MÓVIL
   ==================== */
@media (max-width: 768px) {
  .site-header, .navbar {
    background-color: var(--color-white-rgba100);
  }
  .site-header {
    padding: 0;
    width: 100%;
    display: block;
    z-index: 999;
  }
  .container-fluid > .show {
    height: 100vh;
    align-content: start;
    overflow-y: auto;
    overflow-x: hidden;
  }
  /* Acelerar la animación de despliegue/cierre del menú en móviles */
.collapsing {
  transition: height 0.2s ease !important;
}
.navbar-collapse {
  position: fixed;
  top: 60px; /* Debajo del navbar */
  left: 0;
  width: 100%;
  height: calc(100vh - 60px); /* Ocupa el espacio restante */
  background-color: var(--color-white-rgba100);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Alinea los elementos a la izquierda */
  justify-content: flex-start; /* Alinea las opciones arriba */
  padding: 1rem; /* Espaciado para que no queden pegadas al borde */
  overflow-y: auto; /* Permite scroll si hay muchas opciones */
}

.navbar-collapse.show {
  display: flex !important;
}

/* Ajustar los enlaces dentro del menú */
.navbar-nav {
  width: 100%;
}

/* Asegurar que los ítems del menú no estén centrados */
.navbar-nav .nav-item {
  width: 100%;
}

.navbar-nav .nav-link {
  padding: 0.75rem 1rem;
}


/* Estilo base del botón */
.navbar-toggler {
  position: relative;
  width: 52px;
  height: 30px;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  cursor: pointer;
  z-index: 1100;
}

/* Líneas del icono */
.toggler-bar {
  width: 100%;
  height: 4px;
  background-color: var(--color-black);
  border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animación al abrir */
.navbar-toggler[aria-expanded="true"] .top {
  transform: translateY(9px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .middle {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .bottom {
  transform: translateY(-9px) rotate(-45deg);
}

/* Animación al cerrar */
.navbar-toggler[aria-expanded="false"] .top {
  transform: translateY(0) rotate(0);
}

.navbar-toggler[aria-expanded="false"] .middle {
  opacity: 1;
}

.navbar-toggler[aria-expanded="false"] .bottom {
  transform: translateY(0) rotate(0);
}
.navbar-toggler, .navbar-toggler:focus,.navbar-toggler:active,.navbar-toggler[aria-expanded="true"] {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

	.navbar li {
		line-height: 1em;
	}

    
    /* Submenús 
    .sub-menu {
        position: fixed;
        top: 0;
        left: 100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        padding: 80px 20px 20px;
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                   visibility 0s 0.4s;
        transform: translateX(0);
        z-index: 999;
    }
    
    .sub-menu.submenu-active {
        visibility: visible;
		left: 0;
        transition-delay: 0s;
        z-index: 1000;
    }
    
    .submenu-toggle {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        padding: 0 15px;
        cursor: pointer;
        font-size: 1.5em;
        line-height: 1;
        color: #666;
    }
    
    .menu-item-has-children > a {
        position: relative;
        padding-right: 40px !important;
    }
    
    .menu-item-has-children > a::after {
        content: '›';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5em;
        transition: transform 0.3s;
    }
    
    .menu-item-has-children > .submenu-active + a::after {
        transform: translateY(-50%) rotate(90deg);
    }
    */
    /* Animación Hamburguesa */
    .menu-toggle.is-active .line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .menu-toggle.is-active .line:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.is-active .line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Bloquear Scroll */
    body.menu-open {
        overflow: hidden;
    }
    .menu-item .go-back {
        display: block;
    }
    /* Bloquea el scroll del fondo sin afectar el navbar */
.no-scroll {
  position: fixed;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}


}

.menu-item .go-back, .menu-back-button, .submenu-toggle {
    display: none;
}
.sub-menu {
    list-style-type: none;
    margin: 0;
}
/* ====================
   MEJORAS DE TRANSICIÓN
   ==================== */
.primary-menu,
.sub-menu {
    will-change: transform;
    backface-visibility: hidden;
}

/* ====================
   ESTILOS DE TEXTO
   ==================== */
.primary-menu a {
    color: #333;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.primary-menu a:hover {
    color: var(--color-link-hover);
}

@media (max-width: 768px) {
    /* Transiciones generales */
    .sub-menu {
        transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
    }
    
    /* Estado activo (menú abierto) */
    .sub-menu.submenu-active {
        transform: translateX(0);
    }
    
    /* Estado inactivo (animación de salida) */
    .sub-menu:not(.submenu-active) {
        transform: translateX(100%);
        transition-timing-function: cubic-bezier(0.32, 0, 0.67, 0);
        transition-duration: 0.6s;
    }
    
    /* Menú principal */
    .primary-menu:not(.active) {
        transform: translateX(-100%);
    }

    .sub-menu {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        visibility: hidden;
        z-index: 1;
        transition: transform 0.3s ease;      
    }
    
    .submenu-active {
        transform: translateX(0) !important;
        visibility: visible;
        transition: transform 0.4s ease, visibility 0s 0s;
    }
    
    /* Mantener visibilidad durante la animación de salida */
    .sub-menu:not(.submenu-active) {
        transition: transform 0.4s ease, visibility 0s 0.4s;
    }
    
    .sub-menu {
        transform: translateX(0);
        transition: transform 0.3s ease;
      }
      
      .sub-menu.closing {
        transform: translateX(100%);
      }
    /* Estado cerrado por defecto: fuera de la pantalla (por ejemplo, a la derecha) */
    #primary-menu {
        transform: translateX(100%);
        transition: transform 0.3s ease;
      }
      
      /* Al abrir el menú (agregar clase "active"), se desplaza a su posición normal */
      #primary-menu.active {
        transform: translateX(0);
      }
      .dropdown-menu.show {
        width: 80%;
        margin-left: 1em;
      }
}

@media (min-width: 768px) {
    .menu-item-has-children > a {
        position: relative;
        padding-right: 20px;
        display: flex;
        align-items: center;
        color: var(--color-black); /* Color inicial del enlace */
        transition: color 0.3s ease; /* Transición para el color del texto */
    }
    .menu-item-has-children > a::after {
        content: '';
        display: inline-block;
        width: 1.4em;
        height: 1.4em;
        margin-left: 2px;
        vertical-align: middle;
        background-color: currentColor;
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        mask-repeat: no-repeat;
        mask-size: contain;
        mask-position: center;
        transition: transform 0.3s ease;
    }
    .menu-item-has-children:hover > a::after {
        /*transform: rotate(180deg);*/
        color: var(--color-link-hover);
    }
}

/* Posicionamiento */
.menu-item-search {
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
}

.search-link {
    display: block;
    padding: 0.3rem;
    transition: transform 0.2s ease;
}

.search-icon {
    fill: var(--color-black);
    width: 20px;
    height: 14px;
}

/* Mobile: Reducir margen */
@media (max-width: 768px) {
    .menu-item-search {
        margin-left: 0.5rem;
    }
}


/* Bloquear scroll cuando el menú está abierto */
body.menu-scroll-lock {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.site-header.menu-open {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1000;
    background: white; /* Asegurar fondo sólido */
}

/* FUENTE APLICADA */
.primary-menu a {
    font-weight: var(--texto-normal);
    font-size: 84%;
    color: var(--color-gray-medium);
}
.current_page_item>a {
    font-weight: var(--texto-bold);
    color: var(--color-gray-dark);
}

/* FOOTER */

#colophon a {
    color: var(--color-white);
    position: relative;
    text-decoration: none;
    font-weight: var(--texto-notsobold);
  }
  #colophon a:hover {
    color: var(--color-white);
  }
  #colophon a {
    position: relative; /* Asegúrate que la posición sea relativa para el pseudo-elemento */
  }
  
  /* Aplicar la línea solo a enlaces que NO contienen SVG */
  #colophon a:not(:has(svg))::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-white);
    transition: width 0.3s ease-in-out;
  }
  
  #colophon a:not(:has(svg)):hover::after {
    width: 100%;
  }
  
  /* Mantén el estilo para los SVG */
  #colophon svg path {
    fill: var(--color-white);
  }
  
  /* Opcional: añade un efecto hover solo para los SVG si lo deseas */
  #colophon a:hover svg path {
    fill: var(--color-white);
    transition: fill 0.3s ease;
  }
.footer-title {
    margin-top: 0;
}
.footer-copyright {
    font-size: 1rem;
    margin: 0;
    text-align: left;
    margin: 0;
}
.footer-legales {
    display: flex;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    list-style-type: none;
  }
  
  .footer-legales li {
    font-size: 1rem;
  }
  .footer-menu, .footer-redes {
    column-count: 2; 
    column-gap: 2rem;
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  .footer-menu li, .footer-redes li {
    font-size: 1rem;
  }
  .footer-menu li {
    margin-bottom: 1em;
  }
  .footer-redes {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .footer-redes {
    justify-content: flex-end;
    margin-bottom: 1em;
  }
  .footer-redes li:last-child {
    margin-right: 0;
  }
  .footer-icono {
    width: 32px;
    height: 32px;
  }
  .footer-legales li:not(:last-child)::after {
    content: "•";
    margin: 0 0.5em;
    color: inherit;
  }
  .mobile-br {
    display: none;
  }
  body.dark-theme .brand-footer img {
    filter: brightness(1) invert(0);
    transition: filter 0.3s ease;
}
  @media (max-width: 768px) {
    .footer-copyright, .footer-legales a, .footer-menu a {
      font-size: 0.8rem;
    }
    .footer-legales {
      flex-direction: row;
      align-items: center;
    }
    .footer-copyright {
        text-align: center;
    }
    .footer-legales li {
      margin-left: 0;
      margin-bottom: 5px;
      text-align: center;
    }
    .footer-redes {
        justify-content: center;
        margin-top: 2em;
      }
      .mobile-br {
        display: inline; /* Muestra solo en móviles */
      }
  }
  
/* Aplica el efecto solo a los enlaces que NO sean .brand-footer */
#colophon a:not(.brand-footer):hover::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  animation: underline 0.3s ease-in-out;
}

/* O si tu efecto está aplicado directamente al enlace */
#colophon a:not(.brand-footer):hover {
  text-decoration: none;
  position: relative;
}

#colophon a:not(.brand-footer):hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: currentColor;
  animation: underline 0.3s forwards;
}

@keyframes underline {
  from { width: 0; }
  to { width: 100%; }
}

/* Asegúrate que el logo no herede ningún efecto */
.brand-footer:hover::after {
  display: none !important;
}

.brand-footer:hover {
  text-decoration: none !important;
}



  @media screen and (min-width: 768px) {
    .navbar {
      padding: 0;
      line-height: 3rem;
      .dropdown-menu {
        line-height: initial;
      }
    }  
    
    .dropdown {
      .dropdown-menu {
        display: none;
      }
    }
    .dropdown,
    .dropend {
      &:hover {
        & > .dropdown-menu {
          display: block;
        }
      }
    }
    .dropdown {
      &:hover {
        & > .dropdown-menu {
          margin-top: -.5rem;
        }
      }
    }
    .dropend {
      &:hover {
        & > .dropdown-menu {
          position: absolute;
          top: -.5rem;
          left: 100%;
          margin-left: 0;
        }
      }
    }
    .menu-item-has-children>.dropdown-menu>li>a {
      margin-left: 1em;
    }
  }


  .comment-list {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
  }


  .entry-content p {
    font-size: clamp(1.1rem, 1.25vw, 1.25em);
    letter-spacing: 0.01em;
    line-height: 1.7em;
  }
  
  /* Contenedor del toggle */
.theme-toggle-item {
  list-style: none;
}

#theme-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
}

input[type="checkbox"] {
  display: none;
}

/* Slider animado */
.slider {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: left;
}

/* Íconos */
.icon {
  width: 32px;
  height: 32px;
  transition: transform 0.5s ease-in-out, opacity 0.5s;
}
.sun, .moon {
  width: 18px;  /* Reducido de 40px a 24px */
  height: 18px;
  transition: transform 0.4s ease-in-out, opacity 0.4s;
}

.sun {
  color: var(--bs-body-color);
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.moon {
  color: var(--bs-body-color);
  opacity: 0;
  transform: scale(0.5) rotate(180deg);
}


/* Modo oscuro activado */
.dark-mode .sun {
  opacity: 0;
  transform: scale(0.5) rotate(180deg);
}

.dark-mode .moon {
  opacity: 1;
  transform: scale(1) rotate(0);
}


.social-share {
  position: fixed;
  z-index: 999;
}
@media (min-width: 768px) {
  .social-share {
      top: 50%;
      left: 0;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 0;
  }
  .social-share a {
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
  }
}
/* Móvil: barra horizontal abajo, 100% ancho */
@media (max-width: 767px) {
  .social-share {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      display: flex;
      flex-direction: row;
      justify-content: space-around;
  }
  .social-share a {
      flex: 1;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
  }
}
/* Colores de fondo por red */
.social-share a.facebook { background: #1877F2; }
.social-share a.x { background: #000; }
.social-share a.email { background: #0077B5; }
.social-share a.whatsapp { background: #25D366; }
.social-share img {
  width: 24px;
  height: 24px;
  filter: invert(1);
}
.social-share a {
  transition: all 0.3s ease;
}

.social-share a:hover {
  transform: scale(1.2); 
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.newsletter-control {
  padding: 6px !important;
  margin-right: 1em;
  border-radius: 0.375rem !important;
}

#alphabet-container, #search-container {
  border-radius: var(--border-radius);
}
#alphabet-container.active, #search-container.active {
  background-color: var(--color-gray-discrete);
}
.alphabet-scroll {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.alphabet-scroll::-webkit-scrollbar {
  display: none; 
}

.semiheader {
  font-weight: 900;
  letter-spacing: 0.1em;
  font-size: small;
  text-transform: uppercase;
  font-family: 'Comfortaa', Arial, sans-serif;
}

#contador-regresivo {
  font-size: 2em;
  font-weight: 700;
}



.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.page-numbers {
  display: flex;
  gap: 5px;
}

.pagination-btn {
  padding: 8px 12px;
  border: 1px solid var(--color-gray-light);
  background: var(--color-white);
  color: var(--color-link);
  cursor: pointer;
  border-radius: 4px;
}

.pagination-btn.active {
  background: var(--color-link);
  color: var(--color-gray-dark);
  border-color: var(--color-link);
}

.pagination-btn:disabled,
.pagination-btn[disabled] {
  opacity: 0.5;
  cursor: default;
  background: var(--color-gray-light);
}

.pagination-btn:not(:disabled):hover {
  background: var(--color-gray-light);
}

@media (min-width: 768px) {
  .results-counter {
    display: inline-block;
    vertical-align: middle;
    width: calc(50% - 8px);
  }

  .pagination-container-top,
  .pagination-container-bottom {
    display: inline-block;
    vertical-align: middle;
    width: 100%);
    text-align: right;
  }
}


.column-status {
  margin-right: 5px;
  display: inline-block;
  width: 20px;
  text-align: center;
}
.column-status.active {
  opacity: 1;
}
.column-status.inactive {
  opacity: 0.5;
}



.animated-block {
  position: relative;
  padding: 3rem;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.block-heading {
  font-size: 2.5rem;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-black);
  margin-bottom: 2rem;
  position: relative;
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeSlideDown 0.8s ease-out forwards;
}

.block-image {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 90%;
  max-height: 400px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.4s forwards;
}

.block-content {
  max-width: 50%;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.8s forwards;
}

.block-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-black);
  margin-bottom: 1.5rem;
  margin-right: 3rem;
}

.continue-button {
  background-color: var(--color-link);
  color: var(--color-white);
  border: none;
  padding: 0.75rem 1.5rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s;
  border-radius: var(--border-radius);
}

.continue-button:hover {
  background-color: var(--color-link-hover);
}

@keyframes fadeSlideDown {
  0% {
      opacity: 0;
      transform: translateY(-30px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .block-heading {
      font-size: 2rem;
      max-width: 100%;
  }
  .block-content {
    max-width: 100%;
  }
  .block-image {
      max-height: 350px;
      position: relative;
  }
}

@media (max-width: 767px) {
  .animated-block {
      padding: 2rem;
  }
  
  .block-heading {
      font-size: 1.5rem;
      max-width: 100%;
  }
  
  .block-image {
      position: relative;
      max-height: 250px;
      margin: 1rem 0;
      display: block;
      margin-left: auto;
  }
  
  .block-content {
      max-width: 100%;
  }
}


/* Transición suave para el logo */
.site-header {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  top: 0;
  padding: 0;
}

.navbar-brand,
.navbar-brand img {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand img {
  width: 200px;
  height: 75px;
}

.site-header.scrolled {
  padding: 0px !important;
}

.site-header.scrolled .navbar-brand img {
  width: 200px;
  height: 45px;
}

/* Filtros para invertir colores */
body.dark-theme .navbar-brand img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.caption {
  font-size:0.7rem !important;
}

.brand-footer {
  display: block; /* Asegura que el anchor sea elemento de bloque */
}

.brand-footer img {
  width: 60%;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
  display: inline-block; /* Necesario para la alineación */
}

@media (max-width: 767.98px) {
  .brand-footer {
    text-align: center; /* Centra el contenido en móviles */
  }
  
  .brand-footer img {
    width: 70%; /* Ancho para móviles */
    margin: 0 auto 2em; /* Centrado horizontal */
  }
}
article a {
  word-wrap:break-word;
}



.carousel-item {
  transition: transform .6s ease-in-out;
}
@media (max-width: 767px) {
  .card-wrapper {
      width: 100%;
  }
  .navbar-brand img {
    width: 145px;
    height: 53px;
}

}
.carousel-control-prev,
.carousel-control-next {
  width: 10%;
  top: 100px;
  bottom: auto;
  height: 40px;
}
.boton-carrusel {
  width: 40px;
  height: 40px;
  background-color: var(--color-gray-medium);
  border-radius: 50%;
  position: absolute;
  top: 100px;
  opacity: 0.5;
}
#categoryCarouselDesktop .carousel-control-prev {
  left: -20px;
}

#categoryCarouselDesktop .carousel-control-next {
  right: -20px;
}

.boton-carrusel:hover {
  opacity: 1;
}
.carousel-container {
  position: relative;
  padding-bottom: 40px;
}
.custom-dots-container {
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 10;
}
.custom-dots {
  margin-bottom: 0;
  display: flex;
  gap: 16px; 
  padding: 0;
  list-style: none;
}
.custom-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-gray-medium);
  border: none;
  opacity: 0.5;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
  padding: 0;
}
.custom-dot.active {
  background-color: var(--color-black);
  opacity: 1;
}
.carousel-control-next-icon, .carousel-control-prev-icon {
  background-size: 80% 80%;
}
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card .card-body {
  flex: 1;
}
.card .img-fluid {
  height: 200px;
  object-fit: cover;
}
.view-more-card {
  transition: all 0.3s ease;
  background-color: var(--color-gray-light);
}
.view-more-card .view-more-icon {
  color: var(--color-primary);
  transition: transform 0.3s ease;
}
.view-more-card:hover .view-more-icon {
  transform: scale(1.2);
}


.titulo-diagrama {
  color: var(--color-primary);
  margin-bottom: 2rem;
  font-weight: 700;
  text-align: center;
  position: relative;
}

.titulo-diagrama::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 100px;
  height: 3px;
  background-color: var(--color-secondary);
  transform: translateX(-50%);
}
.proceso-box {
  border: none;
  border-left: 4px solid var(--color-primary);
  border-radius: 10px;
  padding: 20px 20px 20px 70px;
  margin-bottom: 20px;
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 100px;
  position: relative;
  background-color: var(--color-gray-light);
  box-shadow: var(--box-shadow);
  transition: all var(--transition-time) ease-in-out;
  font-size: 15px;
}

.proceso-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px var(--color-black-rgba);
  background-color: var(--color-gray-discrete);
}

.proceso-numero {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  background-color: var(--color-primary);
  color: var(--color-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-time) ease-in-out;
}

.proceso-box:hover .proceso-numero {
  background-color: var(--color-black);
  transform: translateY(-50%) scale(1.1);
}

.arrow-down {
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: 2px;
  height: 20px;
  transform: translateX(-50%);
  z-index: 10;
  background-color: var(--color-black);
  animation: pulse 2s infinite;
}

.arrow-down::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid var(--color-black);
  left: -5px;
  bottom: 0;
}

@keyframes pulse {
  0% {
      opacity: 1;
  }
  50% {
      opacity: 0.5;
  }
  100% {
      opacity: 1;
  }
}

.fila-proceso {
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

.proceso-1 { animation-delay: 0.1s; }
.proceso-2 { animation-delay: 0.2s; }
.proceso-3 { animation-delay: 0.3s; }
.proceso-4 { animation-delay: 0.4s; }
.proceso-5 { animation-delay: 0.5s; }
.proceso-6 { animation-delay: 0.6s; }
.proceso-7 { animation-delay: 0.7s; }
.proceso-8 { animation-delay: 0.8s; }
.proceso-9 { animation-delay: 0.9s; }
.proceso-10 { animation-delay: 1.0s; }
.proceso-11 { animation-delay: 1.1s; }
.proceso-12 { animation-delay: 1.2s; }

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.no-arrow .arrow-down {
  display: none;
}


.comparativopj-image-container {
  position: relative;
}

.comparativopj-image-name {
  position: absolute;
  bottom: 10px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0.8;
  width: auto;
  white-space: nowrap;
}

.comparativopj-comparison-wrapper {
  width: 100%;
  margin: 20px 0;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border-radius: 8px;
  overflow: hidden;
}

.comparativopj-image-container {
  display: grid;
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.comparativopj-image-before,
.comparativopj-image-after {
  grid-area: 1/1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comparativopj-image-before {
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}

.comparativopj-slider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: col-resize;
  z-index: 3;
}

.comparativopj-slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.comparativopj-slider-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Etiquetas ANTES/DESPUÉS */
.comparativopj-label {
  position: absolute;
  z-index: 4;
  top: 20px;
  padding: 8px 15px;
  background: rgba(0,0,0,0.5);
  color: white;
  font-weight: bold;
  border-radius: 4px;
  pointer-events: none;
}

.comparativopj-label-antes {
  left: 20px;
}

.comparativopj-label-despues {
  right: 20px;
}
.comparativopj-comparison-wrapper {
  width: 100%;
  max-width: 1000px; /* Ancho máximo opcional, ajusta según necesites */
  margin: 20px auto; /* Centrar el contenedor */
}

.comparativopj-image-container {
  display: grid;
  position: relative;
  width: 100%;
  height: auto; /* Cambio de aspect-ratio a height: auto */
  overflow: hidden; /* Asegurar que no haya desbordamientos */
}

.comparativopj-image-before,
.comparativopj-image-after {
  grid-area: 1/1;
  width: 100%;
  height: auto; /* Cambio de height: 100% a height: auto */
  max-height: 70vh; /* Altura máxima opcional, ajusta según necesites */
  object-fit: contain; /* Asegura que la imagen completa sea visible */
  display: block;
}

.comparativopj-image-before {
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}
.comparativopj-image-container {
  display: grid;
  position: relative;
  width: 100%;
  height: auto;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.comparativopj-image-before,
.comparativopj-image-after {
  grid-area: 1 / 1; /* Esto asegura que ambas imágenes estén en la misma celda */
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  position: absolute; /* Añadido para asegurar superposición */
  top: 0;
  left: 0;
}

.comparativopj-image-after {
  z-index: 1;
}

.comparativopj-image-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}


.sombra p {
  line-height: 1.8em;
}


/* styles.css */
/* Contenedor principal del botón flotante */
.share-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
}

/* Botón principal circular */
.main-share-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #2c3e50;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.main-share-btn:hover {
  transform: scale(1.1) rotate(45deg);
}

/* Contenedor de iconos sociales */
.social-items {
  position: absolute;
  bottom: 60px;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.social-items.active {
  opacity: 1;
  visibility: visible;
}

/* Items individuales */
.social-item {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  margin: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.social-item:hover {
  transform: scale(1.1) translateY(0);
}

/* Animaciones escalonadas al aparecer */
.social-items.active .social-item {
  opacity: 1;
  transform: translateY(0);
}

.social-item:nth-child(1) { transition-delay: 0.05s; }
.social-item:nth-child(2) { transition-delay: 0.1s; }
.social-item:nth-child(3) { transition-delay: 0.15s; }
.social-item:nth-child(4) { transition-delay: 0.2s; }
.social-item:nth-child(5) { transition-delay: 0.25s; }
.social-item:nth-child(6) { transition-delay: 0.3s; }
.social-item:nth-child(7) { transition-delay: 0.35s; }
.social-item:nth-child(8) { transition-delay: 0.4s; }

/* Colores de cada red social */
.x-twitter { background: #000000 !important; color: white !important; }
.facebook { background: #1877F2 !important; color: white !important; }
.linkedin { background: #0A66C2 !important; color: white !important; }
.whatsapp { background: #25D366 !important; color: white !important; }
.telegram { background: #0088CC !important; color: white !important; }
.messenger { background: #006AFF !important; color: white !important; }
.email { background: #EA4335 !important; color: white !important; }
.copy-link { background: #5F6368 !important; color: white !important; }

/* Efecto hover para todos los items */
.social-item:hover {
  filter: brightness(1.1);
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* Tooltip improvements */
.jl-tooltip-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #f0f0f0;
  color: #666;
  font-size: 12px;
  font-weight: bold;
  cursor: help;
  border: 1px solid #ddd;
  position: relative;
  vertical-align: top;
  line-height: 1;
}

.jl-tooltip-trigger:hover {
  background-color: #e0e0e0;
}

.jl-tooltip-trigger::after {
  font-size: 11px;
}

/* Make sure the tooltip container is properly positioned */
.jl-tooltip-container {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  max-width: 300px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  line-height: 1.4;
}

.jl-tooltip-container.active {
  opacity: 1;
  visibility: visible;
}


.sl-wrapper .sl-image {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sl-wrapper .sl-image .sl-caption {
  position: relative !important;
  background: #fff; /* Color de fondo para el caption */
  padding: 10px;
  color: #333; /* Color del texto */
  text-align: center;
  width: 100%;
  order: 2; /* Asegura que el caption esté debajo */
}

.sl-wrapper .sl-image img {
  order: 1; /* Mantiene la imagen arriba */
}

.nav-link.active {
  background-color: #f8f9fa !important;
  border-left: 3px solid var(--color-link);
  color: var(--color-link-hover) !important;
  transform: translateX(5px);
  transition: all 0.3s ease;
}


/* Estilo alternativo tipo botón */



/* Contenedor principal */
.nav-links {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

/* Elementos base */
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 300;
    transition: all 0.3s ease;
    color: var(--color-link) !important;
}
.page-numbers li {
    list-style: none;
}

/* Estado hover 
.page-numbers:not(.current):not(.dots):hover {
    background: var(--color-link);
    color: var(--color-white);
}*/

/* Página actual */
.page-numbers.current {
    background: var(--color-gray-light);
    color: var(--color-gray-dark) !important;
    cursor: default;
}

/* Puntos suspensivos */
.page-numbers.dots {
    border: none;
    background: transparent;
    color: var(--color-gray-medium) !important;
    min-width: auto;
    pointer-events: none;
}

/* Botones de navegación */
.prev, .next {
    font-weight: 600;
    padding: 0 1.2rem;
}

/* Quitar estilos de boostrap heredados */
.prev .btn, .next .btn {
    all: unset;
    display: flex !important;
    align-items: center;
    height: 100%;
}



/* Versión móvil */
@media (max-width: 480px) {
    .nav-links {
        gap: 0.4rem;
    }
    
    .page-numbers {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 0.9em;
    }
    
    .prev, .next {
        padding: 0 0.8rem;
    }
    
/*.dropend .dropdown-toggle:empty::after {display:none !important;}*/
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.nav-links .page-numbers {
  padding: 6px 12px;
  text-decoration: none;
  transition: background 0.2s ease-in-out;
}



.nav-links .prev,
.nav-links .next {
  text-decoration: none;
}




/* ADD para el submenu */

@media (max-width: 991px) {
  /* Mejora la visualización de los submenús en móvil */
  .dropdown-menu {
    position: static !important;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
  }
  
  /* Añade un poco de sangría a los elementos del submenú */
  .dropdown-menu .nav-link {
    padding-left: 2rem !important;
  }
  
  /* Estilos para submenús de segundo nivel */
  .dropdown-menu .dropdown-menu .nav-link {
    padding-left: 3rem !important;
  }
  
  /* Mejora la visibilidad del toggle para submenús anidados */
  .dropdown-toggle-nested {
    position: absolute;
    right: 0;
    top: 0;
    /*height: 38px;
    width: 40px;*/
    text-align: center;
    line-height: 38px;
    z-index: 10;
  }
  
  /* Mantén visible el icono de flecha */
  .dropdown-toggle::after {
    display: inline-block !important;
    pointer-events: none !important;
  }
  .dropend .dropdown-toggle::after {
    border-left: .3em solid transparent !important;
    border-bottom: 0 !important;
    border-right: .3em solid transparent !important;
    border-top: .3em solid !important;
  }
  .dropdown-menu {
    --bs-dropdown-color: var(--color-white) !important;
  }
}
@media (max-width: 768px) {
  .dropdown-menu.show {
      width: 80%;
      margin-left: 1em;
      background: var(--color-white-rgba100) !important;
      border: none !important
  }
}

.menu-item-has-children > .dropdown-menu > .dropdown-toggle:empty::after,.dropdown-menu .menu-item-has-children  > .dropdown-toggle::after {display:none !important;}

.wp-block-cover__inner-container p a {color:#FFF !important; text-decoration: none;}


@media (min-width: 992px) {
  .navbar-nav > .menu-item > a {
    padding-top: 1.6em;
  }
}