@charset "utf-8";
/* CSS Document */
/* =========================================================
   COMTE – SISTEMA VISUAL INSTITUCIONAL 2026
   CSS UNIFICADO · BLOQUE 1
   ========================================================= */

/* =========================================================
   VARIABLES CORPORATIVAS
   ========================================================= */

:root {
    --comte-primary: #0066a1;
    --comte-secondary: #00a6c8;
    --comte-dark: #333333;
    --comte-grey: #666666;
    --comte-light: #f5f8fa;
    --comte-white: #ffffff;

    --comte-border: #e5e8ec;
    --comte-border-light: #e8ecee;

    --comte-radius: 12px;

    --comte-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
    --comte-shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.10);

    --comte-text-dark: #243746;
    --comte-text-muted: #5f6b75;
    --comte-text-soft: #7a858f;
    --comte-text-light: #777;

    --comte-bg-soft: #f1f5f6;
    --comte-bg-light-grey: #eeeeee;

    --comte-border-strong: #e3e7ea;
    --comte-border-medium: #e5e5e5;
    --comte-border-soft: #e1e7ec;
    --comte-border-hover: #cbd5dc;

    --comte-gold: #d5a84b;
    --comte-primary-muted: #698092;

    --comte-shadow-soft: 0 2px 8px rgba(0,0,0,0.05);
    --comte-shadow-medium: 0 2px 8px rgba(0,0,0,0.06);
    --comte-shadow-strong: 0 3px 12px rgba(0,0,0,0.07);

    /* Variables adicionales del segundo archivo */
    --comte-blue: #0071ad;
    --comte-blue-dark: #18476a;
    --comte-blue-light: #f4f8fb;
}

/* =========================================================
   BASE DE PÁGINA
   ========================================================= */

.comte-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* =========================================================
   CABECERA
   ========================================================= */

.comte-header {
    text-align: center;
    margin-bottom: 45px;
}

.comte-header h1 {
    margin-bottom: 20px;
    color: var(--comte-primary);
    font-size: 38px;
    font-weight: 700;
}

.comte-header h2 {
    margin-bottom: 12px;
    color: var(--comte-primary);
    font-size: 30px;
    font-weight: 700;
}

.comte-header p {
    max-width: 850px;
    margin: 0 auto;
    color: var(--comte-grey);
    font-size: 17px;
    line-height: 1.7;
}

/* =========================================================
   BLOQUES PRINCIPALES
   ========================================================= */

.comte-box {
    background: var(--comte-white);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: var(--comte-radius);
    box-shadow: var(--comte-shadow);
}

.comte-box h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--comte-primary);
    font-size: 25px;
}

.comte-box h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--comte-primary);
}

.comte-box p,
.comte-box li {
    color: var(--comte-grey);
    line-height: 1.7;
}

.comte-box p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   SECCIONES
   ========================================================= */

.comte-section {
    margin-bottom: 35px;
}

.comte-section:last-child {
    margin-bottom: 0;
}

.comte-section h2 {
    margin-bottom: 22px;
    color: var(--comte-primary);
}

.comte-section h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--comte-primary);
}

/* =========================================================
   SEPARADORES
   ========================================================= */

.comte-separador {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid var(--comte-border);
}

/* =========================================================
   GRID GENERAL
   ========================================================= */

.comte-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
/* =========================================================
   COMTE – SISTEMA VISUAL INSTITUCIONAL 2026
   CSS UNIFICADO · BLOQUE 2
   ========================================================= */

/* =========================================================
   TARJETAS INSTITUCIONALES
   ========================================================= */

.comte-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: var(--comte-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--comte-radius);
    box-shadow: var(--comte-shadow);
    text-decoration: none !important;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.comte-card:hover {
    transform: translateY(-4px);
    border-color: var(--comte-primary);
    box-shadow: var(--comte-shadow-hover);
}

.comte-card h3 {
    margin: 0 0 7px;
    color: var(--comte-primary);
    font-size: 19px;
    line-height: 1.3;
}

.comte-card p {
    margin: 0;
    color: var(--comte-grey);
    font-size: 14px;
    line-height: 1.55;
}
/* ============================================
   BLOQUE SERVICIOS COLEGIADO - ICONOS LIGEROS
   ============================================ */

.comte-servicios-horizontal {
    background: #f5f7fa;
    padding: 25px 0;
}

/* GRID horizontal */
.comte-servicios-horizontal .comte-servicios-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
    flex-wrap: nowrap;
}

/* Cada sección */
.comte-servicio-item {
    flex: 1;
    padding: 0 25px;
    text-align: center;
}

/* Separadores verticales */
.comte-servicio-item:not(:first-child) {
    border-left: 1px solid #d4d7db;
}

/* Iconos lineales, ligeros, sin círculo */
.comte-servicio-item .comte-icon {
    margin-bottom: 10px;
}

