/* ==========================================================================
   吳卿金雕 — exhibitions.css（僅「展覽鑑賞」頁載入，搭配 home.css 的共用質感）
   1. 頁首
   2. 目前展覽
   3. 即將開展
   4. 預約方式
   5. 預約表單
   6. 歷年展覽（時間軸）
   7. 交通資訊
   ========================================================================== */

/* 本頁卡片不使用首頁關鍵字區的序號 */
.art-card__title::before { content: none; }
.art-card__title { padding-top: 0; }

/* --------------------------------------------------------------------------
   1. 頁首
   -------------------------------------------------------------------------- */
.exhibit-hero { min-height: min(84svh, 800px); }
.exhibit-hero .page-hero__bg img { object-position: 50% 45%; animation: none; transform: none; }
.exhibit-hero .page-hero__title { font-size: clamp(2.8rem, 1.6rem + 4.4vw, 5.4rem); letter-spacing: 0.16em; }
.exhibit-hero .feature-hero__sub { letter-spacing: 0.22em; }
@media (max-width: 980px) {
  .exhibit-hero .page-hero__bg img { opacity: 0.55; }
}

/* --------------------------------------------------------------------------
   2. 目前展覽
   -------------------------------------------------------------------------- */
#current { background: radial-gradient(900px 500px at 50% 0%, rgba(200, 164, 92, 0.06), transparent 70%); }
.exhibit-feature {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  background: linear-gradient(160deg, rgba(214, 180, 108, 0.06), transparent 55%), #111114;
  border-color: rgba(214, 180, 108, 0.24);
  border-radius: 2px;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}
@media (max-width: 900px) { .exhibit-feature { grid-template-columns: minmax(0, 1fr); } }
.exhibit-feature__media { min-height: 520px; overflow: hidden; }
.exhibit-feature__media img { transition: transform 1.4s var(--ease-out); }
.exhibit-feature:hover .exhibit-feature__media img { transform: scale(1.04); }
.exhibit-feature__media::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(242, 229, 196, 0.25);
  pointer-events: none;
}
@media (max-width: 900px) { .exhibit-feature__media { min-height: 0; aspect-ratio: 4 / 3; } }

/* 展出中：呼吸光點 */
.exhibit-feature__live {
  position: absolute;
  top: 1.6rem;
  left: 1.6rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #171208;
  background: linear-gradient(135deg, #f2e5c4, #d6b46c 50%, #a8823f);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}
.exhibit-feature__live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b2a08;
  animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59, 42, 8, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(59, 42, 8, 0); }
}

.exhibit-feature__body { padding: clamp(2rem, 3.6vw, 3.4rem); gap: 1.15rem; }
.exhibit-feature__title {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-wrap: balance;
}
.exhibit-feature__body > .text-muted:first-of-type { color: var(--gold-300); letter-spacing: 0.08em; }
.exhibit-feature__meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(214, 180, 108, 0.14);
  border: 1px solid rgba(214, 180, 108, 0.14);
}
.exhibit-feature__meta div {
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem 1rem;
  background: #111114;
}
.exhibit-feature__meta div:nth-child(3) { grid-column: 1 / -1; }
.exhibit-feature__meta dt { width: auto; padding: 0; font-size: 0.66rem; color: var(--gold-600); }
.exhibit-feature__meta dd { color: var(--ivory); font-size: 0.92rem; }
@media (max-width: 480px) {
  .exhibit-feature__meta { grid-template-columns: minmax(0, 1fr); }
}
.exhibit-feature__list li { color: var(--gold-200); }

/* --------------------------------------------------------------------------
   3. 即將開展
   -------------------------------------------------------------------------- */
.upcoming-grid { gap: clamp(1.25rem, 2.4vw, 2rem); }
.upcoming-grid .art-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(2.2rem, 3.4vw, 3.2rem);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(214, 180, 108, 0.12), transparent 65%),
    #111114;
  border: 1px dashed rgba(214, 180, 108, 0.35);
  border-radius: 2px;
}
.upcoming-grid .art-card:hover { border-style: solid; border-color: rgba(214, 180, 108, 0.6); }
.upcoming-grid .art-card::after {
  content: "Coming Soon";
  position: absolute;
  right: 1.6rem;
  bottom: 1.2rem;
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem);
  font-style: italic;
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 180, 108, 0.22);
  pointer-events: none;
}
.upcoming-badge { margin-bottom: 1.2rem; color: var(--gold-300); border-color: rgba(214, 180, 108, 0.45); }
.upcoming-grid .art-card__title { font-size: 1.35rem; letter-spacing: 0.1em; color: var(--ivory); }
.upcoming-grid .art-card__desc:empty { display: none; }
.upcoming-grid .mt-3 { margin-top: auto; padding-top: 1.5rem; position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   4. 預約方式
   -------------------------------------------------------------------------- */
.visit-grid {
  gap: 1px;
  background: rgba(214, 180, 108, 0.16);
  border: 1px solid rgba(214, 180, 108, 0.16);
}
.visit-grid .art-card {
  padding: clamp(2rem, 3vw, 2.8rem) clamp(1.4rem, 2.2vw, 2rem);
  text-align: center;
  background: #0f0f12;
  border: 0;
  border-radius: 0;
}
.visit-grid .art-card:hover { transform: none; background: #16161a; }
.visit-grid .art-card::before { left: 50%; width: 50%; transform: translateX(-50%) scaleX(0); transform-origin: center; background: linear-gradient(90deg, transparent, var(--gold-300), transparent); }
.visit-grid .art-card:hover::before { transform: translateX(-50%) scaleX(1); }
.visit-grid .art-card__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  color: var(--gold-200);
}
.visit-grid .art-card__title::after {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold-400);
  transform: rotate(45deg);
}
.visit-grid .art-card__desc { color: var(--fg-muted); opacity: 0.9; }
@media (max-width: 640px) {
  .visit-grid { background: none; border: 0; gap: 1rem; }
  .visit-grid .art-card { border: 1px solid rgba(214, 180, 108, 0.16); }
}

