/*
Theme Name: Fly Hub
Theme URI: https://flyhub.dariodesigner.pro/
Author: Fly Hub
Description: Tema nativo Fly Hub para WordPress. Funciona com o plugin Fly Hub para gerir podcasts, RRPL, Impacto e catálogo.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: fly-hub-theme
License: GPL-2.0-or-later
*/

:root {
  color-scheme: dark;
  background: #080909;
}

html {
  min-width: 320px;
  background: #080909;
}

body.fly-hub-theme {
  min-width: 320px;
  margin: 0;
  background: #080909;
}

body.fly-hub-theme #fly-hub-root {
  min-height: 100svh;
}

body.fly-hub-theme .wp-site-blocks,
body.fly-hub-theme .wp-block-template-part,
body.fly-hub-theme .wp-block-group,
body.fly-hub-theme .wp-block-post-content {
  max-width: none;
  margin: 0;
  padding: 0;
}

.fly-hub-theme__fallback {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 32px;
  color: #f4f3ee;
  background:
    radial-gradient(70% 45rem at 75% -10%, rgba(200, 255, 33, 0.12), transparent 70%),
    #080909;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fly-hub-theme__fallback-inner {
  width: min(100%, 560px);
  padding: 36px;
  border: 1px solid rgba(244, 243, 238, 0.14);
  border-radius: 24px;
  background: rgba(17, 19, 19, 0.94);
}

.fly-hub-theme__fallback h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 8vw, 58px);
  letter-spacing: -0.06em;
}

.fly-hub-theme__fallback p {
  margin: 0;
  color: #b9bbb4;
  line-height: 1.65;
}

/* Mantém a aplicação visualmente limpa quando a barra de administração está activa. */
body.admin-bar .fh-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .fh-header {
    top: 46px;
  }
}
