/* Navegação complementar: mantém o catálogo como destaque da página. */
nav.ebrarte-estudos {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 18px;
  padding: 8px 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #dce7e8;
  font-family: inherit;
  line-height: 1.35;
}
nav.ebrarte-estudos .estudos-label {
  color: #506a70;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  white-space: nowrap;
}
nav.ebrarte-estudos .estudos-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}
nav.ebrarte-estudos .estudos-links > a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  margin: 0;
  padding: 8px 10px;
  color: #204b60;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: none;
}
/* Os atributos HTML também limitam os ícones caso o CSS não carregue. */
nav.ebrarte-estudos .estudos-links > a > svg {
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex: 0 0 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle;
  color: #27816c;
}
nav.ebrarte-estudos .estudos-links > a.atalho-portal {
  background: #174b63;
  border-color: #174b63;
  color: #fff;
  padding-left: 13px;
  padding-right: 13px;
  margin-right: 5px;
}
nav.ebrarte-estudos .estudos-links > a.atalho-portal > svg { color: #fff; }
nav.ebrarte-estudos .estudos-links > a:hover { background: #edf5f2; color: #174b63; }
nav.ebrarte-estudos .estudos-links > a.atalho-portal:hover { background: #24647a; color: #fff; }
nav.ebrarte-estudos .estudos-links > a:focus { outline: 2px solid #27816c; outline-offset: 2px; }
@media (max-width: 680px) {
  nav.ebrarte-estudos { display: block; margin-bottom: 14px; padding-top: 5px; }
  nav.ebrarte-estudos .estudos-label { display: block; margin-bottom: 7px; }
  nav.ebrarte-estudos .estudos-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 8px; }
  nav.ebrarte-estudos .estudos-links > a { justify-content: flex-start; min-height: 44px; padding: 9px 10px; }
  nav.ebrarte-estudos .estudos-links > a.atalho-portal { grid-column: 1 / -1; justify-content: center; margin-right: 0; }
}
