/* ============================================================
   PROVINZIAL GRÜN – share.button.css
   ============================================================ */

/* Positionierung: fixed am Viewport – kein Überlappen mit grünem Header */
.sharediv {
  position: absolute !important;
  top: 14px !important;
  right: 16px !important;
  left: auto !important;
  z-index: 10;
  text-align: right !important;
}

/* Weißer Button auf grünem Hintergrund – klar sichtbar, PSL-Stil */
.sharebutton,
.share-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  background: #FFFFFF !important;
  border: 2px solid #FFFFFF !important;
  border-radius: 4px !important;
  color: #005940 !important;
  cursor: pointer;
  font-family: 'Source Sans 3', 'Calibri', system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px !important;
  padding: 7px 16px !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease !important;
  text-decoration: none !important;
  transform: none !important;
  -webkit-transform: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.18) !important;
  width: auto !important;
  min-width: 0 !important;
  letter-spacing: .01em;
}

/* Hover: invertiert – grüner Hintergrund, weißer Text */
.sharebutton:hover,
.sharebutton:focus,
.share-button:hover,
.share-button:focus,
.sharebutton.button-hover,
.sharebutton.button-hover:hover,
.sharebutton.button-hover:focus,
.sharebutton.button-hover:active,
.share-button.button-hover,
.share-button.button-hover:hover,
.share-button.button-hover:focus,
.share-button.button-hover:active {
  background: #004733 !important;
  border-color: #004733 !important;
  border-radius: 4px !important;
  color: #FFFFFF !important;
  transform: none !important;
  -webkit-transform: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.22) !important;
  outline: none;
}

/* Icon – inline style="color:black" via !important überschreiben */
.sharebutton i,
.sharebutton .share-icon,
.sharebutton .sharebutton-img,
.sharebutton .hvr-icon,
.share-button i,
.share-button .share-icon {
  color: #005940 !important;
  filter: none !important;
  margin-right: 0 !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  font-size: 13px !important;
  transition: color .2s ease !important;
}

.sharebutton:hover i,
.sharebutton:hover .share-icon,
.share-button:hover i,
.share-button:hover .share-icon {
  color: #FFFFFF !important;
}

/* Label */
.sharebutton-mb {
  color: inherit !important;
}
