/* The shared GolfersFirst brand and navigation. */
header.gf-header{display:block;padding:0;min-height:0;background:#fff;border:0;border-top:4px solid #bf9654;box-shadow:0 4px 24px #0c20351a;isolation:isolate}
.gf-header .gf-brand-row{display:flex;align-items:center;gap:28px;padding:10px 5%;min-height:94px;max-width:1600px;margin:auto}
header.gf-header .brand{width:190px;max-width:none;flex-shrink:0}.gf-header .brand img{width:100%;height:86px;object-fit:contain;object-position:left center}
.gf-header .gf-header-message{border-left:1px solid #dfd7c9;padding-left:28px;line-height:1.3}.gf-header-message>span{display:block;font-size:10px;font-weight:700;letter-spacing:.17em;color:#8a6734;margin-bottom:7px}.gf-header-message strong{font:normal 26px/1.1 Georgia,serif;color:#18304b}
.gf-header .gf-header-join{display:inline-flex;align-items:center;gap:22px;margin-left:auto;color:#142c47;border-bottom:2px solid #c29a5a;font-size:14px;font-weight:700;padding:10px 0;min-height:44px}.gf-header-join:hover{color:#8a6734}
header.gf-header nav{display:flex;width:100%;gap:4px;flex-wrap:nowrap;align-items:center;justify-content:center;background:linear-gradient(100deg,#102038,#1e3856);border-top:1px solid #2c4662;border-bottom:2px solid #bb9251;padding:6px 4%;margin:0;box-shadow:inset 0 1px 0 #ffffff07}
header.gf-header nav>a:not(.button),header.gf-header .rex-nav>summary{display:flex;align-items:center;gap:9px;min-height:46px;padding:12px 18px;border:0;border-radius:5px;background:transparent;color:#f2f5fa;box-shadow:none;font-size:14px;font-weight:600;letter-spacing:0;white-space:nowrap;line-height:1.4;transition:background .18s,color .18s}
header.gf-header .nav-icon{flex-shrink:0;color:#e6c489;opacity:.95}header.gf-header .rex-nav>summary::after{border-color:#d8bb8b;color:#d8bb8b;width:5px;height:5px;margin-left:4px}
header.gf-header nav>.start-here{border:0!important;background:#ffffff10;box-shadow:inset 0 -2px 0 #d6b16e}
header.gf-header nav>a:not(.button):hover,header.gf-header .rex-nav>summary:hover,header.gf-header .rex-nav[open]>summary{background:#ffffff14;color:#f3d69d;box-shadow:none}
header.gf-header nav>.button.small{display:inline-flex;gap:18px;margin-left:16px;padding:12px 20px;min-height:46px;border-radius:5px;border:1px solid #e5c68d;background:linear-gradient(120deg,#f0d59e,#d9b16a);color:#14243b;box-shadow:0 3px 10px #0002;font-size:14px;font-weight:700;white-space:nowrap}header.gf-header nav>.button.small:hover{background:#f4ddb1;color:#0c1b2d}
header.gf-header .rex-nav{position:relative}header.gf-header .rex-nav-options{top:calc(100% + 6px);min-width:275px;max-width:330px;border:1px solid #e2d8c7;border-top:3px solid #c3a064;border-radius:0 0 10px 10px;padding:9px;box-shadow:0 16px 36px #0b1f3930;background:#fff;color:#142239}
header.gf-header .rex-nav-options a{display:block;border-radius:6px;min-height:44px;padding:12px 14px;line-height:1.5;font-size:14px;color:#18304b;text-align:left}header.gf-header .rex-nav-options small{display:block;font-size:12px;font-weight:400;color:#5d6e80;margin-top:3px}header.gf-header .rex-nav-options a:hover{background:#f5f0e7;color:#142239}header.gf-header .sign-in-nav .rex-nav-options{left:auto;right:0}
header.gf-header :is(a,button,summary):focus-visible{outline:3px solid #d4ac65;outline-offset:3px}header.gf-header .menu{border:1px solid #b99558;border-radius:6px;background:#142a45;color:#f6dfb2;min-height:44px;padding:10px 16px}
@media(min-width:761px) and (max-width:1100px){header.gf-header nav{gap:2px;padding:6px 2%}header.gf-header nav>a:not(.button),header.gf-header .rex-nav>summary{padding:12px 10px;font-size:13px;gap:7px}header.gf-header nav>.button.small{margin-left:5px;padding:12px 14px;font-size:13px}.gf-header .gf-brand-row{padding-left:4%;padding-right:4%}}
@media(min-width:761px) and (max-width:880px){header.gf-header .nav-icon{display:none}header.gf-header nav>a:not(.button),header.gf-header .rex-nav>summary{padding:12px 9px}}
@media(max-width:760px){header.gf-header .gf-brand-row{padding:8px 5%;gap:14px;min-height:85px}.gf-header .brand img{height:68px}header.gf-header .brand{width:168px;max-width:calc(100% - 90px)}.gf-header .gf-header-message,.gf-header .gf-header-join{display:none}header.gf-header .menu{display:block;margin-left:auto}header.gf-header nav{display:none;align-items:stretch;padding:12px 5%;max-height:calc(100dvh - 90px);overflow-y:auto;overscroll-behavior:contain}header.gf-header nav.open{display:flex;flex-direction:column;gap:5px;max-height:calc(100dvh - 90px)}header.gf-header nav>a:not(.button),header.gf-header .rex-nav>summary{font-size:16px;padding:14px;min-height:49px}header.gf-header .rex-nav>summary::after{margin-left:auto}header.gf-header .rex-nav-options{position:static;min-width:0;max-width:none;margin:4px 0 8px;border-radius:6px;box-shadow:none}header.gf-header nav>.button.small{margin:8px 0 0;justify-content:center;font-size:16px;min-height:49px}.gf-header .gf-brand-row{max-width:none}}
@media(prefers-reduced-motion:reduce){header.gf-header *{transition:none}}

/* A single still masthead: Rex, GolfersFirst, and the ball flight. */
.gf-header .gf-brand-row{min-height:144px;gap:24px;padding-top:6px;padding-bottom:6px}
header.gf-header .brand{width:480px;max-width:calc(100% - 140px);line-height:0}
.gf-header .brand img{display:block;width:100%;height:auto;max-height:160px;object-fit:contain;object-position:left center}
@media(max-width:760px){.gf-header .gf-brand-row{min-height:108px;gap:12px;padding:7px 5%}header.gf-header .brand{width:280px;max-width:calc(100% - 82px)}.gf-header .brand img{width:100%;height:auto;max-height:100px}.gf-header .menu{flex-shrink:0}}

/* Independently position the illustration pieces to retain deliberate brand spacing. */
header.gf-header .brand{position:relative;overflow:visible}
.gf-header .brand>img:first-child{clip-path:polygon(20% 0,100% 0,100% 40%,90% 40%,90% 60%,82% 60%,82% 100%,20% 100%)}
.gf-header .brand>img.gf-rex-piece,.gf-header .brand>img.gf-green-piece{position:absolute;inset:0;width:100%;height:100%;max-height:none;pointer-events:none}
.gf-header .brand>img.gf-rex-piece{clip-path:inset(0 80% 0 0);transform:translateX(-3%)}
.gf-header .brand>img.gf-green-piece{clip-path:polygon(90% 40%,100% 40%,100% 100%,82% 100%,82% 60%,90% 60%);transform:translateX(3%)}

/* Modern Club is a complete composition; old illustration slices must not clip its letters. */
header.gf-header .brand.modern-club-brand>img:first-child{clip-path:none}

/* Approved navy signature masthead, with a live registration action. */
header.gf-header{background:#02163e;border-top:0}
.gf-header .gf-brand-row{min-height:168px;padding:7px 5%;background:#02163e;gap:32px}
header.gf-header .brand.modern-club-brand{width:480px;max-width:calc(100% - 210px);flex-shrink:1}
.gf-header .brand.modern-club-brand img{width:100%;height:auto;max-height:160px;object-fit:contain;clip-path:none}
.gf-header .gf-header-join{display:inline-flex;justify-content:center;align-items:center;margin-left:auto;gap:22px;border:1px solid #e6c584;border-radius:7px;background:linear-gradient(120deg,#f6dc95,#d9ac3d);color:#102342;min-height:52px;padding:14px 26px;text-decoration:none;font-size:17px;box-shadow:0 4px 14px #0002;flex-shrink:0}
.gf-header .gf-header-join:hover{background:#f5d88a;color:#071730}
header.gf-header nav{border-top:2px solid #d5b36d;background:linear-gradient(100deg,#142a47,#1c3654)}
@media(max-width:1100px) and (min-width:761px){.gf-header .gf-brand-row{min-height:134px}header.gf-header .brand.modern-club-brand{width:400px;max-width:calc(100% - 180px)}.gf-header .gf-header-join{padding:13px 19px;font-size:15px}}
@media(max-width:760px){.gf-header .gf-brand-row{min-height:108px;padding:8px 5%;gap:12px}.gf-header .gf-header-join{display:none}header.gf-header .brand.modern-club-brand{width:320px;max-width:calc(100% - 82px)}.gf-header .brand.modern-club-brand img{height:auto;max-height:110px}.gf-header .menu{background:#10294a;border-color:#d5b36d;color:#ffdf8b}}
@media(orientation:landscape) and (max-height:550px){.gf-header .gf-brand-row{min-height:110px;padding-top:5px;padding-bottom:5px}header.gf-header .brand.modern-club-brand{width:360px}.gf-header .brand.modern-club-brand img{max-height:110px}}

/* A simple, prominent registration link above the navigation. */
.gf-header .gf-header-join{background:none;border:0;border-radius:0;box-shadow:none;color:#f3d58c;font-size:24px;font-weight:700;min-height:48px;padding:10px 0;gap:18px;text-underline-offset:7px}
.gf-header .gf-header-join:hover{background:none;color:#fff0c3;text-decoration:underline}
.gf-header .gf-header-join:focus-visible{outline:2px solid #f3d58c;outline-offset:6px}
@media(max-width:1100px) and (min-width:761px){.gf-header .gf-header-join{font-size:22px;padding:10px 0}}

@media(min-width:761px){header.gf-header nav{justify-content:center;gap:clamp(12px,3vw,48px)}}
