@charset "UTF-8";
/* 
	NORMALIZE
	---------
	Región:
	Template:
	Descripción:
	Última revisión: 18/06/2024
*/
/*! 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;
}

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

/* Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari. */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

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

/**
 * 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; /* 1 */
  font-size: 1em; /* 2 */
}

/* 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; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * 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; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * 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; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

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

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

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-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; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 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; /* 1 */
  padding: 0; /* 2 */
}

/**
 * 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; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * 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; /* 1 */
  font: inherit; /* 2 */
}

/* 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;
}

/* 
	FUENTES
	-------
	Región:
	Template:
	Descripción:
	Última revisión: 18/06/2024
*/
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ FUENTES +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
 */
/* ====================================================
  1. DEFINICIÓN DE FUENTES (Archivos locales WOFF2)
  ==================================================== */
/* --- Cuerpo de texto --- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Poppins"),
    url("../fonts/poppins/Poppins-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Montserrat"),
    url("../fonts/montserrat-v31-latin/montserrat-v31-latin-regular.woff2")
      format("woff2");
}
/* Texto Logo US */
@font-face {
  font-family: Merriweather;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Merriweather"),
    url("../fonts/merriweather-v33-latin/merriweather-v33-latin-regular.woff2")
      format("woff2");
}
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ FUENTE BASE. FLUID RESPONSIVE FONTS +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 Web para calcular: https://websemantics.uk/tools/responsive-font-calculator/ 
 16px @ 768px increasing to 24px @ 1920px  */
/* Tamaño mínimo Fuente (en móviles) */

:root {
  font-size: 16px !important; /* obsoleto */
  /* --- CONFIGURACIÓN DE TIPOGRAFÍA FLUIDA --- */

  /* VALORES DESEADOS:
       Mínimo: 16px (1rem) @ 768px
       Máximo: 20px (1.25rem) @ 1920px
       
       Fórmula optimizada: clamp(mínimo, valor_ideal, máximo)
    */

  --font-size-base: clamp(1rem, 0.833rem + 0.347vw, 1.25rem);

  /* Aplicación directa */
  font-size: var(--font-size-base);
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ VALORES POR DEFECTO +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
*,
*:before,
*:after {
  box-sizing: inherit;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  overflow-x: hidden;
}

body,
html {
  height: 100%;
  background-color: white;
  color: var(--color-texto);
  font-family: "Poppins", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  letter-spacing: 0;
  word-spacing: normal;
  line-height: 1.7rem;
  text-indent: 0;
  white-space: normal;
  /*hyphens: manual;
  overflow-wrap:normal;
  word-break: normal;
  line-break: normal; */
  text-align: left;
  text-justify: inter-character;
  text-overflow: ellipsis;
  vertical-align: baseline;
  text-decoration: none;
  text-transform: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span,
.hff-10 h1,
.hff-10 h2,
.hff-10 h3,
.hff-10 h4,
.hff-10 h5,
.hff-10 h6,
.hff-10 .title-teaser-text .title,
.sff-10 .site-name,
.slff-10 .site-slogan {
  font-family: "Poppins", Helvetica, Arial, sans-serif;
  font-weight: 400;
  margin: 10px 0;
  letter-spacing: -0.02em;
}

hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 20px 0;
}

p,
span,
a,
ul,
ol,
li {
  font-family: "Poppins", Helvetica, Arial, sans-serif;
}

a {
  text-decoration: none !important;
  color: var(--colorEnlace);
}
a:hover {
  color: var(--colorEnlaceResaltado);
  /* font-weight: 700 */
}

strong {
  font-weight: bold;
  color: var(--color-texto-resaltado);
}

em {
  font-style: italic;
}

img {
  margin-bottom: 0;
  /* width: 100%; */
  height: auto;
}

/* --- VARIABLES DE DISEÑO --- */
:root {
  --imagen__general: url("/sites/transparencia/files/img/fondo-portada.jpg");
  --imagen__institucional: url("/sites/transparencia/files/img/fondo-institucional.jpg");
  --imagen__juridica: url("/sites/transparencia/files/img/fondo-juridica.jpg");
  --imagen__economica: url("/sites/transparencia/files/img/fondo-economica.jpg");
  --imagen__rrhh: url("/sites/transparencia/files/img/fondo-rrhh.jpg");
  --color-fondo__general: rgba(0, 84, 122, 0.65);
  --color-fondo__portada: rgba(132, 208, 240, 0.65);
  --color-fondo__institucional: rgba(140, 36, 55, 0.65);
  --color-fondo__juridica: rgba(175, 133, 84, 0.65);
  --color-fondo__economica: rgba(222, 151, 0, 0.65);
  --color-fondo__rrhh: rgba(69, 155, 204, 0.65);
  --color__general: #00547a;
  --color__portada: #84d0f0;
  --color__institucional: #8c2437;
  --color__juridica: #af8554;
  --color__economica: #de9700;
  --color__rrhh: #459bcc;

  --color-texto: rgb(128, 128, 128);
  --color-texto-claro: rgb(173, 173, 173);
  --color-texto-resaltado: rgb(40, 39, 39);

  --us-grey-bg: #ededed;
  --us-white: #ffffff;
  --us-max-width: 1400px;
  --sidebar-first-width: 20%;
  --sidebar-second-width: 15%;
}

/* 
	ESTRUCTURA
	----------
	Región:
	Template:
	Descripción:
	Última revisión: 18/06/2024
*/
/* ----------------------------------------------------------------------------
+
+   L A Y O U T   +
+
------------------------------------------------------------------------------- */
/* -----------------------------
| El Layout de la página se encuentra en: templates\page.html.twig
| El valor de las variables del layout están en: config\install\theme_us.settings.yml
| Aunque de momento no funcionan estas
 --------------------------------- */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: #333;
  background-color: var(--us-white);
}

/* --- ESTRUCTURA PRINCIPAL (FLEXBOX) --- */
#page.layout-wrapper {
  display: flex;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  background-color: var(--us-white);
  /*   overflow-x: hidden; */
  align-items: flex-start;
  position: relative;
}

/* --- COLUMNA IZQUIERDA: MAIN CONTENT --- */
/* Contenedor padre de Header, Content y Footer */
#left-column.layout-content {
  flex: 1; /* Ocupa todo el espacio restante */
  display: flex;
  flex-direction: column; /* Alineación vertical según tu dibujo */
  background-color: var(--us-white);
  min-width: 0; /* Evita desbordamientos de flex */
}

/* Regiones internas del Main */
#header.layout-header {
  width: 100%;
  margin: 0;
  position: relative;
  height: 168px;
  border-bottom: 1px solid #eee;
}
#header .region-header {
  display: flex;
  justify-content: space-between;
}

.region-content {
  flex: 1; /* El contenido crece para empujar al footer abajo */
  padding: 0 0 40px 0;
}

#footer.layout-footer {
  /* width: 100%; */
  background: #cba674;
  padding: 50px 4%;
  color: white;
  /* margin-top: 60px; */
}

/* --- 2. LOS SIDEBARS (STICKY) --- */
#sidebar-first.layout-sidebar-first,
#sidebar-second.layout-sidebar-second {
  position: -webkit-sticky;
  position: sticky;
  top: 0;

  /* 2. AJUSTE DE ALTURA:
        Si el top es 80px, la altura no puede ser 100vh o el final se cortará.
        Calculamos la altura restante de la pantalla. */
  height: calc(100vh - 80px);
  z-index: 100;
  overflow-y: auto; /* Permite scroll interno si el menú es muy largo */
  align-self: flex-start;
}

