@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

/* ===================================================
   CSS 변수 (Design Tokens) - 틸(Teal) 계열 테마
   ===================================================
   ■ 색상 팔레트
     --color-primary       : 메인 틸 색상 (#408080)
     --color-primary-dark  : 진한 틸 (#305F5F)
     --color-primary-deep  : 더 진한 틸, 헤더/GNB 배경용 (#305F5F)
     --color-primary-light : 연한 틸, 호버 배경용 (#A2D0D0)
     --color-primary-mid   : 중간 틸 (#A2D0D0)
     --color-accent        : 강조색 (#A2D0D0)
     --color-accent2       : 보조 강조색 (#A2D0D0)

   ■ 보조 색상
     --color-secondary     : 회색 계열 (#6c757d)
     --color-success       : 성공/활성 녹색 (#16a34a)
     --color-danger        : 위험/삭제 빨간색 (#dc2626)
     --color-warning       : 경고 주황색 (#d97706)
     --color-info          : 정보 파란색 (#0284c7)

   ■ 텍스트
     --color-text          : 기본 텍스트 (#1a1a2e)
     --color-text-muted    : 흐린 텍스트 (#5a5a7a)
     --color-text-light    : 더 흐린 텍스트 (#9090aa)

   ■ 테두리 & 배경
     --color-border        : 기본 테두리 (#ffe0e3)
     --color-border-dark   : 진한 테두리 (#ffc5ca)
     --color-bg            : 기본 배경 (#FFFFFF)
     --color-bg-white      : 흰 배경 (#ffffff)
     --color-bg-light      : 연한 배경 (#fff2f3)
     --color-bg-header     : 헤더 배경 (#ffffff)

   ■ 라디우스 (모서리 둥글기)
     --radius-sm           : 6px
     --radius-md           : 12px
     --radius-lg           : 18px
     --radius-xl           : 24px
     --radius-full         : 9999px (완전 원형)

   ■ 그림자
     --shadow-sm           : 가벼운 그림자
     --shadow-md           : 중간 그림자
     --shadow-lg           : 강한 그림자
     --shadow-xl           : 팝업용 최대 그림자

   ■ 트랜지션 & 폰트
     --transition          : 0.22s cubic-bezier(.4,0,.2,1)
     --font-family         : Noto Sans KR, Apple SD Gothic Neo, sans-serif

   ■ 폰트 크기 (여기서 전체 크기 조절)
     --font-base           : 기본 본문 크기 (body) = 15px
     --font-mobile         : 모바일 기본 크기 (≤768px) = 14px
     --font-sm             : 작은 텍스트 (캡션, 메타 등) = 0.85em
     --font-md             : 중간 텍스트 = 1em
     --font-lg             : 큰 텍스트 (소제목 등) = 1.1em
     --font-xl             : 더 큰 텍스트 (섹션 제목) = 1.25em
     --font-2xl            : 최대 크기 (메인 타이틀) = 1.5em
=================================================== */
:root {
  /* ── 기본 Primary 팔레트 ── */
  --color-primary:       #408080;   /* 메인 틸 */
  --color-primary-dark:  #305F5F;   /* 진한 틸 */
  --color-primary-deep:  #305F5F;   /* 더 진한 틸 */
  --color-primary-light: #A2D0D0;   /* 연한 틸 배경 */
  --color-primary-mid:   #A2D0D0;   /* 중간 틸 */
  --color-accent:        #A2D0D0;   /* 밝은 강조색 */
  --color-accent2:       #A2D0D0;   /* 보조 강조색 */

  /* ── 보조 색상 ── */
  --color-secondary: #6c757d;       /* 회색 계열 */
  --color-success:   #16a34a;       /* 성공/활성 녹색 */
  --color-danger:    #dc2626;       /* 위험/삭제 빨간색 */
  --color-warning:   #d97706;       /* 경고 주황색 */
  --color-info:      #0284c7;       /* 정보 파란색 */

  /* ── 텍스트 색상 ── */
  --color-text:       #1a1a2e;      /* 기본 텍스트 */
  --color-text-muted: #5a5a7a;      /* 흐린 텍스트 */
  --color-text-light: #9090aa;      /* 더 흐린 텍스트 */

  /* ── 테두리 & 배경 ── */
  --color-border:      #ffe0e3;     /* 기본 테두리 */
  --color-border-dark: #ffc5ca;     /* 진한 테두리 */
  --color-bg:          #FFFFFF;     /* 기본 배경 */
  --color-bg-white:    #ffffff;     /* 흰 배경 */
  --color-bg-light:    #fff2f3;     /* 연한 배경 */
  --color-bg-header:   #ffffff;     /* 헤더 배경 */

  /* ── 모서리 둥글기 ── */
  --radius-sm:   6px;               /* 작은 라디우스 */
  --radius-md:   12px;              /* 중간 라디우스 */
  --radius-lg:   18px;              /* 큰 라디우스 */
  --radius-xl:   24px;              /* 매우 큰 라디우스 */
  --radius-full: 9999px;            /* 완전 원형 */

  /* ── 그림자 ── */
  --shadow-sm: 0 1px 4px rgba(232,44,60,.08), 0 1px 2px rgba(0,0,0,.04);   /* 가벼운 그림자 */
  --shadow-md: 0 4px 14px rgba(232,44,60,.12);                              /* 중간 그림자 */
  --shadow-lg: 0 10px 32px rgba(232,44,60,.15);                             /* 강한 그림자 */
  --shadow-xl: 0 20px 48px rgba(232,44,60,.2);                              /* 팝업용 최대 그림자 */

  /* ── 트랜지션 & 폰트 ── */
  --transition:   0.22s cubic-bezier(.4,0,.2,1);                            /* 기본 트랜지션 */
  --font-family:  'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;        /* 기본 폰트 패밀리 */

  /* ── 폰트 크기 ── */
  --font-base:   15px;              /* 기본 본문 크기 (기본값 14px → 15px 확대) */
  --font-mobile: 14px;              /* 모바일 기본 크기 (기본값 13px → 14px 확대) */
  --font-sm:     0.85em;            /* 작은 텍스트: 캡션, 메타 정보 등 */
  --font-md:     1em;               /* 중간 텍스트: 기본 단위 */
  --font-lg:     1.1em;             /* 큰 텍스트: 소제목 등 */
  --font-xl:     1.25em;            /* 더 큰 텍스트: 섹션 제목 */
  --font-2xl:    1.5em;             /* 최대 크기: 메인 타이틀 */
}


/* ===================================================
   초기화 (Reset)
   - 모든 요소의 box-sizing을 border-box로 통일
   - html 스크롤 동작 설정
   - body 기본 마진/패딩 제거, 폰트/색상 초기화
   - 제목(h1~h6), form, fieldset, img 마진/패딩/테두리 제거
   - 목록(ul, dl, dt, dd) 마진/패딩/목록 스타일 제거
   - legend 숨김 처리 (스크린리더 전용)
   - label, input, button, select, img 수직 정렬 통일
   - textarea, select 폰트 통일
=================================================== */

/* 모든 요소 박스 크기를 border-box로 통일 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* HTML 기본 스크롤 설정 */
html {
  overflow-y: scroll;       /* 세로 스크롤 항상 표시 (레이아웃 흔들림 방지) */
  scroll-behavior: smooth;  /* 앵커 이동 시 부드러운 스크롤 */
}

/* Body 기본 초기화 */
body {
  margin: 0;
  padding: 0;
  font-size: var(--font-base);
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased; /* macOS/iOS 폰트 앤티앨리어싱 */
}

/* 제목 태그, form 관련 태그 초기화 */
html,
h1, h2, h3, h4, h5, h6,
form, fieldset, img {
  margin: 0;
  padding: 0;
  border: 0;
}

/* 제목 태그 폰트 및 색상 통일 */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

/* HTML5 시맨틱 요소 블록 표시 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

/* 목록 초기화 */
ul, dl, dt, dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* legend 스크린리더 전용 숨김 */
legend {
  position: absolute;
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  text-indent: -9999em;
  overflow: hidden;
}

/* 폼 요소 수직 정렬 통일 */
label,
input,
button,
select,
img {
  vertical-align: middle;
  font-size: 1em;
}

/* input, button 기본 초기화 */
input,
button {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-size: 1em;
}

/* submit, button 커서 포인터 */
input[type="submit"],
button {
  cursor: pointer;
}

/* textarea, select 폰트 통일 */
textarea,
select {
  font-family: var(--font-family);
  font-size: 1em;
}

/* select 커스텀 스타일 */
select {
  margin: 0;
  height: 38px;
  padding: 0 10px;
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  background: var(--color-bg-white);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;                                    /* 기본 화살표 제거 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23e82c3c' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); /* 커스텀 화살표 아이콘 */
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;                                 /* 화살표 아이콘 공간 확보 */
}

/* select 포커스 스타일 */
select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(232,44,60,.15);
}

/* 단락 초기화 */
p {
  margin: 0;
  padding: 0;
  word-break: break-word;
}

/* 수평 구분선 */
hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 20px 0;
}

/* 코드 블록 스타일 */
pre {
  overflow-x: auto;
  font-size: 0.9em;
  background: var(--color-bg-light);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

/* 링크 기본 스타일 */
a                        { color: var(--color-text); text-decoration: none; transition: color var(--transition); }
a:link, a:visited        { color: var(--color-text); }
a:hover, a:focus, a:active { color: var(--color-primary); }

/* placeholder.js 플러그인 텍스트 색상 */
.placeholdersjs {
  color: var(--color-text-light) !important;
}


/* ===================================================
   폼 요소 (Form Inputs)
   - 텍스트, 패스워드, 이메일, 숫자, 검색, textarea 공통
   - 포커스 시 틸 색상 테두리 + 반투명 글로우 효과
=================================================== */

/* 폼 입력 요소 공통 스타일 */
input[type=text],
input[type=password],
input[type=email],
input[type=number],
input[type=search],
textarea {
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: var(--font-family);
}

/* 폼 입력 요소 포커스 스타일 */
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=search]:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 0 3px rgba(232,44,60,.18);
  border: 1.5px solid var(--color-primary) !important;
}


/* ===================================================
   레이아웃 크기 (데스크탑 기준)
   ※ 그누보드5 표준:
     - 외부 래퍼(#hd, #wrapper, #ft) : min-width 1200px
     - 내부 콘텐츠 래퍼               : width 1200px, 좌우 auto margin
=================================================== */

