.social-media-content-block {
  margin: 0;
  padding: 0;
}

.social-media-content-block-title {
  margin: 0 0 1rem 0;
}

.social-media-content-block .footer-social,
.frame-type-pn_reinecker_social_media_links .footer-social.social-media-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0;
  padding-bottom: 0;
}

.social-media-content-block .footer-social a,
.social-media-content-block .social-media-link {
  color: inherit;
  text-decoration: none;
  font-size: 2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-media-content-block .social-media-link:hover,
.social-media-content-block .social-media-link:focus-visible {
  text-decoration: none;
}

.social-media-content-block .social-media-icon {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/*
 * The social media element must not bring its own vertical spacing.
 * Editors control spacing exclusively via Appearance > Abstand davor/nachher.
 * Therefore we remove only the default spacing when no frame-space class is selected.
 */
.frame-type-pn_reinecker_social_media_links:not([class*="frame-space-before-"]) {
  margin-top: 0 !important;
}

.frame-type-pn_reinecker_social_media_links:not([class*="frame-space-after-"]) {
  margin-bottom: 0 !important;
}

.frame-type-pn_reinecker_social_media_links {
  padding-top: 0;
  padding-bottom: 0;
}

body.theme-mono-light .social-media-content-block .footer-social a,
body.theme-mono-light .social-media-content-block .social-media-link {
  color: #000 !important;
}

body.theme-mono-dark .social-media-content-block .footer-social a,
body.theme-mono-dark .social-media-content-block .social-media-link {
  color: #fff !important;
}