.comte-servicio-item .comte-icon i,
.comte-servicio-item .comte-icon svg {
    font-size: 34px;          /* Más ligero que antes */
    color: #005baa;           /* Azul institucional */
    stroke-width: 1.5;        /* Línea fina */
    line-height: 1;
    border-radius: 0 !important;
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Título grande */
.comte-servicio-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #003b6f;
    margin-bottom: 6px;
}

/* Descripción */
.comte-servicio-item p {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Botón */
.comte-btn {
    display: inline-block;
    padding: 7px 14px;
    background: #005baa;
    color: #fff !important;
    border-radius: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.comte-btn:hover {
    background: #003b6f;
}

/* Ventanilla Única sin botón */
.comte-servicio-item.vu .comte-btn {
    display: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .comte-servicios-horizontal .comte-servicios-grid {
        flex-wrap: wrap;
    }

    .comte-servicio-item {
        flex: 1 1 50%;
        padding: 20px 10px;
    }

    .comte-servicio-item:not(:first-child) {
        border-left: none;
        border-top: 1px solid #d4d7db;
    }
}

@media (max-width: 576px) {
    .comte-servicio-item {
        flex: 1 1 100%;
    }

    .comte-servicio-item:not(:first-child) {
        border-top: 1px solid #d4d7db;
    }
}

/* RESET TOTAL PARA EVITAR CÍRCULOS EN ICONOS */
.comte-servicio-item .comte-icon,
.comte-servicio-item .comte-icon i,
.comte-servicio-item .comte-icon svg {
    border-radius: 0 !important;   /* Elimina círculos */
    background: none !important;   /* Elimina fondos */
    padding: 0 !important;         /* Elimina rellenos que generan forma */
    box-shadow: none !important;   /* Elimina sombras circulares */
    width: auto !important;        /* Evita contenedores redondos */
    height: auto !important;
    display: inline-block;
}

/* ICONO ESTILO COLEGIO DE MÉDICOS */
.comte-servicio-item .comte-icon i,
.comte-servicio-item .comte-icon svg {
    font-size: 40px;               /* Icono grande */
    color: #005baa;                /* Azul institucional */
    line-height: 1;
    margin-bottom: 12px;
}

/* =========================================================
   ICONOS DE TARJETA
   ========================================================= */

.comte-card-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--comte-primary);
    color: var(--comte-white);
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

/* =========================================================
   CONTENIDO DE TARJETA
   ========================================================= */

.comte-card-content {
    flex: 1;
    min-width: 0;
}

.comte-card-content h3 {
    margin: 0 0 7px;
    color: var(--comte-primary);
    font-size: 18px;
    line-height: 1.3;
}

.comte-card-content p {
    margin: 0;
    color: var(--comte-grey);
    font-size: 14px;
    line-height: 1.55;
}

/* =========================================================
   ICONOS GENERALES
   ========================================================= */

.comte-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--comte-primary);
    color: var(--comte-white);
    font-size: 30px;
}

/* =========================================================
   ACCESOS RÁPIDOS PORTADA
   ========================================================= */

.comte-access {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.comte-access-item {
    min-height: 190px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--comte-white);
    border-radius: var(--comte-radius);
    box-shadow: var(--comte-shadow);
    text-align: center;
    text-decoration: none !important;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.comte-access-item:hover {
    transform: translateY(-7px);
    box-shadow: var(--comte-shadow-hover);
}

.comte-access-item i {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--comte-primary);
    color: var(--comte-white);
    font-size: 30px;
}

.comte-access-item span {
    margin-bottom: 12px;
    color: var(--comte-primary);
    font-size: 20px;
    font-weight: 700;
}

.comte-access-item p {
    margin: 0;
    color: var(--comte-grey);
    font-size: 15px;
    line-height: 1.5;
}

/* =========================================================
   VOCALÍAS DESTACADAS
   ========================================================= */

.comte-vocalias-destacadas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
    margin: 50px 0;
}

.comte-vocalia-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 38px 34px 32px;
    background: var(--comte-white);
    border: 1px solid var(--comte-border);
    border-radius: var(--comte-radius);
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.comte-vocalia-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--comte-primary);
}

.comte-vocalia-card:hover {
    transform: translateY(-6px);
    border-color: #d5dce3;
    box-shadow: var(--comte-shadow-hover);
}

