/* =========================================================
   DETALLE DEL EVENTO
   CENA DÍA DEL CONTADOR
   COLEGIO DE CONTADORES PÚBLICOS DE TUMBES
   ========================================================= */


/* =========================================================
   CONTENEDOR GENERAL
   ========================================================= */

.ccpt-detalle-evento {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 35px 25px 60px;
    box-sizing: border-box;
}


/* =========================================================
   VOLVER A EVENTOS
   ========================================================= */

.ccpt-detalle-volver {
    margin-bottom: 25px;
}

.ccpt-detalle-volver a {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #b40000;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    transition: all .25s ease;
}

.ccpt-detalle-volver a:hover {
    color: #7f0000;
    transform: translateX(-3px);
}


/* =========================================================
   CABECERA PRINCIPAL
   ========================================================= */

.ccpt-evento-principal {
    display: grid;

    grid-template-columns: 1.05fr .95fr;

    gap: 55px;

    align-items: center;

    margin-bottom: 35px;
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.ccpt-evento-contenido {
    min-width: 0;
}


/* =========================================================
   ETIQUETAS
   ========================================================= */

.ccpt-evento-etiquetas {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;
}

.ccpt-evento-etiqueta {
    display: inline-flex;

    align-items: center;
    gap: 7px;

    padding: 8px 13px;

    border-radius: 7px;

    font-size: 12px;
    font-weight: 700;

    line-height: 1;

    text-transform: uppercase;
}

.ccpt-evento-etiqueta.principal {
    background: #b40000;
    color: #ffffff;
}

.ccpt-evento-etiqueta.secundaria {
    background: #ffffff;
    color: #26364a;

    border: 1px solid #dfe3e8;
}


/* =========================================================
   TÍTULOS
   ========================================================= */

.ccpt-evento-contenido h1 {
    margin: 0 0 12px;

    color: #102b49;

    font-size: 44px;
    line-height: 1.12;

    font-weight: 800;
}

.ccpt-evento-contenido h2 {
    margin: 0 0 20px;

    color: #555d67;

    font-size: 18px;
    line-height: 1.5;

    font-weight: 400;
}


/* =========================================================
   DESCRIPCIÓN
   ========================================================= */

.ccpt-evento-descripcion {
    max-width: 680px;

    margin: 0 0 30px;

    color: #30343a;

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   DATOS DEL EVENTO
   ========================================================= */

.ccpt-evento-datos {
    display: flex;

    align-items: stretch;

    margin-bottom: 28px;

    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;

    padding: 18px 0;
}

.ccpt-evento-dato {
    flex: 1;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 0 18px;

    border-right: 1px solid #e5e5e5;
}

.ccpt-evento-dato:first-child {
    padding-left: 0;
}

.ccpt-evento-dato:last-child {
    border-right: none;
}

.ccpt-evento-dato > i {
    width: 42px;
    height: 42px;

    min-width: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff0f0;

    color: #b40000;

    font-size: 18px;
}

.ccpt-evento-dato div {
    display: flex;

    flex-direction: column;

    gap: 4px;
}

.ccpt-evento-dato span {
    color: #6b7077;

    font-size: 12px;
}

.ccpt-evento-dato strong {
    color: #20252b;

    font-size: 13px;

    font-weight: 600;
}


/* =========================================================
   BOTONES
   ========================================================= */

.ccpt-evento-botones {
    display: flex;

    align-items: center;

    gap: 15px;
}

.ccpt-btn-whatsapp,
.ccpt-btn-compartir {
    min-height: 50px;

    padding: 0 22px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.ccpt-btn-whatsapp {
    background: #c00000;

    color: #ffffff;

    border: 1px solid #c00000;

    box-shadow:
        0 5px 15px rgba(180, 0, 0, .18);
}

.ccpt-btn-whatsapp:hover {
    background: #940000;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(180, 0, 0, .25);
}

.ccpt-btn-whatsapp i {
    font-size: 20px;
}

.ccpt-btn-compartir {
    background: #ffffff;

    color: #252525;

    border: 1px solid #dfe2e6;
}

.ccpt-btn-compartir:hover {
    background: #f7f7f7;

    transform: translateY(-2px);
}


/* =========================================================
   IMAGEN DEL EVENTO
   ========================================================= */

.ccpt-evento-imagen {
    width: 100%;

    overflow: hidden;

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .10);

    background: #f4f4f4;
}

.ccpt-evento-imagen img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 560px;

    object-fit: cover;
}


/* =========================================================
   SECCIÓN INFERIOR
   ========================================================= */

.ccpt-evento-informacion {
    display: grid;

    grid-template-columns: 1fr 1.55fr 360px;

    gap: 25px;

    padding-top: 32px;

    border-top: 1px solid #e7e7e7;
}


/* =========================================================
   SOBRE EL EVENTO
   ========================================================= */

.ccpt-evento-sobre h2,
.ccpt-evento-actividades h2,
.ccpt-evento-sidebar h2 {
    display: flex;

    align-items: center;

    gap: 10px;

    margin: 0 0 16px;

    color: #161b21;

    font-size: 20px;

    font-weight: 700;
}

.ccpt-evento-sobre h2 i,
.ccpt-evento-actividades h2 i {
    color: #b40000;
}

.ccpt-evento-sobre > p {
    margin: 0 0 20px;

    color: #4e545c;

    font-size: 14px;

    line-height: 1.7;
}

.ccpt-evento-sobre h3 {
    margin: 0 0 12px;

    color: #b40000;

    font-size: 15px;
}


/* =========================================================
   LISTA
   ========================================================= */

.ccpt-evento-lista {
    padding: 0;
    margin: 0;

    list-style: none;
}

.ccpt-evento-lista li {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 10px;

    color: #353b42;

    font-size: 13px;
}

.ccpt-evento-lista i {
    color: #b40000;

    font-size: 15px;
}


/* =========================================================
   LO QUE HABRÁ
   ========================================================= */

.ccpt-evento-actividades {
    padding: 20px;

    border-radius: 14px;

    background: #fafafa;

    border: 1px solid #eeeeee;
}

.ccpt-actividades-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 0;
}

