:root {
  --ink: #171717;
  --soft-ink: #5f5f5f;
  --line: #e5e1da;
  --paper: #ffffff;
  --panel: #ffffff;
  --mist: #f4f4f2;
  --clay: #b95b3b;
  --forest: #1f5b4d;
  --gold: #c9922f;
  --blue: #315d7a;
  --shadow: 0 18px 50px rgba(28, 28, 28, 0.12);
  --header-bg: #151515;
  --header-text: #f8f6f2;
  --header-line: rgba(255, 255, 255, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 6vw;
  background: linear-gradient(135deg, #111111 0%, #1f1f1f 45%, #0b0b0b 100%);
  border-bottom: 1px solid var(--header-line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--header-text);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-block;
  width: 116px;
  height: 62px;
  overflow: visible;
  color: transparent;
  font-size: 0;
  line-height: 0;
  background: transparent url("../assets/images/artspot-symbol-1.svg") center / contain no-repeat;
  border-radius: 0;
  transform: translateY(0);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.24));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  color: rgba(248, 246, 242, 0.82);
}

.site-nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { color: var(--header-text); border-bottom-color: var(--clay); }
.admin-link { color: #f5c97d !important; font-weight: 700; }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 24px; cursor: pointer; }

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 44px;
  align-items: center;
  padding: 8vw 6vw;
  color: #fff;
  background:
    linear-gradient(108deg, rgba(7, 9, 10, 0.52) 0%, rgba(12, 13, 14, 0.28) 34%, rgba(7, 8, 9, 0.08) 100%),
    var(--hero-image, url("../assets/images/배너이미지3.png")) 84% center/cover;
  background-size: cover, cover;
  background-position: center center, 84% center;
  transition: background-image 900ms ease, transform 900ms ease;
  position: relative;
  overflow: hidden;
}

.hero-home {
  align-items: end;
  padding-top: 9vw;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.12), transparent 26%),
    linear-gradient(145deg, rgba(255,255,255,0.04), rgba(0,0,0,0));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -16%;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  pointer-events: none;
}

.hero-copy {
  width: min(680px, 100%);
}

.hero-home .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding-bottom: 10px;
}

.hero-home h1 {
  max-width: 10ch;
}

.hero-home p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.84);
}

.hero h1, .page-hero h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 96px);
  line-height: 1;
  letter-spacing: 0;
}

.hero p:not(.eyebrow), .page-hero p:not(.eyebrow) {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: clamp(17px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.88);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow, .page-hero .eyebrow { color: #f1b45e; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-recommendations {
  align-self: end;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.52);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hero-home .hero-recommendations {
  margin-bottom: 8px;
  background: rgba(8, 10, 10, 0.22);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-recommendations-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.hero-recommendations-head h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
}

.hero-recommendation-list {
  display: grid;
  gap: 8px;
}

.hero-recommendation {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-recommendation span {
  grid-row: span 2;
  color: #f1b45e;
  font-weight: 900;
}

.hero-recommendation strong {
  overflow-wrap: anywhere;
  color: #fff;
  line-height: 1.25;
}

.hero-recommendation em {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-style: normal;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary { color: #fff; background: var(--ink); }
.btn.ghost { color: var(--ink); background: #fff; border-color: #fff; }
.btn.full { width: 100%; }

.btn.video-btn {
  gap: 8px;
  color: #fff;
  border-color: #931313;
  background: linear-gradient(135deg, #d93b2b, #b40f16);
  box-shadow: 0 10px 22px rgba(165, 21, 24, 0.28);
}

.btn.video-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(165, 21, 24, 0.34);
}

.video-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #c1272d;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}
.text-link { color: var(--forest); font-weight: 800; }
.section {
  padding: 76px 6vw;
}

.notice-section {
  padding-top: 48px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.notice-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-write-btn {
  min-height: 38px;
  padding: 8px 14px;
}

.notice-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.notice-row {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.notice-row.is-pinned {
  border-color: #efcc8c;
  background: #fff9ed;
}

.notice-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.notice-meta time {
  color: var(--soft-ink);
  font-size: 12px;
}

.notice-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #f5d9a4;
  color: #744707;
  font-size: 11px;
  font-weight: 800;
}

.notice-row h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.notice-row h3 a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice-row p {
  margin: 8px 0 0;
  color: var(--soft-ink);
}

.notice-empty {
  padding: 14px 16px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--soft-ink);
}

.notice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.notice-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.notice-item:last-child {
  border-bottom: 1px solid var(--line);
}

.notice-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
}

.notice-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.notice-item p {
  margin: 0 0 12px;
  color: var(--soft-ink);
}

.notice-link {
  color: var(--clay);
  font-weight: 800;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section h2, .section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.lead { color: var(--soft-ink); font-size: 18px; }
.muted-band { background: var(--mist); }

.featured-grid, .card-grid, .museum-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.museum-directory {
  display: grid;
  gap: 18px;
}

.museum-region {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.museum-region:last-child {
  border-bottom: 1px solid var(--line);
}

.museum-region-head {
  position: sticky;
  top: 96px;
  align-self: start;
}

.museum-region-head span {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
}

.museum-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.museum-list-item {
  padding: 18px 0;
  border-top: 1px solid #e8e8e8;
  background: transparent;
}

.museum-list-item h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.museum-list-item h3 a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.museum-list-item dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.museum-list-item dl div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
}

.museum-list-item dt {
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 900;
}

.museum-list-item dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.art-card, .museum-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.05);
}

.image-link {
  display: block;
  overflow: hidden;
  background: var(--mist);
}

.image-link img {
  transition: transform 220ms ease, filter 220ms ease;
}

.image-link:hover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.card-body { padding: 18px; }
.card-body h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.25; }
.card-body p { margin: 0 0 12px; color: var(--soft-ink); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--soft-ink); font-size: 14px; }

.info-list {
  display: grid;
  gap: 5px;
  margin: 10px 0 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.info-list dt {
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 800;
}

.info-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--forest);
  font-size: 13px;
  font-weight: 800;
}

