/* FONDO DE TODA LA PÁGINA */
.convocatoria-wrapper {
    /* background-image: url('/images/transparencia/FEC-WEB-FONDO-GOBERNANZA (1).png'); Cambia por tu imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    background-color: #f8f9fa;
}

/* Overlay blanco sutil para legibilidad */
.convocatoria-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    z-index: 1;
}

.convocatoria-container {
    position: relative;
    z-index: 2;
    padding: 3rem 2rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* TÍTULO PRINCIPAL */
.conv-titulo {
    font-size: 4rem;
    font-weight: 700;
    color: #1E2452;
    font-family: MiFuenteDos, sans-serif;
    text-align: left;
    margin-bottom: 1rem;
}

/* LÍNEA DE SEPARACIÓN DIFUMINADA */
.conv-linea {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #999, transparent);
    margin-bottom: 2.5rem;
}

/* SUBTÍTULOS */
.conv-subtitulo {
    font-size: 2rem;
    font-weight: 700;
    color: #1E2452;
    font-family: MiFuenteDos, sans-serif;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.conv-subtitulo-dos {
    margin-top: 4rem;
}

/* RECUADRO DE CONVOCATORIA */
.conv-card {
    background: white;
    /* border: 1px solid #000000; */
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: stretch;
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.conv-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.conv-card-img {
    flex: 0 0 280px;
    max-width: 280px;
}

.conv-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.conv-card-body {
    flex: 1;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.conv-card-titulo {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    font-family: MiFuenteDos, sans-serif;
    margin: 0;
}

/* BOTÓN POSTULATE - Blanco con letras azules */
.conv-btn-postulate {
    background: #fff;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 10px;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: MiFuente, sans-serif;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
}

.conv-btn-postulate:hover {
    background: #1E2452;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 36, 82, 0.3);
}

/* BOTÓN CONOCE MÁS - Mismo estilo */
.conv-btn-conoce {
    background: #fff;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 10px;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: MiFuente, sans-serif;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
}

.conv-btn-conoce:hover {
    background: #1E2452;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 36, 82, 0.3);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .conv-titulo {
        font-size: 3rem;
        text-align: center;
    }

    .conv-subtitulo {
        font-size: 1.6rem;
        text-align: center;
    }

    .conv-card {
        flex-direction: column;
    }

    .conv-card-img {
        flex: 0 0 auto;
        max-width: 100%;
        height: 250px;
    }

    .conv-card-body {
        padding: 2rem 1.5rem;
        align-items: center;
        text-align: center;
    }

    .conv-card-titulo {
        font-size: 1.6rem;
    }
}

@media (max-width: 767px) {
    .convocatoria-container {
        padding: 2rem 1rem 4rem;
    }

    .conv-titulo {
        font-size: 2.2rem;
    }

    .conv-subtitulo {
        font-size: 1.3rem;
    }

    .conv-card-body {
        padding: 1.5rem 1rem;
    }

    .conv-card-titulo {
        font-size: 1.4rem;
    }

    .conv-btn-postulate,
    .conv-btn-conoce {
        padding: 0.7rem 2rem;
        font-size: 1rem;
    }
}