/* Post-migration fixes — loaded after platform CSS to ensure correct cascade order.
   Next.js bundles theme.css before <link> tags, so overrides must go here. */

/* Fix: body margin-top:78px from platform CSS overrides theme.css body{margin-top:0}
   because Next.js loads bundled CSS before <link> stylesheets */
body {
  margin-top: 0;
}

/* Fix: nav items wrap to second line before checkBucket() hides overflow items.
   The JSX has inline display:list-item on all items (needed for initial render),
   but checkBucket() runs on window.onload which fires after images load.
   overflow:hidden clips any wrapped items during that gap. */
.nav-full {
  overflow: hidden;
}

/* Fix: the overflow:hidden above also clipped the Services dropdown (position:absolute
   descendant of .nav-full, top:80px). Lift the clip only while a .drop item is hovered
   so the submenu can escape. :has() support: Chrome 105, Safari 15.4, Firefox 121. */
.nav-full:has(li.drop:hover) {
  overflow: visible;
}

/* Riviera book-online dialog backdrop */
#riviera-book-online-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}