/* --- COLUMNA CENTRAL: SIDEBAR FIRST --- */
#sidebar-first.layout-sidebar-first {
  width: var(--sidebar-first-width);
  background-color: var(--us-grey-bg);
  /* border-left: 1px solid #e0e0e0; */
  padding: 0 20px;
  padding-top: 150px;
  padding-bottom: 50px;
  height: 100vh;
}

#sidebar-first.layout-sidebar-first > .region-sidebar-first {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Empuja el primer bloque arriba y el último abajo */

  /* ESTO ES CRÍTICO: Sin altura, space-between no tiene efecto */
  height: 100%;
  /* min-height: calc(100vh - 200px);  */
}

/* --- COLUMNA DERECHA: SIDEBAR SECOND --- */
#sidebar-second.layout-sidebar-second {
  width: var(--sidebar-second-width);
  height: 100vh;
}
/* Portada */
#sidebar-second.layout-sidebar-second:has(.sidebar-second__fondo--portada) {
  width: 35%;
}

/* --- MODO MÓVIL: DESAPARECEN SIDEBARS --- */
@media (max-width: 768px) {
  /* Ocultamos las barras laterales según tu petición */
  #sidebar-first,
  #sidebar-second {
    display: none !important;
  }

  /* El contenido principal ocupa el 100% */
  #left-column.layout-content {
    width: 100%;
  }

  /* Ajustamos paddings para pantallas pequeñas */
  #header.layout-header,
  .region-content,
  #footer.layout-footer {
    padding: 10px;
  }
}

