/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --header-width: 1460px;
  --header-side: 38px;
  --nav-logo-width: 360px;
  --nav-gap: 66px;
}

body {
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  color: #111;
  background: #f6f6f4;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Header */
.header {
  height: 140px;
  background: #fff;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 20;
}

.utility-menu {
  position: absolute;
  top: 14px;
  right: 38px;
  display: flex;
  align-items: center;
  gap: 0;
  color: #222;
  font-size: 12px;
  line-height: 1;
}

.utility-menu a {
  position: relative;
  padding: 0 12px;
  white-space: nowrap;
}

.utility-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 11px;
  background: #bdbdbd;
  transform: translateY(-50%);
}

.header-inner {
  max-width: var(--header-width);
  height: 100%;
  margin: 0 auto;
  padding: 28px var(--header-side) 0;
  display: grid;
  grid-template-columns: var(--nav-logo-width) 1fr;
  align-items: center;
}

.logo {
  align-self: center;
}

.logo img {
  height: 48px;
}

.nav {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  column-gap: var(--nav-gap);
  align-items: end;
  font-weight: 500;
}

.nav a {
  position: relative;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #050505;
  letter-spacing: 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: #2f55c8;
  opacity: 0;
  transform: scaleX(.72);
  transition: opacity .2s ease, transform .2s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.sub-page .nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 140px;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  box-shadow: 0 18px 32px rgba(0,0,0,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.header:hover .mega-menu,
.header:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-inner {
  max-width: var(--header-width);
  min-height: 188px;
  margin: 0 auto;
  padding: 16px var(--header-side) 18px calc(var(--header-side) + var(--nav-logo-width));
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  column-gap: var(--nav-gap);
}

.mega-menu ul {
  list-style: none;
  text-align: center;
  justify-self: stretch;
}

.mega-menu li + li {
  margin-top: 10px;
}

.mega-menu a {
  color: #444;
  font-size: 16px;
  line-height: 1.1;
  transition: color .2s ease;
}

.mega-menu a:hover,
.mega-menu a:focus-visible {
  color: #2f55c8;
}

.header-icons {
  display: flex;
  gap: 16px;
}

.header-icons button {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
}

/* Hero */
.hero {
  height: 330px;
  position: relative;
  color: #fff;
  overflow: hidden;
}

.hero-slides,
.hero-slide {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  padding: 0 9.6%;
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 4, 8, .78) 0%, rgba(2, 4, 8, .54) 36%, rgba(2, 4, 8, .08) 68%, rgba(2, 4, 8, .18) 100%);
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-text h1 {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 18px;
  text-shadow: 0 3px 18px rgba(0,0,0,.45);
}

.hero-text h1 span {
  color: #ff6262;
}

.hero-text p {
  color: rgba(255,255,255,.88);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 190px;
  height: 46px;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: .3s;
}

.hero-btn:hover {
  background: #fff;
  color: #111;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: rgba(0,0,0,.16);
  color: #fff;
  font-size: 32px;
  line-height: 34px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease, border-color .2s ease;
}

.hero-arrow:hover {
  background: rgba(255,255,255,.18);
  border-color: #fff;
}

.hero-prev {
  left: 38px;
}

.hero-next {
  right: 38px;
}

.hero-status {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.46);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.hero-dot.is-active {
  width: 30px;
  border-radius: 999px;
  background: #fff;
}

.hero-divider {
  width: 1px;
  height: 19px;
  margin-left: 6px;
  background: rgba(255,255,255,.66);
}

.hero-count {
  min-width: 45px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

/* Sub Page */
.sub-hero {
  height: 250px;
  padding: 0 8%;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(2,4,8,.78), rgba(2,4,8,.46), rgba(2,4,8,.1)),
    url("../images/bg02.png") center / cover no-repeat;
}

.sub-hero p {
  margin-bottom: 10px;
  color: #ff6262;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}

.sub-hero h1 {
  margin-bottom: 12px;
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 500;
}

.sub-hero span {
  display: block;
  color: rgba(255,255,255,.88);
  font-size: 16px;
  line-height: 1.7;
}

.sub-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 32px 72px;
}

.sub-tabs {
  position: relative;
  z-index: 2;
  margin: -58px 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid #e2e6ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(31,36,55,.08);
}

.sub-tabs a {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e8ebf1;
  color: #333;
  font-weight: 700;
}

.sub-tabs a:last-child {
  border-right: 0;
}

.sub-tabs a:hover,
.sub-tabs a:focus-visible {
  background: #1f2437;
  color: #fff;
}

.about-intro,
.about-section {
  padding: 42px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 8px;
}

.about-kicker {
  margin-bottom: 18px;
  color: #d13d4f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
}

.about-intro h2 {
  color: #111;
  font-size: 34px;
  line-height: 1.35;
  letter-spacing: 0;
  font-weight: 500;
}

.greeting-card {
  padding: 48px 54px;
}

.greeting-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 56px;
  align-items: start;
}

.greeting-content h2 {
  margin-bottom: 26px;
  color: #050505;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 500;
}

.greeting-lead {
  margin-bottom: 30px;
  color: #111;
  font-size: 25px;
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: 0;
}

.greeting-lead strong {
  color: #115dff;
  font-weight: 700;
}

.greeting-text {
  max-width: 860px;
}

.greeting-text p {
  color: #111;
  font-size: 18px;
  line-height: 1.9;
}

.greeting-text p + p {
  margin-top: 24px;
}

.greeting-photo {
  position: relative;
  margin-top: 118px;
  padding: 8px;
  border: 2px solid #f0b22e;
  background: #fff;
}

.greeting-photo::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #f0b22e;
}

.greeting-photo img {
  width: 100%;
  aspect-ratio: 1 / 1.2;
  object-fit: cover;
}

.about-copy p {
  color: #555;
  font-size: 17px;
  line-height: 1.9;
}

.about-copy p + p {
  margin-top: 16px;
}

.history-section {
  overflow: hidden;
}

.history-timeline {
  position: relative;
  margin-top: 8px;
}

.history-timeline::before {
  content: "";
  position: absolute;
  left: 95px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: #dfe4ee;
}

.history-year {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 34px;
  padding: 30px 0;
  border-bottom: 1px solid #eef0f4;
}

.history-year:first-child {
  padding-top: 8px;
}

.history-year:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.history-year h3 {
  position: sticky;
  top: 164px;
  align-self: start;
  color: #2f55c8;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0;
}

.history-year h3::after {
  content: "";
  position: absolute;
  right: 45px;
  top: 11px;
  width: 12px;
  height: 12px;
  border: 3px solid #2f55c8;
  border-radius: 50%;
  background: #fff;
}

