/* Shared "gallery / exhibition" look for archive, artists, and artist profile pages. */

.exhibit-hero-eyebrow {
  display: block;
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 10px;
}
.exhibit-hero-title {
  font-weight: 300;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.exhibit-hero-sub {
  color: #999;
  letter-spacing: .02em;
}

.exhibit-section-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 10px 0 30px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.exhibit-section-eyebrow {
  font-size: 1.1rem !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #000 !important;
  font-weight: 800 !important;
}
.exhibit-filter-label {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: .05em;
}
.exhibit-filter-label:hover {
  background: #333 !important;
  border-color: #333 !important;
  color: #fff !important;
}
.exhibit-section-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

/* framed artwork / portrait card used in grids */
.exhibit-frame-media {
  display: block;
  background: #fff;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
  transition: box-shadow .25s ease, transform .25s ease;
}
.exhibit-frame-media:hover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
  transform: translateY(-3px);
}
.exhibit-frame-media img {
  display: block;
}
.exhibit-caption {
  text-align: center;
  padding-top: 14px;
}
.exhibit-caption-title {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.exhibit-caption-sub {
  display: block;
  font-size: .8rem;
  color: #3388cc;
  text-decoration: none;
  margin-bottom: 6px;
}
.exhibit-caption-meta {
  font-size: .78rem;
  color: #999;
  margin-bottom: 4px;
}
.exhibit-caption-price {
  font-size: .85rem;
  font-weight: 600;
}
.exhibit-caption-krw {
  font-weight: 400;
  color: #999;
  margin-left: 4px;
}

/* status dot (share flag, etc.) */
.exhibit-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-left: 6px;
}
.exhibit-dot-on {
  background: #333;
}
.exhibit-dot-off {
  background: #ddd;
}

/* grouped section header (used for "by artist" grouping, icon row, etc.) */
.exhibit-group-block {
  margin-bottom: 56px;
}
.exhibit-group-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  margin-bottom: 30px;
  cursor: pointer;
}
.exhibit-group-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.exhibit-group-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}
.exhibit-group-name:hover {
  color: #3388cc;
}
.exhibit-group-link {
  font-size: .78rem;
  font-weight: 600;
  color: #3388cc;
  text-decoration: none;
  white-space: nowrap;
}
.exhibit-group-link:hover {
  text-decoration: underline;
}
.exhibit-group-count {
  font-size: .75rem;
  color: #aaa;
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}
.exhibit-group-toggle {
  color: #999;
  transition: transform .2s ease;
}
.exhibit-group-toggle.collapsed {
  transform: rotate(180deg);
}
.exhibit-group-body.collapsed {
  display: none;
}

/* portfolio rich-text (Summernote output) — override its small/faint inline defaults */
.exhibit-portfolio-content,
.exhibit-portfolio-content * {
  font-size: 1.1rem !important;
  line-height: 1.9 !important;
  color: #111 !important;
  font-weight: 500 !important;
}
.exhibit-portfolio-content strong,
.exhibit-portfolio-content b {
  font-weight: 800 !important;
}
.exhibit-portfolio-content h1,
.exhibit-portfolio-content h2,
.exhibit-portfolio-content h3,
.exhibit-portfolio-content h4,
.exhibit-portfolio-content h5,
.exhibit-portfolio-content h6 {
  color: #000 !important;
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  margin-top: 1.2em;
}
.exhibit-portfolio-content img {
  max-width: 100% !important;
  height: auto !important;
}
.exhibit-portfolio-content a {
  color: #3388cc !important;
  font-weight: 700 !important;
}

/* single-item detail: framed media + plaque metadata list */
.exhibit-detail-media {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
  padding: 20px;
}
.exhibit-detail-media img {
  display: block;
}
.exhibit-detail-eyebrow {
  display: block;
  font-size: 1.1rem !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #000 !important;
  font-weight: 800 !important;
  margin-bottom: 10px;
}
.exhibit-detail-title {
  color: #111;
  font-weight: 600;
}
.exhibit-detail-desc,
.exhibit-detail-desc p {
  color: #000 !important;
  font-size: .95rem !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
  margin-bottom: 24px;
}
.exhibit-plaque {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, .08);
}
.exhibit-plaque li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  font-size: .98rem;
}
.exhibit-plaque .label {
  color: #999;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .75rem;
  white-space: nowrap;
  padding-top: 2px;
}
.exhibit-plaque .value {
  text-align: right;
  color: #111;
  font-weight: 600;
}

