/*
Theme Name:  Twenty Twenty-Four - hijo
Description: Tema hijo creado por desarrollo web
Author:      Desarrollo-WEB-UNAB
Author URL:  https://wordpress.org/
Template:    twentytwentyfour
Version: 1.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour-child
*/

/* ── Tipografía global ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

body, h1, h2, h3, h4, h5, h6, p, a, span, button, input, textarea {
    font-family: 'Poppins', sans-serif;
}

/* ─────────────────────────────────────────────
   Módulo: Grid Cards Financiamiento
───────────────────────────────────────────── */
.gcf-section {
    padding: 60px 0;
    background: #f4f6f9;
}
.gcf-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 70px;
}
.gcf-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    align-items: stretch;
}
.gcf-col-md-l { flex: 1; }
.gcf-col-md-r { flex: 1; }

/* ── Card base ── */
.gcf-card {
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 2px 14px rgba(0,0,0,0.09);
    min-height: 200px;
    width: 100%;
}
.gcf-col-md-l,
.gcf-col-md-r {
    display: flex;
    flex-direction: column;
}
.gcf-card__body {
    flex: 1;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}
.gcf-card__img {
    flex-shrink: 0;
    overflow: hidden;
}
.gcf-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gcf-card__etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: 3px 10px 3px 8px;
    border-radius: 20px;
    margin-bottom: 12px;
    width: fit-content;
    color: #fff;
}
.gcf-card__etiqueta-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    flex-shrink: 0;
}
.gcf-card__title {
    margin: 0 0 8px;
    line-height: 1.35;
    font-weight: 800;
}
.gcf-card__desc {
    font-size: 13px;
    line-height: 1.65;
    margin: 0 0 18px;
}
.gcf-card__btn {
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .04em;
}

/* ─────────────────────────────────────────────
   Bloque superior: layout anidado
   [card azul tall | [texto+img / azul-mini+roja]]
───────────────────────────────────────────── */
.gcf-row--top {
    align-items: stretch;
    min-height: 480px;
}

/* Columna izquierda: card azul tall */
.gcf-top-left {
    flex: 0 0 28%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.09);
    display: flex;
    flex-direction: column;
}

/* Columna derecha: dos filas apiladas */
.gcf-top-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Fila dentro de la columna derecha */
.gcf-top-right__row {
    display: flex;
    gap: 16px;
    flex: 1;
}

/* Card c1: texto + imagen dentro (fila top) */
.gcf-top-right__card {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.09);
    display: flex;
    flex-direction: row-reverse;
}

/* Imagen dentro de gcf-top-right__card */
.gcf-top-right__img {
    flex: 0 0 38%;
    overflow: hidden;
}
.gcf-top-right__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Card azul mini (fila bot) */
.gcf-top-right__azul {
    flex: 0 0 38%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.09);
    display: flex;
    flex-direction: column;
}

/* Card roja (fila bot) */
.gcf-top-right__roja {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.09);
    display: flex;
    flex-direction: column;
}

/* ── Tablet ── */
@media (max-width: 900px) {
    .gcf-col-md-l,
    .gcf-col-md-r {
        flex: 0 0 100%;
    }
    .gcf-row {
        flex-wrap: wrap;
    }
    .gcf-row--top {
        flex-direction: column;
        min-height: unset;
    }
    .gcf-top-left {
        flex: 0 0 auto;
        min-height: 220px;
    }
    .gcf-top-right__img {
        flex: 0 0 200px;
    }
    .gcf-card__img {
        width: 40% !important;
        max-height: 220px;
    }
}

/* ── Mobile ── */
@media (max-width: 600px) {
    .gcf-inner {
        padding: 0 16px;
    }
    .gcf-section {
        padding: 36px 0;
    }
    .gcf-row {
        gap: 12px;
        margin-bottom: 12px;
    }
    .gcf-top-right__row {
        flex-direction: column;
        gap: 12px;
    }
    .gcf-top-right__img,
    .gcf-top-right__azul {
        flex: 0 0 auto;
        height: 180px;
    }
    /* Card anidada texto+imagen (ej: "BECAS"): apilar en mobile */
    .gcf-top-right__card {
        flex-direction: column-reverse;
    }
    .gcf-top-right__card .gcf-top-right__img {
        width: 100%;
        height: 180px;
    }
    .gcf-card {
        flex-direction: column !important;
        min-height: unset;
    }
    .gcf-card__img {
        width: 100% !important;
        height: 180px !important;
        flex-shrink: 0;
    }
    .gcf-card__body {
        padding: 18px 16px;
    }
    .gcf-card__title {
        font-size: 15px !important;
    }
}

