/* Styles pour les cartes d'articles */
.card {
  transition: none !important;
  margin-bottom: 2rem;
}

.card:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Styles pour les titres d'articles */
.card-title a {
  color: #0056b3;
  text-decoration: none;
}

.card-title a:hover {
  text-decoration: underline;
}

/* Style pour le bouton retour en haut */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  z-index: 1000;
}

.back-to-top:hover {
  background-color: #0056b3;
}

.min-height-80 {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.custom-btn {
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 1rem !important;
  margin: 0 !important;
  border: 1px solid transparent !important;
  vertical-align: middle !important;
}

/* Structure de base pour le sticky footer */
html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Conteneur principal */
.container.mt-1.pt-4 {
  flex: 1 0 auto;
  padding-bottom: 2rem;
}

/* Styles pour le footer */
footer {
  flex-shrink: 0;
  width: 100%;
  background-color: #343a40;
  color: white;
  margin-top: auto;
}

#content-wrapper {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

#content {
  flex: 1 0 auto;
}