.comte-vocalia-card-number {
    margin-bottom: 22px;
    color: var(--comte-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.comte-vocalia-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.comte-vocalia-card-kicker {
    display: block;
    margin-bottom: 9px;
    color: var(--comte-text-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.comte-vocalia-card h3 {
    margin: 0 0 16px;
    color: var(--comte-text-dark);
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
}

.comte-vocalia-card p {
    margin: 0;
    color: var(--comte-text-muted);
    font-size: 16px;
    line-height: 1.65;
}

.comte-vocalia-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 28px;
    color: var(--comte-primary) !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: 0.25s ease;
}

.comte-vocalia-link span {
    display: inline-block;
    font-size: 19px;
    line-height: 1;
    transition: 0.25s ease;
}

.comte-vocalia-link:hover {
    color: #163f62 !important;
}

.comte-vocalia-link:hover span {
    transform: translateX(5px);
}

/* =========================================================
   FORMACIÓN (GENERAL)
   ========================================================= */

.comte-etiqueta {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--comte-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.comte-box-destacada {
    border-top: 4px solid var(--comte-primary);
}

.comte-box-destacada .comte-card {
    border-color: rgba(0, 0, 0, 0.10);
}

.comte-box-destacada .comte-card-content h3 {
    font-size: 19px;
}

.comte-box-info {
    margin-top: 20px;
}
/* =========================================================
   COMTE – SISTEMA VISUAL INSTITUCIONAL 2026
   CSS UNIFICADO · BLOQUE 3
   NOTICIAS (POSITION 2 + POSITION 3)
   ========================================================= */

/* =========================================================
   CONTENEDORES
   ========================================================= */

#sp-position2,
#sp-position3 {
    align-self: flex-start !important;
    padding-top: 8px !important;
    padding-bottom: 0 !important;
}

#sp-position2 .sp-module,
#sp-position3 .sp-module,
#sp-position2 .sp-module-content,
#sp-position3 .sp-module-content,
#sp-position2 .comte-news,
#sp-position3 .comte-news {
    margin: 0 !important;
    padding: 0 !important;
}

#sp-position2 .sp-module,
#sp-position3 .sp-module {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* =========================================================
   NOTICIA PRINCIPAL – POSITION 2
   ========================================================= */

#sp-position2 .mfp_masonry_skin_card,
#sp-position2 .mfp_masonry_item {
    margin: 0 !important;
    padding: 0 !important;
}

#sp-position2 .mfp_masonry_item > div {
    box-sizing: border-box;
    padding: 20px !important;
    background: var(--comte-white);
    border: 1px solid var(--comte-border);
    border-radius: 10px;
    box-shadow: var(--comte-shadow-strong);
}

/* Imagen noticia principal */

#sp-position2 .mfp_thumb_pos_top {
    display: block;
    width: 100%;
    margin: 0 0 15px !important;
    text-align: center;
}

#sp-position2 .mfp_thumb_pos_top img {
    display: block;
    width: 145px !important;
    height: 145px !important;
    max-width: 145px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

/* Título noticia principal */

#sp-position2 .mfp_masonry_title {
    margin: 5px 0 8px !important;
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 700;
}

#sp-position2 .mfp_masonry_title a {
    color: var(--comte-primary);
    text-decoration: none !important;
}

#sp-position2 .mfp_masonry_title a:hover {
    color: #0077b6;
}

/* Fecha */

#sp-position2 .mfp_date {
    display: block;
    margin-bottom: 7px;
    color: var(--comte-text-light);
    font-size: 10px;
}

/* Texto */

#sp-position2 .mfp_masonry_introtext {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--comte-grey);
    font-size: 10.5px;
    line-height: 1.45;
}

/* =========================================================
   NOTICIAS SECUNDARIAS – POSITION 3
   ========================================================= */

/* Grid */

#sp-position3 .mfp-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 !important;
    padding: 0 !important;
}

/* Elementos */

#sp-position3 .mfp_default_item {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Tarjetas */

#sp-position3 .mfp_default_item > div {
    box-sizing: border-box;
    min-height: 0 !important;
    height: auto !important;
    padding: 12px !important;
    background: var(--comte-white);
    border: 1px solid var(--comte-border);
    border-radius: 8px;
    box-shadow: var(--comte-shadow-soft);
}

/* Imagen */

#sp-position3 .mfp_thumb_pos_left {
    float: left;
    width: 62px;
    height: 62px;
    margin: 0 11px 5px 0;
}

#sp-position3 .mfp_thumb_pos_left img {
    width: 62px !important;
    height: 62px !important;
    object-fit: contain !important;
}

/* Título */

#sp-position3 .mfp_default_title {
    margin: 0 0 5px !important;
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 700;
}

#sp-position3 .mfp_default_title a {
    color: var(--comte-dark);

    text-decoration: none !important;
}

#sp-position3 .mfp_default_title a:hover {
    color: var(--comte-primary);
}

/* Fecha */

#sp-position3 .mfp_date {
    display: block;
    margin-bottom: 4px;
    color: var(--comte-text-light);
    font-size: 9px;
}

/* Texto */

#sp-position3 .mfp_introtext {
    margin: 0 !important;
    padding: 0 !important;
    max-height: 40px;
    overflow: hidden;
    color: var(--comte-grey);
    font-size: 9.5px;
    line-height: 1.35;
}

