html:lang(fr) .date {
    text-align: left;
}

html:lang(fr) .title {
          text-align: left;
}
html:lang(fr) .text{
          text-align: left;
}
html:lang(fr) .info-item {
    margin-bottom: 25px;
    display: flex;
    gap: 8px;
    flex-direction: row; /* icon before text, LTR order */
}/*CSS Amazigh*/
html:lang(tzm) .date {
    text-align: left;
}

html:lang(tzm) .title {
          text-align: left;
}
html:lang(tzm) .text{
          text-align: left;
}
html:lang(tzm) .info-item {
    margin-bottom: 25px;
    display: flex;
    gap: 8px;
    flex-direction: row; /* icon before text, LTR order */
}

.info-item i.fas.fa-chair {
    color: #fff;
}


.owl-carousel .card {
            background: #7D0E13 /*linear-gradient(135deg, #d0d0d0 0%, #e8e8e8 100%)*/;
            border-radius: 20px;
            padding: 40px;
            max-width: 90%;
            width: 100%;
            position: relative;
    		min-height: 360px;
			margin-bottom:15px !important;
			/*min-height:450px;*/
        }

        .date {
            text-align: right;
            font-size: 14px;
            color: #fff;
            margin-bottom: 10px;
            font-weight: 500;
        }

        .title {
            text-align: right;
            font-size: 20px;
            font-weight: bold;
            color: #fff;
            margin-bottom: 10px;
            line-height: 1.6;
        }

        .diviser {
            /*width: 60%;*/
            margin: 0 auto 20px;
            border: none;
            border-top: 2px solid #fff !important;
            opacity: 0.3;
        }

        .info-item {
            margin-bottom: 25px;
			display: flex;
   			gap: 8px;
        }

        .text {
            color: #fff;
            font-size: 15px;
            line-height: 1.5;
        }

        .text strong {
            font-weight: 600;
        }

/* Conteneur du carousel */
.owl-carousel {
    position: relative;
    padding-bottom: 0; /* Espace pour les boutons en bas */
}

/* Repositionner la navigation en bas et centrée */
.owl-nav {
    position: absolute;
    bottom: 20px;
    left: 5%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Style des boutons */
.owl-prev,
.owl-next {
    background: #e0e0e0 !important;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Survol des boutons */
.owl-prev:hover,
.owl-next:hover {
    background: #d0d0d0 !important;
}

/* Style des icônes à l'intérieur */
.owl-prev i,
.owl-next i {
    font-size: 14px;
    color: #666;
}

/* Désactiver le style par défaut d'Owl Carousel */
.owl-theme .owl-nav [class*='owl-'] {
    margin: 0;
}
div#content {
    padding-top: 0;
}
.info-item i.icomoon-the7-font-the7-cart-02 {
    color: #fff;
}
.info-item i.fas.fa-hourglass-start {
    color: #fff;
}
a.detail-job {
    text-decoration: none;
}

html:lang(fr) .card-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
     gap: 20px; 
    padding: 22px 50px;
    background: transparent;
    border-top: none;
    justify-content: space-between;
    flex-direction: row-reverse;
}
html:lang(tzm) .card-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
     gap: 20px; 
    padding: 22px 50px;
    background: transparent;
    border-top: none;
    justify-content: space-between;
    flex-direction: row-reverse;
}
html:lang(fr) .info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: row-reverse;
}
html:lang(tzm) .info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: row-reverse;
}


/* Container principal des cartes de projets */
.projects-cards-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Carte individuelle de projet */
.project-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	text-align:right;
}
html:lang(tzm) .project-card{
	text-align:left;
}

/* En-tête de la carte */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 50px 10px 50px;
  	background-color: transparent;
    border-bottom: none;
}


/* Badge de l'entreprise */
.company-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

.company-icon {
    font-size: 16px;
}

/* Numéro de référence */
.reference-number {
    background: #5a5a5a;
    color: white;
    padding: 0 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* Corps de la carte */
.card-body {
    padding: 10px 50px;
}

.project-title {
    margin-bottom: 20px !important;
    font-size: 20px !important;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
}

/* Pied de la carte - tous les éléments sur la même ligne */
html:lang(ar)  .card-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 20px 50px;
    background: transparent;
    border-top: none;
	justify-content: space-between;
}

/* Item d'information - TOUT sur une ligne */
html:lang(ar) .info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item .icon {
    font-size: 18px;
    color: #666;
    flex-shrink: 0;
}

.info-item .label {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.info-item .value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

/* Bouton de téléchargement */
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #bb1a25;
    border: 2px solid #bb1a25;
    padding: 0 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}

.action-btn:hover {
    background: #bb1a25;
	color:#fff;
}



/* Message quand il n'y a pas d'items */
.no-items {
    text-align: center;
    padding: 40px;
    color: #666;
}
/* Séparateur horizontal */
.card-divider {
    margin: 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

/* Responsive Design pour mobile */
@media (max-width: 768px) {
    .card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

span.statut-emploi {
    background: #bb1a25;
    color: white;
    padding: 0 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/*version mobil*/
@media (max-width: 768px) {
  html:lang(ar) .card-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start !important;
    gap: 10 !important;}
}