/* =========================================================
   OSBEATS GLOBAL PAGE HEADER STANDARD V1
   Main user-facing Marketplace pages only.
   Admin and Moderator intentionally excluded.
   ========================================================= */


/* ---------------------------------------------------------
   SHARED PAGE-LEVEL HEADER SHELL
   --------------------------------------------------------- */

.music-hero,
.dashboard-hero,
.membership-hero,
.br-hero,
.creator-toolbar,
body:not(.embedded-settings) .page-head,
.page > .hero,
.faq-hero{
  box-sizing:border-box !important;

  width:100% !important;

  background:
    linear-gradient(
      135deg,
      #08090c 0%,
      #0d1015 62%,
      #15090b 100%
    ) !important;

  border:
    1px solid
    rgba(255,255,255,.08) !important;

  border-left:
    4px solid
    #e01822 !important;

  border-radius:
    8px !important;

  box-shadow:
    0 12px 28px
    rgba(0,0,0,.20) !important;

  padding:
    22px 24px !important;

  color:
    #ffffff !important;
}


/* Dashboard has an inner wrapper. */

.dashboard-hero{
  padding:
    0 !important;
}

.dashboard-hero-inner{
  box-sizing:border-box !important;

  width:100% !important;

  max-width:none !important;

  padding:
    22px 24px !important;
}


/* ---------------------------------------------------------
   TWO-COLUMN HEADER LAYOUTS
   --------------------------------------------------------- */

.music-hero,
.br-hero,
.creator-toolbar,
body:not(.embedded-settings) .page-head,
.page > .hero{
  display:flex !important;

  align-items:center !important;

  justify-content:
    space-between !important;

  gap:
    24px !important;
}


/* ---------------------------------------------------------
   EYEBROW / KICKER
   --------------------------------------------------------- */

.music-hero > div:first-child > span:first-child,
.dashboard-hero .eyebrow,
.membership-hero .eyebrow,
.br-hero .br-eyebrow,
.creator-toolbar .eyebrow,
body:not(.embedded-settings) .page-head > div:first-child > span:first-child,
.page > .hero .eyebrow,
.faq-hero > div > span:first-child{
  display:block !important;

  margin:
    0 0 6px !important;

  color:
    #ef2a33 !important;

  font-size:
    10px !important;

  line-height:
    1.2 !important;

  font-weight:
    900 !important;

  letter-spacing:
    .16em !important;

  text-transform:
    uppercase !important;
}


/* ---------------------------------------------------------
   MAIN PAGE TITLE
   --------------------------------------------------------- */

.music-hero h1,
.dashboard-hero h1,
.membership-hero h1,
.br-hero h1,
.creator-toolbar h1,
body:not(.embedded-settings) .page-head h1,
.page > .hero h1,
.faq-hero h1{
  margin:
    0 !important;

  color:
    #ffffff !important;

  font-size:
    clamp(
      28px,
      3vw,
      38px
    ) !important;

  line-height:
    1.05 !important;

  font-weight:
    900 !important;

  letter-spacing:
    -.025em !important;
}


/* ---------------------------------------------------------
   HEADER DESCRIPTION
   --------------------------------------------------------- */

.music-hero > div:first-child > p,
.dashboard-hero p,
.membership-hero > p,
.br-hero > div:first-child > p,
.creator-toolbar > div:first-child > p,
body:not(.embedded-settings) .page-head > div:first-child > p,
.page > .hero > div:first-child > p,
.faq-hero > div > p{
  margin:
    8px 0 0 !important;

  max-width:
    820px !important;

  color:
    #c9ced7 !important;

  font-size:
    13px !important;

  line-height:
    1.5 !important;
}


/* ---------------------------------------------------------
   RIGHT-SIDE PAGE ACTIONS / SUMMARY
   --------------------------------------------------------- */

.music-stats,
.creator-toolbar-actions,
body:not(.embedded-settings) .settings-refresh,
.range-area,
.page > .hero .hero-actions{
  flex:
    0 0 auto !important;

  margin:
    0 !important;
}


/* Keep top actions compact and aligned. */

.creator-toolbar-actions,
body:not(.embedded-settings) .settings-head-actions,
.range-tools,
.page > .hero .hero-actions{
  display:flex !important;

  align-items:center !important;

  justify-content:
    flex-end !important;

  flex-wrap:
    wrap !important;

  gap:
    8px !important;
}


/* ---------------------------------------------------------
   HEADER BUTTONS / SELECTS
   --------------------------------------------------------- */

.creator-toolbar-actions a,
.br-hero > button,
body:not(.embedded-settings) .settings-head-actions a,
body:not(.embedded-settings) .settings-head-actions button,
.range-tools button,
.range-tools select,
.page > .hero .hero-actions button{
  min-height:
    34px !important;

  border-radius:
    5px !important;
}


/* ---------------------------------------------------------
   STATUS TEXT
   --------------------------------------------------------- */

.range-area small,
body:not(.embedded-settings) .settings-refresh > small,
.page > .hero .hero-actions small{
  display:block !important;

  margin-top:
    6px !important;

  color:
    #aeb7c4 !important;

  font-size:
    10px !important;

  line-height:
    1.3 !important;

  text-align:
    right !important;
}


/* ---------------------------------------------------------
   LIBRARY HEADER STATS
   --------------------------------------------------------- */

.music-stats{
  display:grid !important;

  grid-template-columns:
    repeat(3,minmax(84px,1fr)) !important;

  gap:
    8px !important;
}

.music-stats article{
  min-width:
    84px !important;

  background:
    rgba(255,255,255,.035) !important;

  border:
    1px solid
    rgba(255,255,255,.08) !important;

  border-radius:
    6px !important;
}


/* ---------------------------------------------------------
   MEMBERSHIP
   --------------------------------------------------------- */

.membership-hero{
  display:block !important;
}


/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */

.faq-hero{
  display:block !important;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media(max-width:820px){

  .music-hero,
  .br-hero,
  .creator-toolbar,
  body:not(.embedded-settings) .page-head,
  .page > .hero{
    align-items:flex-start !important;

    flex-direction:
      column !important;
  }

  .music-stats,
  .creator-toolbar-actions,
  body:not(.embedded-settings) .settings-refresh,
  .range-area,
  .page > .hero .hero-actions{
    width:
      100% !important;
  }

  .creator-toolbar-actions,
  body:not(.embedded-settings) .settings-head-actions,
  .range-tools,
  .page > .hero .hero-actions{
    justify-content:
      flex-start !important;
  }

  .range-area small,
  body:not(.embedded-settings) .settings-refresh > small,
  .page > .hero .hero-actions small{
    text-align:
      left !important;
  }

}


@media(max-width:520px){

  .music-hero,
  .dashboard-hero-inner,
  .membership-hero,
  .br-hero,
  .creator-toolbar,
  body:not(.embedded-settings) .page-head,
  .page > .hero,
  .faq-hero{
    padding:
      18px 16px !important;
  }

  .music-stats{
    grid-template-columns:
      repeat(3,1fr) !important;
  }

}


/* END OSBEATS GLOBAL PAGE HEADER STANDARD V1 */