/* 외부 래퍼 최소 너비 */
#hd, #wrapper, #ft {
  min-width: 1200px;
}

/* 내부 래퍼 1200px 고정 + 중앙 정렬 */
#hd_pop,
#hd_wrapper,
#hd_tnb,
#gnb_1dul,
#wrapper,
#ft_catch,
#ft_wr,
#ft_copy div,
#ft_company p.ft_info {
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}


/* ===================================================
   팝업 레이어 (#hd_pop)
   - z-index 1000으로 최상단 배치
   - height:0 으로 레이아웃 공간 차지 없이 오버플로우로 표시
=================================================== */

/* 팝업 컨테이너 */
#hd_pop {
  z-index: 1000;
  position: relative;
  margin: 0 auto;
  height: 0;
}

/* 팝업 제목 숨김 */
#hd_pop h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

/* 팝업 박스 스타일 */
.hd_pops {
  position: absolute;
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  background: var(--color-bg-white);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

/* 팝업 이미지 */
.hd_pops img {
  max-width: 100%;
}

/* 팝업 하단 푸터 */
.hd_pops_footer {
  padding: 0;
  background: var(--color-primary-deep);
  color: #fff;
  text-align: left;
  position: relative;
  display: flex;
  align-items: center;
}

/* 팝업 푸터 clearfix */
.hd_pops_footer::after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

/* 팝업 푸터 버튼 공통 */
.hd_pops_footer button {
  padding: 10px 16px;
  border: 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.85em;
  background: transparent;
  transition: color var(--transition);
}

/* 팝업 푸터 버튼 호버 */
.hd_pops_footer button:hover {
  color: #fff;
}

/* 팝업 "오늘 하루 안 보기" 버튼 */
.hd_pops_footer .hd_pops_reject {
  background: transparent;
  text-align: left;
}

/* 팝업 닫기 버튼 (우측 절대 배치) */
.hd_pops_footer .hd_pops_close {
  background: rgba(255,255,255,.12);
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  padding: 10px 16px;
}


/* ===================================================
   📌 상단 띠 (Top Bar / #hd_top)
   - 사이트 최상단 얇은 띠 영역
   - 진한 틸 그라디언트 배경
=================================================== */

/* 상단 띠 배경 */
#hd_top {
  background: linear-gradient(135deg, var(--color-primary-deep) 0%, var(--color-primary) 100%);
  border-bottom: none;
}

/* TNB 내부 래퍼 (상단 띠 내부 메뉴) */
#hd_tnb {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* TNB 목록 */
#tnb {
  float: right;
  list-style: none;
  display: flex;
  align-items: center;
}

/* TNB 목록 clearfix */
#tnb::after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

/* TNB 목록 아이템 */
#tnb li {
  float: left;
}

/* TNB 링크 스타일 */
#tnb a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  height: 36px;
  color: rgba(255,255,255,0.88);
  font-size: 0.82em;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
  border-radius: var(--radius-sm);
}

/* TNB 링크 호버 */
#tnb a:hover {
  color: #fff;
  background: rgba(255,255,255,.12);
}

/* TNB 이미지 마진 */
#tnb img {
  margin-right: 3px;
}

/* 홈 버튼 */
.hd_home {
  float: left;
  border-left: 1px solid rgba(255,255,255,.2);
}

/* 홈 버튼 링크 */
.hd_home a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,.2);
  width: 42px;
  height: 36px;
  font-size: 1.1em;
  color: rgba(255,255,255,.9);
  transition: color var(--transition), background var(--transition);
}

/* 홈 버튼 링크 호버 */
.hd_home a:hover {
  color: #fff;
  background: rgba(255,255,255,.15);
}

/* 홈 버튼 관리자 표시 */
.hd_home a.admin {
  color: #ffd6d9;
}


/* ===================================================
   🏠 상단 헤더 (#hd)
   - z-index: 4 로 레이어 순서 관리
   - 흰 배경 + 하단 연한 틸 테두리
=================================================== */

/* 헤더 컨테이너 */
#hd {
  z-index: 4;
  position: relative;
  min-width: 320px;
  background: var(--color-bg-white);
  box-shadow: 0 2px 16px rgba(232,44,60,.1);
  border-bottom: 2px solid var(--color-primary-light);
}

/* 헤더 스크롤 시 z-index 증가 클래스 */
.hd_zindex {
  z-index: 10 !important;
}

/* 헤더 h1 제목 숨김 (스크린리더 전용) */
#hd_h1 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

/* 헤더 내부 래퍼 (로고 + 검색 + 버튼 행) */
#hd_wrapper {
  position: relative;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* 헤더 래퍼 clearfix */
#hd_wrapper::after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

/* 로고 영역 */
#logo {
  float: left;
  flex-shrink: 0;
}


/* ===================================================
   🔍 헤더 검색창 (#hd_sch)
   - 둥근 모서리 검색창
   - 포커스 시 틸 테두리 + 글로우 효과
=================================================== */

/* 검색창 fieldset */
#hd_sch {
  float: left;
  margin: 0 0 0 12px;
  padding: 0;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--color-bg-white);
  transition: box-shadow var(--transition), border-color var(--transition);
  flex: 1;
  max-width: 340px;
  display: flex;
}

/* 검색창 포커스 시 글로우 */
#hd_sch:focus-within {
  box-shadow: 0 0 0 4px rgba(232,44,60,.18);
  border-color: var(--color-primary-dark);
}

/* 검색창 legend 숨김 */
#hd_sch legend {
  position: absolute;
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  text-indent: -9999em;
  overflow: hidden;
}

/* 검색어 입력 필드 */
#hd_sch #sch_stx {
  padding: 0 14px;
  width: 100%;
  height: 38px;
  border: 0;
  background: transparent;
  font-size: 0.92em;
  color: var(--color-text);
  outline: none;
}

/* 검색 버튼 */
#hd_sch #sch_submit {
  flex-shrink: 0;
  padding: 0 14px;
  height: 38px;
  width: 46px;
  border: 0;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.1em;
  cursor: pointer;
  transition: background var(--transition);
}

/* 검색 버튼 호버 */
#hd_sch #sch_submit:hover {
  background: var(--color-primary-dark);
}


/* ===================================================
   텍스트 크기 조절 버튼 (#text_size)
   - 글자 크기 확대/축소 버튼
=================================================== */

/* 텍스트 크기 버튼 영역 */
#text_size {
  float: left;
  margin: 0 0 0 10px;
}

/* 텍스트 크기 버튼 스타일 */
#text_size button {
  margin: 0 2px;
  padding: 3px 7px;
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  background: var(--color-bg-white);
  cursor: pointer;
  color: var(--color-text-muted);
  transition: all var(--transition);
}

/* 텍스트 크기 버튼 호버 */
#text_size button:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* 텍스트 크기 확대 클래스 */
.ts_up  { font-size: 1.1em !important; }
.ts_up2 { font-size: 1.25em !important; }


/* ===================================================
   🧭 메인 메뉴 (GNB / Global Navigation Bar)
   - 헤더 하단 주요 네비게이션
   - 틸 그라디언트 배경
   - 드롭다운 서브메뉴 포함
=================================================== */

/* GNB 컨테이너 */
#gnb {
  position: relative;
  background: linear-gradient(90deg, var(--color-primary-deep) 0%, var(--color-primary) 60%, var(--color-accent2) 100%);
  box-shadow: 0 3px 10px rgba(232,44,60,.25);
}

/* GNB 제목 숨김 */
#gnb h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

/* GNB 1단계 메뉴 목록 */
#gnb_1dul {
  margin: 0 auto !important;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* GNB 1단계 링크 공통 색상 */
#gnb_1dul a {
  color: rgba(255,255,255,0.92);
  font-size: 13.5px;
  font-weight: 500;
}

/* GNB 목록 clearfix */
#gnb_1dul::after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

/* GNB 1단계 메뉴 아이템 */
.gnb_1dli {
  z-index: 10;
  position: relative;
  display: inline-block;
  text-align: center;
}

/* GNB 1단계 메뉴 링크 */
.gnb_1da {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  height: 46px;
  text-decoration: none;
  transition: background var(--transition);
  border-radius: 0;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* GNB 1단계 링크 호버/활성/오버 상태 */
.gnb_1da:hover,
.gnb_1dli_air .gnb_1da,
.gnb_1dli_on .gnb_1da {
  background: rgba(255,255,255,.18);
  color: #fff !important;
}

/* GNB 드롭다운 서브메뉴 */
.gnb_2dul {
  display: none;
  position: absolute;
  top: 46px;
  left: 0;
  min-width: 160px;
  background: var(--color-bg-white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1.5px solid var(--color-border-dark);
  border-top: 3px solid var(--color-primary);
}

/* GNB 2단계 메뉴 링크 */
.gnb_2da {
  display: block;
  padding: 10px 16px;
  text-align: left;
  text-decoration: none;
  color: var(--color-text) !important;
  font-size: 13px;
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}

/* GNB 2단계 링크 호버 (들여쓰기 효과 포함) */
.gnb_2da:hover {
  background: var(--color-primary-light);
  color: var(--color-primary) !important;
  padding-left: 20px;
}

/* GNB 오버 시 드롭다운 표시 */
.gnb_1dli_over .gnb_2dul,
.gnb_1dli_over2 .gnb_2dul {
  display: block;
}

/* 우측 정렬 드롭다운 (오른쪽 끝 메뉴) */
.gnb_1dli_over2 .gnb_2dul {
  left: auto;
  right: 0;
}

/* GNB 메뉴 없음 안내 */
#gnb_empty {
  padding: 12px 0;
  width: 100%;
  text-align: center;
  line-height: 2em;
}

#gnb_empty a {
  text-decoration: underline;
  color: rgba(255,255,255,0.85);
}


/* ===================================================
   🍔 모바일 메뉴 토글 버튼 (#mobile_menu_toggle)
   - 768px 이하에서 표시
   - 햄버거 아이콘 (3줄)
=================================================== */

/* 모바일 토글 버튼 (기본 숨김) */
#mobile_menu_toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

/* 모바일 토글 버튼 호버 */
#mobile_menu_toggle:hover {
  background: var(--color-primary-light);
}

/* 햄버거 아이콘 라인 */
#mobile_menu_toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}


