/* =========================================================
   LATEST JOBS BANNER
========================================================= */

.marglobal-jobs-banner {
    position: relative;
    min-height: 300px;

    display: flex;
    align-items: center;

    background-image:
        linear-gradient(
            90deg,
            rgba(48, 25, 90, 0.90),
            rgba(27, 57, 117, 0.72)
        ),
        url("../derr.jpg");

    background-size: cover;
    background-position: center;

    overflow: hidden;
}


/* BANNER INNER */

.marglobal-jobs-banner-inner {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* TITLE */

.marglobal-jobs-banner-title h1 {
    margin: 0;

    color: #fff;

    font-size: 52px;
    line-height: 1.1;
    font-weight: 700;
}


/* BREADCRUMB */

.marglobal-jobs-banner-breadcrumb {
    display: flex;
    align-items: center;

    gap: 12px;

    color: #fff;
    font-size: 18px;
}

.marglobal-jobs-banner-breadcrumb a {
    color: #fff;
    text-decoration: none;

    transition: .3s;
}

.marglobal-jobs-banner-breadcrumb a:hover {
    color: #d4a862;
}

.marglobal-jobs-banner-breadcrumb i {
    color: #fff;
    font-size: 14px;
}

.marglobal-jobs-banner-breadcrumb span {
    color: #fff;
}


/* =========================================================
   MAIN JOB SECTION
========================================================= */

.marglobal-jobs-page {
    padding: 80px 0;

    background: transparent !important;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.marglobal-jobs-heading {
    max-width: 700px;

    margin: 0 auto 45px;

    text-align: center;
}

.jobs-small-title {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: #1b3975;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 10px;
}

.jobs-small-title i {
    color: #d49a25;
}

.marglobal-jobs-heading h2 {
    margin: 0 0 12px;

    color: #1b3975;

    font-size: 38px;
    line-height: 1.2;

    font-weight: 700;
}

.marglobal-jobs-heading h2 strong {
    color: #d49a25;
}

.marglobal-jobs-heading p {
    margin: 0;

    color: #737b89;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   JOB GRID
========================================================= */

.marglobal-jobs-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 20px;

    width: 100%;
}


/* =========================================================
   JOB CARD
========================================================= */

.marglobal-latest-job-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;

    min-height: 390px;

    padding: 22px;

    background: #fff;

    border: 1px solid #e3e7ee;

    border-radius: 14px;

    box-shadow: 0 8px 25px rgba(27,57,117,.06);

    transition: all .3s ease;
}

.marglobal-latest-job-card:hover {
    transform: translateY(-5px);

    border-color: #d4a862;

    box-shadow: 0 15px 35px rgba(27,57,117,.12);
}


/* =========================================================
   CARD HEADER
========================================================= */

.latest-job-header {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    padding-right: 30px;
}


/* ICON */

.latest-job-icon {
    width: 50px;
    height: 50px;

    min-width: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #1b3975;

    color: #fff;

    font-size: 19px;
}

.marglobal-latest-job-card:nth-child(even)
.latest-job-icon {
    background: #d4a862;
}


/* TITLE */

.latest-job-title {
    min-width: 0;
}

.latest-job-title h3 {
    margin: 2px 0 6px;

    color: #1b3975;

    font-size: 16px;
    line-height: 1.3;

    font-weight: 700;

    word-break: break-word;
}

.latest-job-title span {
    display: flex;
    align-items: center;

    gap: 5px;

    color: #737b89;

    font-size: 11px;
}

.latest-job-title span i {
    color: #d49a25;
}


/* =========================================================
   OPEN STATUS
========================================================= */

.latest-job-status {
    position: absolute;

    top: 20px;
    right: 20px;
}

.latest-job-status span {
    display: inline-block;

    padding: 4px 8px;

    border-radius: 20px;

    background: #edf7ef;

    color: #3b8a4a;

    font-size: 9px;

    font-weight: 700;
}


/* =========================================================
   JOB DETAILS
========================================================= */

.latest-job-details {
    display: flex;
    flex-direction: column;

    gap: 13px;

    margin-top: 22px;

    padding: 17px 0;

    border-top: 1px solid #edf0f4;

    border-bottom: 1px solid #edf0f4;
}

.latest-job-detail {
    display: flex;
    align-items: center;

    gap: 10px;
}

.latest-job-detail > i {
    width: 27px;

    color: #d49a25;

    font-size: 16px;

    text-align: center;
}

.latest-job-detail small {
    display: block;

    margin-bottom: 2px;

    color: #969eaa;

    font-size: 9px;
}

.latest-job-detail strong {
    display: block;

    color: #1b3975;

    font-size: 11px;

    line-height: 1.3;
}


/* =========================================================
   JOB DESCRIPTION
========================================================= */

.latest-job-description {
    flex: 1;

    padding-top: 16px;
}

.latest-job-description h4 {
    margin: 0 0 7px;

    color: #1b3975;

    font-size: 12px;

    font-weight: 700;
}

.latest-job-description p {
    margin: 0;

    color: #737b89;

    font-size: 11px;

    line-height: 1.6;

    display: -webkit-box;

    -webkit-line-clamp: 4;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================================
   APPLY BUTTON
========================================================= */

.latest-job-apply {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    width: 100%;

    margin-top: 18px;

    padding: 11px 15px;

    border-radius: 7px;

    background: #d4a862;

    color: #1b3975;

    font-size: 11px;

    font-weight: 700;

    text-decoration: none;

    transition: .3s;
}

.latest-job-apply:hover {
    background: #1b3975;

    color: #fff;
}


/* =========================================================
   VIEW ALL
========================================================= */

.marglobal-jobs-view-all {
    text-align: center;

    margin-top: 35px;
}

.marglobal-jobs-view-all a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 11px 22px;

    border: 1px solid #1b3975;

    border-radius: 7px;

    color: #1b3975;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    transition: .3s;
}

.marglobal-jobs-view-all a:hover {
    background: #1b3975;

    color: #fff;
}


/* =========================================================
   RESUME CTA
========================================================= */

.marglobal-jobs-resume-cta {
    padding: 55px 0;

    background: #1b3975;
}

.jobs-resume-cta-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.jobs-resume-cta-content > div span {
    color: #d4a862;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.3px;
}

.jobs-resume-cta-content h2 {
    margin: 6px 0;

    color: #fff;

    font-size: 28px;
}

.jobs-resume-cta-content p {
    margin: 0;

    color: rgba(255,255,255,.7);

    font-size: 13px;
}

.jobs-resume-cta-content > a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    white-space: nowrap;

    padding: 13px 20px;

    border-radius: 7px;

    background: #d4a862;

    color: #1b3975;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;
}

