/*
Theme Name: Twenty Twenty-Four Child
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Description: Thème enfant de Twenty Twenty-Four
Author: Ton nom
Template: twentytwentyfour
Version: 1.0
*/

/* Forcer le contenu à prendre sa place */
.wp-site-blocks > main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  min-height: unset !important;   /* unset au lieu de auto */
  display: block;                 /* sécurité */
  position: relative;
  z-index: 1;
}

/* Footer toujours en-dessous */
.wp-site-blocks > .wp-block-template-part {
  position: relative;
  z-index: 0;
}

/* Ajoute ici ton CSS perso */

.wp-block-column.footer-logos {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
}

.wp-block-column.footer-logos img {
  max-height: 180px;  /* ajuste la taille des logos */
  height: auto;
  width: auto;
  object-fit: contain;
}

/* Étend le footer sur toute la largeur */
.footer-wrapper {
  width: 100% !important;
  max-width: 100% !important;
}

/* Conteneur interne : navigation + logos */
.footer-container {
  display: flex;
  justify-content: space-between; /* nav à gauche, logos à droite */
  align-items: center;
  width: 100%;
  gap: 2rem;
  padding: 1.5rem 2rem;
}

/* Hover global sur tous les boutons WP */
.wp-element-button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
    background-color: #11694d !important;
}


/* === Fix disparition newsletter cards === */
/*#netcare-newsletter-archive,
#netcare-newsletter-archive .newsletter-card {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    transform: none !important;
    transition: none !important;
}*/

/* reset global pour tester 
.entry-content * {
    opacity: 1 !important;
    visibility: visible !important;
}*/
