/* Robert Garza photo gallery — scoped to gallery page only */
.rg-gallery-page{background:#f5f7fa;color:#172b46}.rg-gallery-hero{min-height:410px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(5,16,33,.92),rgba(5,16,33,.75) 52%,rgba(5,16,33,.28)),url('../images/gallery-01-full.webp') center 40%/cover no-repeat;color:#fff}.rg-gallery-hero-inner{padding:90px 12px 80px}.rg-gallery-eyebrow,.rg-gallery-label{font-size:.78rem;letter-spacing:.2em;font-weight:800;color:#d4af37}.rg-gallery-hero h1{font-size:clamp(3.4rem,8vw,6.5rem);font-weight:800;letter-spacing:-.055em;line-height:1.05;margin:14px 0 20px;color:#fff}.rg-gallery-hero p{font-size:clamp(1rem,1.9vw,1.28rem);max-width:640px;line-height:1.7;color:#f2f4f7}.rg-gallery-hero-link{display:inline-flex;align-items:center;gap:12px;border:1px solid #d4af37;border-radius:8px;padding:13px 20px;margin-top:16px;color:#fff!important;text-decoration:none!important;font-weight:700;transition:background .2s}.rg-gallery-hero-link:hover{background:#d4af37;color:#0c2340!important}.rg-gallery-content{padding:78px 0 86px}.rg-gallery-intro{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:32px}.rg-gallery-intro h2{font-size:clamp(2rem,4vw,3rem);font-weight:800;letter-spacing:-.04em;color:#0c2340;margin:10px 0}.rg-gallery-intro p{margin:0;color:#647184;line-height:1.65}.rg-gallery-count{white-space:nowrap;color:#6b7789;font-size:.92rem;padding-bottom:6px}.rg-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.rg-gallery-tile{position:relative;aspect-ratio:4/4.5;overflow:hidden;border:0;border-radius:12px;background:#e2e7ed;cursor:zoom-in;padding:0;box-shadow:0 7px 22px rgba(15,35,58,.07);text-align:left}.rg-gallery-tile:nth-child(9n+1){grid-row:span 2;aspect-ratio:auto}.rg-gallery-tile img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .42s ease,filter .3s ease}.rg-gallery-tile:hover img,.rg-gallery-tile:focus-visible img{transform:scale(1.055);filter:brightness(.83)}.rg-gallery-tile-overlay{position:absolute;inset:0;display:flex;align-items:end;justify-content:start;padding:17px;background:linear-gradient(transparent 50%,rgba(6,19,37,.6));opacity:0;transition:opacity .25s}.rg-gallery-tile:hover .rg-gallery-tile-overlay,.rg-gallery-tile:focus-visible .rg-gallery-tile-overlay{opacity:1}.rg-gallery-view{font-size:.87rem;font-weight:750;color:#fff}.rg-gallery-tile:focus-visible{outline:3px solid #d4af37;outline-offset:3px}.rg-gallery-end{text-align:center;color:#7c8797;margin:38px 0 0;font-size:.94rem}.rg-gallery-lightbox[hidden]{display:none!important}.rg-gallery-lightbox{position:fixed;inset:0;z-index:2147483002;display:grid;place-items:center}.rg-gallery-lightbox-backdrop{position:absolute;inset:0;background:rgba(3,11,23,.95)}.rg-gallery-lightbox-inner{position:relative;z-index:1;display:grid;grid-template-columns:60px minmax(0,1fr) 60px;align-items:center;gap:12px;width:min(1100px,96vw);height:min(92vh,900px);padding:50px 4px 30px;box-sizing:border-box}.rg-gallery-figure{min-width:0;max-height:100%;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px}.rg-gallery-figure img{display:block;max-width:100%;max-height:calc(92vh - 145px);object-fit:contain;border-radius:5px;box-shadow:0 12px 50px #0006}.rg-gallery-figure figcaption{font-size:.9rem;color:#e7ebf0;text-align:center;line-height:1.4}.rg-gallery-close,.rg-gallery-prev,.rg-gallery-next{border:1px solid #ffffff55;border-radius:50%;color:#fff;background:#ffffff15;cursor:pointer;display:grid;place-items:center;transition:background .2s}.rg-gallery-close:hover,.rg-gallery-prev:hover,.rg-gallery-next:hover{background:#d4af37;color:#0c2340}.rg-gallery-close{position:absolute;top:12px;right:12px;width:44px;height:44px;padding:0;font-family:Arial,Helvetica,sans-serif;font-size:28px;font-weight:400;line-height:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;z-index:2;box-shadow:0 4px 16px #0005}.rg-gallery-close::before{content:none!important}.rg-gallery-prev,.rg-gallery-next{width:52px;height:52px;font-size:42px;line-height:1}.rg-gallery-position{position:absolute;bottom:0;left:50%;transform:translateX(-50%);font-size:.78rem;letter-spacing:.08em;color:#d4af37}.rg-gallery-lightbox button:focus-visible{outline:3px solid #d4af37;outline-offset:3px}body.rg-gallery-lock{overflow:hidden}@media(max-width:1100px){.rg-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.rg-gallery-hero{min-height:340px}.rg-gallery-hero-inner{padding:65px 16px}.rg-gallery-content{padding:52px 0}.rg-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rg-gallery-tile{aspect-ratio:3/4;border-radius:9px}.rg-gallery-tile:nth-child(9n+1){grid-row:auto;aspect-ratio:3/4}.rg-gallery-intro{align-items:start;flex-direction:column;gap:8px}.rg-gallery-lightbox-inner{width:100%;grid-template-columns:43px minmax(0,1fr) 43px;gap:0;padding:58px 4px 45px}.rg-gallery-prev,.rg-gallery-next{width:38px;height:38px;font-size:30px}.rg-gallery-figure img{max-height:calc(100dvh - 190px)}.rg-gallery-figure figcaption{font-size:.78rem}.rg-gallery-close{top:12px;right:12px}}@media(max-width:390px){.rg-gallery-grid{gap:7px}}@media(prefers-reduced-motion:reduce){.rg-gallery-page *{transition:none!important;scroll-behavior:auto!important}}