/* --------------------------------------------------------------------------
   5. 預約表單
   -------------------------------------------------------------------------- */
#visit-form .contact-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(214, 180, 108, 0.08), transparent 55%), #111114;
  border-color: rgba(214, 180, 108, 0.24);
  border-radius: 2px;
}
#visit-form .contact-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--gold-grad);
}
#visit-form .section-head__title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem) !important; }
#visit-form .input,
#visit-form .select,
#visit-form .textarea { background-color: rgba(0, 0, 0, 0.3); padding-block: 0.95rem; }
#visit-form .btn--gold[type="submit"] { width: 100%; }
#visit-form .info-card {
  background: #111114;
  border-color: rgba(214, 180, 108, 0.16);
  border-radius: 2px;
}
#visit-form .info-card__icon { width: 44px; height: 44px; background: radial-gradient(circle at 30% 25%, rgba(242, 229, 196, 0.14), transparent 65%); color: var(--gold-300); }
#visit-form .line-card { border-radius: 2px; }

/* --------------------------------------------------------------------------
   6. 歷年展覽：時間軸
   -------------------------------------------------------------------------- */
#past { background: #0b0b0d; }
#past .exhibit-list {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
  border-top: 0;
}
#past .exhibit-list::before {
  content: "";
  position: absolute;
  left: 11.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-500) 8%, var(--gold-600) 92%, transparent);
  opacity: 0.6;
}
#past .exhibit-list__item {
  position: relative;
  grid-template-columns: 10rem minmax(0, 1fr);
  grid-template-areas: "period title" "period note";
  column-gap: 3rem;
  row-gap: 0.5rem;
  padding: 1.6rem 1.25rem 1.6rem 0;
  border-bottom: 0;
  align-items: start;
}
#past .exhibit-list__item::before {
  content: "";
  position: absolute;
  left: calc(11.5rem - 5px);
  top: 2.15rem;
  width: 11px;
  height: 11px;
  background: var(--ink-900);
  border: 1px solid var(--gold-400);
  transform: rotate(45deg);
  box-shadow: 0 0 0 5px rgba(214, 180, 108, 0.08);
  transition: background-color 0.4s var(--ease);
}
#past .exhibit-list__item:hover { background: linear-gradient(90deg, transparent 11.5rem, rgba(214, 180, 108, 0.05) 14rem, transparent); }
#past .exhibit-list__item:hover::before { background: var(--gold-400); }
#past .exhibit-list__item:first-child::before { background: linear-gradient(135deg, var(--gold-200), var(--gold-500)); box-shadow: 0 0 0 5px rgba(214, 180, 108, 0.15), 0 0 16px rgba(242, 229, 196, 0.6); }
#past .exhibit-list__period {
  grid-area: period;
  text-align: right;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--gold-300);
  white-space: pre-line;
}
#past .exhibit-list__title { grid-area: title; font-size: 1.12rem; letter-spacing: 0.08em; line-height: 1.6; }
#past .exhibit-list__note { grid-area: note; font-size: 0.88rem; color: var(--fg-muted); opacity: 0.85; }
@media (max-width: 760px) {
  #past .exhibit-list::before { left: 6px; }
  #past .exhibit-list__item {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "period" "title" "note";
    padding-left: 2rem;
  }
  #past .exhibit-list__item::before { left: 1px; top: 2rem; }
  #past .exhibit-list__period { text-align: left; }
  #past .exhibit-list__item:hover { background: none; }
}

/* --------------------------------------------------------------------------
   7. 交通資訊
   -------------------------------------------------------------------------- */
.map-frame {
  border-color: rgba(214, 180, 108, 0.24);
  border-radius: 2px;
  aspect-ratio: 21 / 9;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}
@media (max-width: 760px) { .map-frame { aspect-ratio: 4 / 3; } }
.map-frame__overlay {
  left: 1.5rem;
  bottom: 1.5rem;
  padding: 1rem 1.3rem;
  border-color: rgba(214, 180, 108, 0.35);
  border-left: 2px solid var(--gold-400);
  border-radius: 2px;
}
.transport-grid { gap: clamp(1rem, 2vw, 1.5rem); }
.transport-grid .art-card {
  padding: 1.8rem 1.6rem;
  background: #111114;
  border: 1px solid rgba(214, 180, 108, 0.14);
  border-radius: 2px;
}
.transport-grid .art-card:hover { transform: translateY(-4px); border-color: rgba(214, 180, 108, 0.4); }
.transport-grid .art-card__title { font-size: 1.1rem; letter-spacing: 0.18em; color: var(--gold-200); }
