/* IHG's rule overrides, loaded after each IHG site's own styles.css (#1742).
   Every IHG site gets this file: the child sites have none of their own, so
   base.html links the parent's. It ships with the release; the per-site
   stylesheets under shared/custom-static/ do not. */

/* #1575 (11 Nov 2026): IHG's primary logo at the size IHG.com shows it, about
   140 x 50, and a larger menu. The header <img> carries width="100"
   height="20", so "width: auto" keeps the logo's shape. The menu still scales
   with the screen: 18px on a 1440px screen, from 16px. */
#site-nav .navbar-brand .navbar-item img {
  width: auto;
  height: 50px;
  max-height: 50px;
  max-width: none;
}
/* max-width: none above clears the clamp the site's own stylesheet puts on every
   img (max-width: 100%). That clamp resolves against this item's 128px content
   box, so the 419x150 logo was drawn 128x50 - 8.4% narrower than its own shape.
   The item is a fixed 144px at every viewport, so the logo keeps its shape
   inside the item's own padding. */

#site-nav .navbar-link a,
#site-nav a.navbar-item {
  font-size: clamp(0.7rem, 1.25vw, 1.45rem);
}

/* #1713 (12 Nov 2026): IHG asked for the small green line above each page
   heading to go: the site name on most pages, the member name on the
   dashboard (which already says "Welcome, <name>"). Hidden, not removed from
   the page, so nothing that reads it breaks. */
.page-hero .subtitle.has-text-success {
  display: none;
}
