/* =========================================================
   SGSE VACANCIES
   ========================================================= */


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

.sgse-vacancies-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 30px 0;
}


/* ---------------------------------------------------------
   VACANCY CARD
   --------------------------------------------------------- */

.sgse-vacancy-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    padding: 30px;
    box-sizing: border-box;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);

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

.sgse-vacancy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
}


/* ---------------------------------------------------------
   VACANCY TAGS
   --------------------------------------------------------- */

.sgse-vacancy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.sgse-vacancy-area,
.sgse-vacancy-role-type {
    display: inline-block;

    padding: 6px 12px;

    border-radius: 4px;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;

    text-transform: uppercase;
    letter-spacing: 0.6px;
}


/* School area tag */
.sgse-vacancy-area {
    background: #0055a5;
    color: #ffffff;
}


/* Role type tag */
.sgse-vacancy-role-type {
    background: #f1f1f1;
    color: #333333;

    border: 1px solid #d8d8d8;
}


/* ---------------------------------------------------------
   VACANCY TITLE
   --------------------------------------------------------- */

.sgse-vacancy-title {
    margin: 0 0 15px;
    padding: 0;

    font-size: 25px;
    line-height: 1.25;
}


/* ---------------------------------------------------------
   SHORT DESCRIPTION
   --------------------------------------------------------- */

.sgse-vacancy-description {
    font-size: 16px;
    line-height: 1.65;
}

.sgse-vacancy-description p {
    margin-bottom: 12px;
}

.sgse-vacancy-description p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   DIVIDED VACANCY SECTIONS
   --------------------------------------------------------- */

.sgse-vacancy-section {
    margin-top: 20px;
    padding-top: 18px;

    border-top: 1px solid #e5e5e5;
}


/* ---------------------------------------------------------
   REQUIREMENT
   --------------------------------------------------------- */

.sgse-vacancy-requirement {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   ADDITIONAL INFORMATION
   --------------------------------------------------------- */

.sgse-vacancy-information {
    font-size: 15px;
    line-height: 1.65;
}

.sgse-vacancy-information p {
    margin-bottom: 12px;
}

.sgse-vacancy-information p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   CLOSING DATE
   --------------------------------------------------------- */

.sgse-vacancy-closing {
    margin-top: 20px;
    padding-top: 16px;

    border-top: 1px solid #e5e5e5;

    font-size: 14px;
    line-height: 1.5;
}

.sgse-vacancy-closing strong {
    font-weight: 700;
}


/* ---------------------------------------------------------
   NO VACANCIES MESSAGE
   --------------------------------------------------------- */

.sgse-vacancies-empty {
    margin: 30px 0;
    padding: 30px;

    background: #f7f7f7;

    border-left: 4px solid #0055a5;
    border-radius: 4px;
}

.sgse-vacancies-empty p {
    margin-bottom: 10px;
}

.sgse-vacancies-empty p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media only screen and (max-width: 900px) {

    .sgse-vacancies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

}


@media only screen and (max-width: 600px) {

    .sgse-vacancy-card {
        padding: 22px;
    }

    .sgse-vacancy-title {
        font-size: 22px;
    }

    .sgse-vacancy-area,
    .sgse-vacancy-role-type {
        font-size: 11px;
        padding: 5px 10px;
    }

    .sgse-vacancies-empty {
        padding: 22px;
    }

}