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

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

.terapia .content,
.site-inner main.content {
    filter: drop-shadow(black 0rem 0rem 0px);
}


/* Estilo general de centrado*/
.centered-column {
    max-width: 1280px;
    padding: 0 15px;
}

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

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

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

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

.centered-column-full {
    margin: 0 auto;
    padding: 0;
}

.centered-column-full>* {
    padding: 0 15px;
}

.textos-page .centered-column .content {
    filter: none !important;
}

.textos-page .centered-column .content h3 {
    margin: 0 0 28px;
    font-size: 25px;
}

.textos-page .centered-column .content ul {
    padding: revert;
    display: grid;
    gap: 10px;
    margin: 0 0 28px;
}

.textos-page .centered-column .content ul li {
    list-style-type: disc;
}

.textos-page .centered-column .content a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
}

.textos-page .centered-column .content p {
    margin: 0 0 28px;
    font-size: 16px;
}

.content-container {
    padding: 0 !important;
}

.content-container .content {
    max-width: 1280px;
    padding: 2em;
    font-size: 16px;
    text-wrap: balance;
}

.content-container .content p {
    margin: 0 0 14px;
}

img.document {
    height: 36px;
    width: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

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

.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer,
.otgs-development-site-front-end,
#wpadminbar {
    display: none !important;
}











/* ====== Single Fundacion (CPT) ====== */
.fundacion-single .fundacion-wrap {
    max-width: var(--container-max);
    margin: 24px auto 64px;
    padding: 0 16px;
    font-family: var(--font-base);
}

section.we-help-item.we-help {
    margin-bottom: 56px;
}


/* Breadcrumb */
.fundacion-single .fundacion-breadcrumb,
.we-help-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 15px;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #B3B3B3;
}



.fundacion-single .fundacion-breadcrumb a,
.we-help-breadcrumb a {
    color: #B3B3B3;
    text-decoration: none;
}

.fundacion-single .fundacion-breadcrumb a:hover,
.we-help-breadcrumb a:hover {
    color: var(--color-2);
}

.fundacion-single .fundacion-breadcrumb .sep,
.we-help-breadcrumb .sep {
    opacity: .6;
}

/* .fundacion-single .fundacion-breadcrumb .current {
    color: var(--color-2);
    font-weight: 700;
} */

/* TITULO */
h1.fundacion-title {
    color: var(--color-2);
    text-align: center;
    font-weight: 500;
    font-size: 35px;
    margin-bottom: 0.7em;
}

/* Imagen destacada */
.fundacion-single .fundacion-featured {
    margin: 0 0 24px;

    overflow: hidden;
    background: #f6f6f6;
    box-shadow: var(--shadow-sm);
}

.fundacion-single .fundacion-featured img {
    display: block;
    width: 100%;
    height: auto;
}

/* Contenido */
.fundacion-single .fundacion-content {
    color: var(--texto);
    font-weight: 300;
}

.fundacion-single .fundacion-content h1,
.fundacion-single .fundacion-content h2,
.fundacion-single .fundacion-content h3 {
    color: var(--black);
    font-weight: 800;
    margin: 1.2em 0 .5em;
}

.fundacion-single .fundacion-content p {
    margin: 0 0 1em;
    color: var(--texto);
    line-height: 28px;
    font-weight: 300;
}

.fundacion-single .fundacion-content a {
    color: var(--color-2);
    text-decoration: none;
    border-bottom: 1px solid rgb(212 21 104 / 25%);
}

.fundacion-single .fundacion-content a:hover {
    color: var(--color-1);
    border-bottom-color: currentColor;
}

.fundacion-single .fundacion-content ul,
.fundacion-single .fundacion-content ol {
    margin: 0 0 1.2em 1.25em;
}

.fundacion-single .fundacion-content blockquote {
    border-left: 4px solid var(--color-2);
    padding: .75em 1em;
    margin: 1.2em 0;
    background: #fff6fa;
    color: var(--texto);
}

