/* === 全域樣式 === */
body {
  background-color: #f5f5f5;
  color: #1a1a1a;
  font-family: 'Noto Sans TC', 'Arial', sans-serif;
  line-height: 1.7;
  padding-bottom: 80px;
  margin: 0;
}

/* === 主容器 === */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* === 展覽封面圖 === */
.expo-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: block;
}

/* === 標題區 === */
.expo-header {
  padding: 20px 0 8px;
}

.expo-header h1 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
  word-wrap: break-word;
}

.expo-header p {
  font-size: 0.92rem;
  color: #777;
  margin: 3px 0;
}

/* === 狀態標籤 === */
#expo-status {
  margin: 10px 0 4px;
}

#expo-status .badge {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 999px;
  padding: 6px 14px;
}

/* 覆蓋 Bootstrap badge 顏色，讓風格更柔和 */
#expo-status .badge.bg-success {
  background-color: #2ecc71 !important;
  color: #fff;
}
#expo-status .badge.bg-warning {
  background-color: #f39c12 !important;
  color: #fff;
}
#expo-status .badge.bg-secondary {
  background-color: #95a5a6 !important;
  color: #fff;
}
#expo-status .badge.bg-dark {
  background-color: #555 !important;
  color: #fff;
}

/* === 分隔線 === */
hr.expo-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 20px 0;
}

/* === 區塊標題 === */
h3.text-primary {
  font-size: 1.15rem;
  font-weight: 600;
  color: #111 !important;
  border-left: 3px solid #111;
  padding-left: 10px;
  margin-bottom: 14px;
  display: block;
  border-bottom: none;
}

/* === 展覽描述 === */
.expo-description {
  background-color: #fafafa;
  padding: 18px 20px;
  border-radius: 8px;
  border: 1px solid #ebebeb;
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;
}

.expo-description img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem 0;
  border-radius: 6px;
}

/* === 開放日 === */
.expo-weekdays {
  font-size: 0.95rem;
  background-color: #fafafa;
  padding: 14px 18px;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  margin-bottom: 24px;
  color: #555;
}

/* === 藝術家卡片 === */
.artist-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 24px;
  background-color: #fff;
  border: 1px solid #ebebeb;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease;
}

.artist-card:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* === 藝術家個人區 === */
.artist-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.artist-headshot {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #eee;
  flex-shrink: 0;
}

.artist-info h4 {
  margin: 0 0 2px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111;
}

.artist-info p {
  margin: 0;
  font-size: 0.88rem;
  color: #888;
}

/* === 作品展示容器 === */
.artwork-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* === 單件作品（橫式） === */
.artwork-horizontal-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background-color: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  padding: 12px 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.artwork-horizontal-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

/* === 作品圖片 === */
.artwork-img-wrap {
  flex-shrink: 0;
}

.artwork-horizontal-item img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

/* === 文字資訊 === */
.artwork-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.artwork-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #666;
  word-break: break-word;
}

.artwork-text .title {
  font-weight: 600;
  font-size: 1rem;
  color: #111;
}

.artwork-text .nm {
  color: #444;
}

.artwork-text .author {
  color: #999;
  font-size: 0.85rem;
}

/* === 空資料提示 === */
.empty-hint {
  color: #aaa;
  font-size: 0.9rem;
  text-align: center;
  padding: 20px 0;
}

/* === 響應式（手機） === */
@media (max-width: 576px) {
  .container {
    padding: 20px 14px;
    border-radius: 0;
    box-shadow: none;
  }

  .expo-header h1 { font-size: 1.5rem; }
  .expo-image img { border-radius: 6px; max-height: 300px; }

  h3.text-primary { font-size: 1.05rem; }

  .artwork-horizontal-item {
    flex-direction: row;
    align-items: flex-start;
  }

  .artwork-horizontal-item img {
    width: 88px;
    height: 88px;
  }

  .artwork-text p { font-size: 0.85rem; }
  .artwork-text .title { font-size: 0.95rem; }
}