.site-inner {
    max-width: unset !important;
    padding: 0;
}

.sr-only, #wpadminbar {
    display: none;
}

.site-inner .content {
    width: 100% !important;
}

/* Estilo general de centrado*/
.centered-column {
    max-width: var(--standar-max-w);
    padding: 0 15px;
}

/* Cuando es el primero */
.centered-column:first-of-type {
    margin: 2em auto 0;
    padding-bottom: 1em;
}

/* Cuando es alguno de en medio */
.centered-column:not(:first-of-type):not(:last-of-type) {
    margin: 1em auto 0;
    padding-bottom: 1em;
}

/* Cuando no es el primero, pero si es el ultimo */
.centered-column:not(:first-of-type):last-of-type {
    margin: 1em auto 0;
    padding-bottom: 3em;
}

/* Cuando es a la vez el primero y el ultimo */
.centered-column:first-of-type:last-of-type {
    margin: 2em auto 0;
    padding-bottom: 3em;
}

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

.text-align-justify {
    text-align: justify;
}

/* 

//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////

//                                   HOMEPAGE

//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////

*/


.latest-news-section {
    background-color: var(--pastel);
    padding: 0px 20px;
    text-align: center;
}

section.page-colaboradores-section {
    margin: 3em auto 4em;
    max-width: 1295px;
    padding: 0 15px;
}

.section-title {
    font-size: 29.94px;
    font-weight: 300;
    padding: 2em 0 1em;
    text-align: center;
    margin-bottom: 0px;
}

.news-container {
    display: flex;
    justify-content: center;
    gap: 38px;
    flex-wrap: wrap;
    max-width: 1280px;
    margin: 0 auto;

}

.news-item {
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: left;
}

.news-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.news-image {
    text-decoration: none;
    display: block;
}

.news-content {
    padding: 20px 26px 26px;
}

.news-title {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.news-description {
    font-size: 16px;
    color: var(--grey-notice);
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.37;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-button {
    display: inline-block;
    background: var(--yellow);
    color: var(--black);
    padding: 7px 30px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 18.02px;
}

.all-news-container {
    margin-top: 49px;
    padding-bottom: 48px;
}

.all-news-button {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 8px 23px;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    border-radius: 20px;

}

/* Por defecto: grid en pantallas grandes */
.news-swiper .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* gap: 20px; */
    max-width: 1280px;
    margin: auto;
}

/* Ocultar flechas por defecto */
.swiper-button-prev,
.swiper-button-next {
    display: none;
}

.presentation-logo {
    width: 250px;
    height: 180px;
    margin: auto auto 2em auto;
    display: flex;

}

p.presentation-description {
    font-size: 20px;
    color: var(--negro-2);
    max-width: 1205px;
    font-weight: 700;
    text-align: center;
    justify-self: center;
    line-height: 2;
    margin-bottom: 2em;

}

a.presentation-button {
    font-size: 16px;
    font-weight: 900;
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 8px 23px;
    text-decoration: none;
    text-align: center;
    border-radius: 20.5px;
    width: 149px;
}

.presentation-section {
    height: 568px;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: center;
    justify-self: center;
    width: 100%;
}


.formacion-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.formacion-container .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-content: center;
    row-gap: 20px;
}

.formacion-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* max-width: 250px; */
    display: grid;
    gap: 12px;
    grid-template-rows: 60px 32px 116px 40px;
    place-content: center;
    place-items: center;
}

.titulo-subtitulo-formacion {
    display: grid;
    place-content: center;
    place-items: center;
}

.formacion-title {
    font-size: 25px;
    font-weight: 300;
    margin-bottom: 0px;
}

.formacion-subtitle {
    font-size: 18px;
    margin-bottom: 0px;
    font-weight: 600;
}

.formacion-flecha-container {
    /* margin-top: 20px; */
}

.formacion-flecha-container {
    width: 100%;
    max-width: 69px;
}

img.formacion-icon {
    height: 130px;
}

.formacion-button-container {
    min-height: 50px;
    max-width: 90px;
    object-fit: contain;
    width: 100%;
    place-self: center;
    display: grid;
}



.formacion-button-placeholder {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.formacion-placeholder {
    width: 100%;
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: #666;
}

.formacion-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px 27px;
    text-align: center;
    color: black;
}

.formacion-content {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 70px;
}

.formacion-button {
    display: flex;
    width: 40px;
    height: 40px;
    background: var(--black);
    color: var(--white);
    text-align: center;
    border-radius: 33px;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.formacion-button img {
    width: 10px;
    height: 20px;
    transform: translateX(2px);
}

p:empty {
    width: 0 !important;
    height: 0 !important;
    visibility: hidden;
    display: none;
}


span.formacion-text {
    font-size: 38px;
    font-weight: 300;
}


span.formacion-text-secondary {
    max-width: 280px;
    text-align: left;
    /* font-size: 26px; */
    font-size: 22px;
    font-weight: 300;
    line-height: 1.3;
}



.actividades-section {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    /* padding: 0px 20px 40px; */
    padding-bottom: 114px;
    gap: 1.5em;
}

.eventos-hijo {
    padding: 0px 0px 4em;
}


/* Contenedor de Actividades */
.actividades-container {
    display: flex;
    gap: 1.5em;
    justify-content: center;
    flex-wrap: wrap;
}

.actividad, .actividad-link {
    flex: 1;
    overflow: hidden;
    max-width: 400px;
    text-decoration: none;
    display: block;
    margin: auto;
}

.actividad-link {
    display: block;
}

.actividad img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    max-height: 300px;
}

.actividad-info {
    padding: 10px 25px 25px;
    background: var(--yellow);
    color: var(--black);
    display: grid;
    /* grid-template-rows: 0fr 1fr auto; */
    grid-template-rows: auto 1fr auto;
    height: 180px;
    text-align: left;
    text-transform: uppercase;
}

.actividad-info .fecha {
    font-weight: 900;
    display: block;
    color: var(--white);
    font-size: 30px;
    filter: drop-shadow(var(--yellow) 0rem 0rem 10px);
    /* margin-bottom: 5px; */
}

.actividad-info h3 {
    font-size: 22px;
    font-weight: 900;
    /* margin-bottom: 15px; */
    margin-bottom: 0px;
    color: var(--footer-color);
    text-transform: uppercase;
}

.actividad-info .btn {
    display: inline-block;
    padding: 4px 0px;
    background: var(--white);
    color: var(--black);
    border-radius: 20px;
    font-weight: 900;
    text-decoration: none;
    max-width: 129px;
    text-align: center;
    font-size: 15px;

}

/* Próximos Eventos */
.proximos-eventos {
    flex: 1;
    background: var(--pastel-2);

}

.eventos-hijo {
    padding: 20px 20px 4em;

}

.proximos-eventos .eventos-hijo h2 {
    font-size: 30px;
    margin-bottom: 15px;
    text-align: start;
    font-weight: 300;
    text-transform: uppercase;
}

