



.ajm-list {
        display: grid ;
        grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
        gap: 16px;
        margin: 0;
        padding: 0;
    }

    /* Responsive adjustments */
    @media (max-width: 1024px) {
        .ajm-list {
            grid-template-columns: repeat(2, 1fr); /* 2 cards per row on tablets */
        }
    }

    @media (max-width: 640px) {
        .ajm-list {
            grid-template-columns: 1fr; /* 1 card per row on mobile */
        }
    }

    /* Card styling */
    .ajm-item {
        background-color: #fff !important;
        border: 1px solid #ddd;
        border-radius: 12px;
        overflow: hidden;
        transition: transform 0.3s, box-shadow 0.3s;
        box-shadow: 0 2px 6px rgb(162 162 162 / 52%);
        display: flex;
        flex-direction: column;
        font-family: "Changa", sans-serif !important;
        line-height: 1.3rem;
    }
    
    .ajm-item a{
        text-decoration :none !important;
    }

    .ajm-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        /*background-color:#072f7511;*/
    }


    .ajm-item2 {
        background-color: #afdaea !important;
        border: 1px solid #ddd;
        border-radius: 12px;
        overflow: hidden;
        transition: transform 0.3s, box-shadow 0.3s;
        box-shadow: 0 2px 6px rgb(162 162 162 / 52%);
        display: flex;
        flex-direction: column;
        font-family: "Changa", sans-serif !important;
        line-height: 1.3rem;
    }
    
    .ajm-item2 a{
        text-decoration :none !important;
    }

    .ajm-item2:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        /*background-color:#072f7511;*/
    }






    .ajm-card {
        display: flex;
        flex-direction: column;
        height: 100%;
        text-decoration: none;
        color: inherit;
    }
   

    .ajm-card-body {
        padding: 12px 12px 10px 12px;
        display: flex;
        flex-direction: column;
        gap: 11px;
    }

    .ajm-logo {
        border-radius: 2px;
        width: auto;
        height: 7.21rem;
        object-fit: contain;
        margin-bottom: 3px;
        max-width:100%;
        align-self: start;
    }








    .ajm-title {
        margin-bottom: auto;
        width: 100%;
    }
    
    .ajm-title h1{
       font-size: 1.2rem !important;
        margin-bottom: auto;
        width: 100%;
        color: #072f75;
        text-decoration: none;
        font-family: "Changa", sans-serif !important;
        font-weight: 700;
        line-height: 1.9rem;
    }
    
    .ajm-type{
                background-color: #072f75;
    border-radius: 11px;
    padding: 0px 20px !important;
    color: #ffffff;
    font-size: 1rem;
    }
        

    .ajm-text ,.ajm-tag-region{
        font-size: 1rem !important;
        color: #505050;
        display: flex;
        align-items: center;
        gap: 4px;
        font-weight: 400;
    }

    .ajm-card-footer {
        padding: 10px 12px;
        border-top: 1.7px solid #b3b3b3;
        display: flex;
        flex-direction: column;
        gap: 2px;
        color: #2e2e2e;
        font-size: 1rem !important;
        font-weight:500;
        line-height: 1.8rem;
    }

    .ajm-meta{
        display: flex;
        align-items: center;
        gap: 2px;
        
    }

    .ajm-meta i, .ajm-tag-region i,.ajm-text i{
        color: #072f75;
        font-size: 1.2rem !important;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    
    .ajm-meta i::after, .ajm-tag-region i::after, .ajm-text i::after{
       content:"\00a0";
       font-size:2px !important;
    }
    
    
    
    
    
    .icon-calendar-alt::after{
        

    }
    
    
    
    .ajm-tag {
        display: flex;
        width: 100%;
    }
    
    .ajm-tag > div:first-child {
        width: 35%;
        text-align: right; /* first div content aligned right */
    }
    
    .ajm-tag > div:last-child {
        width: 65%;
        text-align: left; /* second div content aligned left */
    }
    
    
    
    
    
    
    
    /* -------------------------------------------- */
    .ajm-search-form {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    direction: rtl;
    text-align: right;
}
.ajm-search-row {
    margin-bottom: 10px;
}
.ajm-search-row label {
    display: block;
    margin-bottom: 4px;
    font-weight: bold;
}
.ajm-search-row input {
    width: 100%;
    padding: 8px;
    border: 1px solid #bbb;
    border-radius: 6px;
}
.ajm-btn {
    background: #0073aa;
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.ajm-btn:hover {
    background: #005f87;
}


/* ------------------------------------------- */
/* Pagination Styles */
.ajm-pagination-wrapper {
    direction: rtl;
    font-family: "Changa", Sans-serif !important;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ajm-pagination-wrapper p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 1rem !important;
    font-weight: 600;
}

.ajm-pagination-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ajm-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    min-width: 40px;
    height: 40px;
    background: #fff;
    color: #072f75;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: "Changa", Sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ajm-page-btn:hover {
    background: #072f75;
    color: white;
    border-color: #072f75;
    text-decoration: none;
    transform: translateY(-1px);
}

.ajm-current-page {
    background: #072f75 !important;
    color: white !important;
    border-color: #072f75;
    cursor: default;
    box-shadow: 0 2px 4px rgba(7,47,117,0.3);
}

.ajm-current-page:hover {
    transform: none;
}

.ajm-prev-btn,
.ajm-next-btn {
    padding: 8px 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #072f75 0%, #1e5799 100%);
    color: white;
    border: none;
}

.ajm-prev-btn:hover,
.ajm-next-btn:hover {
    background: linear-gradient(135deg, #1e5799 0%, #072f75 100%);
    color: white;
}

.ajm-page-dots {
    color: #666;
    font-size: 1rem !important;
    padding: 0 5px;
    line-height: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ajm-pagination-links {
        gap: 4px;
    }
    
    .ajm-page-btn {
        padding: 6px 10px;
        min-width: 36px;
        height: 36px;
        font-size: 1rem !important;
    }
    
    .ajm-prev-btn,
    .ajm-next-btn {
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .ajm-pagination-wrapper {
        padding: 15px;
        margin: 15px 0;
    }
    
    .ajm-pagination-links {
        gap: 2px;
    }
    
    .ajm-page-btn {
        padding: 5px 8px;
        min-width: 32px;
        height: 32px;
        font-size: 1rem !important;
    }
    
    .ajm-prev-btn,
    .ajm-next-btn {
        padding: 5px 10px;
    }
}

/* No more indicator enhancement */
.anas-jobs-no-more {
    background: #e8f5e8;
    border: 1px solid #c3e6c3;
    border-radius: 6px;
    color: #155724 !important;
    font-family: "Changa", Sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600;
}

.anas-jobs-no-more p {
    margin: 0;
}







/* WordPress Pagination Styles */
.ajm-wordpress-pagination {
    direction: rtl;
    font-family: "Changa", Sans-serif !important;
    margin: 30px 0;
}

.ajm-wordpress-pagination .ajm-pagination-wrapper {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ajm-wordpress-pagination .ajm-pagination-links .ajm-page-btn {
    margin: 0 3px;
}














/* Simple Pagination Styles for [all_jobs] shortcode */
/* Add this to assets/css/ajm-public.css */

.ajm-simple-pagination {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    font-family: "Changa", Sans-serif !important;
    direction: rtl;
}

.ajm-simple-pagination .pagination-info {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #666;
    font-weight: 600;
}

.ajm-simple-pagination .pagination-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ajm-simple-pagination .page-numbers {
    display: flex;
    gap: 5px;
    align-items: center;
}

.ajm-simple-pagination .page-btn,
.ajm-simple-pagination .page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    background: #fff;
    color: #072f75;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ajm-simple-pagination .page-btn:hover,
.ajm-simple-pagination .page-num:hover {
    background: #072f75;
    color: white;
    border-color: #072f75;
    transform: translateY(-2px);
}

.ajm-simple-pagination .page-num.current {
    background: #072f75;
    color: white;
    border-color: #072f75;
    cursor: default;
    box-shadow: 0 2px 4px rgba(7,47,117,0.3);
}

.ajm-simple-pagination .page-num.current:hover {
    transform: none;
}

.ajm-simple-pagination .prev-btn,
.ajm-simple-pagination .next-btn {
    padding: 8px 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #072f75 0%, #1e5799 100%);
    color: white;
    border: none;
}

.ajm-simple-pagination .prev-btn:hover,
.ajm-simple-pagination .next-btn:hover {
    background: linear-gradient(135deg, #1e5799 0%, #072f75 100%);
}

.ajm-simple-pagination .dots {
    padding: 0 5px;
    color: #666;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .ajm-simple-pagination .pagination-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .ajm-simple-pagination .page-numbers {
        order: 2;
    }
    
    .ajm-simple-pagination .prev-btn {
        order: 1;
    }
    
    .ajm-simple-pagination .next-btn {
        order: 3;
    }
}

@media (max-width: 480px) {
    .ajm-simple-pagination .page-btn,
    .ajm-simple-pagination .page-num {
        min-width: 36px;
        height: 36px;
        font-size: 0.9rem;
        padding: 6px 10px;
    }
}








.latest-jobs-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.latest-jobs-list li {
    margin-bottom: 8px;
}
.latest-jobs-list a {
    color: #0066cc;
    text-decoration: none;
}
.latest-jobs-list a:hover {
    text-decoration: underline;
}








/*******************************************************/
/******************** Widget css************************/
/*******************************************************/
.job-sidebar{
    padding: 5px !important;
}

.job-sidebar h2{
    padding: 4px;
    color: #ffffff;
    background-color: #072f75;
    border-radius: 3px;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.7rem;
    text-align: center;
    padding-bottom: 10px;
    padding-top: 10px;
    border-bottom: 2px solid #f2af29;
}


.job-sidebar .widget{
    margin-bottom: 5px !important;
}

.job-sidebar .widget p{
    margin: 0px !important;
    padding: 0px !important;
}







/*   -------------- widget stats -------------- */
    .ajm-job-stats-widget {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        margin: 5px 0;
    }
    .ajm-stat-item {
        text-align: center;
        padding: 5px;
        background: #eff7ff;
        border-radius: 8px;
    }
    .ajm-today-stat {
            background: linear-gradient(45deg, #8bc34a 88%, #8bc34a 81%, #743d3d00 102%);
    }

    .ajm-all-jobs-stat{
            background: linear-gradient(45deg, #FF5722 88%, #FF5722 81%, #743d3d00 102%);
    }
    .ajm-category-stat{
            background: linear-gradient(45deg, #03A9F4 88%, #03A9F4 81%, #743d3d00 102%);
    }
    .ajm-week-stat{
        background: linear-gradient(45deg, #FBC02D 88%, #FBC02D 81%, #743d3d00 102%);
    }


    .ajm-today-stat .ajm-stat-number {
        color: #ffffff;
    }
    .ajm-all-jobs-stat .ajm-stat-number {
        color: #ffffff;
    }
    .ajm-category-stat .ajm-stat-number {
        color: #ffffff;
    }
    .ajm-week-stat .ajm-stat-number {
        color: #ffffff;
    }
    .ajm-stat-number {
        display: block;
        font-size: 32px;
        font-weight: bold;
        color: #2271b1;
        margin-bottom: 5px;
    }
    .ajm-stat-label {
        display: block;
        font-size: 16px;
        color: #060d1a;
        margin-bottom: 10px;
    }
    .ajm-categories-stat {
        grid-column: 1 / -1;
        text-align: right;
    }
    .ajm-categories-list {
        list-style: none;
        padding: 0;
        margin: 10px 0 0 0;
    }
    .ajm-categories-list li {
        display: flex;
        justify-content: space-between;
        padding: 3px 0;
        border-bottom: 1px solid #e0e0e0;
        gap: 2px;
    }
    

    .ajm-categories-list li:last-child {
        border-bottom: none;
    }
    .ajm-cat-name {
        font-size: 16px;
        color: #060d1a;
    }

        .ajm-cat-name::before{
        color: #072f75;
        font-size: 0.9rem;
        padding-left: 5px;

        margin-top: 0px;
        margin-bottom: 0px;
        content:'◀';
    }
    .ajm-cat-count {
        font-weight: bold;
        color: #2271b1;
        font-size: 14px;
    }



/*-------------- Related jobs ----------------*/
.ajm-related-jobs-widget {
    margin-bottom: 25px;
}



.ajm-related-title {
        padding: 4px;
    color: #031f50;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7rem;
    text-align: center;
    padding-bottom: 5px;
    padding-top: 5px;
    background: #072f7529;
    border-radius: 5px;
    margin-top: 5px;
}
.ajm-related-jobs-widget .ajm-jobs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ajm-related-jobs-widget .ajm-job-item {
    margin-bottom: 15px;
    padding-bottom: 1px;
    padding-top: 1px;
    padding-right: 4px;
    border-bottom: 1px solid #eee;
    border-right: 5px solid #072f75;
    background-color:#efefef;
    border-radius: 5px 0px;
}
.ajm-related-jobs-widget .ajm-job-item:hover {
    transform: translateX(-3px);
    background-color:#c3e6ff;
}
.ajm-related-jobs-widget .ajm-job-item:last-child {
    border-bottom: none;
}
.ajm-related-jobs-widget .ajm-job-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}
.ajm-related-jobs-widget .ajm-job-link:hover {
    transform: translateX(0px);
}
.ajm-related-jobs-widget .ajm-job-title {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #2271b1;
}
.ajm-related-jobs-widget .ajm-job-company {
    display: block;
    font-size: 13px;
    color: #484848;
    margin-top: 3px;
}


.ajm-related-jobs-widget .ajm-job-date {
    display: block;
    font-size: 13px;
    color: #ff5722;
    margin-top: 3px;
}


.ajm-related-jobs-widget .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    vertical-align: middle;
}















/* ========================================
   الصفحة الرئيسية - تصميم احترافي وعصري
======================================== */

.acceuil {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 10px;
}

/* العناوين الرئيسية */
.title-h2 {
    text-align: center;
    margin: 50px 0 30px;
    position: relative;
}

.title-h2 h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    padding-bottom: 15px;
    position: relative;
    display: inline-block;
}

.title-h2 h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2271b1 0%, #135e96 100%);
    border-radius: 2px;
}

/* العناوين الفرعية */
.title-h3 {
    margin: 5px 0 0px;
}

.title-h3 h2,
.title-h3 h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding-right: 15px;
    border-right: 4px solid #2271b1;
}

/* قسم الإحصائيات */
.acceuil > .title-h2:first-child {
    margin-top: 0;
}

/* نموذج البحث */
.acceuil > div:nth-child(4) {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 20px 0px 20px;
    border-radius: 16px 16px 0px 0px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 10px ;
    margin-bottom: 0px !important;
}

/* المعرض - عرض أفقي */
.acceuil .gallery {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

/* عرض الأقسام جنباً إلى جنب */
/* ✅ عرض الأقسام جنباً إلى جنب - الحل الصحيح */
@media (min-width: 992px) {
    .acceuil .gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    /* كل قسم = عنوان + محتوى */
    .acceuil .gallery > div:nth-child(1),  /* عنوان المؤسسات */
    .acceuil .gallery > div:nth-child(2) { /* محتوى المؤسسات */
        grid-column: 1;
    }
    
    .acceuil .gallery > div:nth-child(3),  /* عنوان مصالح الدولة */
    .acceuil .gallery > div:nth-child(4) { /* محتوى مصالح الدولة */
        grid-column: 2;
    }
    
    .acceuil .gallery > div:nth-child(5),  /* عنوان الجماعات */
    .acceuil .gallery > div:nth-child(6) { /* محتوى الجماعات */
        grid-column: 3;
    }
    
    /* العناوين في الصف الأول */
    .acceuil .gallery > div:nth-child(1),
    .acceuil .gallery > div:nth-child(3),
    .acceuil .gallery > div:nth-child(5) {
        grid-row: 1;
    }
    
    /* المحتوى في الصف الثاني */
    .acceuil .gallery > div:nth-child(2),
    .acceuil .gallery > div:nth-child(4),
    .acceuil .gallery > div:nth-child(6) {
        grid-row: 2;
    }
}

/* تحسين البطاقات */
.acceuil .gallery > div {
    background: #fff;
    border-radius: 12px;
    padding: 10px 10px 10px 10px ;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.acceuil .gallery > div:hover {
    box-shadow: 0 8px 30px rgba(34, 113, 177, 0.15);
    transform: translateY(-5px);
}

/* تحسين قوائم الوظائف */
.ajm-recent-jobs-widget {
    margin: 0 !important;
}

.ajm-recent-jobs-widget .ajm-jobs-list {
    padding: 0 !important;
}

.ajm-recent-jobs-widget .ajm-job-item {
    padding: 15px !important;
    margin-bottom: 12px !important;
    background: #f8f9fa;
    border-radius: 8px !important;
    border: none !important;
    border-right: 3px solid #2271b1 !important;
    transition: all 0.3s ease;
}

.ajm-recent-jobs-widget .ajm-job-item:hover {
    background: #e9ecef;
    transform: translateX(-5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ajm-recent-jobs-widget .ajm-job-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2271b1 !important;
    margin-bottom: 8px !important;
}

.ajm-recent-jobs-widget .ajm-job-company,
.ajm-recent-jobs-widget .ajm-job-date {
    font-size: 13px !important;
    color: #666 !important;
}

/* تحسين الإحصائيات */
.ajm-job-stats2-widget {
    margin: 30px 0 !important;
}

.ajm-stat-item2 {
    background: #fff !important;
    border: 2px solid #f0f0f0 !important;
    transition: all 0.3s ease !important;
}

.ajm-stat-item2:hover {
    border-color: #2271b1 !important;
    transform: scale(1.05);
}

.ajm-today-stat2 {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%) !important;
    border-color: #66bb6a !important;
}

/* Responsive Design */
@media (max-width: 991px) {
    .acceuil .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .acceuil {
        padding: 30px 15px;
    }
    .title-h3 {
        margin-top: 15px;
    }

    .title-h2 h2 {
        font-size: 26px;
        
    }
    
    .title-h3 h2,
    .title-h3 h3 {
        font-size: 18px;
    }
    
    .acceuil .gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .acceuil .gallery > div {
        padding: 20px;
    }
    
    .acceuil > div:nth-child(4) {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .acceuil {
        padding: 20px 10px;
    }
    
    .title-h2 h2 {
        font-size: 22px;
    }
    
    .title-h3 h2,
    .title-h3 h3 {
        font-size: 16px;
        padding-right: 10px;
        border-right-width: 3px;
    }
    
    .acceuil .gallery > div {
        padding: 15px;
    }
}

/* تحسينات إضافية */
.ajm-job-link {
    display: block !important;
    text-decoration: none !important;
}

.ajm-job-link:hover .ajm-job-title {
    color: #135e96 !important;
}

/* أيقونات Dashicons */
.dashicons {
    margin-left: 5px;
    vertical-align: middle;
}

/* تحريك سلس */
* {
    transition: color 0.3s ease, background 0.3s ease;
}

/* تحسين المسافات */
.acceuil > *:last-child {
    margin-bottom: 0;
}


.acceuil .ajm-search-results{
    margin-top: 0px;
}
.acceuil .ajm-search-results p{
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0px 0px 20px 0px;
    border-radius: 0px 0px 16px 16px ;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 0px;
    margin-bottom: 5px !important;
}


.acceuil .ajm-wordpress-pagination {
    margin-top: 0px !important;
    padding-top: 0px !important;
}

.acceuil .ajm-wordpress-pagination .ajm-pagination-wrapper{
    margin-top: 5px !important;
}



.acceuil .ajm-related-jobs-widget{
    margin-bottom: 3px;
}








/* Minimal Design */
.plus-jobs-container {
    text-align: center;
    margin: 10px 80px;
    
}

.plus-jobs-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0;
    background:#313e56; /*#072f75*/
    color: #f2af29;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 4px;
    box-shadow: #929292 0px 0px 8px 2px;
}

.plus-jobs-btn .btn-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.plus-jobs-btn:hover {
    color: #313e56;
    border-bottom-color: transparent;
    background-color: #f2af29;
}

.plus-jobs-btn:hover .btn-icon {
    transform: translateX(-8px);
}
















/* New Today Badge - Stunning Design */

.new-job {
    position: relative;
    margin-bottom: 0px;
    margin-top: 12px;
}

.new-today-badge {
    position: relative;
    display: inline-block;
    padding: 0;
    overflow: visible;
}

.badge-content {
       position: relative;
    display: inline-flex
;
    align-items: center;
    gap: 6px;
    padding: 2px 5px;
    /*background: linear-gradient(135deg, #4CAF50 0%, #00968882 100%);*/
    background:#ffc107;
    color: #02112c;
    border-radius: 30px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.3px;
    /*box-shadow: 0 4px 15px rgba(118, 118, 118, 0.4), 0 2px 5px rgba(0, 0, 0, 0.1), inset 0 -2px 5px rgba(21, 173, 135, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.3);*/
    animation: badge-float 3s ease-in-out infinite;
    z-index: 2;
    white-space: nowrap;
   
}

.badge-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.badge-icon {
    animation: star-rotate 4s linear infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.badge-text {
    position: relative;
    z-index: 1;
    padding-left: 3px;
}

.badge-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    /*background: radial-gradient(circle, rgba(102, 126, 234, 0.6) 0%, rgba(102, 126, 234, 0) 70%);*/
    border-radius: 50%;
    animation: glow-pulse 2s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

/* Animations */
@keyframes badge-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes star-rotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        transform: rotate(180deg) scale(1);
    }
    75% {
        transform: rotate(270deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Hover Effect */
.new-today-badge:hover .badge-content {
    transform: scale(1.05);
    box-shadow: 
        0 6px 20px rgba(102, 126, 234, 0.5),
        0 3px 8px rgba(0, 0, 0, 0.15),
        inset 0 -2px 5px rgba(0, 0, 0, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.new-today-badge:hover .badge-icon {
    animation: star-rotate 1s linear infinite;
}


@media (max-width: 768px) {
    .badge-content {
        padding: 8px 16px;
        font-size: 12px;
        gap: 6px;
    }
    
    .badge-icon {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .badge-content {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .badge-icon {
        width: 12px;
        height: 12px;
    }
}










/*************************** PY version ********************************/
.ajm-item-py{
    margin: 0px;
    border-radius: 0px;
    padding: 0px;
    border: 0px;
    border-radius: 0px;
}
.ajm-item-py .ajm-card-body {
    padding: 0px 5px 10px 5px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-color: rgb(7 47 117);
    border-style: solid;
    border-width: 6px 6px 6px 6px;
    border-radius: 0px;
    margin: 0px;
}
.ajm-item-py .ajm-title h1{ 
    font-size: 20px !important;
    font-weight: 600 !important;
    text-align: center;
    line-height: 32px;
    margin-bottom: 3px;
    background-color: #FFEE58;
    padding: 3px 3px;
    border-radius: 1px;
    color: #C62828;
}

.ajm-item-py .ajm-text, .ajm-item-py .ajm-tag-region{
    font-size: 17px !important;
    font-weight: 200 !important;
}
.ajm-item-py .ajm-top-card{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding: 3px 2px;
    margin-bottom: 1px;
    border-radius: 8px 8px 0 0;
    text-align: center;
    margin-top: 0px;
}

.ajm-item-py .ajm-top-card .ajm-tag-img .ajm-logo{
    height: 150px !important;
    border-radius:0px;
}

.ajm-item-py .ajm-card-footer{
    background-color: rgb(7 47 117);
    color: white;
    padding: 2px 5px;
    margin: 0px;
    border: 0px solid #072f75;
    margin-top: -2px;
    
}
.ajm-item-py .ajm-card-footer .ajm-meta{
    
    font-size: 18px !important;
    font-weight: 300 !important;
    gap:4px
    
}

.ajm-item-py .ajm-card-footer i{
    color: white;
}


.ajm-item-py .ajm-nmbr-postes{
    color: #C62828;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    padding: 5px 2px;
}









/* ------------------------ for anapec jobs ------------------------------*/
.anapec-job-container-fr *{
    text-align: left;
    direction: ltr;
    color: rgb(14, 14, 14);
    font-size: 16px;
    line-height: 1.6rem  ;

    margin-top: 0;
    margin-bottom: 0.2rem;

    font-family: 'Times New Roman', Times, serif;
    font-weight: 400 !important;

}
.anapec-job-container-fr h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 2 !important;
    color: #d32f2f !important;
    margin-top: 0.7rem;
    margin-bottom: 1.1rem;
}

.anapec-job-container-fr p{
    
}
.anapec-job-container-fr strong,.anapec-job-container-fr b{
    color: #7d0c79 !important; /* #072f75*/
    font-weight: 900 !important;
}