.badge.upcoming { background: var(--blue); }
.badge.past { background: #777; }

.tabs, .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tab, .chip {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.tab.active, .chip.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.split-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.stat-panel, .feature-list, .info-panel {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stat-panel div, .feature-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.stat-panel div:last-child, .feature-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.stat-panel strong { font-size: 26px; }
.stat-panel span, .feature-list span { color: var(--soft-ink); }

.page-hero {
  padding: 118px 6vw 90px;
  color: #fff;
  background:
    linear-gradient(98deg, rgba(7, 8, 10, 0.68), rgba(8, 10, 12, 0.14)),
    url("https://artmuse.gwangju.go.kr/upload/pj/PJ_EXHIBIT/1771836804485911.jpg") center/cover;
  background-size: cover;
  transition: background-image 900ms ease;
}

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%);
  pointer-events: none;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.compact-hero {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.museum-hero {
  background:
    linear-gradient(95deg, rgba(12, 14, 16, 0.66), rgba(12, 14, 16, 0.12)),
    url("../assets/images/배너이미지1.png") 64% center/cover;
}

.exhibition-hero {
  background:
    linear-gradient(95deg, rgba(8, 10, 12, 0.7), rgba(8, 10, 12, 0.14)),
    url("../assets/images/배너이미지6.png") center/cover;
}

.search-hero {
  background:
    linear-gradient(95deg, rgba(7, 10, 12, 0.64), rgba(7, 10, 12, 0.18)),
    url("../assets/images/배너이미지7.png") center/cover;
}

.about-hero {
  background:
    linear-gradient(95deg, rgba(12, 10, 10, 0.66), rgba(12, 10, 10, 0.2)),
    url("../assets/images/배너이미지2.png") center/cover;
}

.contact-hero {
  background:
    linear-gradient(95deg, rgba(8, 10, 12, 0.64), rgba(8, 10, 12, 0.16)),
    url("../assets/images/배너이미지8.png") center/cover;
}

.calendar-shell {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.calendar-cell {
  min-height: 128px;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calendar-cell:nth-child(7n) { border-right: 0; }
.calendar-cell strong { display: block; margin-bottom: 8px; }
.calendar-event { display: block; margin-top: 6px; color: var(--forest); font-size: 13px; font-weight: 800; }

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.page-link.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.page-link.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.search-section { padding-top: 48px; }
.search-box { display: grid; gap: 8px; max-width: 780px; font-weight: 800; }
.search-box input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-results { display: grid; gap: 18px; margin-top: 28px; }
.result-item { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.result-item h3 { margin: 0 0 6px; }
.result-item p { margin: 0; color: var(--soft-ink); }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.form-card, .admin-form {
  display: grid;
  gap: 16px;
}

.form-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

label { display: grid; gap: 7px; color: var(--ink); font-weight: 800; }
input, select, textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

textarea { resize: vertical; }

.site-footer {
  display: grid;
  gap: 18px;
  padding: 26px 6vw 18px;
  color: #fff;
  background: #111315;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) minmax(180px, 260px);
  gap: 24px;
  align-items: start;
}

.footer-brand strong {
  display: inline-block;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.footer-brand p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-meta {
  display: grid;
  gap: 4px;
}

.footer-meta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: flex-end;
  color: rgba(255, 255, 255, 0.84);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.footer-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 800;
}

.footer-top:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
}

.empty-state { padding: 28px; color: var(--soft-ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; }

.muted-inline {
  color: var(--soft-ink);
  font-size: 14px;
}

.card-links {
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.detail-panel {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.06);
}

.detail-media {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--mist);
}

.detail-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.detail-content h2 {
  margin: 10px 0 8px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

.detail-content .lead {
  margin: 0;
}

.detail-info {
  margin-top: 20px;
}

.detail-info div {
  grid-template-columns: 96px minmax(0, 1fr);
}
