/* =========================
Contenido interno
========================= */

.content-area { background: var(--surface); }
.content-area--single { padding-top: 0; }
.page-hero { position: relative; overflow: hidden; background-color: #143f92; background-image: var(--section-story); color: #ffffff; padding: 2.6rem 0 2.8rem; }
.page-hero__inner { display: grid; gap: 1rem; justify-items: center; text-align: center; }
.page-hero__breadcrumbs { color: rgba(255, 255, 255, 0.78); }
.page-hero__breadcrumbs .breadcrumbs { margin-bottom: 0; }
.page-hero__breadcrumbs .breadcrumbs__list { color: rgba(255, 255, 255, 0.72); justify-content: center; }
.page-hero__breadcrumbs .breadcrumbs__item a, .page-hero__breadcrumbs .breadcrumbs__item.is-current span { color: rgba(255, 255, 255, 0.92); }
.page-hero__breadcrumbs .breadcrumbs__item:not(:last-child)::after { color: #dbff5a; }
.page-hero__title { max-width: none; margin-bottom: 0; color: #ffffff; font-size: clamp(1.55rem, 3.4vw, 2.6rem); line-height: 0.96; font-weight: 800; }
@media (max-width: 719px) {.page-hero { padding: 2rem 0 2.2rem; }
.page-hero__inner { gap: 0.8rem; }
.page-hero__title { font-size: 1.9rem; line-height: 1; }
}
.page-content { padding-top: 3rem; }
.news-index__content { padding-top: 3rem; }
/* =========================
Equipo
========================= */

.team-page { padding-top: 0; }
.team-page__content { display: grid; justify-items: center; padding-top: 3rem; }
.team-grid { display: grid; width: min(100%, 920px); gap: 1.2rem; align-items: stretch; }
.team-card { display: grid; grid-template-columns: minmax(3.8rem, 16%) minmax(0, 1fr); column-gap: 2rem; align-items: center; min-height: 9rem; }
.team-card__media { margin: 0; width: min(100%, 8.75rem); aspect-ratio: 3 / 4; align-self: center; justify-self: center; overflow: hidden; border-radius: 16px; background: color-mix(in srgb, var(--surface-soft) 72%, #ffffff 28%); }
.team-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; border-radius: inherit; }
.team-card__body { display: grid; align-content: start; gap: 0.3rem; padding: 1.1rem 1.2rem 1.1rem 0; }
.team-card__name { margin: 0; order: 2; color: var(--brand-dark); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.05; font-weight: 800; text-transform: none; letter-spacing: 0; }
.team-card__message { position: relative; margin: 0 0 0.55rem; order: 1; padding: 1.2rem 1.15rem; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 16px; background: #edf1f5; color: var(--brand-dark); font-size: 1.02rem; line-height: 1.55; font-weight: 600; box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05); }
.team-card__message::before { content: "“"; margin-right: 0.18em; color: var(--brand); font-size: 1.2em; line-height: 0; }
.team-card__message::after { content: ""; position: absolute; left: 1.2rem; bottom: -0.45rem; width: 0.9rem; height: 0.9rem; border-right: 1px solid rgba(148, 163, 184, 0.28); border-bottom: 1px solid rgba(148, 163, 184, 0.28); background: #edf1f5; transform: rotate(45deg); }
.team-card__campus { margin: 0; order: 3; color: #2f2f2f; font-size: 1rem; line-height: 1.25; font-weight: 700; }
@media (max-width: 719px) {.team-page__content { padding-top: 2.2rem; }
.team-card { column-gap: 1.5rem; }
.team-card__body { gap: 0.25rem; padding: 1rem 1rem 1rem 0; }
.team-card__message { padding: 1rem 1rem 1.05rem; font-size: 0.98rem; line-height: 1.5; border-radius: 14px; margin-bottom: 0.45rem; }
.team-card__message::after { left: 1rem; bottom: -0.38rem; width: 0.78rem; height: 0.78rem; }
}
@media (max-width: 459px) {.team-card { grid-template-columns: 1fr; min-height: 0; }
.team-card { row-gap: 1rem; }
.team-card__media { aspect-ratio: 3 / 4; min-height: 0; width: min(100%, 14rem); justify-self: center; }
.team-card__body { padding: 0 0.5rem 1rem; }
}
/* =========================
Videos
========================= */

.videos-page { padding-top: 0; }
.videos-page__content { padding-top: 3rem; }
.video-grid { display: grid; gap: 1rem; align-items: start; }
.video-card { margin: 0; padding: 0.9rem; border: 1px solid var(--border); border-radius: 12px; background: #ffffff; box-shadow: var(--shadow-sm); }
.video-card__frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #000000; }
.video-card__frame iframe, .video-card__frame embed, .video-card__frame object { display: block; width: 100% !important; height: 100% !important; border: 0; }
@media (min-width: 720px) {.video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {.video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 719px) {.video-card { padding: 0.75rem; border-radius: 10px; }
.video-card__frame { border-radius: 8px; }
}
.content-layout { display: grid; gap: 1.5rem; align-items: start; }
.content-layout--page { gap: 2rem; }
.content-shell { padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.content-shell--page { width: 100%; margin-inline: 0; }
.page-content .content-shell--page { box-shadow: none; border: 0; padding: 0; background: transparent; }
.page-sidebar { display: grid; gap: 1rem; }
.single-article { width: 100%; margin-inline: 0; }
.content-header { display: grid; gap: 0.75rem; margin-bottom: 1.4rem; padding-bottom: 1.15rem; border-bottom: 1px solid var(--border); }
.content-header h1 { max-width: none; margin-bottom: 0; font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1; color: var(--brand-dark); font-weight: 700; }
.content-meta { display: flex; flex-wrap: wrap; gap: 0.55rem; color: var(--muted); font-size: 1rem; font-weight: 700; line-height: 1.4; }
.content-meta span { color: var(--muted); }
.content-meta__category { color: var(--muted); }
.content-meta--single { align-items: center; gap: 0.75rem; }
.content-meta--single .content-meta__date, .content-meta--single .content-meta__category { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--brand); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.content-meta--single .content-meta__date::before, .content-meta--single .content-meta__category::before { content: ""; width: 1rem; height: 2px; background: currentColor; opacity: 0.3; }
.single-article__media { margin-bottom: 1.5rem; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); background: var(--surface-alt); }
.single-article__media img { width: 100%; display: block; height: 100%; object-fit: cover; object-position: center center; filter: saturate(0.82) contrast(1.05) brightness(0.98); }
.entry-content { display: grid; gap: 1rem; color: var(--text); }
.entry-content > * { margin-bottom: 0; }
.entry-content > * + * { margin-top: 0.85rem; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--brand-dark); text-transform: none; letter-spacing: 0; }
.entry-content h1 { max-width: none; margin-bottom: 0; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.08; color: var(--section-title-color); font-weight: 700; }
.entry-content h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.12; font-weight: 700; }
.entry-content h3 { font-size: 1.15rem; line-height: 1.18; font-weight: 700; }
.entry-content h4 { font-size: 1rem; line-height: 1.2; font-weight: 700; }
.entry-content p, .entry-content li { color: var(--text); font-size: 1.05rem; line-height: 1.72; }
.entry-content ul, .entry-content ol { padding-left: 1.25rem; margin: 0; }
.entry-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 0.18em; }
.entry-content figure, .entry-content img, .entry-content blockquote, .entry-content pre { max-width: 100%; }
.entry-content blockquote { margin-left: 0; margin-right: 0; padding: 1rem 1.1rem; border-left: 3px solid #42c4ee; background: color-mix(in srgb, #42c4ee 10%, #ffffff 90%); }
.entry-content img { height: auto; }
/* =========================
Galerías del editor
========================= */

.entry-content .wp-block-gallery.has-nested-images.columns-3.is-cropped.wp-block-gallery-1.is-layout-flex.wp-block-gallery-is-layout-flex, .entry-content .wp-block-gallery.has-nested-images.is-cropped { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 1.45rem !important; align-items: stretch !important; margin: 2rem 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.entry-content .wp-block-gallery.has-nested-images.columns-3.is-cropped.wp-block-gallery-1.is-layout-flex.wp-block-gallery-is-layout-flex > figure.wp-block-image, .entry-content .wp-block-gallery.has-nested-images.is-cropped > figure.wp-block-image { display: block !important; width: auto !important; max-width: none !important; flex-basis: auto !important; flex-grow: 0 !important; margin: 0 !important; overflow: hidden !important; border-radius: 6px !important; opacity: 0.72; transition: opacity 220ms ease, filter 220ms ease !important; }
.entry-content .wp-block-gallery.has-nested-images.columns-3.is-cropped.wp-block-gallery-1.is-layout-flex.wp-block-gallery-is-layout-flex > figure.wp-block-image > a, .entry-content .wp-block-gallery.has-nested-images.is-cropped > figure.wp-block-image > a { display: block !important; width: 100% !important; height: 100% !important; overflow: hidden !important; border-radius: inherit !important; }
.entry-content .wp-block-gallery.has-nested-images.columns-3.is-cropped.wp-block-gallery-1.is-layout-flex.wp-block-gallery-is-layout-flex > figure.wp-block-image img, .entry-content .wp-block-gallery.has-nested-images.is-cropped > figure.wp-block-image img { display: block !important; width: 100% !important; height: auto !important; aspect-ratio: 4 / 3 !important; object-fit: cover !important; border: 0 !important; border-radius: inherit !important; transition: transform 260ms ease, filter 260ms ease !important; }
.entry-content .wp-block-gallery.has-nested-images.columns-3.is-cropped.wp-block-gallery-1.is-layout-flex.wp-block-gallery-is-layout-flex > figure.wp-block-image:hover, .entry-content .wp-block-gallery.has-nested-images.is-cropped > figure.wp-block-image:hover { opacity: 1; }
.entry-content .wp-block-gallery.has-nested-images.columns-3.is-cropped.wp-block-gallery-1.is-layout-flex.wp-block-gallery-is-layout-flex > figure.wp-block-image:hover img, .entry-content .wp-block-gallery.has-nested-images.is-cropped > figure.wp-block-image:hover img { transform: scale(1.05) !important; filter: saturate(1.08) contrast(1.05) brightness(1) !important; }
@media (max-width: 719px) {.entry-content .wp-block-gallery.has-nested-images.columns-3.is-cropped.wp-block-gallery-1.is-layout-flex.wp-block-gallery-is-layout-flex, .entry-content .wp-block-gallery.has-nested-images.is-cropped { grid-template-columns: 1fr !important; gap: 1rem !important; padding: 0 !important; border-radius: 0 !important; }
.entry-content .wp-block-gallery.has-nested-images.columns-3.is-cropped.wp-block-gallery-1.is-layout-flex.wp-block-gallery-is-layout-flex > figure.wp-block-image, .entry-content .wp-block-gallery.has-nested-images.is-cropped > figure.wp-block-image { border-radius: 5px !important; }
}
.page-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.page-links a, .page-links > span { display: inline-flex; align-items: center; min-height: 2.4rem; padding: 0.45rem 0.75rem; border: 1px solid var(--border); background: #ffffff; color: var(--brand-dark); font-size: 0.86rem; font-weight: 800; }
.page-links > span { background: color-mix(in srgb, var(--section-accent) 10%, #ffffff 90%); }
.news-index .page-links, .videos-page .page-links { display: flex; justify-content: center; gap: 0.4rem; width: fit-content; max-width: 100%; margin: 2rem auto 0; padding: 0; border: 0; border-radius: 0; overflow: visible; background: transparent; box-shadow: none; }
.news-index .page-links .page-numbers, .videos-page .page-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.8rem; min-height: 2.8rem; padding: 0.55rem 0.85rem; border: 1px solid rgba(36, 90, 141, 0.10); border-radius: 6px; background: color-mix(in srgb, var(--brand-light) 72%, #ffffff 28%); color: var(--brand-dark); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease; }
.news-index .page-links a.page-numbers:hover, .news-index .page-links a.page-numbers:focus-visible, .videos-page .page-links a.page-numbers:hover, .videos-page .page-links a.page-numbers:focus-visible { transform: translateY(-1px); border-color: var(--brand-dark); background: color-mix(in srgb, var(--brand-light) 55%, #ffffff 45%); color: var(--brand-dark); box-shadow: 0 8px 18px rgba(36, 90, 141, 0.12); }
.news-index .page-links .page-numbers.current, .videos-page .page-links .page-numbers.current { position: relative; border-color: var(--brand-dark); background: var(--brand-dark); color: #ffffff; box-shadow: none; transform: translateY(-1px); }
.news-index .page-links .page-numbers.current::after, .videos-page .page-links .page-numbers.current::after { content: ""; display: none; }
.news-index .page-links .page-numbers.dots, .videos-page .page-links .page-numbers.dots { border-color: transparent; background: transparent; box-shadow: none; color: var(--muted); min-width: 1.8rem; padding-inline: 0.2rem; }
@media (max-width: 719px) {.news-index .page-links, .videos-page .page-links { width: 100%; justify-content: center; gap: 0.35rem; margin-top: 1.6rem; }
.news-index .page-links .page-numbers, .videos-page .page-links .page-numbers { min-width: 2.5rem; min-height: 2.5rem; padding: 0.45rem 0.65rem; border-radius: 5px; font-size: 0.72rem; }
}
.breadcrumbs { margin-bottom: 1rem; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.breadcrumbs__item { display: inline-flex; align-items: center; gap: 0.6rem; }
.breadcrumbs__item:not(:last-child)::after { content: "/"; color: var(--section-accent); }
.breadcrumbs__item a { color: var(--brand-dark); }
.breadcrumbs__item.is-current span { color: var(--muted); }
.post-sidebar { display: grid; gap: 1rem; }
.post-sidebar__title { margin-bottom: 0; font-size: 1rem; line-height: 1.15; color: var(--muted); text-transform: uppercase; font-weight: 700; letter-spacing: 0.03em; }
.latest-posts { display: grid; gap: 1rem; }
.latest-post { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); gap: 0.9rem; align-items: center; padding: 0.8rem; border: 1px solid var(--border); border-radius: 10px; background: #ffffff; box-shadow: var(--shadow-sm); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.latest-post:last-child { margin-bottom: 0; }
.latest-post:hover, .latest-post:focus-within { transform: translateY(-2px); border-color: rgba(36, 90, 141, 0.18); box-shadow: var(--shadow); }
.latest-post__thumb { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 8px; background: color-mix(in srgb, var(--surface-soft) 72%, #ffffff 28%); }
.latest-post__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.latest-post__date { margin: 0 0 0.5rem; color: var(--brand); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding-inline: 0; display: flex; align-items: center; gap: 0.5rem; }
.latest-post__date::before { content: ""; width: 1rem; height: 2px; background: currentColor; opacity: 0.3; }
.latest-post__title { margin-bottom: 0; font-size: 0.86rem; line-height: 1.22; text-transform: uppercase; font-weight: 700; letter-spacing: -0.02em; }
.latest-post__title a { color: var(--text); }
.latest-post__title a:hover, .latest-post__title a:focus-visible { color: var(--brand); }
.latest-posts__empty { margin-bottom: 0; color: var(--muted); font-size: 0.94rem; }
@media (min-width: 980px) {.content-layout--page { grid-template-columns: minmax(0, 1fr) 20rem; gap: 3rem; }
.content-layout--single { grid-template-columns: minmax(0, 1fr) 20rem; gap: 3rem; }
.page-sidebar, .post-sidebar { position: sticky; top: 6rem; }
}
@media (max-width: 979px) {.content-layout--page, .content-layout--single { grid-template-columns: 1fr; }
.page-sidebar, .post-sidebar { position: static; }
}
@media (max-width: 719px) {.content-shell { padding: 1.35rem; }
.content-header { margin-bottom: 1.1rem; padding-bottom: 1rem; }
.content-header h1 { font-size: 1.85rem; line-height: 1.02; }
.latest-post { grid-template-columns: 4.6rem minmax(0, 1fr); padding: 0.7rem; border-radius: 9px; }
.latest-post__thumb { border-radius: 7px; }
}
