/**
 * #artikel_share – 40px-Leiste: Merken, Live-Uhrzeit, Sprachen (Mitte), Share (rechts).
 */

#st_body #artikel_share,
.category-inner #artikel_share {
  font-family: var(--font-body);
  font-weight: 400;
}

#artikel_share {
  --st-artikel-share-inset: clamp(10px, calc(10px + (100vw - 380px) * 10 / 1645), 20px);
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  border-top: 1px solid color-mix(in srgb, var(--st-dunkel) 18%, var(--st-hell));
  border-bottom: 1px solid color-mix(in srgb, var(--st-dunkel) 18%, var(--st-hell));
  position: relative;
  overflow: visible;
}

#artikel_share .artikel_share__left {
  position: absolute;
  left: var(--st-artikel-share-inset);
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}

#artikel_share .artikel_share__languages {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  pointer-events: auto;
  z-index: 3;
}

#artikel_share .artikel_share__languages-list {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#artikel_share .artikel_share__languages-item {
  position: relative;
  margin: 0;
  padding: 0;
}

#artikel_share .artikel_share__language-link {
  display: inline-flex;
  line-height: 0;
  border-radius: 2px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

#artikel_share .artikel_share__language-link:hover,
#artikel_share .artikel_share__language-link:focus-visible {
  text-decoration: none;
}

#artikel_share .artikel_share__language-link img {
  display: block;
  width: 27px;
  height: 18px;
  object-fit: cover;
  transition: opacity 0.15s ease;
}

#artikel_share .artikel_share__language-link:not(.is-active) img {
  opacity: 0.82;
}

#artikel_share .artikel_share__language-link:hover img,
#artikel_share .artikel_share__language-link:focus-visible img {
  opacity: 1;
}

#artikel_share .artikel_share__language-link.is-active {
  opacity: 1;
  outline: 1px solid color-mix(in srgb, var(--st-dunkel) 35%, transparent);
  outline-offset: 2px;
}

#artikel_share .artikel_share__share {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

#artikel_share .artikel_share__bookmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 5px 0 0;
  padding: 0;
  border: 0;
  font-size: 1.125rem;
  line-height: 1;
  color: var(--st-text);
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

#artikel_share .artikel_share__datetime {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 500;
  color: var(--st-text);
  white-space: nowrap;
  pointer-events: none;
}

#artikel_share .artikel_share__bookmark i {
  display: block;
  line-height: 1;
}

#artikel_share .artikel_share__bookmark:hover,
#artikel_share .artikel_share__bookmark:focus-visible {
  color: var(--st-text);
  background: transparent;
  opacity: 0.75;
}

#artikel_share [data-tooltip] {
  position: relative;
}

#artikel_share [data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
  color: var(--st-hell);
  background: var(--st-dunkel);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 10;
}

#artikel_share [data-tooltip]:hover::after,
#artikel_share [data-tooltip]:focus-within::after {
  opacity: 1;
  visibility: visible;
}

#artikel_share .artikel_share__share .wdsb-article-share.wdsb-article-share--icon-text {
  position: absolute;
  top: 50%;
  right: var(--st-artikel-share-inset);
  transform: translateY(-50%);
  margin: 0;
  background: transparent;
  pointer-events: auto;
}

#artikel_share .wdsb-article-share__list {
  flex-wrap: nowrap;
  gap: 0.375rem;
  background: transparent;
  background-color: transparent;
}

#artikel_share .wdsb-article-share__item {
  background: transparent;
  background-color: transparent;
}

#artikel_share .artikel_share__share .wdsb-article-share__button {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  background-color: transparent;
  color: #000;
}

#artikel_share .artikel_share__share .wdsb-article-share__button:hover,
#artikel_share .artikel_share__share .wdsb-article-share__button:focus-visible {
  background: transparent;
  background-color: transparent;
  border-color: transparent;
  color: #000;
  opacity: 0.75;
}

#artikel_share .artikel_share__share .wdsb-article-share__icon {
  color: #000;
}

#artikel_share .wdsb-article-share__button.is-copied {
  background: transparent;
  background-color: transparent;
  border-color: transparent;
}

#artikel_share .wdsb-article-share__icon,
#artikel_share .wdsb-article-share__icon::before {
  background: transparent;
  background-color: transparent;
}

#artikel_share .artikel_share__share .wdsb-article-share__icon {
  font-size: 1.125rem;
}

#artikel_share .wdsb-article-share__label {
  display: none;
}

@media (prefers-color-scheme: dark) {
  #artikel_share .artikel_share__share .wdsb-article-share__button,
  #artikel_share .artikel_share__share .wdsb-article-share__button:hover,
  #artikel_share .artikel_share__share .wdsb-article-share__button:focus-visible,
  #artikel_share .artikel_share__share .wdsb-article-share__icon {
    color: #fff;
  }
}

body.darkmode--activated #artikel_share .artikel_share__share .wdsb-article-share__button,
body.darkmode--activated #artikel_share .artikel_share__share .wdsb-article-share__button:hover,
body.darkmode--activated #artikel_share .artikel_share__share .wdsb-article-share__button:focus-visible,
body.darkmode--activated #artikel_share .artikel_share__share .wdsb-article-share__icon {
  color: #fff;
}

.category-inner #artikel_share,
.st-category-page:not(.st-category-page--saarregional) #artikel_share {
  margin: 20px 0 32px;
}
