/* Gallery styles. Everything is namespaced .gx- so it never fights the main site's theme CSS. */
.gx{--gx-accent:#1a56a6;--gx-ink:#1d2433;--gx-muted:#5d667a;--gx-line:#e3e6ec;--gx-bg:#f4f5f7;
  max-width:none;margin:0;padding:96px 18px 56px;color:var(--gx-ink);font-family:"Open Sans",system-ui,sans-serif;background:#fff}
.gx *{box-sizing:border-box}
@media(min-width:992px){.gx{padding-top:186px}}
.gx a{color:var(--gx-accent)}
.gx-crumbs{font-size:.8rem;color:var(--gx-muted);margin:0 0 8px}
.gx-crumbs a{text-decoration:none}

.gx-hero{max-width:820px;margin:0 0 14px}
.gx-hero h1,.gx-photo h1{font-size:clamp(1.45rem,2.6vw,2rem);line-height:1.18;margin:0 0 6px;font-weight:700;letter-spacing:-.01em}
.gx-intro{font-size:.95rem;line-height:1.55;color:var(--gx-muted);margin:0 0 6px}
.gx-count{font-size:.82rem;color:var(--gx-muted);margin:0 0 8px}
.gx-section{font-size:1.25rem;margin:36px 0 14px;font-weight:700}

/* category tiles (home) */
.gx-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin:0 0 18px}
.gx-tile{position:relative;display:block;border-radius:18px;overflow:hidden;aspect-ratio:1/1;background:#222;text-decoration:none}
.gx-tile img{width:100%;height:100%;object-fit:cover;display:block;opacity:.85;transition:transform .4s,opacity .3s}
.gx-tile:hover img{transform:scale(1.06);opacity:1}
.gx-tile span{position:absolute;left:0;right:0;bottom:0;padding:34px 12px 11px;color:#fff;font-size:.78rem;background:linear-gradient(transparent,rgba(0,0,0,.7))}
.gx-tile strong{display:block;font-size:.98rem}

/* one slim, scrolling row of filter chips */
.gx-filters{margin:0 -18px 14px;padding:0 18px;position:relative}
.gx-row{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:4px 0 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.gx-row::-webkit-scrollbar{display:none}
.gx-lab{flex:0 0 auto;font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;color:var(--gx-muted);font-weight:700;margin:0 2px 0 14px;display:inline-block}
.gx-row .gx-lab:first-child{margin-left:0}
.gx-chip{flex:0 0 auto;white-space:nowrap;display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border-radius:999px;background:var(--gx-bg);
  color:var(--gx-ink)!important;font-size:.86rem;font-weight:600;text-decoration:none;line-height:1.1;transition:background .15s}
.gx-chip:hover{background:#e6e8ec}
.gx-chip.is-on{background:var(--gx-ink);color:#fff!important}
.gx-n{color:var(--gx-muted);font-size:.76rem;font-weight:500}
.gx-sw{display:inline-block;width:13px;height:13px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.18)}
.gx-clear{flex:0 0 auto;margin-left:10px;font-size:.84rem;font-weight:600}

/* masonry: a grid of 8px rows; each pin spans enough rows for its image (gx.js refines the span) */
.gx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-auto-rows:8px;column-gap:12px;margin:0}
.gx-pin{margin:0;grid-row-end:span var(--s,30);padding-bottom:12px}
.gx-pin a{display:block;border-radius:18px;overflow:hidden;background:var(--gx-bg);position:relative}
.gx-pin img{display:block;width:100%;height:auto;aspect-ratio:calc(1 / var(--r,.75));object-fit:cover;transition:transform .5s ease}
.gx-pin a:hover img,.gx-pin a:focus-visible img{transform:scale(1.045)}
.gx-pin__cap{position:absolute;left:0;right:0;bottom:0;padding:38px 14px 12px;color:#fff;font-size:.8rem;line-height:1.3;font-weight:600;
  background:linear-gradient(transparent,rgba(0,0,0,.72));opacity:0;transition:opacity .25s}
.gx-pin a:hover .gx-pin__cap,.gx-pin a:focus-visible .gx-pin__cap{opacity:1}

.gx-more{height:1px}
.gx-loadmore{display:block;margin:18px auto 6px;padding:12px 26px;border:0;border-radius:999px;background:var(--gx-ink);color:#fff;font-size:.95rem;font-weight:600;cursor:pointer}
.gx-loadmore:hover{background:#000}
.gx-pager{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:20px 0}
.gx-pager a,.gx-pager span{padding:7px 13px;border-radius:999px;background:var(--gx-bg);text-decoration:none;font-size:.88rem;font-weight:600;color:var(--gx-ink)}
.gx-pager .is-on{background:var(--gx-ink);color:#fff}

.gx-cta{margin:26px 0 0;padding:16px 18px;border-radius:18px;background:var(--gx-bg);display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center}
.gx-cta p{margin:0;flex:1 1 220px}
.gx-btn{display:inline-block;padding:10px 18px;border-radius:999px;background:var(--gx-accent);color:#fff!important;text-decoration:none;font-weight:600;font-size:.92rem}
.gx-btn--ghost{background:transparent;color:var(--gx-accent)!important;border:2px solid var(--gx-accent);padding:8px 16px}

/* photo page: big image, details card, then the wall of similar photos */
.gx-photo{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:34px;align-items:start;max-width:1240px;margin:6px auto 12px}
.gx-photo__main{min-width:0}
.gx-photo__img{margin:0}
.gx-photo__img img{width:100%;height:auto;display:block;border-radius:26px;box-shadow:0 10px 40px rgba(20,28,45,.14)}
.gx-photo__more{margin-top:20px}
.gx-photo__more .gx-lab{display:block;margin:0 0 8px}
.gx-chips{display:flex;flex-wrap:wrap;gap:8px}
.gx-photo__side{position:sticky;top:var(--gx-top,120px)}
.gx-photo__side .gx-cta{margin-top:18px}
/* narrow screens: photo, then title and call buttons, then the browse-more links */
@media(max-width:900px){.gx-photo{grid-template-columns:1fr;gap:18px}.gx-photo__main{display:contents}
  .gx-photo__img{order:1}.gx-photo__side{order:2;position:static}.gx-photo__more{order:3;margin-top:0}}

@media(max-width:640px){.gx{padding-left:10px;padding-right:10px}.gx-filters{margin:0 -10px 12px;padding:0 10px}
  .gx-grid{grid-template-columns:repeat(2,1fr);column-gap:8px}.gx-pin{padding-bottom:8px}.gx-pin a{border-radius:14px}}
@media(hover:none){.gx-pin__cap{display:none}}

/* The theme's icon font, served from here: the main site's copy is blocked cross-origin on a subdomain (CORS).
   Same family name, loaded after the theme CSS, so these files are used instead. */
@font-face{font-family:"flaticon";font-display:swap;
  src:url("/assets/fonts/flaticon.woff2") format("woff2"),url("/assets/fonts/flaticon.woff") format("woff"),url("/assets/fonts/flaticon.ttf") format("truetype")}