.proximos-eventos .eventos-hijo ul {
    list-style: none;
    padding: 0;
}

.evento-item {
    padding: 5px 0 8px;
    border-bottom: 1px solid var(--hr-noticias-home);
}

.evento-fecha {
    font-weight: 900;
    color: var(--yellow);
    display: block;
    margin-bottom: 0px;
    filter: drop-shadow(var(--white) 0rem 0rem 10px);
}

/* Contenedor del título y la flecha */
.evento-contenido {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Estilo del título */
.evento-titulo {
    text-decoration: none;
    font-size: 16px;
    color: var(--black);
    font-weight: 900;
    max-width: 230px;
}

/* Flecha con círculo negro */
.evento-flecha {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 14px;
}

img.flecha-circulo {
    transform: translateX(2px);
    width: 9px;
    height: 18px;
}



/* =============================
    Sección Apóyanos
============================= */
.apoyo-section {
    background-size: cover;
    background-position: center;
    padding: 60px 20px 65px;
    text-align: center;
}

.apoyo-container {
    max-width: 1140px;
    margin: 0 auto;
}

.apoyo-icono {
    width: 64px;
    height: 63px;
    margin-bottom: 25px;
}

.apoyo-titulo {
    font-size: 40.03px;
    font-weight: 300;
    margin-bottom: 15px;
    color: var(--black);
}

.apoyo-texto {
    font-size: 20px;
    color: var(--black);
    font-weight: bold;
    margin-bottom: 26px;
}

.apoyo-boton {
    display: inline-block;
    background: var(--yellow);
    color: var(--black);
    padding: 8px 25px;
    font-size: 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 900;
    transition: background 0.3s ease;
}

.prefooter img.logo {
    width: 139px;
    height: 166px;
}

.apoyo-boton:hover {
    background: var(--white);
    outline: 1px solid var(--black);
}

.qrredessociales {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px auto;
}

.pregunta-respuesta {
    margin-bottom: 28px;
}

p.pregunta {
    margin-bottom: 10px;
}

.pregunta-respuesta .respuesta a,
.redes-sociales-apoyo p a {
    color: var(--black);
    text-decoration: none;
}

.redes-sociales-apoyo p:not(first-child) {
    margin-bottom: 10px;
}

/* 
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////

//                                   FUNDACION 

//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////*/


.fundacion-presentaciones {
    display: flex;
    flex-direction: column;
    /* gap: 40px; */
    gap: 60px;
    /* max-width: 1200px; */
    margin: 0 auto;
    /* padding: 20px; */
    padding: 10px;
}

.fundacion-presentacion {
    display: flex;
    /* align-items: start; */
    gap: 30px;
}

.fundacion-presentacion.right {
    flex-direction: row-reverse;
}

.fundacion-presentacion .imagen {
    flex: 1;
    max-width: 50%;
}

.fundacion-presentacion .imagen img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center right;
    position: sticky;
    top: 20px;
}

.fundacion-presentacion .contenido {
    flex: 1;
    max-width: 50%;

}

.fundacion-presentacion .contenido h3 {
    color: var(--yellow);
    font-weight: 300;
    margin-bottom: 0.2em;
    font-size: 30px;
    filter: drop-shadow(var(--white) 0rem 0rem 10px);
}

.fundacion-presentacion .contenido p {
    font-weight: 400;
    margin-bottom: 1em;
}

.fundacion-presentaciones .fundacion-presentacion.right:not(:has(.contenido)),
.fundacion-presentaciones .fundacion-presentacion.right:not(:has(img)) {
    flex-direction: row
}

.fundacion-presentaciones .fundacion-presentacion.right:not(:has(.contenido)) .imagen {
    margin: 0 0 !important;
}

.fundacion-presentacion.right>.contenido>h3:first-of-type+p {
    margin: 0 0 2em 0;
}

.fundacion-presentacion div.contenido li {
    margin-left: 25px;
    list-style-type: disc;
}

.fundacion-memorias a {
    color: var(--footer-color);
}

/* 

//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////

//                                   PAGE PROYECTOS

//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////

*/

.grid-proyectos {
    display: grid;
    grid-template-columns: repeat(auto-fit, 405px);
    gap: 2rem;
    max-width: 1280px;
    width: 100%;
    margin: 2.5em auto;
    place-content: start center;
}

.proyecto-card {
    text-decoration: none;
    color: inherit;
    text-align: center;
    border-radius: 8px;
    display: block;
    position: relative;
}

.proyecto-thumb-wrapper {
    position: relative;
}

.proyecto-icono {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.proyecto-icono:first-child img {
    /* width: 128px;
    height: 147px; */
    width: 220px;
    height: 220px;
}

/* .proyecto-icono:nth-child(2) img {
    width: 144px;
    height: 144px;
}

.proyecto-icono:nth-child(3) img {
    width: 159px;
    height: 155px;
} */

.proyecto-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    max-width: 400px;
    justify-self: center;
}

.titulo-proyecto {
    margin-bottom: 0px;
    margin-top: 1em;
    font-size: 30px;
    font-weight: 300;
    text-transform: uppercase;
}

.subtitulo-proyecto {
    font-weight: bold;
    color: #4D4D4D;
    font-size: 18px;
}



/* 

//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////

//                                    SINGLEPAGE PROYECTOS

//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////

*/

.single-proyecto-wrap {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    padding: 2em 1em;
}

.page-colaboradores-section .single-proyecto-wrap {
    grid-template-columns: unset;
}

.proyecto-contenido {
    font-size: 18px;
    color: #000000;
    line-height: 26px;
}

.imagenes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em;
    place-content: start;
    position: sticky;
    top: 20px;
}

.proyecto-contenido h1 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2em;
    font-weight: 500;
    letter-spacing: 1px;
}

.proyecto-imagenes {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}

.imagen-extra {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;

}

.titulodelproyecto {
    margin: 1.5em auto 0.5em;
    font-size: 30px;
    font-weight: 300;
    text-align: center;
    text-transform: uppercase;
}

/* 
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////

//                                   PAGE NOTICIAS

//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////*/

.page-template-page-noticias .site-inner {
    background-color: var(--pastel);
}

.news-title-page {
    font-size: 16px;
    text-align: center;
    margin: 2em auto 1em;
    text-transform: uppercase;
}

hr.custom-notice-hr {
    color: var(--hr);
    max-width: 1275px;
    margin: 1em auto 1em;
}

.news-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    max-width: 1275px;
    margin: 0 auto;
    text-align: center;
}

.news-cat-item {
    background-color: var(--white);
    padding: 10px 10px;
    border-radius: 20.5px;
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 16px;
    text-align: center;
}

.news-cat-item:hover,
.news-cat-active {
    background-color: #000;
    color: #fff;
}

.news-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); */
    grid-template-columns: repeat(3, 1fr);
    gap: 38px;
    max-width: 1275px;
    margin: 2em auto 3em;
}

.news-card {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    /* border-radius: 8px; */
    overflow: hidden;
}

