/* 
   공통 스타일 (메인/서브 공용)
   파일: default_sj.css
*/

/* 1) 컬러 변수 */
:root {
  --primary-color_sj: #003366;
  --accent-color_sj: #ffcc00;
  --secondary-color_sj: #333333;
  --bg-light_sj: #f4f7f9;
  --white_sj: #ffffff;
  --text-dark_sj: #111111;
  --transition-base_sj: all 0.4s ease-in-out;
}

/*------------------------------------------------------------------------------------------------------
skip
---------------------------------------------------------------------------------------------------------*/
.sticky-top {z-index: 3!important;}
#skipNavi {position:absolute; left:0; top:-1000px; width:100%; height: 0px; line-height:1px; font-size:1px; z-index:9999;}
#skipNavi a{display:block; text-align:center; width: 100%;  line-height:1px; font-size:1px;}
#skipNavi a:focus, #skipnavigation a:hover, #skipnavigation a:active {position:absolute; left:0px; top:1000px; padding: 8px 0;  display:block; height:20px; background:#20262c; font-size:12px; font-weight:bold; line-height:18px; color:#fff;}
.hide{position:absolute; left:-9999px; top:-9999px; font-size:0; line-height:0; height:0; overflow:hidden; }
/*#skipNavi #topNaviSkip {margin:0; padding:0;}*/

#skipContent {}/*본문으로 바로가기*/
#skipMenu {}/*주메뉴로 바로가기*/

/*드래그*/
::selection {color: inherit; background: rgb(255, 234, 46);}
::-moz-selection {color: inherit; background: rgb(255, 234, 46);} /* firefox */
/*드래그 끝*/


