/* Phase 11 visual stability fixes: lock desktop nav centering and refine the Black Male Voice Actor hero. */

@media (min-width: 1280px) {
  .nav__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
  }

  .nav__logo {
    margin-right: auto !important;
  }

  .nav__links {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    flex: none !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  .nav__actions {
    margin-left: auto !important;
  }
}

/* Black Male Voice Actor hero: keep the introduction clean, then present both demos together. */
.black-male-page .commercial-intro .commercial-actions {
  display: none !important;
}

@media (min-width: 901px) {
  .black-male-page #voice-demos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    max-width: 900px;
    margin-top: 30px;
  }

  .black-male-page #voice-demos .commercial-demo {
    width: 100%;
    max-width: none;
    margin-top: 0;
  }
}

@media (min-width: 1001px) {
  .black-male-page .commercial-intro__portrait {
    transform: translateY(-65px) !important;
  }
}

@media (min-width: 901px) and (max-width: 1000px) {
  .black-male-page .commercial-intro__portrait {
    transform: translateY(-30px) !important;
  }
}

@media (max-width: 900px) {
  .black-male-page .commercial-intro__portrait {
    transform: none !important;
  }

  .black-male-page #voice-demos {
    display: block;
    margin-top: 26px;
  }
}
