body {
  font-family: "Segoe UI", sans-serif;
  background: #f4f4f4;
  margin: 0;
  padding: 0;
}

.article-container {
  max-width: 900px;
  margin: 10px auto;
  background: #fff;
  /*padding: 30px 40px;*/
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h1 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
}

.article-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0px;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.2;
  color: #444;
  /*white-space: pre-line;*/
}

.back-button {
  display: inline-block;
  margin-top: 30px;
  background: #3498db;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.back-button:hover {
  background: #2980b9;
}

@media (max-width: 600px) {
  .article-container {
    padding: 20px;
  }

  h1 {
    font-size: 1.5rem;
  }
}

/*Réseaux sociaux: partage*/
.share-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
/* Bouton général */
.btn-share {
  margin-top: 20px;
  background-color: #2563eb;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-share:hover {
  background-color: #1e40af;
}

/* Spécifiques */
.btn-share.whatsapp { background-color: #25d366; }
.btn-share.whatsapp:hover { background-color: #128c7e; }

.btn-share.twitter { background-color: #1da1f2; }
.btn-share.twitter:hover { background-color: #0d8ddb; }

.btn-share.linkedin { background-color: #0077b5; }
.btn-share.linkedin:hover { background-color: #005983; }

.btn-share.tiktok {
  background: linear-gradient(135deg, #25f4ee, #fe2c55);
  color: white;
}
.btn-share.tiktok:hover {
  opacity: 0.85;
}

.copy-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #16a34a;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.copy-toast.show {
  opacity: 1;
  pointer-events: auto;
}

