/* Rebirth site chrome - the shared menu and footer built by site.js.
   Loaded after partner.css, which carries the base nav and footer. */

.nav-links a[aria-current="page"]:not(.btn) { color: var(--orange); }
.nav-links { gap: 26px; }

.foot-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .foot-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .foot-cols-4 { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot a { font-size: 16px; }
}

/* ---------------- phone menu ----------------
   Matches the main site's: a cream panel slides in from the right over a
   soft shade, with the logo, a round dark close button and one white card
   per page. The current page is dark with a cyan dot and a cyan bar. */
.drawer-shade, .drawer { display: none; }
@media (max-width: 960px) {
  .nav-links { display: none !important; }
  .drawer-shade { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.2); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .drawer { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; z-index: 100; width: min(320px, 86vw); height: 100dvh; background: var(--cream); box-shadow: -20px 0 50px rgba(0,0,0,.18); transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
  body.drawer-open .drawer-shade { opacity: 1; pointer-events: auto; }
  body.drawer-open .drawer { transform: none; }
  body.drawer-open { overflow: hidden; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 24px; border-bottom: 1px solid var(--line); }
  .drawer-head img { height: 34px; width: auto; }
  .drawer-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #1a1024; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
  .drawer-close svg { width: 20px; height: 20px; }
  .drawer-list { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; overflow-y: auto; }
  .drawer-item { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-radius: 18px; background: #fff; color: #1a1024; font-size: 19px; font-weight: 500; text-decoration: none; transition: transform .2s, box-shadow .2s; }
  .drawer-item:active { transform: scale(.98); }
  .drawer-dot { width: 9px; height: 9px; border-radius: 50%; background: #d4d4d8; }
  .drawer-item[aria-current="page"] { background: #1a1024; color: #fff; box-shadow: 0 10px 24px rgba(26,16,36,.25); }
  .drawer-item[aria-current="page"] .drawer-dot { background: var(--cyan); }
  .drawer-item[aria-current="page"]::before { content: ""; position: absolute; left: -10px; top: 50%; width: 4px; height: 32px; margin-top: -16px; border-radius: 4px; background: var(--cyan); }
}
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-shade { transition: none; } }
@media (max-width: 960px) {
  .drawer-apply { margin-top: 18px; display: flex; align-items: center; justify-content: center; min-height: 58px; border-radius: 18px; background: var(--cyan); color: #fff; font-size: 19px; font-weight: 600; text-decoration: none; box-shadow: 0 10px 24px rgba(0,200,248,.3); }
  .drawer-apply:active { transform: scale(.98); }
}
