/* ========================================================
   DO HO SUH - ARTWORK DETAIL PAGE STYLESHEET
   Matching Reference Layout, Typography, Audio & Exit Button
   ======================================================== */

.detail-page {
  background-color: #ffffff;
  color: #000000;
  min-height: 100vh;
  position: relative;
}

/* Sticky / Floating Exit Button (나가기 버튼) */
.btn-exit {
  position: fixed;
  top: 2rem;
  left: 2.2rem;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.3rem;
  border: 1px solid #000000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  color: #000000;
  text-decoration: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.btn-exit:hover {
  background: #000000;
  color: #ffffff;
  transform: translateX(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.exit-arrow {
  font-size: 1.05rem;
  line-height: 1;
}

/* Detail Article Container */
.detail-container {
  width: 100%;
  max-width: 680px; /* Reference width */
  margin: 0 auto;
  padding: 4.8rem 1.6rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header */
.detail-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  width: 100%;
}

.gallery-badge {
  display: inline-block;
  background-color: #000000;
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  padding: 0.28rem 0.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
  border-radius: 1px;
}

.detail-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  letter-spacing: -0.02em;
  color: #000000;
  line-height: 1.35;
  text-align: center;
  word-break: keep-all;
}

/* Audio Docent Player Component */
.audio-docent-player {
  width: 100%;
  border: 1px solid #000000;
  background-color: #fafafa;
  padding: 1.1rem 1.4rem;
  margin-bottom: 2.8rem;
  box-sizing: border-box;
}

.player-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.player-icon {
  font-size: 1.1rem;
}

.player-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  color: #000000;
  letter-spacing: -0.01em;
}

.custom-audio-control {
  width: 100%;
  height: 38px;
  outline: none;
}

/* Metadata Boxes (Left & Right Staggered Layout) */
.meta-boxes-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: 3.2rem;
}

.meta-card {
  border: 1px solid #000000;
  background-color: #ffffff;
  padding: 1rem 1.3rem;
  box-sizing: border-box;
  width: 72%;
}

.meta-card-left {
  align-self: flex-start;
}

.meta-card-right {
  align-self: flex-end;
}

.meta-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400; /* Inter-regular */
  font-size: 0.78rem;
  line-height: 1.5;
  color: #111111;
  word-break: keep-all;
}

/* Who Am We 4-Boxes Grid */
.meta-grid-whoamwe {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 3.2rem;
}

.meta-grid-whoamwe .meta-card:nth-child(odd) {
  align-self: flex-start;
  width: 70%;
}

.meta-grid-whoamwe .meta-card:nth-child(even) {
  align-self: flex-end;
  width: 70%;
}

/* Artwork Main Photo */
.artwork-photo-wrap {
  width: 100%;
  margin-bottom: 3.8rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

.artwork-photo {
  width: 100%;
  height: auto;
  display: block;
}

/* Curatorial Body Description Text */
.curatorial-body {
  width: 100%;
  margin-bottom: 5.5rem;
}

.curatorial-body p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400; /* Inter-regular */
  font-size: 0.88rem;
  line-height: 1.85;
  color: #1c1c1c;
  margin-bottom: 1.35rem;
  word-break: keep-all;
}

.curatorial-lead {
  font-weight: 500;
  color: #000000;
}

.curatorial-closing {
  font-weight: 500;
  color: #000000;
  margin-top: 1.8rem;
}

/* Bottom MMCA Graphic Logo */
.detail-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 2.5rem;
  border-top: 1px solid #eeeeee;
}

.mmca-logo-img {
  width: 52px;
  height: auto;
  display: block;
  user-select: none;
}

/* YouTube Video Embed Component */
.video-embed-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 2.8rem;
  background-color: #000000;
}

.video-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Mobile Responsiveness */
@media (max-width: 700px) {
  .btn-exit {
    top: 1.2rem;
    left: 1.2rem;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
  }

  .detail-container {
    padding: 4rem 1.2rem 5rem;
  }

  .meta-card {
    width: 100% !important;
    align-self: stretch !important;
  }
}