/* 
	CKEDITOR
	--------
	Región:
	Template:
	Descripción:
	Última revisión: 
*/
/* ----------------------------------------------------------------------------
+
+   C K E D I T O R  -  E L E M E N T O S  B A S E  (A R T I C L E)  +
+
------------------------------------------------------------------------------- */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ CKEDITOR: CABECERAS H1-H6 , CON FORMATO +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ CKEDITOR, FUENTES: Normal, Negrita, Cursiva, Subrayado, Tachado, superíndice, subíndice +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* Normal */
#main-content > .region-content > article {
  font-style: normal;
  font-variant: normal;
  font-stretch: normal;
  font-family: inherit;
  font-size: inherit;
  font-weight: normal;
  color: inherit;
  line-height: inherit;
  letter-spacing: 0;
  text-align: left;
  padding: 50px 2rem;
}
article {
  /* Negrita */
  /* Cursiva */
  /* Subrayado */
  /* Tachado */
  /* Superíndice u subíndice */
}
article p,
article span {
  margin: 0;
  padding: 0 0 18px 0;
  border: 0;
  font-style: inherit;
  font-variant: inherit;
  font-stretch: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
  /*   letter-spacing: right; */
  text-align: left;
}
article p.text-align-justify {
  text-align: justify;
}
article p.text-align-right {
  text-align: right;
}
article p.text-align-center {
  text-align: center;
}
article strong {
  font-weight: bold;
}
article em {
  font-style: italic;
}
article u {
  text-decoration: underline;
}
article s {
  text-decoration: line-through;
}
article sup,
article sub {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
article sup {
  top: -0.5em;
}
article sub {
  bottom: -0.25em;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ CKEDITOR: ENLACES +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
article a {
  display: inline;
  text-decoration: none;
  margin: 0;
  padding: 0;
  transition: all 0.2s ease-in-out;
}
article a:hover {
  text-decoration: none;
}
article a[href$=".pdf" i]::after {
  content: "\f1c1";
  font-family: "FontAwesome";
  color: red;
  position: relative;
  left: 2px;
  font-size: 1rem;
  font-weight: 100;
  line-height: 0;
  padding: 0 6px;
}
article a[href$=".doc" i]::after,
article a[href$=".docx" i]::after {
  content: "\f1c2";
  font-family: "FontAwesome";
  color: blue;
  position: relative;
  left: 2px;
  font-size: 1rem;
  font-weight: 100;
  line-height: 0;
  padding: 0 6px;
}
article a[href$=".xls" i]::after,
article a[href$=".xlsx" i]::after {
  content: "\f1c3";
  font-family: "FontAwesome";
  color: green;
  position: relative;
  left: 2px;
  font-size: 1rem;
  font-weight: 100;
  line-height: 0;
  padding: 0 6px;
}
article a[href*="videos.us.es"]::after, article a[href*="https://apoyotic.us.es/videos"]::after, article a[href*="https://tv.us.es"]::after, article a[href*="http://tv.us.es"]::after
{
  content: "\f03d";
  font-family: "FontAwesome";
  color: var(--us-rojo-oscuro);
  position: relative;
  left: 2px;
  font-size: 1rem;
  font-weight: 100;
  padding: 0 6px;
  /* bottom: -3px; */
}
article a[href*="youtube" i]::after {
  /* font: var(--fa-font-solid); */
  content: "\f167";
  font-family: "FontAwesome";
  color: red;
  position: relative;
  left: 2px;
  font-size: 1rem;
  font-weight: 100;
  /* line-height: 0; */
  padding: 0 6px;
  /* bottom: -3px; */
}
article video {
  border: 1px solid var(--colorSec);
  width: 100%;
  height: 100%;
}

/* Anula imagen que da el sistema (REVISAR) */
.file--application-pdf {
  background-image: none;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ CKEDITOR: LISTAS +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ LISTAS DESORDENADAS (UL. Hasta 4 niveles) +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* Lista 1 nivel */
article ul {
  list-style: none;
  font-style: inherit;
  font-variant: inherit;
  font-stretch: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
  font-weight: normal;
  text-align: left;
  letter-spacing: 0;
  /*   padding-left: 2.6rem;
  margin-bottom: 1rem; */
  margin: 0;
  margin-left: 20px;
  padding: 0;
}
article ul li {
  font-style: inherit;
  font-variant: inherit;
  font-stretch: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
  /* letter-spacing: right; */
  text-align: left;
}
article ul > li::before {
  content: "\f111";
  font: var(--fa-font-solid);
  font-size: 0.4rem !important;
  font-weight: 900;
  display: inline-block;
  position: relative;
  top: -3px;
  left: -1.2rem;
  margin-right: -0.4rem;
}

/* Lista 2 nivel */
article ul ul {
  padding-left: 1.6rem;
  margin-bottom: 0;
}
article ul > li ul > li::before {
  content: "\f111";
  font-family: "Font Awesome 5 Free";
  font-size: 0.4rem !important;
  font-weight: 100;
  display: inline-block;
  position: relative;
  top: -3px;
  left: -1.2rem;
  margin-right: -0.4rem;
}

/* Lista 3 nivel */
article ul ul ul {
  padding-left: 1.6rem;
  margin-bottom: 0;
}

article ul > li ul > li ul > li::before {
  content: "\f0c8";
  font-family: "Font Awesome 5 Free";
  color: var(--colorSec) !important;
  font-size: 0.4rem !important;
  font-weight: 100;
  display: inline-block;
  position: relative;
  top: -3px;
  left: -1.2rem;
  margin-right: -0.4rem;
}

/* Lista 4 nivel */
article ul ul ul ul {
  padding-left: 1.6rem;
  margin-bottom: 0;
}

article ul > li ul > li ul > li ul > li::before {
  content: "\f0c8";
  font-family: "Font Awesome 5 Free";
  color: var(--colorSec) !important;
  font-size: 0.4rem !important;
  font-weight: 100;
  display: inline-block;
  position: relative;
  top: -3px;
  left: -1.2rem;
  margin-right: -0.4rem;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ LISTAS ORDENADAS (OL. Hasta 4 niveles) +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* Lista 1 nivel */
article ol {
  list-style-type: decimal;
  list-style-position: outside;
  padding-left: 2.6rem;
}

/* Lista 2 nivel */
article ol ol {
  list-style-type: lower-alpha;
  list-style-position: outside;
  padding-left: 1.2rem;
}

/* Lista 3 nivel */
article ol ol ol {
  list-style-type: lower-roman;
  list-style-position: outside;
  padding-left: 1.2rem;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ MEDIA +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* div */
article div {
  /* padding-bottom: 5px; */
  clear: both;
  /* overflow: hidden; */
}

/* Cita */
article blockquote {
  padding: 0 2rem;
  margin: 2rem 0 2rem 2rem;
  border-left: 14px solid var(--colorSec);
  font-size: 1.6rem;
  line-height: 2.2rem;
}
article blockquote > p {
  padding: 0;
}

/* Línea horizontal */
hr {
  border: 0;
  border-top: 1px dashed var(--color-texto-claro);
  margin: 20px 0;
}

/*   MODO MÓVIL / TABLET ELEMENTOS CKEDITOR   ---------------------------------
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* Móvil */
@media (max-width: 767px) {
  /* texto */
  article p,
  article span {
    text-align: left !important;
  }
  #main-content > .region-content > article {
    padding: 10px 0;
  }
}
/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  article ul {
    margin-left: 40px;
  }
}
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+  CKEDITOR: TABLA RESPONSIVA 2 COLUMNAS   +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* article table td i {
	padding-bottom: 35px;
    display: block;
} */
/* Resetear valores tablas */
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  /* font-size: 100%;
  vertical-align: baseline; */
}

/* Tabla */
table {
  margin: 10px auto;
  /* border-collapse: collapse; */
  /* border: 1px solid #eee; */
  /* border-spacing: 0; */
  /* border-bottom: 2px solid var(--colorPri); */
  /* width: 98%; */
  margin-bottom: 60px;
  box-shadow: 0px 0px 9px 3px rgba(0, 0, 0, 0.25);
  /* Titulo */
}
table caption {
  font-size: 1.5rem;
  line-height: 1.5rem;
  color: var(--colorSec);
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* alternar color filas */
tbody tr:nth-child(odd) {
  background: rgba(100, 138, 159, 0.1);
}

/* Fila resaltada */
table tr:hover {
  background: rgb(113, 156, 15), 0.1;
}

table tr:hover td {
  color: black;
}

/* Alineación tabla */
table[align="center"] {
  margin: 10px auto;
  margin-bottom: 60px;
}

table[align="left"] {
  float: left;
  margin: 0 20px 10px 0;
}

table[align="right"] {
  float: right;
  margin: 0 0 10px 20px;
}

/* Filas */
table th,
table td {
  color: #444;
  border: 2px solid white;
  padding: 12px 35px;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.2rem;
}

/* Cabecera (Debe ir detrás de filas) */
table th {
  background: var(--colorPri);
  color: #fff;
  text-transform: uppercase;
  font-size: 0.8rem;
  line-height: 1.2rem;
  text-align: center;
}

/* Permite desplazamiento horizontal en modo móvil */
/*   MODO MÓVIL / TABLET   --------------------------------------------------
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* Móvil */
@media (max-width: 767px) {
  /* Scrooll horizontal */
  table {
    /* display: block;  */
    overflow-x: auto;
    /* box-shadow:none; */
    width: 97% !important;
  }
  table th,
  table td {
    border: 1px solid white;
    padding: 10px;
    font-size: 0.8rem;
    line-height: 1rem;
  }
  table th {
    font-size: 0.7rem;
    line-height: 0.9rem;
  }
}
/* Tablet */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+   CKEDITOR: VÍDEO EXTERNO <VIDEO>   +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* .video-externo[data-align="center"]{
	margin: 0 auto;
}
.video-externo[data-align="left"]{
	float: left;
}
.video-externo[data-align="right"]{
	float: right;
}
.video-externo {width:100%;}
.video-externo[data-width="20"]{width:20%;}
.video-externo[data-width="25"]{width:25%;}
.video-externo[data-width="30"]{width:30%;}
.video-externo[data-width="35"]{width:35%;}
.video-externo[data-width="40"]{width:40%;}
.video-externo[data-width="45"]{width:45%;}
.video-externo[data-width="50"]{width:50%;}
.video-externo[data-width="55"]{width:55%;}
.video-externo[data-width="60"]{width:60%;}
.video-externo[data-width="65"]{width:65%;}
.video-externo[data-width="70"]{width:70%;}
.video-externo[data-width="75"]{width:75%;}
.video-externo[data-width="80"]{width:80%;}
.video-externo[data-width="85"]{width:85%;}
.video-externo[data-width="90"]{width:90%;}
.video-externo[data-width="95"]{width:95%;} */
/*   MODO MÓVIL / TABLET   --------------------------------------------------
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* Móvil */
@media (max-width: 767px) {
  /* .video-externo {
  	margin: 0 !important;
  	width: 100% !important;
  } */
}
/* Tablet */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ CKEDITOR: FOTOS 
En el campo alt, añadimos al final "--ancho=núm"  para controlar el ancho en porcentaje


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 1. FOTOS CKEDITOR: FOTOS SIN PIE DE TEXTO (ETIQUETA). No llevan el contenedor <figure>  +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
article img {
  width: 100%;
  display: block;
  /* Alineación */
  /* Ancho de la foto */
}
article img.align-center {
  display: block;
  margin: 0 auto 20px auto;
  width: fit-content;
}
article img.align-left {
  float: left;
  margin: 10px 20px 10px 0;
}
article img.align-right {
  float: right;
  margin: 10px 0 10px 20px;
}
article img[alt*="--ancho=20"] {
  width: 20%;
}
article img[alt*="--ancho=25"] {
  width: 25%;
}
article img[alt*="--ancho=30"] {
  width: 30%;
}
article img[alt*="--ancho=35"] {
  width: 35%;
}
article img[alt*="--ancho=40"] {
  width: 40%;
}
article img[alt*="--ancho=45"] {
  width: 45%;
}
article img[alt*="--ancho=50"] {
  width: 50%;
}
article img[alt*="--ancho=55"] {
  width: 55%;
}
article img[alt*="--ancho=60"] {
  width: 60%;
}
article img[alt*="--ancho=65"] {
  width: 65%;
}
article img[alt*="--ancho=70"] {
  width: 70%;
}
article img[alt*="--ancho=75"] {
  width: 75%;
}
article img[alt*="--ancho=80"] {
  width: 80%;
}
article img[alt*="--ancho=85"] {
  width: 85%;
}
article img[alt*="--ancho=90"] {
  width: 90%;
}
article img[alt*="--ancho=95"] {
  width: 95%;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 2. FOTOS CKEDITOR: FOTOS CON PIE DE TEXTO (Etiqueta). Se envuelven con <figure>, y se le añade un <figcaption> +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
article figure {
  margin: 0;
  /* Alineación */
  /* Ancho de la foto */
  /* Pie de foto */
  /* & > .media-image {
  	margin: 0;
  } */
}
article figure.align-center {
  display: block;
  margin: 0 auto 20px auto;
}
article figure.align-left {
  float: left;
  margin: 10px 20px 10px 0;
}
article figure.align-right {
  float: right;
  margin: 10px 0 10px 20px;
}
article figure img {
  width: 100% !important;
}
article figure:has(img[alt*="--ancho=20"]) {
  width: 20%;
}
article figure:has(img[alt*="--ancho=25"]) {
  width: 25%;
}
article figure:has(img[alt*="--ancho=30"]) {
  width: 30%;
}
article figure:has(img[alt*="--ancho=35"]) {
  width: 35%;
}
article figure:has(img[alt*="--ancho=40"]) {
  width: 40%;
}
article figure:has(img[alt*="--ancho=45"]) {
  width: 45%;
}
article figure:has(img[alt*="--ancho=50"]) {
  width: 50%;
}
article figure:has(img[alt*="--ancho=55"]) {
  width: 55%;
}
article figure:has(img[alt*="--ancho=60"]) {
  width: 60%;
}
article figure:has(img[alt*="--ancho=65"]) {
  width: 65%;
}
article figure:has(img[alt*="--ancho=70"]) {
  width: 70%;
}
article figure:has(img[alt*="--ancho=75"]) {
  width: 75%;
}
article figure:has(img[alt*="--ancho=80"]) {
  width: 80%;
}
article figure:has(img[alt*="--ancho=85"]) {
  width: 85%;
}
article figure:has(img[alt*="--ancho=90"]) {
  width: 90%;
}
article figure:has(img[alt*="--ancho=95"]) {
  width: 95%;
}
article figure > figcaption {
  display: block !important;
  padding: 7px;
  margin: 0;
  width: 100%;
  text-align: right;
  color: var(--color-texto-claro);
  opacity: 1;
  font-size: 0.8rem;
  font-weight: 100;
  font-style: italic;
  line-height: 1rem;
}

/* .media-image {
	margin: 0 auto;
} */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+   CKEDITOR: MEDIA: image / remote-video / document   +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 1. MEDIA  CKEDITOR: Foto sin pie de texto
Estructura:
	article.align-center media media--type-image media--view-mode-default
		div.field field--name-field-media-image field--type-image field--label-visually_hidden
    		div.field__label visually-hidden
            div.field__item
				img alt=
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.media--type-image {
  /* Alineación */
}
.media--type-image.align-center {
  display: block;
  margin: 0 auto 20px auto;
}
.media--type-image.align-left {
  float: left;
  margin: 10px 20px 10px 0;
}
.media--type-image.align-right {
  float: right;
  margin: 10px 0 10px 20px;
}
.media--type-image img {
  width: 100% !important;
}
.media--type-image:has(img[alt*="--ancho=20"]) {
  width: 20%;
}
.media--type-image:has(img[alt*="--ancho=25"]) {
  width: 25%;
}
.media--type-image:has(img[alt*="--ancho=30"]) {
  width: 30%;
}
.media--type-image:has(img[alt*="--ancho=35"]) {
  width: 35%;
}
.media--type-image:has(img[alt*="--ancho=40"]) {
  width: 40%;
}
.media--type-image:has(img[alt*="--ancho=45"]) {
  width: 45%;
}
.media--type-image:has(img[alt*="--ancho=50"]) {
  width: 50%;
}
.media--type-image:has(img[alt*="--ancho=55"]) {
  width: 55%;
}
.media--type-image:has(img[alt*="--ancho=60"]) {
  width: 60%;
}
.media--type-image:has(img[alt*="--ancho=65"]) {
  width: 65%;
}
.media--type-image:has(img[alt*="--ancho=70"]) {
  width: 70%;
}
.media--type-image:has(img[alt*="--ancho=75"]) {
  width: 75%;
}
.media--type-image:has(img[alt*="--ancho=80"]) {
  width: 80%;
}
.media--type-image:has(img[alt*="--ancho=85"]) {
  width: 85%;
}
.media--type-image:has(img[alt*="--ancho=90"]) {
  width: 90%;
}
.media--type-image:has(img[alt*="--ancho=95"]) {
  width: 95%;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 2. MEDIA  CKEDITOR: Foto con pie de texto
Estructura:
	figure.caption caption-drupal-media align-right role="group"
		article.media media--type-image media--view-mode-default"
			div.field field--name-field-media-image field--type-image field--label-visually_hidden
    			div.field__label visually-hidden
              	div.field__item
					img alt=
		figcaption
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
figure.caption-drupal-media {
  /* Alineación */
}
figure.caption-drupal-media div {
  padding-bottom: 0;
}
figure.caption-drupal-media .media--type-image {
  width: auto !important;
}
figure.caption-drupal-media.align-center {
  display: block;
  margin: 0 auto 20px auto;
}
figure.caption-drupal-media.align-left {
  float: left;
  margin: 10px 20px 10px 0;
}
figure.caption-drupal-media.align-right {
  float: right;
  margin: 10px 0 10px 20px;
}
figure.caption-drupal-media img {
  width: 100% !important;
}
figure.caption-drupal-media:has(img[alt*="--ancho=20"]) {
  width: 20%;
}
figure.caption-drupal-media:has(img[alt*="--ancho=25"]) {
  width: 25%;
}
figure.caption-drupal-media:has(img[alt*="--ancho=30"]) {
  width: 30%;
}
figure.caption-drupal-media:has(img[alt*="--ancho=35"]) {
  width: 35%;
}
figure.caption-drupal-media:has(img[alt*="--ancho=40"]) {
  width: 40%;
}
figure.caption-drupal-media:has(img[alt*="--ancho=45"]) {
  width: 45%;
}
figure.caption-drupal-media:has(img[alt*="--ancho=50"]) {
  width: 50%;
}
figure.caption-drupal-media:has(img[alt*="--ancho=55"]) {
  width: 55%;
}
figure.caption-drupal-media:has(img[alt*="--ancho=60"]) {
  width: 60%;
}
figure.caption-drupal-media:has(img[alt*="--ancho=65"]) {
  width: 65%;
}
figure.caption-drupal-media:has(img[alt*="--ancho=70"]) {
  width: 70%;
}
figure.caption-drupal-media:has(img[alt*="--ancho=75"]) {
  width: 75%;
}
figure.caption-drupal-media:has(img[alt*="--ancho=80"]) {
  width: 80%;
}
figure.caption-drupal-media:has(img[alt*="--ancho=85"]) {
  width: 85%;
}
figure.caption-drupal-media:has(img[alt*="--ancho=90"]) {
  width: 90%;
}
figure.caption-drupal-media:has(img[alt*="--ancho=95"]) {
  width: 95%;
}

/* Los Media que tengan pie de foto, el width está en <figure>, por lo que hay que poner width = auto en .media-image */
/* figure > .media-image {width: auto !important;} */
/* .media--type-video {

} */
/* VÍDEOS-REMOTE MEDIA Y VÍDEOS YOUTUBE */
/* .media-remote-video > div,
.contenedor-youtube {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.media-remote-video > div > iframe,
.contenedor-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} */
/*   MODO MÓVIL / TABLET   --------------------------------------------------
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* Móvil */
@media (max-width: 767px) {
  /* Fotos */
  article img {
    float: none;
    max-width: 100%;
    width: 100% !important;
    height: auto;
    margin: 0 auto;
  }
  article figure {
    width: 100% !important;
  }
  article figure > figcaption {
    font-size: 1rem;
    line-height: 1.4rem;
  }
  /* Media */
  .media--type-image {
    width: 100% !important;
  }
  .figure.caption-drupal-media {
    width: 100% !important;
  }
  /* .media-image {width: 100% !important;}
  figure:has(.media-image){width: 100% !important;} */
}
/* Tablet */
/* 





/* ----------------------------------------------------------------------------
/* LOGOS
/* --------------------------------------------------------------------------- */
.logo {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 30px;
  padding: 50px 4% 40px;
}
.logo img {
  height: 70px;
  width: auto;
}
.logo h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #4d4d4d;
  letter-spacing: 0.02em;
  border-left: 1px solid rgb(109, 109, 109);
  padding-left: 20px;
  /* display: block;
    max-width: 200px;
    line-height: 1.2; */
}
.logo h1 {
  line-height: 1.1; /* Ajusta el espacio entre líneas */
  display: flex;
  flex-direction: column; /* Alinea los spans uno sobre otro */
}

.logo h1 .title-small {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: normal;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 5px;
}

.logo h1 .title-large {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .logo {
    padding: 0;
  }
  .logo h1 {
    display: none;
  }
}

/* ----------------------------------------------------------------------------
/* MENÚ - NAVICON
/* --------------------------------------------------------------------------- */
.navicon {
  position: absolute;
  top: 0;
  right: 0;
  background: #eee;
  width: 168px;
  height: 168px;
  transition: all 0.2s;
}
.navicon:hover {
  background: #e2e2e2;
}
.navicon button {
  background: url(/sites/transparencia/files/img/ico-menu.svg) transparent
    center center / 32px auto no-repeat;
  text-indent: -9999px;
  width: 168px;
  height: 168px;
  border: 0;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .navicon,
  .navicon button {
    width: 93px;
    height: 93px;
  }
}

/* ----------------------------------------------------------------------------
+
+   MENÚ LATERAL #SIDEBAR-FIRST  +
+
------------------------------------------------------------------------------- */
/* --- CONTENEDOR DEL MENÚ --- */
.menu-lateral {
  list-style: none;
  padding: 35px 2rem;
  margin: 0;
  counter-reset: menu-us; /* Inicializa el contador */
  flex-grow: 0;
  text-align: left;
}

/* --- CADA ITEM DEL MENÚ --- */
.menu-lateral__item {
  margin-bottom: 25px;
  position: relative;
  counter-increment: menu-us; /* Incrementa el contador */
}

/* --- GENERACIÓN DE NÚMEROS (1., 2., 3...) --- */
.menu-lateral__item::before {
  content: counter(menu-us) "."; /* Agrega el número y el punto */
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1;
}

/* --- COLORES ESPECÍFICOS POR NÚMERO --- */
.menu-lateral__item:nth-child(1)::before {
  color: var(--color__institucional);
}
.menu-lateral__item:nth-child(2)::before {
  color: var(--color__juridica);
}
.menu-lateral__item:nth-child(3)::before {
  color: var(--color__economica);
}
.menu-lateral__item:nth-child(4)::before {
  color: var(--color__rrhh);
}

/* --- ESTILO DE LOS ENLACES --- */
.menu-lateral__item a {
  text-decoration: none;
  color: #454545;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  display: block;
  transition: color 0.2s ease;
}

.menu-lateral__item a[href="/informacion-institucional"]:hover {
  color: var(--color__institucional);
}
.menu-lateral__item a[href="/informacion-juridica"]:hover {
  color: var(--color__juridica);
}
.menu-lateral__item a[href="/informacion-economica"]:hover {
  color: var(--color__economica);
}
.menu-lateral__item a[href="/recursos-humanos"]:hover {
  color: var(--color__rrhh);
}

/* --- ESTADO ACTIVO  --- */
/* .menu-lateral__item.is-active::after,
.menu-lateral__item:has(a.is-active)::after {
  content: "";
  position: absolute;
  left: -20px; 
  top: 50%;
  transform: translateY(-50%);
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 15px solid #fff; 
} */
.menu-lateral__item.is-active::after {
  content: "";
  position: absolute;
  left: -52px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 35px solid transparent; /* Altura del lado superior inclinado */
  border-bottom: 35px solid transparent; /* Altura del lado inferior inclinado */
  border-left: 35px solid #ffffff; /* Ancho de la base y COLOR (apunta a la derecha) */
}

/* Pedir información */
.btn-pedir-informacion {
  padding: 15px 15px 15px 70px;
  font-size: 17.5px;
  line-height: 22px;
  color: #6a9aad !important;
  text-transform: uppercase;
  background: url(/sites/transparencia/files/img/ico-bocadillos.png)
    rgba(255, 255, 255, 0.5) 25px center / auto 32px no-repeat;
  display: inline-block;
  border-radius: 50px;
  margin-top: auto;
  width: fit-content;
  text-decoration: none;
}
.btn-pedir-informacion:hover {
  background: url(/sites/transparencia/files/img/ico-bocadillos.png)
    rgba(255, 255, 255, 1) 25px center / auto 32px no-repeat;
}
/*Sidebar First: Centrado del botón */
#block-theme-us-pedirinformacion-2 .content {
  display: flex;
  justify-content: center;
}
/* Sidebar Second: Centrado del botón */
#block-theme-us-pedirinformacion .content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4rem;
}

/* ----------------------------------------------------------------------------
+
+   MENÚ LATERAL #SIDEBAR-SECOND  +
+
------------------------------------------------------------------------------- */
.sidebar-second__titular {
  position: absolute;
  right: 0;
  top: 0;
}

/* 0. Fondo General */
.sidebar-second__fondo {
  background: var(--imagen__general) transparent center center / auto 100%
    no-repeat;
  background-attachment: scroll !important;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.sidebar-second__fondo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color__general);
  opacity: 0.65;
  z-index: 1;
}

/* 0. Portada */
/* Misma portada que Fondo General */
.sidebar-second__fondo--portada::before {
  background: var(--color__portada);
  opacity: 0.65;
}

/* 1. Fondo Institucional */
.sidebar-second__fondo--institucional {
  background: var(--imagen__institucional) transparent center center / auto 100%
    no-repeat;
}
.sidebar-second__fondo--institucional::before {
  background: var(--color__institucional);
  opacity: 0.65;
}

/* 2. Fondo Jurídica */
.sidebar-second__fondo--juridica {
  background: var(--imagen__juridica) transparent center center / auto 100%
    no-repeat;
}
.sidebar-second__fondo--juridica::before {
  background: var(--color__juridica);
  opacity: 0.65;
}

/* 3. Fondo Económica */
.sidebar-second__fondo--economica {
  background: var(--imagen__economica) transparent center center / auto 100%
    no-repeat;
}
.sidebar-second__fondo--economica::before {
  background: var(--color__economica);
  opacity: 0.65;
}

/* 4. Fondo RRHH */
.sidebar-second__fondo--rrhh {
  background: var(--imagen__rrhh) transparent center center / auto 100%
    no-repeat;
}
.sidebar-second__fondo--rrhh::before {
  background: var(--color__rrhh);
  opacity: 0.65;
}

/* ----------------------------------------------------------------------------
/* PDT - HORIZONTAL
/* --------------------------------------------------------------------------- */
.pdt-horizontal {
  display: none;
  width: 100%;
  height: 70px;
  background: var(--color__portada);
  position: absolute;
  left: 0;
  top: 94px;
  --imagen__pdt-horizontal: url(/sites/transparencia/files/img/pdt-horizontal.png);
  background: var(--imagen__pdt-horizontal) var(--color__portada) center center /
    auto 100% no-repeat;
}
.pdt-horizontal--institucional {
  background: var(--imagen__pdt-horizontal) var(--color__institucional) center
    center / auto 100% no-repeat;
}
.pdt-horizontal--juridica {
  background: var(--imagen__pdt-horizontal) var(--color__juridica) center center /
    auto 100% no-repeat;
}
.pdt-horizontal--economica {
  background: var(--imagen__pdt-horizontal) var(--color__economica) center
    center / auto 100% no-repeat;
}
.pdt-horizontal--rrhh {
  background: var(--imagen__pdt-horizontal) var(--color__rrhh) center center /
    auto 100% no-repeat;
}

@media screen and (max-width: 768px) {
  .pdt-horizontal {
    display: block;
  }
}

/* ----------------------------------------------------------------------------
/* PEDIR INFORMACIÓN MÓVIL
/* --------------------------------------------------------------------------- */
.pedir-info-movil {
  display: none;
  z-index: 1000;
  width: calc(100% + 20px);
  height: 110px;
  margin: 0;
  background: var(--imagen__general) transparent center center / 100% auto
    no-repeat;
}
.pedir-info-movil::before {
  content: "";
  width: 100%;
  height: 100%;
  background: var(--color__portada);
  opacity: 0.85;
}
.pedir-info-movil .btn-pedir-informacion {
  position: absolute;
}

@media screen and (max-width: 768px) {
  .pedir-info-movil {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /*  #footer.layout-footer {
    margin-top: 120px;
  } */
}

/* ----------------------------------------------------------------------------
+
+   FOOTER  +
+
------------------------------------------------------------------------------- */
.block-block-content {
  width: 100%;
}

.footer-ctn {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Footer Info (Logo + Dirección) */
.footer-info {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-info__logo {
  position: relative;
  top: -10px;
}
.footer-info__logo img {
  height: 70px;
  margin-right: 20px;
}
.footer-info__direccion {
  font-size: 14px;
  color: #fff;
  vertical-align: middle;
  line-height: 22px;
}

/* Enlaces Footer */
.footer-enlaces li {
  list-style: none;
}
.footer-enlaces a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

/* Copyrityght */
.footer-copyright {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}

/* --- MODO MÓVIL: DESAPARECEN SIDEBARS --- */
@media (max-width: 768px) {
  .footer-ctn,
  .footer-info {
    flex-direction: column;
    align-items: center;
  }
  .footer-info__logo {
    top: 0;
    padding-top: 20px;
  }
  .footer-info__direccion {
    text-align: center;
    margin-bottom: 20px;
  }
}

/* ----------------------------------------------------------------------------
+
+   INFORMACION  +
+
------------------------------------------------------------------------------- */
.info {
  padding: 50px 4%;
  /* --color1 ya viene definido desde el style="" del HTML */
  /* Derivamos el color claro dinámicamente */
  --color2: color-mix(in srgb, var(--color1), white 40%);
  --colorTexto: #454545;
}
.info__header {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-content: stretch;
  align-items: center;
}
.info__header-title {
  font-size: 1.75rem;
  line-height: 2.2rem;
  color: var(--colorTexto);
  padding-right: 30px;
  order: 0;
  flex: 0 1 auto;
  align-self: auto;
}
.info__header-title span {
  font-weight: 500;
}
.info__header-num {
  font-size: 72px;
  font-family: "Montserrat", sans-serif;
  line-height: 1em;
  color: var(--color2);
}
.info__header-num span {
  font-family: "Montserrat", sans-serif;
  color: var(--color1);
  font-weight: 600;
}

/* info-ctn */
.info__ctn {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  row-gap: 3rem;
  margin-top: 30px;
}

/* info-item */
.info__item-num {
  color: var(--color2);
  font-size: 3.1rem;
  font-family: "Montserrat", sans-serif;
  display: inline-block;
  line-height: 1;
}
.info__item-num span {
  font-family: "Montserrat", sans-serif;
  color: var(--color1);
  font-weight: 600;
  margin-left: -0.7rem;
}

.info__item-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.35rem;
  margin: 0 0 30px;
  font-weight: 500;
  color: var(--colorTexto);
  letter-spacing: -0.05rem;
}
.info__item-content ul {
  margin: 0;
  margin-left: 20px;
  padding: 0;
}
.info__item-content li {
  /*  list-style-type: disc; */
  font-size: 1rem;
  margin: 5px 0;
  color: var(--colorTexto);
  margin-bottom: 13px;
  padding: 0;
  line-height: 1.3rem;
}
.info__item-content a {
  color: #454545;
  text-decoration: none;
  transition: all 0.2s;
}

.info__item-content a:hover {
  color: var(--color2);
}

/* Móvil */
@media (max-width: 768px) {
  .info__ctn {
    grid-template-columns: 1fr;
  }
  .info__header-title {
    font-size: 1.6rem;
    line-height: 2rem;
  }
}

/* ----------------------------------------------------------------------------
+
+   INFORMACION COMPLEMENTARIA  +
+
------------------------------------------------------------------------------- */
.info-comple {
  padding: inherit;
  /* --color1 ya viene definido desde el style="" del HTML */
  /* Derivamos el color claro dinámicamente */
  --color2: color-mix(in srgb, var(--color1), white 40%);
  --colorTexto: #454545;
}

.info-comple__header-title {
  font-size: 2rem;
  line-height: 2.4rem;
  color: var(--colorTexto);
  padding-right: 30px;
  order: 0;
  flex: 0 1 auto;
  align-self: auto;
}
.info-comple__header-informacion {
  font-size: 1rem;
  line-height: 1.2rem;
  color: var(--color1);
}

/* Cuerpo */
.info-comple__cuerpo {
  margin-top: 30px;
  margin-left: 1rem;
}
.info-comple__cuerpo a:hover {
  color: var(--color2);
}

/* ----------------------------------------------------------------------------
+
+   INMUEBLES  +
+
------------------------------------------------------------------------------- */
.inmuebles {
  padding: 50px 4%;
}

/* 1. Contenedor de la Vista: Rejilla de 3 columnas */
.inmuebles .view-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Crea 3 columnas iguales */
  gap: 2rem; /* Espacio entre las fichas */
  margin-top: 2rem;
}

/* 2. Estilo de la Tarjeta (Inmueble) */
.inmueble-card {
  display: flex;
  flex-direction: column; /* Apila imagen arriba y texto abajo */
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Para que todas las tarjetas midan lo mismo en la misma fila */
  border: 1px solid #eaeaea;
  position: relative;
}

.inmueble-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* 3. Normalización de las Fotos (Proporción fija) */
.inmueble-card__figure {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10; /* Controla la proporción de la foto (puedes usar 4/3 o 16/9) */
  overflow: hidden;
  background: #f0f0f0;
  margin: 0;
}

.inmueble-card__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Recorta la imagen para llenar el contenedor sin deformarse */
  transition: transform 0.5s ease;
}

.inmueble-card:hover .inmueble-card__figure img {
  transform: scale(1.05); /* Efecto zoom suave al pasar el ratón */
}

/* 4. Cuerpo de la tarjeta */
.inmueble-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Empuja el botón hacia abajo si el texto es corto */
}

