/* Hubs polish (tools/hubs-polish.js links this last on the home pages and the series hubs). Layout and alignment only. */

/* Home, desktop: the Watch & play row lines up with the filter chips and story rails below it (same left and right edge) */
@media (min-width:761px){
  #view-library .ss .cr{max-width:none!important;padding-left:0!important;padding-right:0!important}
  #view-library .ss .cr-head{padding-left:2px!important;padding-right:0!important}
}

/* Series hubs, desktop: the secondary buttons are a quieter size, so five actions sit in two tidy rows instead of three ragged ones */
@media (min-width:761px){
  body.ott .ot-hero:not(.ot-ep-hero) .ot-btns{max-width:620px;gap:10px}
  body.ott .ot-hero:not(.ot-ep-hero) .ot-btn.ghost{flex:0 0 auto;min-height:46px;padding:0 16px;font-size:15px;gap:8px}
  body.ott .ot-hero:not(.ot-ep-hero) .ot-btn.ghost svg{width:16px;height:16px}
  body.ott .ot-hero:not(.ot-ep-hero) .ot-btn.play{flex:0 0 auto;min-height:46px}
}

/* Series hubs, phones: a lone secondary button (language hubs have only Print) spans the row instead of a cramped third */
@media (max-width:760px){
  body.ott .ot-hero:not(.ot-ep-hero) .ot-btns .ot-btn.play+.ot-btn:last-child{grid-column:1/-1}
}
