@charset "utf-8";
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap'); */
/* NotoSans 쓸 경우 주석 풀고, body 적용 */

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-ExtraLight.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
}


* {
  word-break: keep-all;
  box-sizing: border-box;
}

body {
  font-family: "Pretendard", "Noto Emoji", "Segoe UI Emoji", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
}

/* 초기화 */
html {
  overflow-y: auto !important;
}

html,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
img {
  margin: 0;
  padding: 0;
  border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 1em;
  font-family: inherit !important;
}

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 {
  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 {
  margin: 0;
  padding: 0;
  font-family: inherit !important;
}

input[type="submit"] {
  cursor: pointer;
}

button {
  cursor: pointer;
}

textarea,
select {
  font-family: inherit !important;
}

select {
  margin: 0;
}

p {
  margin: 0;
  padding: 0;
  word-break: break-all;
}

pre {
  overflow-x: scroll;
  font-size: 1.1em;
}

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

/*head.sub.php로 셋팅하는 값 = full-h, full-w*/
:root {
  --primary: #F0AE60;
  --seconday: #666;
  --ca-color: #333;
  /* --full-h: calc(var(--vh, 1vh) * 100);
  --full-w: calc(var(--vw, 1vw) * 100); */
  --header-h: 70px;
  --lnb-h: 48px;
}

.overlay {
  position: relative;
}

.overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 0;
}

#header.active {
  background-color: #fff !important;
  color: #000 !important;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

#header.active #logo {
  background-image: url("../img/logo.png") !important;
}

/* 아이콘 있는 경우 header.active * {color: #000 !important;} 해주시면 됩니다. */



/* 에디터 콘텐츠 내 텍스트, 이미지 정렬 - 에디터에서 설정한 정렬 그대로 반영 */

.editor_content p,
.editor_content div,
#bo_v_con p,
#bo_v_con div {
  text-align: inherit;
  font-family: inherit !important;
}

.editor_content img,
#bo_v_con img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* 게시판 본문 첨부 이미지 확대 링크는 이미지 크기만 클릭되도록 제한 */
#bo_v_img a.view_image {
  display: inline-block !important;
  width: auto !important;
  max-width: 100%;
}

#bo_v_img a.view_image img {
  display: block;
}


/* 게시판 본문 첨부 이미지 확대 링크는 이미지 크기만 클릭되도록 제한 */
#bo_v_img a.view_image {
  display: inline-block !important;
  width: auto !important;
  max-width: 100%;
  align-self: flex-start;
}

#bo_v_img a.view_image img {
  display: block;
}

/* 게시글 파일첨부, 링크 공통 스타일 */
#bo_v_file h2.sound_only,
#bo_v_link h2.sound_only {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

#bo_v_file ul,
#bo_v_link ul {
  margin: 0;
  list-style: none;
}

#bo_v_file li,
#bo_v_link li {
  padding: 15px;
  position: relative;
  margin: 10px 0;
  border: 1px solid #dfdfdf;
  border-radius: 5px;
  box-shadow: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

#bo_v_file li i,
#bo_v_link li i {
  flex-shrink: 0;
  color: #000;
  font-size: 2.35em;
  transition: color 0.2s ease;
}

#bo_v_file a,
#bo_v_link a {
  flex: 1;
  min-width: 0;
  display: block;
  text-decoration: none;
  word-wrap: break-word;
  color: #000;
  transition: color 0.2s ease;
}

#bo_v_file a:focus,
#bo_v_file li:hover a,
#bo_v_file a:active,
#bo_v_link a:focus,
#bo_v_link li:hover a,
#bo_v_link a:active {
  text-decoration: underline;
  color: var(--primary);
}

#bo_v_file img {
  flex-shrink: 0;
  margin: 0 10px 0 0;
}

#bo_v_file .bo_v_file_cnt,
#bo_v_link .bo_v_link_cnt {
  color: #000;
  font-size: 0.92em;
  transition: color 0.2s ease;
}

#bo_v_file li:hover,
#bo_v_link li:hover {
  border-color: var(--primary);
  color: var(--primary);
}

#bo_v_file li:hover i,
#bo_v_link li:hover i {
  color: var(--primary);
}

#bo_v_file li:hover .bo_v_file_cnt,
#bo_v_link li:hover .bo_v_link_cnt {
  color: var(--primary);
}



/* 체크박스 체크 시 색상 변경 */

input[type="checkbox"] {
  accent-color: var(--primary) !important;
}

input[type="checkbox"]:checked {
  accent-color: var(--primary) !important;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

input[type="checkbox"]:checked+label span {
  accent-color: var(--primary) !important;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

input[type="checkbox"]+label:hover {
  color: var(--primary) !important;
}


/*캡챠 오버라이딩*/
#captcha {
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: center;
  align-items: center;
  position: relative;
}

#captcha .captcha_box {
  color: #000;
}