.inmueble-card__titulo {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
  color: var(--color__economica);

  /* Limita el título a 2 líneas para mantener uniformidad */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.inmueble-card__info {
  margin-bottom: 1rem;
}

.inmueble-card__tag {
  padding: 12px;
  background-color: var(--color__economica);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  /* border-radius: 20px; */
  /* font-weight: 600; */
  position: absolute;
  top: 0;
  right: 15px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
  line-height: 0;
}

.inmueble-card__observaciones {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  /* Limita la descripción a 3 líneas */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.inmueble-card__id {
  opacity: 0.9;
  font-size: 0.9rem;
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  background: #706347;
  padding-left: 10px;
  font-style: italic;
  color: white;
}

.inmueble-card strong {
  color: white;
}

/* 5. Botón de localización */
.btn-mapa {
  /* margin-top: auto; */
  /* text-align: center; */
  /* padding: 10px; */
  /* border: 2px solid var(--color__economica); */
  /* border-radius: 6px; */
  color: transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 2.3rem;
  transition: all 0.2s ease;
  position: absolute;
  top: 10px;
  left: 0;
  -webkit-text-stroke: 2px var(--color__economica);
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.6));
}

.btn-mapa:hover {
  /* background-color: var(--color__economica); */
  color: var(--color__economica);
  -webkit-text-stroke: 0px var(--color__economica);
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.6));
  /*   border-color: var(--color__economica); */
}