/* Limpiar float */

#sp-position3 .mfp_default_item > div::after {
    content: "";
    display: table;
    clear: both;
}

/* =========================================================
   SEPARACIÓN SERVICIOS → NOTICIAS
   ========================================================= */

.comte-services {
    margin-bottom: 42px !important;
}
/* =========================================================
   COMTE – SISTEMA VISUAL INSTITUCIONAL 2026
   CSS UNIFICADO · BLOQUE 4
   OFERTAS DE EMPLEO (TOP1 + POSITION TOP1)
   ========================================================= */

/* =========================================================
   CONTENEDOR PRINCIPAL
   ========================================================= */

.comte-empleo-home {
    width: 100%;
    margin: 22px 0 12px;
    padding: 0;
}

/* =========================================================
   TARJETA PRINCIPAL DE EMPLEO
   ========================================================= */

.comte-empleo-inner {
    display: flex;
    align-items: center;
    gap: 20px;

    width: 100%;
    padding: 20px 24px;
    box-sizing: border-box;

    background: #f8fafc;
    border: 1px solid rgba(0, 74, 173, 0.12);
    border-radius: 10px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.comte-empleo-inner:hover {
    border-color: rgba(0, 74, 173, 0.24);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

/* =========================================================
   ICONO
   ========================================================= */

.comte-empleo-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #004aad;
    color: #ffffff;

    font-size: 20px;
    font-weight: 600;
}

.comte-empleo-icon span {
    display: block;
    transform: translateY(-1px);
}

/* =========================================================
   CONTENIDO
   ========================================================= */

.comte-empleo-text {
    flex: 1;
    min-width: 0;
}

.comte-empleo-text .comte-etiqueta {
    display: block;
    margin-bottom: 4px;
}

.comte-empleo-text h2 {
    margin: 0 0 4px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--comte-dark);
}

.comte-empleo-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--comte-grey);
}

/* =========================================================
   ENLACE
   ========================================================= */

.comte-empleo-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    flex-shrink: 0;

    padding: 8px 0;
    white-space: nowrap;

    font-size: 14px;
    font-weight: 600;

    color: var(--comte-primary);
    text-decoration: none;
}

.comte-empleo-link span {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.comte-empleo-inner:hover .comte-empleo-link span {
    transform: translateX(4px);
}

/* =========================================================
   POSITION TOP1 (AJUSTE HELIX)
   ========================================================= */

#sp-top1 .sp-module {
    margin: 0 !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {

    .comte-empleo-home {
        margin: 18px 0 8px;
    }

    .comte-empleo-inner {
        gap: 15px;
        padding: 18px 20px;
    }

    .comte-empleo-icon {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .comte-empleo-text h2 {
        font-size: 18px;
    }

    .comte-empleo-text p {
        font-size: 13px;
    }

    .comte-empleo-link {
        font-size: 13px;
    }
}

@media (max-width: 575px) {

    .comte-empleo-inner {
        flex-wrap: wrap;
    }

    .comte-empleo-text {
        flex: 1 1 calc(100% - 55px);
    }

    .comte-empleo-link {
        width: 100%;
        margin-left: 55px;
        padding-top: 0;
    }
}
/* =========================================================
   COMTE – SISTEMA VISUAL INSTITUCIONAL 2026
   CSS UNIFICADO · BLOQUE 5
   FORMACIÓN MÉDICA · POSITION-1
   ========================================================= */

.comte-training-home {
    width: 100%;
    margin: 0;
    padding: 55px 0;
    background: #f5f8fb;
}

.comte-training-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    box-sizing: border-box;
}

/* =========================================================
   CABECERA
   ========================================================= */

.comte-training-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.comte-training-header > div {
    max-width: 760px;
}

.comte-training-home .comte-etiqueta {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #1769aa;
}

.comte-training-home h2 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 700;
    color: #183b56;
}

.comte-training-home .comte-training-header p {
    margin: 0;
    max-width: 700px;
    font-size: 15px;
    line-height: 1.6;
    color: #647585;
}

/* =========================================================
   ENLACE PRINCIPAL
   ========================================================= */

.comte-training-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;

    padding: 10px 0;

    font-size: 14px;
    font-weight: 700;
    color: #1769aa;
    text-decoration: none;

    border-bottom: 1px solid rgba(23, 105, 170, 0.35);

    transition: all 0.25s ease;
}

