/*
 Theme Name:   NCounter Child
 Theme URI:    https://ncounter.co.uk
 Description:  NCounter Child Theme based on Avada
 Author:       NCounter
 Author URI:   https://ncounter.co.uk
 Template:     Avada
 Version:     3.1.5
 Text Domain:  ncounter-child
*/
 
 /* ── JOB CARD (ALWAYS WHITE / GRAY HOVER) ─────────────────── */

/* We target standard WP JM classes, the specific featured classes you mentioned, 
   and our custom ncl-job-card classes to ensure total override.
*/
ul.job_listings li.job_listing,
ul.job_listings li.job_listing.featured,
ul.job_listings li.job_listing.job_position_featured,
.rp4wp-related-job_listing>ul li.job_listing,
.rp4wp-related-job_listing>ul li.job_listing.job_position_featured,
.ncl-job-card {
    list-style: none !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    border-radius: 12px !important;
    border: 1px solid #e4e6ed !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    transition: background .15s ease !important;
    overflow: hidden !important;
}

/* Force the anchor tag background to be transparent so it doesn't hide the li background */
ul.job_listings li.job_listing a,
.rp4wp-related-job_listing>ul li.job_listing a {
    background: transparent !important;
    background-color: transparent !important;
}

/* Hover State - Gray */
ul.job_listings li.job_listing:hover,
ul.job_listings li.job_listing.featured:hover,
ul.job_listings li.job_listing.job_position_featured:hover,
.rp4wp-related-job_listing>ul li.job_listing:hover,
.ncl-job-card:hover {
    background: #f8f9fb !important;
    background-color: #f8f9fb !important;
    border-color: #e4e6ed !important;
}