/* 6. Responsive: Ajuste de columnas */
@media (max-width: 1100px) {
  .inmuebles .view-content {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
  }
}

@media (max-width: 650px) {
  .inmuebles .view-content {
    grid-template-columns: 1fr; /* 1 columna en móviles */
    gap: 1.5rem;
  }
}

/* borrar */

/* Asegurar que el foco sea visible para navegación con teclado (WCAG) */
:focus-visible {
  outline: 3px solid #459bcc;
  outline-offset: 2px;
}

/* 1. Fondo del Overlay (Fundido suave) */
/* .menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(240, 240, 240, 0.98);
  z-index: 10000;
  display: none; 
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.menu-overlay.is-active {
  display: flex;
  opacity: 1;
} */

/* 2. Animación Zoom del Contenido */
/* .menu-overlay__content {
  width: 90%;
  max-width: 1200px;
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.menu-overlay.is-active .menu-overlay__content {
  transform: scale(1); 
  opacity: 1;
} */

/* 3. Botón de Cierre (Esquina superior derecha y grande) */
/* .menu-overlay__close {
  position: absolute;
  top: 1.5rem;  
  right: 2.5rem; 
  background: none;
  border: none;
  font-size: 5rem; 
  line-height: 1;
  cursor: pointer;
  color: #333;
  padding: 10px;
  transition: transform 0.2s ease, color 0.2s ease;
  z-index: 10001;
}

.menu-overlay__close:hover,
.menu-overlay__close:focus {
  color: var(--color1, #459bcc); 
  transform: scale(1.1);
} */