/* ─────────────────────────────────────────────
   Módulo: Áreas Detalle
───────────────────────────────────────────── */
.ad-section {
    padding: 30px 0;
}
.ad-bloque {
    background: #fff;
    padding: 10px 0;
}
.ad-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 70px;
}
.ad-imagen {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    max-height: 200px;
}
.ad-titulo {
    font-size: 22px;
    font-weight: 700;
    color: #0B2545;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ad-icono {
    color: #0B2545;
}
.ad-subtitulo {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}
.ad-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}
.ad-btn {
    display: inline-block;
    background: #C8102E;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 10px 24px;
    border-radius: 2px;
    text-decoration: none;
}

/* ─────────────────────────────────────────────
   Módulo: Grid Cards
───────────────────────────────────────────── */
.gc-section {
    padding: 60px 0;
    background: #fff;
}
.gc-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 70px;
}
.gc-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: row;
}
.gc-item--imgleft { flex-direction: row-reverse; }
.gc-item--imgright { flex-direction: row; }

.gc-text {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.gc-etiqueta {
    display: inline-block;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    width: fit-content;
}
.gc-titulo {
    font-size: 15px;
    font-weight: 700;
    color: #0B2545;
    margin-bottom: 8px;
    line-height: 1.4;
}
.gc-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}
.gc-btn {
    font-size: 13px;
    font-weight: 700;
    color: #C8102E;
    text-decoration: none;
}
.gc-image {
    width: 160px;
    flex-shrink: 0;
}
.gc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .gc-item {
        flex-direction: column !important;
    }
    .gc-image {
        width: 100% !important;
        height: 180px;
    }
    .gc-image img {
        height: 180px;
    }
    .gc-text {
        padding: 20px !important;
    }
    .gc-container {
        padding: 0 16px !important;
    }
}

/* ─────────────────────────────────────────────
   Módulo: Áreas de Interés
───────────────────────────────────────────── */
.ai-section {
    padding: 70px 0;
    margin: 0 30px;
    border-radius: 20px;
}
.ai-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}
.ai-header {
    margin-bottom: 32px;
}
.ai-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.ai-titulo {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.ai-desc {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    max-width: 700px;
    margin: 0 auto;
}
.ai-card {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 180px;
    text-decoration: none;
}
.ai-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ai-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11,37,69,0.3) 0%, rgba(11,37,69,0.8) 100%);
}
.ai-card__content {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
}
.ai-card__icono {
    color: #fff;
    font-size: 18px;
    display: block;
    margin-bottom: 6px;
}
.ai-card__titulo {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    margin: 0 0 4px;
}
.ai-card__subtitulo {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    margin: 0;
}
.ai-btn {
    display: inline-block;
    background: #C8102E;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 14px 36px;
    border-radius: 2px;
    text-decoration: none;
}

@media (max-width: 767px) {
    .ai-section {
        margin: 0 16px;
        padding: 40px 0;
        border-radius: 12px;
    }
    .ai-inner {
        padding: 0 20px;
    }
    /* Anula el col-6 de Bootstrap: 1 tarjeta por fila en mobile */
    .ai-inner .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    .ai-card {
        height: 170px;
        margin-bottom: 12px;
    }
    .ai-card__titulo {
        font-size: 15px;
    }
    .ai-card__subtitulo {
        font-size: 13px;
    }
}

/* ─────────────────────────────────────────────
   Módulo: Formulario Contacto
───────────────────────────────────────────── */
.fc-section {
    padding: 60px 0;
    background: #f8f9fa;
}
.fc-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}
.fc-titulo {
    font-size: 24px;
    font-weight: 800;
    color: #0B2545;
    margin-bottom: 8px;
    text-align: center;
}
.fc-desc {
    font-size: 15px;
    color: #666;
    text-align: center;
    margin-bottom: 32px;
}
.fc-alert {
    padding: 12px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.fc-alert--success {
    background: #d4edda;
    color: #155724;
}
.fc-alert--error {
    background: #f8d7da;
    color: #721c24;
}
.fc-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.fc-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    display: block;
}
.fc-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    transition: border-color .2s;
}
.fc-input:focus {
    border-color: #0B2545;
}
.fc-btn {
    width: 100%;
    background: #C8102E;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background .2s;
}
.fc-btn:hover {
    background: #a50d26;
}
.fc-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .fc-inner {
        padding: 0 16px;
    }
    .fc-card {
        padding: 24px 16px;
    }
    .fc-section {
        padding: 40px 0;
    }
}

