.wp-topbar,
.wp-topbar *,
.wp-topbar *::before,
.wp-topbar *::after{
  box-sizing:border-box;
}

.wp-topbar{
  width:100%;
  position:relative;
  z-index:9999;
  background:linear-gradient(180deg,#080808,#13110d);
  border-bottom:1px solid rgba(232,190,108,.28);
  font-family:"Noto Sans TC","Microsoft JhengHei",system-ui,sans-serif;
}

.wp-topbar__inner{
  width:100%;
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px clamp(14px,4vw,34px);
}

.wp-topbar__brand{
  display:flex;
  flex-direction:column;
  line-height:1.2;
  text-decoration:none;
}

.wp-topbar__brand span{
  display:block;
  color:#f5d89d;
  font-size:clamp(20px,2.3vw,28px);
  font-weight:900;
  letter-spacing:3px;
}

.wp-topbar__brand small{
  display:block;
  margin-top:6px;
  color:#d8b76a;
  font-size:12px;
  font-weight:800;
  letter-spacing:3px;
}

.wp-topbar__btn{
  width:74px;
  height:54px;
  min-width:74px;
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:0;
  border-radius:999px;
  background:linear-gradient(180deg,#8b8574,#746c5f);
  color:#f1cc82;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  box-shadow:
    inset 0 7px 12px rgba(0,0,0,.34),
    inset 0 -3px 6px rgba(255,255,255,.12),
    0 10px 18px rgba(0,0,0,.35);
}

.wp-topbar__panel{
  display:none;
  position:absolute;
  top:calc(100% + 8px);
  left:clamp(12px,4vw,34px);
  right:clamp(12px,4vw,34px);
  z-index:10000;
  padding:14px 22px 20px;
  border:1px solid rgba(232,190,108,.28);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(245,242,236,.98));
  box-shadow:0 18px 44px rgba(0,0,0,.5);
}

.wp-topbar__panel.is-open{
  display:block;
}

.wp-topbar__panel a{
  display:block;
  padding:15px 0;
  border-bottom:1px solid rgba(0,0,0,.06);
  color:#b08847;
  font-size:17px;
  font-weight:800;
  line-height:1.5;
  text-decoration:none;
}

.wp-topbar__panel a:last-child{
  border-bottom:0;
}

@media (min-width:768px){
  .wp-topbar__inner{
    min-height:86px;
  }

  .wp-topbar__panel{
    left:auto;
    right:34px;
    width:min(420px,86vw);
  }
}

@media (max-width:767px){
  .wp-topbar__inner{
    justify-content:center;
  }

  .wp-topbar__btn{
    position:absolute;
    top:50%;
    left:16px;
    transform:translateY(-50%);
  }

  .wp-topbar__brand{
    text-align:center;
  }

  .wp-topbar__brand span{
    font-size:23px;
  }

  .wp-topbar__brand small{
    font-size:12px;
  }
}

.wp-photo-page-widget,
.wp-photo-page-widget *{
  box-sizing:border-box;
}
.wp-photo-page-widget{
  width:100%;
  max-width:100%;
  margin:0 auto;
  padding:0 0 42px;
  overflow-x:hidden;
  background:#050507;
  color:#f3e7dc;
  font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;
}
.wp-photo-page-widget img{
  max-width:100%;
  height:auto;
}
.wp-photo-page-widget a{
  color:#dfbd7a;
  text-decoration:none;
}
.wp-photo-page-widget a:hover{
  color:#fff0c4;
}
.wp-photo-content-block,
.wp-photo-page-widget > p,
.wp-photo-page-widget > h2,
.wp-photo-page-widget > h3,
.wp-photo-page-widget > h4,
.wp-photo-faq-q{
  width:min(100% - 28px,980px);
  margin-left:auto;
  margin-right:auto;
}
.wp-photo-content-block{
  padding:42px 18px 18px;
  text-align:center;
}
.wp-photo-hero-text{
  position:relative;
  width:min(100% - 28px,1040px);
  margin:28px auto 18px;
  padding:clamp(34px,5vw,58px) clamp(18px,4vw,46px);
  border:1px solid rgba(245,216,157,.28);
  border-radius:32px;
  background:
    radial-gradient(circle at 50% 0%,rgba(245,216,157,.13),transparent 42%),
    linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.018)),
    rgba(8,8,10,.72);
  box-shadow:0 20px 58px rgba(0,0,0,.52),inset 0 0 0 1px rgba(255,255,255,.035);
  overflow:hidden;
}
.wp-photo-hero-text::before{
  content:"KTV PRO";
  position:absolute;
  top:18px;
  left:50%;
  transform:translateX(-50%);
  color:rgba(245,216,157,.20);
  font-size:11px;
  font-weight:900;
  letter-spacing:.36em;
  white-space:nowrap;
}
.wp-photo-content-block h1{
  margin:0 0 20px;
  color:#f5d89d;
  font-size:clamp(34px,6vw,58px);
  line-height:1.22;
  font-weight:900;
  letter-spacing:.03em;
  text-shadow:0 0 26px rgba(245,216,157,.18);
}
.wp-photo-content-block p,
.wp-photo-page-widget > p,
.wp-photo-gallery > p{
  color:#efe8df;
  font-size:17px;
  line-height:2;
  font-weight:500;
}
.wp-photo-content-block p{
  max-width:880px;
  margin:0 auto;
  color:#fff3df;
}
.wp-photo-page-widget > p,
.wp-photo-gallery > p{
  position:relative;
  width:min(100% - 28px,980px);
  margin:16px auto;
  padding:20px clamp(18px,3vw,30px);
  border:1px solid rgba(245,216,157,.12);
  border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.043),rgba(255,255,255,.018));
  box-shadow:0 14px 34px rgba(0,0,0,.22);
}
.wp-photo-page-widget > h2,
.wp-photo-gallery > h2{
  position:relative;
  width:min(100% - 28px,980px);
  max-width:980px;
  margin:42px auto 16px;
  padding:20px clamp(18px,3vw,30px);
  border-left:4px solid rgba(245,216,157,.72);
  border-radius:22px;
  background:linear-gradient(90deg,rgba(245,216,157,.14),rgba(245,216,157,.04) 58%,rgba(255,255,255,.015));
  box-shadow:inset 0 0 0 1px rgba(245,216,157,.08);
  color:#f5d89d;
  font-size:clamp(26px,4vw,38px);
  line-height:1.35;
  font-weight:900;
}
.wp-photo-page-widget > h2::after,
.wp-photo-gallery > h2::after{
  content:"";
  display:block;
  width:72px;
  height:2px;
  margin-top:12px;
  border-radius:99px;
  background:linear-gradient(90deg,#f5d89d,rgba(245,216,157,0));
}
.wp-photo-page-widget > h3,
.wp-photo-gallery > h3{
  width:min(100% - 28px,980px);
  margin:30px auto 12px;
  padding:0 4px;
  color:#f2d59b;
  font-size:clamp(22px,3vw,30px);
  line-height:1.4;
  font-weight:900;
}
.wp-photo-page-widget > h4,
.wp-photo-gallery > h4{
  width:min(100% - 28px,980px);
  margin:24px auto 10px;
  padding:0 4px;
  color:#dfbd7a;
  font-size:21px;
  line-height:1.45;
  font-weight:900;
}
.wp-featured-image-card{
  width:100%;
  max-width:900px;
  margin:0 auto;
  padding:12px;
}
.wp-featured-image-card a{
  display:block;
  width:100%;
  overflow:hidden;
  border-radius:26px;
  border:1px solid rgba(218,181,104,.45);
  background:#080808;
  box-shadow:0 0 0 1px rgba(255,255,255,.04) inset,0 18px 50px rgba(0,0,0,.65);
}
.wp-featured-image-card img{
  display:block;
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  object-position:center 12%;
}
.wp-photo-gallery{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:34px 14px 42px;
  background:#050507;
  color:#f3e7dc;
}
.wp-gallery-head{
  text-align:center;
  margin-bottom:26px;
}
.wp-gallery-head h2{
  margin:0 0 12px;
  color:#f2d59b;
  font-size:32px;
  line-height:1.35;
  font-weight:800;
}
.wp-gallery-head p{
  max-width:880px;
  margin:0 auto;
  color:#efe8df;
  font-size:16px;
  line-height:1.95;
  font-weight:500;
}

#wp-photo-page-widget .wp-gallery-grid{
  --wp-gallery-gap:18px;
  display:flex;
  gap:var(--wp-gallery-gap);
  width:100%;
  margin:0;
  padding:10px 58px 22px;
  position:relative;
  anchor-name:--wp-photo-gallery;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  overscroll-behavior-inline:contain;
  scrollbar-width:none;
  -ms-overflow-style:none;
  -webkit-overflow-scrolling:touch;
}