.history-year ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.history-year li {
  min-height: 42px;
  padding: 11px 14px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid #eef0f4;
  border-radius: 8px;
  background: #fff;
}

.history-year time {
  width: 42px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f1f4fb;
  color: #2f55c8;
  font-size: 13px;
  font-weight: 800;
}

.history-year span {
  color: #333;
  font-size: 15px;
  line-height: 1.65;
}

.history-year li > span:first-child {
  grid-column: 1 / -1;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.location-map {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(31,36,55,.08) 1px, transparent 1px),
    linear-gradient(rgba(31,36,55,.08) 1px, transparent 1px),
    #f5f6f9;
  background-size: 34px 34px;
}

.location-map::before,
.location-map::after {
  content: "";
  position: absolute;
  background: rgba(47,85,200,.22);
}

.location-map::before {
  left: -20px;
  right: -20px;
  top: 48%;
  height: 24px;
  transform: rotate(-12deg);
}

.location-map::after {
  left: 48%;
  top: -20px;
  bottom: -20px;
  width: 22px;
  transform: rotate(18deg);
}

.location-map span {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 28px;
  height: 28px;
  border: 6px solid #d13d4f;
  border-radius: 50% 50% 50% 0;
  background: #fff;
  transform: translate(-50%, -80%) rotate(-45deg);
  box-shadow: 0 8px 18px rgba(209,61,79,.22);
}

.map-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 18px 20px;
  border: 1px solid rgba(31,36,55,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 24px rgba(31,36,55,.08);
}

.map-caption strong {
  display: block;
  margin-bottom: 8px;
  color: #1f2437;
  font-size: 18px;
}

.map-caption p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.location-info dl {
  display: grid;
  gap: 16px;
}

.location-info div {
  padding: 18px 0;
  border-bottom: 1px solid #eef0f4;
}

.location-info dt {
  margin-bottom: 7px;
  color: #2f55c8;
  font-size: 14px;
  font-weight: 800;
}

.location-info dd {
  color: #444;
  font-size: 17px;
  line-height: 1.6;
}

.map-buttons {
  margin-top: 24px;
  display: flex;
  gap: 10px;
}

.map-buttons a {
  min-width: 138px;
  height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8dce4;
  border-radius: 8px;
  background: #fff;
  color: #1f2437;
  font-size: 14px;
  font-weight: 800;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.map-buttons a:first-child {
  background: #ffe812;
  border-color: #ffe812;
}

.map-buttons a:last-child {
  background: #1f2437;
  border-color: #1f2437;
  color: #fff;
}

.map-buttons a:hover,
.map-buttons a:focus-visible {
  transform: translateY(-2px);
}

/* Business Page */
.business-hero {
  background:
    linear-gradient(90deg, rgba(2,4,8,.8), rgba(2,4,8,.46), rgba(2,4,8,.12)),
    url("../images/bg03.png") center / cover no-repeat;
}

.business-section {
  padding: 40px 42px 48px;
  background: #fff;
  border-radius: 8px;
}

.business-title {
  margin-bottom: 16px;
}

.business-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 42px;
  align-items: start;
}

.business-list {
  list-style: none;
  border-top: 1px solid #dfe3ea;
}

.business-list li {
  position: relative;
  min-height: 106px;
  display: grid;
  grid-template-columns: 146px 1fr;
  align-items: center;
  border-bottom: 1px solid #dfe3ea;
}

.business-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 146px;
  height: 3px;
  background: #00a8df;
}

.business-list strong {
  color: #009ee7;
  font-size: 38px;
  line-height: 1;
  font-weight: 800;
  text-align: center;
}

.business-list span {
  color: #666;
  font-size: 22px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 0;
}

.business-symbol {
  position: sticky;
  top: 180px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hand-symbol {
  position: relative;
  width: 164px;
  height: 184px;
}

.hand-symbol::before,
.hand-symbol::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 62px;
  height: 92px;
  border: 3px solid #d5d5d5;
  border-radius: 30px 30px 10px 10px;
  background: #fff;
}

.hand-symbol::before {
  left: 18px;
  transform: rotate(-9deg);
}

.hand-symbol::after {
  right: 18px;
  transform: rotate(9deg);
}

.hand-symbol span {
  position: absolute;
  top: 20px;
  width: 24px;
  height: 76px;
  border: 3px solid #d5d5d5;
  border-radius: 999px;
  background: #fff;
}

.hand-symbol span:nth-child(1) {
  left: 31px;
  top: 34px;
}

.hand-symbol span:nth-child(2) {
  left: 54px;
}

.hand-symbol span:nth-child(3) {
  right: 54px;
}

.hand-symbol span:nth-child(4) {
  right: 31px;
  top: 34px;
}

.hand-symbol img {
  position: absolute;
  left: 50%;
  top: 82px;
  z-index: 2;
  width: 64px;
  height: 64px;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.12));
}

/* Archive Page */
.archive-hero {
  background:
    linear-gradient(90deg, rgba(2,4,8,.78), rgba(2,4,8,.42), rgba(2,4,8,.08)),
    url("../images/bg01.png") center / cover no-repeat;
}

.archive-tabs {
  position: relative;
  z-index: 2;
  margin: -58px 0 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border: 1px solid #e2e6ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(31,36,55,.08);
}

.archive-tabs a {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e8ebf1;
  color: #333;
  font-weight: 700;
}

.archive-tabs a:last-child {
  border-right: 0;
}

.archive-tabs a:hover,
.archive-tabs a:focus-visible,
.archive-tabs a.is-active {
  background: #1f2437;
  color: #fff;
}

.gallery-board {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(240,178,46,.1), transparent 28%),
    linear-gradient(315deg, rgba(34,155,215,.1), transparent 30%),
    #fff;
}

.gallery-board::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 210px;
  height: 210px;
  border: 28px solid rgba(209,61,79,.08);
  border-radius: 50%;
}

.gallery-board::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 34px;
  width: 112px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d13d4f, #f0b22e, #7aaa38, #229bd7, #6c58b5);
}

