/* Carte de formation entièrement cliquable */
.formation-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Le lien couvre toute la carte */
.formation-card .wp-block-heading a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* Apparence du titre */
.formation-card .wp-block-heading a {
    color: inherit;
    text-decoration: none;
}

/* Effet au survol */
.formation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* Navigation au clavier */
.formation-card:focus-within {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* Encadré des formations */
.formation-card {
    border: 1px solid #444;
    border-radius: 8px;
    padding: 15px;
    background-color: #080808;
    box-sizing: border-box;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

/* Effet au survol */
.formation-card:hover {
    border-color: #e6007e;
    box-shadow: 0 0 12px rgba(230, 0, 126, 0.25);
    transform: translateY(-3px);
}

/* Pied de page en bas sur toutes les pages WordPress */

body.page #page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

body.page #content {
    flex: 1 0 auto;
    width: 100%;
}


/* Fond noir de la zone de contenu */
body.page #content {
    background-color: var(--ast-global-color-2);
}
