/**
 * Zentrale Button-Grundregel
 *
 * Diese Datei wird absichtlich als letztes Stylesheet geladen. Alle heutigen
 * und zukünftigen WordPress-, Formular- und Galerie-Buttons bleiben dadurch
 * transparent und übernehmen niemals die blaue WordPress-Standardfarbe.
 */
:where(
  .btn,
  .detail-cta,
  .wp-block-button__link,
  .wp-element-button,
  button[type="submit"],
  input[type="submit"],
  input[type="button"]
) {
  background-color: transparent !important;
  background-image: none !important;
  color: #1d1d1f !important;
  border: 1px solid rgba(29, 29, 31, .38) !important;
  box-shadow: none !important;
}

:where(
  .btn,
  .detail-cta,
  .wp-block-button__link,
  .wp-element-button,
  button[type="submit"],
  input[type="submit"],
  input[type="button"]
):hover {
  background-color: rgba(29, 29, 31, .06) !important;
  background-image: none !important;
  color: #1d1d1f !important;
  box-shadow: none !important;
}

/* Auf dunklen Flächen bleiben die Buttons ebenfalls transparent, aber lesbar. */
:where(
  .detail-closing,
  .apple-panel-dark,
  .apple-tile-dark,
  .band,
  .site-footer
) :where(
  .btn,
  .detail-cta,
  .wp-block-button__link,
  .wp-element-button,
  button[type="submit"],
  input[type="submit"],
  input[type="button"]
) {
  background-color: transparent !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, .62) !important;
  box-shadow: none !important;
}

:where(
  .detail-closing,
  .apple-panel-dark,
  .apple-tile-dark,
  .band,
  .site-footer
) :where(
  .btn,
  .detail-cta,
  .wp-block-button__link,
  .wp-element-button,
  button[type="submit"],
  input[type="submit"],
  input[type="button"]
):hover {
  background-color: rgba(255, 255, 255, .08) !important;
  color: #fff !important;
}

/* Dieselbe feste Regel gilt ohne Abweichung auf Tablet und Smartphone. */
@media (max-width: 800px) {
  :where(
    .btn,
    .detail-cta,
    .wp-block-button__link,
    .wp-element-button,
    button[type="submit"],
    input[type="submit"],
    input[type="button"]
  ) {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
  }
}
