/* ==================================================
 *   CONTENEUR GLOBAL
 *   ================================================== */
.taf-offres-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

/* ==================================================
 *   FILTRES
 *   ================================================== */
.taf-offres-filters {
    display: flex;
    gap: 20px;
    margin: 10px 0 18px;
    flex-wrap: wrap;
}

.taf-offres-filters .emploi-select {
    min-width: 220px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #e6e6e6;
    background: #f4f4f4;
    color: #777777;
    font-size: 13px;
    text-transform: uppercase;
}

/* ==================================================
 *   COMPTEUR
 *   ================================================== */
.taf-offres-count {
    color: #777777;
    margin: 0 0 20px;
    font-size: 14px;
}

/* ==================================================
 *   ITEM OFFRE (STRUCTURE)
 *   ================================================== */
.offre-xml-content.offre-item {
    display: grid;
    grid-template-columns: 1fr 140px;
    column-gap: 30px;
    padding: 18px 0;
    border-bottom: 1px solid #ededed;
    align-items: center;
}

.offre-left {
    min-width: 0;
}

/* ==================================================
 *   TITRE OFFRE
 *   ================================================== */
.offre-item h2 {
    margin: 0 0 4px 0;
    font-size: 21px;          /* ancien site */
    font-weight: 600;
    line-height: 1.3;
}

.offre-item h2 a {
    color: #ed1b36;           /* rouge exact ancien site */
    text-transform: uppercase;
    text-decoration: none;
}

.offre-item h2 a:hover {
    color: #0d364f;
}

/* ==================================================
 *   TYPE DE CONTRAT
 *   ================================================== */
.type-metier {
    display: block;
    color: #ed1b36;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 4px;
}

/* ==================================================
 *   DATE DE PUBLICATION
 *   ================================================== */
.date-pub {
    display: block;
    color: #b5b5b5;
    font-size: 13px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

/* ==================================================
 *   LOCALISATION
 *   ================================================== */
.agence {
    display: block;
    color: #ed1b36;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
}

/* ==================================================
 *   DESCRIPTION
 *   ================================================== */
.desc {
    margin-top: 15px;
    font-size: 14px;
    line-height: 23px;
    color: #555555;
    max-width: 720px;
}

/* ==================================================
 *   BOUTON "VOIR L'OFFRE"
 *   ================================================== */
.offre-right {
    text-align: right;
}

.btn-detail {
    display: block;
    font-size: 14px;
    width: 120px;
    background: #0d364f;
    padding: 5px 7px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border-radius: 2px;
}

.btn-detail:hover {
    opacity: 0.85;
    color: #ffffff;
}

/* ==================================================
 *   RESET LIENS (évite conflits WP / Divi)
 *   ================================================== */
.offre-item a {
    text-decoration: none;
}

.offre-item a:hover {
    text-decoration: none;
}

/* ==================================================
 *   RESPONSIVE
 *   ================================================== */
@media (max-width: 768px) {
    .offre-xml-content.offre-item {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }

    .offre-right {
        text-align: left;
    }
}