.comte-training-link span {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.comte-training-link:hover {
    color: #0e4f80;
    border-color: #0e4f80;
}

.comte-training-link:hover span {
    transform: translateX(4px);
}

/* =========================================================
   GRID DE CURSOS
   ========================================================= */

.comte-training-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* =========================================================
   TARJETAS DE CURSO
   ========================================================= */

.comte-training-card {
    display: flex;
    align-items: stretch;
    min-height: 190px;

    background: #ffffff;
    border: 1px solid #e4ebf1;
    border-radius: 8px;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.comte-training-card:hover {
    transform: translateY(-3px);
    border-color: #d5e1ea;
    box-shadow: 0 10px 25px rgba(24, 59, 86, 0.08);
}

/* =========================================================
   FECHA
   ========================================================= */

.comte-training-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 82px;
    min-width: 82px;

    padding: 15px 10px;

    background: #1769aa;
    color: #ffffff;

    text-align: center;
}

.comte-training-date span {
    display: block;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.comte-training-date small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 500;
    opacity: 0.85;
}

/* =========================================================
   CONTENIDO DE TARJETA
   ========================================================= */

.comte-training-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    flex: 1;

    padding: 24px 23px;
}

.comte-training-tag {
    display: inline-block;
    margin-bottom: 9px;

    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;

    color: #1769aa;
}

.comte-training-content h3 {
    margin: 0 0 8px;

    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;

    color: #183b56;
}

.comte-training-content p {
    margin: 0;

    font-size: 13px;
    line-height: 1.5;

    color: #71808c;
}

/* =========================================================
   ENLACE DE TARJETA
   ========================================================= */

.comte-training-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-top: auto;
    padding-top: 15px;

    font-size: 12px;
    font-weight: 700;

    color: #1769aa;
    text-decoration: none;
}

.comte-training-more span {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.comte-training-more:hover {
    color: #0e4f80;
}

.comte-training-more:hover span {
    transform: translateX(4px);
}

/* =========================================================
   TARJETA "TODA LA FORMACIÓN"
   ========================================================= */

.comte-training-card-access {
    background: #edf4f9;
    border-color: #dce8f0;
}

.comte-training-card-access:hover {
    background: #e8f1f7;
}

.comte-training-access-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    min-width: 70px;

    font-size: 27px;
    font-weight: 300;

    color: #1769aa;
}

.comte-training-access-icon span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(23, 105, 170, 0.3);
    border-radius: 50%;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .comte-training-home {
        padding: 45px 0;
    }

    .comte-training-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .comte-training-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .comte-training-card {
        min-height: 160px;
    }
}

@media (max-width: 575px) {

    .comte-training-home {
        padding: 38px 0;
    }

    .comte-training-inner {
        padding: 0 18px;
    }

    .comte-training-home h2 {
        font-size: 27px;
    }

    .comte-training-home .comte-training-header p {
        font-size: 14px;
    }

    .comte-training-card {
        min-height: 145px;
    }

    .comte-training-date {
        width: 68px;
        min-width: 68px;
        padding: 12px 7px;
    }

    .comte-training-date span {
        font-size: 11px;
    }

    .comte-training-content {
        padding: 19px 17px;
    }

    .comte-training-content h3 {
        font-size: 16px;
    }

    .comte-training-content p {
        font-size: 12px;
    }

    .comte-training-access-icon {
        width: 55px;
        min-width: 55px;
    }
}
/* =========================================================
   COMTE – SISTEMA VISUAL INSTITUCIONAL 2026
   CSS UNIFICADO · BLOQUE 6
   FOOTER INSTITUCIONAL
   ========================================================= */

/* =========================================================
   CONTENEDOR GENERAL
   ========================================================= */

.comte-footer {
    width: 100%;
    margin: 0;
    padding: 45px 0 0;
}

.comte-footer-inner {
    width: 100%;
}

/* =========================================================
   GRID DE 3 BLOQUES
   ========================================================= */

.comte-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
}

/* =========================================================
   BLOQUES INDIVIDUALES
   ========================================================= */

.comte-footer-col {
    box-sizing: border-box;
    padding: 25px 28px;
    background: #f8fafc;
    border: 1px solid rgba(0, 74, 173, 0.12);
    border-radius: 10px;
    color: #344054;
}

/* =========================================================
   TÍTULOS
   ========================================================= */

.comte-footer-title {
    display: block;
    margin-bottom: 14px;
    color: #004aad;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

/* =========================================================
   BLOQUE COLEGIO
   ========================================================= */

.comte-footer-brand {
    background: #f8fafc;
}

.comte-footer-brand p {
    margin: 0 0 10px;
    color: #344054;
    font-size: 14px;
    line-height: 1.55;
}

/* =========================================================
   DATOS DE CONTACTO
   ========================================================= */

.comte-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0 !important;
}

.comte-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #344054;
    font-size: 14px;
    line-height: 1.4;
}

/* ICONOS */

.comte-footer-contact-item i {
    flex: 0 0 18px;
    width: 18px;
    color: #004aad;
    font-size: 14px;
    text-align: center;
}

/* ENLACES DE CONTACTO */