/* ===================================================
   📐 중간 레이아웃 (Wrapper / Container / Aside)
   - #wrapper : 전체 콘텐츠 영역 래퍼
   - #container : 메인 콘텐츠 (좌측, 900px)
   - #aside : 사이드바 (우측, 280px)
=================================================== */

/* 전체 콘텐츠 래퍼 */
#wrapper {
  z-index: 5;
  margin: 28px auto 0;
}

/* 래퍼 clearfix */
#wrapper::after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

/* 사이드바 */
#aside {
  float: right;
  margin: 0 0 0 -1px;
  width: 280px;
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* 인덱스 콘텐츠 영역 */
.idx_cnt {
  width: 100%;
}

/* 인덱스 clearfix */
.idx_cnt::after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

/* 인덱스 게시판 박스 (PC: 2열 float 배치) */
.idx_cnt .lt_li {
  float: left;
  position: relative;
  display: inline-block;
  width: 49%;
  margin-bottom: 40px;
}

/* 인덱스 박스 clearfix */
.idx_cnt .lt_li::after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

/* 좌측 박스 오른쪽 마진 (2열 간격) */
.idx_cnt .lt_li_left {
  margin-right: 2%;
}

/* 인덱스 박스 타이틀 (독립형) */
.idx_cnt .lat_title {
  display: block;
  margin-bottom: 12px;
  padding-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-primary);
  position: relative;
}

/* 인덱스 타이틀 하단 강조 바 */
.idx_cnt .lat_title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
}

/* 빈 게시판 목록 안내 */
.empty_li {
  text-align: center;
  line-height: 168px;
  color: var(--color-text-muted);
  padding: 0;
}

.empty_li::before {
  background: none;
  padding: 0;
}

/* 사이드 메뉴 */
#aside_ct {
  margin-top: 15px;
  width: 280px;
}

#aside_ct ul {
  margin: 0;
  padding: 0;
}

/* 메인 콘텐츠 영역 */
#container {
  z-index: 4;
  position: relative;
  float: left;
  width: 900px;
  min-height: 500px;
  font-size: 1em;
}

/* 메인 콘텐츠 clearfix */
#container::after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

/* 콘텐츠 페이지 제목 */
#container_title {
  padding-bottom: 10px;
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  border-bottom: 2.5px solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}


/* ===================================================
   메인 배너 (#main_bn_box)
   - 슬라이드 배너 컨테이너
   - 최대 1200px, 높이 140px
=================================================== */

/* 배너 외부 박스 */
#main_bn_box {
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-xl);
  margin-bottom: 40px;
  width: 100%;
  max-width: 1200px;
  height: 140px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* 배너 내부 슬라이더 */
#main_bn {
  position: relative;
  overflow: auto;
  width: 100% !important;
}

/* 배너 슬라이드 목록 */
#main_bn .bn_ul {
  margin: 0;
  padding: 0;
}

#main_bn .bn_ul li {
  float: left;
  list-style: none;
}

/* 배너 페이지 인디케이터 점 */
#main_bn .dots {
  position: absolute;
  bottom: 0px;
  text-align: right;
  width: 100%;
}

/* 배너 점 아이템 */
#main_bn .dots li {
  cursor: pointer;
  margin-right: 6px;
  text-indent: -9999px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  overflow: hidden;
  display: inline-block;
  transition: background var(--transition), width var(--transition);
}

/* 배너 활성 점 (확대 + 밝게) */
#main_bn .dots li.active {
  background: #fff;
  width: 24px;
  border-radius: var(--radius-full);
}


/* ===================================================
   🦶 하단 레이아웃 (Footer / #ft)
   - 사이트 최하단 영역
   - 저작권 정보, 링크, 회사 정보 포함
=================================================== */

/* 푸터 컨테이너 */
#ft {
  border-top: 1px solid var(--color-border-dark);
  background: var(--color-bg-white);
  margin-top: 52px;
}

/* 푸터 h1 숨김 */
#ft h1 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

/* 푸터 단락 */
#ft p {
  margin: 0;
  padding: 10px 0;
  line-height: 1.8em;
  color: var(--color-text-muted);
}

/* 푸터 캐치 영역 */
#ft_catch {
  position: relative;
  margin: 0 auto;
  padding: 28px 0 0;
  text-align: center;
}

/* 푸터 링크 영역 */
#ft_copy {
  background: linear-gradient(135deg, #fff2f3 0%, #fff8f8 100%);
  border-top: 1px solid var(--color-border);
}

/* 푸터 링크 내부 div */
#ft_copy div {
  position: relative;
  margin: 0 auto;
  padding: 14px 0;
  color: var(--color-text-muted);
  font-size: 0.85em;
}

/* 푸터 링크 */
#ft_copy a {
  display: inline-block;
  margin: 0 10px 0 0;
  color: inherit;
  transition: color var(--transition);
}

/* 푸터 링크 호버 */
#ft_copy a:hover {
  color: var(--color-primary);
}

/* 맨 위로 버튼 */
#ft_copy #ft_totop {
  position: absolute;
  top: 10px;
  right: 0;
}

/* 회사 정보 영역 */
#ft_company {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-white);
}

/* 회사 정보 단락 */
#ft_company p.ft_info {
  padding: 20px 0;
  line-height: 22px;
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: 0.85em;
}

/* 패밀리 사이트 링크 */
#ft_family {
  position: absolute;
  top: 0;
  right: 0;
}


/* ===================================================
   게시물 선택복사/이동
=================================================== */

/* 현재 위치 표시 (우측, 빨간색) */
.copymove_current {
  float: right;
  color: var(--color-danger);
  font-weight: 600;
}

/* 현재 위치 배경 */
.copymove_currentbg {
  background: var(--color-bg-light);
}


/* ===================================================
   화면 낭독기 / 본문 바로가기
   - 시각 장애인용 스크린리더 지원
   - 포커스 시에만 화면에 표시
=================================================== */

/* 로그인 메시지 숨김 */
#hd_login_msg {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

/* 스크린리더 전용 텍스트 */
.msg_sound_only,
.sound_only {
  display: inline-block !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0;
  line-height: 0;
  border: 0 !important;
  overflow: hidden !important;
}

/* 본문 바로가기 링크 (숨김 상태) */
#skip_to_container a {
  z-index: 100000;
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

/* 본문 바로가기 링크 포커스 시 표시 */
#skip_to_container a:focus,
#skip_to_container a:active {
  width: 100%;
  height: 50px;
  background: linear-gradient(90deg, var(--color-primary-deep), var(--color-primary));
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  line-height: 3em;
}


/* ===================================================
   캡챠 (#captcha)
   - 보안 문자 입력 영역
=================================================== */

/* 캡챠 컨테이너 */
#captcha {
  display: inline-block;
  position: relative;
}

/* 캡챠 legend 숨김 */
#captcha legend {
  position: absolute;
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  text-indent: -9999em;
  overflow: hidden;
}

/* 캡챠 이미지 */
#captcha #captcha_img {
  height: 40px;
  border: 1.5px solid var(--color-border-dark);
  vertical-align: top;
  padding: 0;
  margin: 0;
  border-radius: var(--radius-sm);
}

/* 캡챠 음성 버튼 */
#captcha #captcha_mp3 {
  margin: 0;
  padding: 0;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent url('../../../img/captcha2.png') no-repeat;
  vertical-align: middle;
  overflow: hidden;
  cursor: pointer;
  text-indent: -999px;
  border-radius: var(--radius-sm);
}

/* 캡챠 새로고침 버튼 */
#captcha #captcha_reload {
  margin: 0;
  padding: 0;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent url('../../../img/captcha2.png') no-repeat 0 -40px;
  vertical-align: middle;
  overflow: hidden;
  cursor: pointer;
  text-indent: -999px;
  border-radius: var(--radius-sm);
}

/* 캡챠 입력 필드 */
#captcha #captcha_key {
  margin: 0 0 0 3px;
  padding: 0 10px;
  width: 90px;
  height: 40px;
  border: 1.5px solid var(--color-border-dark);
  background: var(--color-bg-white);
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  border-radius: var(--radius-sm);
  vertical-align: top;
  color: var(--color-text);
}

/* 캡챠 안내 텍스트 */
#captcha #captcha_info {
  display: block;
  margin: 5px 0 0;
  font-size: 0.85em;
  color: var(--color-text-muted);
}

/* 모바일 캡챠 - 오디오 */
#captcha.m_captcha audio {
  display: block;
  margin: 0 0 5px;
  width: 187px;
}

/* 모바일 캡챠 - 이미지 */
#captcha.m_captcha #captcha_img {
  width: 160px;
  height: 60px;
  border: 1.5px solid var(--color-border-dark);
  margin-bottom: 3px;
  margin-top: 5px;
  display: block;
  border-radius: var(--radius-sm);
}

/* 모바일 캡챠 - 새로고침 버튼 */
#captcha.m_captcha #captcha_reload {
  position: static;
  margin: 0;
  padding: 0;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent url('../../../img/captcha2.png') no-repeat 0 -40px;
  vertical-align: middle;
  overflow: hidden;
  cursor: pointer;
  text-indent: -999px;
}

/* 모바일 캡챠 - 새로고침 span 숨김 */
#captcha.m_captcha #captcha_reload span {
  display: none;
}

/* 모바일 캡챠 - 입력 필드 */
#captcha.m_captcha #captcha_key {
  margin: 0;
  padding: 0 8px;
  width: 115px;
  height: 32px;
  border: 1.5px solid var(--color-border-dark);
  background: var(--color-bg-white);
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  line-height: 32px;
  margin-left: 3px;
  border-radius: var(--radius-sm);
}

/* 모바일 캡챠 - 안내 텍스트 */
#captcha.m_captcha #captcha_info {
  display: block;
  margin: 5px 0 0;
  font-size: 0.85em;
  color: var(--color-text-muted);
}

/* 모바일 캡챠 - 음성 버튼 */
#captcha.m_captcha #captcha_mp3 {
  width: 31px;
  height: 31px;
  background: url('../../../img/captcha2.png') no-repeat 0 0;
  vertical-align: top;
  overflow: hidden;
  cursor: pointer;
  text-indent: -9999px;
  border: none;
}


/* ===================================================
   CKEditor 관련 스타일
   - 에디터 단축코드(shortcode) 버튼
=================================================== */