@media screen and (max-width: 768px) {
  #captcha {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  /* captcha_img는 한 줄 전체를 차지 */
  #captcha_img {
    display: block;
    width: 80% !important;
    margin: 0 auto;
    object-fit: contain;

  }

  /* captcha_key와 captcha_reload를 한 줄로 배치 */
  #captcha_key {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    height: 40px !important;
  }

  #captcha_reload {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
  }
}



/* 애니메이션 관련 */


/* 버튼 */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 16px 32px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #fff;
  color: var(--primary);
  outline: 2px solid var(--primary);
  box-shadow: 0 4px 12px rgba(240, 174, 96, 0.2);
}

.btn-primary:active {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  background-color: var(--seconday);
  color: #fff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #fff;
  color: var(--seconday);
  outline: 2px solid var(--seconday);
  box-shadow: 0 4px 12px rgba(102, 102, 102, 0.15);
}

.btn-secondary:active {
  background: var(--seconday);
  color: #fff;
}

.btn-primary-outline {
  background-color: transparent;
  color: var(--primary);
  outline: 2px solid var(--primary);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-primary-outline:hover,
.btn-primary-outline:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(240, 174, 96, 0.2);
  outline: none;
}

.btn-primary-outline:active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(96, 165, 250, 0.1);
}

.btn-secondary-outline {
  background-color: transparent;
  color: var(--seconday);
  outline: 1px solid var(--seconday);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-secondary-outline:hover,
.btn-secondary-outline:focus {
  background: var(--seconday);
  color: #fff;
  box-shadow: 0 2px 8px rgba(156, 163, 175, 0.15);
  outline: none;
}

.btn-secondary-outline:active {
  background: #fff;
  color: var(--seconday);
  box-shadow: 0 1px 4px rgba(156, 163, 175, 0.1);
}

.btn-animation {
  position: relative;
  overflow: hidden;
  color: var(--primary);
  outline: 1px solid var(--primary);
}

.btn-animation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary);
  z-index: -1;
  transition: all 0.3s ease;
}

.btn-animation:hover {
  color: #fff;
  outline: 0;
}

.btn-animation:hover::before {
  width: 100%;
}

.button:disabled,
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-primary-outline:disabled,
.btn-secondary-outline:disabled,
.btn-animation:disabled {
  background: #e5e7eb !important;
  /* Tailwind gray-200 */
  color: #b0b0b0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  opacity: 0.6;
  pointer-events: none;
  filter: grayscale(0.2);
}

.sit_icon {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.editor-content img {
  display: initial;
}

#sev_himg * {
  font-family: "Pretendard", "Noto Emoji", "Segoe UI Emoji", sans-serif !important;
}

.sev_admin {
  display: none;
}

/* Lnb 관련  */
/* lnb  */
.lnb_wrap {
  position: relative;
}

.lnb {
  background: #fff;

}

.lnb .lnb_map {
  height: var(--lnb-h);
  display: flex;
  align-items: center;
  border-left: 1px solid #f1f1f1;
  border-right: 1px solid #f1f1f1;
  max-width: 1600px;
  margin: 0 auto;
}

.lnb .lnb_map .home {
  width: var(--lnb-h);
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lnb .lnb_map .home a {
  color: #333;
}


.lnb .lnb_map>li {

  height: 100%;
  border-right: 1px solid #ddd;

  position: relative;
}

.lnb .lnb_map li.dep a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

}

.lnb .lnb_map li.dep a span {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  color: #333;
}


.lnb .lnb_map li.dep ul {
  display: none;
  position: absolute;
  left: 0;
  top: var(--lnb-h);
  width: 100%;
  z-index: 9999;
}

.lnb .lnb_map li.dep ul li {
  width: 100%;
  background: #f9f9f9;
  border-bottom: 1px solid #fff;
}



.lnb .lnb_map li.dep ul li a:hover {
  background: var(--primary);
  color: #fff;
  transition: 0.3s all;
}

.lnb .lnb_map li.dep ul li a.on {
  background: var(--primary);
  color: #fff;
}

/* 구글 번역 부분 커스텀 css - 번역기능 있을 경우만 사용 */

body {
  position: static !important;
  top: 0px !important;
}

.goog-logo-link {
  display: none !important;
}

.goog-te-gadget {
  color: transparent !important;
  display: none !important;
}

body>.skiptranslate,
.goog-logo-link,
.gskiptranslate,
.goog-te-gadget span,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
div#goog-gt- {
  display: none !important;
}

.goog-te-gadget {
  color: transparent !important;
  font-size: 0px;
  width: 100px;

}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

#google_translate_element select {
  background: transparent;
  color: #000;
  border: none;
  font-weight: bold;
  border-radius: 0px;
  padding: 8px 12px
}

