/* =========================================================
   JOBS PAGE
========================================================= */

.jobs-page {
    padding: 20px 0 40px;
    background: #fff;
}


/* =========================================================
   JOBS HEADER
========================================================= */

.jobs-header {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 25px;
    padding: 17px 20px;

    background: linear-gradient(
        135deg,
        #f2fbf6 0%,
        #e5f6ed 100%
    );

    border: 1px solid #dcece5;
    border-radius: 10px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}


/* Header Icon */

.jobs-header-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0a9b5c;
    color: #fff;

    border-radius: 8px;

    font-size: 18px;

    box-shadow: 0 4px 10px rgba(10, 155, 92, 0.20);
}


/* Header Content */

.jobs-header-content {
    min-width: 0;
}


/* Main Title */

.jobs-header h1 {
    display: block;

    position: static;

    margin: 0 !important;
    padding: 0;

    color: #006d46;

    font-size: 26px;
    font-weight: 700;

    line-height: 1.3;
}


/* Remove Global h1 Line */

.jobs-header h1:after {
    display: none !important;
    content: none !important;
}


/* Subtitle */

.jobs-header p {
    margin: 4px 0 0;

    color: #7d8f89;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   JOB CONTENT
========================================================= */

.jobs-content {
    width: 100%;
}


/* =========================================================
   JOB CARD
========================================================= */

.job-card {
    position: relative;

    display: flex;
    align-items: flex-start;

    margin-bottom: 18px;

    background: #fff;

    border: 1px solid #e1eee9;
    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.045);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* Green Top Border */

.job-card:before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: linear-gradient(
        90deg,
        #0a9b5c,
        #30d87b
    );
}


/* Hover */

.job-card:hover {
    transform: translateY(-3px);

    border-color: #b9dfcf;

    box-shadow:
        0 9px 22px rgba(0, 109, 70, 0.10);
}


/* =========================================================
   JOB DATE
========================================================= */

.job-date {
    width: 82px;

    flex-shrink: 0;

    margin: 20px 0 20px 20px;

    text-align: center;

    background: #f3faf6;

    border: 1px solid #dcece5;
    border-radius: 8px;

    overflow: hidden;
}


/* Month */

.job-month {
    padding: 6px 5px;

    background: #0a9b5c;

    color: #fff;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
}


/* Day */

.job-day {
    padding: 5px 5px 1px;

    color: #006d46;

    font-size: 27px;
    font-weight: 700;

    line-height: 1.2;
}


/* Deadline */

.job-deadline {
    padding: 2px 4px 7px;

    color: #8a9994;

    font-size: 8px;
}


/* =========================================================
   JOB DETAILS
========================================================= */

.job-details {
    flex: 1;

    min-width: 0;

    padding: 20px 20px 18px;
}


/* Job Title */

.job-title {
    margin: 0 0 6px;
}


.job-title h3 {
    margin: 0;

    color: #006d46;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.45;

    word-break: break-word;

    transition: color 0.2s ease;
}


.job-card:hover .job-title h3 {
    color: #0a9b5c;
}


/* =========================================================
   LOCATION
========================================================= */

.job-location {
    margin-bottom: 12px;

    color: #899993;

    font-size: 11px;
    font-weight: 500;
}


.job-location i {
    margin-right: 5px;

    color: #0a9b5c;

    font-size: 12px;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.job-description {
    margin-bottom: 15px;

    color: #687875;

    font-size: 12px;

    line-height: 1.7;

    word-break: break-word;
}


.job-description p {
    margin: 0 0 6px;
}


.job-description p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   JOB META
========================================================= */

.job-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;
}


/* Tags */

.job-tag,
.job-action {
    display: inline-flex;
    align-items: center;

    min-height: 28px;

    padding: 5px 9px;

    background: #f4faf7;

    border: 1px solid #dcece5;
    border-radius: 5px;

    color: #687875;

    font-size: 10px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.2s ease;
}


.job-tag i,
.job-action i {
    margin-right: 5px;

    color: #0a9b5c;

    font-size: 10px;
}


/* Action Hover */

.job-action:hover {
    background: #0a9b5c;

    border-color: #0a9b5c;

    color: #fff;

    text-decoration: none;
}


.job-action:hover i {
    color: #fff;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.jobs-empty {
    padding: 60px 20px;

    text-align: center;

    background: #fbfdfc;

    border: 1px dashed #d6e7df;
    border-radius: 10px;
}


.jobs-empty-icon {
    width: 55px;
    height: 55px;

    margin: 0 auto 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf9f3;

    color: #0a9b5c;

    border-radius: 50%;

    font-size: 21px;
}


.jobs-empty h3 {
    margin: 0 0 5px;

    color: #006d46;

    font-size: 17px;
    font-weight: 700;
}


