@charset "UTF-8";
/* =========================================================
   재단법인 예술섬 — 메인 레이아웃 (v0.1 레이아웃 시안)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --navy: #0d2b45;        /* 깊은 바다 */
  --sea: #13708a;         /* 바다 */
  --sea-l: #e8f2f5;       /* 옅은 바다 */
  --sun: #f0a43a;         /* 노을/빛 포인트 */
  --coral: #e8664a;
  --ink: #1a1d21;
  --gray-7: #4b5563;
  --gray-5: #8a929c;
  --gray-3: #d7dce1;
  --gray-1: #f3f5f7;
  --white: #fff;
  --radius: 16px;
  --inner: 1400px;
  --header-h: 90px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); font-size: 16px; line-height: 1.5; word-break: keep-all; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, dl, dd, address { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
button { font: inherit; border: 0; background: none; cursor: pointer; padding: 0; color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }

.inner { width: 100%; max-width: var(--inner); margin: 0 auto; padding: 0 30px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip:focus { left: 0; }

/* ---------- Placeholder (이미지 자리) ---------- */
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500; letter-spacing: -.01em;
  background: linear-gradient(135deg, #5d8aa3, #2d5a78);
  border-radius: 12px; overflow: hidden;
}
.ph--sea {
  border-radius: 0;
  background:
    radial-gradient(60% 80% at 78% 30%, rgba(240,164,58,.55), transparent 60%),
    radial-gradient(70% 60% at 20% 100%, rgba(19,112,138,.9), transparent 70%),
    linear-gradient(180deg, #0d2b45 0%, #1c4c6b 55%, #3c7c94 100%);
}
.ph--sea2 {
  border-radius: 0;
  background:
    radial-gradient(50% 70% at 70% 45%, rgba(255,214,150,.55), transparent 65%),
    linear-gradient(180deg, #2a2350 0%, #6b3f6e 50%, #d9785a 100%);
}
.ph--sea3 {
  border-radius: 0;
  background:
    radial-gradient(60% 70% at 85% 80%, rgba(159,199,164,.6), transparent 65%),
    linear-gradient(160deg, #0f3b3f 0%, #13708a 55%, #6fb3c4 100%);
}
.ph--p1 { background: linear-gradient(160deg, #f0a43a, #e8664a); }
.ph--p2 { background: linear-gradient(160deg, #6fb3c4, #13708a); }
.ph--p3 { background: linear-gradient(160deg, #3b4a7a, #0d2b45); }
.ph--p5 { background: linear-gradient(160deg, #c9a6d8, #6b3f6e); }
.ph--p4 { background: linear-gradient(160deg, #9fc7a4, #4f8a6a); }
.ph--thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #b9c9d4, #7d97aa); }
.ph--news { background: linear-gradient(135deg, #b9c9d4, #7d97aa); }
.ph--photo { background: linear-gradient(135deg, #c8d8c2, #7e9f86); }
.ph--video { background: linear-gradient(135deg, #7d8bb0, #3b4a7a); position: relative; }
.play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(0,0,0,.45); }
.play::before { content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; background: #fff; -webkit-mask: var(--i-play) center/contain no-repeat; mask: var(--i-play) center/contain no-repeat; transform: translateX(2px); }
.ph--video { align-items: flex-end; padding-bottom: 14px; }
.ph--banner2 { background: linear-gradient(120deg, #cfe7ee, #6fb3c4 60%, #13708a); color: rgba(255,255,255,.9); }
.ph--banner3 { background: linear-gradient(120deg, #e4dcf0, #9d86c4 60%, #3b4a7a); color: rgba(255,255,255,.9); }
.ph--banner { background: linear-gradient(120deg, #ffe7c2, #f6b46b 60%, #e8664a); color: rgba(0,0,0,.45); }
.ph--sq { aspect-ratio: 1; background: linear-gradient(135deg, #9fb7c6, #5d7f95); }
.ph--sns-insta { background: linear-gradient(135deg, #f7b7a3, #d1789c); }
.ph--sns-youtube { background: linear-gradient(135deg, #b0b7c3, #4b5563); }
.ph--sns-fb { background: linear-gradient(135deg, #a9c3e8, #4f76b3); }
.ph--feat-insta { background: linear-gradient(160deg, #feda75, #d62976); color: rgba(255,255,255,.9); }
.ph--feat-youtube { background: linear-gradient(160deg, #4b5563, #1a1d21); color: rgba(255,255,255,.85); }
.ph--feat-fb { background: linear-gradient(160deg, #8fb4ea, #1877f2); color: rgba(255,255,255,.9); }
.ph--feature { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(160deg, #f6d38f, #f0a43a); color: rgba(0,0,0,.45); }

/* ---------- Icons (SVG mask) ---------- */
.ico-btn, .arr, .sq, .round, .mini { position: relative; }
.ico-btn::before, .arr::before, .sq::before, .round::before, .mini::before, .qi, .ci, .si {
  content: ""; display: inline-block; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
:root {
  --i-prev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
  --i-next: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-pause: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='7' y='5' width='3' height='14' rx='1'/%3E%3Crect x='14' y='5' width='3' height='14' rx='1'/%3E%3C/svg%3E");
  --i-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='13' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
  --i-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13a1 1 0 0 0 1.5.86l10.5-6.5a1 1 0 0 0 0-1.72L9.5 4.64A1 1 0 0 0 8 5.5z'/%3E%3C/svg%3E");
  --i-arrow-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E");
  --i-arrow-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.ico-prev, .arr-prev, .sq-prev, .r-prev, .m-prev { --i: var(--i-prev); }
.ico-next, .arr-next, .sq-next, .r-next, .m-next { --i: var(--i-next); }
.ico-pause, .sq-pause, .r-pause, .m-pause { --i: var(--i-pause); }
.sq-more { --i: var(--i-grid); }
[data-toggle].is-paused { --i: var(--i-play); }

/* 퀵메뉴 아이콘 */
.qi-guide { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.5'/%3E%3C/svg%3E"); }
.qi-book  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M4 10h16M9 3v4M15 3v4M9 14l2 2 4-4'/%3E%3C/svg%3E"); }
.qi-map   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.qi-news  { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='2'/%3E%3Cpath d='M8 9h8M8 13h8M8 17h5'/%3E%3C/svg%3E"); }
.qi-voice { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 0 1-11.6 7.1L4 20l1-4A8 8 0 1 1 20 12z'/%3E%3C/svg%3E"); }

/* 카테고리 아이콘 */
.ci-all     { --i: var(--i-grid); }
.ci-exhibit { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 16l5-5 4 4 3-3 6 6'/%3E%3C/svg%3E"); }
.ci-show    { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M9 18V5l11-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='17' cy='16' r='3'/%3E%3C/svg%3E"); }
.ci-edu     { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M2 9l10-5 10 5-10 5z'/%3E%3Cpath d='M6 11v5c3 2.5 9 2.5 12 0v-5'/%3E%3C/svg%3E"); }
.ci-resi    { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7v9H3z'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E"); }
.ci-call    { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l4-1L19 8l-3-3L5 16z'/%3E%3Cpath d='M14 7l3 3'/%3E%3C/svg%3E"); }

/* SNS 아이콘 (단순화) */
.si-blog    { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h5.5l5 7.2V4H20v16h-5.5l-5-7.2V20H4z'/%3E%3C/svg%3E"); }
.si-insta   { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.3' cy='6.7' r='.6' fill='%23000'/%3E%3C/svg%3E"); }
.si-youtube { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 8.2a3 3 0 0 0-2.1-2.1C18 5.6 12 5.6 12 5.6s-6 0-7.9.5A3 3 0 0 0 2 8.2 31 31 0 0 0 1.6 12 31 31 0 0 0 2 15.8a3 3 0 0 0 2.1 2.1c1.9.5 7.9.5 7.9.5s6 0 7.9-.5a3 3 0 0 0 2.1-2.1 31 31 0 0 0 .4-3.8 31 31 0 0 0-.4-3.8zM10 15.2V8.8l5.2 3.2z'/%3E%3C/svg%3E"); }
.si-fb      { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-8h2.7l.4-3.2h-3.1V7.8c0-.9.3-1.5 1.6-1.5h1.7V3.4a22 22 0 0 0-2.5-.1c-2.4 0-4.1 1.5-4.1 4.2v2.3H7.5V13h2.7v8z'/%3E%3C/svg%3E"); }

/* =========================================================
   HEADER
   ========================================================= */
.header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid #eef0f2; }
.header { transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 4px 18px rgba(13,43,69,.08); }
.header__bar { display: flex; align-items: center; height: var(--header-h); position: relative; z-index: 2; }

.logo a, .footer__logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background:
    radial-gradient(circle at 50% 38%, var(--sun) 0 22%, transparent 23%),
    linear-gradient(180deg, transparent 55%, var(--sea) 55% 70%, transparent 70% 78%, var(--navy) 78%);
  box-shadow: inset 0 0 0 2px var(--navy);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong { font-size: 21px; font-weight: 800; letter-spacing: -.04em; color: var(--navy); }
.logo__text em { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--sea); margin-top: 3px; }

.gnb { margin-left: auto; height: 100%; }
.gnb__list { display: flex; height: 100%; }
.gnb__list > li { position: relative; width: 128px; text-align: center; }
.gnb__list > li > a { display: flex; align-items: center; justify-content: center; height: var(--header-h); font-size: 17px; font-weight: 600; letter-spacing: -.02em; position: relative; }
.gnb__list > li > a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px; background: var(--sea); transition: .25s; transform: translateX(-50%); }
.gnb__list > li:hover > a { color: var(--sea); }
.gnb__list > li:hover > a::after { width: 60%; }
.gnb__sub { display: none; padding: 22px 0 28px; }
.gnb__sub a { display: block; padding: 6px 4px; font-size: 15px; color: var(--gray-7); }
.gnb__sub a:hover { color: var(--sea); text-decoration: underline; text-underline-offset: 3px; }
.gnb__list > li:hover .gnb__sub { background: var(--sea-l); }

.gnb__bg { position: absolute; left: 0; right: 0; top: var(--header-h); height: 0; background: var(--white); border-top: 1px solid #eef0f2; box-shadow: 0 12px 20px rgba(13,43,69,.06); transition: height .25s; overflow: hidden; z-index: 1; }
/* GNB 호버 시 전체 서브메뉴 펼침 (나주문화재단 방식) */
.header:has(.gnb:hover, .gnb:focus-within) .gnb__sub { display: block; }
.header:has(.gnb:hover, .gnb:focus-within) .gnb__bg { height: 230px; }

.header__util { display: flex; align-items: center; gap: 18px; margin-left: 40px; }
.btn-login { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border: 1px solid var(--gray-3); border-radius: 40px; font-size: 14px; font-weight: 500; transition: .2s; }
.btn-login:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-menu { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 32px; height: 32px; cursor: pointer; }
.btn-menu span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.btn-menu span:nth-child(2) { width: 70%; margin-left: auto; }

/* 전체메뉴 */
.allmenu { position: fixed; inset: 0; z-index: 200; background: var(--navy); color: #fff; padding: 40px 0; overflow-y: auto; visibility: hidden; opacity: 0; transition: .3s; }
.allmenu__toggle:checked + .allmenu { visibility: visible; opacity: 1; }
.allmenu__head { max-width: var(--inner); margin: 0 auto 40px; padding: 0 30px; display: flex; justify-content: space-between; align-items: center; }
.allmenu__title { font-size: 28px; font-weight: 700; }
.allmenu__close { font-size: 44px; line-height: 1; cursor: pointer; }
.allmenu__body { max-width: var(--inner); margin: 0 auto; padding: 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 30px; }
.allmenu__body dt { font-size: 20px; font-weight: 700; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.25); color: var(--sun); }
.allmenu__body dd a { display: block; padding: 5px 0; color: rgba(255,255,255,.85); }
.allmenu__body dd a:hover { color: #fff; text-decoration: underline; }

/* =========================================================
   1. MAIN VISUAL
   ========================================================= */
.visual { position: relative; height: 640px; overflow: hidden; color: #fff; }
.visual__slides, .visual__slide, .visual__bg { position: absolute; inset: 0; }
.visual__slide { opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.visual__slide.is-active { opacity: 1; visibility: visible; }
.visual__bg { transform: scale(1.06); transition: transform 7s ease-out; }
.visual__slide.is-active .visual__bg { transform: scale(1); }
.visual__txt > * { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.visual__slide.is-active .visual__txt > * { opacity: 1; transform: none; }
.visual__slide.is-active .visual__txt > :nth-child(2) { transition-delay: .15s; }
.visual__slide.is-active .visual__txt > :nth-child(3) { transition-delay: .3s; }
.visual__slide.is-active .visual__txt > :nth-child(4) { transition-delay: .45s; }
.visual__bg::after { content: "메인 비주얼 이미지 / 영상 영역 (1920×640)"; position: absolute; left: 50%; transform: translateX(-50%); top: 20px; font-size: 12px; opacity: .5; }
.visual__txt { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.visual__eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .3em; color: var(--sun); margin-bottom: 20px; }
.visual__title { font-size: clamp(40px, 5.2vw, 76px); font-weight: 800; line-height: 1.15; letter-spacing: -.04em; }
.visual__desc { margin-top: 24px; font-size: 19px; opacity: .85; }
.btn-line { align-self: flex-start; margin-top: 40px; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 28px; border: 1px solid rgba(255,255,255,.6); border-radius: 52px; font-size: 15px; font-weight: 600; transition: .2s; }
.btn-line::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i-arrow-r) center/contain no-repeat; mask: var(--i-arrow-r) center/contain no-repeat; }
.btn-line:hover { background: #fff; color: var(--navy); }

.visual__ctrl { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; }
.visual__ctrl .pager { font-size: 14px; letter-spacing: .05em; opacity: .8; }
.visual__ctrl .pager b { font-size: 18px; opacity: 1; }
.visual__ctrl .bar { width: 160px; height: 2px; background: rgba(255,255,255,.3); }
.visual__ctrl .bar i { display: block; height: 100%; width: 0; background: #fff; }
.bar i.is-timing { animation: barfill var(--dur, 6s) linear forwards; }
.is-paused-root .bar i.is-timing { animation-play-state: paused; }
@keyframes barfill { from { width: 0; } to { width: 100%; } }
.ico-btn { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; display: grid; place-items: center; }
.ico-btn::before { width: 16px; height: 16px; }
.ico-btn:hover { background: rgba(255,255,255,.15); }

/* 퀵메뉴 */
.quick { position: fixed; right: 24px; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.quick ul { display: flex; flex-direction: column; gap: 10px; }
.quick li a { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: 0 4px 14px rgba(13,43,69,.14); transition: .2s; }
.quick .qi { width: 24px; height: 24px; }
.quick li a span { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--navy); color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 6px; opacity: 0; pointer-events: none; transition: .2s; }
.quick li a:hover { background: var(--sea); color: #fff; }
.quick li a:hover span { opacity: 1; }
.quick__top { margin-top: 6px; width: 58px; height: 58px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.quick__top::before { content: ""; border: 5px solid transparent; border-bottom: 6px solid #fff; border-top: 0; }

/* =========================================================
   공통 섹션
   ========================================================= */
.sec { padding: 110px 0; }
.sec-head { display: flex; align-items: center; gap: 24px; margin-bottom: 40px; }
.sec-eyebrow { font-size: 15px; font-weight: 700; color: var(--sea); letter-spacing: .06em; margin-bottom: 4px; }
.sec-title { font-size: 40px; font-weight: 400; letter-spacing: -.04em; line-height: 1.2; }
.sec-title strong { font-weight: 800; }
.sec-ctrl { margin-left: auto; display: flex; gap: 8px; }

.sq { width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--gray-3); background: #fff; display: grid; place-items: center; color: var(--gray-7); flex: none; }
.sq::before { width: 18px; height: 18px; }
.sq:hover { border-color: var(--navy); color: var(--navy); }
.sq-more { background: var(--gray-5); border-color: var(--gray-5); color: #fff; }
.sq-more:hover { background: var(--navy); color: #fff; }

.pill-tab { display: flex; gap: 4px; padding: 6px; background: var(--gray-1); border-radius: 40px; }
.pill-tab button { display: block; padding: 9px 20px; border-radius: 30px; font-size: 15px; color: var(--gray-7); }
.pill-tab .is-active button { background: var(--navy); color: #fff; font-weight: 600; }

/* 슬라이더 공통 : --per(한 화면 개수) / --gap 은 반응형에서 조정 */
.slider-view { overflow: hidden; }
[data-track] { --per: 4; --gap: 28px; }
.poster-list, .card-list, .family__list { display: flex; gap: var(--gap); transition: transform .55s cubic-bezier(.22,.61,.36,1); will-change: transform; touch-action: pan-y; }
.poster-list > li, .card-list > li, .family__list > li { flex: 0 0 calc((100% - var(--gap) * (var(--per) - 1)) / var(--per)); min-width: 0; }
[data-track] > [hidden] { display: none !important; }
.slider-empty { padding: 80px 0; text-align: center; color: var(--gray-5); }
.is-dragging { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .poster-list, .card-list, .family__list, .visual__slide, .visual__bg, .visual__txt > *, .banner { transition: none !important; }
}

/* =========================================================
   2. 프로그램
   ========================================================= */
.program { background: var(--gray-1); padding-top: 70px; }
.program__wrap { display: flex; gap: 50px; align-items: flex-start; }
.cate { flex: none; width: 200px; background: #fff; border-radius: 0 0 100px 100px; padding: 14px 14px 40px; box-shadow: 0 10px 30px rgba(13,43,69,.06); margin-top: -110px; position: relative; z-index: 3; }
.cate li + li button { border-top: 1px solid var(--gray-1); }
.cate button { width: 100%; display: flex; align-items: center; gap: 14px; height: 62px; padding: 0 20px; font-size: 16px; color: var(--gray-7); border-radius: 40px; }
.cate .ci { width: 20px; height: 20px; color: var(--gray-5); }
.cate button:hover { color: var(--sea); }
.cate .is-active button { background: var(--navy); color: #fff; font-weight: 600; border-top-color: transparent; }
.cate .is-active .ci { color: var(--sun); }
.cate .is-active + li button { border-top-color: transparent; }

.program__body { flex: 1; min-width: 0; }
.program .slider-view { padding: 0 6px 30px; margin: 0 -6px -30px; }
.poster a { position: relative; display: block; padding-top: 22px; }
.poster .ph--poster { aspect-ratio: 3 / 4; border-radius: 14px; box-shadow: 0 10px 24px rgba(13,43,69,.12); transition: transform .3s; }
.poster a:hover .ph--poster { transform: translateY(-6px); }
.badge { position: absolute; top: 0; right: 18px; z-index: 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.badge--b { background: var(--sea); }
.badge--c { background: var(--navy); }
.badge--d { background: var(--coral); }
.badge--e { background: #6b3f6e; }
.poster__date { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: rgba(255,255,255,.92); border-radius: 30px; font-size: 14px; font-weight: 500; color: var(--gray-7); }

.slide-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.slide-ctrl .pager { font-size: 14px; color: var(--gray-5); }
.slide-ctrl .pager b { color: var(--ink); }
.slide-ctrl .bar { flex: 1; height: 3px; background: var(--gray-3); border-radius: 3px; margin-left: 20px; }
.slide-ctrl .bar i { display: block; height: 100%; background: var(--navy); border-radius: 3px; }
.arr { width: 24px; height: 24px; color: var(--gray-5); display: grid; place-items: center; }
.arr::before { width: 16px; height: 16px; }
.arr:hover { color: var(--ink); }

/* =========================================================
   3. 지금, 예술섬은
   ========================================================= */

.card .ph--thumb { border-radius: 12px; transition: .3s; }
.card a:hover .ph--thumb { filter: brightness(.92); }
.card__tit { margin-top: 18px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card a:hover .card__tit { color: var(--sea); }
.card__date { display: block; margin-top: 6px; font-size: 14px; color: var(--gray-5); }

/* =========================================================
   4. NEWS 재단소식
   ========================================================= */
.news { background: var(--sea-l); }
.news__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.news__board .sec-head { margin-bottom: 30px; }
.dot-tab { display: flex; align-items: center; padding: 12px 22px; background: #fff; border-radius: 40px; }
.dot-tab li + li::before { content: "·"; margin: 0 10px; color: var(--gray-5); }
.dot-tab button { font-size: 15px; color: var(--gray-7); }
.dot-tab button:hover { color: var(--ink); }
.dot-tab .is-active button { color: var(--ink); font-weight: 700; }
.news__board .sq-more { margin-left: auto; }

.notice li + li { margin-top: 14px; }
.notice a { display: flex; align-items: center; height: 88px; padding: 0 30px; background: #fff; border-radius: 14px; box-shadow: 0 4px 14px rgba(13,43,69,.05); transition: .2s; }
.notice a:hover { box-shadow: 0 8px 24px rgba(13,43,69,.12); transform: translateX(4px); }
.notice__date { flex: none; width: 76px; display: flex; flex-direction: column; align-items: center; font-size: 14px; color: var(--gray-5); line-height: 1.1; border-right: 1px solid var(--gray-3); margin-right: 26px; }
.notice__date b { font-size: 22px; color: var(--navy); }
.notice__tit { font-size: 17px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notice a:hover .notice__tit { color: var(--sea); }

.news__banner { display: flex; gap: 24px; }
.banner-track { position: relative; flex: 1; min-height: 360px; }
.banner { position: absolute; inset: 0; border-radius: 24px; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; }
.banner.is-active { opacity: 1; visibility: visible; }
.banner__ctrl { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.round { width: 46px; height: 46px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--gray-7); box-shadow: 0 2px 8px rgba(13,43,69,.06); }
.round::before { width: 18px; height: 18px; }
.pager--v { display: flex; flex-direction: column; align-items: center; margin: auto 0; font-size: 15px; color: var(--gray-5); line-height: 1.3; }
.pager--v b { color: var(--ink); }

/* =========================================================
   5. SNS 소식지 (해남문화관광재단 하단 참고)
   ========================================================= */
.sns__eyebrow { font-size: 17px; color: var(--gray-7); }
.sns__eyebrow b { color: var(--sea); font-weight: 600; }
.sns__title { margin-top: 8px; font-size: 44px; font-weight: 500; letter-spacing: -.04em; }
.sns__title strong { color: var(--navy); font-weight: 800; }
.sns__hand { margin-left: 10px; font-family: "Nanum Pen Script", cursive; font-weight: 700; color: var(--sea); letter-spacing: .05em; font-size: 1.15em; }

.sns-tab { display: flex; align-items: center; gap: 0; margin: 40px 0 30px; }
.sns-tab li + li::before { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--gray-3); vertical-align: middle; margin: 0 14px; }
.sns-tab button { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--gray-5); }
.sns-tab .si { width: 16px; height: 16px; }
.sns-tab button:hover { color: var(--ink); }
.sns-tab .is-active button { font-weight: 700; }
.sns-tab [data-sns=blog].is-active button { color: #03a94d; }
.sns-tab [data-sns=insta].is-active button { color: #d62976; }
.sns-tab [data-sns=youtube].is-active button { color: #e62117; }
.sns-tab [data-sns=fb].is-active button { color: #1877f2; }

.sns__panel { display: grid; grid-template-columns: 1fr 1fr 1fr 1.25fr; gap: 26px; align-items: end; padding: 40px 50px 0; margin-top: 90px; background: var(--sea-l); border-radius: 30px; position: relative; }
.sns__thumbs { display: contents; }
.sns__thumbs li { padding-bottom: 50px; }
.sns__thumbs a { position: relative; display: block; }
.sns__thumbs .ph--sq { border-radius: 14px; transition: .3s; }
.sns__thumbs a:hover .ph--sq { transform: translateY(-4px); }
.sns-badge { position: absolute; right: 10px; bottom: 10px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.sns-badge .si { width: 14px; height: 14px; }
.sns-badge--blog { background: #03a94d; }
.sns-badge--insta { background: linear-gradient(45deg, #feda75, #d62976 50%, #4f5bd5); }
.sns-badge--youtube { background: #e62117; }
.sns-badge--fb { background: #1877f2; }
.sns__panel[hidden] { display: none; }
.sns__feature { display: flex; flex-direction: column; gap: 18px; margin-top: -130px; padding-bottom: 40px; }
.sns__feature .ph--feature { border-radius: 16px; box-shadow: 0 14px 30px rgba(13,43,69,.15); }
.sns__feature p { font-size: 16px; line-height: 1.6; color: var(--gray-7); }
.sns__feature:hover p { color: var(--sea); }

/* =========================================================
   6. 관련기관
   ========================================================= */
.family { border-top: 1px solid var(--gray-3); border-bottom: 1px solid var(--gray-3); margin-top: 40px; }
.family__wrap { display: flex; align-items: center; height: 120px; gap: 40px; }
.family__head { flex: none; display: flex; align-items: center; gap: 22px; }
.family__head h2 { font-size: 18px; font-weight: 700; }
.family__ctrl { display: flex; gap: 4px; }
.mini { width: 24px; height: 24px; display: grid; place-items: center; color: var(--gray-7); }
.mini::before { width: 14px; height: 14px; }
.family__view { flex: 1; min-width: 0; }
.family__list { --per: 6; --gap: 20px; }
.family__list a { display: flex; align-items: center; justify-content: center; height: 60px; }
.logo-ph { display: grid; place-items: center; width: 100%; height: 44px; border: 1px dashed var(--gray-3); border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--gray-5); }
.family__list a:hover .logo-ph { border-color: var(--sea); color: var(--sea); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer__links { background: var(--navy); }
.footer__links ul { display: flex; align-items: center; height: 60px; gap: 40px; }
.footer__links a { font-size: 14px; color: rgba(255,255,255,.8); }
.footer__links a:hover { color: #fff; }
.footer__links .is-strong { color: var(--sun); font-weight: 700; }

.footer__info { display: flex; align-items: flex-start; gap: 60px; padding-top: 44px; padding-bottom: 60px; }
.footer__logo { flex: none; filter: grayscale(1); opacity: .75; }
.footer address { flex: 1; font-size: 14px; color: var(--gray-7); line-height: 1.8; }
.footer address .sep { display: inline-block; width: 1px; height: 11px; background: var(--gray-3); margin: 0 10px; }
.footer .copy { margin-top: 6px; color: var(--gray-5); letter-spacing: .02em; }
.footer__side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.footer__sns { display: flex; gap: 8px; }
.footer__sns a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gray-1); color: var(--gray-7); }
.footer__sns a:hover { background: var(--navy); color: #fff; }
.footer__sns .si { width: 18px; height: 18px; }

.related { position: relative; width: 220px; font-size: 14px; }
.related summary { list-style: none; display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 16px; border: 1px solid var(--gray-3); cursor: pointer; color: var(--gray-7); }
.related summary::-webkit-details-marker { display: none; }
.related summary::after { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: var(--i-prev) center/contain no-repeat; mask: var(--i-prev) center/contain no-repeat; transform: rotate(90deg); transition: .2s; }
.related[open] summary::after { transform: rotate(-90deg); }
.related ul { position: absolute; left: 0; right: 0; bottom: 100%; background: #fff; border: 1px solid var(--gray-3); border-bottom: 0; }
.related ul a { display: block; padding: 9px 16px; color: var(--gray-7); }
.related ul a:hover { background: var(--gray-1); color: var(--navy); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1440px) {
  .gnb__list > li { width: 108px; }
  .quick { right: 14px; }
  .quick li a, .quick__top { width: 50px; height: 50px; }
}
@media (max-width: 1200px) {
  :root { --header-h: 72px; }
  .gnb { display: none; }
  .header__util { margin-left: auto; }
  .allmenu__body { grid-template-columns: repeat(3, 1fr); }
  .program__wrap { flex-direction: column; gap: 30px; }
  .program__body { width: 100%; }
  .cate { width: 100%; margin-top: 0; border-radius: 60px; padding: 8px; display: flex; overflow-x: auto; }
  .cate li { flex: 1; }
  .cate li + li button { border-top: 0; }
  .cate button { height: 50px; justify-content: center; padding: 0 16px; white-space: nowrap; }
  .poster-list { --per: 3; }
  .news__wrap { grid-template-columns: minmax(0, 1fr); }
  .family__list { --per: 4; }
}
@media (max-width: 1024px) {
  .card-list { --per: 2; }
  .sns__panel { grid-template-columns: repeat(3, 1fr); padding: 30px 30px 0; }
  .sns__panel { margin-top: 0; }
  .sns__feature { grid-column: 1 / -1; flex-direction: row; align-items: center; margin-top: 0; }
  .sns__feature .ph--feature { width: 40%; aspect-ratio: 4/3; flex: none; }
  .footer__info { flex-wrap: wrap; gap: 30px; }
  .footer__side { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (max-width: 768px) {
  .inner { padding: 0 20px; }
  .btn-login { display: none; }
  .logo__text strong { font-size: 18px; }
  .visual { height: 520px; }
  .visual__desc { font-size: 16px; }
  .visual__ctrl .bar { width: 80px; }
  .quick { display: none; }
  .sec { padding: 70px 0; }
  .sec-head { flex-wrap: wrap; gap: 16px; }
  .sec-title { font-size: 30px; }
  .sec-ctrl { margin-left: 0; }
  .cate { justify-content: flex-start; }
  .cate li { flex: none; }
  .poster-list { --per: 2; --gap: 16px; }
  .badge { width: 44px; height: 44px; font-size: 12px; right: 10px; }
  .poster__date { font-size: 12px; padding: 6px 10px; }
  .card-list { --per: 1; --gap: 16px; }
  .dot-tab { padding: 10px 16px; order: 3; width: 100%; justify-content: center; }
  .dot-tab li + li::before { margin: 0 6px; }
  .dot-tab button { font-size: 14px; }
  .notice a { height: 76px; padding: 0 18px; }
  .notice__date { width: 56px; margin-right: 16px; }
  .notice__tit { font-size: 15px; }
  .news__banner { flex-direction: column; }
  .banner-track { min-height: 220px; }
  .banner__ctrl { flex-direction: row; justify-content: center; }
  .pager--v { flex-direction: row; gap: 4px; margin: 0 10px; }
  .sns__title { font-size: 30px; }
  .sns-tab { flex-wrap: wrap; row-gap: 10px; }
  .sns__panel { grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 20px 20px 0; border-radius: 20px; }
  .sns__thumbs li { padding-bottom: 20px; }
  .sns__feature { flex-direction: column; align-items: stretch; padding-bottom: 20px; }
  .sns__feature .ph--feature { width: 100%; }
  .family__wrap { flex-direction: column; height: auto; padding: 24px 20px; gap: 16px; }
  .family__view { width: 100%; }
  .family__list { --per: 2; --gap: 10px; }
  .footer__links ul { height: auto; flex-wrap: wrap; gap: 10px 24px; padding-top: 18px; padding-bottom: 18px; }
  .footer__side { flex-direction: column; align-items: flex-start; }
  .allmenu__body { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
}
