/* Style du breadcrumb */
.breadcrumb {
    padding: 0.5rem 0;
    margin: 0;
    background-color: transparent;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-yellow); /* Changement de vert à jaune */
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #f8d347; /* Jaune légèrement plus clair au survol */
    text-decoration: underline;
}

.breadcrumb .breadcrumb-item.active {
    color: var(--light-gray); /* Couleur pour l'élément actif */
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 0.5rem;
    color: black; /* Couleur des séparateurs */
}

/* Header sans fond */
.header {
    padding: 2rem 0;
    border-bottom: 1px solid var(--divider-color);
}

/* Conteneur centré, texte aligné à gauche */
.content-wrapper {
    width: 100%;
    max-width: 900px;
    text-align: left;
}

/* Image principale - AMÉLIORATIONS */
.featured-image-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.featured-image {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.featured-image img {
    width: 100%;
    height: auto; /* Hauteur automatique pour conserver les proportions */
    min-height: 500px; /* Hauteur minimale encore plus grande */
    max-height: 650px; /* Hauteur maximale plus élevée */
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* Cartes sans fond ni bordure - AMÉLIORÉES */
.order-card {
    border-radius: 8px;
    background-color: transparent;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.order-card:hover {
    background-color: var(--light-yellow);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Images des cartes de liste - AMÉLIORÉES */
.order-image {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    font-size: 0.9rem;
    padding: 0.5rem; /* Réduction du padding pour plus d'espace pour l'image */
    height: 100%;
    min-height: 140px; /* Légèrement plus grand pour une meilleure visibilité */
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-image img {
    width: 100%;
    height: 120px; /* Hauteur légèrement augmentée */
    object-fit: cover; /* Garde le cover pour un bon cadrage */
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.order-image img:hover {
    transform: scale(1.02); /* Léger zoom au survol */
}

.placeholder-image {
    width: 100%;
    height: 120px; /* Même hauteur que les vraies images */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border-radius: 4px;
}

/* Espacement entre les éléments de la carte */
.card-body > * {
    margin-bottom: 0.5rem;
}

/* Badge */
.badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
}

/* Lien Accéder au détail sans soulignement */
.order-link {
    color: var(--primary-green);
    font-size: 0.85rem;
    text-decoration: none;
}

.order-link:hover {
    text-decoration: none;
    color: var(--primary-green);
}

.order-link i {
    font-size: 0.8rem;
}

/* Contenu du texte */
.content-text {
    line-height: 1.6;
    font-size: 1.1rem;
    margin-top: 2rem;
}

/* Responsive pour les petits écrans */
@media (max-width: 768px) {
    .featured-image img {
        min-height: 350px;
        max-height: 450px;
    }
    
    .content-wrapper {
        padding: 0 1rem;
    }
    
    /* Adaptation des cartes sur mobile */
    .order-image {
        min-height: 100px;
    }
    
    .order-image img,
    .placeholder-image {
        height: 80px;
    }
}