.ccpt-actividad {
    padding: 5px 13px;

    text-align: center;

    border-right: 1px solid #e3e3e3;
}

.ccpt-actividad:last-child {
    border-right: none;
}

.ccpt-actividad > i {
    display: block;

    margin-bottom: 10px;

    color: #b40000;

    font-size: 23px;
}

.ccpt-actividad h3 {
    margin: 0 0 7px;

    color: #20252b;

    font-size: 13px;
}

.ccpt-actividad p {
    margin: 0;

    color: #616870;

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.ccpt-evento-sidebar {
    padding: 22px;

    border-radius: 15px;

    background: #ffffff;

    box-shadow:
        0 5px 22px rgba(0,0,0,.08);

    border: 1px solid #eeeeee;
}

.ccpt-evento-sidebar h2 {
    font-size: 18px;
}

.ccpt-evento-sidebar h2 i {
    color: #b40000;
}


/* =========================================================
   INFORMACIÓN
   ========================================================= */

.ccpt-info-lista {
    display: flex;

    flex-direction: column;

    gap: 13px;

    margin-bottom: 18px;
}

.ccpt-info-lista > div {
    display: grid;

    grid-template-columns: 80px 1fr;

    gap: 10px;

    font-size: 12px;
}

.ccpt-info-lista span {
    color: #666d75;
}

.ccpt-info-lista strong {
    color: #24282d;

    font-weight: 600;

    line-height: 1.4;
}


/* =========================================================
   WHATSAPP SIDEBAR
   ========================================================= */

.ccpt-sidebar-whatsapp {
    width: 100%;

    min-height: 46px;

    padding: 0 12px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    box-sizing: border-box;

    border-radius: 7px;

    background: #20b858;

    color: #ffffff;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    transition:
        background .25s ease,
        transform .25s ease;
}

.ccpt-sidebar-whatsapp:hover {
    background: #159447;

    color: #ffffff;

    transform: translateY(-2px);
}

.ccpt-sidebar-whatsapp i {
    font-size: 20px;
}


/* =========================================================
   REDES
   ========================================================= */

.ccpt-evento-redes {
    margin-top: 35px;

    padding: 18px 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-radius: 15px;

    background:
        linear-gradient(
            90deg,
            #fff4f4,
            #fffafa
        );

    border: 1px solid #f1dddd;
}

.ccpt-evento-redes-texto {
    display: flex;

    align-items: center;

    gap: 15px;
}

.ccpt-evento-redes-texto > i {
    color: #b40000;

    font-size: 30px;
}

.ccpt-evento-redes-texto strong {
    display: block;

    margin-bottom: 3px;

    color: #22272d;

    font-size: 14px;
}

.ccpt-evento-redes-texto p {
    margin: 0;

    color: #646b73;

    font-size: 12px;
}


/* =========================================================
   ICONOS REDES
   ========================================================= */

.ccpt-evento-redes-iconos {
    display: flex;

    align-items: center;

    gap: 13px;
}

.ccpt-evento-redes-iconos a {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    text-decoration: none;

    font-size: 17px;

    transition:
        transform .25s ease;
}

.ccpt-evento-redes-iconos a:hover {
    transform: translateY(-3px);
}

.ccpt-evento-redes-iconos a:nth-child(1) {
    background: #1877f2;
}

.ccpt-evento-redes-iconos a:nth-child(2) {
    background: #c13584;
}

.ccpt-evento-redes-iconos a:nth-child(3) {
    background: #20b858;
}

.ccpt-evento-redes-iconos a:nth-child(4) {
    background: #ff0000;
}


/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .ccpt-evento-principal {
        grid-template-columns: 1fr 1fr;

        gap: 30px;
    }

    .ccpt-evento-contenido h1 {
        font-size: 38px;
    }

    .ccpt-evento-informacion {
        grid-template-columns: 1fr 1fr;
    }

    .ccpt-evento-sidebar {
        grid-column: 1 / 3;
    }

}


