:root { --bg-color: #ffffff; --text-color: #000000; --font-stack: "Helvetica Neue", Helvetica, Arial, sans-serif; --padding-x: 40px; --padding-y: 30px; --align-guide: clamp(50%, calc(136.5vw - 886px), 75%); --img-bg: #f9f9f9; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg-color); color: var(--text-color); font-family: var(--font-stack); -webkit-font-smoothing: antialiased; min-height: 100vh; }
a { text-decoration: none; color: inherit; }

header { padding: var(--padding-y) var(--padding-x); position: relative; display: flex; justify-content: space-between; align-items: flex-start; height: 100px; }
.logo img { height: clamp(30px, 3.8vw, 55px); width: auto; display: block; }
.nav-group-right { position: absolute; left: var(--align-guide); top: var(--padding-y); z-index: 10; display: flex; gap: 40px; }
.nav-btn { font-size: clamp(1.9rem, 3.3vw, 4rem); font-weight: 400; line-height: 1; cursor: pointer; }
.nav-btn:hover { opacity: 0.6; }

main { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60vh; padding: 0 40px; position: relative; }

.gallery-container { width: 100%; max-width: 1200px; position: relative; margin-bottom: 40px; user-select: none; }
.gallery-wrapper { overflow: hidden; position: relative; aspect-ratio: 16/9; background: var(--img-bg); cursor: grab; touch-action: pan-y; }
.gallery-wrapper:active { cursor: grabbing; }
.gallery-slides { display: flex; height: 100%; transition: transform 0.5s ease; will-change: transform; }
.gallery-slides.dragging { transition: none; }
.slide { min-width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.slide img { max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: auto; -webkit-user-drag: none; user-select: none; }

.g-arrow { position: absolute; top: 50%; transform: translateY(-50%); font-size: 30px; cursor: pointer; padding: 20px; z-index: 10; color: #000; }
.g-prev { left: 0; } .g-next { right: 0; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.dot { width: 8px; height: 8px; background: #ddd; border-radius: 50%; cursor: pointer; }
.dot.active { background: #000; }

.news-info { text-align: center; margin-top: 40px; margin-bottom: 80px; }
.n-title { font-size: 2rem; margin-bottom: 10px; }
.n-date { font-size: 0.9rem; color: #999; font-family: monospace; }

.page-nav { position: fixed; top: 50%; transform: translateY(-50%); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; z-index: 5; }
.pn-prev { left: 40px; } .pn-next { right: 40px; }
.page-nav a:hover { text-decoration: underline; }

.leo-zoom-overlay { z-index: 9998; }
.leo-zoom-clone { z-index: 9999; }

footer { position: fixed; bottom: 0; left: 0; width: 100%; padding: 20px var(--padding-x); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; z-index: 999; pointer-events: none; }
footer div { pointer-events: auto; }
.copyright { float: left; }
.location { position: absolute; left: var(--align-guide); bottom: 20px; }
.location a:hover { text-decoration: underline; }

@media (max-width: 1024px) { .page-nav { display: none; } }
@media (max-width: 768px) {
    :root { --padding-x: 15px; }
    header { justify-content: space-between; height: auto; padding-top: 25px; }
    .nav-group-right { position: static; gap: 20px; }
    .nav-btn { font-size: 2rem; }
   
    .gallery-wrapper { aspect-ratio: 4/3; }
    .g-arrow { display: none; }
    footer { position: static; margin-top: 60px; display: flex; flex-direction: column; gap: 5px; padding-bottom: 40px; }
    .location { position: static; }
}

.slide video { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