.comte-footer-contact-item a {
    color: #344054;
    text-decoration: none;
    transition: color 0.2s ease;
}

.comte-footer-contact-item a:hover {
    color: #004aad;
}

/* =========================================================
   LISTAS DE ENLACES
   ========================================================= */

.comte-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.comte-footer-links li {
    margin: 0 0 9px;
}

.comte-footer-links li:last-child {
    margin-bottom: 0;
}

.comte-footer-links a {
    color: #344054;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease;
}

.comte-footer-links a:hover {
    color: #004aad;
}

/* =========================================================
   PIE INFERIOR
   ========================================================= */

.comte-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 25px;
    padding: 18px 0;
    border-top: 1px solid rgba(0, 74, 173, 0.12);
    color: #667085;
    font-size: 12px;
    line-height: 1.4;
}

.comte-footer-bottom span {
    color: #667085;
}

/* =========================================================
   EVITAR ESPACIOS AÑADIDOS POR HELIX
   ========================================================= */

#sp-footer1 .sp-module {
    margin: 0 !important;
}

#sp-footer1 .sp-module-content {
    padding: 0 !important;
}

/* =========================================================
   AJUSTE DEFINITIVO DE COLORES Y HOVER
   ========================================================= */

.comte-footer,
.comte-footer-col,
.comte-footer-brand p,
.comte-footer-contact-item {
    color: #344054 !important;
}

.comte-footer-title {
    color: #004aad !important;
}

.comte-footer-links a,
.comte-footer-contact-item a {
    color: #344054 !important;
    opacity: 1 !important;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.comte-footer-links a:hover,
.comte-footer-links a:focus,
.comte-footer-contact-item a:hover,
.comte-footer-contact-item a:focus {
    color: #004aad !important;
    opacity: 1 !important;
    text-decoration: none;
}

.comte-footer-contact-item i {
    color: #004aad !important;
    opacity: 1 !important;
}

.comte-footer-bottom {
    color: #667085 !important;
}

.comte-footer-bottom span {
    color: #667085 !important;
}

/* =========================================================
   RESPONSIVE FOOTER
   ========================================================= */

@media (max-width: 991px) {

    .comte-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .comte-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {

    .comte-footer {
        padding-top: 30px;
    }

    .comte-footer-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .comte-footer-brand {
        grid-column: auto;
    }

    .comte-footer-col {
        padding: 22px 24px;
    }

    .comte-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 575px) {

    .comte-footer-col {
        padding: 20px;
    }

    .comte-footer-title {
        margin-bottom: 12px;
    }

    .comte-footer-brand p,
    .comte-footer-contact-item,
    .comte-footer-links a {
        font-size: 13px;
    }
}
/* =========================================================
   COMTE – SISTEMA VISUAL INSTITUCIONAL 2026
   CSS UNIFICADO · BLOQUE 7
   RESPONSIVE GLOBAL + AJUSTES HELIX
   ========================================================= */

/* =========================================================
   AJUSTES HELIX – POSITION-1 Y SECCIÓN SIGUIENTE
   ========================================================= */

/* Subir toda la position-1 (Formación) */
#sp-position1 {
    margin-top: -30px !important;
}

/* Separar Formación de Actualidad */
#sp-position1 .sp-column > .sp-module:has(#mod-custom199) {
    margin-bottom: 125px !important;
}

/* Actualidad colegial sin espacio inferior */
#sp-position1 .sp-column > .sp-module:has(#mod-custom196) {
    margin-bottom: 0 !important;
}

/* Reducir espacio de la sección siguiente */
#sp-section-7 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* =========================================================
   RESPONSIVE GLOBAL
   ========================================================= */

/* ============================
   TABLET (≤ 992px)
   ============================ */

@media (max-width: 992px) {

    .comte-grid,
    .comte-access,
    .comte-vocalias-destacadas {
        grid-template-columns: repeat(2, 1fr);
    }

    .comte-vocalias-destacadas {
        gap: 22px;
    }

    .comte-vocalia-card {
        min-height: 280px;
        padding: 32px 28px 28px;
    }

    /* Noticias */
    #sp-position2,
    #sp-position3 {
        width: 100% !important;
    }

    #sp-position2 {
        margin-bottom: 15px !important;
    }
}

/* ============================
   TABLET PEQUEÑA / MÓVIL (≤ 768px)
   ============================ */

