/* header.css */
.tjdf-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  padding: 16px 32px;
  background-color: #FFFFFF; /* branco */
  color: #000000;            /* texto preto */
}

.tjdf-header__logo img {
  height: 5.5rem;      /* 2.5 × 16px = 40px, igual escala do texto */
  width: auto;         /* preserva proporção original da imagem */
  margin-right: 1rem;
}

.tjdf-header__actions {
  margin-left: auto; /* garante que fique à direita */
}

.tjdf-header__textos h1 {
  margin: 0 0 4px;
  font-size: 1.75rem;
  font-weight: 700;
}

.tjdf-header__textos p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .tjdf-header {
    flex-direction: column;
    text-align: center;
  }
  .tjdf-header__logo {
    margin-bottom: 8px;
  }
}

.tjdf-header__return {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--blue-primary);
  color: #fff;
  padding: 0.4em 0.8em;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background-color .2s;
}

.tjdf-header__return:hover {
  background-color: var(--blue-primary-dk, #00465E);
}