/* Cabecera pública de la AVVB y acceso a BIBLIOCKS. */
.masthead .brand .avvb-official {
  width: auto;
  height: 48px;
  max-height: none;
  flex: none;
  border-radius: 0;
  object-fit: contain;
}
.mast-inner .bibliocks-access {
  flex: none;
  margin-inline-start: auto;
  white-space: nowrap;
  padding: .44rem .71rem;
  gap: .5rem;
  font-size: .87rem;
  background: var(--green);
  color: #fff;
}
.bibliocks-access .bibliocks-b30-logo {
  display: block;
  width: auto;
  height: 25px;
  flex: none;
  object-fit: contain;
}
.mast-inner .bibliocks-access + .mast-tools { margin-inline-start: 0; }
.bibliocks-commission { margin-bottom: 1.35rem; }
.bibliocks-commission .feature { max-width: 65ch; }

@media (max-width: 1060px) {
  .masthead .mast-inner { gap: .6rem; }
  .mast-inner .mast-tools .demo-status { display: none; }
}

@media (max-width: 740px) {
  .masthead .mast-inner {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: .42rem .55rem;
    padding-block: .45rem;
  }
  .masthead .mast-inner .brand { grid-column: 1; grid-row: 1; min-width: 0; }
  .masthead .brand .avvb-official { height: 38px; }
  .masthead .mast-tools { grid-column: 2; grid-row: 1; justify-self: end; }
  .mast-inner .bibliocks-access { grid-column: 1/-1; grid-row: 2; margin: 0; }
}

@media (max-height: 560px) {
  header:not([hidden]) { position: sticky; }
  .masthead .brand .avvb-official { height: 34px; }
  .masthead .mast-inner { min-height: 54px; }
  .nav-list a { padding-block: .42rem; }
  .commission-list a { min-height: 42px; padding-block: .35rem; }
}
