/*
Theme Name: AdVent Conseil & Formations
Theme URI: https://www.pilot-in.com/
Description: Thème pour le site advent-formations.fr
Author: Pilot'in
Author URI: https://www.pilot-in.com/
Template:     ollie
Version: 1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         blog, portfolio, entertainment, grid-layout, one-column, two-columns, three-columns, four-columns, block-patterns, block-styles, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, full-width-template, rtl-language-support, style-variations, template-editing, theme-options, translation-ready, wide-blocks
Text Domain: advent-formations
*/
html {
  scroll-behavior: smooth;
}
.formation-card__image-wrapper {
    position: relative;
}

/* Assurez-vous que .badge-format est bien spécifique */
.formation-card__image-wrapper .badge-format {
    position: absolute !important;
    top: 12px;
    left: 12px;
    z-index: 20;
    background-color: var(--wp--preset--color--primary-alt);
    color: var(--wp--preset--color--base);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Désactive le clic sur ces éléments termes de taxonomies */
body.post-type-archive-nos-formations 
.wp-block-post 
.formation-card__image-wrapper a {
  pointer-events: none;
  cursor: default;
}

body[class*="post-type-archive"] 
.wp-block-post-terms.taxonomy-categorie-formation > a {
  pointer-events: none;
  cursor: default;
}
.wp-block-post-terms.taxonomy-categorie-formation > a {
  pointer-events: none;
  cursor: default;
}
/* Désactive le clic sur l’image des cartes formation partout */
.formation-card__image-wrapper a {
  pointer-events: none;
  cursor: default;
}
.wp-block-post-terms.taxonomy-categorie-formation > a {
  pointer-events: none;
  cursor: default;
}