
/*  */
@charset "UTF-8";
/* =========================================================
   2026 상주 국가유산 야행
   디자인 시스템 — 야간 네이비 + 전통 금/단청
   Base: Pretendard / Display: Nanum Myeongjo (전통 제목)
   ========================================================= */

/* ---------- 디자인 토큰 ---------- */
:root{
  /* 밤하늘 네이비 */
  --navy-900:#0b1f38;
  --navy-800:#0e2a47;
  --navy-700:#12345a;
  --navy-600:#1b3a5c;
  --navy-500:#27496d;
  --navy-400:#3a5d83;

  /* 전통 금 / 단청 */
  --gold:#c9a44c;        /* 메인 포인트 금색 */
  --gold-light:#e3c879;
  --gold-deep:#a9842f;
  --dancheong-red:#b5403a;
  --dancheong-green:#2f6b5e;
  --dancheong-blue:#2b5a8c;

  /* 한지/배경 */
  --hanji:#f7f1e3;
  --hanji-soft:#fbf7ee;
  --paper:#ffffff;
  --line:#e7ddc9;

  /* 텍스트 */
  --ink:#23211c;
  --ink-soft:#5c574d;
  --ink-mute:#8d877a;
  --on-navy:#f4ecd8;

  --maxw:1400px;
  --radius:14px;
  --shadow-sm:0 4px 14px rgba(11,31,56,.08);
  --shadow-md:0 14px 40px rgba(11,31,56,.16);
  --ease:cubic-bezier(.22,.61,.36,1);

  --serif:"Nanum Myeongjo","Gowun Batang",serif;
  --sans:"Pretendard","Pretendard Variable",-apple-system,"Noto Sans KR","Apple SD Gothic Neo",sans-serif;
}

/* ---------- 리셋 ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--sans);color:var(--ink);background:#fff;
  line-height:1.65;letter-spacing:-.01em;font-size:16px;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block;border:0;width: 100%;}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none;margin:0;padding:0}
button{font-family:inherit;cursor:pointer;border:0;background:none;color:inherit}
h1,h2,h3,h4,p{margin:0}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

.skip-link{position:absolute;left:-9999px;top:0;z-index:200;background:var(--navy-800);color:#fff;padding:10px 16px}
.skip-link:focus{left:0}

.inner{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 24px}

/* =========================================================
   헤더 / GNB
   ========================================================= */
.header{position:relative;top:0;z-index:100;background:transparent;
  backdrop-filter:saturate(140%) blur(6px);border-bottom:1px solid var(--line);
  transition:box-shadow .3s var(--ease)}