.fundacion-single .fundacion-content img {
    max-width: 100%;
    height: auto;
}

.fundacion-single .fundacion-content figure {
    margin: 1.2em 0;
}

.fundacion-single .fundacion-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    font-size: .95rem;
}

.fundacion-single .fundacion-content table th,
.fundacion-single .fundacion-content table td {
    border: 1px solid #eee;
    padding: .6em .7em;
    text-align: left;
}

.fundacion-single .fundacion-content table th {
    background: #fafafa;
    font-weight: 700;
}


/* ===== We Help – Single ===== */

section.we-help-archive-wrap {
    max-width: 1280px;
    margin: 24px auto 64px;
    padding: 0 16px;
}


/* título */
.we-help__title {
    text-align: center;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 18px;
    font-size: 35px;
    color: var(--color-2);
}

/* banda con icono */
.we-help__band {
    background: var(--color-2);
    border-radius: 30px;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    margin-bottom: 22px;
}

.we-help__icon {
    display: grid;
    place-items: center;
}

.we-help__icon-img {
    max-width: 305px;
    height: auto;
    display: block;
}

/* contenido */
.we-help-content {
    font-size: 18px;
    line-height: 1.65;
}

.we-help-content p {
    margin: 0 0 1em;
    color: var(--texto);
}

section.we-help-item.we-help>div>h2 {
    padding-top: .5em;
}




/* EVENTOS ANUALES */
section.evento-anual-wrap {
    max-width: var(--container-max);
    margin: 24px auto 64px;
    padding: 0 16px;
    font-family: var(--font-base);
}

nav.evento-anual-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 15px;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #B3B3B3;
}

.evento-anual-breadcrumb a {
    color: #B3B3B3;
    text-decoration: none;
}

h1.evento-anual-title {
    color: var(--color-2);
    text-align: center;
    font-weight: 600;
    font-size: 35px;
    margin-bottom: 0.7em;
}

figure.evento-anual-featured {
    margin: 0 0 24px;
    overflow: hidden;
    background: #f6f6f6;
    box-shadow: var(--shadow-sm);
}

.evento-anual-content.entry-content p {
    margin: 0 0 1em;
    color: var(--texto);
    line-height: 28px;
    font-weight: 300;
}

.evento-anual-content a {
    background-color: var(--color-2);
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-family: "Outfit", sans-serif;
    padding: 10px 15px;
    border-radius: 23px;
}

h2.landing-noticias__title {
    font-size: 25px;
    text-align: center;
    color: #A81060;
    margin-top: 25px;
    margin-bottom: 25px;
}

.noticia-card__title a {
    color: #D41568;
    text-decoration: none;
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 13px;
}



/* NOTICIAS PAGE */




/* Contenedor general */
.news-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.news-title {
    text-align: center;
    font-size: 35px;
    margin: 10px 0 28px;
    color: var(--color-2);
}

/* Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

/* Tarjeta */
.news-card {
    display: grid;
    gap: 12px;
}

.news-card__media {
    display: block;
    position: relative;
    overflow: hidden;
    /* border-radius: 8px; */
}

.news-card__media .news-card__img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
    max-height: 300px;
}

.news-card__media:hover .news-card__img {
    transform: scale(1.03);
}

.news-card__title {
    font-size: 23px;
    line-height: 1.25;
    margin: 0;
}

.news-card__title a {
    text-decoration: none;
    color: var(--color-2);
}

.news-card__title a:hover {
    /* text-decoration: underline; */
}

.news-card__date {
    display: block;
    font-size: 12px;
    opacity: .7;
    letter-spacing: .02em;
    margin-top: 2px;
    margin-top: 10px;
}

.news-card__excerpt {
    color: #333;
    opacity: .9;
}

/* Sentinel / loader */
.news-sentinel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    margin-top: 24px;
    opacity: .75;
}

.news-sentinel__text::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.news-load-more {
    display: block;
    margin: 16px auto;
}

