/* Wildlens gallery experience */
.wl-gallery-page { --wl-forest:#12372d; --wl-deep:#081f19; --wl-gold:#c9954a; --wl-cream:#fbfaf7; --wl-sand:#f3eee5; --wl-muted:#6a776f; background:var(--wl-cream); color:#17211d; }
.wl-gallery-page .wl-container { width:min(1240px,calc(100% - 36px)); margin-inline:auto; }
.wl-gallery-hero { position:relative; min-height:690px; overflow:hidden; color:#fff; background:linear-gradient(120deg,rgba(8,31,25,.9),rgba(8,31,25,.25)),url('https://wildlensadventure.com/wp-content/uploads/2026/08/IMG_3530-scaled.jpg') center 53%/cover; }
.wl-gallery-hero::after { position:absolute; inset:auto 0 0; height:35%; background:linear-gradient(transparent,rgba(8,31,25,.75)); content:""; pointer-events:none; }
.wl-gallery-hero__inner { position:relative; z-index:1; padding:8rem 0 5rem; }
.wl-gallery-page .wl-breadcrumbs { display:flex; gap:.55rem; margin-bottom:4rem; color:rgba(255,255,255,.72); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; }
.wl-gallery-page .wl-breadcrumbs a { color:#fff; text-decoration:none; }
.wl-gallery-eyebrow, .wl-section-kicker { color:var(--wl-gold); font-size:.68rem; font-weight:900; letter-spacing:.16em; text-transform:uppercase; }
.wl-gallery-hero h1 { max-width:820px; margin:1rem 0 1.3rem; color:#fff; font-size:clamp(3.2rem,8vw,7.7rem); letter-spacing:-.075em; line-height:.9; }
.wl-gallery-hero h1 em { color:#e7c68b; font-style:normal; }
.wl-gallery-hero p { max-width:580px; margin:0; color:rgba(255,255,255,.82); font-size:1.05rem; line-height:1.75; }
.wl-gallery-hero .wl-button { display:inline-flex; margin-top:2rem; }
.wl-gallery-page .wl-button { display:inline-flex; min-height:50px; align-items:center; justify-content:center; gap:.5rem; padding:.8rem 1.25rem; border-radius:999px; font-size:.75rem; font-weight:850; text-decoration:none; }
.wl-gallery-page .wl-button--accent { background:var(--wl-gold); color:#1f1a12; }
.wl-gallery-intro { padding:5rem 0 3rem; }
.wl-gallery-intro__inner { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr); align-items:end; gap:3rem; }
.wl-gallery-intro h2, .wl-gallery-cta h2 { max-width:650px; margin:.6rem 0 0; color:var(--wl-deep); font-size:clamp(2.1rem,5vw,4.8rem); letter-spacing:-.065em; line-height:.95; }
.wl-gallery-intro p, .wl-gallery-cta p { margin:0; color:var(--wl-muted); line-height:1.75; }
.wl-gallery-collection { padding:1rem 0 6rem; }
.wl-gallery-toolbar { display:flex; flex-wrap:wrap; gap:.45rem; margin-bottom:1.7rem; padding:0 0 .75rem; border-bottom:1px solid #e1e5df; }
.wl-gallery-toolbar button { min-height:38px; padding:.5rem .85rem; border:1px solid #dce3dc; border-radius:999px; background:#fff; color:var(--wl-forest); cursor:pointer; font:inherit; font-size:.69rem; font-weight:850; transition:background .2s ease,color .2s ease,border-color .2s ease; }
.wl-gallery-toolbar button:hover, .wl-gallery-toolbar button.is-active { border-color:var(--wl-forest); background:var(--wl-forest); color:#fff; }
.wl-gallery-grid { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); grid-auto-rows:150px; gap:.85rem; }
.wl-gallery-card { position:relative; grid-column:span 3; grid-row:span 2; min-width:0; margin:0; overflow:hidden; border-radius:1rem; background:#dfe7df; }
.wl-gallery-card.is-featured { grid-column:span 6; grid-row:span 4; }
.wl-gallery-card__trigger { position:relative; display:block; width:100%; height:100%; padding:0; overflow:hidden; border:0; background:none; color:#fff; cursor:zoom-in; font:inherit; text-align:left; }
.wl-gallery-card__trigger img { width:100%; height:100%; object-fit:cover; transition:transform .55s ease; }
.wl-gallery-card__trigger::after { position:absolute; inset:0; background:linear-gradient(180deg,rgba(8,31,25,.02) 40%,rgba(8,31,25,.72)); content:""; opacity:.85; transition:opacity .25s ease; }
.wl-gallery-card:hover .wl-gallery-card__trigger img { transform:scale(1.06); }
.wl-gallery-card:hover .wl-gallery-card__trigger::after { opacity:1; }
.wl-gallery-card__veil { position:absolute; z-index:1; right:1rem; bottom:1rem; left:1rem; display:flex; align-items:end; justify-content:space-between; gap:.6rem; color:#fff; font-size:.9rem; font-weight:750; line-height:1.15; }
.wl-gallery-card__veil b { display:grid; flex:0 0 32px; width:32px; height:32px; place-items:center; border:1px solid rgba(255,255,255,.45); border-radius:50%; background:rgba(8,31,25,.4); font-size:1rem; }
.wl-gallery-card figcaption { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; }
.wl-gallery-card[hidden] { display:none; }
.wl-gallery-empty { padding:3rem 0; color:var(--wl-muted); text-align:center; }
.wl-gallery-cta { padding:5rem 0; background:var(--wl-deep); color:#fff; }
.wl-gallery-cta__inner { display:flex; align-items:center; justify-content:space-between; gap:3rem; }
.wl-gallery-cta h2 { color:#fff; }
.wl-gallery-cta p { max-width:680px; margin-top:1rem; color:rgba(255,255,255,.72); }
.wl-gallery-cta .wl-section-kicker { color:#e2b867; }
.wl-gallery-modal { position:fixed; z-index:100; inset:0; display:grid; place-items:center; padding:1.2rem; }
.wl-gallery-modal[hidden] { display:none; }
.wl-gallery-modal__backdrop { position:absolute; inset:0; background:rgba(5,20,16,.88); backdrop-filter:blur(8px); }
.wl-gallery-modal__dialog { position:relative; z-index:1; width:min(1100px,100%); overflow:hidden; border-radius:1.1rem; background:#081f19; box-shadow:0 30px 90px rgba(0,0,0,.4); }
.wl-gallery-modal__dialog img { display:block; width:100%; max-height:78vh; object-fit:contain; }
.wl-gallery-modal__caption { padding:.85rem 1rem 1rem; color:#fff; font-size:.84rem; font-weight:750; }
.wl-gallery-modal__close { position:absolute; z-index:2; top:.7rem; right:.7rem; display:grid; width:36px; height:36px; place-items:center; border:1px solid rgba(255,255,255,.45); border-radius:50%; background:rgba(8,31,25,.72); color:#fff; cursor:pointer; font-size:1.45rem; line-height:1; }
@media (max-width:900px) { .wl-gallery-grid { grid-template-columns:repeat(6,minmax(0,1fr)); grid-auto-rows:140px; } .wl-gallery-card { grid-column:span 2; } .wl-gallery-card.is-featured { grid-column:span 3; grid-row:span 3; } }
@media (max-width:650px) { .wl-gallery-page .wl-container { width:min(100% - 24px,1240px); } .wl-gallery-hero { min-height:600px; } .wl-gallery-hero__inner { padding-top:6rem; } .wl-gallery-page .wl-breadcrumbs { margin-bottom:3rem; } .wl-gallery-intro { padding:3.5rem 0 2rem; } .wl-gallery-intro__inner, .wl-gallery-cta__inner { display:flex; align-items:stretch; flex-direction:column; gap:1.3rem; } .wl-gallery-toolbar { gap:.4rem; overflow-x:auto; flex-wrap:nowrap; padding-bottom:.85rem; } .wl-gallery-toolbar button { flex:0 0 auto; } .wl-gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:130px; gap:.55rem; } .wl-gallery-card, .wl-gallery-card.is-featured { grid-column:span 1; grid-row:span 2; } .wl-gallery-card.is-featured:nth-child(1), .wl-gallery-card.is-featured:nth-child(7), .wl-gallery-card.is-featured:nth-child(15) { grid-column:span 2; grid-row:span 3; } .wl-gallery-card__veil { right:.7rem; bottom:.7rem; left:.7rem; font-size:.75rem; } .wl-gallery-card__veil b { flex-basis:28px; width:28px; height:28px; } }
@media (prefers-reduced-motion:reduce) { .wl-gallery-page *, .wl-gallery-page *::before, .wl-gallery-page *::after { transition-duration:.01ms!important; } }

body.wl-gallery-modal-open { overflow:hidden; }
