.ea-gallery{ padding: clamp(32px,7vw,80px) 0; }
.ea-gallery--light{ background:#fff; color:#0f172a; }
.ea-gallery--dark{ background:#0e1113; color:#e9eef3; }
.ea-gallery--beige{ background:linear-gradient(180deg,rgba(181,150,120,.10),rgba(181,150,120,.18)); }
.ea-gallery__wrap{ max-width:1200px; margin:0 auto; padding:0 16px; }
.ea-gallery__head{ text-align:center; margin-bottom:clamp(16px,4vw,26px); }
.ea-gallery__title{ margin:0 0 8px; font-size:clamp(22px,4.6vw,38px); line-height:1.16;color:#6f5854; }
.ea-gallery__intro{ max-width:760px; margin:0 auto; color: #474747 !important; }
.ea-gallery--dark .ea-gallery__intro{ color:#cfd6dd; }

.ea-gallery__filters{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:clamp(14px,3vw,18px); }
.ea-chip{ border:1.5px solid rgba(0,0,0,.16); background:transparent; border-radius:999px; padding:8px 14px; font-weight:700; cursor:pointer; }
.ea-gallery--dark .ea-chip{ border-color:rgba(255,255,255,.28); }
.ea-chip.is-active{ border-color: #6f5854; }

.ea-gallery.layout-masonry .ea-gallery__grid{ column-count:3; column-gap:var(--gap,12px); }
@media(max-width:1000px){ .ea-gallery.layout-masonry .ea-gallery__grid{ column-count:2; } }
@media(max-width:640px){ .ea-gallery.layout-masonry .ea-gallery__grid{ column-count:1; } }
.ea-gallery.layout-masonry .ea-gitem{ break-inside:avoid; margin-bottom:var(--gap,12px); }

.ea-gallery.layout-justified .ea-gallery__grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:var(--gap,12px); }
.ea-gallery.layout-justified .ea-gitem img{ width:100%; height:var(--rowH,220px); object-fit:cover; }

.ea-gitem figcaption{ font-size:14px; opacity:.8; margin-top:6px; text-align:center; }
