/* performances.css */

/* ===== Intro ===== */

.page-performances .perf-intro{
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
  padding: 1.25rem 1rem 0.75rem;
}

.page-performances .perf-intro h2{
  margin: 0 0 0.75rem;
}

.page-performances .perf-intro p{
  margin: 0.5rem 0;
}

.page-performances .perf-note{
  font-size: 0.92em;
  opacity: 0.72;
}

.page-performances .perf-intro-line{
  display: block;
  width: 48px;
  height: 1px;
  background: #ccc;
  margin: 0.75rem auto;
}

/* ===== List spacing ===== */

.page-performances .grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* ===== Card (white plaque) ===== */

.page-performances .perf.card{
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== Card layout: video left / info right ===== */

.page-performances .perf-media{
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.page-performances .perf-video{
  flex: 0 0 370px;
  max-width: 370px;
}

.page-performances .perf-video iframe{
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 12px;
  display: block;
}

.page-performances .perf-info{
  flex: 1;
  min-width: 0;
}

/* ===== Typography ===== */

.page-performances .perf-title{
  margin: 0 0 10px;
  font-weight: 700;
  line-height: 1.2;
}

.page-performances .perf-meta{
  margin: 0 0 12px;
  font-weight: 400;
  font-size: 0.95em;
  color: #555;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.page-performances .perf-text{
  margin: 0;
  font-size: 0.95em;
  color: #777;
  opacity: 0.78;
  line-height: 1.55;
}

/* ===== Group card ===== */

.page-performances .perf-group.card{
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.page-performances .perf-group-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.page-performances .perf-group-title{
  font-weight: 700;
  line-height: 1.2;
}

.page-performances .perf-group-sub{
  font-size: 0.9em;
  opacity: 0.7;
  white-space: nowrap;
}

.page-performances .perf-group-text{
  margin: 0 0 14px;
  opacity: 0.78;
  line-height: 1.55;
}

.page-performances .perf-group-items{
  display: grid;
  gap: 18px;
}

.page-performances .perf-item{
  padding-top: 18px;
  border-top: 1px solid #e6e6e6;
}

.page-performances .perf-item:first-child{
  padding-top: 0;
  border-top: 0;
}

/* ===== More button ===== */

.page-performances .more-wrap{
  display: flex;
  justify-content: center;
  margin: 18px 0 6px;
}

/* ===== Responsive ===== */

@media (max-width: 820px){
  .page-performances .perf-media{
    flex-direction: column;
  }

  .page-performances .perf-video{
    flex: 0 0 auto;
    max-width: 100%;
  }

  .page-performances .perf.card{
    max-width: 100%;
  }
}
/* ===== Scroll to top button ===== */
.scroll-top{
  position:fixed;
  right:18px !important;
  bottom:calc(18px + env(safe-area-inset-bottom)) !important;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--card);
  box-shadow:var(--shadow);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  color:inherit;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(6px);
  transition:opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index:9999;
}

.scroll-top.is-visible{
  opacity:.6;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}

.scroll-top:hover{
  opacity:1;
}