/* 단축코드 영역 */
.cke_sc {
  margin: 0 0 8px;
  text-align: right;
}

/* 단축코드 버튼 */
.btn_cke_sc {
  display: inline-block;
  padding: 0 10px;
  height: 26px;
  border: 1.5px solid var(--color-border-dark);
  background: var(--color-bg-white);
  color: var(--color-text);
  text-decoration: none;
  line-height: 24px;
  vertical-align: middle;
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 0.85em;
  transition: all var(--transition);
}

/* 단축코드 버튼 호버 */
.btn_cke_sc:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* 단축코드 미리보기 박스 */
.cke_sc_def {
  margin: 0 0 8px;
  padding: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  text-align: center;
}

/* 단축코드 정의 목록 */
.cke_sc_def dl {
  margin: 0 0 5px;
  text-align: left;
}

.cke_sc_def dl::after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

.cke_sc_def dt,
.cke_sc_def dd {
  float: left;
  margin: 0;
  padding: 5px 0;
  border-bottom: 1px solid var(--color-border);
}

.cke_sc_def dt { width: 20%; font-weight: 600; }
.cke_sc_def dd { width: 30%; color: var(--color-text-muted); }

/* 게시물 본문 내 목록 스타일 (기본 ul/ol 복원) */
#bo_v_con ul { display: block; list-style-type: disc; margin: 1em 0; padding-left: 40px; }
#bo_v_con ol { display: block; list-style-type: decimal; margin: 1em 0; padding-left: 40px; }
#bo_v_con li { display: list-item; }


/* ===================================================
   🔵 버튼 (Buttons)
   - .btn        : 기본 버튼 (공통 flex 스타일)
   - .btn01      : 테두리형 버튼
   - .btn02      : 다크 버튼
   - .btn_submit : 제출 버튼 (Primary 색상)
   - .btn_close  : 닫기 버튼
   - .btn_cancel : 취소 버튼
   - .btn_frmline: 폼 라인 버튼
   - .btn_b01~04 : 게시판용 버튼
   - .btn_admin  : 관리자용 버튼
=================================================== */

/* 기본 버튼 공통 */
a.btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9em;
  border: 0;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition), opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

/* 기본 버튼 호버 (위로 살짝 이동) */
a.btn:hover,
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* 테두리형 버튼 (a 태그) */
a.btn01 {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1.5px solid var(--color-border-dark);
  background: var(--color-bg-white);
  color: var(--color-text);
  text-decoration: none;
  vertical-align: middle;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  transition: all var(--transition);
}

/* 테두리형 버튼 호버 */
a.btn01:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* 테두리형 버튼 (button 태그) */
button.btn01 {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 6px 14px;
  border: 1.5px solid var(--color-border-dark);
  background: var(--color-bg-white);
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  transition: all var(--transition);
}

/* 테두리형 button 호버 */
button.btn01:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* 다크 버튼 (a 태그) */
a.btn02 {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid #2d2d3a;
  background: #2d2d3a;
  color: #fff;
  text-decoration: none;
  vertical-align: middle;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  transition: all var(--transition);
}

/* 다크 버튼 호버 */
a.btn02:hover,
.btn02:hover {
  background: #404055;
}

/* 다크 버튼 (button 태그) */
button.btn02 {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 6px 14px;
  border: 1px solid #2d2d3a;
  background: #2d2d3a;
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  transition: all var(--transition);
}

/* 버튼 확인 정렬 */
.btn_confirm {
  text-align: right;
}

/* 제출 버튼 (Primary 그라디언트) */
.btn_submit {
  border: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 0 20px;
  height: 40px;
  font-weight: 600;
  font-size: 0.95em;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(232,44,60,.3);
}

/* 제출 버튼 호버 */
.btn_submit:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-deep) 100%);
  box-shadow: 0 4px 14px rgba(232,44,60,.4);
  transform: translateY(-1px);
}

/* 닫기 버튼 */
.btn_close {
  border: 1.5px solid var(--color-border-dark);
  cursor: pointer;
  border-radius: var(--radius-sm);
  background: var(--color-bg-white);
  padding: 0 16px;
  height: 40px;
  color: var(--color-text-muted);
  font-size: 0.9em;
  transition: all var(--transition);
}

/* 닫기 버튼 호버 */
.btn_close:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* 닫기 버튼 (a 태그) */
a.btn_close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: normal;
  height: 40px;
}

/* 취소 버튼 (a 태그) */
a.btn_cancel {
  display: inline-flex;
  align-items: center;
  background: var(--color-secondary);
  color: #fff;
  text-decoration: none;
  vertical-align: middle;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  transition: all var(--transition);
}

/* 취소 버튼 (button 태그) */
button.btn_cancel {
  display: inline-flex;
  align-items: center;
  background: var(--color-secondary);
  color: #fff;
  text-decoration: none;
  vertical-align: middle;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 0;
  font-size: 0.9em;
  transition: all var(--transition);
}

/* 취소 버튼 호버 */
.btn_cancel:hover {
  background: #5a6473;
}

/* 폼 라인 버튼 (a, button 공통) */
a.btn_frmline,
button.btn_frmline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  height: 40px;
  border: 0;
  background: #2d2d3a;
  border-radius: var(--radius-sm);
  color: #fff;
  text-decoration: none;
  vertical-align: top;
  font-size: 0.9em;
  font-weight: 500;
  transition: background var(--transition);
}

/* 폼 라인 버튼 호버 */
a.btn_frmline:hover,
button.btn_frmline:hover {
  background: #404055;
}

/* 게시판 버튼 01 - 텍스트형 (투명) */
a.btn_b01,
.btn_b01 {
  display: inline-flex;
  align-items: center;
  color: var(--color-text-light);
  text-decoration: none;
  vertical-align: middle;
  border: 0;
  background: transparent;
  font-size: 0.9em;
  transition: color var(--transition);
}

.btn_b01:hover {
  color: var(--color-text);
}

/* 게시판 버튼 02 - Primary 색상 (글쓰기 등) */
a.btn_b02,
.btn_b02 {
  display: inline-flex;
  align-items: center;
  background: var(--color-primary);
  padding: 6px 14px;
  color: #fff;
  text-decoration: none;
  border: 0;
  vertical-align: middle;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  font-weight: 500;
  transition: background var(--transition), box-shadow var(--transition);
}

a.btn_b02:hover,
.btn_b02:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 3px 10px rgba(232,44,60,.35);
}

/* 게시판 버튼 03 - 테두리형 */
a.btn_b03,
.btn_b03 {
  display: inline-flex;
  align-items: center;
  background: var(--color-bg-white);
  border: 1.5px solid var(--color-border-dark);
  color: var(--color-text-muted);
  text-decoration: none;
  vertical-align: middle;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  transition: all var(--transition);
}

a.btn_b03:hover,
.btn_b03:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* 게시판 버튼 04 - 연한 테두리형 */
a.btn_b04,
.btn_b04 {
  display: inline-flex;
  align-items: center;
  background: var(--color-bg-white);
  border: 1.5px solid var(--color-border-dark);
  color: var(--color-text-muted);
  text-decoration: none;
  vertical-align: middle;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  transition: all var(--transition);
}

a.btn_b04:hover,
.btn_b04:hover {
  color: var(--color-text);
  background: var(--color-bg-light);
}

/* 관리자 버튼 (빨간 텍스트) */
a.btn_admin,
.btn_admin {
  display: inline-flex;
  align-items: center;
  color: var(--color-danger);
  text-decoration: none;
  vertical-align: middle;
  font-size: 0.9em;
  transition: color var(--transition);
}

.btn_admin:hover,
a.btn_admin:hover {
  color: var(--color-primary-deep);
}


/* ===================================================
   기본 테이블 (.tbl_wrap, .tbl_head01, .tbl_head02)
   - .tbl_wrap   : 테이블 래퍼 (상단 틸 테두리)
   - .tbl_head01 : 기본 목록형 테이블
   - .tbl_head02 : 폼형 테이블
=================================================== */

/* 기본 테이블 래퍼 */
.tbl_wrap table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  background: var(--color-bg-white);
  border-top: 2.5px solid var(--color-primary);
  border-bottom: 1px solid var(--color-border-dark);
}

/* 테이블 캡션 */
.tbl_wrap caption {
  padding: 10px 0;
  font-weight: 700;
  text-align: left;
  color: var(--color-text);
}

/* 목록형 테이블 01 */
.tbl_head01 {
  margin: 0 0 16px;
}

.tbl_head01 caption {
  padding: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

/* 목록형 테이블 01 - 헤더 */
.tbl_head01 thead th {
  padding: 14px 8px;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid var(--color-border-dark);
  height: 46px;
  background: linear-gradient(135deg, var(--color-bg-light) 0%, #fff6f7 100%);
  color: var(--color-text-muted);
  font-size: 0.9em;
}

.tbl_head01 thead a {
  color: var(--color-text-muted);
}

.tbl_head01 thead th input {
  vertical-align: top;
}

/* 목록형 테이블 01 - 푸터 */
.tbl_head01 tfoot th,
.tbl_head01 tfoot td {
  padding: 10px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-light);
  text-align: center;
}

/* 목록형 테이블 01 - th 셀 */
.tbl_head01 tbody th {
  padding: 10px 8px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-light);
}

/* 목록형 테이블 01 - td 셀 */
.tbl_head01 td {
  color: var(--color-text-muted);
  padding: 12px 8px;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.5em;
  height: 52px;
  word-break: break-all;
  font-size: 0.92em;
}

/* 목록형 테이블 01 - 행 호버 */
.tbl_head01 tbody tr:hover td {
  background: var(--color-primary-light);
}

/* 목록형 테이블 01 - 링크 호버 */
.tbl_head01 a:hover {
  text-decoration: underline;
  color: var(--color-primary);
}

/* 목록형 테이블 02 */
.tbl_head02 {
  margin: 0 0 16px;
}

.tbl_head02 caption {
  padding: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

/* 목록형 테이블 02 - 헤더 */
.tbl_head02 thead th {
  padding: 8px;
  border-top: 2.5px solid var(--color-primary);
  border-bottom: 1px solid var(--color-border-dark);
  background: var(--color-bg-light);
  color: var(--color-text-muted);
  font-size: 0.9em;
  text-align: center;
  font-weight: 600;
}

.tbl_head02 thead a {
  color: var(--color-text-muted);
}

.tbl_head02 thead th input {
  vertical-align: top;
}

/* 목록형 테이블 02 - 푸터 */
.tbl_head02 tfoot th,
.tbl_head02 tfoot td {
  padding: 10px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-light);
  text-align: center;
}