/* VER TODAS LAS NOTICIAS BOTON DE INICIO */
/* Contenedor del CTA al final de la landing */
.landing-noticias__cta {
    display: flex;
    justify-content: center;
    margin: 38px auto 30px;
}

/* Botón base */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    line-height: 1;
    transition: transform .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease, background-color .15s ease;
}

/* Pastilla */
.btn-pill {
    border-radius: 9999px;
    padding: 16px 28px;

}

/* Estilo concreto del botón “noticias” (según captura) */
.btn-outline-news {
    --btn-border: #666;
    /* gris del borde */
    --btn-text: #d4146e;
    /* rosa marca (ajústalo si usas otro) */
    --btn-bg: #fff;

    border: 2px solid var(--btn-border);
    color: var(--btn-text);
    background: var(--btn-bg);
    box-shadow: 0 0 0 0 transparent;
    font-size: 18px;
}

.btn-outline-news:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
}

.btn-outline-news:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .05);
}

.btn-outline-news:focus-visible {
    outline: 3px solid rgba(212, 20, 110, .35);
    /* rosa translúcido */
    outline-offset: 3px;
}



header.news-card__head {
    display: flex;
    flex-flow: column;
    height: 90px;
}

.noticia-wrap {
    --content-max: 900px;
    /* ancho de lectura */
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 24px 20px 48px;
    color: var(--texto);
}

/* Breadcrumb */
.noticia-breadcrumb {
    font-size: 12px;
    color: var(--texto-2);
    margin: 4px 0 18px;
    letter-spacing: .02em;
    text-transform: uppercase;
    font-weight: 600;
}

.noticia-breadcrumb a {
    color: var(--texto-2);
    text-decoration: none;
}

.noticia-breadcrumb a:hover {
    text-decoration: underline;
}

.noticia-breadcrumb .sep {
    margin: 0 6px;
    color: var(--texto-3);
}

/* Título de la sección "Noticias" */
.noticia-page-title {
    text-align: center;
    font-weight: 800;
    color: var(--color-2);
    font-size: 35px;
    margin: 6px 0 22px;
}

/* Fecha */
.noticia-date {
    display: block;
    font-size: 14px;
    color: #B3B3B3;
    letter-spacing: .02em;
    margin: 8px 0 6px;
    font-weight: 600;
    text-transform: uppercase;
    /* por si la fecha no viene en mayúsculas desde PHP */
}

/* Título de la noticia */
.noticia-title {
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 16px;
    color: var(--color-2);
    font-weight: 500;
    /* max-width: var(--content-max); */
}

/* Imagen destacada */
.noticia-featured {
    margin: 12px 0 22px;
    /* border-radius: 10px; */
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.noticia-featured img {
    display: block;
    width: 100%;
    height: auto;
}

/* Contenido */
.noticia-content {
    /* max-width: var(--content-max); */
    font-size: 17px;
    line-height: 1.7;
    color: var(--texto);
}

.noticia-content p {
    margin: 0 0 1em;
}

.noticia-content a {
    color: var(--color-2);
    text-decoration: underline;
}

.noticia-content a:hover {
    text-decoration: none;
}

/* Subtítulos dentro del contenido */
.noticia-content h2,
.noticia-content h3,
.noticia-content h4 {
    margin: 1.4em 0 .5em;
    line-height: 1.25;
    font-weight: 800;
    color: var(--texto-4);
}

.noticia-content h2 {
    font-size: clamp(22px, 2.6vw, 30px);
}

.noticia-content h3 {
    font-size: clamp(20px, 2.2vw, 26px);
}

.noticia-content h4 {
    font-size: clamp(18px, 2vw, 22px);
}

/* Listas, tablas, citas */
.noticia-content ul,
.noticia-content ol {
    margin: 0 0 1em 1.2em;
}

.noticia-content li {
    margin: .35em 0;
}

.noticia-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-size: 16px;
}

.noticia-content th,
.noticia-content td {
    border: 1px solid var(--white-hr);
    padding: .6em .8em;
}