/* =========================================================
   RESPONSIVE - TABLET PEQUEÑA
   ========================================================= */

@media (max-width: 850px) {

    .ccpt-evento-principal {
        grid-template-columns: 1fr;
    }

    .ccpt-evento-imagen {
        max-width: 700px;

        margin: 0 auto;
    }

    .ccpt-evento-informacion {
        grid-template-columns: 1fr;
    }

    .ccpt-evento-sidebar {
        grid-column: auto;
    }

    .ccpt-actividades-grid {
        grid-template-columns:
            repeat(2, 1fr);

        row-gap: 20px;
    }

    .ccpt-actividad:nth-child(2) {
        border-right: none;
    }

}


/* =========================================================
   RESPONSIVE - MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .ccpt-detalle-evento {
        padding: 25px 15px 45px;
    }

    .ccpt-evento-etiquetas {
        flex-wrap: wrap;
    }

    .ccpt-evento-contenido h1 {
        font-size: 31px;
    }

    .ccpt-evento-contenido h2 {
        font-size: 16px;
    }

    .ccpt-evento-descripcion {
        font-size: 14px;
    }

    .ccpt-evento-datos {
        display: block;
    }

    .ccpt-evento-dato,
    .ccpt-evento-dato:first-child {
        padding: 10px 0;

        border-right: none;
        border-bottom: 1px solid #eeeeee;
    }

    .ccpt-evento-dato:last-child {
        border-bottom: none;
    }

    .ccpt-evento-botones {
        flex-direction: column;

        align-items: stretch;
    }

    .ccpt-btn-whatsapp,
    .ccpt-btn-compartir {
        width: 100%;
    }

    .ccpt-evento-informacion {
        grid-template-columns: 1fr;
    }

    .ccpt-actividades-grid {
        grid-template-columns: 1fr;
    }

    .ccpt-actividad {
        padding: 15px;

        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }

    .ccpt-actividad:last-child {
        border-bottom: none;
    }

    .ccpt-evento-redes {
        flex-direction: column;

        text-align: center;

        padding: 20px 15px;
    }

    .ccpt-evento-redes-texto {
        flex-direction: column;
    }

    .ccpt-evento-redes-iconos {
        justify-content: center;
    }

}
/* =========================================================
   BOTÓN DESCARGAR PROGRAMA
   ========================================================= */