/* 목록형 테이블 02 - th 셀 */
.tbl_head02 tbody th {
  padding: 8px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-white);
}

/* 목록형 테이블 02 - td 셀 */
.tbl_head02 td {
  padding: 8px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-white);
  line-height: 1.5em;
  word-break: break-all;
  font-size: 0.92em;
}


/* ===================================================
   폼 테이블 (.tbl_frm01)
   - 입력 폼에 사용되는 th/td 레이아웃
=================================================== */

/* 폼 테이블 */
.tbl_frm01 {
  margin: 0 0 24px;
}

.tbl_frm01 table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

/* 폼 테이블 - th (레이블) */
.tbl_frm01 th {
  width: 80px;
  padding: 10px 16px;
  border: 1px solid var(--color-border-dark);
  border-left: 0;
  background: linear-gradient(135deg, var(--color-bg-light), #fff8f8);
  text-align: left;
  font-weight: 600;
  font-size: 0.9em;
  color: var(--color-text-muted);
}

/* 폼 테이블 - td (입력 필드) */
.tbl_frm01 td {
  padding: 8px 12px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: transparent;
}

/* 폼 입력 필드 공통 (textarea, input 등) */
.wr_content textarea,
.tbl_frm01 textarea,
.form_01 textarea,
.frm_input {
  border: 1.5px solid var(--color-border-dark);
  background: var(--color-bg-white);
  color: var(--color-text);
  vertical-align: middle;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: var(--font-family);
}

/* 폼 입력 필드 포커스 */
.wr_content textarea:focus,
.tbl_frm01 textarea:focus,
.form_01 textarea:focus,
.frm_input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(232,44,60,.15);
  outline: none;
}

/* 폼 textarea 패딩 */
.tbl_frm01 textarea {
  padding: 8px 10px;
}

/* 기본 입력 필드 높이 */
.frm_input {
  height: 42px;
}

/* 입력 필드 너비 클래스 */
.full_input      { width: 100%; }                /* 전체 너비 */
.half_input      { width: 49.5%; }               /* 절반 너비 */
.twopart_input   { width: 385px; margin-right: 10px; }  /* 2분할 너비 */

/* 폼 textarea 크기 */
.tbl_frm01 textarea,
.write_div textarea {
  width: 100%;
  height: 110px;
}

/* 폼 링크 색상 */
.tbl_frm01 a {
  text-decoration: none;
  color: var(--color-primary);
}

/* 폼 파일 필드 */
.tbl_frm01 .frm_file {
  display: block;
  margin-bottom: 6px;
}

/* 폼 안내 텍스트 */
.tbl_frm01 .frm_info {
  display: block;
  padding: 0 0 6px;
  line-height: 1.5em;
  color: var(--color-text-muted);
  font-size: 0.88em;
}


/* ===================================================
   기본 리스트 (.list_01)
   - 홀수행 배경 구분
   - 호버 시 들여쓰기 효과
=================================================== */

/* 리스트 상단 테두리 */
.list_01 ul {
  border-top: 1.5px solid var(--color-border-dark);
}

/* 리스트 아이템 */
.list_01 li {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-white);
  padding: 14px 18px;
  list-style: none;
  position: relative;
  transition: background var(--transition), padding-left var(--transition);
}

/* 홀수 행 배경 */
.list_01 li:nth-child(odd) {
  background: #fffafa;
}

/* 리스트 clearfix */
.list_01 li::after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

/* 리스트 호버 (들여쓰기 + 배경 변경) */
.list_01 li:hover {
  background: var(--color-primary-light);
  padding-left: 22px;
}

/* 빈 리스트 안내 */
.list_01 li.empty_li {
  text-align: center;
  padding: 24px 0;
  color: var(--color-text-muted);
}


/* ===================================================
   폼 리스트 (.form_01)
   - float 기반 입력 레이아웃
=================================================== */

.form_01 h2 { font-size: 1.1em; font-weight: 700; }
.form_01 li { margin-bottom: 12px; }

.form_01 ul::after,
.form_01 li::after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

.form_01 .left_input   { float: left; }
.form_01 .margin_input { margin-right: 1%; }
.form_01 textarea      { height: 110px; width: 100%; }

.form_01 .frm_label {
  display: inline-block;
  width: 130px;
  font-weight: 500;
  color: var(--color-text-muted);
}


/* ===================================================
   자료 없는 목록 (Empty State)
=================================================== */

/* 테이블 빈 행 */
.empty_table {
  padding: 60px 0 !important;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95em;
}

/* 리스트 빈 항목 */
.empty_list {
  padding: 24px 0 !important;
  color: var(--color-text-muted);
  text-align: center;
  font-size: 0.92em;
}


/* ===================================================
   필수 입력 표시 (.required)
   - 우측 상단에 필수 아이콘 표시
=================================================== */
.required,
textarea.required {
  background-image: url('../img/require.png') !important;
  background-repeat: no-repeat !important;
  background-position: right top !important;
}


/* ===================================================
   테이블 컬럼 너비/정렬 클래스
   - td_board   : 게시판 구분 (80px, 중앙)
   - td_category: 카테고리 (80px, 중앙)
   - td_chk     : 체크박스 (32px, 중앙)
   - td_date    : 날짜 (68px, 중앙)
   - td_datetime: 날짜시간 (116px, 중앙)
   - td_group   : 그룹 (80px, 중앙)
   - td_mb_id   : 회원ID (100px, 중앙)
   - td_mng     : 관리 (80px, 중앙)
   - td_name    : 이름 (100px, 좌측)
   - td_nick    : 닉네임 (100px, 중앙)
   - td_num     : 번호 (52px, 중앙)
   - td_numbig  : 큰 번호 (80px, 중앙)
   - td_stat    : 상태 (60px, 중앙)
=================================================== */
.td_board    { width: 80px;  text-align: center; }
.td_category { width: 80px;  text-align: center; }
.td_chk      { width: 32px;  text-align: center; }
.td_date     { width: 68px;  text-align: center; }
.td_datetime { width: 116px; text-align: center; }
.td_group    { width: 80px;  text-align: center; }
.td_mb_id    { width: 100px; text-align: center; }
.td_mng      { width: 80px;  text-align: center; }
.td_name     { width: 100px; text-align: left;   }
.td_nick     { width: 100px; text-align: center; }
.td_num      { width: 52px;  text-align: center; }
.td_numbig   { width: 80px;  text-align: center; }
.td_stat     { width: 60px;  text-align: center; }

/* 상태 텍스트 색상 클래스 */
.txt_active  { color: var(--color-success); font-weight: 600; }  /* 활성 (초록) */
.txt_done    { color: var(--color-danger);  font-weight: 600; }  /* 완료/비활성 (빨간) */
.txt_expired { color: var(--color-text-light); }                 /* 만료 (회색) */
.txt_rdy     { color: #16a34a; font-weight: 600; }               /* 준비 (초록) */


/* ===================================================
   새창 기본 스타일 (.new_win)
   - 레이어 팝업 / 새 창에서 열리는 콘텐츠 스타일
=================================================== */

/* 새창 컨테이너 */
.new_win {
  position: relative;
}

.new_win .tbl_wrap {
  margin: 0 20px;
}

/* 새창 제목 바 */
.new_win #win_title {
  font-size: 1.15em;
  font-weight: 700;
  height: 54px;
  line-height: 54px;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--color-primary-light), #fff);
  color: var(--color-primary-deep);
  box-shadow: var(--shadow-sm);
  border-bottom: 2px solid var(--color-border-dark);
}

/* 새창 제목 서브텍스트 */
.new_win #win_title .sv {
  font-size: 0.75em;
  line-height: 1.2em;
}

/* 새창 탭 목록 */
.new_win .win_ul {
  margin-bottom: 16px;
  padding: 0 20px;
}

.new_win .win_ul::after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

/* 새창 탭 아이템 */
.new_win .win_ul li {
  float: left;
  background: var(--color-bg-white);
  text-align: center;
  padding: 0 12px;
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-full);
  margin-left: 6px;
  transition: all var(--transition);
}

.new_win .win_ul li:first-child {
  margin-left: 0;
}

.new_win .win_ul li a {
  display: block;
  padding: 7px 0;
  color: var(--color-text-muted);
  font-size: 0.9em;
}

/* 새창 탭 활성 상태 */
.new_win .win_ul .selected {
  background: var(--color-primary);
  border-color: var(--color-primary);
  position: relative;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(232,44,60,.3);
}

.new_win .win_ul .selected a {
  color: #fff;
  font-weight: 600;
}

/* 새창 설명 박스 */
.new_win .win_desc {
  position: relative;
  margin: 10px;
  border-radius: var(--radius-md);
  font-size: 0.95em;
  background: linear-gradient(135deg, #fff0f1, var(--color-primary-light));
  color: var(--color-primary-deep);
  line-height: 50px;
  text-align: left;
  padding: 0 20px;
  border: 1px solid var(--color-primary-mid);
}

.new_win .win_desc i {
  font-size: 1.2em;
  vertical-align: baseline;
}

/* 새창 설명 박스 좌측 강조 바 */
.new_win .win_desc::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 50px;
  background: var(--color-primary);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.new_win .frm_info {
  font-size: 0.88em;
  color: var(--color-text-muted);
}

/* 새창 전체 개수 표시 */
.new_win .win_total {
  float: right;
  display: inline-block;
  line-height: 30px;
  font-weight: 500;
  font-size: 0.8em;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-primary-mid);
}

/* 새창 콘텐츠 영역 */
.new_win .new_win_con {
  margin: 20px 0;
  padding: 20px;
}

.new_win .new_win_con::after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

.new_win .new_win_con2 { margin: 20px 0; }

.new_win .btn_confirm::after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

.new_win .win_btn { text-align: center; margin: 12px 0; }
.new_win .btn_close  { height: 42px; width: 66px; overflow: hidden; cursor: pointer; }
.new_win .btn_submit { padding: 0 24px; height: 42px; font-weight: 700; font-size: 1em; }


