.students {
    width: min(1100px, 90%);
    margin: 0 auto;
    padding: 55px 0 80px;
    color: #3f4650;
}

/* Encabezado principal */

.students__header {
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
}

.students__tag {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--verde-principal);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.students__header h1 {
    margin: 0 0 16px;
    color: var(--verde-oscuro);
    font-size: clamp(27px, 4vw, 38px);
    font-weight: 700;
    line-height: 1.25;
}

.students__header p {
    max-width: 720px;
    margin: 0 auto;
    color: #68717b;
    font-size: 15px;
    line-height: 1.8;
}

/* Secciones principales */

.students__section {
    margin-bottom: 60px;
}

.students__section:last-child {
    margin-bottom: 0;
}

/* Títulos principales */

.students__section h2 {
    position: relative;
    margin: 0 0 28px;
    padding-bottom: 15px;
    color: var(--verde-oscuro);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.3;
    border-bottom: 1px solid #dce3e0;
}

.students__section h2::after {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 125px;
    height: 3px;
    background-color: var(--verde-principal);
    content: "";
}

/* Subtítulos */

.students__section h3 {
    margin: 35px 0 16px;
    color: #3f4650;
    font-size: 18px;
    font-weight: 700;
}

/* Párrafos */

.students__section p {
    margin: 0 0 20px;
    color: #626b75;
    font-size: 15px;
    line-height: 1.85;
    text-align: justify;
}

/* Listas numeradas */

.students__list {
    margin: 18px 0 25px;
    padding-left: 28px;
    color: #626b75;
}

.students__list li {
    padding-left: 8px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.8;
}

.students__list li::marker {
    color: var(--verde-principal);
    font-weight: 700;
}

.students__list strong {
    color: var(--verde-oscuro);
}

/* Documentación y enlaces */

.students__documents {
    margin: 30px 0;
}

.students__documents h3 {
    margin-top: 0;
}

.students__documents ul {
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
}

.students__documents li {
    margin-bottom: 12px;
}

.students__documents a {
    display: inline;
    color: var(--verde-principal);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.students__documents a:hover {
    color: var(--naranja);
    text-decoration: underline;
}

/* Nota informativa */

.students__note {
    margin-top: 30px !important;
    padding-left: 18px;
    border-left: 3px solid var(--verde-claro);
    color: #737c85 !important;
    font-size: 14px !important;
}

/* contenido principal */

.convocatorias {
    width: min(1100px, 90%);
    margin: 0 auto;
    padding: 55px 0 80px;
    color: #3f4650;
    box-sizing: border-box;
}


/* encabezado */

.convocatorias__header {
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
}

.convocatorias__tag {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--verde-principal, #007E67);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.convocatorias__header h1 {
    margin: 0 0 16px;
    color: var(--verde-oscuro, #004D40);
    font-size: clamp(27px, 4vw, 38px);
    font-weight: 700;
    line-height: 1.25;
}

.convocatorias__header p {
    max-width: 720px;
    margin: 0 auto;
    color: #68717b;
    font-size: 15px;
    line-height: 1.8;
}


/* sección de convocatorias */

.convocatorias__section {
    margin-bottom: 30px;
}

.convocatorias__section h2 {
    position: relative;
    margin: 0 0 28px;
    padding-bottom: 15px;
    color: var(--verde-oscuro, #004D40);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
    border-bottom: 1px solid #dce3e0;
}

.convocatorias__section h2::after {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 125px;
    height: 3px;
    background-color: var(--verde-principal, #007E67);
    content: "";
}


/* listado */

.convocatorias__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


/* tarjeta */

.convocatorias__item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 25px 28px;
    border: 1px solid #e1e8e5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 77, 64, 0.05);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.convocatorias__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 77, 64, 0.10);
}


/* icono */

.convocatorias__item-icon {
    display: grid;
    flex: 0 0 65px;
    width: 65px;
    height: 65px;
    place-items: center;
    border-radius: 12px;
    color: var(--verde-principal, #007E67);
    background: #e8f4f1;
}

.convocatorias__item-icon span {
    font-size: 30px;
}


/* contenido */

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

.convocatorias__item-content h3 {
    margin: 0 0 8px;
    color: var(--verde-oscuro, #004D40);
    font-size: 19px;
    font-weight: 700;
}

.convocatorias__item-content p {
    margin: 0 0 12px;
    color: #68717b;
    font-size: 14px;
    line-height: 1.7;
}


/* enlace */

.convocatorias__link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--verde-principal, #007E67);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease;
}

.convocatorias__link:hover,
.convocatorias__link:focus-visible {
    color: var(--naranja, #FF8300);
    text-decoration: underline;
}

.convocatorias__link span {
    font-size: 18px;
    transition: transform 180ms ease;
}

.convocatorias__link:hover span {
    transform: translateX(4px);
}

/* Adaptación a dispositivos móviles */

@media (max-width: 768px) {

    .students {
        width: 90%;
        padding: 40px 0 55px;
    }

    .students__header {
        margin-bottom: 40px;
    }

    .students__section {
        margin-bottom: 45px;
    }

    .students__section h2 {
        font-size: 23px;
    }

    .students__section h3 {
        font-size: 17px;
    }

    .students__section p,
    .students__list li,
    .students__documents a {
        font-size: 14px;
    }

    .students__section p {
        text-align: left;
    }
}
