/*
Theme Name: Blossom Recette Enfant
Template: blossom-recipe
*/

/* ==================================================
   TAXONOMIES NATIVES DU THÈME
================================================== */

/* Couleur des métadonnées */
.post .entry-meta a,
.entry-header .entry-meta a,
.entry-footer a,
.post-meta a,
.cat-links a,
.tags-links a,
.post-meta-wrapper .post-meta a,
.post-meta-wrapper .post-meta a:link,
.post-meta-wrapper .post-meta a:visited,
.single-post .post-meta-wrapper .post-meta a {
    color: #f48641 !important;
}

/* Hover */
.post .entry-meta a:hover,
.entry-header .entry-meta a:hover,
.entry-footer a:hover,
.post-meta a:hover,
.cat-links a:hover,
.tags-links a:hover,
.post-meta-wrapper .post-meta a:hover {
    color: #f48641 !important;
    opacity: 0.85;
}


/* ==================================================
   TAXONOMIES PERSONNALISÉES
================================================== */

/*
Fonctionne automatiquement pour :
- ingredient-label
- saison-label
- cuisine-label
- type_cuisson-label
- appareil_cuisson-label
- toute future taxonomie en -label
*/

/* Conteneurs */
.single-post [class$="-label"] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 20px !important;
}

/* Badges */
.single-post [class$="-label"] a {
    display: inline-block !important;
    padding: 6px 14px !important;
    border-radius: 30px !important;

    background-color: rgba(244, 134, 65, 0.08) !important;
    color: #f48641 !important;

    text-decoration: none !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;

    transition: all 0.3s ease !important;
}

/* Hover badges */
.single-post [class$="-label"] a:hover {
    background-color: rgba(244, 134, 65, 0.18) !important;
    color: #f48641 !important;
    opacity: 0.9;
}

/* Masquer les titres */
.single-post [class$="-label"] strong,
.single-post [class$="-label"] span:first-child {
    display: none !important;
}


/* ==================================================
   CATÉGORIES / ÉTIQUETTES PERSONNALISÉES
================================================== */

.categories-etiquettes {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #f2f2f2;

    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Pastilles catégories */
.categorie-badge {
    display: inline-block;
    padding: 6px 14px;

    border-radius: 30px;

    background-color: #f7f7f7;
    color: #f48641 !important;

    text-decoration: none !important;

    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;

    transition: all 0.3s ease;
}

/* Hover catégories */
.categorie-badge:hover {
    background-color: #e8e8e8;
    color: #f48641 !important;
}