/* ===================================================
   검색 결과 강조 (.sch_word)
   - 검색어 매칭 부분 틸 배지로 표시
=================================================== */
.sch_word {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent2));
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  line-height: 1.6;
  margin: 0 2px;
  font-size: 0.85em;
  font-weight: 600;
}


/* ===================================================
   JS Alert 대안 (#validation_check)
   - JavaScript 알림 대신 페이지 내 메시지 표시
=================================================== */
#validation_check {
  margin: 100px auto;
  width: min(500px, 92%);
}

#validation_check h1 {
  margin-bottom: 20px;
  font-size: 1.3em;
}

#validation_check p {
  margin-bottom: 20px;
  padding: 24px 20px;
  border: 1px solid var(--color-border-dark);
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  line-height: 1.7;
  color: var(--color-text-muted);
}


/* ===================================================
   사이드뷰 (.sv_wrap)
   - 닉네임/아이디 위에 표시되는 미니 프로필 팝업
=================================================== */

/* 사이드뷰 래퍼 */
.sv_wrap {
  position: relative;
  font-weight: normal;
}

/* 사이드뷰 팝업 (기본 숨김) */
.sv_wrap .sv {
  z-index: 1000;
  display: none;
  margin: 6px 0 0;
  font-size: 0.88em;
  background: var(--color-primary-deep);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* 사이드뷰 화살표 꼬리 */
.sv_wrap .sv::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 15px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 6px 6px;
  border-color: transparent transparent var(--color-primary-deep) transparent;
}

/* 사이드뷰 링크 */
.sv_wrap .sv a {
  display: inline-block;
  margin: 0;
  padding: 0 12px;
  line-height: 34px;
  width: 110px;
  font-weight: 400;
  color: rgba(255,210,215,0.9);
  transition: all var(--transition);
}

/* 사이드뷰 링크 호버 */
.sv_wrap .sv a:hover {
  background: var(--color-primary);
  color: #fff;
}

/* 사이드뷰 회원 이름 */
.sv_member {
  color: var(--color-text);
}

/* 사이드뷰 활성 (JavaScript로 추가) */
.sv_on {
  display: block !important;
  position: absolute;
  top: 26px;
  left: 0;
  width: auto;
  height: auto;
}

/* JS 비활성 시 항상 표시 */
.sv_nojs .sv {
  display: block;
}


/* ===================================================
   페이징 (Pagination / .pg_wrap)
   - 게시판 페이지 이동 버튼
   - .pg_page    : 일반 페이지 버튼
   - .pg_current : 현재 페이지 (Primary 색상)
   - .pg_start/prev/end/next : 이동 버튼
=================================================== */

/* 페이징 래퍼 */
.pg_wrap {
  clear: both;
  float: left;
  display: inline-block;
  width: 100%;
}

.pg_wrap::after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

/* 페이징 컨테이너 (flex 중앙 정렬) */
.pg {
  text-align: center;
  margin: 24px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

/* 페이지 버튼 공통 */
.pg_page,
.pg_current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
}

.pg a:focus,
.pg a:hover {
  text-decoration: none;
}

/* 일반 페이지 버튼 */
.pg_page {
  color: var(--color-text-muted);
  font-size: 0.9em;
  height: 34px;
  line-height: 32px;
  padding: 0 10px;
  min-width: 34px;
  text-decoration: none;
  background: var(--color-bg-white);
  transition: all var(--transition);
}

/* 페이지 버튼 호버 */
.pg_page:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(232,44,60,.15);
}

/* 이전/다음/처음/끝 이동 버튼 */
.pg_start,
.pg_prev,
.pg_end,
.pg_next {
  overflow: hidden;
  background: var(--color-bg-white);
  padding: 0;
  border: 1.5px solid var(--color-border-dark);
  height: 34px;
  min-width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

/* 이동 버튼 아이콘 (CSS 생성) */
.pg_start::before  { content: "«"; }
.pg_prev::before   { content: "‹"; font-size: 1.2em; }
.pg_end::before    { content: "»"; }
.pg_next::before   { content: "›"; font-size: 1.2em; }

/* 이동 버튼 텍스트 숨김 (아이콘만 표시) */
.pg_start span,
.pg_prev span,
.pg_end span,
.pg_next span {
  display: none;
}

/* 이동 버튼 호버 */
.pg_start:hover,
.pg_prev:hover,
.pg_end:hover,
.pg_next:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* 현재 페이지 버튼 (활성) */
.pg_current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border: 1.5px solid var(--color-primary);
  color: #fff;
  font-weight: 700;
  height: 34px;
  line-height: 34px;
  padding: 0 10px;
  min-width: 34px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(232,44,60,.3);
}


/* ===================================================
   CKEditor 팝업 창
   - box-sizing 초기화 (content-box 복원)
=================================================== */
.cheditor-popup-window *,
.cheditor-popup-window ::after,
.cheditor-popup-window ::before {
  box-sizing: content-box;
}


/* ===================================================
   이미지 유틸리티
=================================================== */
.img_fix {
  width: 100%;
  height: auto;
}


/* ===================================================
   🎨 이미지픽커 & 테마 커스터마이저
   - #customizer_toggle : 우하단 고정 플로팅 버튼
   - #theme_customizer  : 색상/폰트 변경 패널
=================================================== */

/* 테마 커스터마이저 토글 버튼 (플로팅) */
#customizer_toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(232,44,60,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

/* 토글 버튼 호버 (회전 + 확대) */
#customizer_toggle:hover {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-deep));
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 6px 24px rgba(232,44,60,.55);
}

/* 테마 커스터마이저 패널 */
#theme_customizer {
  position: fixed;
  bottom: 94px;
  right: 24px;
  z-index: 99998;
  width: 300px;
  background: var(--color-bg-white);
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 20px;
  display: none;
  font-size: 0.92em;
}

/* 커스터마이저 제목 */
#theme_customizer h4 {
  margin: 0 0 18px 0;
  font-size: 1.1em;
  color: var(--color-primary-deep);
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--color-border-dark);
}

/* 커스터마이저 레이블 */
#theme_customizer label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 0.9em;
}

/* 커스터마이저 색상 피커 */
#theme_customizer input[type="color"] {
  width: 100%;
  height: 42px;
  padding: 4px;
  border: 2px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition);
}

#theme_customizer input[type="color"]:hover {
  border-color: var(--color-primary);
}

/* 커스터마이저 파일/텍스트 입력 */
#theme_customizer input[type="file"],
#theme_customizer input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

#theme_customizer input[type="text"]:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(232,44,60,.12);
  outline: none;
}

/* 커스터마이저 적용 버튼 */
#theme_customizer button {
  width: 100%;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

#theme_customizer button:hover {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-deep));
  box-shadow: 0 3px 10px rgba(232,44,60,.3);
}


/* ===================================================
   📱 반응형 (Responsive) - 태블릿 (≤ 1240px)
   ※ 1200px 고정 레이아웃이 viewport보다 클 때 패딩 처리
   - 외부 래퍼 min-width 해제
   - 내부 래퍼 100% + 좌우 패딩으로 전환
   - container + aside 비율 조정
=================================================== */
@media screen and (max-width: 1240px) {

  /* 외부 래퍼 min-width 해제 */
  #hd, #wrapper, #ft {
    min-width: 0;
  }

  /* 내부 래퍼 100% + 좌우 패딩 16px */
  #hd_pop,
  #hd_wrapper,
  #hd_tnb,
  #gnb_1dul,
  #wrapper,
  #ft_catch,
  #ft_wr,
  #ft_copy div,
  #ft_company p.ft_info {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 콘텐츠 + 사이드바 비율 (사이드바 280px 제외) */
  #container { float: left; width: calc(100% - 296px); }
  #aside     { width: 280px; }
  #aside_ct  { width: 100%; }

  /* 배너 높이 자동 */
  #main_bn_box { width: 100%; height: auto; min-height: 200px; }

  /* GNB 수평 스크롤 처리 */
  #gnb_1dul {
    padding-left: 8px;
    padding-right: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .gnb_1da {
    padding: 0 12px;
    height: 42px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* 테이블 셀 패딩 축소 */
  .tbl_head01 td,
  .tbl_head01 thead th {
    padding: 10px 6px;
  }

} /* end @media 1240px */