.noticia-content thead th {
    background: #fafafa;
}

.noticia-content blockquote {
    margin: 1.2em 0;
    padding: .8em 1em;
    border-left: 4px solid var(--color-2);
    background: #fff6fa;
    /* suave en torno a tu rosa corporativo */
    color: var(--texto);
}

.noticia-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.noticia-content figure {
    margin: 1em 0;
}

.noticia-content figcaption {
    text-align: center;
    font-size: 13px;
    color: var(--texto-2);
    margin-top: .4em;
}

/* Gutenberg alignments */
.noticia-content .alignwide {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.noticia-content .alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}

.noticia-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.noticia-content .alignleft {
    float: left;
    margin: .2em 1em .8em 0;
}

.noticia-content .alignright {
    float: right;
    margin: .2em 0 .8em 1em;
}

.related-news {
    background: #F2F2F2;
    margin: 36px 0 0;
    padding: 28px 0 40px;
}

.related-news__title {
    text-align: center;
    color: var(--color-2);
    font-weight: 800;
    font-size: 35px;
    margin: 0 0 35px;
}

.related-wrap {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
}

/* Glide */
.glide--related {
    position: relative;
}

.glide--related .glide__slides {
    align-items: stretch;
}

.glide--related .glide__slide {
    height: auto;
}

/* Reutiliza tu tarjeta */
.related-news .news-card {
    display: grid;
    gap: 12px;
    height: 100%;
    max-width: 600px;
}

.related-news .news-card__media {
    display: block;
    /* border-radius: 10px; */
    overflow: hidden;
}

.related-news .news-card__img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform .35s ease;
    display: block;
}

.related-news .news-card__media:hover .news-card__img {
    transform: scale(1.03);
}

.related-news .news-card__title {
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1.25;
    margin: 0;
    color: var(--color-2);
}

.related-news .news-card__title a {
    text-decoration: none;
    color: var(--color-2);
    font-size: 23px;
    font-weight: 600;
}

.related-news .news-card__title a:hover {
    text-decoration: underline;
}

.related-news .news-card__date {
    display: block;
    font-size: 14px;
    color: #B3B3B3;
    margin-top: 10px;
    letter-spacing: .02em;
    text-transform: uppercase;
    font-weight: 600;
}

.related-news .news-card__excerpt {
    color: var(--texto);
    font-size: 16px;
}

/* Flechas (misma estética que la landing) */
.related-arrows {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.related-arrow {
    pointer-events: auto;
    background: transparent;
    border: 0;
    width: 56px;
    height: 56px;
}

.related-arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* === Flechas fuera y limpias (Noticias relacionadas) === */
.related-news .related-wrap {
    position: relative;
    overflow: visible;
    /* por si algún padre tenía overflow hidden */
}

/* El contenedor de flechas ya no es overlay */
.related-news .related-wrap .related-arrows {
    position: static;
    inset: auto;
    padding: 0;
    pointer-events: none;
    /* dejamos los clicks sólo a los botones */
}

/* Botones: sin fondo ni borde y fuera del carrusel */
.related-news .related-wrap .related-arrows .related-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* área clicable, pero sin fondo ni borde */
    width: 25px;
    height: 49px;
    background: none;
    border: 0;
    box-shadow: none;
    pointer-events: auto;
    z-index: 3;
}

/* Izquierda / derecha: fuera del carrusel */
.related-news .related-wrap .glide__arrow--left.related-arrow {
    left: -56px;
    /* sácalo más/menos según gustos */
}

.related-news .related-wrap .glide__arrow--right.related-arrow {
    right: -56px;
}

/* La imagen ocupa el botón, sin estilos extra */
.related-news .related-wrap .related-arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
}

/* Estado disabled de Glide */
.related-news .related-wrap .related-arrow[disabled] {
    opacity: .35;
    pointer-events: none;
}


/* EVENTOS PAGE */
/* ===== Página Eventos ===== */
.eventos-wrap {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.eventos-breadcrumb {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--texto-2);
}