#wp-photo-page-widget .wp-gallery-grid::-webkit-scrollbar{
  display:none;
}

#wp-photo-page-widget .wp-gallery-item{
  flex:0 0 calc((100% - 36px) / 3);
  min-width:0;
  margin:0;
  position:relative;
  overflow:hidden;
  scroll-snap-align:start;
  scroll-snap-stop:always;
  border:1px solid rgba(214,176,106,.72);
  border-radius:20px;
  background:#090909;
  box-shadow:
    0 12px 32px rgba(0,0,0,.42),
    0 0 0 1px rgba(255,224,157,.08) inset;
}

#wp-photo-page-widget .wp-gallery-item img{
  display:block;
  width:100%;
  height:420px;
  margin:0;
  aspect-ratio:auto;
  object-fit:cover;
  object-position:center;
  border:0;
  border-radius:inherit;
  transition:transform .35s ease,filter .35s ease;
}

#wp-photo-page-widget .wp-gallery-item:hover img{
  transform:scale(1.025);
  filter:brightness(1.05);
}

#wp-photo-page-widget .wp-gallery-item::after{
  content:"";
  position:absolute;
  inset:7px;
  z-index:2;
  border:1px solid rgba(242,210,142,.42);
  border-radius:14px;
  pointer-events:none;
}

