.main__gallery-container {display: grid;grid-gap: 1.5rem;grid-auto-rows: 1fr;grid-template-columns: repeat(2, 1fr);grid-auto-flow: dense;counter-reset: albumList;padding: 0;width: 100%;}.item {position: relative;aspect-ratio: 1;display: flex;border-radius: 12px;overflow: hidden;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);}.item::after {content: "";position: absolute;inset: 0;background: linear-gradient(180deg, transparent 0%, rgba(var(--color-primary-rgb), 0.02) 50%, rgba(var(--color-primary-rgb), 0.1) 100%);opacity: 0;transition: opacity 0.4s ease;pointer-events: none;}.item img {width: 100%;height: 100%;object-fit: cover;cursor: zoom-in;transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);will-change: transform;}.item img.loading {filter: blur(10px);}.item img.loaded {filter: blur(0);transition: filter 0.4s ease;}.item:hover {box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(var(--color-primary-rgb), 0.08);}.item:hover::after {opacity: 1;}.item:hover img {transform: scale(1.05);}input {display: none;}input:checked + picture > img {position: fixed;top: 0;left: 0;z-index: 30;width: 100vw;height: 100vh;padding: 2rem;background: rgba(0, 0, 0, 0.92);object-fit: contain;cursor: zoom-out;transform: none !important;transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);}input:checked + picture > img::before {content: "";position: fixed;inset: 0;background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);pointer-events: none;}input:not(:checked) + picture {display: block;width: 100%;height: 100%;}input:not(:checked) + picture > img:hover {transform: scale(1.05);}@media screen and (min-width: 40em) and (max-width: 63.99875em) {.main__gallery-container {grid-template-columns: repeat(3, 1fr);gap: 1.5rem;}.item:nth-child(6n+1), .item:nth-child(6n+6) {grid-area: span 2/span 2;}.item:nth-child(6n+1) img, .item:nth-child(6n+6) img {object-position: center 25%;}.item:nth-child(6n+5) {grid-column: 1;}}@media print, screen and (min-width: 64em) {.main__gallery-container {grid-template-columns: repeat(4, 1fr);gap: 2rem;padding: 0;}.item:nth-child(10n+1), .item:nth-child(10n+10) {grid-area: span 2/span 2;}.item:nth-child(10n+1) img, .item:nth-child(10n+10) img {object-position: center 25%;}.item:nth-child(10n+8) {grid-column: 1;}.item:nth-child(10n+9) {grid-column: 2;}}@keyframes fadeScale {from {opacity: 0;transform: scale(0.95);}to {opacity: 1;transform: scale(1);}}@media (prefers-reduced-motion: reduce) {.item, .item img, input:checked + picture > img {animation: none;transition: none;transform: none;}}