@charset "utf-8";

/* =========================================================
   세계줄넘기총연맹 — 2026 디자인 시스템 (전역 레이어)
   시안(/시안/index.html)의 비주얼 월드를 그누보드 테마로 옮긴 것.

   이 파일은 default.css / mobile.css 뒤에 실린다.
   기존 게시판 스킨을 깨지 않으려고 전역 리셋은 쓰지 않는다.
   새로 그린 영역(.site-header / .mobile-nav / .site-footer /
   .to-top / .wsrf-main / .wsrf-sub)에만 리셋을 건다.
   ========================================================= */

/* ── 토큰 ───────────────────────────────────────────────── */
:root {
  /* 브랜드 (기존 WSRF 값 그대로) */
  --navy:        #003F8C;
  --navy-deep:   #002C63;
  --navy-dark:   #001C42;
  --green:       #51B236;
  --green-deep:  #1F8403;
  --teal:        #008C7A;
  /* 흰 글씨를 얹는 면은 AA(4.5:1)를 넘기려고 한 단계 더 어둡게 잡은 값 */
  --teal-deep:   #00786B;

  /* 강조 */
  --lime:        #D7F26A;
  --lime-soft:   #EAF9AE;

  /* 중립 */
  --paper:       #FFFFFF;
  --tint:        #F2F6FB;
  --tint-2:      #E8EFF7;
  --line:        #DCE4EE;
  --line-strong: #C3D0E0;
  --ink:         #16202E;
  --ink-2:       #4A5A6E;
  --ink-3:       #67758A;

  /* 네이비 면 위 텍스트 */
  --on-navy:     #FFFFFF;
  --on-navy-2:   #B7CCE8;

  --focus:       #0A5AD4;

  /* 라운드 · 그림자 */
  --r-sm: 3px;
  --r:    4px;
  --r-lg: 8px;
  --shadow-1: 0 1px 2px rgba(20, 30, 45, .07), 0 4px 12px rgba(20, 30, 45, .07);
  --shadow-2: 0 2px 4px rgba(20, 30, 45, .10), 0 10px 24px rgba(20, 30, 45, .13);
  --shadow-3: 0 4px 10px rgba(0, 0, 0, .18), 0 22px 48px rgba(0, 0, 0, .26);

  /* 모션 */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.32, .72, 0, 1);

  --shell: 1280px;
  --gutter: 24px;

  --font-sans: "SUIT Variable", "Pretendard Variable", Pretendard,
               -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif;
}

/* ── 전역에서 손대는 최소한 ─────────────────────────────── */
/* default.css 가 반응형을 막는 두 가지를 걸어 둔다. 여기서 푼다.
     #wrapper, #ft            : min-width:1200px
     #hd_pop, #ctt, #bo_list… : width:1200px !important
   같은 특이도의 !important 는 뒤에 오는 쪽이 이긴다. 이 파일이 뒤에 실린다. */
#wrapper, #ft, #hd, #container_wr { min-width: 0 !important; }
#hd_pop, #hd_wrapper, #ft_wr, #ctt, .ctt_admin,
#bo_list, #bo_v, #bo_w, #bo_gall {
  width: auto !important;
  max-width: 100% !important;
  margin-left: auto !important; margin-right: auto !important;
}
.inner { width: auto !important; max-width: 1200px; }

html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-strong) var(--tint); }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  word-break: keep-all;
  /* anywhere 는 keep-all 을 무시하고 "있도/록" 처럼 어절 한가운데를 자른다.
     break-word 는 그 어절 혼자 한 줄을 넘칠 때만 자른다. */
  overflow-wrap: break-word;
  caret-color: var(--green);
}

/* [2026-09-21] 그누보드 기본 css(default.css)가 h1~h6 에 맑은 고딕을 박아 둔다.
   그래서 대회 카드 제목·파란 띠 제목만 본문과 다른 글꼴로 나왔다. 본문 글꼴을 물려받게 한다.
   (선택자를 body 로 한 단계 묶어 기본 css 의 h1~h6 보다 세게 만든다) */
body h1, body h2, body h3, body h4, body h5, body h6 { font-family: inherit; }

/* 게시판 본문에 들어간 큰 이미지가 화면을 밀지 않게 한다 */
img { max-width: 100%; height: auto; }

