/* Nature gallery grid */
.nature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.nature-grid a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #d8cfbd; }
.nature-grid img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.nature-grid a:hover img { transform: scale(1.04); }
.nature-grid a:focus-visible { outline: 3px solid #6b3f2e; outline-offset: 2px; }

/* Play symbol on videos */
.nature-grid a.video::before { content: ""; position: absolute; z-index: 1; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(0,0,0,.6); }
.nature-grid a.video::after { content: ""; position: absolute; z-index: 2; top: 50%; left: 50%; margin: -10px 0 0 -6px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }

/* Large photo viewer */
.viewer { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15,10,8,.95); }
.viewer[open] { display: flex; align-items: center; justify-content: center; }
.viewer img { max-width: 96%; max-height: 88%; }
.viewer button { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font: 30px/1 system-ui, sans-serif; cursor: pointer; }
.viewer .close { top: 12px; right: 12px; }
.viewer .prev { left: 10px; top: 50%; margin-top: -24px; }
.viewer .next { right: 10px; top: 50%; margin-top: -24px; }
.viewer p { position: absolute; bottom: 8px; left: 0; right: 0; margin: 0; text-align: center; color: #f7efe6; font-size: .85rem; }