.eventos-breadcrumb a {
    color: var(--texto-2);
    text-decoration: none;
}

.eventos-breadcrumb .sep {
    margin: 0 6px;
    color: var(--texto-3);
}

.eventos-title {
    text-align: center;
    color: var(--color-2);
    font-weight: 800;
    font-size: clamp(26px, 3.2vw, 40px);
    margin: 8px 0 22px;
}

/* Contenedor: 4 por fila, alineados a la izquierda */
.eventos-grid {
    --ev-gap: 28px;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--ev-gap);
    justify-content: flex-start;
    align-items: stretch;
}

/* Tarjeta: max 300px (incluye imagen y textos) */
.evento-card {
    flex: 1 1 300px;
    /* ocupa 300px si hay sitio; se hace más pequeño en móvil */
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Media 300x200 (3:2) */
.evento-card__media {
    display: block;
    position: relative;
    width: 100%;
    /* border-radius: 8px; */
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.evento-card__img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    /* 300x200 */
}

.evento-card__date {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-2);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
    padding: 12px 10px;
}

/* Título */
.evento-card__title {
    margin: 12px 0 0;
    color: var(--texto-4);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.25;
    width: 100%;
}

.evento-card__title a {
    color: inherit;
    text-decoration: none;
}

.evento-card__title a:hover {
    text-decoration: underline;
}


/*  */
/* SINGLE Evento */
.evento-wrap {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.evento-breadcrumb {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--texto-2);
}

.evento-breadcrumb a {
    color: var(--texto-2);
    text-decoration: none;
}

.evento-breadcrumb .sep {
    margin: 0 6px;
    color: var(--texto-3);
}

.evento-page-title {
    text-align: center;
    color: var(--color-2);
    font-weight: 800;
    font-size: 35px;
    margin: 8px 0 10px;
}

.evento-date {
    display: block;
    font-size: 14px;
    color: #B3B3B3;
    letter-spacing: .02em;
    margin: 8px 0 6px;
    font-weight: 500;
    text-transform: uppercase;
}

.evento-title {
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 16px;
    color: var(--color-2);
    font-weight: 500;
    width: 100%;

}

.evento-featured {
    margin: 16px 0 20px;
}


.evento-featured img {
    /* width: 100%; */
    height: auto;
    display: block;
    /* border-radius: 8px; */
    margin: auto;
}


.evento-content {
    color: var(--texto);
    font-size: 18px;
    line-height: 1.65;
}

.evento-content p {
    margin: 0 0 1em;
}

/*  */
/* ===== Landing: Próximos eventos ===== */
.landing-eventos {
    position: relative;
    background: #F4D7E5;
    overflow: hidden;
    padding: 56px 0 60px;
}

.landing-eventos__shape {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    max-width: 421px;
    height: auto;
    pointer-events: none;
    user-select: none;
    transform: translate(0%, -1%);
    opacity: .9;
}

.landing-eventos__inner {
    position: relative;
    /* para estar por encima de la shape */
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
}

.landing-eventos__title {
    text-align: center;
    color: var(--color-2);
    font-weight: 300;
    font-size: 25px;
    margin: 0 0 22px;
}

/* GRID de 3 tarjetas, centrado. Cada card máx 300px */
.landing-eventos__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 300px));
    gap: 28px;
    justify-content: center;
}

/* Card */
.le-card {
    max-width: 300px;
    text-align: center;
}