/* small muted icon-link row (homepage / instagram / gallery / history, etc.) */
.exhibit-icon-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}
.exhibit-icon-row a,
.exhibit-icon-row span {
  color: #333;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}
.exhibit-icon-row a:hover {
  color: #3388cc;
}

/* prominent call-to-action link (e.g. "view gallery") */
.exhibit-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 26px;
  border: 1px solid #3388cc;
  border-radius: 999px;
  color: #3388cc;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.exhibit-cta-btn-sm {
  padding: 8px 14px;
  font-size: .8rem;
  gap: 6px;
}
.exhibit-cta-btn i {
  font-size: 1.1rem;
}
.exhibit-cta-btn:hover {
  background: #3388cc;
  color: #fff;
  box-shadow: 0 8px 20px rgba(51, 136, 204, .3);
}

/* full-width divider used to break a grid into sections (e.g. by year) */
.exhibit-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0 10px;
  color: #999;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.exhibit-divider::before,
.exhibit-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, .08);
}
.exhibit-divider .exhibit-divider-value {
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: .15em;
  color: #333;
}

/* large "on the wall" display: one or two pieces per row, full image, generous mat + standing shadow */
.exhibit-wall-item {
  margin-bottom: 90px;
}
.exhibit-wall-frame {
  display: block;
  background: #fff;
  padding: clamp(16px, 4vw, 36px);
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .09);
  transition: box-shadow .3s ease, transform .3s ease;
}
.exhibit-wall-frame:hover {
  box-shadow: 0 24px 56px rgba(0, 0, 0, .15);
  transform: translateY(-4px);
}
.exhibit-wall-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.exhibit-wall-caption {
  text-align: center;
  padding-top: 26px;
}
.exhibit-wall-caption-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.exhibit-wall-caption-meta {
  font-size: .8rem;
  color: #999;
  margin-bottom: 8px;
  letter-spacing: .03em;
}
.exhibit-wall-caption-price {
  font-size: 1rem;
  font-weight: 600;
}