.ccpt-btn-programa {
    min-height: 50px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    border-radius: 8px;
    background: #ffffff;
    color: #252525;
    border: 1px solid #d99b00;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.ccpt-btn-programa:hover {
    background: #fff8e6;
    color: #9b6a00;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(180, 130, 0, .16);
}

.ccpt-btn-programa i {
    color: #b40000;
    font-size: 17px;
}

.ccpt-programa-ayuda {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #6a7077;
    font-size: 12px;
}

.ccpt-programa-ayuda i {
    color: #b40000;
}

/* Etiqueta PDF sobre el botón */
.ccpt-btn-programa::after {
    content: 'PDF';
    position: absolute;
    top: -9px;
    right: -7px;
    padding: 4px 6px;
    border-radius: 5px;
    background: #c00000;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

/* =========================================================
   SLIDER - MÁS DEL DÍA DEL CONTADOR
   ========================================================= */

.ccpt-dia-contador-slider {
    margin-top: 32px;
    padding-top: 25px;
    border-top: 1px solid #e7e7e7;
}

.ccpt-slider-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.ccpt-slider-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 5px;
    color: #161b21;
    font-size: 20px;
    font-weight: 700;
}

.ccpt-slider-title i {
    color: #b40000;
}

.ccpt-slider-subtitle {
    margin: 0;
    color: #646b73;
    font-size: 13px;
}

.ccpt-slider-nav {
    display: flex;
    align-items: center;
    gap: 9px;
}

.ccpt-slider-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe3e8;
    border-radius: 50%;
    background: #ffffff;
    color: #26364a;
    font-size: 14px;
    cursor: pointer;
    transition: all .25s ease;
}

.ccpt-slider-btn:hover {
    background: #b40000;
    color: #ffffff;
    border-color: #b40000;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(180, 0, 0, .18);
}

.ccpt-dia-swiper {
    width: 100%;
    padding: 4px 3px 42px;
}

.ccpt-dia-swiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.ccpt-dia-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ccpt-dia-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .10);
    border-color: #d8b15a;
}

.ccpt-dia-card.featured {
    border: 2px solid #dca500;
}

.ccpt-dia-card-top {
    height: 150px;
    position: relative;
    overflow: hidden;
    background: #f6f6f6;
}

.ccpt-dia-card-top img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ccpt-dia-card-top > i {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff4f4;
    color: #b40000;
    font-size: 42px;
}

.ccpt-dia-card-date {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    min-width: 52px;
    padding: 8px 7px;
    border-radius: 7px;
    background: #b40000;
    color: #ffffff;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.15;
    box-shadow: 0 3px 9px rgba(0,0,0,.15);
}

.ccpt-dia-card-body {
    padding: 15px 14px 16px;
}

.ccpt-dia-card-tag {
    display: inline-block;
    margin-bottom: 7px;
    color: #b40000;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.ccpt-dia-card h3 {
    margin: 0 0 7px;
    color: #20252b;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
}

.ccpt-dia-card p {
    min-height: 42px;
    margin: 0 0 12px;
    color: #616870;
    font-size: 12px;
    line-height: 1.55;
}

.ccpt-dia-card-meta {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    padding-top: 10px;
    border-top: 1px solid #eeeeee;
    color: #626971;
    font-size: 10px;
    line-height: 1.4;
}

.ccpt-dia-card-meta i {
    margin-top: 2px;
    color: #b40000;
}

.ccpt-dia-pagination {
    bottom: 8px !important;
}

.ccpt-dia-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    opacity: 1;
    background: #d8d8d8;
}

.ccpt-dia-pagination .swiper-pagination-bullet-active {
    width: 9px;
    height: 9px;
    background: #b40000;
}

/* =========================================================
   RESPONSIVE - BOTÓN Y SLIDER
   ========================================================= */

@media (max-width: 850px) {

    .ccpt-slider-heading {
        align-items: flex-start;
    }

    .ccpt-slider-nav {
        flex-shrink: 0;
    }

}

@media (max-width: 600px) {

    .ccpt-programa-ayuda {
        justify-content: center;
        text-align: center;
    }

    .ccpt-slider-heading {
        display: block;
    }

    .ccpt-slider-subtitle {
        margin-bottom: 14px;
    }

    .ccpt-slider-nav {
        justify-content: flex-end;
    }

    .ccpt-dia-card-top {
        height: 175px;
    }

    .ccpt-btn-programa::after {
        right: 5px;
    }
}