/* 브라우저가 그리는 면도 디자인에 포함한다 */
::selection { background: var(--lime); color: var(--navy-dark); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--tint); }
::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border: 3px solid var(--tint);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: var(--navy); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

/* ── 새로 그린 영역 안에서만 도는 리셋 ──────────────────── */
.site-header, .mobile-nav, .site-footer, .to-top, .wsrf-main, .wsrf-sub {
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -.015em;
}
.site-header *, .mobile-nav *, .site-footer *, .to-top *, .wsrf-main *, .wsrf-sub *,
.site-header *::before, .site-footer *::before, .wsrf-main *::before, .wsrf-sub *::before,
.site-header *::after, .site-footer *::after, .wsrf-main *::after, .wsrf-sub *::after {
  box-sizing: border-box;
}
.site-header a, .mobile-nav a, .site-footer a, .to-top a,
.wsrf-main a, .wsrf-sub .page-hero a, .wsrf-sub .lnb a, .wsrf-sub .crumb a {
  color: inherit; text-decoration: none;
}
.site-header h1, .site-header h2, .site-header p,
.site-footer p, .site-footer dl, .site-footer dd,
.wsrf-main h1, .wsrf-main h2, .wsrf-main h3, .wsrf-main p, .wsrf-main figure, .wsrf-main dl, .wsrf-main dd,
.wsrf-sub h1, .wsrf-sub h2, .wsrf-sub p { margin: 0; }
.site-header ul, .mobile-nav ul, .site-footer ul, .wsrf-main ul, .wsrf-main ol, .wsrf-sub .lnb ul {
  margin: 0; padding: 0; list-style: none;
}
.site-header img, .site-footer img, .wsrf-main img { display: block; }
.site-header address, .site-footer address { font-style: normal; }
.site-header button, .mobile-nav button, .site-footer button, .to-top,
.wsrf-main button, .wsrf-sub button {
  overflow: visible; font: inherit; color: inherit;
  background: none; border: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* 아이콘 — 직접 작도한 1.6 스트로크. class 로 좁혀 다른 svg 를 건드리지 않는다 */
svg.ic {
  width: 100%; height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
svg.ic .fill { fill: currentColor; stroke: none; }
.wsrf-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ── 공용 유틸 ──────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  transform: translateY(-160%);
  padding: 12px 20px;
  background: var(--navy); color: #fff; font-weight: 700;
  border-radius: var(--r);
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-left: auto; margin-right: auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
}

/* default.css 의 `a.btn,.btn{height:35px;border:0}` 이 (0,1,1) 이라 클래스
   하나짜리 규칙으로는 이기지 못한다. 영역을 앞에 붙여 (0,2,0) 으로 올린다. */
.site-header .btn, .mobile-nav .btn, .site-footer .btn, .wsrf-main .btn, .wsrf-sub .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: auto; min-height: 48px; padding: 0 22px;
  font-size: .9375rem; font-weight: 700; line-height: 1.4; letter-spacing: -.02em;
  background: none; border: 1px solid transparent;
  border-radius: var(--r);
  transition: background .18s, color .18s, border-color .18s, transform .18s var(--ease);
}
.site-header .btn--ghost-line, .mobile-nav .btn--ghost-line, .site-footer .btn--ghost-line,
.wsrf-main .btn--ghost-line, .wsrf-sub .btn--ghost-line {
  border-color: var(--line-strong); color: var(--ink);
}
.site-header .btn--ghost-line:hover, .mobile-nav .btn--ghost-line:hover, .site-footer .btn--ghost-line:hover,
.wsrf-main .btn--ghost-line:hover, .wsrf-sub .btn--ghost-line:hover {
  border-color: var(--navy); color: var(--navy); background: var(--tint);
}
.site-header .btn--quiet, .mobile-nav .btn--quiet, .site-footer .btn--quiet,
.wsrf-main .btn--quiet, .wsrf-sub .btn--quiet {
  min-height: 40px; padding: 0 16px; font-size: .875rem;
  border-color: var(--line-strong); color: var(--ink-2);
}
.site-header .btn--quiet:hover, .mobile-nav .btn--quiet:hover, .site-footer .btn--quiet:hover,
.wsrf-main .btn--quiet:hover, .wsrf-sub .btn--quiet:hover { border-color: var(--navy); color: var(--navy); }
.site-header .btn--solid, .mobile-nav .btn--solid, .site-footer .btn--solid,
.wsrf-main .btn--solid, .wsrf-sub .btn--solid { background: var(--navy); border-color: var(--navy); color: #fff; }
.site-header .btn--solid:hover, .mobile-nav .btn--solid:hover, .site-footer .btn--solid:hover,
.wsrf-main .btn--solid:hover, .wsrf-sub .btn--solid:hover { background: var(--navy-deep); border-color: var(--navy-deep); }

/* =========================================================
   상단 유틸리티
   ========================================================= */
.utility {
  background: var(--navy-dark);
  color: var(--on-navy-2);
  font-size: .8125rem;
}
.utility__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 40px;
}
.utility__note { letter-spacing: -.01em; }
.utility__note span { color: #fff; font-weight: 600; }
.utility__right { display: flex; align-items: center; gap: 22px; }

.utility__links { display: flex; align-items: center; gap: 18px; }
.utility__links a {
  position: relative; font-weight: 600; color: #DCE7F5;
  transition: color .16s;
}
.utility__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: var(--lime);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.utility__links a:hover { color: #fff; }
.utility__links a:hover::after { transform: scaleX(1); }
.utility__links .is-admin { color: var(--lime); }
/* 마이페이지 — 로그인한 사람이 가장 자주 누르는 곳이라 또렷하게 (2026-09-20) */
.utility__links .is-my { color: #fff; font-weight: 700; }

/* 플랫폼 로고를 원색 그대로 쓴다. 마크마다 바탕색이 있으므로
   링 테두리나 라임 호버를 얹으면 서로 싸운다 — 올림과 밝기만 준다. */
.social { display: flex; align-items: center; gap: 5px; }
.social a {
  width: 24px; height: 24px; display: grid; place-items: center;
  border-radius: 7px;
  transition: transform .18s var(--ease), filter .18s;
}
.social a svg { width: 22px; height: 22px; }
.social a:hover { transform: translateY(-2px); filter: brightness(1.08) saturate(1.05); }
.social a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* =========================================================
   마스트헤드 + GNB
   ========================================================= */
.site-header { position: relative; z-index: 60; background: var(--paper); }

.masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead__inner { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.brand { flex: none; }
.brand img { width: 300px; height: auto; }

.gnb { margin-left: auto; }
.gnb__list { display: flex; align-items: stretch; }
.gnb__item { position: relative; }

.gnb__link {
  display: flex; align-items: center;
  height: 83px; padding: 0 22px;
  font-size: 1.0625rem; font-weight: 700; letter-spacing: -.03em;
  color: var(--ink);
  transition: color .16s;
}
.gnb__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 3px; background: var(--navy);
  transform: scaleX(0); transform-origin: center;
  transition: transform .3s var(--ease);
}
.gnb__item:hover .gnb__link,
.gnb__item:focus-within .gnb__link { color: var(--navy); }
.gnb__item:hover .gnb__link::after,
.gnb__item:focus-within .gnb__link::after { transform: scaleX(1); }
/* 지금 보고 있는 메뉴는 늘 표시된다 */
.gnb__item.is-current .gnb__link { color: var(--navy); }
.gnb__item.is-current .gnb__link::after { transform: scaleX(1); background: var(--green); }

.gnb__panel {
  position: absolute; top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  min-width: 186px; padding: 10px;
  background: var(--paper);
  border-radius: 0 0 var(--r) var(--r);
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .28s var(--ease), visibility .2s;
}
.gnb__item:hover .gnb__panel,
.gnb__item:focus-within .gnb__panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
/* 맨 오른쪽 메뉴의 패널은 가운데 정렬하면 화면 밖으로 나간다.
   감춰져 있어도 절대배치라 스크롤 폭을 늘려 가로 스크롤을 만든다. */
.gnb__item:last-child .gnb__panel { left: auto; right: 0; transform: translate(0, 8px); }
.gnb__item:last-child:hover .gnb__panel,
.gnb__item:last-child:focus-within .gnb__panel { transform: translate(0, 0); }

.gnb__panel a {
  display: block; padding: 9px 14px;
  font-size: .9375rem; font-weight: 500; color: var(--ink-2);
  white-space: nowrap; border-radius: var(--r-sm);
  transition: background .14s, color .14s;
}
.gnb__panel a:hover { background: var(--tint); color: var(--navy); font-weight: 600; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--r);
}
.nav-toggle__bars { display: grid; gap: 5px; width: 20px; }
.nav-toggle__bars i {
  display: block; height: 2px; background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 모바일 전체메뉴 ────────────────────────────────────── */
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 90;
  background: var(--paper);
  padding-top: 72px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__scroll { height: 100%; overflow-y: auto; padding: 8px var(--gutter) 40px; }

.mobile-nav__list > li { border-bottom: 1px solid var(--line); }
.mobile-nav__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 17px 4px;
  font-size: 1.0625rem; font-weight: 700; text-align: left;
}
/* 접혀 있을 때는 아래를(펼침), 펼쳤을 때는 위를(접음) 가리킨다 */
.mobile-nav__head svg {
  width: 20px; height: 20px; color: var(--ink-3);
  transform: rotate(180deg);
  transition: transform .3s var(--ease);
}
.mobile-nav__head[aria-expanded="true"] { color: var(--navy); }
.mobile-nav__head[aria-expanded="true"] svg { transform: rotate(0deg); color: var(--navy); }

.mobile-nav__sub { display: grid; gap: 2px; padding: 2px 0 14px; }
.mobile-nav__sub[hidden] { display: none; }
.mobile-nav__sub a {
  display: block; padding: 11px 16px;
  font-size: .9375rem; color: var(--ink-2);
  background: var(--tint); border-radius: var(--r-sm);
}
.mobile-nav__sub a:hover { color: var(--navy); }

.mobile-nav__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }

/* =========================================================
   푸터
   ========================================================= */
.site-footer {
  padding: 48px 0 0;
  margin-top: 0;
  background: var(--navy-dark);
  color: var(--on-navy-2);
  font-size: .875rem;
}
.site-footer__top {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px;
  align-items: start;
  padding-bottom: 28px;
}
/* 원본 로고는 남색이라 남색 바탕에서 묻힌다. 통째로 흰색으로 뒤집는다. */
.site-footer__logo { width: 230px; height: auto; filter: brightness(0) invert(1); opacity: .95; }

.site-footer__addr { display: grid; gap: 5px; margin-top: 20px; line-height: 1.7; }
.site-footer__addr span { display: block; }
.site-footer__addr i { display: inline-block; margin: 0 9px; font-style: normal; color: #5C7CA6; }
.site-footer__addr a { transition: color .16s; }
.site-footer__addr a:hover { color: var(--lime); text-decoration: underline; }
.site-footer__copy { margin-top: 16px; font-size: .8125rem; color: #7E99BC; }

.site-footer__side { display: grid; gap: 16px; justify-items: end; align-content: start; }
.site-footer__links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer__links a { transition: color .16s; }
.site-footer__links a strong { color: #fff; font-weight: 700; }
.site-footer__links a:hover { color: var(--lime); }

.site-footer__sns { display: flex; gap: 8px; }
.site-footer__sns a {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 8px;
  transition: transform .18s var(--ease), filter .18s;
}
.site-footer__sns a svg { width: 26px; height: 26px; }
.site-footer__sns a:hover { transform: translateY(-2px); filter: brightness(1.1) saturate(1.05); }
.site-footer__sns a:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

.site-footer__bottom {
  display: flex; align-items: center; justify-content: flex-end;
  padding: 14px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.family { position: relative; width: 220px; }
.family__toggle {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 44px; padding: 0 16px;
  font-size: .875rem; font-weight: 600; color: #DCE7F5;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-sm);
  transition: border-color .18s, background .18s;
}
.family__toggle svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.family__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.family__toggle:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }
.family__list {
  position: absolute; left: 0; right: 0; bottom: calc(100% + 6px);
  padding: 6px;
  background: #06264F;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-3);
  z-index: 5;
}
.family__list[hidden] { display: none; }
.family__list a {
  display: block; padding: 10px 12px;
  border-radius: var(--r-sm);
  transition: background .14s, color .14s;
}
.family__list a:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.visits { display: flex; gap: 20px; font-size: .8125rem; color: #7E99BC; margin: 0; }
.visits div { display: flex; align-items: baseline; gap: 7px; }
.visits dt { color: #6B87AC; }
.visits dd { margin: 0; color: #C8DAF0; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── 맨 위로 ────────────────────────────────────────────── */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  background: var(--navy); color: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .18s;
}
.to-top svg { width: 22px; height: 22px; }
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-deep); }

/* 로그인 중 알림 — 그누보드가 <body> 바로 뒤에 찍는다.
   원래 그누보드는 이걸 안 보이게 접어 두는데, 앞서 이 파일이 그 처리를
   덮어써서 머리 위에 흰 띠로 되살아나 있었다. 상단 유틸바에 이미
   로그아웃·정보수정이 있어 중복이고, 띠가 머리를 밀어 화면이 어긋나 보인다.
   마크업은 남겨 스크린리더 안내만 살리고 화면에서는 뺀다. */
#hd_login_msg {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* =========================================================
   팝업레이어 (대회 포스터)
   관리자가 PC 기준 좌표(top/left/width/height)를 인라인 style 로 박는다.
   좁은 화면에서는 그 좌표 그대로 떠서 첫 화면을 통째로 가린다.
   인라인 값을 이기려면 !important 밖에 없어 여기서만 쓴다.
   ========================================================= */
#hd_pop .hd_pops_footer { background: var(--navy-dark); }
#hd_pop .hd_pops_footer button {
  font-family: var(--font-sans); font-size: .8125rem; font-weight: 600;
  background: var(--navy-dark); color: #C8DAF0;
  transition: background .16s, color .16s;
}
#hd_pop .hd_pops_footer .hd_pops_close { background: #06264F; }
#hd_pop .hd_pops_footer button:hover { background: var(--navy); color: #fff; }

/* 넓은 화면: 관리자 좌표(left·top)는 옛 디자인의 '가운데 1200px 칸' 기준이다.
   맨 위 공통 규칙이 이 칸을 화면 전체 폭으로 넓혀, left:-500px 같은 값이 화면 밖으로 나가 팝업이 잘렸다.
   기준 칸을 되살리고, 그래도 화면 밖으로 나가는 부분과 팝업 높이보다 긴 내용(포스터 여러 장)은
   wsrf2026.js popupFit 이 화면 안으로 맞춘다. */
@media (min-width: 1081px) {
  #hd_pop { width: 1200px !important; }
}

@media (max-width: 1080px) {
  #hd_pop { position: static !important; height: auto !important; margin: 0 !important; }
  #hd_pop .hd_pops {
    position: static !important;
    top: auto !important; left: auto !important;
    width: auto !important; height: auto !important;
    margin: 0 0 8px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }
  #hd_pop .hd_pops_con {
    width: 100% !important; height: auto !important;
    padding: 0 !important;
    overflow: hidden;
  }
  #hd_pop .hd_pops_con img { width: 100%; height: auto; }
  #hd_pop .hd_pops_footer { display: flex; align-items: stretch; }
  #hd_pop .hd_pops_footer .hd_pops_reject { float: none !important; flex: 1; text-align: left; }
  #hd_pop .hd_pops_footer .hd_pops_close { position: static !important; flex: none; min-width: 52px; }

  /* 안내가 여러 건이면 첫 건만 펴 두고 나머지는 접는다.
     포스터 여섯 장이 히어로를 세 화면 아래로 밀어내기 때문이다. */
  .hd_pops_more {
    display: block; width: 100%;
    min-height: 46px; padding: 0 16px;
    font-family: var(--font-sans); font-size: .875rem; font-weight: 700;
    color: var(--navy-deep); background: var(--tint);
    border: 0; border-bottom: 1px solid var(--line);
    cursor: pointer;
    transition: background .16s;
  }
  .hd_pops_more:hover { background: var(--tint-2); }
}

/* 포스터 여러 장 → 한 장씩 넘기는 슬라이드 (wsrf2026.js popupSlides, 2026-10-04)
   높이는 스크립트가 정한다 — 넓은 화면은 화면 높이에 맞춘 px, 좁은 화면은 그림 비율(aspect-ratio).
   위 좁은 화면 규칙(#hd_pop .hd_pops_con img)과 특이도가 같아 뒤에 둔다. */
#hd_pop .hd_pops_con.has-slider { padding: 0 !important; overflow: hidden; }
#hd_pop .pop-slider { position: relative; }
#hd_pop .pop-slider__viewport {
  position: relative; overflow: hidden;
  background: var(--tint);
  touch-action: pan-y;
}
#hd_pop .pop-slider__track {
  display: flex; height: 100%;
  transition: transform .5s var(--ease);
}
#hd_pop .pop-slider__slide { flex: 0 0 100%; min-width: 0; height: 100%; }
#hd_pop .pop-slider__slide > a { display: block; height: 100%; }
#hd_pop .pop-slider__slide img {
  display: block; width: 100%; height: 100%; max-width: none;
  object-fit: contain;
  -webkit-user-drag: none;
}

