/* =============================================
   CHYLIM — イベント一覧ページ CSS
   chylim_event_list.css
============================================= */

/* ===== PAGE HERO ===== */
.event-list-hero {
  background: var(--green-dark);
  padding: 100px 24px 52px;
  position: relative;
  overflow: hidden;
}
.event-list-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(116,198,157,0.04) 0px,
      rgba(116,198,157,0.04) 1px,
      transparent 1px,
      transparent 48px
    );
}
.event-list-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.event-list-hero-label {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--green-light);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.event-list-hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 108px);
  color: white;
  line-height: 1;
  letter-spacing: 6px;
  margin-bottom: 14px;
}
.event-list-hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  max-width: 520px;
}

/* ===== BODY WRAPPER ===== */
.event-list-body {
  padding: 52px 24px 100px;
  background: #fafaf8;
}
.event-list-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== SECTION: 開催予定 / 終了 ===== */
.event-list-section {
  margin-bottom: 72px;
}

.event-list-section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid #efefef;
}

.event-list-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
  white-space: nowrap;
}
.event-list-section-label.upcoming {
  background: var(--green-dark);
  color: white;
}
.event-list-section-label.past {
  background: #e8e8e8;
  color: var(--gray-mid);
}

.event-list-section-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.upcoming .event-list-section-dot {
  background: var(--green-light);
  box-shadow: 0 0 0 3px rgba(116,198,157,0.4);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.past .event-list-section-dot {
  background: #bbb;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(116,198,157,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(116,198,157,0.15); }
}

.event-list-section-comment {
  font-size: 13px;
  color: var(--gray-mid);
  line-height: 1.7;
}

/* ===== 終了カードの見た目を少し落とす ===== */
.event-card.is-past {
  opacity: 0.72;
  filter: saturate(0.6);
}
.event-card.is-past:hover {
  opacity: 1;
  filter: saturate(1);
}

/* 終了ボタン */
.event-link-past {
  background: var(--gray-mid) !important;
}
.event-link-past:hover {
  background: var(--green-main) !important;
}

/* ===== 空表示 ===== */
.events-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--gray-mid);
  font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .event-list-hero { padding: 88px 20px 40px; }
  .event-list-section-header { gap: 12px; }
  .event-list-section-comment { font-size: 12px; }
}
@media (max-width: 600px) {
  .event-list-body { padding: 40px 16px 72px; }
  .event-list-section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}
