/* ===== Main Container ===== */
.es-job-container {
    background: #ffffff;
    padding: 15px;
}

/* ===== List Reset ===== */
.es-job-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ===== Each Post Design ===== */
.es-job-list ul li {
    margin-bottom: 8px;
    padding: 9px 12px;
    background: #f8f9fc;
    border-radius: 6px;
    border: 1px solid #e6e6e6;
    border-left: 4px solid #b30000;
    transition: all 0.25s ease;
}

/* Hover Effect */
.es-job-list ul li:hover {
    background: #fff4f4;
    transform: translateX(4px);
}

/* ===== Link Styling ===== */
.es-job-list ul li a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #1a237e;
    display: block;
    line-height: 1.4;
    word-break: break-word;
    white-space: normal;
}

/* Visited Post Color */
.es-job-list ul li a:visited {
    color: #7b1fa2;
}

/* ===== View More Button ===== */
.es-view-more {
    text-align: center;
    margin-top: 15px;
}

.es-view-more a {
    display: inline-block;
    padding: 8px 22px;
    background: #1a237e;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s ease;
}

.es-view-more a:hover {
    background: #b30000;
}

/* ===== Desktop Column Fix ===== */
.elementor-section .elementor-column {
    padding: 6px;
}

/* ===== MOBILE RESPONSIVE (MAIN FIX) ===== */
@media (max-width: 768px) {

    /* Force 2 Columns */
    .elementor-column {
        width: 50% !important;
        padding: 4px !important;
    }

    /* Section full width */
    .elementor-section {
        padding: 0 !important;
    }

    /* Container compact */
    .es-job-container {
        padding: 6px;
    }

    /* List item compact */
    .es-job-list ul li {
        padding: 6px 8px;
        margin-bottom: 6px;
    }

    /* Text fix */
    .es-job-list ul li a {
        font-size: 12.5px;
        line-height: 1.3;
        word-break: break-word;
        white-space: normal;
    }

    /* Remove extra widget spacing */
    .elementor-widget-wrap {
        padding: 4px !important;
    }

    /* Button compact */
    .es-view-more a {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* ===== EXTRA SMALL MOBILE ===== */
@media (max-width: 480px) {

    .es-job-list ul li a {
        font-size: 12px;
    }

    .es-view-more a {
        font-size: 11.5px;
        padding: 5px 8px;
    }
}