*{box-sizing:border-box;margin:0;padding:0}header{text-align:center;border-bottom:1px solid #ccc;margin-bottom:20px;padding:20px}.filter-menu{gap:1.5rem;list-style:none;display:inline-flex}.filter-button{appearance:none;font:inherit;line-height:inherit;cursor:pointer;text-transform:uppercase;color:#555;background:0 0;border:0;padding:0;font-size:.9rem;font-weight:700;transition:color .3s;position:relative}.filter-button:hover{color:#000}.filter-button.active{color:var(--secondary-dark)}.filter-button.active:after{content:"";background:var(--secondary-dark);width:100%;height:2px;position:absolute;bottom:-4px;left:0}.gallery{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));grid-auto-rows:150px;grid-auto-flow:dense;opacity:1;gap:5px;max-width:1400px;margin:0 auto;padding:20px;transition:opacity .4s;display:grid}.gallery-item{cursor:pointer;position:relative;overflow:hidden}.gallery-item img{object-fit:cover;width:100%;height:100%;transition:transform .3s;display:block}.gallery-item:hover img{transform:scale(1.05)}.tall{grid-row:span 2}.wide{grid-column:span 2}.big{grid-area:span 2/span 2}.huge{grid-area:span 3/span 3}@media (width<=600px){.gallery{grid-template-columns:1fr;grid-auto-rows:200px}.gallery-item{grid-area:auto!important}}.lightbox{z-index:1000;background:#000000e6;justify-content:center;align-items:center;width:100%;height:100%;display:none;position:fixed;top:0;left:0}.lightbox.active{display:flex}.lightbox-content{max-width:90%;max-height:90%}.close{color:#fff;cursor:pointer;-webkit-user-select:none;user-select:none;font-size:40px;position:absolute;top:20px;right:30px}.prev,.next{color:#fff;cursor:pointer;-webkit-user-select:none;user-select:none;padding:10px;font-size:60px;position:absolute;top:50%;transform:translateY(-50%)}.prev{left:20px}.next{right:20px}#loadMoreBtn{cursor:pointer;border:1px solid var(--secondary-color);color:var(--secondary-color);background-color:#fff;margin:30px auto;padding:10px 20px;font-size:1rem;transition:background-color .3s,color .3s;display:block}#loadMoreBtn:hover{background-color:var(--secondary-color);color:#fff}.hidden{display:none!important}.fade-in{animation:.6s forwards fadeIn}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@media (width<=480px){.gallery-item{grid-area:auto!important}}@media (width>=480px){.gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:150px}}@media (width>=640px){.gallery{grid-template-columns:repeat(3,1fr);grid-auto-rows:160px}}@media (width>=900px){.gallery{grid-template-columns:repeat(4,1fr);grid-auto-rows:180px}}@media (width>=1200px){.gallery{grid-template-columns:repeat(5,1fr);grid-auto-rows:200px}}.gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:120px;gap:6px;max-width:1400px;margin:0 auto;padding:12px;transition:opacity .4s;display:grid}@media (width<=480px){.gallery-item{grid-area:auto!important}}@media (width>=480px){.gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:150px}}@media (width>=640px){.gallery{grid-template-columns:repeat(3,1fr);grid-auto-rows:160px}}@media (width>=900px){.gallery{grid-template-columns:repeat(4,1fr);grid-auto-rows:180px}}@media (width>=1200px){.gallery{grid-template-columns:repeat(5,1fr);grid-auto-rows:200px}}.gallery{grid-template-columns:1fr;grid-auto-rows:220px;gap:8px;max-width:1400px;margin:0 auto;padding:12px;display:grid}@media (width<=767px){.gallery-item{grid-area:auto!important}}@media (width>=480px){.gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:180px}}@media (width>=768px){.gallery{grid-template-columns:repeat(3,1fr);grid-auto-rows:180px}}@media (width>=1024px){.gallery{grid-template-columns:repeat(4,1fr);grid-auto-rows:190px}}@media (width>=1280px){.gallery{grid-template-columns:repeat(5,1fr);grid-auto-rows:200px}}.gallery img{object-fit:cover;width:100%;height:100%;display:block}@media (width<=767px){.filter-menu{scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;top:var(--filter-stick-top,64px);z-index:5;background:#fff;border-bottom:1px solid #eee;gap:10px;margin:0;padding:8px 12px 10px;list-style:none;display:flex;position:sticky;overflow-x:auto}.filter-menu{position:sticky}.filter-menu:before,.filter-menu:after{content:"";pointer-events:none;z-index:6;width:24px;height:100%;position:absolute;top:0}.filter-menu:before{background:linear-gradient(90deg,#fff,#fff0);left:0}.filter-menu:after{background:linear-gradient(270deg,#fff,#fff0);right:0}.filter-button{scroll-snap-align:start;text-transform:none;color:#333;background:#fff;border:1px solid #ccc;border-radius:999px;outline:none;flex:none;min-height:44px;padding:10px 14px;font-size:.95rem;font-weight:600}.filter-button:focus-visible{outline-offset:2px;border-radius:999px;outline:2px solid green}.filter-button.active{color:#fff;background:var(--secondary-color);border-color:var(--secondary-dark)}.filter-button.active:after{display:none}header .filter-menu{margin-bottom:6px}.filter-button{color:#333;text-transform:none;background:#fff;border:1px solid #ccc;border-radius:999px;justify-content:center;align-items:center;min-height:44px;padding:10px 14px;font-size:.95rem;font-weight:600;line-height:1;display:inline-flex}.filter-menu:before,.filter-menu:after{content:none!important;display:none!important}:root{--filter-fade:24px}.filter-menu{scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;top:var(--filter-stick-top,64px);z-index:5;-webkit-mask-image:linear-gradient(to right, transparent 0, #000 var(--filter-fade), #000 calc(100% - var(--filter-fade)), transparent 100%);-webkit-mask-image:linear-gradient(to right, transparent 0, #000 var(--filter-fade), #000 calc(100% - var(--filter-fade)), transparent 100%);mask-image:linear-gradient(to right, transparent 0, #000 var(--filter-fade), #000 calc(100% - var(--filter-fade)), transparent 100%);background:#fff;border-bottom:1px solid #eee;gap:10px;margin:0;padding:8px 12px 10px;list-style:none;display:flex;position:sticky;overflow-x:auto}.filter-menu::-webkit-scrollbar{display:none}}@supports not ((-webkit-mask-image:linear-gradient(white, black)) or (mask-image:linear-gradient(white, black))){@media (width<=767px){.filter-menu{-webkit-mask-image:none;mask-image:none}}}
