.gi-top, .gi-foot { box-sizing: border-box; width: 100%; font-family: inherit; }
.gi-top { background: white; color: #171717; position: relative; z-index: 50; }
.gi-top-inner, .gi-foot-inner, .gi-credit { box-sizing: border-box; width: min(100%, 1480px); padding-inline: clamp(18px,3vw,40px); margin-inline: auto; }
.gi-top-inner { display: flex; gap: clamp(18px,2vw,35px); align-items: center; min-height: 76px; padding-block: 10px; position: relative; }
.gi-logo { margin-right: auto; display: block; min-width: 0; }
.gi-logo img { display: block; width: clamp(170px,19vw,290px); height: auto; max-width: 100%; }
.gi-top a, .gi-foot a { color: inherit; text-decoration: none; }
.gi-desktop-links { display: flex; gap: clamp(18px,2vw,35px); align-items: center; }
.gi-desktop-links a, .gi-drawer nav a { color: #171717; font-weight: 600; font-size: 16px; padding-block: 12px; }
.gi-top .gi-signin { background: #191919; color: white; text-decoration: none; white-space: nowrap; font-weight: 650; padding: 10px 19px; line-height: 24px; border-radius: 0; }
.gi-top a:hover, .gi-top a[aria-current], .gi-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.gi-top a:focus-visible, .gi-top summary:focus-visible { outline: 3px solid #d31a2a; outline-offset: 3px; }
.gi-foot a:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.gi-foot { background: #191919; color: #eee; }
.gi-foot-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding-block: 38px 22px; }
.gi-foot nav h2 { font-family: inherit; font-size: 18px; line-height: 1.3; font-weight: 700; color: white; margin: 0 0 10px; }
.gi-foot nav a { display: table; line-height: 1.5; padding-block: 4px; font-size: 15px; }
.gi-credit { padding-block: 0 18px; color: #c8c8c8; font-size: 13px; }
.gi-drawer { display: none; }
header.pagelayer-header .pagelayer-btn-holder { border-radius: 0 !important; }
body:has(.gi-top) #rmp_menu_trigger-817, body:has(.gi-top) #rmp-container-817 { display: none !important; }
@media (max-width: 720px) {
  .gi-top-inner { min-height: 66px; padding: 10px 12px; gap: 8px; }
  .gi-logo img { width: min(40vw,175px); }
  .gi-desktop-links { display: none; }
  .gi-top .gi-signin { font-size: 14px; padding: 10px 13px; }
  .gi-drawer { display: block; }
  .gi-drawer summary { display: grid; place-items: center; list-style: none; cursor: pointer; color: #191919; background: white; border: 1px solid #888; width: 44px; height: 44px; box-sizing: border-box; }
  .gi-drawer summary::-webkit-details-marker { display: none; }
  .gi-drawer summary span { width: 18px; height: 2px; background: currentColor; box-shadow: 0 -5px currentColor,0 5px currentColor; }
  .gi-drawer[open] summary { background: #191919; color: white; }
  .gi-drawer nav { display: grid; position: absolute; top: 100%; left: 0; right: 0; padding-inline: 16px; color: #191919; background: white; border-bottom: 2px solid #191919; }
  .gi-drawer nav a { display: block; border-top: 1px solid #ddd; }
  .gi-foot-inner { grid-template-columns: 1fr; gap: 22px; padding-block: 26px 18px; }
  .gi-foot nav a { padding-block: 8px; }
}

/* Direct campaign entry remains visible on mobile. */
.gi-top .gi-campaign { display: block; background: #c9162b; color: white; font-weight: 700; padding: 10px 19px; line-height: 24px; min-height: 44px; box-sizing: border-box; white-space: nowrap; text-align: center; border-radius: 0; }
@media (min-width: 721px) and (max-width: 900px) {
  .gi-top-inner { flex-wrap: wrap; justify-content: center; }
  .gi-logo { width: 100%; margin: 0; }
  .gi-logo img { margin-inline: auto; }
}
@media (max-width: 720px) {
  .gi-top-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "logo menu" "campaign login"; }
  .gi-logo { grid-area: logo; }
  .gi-signin { grid-area: login; }
  .gi-drawer { grid-area: menu; justify-self: end; }
  .gi-campaign { grid-area: campaign; width: 100%; }
}