/* affiliation / tag pills */
.exhibit-pill {
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 999px;
  padding: 4px 16px;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  margin: 0 8px 8px 0;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.exhibit-pill:hover {
  background: #222;
  border-color: #222;
  color: #fff;
}

/* ============================================================
   Dark "gallery room" theme — artist gallery wall + art detail.
   Wrap <main> with .exhibit-gallery-room; every rule below is
   scoped under it so the shared exhibit-* classes keep their
   normal light styling everywhere else on the site.
   ============================================================ */
.exhibit-gallery-room {
  position: relative;
  background: #0c0c0d;
  color: #e9e9e6;
  overflow: hidden;
}
/* soft ceiling wash across the top of the room */
.exhibit-gallery-room::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 320px;
  background: radial-gradient(ellipse 900px 320px at 50% 0%, rgba(255, 241, 214, .09), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

/* breadcrumb strip */
.exhibit-gallery-room .bg-body-secondary {
  background: #131315 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.exhibit-gallery-room .breadcrumb-item a {
  color: #a9a9a3;
}
.exhibit-gallery-room .breadcrumb-item.active {
  color: #d9b47f;
}
.exhibit-gallery-room .breadcrumb-item + .breadcrumb-item::before {
  color: #555;
}

/* hero */
.exhibit-gallery-room .exhibit-hero-eyebrow { color: #d9b47f; }
.exhibit-gallery-room .exhibit-hero-title { color: #f6f4ee !important; }
.exhibit-gallery-room .exhibit-hero-sub { color: #9c9c96; }
.exhibit-gallery-room .exhibit-cta-btn {
  border-color: #d9b47f;
  color: #d9b47f;
}
.exhibit-gallery-room .exhibit-cta-btn:hover {
  background: #d9b47f;
  color: #111;
  box-shadow: 0 10px 26px rgba(217, 180, 127, .3);
}

/* year divider */
.exhibit-gallery-room .exhibit-divider { color: #9c9c96; }
.exhibit-gallery-room .exhibit-divider::before,
.exhibit-gallery-room .exhibit-divider::after {
  background: rgba(255, 255, 255, .1);
}
.exhibit-gallery-room .exhibit-divider-value { color: #f2efe8 !important; }

/* each work spotlighted on the wall */
@keyframes exhibit-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}
.exhibit-gallery-room .exhibit-wall-item {
  position: relative;
  z-index: 1;
  transform-origin: center;
  animation: exhibit-breathe 8s ease-in-out infinite;
}
.exhibit-gallery-room .exhibit-wall-item:nth-child(3n+2) { animation-delay: -2.6s; }
.exhibit-gallery-room .exhibit-wall-item:nth-child(3n+3) { animation-delay: -5.3s; }
.exhibit-gallery-room .exhibit-wall-item::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 50%;
  width: 68%;
  height: 240px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at top, rgba(255, 241, 214, .17), rgba(255, 241, 214, 0) 72%);
  pointer-events: none;
  z-index: 0;
}
.exhibit-gallery-room .exhibit-wall-frame {
  position: relative;
  z-index: 1;
  background: #faf8f3;
  border-color: rgba(255, 255, 255, .06);
  box-shadow: 0 2px 0 rgba(255, 255, 255, .05), 0 40px 70px rgba(0, 0, 0, .65), 0 0 100px rgba(255, 241, 214, .06);
}
.exhibit-gallery-room .exhibit-wall-frame:hover {
  box-shadow: 0 2px 0 rgba(255, 255, 255, .07), 0 50px 90px rgba(0, 0, 0, .75), 0 0 130px rgba(255, 241, 214, .1);
}
.exhibit-gallery-room .exhibit-wall-caption-title { color: #f2f0ea; }
.exhibit-gallery-room .exhibit-wall-caption-meta { color: #90908a; }
.exhibit-gallery-room .exhibit-wall-caption-price { color: #ecdfc3; }
.exhibit-gallery-room .exhibit-caption-krw { color: #7c7c77; }
.exhibit-gallery-room p.text-center { color: #8c8c86; }

/* single-artwork detail, spotlighted the same way */
.exhibit-gallery-room .exhibit-detail-media {
  position: relative;
  z-index: 1;
  background: #faf8f3;
  border-color: rgba(255, 255, 255, .06);
  box-shadow: 0 2px 0 rgba(255, 255, 255, .05), 0 40px 80px rgba(0, 0, 0, .65), 0 0 120px rgba(255, 241, 214, .07);
}
.exhibit-gallery-room .row.justify-content-center.mb-10 {
  position: relative;
}
.exhibit-gallery-room .row.justify-content-center.mb-10::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  width: 50%;
  height: 220px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at top, rgba(255, 241, 214, .16), rgba(255, 241, 214, 0) 72%);
  pointer-events: none;
  z-index: 0;
}
.exhibit-gallery-room .exhibit-detail-eyebrow { color: #d9b47f !important; }
.exhibit-gallery-room .exhibit-detail-title { color: #f6f4ee !important; }
.exhibit-gallery-room .exhibit-detail-desc,
.exhibit-gallery-room .exhibit-detail-desc p { color: #c9c9c3 !important; }
.exhibit-gallery-room .exhibit-plaque { border-top-color: rgba(255, 255, 255, .1); }
.exhibit-gallery-room .exhibit-plaque li { border-bottom-color: rgba(255, 255, 255, .1); }
.exhibit-gallery-room .exhibit-plaque .label { color: #86867f; }
.exhibit-gallery-room .exhibit-plaque .value { color: #f2f0ea !important; }
.exhibit-gallery-room .border-top { border-color: rgba(255, 255, 255, .08) !important; }

/* pagination */
.exhibit-gallery-room .pagination .page-link {
  background: transparent;
  color: #cfcfc9;
  border-color: rgba(255, 255, 255, .14);
}
.exhibit-gallery-room .pagination .page-item.active .page-link {
  background: #d9b47f;
  border-color: #d9b47f;
  color: #111;
}
.exhibit-gallery-room .pagination .page-link:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
