/* Clean homepage-style header on /best, /guides, and /tools pages only. */

/* Keep the menu in the top bar, same as the homepage, not on its own row. */
body.ds-prep .mast-status,
body.ds-hub .mast-status{
  order:2 !important;
  margin-left:auto !important;
  flex:0 0 auto !important;
}
body.ds-prep .mast-prep-links,
body.ds-hub .mast-prep-links{
  display:none !important;
}

/* Leftover gauges or status pills should never show on these pages. */
ul.lgs,
.mast-status > a.pill{
  display:none !important;
}

/* On a phone, the subtitle must not wrap the menu onto its own row. */
@media (max-width:860px){
  body.ds-prep .mast-in,
  body.ds-hub .mast-in{
    flex-wrap:nowrap !important;
    align-items:center !important;
    gap:8px !important;
  }
  body.ds-prep .mast-logo,
  body.ds-hub .mast-logo{
    flex:1 1 auto !important;
    min-width:0 !important;
    border:0 !important;
  }
  body.ds-prep .mast-txt,
  body.ds-hub .mast-txt{
    min-width:0;
    overflow:hidden;
  }
  body.ds-prep .mast-tag,
  body.ds-hub .mast-tag{
    white-space:nowrap !important;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:100% !important;
    display:block;
  }
  body.ds-prep .mast-status,
  body.ds-hub .mast-status{
    order:2 !important;
    margin-left:auto !important;
    flex:0 0 auto !important;
  }
}

.bestx .amazon-disclosure-top{
  font-size:.8rem;
  line-height:1.35;
  margin:0 0 .7rem;
}
.bestx .pick-card-top{
  margin:0 0 1rem;
}
.bestx .pick-specs{
  font-size:.88rem;
  line-height:1.4;
  color:var(--muted,#9aa2ab);
  margin:.4rem 0 0;
}
.psc-disclosure-after{
  font-size:.8rem;
  line-height:1.4;
  color:var(--mu,#8a8a8a);
  margin:1rem 0;
}

@media (max-width:400px){
  .bestx .crumbs{margin:0 0 .45rem;font-size:.78rem;}
  .bestx h1{margin:0 0 .3rem;line-height:1.2;font-size:1.35rem;}
  .bestx .byline{margin:0 0 .45rem;}
  .bestx .amazon-disclosure-top{margin:0 0 .55rem;}
  .bestx .pick-card-top{padding:.85rem;gap:.35rem;margin:0 0 .8rem;}
}
