/* Catégories des cartes : contraste sur le fond papier des grilles d'articles. */
.news.posts_grid .item .post_top_wrapper .post_categories,
.news.posts_grid .item .post_top_wrapper .post_categories span,
.news.posts_grid .item .post_top_wrapper .post_categories a {
    color: #224a49;
}
.news.posts_grid .item .post_top_wrapper .post_categories a:hover,
.news.posts_grid .item .post_top_wrapper .post_categories a:focus-visible {
    color: #173635;
}

/* Catégorie sous l’image à la une des articles : petit ruban vert. */
.single-post .elementor .elementor-element.lu-article-taxonomy {
    padding-top: 16px;
}
@media (max-width: 767px) {
    .single-post .elementor .elementor-element.lu-article-taxonomy {
        padding-top: 12px;
    }
}

.single-post .lu-article-taxonomy .elementor-post-info {
    margin: 0;
    padding: 0;
    list-style: none;
}
.single-post .lu-article-taxonomy .elementor-icon-list-item::before {
    content: none;
}
.single-post .lu-article-taxonomy .elementor-post-info__terms-list-item {
    position: relative;
    display: inline-block;
    max-width: calc(100% - 14px);
    margin-right: 14px;
    padding: 6px 18px;
    box-sizing: border-box;
    background-color: #224a49;
    background-image: url('/wp-content/themes/vintwood/img/patterns/shape_pattern.png');
    color: #f7f2e8;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border: 0;
    box-shadow: 0 2px 0 rgba(26, 56, 54, 0.18);
    overflow-wrap: anywhere;
}
.single-post .lu-article-taxonomy .elementor-post-info__terms-list-item::after {
    content: '';
    position: absolute;
    inset: 0 -12px 0 auto;
    width: 13px;
    background-color: inherit;
    background-image: inherit;
    clip-path: polygon(0 0, 100% 0, 45% 50%, 100% 100%, 0 100%);
    pointer-events: none;
}
.single-post .lu-article-taxonomy .elementor-post-info__terms-list-item:hover {
    background-color: #173635;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.single-post .lu-article-taxonomy .elementor-post-info__terms-list-item:focus-visible {
    outline: 2px solid #224a49;
    outline-offset: 4px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Ruban de rubrique sur les fiches de reliques. */
.single-cws_portfolio .lu-relique-ribbon {
    margin: 16px 0 0;
    padding-right: 14px;
}
.single-cws_portfolio .lu-relique-ribbon a {
    position: relative;
    display: inline-block;
    padding: 6px 18px;
    background: #b43a25 url('/wp-content/themes/vintwood/img/patterns/shape_pattern.png');
    color: #fff7ed;
    font: 700 18px/1.4 'Barlow Condensed', sans-serif;
    letter-spacing: .05em;
    text-decoration: none;
    border: 0;
}
.single-cws_portfolio .lu-relique-ribbon a::after {
    content: '';
    position: absolute;
    inset: 0 -12px 0 auto;
    width: 13px;
    background: inherit;
    clip-path: polygon(0 0, 100% 0, 45% 50%, 100% 100%, 0 100%);
}
.single-cws_portfolio .lu-relique-ribbon a:focus-visible {
    outline: 2px solid #224a49;
    outline-offset: 4px;
}

/* Section sources en bas des articles créatures */
.lu-sources {
    margin-top: 40px;
    padding-top: 16px;
    border-top: 1px solid rgba(34, 74, 73, 0.25);
    font-size: 13px;
    line-height: 1.8;
    color: #555;
}
.lu-sources strong,
.lu-sources .lu-sources-title {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #224a49;
}
.lu-sources .lu-sources-title {
    margin-top: 0;
    font-family: inherit;
    font-weight: 700;
    line-height: 1.8;
}
.lu-sources .lu-sources-list {
    margin: 0;
    padding: 0 0 0 1em;
    list-style: disc outside;
}
.lu-sources .lu-sources-list > li {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}
.lu-sources .lu-sources-list > li::before {
    content: none;
}
.lu-sources a {
    color: #224a49 !important;
    border-bottom: 1px solid rgba(34, 74, 73, 0.3) !important;
    text-decoration: none !important;
}
.lu-sources a:hover,
.lu-sources a:focus-visible {
    color: #173635 !important;
    border-bottom-color: currentColor !important;
}
.lu-sources a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* Métadonnées créature / relique — shortcode [lu_creature_meta] */
.lu-creature-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 20px 0 30px;
    padding: 16px 20px;
    background: rgba(34, 74, 73, 0.06);
    border-left: 3px solid #224a49;
    font-size: 13px;
    font-family: 'Special Elite', cursive;
    letter-spacing: 0.04em;
}
.lu-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.lu-meta-label {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: #224a49;
    font-weight: 700;
}
.lu-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.lu-badge--green  { background: #224a49; color: #fff; }
.lu-badge--orange { background: #995424; color: #fff; }
.lu-badge--red    { background: #e53e26; color: #fff; }
.lu-badge--dark   { background: #1c1716; color: #fff; }