/* 넘기는 단추는 아래 닫기 줄에 — [다시 열지 않음 ……][‹ ● ━ ›][×] */
#hd_pop .hd_pops_footer.has-slider { display: flex; align-items: stretch; }
#hd_pop .hd_pops_footer.has-slider .hd_pops_reject {
  float: none !important; flex: 1; min-width: 0;
  text-align: left; line-height: 1.35;
}
#hd_pop .hd_pops_footer.has-slider .hd_pops_close { position: static !important; flex: none; }
#hd_pop .pop-slider__ctrl {
  display: flex; align-items: center; flex: none;
  padding: 0 4px;
  border-left: 1px solid rgba(200, 218, 240, .14);
}
#hd_pop .hd_pops_footer .pop-slider__nav,
#hd_pop .hd_pops_footer .pop-slider__dot {
  display: grid; place-items: center;
  padding: 0; border: 0;
  background: none; color: #C8DAF0;
  cursor: pointer;
}
#hd_pop .hd_pops_footer .pop-slider__nav { width: 34px; align-self: stretch; }
#hd_pop .hd_pops_footer .pop-slider__nav:hover { background: var(--navy); color: #fff; }
#hd_pop .pop-slider__nav svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
#hd_pop .hd_pops_footer .pop-slider__dot {
  width: 18px; height: 28px;
  transition: width .25s var(--ease);
}
#hd_pop .hd_pops_footer .pop-slider__dot:hover { background: none; }
#hd_pop .pop-slider__dot::before {
  content: ""; display: block;
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(200, 218, 240, .45);
  transition: width .25s var(--ease), background .16s;
}
#hd_pop .pop-slider__dot:hover::before { background: rgba(255, 255, 255, .8); }
#hd_pop .hd_pops_footer .pop-slider__dot[aria-current="true"] { width: 30px; }
#hd_pop .pop-slider__dot[aria-current="true"]::before { width: 22px; background: var(--lime); }