/* ─────────────────────────────────────────────
   Módulo: Dos Columnas
───────────────────────────────────────────── */
.dc-section {
    padding: 60px 0;
    background: #fff;
}
.dc-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}
.dc-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.dc-card__header {
    position: relative;
    height: 220px;
    flex-shrink: 0;
}
.dc-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dc-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}
.dc-card__header-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
}
.dc-card__etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.dc-card__titulo {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
}
.dc-card__desc {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}
.dc-card__items {
    padding: 0 20px;
    background: #fff;
    flex: 1;
}
.dc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}
.dc-item:last-child {
    border-bottom: none;
}
.dc-item__left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dc-item__dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dc-item__arrow {
    color: #999;
}
.dc-card__footer {
    padding: 16px 20px;
    background: #fff;
}
.dc-card__btn {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 767px) {
    .dc-section {
        padding: 40px 0;
    }
    .dc-inner {
        padding: 0 16px;
    }
    .dc-card__header {
        min-height: 160px;
		height: auto;
    }
    .dc-card__titulo {
        font-size: 17px;
    }
	.dc-card {
        margin-bottom: 24px;
    }
}

/* ─────────────────────────────────────────────
   Módulo: Hero Interior
───────────────────────────────────────────── */
.hi-section {
    background-color: #0B2545;
    padding: 0;
}
.hi-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 0 0 40px;
}
/* Anula el align-items-center de Bootstrap para que ambas columnas
   (texto e imagen) se estiren a la misma altura */
.hi-inner .row.align-items-center {
    align-items: stretch !important;
}
.hi-inner .row.align-items-center > [class*="col-"] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hi-content {
    padding: 56px 0 48px;
}
.hi-etiqueta {
    color: #C8102E;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 16px;
}
.hi-titulo {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 22px;
}
.hi-titulo--rojo {
    color: #C8102E;
}
.hi-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 40px;
}
.hi-btn {
    display: inline-block;
    background: #C8102E;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 12px 28px;
    border-radius: 2px;
    text-decoration: none;
    transition: background .2s;
}
.hi-btn:hover {
    background: #a50d26;
    color: #fff;
}
.hi-imagen {
    width: 100%;
    flex: 1 1 auto;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    .hi-inner {
        padding: 0 24px;
    }
    .hi-content {
        padding: 40px 24px 20px;
    }
    .hi-imagen {
        height: 240px;
        margin-bottom: 0;
        /* imagen al corte: rompe el padding del contenedor */
        width: calc(100% + 48px);
        margin-left: -24px;
    }
}

@media (max-width: 767px) {
    .hi-inner {
        padding: 0 16px;
    }
    .hi-content {
        padding: 32px 16px 16px;
    }
    .hi-etiqueta {
        margin-bottom: 10px;
    }
    .hi-titulo {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    .hi-desc {
        font-size: 14px;
        line-height: 1.75;
        margin-bottom: 24px;
    }
    .hi-imagen {
        height: 200px;
        margin-bottom: 16px;
        /* imagen al corte: rompe el padding del contenedor */
        width: calc(100% + 32px);
        margin-left: -16px;
    }
}

/* ─────────────────────────────────────────────
   Módulo: Hero Slider
   Imagen izquierda 60% / Texto derecha 40%
───────────────────────────────────────────── */
.hs-section {
    background: #0B2545;
    overflow: hidden;
}
.hs-row {
    min-height: 480px;
}
.hs-img-col {
    position: relative;
    overflow: hidden;
    min-height: 480px;
}
@media (min-width: 992px) {              /* ← bloque nuevo */
    .hs-img-col {
        flex: 0 0 45% !important;
        max-width: 45% !important;
    }
    .hs-text-col {
        flex: 0 0 55% !important;
        max-width: 55% !important;
    }
}
.hs-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    inset: 0;
}
.hs-text-col {
    background: linear-gradient(135deg, rgba(11,37,69,0.85) 0%, #1a3a5c 50%, #304661 100%);
    padding: 48px 40px;
}
.hs-etiqueta-wrap {
    margin-bottom: 20px;
}
.hs-etiqueta {
    display: inline-block;
    background: #1a3a5c;
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 6px 16px;
    border-radius: 20px;
}
.hs-titulo {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 16px;
}
.hs-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 32px;
}
.hs-btn {
    display: inline-block;
    background: #C8102E;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
}
.hs-btn:hover {
    background: #a50d26;
    color: #fff;
}

