/* Bandeau OM en émission — header dashboard (hauteur barre status) */
.page-template-templatesdashboard-php .dashboard-command-bar--status {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.page-template-templatesdashboard-php .dmr-header-on-air {
  justify-self: center;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.6rem;
  min-width: 0;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  line-height: 1.2;
  text-align: center;
  overflow: hidden;
}

.page-template-templatesdashboard-php .dmr-header-on-air[hidden] {
  display: none !important;
}

.page-template-templatesdashboard-php .dmr-header-on-air--live {
  color: var(--dmr-tx, #e74c3c);
}

.page-template-templatesdashboard-php .dmr-header-on-air--live .dmr-header-on-air__fname {
  color: var(--dmr-tx, #e74c3c);
}

.page-template-templatesdashboard-php .dmr-header-on-air--live .dmr-header-on-air__place {
  color: var(--dmr-tx, #e74c3c);
  opacity: 0.92;
}

.page-template-templatesdashboard-php .dmr-header-on-air--live .dmr-header-on-air__sep {
  color: rgba(231, 76, 60, 0.55);
  color: color-mix(in srgb, var(--dmr-tx, #e74c3c) 55%, transparent);
}

.page-template-templatesdashboard-php .dmr-header-on-air__who {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  max-width: min(18rem, 38vw);
}

.page-template-templatesdashboard-php .dmr-header-on-air__icon {
  flex: 0 0 auto;
  font-size: 0.875rem;
  line-height: 1;
  color: var(--dmr-tx, #e74c3c);
}

.page-template-templatesdashboard-php .dmr-header-on-air__fname {
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.page-template-templatesdashboard-php .dmr-header-on-air__sep {
  flex: 0 0 auto;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1;
  color: var(--dmr-muted, rgba(240, 244, 248, 0.45));
  user-select: none;
}

.page-template-templatesdashboard-php .dmr-header-on-air__place {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dmr-accent-2, #5dade2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(24rem, 44vw);
  min-width: 0;
}

@media (max-width: 768px) {
  .page-template-templatesdashboard-php .dashboard-command-bar--status {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .page-template-templatesdashboard-php .dashboard-command-bar__brand {
    justify-self: start;
  }

  .page-template-templatesdashboard-php .dmr-header-on-air {
    justify-self: stretch;
    flex-wrap: wrap;
    row-gap: 0.15rem;
  }

  .page-template-templatesdashboard-php .dmr-header-on-air__who,
  .page-template-templatesdashboard-php .dmr-header-on-air__place {
    max-width: 100%;
  }

  .page-template-templatesdashboard-php .dashboard-command-bar__meta {
    justify-self: stretch;
    justify-content: flex-start;
  }
}
