/* Editorial content-element link button layouts
   Verwendung im Backend:
   - Layout 110: Link als gelber Button
   - Layout 111: Link als gelber Button, zentriert

   Diese Datei ist die einzige zentrale Button-Regel für redaktionelle Link-Buttons.
   Zusätzliche alte Override-Dateien wurden neutralisiert.
*/

.frame-layout-110 a:not(.btn):not(.page-link),
.frame-layout-111 a:not(.btn):not(.page-link),
a.button-link,
.footer a.footer-button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 9px 22px;
  border: 1px solid #fdc815;
  border-radius: 0;
  background: #fdc815;
  color: #000;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none !important;
  box-shadow: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.frame-layout-110 a:not(.btn):not(.page-link) *,
.frame-layout-111 a:not(.btn):not(.page-link) *,
a.button-link *,
.footer a.footer-button-link * {
  color: inherit !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

.frame-layout-110 a:not(.btn):not(.page-link):hover,
.frame-layout-110 a:not(.btn):not(.page-link):focus,
.frame-layout-111 a:not(.btn):not(.page-link):hover,
.frame-layout-111 a:not(.btn):not(.page-link):focus,
a.button-link:hover,
a.button-link:focus,
.footer a.footer-button-link:hover,
.footer a.footer-button-link:focus {
  background: #000;
  border-color: #000;
  color: #fff;
  text-decoration: none !important;
}

.frame-layout-110 a:not(.btn):not(.page-link):focus-visible,
.frame-layout-111 a:not(.btn):not(.page-link):focus-visible,
a.button-link:focus-visible,
.footer a.footer-button-link:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
}

.frame-layout-111 {
  text-align: center;
}

.frame-layout-111 .ce-bodytext,
.frame-layout-111 p {
  text-align: center;
}

/* Mono Light: schwarz auf weiß */
html[data-theme="mono-light"] .frame-layout-110 a:not(.btn):not(.page-link),
html[data-theme="mono-light"] .frame-layout-111 a:not(.btn):not(.page-link),
html[data-theme="mono-light"] a.button-link,
html[data-theme="mono-light"] .footer a.footer-button-link,
body.theme-mono-light .frame-layout-110 a:not(.btn):not(.page-link),
body.theme-mono-light .frame-layout-111 a:not(.btn):not(.page-link),
body.theme-mono-light a.button-link,
body.theme-mono-light .footer a.footer-button-link {
  background: #fff !important;
  border-color: #000 !important;
  color: #000 !important;
}

html[data-theme="mono-light"] .frame-layout-110 a:not(.btn):not(.page-link):hover,
html[data-theme="mono-light"] .frame-layout-110 a:not(.btn):not(.page-link):focus,
html[data-theme="mono-light"] .frame-layout-111 a:not(.btn):not(.page-link):hover,
html[data-theme="mono-light"] .frame-layout-111 a:not(.btn):not(.page-link):focus,
html[data-theme="mono-light"] a.button-link:hover,
html[data-theme="mono-light"] a.button-link:focus,
html[data-theme="mono-light"] .footer a.footer-button-link:hover,
html[data-theme="mono-light"] .footer a.footer-button-link:focus,
body.theme-mono-light .frame-layout-110 a:not(.btn):not(.page-link):hover,
body.theme-mono-light .frame-layout-110 a:not(.btn):not(.page-link):focus,
body.theme-mono-light .frame-layout-111 a:not(.btn):not(.page-link):hover,
body.theme-mono-light .frame-layout-111 a:not(.btn):not(.page-link):focus,
body.theme-mono-light a.button-link:hover,
body.theme-mono-light a.button-link:focus,
body.theme-mono-light .footer a.footer-button-link:hover,
body.theme-mono-light .footer a.footer-button-link:focus {
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

/* Mono Dark: weißer Button auf schwarzem Hintergrund, schwarze Schrift im Ursprungszustand. */
html[data-theme="mono-dark"] .frame-layout-110 a:not(.btn):not(.page-link),
html[data-theme="mono-dark"] .frame-layout-111 a:not(.btn):not(.page-link),
html[data-theme="mono-dark"] a.button-link,
html[data-theme="mono-dark"] .footer a.footer-button-link,
body.theme-mono-dark .frame-layout-110 a:not(.btn):not(.page-link),
body.theme-mono-dark .frame-layout-111 a:not(.btn):not(.page-link),
body.theme-mono-dark a.button-link,
body.theme-mono-dark .footer a.footer-button-link {
  background: #fff !important;
  border-color: #fff !important;
  color: #000 !important;
}

html[data-theme="mono-dark"] .frame-layout-110 a:not(.btn):not(.page-link):visited,
html[data-theme="mono-dark"] .frame-layout-111 a:not(.btn):not(.page-link):visited,
html[data-theme="mono-dark"] a.button-link:visited,
html[data-theme="mono-dark"] .footer a.footer-button-link:visited,
body.theme-mono-dark .frame-layout-110 a:not(.btn):not(.page-link):visited,
body.theme-mono-dark .frame-layout-111 a:not(.btn):not(.page-link):visited,
body.theme-mono-dark a.button-link:visited,
body.theme-mono-dark .footer a.footer-button-link:visited {
  color: #000 !important;
}

html[data-theme="mono-dark"] .frame-layout-110 a:not(.btn):not(.page-link):hover,
html[data-theme="mono-dark"] .frame-layout-110 a:not(.btn):not(.page-link):focus,
html[data-theme="mono-dark"] .frame-layout-111 a:not(.btn):not(.page-link):hover,
html[data-theme="mono-dark"] .frame-layout-111 a:not(.btn):not(.page-link):focus,
html[data-theme="mono-dark"] a.button-link:hover,
html[data-theme="mono-dark"] a.button-link:focus,
html[data-theme="mono-dark"] .footer a.footer-button-link:hover,
html[data-theme="mono-dark"] .footer a.footer-button-link:focus,
body.theme-mono-dark .frame-layout-110 a:not(.btn):not(.page-link):hover,
body.theme-mono-dark .frame-layout-110 a:not(.btn):not(.page-link):focus,
body.theme-mono-dark .frame-layout-111 a:not(.btn):not(.page-link):hover,
body.theme-mono-dark .frame-layout-111 a:not(.btn):not(.page-link):focus,
body.theme-mono-dark a.button-link:hover,
body.theme-mono-dark a.button-link:focus,
body.theme-mono-dark .footer a.footer-button-link:hover,
body.theme-mono-dark .footer a.footer-button-link:focus {
  background: #000 !important;
  border-color: #fff !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* Rechte Footer-Linkspalte: Links in jedem Farbschema unterstrichen lassen. */
.footer .footer-links-col a:not(.btn):not(.button-link):not(.footer-button-link),
.footer .footer-links-col .footer-column-content a:not(.btn):not(.button-link):not(.footer-button-link),
html[data-theme="mono-light"] .footer .footer-links-col a:not(.btn):not(.button-link):not(.footer-button-link),
html[data-theme="mono-dark"] .footer .footer-links-col a:not(.btn):not(.button-link):not(.footer-button-link),
body.theme-mono-light .footer .footer-links-col a:not(.btn):not(.button-link):not(.footer-button-link),
body.theme-mono-dark .footer .footer-links-col a:not(.btn):not(.button-link):not(.footer-button-link) {
  text-decoration: underline !important;
  text-underline-offset: .12em;
}
