/* ==========================================================
   RG Agency — trava anti-tema
   Entra depois do styles.css.

   Como funciona: quase tudo aqui usa :where(), que zera o peso
   do seletor. Assim estas regras ganham do CSS do tema apenas
   por virem depois, e nunca passam por cima das regras do
   desenho da Home (que são por classe, e portanto mais fortes).
   Só html e body levam !important, porque temas costumam usar
   !important justamente neles.
   ========================================================== */

html { margin-top: 0 !important; padding-top: 0 !important; }

body.rg-agency-home {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: auto !important;
  float: none !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  text-align: left !important;
  text-transform: none !important;
  text-indent: 0 !important;
  text-shadow: none !important;
  color: var(--ink) !important;
  background: var(--paper) !important;
  overflow-x: hidden;
}

/* blocos estruturais: o tema não desenha, não limita e não espaça */
:where(body.rg-agency-home) main,
:where(body.rg-agency-home) section,
:where(body.rg-agency-home) article,
:where(body.rg-agency-home) aside,
:where(body.rg-agency-home) header,
:where(body.rg-agency-home) footer,
:where(body.rg-agency-home) nav,
:where(body.rg-agency-home) div,
:where(body.rg-agency-home) form {
  max-width: none;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  float: none;
  clear: none;
  background-image: none;
  box-shadow: none;
  text-transform: none;
  text-indent: 0;
}

/* texto: herda a cor e a fonte do bloco em que está */
:where(body.rg-agency-home) h1,
:where(body.rg-agency-home) h2,
:where(body.rg-agency-home) h3,
:where(body.rg-agency-home) h4,
:where(body.rg-agency-home) h5,
:where(body.rg-agency-home) h6,
:where(body.rg-agency-home) p,
:where(body.rg-agency-home) span,
:where(body.rg-agency-home) b,
:where(body.rg-agency-home) strong,
:where(body.rg-agency-home) i,
:where(body.rg-agency-home) em,
:where(body.rg-agency-home) small,
:where(body.rg-agency-home) label,
:where(body.rg-agency-home) li,
:where(body.rg-agency-home) dt,
:where(body.rg-agency-home) dd {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  font-family: inherit;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  text-indent: 0;
  text-shadow: none;
  letter-spacing: inherit;
  background: none;
}

:where(body.rg-agency-home) ul,
:where(body.rg-agency-home) ol,
:where(body.rg-agency-home) dl,
:where(body.rg-agency-home) figure,
:where(body.rg-agency-home) blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  background: none;
}

:where(body.rg-agency-home) a {
  color: inherit;
  text-decoration: none;
  background: none;
  border: 0;
  box-shadow: none;
}

:where(body.rg-agency-home) img,
:where(body.rg-agency-home) svg,
:where(body.rg-agency-home) video,
:where(body.rg-agency-home) iframe,
:where(body.rg-agency-home) picture {
  border: 0;
  outline: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
  background: none;
}

:where(body.rg-agency-home) button,
:where(body.rg-agency-home) input,
:where(body.rg-agency-home) select,
:where(body.rg-agency-home) textarea {
  font-family: inherit;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
  min-height: 0;
}

/* sobras comuns do WordPress */
.rg-agency-home #wpadminbar,
.rg-agency-home .skip-link,
.rg-agency-home .wp-block-template-part { display: none !important; }