#wp-photo-page-widget .wp-gallery-grid::scroll-button(left),
#wp-photo-page-widget .wp-gallery-grid::scroll-button(right){
  position:absolute;
  position-anchor:--wp-photo-gallery;
  align-self:anchor-center;
  z-index:20;
  width:46px;
  height:46px;
  margin:0;
  padding:0;
  border:1px solid rgba(245,213,145,.82);
  border-radius:50%;
  background:linear-gradient(145deg,rgba(36,29,18,.98),rgba(7,7,7,.98));
  color:#f4d997;
  font-size:25px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  box-shadow:
    0 8px 24px rgba(0,0,0,.55),
    0 0 16px rgba(214,176,106,.22);
  transition:
    transform .2s ease,
    opacity .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

#wp-photo-page-widget .wp-gallery-grid::scroll-button(left){
  content:"❮" / "上一組照片";
  right:calc(anchor(left) - 54px);
}

#wp-photo-page-widget .wp-gallery-grid::scroll-button(right){
  content:"❯" / "下一組照片";
  left:calc(anchor(right) - 54px);
}

#wp-photo-page-widget .wp-gallery-grid::scroll-button(left):hover,
#wp-photo-page-widget .wp-gallery-grid::scroll-button(right):hover{
  transform:scale(1.08);
  border-color:#f7dfa3;
  box-shadow:
    0 10px 28px rgba(0,0,0,.62),
    0 0 22px rgba(214,176,106,.38);
}

#wp-photo-page-widget .wp-gallery-grid::scroll-button(left):focus-visible,
#wp-photo-page-widget .wp-gallery-grid::scroll-button(right):focus-visible{
  outline:2px solid #f4d997;
  outline-offset:4px;
}