.news-card a {
    text-decoration: none;

}

.news-thumb-wrapper {
    position: relative;
}

.news-thumb-wrapper img {
    width: 100%;
    display: block;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
}

.news-thumb-placeholder {
    width: 100%;
    height: 300px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-cat-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 20px;
    text-transform: uppercase;

    /* Cambios Septiembre 2025 */
    display: non;
}

/* .news-content {
    padding: 20px;
} */

.news-date {
    font-size: 10px;
    color: var(--yellow);
    margin-bottom: 0.5em;
    font-weight: bold;
    text-transform: uppercase;

    filter: drop-shadow(var(--white) 0rem 0rem 10px);
}

.news-title-entry {
    font-size: 22px;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.news-caption {
    font-size: 16px;
    font-style: italic;
    color: #666666;
    line-height: 1.3;
    margin-bottom: 15px;
}

.news-readmore {
    background: #f5b400;
    color: #000;
    padding: 5px 25px;
    font-weight: bold;
    border-radius: 18.02px;
    display: inline-block;
}

.news-empty {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
}



.pagination-separator {
    border: none;
    border-top: 1px solid #999;
    margin: 40px 0 20px;
}

.pagination-wrapper {
    max-width: 1275px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-family: inherit;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 60px;
}

.pagination-numbers {
    display: flex;
    gap: 10px;
}

hr.pagination-separator {
    max-width: 1275px;
    margin: auto;
    color: var(--hr);
}

.pagination-prev,
.pagination-next,
.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
    filter: drop-shadow(var(--white) 0rem 0rem 10px);
}

.page-numbers {
    text-decoration: none;
    font-weight: 400;
    color: #999;
    transition: all 0.3s ease;
}

.page-numbers:hover {
    text-decoration: underline;
    color: #000;
}

.page-numbers.current {
    color: #000;
    font-weight: bold;
    pointer-events: none;
}

.page-numbers.prev,
.page-numbers.next {
    color: #000;
    font-weight: 500;
}

.page-numbers.disabled {
    color: #ccc !important;
    pointer-events: none;
    cursor: default;
}





/* 
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////

//                                   SINGLE NOTICIAS

//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////*/


/* Contenedor principal */
.post-entrada {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2em 15px;

}

/* Título y fecha */
.entrada-header {
    text-align: left;
    margin-bottom: 1rem;
}

.entrada-titulo {
    font-size: 35px;
    font-weight: 900;
    margin-bottom: 5px;
}

.entrada-hr {
    border: none;
    border-top: 1px solid #707070;
    margin: 1rem 0;
}

.entrada-fecha {
    color: var(--yellow);
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 15px;
    filter: drop-shadow(var(--white) 0rem 0rem 10px);
}

/* Imagen destacada */
.entrada-thumb-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.entrada-thumb {
    width: 100%;
    border-radius: 16px;
    display: block;
    max-height: 700px;
    object-fit: cover;
    /* object-position: top; */
    /* object-position: center 20%; */
    object-position: center 50%;
}

.entrada-meta-tags {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;

    /* Cambios 2025 */
    display: none;

}

.categoria-relacionada {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 10px;
    background: var(--white);
    color: var(--black);
    padding: 5px 10px;
    font-size: 8px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 20.5px;
}

.relacionada-placeholder {
    display: block;
    width: 100%;
    height: 300px;
    background-color: #333333;
    display: flex;
}

.relacionada-titulos {
    font-weight: 900;
    font-size: 22px;
    margin-bottom: 0.5em;
    line-height: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Estilo etiquetas y categorías */
.tag {
    background: var(--white);
    color: var(--black);
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Descripción de la imagen */
.entrada-imagen-descripcion {
    margin-top: 0.5rem;
    font-style: italic;
    font-size: 16px;
    line-height: 1;
    margin-bottom: 0px;
    font-weight: 900;
    color: var(--black);

}

/* Contenido */
.entrada-contenido {
    margin-top: 2em;
    line-height: 1.5;
}

.entrada-contenido p {
    color: var(--grey-notice);
}

/* Enlace volver */
.entrada-volver {
    margin-top: 1.5rem;
    text-align: center;
}

.entrada-volver a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    filter: drop-shadow(var(--white) 0rem 0rem 10px);
}

/* Noticias relacionadas */
section.section-relacionadas {
    background-color: #F0F1F2;
}

.noticias-relacionadas {
    padding: 2em 1em;
    border-radius: 8px;
    max-width: 1280px;
    margin: 2em auto auto;

}

.noticias-relacionadas h2 {
    text-align: center;
    margin: 0.5em auto 1.5em;
    font-size: 30px;
    font-weight: 300;
}

.relacionadas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.relacionada-card {
    background: var(--white);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.relacionada-card a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.relacionada-thumb-wrapper {
    position: relative;
}

.relacionada-thumb-wrapper>img {
    width: 100%;
    display: block;
    height: 300px;
    object-fit: cover;
}

.relacionada-thumb-wrapper>.relacionada-placeholder>img,
.news-thumb-wrapper>.relacionada-placeholder>img {
    width: 120px;
    margin: auto;
}

.news-thumb-wrapper>.relacionada-placeholder>img {
    height: auto;
}

.relacionada-texto {
    padding: 12px 1.4em 1em;
}

.relacionada-texto .entrada-imagen-descripcion {
    font-weight: 400;
    color: #666666;
}

.leer-mas {
    background: var(--yellow);
    color: var(--black);
    font-weight: 900;
    padding: 0.5rem 1rem;
    display: inline-block;
    border-radius: 20px;
    margin-top: 1rem;
    font-size: 14px;
    width: 145px;
    text-transform: uppercase;
    text-align: center;
}




/* 
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////

//                                   PAGE Eventos

//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////*/



/* TÍTULO PRINCIPAL */
.eventos-title {
    margin: 2em auto 1em;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* HR */
.custom-eventos-hr {
    color: var(--hr);
    max-width: 1275px;
    margin: 1em auto 1em;
}

/* CATEGORÍAS */
.eventos-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    max-width: 1275px;
    margin: 0 auto;
    text-align: center;

}

.eventos-cat-item {
    background-color: #EBEBEB;
    padding: 10px 10px;
    border-radius: 20.5px;
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 16px;
    text-align: center;
}

.eventos-cat-item:hover,
.eventos-cat-item.active {
    background-color: #000;
    color: #fff;
}

/* GRID DE TARJETAS */
.eventos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 38px;
    max-width: 1275px;
    margin: 2em auto 3em;
}

.evento-card {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    /* border-radius: 8px; */
    overflow: hidden;
}

.evento-card a {
    text-decoration: none;
}

.evento-thumb-wrapper {
    position: relative;
}

.evento-cat-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--white);
    color: var(--black);
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 20px;
}

/* .evento-content {
    padding: 20px 26px 26px;
    background-color: #EFBA00;
} */

.evento-date {
    font-size: 10px;
    color: var(--white);
    margin-bottom: 0.5em;
    font-weight: bold;
    text-transform: uppercase;
    filter: drop-shadow(black 0rem 0rem 10px);
}