/* Accesibilidad: Indicador de foco para teclado */
/* .menu-overlay__close:focus-visible {
  outline: 3px solid #459bcc;
  border-radius: 8px;
} */

/* Ocultar elementos pero mantenerlos para lectores de pantalla */
.visually-hidden-focusable:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

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

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+   MENÚ OVERLAY   +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* 1. Contenedor Fondo: Usamos visibility en lugar de display */
.menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(240, 240, 240, 0.98);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8rem 2rem 4rem;

  /* Estado inicial: Invisible pero listo para animar */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s;
  will-change: opacity;
}

/* Estado Activo */
.menu-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 2. Contenido con Zoom fluido */
.menu-overlay__content {
  width: 90%;
  max-width: 1200px;
  /* Efecto: Empieza un poco más grande y escala a su sitio (más elegante que empezar pequeño) */
  transform: scale(1.1);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  will-change: transform, opacity;
}

.menu-overlay.is-active .menu-overlay__content {
  transform: scale(1);
  opacity: 1;
}

/* 3. Botón de Cierre Pro */
.menu-overlay__close {
  position: absolute;
  top: 2rem;
  right: 3rem;
  background: transparent;
  border: none;
  font-size: 6rem; /* Gigante y claro */
  font-weight: 200; /* Más fino suele quedar más elegante */
  line-height: 1;
  cursor: pointer;
  color: #1a1a1a;
  z-index: 10001;
  transition: transform 0.2s ease, color 0.2s ease;
}