@media (max-width: 768px) {

    .comte-page {
        padding: 30px 15px;
    }

    .comte-box {
        padding: 22px;
    }

    .comte-header {
        margin-bottom: 30px;
    }

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

    .comte-header h2 {
        font-size: 26px;
    }

    .comte-grid,
    .comte-access,
    .comte-people,
    .comte-vocalias-destacadas,
    .comte-enlaces-grid {
        grid-template-columns: 1fr;
    }

    .comte-vocalias-destacadas {
        gap: 18px;
        margin: 35px 0;
    }

    .comte-vocalia-card {
        min-height: auto;
        padding: 30px 26px 26px;
    }

    .comte-vocalia-card h3 {
        font-size: 23px;
    }

    .comte-vocalia-card p {
        font-size: 15px;
    }

    /* Matriculación */
    .comte-matriculacion .comte-inscripcion .comte-subsection {
        padding: 20px;
        margin: 15px 0;
    }

    .comte-matriculacion .comte-inscripcion .comte-subsection h3 {
        font-size: 1.15rem;
    }

    .comte-matriculacion .comte-button {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    /* Formación en otras instituciones */
    .comte-formacion-otras .comte-formacion-intro {
        display: block;
    }

    .comte-formacion-otras .comte-formacion-intro img {
        display: block;
        margin: 0 auto 20px;
        max-width: 220px;
    }

    /* Noticias secundarias */
    #sp-position3 .mfp-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ============================
   MÓVIL (≤ 576px)
   ============================ */

@media (max-width: 576px) {

    .comte-presidents li {
        display: block;
        padding: 12px 15px;
    }

    .comte-presidents li span {
        display: block;
        margin-top: 4px;
        white-space: normal;
        font-size: 0.9em;
    }

    .comte-cuotas {
        font-size: 0.95em;
    }

    .comte-cuotas th,
    .comte-cuotas td {
        padding: 12px 14px;
    }

    .comte-precio {
        flex-wrap: wrap;
        gap: 6px 10px;
    }

    .comte-precio strong {
        font-size: 22px;
    }

    .comte-card {
        gap: 12px;
        padding: 18px;
    }

    .comte-card-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 15px;
    }
}
/* =========================================================
   COMTE – ATALAYA MÉDICA
   Ajuste de proporción con Servicios
   ========================================================= */

.comte-atalaya-right {
    text-align: right;
}


/* ---------------------------------------------------------
   Título
   --------------------------------------------------------- */

.comte-atalaya-heading {
    margin: 0 0 5px;
    color: var(--comte-primary);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}


/* ---------------------------------------------------------
   Etiqueta
   --------------------------------------------------------- */

.comte-atalaya-label {
    display: inline-block;
    margin-bottom: 6px;
    padding: 4px 10px;
    background: var(--comte-gold);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    border-radius: 4px;
}


/* ---------------------------------------------------------
   Línea
   --------------------------------------------------------- */

.comte-atalaya-line {
    width: 100%;
    height: 2px;
    background: var(--comte-gold);
    margin: 7px 0 10px;
}


/* ---------------------------------------------------------
   Portada
   --------------------------------------------------------- */

.comte-atalaya-cover {
    display: block;
    width: 100%;
    max-width: 165px;
    margin: 0 auto 9px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--comte-shadow-medium);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.comte-atalaya-cover:hover {
    transform: translateY(-2px);
    box-shadow: var(--comte-shadow-hover);
}


/* ---------------------------------------------------------
   Descripción
   --------------------------------------------------------- */

.comte-atalaya-description {
    margin: 0 0 9px;
    color: var(--comte-grey);
    font-size: 13px;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   Botón
   --------------------------------------------------------- */

.comte-atalaya-button {
    display: inline-block;
    padding: 7px 17px;
    background: var(--comte-primary);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 20px;
    text-decoration: none !important;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.comte-atalaya-button:hover {
    background: #00517f;
    color: #ffffff !important;
    transform: translateY(-1px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .comte-atalaya-heading {
        font-size: 21px;
    }

    .comte-atalaya-cover {
        max-width: 155px;
    }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .comte-atalaya-right {
        text-align: left;
    }

    .comte-atalaya-heading {
        font-size: 20px;
    }

    .comte-atalaya-cover {
        max-width: 150px;
        margin-left: 0;
    }

    .comte-atalaya-button {
        padding: 7px 16px;
        font-size: 13px;
    }
}
/* =========================================================
   COMTE – SERVICIOS + ATALAYA MÉDICA
   Equilibrio visual entre ambos bloques
   ========================================================= */


/* =========================================================
   SERVICIOS PARA EL COLEGIADO
   ========================================================= */

.comte-services-home {
    width: 100%;
}


/* ---------------------------------------------------------
   CABECERA
   --------------------------------------------------------- */

.comte-services-home .comte-header {
    margin-bottom: 20px;
}

.comte-services-home .comte-header p {
    margin: 8px 0 0;
    color: var(--comte-grey);
    font-size: 14px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   GRID
   --------------------------------------------------------- */

.comte-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: stretch;
}


/* ---------------------------------------------------------
   TARJETAS
   --------------------------------------------------------- */

.comte-services-grid .comte-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;

    padding: 21px 16px 17px;

    background: #ffffff;
    border: 1px solid var(--comte-border);
    border-radius: 10px;
    box-shadow: var(--comte-shadow-soft);

    text-align: center;
    text-decoration: none !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.comte-services-grid .comte-service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--comte-shadow-hover);
}


/* ---------------------------------------------------------
   ICONOS
   --------------------------------------------------------- */

.comte-services-grid .comte-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;
    min-width: 52px;

    margin: 0 auto 13px;

    background: var(--comte-primary);
    color: #ffffff;

    border-radius: 50%;

    font-size: 21px;
    line-height: 1;
}

.comte-services-grid .comte-icon i {
    color: #ffffff;
}


/* ---------------------------------------------------------
   CONTENIDO
   --------------------------------------------------------- */

.comte-services-grid .comte-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    flex: 1;
    width: 100%;
}