.le-card__media {
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.le-card__img {
    width: 100%;
    display: block;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.le-card__badge {
    position: absolute;
    inset: auto 0 0 0;
    background: var(--color-2);
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    padding: 12px 10px;
    font-size: 18px;
    line-height: 1;
}

.le-card__title {
    /* margin: 12px 0 0; */
    color: var(--texto-4);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.25;
    background-color: #FFFFFF;
    padding: 12px;
    height: 109px;
    display: flex;
    align-items: center;
}

.le-card__title a {
    color: inherit;
    text-decoration: none;
}

.le-card__title a:hover {
    text-decoration: underline;
}

/* CTA */
.landing-eventos__cta {
    text-align: center;
    margin-top: 24px;
}

.btn.btn-pill.btn-outline-events {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    border: 2px solid #555;
    color: var(--color-2);
    font-weight: 800;
    text-decoration: none;
}

/* ===== Apartado landing (ID 234) ===== */
.landing-234 {
    position: relative;
    overflow: hidden;
    padding: 28px 0 32px;
    background: transparent;
    /* mantiene el fondo blanco */
}

/* Imagen decorativa, absoluta a la izquierda */
.landing-234__shape {
    position: absolute;
    left: 0;
    top: 42%;
    transform: translate(0%, -43%);
    width: 458px;
    height: auto;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.landing-234__inner {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
    z-index: 1;
    /* por encima de la shape */
}

/* Centrado y semibold SIEMPRE dentro del contenido */
.landing-234__text {
    text-align: center;
    color: var(--texto-4);
    font-weight: 600;
}

/* Asegura que todos los bloques de texto hereden el centrado y semibold */
.landing-234__text p,
.landing-234__text li,
.landing-234__text a,
.landing-234__text strong,
.landing-234__text em {
    text-align: center;
    font-weight: 600;
}

.landing-234__text p:first-of-type {
    max-width: 1030px;
    margin: auto;
    padding-top: 30px;
}

/* Enlaces del texto con tu color primario */
.landing-234__text a {
    color: var(--color-2);
    text-decoration: none;
}

.landing-234__text a:hover {
    text-decoration: underline;
}

/* Vídeos/iframes centrados y fluidos */
.landing-234__text .wp-block-embed__wrapper,
.landing-234__text iframe,
.landing-234__text video {
    display: block;
    margin: 18px auto 0;
    max-width: 100%;
    width: min(100%, 900px);
    /* ancho máx cómodo */
    aspect-ratio: 16 / 9;
    /* si el proveedor no define alto */
    height: auto;
    /* lo ignora si el iframe trae alto */
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

/* ===== Bloque iconos (página 238) ===== */
.icons-238 {
    background: var(--color-2);
    padding: 40px 0 48px;
}

.icons-238__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
}

/* Contenedor: como hay 4 por fila, limitamos el ancho a 4 tarjetas + 3 gaps.
   Con flex-wrap y justify-content:center la última fila se centra sola. */
.icons-238__grid {
    --gap-x: 60px;
    --gap-y: 48px;
    --card-w: 260px;
    /* ancho fijo de cada tarjeta */
    display: flex;
    flex-wrap: wrap;
    column-gap: var(--gap-x);
    row-gap: var(--gap-y);
    justify-content: center;
    max-width: calc(4 * var(--card-w) + 3 * var(--gap-x));
    /* 4 por fila */
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

/* Tarjeta: ocupa exactamente el ancho fijo (así calculan bien las filas) */
.icons-238__item {
    flex: 0 0 var(--card-w);
    width: var(--card-w);
}

/* Enlaces/estructura (igual que antes) */
.icons-238__link {
    display: grid;
    justify-items: center;
    text-align: center;
    text-decoration: none;
    color: #fff;
    /* ajusta si no usas fondo rosa */
    row-gap: 10px;
}

.icons-238__link.is-disabled {
    pointer-events: none;
}

.icons-238__figure {
    width: 185px;
    height: 141px;
    display: grid;
    place-items: center;
}

.icons-238__figure img {
    width: 185px;
    height: 141px;
    object-fit: contain;
    display: block;
}

.icons-238__placeholder {
    width: 185px;
    height: 141px;
    background: rgba(255, 255, 255, .15);
    border-radius: 8px;
}

.icons-238__rule {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, .6);
    margin-top: 8px;
}

.icons-238__title {
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: .3px;
}

.icons-238__subtitle {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    opacity: .9;
}

/* ===== Patrocinadores ===== */
.patro-wrap {
    background: #F2F2F2;
    padding: 28px 0 36px;
}

.patro-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
}

.patro-title {
    text-align: center;
    color: var(--texto-4);
    font-weight: 300;
    font-size: 25px;
    margin: 0px 0 40px;

}

/* Flex centrado; última fila siempre centrada */
.patro-logos {
    --gap-x: 30px;
    --gap-y: 26px;
    --card-w: 170px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: var(--gap-x);
    row-gap: var(--gap-y);
    list-style: none;
    margin: 0;
    padding: 0;
}

.patro-item {
    flex: 0 0 var(--card-w);
    width: var(--card-w);
    display: flex;
    justify-content: center;
    align-items: center;
}

.patro-img {
    width: 170px;
    height: 130px;
    object-fit: contain;
    transition: .2s;
    display: block;
    mix-blend-mode: multiply;
}

.patro-item a .patro-img:hover {
    filter: none;
    opacity: 1;
}

.patro-placeholder {
    width: 170px;
    height: 130px;
    background: #e9e9e9;
    display: block;
    border-radius: 6px;
}

.u-show-mobile {
    display: none;
}
.glide--noticias .glide__bullets {
    display: none ;
    position: static;
    text-align: center;
    transform: unset;
}

/*  */

@media (max-width: 1160px) {

    .landing-eventos__shape,
    .landing-234__shape {
        display: none;
    }
}

@media (max-width: 980px) {
    .glide--noticias .glide__arrows {
        display: none !important;
        /* sin flechas en tablet/móvil */
    }

    .glide--noticias .glide__bullets {

        display: block;
    }

    .glide--noticias .glide__bullets {
        position: static;
        /* fuera de overlay */
        display: flex;
        justify-content: center;
        /* centradas (Safari ok) */
        gap: 10px;
        margin-top: 22px;
        /* más abajo del carrusel */
    }

    .glide--noticias .glide__bullet {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: var(--texto-3);
        opacity: .5;
        border: 0;
    }

    .glide--noticias button.glide__bullet.glide__bullet--active {
        background: var(--color-2);
        opacity: 1;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .eventos-grid {
        --ev-gap: 20px;
    }

    .evento-card__date {
        font-size: 16px;
        padding: 10px;
    }

    /* espacio inferior del carrusel */
    .glide--eventos {
        padding-bottom: 28px;
        text-align: center;
    }

    /* cada slide centra su contenido */
    .glide--eventos .glide__slide {
        display: flex;
        justify-content: center;
    }

    .glide--eventos .le-card {
        max-width: 380px;
        /* ajusta si quieres más/menos ancho */
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .glide--eventos .le-card__title {
        text-align: center;
        justify-content: center;
    }

    .glide--eventos .le-card__media {
        display: block;
    }

    /* bullets centrados y más abajo */
    .glide--eventos .glide__bullets {
        display: inline-flex;
        gap: 10px;
        margin: 22px auto 0;
        vertical-align: top;
        position: static;
        transform: unset;
    }

    .glide--eventos .glide__bullet {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: var(--texto-3);
        opacity: .5;
    }

    .glide--eventos .glide__bullet--active {
        background: var(--color-2);
        opacity: 1;
    }
}

@media (max-width: 860px) {
    .icons-238__grid {
        --gap-x: 15px;
    }

    .u-hide-mobile {
        display: none !important;
    }

    .u-show-mobile {
        display: block !important;
    }

    .c-footer__nav {
        display: flex;
        flex-flow: row wrap;
        gap: 35px;
        justify-content: center;
    }


}

/* Responsive pequeño */
@media (max-width: 560px) {
    .btn-pill {
        padding: 14px 22px;
    }

    .noticia-wrap {
        padding: 16px 16px 40px;
    }

    .noticia-content {
        font-size: 16.5px;
    }

    .noticia-content .alignleft,
    .noticia-content .alignright {
        float: none;
        margin: 1em 0;
    }
}