:root{--navy:#092b3b;--navy-deep:#061e2a;--teal:#0e6670;--gold:#d5b477;--ink:#19313c;--muted:#63747b;--cream:#f5f3ee;--white:#fff;--line:#e1e7e8}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);line-height:1.7}a{color:var(--teal)}a:hover{color:#084a52}.skip-link{position:absolute;left:-9999px;top:0;background:#fff;padding:.7rem;z-index:2000}.skip-link:focus{left:1rem;top:1rem}.top-strip{background:var(--navy-deep);color:#d8e3e5;font-size:.8rem;padding:.35rem 0}.top-strip a{color:#fff;text-decoration:none}.site-header{background:var(--navy);position:relative;z-index:10}.navbar{padding:1rem 0}.navbar-brand{display:flex;align-items:center;gap:.7rem;color:#fff!important;white-space:nowrap}.club-logo{display:block;width:58px;height:58px;flex:0 0 58px;object-fit:contain;background:#fff;border-radius:50%;border:1px solid rgba(255,255,255,.5)}.brand-name{font-size:.85rem;letter-spacing:.13em;font-weight:750;line-height:1.25}.brand-name small{display:block;font-size:.62rem;color:var(--gold);letter-spacing:.2em;margin-top:.2rem}.navbar .nav-link{color:#e0e9eb;padding:.65rem .7rem!important;font-size:.91rem}.navbar .nav-link:hover,.navbar .nav-link.active{color:var(--gold)}.hero-section{min-height:650px;position:relative;display:flex;align-items:center;color:#fff;background:linear-gradient(90deg,rgba(4,27,39,.91),rgba(4,27,39,.55)),url('../images/hero-waterfront.jpg') center/cover no-repeat;background-color:#153c4a}.hero-content{position:relative;padding-top:6rem;padding-bottom:6rem}.eyebrow{text-transform:uppercase;letter-spacing:.2em;font-size:.75rem;font-weight:800;color:var(--teal);margin-bottom:1rem}.hero-section .eyebrow,.heritage-band .eyebrow,.page-hero .eyebrow{color:var(--gold)}h1,h2,h3{line-height:1.18;letter-spacing:-.025em}h1{font-size:clamp(2.7rem,6vw,5.4rem);font-weight:750;max-width:900px}h1 span{color:var(--gold)}.hero-copy{max-width:600px;font-size:1.13rem;color:#e1e9eb;margin:1.5rem 0 2rem}.btn{border-radius:2px;font-weight:650;padding:.75rem 1.2rem}.btn-club-primary{background:var(--teal);border-color:var(--teal);color:#fff}.btn-club-primary:hover{background:#084c54;border-color:#084c54;color:#fff}.btn-club-light{background:#fff;color:var(--navy);border-color:#fff}.btn-club-light:hover{background:var(--cream);color:var(--navy)}.section-padding{padding:5.5rem 0}.section-heading{max-width:760px}.section-heading h2,.content-narrow h2{font-size:clamp(2rem,4vw,3.15rem);font-weight:720;margin-bottom:1rem}.section-heading>p:last-child{color:var(--muted)}.feature-card,.event-card,.value-card{border:1px solid var(--line);padding:2rem;background:#fff}.feature-number,.event-index{display:block;color:var(--gold);font-size:.8rem;font-weight:800;letter-spacing:.15em;margin-bottom:1.5rem}.feature-card h3,.event-card h2,.value-card h3{font-size:1.35rem;font-weight:720;margin-bottom:.8rem}.feature-card p,.event-card p,.value-card p{color:var(--muted)}.text-link{font-weight:750;text-decoration:none}.heritage-band{background:var(--navy);color:#fff;padding:1rem 0}.heritage-band h2{font-size:clamp(2.2rem,4vw,3.5rem);margin-bottom:1rem}.heritage-band p:not(.eyebrow){color:#d6e1e3;max-width:620px}.page-hero{background:linear-gradient(110deg,var(--navy),#124957);color:#fff;padding:5rem 0}.page-hero h1{font-size:clamp(2.5rem,5vw,4.5rem)}.page-hero p:last-child{max-width:700px;color:#d6e1e3;font-size:1.1rem}.content-narrow{max-width:960px}.content-narrow>p{color:#52666d}.value-card{background:var(--cream);height:100%}.contact-highlight{padding:2rem;background:var(--cream);border-left:4px solid var(--gold)}.gallery-note{max-width:760px}.gallery-placeholder{min-height:260px;display:flex;align-items:end;padding:1.5rem;color:#fff;font-size:1.15rem;font-weight:700;background:linear-gradient(0deg,rgba(4,27,39,.8),transparent 70%),#244b57}.gallery-placeholder-one{background-image:linear-gradient(0deg,rgba(4,27,39,.8),transparent 70%),url('../images/gallery-waterfront.jpg');background-size:cover;background-position:center}.gallery-placeholder-two{background-image:linear-gradient(0deg,rgba(4,27,39,.8),transparent 70%),url('../images/gallery-events.jpg');background-size:cover;background-position:center}.gallery-placeholder-three{background-image:linear-gradient(0deg,rgba(4,27,39,.8),transparent 70%),url('../images/gallery-clubhouse.jpg');background-size:cover;background-position:center}.gallery-placeholder-four{background-image:linear-gradient(0deg,rgba(4,27,39,.8),transparent 70%),url('../images/gallery-history.jpg');background-size:cover;background-position:center}.contact-detail{display:flex;gap:1rem;margin:1.5rem 0}.contact-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;background:var(--cream);color:var(--teal);font-size:1.2rem}.contact-detail strong{display:block}.contact-detail p{margin:.2rem 0;color:var(--muted)}.contact-detail a{text-decoration:none}.form-panel{padding:clamp(1.25rem,4vw,2.5rem);border:1px solid var(--line);box-shadow:0 15px 45px rgba(9,43,59,.06)}.form-label{font-weight:650;font-size:.92rem}.form-control{border-radius:2px;border-color:#ccd7da;padding:.8rem}.form-control:focus{border-color:var(--teal);box-shadow:0 0 0 .2rem rgba(14,102,112,.12)}.hp-field{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.site-footer{background:var(--navy-deep);color:#d1dcdf}.footer-brand{margin-bottom:.6rem}.footer-intro{max-width:350px;color:#aebfc4}.footer-heading{font-size:1rem;color:#fff;margin-bottom:1.2rem}.footer-links{list-style:none;padding:0;margin:0}.footer-links li{margin:.4rem 0}.site-footer a{color:#d1dcdf;text-decoration:none}.site-footer a:hover{color:var(--gold)}.footer-bottom{border-top:1px solid rgba(255,255,255,.14);padding:1.1rem 0;font-size:.8rem;color:#9eb1b7}
@media(max-width:991.98px){.navbar .nav-link{padding:.55rem 0!important}.hero-section{min-height:570px}.section-padding{padding:4rem 0}.page-hero{padding:4rem 0}}@media(max-width:575.98px){.top-strip .container{gap:.5rem;font-size:.72rem}.club-logo{width:46px;height:46px;flex-basis:46px}.brand-name{font-size:.74rem}.hero-section{min-height:540px}.hero-content{padding-top:4rem;padding-bottom:4rem}.hero-copy{font-size:1rem}.feature-card,.event-card,.value-card{padding:1.5rem}.gallery-placeholder{min-height:220px}}

/* Committee page */
.committee-hero{background:linear-gradient(110deg,rgba(6,30,42,.97),rgba(9,43,59,.82)),url('../images/hero-waterfront.jpg') center/cover no-repeat}
.committee-section{background:#fbfaf7}
.committee-intro{max-width:720px;margin-bottom:2.5rem}
.committee-card{background:#fff;border:1px solid #e5e8e7;transition:transform .25s ease,box-shadow .25s ease}
.committee-card:hover{transform:translateY(-4px);box-shadow:0 16px 35px rgba(9,43,59,.1)}
.committee-photo-wrap{aspect-ratio:4/4.7;overflow:hidden;background:#e8ecec}
.committee-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center 28%}
.committee-card-copy{padding:1.1rem 1rem 1.25rem;border-top:2px solid var(--gold)}
.committee-card-copy h2{font-size:1.05rem;line-height:1.35;font-weight:750;margin:0 0 .35rem;letter-spacing:-.01em}
.committee-card-copy p{font-size:.86rem;color:var(--teal);margin:0}
@media(max-width:575.98px){.committee-card-copy{padding:.8rem .7rem 1rem}.committee-card-copy h2{font-size:.94rem}.committee-card-copy p{font-size:.78rem}.committee-photo-wrap{aspect-ratio:4/4.8}}
@media(prefers-reduced-motion:reduce){.committee-card{transition:none}.committee-card:hover{transform:none}}

.footer-logo{width:58px;height:58px;flex-basis:58px}.footer-brand{display:inline-flex;align-items:center}
@media(max-width:575.98px){.footer-logo{width:46px;height:46px;flex-basis:46px}}

/* Home page committee preview */
.committee-preview-section{background:#fbfaf7}
.committee-preview-heading{max-width:100%}
.committee-preview-heading h2{font-size:clamp(2rem,4vw,3.15rem);font-weight:750;margin-bottom:.8rem}
.committee-preview-heading p:not(.eyebrow){color:var(--muted);max-width:650px}
.btn-outline-club{border:1px solid var(--navy);color:var(--navy);background:transparent}
.btn-outline-club:hover{background:var(--navy);color:#fff}
.committee-preview-card{background:#fff;border:1px solid var(--line);transition:transform .25s ease,box-shadow .25s ease}
.committee-preview-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(9,43,59,.1)}
.committee-preview-photo-wrap{aspect-ratio:4/4.6;overflow:hidden;background:#e8ecec}
.committee-preview-photo-wrap img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 28%}
.committee-preview-copy{padding:1rem;border-top:2px solid var(--gold)}
.committee-preview-copy h3{font-size:1rem;font-weight:750;line-height:1.35;margin:0 0 .35rem}
.committee-preview-copy p{font-size:.84rem;color:var(--teal);margin:0}
@media(max-width:575.98px){.committee-preview-copy{padding:.75rem}.committee-preview-copy h3{font-size:.9rem}.committee-preview-copy p{font-size:.76rem}}
@media(prefers-reduced-motion:reduce){.committee-preview-card{transition:none}.committee-preview-card:hover{transform:none}}

/* Lagos Motor Boat Club visit feature */
.club-visit-section{background:#fff}
.club-visit-gallery{position:relative;min-height:430px;padding:0 3rem 3rem 0}
.club-visit-image{margin:0;overflow:hidden;background:#e8ecec;box-shadow:0 18px 40px rgba(9,43,59,.13)}
.club-visit-image img{display:block;width:100%;height:100%;object-fit:cover}
.club-visit-image-main{width:82%;height:390px}
.club-visit-image-secondary{position:absolute;width:48%;height:220px;right:0;bottom:0;border:8px solid #fff}
.club-visit-title{font-size:clamp(2rem,4vw,3.2rem);font-weight:750;margin-bottom:1.2rem}
.club-visit-section p:not(.eyebrow){color:var(--muted)}
.club-visit-note{border-left:2px solid var(--gold);padding-left:1rem;font-style:italic}
@media(max-width:767.98px){.club-visit-gallery{min-height:330px;padding:0 2rem 2rem 0}.club-visit-image-main{height:300px}.club-visit-image-secondary{height:170px;width:52%;border-width:5px}}
@media(max-width:575.98px){.club-visit-gallery{min-height:285px}.club-visit-image-main{height:255px}.club-visit-image-secondary{height:135px}}

/* About ABC page */
.about-hero{background:linear-gradient(110deg,rgba(6,30,42,.96),rgba(9,43,59,.77)),url('../images/history/about-club.jpg') center 45%/cover no-repeat}
.about-intro-section{background:#fff}
.about-intro-image{position:relative;padding:0 1.5rem 1.5rem 0}
.about-intro-image:after{content:"";position:absolute;right:0;bottom:0;width:48%;height:48%;border-right:3px solid var(--gold);border-bottom:3px solid var(--gold);z-index:0;pointer-events:none}
.about-intro-image img{display:block;position:relative;z-index:1;width:100%;aspect-ratio:4/3;object-fit:cover;box-shadow:0 18px 40px rgba(9,43,59,.12)}
.about-image-caption{position:absolute;z-index:2;left:0;bottom:2rem;background:#09233B;color:#fff;padding:.7rem 1rem;font-size:.82rem;letter-spacing:.04em}
.about-section-title{font-size:clamp(2rem,4vw,3.15rem);line-height:1.14;letter-spacing:-.035em;font-weight:750;margin-bottom:1.2rem}
.about-intro-section p:not(.eyebrow){color:var(--muted);line-height:1.85}
.about-values-section{background:#f6f4ef}
.about-value-card{background:#fff;border:1px solid #e7e4dc;padding:2rem 1.6rem;border-top:3px solid var(--gold)}
.about-value-number{display:inline-block;color:#b08d50;font-size:.8rem;letter-spacing:.14em;font-weight:800;margin-bottom:1.4rem}
.about-value-card h3{font-size:1.35rem;font-weight:750;margin-bottom:.9rem}
.about-value-card p{color:var(--muted);line-height:1.8;margin-bottom:0}
.about-values-list{list-style:none;padding:0;margin:0}
.about-values-list li{padding:.45rem 0;border-bottom:1px solid #ece9e1;color:var(--muted)}
.about-values-list li:last-child{border-bottom:0}
/* About page: chronological tree timeline */
.history-section{background:#fbfaf7;overflow:hidden;position:relative}
.history-heading{max-width:800px;margin:0 auto 4.25rem;text-align:center}
.history-heading .eyebrow{color:#b47b2c;letter-spacing:.24em}
.history-heading h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2rem,4.2vw,3.15rem);font-weight:700;line-height:1.15;color:#092b3b;margin-bottom:1rem}
.history-heading>p:last-child{max-width:660px;margin-inline:auto;color:#64727a}
.history-timeline{position:relative;isolation:isolate;max-width:1120px;margin:0 auto;padding:0 1rem}
.history-timeline:before{content:"";position:absolute;z-index:-1;top:1.3rem;bottom:1.3rem;left:50%;width:2px;background:linear-gradient(to bottom,#c18a3e 0%,#dfd0b4 50%,#c18a3e 100%);transform:translateX(-50%)}
.history-item{display:grid;grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr);align-items:center;column-gap:1.15rem;position:relative;min-width:0;margin:0 0 2.25rem;padding:0 0 1.2rem}
.history-item:last-child{margin-bottom:0;padding-bottom:0}
.history-item:after{content:"";position:absolute;left:50%;bottom:-.25rem;width:12px;height:12px;border-radius:50%;background:#bd8537;box-shadow:0 0 0 4px #fbfaf7;transform:translateX(-50%)}
.history-item:last-child:after{display:none}
.history-item-media{grid-column:1;grid-row:1;min-width:0;position:relative;background:#fff;padding:5px;border:1px solid #eee7da;box-shadow:0 5px 18px rgba(20,38,45,.13);}
.history-item-media:after{content:"";position:absolute;top:50%;right:-13px;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent;border-left:13px solid #fff;transform:translateY(-50%);filter:drop-shadow(1px 0 0 rgba(9,43,59,.05))}
.history-item-media img{display:block;width:100%;height:auto;aspect-ratio:5/3;object-fit:cover;transition:transform .35s ease}
.history-item-media:hover img{transform:scale(1.015)}
.history-item-marker{grid-column:2;grid-row:1;z-index:2;display:flex;align-items:center;justify-content:center;align-self:center;position:relative}
.history-item-marker span{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:#092b3b;border:3px solid #fff;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:1.12rem;font-weight:500;line-height:1;box-shadow:0 0 0 1px #c18a3e,0 4px 12px rgba(9,43,59,.12);white-space:nowrap}
.history-item-content{grid-column:3;grid-row:1;min-width:0;padding:1rem .15rem}
.history-item-content h3{font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.25rem,2vw,1.6rem);line-height:1.2;font-weight:700;margin:0 0 .45rem;color:#a66e22;letter-spacing:-.015em}
.history-item-content p:last-child{color:#344754;font-family:Georgia,"Times New Roman",serif;font-size:1rem;line-height:1.45;margin:0;max-width:340px}
.history-item-reverse .history-item-media{grid-column:3;grid-row:1}
.history-item-reverse .history-item-media:after{right:auto;left:-13px;border-left:0;border-right:13px solid #fff}
.history-item-reverse .history-item-content{grid-column:1;grid-row:1;text-align:right;display:flex;flex-direction:column;align-items:flex-end}
@media(max-width:767.98px){
  .history-section{padding-block:3.75rem}
  .history-heading{margin-bottom:2.5rem;text-align:left}
  .history-heading>p:last-child{margin-left:0}
  .history-timeline{padding:0 0 0 .1rem}
  .history-timeline:before{left:29px;transform:none;top:1rem;bottom:1rem}
  .history-item,.history-item-reverse{grid-template-columns:60px minmax(0,1fr);column-gap:.85rem;row-gap:0;align-items:start;margin:0 0 2.25rem;padding:0 0 1.1rem}
  .history-item:after{left:29px;bottom:-.15rem}
  .history-item-marker,.history-item-reverse .history-item-marker{grid-column:1;grid-row:1;justify-content:flex-start;align-self:start}
  .history-item-marker span{width:56px;height:56px;font-size:.85rem;border-width:3px}
  .history-item-media,.history-item-reverse .history-item-media{grid-column:2;grid-row:1;min-width:0}
  .history-item-media:after,.history-item-reverse .history-item-media:after{top:27px;right:auto;left:-10px;border-top:9px solid transparent;border-bottom:9px solid transparent;border-left:0;border-right:10px solid #fff;transform:none}
  .history-item-content,.history-item-reverse .history-item-content{grid-column:2;grid-row:2;text-align:left;display:block;align-items:initial;padding:.85rem 0 0}
  .history-item-content h3{font-size:1.25rem;margin-bottom:.4rem}
  .history-item-content p:last-child{font-size:.96rem;max-width:none}
}
@media(prefers-reduced-motion:reduce){.history-item-media img{transition:none}.history-item-media:hover img{transform:none}}

/* Events page: compact event tabs with one-photo-at-a-time slideshow */
.events-hero{background:linear-gradient(110deg,rgba(5,31,43,.96),rgba(9,43,59,.78)),url('../images/events/international-night/international-night-01.jpg') center 42%/cover no-repeat}
.events-overview{background:#fbfaf7;min-height:55vh}
.events-intro{max-width:760px;margin:0 auto 2.2rem;text-align:center}
.event-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:.65rem;margin:0 auto 2rem;padding:.65rem;background:#fff;border:1px solid #e7e2d8;border-radius:4px}
.event-tab{display:flex;flex:1 1 150px;min-width:135px;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;padding:1rem .85rem;border:1px solid transparent;border-radius:3px;background:transparent;color:var(--navy);cursor:pointer;text-align:center;transition:background .2s ease,color .2s ease,border-color .2s ease}
.event-tab:hover,.event-tab:focus-visible{border-color:#d9c59f;background:#fbf8f1;outline:none}
.event-tab.is-active{background:var(--navy);color:#fff;border-color:var(--navy);box-shadow:0 5px 16px rgba(9,43,59,.14)}
.event-tab-title{font-size:.98rem;font-weight:750;line-height:1.3}
.event-tab-count{font-size:.76rem;opacity:.75}
.event-tab-panels{max-width:1080px;margin:0 auto}
.event-tab-panel{padding:2rem;background:#fff;border:1px solid #e7e2d8;box-shadow:0 14px 40px rgba(9,43,59,.055)}
.event-tab-panel[hidden]{display:none!important}
.event-slideshow-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem;margin-bottom:1.5rem}
.event-slideshow-heading>div{max-width:700px}
.event-slideshow-heading .eyebrow{margin-bottom:.55rem}
.event-slideshow-heading h2{font-size:clamp(1.8rem,3vw,2.45rem);font-weight:760;margin-bottom:.65rem;color:var(--navy)}
.event-slideshow-heading p:not(.eyebrow){max-width:680px;margin:0;color:var(--muted)}
.event-photo-count{flex:0 0 auto;display:inline-flex;align-items:center;padding:.55rem .8rem;border:1px solid #ded7c8;color:#68532f;font-size:.82rem;font-weight:700;white-space:nowrap}
.event-slideshow{max-width:920px;margin:0 auto}
.event-slide-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:260px;padding:1rem;background:#f0eee8;overflow:hidden}
.event-slide-image{display:block;width:auto;height:auto;max-width:100%;max-height:min(70vh,720px);object-fit:contain;object-position:center;background:transparent;image-rendering:auto}
.event-slide-counter{position:absolute;right:1rem;bottom:1rem;padding:.45rem .7rem;border:1px solid rgba(255,255,255,.25);border-radius:2px;background:rgba(4,20,27,.8);color:#fff;font-size:.82rem;font-variant-numeric:tabular-nums}
.event-slide-controls{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:1rem}
.event-slide-controls button{display:inline-flex;align-items:center;gap:.55rem;padding:.7rem 1rem;border:1px solid #d9d4c9;background:#fff;color:var(--navy);font-weight:700;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease}
.event-slide-controls button:hover:not(:disabled),.event-slide-controls button:focus-visible{border-color:var(--gold);background:var(--navy);color:#fff}
.event-slide-controls button:disabled{opacity:.38;cursor:not-allowed}
.event-slide-hint{margin:0;color:var(--muted);font-size:.84rem;text-align:center}
.event-photos-pending{display:grid;justify-items:center;text-align:center;padding:3rem 1.25rem;background:#fbfaf7;border:1px dashed #d7d2c6;color:var(--muted)}
.event-pending-icon{display:grid;place-items:center;width:2.7rem;height:2.7rem;margin-bottom:.9rem;border-radius:50%;background:#f3eee3;color:#98733c;font-size:1.6rem}
.event-photos-pending h3{font-size:1.2rem;color:var(--navy);font-weight:750}
.event-photos-pending p{margin:0}
@media(max-width:767.98px){.events-overview{padding-top:3rem;padding-bottom:3rem}.event-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;padding:.45rem}.event-tab{min-width:0;padding:.8rem .5rem}.event-tab-title{font-size:.88rem}.event-tab-panel{padding:1.15rem}.event-slideshow-heading{align-items:flex-start;flex-direction:column;gap:.9rem}.event-slide-image{height:52vh;min-height:220px}.event-slide-controls{gap:.5rem}.event-slide-controls button{padding:.65rem .7rem}.event-slide-hint{display:none}}
@media(max-width:399.98px){.event-tabs{grid-template-columns:1fr 1fr}.event-tab-panel{padding:.75rem}.event-slide-image{height:42vh;min-height:200px}.event-slide-controls button span{font-size:.84rem}}
@media(prefers-reduced-motion:reduce){.event-tab,.event-slide-controls button{transition:none}}


/* Event slideshow image clarity: preserve the source aspect ratio and avoid enlargement. */
@media (max-width: 640px) {
  .event-slide-stage { min-height: 220px; padding: .5rem; }
  .event-slide-image { max-width: 100%; max-height: 62vh; }
  .event-tab-panel { padding: 1rem; }
  .event-slideshow-heading { align-items: flex-start; flex-direction: column; }
}


/* Photo Gallery: preserve image proportions in the masonry-style gallery. */
.gallery-page-section { background: var(--cream, #f8f6f1); }
.gallery-section-intro { display:flex; justify-content:space-between; align-items:end; gap:1.5rem; margin-bottom:2rem; }
.gallery-section-intro h2 { margin:0; }
.gallery-section-intro > p { color:var(--muted, #6c757d); margin:0 0 .25rem; white-space:nowrap; }
.club-gallery-grid { columns:3 260px; column-gap:1rem; }
.club-gallery-item { position:relative; display:block; width:100%; padding:0; margin:0 0 1rem; break-inside:avoid; border:0; border-radius:10px; overflow:hidden; background:#e9e5dc; cursor:zoom-in; text-align:left; }
.club-gallery-item img { display:block; width:100%; height:auto; max-width:100%; object-fit:contain; transition:transform .35s ease; }
.club-gallery-item:hover img, .club-gallery-item:focus-visible img { transform:scale(1.025); }
.club-gallery-item-caption { position:absolute; inset:auto 0 0; display:flex; align-items:center; justify-content:space-between; gap:.75rem; padding:2.5rem .9rem .85rem; color:#fff; font-size:.92rem; font-weight:600; background:linear-gradient(transparent,rgba(5,22,29,.82)); opacity:0; transition:opacity .2s ease; }
.club-gallery-item:hover .club-gallery-item-caption, .club-gallery-item:focus-visible .club-gallery-item-caption { opacity:1; }
.club-gallery-view-icon { font-size:1.2rem; flex:0 0 auto; }
.gallery-lightbox[hidden] { display:none !important; }
.gallery-lightbox { position:fixed; z-index:2000; inset:0; display:flex; align-items:center; justify-content:center; gap:1rem; padding:4.5rem 4.5rem 3.5rem; background:rgba(7,13,17,.95); }
.gallery-lightbox-figure { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.8rem; width:100%; height:100%; margin:0; min-width:0; }
.gallery-lightbox-figure img { display:block; width:auto; height:auto; max-width:100%; max-height:calc(100vh - 9rem); object-fit:contain; }
.gallery-lightbox-figure figcaption { color:#fff; text-align:center; font-size:.95rem; }
.gallery-lightbox-close, .gallery-lightbox-arrow { position:absolute; display:flex; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.35); border-radius:50%; color:#fff; background:rgba(255,255,255,.1); cursor:pointer; }
.gallery-lightbox-close { top:1rem; right:1.25rem; width:44px; height:44px; font-size:2rem; line-height:1; }
.gallery-lightbox-arrow { top:50%; transform:translateY(-50%); width:48px; height:48px; font-size:2.25rem; }
.gallery-lightbox-prev { left:1rem; }
.gallery-lightbox-next { right:1rem; }
.gallery-lightbox-counter { position:absolute; bottom:1rem; left:50%; transform:translateX(-50%); color:rgba(255,255,255,.78); font-size:.85rem; }
.gallery-lightbox button:focus-visible { outline:3px solid #d7b66b; outline-offset:3px; }
@media (hover:none) { .club-gallery-item-caption { opacity:1; } }
@media (max-width:640px) {
  .gallery-section-intro { align-items:start; flex-direction:column; gap:.5rem; }
  .club-gallery-grid { columns:2 145px; column-gap:.65rem; }
  .club-gallery-item { margin-bottom:.65rem; border-radius:7px; }
  .club-gallery-item-caption { opacity:1; padding:2rem .55rem .55rem; font-size:.78rem; }
  .gallery-lightbox { padding:4rem .5rem 3rem; gap:0; }
  .gallery-lightbox-figure img { max-width:calc(100vw - 1rem); max-height:calc(100vh - 8rem); }
  .gallery-lightbox-arrow { width:38px; height:38px; background:rgba(0,0,0,.48); }
  .gallery-lightbox-prev { left:.45rem; }
  .gallery-lightbox-next { right:.45rem; }
}
