/* rtl.css — Sobrescrições para idiomas RTL (ex: árabe) */
/* Carregar APENAS após /assets/css/style.css */
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
/* LOGO: alinhar texto à direita */
.logo-texto {
  text-align: right !important;
}
/* HEADER: ajustar padding (o espaço do menu toggle muda de lado) */
.site-header {
  padding-left: calc(4rem + var(--spacing-right)) !important;
  padding-right: 1rem !important;
}
/* MENU MOBILE TOGGLE: mover para a esquerda */
.menu-toggle {
  right: auto !important;
  left: 1rem !important;
}
/* FORMULÁRIOS DE BUSCA: inverter botão e campo */
.search-form {
  flex-direction: row-reverse !important;
}
.search-form input[type="search"] {
  border-radius: 0 4px 4px 0 !important;
  text-align: right !important;
}
.search-form button {
  border-radius: 4px 0 0 4px !important;
}
/* LISTAS DE IDIOMAS: inverter ordem visual (AR aparece à direita) */
.lang-list {
  flex-direction: row-reverse !important;
}
/* BLOCO DE BOAS-VINDAS: suporte RTL */
html[dir="rtl"] .welcome-box {
  direction: rtl;
  text-align: center; /* mantém centrado visualmente */
}
/* FOOTER: alinhar colunas à direita em mobile */
@media (max-width: 767px) {
  .footer-grid {
    text-align: right !important;
  }
}
/* FOOTER: alinhar à esquerda em desktop (mas manter coerência RTL) */
@media (min-width: 768px) {
  .footer-grid {
    text-align: right !important;
  }
  .footer-tools-col .lang-list {
    justify-content: flex-end !important;
  }
  .footer-tools-col .search-form {
    margin: 0 0 1rem auto !important;
  }
}
/* BOTTOM BAR: alinhar texto à direita */
.bottom-bar .container {
  text-align: right !important;
}
@media (min-width: 992px) {
  .bottom-bar .container {
    justify-content: flex-end !important;
  }
}
/* SIDEBAR (caso usada em RTL): alinhar texto */
.sidebar-box,
.sb-section h3,
.sb-section p,
.sb-list a {
  text-align: right !important;
}