/* Indicadores */
.hs-indicators {
    position: absolute;
    bottom: 20px;
    right: 40px;
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hs-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
}
.hs-indicator.active {
    background: #fff;
}

/* Flechas */
.hs-arrow-prev,
.hs-arrow-next {
    width: 40px;
}
.hs-arrow-prev {
    left: 10px;
}
.hs-arrow-next {
    right: 10px;
}

@media (max-width: 991px) {
    .hs-text-col {
        padding: 36px 24px;
    }
    .hs-row,
    .hs-img-col {
        min-height: 380px;
    }
}

@media (max-width: 767px) {
    .hs-row,
    .hs-img-col {
        min-height: 260px;
    }
    .hs-text-col {
        padding: 28px 16px 32px;
    }
    .hs-titulo {
        font-size: 22px;
        margin-bottom: 12px;
    }
    .hs-desc {
        font-size: 13px;
        margin-bottom: 20px;
    }
    .hs-etiqueta-wrap {
        margin-bottom: 14px;
    }
    .hs-indicators {
        right: 16px;
        bottom: 12px;
    }
}

/* ─────────────────────────────────────────────
   Módulo: CTA (Call to Action)
───────────────────────────────────────────── */
.cta-section {
    padding: 56px 40px;
    text-align: center;
	margin:3% 0;
}
.cta-icono {
    font-size: 32px;
    color: #fff;
    margin-bottom: 16px;
}
.cta-titulo {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    max-width: 720px;
    margin: 0 auto 12px;
}
.cta-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.6;
}
.cta-btn {
    display: inline-block;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 12px 32px;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity .2s;
}
.cta-btn:hover {
    opacity: .85;
}

@media (max-width: 767px) {
    .cta-section {
        padding: 40px 20px;
    }
    .cta-titulo {
        font-size: 22px;
    }
    .cta-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .cta-btn {
        width: 100%;
        padding: 14px;
    }
}
/* ─────────────────────────────────────────────
   Módulo: Header
───────────────────────────────────────────── */
.site-header {
    background-color: #0B2545;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
    border-bottom: 1px solid #304661;
}
.site-header .navbar {
    background-color: #0B2545;
    min-height: 80px;
}
.site-header .navbar-brand img {
    height: 100px;
    width: auto;
}
.site-header .navbar-toggler {
    color: #fff;
    box-shadow: none;
}
.site-header .navbar-toggler-icon {
    filter: invert(1);
}

/* ─────────────────────────────────────────────
   Módulo: Noticias
───────────────────────────────────────────── */
.nw-section {
    padding: 60px 0;
    background: #f8f9fa;
}
.nw-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}
.nw-titulo {
    font-size: 22px;
    font-weight: 800;
    color: #0B2545;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.nw-hr {
    border-color: #dee2e6;
    margin-bottom: 30px;
}
.nw-card {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 16px;
    height: 100%;
}
.nw-fecha {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}
.nw-card__titulo {
    font-size: 14px;
    color: #C8102E;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    display: block;
}
.nw-card__excerpt {
    font-size: 13px;
    color: #555;
    margin-top: 8px;
    line-height: 1.5;
}
.nw-btn {
    display: inline-block;
    background: #C8102E;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 12px 32px;
    border-radius: 2px;
    text-decoration: none;
}
.nw-btn:hover {
    background: #a50d26;
    color: #fff;
}

@media (max-width: 767px) {
    .nw-section {
        padding: 40px 0;
    }
    .nw-inner {
        padding: 0 16px;
    }
    .nw-titulo {
        font-size: 18px;
    }
    .nw-hr {
        margin-bottom: 20px;
    }
    .nw-btn {
        width: 100%;
        text-align: center;
        padding: 14px;
    }
}

/* ─────────────────────────────────────────────
   Módulo: Título de página modular (H1/H2)
───────────────────────────────────────────── */
.titulo-pagina {
    font-family: 'Poppins', sans-serif;
    color: #0B2545;
    line-height: 1.25;
    max-width: 1440px;
    margin: 40px auto 24px;
    padding: 0 40px;
    box-sizing: border-box;
}

