/* ===== Bouton de partage LinkedIn ===== */

/* Breadcrumb article blog : flex pour aligner bouton LinkedIn à droite */
.article-breadcrumb {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

/* Onglets méthode outil : flex pour aligner bouton à droite */
.maco-tabs-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.maco-tabs-row .maco-tabs {
  flex: 1 1 auto;
}

.maco-tabs-row .byline-share {
  flex-shrink: 0;
}

/* Bouton */
.linkedin-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: #fff;
  color: #0A66C2;
  border: 2px solid #0A66C2;
  border-radius: 999px;
  font-family: var(--font, inherit);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  line-height: 1;
}

.linkedin-share-btn:hover {
  background: #0A66C2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 102, 194, 0.25);
}

.linkedin-share-btn svg {
  flex-shrink: 0;
  transition: fill 0.18s ease;
}

.linkedin-share-btn:hover svg {
  fill: #fff;
}

/* .share-bar (footer articles, outil) — plus utilisé mais conservé pour compatibilité */
.share-bar {
  display: none;
}

@media (max-width: 640px) {
  .byline-share {
    margin-left: 0;
    width: 100%;
  }

  .linkedin-share-btn {
    width: 100%;
    justify-content: center;
  }

  .maco-tabs-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .maco-tabs-row .byline-share {
    width: 100%;
  }
}

@media print {
  .byline-share,
  .share-bar {
    display: none !important;
  }
}