/* ===================================================
   📱 반응형 (Responsive) - 모바일 (≤ 768px)
   - 상단 띠 숨김
   - 헤더 flex-wrap 처리
   - GNB 모바일 메뉴 (아코디언)
   - 콘텐츠 + 사이드바 수직 배치
   - 테이블 수평 스크롤
=================================================== */
@media screen and (max-width: 768px) {

  /* 기본 폰트 크기 축소 */
  body { font-size: var(--font-mobile); }

  /* 상단 띠 숨김 */
  #hd_top { display: none; }

  /* 헤더 래퍼 */
  #hd_wrapper {
    padding: 12px 14px;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
  }

  /* 로고 */
  #logo { flex-shrink: 0; }
  #logo img { max-height: 36px; width: auto; }

  /* 검색창 - 3번째 줄로 이동 */
  #hd_sch {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin: 0;
    flex: none;
  }

  /* 텍스트 크기 버튼 숨김 */
  #text_size { display: none; }

  /* 모바일 햄버거 버튼 표시 */
  #mobile_menu_toggle {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  /* GNB 모바일 - 접힘 상태 (첫 메뉴 1줄만 표시) */
  #gnb {
    overflow: hidden;
    max-height: 46px;
    transition: max-height 0.35s cubic-bezier(.4,0,.2,1);
  }

  /* GNB 모바일 - 펼침 상태 (JS에서 .gnb_open 추가) */
  #gnb.gnb_open {
    max-height: 600px;
  }

  /* GNB 목록 수직 배치 */
  #gnb_1dul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    width: 100%;
  }

  /* GNB 1단계 아이템 전체 너비 */
  .gnb_1dli {
    display: block;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  /* GNB 1단계 링크 전체 너비 */
  .gnb_1da {
    display: flex;
    width: 100%;
    padding: 0 16px;
    height: 44px;
    justify-content: space-between;
  }

  /* GNB 2단계 드롭다운 → 인라인으로 변경 */
  .gnb_2dul {
    display: none;
    position: static;
    width: 100%;
    background: rgba(0,0,0,.18);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 4px 0;
  }

  /* GNB 2단계 오버 시 표시 */
  .gnb_1dli_over .gnb_2dul,
  .gnb_1dli_over2 .gnb_2dul {
    display: block;
  }

  /* GNB 2단계 링크 모바일 */
  .gnb_2da {
    color: rgba(255,230,232,.92) !important;
    padding: 9px 28px;
    font-size: 12.5px;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .gnb_2da:hover {
    background: rgba(255,255,255,.12);
    color: #fff !important;
    padding-left: 34px;
  }

  /* 콘텐츠 영역 수직 배치 */
  #wrapper    { margin-top: 18px; padding-left: 12px; padding-right: 12px; }
  #container  { float: none; width: 100%; }
  #aside      { width: 100%; float: none; }

  /* 게시판 목록 박스 2열 → 1열 전환 (모바일만 적용)
     - PC: .lt_li_left(좌) + .lt_li_right(우) 49%씩 나란히
     - 모바일: float 해제 → 왼쪽 박스 아래에 오른쪽 박스가 순서대로 배치 */
  .idx_cnt .lt_li {
    float: none;        /* float 해제 → 수직 배치 */
    width: 100%;        /* 49% → 전체 너비 */
    display: block;
    margin-bottom: 20px;
  }
  .idx_cnt .lt_li_left {
    margin-right: 0;    /* 2% 간격 제거 */
  }

  /* 배너 높이 자동 */
  #main_bn_box { height: auto; min-height: 160px; border-radius: var(--radius-md); }

  /* 테이블 수평 스크롤 */
  .tbl_wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tbl_head01 table { min-width: 540px; }

  /* 버튼 전체 너비 */
  .btn_submit    { width: 100%; justify-content: center; }
  .twopart_input { width: 100%; margin-right: 0; }
  .half_input    { width: 100%; }

  /* 페이지네이션 축소 */
  .pg { gap: 3px; }
  .pg_page, .pg_start, .pg_prev, .pg_end, .pg_next {
    height: 30px;
    min-width: 30px;
    font-size: 0.85em;
  }
  .pg_current { height: 30px; min-width: 30px; padding: 0 8px; }

  /* 팝업 너비 조정 */
  .hd_pops { width: 92vw !important; left: 4vw !important; }

  /* 푸터 간격 조정 */
  #ft         { margin-top: 32px; }
  #ft_catch   { padding: 20px 16px 0; }
  #ft_copy div { padding: 12px 16px; }
  #ft_copy #ft_totop { position: static; display: block; margin-top: 8px; }
  #ft_family  { position: static; }

  /* 커스터마이저 버튼 */
  #customizer_toggle { bottom: 16px; right: 16px; width: 48px; height: 48px; font-size: 22px; }
  #theme_customizer  { right: 16px; bottom: 78px; width: min(280px, calc(100vw - 32px)); }

} /* end @media 768px */


/* ===================================================
   📱 반응형 - 소형 모바일 (≤ 480px)
   - 헤더 패딩 더 축소
   - 로고 크기 더 축소
   - GNB 폰트 크기 축소
   - 페이지네이션 근접 페이지만 표시
=================================================== */
@media screen and (max-width: 480px) {

  /* 헤더 래퍼 패딩 축소 */
  #hd_wrapper { padding: 10px 12px; gap: 8px; }

  /* 로고 크기 축소 */
  #logo img { max-height: 30px; }

  /* GNB 폰트 크기 축소 */
  .gnb_1da { height: 42px; font-size: 13px; }

  /* 콘텐츠 래퍼 패딩 축소 */
  #wrapper { padding-left: 10px; padding-right: 10px; }

  /* 새창 내부 패딩 축소 */
  .new_win .new_win_con { padding: 14px; }
  .new_win .win_ul      { padding: 0 14px; }

  /* 페이지네이션: 현재 페이지 근처만 표시 */
  .pg_page { display: none; }
  .pg_page.pg_page_near { display: inline-flex; }

  /* 유효성 검사 박스 */
  #validation_check { width: 92%; margin: 60px auto; }

} /* end @media 480px */


/* ===================================================
   ✨ 애니메이션 & 마이크로 인터랙션
   - fadeInUp    : 페이지 콘텐츠 진입 애니메이션
   - redPulse    : 검색 버튼 포커스 시 펄스 효과
   - moa_fadeIn  : 컨테이너 페이드인 (별도)
   - 로고 호버   : 살짝 확대 효과
   - GNB 언더라인: 활성 메뉴 하단 흰색 바
   - 글쓰기 버튼 : 클릭 시 리플 효과
=================================================== */

/* 위로 올라오며 페이드인 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 검색 버튼 펄스 (포커스 시) */
@keyframes redPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,44,60,.4); }
  50%       { box-shadow: 0 0 0 8px rgba(232,44,60,0); }
}

/* 컨테이너 페이드인 (그누보드 기본 방식) */
@keyframes moa_fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 헤더 로고 호버 효과 */
#logo a {
  transition: opacity var(--transition), transform var(--transition);
  display: inline-block;
}
#logo a:hover { opacity: 0.88; transform: scale(1.03); }

/* GNB 활성 메뉴 하단 흰색 언더라인 바 */
.gnb_1dli_on .gnb_1da {
  position: relative;
}
.gnb_1dli_on .gnb_1da::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: rgba(255,255,255,.85);
  border-radius: 2px 2px 0 0;
}

/* 컨테이너 페이드인 애니메이션 적용 */
#container {
  animation: fadeInUp 0.3s ease;
}

/* 검색창 포커스 시 제출 버튼 펄스 */
#hd_sch:focus-within #sch_submit {
  animation: redPulse 1.5s infinite;
}

/* 글쓰기 버튼 리플 효과 */
.btn_b02 {
  position: relative;
  overflow: hidden;
}

/* 리플 원형 레이어 (기본 숨김) */
.btn_b02::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

/* 글쓰기 버튼 클릭 시 리플 확대 */
.btn_b02:active::before {
  width: 200px;
  height: 200px;
  opacity: 1;
}


/* ============================================================
   🎨 PREMIUM REDESIGN - MOA.AI.KR
   ─────────────────────────────────────────────────────────────
   규칙:
     - float / width / display 등 레이아웃 관련 속성은 건드리지 않음
     - 색상 · 폰트 · 그림자 · 테두리 등 시각 스타일만 덮어씀
     - :root 변수 재정의로 전체 테마를 틸(Teal) 팔레트로 통일
   ─────────────────────────────────────────────────────────────
   섹션 구성:
     1.  CSS 변수 재정의 (틸 팔레트)
     2.  TOP BAR
     3.  Sticky HEADER (#hd_wrapper)
     4.  로고
     5.  검색창
     6.  헤더 액션 버튼
     7.  GNB
     8.  메인 배너
     9.  게시글 박스 (.lt)
     10. 컨테이너 타이틀
     11. FOOTER
     12. 모바일 메뉴 토글
     13. 테마 커스터마이저 버튼
     14. 반응형: 헤더만
   ============================================================ */

/* ── 1. CSS 변수 재정의 (틸 팔레트) ── */
:root {
  --color-primary:       #408080;   /* 메인 틸 */
  --color-primary-dark:  #305F5F;   /* 진한 틸 */
  --color-primary-deep:  #1e4040;   /* 매우 진한 틸 (GNB/Footer 배경) */
  --color-primary-light: #A2D0D0;   /* 연한 틸 (호버 배경) */
  --color-primary-pale:  #e0f2f2;   /* 극 연한 틸 (버튼 배경) */
  --color-ink:           #0d1f1f;   /* 기본 텍스트 (진한 틸 기반) */
  --color-ink-mid:       #2a3f3f;   /* 중간 텍스트 */
  --color-ink-soft:      #5a7070;   /* 흐린 텍스트 */
  --color-ink-faint:     #9ab0b0;   /* 매우 흐린 텍스트 (placeholder) */
  --color-cream:         #f8fafa;   /* 배경 크림색 */
  --color-white:         #ffffff;   /* 흰색 */
  --color-gold:          #c9a84c;   /* 골드색 (관리자 강조) */
  --font-display:        'Montserrat', 'Noto Sans KR', sans-serif; /* 디스플레이 폰트 */
  --shadow-card:         0 4px 20px rgba(30,64,64,.08), 0 1px 4px rgba(30,64,64,.04); /* 카드 그림자 */
  --shadow-hover:        0 16px 48px rgba(30,64,64,.12);                               /* 호버 그림자 */
}

/* ── body 배경색 크림으로 재설정 ── */
body {
  background: var(--color-cream);
  color: var(--color-ink);
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── 2. TOP BAR ── */

/* 상단 띠 배경 (진한 틸 그라디언트) */
#hd_top {
  background: linear-gradient(135deg, var(--color-primary-deep), var(--color-primary-dark));
  border-bottom: none;
}

/* TNB 링크 */
#tnb li a        { color: rgba(255,255,255,.75); font-size: 12px; }

/* TNB 링크 호버 / 굵은 텍스트 (활성) */
#tnb li a:hover,
#tnb li a b      { color: var(--color-primary-light); }

/* TNB 구분선 (li 사이) */
#tnb li + li::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 10px;
  background: rgba(255,255,255,.25);
  margin: 0 8px;
  vertical-align: middle;
}

/* 홈 버튼 색상 */
.hd_home a       { color: rgba(255,255,255,.65); }
.hd_home a:hover { color: #fff; }
.hd_home a.admin { color: var(--color-gold) !important; } /* 관리자 골드 */


/* ── 3. STICKY HEADER (#hd_wrapper) ── */
/* float/width/position은 건드리지 않고 시각 스타일만 변경 */

/* 헤더 래퍼 - 반투명 + backdrop blur (스크롤 시 고정) */
#hd_wrapper {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(64,128,128,.14);
  box-shadow: none;
  transition: box-shadow var(--transition), background var(--transition);
  position: sticky !important; /* 스크롤 시 헤더 고정 */
  top: 0 !important;
  z-index: 200 !important;
}

/* 스크롤 시 그림자 추가 (JS에서 .scrolled 클래스 추가) */
#hd_wrapper.scrolled {
  box-shadow: 0 4px 24px rgba(30,64,64,.1);
  background: rgba(255,255,255,.98);
}

/* 헤더 내부 좌우 여백 + 중앙 정렬
   max(20px, (100%-1200px)/2) = 화면이 1200px 초과 시 자동 중앙 정렬 */
