/* Identidade do portal legado, adaptada ao Bootstrap atual. */
@media (min-width: 1200px) {
  .container { max-width: 960px; }
}
.masthead .navbar .logo img { width: 260px; height: auto; min-height: 0; max-height: none; }
.homepage .module-promotion { padding: 20px 25px; font-size: 14px; line-height: 20px; }
.homepage .module-search .search-form { margin: 0; padding: 15px; border-radius: 0; }
.homepage .module-search .heading { font-size: 26px; margin-bottom: 12px; }
.homepage .module-search .search-input { margin-bottom: 5px; }
.homepage .module-search .search-input input { padding: 12px; }
.homepage .module-search .tags { margin: 0; padding: 5px 10px 10px; }
.homepage .module-feeds .dataset-resources { display: none; }
.homepage .module-feeds .dataset-item { border: 0; padding: 10px 15px; margin: 0; }
.homepage .module-feeds .dataset-heading { margin-bottom: 8px; }
/* O rodapé federal ocupa a largura disponível sem gerar rolagem lateral. */
#footer-brasil {
  box-sizing: border-box;
  width: 100vw;
  max-width: none !important;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}
@media (min-width: 992px) {
  .masthead { padding: 0 !important; }
  .masthead .navbar { padding: 0; flex-wrap: wrap; }
  .masthead .navbar hgroup { flex: 0 0 100%; height: 52px; padding-top: 10px; }
  .masthead .main-navbar { flex: 0 0 100%; min-height: 38px; }
  .masthead .site-search { width: 220px; margin-left: 25px; }
  .masthead .site-search input { height: 29px; }
  .masthead .navbar-nav .nav-link { padding-top: 7px; padding-bottom: 7px; }
  .homepage .hero { padding-bottom: 80px; }
  .homepage .module-promotion { min-height: 286px; }
  .homepage .hero .row { align-items: flex-end; }
  .homepage .module-feeds { min-height: 390px; padding: 20px 0 80px; }
  .site-footer .lang-select .form-group { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 5px; }
  .site-footer .lang-select label { margin: 0; width: auto; flex: 0 0 auto; }
  .site-footer .lang-select select { width: 220px; }
}
@media (max-width: 991.98px) {
  .homepage .container, .site-footer .container { padding-left: 12px; padding-right: 12px; }
  .masthead .navbar hgroup { max-width: calc(100% - 55px); }
  .homepage .module-promotion { margin-bottom: 10px; }
  .homepage .module-search .heading { font-size: 24px; }
  #footer-brasil { width: auto; left: auto; margin-left: -12px; margin-right: -12px; }
}
