
/* Header nav: keep the Buy The Book button on the same row as the links (Oct 27, 2026). Halloween moved to the footer. */
@media (min-width:768px) and (max-width:1279px){
  .header-display-desktop .header-nav-list{flex-wrap:nowrap!important}
  .header-display-desktop .header-nav-item{margin-left:3px!important;margin-right:3px!important;white-space:nowrap}
  .header-display-desktop .header-nav-item a{font-size:12.5px!important}
  .header-display-desktop .header-nav-item--external .rh-rate{display:none!important}
}
/* narrower screens: drop links that are also in the footer so the row fits */
@media (min-width:768px) and (max-width:1199px){
  .header-display-desktop .header-nav-item:has(> a[href="/blog"]),
  .header-display-desktop .header-nav-item:has(> a[href*="educators"]),
  .header-display-desktop .header-nav-item:has(> a[href*="lesson"]){display:none!important}
}
/* Cross-link cards: six cards sit in a tidy 3 by 2 grid instead of 5 plus 1 (Nov 2, 2026). */
@media (min-width:900px){
  .rtt-xl__grid:has(> li:nth-child(6):last-child){grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
/* Christmas Events added to the header (Nov 2, 2026). Blog and Free Lesson Plans stay in the footer on desktop, and Dogs on Trains drops below 1366px, so the row fits on one line. */
@media (min-width:768px){
  .header-display-desktop .header-nav-item:has(> a[href="/blog"]),
  .header-display-desktop .header-nav-item:has(> a[href*="educators"]){display:none!important}
  .header-display-desktop .header-nav-list{flex-wrap:nowrap!important}
  .header-display-desktop .header-nav-item{white-space:nowrap}
}
@media (min-width:768px) and (max-width:1365px){
  .header-display-desktop .header-nav-item:has(> a[href="/dogs-on-trains"]){display:none!important}
}
@media (min-width:768px) and (max-width:919px){
  .header-display-desktop .header-nav-item a{font-size:12px!important}
  .header-display-desktop .header-nav-item:has(> a[href="/our-story"]),
  .header-display-desktop .header-nav-item:has(> a[href*="christmas"]){display:none!important}
}