.menu-overlay__close:hover {
  color: var(--color1, #459bcc);
  transform: rotate(90deg) scale(1.2); /* Pequeño toque de rotación */
}

/* Móvil */
@media (max-width: 768px) {
  .menu-overlay {
    padding: 5rem 2rem 4rem;
  }
  .menu-overlay__close {
    top: 10px;
    font-size: 5rem;
    right: 25px;
  }
}

/* ----------------------------------------------------------------------------
+
+   MENÚ PRINCIPAL INFORMACION  +
+
------------------------------------------------------------------------------- */
.info-menu > .view-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 8rem;
  row-gap: 2rem;
  margin: 0 5rem;
  margin-top: 60px;
}
.info-menu .info {
  padding: 0;
  padding-bottom: 0;
  --texto-menu: #6c6c6c;
}
.info-menu .info__header {
  display: block;
}
.info-menu .info__header-title {
  font-size: 1.3rem;
  line-height: 1.7rem;
  font-weight: 600;
  margin-top: 0;
  letter-spacing: -0.02rem;
}
.info-menu .info__header-title a:hover {
  color: var(--color2);
}
.info-menu .info__descripcion {
  font-size: 1rem;
  color: var(--texto-menu);
  margin-top: 10px;
  letter-spacing: -0.02rem;
  line-height: 1.6rem;
}

/* Móvil */
@media (max-width: 768px) {
  .info-menu > .view-content {
    grid-template-columns: 1fr;
    margin: 0;
    margin-top: 30px;
  }
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+   BOTÓN IR ARRIBA   +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* Botón ir arriba optimizado */
#button-up {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  border-radius: 50%;
  font-size: 25px;
  cursor: pointer;
  border: 2px solid white;
  transition: all 300ms ease;
  z-index: 9999;
  filter: invert(50%) sepia(7%) saturate(0%) hue-rotate(159deg) brightness(106%)
    contrast(108%);
}

#button-up.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+   PAGINADOR (Actualidad (Noticias) / Agenda (Eventos))   +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.pager {
  margin-top: 15px;
}

.pager__items {
  clear: both;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 60px;
}

.pager__item {
  padding: 0;
  display: inline;
  margin-bottom: 15px;
  /* Casilla activa */
}
.pager__item > a {
  padding: 10px 13px;
  font-size: 0.9rem;
  line-height: 1;
  color: var(--colorPri);
  background-color: white;
  border-top: 1px solid rgb(143, 142, 142);
  border-right: 1px solid rgb(143, 142, 142);
  border-bottom: 1px solid rgb(143, 142, 142);
}
.pager__item > a:hover {
  background: rgba(113, 156, 15, 0.2);
  /* border: 1px solid var(--colorPri);  */
  /* border-color: var(--colorSec); */
}
.pager__item:first-of-type a {
  border: 1px solid rgb(143, 142, 142);
}
.pager__item.is-active {
  font-weight: 100;
}
.pager__item.is-active a {
  /* , li.pager__item.is-active:last-child a */
  color: white !important;
  background: var(--color__economica);
  border: 1px solid var(--color__economica);
}

/*   MODO MÓVIL / TABLET   --------------------------------------------------
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* Móvil */
/* Tablet */

/* 
	FILTRO
	---------
	Región:
	Template:
	Descripción:
	Última revisión: 29/07/2024
*/
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+   ETIQUETAS FILTRO  +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.filtro__item {
  font-size: 12px;
  line-height: 15px;
  padding: 5px 10px;
  background: rgba(2, 173, 193, 0.1);
  color: #02adc1;
  border: none;
  margin: 3px;
}
.filtro__item:hover {
  background: rgba(2, 173, 193, 0.7);
  color: white !important;
  cursor: pointer;
}

.filtro__item--activo {
  background: var(--color__economica);
  color: white !important;
}

.filtro__opciones {
  margin: 20px auto 50px;
  width: fit-content;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  grid-gap: 5px;
  padding-bottom: 20px;
  border-bottom: 1px dotted #d5d2d2;
  /* background: #f9f7f1; */
}

/*   MODO MÓVIL / TABLET   --------------------------------------------------
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* Móvil */
/* Tablet */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+   ETIQUETAS FILTRO (BOTONES CURVADOS) +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* .filtro__item {
	font-size: 12px;
  line-height: 15px;
  padding: 5px 10px;
  background: white;
  color: black;
  border: none;
  padding: 10px 15px;
  border: 1px solid grey;
  margin-right: -1px;

  &:nth-child(1) {border-radius:15px 0 0 15px;}
  &:last-child {border-radius:0 15px 15px 0;}

  &:hover {
    background: var(--colorSec);
    color: white !important;
    cursor: pointer;
  }
}

