/* Fairway Connections Classic | consistent seven-section public navigation.
 * Styling-only. Existing RSVP tab buttons retain their JS handlers and tokens. */
:root{--fairway-navy:#0a1b31;--fairway-gold:#c4a05e;--fairway-paper:#f3f5f7;--fairway-text:#14263a}
body.gd-journey,body:has(.gdps-unified-tabs){background:var(--fairway-paper);color:var(--fairway-text)}
.gdps-unified-tabs,
.gd-tabs {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:stretch!important;gap:10px!important;max-width:1120px;box-sizing:border-box;margin:18px auto 24px!important;}
.gdps-unified-tabs>a,.gdps-unified-tabs>button,
.gd-tabs>a,.gd-tabs>button {appearance:none;box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:55px!important;padding:12px 10px!important;border:1px solid #d4dce3!important;border-radius:12px!important;background:#fff!important;color:#11243b!important;font:700 14px/1.35 "Segoe UI",Arial,Helvetica,sans-serif!important;letter-spacing:0!important;text-align:center!important;text-decoration:none!important;flex:none!important;cursor:pointer;overflow-wrap:normal;word-break:normal;}
.gdps-unified-tabs>a:hover,.gdps-unified-tabs>button:hover,
.gd-tabs>a:hover,.gd-tabs>button:hover {background:#edf2f5!important;border-color:#9cabb8!important;}
.gdps-unified-tabs>.current,.gdps-unified-tabs>[aria-current="page"],
.gd-tabs>button[aria-selected="true"],.gd-tabs>.current {background:var(--fairway-navy)!important;border-color:var(--fairway-navy)!important;color:#fff!important;}
.gdps-unified-tabs>a:focus-visible,.gdps-unified-tabs>button:focus-visible,
.gd-tabs>a:focus-visible,.gd-tabs>button:focus-visible{outline:3px solid var(--fairway-gold)!important;outline-offset:2px!important;}
/* Preserve a stable order when the in-page RSVP tabs are enhanced by the companion. */
.gd-tabs>[data-gd-tab="rsvp"]{order:1}.gd-tabs>[data-gd-tab="event"]{order:2}.gd-tabs>[data-gd-tab="sponsor"]{order:3}
.gd-tabs>[data-gd-tab="who"],.gd-tabs>.gdps-who-link{order:4}
.gd-tabs>.gdps-invite-link{order:5}.gd-tabs>.gdps-prize-link{order:6}.gd-tabs>.gdps-more-link{order:7}
/* A wide final button feels intentional, rather than leaving an empty grid cell. */
@media(min-width:761px){.gdps-unified-tabs>:nth-child(7):last-child,.gd-tabs>:nth-child(7):last-child{grid-column:span 2}}
@media(max-width:760px){
 .gdps-unified-tabs,.gd-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:16px auto 22px!important}
 .gdps-unified-tabs>a,.gdps-unified-tabs>button,.gd-tabs>a,.gd-tabs>button{min-height:68px!important;padding:12px 9px!important;font-size:14px!important;border-radius:12px!important}
 .gdps-unified-tabs>:nth-child(7):last-child,.gd-tabs>:nth-child(7):last-child{grid-column:span 2}
}
@media(max-width:360px){.gdps-unified-tabs>a,.gdps-unified-tabs>button,.gd-tabs>a,.gd-tabs>button{font-size:12.5px!important}}
/* Unified companion hero treatment: authentic logo + live accessible headings. */
.gdps-pub-main-card,.gdps-hero,.gdps-more-intro{background:var(--fairway-navy)!important;color:#fff!important;border:1px solid #2a4055!important;border-top:3px solid var(--fairway-gold)!important;border-radius:16px!important;box-shadow:0 12px 25px rgba(8,23,41,.08)!important;}
.gdps-pub-main-card h1,.gdps-pub-main-card h2,.gdps-hero h1,.gdps-more-intro h1{color:#fff!important}
.gdps-pub-main-card .gdps-pub-intro,.gdps-pub-main-card .gdps-event-meta{color:#e0e7ef!important}
.gdps-pub-main-card .gdps-event-meta strong{color:#fff!important}
.gdps-pub-main-card .gdps-pub-eyebrow,.gdps-hero small,.gdps-more-eyebrow{color:#e4c386!important}
.gdps-pub-main-card .gdps-event-meta{border-top-color:#415165!important}
.gdps-shell,.gdps-pub-shell,.gdps-more-container{max-width:1120px}
.gdps-card,.gdps-pub-card:not(.gdps-pub-main-card),.gdps-more-panel{border-color:#dee4e9!important;border-radius:16px!important;box-shadow:0 7px 26px rgba(7,20,38,.05)!important}
.gdps-btn:not(.secondary),.gdps-pub-btn,.gdps-pub-add,.gdps-more-primary{border-radius:10px!important}
@media(prefers-reduced-motion:reduce){.gdps-unified-tabs>a,.gdps-unified-tabs>button,.gd-tabs>a,.gd-tabs>button{transition:none!important}}


/* vMobile 2026-10-24 — balanced seven-tab navigation with 44px+ touch targets.
 * The existing routes/URLs and selected state remain unchanged. */
@media (max-width: 760px) {
  .gdps-unified-tabs, .gd-tabs {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 7px !important;
    margin: 12px auto 14px !important;
  }
  .gdps-unified-tabs > a, .gdps-unified-tabs > button,
  .gd-tabs > a, .gd-tabs > button {
    min-height: 48px !important;
    padding: 9px 6px !important;
    font-size: clamp(12px,3.45vw,13.5px) !important;
    line-height: 1.22 !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    overflow-wrap: break-word;
  }
  .gdps-unified-tabs > :nth-child(7):last-child,
  .gd-tabs > :nth-child(7):last-child { grid-column: span 2; }
  .gdps-pub-shell { padding: 12px 14px 34px !important; }
  .gdps-more-container { padding: 12px 14px 34px !important; }
  .gdps-shell { padding-left: 14px !important; padding-right: 14px !important; }
  .gdps-pub-main-card, .gdps-hero, .gdps-more-intro {
    padding: 22px 19px !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    border-radius: 13px !important;
  }
  .gdps-pub-card:not(.gdps-pub-main-card), .gdps-more-panel { padding: 20px 18px !important; }
}