.notranslate {
  translate: no !important;
}

/* 메인 배너 타이틀 널찍한 행간 강제 클래스 및 그림자 배제 */
.hero-main-title {
  line-height: 1.32 !important;
  text-shadow: none !important;
  filter: none !important;
}





/* 커스텀 프리미엄 라디오 버튼 스타일 (전형적인 라디오 비주얼: 주황 테두리 + 흰색 링 + 주황 중심점) */
.custom-radio {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid #d4d4d8;
  /* zinc-300 */
  border-radius: 50%;
  background-color: #ffffff;
  cursor: pointer;
  transition: border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  vertical-align: middle;
  position: relative;
  margin-right: 8px;
  /* label 텍스트와의 여백 확보 */
}

/* 라벨 호버 시 테두리 반응 */
label:hover .custom-radio {
  border-color: #a1a1aa;
  /* zinc-400 */
  box-shadow: 0 0 0 3px rgba(212, 212, 216, 0.2);
}

/* 체크 활성화 시 스타일 */
.peer:checked+.custom-radio {
  border-color: #F0AE60;
  /* 주황색 브랜드 테두리 */
  background-color: #ffffff;
  /* 내부 배경 흰색 링 유지 */
  box-shadow: 0 0 0 4px rgba(240, 174, 96, 0.15);
  /* 주황색 미세 아우라 글로우 */
}

/* 중심 원 기본 상태 (스케일 0) */
.custom-radio::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #F0AE60;
  /* 주황색 중심점 */
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  /* 통통 튀는 탄성 애니메이션 */
}

/* 체크 활성화 시 중심 원 스케일업 */
.peer:checked+.custom-radio::after {
  transform: translate(-50%, -50%) scale(1);
}

/* Scroll Reveal 초기 상태 (GSAP 로딩 전 보였다가 툭 사라지는 FOUC 깜빡임 현상 완벽 방지) */
.scroll-title,
.scroll-grid>*,
.scroll-slogan,
.reveal-up,
.reveal-fade {
  opacity: 0;
}

/* 게시판 스킨 접근성용 h2 숨김 규칙 재정의 */
:is(#bo_cate, #bo_gall, #bo_list, #bo_w, #bo_v, #bo_v_atc, #bo_v_info, #bo_v_file, #bo_v_link, #bo_v_top, #bo_v_bot, #bo_vc) h2.sound_only,
.bo_vc_w h2.sound_only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

:is(#bo_cate, #bo_gall, #bo_list, #bo_w, #bo_v, #bo_v_atc, #bo_v_info, #bo_v_file, #bo_v_link, #bo_v_top, #bo_v_bot, #bo_vc) h2:not(.sound_only),
.bo_vc_w h2:not(.sound_only) {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  text-indent: 0;
  white-space: normal;
  border: 0;
  font-size: 1em;
  line-height: 1.5;
}

:is(#bo_cate, #bo_gall, #bo_list, #bo_w, #bo_v, #bo_v_atc, #bo_v_info, #bo_v_file, #bo_v_link, #bo_v_top, #bo_v_bot, #bo_vc) h2.bo-visible-heading:not(.sound_only),
.bo_vc_w h2.bo-visible-heading:not(.sound_only) {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
  letter-spacing: inherit;
}

:is(#bo_cate, #bo_gall, #bo_list, #bo_w, #bo_v, #bo_v_atc, #bo_v_info, #bo_v_file, #bo_v_link, #bo_v_top, #bo_v_bot, #bo_vc) h2.bo-section-title:not(.sound_only),
.bo_vc_w h2.bo-section-title:not(.sound_only) {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 800;
  color: #18181b;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {

  :is(#bo_cate, #bo_gall, #bo_list, #bo_w, #bo_v, #bo_v_atc, #bo_v_info, #bo_v_file, #bo_v_link, #bo_v_top, #bo_v_bot, #bo_vc) h2.bo-section-title:not(.sound_only),
  .bo_vc_w h2.bo-section-title:not(.sound_only) {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

@media (min-width: 768px) {

  :is(#bo_cate, #bo_gall, #bo_list, #bo_w, #bo_v, #bo_v_atc, #bo_v_info, #bo_v_file, #bo_v_link, #bo_v_top, #bo_v_bot, #bo_vc) h2.bo-section-title:not(.sound_only),
  .bo_vc_w h2.bo-section-title:not(.sound_only) {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

/* 게시판 상단 버튼 영역 - flex 레이아웃 시 스킨 float 무력화 */
#bo_btn_top.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

#bo_btn_top.flex::after {
  display: none;
  content: none;
}

#bo_btn_top.flex #bo_list_total,
#bo_btn_top.flex .btn_bo_user,
#bo_btn_top.flex .btn_bo_user li {
  float: none;
  width: auto;
  margin-left: 0;
}