.filtro__item--activo {
  background: var(--colorPri);
  color: white !important;
}

.filtro__opciones {
	margin: 20px auto 50px;
  width: fit-content;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px dotted #d5d2d2;
} */
/*   MODO MÓVIL / TABLET   --------------------------------------------------
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* Móvil */
/* Tablet */

/* Filtro Vistas */
.filtro-vista {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
}
/* Neutralizamos los wrappers de Drupal */
.filtro-vista .view-header,
.filtro-vista .view-content {
  display: contents; /* Neutraliza el contenedor sin afectar a su contenido */
}

.titulo-inmuebles {
  margin-top: 1.5rem;
  flex: 0 0 100%; /* Fuerza al h3 a ocupar toda la primera fila */
  margin-bottom: 15px;
  line-height: 2.2rem;
}

.filtro-vista .view-header {
  order: 1;
  padding: 0;
  /* display: inline-flex;
  flex-wrap: wrap;
  gap: 5px; */
}
.filtro-vista .view-content {
  order: 2;
  padding: 0;
  margin-top: 0;
  /* display: inline-flex;
  flex-wrap: wrap;
  gap: 5px; */
}
.filtro-vista .view-footer {
  order: 3;
  /* display: flex;
  gap: 1px; */
}
.filtro-vista .filtro-vista__boton {
  font-size: 12px;
  line-height: 1;
  padding: 5px 10px;
  /*  background: rgba(0, 0, 0, 0.05);
   color: rgba(0, 0, 0, 0.8);
   border: none; */
  margin: 0;
  white-space: nowrap;
  display: inline-block;
  background: white;
  border: 1px solid #dbd8d8;
  color: grey;
  text-transform: uppercase;
}
.filtro-vista .filtro-vista__boton:hover {
  background: rgb(233, 204, 213);
  color: black !important;
  cursor: pointer;
}
.filtro-vista .filtro-vista__boton.filtro-activo {
  background: var(--us-rojo-oscuro);
  color: white !important;
}

.agrupa__titulo {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 2rem;
  /* font-weight: 600; */
  color: var(--color__economica);
  border-bottom: 2px dotted #f1d79e;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+   ETIQUETAS FILTRO  +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.filtro__item {
  font-size: 12px;
  line-height: 15px;
  padding: 5px 10px;
  background: white;
  color: black;
  border: none;
  /* margin: 3px; */
  padding: 10px 15px;
  border: 1px solid grey;
  margin-right: -1px;
}
.filtro__item:nth-child(1) {
  border-radius: 15px 0 0 15px;
}
.filtro__item:last-child {
  border-radius: 0 15px 15px 0;
}
.filtro__item.filtro__item--activo {
  background: var(--colorPri);
  color: white !important;
}
.filtro__item:hover {
  background: var(--colorSec);
  color: white !important;
  cursor: pointer;
}

.filtro__opciones {
  margin: 20px auto 50px;
  width: fit-content;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* grid-gap: 5px; */
  padding-bottom: 20px;
  border-bottom: 1px dotted #d5d2d2;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+   ETIQUETAS FILTRO  +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.eventos-blq .filtro-vista {
  margin-bottom: 0;
}
.eventos-blq .filtro-vista:nth-child(1) {
  padding-bottom: 0;
}
.eventos-blq .view-filters {
  background: white;
  padding: 1rem;
  margin-bottom: 2rem;
}

/*   MODO MÓVIL / TABLET   --------------------------------------------------
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* Móvil */
/* Tablet */
/* 




/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ FORMULARIO /USER +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
#user-login-form {
  margin-top: 1rem !important;
  margin-left: 20px;
}

.user-login-form {
  max-width: 400px;
  /* margin: 0 auto;
  padding: 2rem; */
}

.form__group {
  margin-bottom: 1rem;
}
.form__group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.form__actions button {
  background-color: #80002a;
  color: white;
  border: none;
  border-radius: 2rem;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
}
.form__actions button button:hover,
.form__actions button button:focus {
  background-color: #a00036;
}

.form__links {
  text-align: center;
  margin-top: 1rem;
}
.form__links a {
  color: #80002a;
  text-decoration: none;
}
.form__links a:hover {
  text-decoration: underline;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/* 0. CKEDITOR: ACCORDION  +
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* Se compone de: */
/* Contenedor Acordeón */
.ckeditor-accordion-container > dl {
  position: relative;
  border: none;
}

article div.ckeditor-accordion-container {
  padding-bottom: 0;
}

/* Cabecera */
.ckeditor-accordion-container > dl dt > a,
.ckeditor-accordion-container > dl dt:last-of-type > a,
.ckeditor-accordion-container > dl dt > a:not(.button) {
  display: block;
  padding: 10px 15px 10px 10px;
  background-color: white;
  color: var(--color-texto) !important;
  cursor: pointer;
  -webkit-transition: background-color 300ms;
  transition: background-color 300ms;
  border-bottom: 1px solid #d4d4d4;
  font-size: 1rem;
  line-height: 1.2rem;
  /* Incorporado */
  display: flex;
  justify-content: space-between;
  position: relative;
  text-decoration: none !important;
}

.ckeditor-accordion-container > dl dt:first-of-type > a {
  border-top: 1px solid #d4d4d4;
  font-size: 1.1rem;
  line-height: 1.3rem;
  font-weight: 400;
  /* color: var(--colorSec) !important; */
  transition: all 0.35s ease-out;
}

/* Hover y Active */
.ckeditor-accordion-container > dl dt > a:hover,
.ckeditor-accordion-container > dl dt.active > a,
.ckeditor-accordion-container > dl dt > a:not(.button):hover {
  background: #fdfafa;
  color: var(--colorSec) !important;
}

.ckeditor-accordion-container > dl dt.active > a {
  border-bottom: none;
  font-size: 1.3rem;
  line-height: 1.5rem;
  margin-bottom: 1rem;
}

/* Flechita */
.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle {
  /* display: inline-block;
  position: absolute; */
  display: block;
  position: relative;
  /* padding: 0 10px; */
  width: 30px;
  height: 30px;
  z-index: 1;
  /* top: calc(50% - 1px); */
  /*  left: inherit;
  right: 10px; */
  /* left: auto;
  right: 0; */
  box-sizing: border-box;
  /* Añadido */
  order: 2;
  top: 10px;
  padding: 0 15px;
  left: 13px;
}

.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle:before,
.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle:after {
  background: var(--color-texto);
  /* -webkit-transition: all 600ms cubic-bezier(0.4,0,0.2,1);
     transition: all 600ms cubic-bezier(0.4,0,0.2,1); */
  transition: all 0.35s ease-out;
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  width: 10px;
  z-index: -1;
  left: 0;
  top: 0;
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
  will-change: transform;
}

.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle:before {
  left: 13px;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle:after {
  right: 13px;
  left: auto;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

/* Número */
.ckeditor-accordion-container > dl dt > a > .faq__numero {
  font-size: 1.2rem;
}

/* Cuerpo */
.ckeditor-accordion-container > dl dd {
  display: none;
  padding: 0 15px;
  margin: 0;
  will-change: height;
  border-bottom: 1px solid #d4d4d4;
  /* margin-left: 1.8rem; */
  padding-left: 1.3rem;
}

/* Nuevo en módulo D9 */
.ckeditor-accordion-container > dl dt > a:focus,
.ckeditor-accordion-container > dl dt > a:not(.button):focus {
  outline-color: red;
}
