body { margin: 0; color: #514249; background: #f8f0f3; font-family: "Noto Sans TC", sans-serif; }
.gallery-page-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 28px clamp(20px, 6vw, 88px); background: rgba(255,255,255,.88); border-bottom: 1px solid rgba(125,79,96,.14); }
.gallery-page-header div { text-align: center; } .page-label { margin: 0; color: #a76f82; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; }
h1 { margin: 6px 0 0; font-family: "Noto Serif TC", serif; font-size: clamp(28px,4vw,44px); } .back-link,.booking-link { color: #7c4d5e; font-weight: 600; text-decoration: none; } .booking-link { justify-self: end; }
.gallery-page-main { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 56px 0 96px; } .gallery-intro { text-align: center; color: #806e74; font-size: 17px; }
.filter-heading { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; } .filter-heading h2 { font-family: "Noto Serif TC", serif; } .filter-heading button { border: 0; background: transparent; color: #8b6170; cursor: pointer; }
.filter-list { display: flex; flex-wrap: wrap; gap: 10px; } .filter-chip { min-height: 42px; padding: 0 18px; border: 1px solid rgba(124,77,94,.2); border-radius: 999px; background: #fff; color: #604d54; cursor: pointer; } .filter-chip.is-active { color: #fff; background: #a76f82; border-color: #a76f82; }
.result-count { margin: 32px 0 16px; color: #806e74; } .gallery-page-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; } .gallery-work { overflow: hidden; padding: 0; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 14px 34px rgba(83,55,65,.09); cursor: pointer; text-align: left; } .gallery-work img { display:block; width:100%; aspect-ratio:4/5; object-fit:cover; } .gallery-work-info { padding: 14px 16px 16px; } .gallery-work-title { margin:0 0 6px; font-weight:600; } .gallery-work-meta { margin:0; color:#8a737c; font-size:13px; } .gallery-empty { grid-column:1/-1; padding:60px; text-align:center; }
.lightbox { width:100%; height:100%; max-width:none; max-height:none; padding:0; border:0; background:transparent; } .lightbox::backdrop { background:rgba(20,14,17,.88); } .lightbox-inner { position:relative; display:grid; place-items:center; width:100%; height:100%; padding:56px 74px; } .lightbox figure { margin:0; max-width:min(900px,100%); max-height:100%; text-align:center; } .lightbox img { max-width:100%; max-height:78vh; border-radius:14px; object-fit:contain; } .lightbox figcaption { margin-top:14px; color:#fff; } .lightbox-close,.lightbox-nav { position:absolute; border:0; color:#fff; background:rgba(255,255,255,.12); cursor:pointer; } .lightbox-close { top:20px; right:24px; width:46px; height:46px; border-radius:50%; font-size:30px; } .lightbox-nav { top:50%; width:52px; height:70px; border-radius:14px; font-size:48px; transform:translateY(-50%); } .lightbox-prev { left:18px; } .lightbox-next { right:18px; }
@media(max-width:800px){ .gallery-page-header { grid-template-columns:1fr auto; } .gallery-page-header div { grid-column:1/-1; grid-row:1; } .back-link { grid-column:1; grid-row:2; } .booking-link { grid-column:2; grid-row:2; } .gallery-page-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; } .gallery-work-info { padding:11px 12px 13px; } .lightbox-inner { padding:60px 16px 86px; } .lightbox-nav { top:auto; bottom:14px; transform:none; } }
@media(max-width:480px){ .gallery-page-main { width:min(100% - 28px,1240px); padding-top:36px; } .gallery-page-grid { grid-template-columns:1fr; } }
