/**
 * @file
 * Subheader component.
 *
 * Blue-light bar above header: "Sources médicales & comité de relecture"
 * Figma: Subheader Desktop (1282:5333).
 */

.subheader {
  display: none; /* Masqué temporairement — page pas encore prête */
  background: var(--color-blue-light);
  border: 1px solid var(--color-blue);
  text-align: center;
  transition: background var(--transition-base);
  position: relative;
  z-index: 101;
}

.subheader:hover {
  background: var(--color-blue);
}

.subheader__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1440px;
  margin-inline: auto;
  padding: 7px 0px;
}

.subheader__link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-blue);
  text-decoration: underline;
  line-height: 1.5;
  transition: color var(--transition-base);
}

.subheader:hover .subheader__link {
  color: var(--color-white);
  text-decoration: none;
}

/* Mobile */
@media (max-width: 768px) {
  .subheader {
    padding: 1px 0 1px;
  }

  .subheader__link {
    font-size: 11px;
  }
}
