@media (min-width: 782px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: auto;
        flex-grow: 1;
    }
}

.mark-complete-btn {
	border-radius: 2px;
	white-space: normal;
	padding: .45em 1em .48em;
  font-size: 13.6px;
	 }


.ma-carte {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
	border-radius: 16px;
  padding: 20px 20px;
  background-color: #fff;
  border: none;
}

.ligne-boutons {
	line-height:0.9
	}

.texte-teaser {
  font-size:1.1rem;
	}



@media only screen and (max-width: 768px) {
  h2.wp-block-post-title {
    font-size: 30px !important; /* Ajuste cette taille selon ton besoin */
  }
}


.tag-joueur .wp-block-button__link {
  background:linear-gradient(135deg,rgb(211,215,249) 0%,rgb(0,139,214) 100%); /* dégradé */
  color: #fff !important;       /* texte blanc */
  font-weight: bold !important;
	}

.tag-academie .wp-block-button__link {
  background:linear-gradient(135deg,rgb(34,34,171) 3%,rgb(103,156,247) 94%); /* dégradé */
  color: #fff !important;       /* texte blanc */
  font-weight: bold !important;
	}


.tag-entraineur .wp-block-button__link {
  background:linear-gradient(135deg,rgb(34,34,171) 3%,rgb(103,156,247) 94%); /* dégradé */
  color: #fff !important;       /* texte blanc */
  font-weight: bold !important;
	}



/* =========================================================
   PAGE DE RÉSULTATS DE RECHERCHE
   ========================================================= */

/* 1) Supprimer la date */
.search-results .wp-block-post-date {
  display: none;
}

/* 2) Grille de résultats */
.search-results ul.wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  margin: 0;
}

/* 3) Carte (NON cliquable) */
.search-results ul.wp-block-post-template > li.wp-block-post {
  list-style: none;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  transition: box-shadow 0.15s ease;
}

/* 4) Hover carte (léger) */
.search-results ul.wp-block-post-template > li.wp-block-post:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

/* 5) Titre (cliquable + souligné) */
.search-results .wp-block-post-title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
}

.search-results .wp-block-post-title a {
  color: inherit;
  text-decoration: underline;      /* souligné en permanence */
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

/* Hover lien */
.search-results .wp-block-post-title a:hover {
  color: #000;
}

/* 6) Extrait limité à 3 lignes */
.search-results .wp-block-post-excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}



/* 7) Responsive */
@media (max-width: 900px) {
  .search-results ul.wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .search-results ul.wp-block-post-template {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   BARRE DE RECHERCHE (FORMULAIRE)
   ========================================================= */

.wp-block-search__input {
  border-radius: 30px;
  padding: 12px 20px;
  font-size: 16px;
}

.wp-block-search__button {
  border-radius: 30px;
  background-color: #000;
  color: #fff;
  padding: 10px 18px;
  transition: background-color 0.3s ease;
}

.wp-block-search__button:hover {
  background-color: #444;
}