.gallery-board-head {
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
  padding-top: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.gallery-board-head > div { flex: 1; }

.gallery-board-head h2 {
  margin-bottom: 8px;
  color: #111;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 500;
}

.gallery-board-head p {
  color: #666;
  font-size: 15px;
}

.gallery-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.gallery-card {
  position: relative;
  display: flex;
  min-height: 398px;
  padding: 12px;
  flex-direction: column;
  color: inherit;
  border: 1px solid rgba(31,36,55,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 30px rgba(31,36,55,.08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.gallery-card::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: #d13d4f;
}

.gallery-card:nth-child(2)::before {
  background: #f0b22e;
}

.gallery-card:nth-child(3)::before {
  background: #7aaa38;
}

.gallery-card:nth-child(4)::before {
  background: #229bd7;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47,85,200,.22);
  box-shadow: 0 20px 42px rgba(31,36,55,.13);
}

.gallery-card .gallery-art,
.gallery-card .archive-img {
  height: 276px;
  width: 100%;
  border: 9px solid #fff;
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 1px rgba(31,36,55,.12),
    0 10px 18px rgba(31,36,55,.08);
  object-fit: cover;
  display: block;
}

.gallery-caption {
  min-height: 58px;
  margin-top: auto;
  padding: 8px 10px 8px 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, #f0f1f4, #fff);
}

.gallery-caption strong {
  padding-right: 10px;
  color: #222;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.caption-artist {
  font-size: 13px;
  font-weight: 400;
  color: #666;
}

.artist-avatar,
.artist-photo {
  overflow: hidden;
  background: #e9edf5;
}

.artist-avatar {
  width: 44px;
  height: 44px;
  margin-left: 0;
  border: 2px solid #d7d7d7;
  border-radius: 4px;
}

.artist-avatar img,
.artist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-avatar span,
.artist-photo span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f55c8;
  font-weight: 800;
}

.gallery-detail {
  padding: 24px;
  border-radius: 8px;
  background: #fff;
}

.detail-actions {
  margin-bottom: 14px;
  text-align: right;
}

.detail-actions a {
  height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8dce4;
  border-radius: 8px;
  color: #333;
  font-size: 13px;
  font-weight: 700;
}

.artist-profile-box {
  max-width: 100%;
  margin: 0 auto 32px;
  padding: 16px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  border: 1px solid #d8d8d8;
  background: #fff;
}

.artist-photo {
  width: 120px;
  height: 150px;
  border: 2px solid #d7d7d7;
}

.artist-profile-box dl,
.work-meta {
  display: grid;
  gap: 3px;
}

.artist-profile-box dl > div,
.work-meta div {
  display: grid;
  grid-template-columns: 90px 1fr;
  border-top: 1px solid #c9c9c9;
}

.artist-profile-box dl > div:first-child,
.work-meta div:first-child {
  border-top: 0;
}

.artist-profile-box dt,
.work-meta dt {
  padding: 5px 8px;
  color: #2f55c8;
  font-size: 14px;
  font-weight: 700;
}

.artist-profile-box dd,
.work-meta dd {
  padding: 5px 8px;
  color: #333;
  font-size: 15px;
  line-height: 1.55;
}

.detail-work {
  margin-bottom: 40px;
}

.detail-work:last-child {
  margin-bottom: 0;
}

.work-info-bar {
  display: flex;
  align-items: baseline;
  gap: 12px;
  max-width: 800px;
  margin: 10px auto 0;
  padding: 10px 14px;
  background: #f5f7fb;
  border-left: 3px solid #2f55c8;
  border-radius: 0 6px 6px 0;
}
.work-info-num {
  font-size: 12px;
  font-weight: 700;
  color: #2f55c8;
  white-space: nowrap;
  flex-shrink: 0;
}
.work-info-title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
}
.work-info-caption {
  font-size: 13px;
  color: #555;
  margin-left: auto;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.work-info-caption em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #888;
  padding: 2px 7px;
  border-radius: 20px;
}

.work-meta {
  max-width: 560px;
  margin: 0 auto 22px;
}

.detail-work .gallery-art {
  min-height: 640px;
  border: 0;
}

.gallery-art {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: #f7f8fb;
}

.detail-work .gallery-art {
  margin: 0 auto;
  max-width: 980px;
  border-radius: 54px 0 0 0;
  box-shadow:
    0 0 0 1px #d7d7d7,
    0 0 0 10px #fff,
    0 12px 24px rgba(31,36,55,.08);
}

.art-portrait {
  background:
    radial-gradient(circle at 42% 28%, #f8d4c8 0 12%, transparent 13%),
    radial-gradient(ellipse at 42% 28%, #1f2437 0 22%, transparent 23%),
    radial-gradient(ellipse at 44% 70%, rgba(255,255,255,.85) 0 18%, transparent 19%),
    linear-gradient(125deg, #425eab 0 36%, transparent 37%),
    radial-gradient(circle at 68% 80%, #e59b32 0 4%, transparent 5%),
    linear-gradient(135deg, #f5b24c, #f7d66d 48%, #d95b89);
}

.art-landscape,
.art-green,
.art-village,
.art-mountain {
  background:
    radial-gradient(circle at 18% 72%, #8cc26e 0 6%, transparent 7%),
    linear-gradient(170deg, transparent 0 42%, #66a853 43% 68%, #3d8dc5 69% 74%, #a4d084 75%),
    linear-gradient(135deg, #b6e0f0 0 34%, #6c8fc2 35% 40%, #f7f8fb 41%);
}

.art-pink-flower,
.art-garden,
.art-petal {
  background:
    radial-gradient(circle at 34% 38%, #f19ab7 0 16%, transparent 17%),
    radial-gradient(circle at 58% 48%, #d94c74 0 18%, transparent 19%),
    radial-gradient(circle at 42% 68%, #ef719d 0 17%, transparent 18%),
    linear-gradient(135deg, #456d50, #8cb15f);
}

.art-still-life,
.art-white-flower,
.art-table,
.art-yellow,
.art-cup {
  background:
    radial-gradient(circle at 56% 32%, #fff 0 12%, transparent 13%),
    radial-gradient(circle at 68% 34%, #f0d34a 0 10%, transparent 11%),
    radial-gradient(circle at 70% 72%, #f1cf38 0 9%, transparent 10%),
    linear-gradient(160deg, #d8844d 0 24%, #f3f4e7 25% 72%, #b4d9c7 73%);
}

.art-flower-red {
  background:
    radial-gradient(circle at 36% 46%, #b32327 0 23%, transparent 24%),
    radial-gradient(circle at 62% 45%, #c93636 0 24%, transparent 25%),
    radial-gradient(circle at 50% 45%, #f0a33d 0 8%, transparent 9%),
    linear-gradient(135deg, #273b2d, #8d5754);
}

.art-pastel,
.art-water {
  background:
    linear-gradient(160deg, rgba(255,255,255,.28) 0 36%, transparent 37%),
    linear-gradient(135deg, #94cbd8, #f7d7a5 50%, #c6df8c);
}

.art-oriental-ink,
.art-oriental-line,
.art-oriental-moon,
.art-oriental-blue {
  background:
    radial-gradient(circle at 74% 24%, rgba(209,61,79,.22) 0 10%, transparent 11%),
    linear-gradient(105deg, transparent 0 42%, rgba(17,17,17,.36) 43% 45%, transparent 46%),
    #fbfaf6;
}

.art-craft-circle,
.art-craft-form,
.art-craft-block,
.art-craft-earth {
  background:
    radial-gradient(circle at 50% 48%, #fff 0 20%, transparent 21%),
    conic-gradient(#d13d4f, #f0b22e, #7aaa38, #229bd7, #6c58b5, #d13d4f);
}

.art-ink-stroke,
.art-ink-dot,
.art-ink-red,
.art-ink-soft {
  background:
    linear-gradient(102deg, transparent 0 30%, #111 31% 34%, transparent 35%),
    radial-gradient(circle at 68% 62%, rgba(209,61,79,.18) 0 16%, transparent 17%),
    #fbfaf6;
}

.art-photo-grid,
.art-photo-dark,
.art-photo-light,
.art-photo-road {
  background:
    linear-gradient(rgba(31,36,55,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,36,55,.14) 1px, transparent 1px),
    linear-gradient(135deg, #229bd7, #f7f8fb);
  background-size: 26px 26px, 26px 26px, auto;
}

.archive-overview {
  padding: 38px 42px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(209,61,79,.08), transparent 36%),
    linear-gradient(315deg, rgba(34,155,215,.11), transparent 34%),
    #fff;
}

.archive-overview-text span {
  display: block;
  margin-bottom: 12px;
  color: #d13d4f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}

.archive-overview-text h2 {
  margin-bottom: 16px;
  color: #1f2437;
  font-size: 32px;
  line-height: 1.35;
  letter-spacing: 0;
  font-weight: 500;
}

.archive-overview-text p {
  color: #666;
  font-size: 16px;
  line-height: 1.8;
}

.archive-overview-art {
  position: relative;
  height: 210px;
}

.archive-overview-art span {
  position: absolute;
  width: 156px;
  height: 186px;
  border: 1px solid rgba(31,36,55,.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(31,36,55,.1);
}

.archive-overview-art span:nth-child(1) {
  left: 36px;
  top: 16px;
  transform: rotate(-9deg);
}

.archive-overview-art span:nth-child(2) {
  left: 88px;
  top: 4px;
  transform: rotate(6deg);
}

.archive-overview-art span:nth-child(3) {
  left: 64px;
  top: 26px;
  display: grid;
  place-items: center;
}

.archive-overview-art span:nth-child(3)::before {
  content: "";
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(#d13d4f 0 20%, #f0b22e 0 40%, #7aaa38 0 60%, #229bd7 0 80%, #6c58b5 0);
}

.archive-category {
  scroll-margin-top: 170px;
  padding: 32px;
  margin-bottom: 24px;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(0,0,0,.05);
}

.archive-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-card {
  overflow: hidden;
  border: 1px solid #e5e8ef;
  border-radius: 8px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.work-card:hover {
  transform: translateY(-3px);
  border-color: #b8c0cf;
  box-shadow: 0 14px 28px rgba(31,36,55,.09);
}

.work-thumb {
  height: 190px;
  border-bottom: 1px solid #eceff4;
}

.work-card strong {
  display: block;
  padding: 18px 18px 7px;
  color: #1f2437;
  font-size: 18px;
}

.work-card span {
  display: block;
  padding: 0 18px 20px;
  color: #777;
  font-size: 14px;
}

.western-thumb {
  background:
    radial-gradient(circle at 28% 34%, #f0b22e 0 12%, transparent 13%),
    linear-gradient(135deg, rgba(209,61,79,.88), transparent 44%),
    linear-gradient(315deg, #229bd7, #f7f8fb 58%);
}

.western-thumb.alt {
  background:
    radial-gradient(circle at 64% 34%, #fff 0 12%, transparent 13%),
    linear-gradient(135deg, #6c58b5, #229bd7 46%, #f0b22e);
}

.western-thumb.third {
  background:
    linear-gradient(160deg, #7aaa38 0 34%, transparent 35%),
    linear-gradient(26deg, #d13d4f 0 30%, #f7f8fb 31% 58%, #229bd7 59%);
}

.oriental-thumb {
  background:
    radial-gradient(circle at 72% 28%, rgba(209,61,79,.22) 0 12%, transparent 13%),
    linear-gradient(145deg, transparent 0 45%, rgba(31,36,55,.22) 46% 48%, transparent 49%),
    #fbfaf6;
}

.oriental-thumb.alt {
  background:
    linear-gradient(110deg, transparent 0 35%, rgba(31,36,55,.24) 36% 38%, transparent 39%),
    radial-gradient(circle at 34% 70%, rgba(122,170,56,.22) 0 16%, transparent 17%),
    #fbfaf6;
}

.oriental-thumb.third {
  background:
    radial-gradient(circle at 58% 38%, rgba(240,178,46,.24) 0 15%, transparent 16%),
    linear-gradient(70deg, transparent 0 50%, rgba(31,36,55,.22) 51% 53%, transparent 54%),
    #fbfaf6;
}

.craft-thumb {
  background:
    radial-gradient(circle at 50% 48%, #fff 0 20%, transparent 21%),
    conic-gradient(from 45deg, #d13d4f, #f0b22e, #7aaa38, #229bd7, #6c58b5, #d13d4f);
}

.craft-thumb.alt {
  background:
    radial-gradient(circle at 35% 45%, #229bd7 0 18%, transparent 19%),
    radial-gradient(circle at 62% 58%, #f0b22e 0 20%, transparent 21%),
    #f7f8fb;
}

.craft-thumb.third {
  background:
    linear-gradient(135deg, #1f2437 0 28%, transparent 29%),
    linear-gradient(45deg, #7aaa38 0 36%, #f7f8fb 37%);
}

.calligraphy-thumb {
  background:
    linear-gradient(102deg, transparent 0 30%, #111 31% 34%, transparent 35%),
    #fbfaf6;
}

.calligraphy-thumb.alt {
  background:
    radial-gradient(ellipse at 45% 50%, rgba(17,17,17,.82) 0 8%, transparent 9%),
    linear-gradient(80deg, transparent 0 48%, #111 49% 52%, transparent 53%),
    #fbfaf6;
}

.calligraphy-thumb.third {
  background:
    linear-gradient(155deg, transparent 0 42%, #111 43% 47%, transparent 48%),
    radial-gradient(circle at 68% 62%, rgba(209,61,79,.24) 0 16%, transparent 17%),
    #fbfaf6;
}

.photo-thumb {
  background:
    linear-gradient(rgba(31,36,55,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,36,55,.14) 1px, transparent 1px),
    linear-gradient(135deg, #229bd7, #f7f8fb);
  background-size: 26px 26px, 26px 26px, auto;
}

.photo-thumb.alt {
  background:
    radial-gradient(circle at 40% 42%, rgba(255,255,255,.9) 0 17%, transparent 18%),
    linear-gradient(135deg, #1f2437, #6c58b5);
}

.photo-thumb.third {
  background:
    radial-gradient(circle at 72% 26%, #f0b22e 0 10%, transparent 11%),
    linear-gradient(160deg, #f7f8fb 0 40%, #7aaa38 41% 58%, #229bd7 59%);
}

/* Community Page */
.community-hero {
  background:
    linear-gradient(90deg, rgba(2,4,8,.78), rgba(2,4,8,.42), rgba(2,4,8,.1)),
    url("../images/bg02.png") center / cover no-repeat;
}

/* ── 커뮤니티 게시판 ── */
.comm-list-wrap   { padding: 24px 28px 28px; }
.comm-list-head   { display: flex; align-items: center; justify-content: space-between;
                    margin-bottom: 16px; }
.comm-total       { font-size: 13px; color: #888; }
.btn-sm           { padding: 8px 20px; font-size: 14px; }

.comm-table       { width: 100%; border-collapse: collapse; font-size: 14px; }
.comm-table thead tr { background: #f5f7fb; }
.comm-table th    { padding: 11px 12px; color: #2f55c8; font-size: 13px; font-weight: 700;
                    border-bottom: 2px solid #e0e5f5; text-align: center; }
.comm-table td    { padding: 11px 12px; border-bottom: 1px solid #f0f0f0; color: #444; }
.comm-table td.tl { text-align: left; }
.comm-table td.tc { text-align: center; }
.comm-table tbody tr:hover { background: #fafbff; }
.comm-table td a  { color: #222; text-decoration: none; font-weight: 500; }
.comm-table td a:hover { color: #2f55c8; }
.cmt-badge        { font-size: 12px; color: #2f55c8; margin-left: 4px; }
.no-data          { text-align: center; padding: 40px; color: #aaa; font-size: 14px; }

.comm-pager       { display: flex; justify-content: center; gap: 6px;
                    padding: 24px 0 8px; flex-wrap: wrap; }

.community-tabs {
  position: relative;
  z-index: 2;
  margin: -58px 0 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border: 1px solid #e2e6ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(31,36,55,.08);
}

.community-tabs a {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e8ebf1;
  color: #333;
  font-weight: 700;
}

.community-tabs a:last-child {
  border-right: 0;
}

.community-tabs a:hover,
.community-tabs a:focus-visible,
.community-tabs a.is-active {
  background: #1f2437;
  color: #fff;
}

.community-feature {
  position: relative;
  overflow: hidden;
  padding: 26px 32px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 24px;
  align-items: center;
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(209,61,79,.08), transparent 32%),
    linear-gradient(315deg, rgba(34,155,215,.1), transparent 32%),
    #fff;
}

.community-feature span {
  display: block;
  margin-bottom: 8px;
  color: #d13d4f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.community-feature h2 {
  margin-bottom: 0;
  color: #1f2437;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: 0;
  font-weight: 500;
  white-space: nowrap;
}

.community-feature p {
  color: #666;
  font-size: 14px;
  line-height: 1.65;
}

.community-symbol {
  position: relative;
  height: 104px;
}

.community-symbol span {
  position: absolute;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(31,36,55,.1);
}

.community-symbol span:nth-child(1) {
  left: 14px;
  top: 25px;
  width: 92px;
  height: 58px;
  transform: rotate(-8deg);
}

.community-symbol span:nth-child(2) {
  right: 18px;
  top: 12px;
  width: 88px;
  height: 62px;
  transform: rotate(7deg);
}

.community-symbol span:nth-child(3) {
  left: 50px;
  bottom: 12px;
  width: 94px;
  height: 56px;
  background:
    linear-gradient(90deg, #d13d4f 0 20%, #f0b22e 20% 40%, #7aaa38 40% 60%, #229bd7 60% 80%, #6c58b5 80%),
    #fff;
  background-size: 100% 5px, auto;
  background-repeat: no-repeat;
}

.community-board,
.community-gallery {
  scroll-margin-top: 170px;
  padding: 32px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #fff;
}

.board-type::before,
.gallery-type::before {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #2f55c8;
}

.gallery-type::before {
  background: linear-gradient(90deg, #d13d4f, #f0b22e, #7aaa38, #229bd7);
}

.board-list {
  list-style: none;
  border-top: 2px solid #1f2437;
}

.board-list li {
  border-bottom: 1px solid #edf0f5;
}

.board-list a {
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 20px;
  align-items: center;
}

.board-list strong {
  color: #222;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.board-list span {
  color: #777;
  font-size: 14px;
  text-align: right;
}

.board-list a:hover strong,
.board-list a:focus-visible strong {
  color: #2f55c8;
}

.compact-board a {
  min-height: 56px;
}

.event-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.event-gallery article {
  overflow: hidden;
  border: 1px solid #e5e8ef;
  border-radius: 8px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.event-gallery article:hover {
  transform: translateY(-3px);
  border-color: #b8c0cf;
  box-shadow: 0 14px 28px rgba(31,36,55,.09);
}

.event-thumb {
  height: 170px;
  border-bottom: 1px solid #eceff4;
}

.event-gallery strong {
  display: block;
  padding: 17px 18px 6px;
  color: #1f2437;
  font-size: 17px;
}

.event-gallery span {
  display: block;
  padding: 0 18px 20px;
  color: #777;
  font-size: 14px;
}

.event-one {
  background:
    radial-gradient(circle at 30% 34%, #f0b22e 0 12%, transparent 13%),
    linear-gradient(135deg, #d13d4f, #229bd7);
}

.event-two {
  background:
    radial-gradient(circle at 58% 48%, #f19ab7 0 18%, transparent 19%),
    linear-gradient(135deg, #456d50, #8cb15f);
}

.event-three {
  background:
    linear-gradient(rgba(31,36,55,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,36,55,.12) 1px, transparent 1px),
    linear-gradient(135deg, #f7f8fb, #229bd7);
  background-size: 24px 24px, 24px 24px, auto;
}

.exhibit-one {
  background:
    radial-gradient(circle at 28% 36%, #f0b22e 0 12%, transparent 13%),
    linear-gradient(145deg, #1f2437 0 30%, transparent 31%),
    linear-gradient(135deg, #f7f8fb, #6c58b5);
}

.exhibit-two {
  background:
    radial-gradient(circle at 58% 44%, #fff 0 15%, transparent 16%),
    conic-gradient(#d13d4f, #f0b22e, #7aaa38, #229bd7, #6c58b5, #d13d4f);
}

.exhibit-three {
  background:
    radial-gradient(circle at 62% 34%, rgba(240,178,46,.78) 0 12%, transparent 13%),
    linear-gradient(160deg, #f7f8fb 0 40%, #7aaa38 41% 58%, #229bd7 59%);
}

/* Main */
.main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 32px 70px;
}

.card {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(0,0,0,.05);
}

/* Top Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.archive-card {
  padding: 30px;
  background: #fff;
  overflow: hidden;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-head h2,
.section-title h2 {
  font-size: 28px;
  letter-spacing: -1px;
  font-weight: 500;
}

.archive-card .section-head h2 {
  font-size: 24px;
  font-weight: 500;
}

.list-card .section-title h2 {
  font-size: 24px;
}

.section-head p {
  margin-top: 10px;
  color: #666;
  line-height: 1.6;
}

.section-head a,
.section-title a {
  font-size: 14px;
  color: #555;
  font-weight: 700;
}

.archive-card .section-head a {
  min-width: 96px;
  height: 34px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8dce4;
  border-radius: 999px;
  color: #333;
  font-size: 13px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.archive-card .section-head a:hover {
  background: #1f2437;
  border-color: #1f2437;
  color: #fff;
}

.archive-art {
  position: relative;
  height: 326px;
  border: 1px solid #ece6dc;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 26px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(209,61,79,.08), transparent 34%),
    linear-gradient(315deg, rgba(34,155,215,.1), transparent 32%),
    #faf8f5;
}

.archive-art::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(31,36,55,.08);
  border-radius: 8px;
  pointer-events: none;
}

.archive-feature {
  position: relative;
  z-index: 1;
}

.archive-feature span {
  display: block;
  margin-bottom: 14px;
  color: #d13d4f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}

.archive-feature strong {
  display: block;
  color: #1f2437;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0;
}

.archive-stack {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 250px;
  height: 184px;
  justify-self: center;
}

.archive-stack span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(31,36,55,.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 30px rgba(31,36,55,.09);
}

.archive-stack span:nth-child(1) {
  transform: rotate(-7deg) translate(-14px, 13px);
}

.archive-stack span:nth-child(2) {
  transform: rotate(5deg) translate(13px, 4px);
}

.archive-stack span:nth-child(3) {
  display: grid;
  place-items: center;
}

.archive-stack span:nth-child(3)::before {
  content: "";
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background: conic-gradient(#d13d4f 0 20%, #f0b22e 0 40%, #7aaa38 0 60%, #229bd7 0 80%, #6c58b5 0);
}

.archive-tags {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.archive-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(31,36,55,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #444;
  font-size: 13px;
  font-weight: 600;
}

.archive-buttons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.archive-buttons button,
.archive-buttons a {
  position: relative;
  height: 56px;
  border: 1px solid #e1e5ec;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.archive-buttons button::before,
.archive-buttons a::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: #d13d4f;
}

.archive-buttons button:nth-child(2)::before,
.archive-buttons a:nth-child(2)::before {
  background: #f0b22e;
}

.archive-buttons button:nth-child(3)::before,
.archive-buttons a:nth-child(3)::before {
  background: #7aaa38;
}

.archive-buttons button:nth-child(4)::before,
.archive-buttons a:nth-child(4)::before {
  background: #229bd7;
}

.archive-buttons button:nth-child(5)::before,
.archive-buttons a:nth-child(5)::before {
  background: #6c58b5;
}

.archive-buttons button:hover,
.archive-buttons a:hover {
  transform: translateY(-2px);
  border-color: #9ea8ba;
  box-shadow: 0 8px 18px rgba(31,36,55,.1);
}

/* List Card */
.list-card {
  padding: 34px 30px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

.list-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}

.list-item:last-child {
  border-bottom: 0;
}

.list-item img,
.item-icon {
  width: 84px;
  height: 84px;
  border-radius: 6px;
  object-fit: cover;
}

.item-icon {
  position: relative;
  display: block;
  border: 1px solid #e3e7ef;
  background: #f7f8fb;
}

.item-icon::before,
.item-icon::after {
  content: "";
  position: absolute;
}

.gallery-icon::before {
  left: 19px;
  top: 18px;
  width: 46px;
  height: 36px;
  border: 2px solid #d13d4f;
  border-radius: 4px;
}

.gallery-icon::after {
  left: 28px;
  top: 42px;
  width: 30px;
  height: 16px;
  background: linear-gradient(135deg, #f0b22e 49%, transparent 50%), linear-gradient(45deg, #229bd7 49%, transparent 50%);
  border-radius: 2px;
}

.exhibit-icon::before {
  left: 20px;
  top: 15px;
  width: 44px;
  height: 48px;
  border: 2px solid #229bd7;
  border-radius: 5px;
  background: #fff;
}

.exhibit-icon::after {
  left: 31px;
  top: 25px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(#d13d4f 0 35%, #f0b22e 0 68%, #7aaa38 0);
}

.list-item strong {
  display: block;
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 8px;
}

.list-item span {
  color: #777;
  font-size: 14px;
}

/* Bottom */
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.notice-card {
  padding: 32px;
}

.notice-list {
  list-style: none;
}

.notice-list li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.notice-list li:last-child {
  border-bottom: 0;
}

.notice-list em {
  color: #777;
  font-style: normal;
  white-space: nowrap;
}

/* 홈 카드 링크 */
.notice-list li span a,
.list-item strong a {
  color: inherit;
  text-decoration: none;
}
.notice-list li span a:hover,
.list-item strong a:hover {
  color: #2f55c8;
}

/* 홈 카드 빈 데이터 */
.no-data-sm {
  color: #bbb;
  font-size: 14px;
  padding: 24px 0 8px;
  text-align: center;
}

/* Partners */
.partners {
  padding: 30px 34px 34px;
  margin-bottom: 28px;
  background: #fff;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 4px;
}

.partner-logos a {
  height: 74px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e4e7ee;
  border-radius: 8px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.partner-logos a:hover,
.partner-logos a:focus-visible {
  transform: translateY(-2px);
  border-color: #aeb7c8;
  box-shadow: 0 10px 22px rgba(31,36,55,.08);
}

.partner-logos img {
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
}

/* CTA */
.cta {
  padding: 30px 56px;
  min-height: 120px;
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(90deg, #fff0e7, #fffaf5);
  border-radius: 4px;
  margin-bottom: 40px;
}

.cta-icon {
  font-size: 56px;
}

.cta h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.cta p {
  color: #777;
}

.cta-buttons {
  margin-left: auto;
  display: flex;
  gap: 16px;
}

.cta-buttons a {
  width: 170px;
  height: 54px;
  border-radius: 8px;
  border: 1px solid #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: #fff;
}

.cta-buttons .dark {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* Footer */
.footer {
  padding: 44px 72px;
  background: #111;
  color: #aaa;
  display: flex;
  justify-content: center;
  text-align: center;
}

.footer-logo img {
  height: 42px;
}

.footer-logo {
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
}

.footer-info p {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-account {
  color: #5f9cf5;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1024px) {
  .header {
    height: 92px;
  }

  .utility-menu,
  .nav,
  .mega-menu {
    display: none;
  }

  .header-inner {
    height: 92px;
    padding: 0 24px;
    display: flex;
    align-items: center;
  }

  .logo {
    position: static;
    transform: none;
  }

  .logo img {
    height: 42px;
  }

  .hero {
    height: 330px;
  }

  .hero-slide {
    padding: 0 68px;
    background-position: center;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-arrow {
    width: 34px;
    height: 34px;
    font-size: 28px;
    line-height: 30px;
  }

  .hero-prev {
    left: 18px;
  }

  .hero-next {
    right: 18px;
  }

  .content-grid,
  .bottom-grid,
  .about-intro-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .sub-hero {
    height: 220px;
    padding: 0 32px;
  }

  .sub-hero h1 {
    font-size: 34px;
  }

  .sub-main {
    padding: 32px 20px 56px;
  }

  .sub-tabs {
    margin-top: -46px;
  }

  .sub-tabs a {
    height: 50px;
    font-size: 14px;
  }

  .about-intro,
  .about-section {
    padding: 28px;
  }

  .greeting-card {
    padding: 30px;
  }

  .greeting-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .greeting-content h2 {
    font-size: 30px;
  }

  .greeting-lead {
    font-size: 21px;
  }

  .greeting-text p {
    font-size: 16px;
  }

  .greeting-photo {
    width: 180px;
    margin: 0 auto;
  }

  .about-intro h2 {
    font-size: 28px;
  }

  .history-timeline::before {
    left: 6px;
  }

  .history-year {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-left: 28px;
  }

  .history-year h3 {
    position: relative;
    top: auto;
    font-size: 28px;
  }

  .history-year h3::after {
    left: -27px;
    right: auto;
    top: 8px;
  }

  .history-year li {
    grid-template-columns: 42px 1fr;
  }

  .map-buttons {
    flex-direction: column;
  }

  .map-buttons a {
    width: 100%;
  }

  .business-section {
    padding: 28px;
  }

  .business-content {
    grid-template-columns: 1fr;
  }

  .business-symbol {
    order: -1;
    position: relative;
    top: auto;
    min-height: 150px;
  }

  .hand-symbol {
    transform: scale(.82);
  }

  .business-list li {
    min-height: auto;
    padding: 20px 0;
    grid-template-columns: 76px 1fr;
  }

  .business-list li::before {
    width: 76px;
  }

  .business-list strong {
    font-size: 28px;
  }

  .business-list span {
    font-size: 17px;
  }

  .archive-tabs {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -46px;
  }

  .archive-tabs a {
    height: 50px;
    border-bottom: 1px solid #e8ebf1;
    font-size: 14px;
  }

  .archive-overview {
    padding: 28px;
    grid-template-columns: 1fr;
  }

  .gallery-board {
    padding: 24px;
  }

  .gallery-board-head h2 {
    font-size: 30px;
  }

  .gallery-list {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    min-height: auto;
  }

  .gallery-card .gallery-art {
    height: 260px;
  }

  .gallery-caption {
    margin-top: 12px;
  }

  .artist-profile-box {
    grid-template-columns: 1fr;
  }

  .work-meta {
    margin: 0 auto 18px;
  }

  .detail-work .gallery-art {
    min-height: 420px;
  }

  .archive-overview-text h2 {
    font-size: 26px;
  }

  .archive-overview-art {
    height: 180px;
  }

  .archive-category {
    padding: 24px;
  }

  .archive-gallery {
    grid-template-columns: 1fr;
  }

  .community-tabs {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -46px;
  }

  .community-tabs a {
    height: 50px;
    border-bottom: 1px solid #e8ebf1;
    font-size: 14px;
  }

  .community-feature,
  .event-gallery {
    grid-template-columns: 1fr;
  }

  .community-feature,
  .community-board,
  .community-gallery {
    padding: 24px;
  }

  .community-feature h2 {
    font-size: 22px;
    white-space: normal;
  }

  .community-symbol {
    display: none;
  }

  .board-list a {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .board-list span {
    text-align: left;
  }

  .archive-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta {
    flex-direction: column;
    text-align: center;
  }

  .cta-buttons {
    margin-left: 0;
  }

  .footer {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== 이미지 원본 모달 ===== */
.img-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,.85);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.img-modal.is-open {
  display: flex;
}
.img-modal-box {
  position: relative;
  max-width: min(92vw, 1200px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.img-modal-box img {
  max-width: 100%;
  max-height: calc(92vh - 48px);
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
}
.img-modal-title {
  color: #eee;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  margin: 0;
}
.img-modal-close {
  position: fixed;
  top: 18px; right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  opacity: .8;
  transition: opacity .15s;
}
.img-modal-close:hover { opacity: 1; }
.detail-img-clickable {
  cursor: zoom-in;
}

/* ===== Flask 추가 스타일 (폼, 플래시 메시지) ===== */

/* 플래시 메시지 */
.flash-messages {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
  width: max-content; max-width: min(440px, 90vw);
  pointer-events: none;
}
.flash {
  padding: 18px 36px; border-radius: 10px;
  font-size: 15px; font-weight: 600; text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
  pointer-events: auto;
  animation: flashPop .2s ease;
}
@keyframes flashPop {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}
.flash-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; border-top: 4px solid #43a047; }
.flash-error   { background: #fce4ec; color: #c62828; border: 1px solid #f48fb1; border-top: 4px solid #e53935; }
.flash-info    { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; border-top: 4px solid #1e88e5; }

/* 폼 공통 */
.form-section { max-width: 680px; margin: 0 auto 40px; padding: 40px; }
.member-form  { display: flex; flex-direction: column; gap: 20px; }
.form-group   { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 600; color: #333; }
.form-group input,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color .2s;
    background: #fafafa;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: #2f55c8; background: #fff; }
.form-group textarea { resize: vertical; min-height: 160px; }
.required { color: #d13d4f; margin-left: 2px; }

.form-actions  { display: flex; justify-content: center; margin-top: 8px; }
.form-links    { text-align: center; margin-top: 12px; font-size: 14px; color: #666; }
.form-links a  { color: #2f55c8; text-decoration: none; }
.form-links a:hover { text-decoration: underline; }

/* 버튼 */
.btn-primary {
    display: inline-block;
    padding: 13px 48px;
    background: #2f55c8;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    text-decoration: none;
}
.btn-primary:hover { background: #1a3ea8; }

/* 문의 성공 메시지 */
.form-success {
    text-align: center;
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.form-success p { font-size: 16px; color: #333; margin: 0; }
.form-success p:first-child { font-size: 20px; font-weight: 700; color: #2e7d32; }
.form-success .btn-primary { margin-top: 16px; }

/* 연락처 정보 (question 페이지) */
.contact-info { max-width: 680px; margin: 0 auto 40px; padding: 28px 40px; }
.contact-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: #333; }
.contact-info dl { display: flex; flex-direction: column; gap: 10px; }
.contact-info dl > div { display: flex; gap: 16px; font-size: 14px; }
.contact-info dt { width: 60px; color: #777; flex-shrink: 0; }
.contact-info dd { color: #333; margin: 0; }

/* ===== 회원가입 모달 ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(5,5,5,.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
  padding: 16px;
  backdrop-filter: blur(3px);
}
.modal-box {
  background: #fff;
  border-radius: 14px;
  width: 100%; max-width: 460px;
  max-height: 92vh; overflow-y: auto;
  padding: 40px 36px 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: modalIn .22s ease;
}
@keyframes modalIn {
  from { transform: translateY(-24px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.modal-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none;
  font-size: 26px; line-height: 1; color: #888;
  cursor: pointer; transition: color .15s;
  padding: 4px 6px;
}
.modal-close:hover { color: #111; }

/* 모달 헤더 */
.modal-header { text-align: center; margin-bottom: 28px; }
.modal-logo { margin-bottom: 12px; }
.modal-logo img { width: 44px; height: 44px; object-fit: contain; }
.modal-header h2 {
  font-size: 22px; font-weight: 800; color: #111;
  margin: 0 0 6px;
}
.modal-header p { font-size: 13px; color: #777; margin: 0; }

/* 모달 폼 필드 */
.modal-form .modal-fields { display: flex; flex-direction: column; gap: 14px; }
.modal-form .form-group { gap: 5px; }
.modal-form .form-group label { font-size: 13px; font-weight: 600; color: #444; }
.modal-form .form-group input {
  padding: 10px 13px; font-size: 14px;
  border: 1.5px solid #e0e0e0; border-radius: 7px;
  background: #fafafa; transition: border-color .2s, box-shadow .2s;
}
.modal-form .form-group input:focus {
  border-color: #2f55c8; background: #fff;
  box-shadow: 0 0 0 3px rgba(47,85,200,.12);
  outline: none;
}
.modal-form .form-actions { margin-top: 20px; }
.modal-form .btn-primary { width: 100%; padding: 13px; font-size: 15px; border-radius: 8px; }

/* 알림 메시지 */
.modal-msg {
  padding: 10px 14px; border-radius: 7px;
  font-size: 13px; font-weight: 500; margin-top: 12px;
}
.modal-msg-error   { background: #fff0f0; color: #c62828; border: 1px solid #ffcdd2; }
.modal-msg-success { background: #f0fff4; color: #2e7d32; border: 1px solid #c8e6c9; }

/* 하단 링크 */
.modal-note {
  text-align: center; margin-top: 16px;
  font-size: 13px; color: #888;
}
.modal-note a { color: #2f55c8; font-weight: 600; text-decoration: none; }
.modal-note a:hover { text-decoration: underline; }

/* 가입 완료 화면 */
.modal-success {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 16px 0 8px; gap: 10px;
}
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #2f55c8, #115dff);
  color: #fff; font-size: 32px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.modal-success h3 { font-size: 20px; font-weight: 800; color: #111; margin: 0; }
.modal-success p  { font-size: 14px; color: #666; margin: 0; }

/* ===== 아카이브 이미지 & 작품등록 버튼 ===== */
.archive-img.detail-img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 12px auto 0;
  border-radius: 6px;
  object-fit: contain;
}
.gallery-art.art-default {
  background: linear-gradient(135deg, #e8eaf0 0%, #d0d4e4 100%);
}
/* 상세보기 수정/삭제 버튼 */
.detail-actions { display: flex; align-items: center; justify-content: space-between; }
.detail-owner-actions { display: flex; gap: 8px; }
.btn-aw-edit {
  display: inline-block; padding: 6px 16px; border-radius: 6px;
  background: #2f55c8; color: #fff; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: background .15s;
}
.btn-aw-edit:hover { background: #1a3ea8; }
.btn-aw-del {
  padding: 6px 16px; border-radius: 6px;
  background: #e53935; color: #fff; font-size: 13px; font-weight: 600;
  border: none; cursor: pointer; transition: background .15s;
}
.btn-aw-del:hover { background: #c62828; }

.btn-archive-reg {
  display: inline-block;
  padding: 7px 18px;
  background: #2f55c8;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}
.btn-archive-reg:hover { background: #1a3ea8; }
.archive-loading {
  padding: 60px;
  text-align: center;
  color: #aaa;
  font-size: 14px;
}
.archive-err {
  padding: 60px;
  text-align: center;
  color: #999;
  font-size: 14px;
}
/* ── 아카이브 하단 바 (검색 좌 + 페이저 우) ── */
.archive-bottom-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* ── 아카이브 검색 ── */
.archive-search-wrap {
  flex: 1;
  min-width: 200px;
  max-width: 420px;
  margin: 0;
}
.archive-search-inner {
  position: relative;
  display: flex;
  align-items: center;
}
.archive-search-input {
  width: 100%;
  padding: 10px 40px 10px 16px;
  border: 1.5px solid #dde0ea;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  transition: border-color .2s;
  outline: none;
}
.archive-search-input:focus {
  border-color: #2f55c8;
  box-shadow: 0 0 0 3px rgba(47,85,200,.1);
}
.archive-search-clear {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  font-size: 18px;
  color: #aaa;
  cursor: pointer;
  line-height: 1;
  display: none;
  padding: 2px 4px;
}
.archive-search-clear:hover { color: #555; }
.archive-search-count {
  font-size: 13px;
  color: #2f55c8;
  font-weight: 600;
  margin: 6px 0 0 4px;
  min-height: 18px;
}

/* ── 아카이브 페이지네이션 ── */
.archive-pager {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  padding: 0;
  flex-wrap: wrap;
}
.pager-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1.5px solid #dde0ea;
  border-radius: 8px;
  background: #fff;
  color: #444;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.pager-btn:hover:not(:disabled) {
  background: #eef1fb;
  border-color: #2f55c8;
  color: #2f55c8;
}
.pager-btn.is-active {
  background: #2f55c8;
  border-color: #2f55c8;
  color: #fff;
}
.pager-btn:disabled {
  opacity: .35;
  cursor: default;
}
.pager-ellipsis {
  font-size: 14px;
  color: #aaa;
  line-height: 38px;
  padding: 0 4px;
}

.modal-success .btn-primary { margin-top: 12px; padding: 12px 48px; }