/* Títulos */

.comte-services-grid .comte-card-content h3 {
    margin: 0 0 8px;

    color: var(--comte-primary);

    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}


/* Descripción */

.comte-services-grid .comte-card-content p {
    margin: 0;

    color: var(--comte-grey);

    font-size: 13.5px;
    line-height: 1.45;
}


/* ---------------------------------------------------------
   ENLACE INFERIOR
   --------------------------------------------------------- */

.comte-services-grid .comte-card-link {
    display: inline-block;

    margin-top: auto;
    padding-top: 14px;

    color: var(--comte-primary);

    font-size: 12.5px;
    font-weight: 700;

    text-decoration: none !important;

    transition: color 0.25s ease;
}

.comte-services-grid .comte-card-link span {
    margin-left: 4px;

    transition: transform 0.25s ease;
}

.comte-services-grid .comte-service-card:hover .comte-card-link {
    color: var(--comte-gold);
}

.comte-services-grid .comte-service-card:hover .comte-card-link span {
    display: inline-block;
    transform: translateX(3px);
}


/* =========================================================
   ATALAYA MÉDICA
   ========================================================= */

.comte-atalaya-right {
    text-align: right;
}


/* ---------------------------------------------------------
   Título
   --------------------------------------------------------- */

.comte-atalaya-heading {
    margin: 0 0 6px;

    color: var(--comte-primary);

    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
}


/* ---------------------------------------------------------
   Etiqueta
   --------------------------------------------------------- */

.comte-atalaya-label {
    display: inline-block;

    margin-bottom: 7px;
    padding: 4px 11px;

    background: var(--comte-gold);
    color: #ffffff;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;

    text-transform: uppercase;

    border-radius: 4px;
}


/* ---------------------------------------------------------
   Línea
   --------------------------------------------------------- */

.comte-atalaya-line {
    width: 100%;
    height: 2px;

    background: var(--comte-gold);

    margin: 8px 0 12px;
}


/* ---------------------------------------------------------
   Portada
   --------------------------------------------------------- */

.comte-atalaya-cover {
    display: block;

    width: 100%;
    max-width: 180px;

    margin: 0 auto 10px;

    border-radius: 5px;
    overflow: hidden;

    box-shadow: var(--comte-shadow-medium);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.comte-atalaya-cover:hover {
    transform: translateY(-2px);
    box-shadow: var(--comte-shadow-hover);
}


/* ---------------------------------------------------------
   Descripción
   --------------------------------------------------------- */

.comte-atalaya-description {
    margin: 0 0 10px;

    color: var(--comte-grey);

    font-size: 13px;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   Botón
   --------------------------------------------------------- */

.comte-atalaya-button {
    display: inline-block;

    padding: 7px 17px;

    background: var(--comte-primary);
    color: #ffffff !important;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;

    border-radius: 20px;

    text-decoration: none !important;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.comte-atalaya-button:hover {
    background: #00517f;
    color: #ffffff !important;

    transform: translateY(-1px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .comte-services-grid {
        gap: 14px;
    }

    .comte-services-grid .comte-service-card {
        padding: 18px 13px 16px;
    }

    .comte-services-grid .comte-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;

        font-size: 19px;
    }

    .comte-services-grid .comte-card-content h3 {
        font-size: 17px;
    }

    .comte-services-grid .comte-card-content p {
        font-size: 13px;
    }

    .comte-atalaya-heading {
        font-size: 21px;
    }

    .comte-atalaya-cover {
        max-width: 170px;
    }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .comte-services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .comte-services-grid .comte-service-card {
        padding: 18px 18px 16px;
    }

    .comte-services-grid .comte-card-content p {
        font-size: 13px;
    }

    .comte-atalaya-right {
        text-align: left;
    }

    .comte-atalaya-heading {
        font-size: 20px;
    }

    .comte-atalaya-cover {
        max-width: 160px;
        margin-left: 0;
    }

    .comte-atalaya-button {
        padding: 7px 16px;
        font-size: 13px;
    }
}