.job_listings ul.job_listings {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (max-width: 767px) {
    .job_listings ul.job_listings {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.job_listings ul.job_listings > li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.theraoo-search-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    position: relative;
}

.theraoo-search-card-cover {
    display: block;
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.theraoo-search-card-body {
    position: relative;
    padding: 55px 20px 20px;
    text-align: center;
}

.theraoo-search-card-logo {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    background: #fff;
}

.theraoo-search-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.theraoo-search-card-title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
}

.theraoo-search-card-title a {
    color: inherit;
    text-decoration: none;
}

.theraoo-search-card-slogan {
    font-size: 14px;
    line-height: 1.5;
}

.theraoo-search-card-location {
    margin-top: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

/*téléphone*/
.theraoo-search-card-phone {
    margin-top: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.theraoo-phone-toggle {
    border: 0;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 11px;
    line-height: 1.2;
    cursor: pointer;
}

.theraoo-phone-full a {
    color: inherit;
    text-decoration: none;
}

/*catégories*/
.theraoo-search-card-footer {
    margin-top: 18px;
    padding: 12px 18px;
    border-top: 1px solid #eee;
    font-size: 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.theraoo-search-card-category {
    flex: 1;
    min-width: 0;
    line-height: 1.4;
    text-align: left;
}

.theraoo-search-card-status {
    flex: 0 0 auto;
    white-space: nowrap;
    font-weight: 500;
}

.theraoo-search-card-status.is-open {
    color: #00b84a;
}

.theraoo-search-card-status.is-closed {
    color: #f44336;
}

/* =========================================================
   CONTENEUR GLOBAL DU MOTEUR DE RECHERCHE
   Largeur limitée et centrée comme sur l'ancien rendu Findus
   ========================================================= */

div.job_listings {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 30px;
    align-items: start;

    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
}

/* Colonne des filtres */
div.job_listings > .theraoo-search-sidebar {
    grid-column: 1;
}


/* Zone des résultats */
div.job_listings > ul.job_listings {
    grid-column: 2;
    margin: 0;
    padding: 0;
}

/* =========================================================
   SUPPRESSION DE LA FINE LIGNE AU-DESSUS DES RÉSULTATS
   Neutralise les bordures natives WP Job Manager
   ========================================================= */

div.job_listings > ul.job_listings {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

/* Message affiché lorsqu'aucun thérapeute ne correspond */
div.job_listings .job-manager-info,
div.job_listings .job-manager-message,
div.job_listings .no_job_listings_found {
    border-top: 0 !important;
    box-shadow: none !important;
}

.theraoo-search-sidebar {
    background: #fff;
    border: 1px solid #e5e8ec;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.theraoo-filter-field {
    margin-bottom: 14px;
}

.theraoo-filter-field input,
.theraoo-filter-field select {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #dbe1e6;
    border-radius: 0;
    background: #fff;
    font-size: 13px;
}

/* =========================================================
   MOBILE
   Filtres puis résultats sur une seule colonne
   ========================================================= */

@media (max-width: 767px) {

    div.job_listings {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    div.job_listings > .theraoo-search-sidebar,
    div.job_listings > ul.job_listings {
        grid-column: 1;
    }
}

/* =========================================================
   MOTEUR DE RECHERCHE THERAOO
   Neutralisation du style natif WP Job Manager
   ========================================================= */

.theraoo-job-filters {
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: 0;
}


/* Zone interne contenant les champs */
.theraoo-job-filters .search_jobs {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}


/* Champ Mots-clés :
   suppression des largeurs / flottements imposés par WP Job Manager */
.theraoo-job-filters .search_jobs .search_keywords {
    float: none !important;
    width: 100% !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    background: transparent !important;
}


/* Input Mots-clés */
.theraoo-job-filters .search_jobs .search_keywords input {
    width: 100% !important;
    box-sizing: border-box;
}

/* =========================================================
   FILTRE LOCALISATION
   Liste des suggestions Google
   ========================================================= */

.theraoo-filter-location {
    position: relative;
}

.theraoo-search-location-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;

    display: none;

    background: #fff;
    border: 1px solid #dbe1e6;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.theraoo-search-location-results.active {
    display: block;
}

.theraoo-location-result {
    display: block;
    width: 100%;

    padding: 9px 11px;

    border: 0;
    border-bottom: 1px solid #eee;

    background: #fff;
    color : #222;

    text-align: left;
    font-size: 13px;
    line-height: 1.35;

    cursor: pointer;
}

.theraoo-location-result:last-child {
    border-bottom: 0;
}

.theraoo-location-result:hover,
.theraoo-location-result:focus {
    background: #f6f7f8;
    color: #222;
}

/* =========================================================
   FILTRE RAYON
   ========================================================= */

.theraoo-filter-distance {
    margin-top: 8px;
}

.theraoo-distance-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12px;
    cursor: pointer;
}

.theraoo-distance-label input {
    width: auto !important;
    min-height: 0 !important;
    margin: 0;
}

.theraoo-distance-slider {
    display: block;
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
}

/* =========================================================
   FILTRE RAYON
   Slider + affichage de la distance sélectionnée
   ========================================================= */

.theraoo-filter-distance {
    margin-top: 8px;
}

.theraoo-distance-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12px;
    cursor: pointer;
}

.theraoo-distance-label input {
    width: auto !important;
    min-height: 0 !important;
    margin: 0;
}

.theraoo-distance-slider {
    display: block;
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
}

/* Valeur affichée sous le slider : "Rayon : 50 km" */
.theraoo-distance-display {
    margin-top: 5px;
    text-align: center;
    font-size: 12px;
}

/* =========================================================
   BOUTON RÉINITIALISER LES FILTRES
   Placé volontairement en haut de la sidebar.
   ========================================================= */

.theraoo-filters-reset-wrap {
    margin-bottom: 16px;
}

.theraoo-filters-reset {
    width: 100%;
    padding: 9px 12px;

    border: 0;
    border-radius: 4px;

    background: #22b5dc;
    color: #fff;

    font-size: 13px;
    cursor: pointer;
}

.theraoo-filters-reset:hover,
.theraoo-filters-reset:focus {
    background: #159abc;
    color: #fff;
}

/* =========================================================
   FILTRE COMMODITÉS
   Liste de cases à cocher job_listing_amenity
   ========================================================= */

.theraoo-filter-amenities {
    margin-top: 22px;
}

.theraoo-filter-title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
}

.theraoo-amenities-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.theraoo-amenity-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    margin: 0;

    font-size: 13px;
    line-height: 1.35;

    cursor: pointer;
}

.theraoo-amenity-item input {
    flex: 0 0 auto;

    width: auto !important;
    min-height: 0 !important;

    margin: 2px 0 0;
    padding: 0;
}

/* =========================================================
   FILTRE COMMODITÉS
   WP Job Manager masque par défaut les labels présents
   dans .job_filters .search_jobs.
   On réaffiche uniquement les labels Theraoo des commodités.
   ========================================================= */

.theraoo-job-filters .search_jobs .theraoo-amenity-item {
    display: flex !important;
}

/* =========================================================
   BOUTON "AFFICHER PLUS DE THÉRAPEUTES"
   Centré sous l'ensemble du moteur de recherche.
   Les !important neutralisent les styles natifs WPJM.
   ========================================================= */

div.job_listings > a.load_more_jobs {
    grid-column: 1 / -1;
    justify-self: center;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 220px;
    margin: 15px auto 30px !important;
    padding: 10px 20px !important;

    border: 0 !important;
    border-radius: 4px !important;

    background-color: #2f8795 !important;
    color: #fff !important;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center !important;
    text-decoration: none !important;

    opacity: 1 !important;
    cursor: pointer;
}


/* Le texte est encapsulé dans un <strong> par WP Job Manager */
div.job_listings > a.load_more_jobs strong {
    display: block;
    width: 100%;

    margin: 0;
    padding: 0;

    color: #fff !important;
    font-weight: 600;
    text-align: center !important;
}


/* Survol : même comportement que "Réinitialiser les filtres" */
div.job_listings > a.load_more_jobs:hover,
div.job_listings > a.load_more_jobs:focus {
    background-color: #256f7b !important;
    color: #fff !important;
    opacity: 1 !important;
    text-decoration: none !important;
}


/* Empêche WPJM de recolorer le <strong> au survol */
div.job_listings > a.load_more_jobs:hover strong,
div.job_listings > a.load_more_jobs:focus strong {
    color: #fff !important;
}

/*Aucune offre trouvée*/
.no_job_listings_found{
    padding: 15px 0 0 5px !important;
}