h1.titulo-pagina {
    font-size: 40px;
    font-weight: 800;
    position: relative;
    padding-bottom: 14px;
}
h1.titulo-pagina::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #C8102E;
    border-radius: 2px;
}

h2.titulo-pagina {
    font-size: 28px;
    font-weight: 700;
}

@media (max-width: 768px) {
    h1.titulo-pagina { font-size: 30px; }
    h2.titulo-pagina { font-size: 22px; }
}

/* ─────────────────────────────────────────────
   Contenido clásico (Editor Clásico)
───────────────────────────────────────────── */
.container-fluid {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}
.container-fluid h1 {
    font-size: 25px;
    font-weight: 800;
    color: var(--pd-navy);
}

img.alignnone {
    display: inline-block;
    vertical-align: top;
    margin: 0 30px 20px 0;
}

img.alignleft {
    margin: 0 30px 20px 0;
}

img.alignright {
    margin: 0 0 20px 30px;
}

.checkbox-tyc{
    font-size: 14px;
}
/* ─────────────────────────────────────────────
   Módulo: Carrusel de Videos
───────────────────────────────────────────── */
.cv-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.cv-titulo {
    font-family: 'Poppins', sans-serif;
    color: #0B2545;
    font-weight: 700;
    font-size: 28px;
}

.cv-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.cv-carousel .carousel-inner {
    border-radius: 8px;
}

.cv-video-caja {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.cv-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cv-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}
.cv-play-btn:hover {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.08);
}
.cv-play-icon {
    color: #0B2545;
    font-size: 26px;
    margin-left: 4px;
}

.cv-video-titulo {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
}

.cv-arrow-prev,
.cv-arrow-next {
    width: 44px;
    height: 44px;
    background: #0B2545;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
}
.cv-arrow-prev { left: -10px; }
.cv-arrow-next { right: -10px; }
.cv-arrow-prev:hover,
.cv-arrow-next:hover { opacity: 1; background: #C8102E; }

.cv-modal-content {
    background: #000;
    border: none;
    border-radius: 8px;
    overflow: hidden;
}
.cv-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    background: #fff;
    border-radius: 50%;
    opacity: 1;
    padding: 8px;
}
.cv-video-wrapper iframe,
.cv-video-wrapper video {
    width: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .cv-titulo { font-size: 22px; }
    .cv-arrow-prev { left: 4px; }
    .cv-arrow-next { right: 4px; }
}
/* ─────────────────────────────────────────────
   Repositorio de Noticias
───────────────────────────────────────────── */
.nr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
}

.nr-card {
    display: flex;
    flex-direction: column;
    background: #fff;
}

.nr-card__img-link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

.nr-card__img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.nr-card__img-link:hover .nr-card__img {
    transform: scale(1.04);
}

.nr-card__img--placeholder {
    height: 230px;
    background: #e9ecef;
}

@media (max-width: 992px) {
    .nr-card__img,
    .nr-card__img--placeholder {
        height: 200px;
    }
}

@media (max-width: 600px) {
    .nr-card__img,
    .nr-card__img--placeholder {
        height: 220px;
    }
}

.nr-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.nr-card__badge {
    background: #eef1f5;
    color: #0B2545;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.nr-card__fecha {
    color: #6c757d;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
}

.nr-card__titulo {
    margin: 12px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
}
.nr-card__titulo a {
    color: #0B2545;
    text-decoration: none;
}
.nr-card__titulo a:hover {
    color: #C8102E;
}

.nr-card__linea {
    border: none;
    border-top: 2px solid #C8102E;
    width: 56px;
    margin: 16px 0;
}

.nr-card__btn {
    align-self: flex-start;
    background: #0B2545;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    padding: 12px 28px;
    border-radius: 4px;
    transition: background 0.2s ease;
}
.nr-card__btn:hover {
    background: #C8102E;
    color: #fff;
}

.nr-paginacion {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}
.nr-paginacion .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    border-radius: 6px;
    background: #f1f3f5;
    color: #0B2545;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.nr-paginacion .page-numbers:hover {
    background: #0B2545;
    color: #fff;
}
.nr-paginacion .page-numbers.current {
    background: #C8102E;
    color: #fff;
}
.nr-paginacion .page-numbers.dots {
    background: transparent;
}

@media (max-width: 992px) {
    .nr-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .nr-grid { grid-template-columns: 1fr; }
}