.jobs-empty p {
    margin: 0;

    color: #8a9994;

    font-size: 12px;
}


/* =========================================================
   PAGINATION
========================================================= */

.jobs-pagination {
    margin-top: 10px;

    text-align: center;
}


.jobs-pagination .pagination {
    margin: 0;
}


.jobs-pagination .pagination li a,
.jobs-pagination .pagination li span {
    color: #006d46;
}


.jobs-pagination .pagination li.active a,
.jobs-pagination .pagination li.active span {
    background: #0a9b5c;

    border-color: #0a9b5c;

    color: #fff;
}


/* =========================================================
   SIDEBAR
========================================================= */

.jobs-sidebar {
    background: #fff;

    border: 1px solid #dfece6;
    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}


/* =========================================================
   SIDEBAR HEADER
========================================================= */

.jobs-sidebar .sidebar-header {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 16px;

    background: linear-gradient(
        135deg,
        #f2fbf6 0%,
        #e3f5ec 100%
    );

    border-bottom: 1px solid #dcece5;
}


.sidebar-header-icon {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0a9b5c;

    color: #fff;

    border-radius: 7px;

    font-size: 15px;
}


.sidebar-header h2 {
    margin: 0;

    color: #006d46;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.3;
}


.sidebar-header span {
    display: block;

    margin-top: 3px;

    color: #82958f;

    font-size: 10px;
}


/* =========================================================
   SIDEBAR STORIES
========================================================= */

.sidebar-stories {
    padding: 8px;

    background: #fbfdfc;
}


/* Story */

.sidebar-story {
    display: flex;
    align-items: center;

    gap: 10px;

    min-height: 75px;

    margin-bottom: 7px;

    padding: 10px 9px;

    background: #fff;

    border: 1px solid #e7efeb;
    border-radius: 7px;

    transition: all 0.2s ease;
}


.sidebar-story:last-child {
    margin-bottom: 0;
}


.sidebar-story:hover {
    background: #f9fdfb;

    border-color: #bfe4d2;

    transform: translateX(2px);
}


/* Story Number */

.story-number {
    width: 30px;
    height: 30px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf9f3;

    color: #0a9b5c;

    border-radius: 6px;

    font-size: 13px;
    font-weight: 700;
}


/* Story Info */

.story-info {
    flex: 1;

    min-width: 0;
}


.story-date {
    margin-bottom: 4px;

    color: #8a9994;

    font-size: 9px;
}


.story-date i {
    margin-right: 4px;

    color: #0a9b5c;
}


.story-info a {
    display: block;

    color: #006d46;

    font-size: 12px;
    font-weight: 600;

    line-height: 1.45;

    text-decoration: none;

    word-break: break-word;
}


.story-info a:hover {
    color: #0a9b5c;

    text-decoration: none;
}


/* Arrow */

.story-arrow {
    color: #b4c5be;

    font-size: 14px;

    transition: color 0.2s ease;
}


.sidebar-story:hover .story-arrow {
    color: #0a9b5c;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 767px) {

    .jobs-page {
        padding: 15px 0 30px;
    }


    .jobs-header {
        padding: 14px;

        margin-bottom: 20px;

        gap: 11px;
    }


    .jobs-header-icon {
        width: 40px;
        height: 40px;

        font-size: 16px;
    }


    .jobs-header h1 {
        font-size: 22px;
    }


    .jobs-header p {
        font-size: 10px;
    }


    /* Job Card */

    .job-card {
        display: block;

        padding-top: 0;
    }


    .job-date {
        width: 75px;

        margin: 18px 18px 0;
    }


    .job-day {
        font-size: 24px;
    }


    .job-details {
        padding: 15px 18px 18px;
    }


    .job-title h3 {
        font-size: 16px;
    }


    .job-description {
        font-size: 11px;
    }


    /* Sidebar */

    .jobs-sidebar {
        margin-top: 20px;
    }


    .sidebar-header h2 {
        font-size: 17px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .jobs-page {
        padding-top: 10px;
    }


    .jobs-header h1 {
        font-size: 20px;
    }


    .jobs-header p {
        display: none;
    }


    .job-card {
        border-radius: 8px;
    }


    .job-date {
        width: 70px;

        margin: 15px 15px 0;
    }


    .job-month {
        font-size: 10px;
    }


    .job-day {
        font-size: 22px;
    }


    .job-details {
        padding: 13px 15px 15px;
    }


    .job-title h3 {
        font-size: 15px;
    }


    .job-location {
        font-size: 10px;
    }


    .job-description {
        font-size: 11px;
        line-height: 1.6;
    }


    .job-meta {
        gap: 5px;
    }


    .job-tag,
    .job-action {
        font-size: 9px;

        padding: 4px 7px;
    }


    .sidebar-story {
        min-height: 68px;
    }


    .story-info a {
        font-size: 11px;
    }

}