.jobs-resume-cta-content > a:hover {
    background: #fff;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {

    .marglobal-jobs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .marglobal-jobs-banner {
        min-height: 260px;
    }

    .marglobal-jobs-banner-title h1 {
        font-size: 42px;
    }

    .marglobal-jobs-banner-breadcrumb {
        font-size: 16px;
    }

    .marglobal-jobs-page {
        padding: 65px 0;
    }

    .marglobal-jobs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 18px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .marglobal-jobs-banner {
        min-height: 220px;

        background-position: center;
    }

    .marglobal-jobs-banner-inner {
        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        gap: 15px;
    }

    .marglobal-jobs-banner-title h1 {
        font-size: 34px;
    }

    .marglobal-jobs-banner-breadcrumb {
        font-size: 14px;
    }

    .marglobal-jobs-page {
        padding: 50px 0;
    }

    .marglobal-jobs-heading {
        margin-bottom: 30px;
    }

    .marglobal-jobs-heading h2 {
        font-size: 29px;
    }

    .marglobal-jobs-heading p {
        font-size: 13px;
    }

    .marglobal-jobs-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .marglobal-latest-job-card {
        min-height: auto;

        padding: 18px;
    }

    .latest-job-header {
        padding-right: 30px;
    }

    .latest-job-icon {
        width: 48px;
        height: 48px;

        min-width: 48px;

        font-size: 17px;
    }

    .latest-job-title h3 {
        font-size: 16px;
    }

    .latest-job-status {
        display: none;
    }

    .jobs-resume-cta-content {
        display: block;
    }

    .jobs-resume-cta-content > a {
        margin-top: 20px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575px) {

    .marglobal-jobs-grid {
        grid-template-columns: 1fr;
    }

    .marglobal-jobs-heading h2 {
        font-size: 27px;
    }

}