/* =========================================================
   CORRECCIÓN SLIDER DÍA DEL CONTADOR
   Evita el espacio en blanco y garantiza que Swiper renderice
   las tarjetas correctamente aunque el tema no cargue su CSS.
   ========================================================= */
.ccpt-dia-contador-slider {
    width: 100%;
    margin: 25px 0 0;
    padding: 22px 0 8px;
    box-sizing: border-box;
}

.ccpt-dia-swiper {
    position: relative;
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
    padding: 4px 3px 38px !important;
    box-sizing: border-box;
}

.ccpt-dia-swiper .swiper-wrapper {
    display: flex;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: content-box;
    align-items: stretch;
}

.ccpt-dia-swiper .swiper-slide {
    flex-shrink: 0;
    position: relative;
    width: auto;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box;
}

.ccpt-dia-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 315px;
    box-sizing: border-box;
}

.ccpt-dia-card-top {
    flex: 0 0 150px;
    width: 100%;
}

.ccpt-dia-card-body {
    flex: 1 1 auto;
}

.ccpt-dia-card-top img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
}

.ccpt-dia-pagination {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 5px !important;
    width: 100%;
}

/* La sección de redes queda inmediatamente después del slider. */
.ccpt-evento-redes {
    margin-top: 18px !important;
}

@media (min-width: 1200px) {
    .ccpt-dia-swiper .swiper-slide { width: calc((100% - 54px) / 4); }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .ccpt-dia-swiper .swiper-slide { width: calc((100% - 36px) / 3); }
}

@media (min-width: 576px) and (max-width: 991px) {
    .ccpt-dia-swiper .swiper-slide { width: calc((100% - 18px) / 2); }
}

@media (max-width: 575px) {
    .ccpt-dia-swiper .swiper-slide { width: 100%; }
    .ccpt-dia-card { min-height: 330px; }
}
/* =========================================================
   IMAGEN DEL SLIDER - CLIC
   ========================================================= */

.ccpt-dia-card-top img {
    cursor: zoom-in;
    transition: transform .3s ease, filter .3s ease;
}

.ccpt-dia-card-top img:hover {
    transform: scale(1.03);
    filter: brightness(.92);
}


/* =========================================================
   MODAL IMAGEN DEL EVENTO
   ========================================================= */

.ccpt-modal-imagen {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 25px;

    background: rgba(0, 0, 0, .82);

    opacity: 0;
    transition: opacity .25s ease;
}

.ccpt-modal-imagen.activo {
    display: flex;
    opacity: 1;
}

.ccpt-modal-contenido {
    position: relative;

    max-width: 1100px;
    max-height: 90vh;

    display: flex;
    align-items: center;
    justify-content: center;

    animation: ccptModalEntrada .25s ease;
}

.ccpt-modal-contenido img {
    display: block;

    max-width: 100%;
    max-height: 85vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 10px;

    box-shadow: 0 15px 50px rgba(0, 0, 0, .45);

    background: #fff;
}


/* BOTÓN CERRAR */

.ccpt-modal-cerrar {
    position: absolute;

    top: -18px;
    right: -18px;

    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 50%;

    background: #b40000;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;

    cursor: pointer;

    z-index: 2;

    box-shadow: 0 5px 15px rgba(0, 0, 0, .3);

    transition: transform .2s ease,
                background .2s ease;
}

.ccpt-modal-cerrar:hover {
    background: #8f0000;
    transform: scale(1.08);
}


/* ANIMACIÓN */