.evento-title-entry {
    font-size: 22px;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 10px;
}

.evento-caption,
.evento-caption a {
    font-style: italic;
    font-size: 16px;
    color: #000000;
    margin-bottom: 15px;


}

.evento-readmore {
    background: #FFFFFF;
    color: #000;
    padding: 5px 25px;
    font-weight: bold;
    border-radius: 18.02px;
    display: inline-block;
}


/* 
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////

//                                   Colaboradores 

//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////*/


.colaboradores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    justify-items: center;
    margin: 2em auto;
    max-width: 1280px;

}

h2.titulo-categoria {
    text-transform: uppercase;
}

.colaborador-item img {
    max-width: 300px;
    /* max-height: 300px; */
    /* max-height: 230px; */
    max-height: 150px;
    height: 100%;
    width: 100%;
    /* object-fit: cover; */
    object-fit: contain;
    display: block;
}

.page-colaboradores-section>.divider-colaboradores:last-child {
    display: none;
}



/* 
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////

//                                   GALERIA

//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////*/


/* Sección general */
.page-galeria-section {
    max-width: 1280px;
    margin: auto;

}

#galeria-ajax-container {
    margin: 2em auto 3em;
}

/* Título */
.galeria-title {
    margin: 2em auto 1em;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Separador */
.custom-galeria-hr {
    color: var(--hr);
    max-width: 1275px;
    margin: 1em auto 1em;
}

/* Botones de categoría */
.galeria-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    max-width: 1275px;
    margin: 0 auto;
    text-align: center;
}

.galeria-cat-item {
    background-color: var(--yellow);
    padding: 10px 10px;
    border-radius: 20.5px;
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 16px;
    text-align: center;
}

.galeria-cat-item.active,
.galeria-cat-item:hover {
    background-color: #000;
    color: #fff;
}

/* Grilla */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Tarjeta */
.galeria-card {
    text-align: left;
}

.galeria-card a {
    color: unset;
    text-decoration: none;
}

/* Imagen destacada */
.galeria-thumb-wrapper {
    position: relative;
}

.galeria-thumb-wrapper img {

    width: 100%;
    height: auto;
    display: block;
}

/* Etiqueta de categoría */
.galeria-cat-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: #fff;
    color: #000;
    font-size: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 900;
    text-transform: uppercase;
}

/* Título */
.galeria-title-entry {
    margin-top: 0px;
    font-size: 22px;
    font-weight: 900;
    color: var(--footer-color);
    text-decoration: unset;
}



/* 
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////

//                                   SINGLE GALERIA

//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////*/
.nGY2 .nGY2GThumbnailImage {
    background-color: var(--white);
}



/* ===== CONTENEDOR GENERAL ===== */
.single-galeria .galeria-entrada {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2em 20px 1em;
}

/* ===== ENCABEZADO ===== */
.galeria-header {
    text-align: left;
    margin-bottom: 20px;
}

.galeria-titulo {
    font-size: 35px;
    font-weight: 900;
    margin-bottom: 5px;
}

/* ===== IMAGEN DESTACADA ===== */
.galeria-thumb-wrapper {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin: auto;
    margin-bottom: 20px;
}

.galeria-thumb-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    object-position: center bottom;
}

.boton-volver-galeria {
    display: inline-block;
    margin-top: 30px;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.boton-volver-galeria:hover {
    background-color: #555;
}




/* 
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////

//                                   MAPA WEB 

//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////*/

/* .wsp-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: var(--white);
    /* Color de fondo suave
} */

.wsp-pages-title {
    font-size: 22px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 15px;
    color: var(--footer-info-color);
    text-transform: uppercase;
}

.wsp-pages-list {
    list-style: none;
    padding: revert;
    margin: 0;
}

.wsp-pages-list li {
    padding: 0 0 10px;
    border-radius: 6px;
    background: var(--white);
    transition: background 0.3s ease-in-out;
    list-style-type: disc;
}

.wsp-pages-list li a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    display: block;
    text-transform: uppercase;
}

.wsp-pages-list li a:hover {
    text-decoration: underline;
    font-weight: 700;
}

/* .wsp-pages-list .current_page_item {
    background: var(--yellow);
} */

/* .wsp-pages-list .current_page_item a {
    color: var(--black);
    font-weight: bold;
} */

/* .wsp-pages-list .current_page_item a:hover {
    background: var(--yellow);
} */

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#cmplz-document {
    margin: auto auto 2em auto;
}


/*
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

//                                              OCULTAR ULTIMA IMAGEN EN EL FOOTER

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

*/

.socials.mb-1:not(.header) .redes-sociales a:last-of-type {
    display: none;
}


/*
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

//                                              PAGE TRANSPARENCIAS

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

*/



.titulo-transparencias {
    font-size: 35px;
    font-weight: 900;
    margin-bottom: 10px;
}

.ultima-actualizacion {
    color: var(--grey-notice);
    font-size: 1rem;
    margin-bottom: 30px;
}

.transparencias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;

}

.transparencia-box {

    padding: 15px;
    text-align: center;
}

.transparencia-box:hover {
    transform: translateY(-5px);
}

.imagen-transparencia {
    width: 100%;
    height: auto;
    max-width: 120px;
    margin-bottom: 15px;
}

.titulo-transparencia {
    font-size: 16px;
    color: var(--black);
    font-weight: 900;
}

.transparencia-link {
    text-decoration: none;
}

/*
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

//                                              SINGLE TRANSPARENCIAS

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

*/



.transparencia-titulo {
    font-size: 35px;
    font-weight: 900;
    margin-bottom: 10px;
}

.transparencia-fecha-volver {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    margin: 1.5em 0 2em;
}

.transparencia-fecha {
    color: var(--grey-notice);
    font-size: 1rem;
    margin: 0px;
}

.transparencia-volver {
    display: inline-block;
    margin: 0px;
    color: var(--black);
    font-weight: bold;
    text-decoration: none;
}

.transparencia-volver img {
    width: 100%;
    max-width: 30px;
}

.transparencia-volver:hover {
    text-decoration: underline;
}

.transparencia-contenido {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}





/*
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

//                                              Configuraciones EXTRAS

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

*/



.news-swiper {
    width: 100%;
    overflow: hidden;
    /* evita que el wrapper se desborde */
    box-sizing: border-box;
}

.swiper-slide {

    place-items: center;
}

.actividades-swiper .swiper-button-prev,
.actividades-swiper .swiper-button-next {
    display: none;
}

.actividades-swiper .swiper-wrapper {
    display: grid;
    /* o block, o lo que uses en escritorio */
    grid-template-columns: repeat(2, 1fr);
    /* si usas grid en escritorio */
    gap: 20px;
}

.actividades-swiper .swiper-slide {
    width: auto;
    height: auto;
    display: block;
}

hr.divider-colaboradores {
    border-color: var(--black);
}