#hd_pop .pop-slider__nav:focus-visible,
#hd_pop .pop-slider__dot:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }

/* 좁은 화면: '24시간 동안 다시 열지않습니다.' 가 잘리지 않게 단추 폭을 줄인다 (그래도 넘치면 두 줄로) */
@media (max-width: 480px) {
  #hd_pop .pop-slider__ctrl { padding: 0; }
  #hd_pop .hd_pops_footer .pop-slider__nav { width: 30px; }
  #hd_pop .hd_pops_footer.has-slider .hd_pops_close { min-width: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  #hd_pop .pop-slider__track,
  #hd_pop .pop-slider__dot,
  #hd_pop .pop-slider__dot::before { transition: none; }
}

/* =========================================================
   반응형 — 전역 레이어
   ========================================================= */
@media (max-width: 1280px) {
  .gnb__link { padding: 0 16px; font-size: 1rem; }
  .brand img { width: 260px; }
}

@media (max-width: 1080px) {
  .masthead__inner { gap: 20px; }
  .gnb { display: none; }
  .nav-toggle { display: flex; }

  .site-footer__top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .site-footer__side { justify-items: start; }
  .site-footer__bottom { justify-content: flex-start; }
}

@media (max-width: 860px) {
  :root { --gutter: 18px; }

  .utility__note { display: none; }
  .utility__inner { justify-content: flex-end; }
  .masthead__inner { min-height: 68px; }
  .brand img { width: 208px; }
}

@media (max-width: 640px) {
  .site-footer { padding: 40px 0 48px; }
  .site-footer__links { gap: 14px; }
  .family { width: 100%; }
  .visits { flex-wrap: wrap; gap: 14px; }
  .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

/* ── 모션 최소화 ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header *, .mobile-nav *, .site-footer *, .wsrf-main *, .wsrf-sub * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ── 인쇄 ───────────────────────────────────────────────── */
@media print {
  .utility, .nav-toggle, .to-top, .mobile-nav, .site-footer__meta { display: none; }
  .site-header { border-bottom: 1px solid var(--line); }
}