#wp-photo-page-widget .wp-gallery-grid::scroll-button(left):disabled,
#wp-photo-page-widget .wp-gallery-grid::scroll-button(right):disabled{
  opacity:.28;
  cursor:default;
  box-shadow:none;
}

.wp-photo-faq-q{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:20px;
  margin-bottom:8px;
  padding:14px 18px;
  border:1px solid rgba(245,216,157,.22);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(245,216,157,.12),rgba(245,216,157,.045));
  box-shadow:0 12px 28px rgba(0,0,0,.22);
  color:#f5d89d;
  font-size:20px;
  font-weight:900;
}
.wp-photo-faq-q::after{
  content:"常見問題";
  color:#e8c982;
  font-size:13px;
  letter-spacing:.12em;
}

@media(max-width:768px){
  .wp-photo-content-block{
    padding:34px 14px 14px;
  }

  .wp-photo-hero-text{
    width:calc(100% - 18px);
    margin-top:18px;
    padding:38px 16px 24px;
    border-radius:24px;
  }

  .wp-photo-content-block p,
  .wp-photo-page-widget > p,
  .wp-photo-gallery > p{
    font-size:16px;
    line-height:1.95;
  }

  .wp-photo-page-widget > h2,
  .wp-photo-page-widget > p,
  .wp-photo-gallery > h2,
  .wp-photo-gallery > p,
  .wp-photo-faq-q{
    width:calc(100% - 18px);
  }

  .wp-photo-page-widget > p,
  .wp-photo-gallery > p{
    padding:18px 16px;
    border-radius:20px;
  }

  .wp-photo-page-widget > h2,
  .wp-photo-gallery > h2{
    padding:18px 16px;
    border-radius:20px;
  }

  .wp-featured-image-card{
    max-width:100%;
    padding:8px;
  }

  .wp-featured-image-card a{
    border-radius:18px;
  }

  .wp-photo-gallery{
    padding:28px 12px 38px;
  }

  .wp-gallery-head h2{
    font-size:24px;
  }

  .wp-gallery-head p{
    font-size:15px;
    line-height:1.9;
  }
}

@media(max-width:1024px){
  #wp-photo-page-widget .wp-gallery-grid{
    padding-inline:54px;
  }

  #wp-photo-page-widget .wp-gallery-item{
    flex-basis:calc((100% - 18px) / 2);
  }

  #wp-photo-page-widget .wp-gallery-item img{
    height:390px;
  }
}

@media(max-width:767px){
  #wp-photo-page-widget .wp-gallery-grid{
    --wp-gallery-gap:12px;
    padding:8px 42px 18px;
  }

  #wp-photo-page-widget .wp-gallery-item{
    flex:0 0 88%;
    border-radius:16px;
  }

  #wp-photo-page-widget .wp-gallery-item img{
    height:430px;
  }

  #wp-photo-page-widget .wp-gallery-grid::scroll-button(left),
  #wp-photo-page-widget .wp-gallery-grid::scroll-button(right){
    width:38px;
    height:38px;
    font-size:20px;
  }

  #wp-photo-page-widget .wp-gallery-grid::scroll-button(left){
    right:calc(anchor(left) - 43px);
  }

  #wp-photo-page-widget .wp-gallery-grid::scroll-button(right){
    left:calc(anchor(right) - 43px);
  }
}

@media(max-width:480px){
  #wp-photo-page-widget .wp-gallery-grid{
    padding-inline:38px;
  }

  #wp-photo-page-widget .wp-gallery-item{
    flex-basis:92%;
  }

  #wp-photo-page-widget .wp-gallery-item img{
    height:390px;
  }
}

@media(prefers-reduced-motion:reduce){
  #wp-photo-page-widget .wp-gallery-grid{
    scroll-behavior:auto;
  }

  #wp-photo-page-widget .wp-gallery-item img,
  #wp-photo-page-widget .wp-gallery-grid::scroll-button(left),
  #wp-photo-page-widget .wp-gallery-grid::scroll-button(right){
    transition:none;
  }
}