/* Calendario */
/* =========================
   Variables de diseño
   ========================= */
:root {
    --ev-yellow: #EFBA00;
    --ev-text: #222;
    --ev-gap: 6px;
    --ev-pad: 16px;
    --ev-head: 28px;
    --ev-dow: 22px;
}

/* =========================
   Layout de la página
   ========================= */
.ev-section,
.page-eventos-section .page-eventos-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 15px;
}

.ev-grid,
.page-eventos-section .eventos-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 36px;
    align-items: start;
}

.ev-title-page,
.evento-item .eventos-title {
    margin: 0 0 16px;
    font-weight: 800;
}

@media (max-width:1024px) {

    .ev-grid,
    .content-sidebar-wrap .eventos-grid {
        display: flex;
        flex-flow: column-reverse;
        align-items: center;
    }
}

/* =========================
   Listado (izquierda)
   Card con imagen 250x250
   ========================= */
.ev-list,
.eventos-list {
    display: block;
}
.ev-list a{
    text-decoration: none;
}
.ev-item,
.eventos-main .evento-item {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 24px;
    align-items: start;
}

.ev-media img,
.evento-media img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    /* border-radius: 12px; */
    display: block;
}

.ev-body,
.evento-content {
    position: relative;
}

.ev-date,
.evento-fecha {
    color: var(--yellow);
    font-weight: 900;
    letter-spacing: .4px;
    margin: 2px 0 8px;
    font-size: 23px;
    filter: drop-shadow(0 0 0 var(--yellow));
}

.ev-day,
.evento-dia {
    margin-right: 6px;
}

.ev-month,
.evento-mes {
    font-weight: 800;
}

.ev-title,
.evento-title {
    margin: 0 0 8px;
    line-height: 1.2;
    font-size: 28px;
}

.ev-title a,
.evento-title a {
    color: var(--ev-text);
    text-decoration: none;
    font-size: 30px;
    font-weight: 900;
}

.ev-excerpt,
.evento-excerpt {
    margin: 0;
    color: #444;
}

.ev-sep,
.evento-sep,
.noticia-hr {
    border: 0;
    border-top: 1px solid #707070;
    margin: 24px 0;
}

.ev-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
}

.ev-clear-filter {
    border: 0;
    border-radius: 8px;
    padding: 6px 10px;
    font-weight: 700;
    cursor: pointer;
}

.ev-filter-label {
    font-size: 14px;
    color: #555;
}

/* === GRID 3 columnas (se mantiene) === */
.ev-pagination .ev-pager-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    /* prev | numbers | next */
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

/* Izquierda/Derecha */
.ev-pager-prev {
    justify-self: start;
    font-weight: 700;
    text-decoration: none;
    color: #333;
}

.ev-pager-next {
    justify-self: end;
    font-weight: 700;
    text-decoration: none;
    color: #333;
    text-align: right;
}

.ev-pagination .is-disabled {
    opacity: .35;
    pointer-events: none;
    cursor: default;
}

/* === Centro: números en flex, separados por comas === */
.ev-pager-numbers {
    display: flex;
    /* << flex */
    align-items: center;
    justify-content: center;
    gap: 0;
    /* separación la meteremos con la coma */
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Cada item */
.ev-pager-numbers .ev-page {
    display: inline-flex;
    align-items: center;
}

/* Coma entre items (no después del último) */
.ev-pager-numbers .ev-page:not(:last-child)::after {
    content: ", ";
    margin: 0 4px 0 2px;
    /* micro-espacio */
    color: #A2A2A2;
    /* color de la coma */
}

/* Enlaces/números (incluye <a.page-numbers> y <span.page-numbers.current>) */
.ev-pager-numbers .page-numbers {
    border: 0;
    background: transparent;
    min-width: auto;
    height: auto;
    padding: 0;
    font-weight: 700;
    text-decoration: none;
    color: #666;
    /* gris por defecto */
    line-height: 1;
}

/* Hover opcional */
.ev-pager-numbers .page-numbers:hover {
    color: #000;
}

/* Activo (página actual) */
.ev-pager-numbers .page-numbers.current {
    color: #000;
    /* negro */
}

/* “…” de paginate_links */
.ev-pager-numbers .page-numbers.dots {
    color: #A2A2A2;
}


@media (max-width:760px) {

    .ev-item,
    .evento-item {
        grid-template-columns: 1fr;
    }

    .ev-media img,
    .evento-media img {
        width: 100%;
        height: 220px;
    }
}

/* =========================
   Sidebar: CALENDARIO 300x287
   (flechas SVG, texto negro,
   fines de semana bold,
   días con evento amarillo)
   ========================= */
.ev-cal,
.evt-cal-card {
    width: 300px;

    box-sizing: border-box;
    background: #F0F1F2;

    border-radius: 22px;
    padding: var(--ev-pad);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ev-cal-header,
.evt-cal-header {
    height: var(--ev-head);
    display: grid;
    grid-template-columns: 24px 1fr 24px;
    align-items: center;
}

.ev-cal-prev,
.ev-cal-next,
.evt-cal-prev,
.evt-cal-next {
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.ev-cal-prev img,
.ev-cal-next img,
.evt-cal-prev img,
.evt-cal-next img {
    width: 100%;
    height: 100%;
    display: block;
}

.ev-cal-title,
.evt-cal-title {
    text-align: center;
    font-weight: 800;
    font-size: 18px;
    color: var(--ev-text);
}

/* Días de la semana */
.ev-cal-dow,
.evt-cal-dow {
    height: var(--ev-dow);
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--ev-gap);
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--ev-text);
    margin-bottom: 2px;
}

.ev-cal-dow .is-weekend,
.evt-cal-dow .wknd-label {
    font-weight: 900;
}

/* solo bold */

/* Grid de días (6 filas máximo) */
#ev-calendar,
#evt-calendario {
    --rows: 6;
    --avail-h: calc(287px - (var(--ev-pad)*2) - var(--ev-head) - var(--ev-dow) - 6px);
    --cell-h: calc((var(--avail-h) - (var(--ev-gap)*(var(--rows)-1))) / var(--rows));
    --cell-w: calc((300px - (var(--ev-pad)*2) - (var(--ev-gap)*6)) / 7);
    display: grid;
    grid-template-columns: repeat(7, var(--cell-w));
    grid-auto-rows: var(--cell-h);
    gap: var(--ev-gap);
}

/* Celda día */
.ev-cell,
.evt-cell,
.ev-cell:hover,
.evt-cell:hover,
.ev-cell:focus,
.evt-cell:focus {
    border: 0;
    border-radius: 8px;
    background: #F0F1F2;
    color: var(--ev-text);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    line-height: .9;
    padding: 13px;
}

.ev-cell.is-empty,
.evt-cell.empty {
    background: transparent;
    cursor: default;
}

.ev-cell.is-weekend,
.evt-cell.wknd {
    font-weight: 900;
}

/* weekend: bold */
.ev-cell.has-event,
.evt-cell.evt {
    background: var(--ev-yellow);
    color: #fff;
}