#hd_wrapper {
  padding-left:  max(20px, calc((100% - 1200px) / 2)) !important;
  padding-right: max(20px, calc((100% - 1200px) / 2)) !important;
}


/* ── 4. 로고 ── */

/* 로고 링크 */
#logo a {
  display: inline-flex;
  align-items: center;
  transition: opacity var(--transition);
}

/* 로고 호버 (transform 없이 opacity만) */
#logo a:hover { opacity: .85; transform: none; }

/* 로고 이미지 크기 */
#logo img { max-height: 44px; width: auto; vertical-align: middle; }


/* ── 5. 검색창 ── */

/* fieldset 자체 테두리 제거 (form에 집중) */
#hd_sch {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  padding: 0 !important;
}

/* 검색창 form 스타일 (실제 시각) */
#hd_sch form {
  display: flex;
  align-items: center;
  background: #f4fafa;
  border: 1.5px solid rgba(64,128,128,.22);
  border-radius: 9999px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

/* 검색창 포커스 시 테두리 + 글로우 */
#hd_sch:focus-within form {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(64,128,128,.15);
  background: #fff;
}

/* fieldset 포커스 시 자체 스타일 제거 (form에 위임) */
#hd_sch:focus-within {
  box-shadow: none !important;
  border-color: transparent !important;
}

/* 검색어 입력 필드 */
#hd_sch #sch_stx {
  height: 40px;
  line-height: 40px;
  padding: 0 0 0 16px;
  font-size: 13.5px;
  color: var(--color-ink);
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* 검색어 placeholder */
#hd_sch #sch_stx::placeholder { color: var(--color-ink-faint); }

/* 검색 제출 버튼 */
#hd_sch #sch_submit {
  width: 44px;
  height: 40px;
  background: var(--color-primary) !important;
  color: #fff !important;
  border: none !important;
  font-size: 15px;
  border-radius: 0 9999px 9999px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition) !important;
}

/* 검색 버튼 호버 */
#hd_sch #sch_submit:hover { background: var(--color-primary-dark) !important; }

/* 포커스 시 펄스 애니메이션 제거 (override) */
#hd_sch:focus-within #sch_submit { animation: none !important; }


/* ── 6. 헤더 액션 버튼 ── */

/* 액션 버튼 그룹 */
.hd_actions {
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

/* 헤더 버튼 공통 */
.btn_hd {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

/* 헤더 버튼 - 테두리형 (로그인) */
.btn_hd_outline {
  background: transparent;
  border: 1.5px solid rgba(64,128,128,.3);
  color: var(--color-primary-dark);
}
.btn_hd_outline:hover { background: var(--color-primary-pale); border-color: var(--color-primary); }

/* 헤더 버튼 - Primary (회원가입) */
.btn_hd_primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border: 1.5px solid transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(64,128,128,.28);
}
.btn_hd_primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(64,128,128,.4); color: #fff; }

/* 헤더 버튼 - Ghost (작은 보조 버튼) */
.btn_hd_ghost {
  background: transparent;
  border: 1.5px solid rgba(64,128,128,.2);
  color: var(--color-ink-soft);
  font-size: 12.5px;
  padding: 7px 14px;
}
.btn_hd_ghost:hover { background: rgba(64,128,128,.06); color: var(--color-ink); }

/* 텍스트 크기 버튼 완전 숨김 */
#text_size { display: none !important; }


/* ── 7. GNB ── */

/* GNB 배경 (진한 틸 그라디언트) */
#gnb {
  background: linear-gradient(135deg, var(--color-primary-deep), #1a3535);
  box-shadow: 0 2px 12px rgba(30,64,64,.18);
}

/* GNB 1단계 링크 */
.gnb_1da {
  color: rgba(255,255,255,.82) !important;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

/* GNB 1단계 링크 호버 / 활성 상태 */
.gnb_1da:hover,
.gnb_1dli_on .gnb_1da,
.gnb_1dli_air .gnb_1da {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
}

/* GNB 활성 메뉴 언더라인 (흰색 바) */
.gnb_1dli_on .gnb_1da::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: rgba(255,255,255,.85);
  border-radius: 2px 2px 0 0;
}

/* GNB 드롭다운 메뉴 */
.gnb_2dul {
  border: 1px solid rgba(64,128,128,.15) !important;
  border-top: 3px solid var(--color-primary) !important;
  border-radius: 0 0 var(--radius-md) var(--radius-md) !important;
  box-shadow: var(--shadow-hover) !important;
}

/* GNB 2단계 링크 */
.gnb_2da { color: var(--color-ink-mid) !important; font-size: 13.5px; }

/* GNB 2단계 링크 호버 */
.gnb_2da:hover {
  background: var(--color-primary-pale) !important;
  color: var(--color-primary-dark) !important;
}


/* ── 8. 메인 배너 ── */

/* 배너 배경 */
#main_bn_box { background: var(--color-primary-deep); }

/* 배너 이미지 */
.bn_wr img { width: 100%; height: auto; display: block; max-height: 420px; object-fit: cover; }


/* ── 9. 게시글 박스 (.lt) ── */
/* 시각 스타일만 변경 (.idx_cnt, .lt_li 레이아웃은 절대 건드리지 않음) */

/* 게시판 박스 */
.lt {
  background: var(--color-white);
  border: 1px solid rgba(64,128,128,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}

/* 게시판 박스 호버 */
.lt:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* 게시판 박스 타이틀 */
.lt_title,
.lat_title {
  padding: 14px 20px 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-ink);
  border-bottom: 1px solid rgba(64,128,128,.1);
  margin: 0;
  background: linear-gradient(135deg, rgba(224,242,242,.45), transparent);
}

.lt_title a, .lat_title a { color: inherit; }
.lt_title a:hover, .lat_title a:hover { color: var(--color-primary); }

/* 게시판 더보기 */
.lt_more {
  padding: 10px 20px;
  border-top: 1px solid rgba(64,128,128,.07);
  background: rgba(224,242,242,.2);
}

.lt_more a {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
}

.lt_more a:hover { color: var(--color-primary-dark); }

/* ── 게시판 내부 목록 글 항목 (.lt 내부 li) ──
   1열 배치에서 글이 잘 보이도록 패딩·폰트·간격 강화 */
.lt ul { margin: 0; padding: 0; }

.lt li {
  border-bottom: 1px solid rgba(64,128,128,.07);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition);
  list-style: none;
}

.lt li:last-child { border-bottom: none; }

.lt li:hover {
  background: var(--color-primary-pale);
}

/* 게시판 글 제목 링크 */
.lt li a {
  color: var(--color-ink);
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color var(--transition);
}

.lt li a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* 날짜/카운트 등 부가 정보 */
.lt li .lt_date,
.lt li span.date,
.lt li .date {
  font-size: 12px;
  color: var(--color-ink-faint);
  flex-shrink: 0;
  white-space: nowrap;
}


/* ── 10. 컨테이너 타이틀 ── */

/* 페이지 타이틀 */
#container_title {
  font-size: 19px;
  font-weight: 800;
  color: var(--color-ink);
  letter-spacing: -.02em;
  border-bottom: 2.5px solid var(--color-primary);
}

/* 컨테이너 페이드인 */
#container { animation: moa_fadeIn .35s ease both; }


/* ── 11. FOOTER ──
   실제 tail.php 구조:
   #ft > #ft_copy > div > a링크들 + #ft_totop
        #ft_company > p.ft_info
   #ft_wr / #ft_catch 는 주석처리 미사용
   ─────────────────────────────────────── */

/* 푸터 전체 (진한 틸 다크 배경) */
#ft {
  background: #1a2e2e;
  color: rgba(255,255,255,.55);
  margin-top: 48px;
  border-top: none;
}

#ft p { color: rgba(255,255,255,.45); }

/* 푸터 링크 영역 배경 */
#ft_copy {
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.08);
}

/* 푸터 링크 내부 div */
#ft_copy div {
  padding: 16px 20px;
  color: rgba(255,255,255,.45);
  font-size: 13px;
}

/* 푸터 링크 */
#ft_copy a {
  color: rgba(255,255,255,.45);
  margin: 0 8px 0 0;
  transition: color var(--transition);
}

/* 푸터 링크 호버 */
#ft_copy a:hover { color: var(--color-primary-light); }

/* 맨 위로 버튼 */
#ft_copy #ft_totop {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6) !important;
  font-size: 13px;
  transition: background var(--transition), color var(--transition);
  text-align: center;
  line-height: 34px;
}

/* 맨 위로 버튼 호버 */
#ft_copy #ft_totop:hover {
  background: var(--color-primary);
  color: #fff !important;
}

/* 회사 정보 영역 */
#ft_company {
  background: transparent;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* 회사 정보 단락 */
#ft_company p.ft_info {
  color: rgba(255,255,255,.28);
  font-size: 12px;
  padding: 14px 20px;
  line-height: 1.8;
}

#ft_company p.ft_info b { color: rgba(255,255,255,.45); }


/* ── 12. 모바일 메뉴 토글 스타일 ── */

/* 햄버거 아이콘 라인 색상 */
#mobile_menu_toggle span { background: var(--color-primary-dark); }

/* 모바일 메뉴 버튼 호버 */
#mobile_menu_toggle:hover { background: var(--color-primary-pale); }


/* ── 13. 테마 커스터마이저 버튼 ── */

/* 플로팅 버튼 색상 */
#customizer_toggle {
  background: var(--color-primary);
  color: #fff;
  border: none;
}


/* ── 14. 반응형: 헤더만 ── */

/* 1240px 이하: 헤더 좌우 패딩 20px */
@media screen and (max-width: 1240px) {
  #hd_wrapper {
    padding-left:  20px !important;
    padding-right: 20px !important;
  }
}

/* 768px 이하: 검색창 숨김, 로고 축소, 테두리 버튼 숨김 */
@media screen and (max-width: 768px) {
  #hd_sch                          { display: none !important; }
  #text_size                       { display: none !important; }
  #logo img                        { max-height: 36px; }
  .hd_actions .btn_hd_outline      { display: none !important; }
  .hd_actions .btn_hd_primary      { padding: 7px 14px; font-size: 12.5px; }
}

/* 480px 이하: 헤더 패딩 더 축소, 로고 더 축소 */
@media screen and (max-width: 480px) {
  #hd_wrapper {
    padding-left:  12px !important;
    padding-right: 12px !important;
  }
  #logo img { max-height: 30px; }
}