.header.is-scrolled{box-shadow:0 6px 24px rgba(11,31,56,.10);
background-color: #0b1f38;}
.header__inner{max-width:var(--maxw);margin:0 auto;height:84px;padding:0 24px;
  display:flex;align-items:center;gap:24px}

.logo{flex:0 0 auto;position: relative;z-index: 20;}
.logo a{display:flex;flex-direction:column;line-height:1.05}
.logo__top{font-size:14px;font-weight:700;color:var(--navy-500);letter-spacing:.06em}
.logo__main{font-family:var(--serif);font-size:30px;font-weight:800;color:var(--navy-800);
  display:flex;align-items:center;gap:4px}
.logo__moon{color:var(--gold);font-size:22px}
.logo__main img{
    width: 200px;
}
.gnb{flex:1 1 auto;display:flex;justify-content:center}
.gnb__list{display:flex;gap:8px}
.gnb__item{position:relative}
.gnb__link{display:block;padding:30px 18px;font-size:18px;font-weight:400;color:#fff;
  position:relative;transition:color .2s;min-width: 100px;;text-align: center;}
.gnb__item.is-active .gnb__link,
.gnb__item:hover .gnb__link,
.header:hover .gnb__link{color:#fff;
position: relative;z-index: 20;
}
.gnb__link::after{content:"";position:absolute;left:18px;right:18px;bottom:22px;height:3px;
  background:var(--gold);border-radius:3px;transform:scaleX(0);transform-origin:center;
  transition:transform .25s var(--ease)}
.gnb__item.is-active .gnb__link::after,.gnb__item:hover .gnb__link::after{transform:scaleX(1)}

.gnb__sub{position:absolute;top:84px;left:50%;transform:translateX(-50%) translateY(8px);
  min-width:100px;background:transparent;border-radius:0 0 12px 12px;padding:8px;
  opacity:0;visibility:hidden;transition:.25s var(--ease);box-shadow:var(--shadow-md);
  border-top:0}
.header:hover .gnb__sub{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}

.gnb__sub a{display:block;padding:11px 16px;font-size:15px;color:var(--on-navy);border-radius:8px;
  white-space:nowrap;transition:.18s;text-align: center;}
.gnb__sub a:hover{
    background: rgb(255 255 255 / 18%);
    color:#fff}

/* 뒤배경 */
.header::before{
    position: absolute;
    content: '';
    left: 0;
   top: -415px;
    height: 500px;
    background-color: #0b1f38;
    width: 100%;
    opacity: 0;
}
.header:hover::before {
    opacity: 1;
    top:0;
}

.header__util{flex:0 0 auto;display:flex;align-items:center;gap:10px;
position: relative;
z-index: 20;
}
.sns{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;
  background:transparent;transition:.2s}
.sns svg{width:20px;height:20px;fill:#fff}
.sns:hover{background:transparent;transform:translateY(-2px)}

.hamburger{display:none;width:42px;height:42px;flex-direction:column;justify-content:center;
  align-items:center;gap:5px}
.hamburger span{
    width:24px;height:2px;background:#fff;border-radius:2px;transition:.3s var(--ease)}
.hamburger.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.is-open span:nth-child(2){opacity:0}
.hamburger.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* 모바일 메뉴 */
.mobile-menu{position:fixed;top:0;right:-86%;width:86%;max-width:380px;height:100%;z-index:120;
  background:var(--navy-800);padding:88px 0 40px;overflow-y:auto;transition:right .35s var(--ease)}
.mobile-menu.is-open{right:0}
.mobile-menu__toggle{display:flex;justify-content:space-between;align-items:center;width:100%;
  padding:18px 26px;font-size:18px;font-weight:700;color:var(--on-navy);
  border-bottom:1px solid rgba(255,255,255,.08)}
.mobile-menu__arrow{font-size:22px;color:var(--gold);transition:transform .3s}
.mobile-menu__item.is-open .mobile-menu__arrow{transform:rotate(45deg)}
.mobile-menu__sub{max-height:0;overflow:hidden;transition:max-height .35s var(--ease);background:rgba(0,0,0,.18)}
.mobile-menu__item.is-open .mobile-menu__sub{max-height:500px}
.mobile-menu__sub a{display:block;padding:13px 36px;font-size:15px;color:rgba(244,236,216,.82)}
.mobile-menu__sub a:active{color:var(--gold)}
.dim{position:fixed;inset:0;background:rgba(8,18,33,.55);z-index:110;opacity:0;visibility:hidden;transition:.3s}
.dim.is-open{opacity:1;visibility:visible}

/* =========================================================
   히어로 (메인) — CSS 밤하늘
   ========================================================= */
.hero{position:relative;overflow:hidden;color:var(--on-navy);
  background:transparent;top:-86px;}
.hero__sky{position:relative;inset:0;z-index:0;pointer-events:none}
.hero__stars{position:absolute;inset:0;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 22%,#fff,transparent),
    radial-gradient(1.4px 1.4px at 28% 12%,#fff,transparent),
    radial-gradient(1.8px 1.8px at 44% 30%,#fdf3cf,transparent),
    radial-gradient(1.2px 1.2px at 62% 16%,#fff,transparent),
    radial-gradient(1.7px 1.7px at 76% 26%,#fff,transparent),
    radial-gradient(1.3px 1.3px at 88% 12%,#fdf3cf,transparent),
    radial-gradient(1.5px 1.5px at 18% 44%,#fff,transparent),
    radial-gradient(1.2px 1.2px at 52% 48%,#fff,transparent),
    radial-gradient(1.6px 1.6px at 82% 42%,#fff,transparent),
    radial-gradient(1.3px 1.3px at 36% 60%,#fff,transparent);
  animation:twinkle 4.5s ease-in-out infinite alternate}
@keyframes twinkle{from{opacity:.55}to{opacity:1}}
.hero__moon{position:absolute;top:64px;right:9%;width:96px;height:96px;border-radius:50%;
  background:radial-gradient(circle at 38% 38%,#fff7e0,#f2dd9e);
  box-shadow:0 0 0 14px rgba(243,221,158,.10),0 0 60px 12px rgba(243,221,158,.32);z-index:0}

.hero__inner{position:relative;z-index:2;max-width:var(--maxw);margin:0 auto;
  padding:84px 24px 96px;text-align:center}
.hero__badge{display:inline-flex;align-items:center;gap:8px;padding:8px 20px;border-radius:999px;
  border:1px solid rgba(201,164,76,.5);color:var(--gold-light);font-size:15px;font-weight:600;
  letter-spacing:.04em;margin-bottom:26px}
.hero__title{font-family:var(--serif);font-weight:800;font-size:clamp(40px,6.4vw,82px);
  line-height:1.12;color:#fff;text-shadow:0 4px 30px rgba(0,0,0,.4)}
.hero__title .accent{color:var(--gold-light)}
.hero__slogan{font-family:var(--serif);font-size:clamp(18px,2.4vw,26px);color:var(--gold-light);
  margin-top:18px;letter-spacing:.02em}
.hero__desc{margin-top:10px;color:rgba(244,236,216,.78);font-size:clamp(14px,1.6vw,17px)}

.hero__meta{margin-top:40px;display:inline-flex;flex-wrap:wrap;justify-content:center;gap:14px}
.hero__chip{display:flex;align-items:center;gap:10px;padding:14px 22px;border-radius:12px;
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(4px)}
.hero__chip .ko{font-size:13px;color:var(--gold-light);font-weight:700;letter-spacing:.05em}
.hero__chip .val{font-size:16px;color:#fff;font-weight:600}
.hero__chip--date .val{font-size:18px}

.hero__deco{position:absolute;left:0;right:0;bottom:-1px;z-index:1;line-height:0}
.hero__deco svg{width:100%;height:70px;display:block}



/* slick */

.visual-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.visual-slide {
  position: relative;
  height: 100vh;
}
.visual-slide::after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background-color: #23211c;
    opacity: 0.1;
    width: 100%;
    height: 100%;
}
.visual-slide img {
  display: block;
  width: 100%;    object-position: 50% 50%;
  height: 100%;
  object-fit: cover;
}

/* 이전·다음 버튼 */
.visual-slider .slick-prev,
.visual-slider .slick-next {
  z-index: 10;
  width: 50px;
  height: 50px;
}

.visual-slider .slick-prev {
  left: 30px;
}

.visual-slider .slick-next {
  right: 30px;
}

.visual-slider .slick-prev::before,
.visual-slider .slick-next::before {
  font-size: 40px;
  opacity: 1;
}

/* 하단 점 */
.visual-slider .slick-dots {
  bottom: 25px;
}

.visual-slider .slick-dots li {
  width: auto;
  height: auto;
  margin: 0 5px;
}

.visual-slider .slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.visual-slider .slick-dots li button::before {
  display: none;
}

.visual-slider .slick-dots li.slick-active button {
  width: 30px;
  border-radius: 10px;
  background: #fff;
}

.tes{
       position: absolute;
    z-index: 20;
    left: 50%;
    top: 41%;
    transform: translate(-50%, -50%);
}
.tes img{
    width: 600px;
    filter: brightness();
    /* background-color: #131313c2; */
    padding: 16px;
}
/* =========================================================
   바로가기 (퀵 링크) 5종
   ========================================================= */
.got{
    position: absolute;
    left: 50%;
    top: 76%;
    width: 100%;
    transform: translate(-50%, -50%);
}
.quick{position:relative;z-index:5;margin-top:-46px}
.quick__grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.quick__card{
    display:flex;flex-direction:column;align-items:center;gap:14px;padding:30px 14px;
  background:#0000006c;border-radius:var(--radius);box-shadow:var(--shadow-sm);
  border:1px solid var(--line);transition:.28s var(--ease);
  width: 180px;
height: 180px;
border:0;
border-radius: 150px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(2px); /* Safari */
}
.quick__card:hover{transform:translateY(-8px);box-shadow:var(--shadow-md);background-color: #0e2a47;}
.quick__ico{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(140deg,var(--navy-600),var(--navy-800));transition:.28s var(--ease);
  background:transparent;
}
.quick__ico svg{
    width:45px;height:45px;stroke:var(--gold-light);fill:none;stroke-width:1.7}
.quick__card:hover .quick__ico{background:transparent}
/* .quick__card:hover .quick__ico svg{stroke:#fff} */
.quick__label{font-size:18px;font-weight:700;color:#fff}
.quick__en{font-size:12px;color:var(--ink-mute);letter-spacing:.08em;text-transform:uppercase;display: none;}
.quick__card:hover .quick__label{
    color: #fff;
}
/* =========================================================
   섹션 공통
   ========================================================= */
.section{padding:90px 0}
.section--soft{background:
  linear-gradient(0deg,rgba(247,241,227,.6),rgba(247,241,227,.6))}
.sec-head{text-align:center;margin-bottom:50px}
.sec-head__eyebrow{display:inline-block;font-size:14px;font-weight:700;letter-spacing:.16em;
  color:var(--gold-deep);text-transform:uppercase}
.sec-head__title{font-family:var(--serif);font-size:clamp(28px,3.6vw,42px);font-weight:800;
  color:var(--navy-800);margin-top:10px}
.sec-head__title::after{content:"";display:block;width:74px;height:10px;margin:18px auto 0;
  background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='74' height='10'%3E%3Cline x1='0' y1='5' x2='28' y2='5' stroke='%23c9a44c' stroke-width='2'/%3E%3Crect x='33' y='1.5' width='7' height='7' fill='%23c9a44c' transform='rotate(45 36.5 5)'/%3E%3Cline x1='46' y1='5' x2='74' y2='5' stroke='%23c9a44c' stroke-width='2'/%3E%3C/svg%3E")}
.sec-head__desc{margin-top:16px;color:var(--ink-soft);font-size:16px}

/* 행사소개 (포스터 | 소개) — 좌우 균형 2단 */
.intro-grid{display:grid;grid-template-columns:0.82fr 1.18fr;gap:50px;align-items:center}
.intro-poster{position:relative}
.intro-poster__frame{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-md);
  border:1px solid var(--line);background:linear-gradient(160deg,var(--navy-700),var(--navy-900));
  aspect-ratio:3/4;display:grid;place-items:center;color:var(--on-navy);text-align:center;padding:24px}
.intro-poster__frame .ph-moon{width:80px;height:80px;border-radius:50%;
  background:radial-gradient(circle at 38% 38%,#fff7e0,#f2dd9e);margin:0 auto 20px;
  box-shadow:0 0 40px 6px rgba(243,221,158,.3)}
.intro-poster__frame h4{font-family:var(--serif);font-size:26px;color:#fff;font-weight:800;line-height:1.3}
.intro-poster__frame p{margin-top:10px;color:var(--gold-light);font-size:14px}
.intro-poster__cap{margin-top:14px;font-size:13px;color:var(--ink-mute);text-align:center}
.intro-poster__frame--img{aspect-ratio:auto;padding:0;background:none;display:block}
.intro-poster__frame--img img{width:100%;height:auto;display:block}

/* 업로드 이미지 공통 */
.media-img{display:block;width:100%;height:auto;border-radius:var(--radius)}
.heritage-card__img img,.heritage-view__img img{width:100%;height:100%;object-fit:cover;display:block}
.dl-card.is-disabled{opacity:.72;cursor:default}
.dl-card.is-disabled:hover{border-color:var(--line);box-shadow:none}
.heritage-image{
    height: 350px ;
    display: flex;    justify-content: space-between;
}
.heritage-image img{
   width: 49%;object-fit: cover;
   height: 100%;
    border-radius: 30px;
    overflow: hidden;
}
.heritage-image img:nth-child(2){
   width: 50%;
}
.heritage-map{
    margin-top: 20px;
}
/* 스크롤 등장 (JS 활성 시에만 숨김 처리) */
.has-js [data-reveal]{opacity:0;transform:translateY(22px);
  transition:opacity .7s var(--ease),transform .7s var(--ease)}
.has-js [data-reveal].is-in{opacity:1;transform:none}

.intro-text .lead{font-family:var(--serif);font-size:clamp(22px,2.6vw,30px);font-weight:800;
  color:var(--navy-800);line-height:1.7;
    margin-bottom: 10px;
}
.intro-text .lead .accent{color:var(--gold-deep)}
.intro-text .body{margin-top:0;color:#fff;font-size:16px;line-height:1.85}
.btn{display:inline-flex;align-items:center;gap:9px;padding:13px 26px;border-radius:999px;
  font-weight:700;font-size:16px;transition:.24s var(--ease)}
.btn--primary{background:var(--navy-700);color:#fff}
.btn--primary:hover{background:var(--gold-deep);transform:translateY(-2px)}
.btn--ghost{border:1.5px solid var(--navy-500);color:var(--navy-700)}
.btn--ghost:hover{background:var(--navy-700);color:#fff}
.intro-text .btn{margin-top:26px}

/* 행사 개요 미니 리스트 */
.intro-facts{margin:26px 0 4px;border-top:1px solid var(--line)}
.intro-facts dl{display:flex;gap:18px;margin:0;padding:13px 2px;border-bottom:1px solid var(--line)}
.intro-facts dt{flex:0 0 48px;font-weight:700;color:var(--navy-700);font-size:14px}
.intro-facts dd{margin:0;color:var(--ink-soft);font-size:16px;line-height:1.5}

/* 7夜 프로그램 탭 */
.prog{margin-top:6px}
.prog__tabs{display:flex;flex-wrap:wrap;gap:6px;background:var(--hanji);padding:8px;border-radius:12px;
  border:1px solid var(--line)}
.prog__tab{flex:1 1 auto;min-width:64px;padding:12px 6px;border-radius:8px;font-weight:700;
  font-size:16px;color:var(--ink-soft);text-align:center;transition:.2s}
.prog__tab .hanja{display:block;font-size:11px;color:var(--ink-mute);font-weight:500;margin-top:2px}
.prog__tab.is-active{background:linear-gradient(140deg,var(--navy-600),var(--navy-800));color:#fff}
.prog__tab.is-active .hanja{color:var(--gold-light)}
.prog__panel{display:none;margin-top:22px;animation:fade .4s var(--ease)}
.prog__panel.is-active{display:block}
@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.prog__visual{
    max-height: 335px;
    width: 50%;min-height: 300px;
    position:relative;
    border-radius:var(--radius);overflow:hidden;aspect-ratio:16/9;
  background:linear-gradient(150deg,var(--navy-600),var(--navy-900));display:grid;place-items:center}

.prog__visual img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prog__visual .ph-key{font-family:var(--serif);font-size:clamp(40px,7vw,72px);font-weight:800;
  color:rgba(244,236,216,.16)}
.prog__cat{position:absolute;top:16px;left:16px;display:flex;align-items:baseline;gap:8px;
  padding:8px 16px;border-radius:999px;background:rgba(11,31,56,.6);border:1px solid rgba(201,164,76,.4)}
.prog__cat b{font-size:16px;color:#fff;}
.prog__cat span{font-size:16px;color:#fff;}
.prog__catch{position:absolute;bottom:16px;right:16px;color:var(--on-navy);font-size:14px;
  background:rgba(11,31,56,.5);padding:6px 14px;border-radius:999px}
    
.prog__list{width: 49%;display:flex;margin-top:0;flex-direction:column;gap:12px;}
.prog__row{
    min-height: 335px;
    max-height: 335px;
    display:flex;gap:16px;align-items:flex-start;padding:18px 20px;background:var(--paper);
  border:0;border-radius:12px;transition:.2s}
.prog__row:hover{
    border-color:0;box-shadow:var(--shadow-sm);
    }
.prog__row .num{flex:0 0 auto;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
  background:var(--hanji);color:var(--gold-deep);font-weight:800;font-size:14px;font-family:var(--serif)}
.prog__row h5{font-size:16px;font-weight:700;color:var(--navy-800)}
.prog__row p{margin-top:5px;color:var(--ink-soft);font-size:16px;line-height:1.6}
.prog__row .meta{margin-top:8px;display:flex;flex-wrap:wrap;gap:8px}
.prog__row .meta span{font-size:16px;color:var(--ink-mute);background:var(--hanji-soft);
  padding:3px 10px;border-radius:6px;border:1px solid var(--line)}

/* 7夜 전체 너비 변형 (메인) */
.prog--fw .prog__tabs{max-width:740px;margin:0 auto}
.prog--fw .prog__panel{margin-top:30px}
.prog--fw .prog__panel.is-active{display:grid;grid-template-columns:1.04fr .96fr;gap:32px;align-items:start}
.prog--fw .prog__panel.is-single.is-active{align-items:center}
.prog--fw .prog__visual{aspect-ratio:4/3;position:sticky;top:116px}
.prog--fw .prog__list{margin-top:0}
.prog__all{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;margin-top:4px;
  font-weight:700;font-size:16px;color:var(--navy-700)}
.prog__all:hover{color:var(--gold-deep)}


/* 야경 */

.night-list{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.night-item{
    position:relative;
    overflow:hidden;
    border-radius:12px;
    aspect-ratio:1/1;
    display:block;
    color:#fff;
}

.night-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
    transition:.4s;
}
.mini{
    font-size: 16px;
    
}
.txt{
    position:absolute;
    width: 100%;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    text-align:center;
    z-index:2;
    transition:.35s;
}

.txt p{
    font-weight:700;
    margin-bottom:6px;
    font-size: 20px;
}
.lee{
    color: #e3c879;
}
.txt span{
    opacity:.85;
}



/* Hover */

.night-item:hover img{
    transform:scale(1.1);
}

.night-item:hover .overlay{
    background:rgba(0,0,0,.15);
}

.night-item:hover .txt{
    transform:translate(-50%,-55%);
}

.night-item:hover .txt p{
}


/* t서브메뉴 */
.sub-title{
    padding:100px 20px 80px;
    text-align:center;
}

.sub-title h2{
    margin-bottom:30px;
    font-size:52px;
    font-weight:700;
    line-height:1.2;
    color:#131313;
}

.sub-title h2 span{
    color:#131313 ; /* 네이비 */
}

.sub-title p{
    max-width:1100px;
    margin:0 auto;
    font-size:18px;
    line-height:1.9;
    word-break:keep-all;
}

.sub-title p strong{
    color:#131313;
    font-weight:600;
}

/* 안내책자 */

.info-section {
    padding: 28px 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.93)),
        url("/images/paper-bg.jpg") center / cover no-repeat;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
    margin: 0 auto;
}

.info-card {
    position: relative;
    min-height: 550px;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}

.info-card__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.info-card__overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            180deg,
            rgba(12, 20, 30, 0.25) 0%,
            rgba(8, 11, 14, 0.54) 48%,
            rgba(0, 0, 0, 0.94) 100%
        );
}

.info-card--heritage .info-card__overlay {
    background:
        linear-gradient(
            180deg,
            rgba(89, 97, 168, 0.72) 0%,
            rgba(113, 78, 151, 0.74) 45%,
            rgba(148, 42, 83, 0.88) 100%
        );
}

.info-card__content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 550px;
    padding: 58px 50px 68px;
}

.info-card__title-wrap {
    position: relative;
    width: fit-content;
}

.info-card__title {
    margin: 0 0 30px;
    text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.15);
}


.info-card__text {
    margin-bottom: 20px;
}

.info-card__text p {
    margin: 0;
    line-height: 1.8;
    letter-spacing: -0.04em;
}

.info-card__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    min-height: 38px;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: #fff;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.info-btn:hover {
    background: #fff;
    color: #111;
    transform: translateY(-2px);
}

.info-card:hover .info-card__bg {
    transform: scale(1.05);
}

/* 행사일정표 TABLE */
.table-wrap{
    overflow-x:auto;
}

.program-table{
    width:100%;
    border-collapse:collapse;
    table-layout:fixed;
    border:2px solid #444;
    font-size:15px;
    color:#222;
}

.program-table caption{
    padding:14px;
    font-size:22px;
    font-weight:700;
    caption-side:top;
}

.program-table th,
.program-table td{
    border:1px solid #666;
    padding:14px 12px;
    vertical-align:middle;
    word-break:keep-all;
    text-align: center;
}

.program-table thead th{
    background:#f5f5f5;
    font-weight:700;
    text-align:center;
}

.program-table tbody th{
    width:70px;
    text-align:center;
    font-weight:700;
}

.program-table td:nth-child(2){
    width:240px;
    font-weight:600;
}

.program-table td:nth-child(3){
    width:auto;
    line-height:1.6;
}

.program-table td:nth-child(4){
    width:140px;
    text-align:center;
    white-space:nowrap;
}

.program-table td:nth-child(5){
    width:180px;
    text-align:center;
}

/* 메인로고자리 */
.logo-list{
 display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
}

.logo-list a{
  width: 25%;
    height: 70px;
    border: 1px solid #e5e5e5;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}

.logo-list img{
    max-width:80%;
    max-height:42px;
}

/* 행사배치도+팝업 */


/* 목록 */
/* 행사배치도+팝업 */
/* 목록 */

/* ================================
   PROGRAM LIST
================================ */

.program-list-wrap{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px 22px;
}

.program-list{
    display:contents;
}

.program-list li{
    list-style:none;
}


/* 카드 */
.program-item{
    position:relative;
    display:block;
    width:100%;
    height:100%;
    min-height:200px;
    padding:15px;
    overflow:hidden;

    border:1px solid #e3e3e3;
    border-radius:18px;

    background:#fff;
    color:#222;

    text-align:left;
    cursor:pointer;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

.program-item .title{
    font-size: 18px;
}
.program-item:hover{
    border-color:#c8b178;
    box-shadow:0 10px 28px rgba(0,0,0,.07);
    transform:translateY(-3px);
}


.program-item .title_p{
    padding: 15px 0;min-height: 80px;
}
/* 오른쪽 장소 */
.program-item .place{
    display:flex;
    align-items:center;
    justify-content:center;

    padding:22px 17px;

    border-left:1px solid #eeeeee;

    background:#faf9f6;

    color:#365f82;

    font-size:13px;
    font-weight:600;
    line-height:1.55;
    text-align:center;

    word-break:keep-all;
}


/* 오른쪽 작은 화살표 느낌 */
.program-item::after{
    content:"→";

    position:absolute;
    right:15px;
    bottom:10px;

    color:#bbb;
    font-size:15px;

    opacity:0;
    transform:translateX(-5px);

    transition:.2s;
}

.program-item:hover::after{
    opacity:1;
    transform:translateX(0);
    display: none;
}





.program-section{
    margin-bottom: 60px;
}

.program-item:hover,
.program-item:focus-visible {
    background: rgba(255, 255, 255, 0.65);
}
.round{
        padding: 5px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #131313;
    background: #0e2a47;
    border: 1px solid #0e2a47;
    color: #fff;
}

/* 팝업 전체 */
.program-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    visibility: hidden;
    opacity: 0;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.program-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.modal-dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(2px);
}

/* 팝업 카드 */
.modal-card {
    position: relative;
    z-index: 1;
    width: min(320px, calc(100vw - 40px));
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    border-radius: 0 0 11px 11px;
    background: #0e2a47;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.35);
    color: #131313;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.25s ease;
}

.program-modal.is-open .modal-card {
    transform: translateY(0) scale(1);
}

.modal-image {
    width: 100%;
    height: 264px;
    padding: 7px;
    background: #0e2a47;
}

.modal-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content {
    padding: 23px 25px 27px;
    text-align: center;
}

.modal-content h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 800;
    color: #fff;
    word-break: keep-all;
}

.modal-info {
    margin-top: 20px;
}

.modal-info p {
    margin: 2px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
    font-weight: 600;
    word-break: keep-all;
}

.modal-category {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.modal-category span {
    min-width: 59px;
    padding: 7px 14px;
    background: #fff;
    font-size: 13px;
    line-height: 1;
    color: #131313;
}

.modal-category span + span {
    background: #c9a44c;
    color: #131313;
}

.modal-description {
    margin: 22px 0 0;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 600;
    word-break: keep-all;
}

/* 닫기 버튼 */
.modal-close {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 0;
    background: #131313;
    cursor: pointer;
}

.modal-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 2px;
    background: #fff;
}

.modal-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-close:hover {
    background: #efb800;
}

/* 태블릿 */


/* 오시는길 */
.location-wrap{
    max-width:1400px;
    margin:0 auto;
    padding:100px 20px;
}

.location-item{
    display:flex;
    gap:60px;
    align-items:flex-start;
}

.location-info{
    width:100%;
}

.location-info h3{
    margin-top:30px;
    font-weight:700;
    color:#222;
}

.location-info dl{
    display:flex;
    gap:20px;
    line-height:1.8;
}

.location-info dt{
    min-width:60px;
    font-weight:700;
    color:#111;
}

.location-info dd{
    color:#666;
}





/* =========================================================
   공지사항 (메인)
   ========================================================= */
.notice__head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:26px}
.notice__head h3{font-family:var(--serif);font-size:clamp(24px,3vw,34px);font-weight:800;color:var(--navy-800)}
.notice__more{font-size:14px;font-weight:600;color:var(--gold-deep)}
.notice__list{border-top:2px solid var(--navy-700)}
.notice__item{display:flex;align-items:center;gap:16px;padding:3px 6px;border-bottom:1px solid var(--line);
  transition:.2s}
.notice__item:hover{background:var(--hanji-soft);padding-left:14px;padding-right:14px}
.notice__item .tag{flex:0 0 auto;font-size:12px;font-weight:700;color:#fff;background:var(--dancheong-red);
  padding:3px 9px;border-radius:6px}
.notice__item .tag--plain{background:var(--navy-500)}
.notice__item .t{flex:1 1 auto;font-size:16px;color:var(--ink);font-weight:500;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap}
.notice__item:hover .t{color:var(--navy-700)}
.notice__item .d{flex:0 0 auto;font-size:14px;color:var(--ink-mute)}


/* 공지사항2*/

.footer-info {
  padding: 60px 30px;
  background: #f3f5f6;
}

.footer-info__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr 1.15fr;
  gap: 48px;
  margin: 0 auto;
}

.footer-info__intro {
  padding-top: 36px;
}

h2.ge {
  position: relative;
  display: inline;
  margin: 0;
  font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    color: #222;
  background:
    linear-gradient(
      transparent 72%,
      #b6b4ff 72%,
      #b6b4ff 91%,
      transparent 91%
    );
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.footer-info__intro p {
  margin: 26px 0 0;
  letter-spacing: -0.04em;
}

.footer-info__title {
  position: relative;
  display: inline-block;
  margin: 0 0 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.notice-main {
  display: block;
  margin-bottom: 26px;
  font-weight: 800;
  text-decoration: none;
}

.notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-list li {
  border-bottom: 1px solid #d6d6d6;
}

.notice-list a {
  display: block;
  padding: 16px 0;
  text-decoration: none;
  transition: color 0.25s ease;
}

.notice-list a:hover {
  color: #111;
}

.customer-number {
  margin: 0 0 16px;
}

.customer-number > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: baseline;
  gap: 2px;
}

.customer-number dt {
  font-weight: 800;
  text-decoration: underline;
}

.customer-number dd {
  margin: 0;
  font-weight: 900;
}

.customer-date {
  margin: 14px 0 22px;
  font-weight: 500;
}

.customer-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.customer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.customer-btn--black {
  background: #000;
  color: #fff;
}

.customer-btn--gray {
  background: #d1d1d1;
  color: #111;
}

.customer-btn:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}

/* =========================================================
   푸터
   ========================================================= */
.footer{background:var(--navy-900);color:rgba(244,236,216,.7);padding:42px 0 50px;margin-top:10px}
.footer__inner{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.footer__links{display:flex;gap:24px;padding-bottom:22px;margin-bottom:24px;
  border-bottom:1px solid rgba(255,255,255,.1)}
.footer__links a{font-size:16px}
.footer__links a:hover{color:var(--gold-light)}
.footer__links .is-strong{color:#fff;font-weight:700}
.footer__org{font-size:16px;color:#fff}
.footer__divider{color:rgba(255,255,255,.3);margin:0 8px}
.footer__credit{margin-top:14px;display:flex;flex-wrap:wrap;gap:22px;font-size:14px}
.footer__credit b{color:var(--gold-light);font-weight:600;margin-left:4px}
.footer__copy{margin-top:20px;font-size:14px;color:rgba(244,236,216,.45)}

/* 맨 위로 */
.to-top{position:fixed;right:26px;bottom:26px;width:50px;height:50px;border-radius:50%;z-index:90;
  background:var(--navy-700);color:var(--gold-light);font-size:20px;box-shadow:var(--shadow-md);
  opacity:0;visibility:hidden;transform:translateY(12px);transition:.3s var(--ease)}
.to-top.is-show{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:var(--gold-deep);color:#fff}

/* 404 오류 페이지 */
.error-page{position:relative;overflow:hidden;text-align:center;color:var(--on-navy);
  background:radial-gradient(120% 120% at 50% 0,#1d3f66,var(--navy-900));padding:120px 24px}
.error-page__sky{position:absolute;inset:0;z-index:0}
.error-page__inner{position:relative;z-index:2;max-width:560px;margin:0 auto}
.error-page__moon{font-size:46px;color:var(--gold-light);margin-bottom:4px}
.error-page__code{font-family:var(--serif);font-size:clamp(64px,12vw,118px);font-weight:800;color:#fff;line-height:1}
.error-page__title{font-family:var(--serif);font-size:clamp(22px,3vw,30px);font-weight:800;color:var(--gold-light);margin-top:8px}
.error-page__desc{margin-top:16px;color:rgba(244,236,216,.78);font-size:16px}
.error-page__btns{margin-top:32px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.error-page .btn--primary{background:var(--gold);color:var(--navy-900)}
.error-page .btn--primary:hover{background:var(--gold-light)}
.btn--ghost-light{border-color:rgba(244,236,216,.5);color:var(--on-navy)}
.btn--ghost-light:hover{background:rgba(244,236,216,.12);color:#fff}

/* =========================================================
   서브페이지 공통 (배너/서브바/본문) — 이후 서브 작업에서 사용
   ========================================================= */

   #content{
    position: relative;
    top: -88px;
   }
.page-banner{
    position: relative;
    color: var(--on-navy);
    text-align: center;
    padding: 70px 24px 56px;
    background: radial-gradient(120% 120% at 50% 0, #1d3f66, var(--navy-900));
    overflow: hidden;
    padding-top: 180px;

}
.page-banner h2{position:relative;z-index:2;font-family:var(--sans);font-size:clamp(28px,4vw,44px);
  font-weight:800;color:#fff}
.page-banner .crumb{position:relative;z-index:2;margin-top:14px;font-size:14px;color:rgba(244,236,216,.75)}
.page-banner .crumb b{color:var(--gold-light)}
.page-banner .crumb span{color:var(--gold);margin:0 6px}
.page-banner__sky{position:absolute;inset:0;z-index:0}
.page-banner__stars{position:absolute;inset:0;background-image:
  radial-gradient(1.5px 1.5px at 16% 30%,#fff,transparent),
  radial-gradient(1.3px 1.3px at 38% 18%,#fdf3cf,transparent),
  radial-gradient(1.5px 1.5px at 64% 26%,#fff,transparent),
  radial-gradient(1.2px 1.2px at 82% 16%,#fff,transparent),
  radial-gradient(1.4px 1.4px at 50% 40%,#fff,transparent);
  opacity:.85}



/* 서브바(소분류) */
.subnav{background:var(--navy-800);position:relative;top:0px;z-index:80;box-shadow:var(--shadow-sm)}
.subnav__inner{max-width:var(--maxw);margin:0 auto;padding:0 24px;display:flex;overflow-x:auto}
.subnav ul{display:flex;gap:2px;margin:0 auto}
.subnav a{display:block;padding:17px 24px;font-size:15.5px;font-weight:600;color:rgba(244,236,216,.72);
  white-space:nowrap;border-bottom:3px solid transparent;transition:.2s}
.subnav a:hover{color:#fff}
.subnav a.is-active{color:#fff;border-bottom-color:var(--gold)}

/* 본문 래퍼 */
.page{padding:70px 0 90px}
.page .inner{max-width:1400px}
.content-head{margin-bottom:34px}
.content-head h3{font-family:var(--serif);font-size:clamp(24px,3vw,34px);font-weight:800;color:var(--navy-800)}
.content-head h3 .small{display:block;font-family:var(--sans);font-size:14px;font-weight:700;
  letter-spacing:.12em;color:var(--gold-deep);margin-bottom:8px;text-transform:uppercase}
.content-head .desc{margin-top:14px;color:var(--ink-soft);font-size:16px;line-height:1.8}
.divider{height:1px;background:var(--line);margin:46px 0}
.lead-quote{font-family:var(--serif);font-size:clamp(22px,3vw,30px);font-weight:800;color:var(--navy-800);
  line-height:1.4;text-align:center;padding:10px 0 4px}
.lead-quote .accent{color:var(--gold-deep)}

/* 정보 테이블(행사 개요) */
.info-table{width:100%;border-top:2px solid var(--navy-700);border-collapse:collapse}
.info-table th,.info-table td{
    padding:16px 18px
    ;border-bottom:1px solid var(--line);text-align:left;
  font-size:20px;    vertical-align: middle;

}
.location-info .info-table td{
    width: calc(100% - 140px);
}
.location-info .info-table tbody{
    display: flex;
    justify-content: center;
}
.location-info .info-table tr{
        width: 50%;
        display: flex;
}
.info-table th{width:140px;background:var(--hanji);color:var(--navy-800);font-weight:700}
.info-table td{
    color: #131313;word-break: keep-all;
    overflow-wrap: break-word;
}

.per01{
    display: flex;
}
.per01 .per_left{
    width: 30%;
}

.per01 .per_left{
    width: 70%;
    padding:20px ;
}
.per01 .dl-card{
    flex: 1 1;padding: 10px;
}


.heritage-image{
    display: flex;    justify-content: space-between;
}
.heritage-image img{
   width: 49%;object-fit: cover;
    border-radius: 30px;
    overflow: hidden;
}
.heritage-image img:nth-child(2){
   width: 50%;

}
/* 다운로드/액션 박스 */
.dl-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:8px}
.dl-card{flex:1 1 240px;display:flex;align-items:center;gap:16px;padding:20px 22px;border:1px solid var(--line);
  border-radius:12px;background:var(--paper);transition:.2s}
.dl-card:hover{border-color:var(--gold);box-shadow:var(--shadow-sm)}
.dl-card .ico{width:46px;height:46px;border-radius:10px;display:grid;place-items:center;flex:0 0 auto;
  background:linear-gradient(140deg,var(--navy-600),var(--navy-800));color:var(--gold-light);font-size:20px}
.dl-card .t{font-weight:700;color:var(--navy-800);font-size:16px}
.dl-card .s{font-size:13px;color:var(--ink-mute);margin-top:2px}

/* 플레이스홀더(이미지/지도 미정) */
.placeholder{border:1.5px dashed var(--line);border-radius:var(--radius);background:
  repeating-linear-gradient(45deg,var(--hanji-soft),var(--hanji-soft) 14px,#fff 14px,#fff 28px);
  display:grid;place-items:center;text-align:center;padding:60px 24px;color:var(--ink-mute)}
.placeholder .pi{font-size:38px;margin-bottom:12px;opacity:.5}
.placeholder b{display:block;color:var(--navy-700);font-size:17px;margin-bottom:6px;font-family:var(--serif)}
.placeholder.ratio-wide{aspect-ratio:16/7}
.placeholder.ratio-map{aspect-ratio:4/3}

.notice-tip{display:none;gap:12px;align-items:flex-start;padding:16px 20px;border-radius:12px;
  background:rgba(201,164,76,.10);border:1px solid rgba(201,164,76,.4);color:var(--ink-soft);font-size:14.5px}
.notice-tip .pin{color:var(--gold-deep);font-weight:800}
.prog-detail-list{width: 100%;
}
/* 전체프로그램 */
/* 세부지도추기 */
.heritage-card__map{
    margin:20px 0;
    border-radius:10px;
    overflow:hidden;
}

.heritage-card__map iframe{
    width:100%;
    height:280px;
    border:0;
    display:block;
}
.program-section {
 
}

.program-section .inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.program-head {
    margin-bottom: 50px;
    text-align: center;
}

.program-eyebrow {
    margin: 0 0 10px;
    color: #e3c879 ;
    font-size: 16px;
    font-weight: 800;
}

.program-head h2 {
    margin: 0;
    color: #121212;
    font-size: 48px;
    font-weight: 800;
}

.program-head > p:last-child {
    margin: 16px 0 0;
    color: #121212;
    font-size: 17px;
    line-height: 1.7;
}

/* 카테고리 */

.program-category {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.category-btn {
    min-width: 88px;
    height: 48px;
    padding: 0 24px;
    border: 1px solid #d8d3cb;
    border-radius: 999px;
    background: #fff;
    color: #121212;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition:
        color 0.25s,
        border-color 0.25s,
        background-color 0.25s,
        transform 0.25s;
}

.category-btn:hover {
    color: #e3c879;
    border-color: #e3c879;
    transform: translateY(-2px);
}

.category-btn.active {
    color: #fff;
    border-color: #e3c879;
    background: #e3c879;
}

/* 카드 목록 */

.program-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
}

.program-card {
    min-width: 0;
    border: 1px solid #e4e0d9;
    background: #fff;
    box-shadow: 0 10px 26px rgba(34, 28, 20, 0.07);border-radius: var(--radius);
    transition:
        opacity 0.3s,
        transform 0.3s,
        box-shadow 0.3s;
        overflow: hidden;
}

.program-card.is-hidden {
    display: none;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 38px rgba(34, 28, 20, 0.14);
}

.program-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.program-thumb {
    position: relative;
    height: 245px;
    overflow: hidden;
    background: #ddd;
}

.program-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;object-position: 50% 0%;
    transition: transform 0.5s ease;
}

.program-card:hover .program-thumb img {
    transform: scale(1.05);
}

.program-state {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(23, 21, 18, 0.82);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(5px);
}
.program-state.two{
    bottom: 53px;
}
.program-state.thre{
    bottom: 90px;
}
.program-content {
    position: relative;
    min-height: 310px;
    padding: 32px 26px 28px;
}

.program-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    min-width: 54px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #12345a;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    transform: translateX(-50%);
}

.program-content h3 {
    margin: 4px 0 24px;
    color: #191919;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    word-break: keep-all;
}

.program-info {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.program-info th,
.program-info td {
    padding: 5px 0;
    color: #121212;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    vertical-align: top;
    word-break: keep-all;
}

.program-info th {
    width: 48px;
    color: #131313;
    font-weight: 800;
}

.program-desc {
    margin: 22px 0 0;
    padding-top: 20px;
    border-top: 1px solid #ece8e1;
    color: #131313;
    font-size: 16px;
    line-height: 1.75;
    word-break: keep-all;
}

.program-empty {
    padding: 80px 20px;
    color: #131313;
    font-size: 16px;
    text-align: center;
}


.bo_logo{
    position: absolute;
    left: 50%;
    background-color: #0d0d0d;
    bottom: -101px;
    transform: translate(-50%, 0%);
    width: 100%;
}
.bo_logo .logo-list{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: unset;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    background-color: #0d0d0d;
}
.bo_logo .logo-list a{
    background-color: transparent;
    border: 0;
}



/* 세부 프로그램 */

.cisu_warp{
    display: flex;   
    margin-bottom: 40px;
     justify-content: space-between;
}
/* 프로그램 카드 그리드 */
.prog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.prog-card{border-radius:var(--radius);overflow:hidden;background:var(--paper);
    border:0;
  box-shadow:var(--shadow-sm);transition:.28s var(--ease)}
.prog-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);border-color:var(--gold)}
.prog-card__thumb{position:relative;aspect-ratio:4/3;overflow:hidden;
  background:linear-gradient(150deg,var(--navy-600),var(--navy-900));display:grid;place-items:center}
.prog-card__thumb .k{font-family:var(--serif);font-size:46px;font-weight:800;color:rgba(244,236,216,.18);
  transition:.35s var(--ease)}
.prog-card:hover .prog-card__thumb .k{transform:scale(1.12);color:rgba(227,200,121,.32)}
.prog-card__cat{position:absolute;top:12px;left:12px;padding:5px 12px;border-radius:999px;font-size:12px;
  font-weight:700;color:#fff;background:rgba(11,31,56,.6);border:1px solid rgba(201,164,76,.4)}
.prog-card__body{padding:18px 20px 22px}
.prog-card__body h4{font-size:16px;font-weight:700;color:var(--navy-800)}
.prog-card__body p{
    margin-top:8px;font-size:16px;color:var(--ink-soft);
    line-height:1.7;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.prog-card__meta{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px}
.prog-card__meta span{font-size:16px;color:var(--ink-mute);background:var(--hanji-soft);padding:3px 9px;
  border-radius:6px;border:1px solid var(--line)}
.badge-reserve{
    display:inline-block;margin-top:12px;
    font-size:16px;font-weight:700;
    color:#fff;
  background:var(--dancheong-red);padding:4px 10px;border-radius:6px}

/* 국가유산 카드 */
.heritage-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.heritage-card{display:flex;flex-direction:column;border-radius:var(--radius);overflow:hidden;
  background:#fff;border:0;box-shadow:var(--shadow-sm);transition:.26s var(--ease)}
.heritage-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);border-color:var(--gold)}
.heritage-card__img{aspect-ratio:16/10;background:linear-gradient(150deg,var(--navy-600),var(--navy-900));
  display:grid;place-items:center;color:rgba(244,236,216,.3);font-family:var(--serif);font-size:30px}
.heritage-card__body{padding:22px 24px 24px;flex:1;display:flex;flex-direction:column}
.heritage-card__grade{align-self:flex-start;font-size:16px;font-weight:700;color:var(--gold-deep);
  background:rgba(201,164,76,.14);border:1px solid rgba(201,164,76,.4);padding:4px 11px;border-radius:999px}
.heritage-card__body h4{margin-top:12px;font-family:var(--sans);font-size:16px;font-weight:800;color:var(--navy-800)}
.heritage-card__addr{margin-top:8px;font-size:16px;color:var(--ink-mute)}
.heritage-card__sum{margin-top:12px;font-size:16px;color:var(--ink-soft);line-height:1.65;flex:1}
.heritage-card__more{margin-top:16px;align-self:flex-start;font-size:14px;font-weight:700;color:var(--navy-700)}
.heritage-card__more:hover{color:var(--gold-deep)}

/* 국가유산 상세 */
.heritage-view__top{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:start}
.heritage-view__img{
    aspect-ratio:4/3;
    border-radius:var(--radius);
    background:linear-gradient(150deg,var(--navy-600),
    var(--navy-900));
  display:grid;place-items:center;
  color:rgba(244,236,216,.3);
  font-family:var(--serif);font-size:32px;
  overflow: hidden;
    font-size: 32px;
    border-radius: 14px;
}
.heritage-view__meta h3{font-family:var(--serif);font-size:clamp(26px,3.4vw,36px);font-weight:800;color:var(--navy-800)}
.heritage-view__desc{
padding: 20px 0;
}
.heritage-view__desc p{
    margin:16px 0;color:#131313;
    font-size:20px;line-height:1.7;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 게시판 */
.board-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;flex-wrap:wrap}
.board-count{font-size:14px;color:var(--ink-soft)}
.board-count b{color:var(--navy-700)}
.board-search{display:flex;gap:8px}
.board-search input{border:1px solid var(--line);border-radius:8px;padding:10px 14px;font-size:14px;min-width:200px;
  font-family:inherit;background:var(--paper)}
.board-search button{padding:10px 18px;border-radius:8px;background:var(--navy-700);color:#fff;font-weight:700;font-size:14px}
.board{width:100%;border-top:2px solid var(--navy-700);border-collapse:collapse}
.board th{background:var(--hanji);font-size:14px;color:var(--navy-800);font-weight:700;padding:14px 10px;border-bottom:1px solid var(--line)}
.board td{padding:16px 10px;border-bottom:1px solid var(--line);font-size:15px;color:var(--ink-soft);text-align:center}
.board td.subject{text-align:left}
.board td.subject a{color:var(--ink);font-weight:500}
.board td.subject a:hover{color:var(--navy-700)}
.board tr.is-top td{background:var(--hanji-soft)}
.board .pin-tag{display:inline-block;font-size:11px;font-weight:700;color:#fff;background:var(--dancheong-red);
  padding:2px 8px;border-radius:5px;margin-right:8px;vertical-align:middle}
.board-empty{padding:70px 0;text-align:center;color:var(--ink-mute);border-bottom:1px solid var(--line)}
.pager{display:flex;justify-content:center;gap:6px;margin-top:34px}
.pager a,.pager span{min-width:38px;height:38px;display:grid;place-items:center;border-radius:8px;
  border:1px solid var(--line);font-size:14px;color:var(--ink-soft);background:var(--paper)}
.pager .is-current{background:var(--navy-700);color:#fff;border-color:var(--navy-700);font-weight:700}

/* 갤러리 */
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.gallery-item{border-radius:12px;overflow:hidden;border:1px solid var(--line);background:var(--paper);transition:.24s}
.gallery-item:hover{box-shadow:var(--shadow-md);transform:translateY(-4px)}
.gallery-item__thumb{aspect-ratio:4/3;background:linear-gradient(150deg,var(--navy-600),var(--navy-900));
  display:grid;place-items:center;color:rgba(244,236,216,.28);font-size:34px;position:relative}
.gallery-item__play{position:absolute;width:54px;height:54px;border-radius:50%;background:rgba(11,31,56,.6);
  border:2px solid var(--gold-light);display:grid;place-items:center;color:#fff;font-size:18px}
.gallery-item__cap{padding:14px 16px}
.gallery-item__cap b{display:block;font-size:15px;color:var(--navy-800);font-weight:700;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gallery-item__cap span{font-size:13px;color:var(--ink-mute)}

/* FAQ 아코디언 */
.faq{border-top:2px solid var(--navy-700)}
.faq__item{border-bottom:1px solid var(--line)}
.faq__q{display:flex;align-items:center;gap:16px;width:100%;text-align:left;padding:22px 8px;font-size:17px;
  font-weight:600;color:var(--ink)}
.faq__q .qmark{flex:0 0 auto;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
  background:var(--navy-700);color:var(--gold-light);font-family:var(--serif);font-weight:800}
.faq__q .arrow{margin-left:auto;color:var(--gold-deep);font-size:20px;transition:transform .3s}
.faq__item.is-open .faq__q .arrow{transform:rotate(180deg)}
.faq__item.is-open .faq__q{color:var(--navy-700)}
.faq__a{max-height:0;overflow:hidden;transition:max-height .35s var(--ease)}
.faq__a-inner{padding:0 8px 24px 54px;color:var(--ink-soft);font-size:15px;line-height:1.8}
.faq__item.is-open .faq__a{max-height:400px}

/* 사전예약 안내 */
.reserve-hero{text-align:center;padding:50px 24px;border-radius:var(--radius);
  background:linear-gradient(150deg,var(--navy-700),var(--navy-900));color:var(--on-navy)}
.reserve-hero .ico{font-size:44px;margin-bottom:14px}
.reserve-hero h3{font-family:var(--serif);font-size:26px;color:#fff;font-weight:800}
.reserve-hero p{margin-top:12px;color:rgba(244,236,216,.8);font-size:15px}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:30px}
.step{text-align:center;padding:26px 16px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.step .n{width:40px;height:40px;border-radius:50%;margin:0 auto 12px;display:grid;place-items:center;
  background:var(--hanji);color:var(--gold-deep);font-family:var(--serif);font-weight:800}
.step b{display:block;color:var(--navy-800);font-size:16px}
.step span{display:block;margin-top:6px;font-size:13px;color:var(--ink-mute)}

/* 오시는 길 */
.location-map{margin-bottom:30px}
.place-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.place-card{padding:22px 24px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.place-card.is-main{border-color:var(--gold);background:rgba(201,164,76,.06)}
.place-card .tag{font-size:12px;font-weight:700;color:var(--gold-deep)}
.place-card h4{margin-top:6px;font-size:18px;font-weight:700;color:var(--navy-800)}
.place-card p{margin-top:8px;font-size:14.5px;color:var(--ink-soft)}
.transport{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}
.transport-card{padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--hanji-soft)}
.transport-card .ico{font-size:26px;margin-bottom:10px}
.transport-card b{display:block;color:var(--navy-800);font-size:16px;margin-bottom:8px}
.transport-card p{font-size:14px;color:var(--ink-soft);line-height:1.7}



/* =========================================================
   반응형
   ========================================================= */

   /* 반응형 */

@media (max-width: 1024px) {
    .program-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .program-head h2 {
        font-size: 40px;
    }
     .location-item{
        flex-direction:column;
        gap:30px;
    }

    .location-info{
        width:100%;
    }
}


@media (max-width: 1100px) {
    .program-list-wrap {
        /* grid-template-columns: 1fr; */
    }

    .program-list {
        min-height: auto;
    }
      .gnb__link{padding:30px 12px;font-size:15px}
  .quick__label{font-size:17px}
}

@media(max-width:1000px){

    .program-list-wrap{
        grid-template-columns:1fr;
    }

}

@media (max-width:980px){
    .intro-text{
        text-align: center;
    }
    .tes img{
    width: 360px;
}
    .header:hover::before{
        display: none;
    }
    .inner{
        width: 95%;
        padding: 0 !important;
    }

    .info-grid{
    display: flex;
        flex-direction: column;
    }
    .gnb{display:none}
    .hamburger{display:flex}
    .header__inner{height:72px}
    .logo__main{font-size:26px}
    .intro-grid{grid-template-columns:1fr;gap:34px}
    .intro-poster{max-width:360px;margin:0 auto}
    .section{padding:64px 0}
    .subnav{top:0px}
    /* .subnav{top:72px} */
    .prog--fw .prog__panel.is-active{grid-template-columns:1fr;gap:20px}
    .prog--fw .prog__visual{position:static}
    .prog-grid{grid-template-columns:repeat(2,1fr);gap:16px}
    .heritage-view__top{grid-template-columns:1fr;gap:24px}
    .steps{grid-template-columns:repeat(2,1fr)}
    .transport{grid-template-columns:1fr}
    .night-list{
        grid-template-columns: repeat(2, 1fr);gap: 15px;
        }
    .txt span{
        font-size: 14px;
    }
    .quick__grid{grid-template-columns:1fr 1fr 1fr}
    .quick__card{
         flex-direction: column;
        justify-content: flex-start;
        gap: 0px;
        display: flex;
        padding: 8px;    width: 90px;
        height: 90px;
    }
    .quick__label{
        font-size: 13px;
    }
    /* 야행소개 */
    .per01{
        flex-direction: column;
    }
    .per01 .per_left,
    .per01 .per_right{
        width: 100%;
    }

    h2.ge{
        font-size: 32px;
    }
    /* 프로그램 */
    .cisu_warp{
            flex-wrap: wrap;
    }
    .prog__visual,
    .prog__list{
        width: 100%;
    }

    /* 메인 공지사항 */
    .footer-info__inner{
            grid-template-columns: 1fr;
    }

    .heritage-image{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    height: auto;
    }
    .heritage-image img,.heritage-image img:nth-child(2){
        width: 100%;
    }
    .heritage-image img:nth-child(2){
        margin-top: 20px;
    }
}

@media(max-width:768px){

    .program-table{
        min-width:900px;
        font-size:14px;
    }

}
@media(max-width:640px){

    .program-list-wrap{
        gap:12px;
    }

    .program-item{
        min-height:auto;
        border-radius:14px;
    }

    .program-item .tt_warp{
        display:block;
        min-height:auto;
    }

    .program-item .ttt{
        padding:20px 18px 16px;
    }

    .program-item .ttt > div{
        gap:8px;
        padding-bottom:11px;
        margin-bottom:11px;
    }

    .program-item .round{
        min-width:40px;
        height:24px;
        padding:0 9px;
        font-size:11px;
    }

    .program-item .title{
        font-size:15px;
    }

    .program-item .title_p{
        font-size:13px;
        line-height:1.65;
    }

    .program-item .place{
        justify-content:flex-start;

        padding:12px 18px;

        border-top:1px solid #eee;
        border-left:0;

        font-size:12px;
        text-align:left;
    }

       .program-section {
        padding: 70px 16px 100px;
    }

    .program-head {
        margin-bottom: 35px;
    }

    .program-head h2 {
        font-size: 32px;
    }

    .program-head > p:last-child {
        font-size: 15px;
    }

    .program-category {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 8px;
        margin-right: -16px;
        margin-bottom: 35px;
        padding-right: 16px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .program-category::-webkit-scrollbar {
        display: none;
    }

    .category-btn {
        flex: 0 0 auto;
        min-width: 72px;
        height: 42px;
        padding: 0 18px;
        font-size: 14px;
    }

    .program-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .program-thumb {
        height: 220px;
    }

    .program-content {
        min-height: auto;
        padding: 30px 22px 26px;
    }

    .program-content h3 {
        font-size: 20px;
    }

}


/* 모바일 */
@media (max-width: 600px) {
    .program-section {
        padding: 0;
    }

    .program-list {
        padding: 10px;
    }

    .program-item {
        grid-template-columns: 30px minmax(0, 1fr);
        min-height: 52px;
        padding: 8px 5px;
    }

    .program-item .place {
        grid-column: 2;
        margin-top: 3px;
        padding: 0 10px;
        text-align: left;
        color: #2b5a8c;
    }

    .program-modal {
        align-items: flex-start;
        padding: 20px 15px;
        overflow-y: auto;
    }

    .modal-card {
        width: 100%;
        max-width: 360px;
        max-height: none;
    }

    .modal-image {
        height: 250px;
    }
}



@media (max-width:560px){
  .header__inner{padding:0 18px;gap:12px}
  .sns--youtube,.sns--kakao{display:none}
  .hero__inner{padding:60px 20px 80px}
  .hero__meta{flex-direction:column;width:100%}
  .hero__chip{justify-content:center}


  .quick__ico{width:48px;height:48px}
  .quick__ico svg{width:24px;height:24px}
  .notice__item .d{display:none}
  .footer__credit{flex-direction:column;gap:8px}
  .page{padding:44px 0 64px}
  .prog-grid{grid-template-columns:1fr}
  .heritage-grid{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:1fr 1fr;gap:14px}
  .place-list{grid-template-columns:1fr}
  .info-table th{width:96px;padding:13px 12px}
  .info-table td{padding:13px 12px}
  .board th:nth-child(1),.board td:nth-child(1),
  .board th:nth-child(4),.board td:nth-child(4){display:none}
  .board-search input{min-width:0;flex:1}
  .subnav a{padding:15px 16px;font-size:14px}

}
@media (prefers-reduced-motion:reduce){
  *{animation:none !important;transition:none !important;scroll-behavior:auto !important}
}