/* día con evento */
.ev-cell.is-active,
.evt-cell.active {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.ev-cell:hover:not(.is-empty),
.evt-cell:hover:not(.empty) {
    filter: brightness(.96);
}

/* Prev */
.evt-cal-prev,
.ev-cal-prev {
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Oculta el carácter “‹” */
    font-size: 0;
    line-height: 0;
    color: transparent;
    /* Icono como fondo */
    background-image: url('https://crokis-sites.fra1.cdn.digitaloceanspaces.com/cbcanarias-fundacion/wp-content/uploads/2025/09/19130833/Trazado-788.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}

/* Next */
.evt-cal-next,
.ev-cal-next {
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 0;
    color: transparent;
    background-image: url('https://crokis-sites.fra1.cdn.digitaloceanspaces.com/cbcanarias-fundacion/wp-content/uploads/2025/09/19130816/Trazado-787.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}

/* =========================
   Sidebar: PRÓXIMOS EVENTOS
   ========================= */
.ev-up-list,
.evt-up-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}

.ev-up-info {
    max-width: 230px;
}

.ev-upcoming {
    max-width: 300px;
}

.ev-up-item+.ev-up-item,
.evt-up-item+.evt-up-item {
    border-top: 1px solid #ededed;
}

.ev-up-item a,
.evt-up-item a {
    display: grid;
    grid-template-columns: 80% 10%;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    text-decoration: none;
    color: var(--ev-text);
}

.ev-up-date,
.evt-up-badge {
    min-width: 34px;
    height: 28px;
    border-radius: 8px;
    background: var(--ev-yellow);
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.ev-up-month,
.evt-up-month {
    font-weight: 800;
    font-size: 12px;
}

h4.ev-up-title {
    text-decoration: none;
    font-size: 16px;
    color: var(--black);
    font-weight: 900;
    margin-bottom: 0px;
}

.ev-up-title,
.evt-up-titletext {
    overflow: hidden;
    text-overflow: ellipsis;

}

.ev-up-datefull {
    color: var(--yellow);
    font-weight: 900;
    font-size: 18px;
}

.ev-up-cta,
.eventos-main .evento-flecha {
    width: 14px;
    height: 14px;
    display: block;
}

/* =========================
   Ajustes menores
   ========================= */
.ev-sidebar,
.eventos-sidebar {
    min-width: 300px;
}

/* Actividad (ya lo tenías) */
.ev-cell.has-event,
.evt-cell.evt,
.evt-cell.has-event {
    background: #EFBA00;
    color: #000;
    border-radius: 8px;
    font-weight: 900;
}

/* Partido (como pediste: fondo amarillo y letra amarilla) */
.ev-cell.has-match,
.evt-cell.has-match {
    background: #EFBA00;
    color: #EFBA00;
    /* tal cual tu petición */
    border-radius: 8px;
}

.ev-up-ctaWrap {
    width: 42px;
    height: 42px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

span.ev-up-ctaDot {
    transform: translateX(2px);
    width: 9px;
    height: 18px;
}

.postid-46794 .single-proyecto-wrap {
    grid-template-columns: 1fr;
}

/* --- Grid responsivo, tarjetas cuadradas --- */
.fundacion-alianzas .alianzas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    align-items: stretch;
    margin: 1rem 0 2rem;
    justify-items: center;
    align-items: center;
}

/* Ocultar <br> que inserta el editor */
.fundacion-alianzas .alianzas-grid br {
    display: none;
}

/* Tarjeta base (para enlaces con imagen y para spans de solo texto) */
.fundacion-alianzas .alianzas-grid>a,
.fundacion-alianzas .alianzas-grid>span.solo-texto {
    aspect-ratio: 1 / 1;
    /* cuadrado */
    display: flex;
    align-items: center;
    justify-content: center;



}

.fundacion-alianzas .alianzas-grid>a:hover,
.fundacion-alianzas .alianzas-grid>a:focus-visible,
.fundacion-alianzas .alianzas-grid>span.solo-texto:hover,
.fundacion-alianzas .alianzas-grid>span.solo-texto:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    border-color: #d8d8d8;
    outline: none;
}

/* Imágenes homogéneas */
.fundacion-alianzas .alianzas-grid img {
    max-width: 85%;
    max-height: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.fundacion-alianzas .alianzas-grid:first-child img {
    max-height: 65%;
}

/* Tarjeta de texto cuando no hay imagen */
.fundacion-alianzas .alianzas-grid>span.solo-texto {
    font-size: clamp(12px, 2.6vw, 15px);
    line-height: 1.2;
    color: #222;
    text-align: center;
    padding: 12px;
    /* un poco más de aire al texto */
    word-break: break-word;
    text-wrap: balance;
    /* mejor reparto de líneas en navegadores modernos */
}

/* Espaciado general del listado */
.transparencia-contenido ul {
    padding-left: 30px;
    /* Espacio a la izquierda */
    margin-top: 20px;
}

/* Espaciado entre cada convenio */
.transparencia-contenido ul li {
    margin-bottom: 20px;
    line-height: 1.6;
    list-style-type: disc;
}

/* Quitar subrayado por defecto a todo */
.transparencia-contenido ul li a {
    text-decoration: underline;
    /* SOLO los enlaces */
    font-weight: 500;
}

/* Opcional: mejora visual del título del convenio */
.transparencia-contenido ul li strong {
    display: inline-block;
    margin-bottom: 6px;
}




/* ================================
   CONTENEDOR GENERAL
================================ */
.politica-cookies {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    line-height: 1.7;
    font-size: 16px;
}

/* ================================
   TÍTULOS
================================ */
.politica-cookies h2 {
    font-size: 26px;
    margin: 50px 0 20px;
    padding-left: 14px;
    border-left: 5px solid #000;
    font-weight: 700;
    text-transform: uppercase;
}

/* ================================
   PÁRRAFOS
================================ */
.politica-cookies p {
    margin-bottom: 16px;
    font-size: 16px;
    color: #444;
}

/* ================================
   LISTAS
================================ */
.politica-cookies ul {
    margin: 18px 0 18px 25px;
    padding: 0;
}

.politica-cookies li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
    list-style-type: disc;
}

.politica-cookies li::marker {
    color: #000;
    font-weight: bold;
}

/* ================================
   NEGRITAS
================================ */
.politica-cookies b {
    font-weight: 700;
    color: #000;
}

/* ================================
   ENLACES
================================ */
.politica-cookies a {
    color: #0073e6;
    /* text-decoration: none; */
    transition: 0.3s ease;
    word-break: break-word;
}

.politica-cookies a:hover {
    text-decoration: underline;
    color: #004a99;
}

/* ================================
   TABLA DE COOKIES
================================ */
.politica-cookies table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 15px;
    overflow-x: auto;
    display: block;
}



.politica-cookies th,
.politica-cookies td {
    padding: 14px 12px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.politica-cookies th {
    font-weight: 700;
}


/* ================================
   FECHA Y VERSIÓN
================================ */
.politica-cookies p b:last-child {
    display: inline-block;
    margin-top: 10px;
}

/* ================================
   BLOQUES DE SEPARACIÓN
================================ */
.politica-cookies p:has(+ ul),
.politica-cookies ul:has(+ p) {
    margin-bottom: 25px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .politica-cookies {
        padding: 40px 16px;
        font-size: 15px;
    }

    .politica-cookies h2 {
        font-size: 22px;
    }

    .politica-cookies table {
        font-size: 14px;
    }
}

/* ================================
   CONTENEDOR GENERAL
================================ */
.politica-privacidad {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;

    color: #333;
    line-height: 1.7;
    font-size: 16px;
}

/* ================================
   TÍTULOS
================================ */
.politica-privacidad h2 {
    font-size: 26px;
    margin: 50px 0 20px;
    padding-left: 14px;
    border-left: 5px solid #000;
    font-weight: 700;
    text-transform: uppercase;
}

/* ================================
   PÁRRAFOS
================================ */
.politica-privacidad p {
    margin-bottom: 16px;
    font-size: 16px;
    color: #444;
}

/* ================================
   LISTAS
================================ */
.politica-privacidad ul,
.politica-privacidad ol {
    margin: 18px 0 18px 25px;
    padding: 0;
}

.politica-privacidad li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
    list-style-type: disc;
}

.politica-privacidad li::marker {
    color: #000;
    font-weight: bold;
}

/* ================================
   NEGRITAS
================================ */
.politica-privacidad b {
    font-weight: 700;
    color: #000;
}

/* ================================
   ENLACES (SUBRAYADO SOLO ABAJO)
================================ */
.politica-privacidad a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
    transition: 0.3s ease;
    word-break: break-word;
}

.politica-privacidad a:hover {
    color: #555;
    border-bottom-color: #555;
}

/* ================================
   TABLAS
================================ */
.politica-privacidad table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 15px;
    display: block;
    overflow-x: auto;
}

.politica-privacidad td,
.politica-privacidad th {
    padding: 14px 12px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.politica-privacidad tr:nth-child(even) {
    background: #f7f7f7;
}

/* ================================
   BLOQUES DESTACADOS (USUARIOS, PROVEEDORES, ETC)
================================ */
.politica-privacidad ul>li>b {
    display: inline-block;
    margin-top: 25px;
    font-size: 18px;
}

/* ================================
   FECHA Y VERSIÓN
================================ */
.politica-privacidad p b:last-child {
    display: inline-block;
    margin-top: 10px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .politica-privacidad {
        padding: 40px 16px;
        font-size: 15px;
    }

    .politica-privacidad h2 {
        font-size: 22px;
    }

    .politica-privacidad table {
        font-size: 14px;
    }
}

/* ================================
   CONTENEDOR GENERAL
================================ */
.aviso-legal-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    line-height: 1.7;
    font-size: 16px;
}

/* ================================
   TÍTULOS
================================ */
.aviso-legal-page h2 {
    font-size: 26px;
    margin: 50px 0 20px;
    padding-left: 14px;
    border-left: 5px solid #000;
    font-weight: 700;
    text-transform: uppercase;
}

/* Quitar el estilo horrible de la UL que envuelve los H2 */
.aviso-legal-page>ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ================================
   PÁRRAFOS / SPANS
================================ */
.aviso-legal-page span,
.aviso-legal-page p {
    display: block;
    margin-bottom: 16px;
    font-size: 16px;
    color: #444;
}

/* ================================
   LISTAS
================================ */
.aviso-legal-page ul:not(:has(h2)) {
    margin: 18px 0 18px 25px;
    padding: 0;
}

.aviso-legal-page li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
}