@keyframes ccptModalEntrada {

    from {
        opacity: 0;
        transform: scale(.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 576px) {

    .ccpt-modal-imagen {
        padding: 15px;
    }

    .ccpt-modal-contenido {
        max-width: 100%;
        max-height: 90vh;
    }

    .ccpt-modal-contenido img {
        max-width: 100%;
        max-height: 82vh;
        border-radius: 7px;
    }

    .ccpt-modal-cerrar {
        top: -12px;
        right: -8px;

        width: 38px;
        height: 38px;
    }

}
/* ================================
   SECCIÓN DEL DECANO
================================ */

.seccion-decano {
    width: 100%;
    padding: 55px 0;
    background: #ffffff;
}

.decano-contenedor {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 34% 40% 26%;

    align-items: stretch;
    gap: 0;

    min-height: 600px;
}


/* ================================
   FOTO DEL DECANO
================================ */

.decano-foto {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;

    overflow: hidden;
    background: #f7f7f7;

    border-radius: 16px 0 0 16px;
}

.decano-foto img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center bottom;

    display: block;
}


/* ================================
   MENSAJE
================================ */

.decano-mensaje {
    padding: 45px 45px;

    background: #ffffff;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.mensaje-etiqueta {
    display: inline-block;

    font-size: 13px;
    font-weight: 700;

    color: #b40000;

    letter-spacing: 1px;

    margin-bottom: 10px;
}

.decano-mensaje h2 {
    margin: 0;

    font-size: 38px;
    line-height: 1.08;

    color: #152f4a;

    font-weight: 800;
}

.linea-decorativa {
    width: 70px;
    height: 4px;

    background: #b40000;

    margin: 18px 0 25px;

    border-radius: 5px;
}

.decano-mensaje p {
    margin: 0 0 17px;

    font-size: 15px;
    line-height: 1.65;

    color: #4c5a68;

    text-align: justify;
}

.decano-mensaje .mensaje-final {
    font-weight: 600;
    color: #243d55;
}

.decano-mensaje h3 {
    margin: 12px 0 8px;

    font-size: 20px;

    color: #b40000;
}

.decano-mensaje strong {
    display: block;

    font-size: 13px;
    color: #243d55;

    margin-top: 5px;
}

.decano-mensaje .cargo {
    display: block;

    margin-top: 3px;

    font-size: 12px;
    font-weight: 700;

    color: #777;
}


/* ================================
   INFORMACIÓN DEL EVENTO
================================ */

.info-evento {
    padding: 32px 28px;

    background: #ffffff;

    border: 1px solid #e8e8e8;

    border-radius: 0 16px 16px 0;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);

    align-self: center;

    margin-right: 5px;
}

.info-titulo {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 25px;
}

.info-icono {
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background: #c40000;

    border-radius: 50%;

    font-size: 11px;
}

.info-titulo h3 {
    margin: 0;

    font-size: 20px;
    line-height: 1.2;

    color: #172b3f;
}


/* ================================
   ITEMS
================================ */

.info-item {
    display: grid;
    grid-template-columns: 82px 1fr;

    gap: 10px;

    padding: 11px 0;

    border-bottom: 1px solid #eeeeee;
}

.info-item span {
    font-size: 13px;
    color: #777;
}

.info-item strong {
    font-size: 13px;
    line-height: 1.45;

    color: #1d2730;
}


/* ================================
   WHATSAPP
================================ */

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    width: 100%;

    margin-top: 22px;
    padding: 13px 10px;

    background: #18b957;
    color: #ffffff;

    text-decoration: none;

    border-radius: 6px;

    font-size: 13px;
    font-weight: 700;

    transition: 0.2s ease;
}

.btn-whatsapp:hover {
    background: #119b48;
    transform: translateY(-1px);
}

.btn-whatsapp span {
    font-size: 17px;
}


/* ================================
   TABLET
================================ */

@media (max-width: 1000px) {

    .decano-contenedor {
        grid-template-columns: 38% 62%;
    }

    .info-evento {
        grid-column: 1 / -1;

        margin: 25px 0 0;

        border-radius: 14px;
    }

}


/* ================================
   CELULAR
================================ */

@media (max-width: 700px) {

    .seccion-decano {
        padding: 30px 15px;
    }

    .decano-contenedor {
        display: flex;
        flex-direction: column;

        min-height: auto;
    }

    .decano-foto {
        height: 430px;

        border-radius: 15px 15px 0 0;
    }

    .decano-foto img {
        width: 100%;
        height: 100%;
    }

    .decano-mensaje {
        padding: 30px 25px;

        border: 1px solid #eeeeee;
    }

    .decano-mensaje h2 {
        font-size: 32px;
    }

    .info-evento {
        margin: 20px 0 0;

        border-radius: 15px;
    }

}