.st_red {color:#ff3401;}
.st_orange {color:#ff7742;}
.st_yellow {color:#ffcc00;}
.st_blue {color:#0f6296;}
.st_blue_deep {color:#3c4154;}
.st_green {color:#20a7bb;}
.st_gray_light {color: #efefef;}
.st_gray {color: #858585;}
.st_gray_dark {color: #333;}
.st_gray_deep {color: #202020;}

.bg_red {background-color: #ff3401;}
.bg_orange {background-color: #ff7742;}
.bg_yellow {background-color: #ffcc00;}
.bg_blue {background-color: #0f6296;}
.bg_blue_deep {background-color:#3c4154;}
.bg_green {background-color: #20a7bb;}
.bg_gray_light {background-color: #efefef;}
.bg_gray {background-color: #858585;}
.bg_gray_dark {background-color: #333;}
.bg_gray_deep {background-color: #202020;}

.border_red {border: 1px solid #ff3401;}
.border_orange {border: 1px solid #ff7742;}
.border_yellow {border: 1px solid #ffcc00;}
.border_blue {background-color: #0f6296;}
.border_blue_deep {background-color:#3c4154;}
.border_green {border: 1px solid #20a7bb;}
.border_gray_light {border: 1px solid #efefef;}
.border_gray {border: 1px solid #858585;}
.border_gray_dark {border: 1px solid #333;}
.border_gray_deep {border: 1px solid #202020;}

/* 2) 베이스 타이포그래피 */
html {
  font-size: clamp(15px, 1.2vw + 12px, 18px);
}

body {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  line-height: 1.7;
  color: var(--text-dark_sj);
  overflow-x: hidden;
  background-color: var(--white_sj);
  word-break: keep-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
  letter-spacing: -0.01em;
}

#allWrap {
	width:100%; margin:0; padding:0;/* text-align:center;*/
	font-family: 'Noto Sans KR', sans-serif;
}
.allContainer {width:1280px; margin-left:auto; margin-right:auto; position:relative; word-break:keep-all;}
	/* 모바일 화면에서 적용될 CSS */	
	@media screen and (max-width: 575px) {
		.allContainer {width:100%; margin-left:auto; margin-right:auto;}
	}
	/* 태블릿 화면에서 적용될 CSS */
	@media screen and (min-width: 576px) and (max-width: 767px) {
		.allContainer {width:100%; margin-left:auto; margin-right:auto;}
	}
	/* 노트북 화면에서 적용될 CSS */
	@media screen and (min-width: 768px) and (max-width: 991px) {
		.allContainer {width:100%; max-width:1280px; margin-left:auto; margin-right:auto;}
	}
	/* 데스크톱 화면에서 적용될 CSS */
	@media screen and (min-width: 992px) {
		.allContainer {width:100%; max-width:1280px; margin-left:auto; margin-right:auto;}
	}

.wrap-com {padding: 0 9rem;}/*9rem= 162px*/
	@media (max-width: 768px) {
		.wrap-com {padding: 0 0.2rem;}
	}
	@media all and (min-width: 769px) and (max-width: 1462px) {
		.wrap-com {padding: 0 1rem;}
	}
.container-com {width: 100%;}

/* 반응형 유틸 */
.display-3 { font-size: clamp(2rem, 5vw, 4.5rem) !important; }
.display-4 { font-size: clamp(1.8rem, 4vw, 3.5rem) !important; }
.display-5 { font-size: clamp(1.5rem, 3vw, 2.5rem) !important; }
.lead      { font-size: clamp(1rem, 1.5vw, 1.25rem) !important; }
h1,.h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h2,.h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h3,.h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4,.h4 { font-size: clamp(1.1rem, 1.5vw, 1.5rem); }

  @media (max-width: 576px) {
    .container { padding-left: 20px; padding-right: 20px; }
  }

/* 단어 중간 깨짐 방지 기본 + 헤딩 예외 처리 */
.counter-number_sj, h1,h2,h3,h4,h5,h6 { word-break: break-word; }

a { text-decoration: none !important; }
.bg-primary-dark_sj { background-color: var(--primary-color_sj) !important; color: #fff !important; }
.bg-light_sj { background-color: var(--bg-light_sj) !important; }

/* 섹션 공통 */
.section-padding_sj { padding: 100px 0; }
.section-padding_sj.no-bottom_sj { padding-bottom: 0 !important; }
.section-title-wrap_sj { margin-bottom: 60px; position: relative; }
.section-title_sj {
  font-weight: 500; font-size: 2.5rem; color: var(--primary-color_sj);
  text-transform: uppercase; display: inline-block; letter-spacing: -0.03em;
}
.section-title_sj::after {
  content: ''; display: block; width: 50px; height: 5px;
  background-color: var(--accent-color_sj); margin-top: 15px;
}

.lang-secondary_sj { font-weight: 400; opacity: .75; letter-spacing: 0.12em; }
.nav-link_sj .lang-secondary_sj { font-size: .78em; font-weight: 500; opacity: .65; margin-left: .35rem; }
.section-title_sj .lang-secondary_sj {
  font-size: .55em; font-weight: 100; opacity: .6; margin-left: .6rem; letter-spacing: .08em; white-space: nowrap;
}
  @media (max-width: 768px) {
    .section-title_sj { font-size: 1.8rem; }
    .section-title_sj .lang-secondary_sj, .lang-secondary_sj {
      display: block; margin-left: 0 !important; margin-top: 5px; font-size: .45em; white-space: normal; line-height: 1.2;
    }
  }
.card-title_sj .lang-secondary_sj { font-size: .5em; opacity: .6; margin-left: .5rem; letter-spacing: .06em; }
.counter-text_sj .lang-secondary_sj { display: block; margin-top: 6px; font-size: .78em; font-weight: 500; opacity: .75; letter-spacing: .08em; }

.con_pre {white-space: pre-line;}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
.sr-only-focusable:active,
.sr-only-focusable:focus {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
}
a {
	color:inherit; text-decoration: none;
	transition: color 0.3s ease-in-out;
}
/*a:link, a:visited {color:inherit;}*/
a:hover, a:active {
	transition: color 0.3s ease-in-out; color:#c4c4c4;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
}

/* 버튼 공통 */
.btn-custom_sj {
  background-color: var(--primary-color_sj); color: var(--white_sj);
  padding: 15px 40px; border: none; font-weight: 500; text-transform: uppercase;
  letter-spacing: 1px; transition: var(--transition-base_sj); border-radius: 0; position: relative; overflow: hidden;
}
.btn-custom_sj:hover { background-color: var(--accent-color_sj); color: var(--primary-color_sj); }
.btn-outline_sj { border: 2px solid var(--white_sj); background: transparent; color: var(--white_sj); }
.btn-outline_sj:hover { background: var(--white_sj); color: var(--primary-color_sj); }
.btn-custom_sj::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.3), transparent); transition: .5s;
}
.btn-custom_sj:hover::before { left: 100%; }

/* 등장 애니메이션 */
.reveal_sj { opacity: 0; transform: translateY(40px); transition: all .8s cubic-bezier(.2,.6,.2,1); }
.reveal_sj.active_sj { opacity: 1; transform: translateY(0); }

/*------------------------------------------------------------------------------------------------------
탑
---------------------------------------------------------------------------------------------------------*/
/* 내비게이션 */
.navbar_sj {
  /*padding: 1.2rem 0; */transition: var(--transition-base_sj); background-color: var(--white_sj); border-bottom: 2px solid var(--primary-color_sj);
}
.navbar_sj.scrolled_sj { padding: .7rem 0; box-shadow: 0 5px 15px rgba(0,0,0,.1); }
.navbar-brand_sj { font-weight: 900; font-size: 2rem; color: var(--primary-color_sj) !important; letter-spacing: -1.5px; text-transform: uppercase; }
.nav-link_sj { font-weight: 700; margin-left: 2rem; color: var(--text-dark_sj) !important; font-size: 1rem; transition: var(--transition-base_sj); }
.nav-link_sj:hover, .nav-link_sj.active_sj { color: var(--primary-color_sj) !important; }

/*언어*/
.translation-links {
  display: flex !important;
  flex-wrap: nowrap !important; /* 줄바꿈 방지 */
  flex-direction: row !important; /* 가로 방향 설정 */
  
  /* 세로 중앙 정렬을 위한 핵심 코드 */
  align-items: center !important; 
  
  /* 필요하다면 높이를 부모에 맞게 100%로 설정 */
  height: 100%; 
}
.translation-links li {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important; /* 고정 너비 해제 */
}

/*------------------------------------------------------------------------------------------------------
푸터
---------------------------------------------------------------------------------------------------------*/
.footer_sj { background-color: #111; color: #999; padding: 80px 0 40px; }
.footer-title_sj { color: var(--white_sj); font-weight: 800; margin-bottom: 30px; font-size: 1.5rem; }
.footer-link_sj { color: #999; text-decoration: none; transition: var(--transition-base_sj); display: block; margin-bottom: 12px; }
.footer-link_sj:hover { color: var(--accent-color_sj); padding-left: 5px; }

/*------------------------------------------------------------------------------------------------------
약관
---------------------------------------------------------------------------------------------------------*/
.agreeContainer, 
.agreeContainer * {
    font-size: 0.9rem !important; /* 모든 자식 요소에 강제 적용 */
}
.agreeContainer h3 {color:#000; font-weight: bold;}