.aviso-legal-page li::marker {
    color: #000;
    font-weight: bold;
}

/* ================================
   NEGRITAS
================================ */
.aviso-legal-page b {
    font-weight: 700;
    color: #000;
}

/* ================================
   ENLACES (SUBRAYADO INFERIOR)
================================ */
.aviso-legal-page a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
    transition: 0.3s ease;
    word-break: break-word;
}

.aviso-legal-page a:hover {
    color: #555;
    border-bottom-color: #555;
}

/* ================================
   TABLAS
================================ */
.aviso-legal-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 15px;
    display: block;
    overflow-x: auto;
}

.aviso-legal-page td,
.aviso-legal-page th {
    padding: 14px 12px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.aviso-legal-page tr:nth-child(even) {
    background: #f7f7f7;
}

/* ================================
   SECCIONES DESTACADAS (3.1 / 3.2)
================================ */
.aviso-legal-page b+b {
    display: block;
    margin: 25px 0 10px;
    font-size: 18px;
}

/* ================================
   FECHA Y VERSIÓN
================================ */
.aviso-legal-page span:last-of-type,
.aviso-legal-page span:nth-last-of-type(2) {
    margin-top: 15px;
    font-weight: 600;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .aviso-legal-page {
        padding: 40px 16px;
        font-size: 15px;
    }

    .aviso-legal-page h2 {
        font-size: 22px;
    }

    .aviso-legal-page table {
        font-size: 14px;
    }
}

/* Ajustes responsivos */
@media (max-width: 900px) {
    .fundacion-alianzas .alianzas-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 14px;
    }

    .fundacion-alianzas .alianzas-grid>a,
    .fundacion-alianzas .alianzas-grid>span.solo-texto {
        border-radius: 12px;
    }
}

@media (max-width: 600px) {
    .fundacion-alianzas .alianzas-grid {
        grid-template-columns: repeat(auto-fill, minmax(95px, 200px));
        gap: 12px;
        place-content: center;
    }
}

@media (max-width: 420px) {
    .fundacion-alianzas .alianzas-grid {
        grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
        gap: 10px;
    }

    .fundacion-alianzas .alianzas-grid>a,
    .fundacion-alianzas .alianzas-grid>span.solo-texto {
        border-radius: 10px;
    }
}

@media (max-width:760px) {

    .ev-cal,
    .evt-cal-card {
        width: 100%;
        height: auto;
    }

    #ev-calendar,
    #evt-calendario {
        grid-template-columns: repeat(7, 1fr);
        grid-auto-rows: 32px;
    }
}

/*  */
@media (max-width: 1440px) {

    .page-noticias-section,
    .page-galeria-section,
    .page-eventos-section,
    .grid-proyectos {
        padding-left: 15px;
        padding-right: 15px;
    }

    .actividades-section,
    .actividades-container {
        gap: 0.5em;
    }

    .eventos-hijo {
        max-width: 860px;
        margin: auto;
    }

    .actividades-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 1300px) {
    .colaboradores-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    .colaborador-item img {
        /* max-width: unset;
        max-height: unset; */
    }
}

@media (max-width: 1280px) {
    .presentation-section {
        padding-left: 15px;
        padding-right: 15px;

    }


    .actividades-section {
        flex-flow: column;
        /* gap: 2em; */
    }

    .actividades-container {
        max-width: 860px;
        margin: auto;

    }

    .actividades-section,
    .actividades-container {
        gap: 1.5em;
    }

    .proximos-eventos {
        margin-left: 0px;
    }

    .news-grid,
    .galeria-grid,
    .eventos-grid {
        justify-items: center;
        gap: 15px;
    }

    .news-card,
    .galeria-card {
        max-width: 400px;
    }

    .news-swiper .swiper-wrapper {
        display: flex;
        /* Swiper requiere flex */
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: block;
        color: var(--black);

        top: 50%;

    }

    .news-swiper .swiper-button-next,
    .news-swiper .swiper-button-prev,
    .actividades-swiper .swiper-button-prev,
    .actividades-swiper .swiper-button-next {
        background-color: var(--white);
    }

    .news-swiper .swiper-button-prev {
        left: 0px;
    }

    .news-swiper .swiper-button-next {
        right: 0px;
    }

    .news-item {
        /* justify-self: center; */
    }

    .formacion-container {
        display: flex;
        /* Swiper se encarga del layout */
        overflow: hidden;
    }

    .formacion-swiper .swiper-wrapper {
        display: flex;
        justify-content: unset;
    }

    .formacion-swiper .swiper-slide {
        /* display: flex; */
        /* justify-content: center; */
        /* width: 100% !important; */
        max-width: 100%;
        box-sizing: border-box;
    }

    .formacion-item {
        max-width: 320px;
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

    .formacion-swiper .swiper-button-prev,
    .formacion-swiper .swiper-button-next {
        display: block;
        color: #000;
        top: 50%;
        transform: translateY(-50%);
        position: absolute;
        z-index: 10;
    }

    .formacion-swiper .swiper-button-prev {
        left: 0px;
    }

    .formacion-swiper .swiper-button-next {
        right: 0px;
    }

    .swiper-slide {
        width: auto;
    }

    .actividades-swiper {
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        position: relative;
    }

    .actividades-container {
        padding-left: 15px;
        padding-right: 15px;

    }

    .actividades-swiper .swiper-wrapper {
        display: flex;
    }

    .actividades-swiper .swiper-slide {
        display: flex;


        max-width: 100%;
        box-sizing: border-box;
    }

    .actividad {
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }

    .actividades-swiper .swiper-button-prev,
    .actividades-swiper .swiper-button-next {
        display: block;
        color: #000;
        top: 50%;
        transform: translateY(-50%);
        position: absolute;
        z-index: 10;
    }

    .actividades-swiper .swiper-button-prev {
        left: 0px;
    }

    .actividades-swiper .swiper-button-next {
        right: 0px;
    }

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

@media (max-width:1260px) {
    .page-colaboradores-section {
        padding: 0 15px;
    }
}

@media (max-width: 1210px) {
    .formacion-container {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 1140px) {
    .fundacion-presentacion.right {
        flex-direction: column;
    }

    .fundacion-presentacion.left {
        flex-direction: column;
    }

    .fundacion-presentacion .contenido {
        max-width: unset;
    }

    .fundacion-presentacion .imagen {
        margin: auto;
    }

    section.default-header,
    section.header {
        height: 700px;
    }

    .header-content-container h1 {
        font-size: 30px;
    }

    .header-content-container h2 {
        font-size: 15px;
    }

    .header-container>a:has(img.logo-header-top) {
        top: inherit;
        right: inherit;
    }

    .titulo-transparencias,
    .ultima-actualizacion {
        text-align: center;
    }
}


@media (max-width:890px) {
    .relacionadas-grid {
        grid-template-columns: 1fr 1fr;
    }

    .entrada-meta-tags {
        position: relative;
        margin-top: 1em;
        bottom: 0px;
        left: 0px;
    }

    .qrredessociales {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }

    .about-us>div {
        height: auto;
    }

}

@media (max-width:880px) {
    .formacion-container {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Si hay un número impar de elementos, el último ocupa la primera columna */
    .formacion-item:nth-last-child(1):nth-child(odd) {
        grid-column: 3 / span 1;
    }

    .grid-proyectos {
        grid-template-columns: 1fr 1fr;
        padding: 0 15px;
    }
}

@media (max-width: 790px) {
    .grid-proyectos .proyecto-thumb img {
        justify-self: unset;
        max-height: 300px;
        object-fit: contain;
        margin: 0 auto;
    }

    .grid-proyectos .proyecto-thumb-wrapper {
        width: 100%;
    }

    .grid-proyectos {
        gap: 2em 1em;
    }

    .proyecto-card {
        display: grid;
        grid-template-rows: 300px auto;
        gap: 1.5em;
        grid-template-columns: 350px;
    }

    h2.titulo-proyecto {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .single-proyecto-wrap {
        display: flex;
        flex-direction: column-reverse;
    }

    /* .imagen-extra {
        max-width: 300px;
    } */

    .proyecto-imagenes {
        align-self: center;
    }

    .imagenes-grid {
        grid-template-columns: 1fr;
    }

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

    .imagen-extra {
        max-width: 420px;
    }

    .fundacion-presentacion .imagen {
        max-width: unset;
    }

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

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

    .formacion-item:nth-last-child(1):nth-child(odd) {
        grid-column: auto;
    }

    .header-content-container {
        padding-left: 15px;
        padding-right: 15px;
    }

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

@media (max-width:740px) {
    .grid-proyectos {
        grid-template-columns: 1fr;
        place-content: center;
        place-items: center;
    }

    .proyecto-card {
        grid-template-rows: 350px auto;
        grid-template-columns: 420px;
    }

    .grid-proyectos .proyecto-thumb img {
        max-height: 350px;
    }
}

@media (max-width:729px) {
    .actividades-container {
        flex-direction: column;
        align-content: center;
    }
}

@media (max-width:650px) {
    .actividades-container {
        padding-left: 18px;
        padding-right: 18px;
    }

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

    .formacion-item:nth-last-child(1):nth-child(odd) {
        grid-column: auto;
    }

    .presentation-section {
        height: auto;
        padding: 2em;
    }

    .news-grid,
    .galeria-grid,
    .eventos-grid {
        grid-template-columns: 1fr;
    }

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

    .relacionadas-grid {
        grid-template-columns: 1fr;
    }


    .actividades-swiper .swiper-wrapper {
        gap: 0px;
    }

    .actividades-section {
        padding: 0px;
    }

    .transparencias-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width:550px) {
    .proyecto-card {
        grid-template-columns: unset;
        grid-template-rows: unset;
    }

    .titulo-proyecto {
        font-size: 25px;
    }

    .grid-proyectos {
        gap: 4em 1em;
    }
}

@media (max-width:550px) {
    .imagenes-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .grid-proyectos {
        grid-template-columns: 1fr;
    }

    .imagen-extra {
        max-width: 100%;
        justify-self: center;
    }
}

@media (max-width: 350px) {
    .galeria-categories-grid {
        grid-template-columns: 1fr;
    }
}