@charset "utf-8";
/* CSS Document */



html, body{
  height: 100%;
  width:100%;
  margin: 0;
  padding: 0;
	/*font-size:17px;*/
	color: #333A66;
  color: black;	
  font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;*/
}

.og-card { cursor:pointer }

a{
  text-decoration:none !important;
  color:#000;
  outline: none;
}


.woc-table a, .board-info a, .index-table a, #player-info a,#bo_v_con a, .text-board a,.contentsRight a, .icontents a, .level-section a, .text-center a, .ck-content a, #ctt_con a{
  text-decoration:none;
  color:#254EAD;
}


.tooltip_game {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip_game .tooltip-text {
  visibility: hidden;
  opacity: 0;
  background: #fff;
  color: #333;
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.45;
  text-align: center;
  padding: 6px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translate(calc(-50% + var(--tooltip-shift-x, 0px)), 0);
  transition: opacity 0.15s ease-in-out;
  box-sizing: border-box;
  width: max-content;
  max-width: min(420px, calc(100vw - 24px));
  white-space: normal;
  overflow-wrap: break-word;
  z-index: 10;
}

.tooltip_game .tooltip-text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(calc(-50% + var(--tooltip-arrow-shift-x, 0px)));
  border-width: 6px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.tooltip_game:hover .tooltip-text,
.tooltip_game:focus-within .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.local-rank-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #eef2ff;
  border: 1px solid #9aaee8;
  color: #254EAD;
  font-size: 10px;
  font-weight: normal;
  vertical-align: baseline;
  position: relative;
  top: -2px;
}


img{border:0;}


a:hover, #bo_v_con a:hover, #ctt_con a:hover{
  text-decoration:none;
  color:#0d6efd;
  outline: none;
}
a:focus{  
  outline: none;
}
body {
  background-color: #FFF;
  padding: 0;
  margin: 0;
  /*font-size: 16px;*/
}



/*
---------------------------------------
hover effect 3
---------------------------------------
*/

/*  .ocviewerFrame{
    width: 380px;     
    max-width: 100%;
    border: 0;  
    margin: 0;   
    display: block;  
  }
  */

/* a 자체를 기준점으로 고정 + 밑부분 약간의 공간 확보 */
.SMN_effect-3 a {
  display: inline-block;   /* ← inline 상태에서 블록 성격 부여 */
  position: relative;
  display: inline-block;   /* 줄이 들어갈 수 있도록 인라인블록 추천 */
  height: 30px;   
  padding-top:7px;
  text-decoration: none !important;    /* 기본 밑줄 제거 */
}

/* 밑줄은 a 내부 바닥에 그린다 (top:100% + translateY 제거) */
.SMN_effect-3 a:after {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 4px;               /* ← 핵심: a 박스 내부 바닥 기준 */
  height: 1px;
  background: #fff;
  content: '';
  opacity: 0;
  transition: height 0.3s, opacity 0.3s, transform 0.3s;
  transform: none;
  z-index: 2;              /* ← #dynamic-info::before/after( z-index:1 )보다 위 */
}

.SMN_effect-3 a:hover:after,
.SMN_effect-3 a:focus:after,
.SMN_effect-3 a.active:after {
  height: 3px;
  opacity: 1;
  transform: none;         /* 더 이상 translateY 사용하지 않음 */
}
 

.SMN_effect-4 a:hover {
  text-decoration: none;
}

.SMN_effect-4 a:after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #000;
  content: '';
  opacity: 0;
  -webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s;
  transition: height 0.3s, opacity 0.3s, transform 0.3s;
  -webkit-transform: translateY(-4px);
  -moz-transform: translateY(-4px);
  transform: translateY(-4px);
}

.SMN_effect-4 a:hover:after, .SMN_effect-4 a:focus:after, .SMN_effect-4 a.active:after {
  height: 3px;
  opacity: 1;
  -webkit-transform: translateY(4px);
  -moz-transform: translateY(4px);
  transform: translateY(4px);
}
 

.grecaptcha-badge {
    visibility: hidden !important;
    pointer-events: none !important;
    /* 또는
    display: none !important;
    */
}

.level-section {
	width: 100%;
	border:0px solid;
	margin: 0 auto 5px;
	overflow:hidden;
}

.level-title {
	border:0px solid;
	font-size: 17px;
	margin-bottom: 0px;
	line-height: 25px;   /* height와 동일 */
  border: 0;
  width: 100%;
	padding-left:10px;
	height: 25px;
	background-color: black;
	color: white;
}

.level-title {
  --bs-secondary-color: #cccccc; /* 예: 주황색 */
}

.level-title a {
  color: white;
}

.level-title a:hover {
  color: #b0cafa;;
}

.index-table {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}
.index-table th, .index-table td {
  border: 1px solid #ddd;
  height:26px;
  //padding: 2px;
  text-align: center;
  vertical-align: top; /* 세로 정렬을 상단으로 설정 */
  //font-size: 15px; /* 글자 크기 설정 */
}
.index-table th {
  background-color: #f2f2f2;
  color: black;
}


.index-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Hover 효과 제거 */
.index-table tr:hover {
  background-color: transparent;
}

.woc-table .col {
  min-width: 94px;
}

.woc-table th, .woc-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  vertical-align: top; /* 세로 정렬을 상단으로 설정 */
  font-size: 15px; /* 글자 크기 설정 */
}

.woc-table th {
  background-color: #f2f2f2;
  color: black;
}


.woc-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Hover 효과 제거 */
.woc-table tr:hover {
  background-color: transparent;
}

.table-title {
  text-align: center;
  margin: 0 auto;
  max-width: 765px;
  padding-bottom: 10px;
  font-size: 15px; /* 글자 크기 설정 */

}

.woc-table-wrapper {
  overflow-x: auto; /* 가로 스크롤 허용 */
  padding: 0; /* 좌우 여백 추가 */
  border: 0px solid;
  margin:0;
}

.woc-table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}

.woc-table img {
  width: 80px; /* 이미지 크기를 동일하게 설정 */
  height: 100px; /* 동일한 세로 길이로 설정 */
  object-fit: cover; /* 비율 유지하면서 자르기 */
  border: 2px solid #ddd; /* 이미지에 테두리 추가 */
  border-radius: 6px; /* 모서리를 둥글게 설정 (선택 사항) */
}




@media screen and (max-width: 765px) {
  .woc-table th, .woc-table td {
    padding: 5px 3px;
    font-size: 15px;
  }

	
  .woc-table img {
    width: 80px; /* 이미지 크기를 동일하게 설정 */
    height: 100px; /* 동일한 세로 길이로 설정 */
    object-fit: cover; /* 비율 유지하면서 자르기 */
	border: 2px solid #ddd; /* 이미지에 테두리 추가 */
    border-radius: 6px; /* 모서리를 둥글게 설정 (선택 사항) */
  }
 .flag-img {
  border: 1px solid #ddd !important;  /* 테두리 스타일 추가 */
  border-radius: 0px !important; /* 모서리를 둥글게 설정 (선택 사항) */
  width:30px;
  height:20px; 
  object-fit: fill;
	}
}
.flag-img {
  border: 1px solid #ddd !important;  /* 테두리 스타일 추가 */
  border-radius: 0px !important; /* 모서리를 둥글게 설정 (선택 사항) */
	  width:30px !important;
  height:20px !important; 
  object-fit: fill !important;
}




 #makepuzzle{
        display: inline-block;
        /*font-family: 'Lato', sans-serif;*/
        color: #fff;
        background-color: #fd7e14;
        border: none;
        border-radius: 5px;
        text-align: center;
        text-decoration: none;
        transition: background-color 0.3s;
		width:120px;
    }

  #makepuzzle:hover {
        background-color: #e06c09;
        cursor: pointer;
    }


  .btnb {
        display: inline-block !important;
        /*font-family: 'Lato', sans-serif;*/
        color: #fff;
        background-color: #007BFF !important;
        border: none;
        border-radius: 5px !important;;
        text-align: center !important;;
        text-decoration: none;
        transition: background-color 0.3s;
    width:20px;
    }
    
    .btnb:hover {
        background-color: #0056b3 !important;
        cursor: pointer;
    }

	.btnr {
        display: inline-block;
        /*font-family: 'Lato', sans-serif;*/
        color: #fff;
        background-color: #28a745;
        border: none;
        border-radius: 5px;
        text-align: center;
        text-decoration: none;
        transition: background-color 0.3s;
		width:120px;
    }

    .btnr:hover {
        background-color: #218838;
        cursor: pointer;
    }

	.btng {
        display: inline-block;
        /*font-family: 'Lato', sans-serif;*/
        color: #fff;
        background-color: #fd7e14;
        border: none;
        border-radius: 5px;
        text-align: center;
        text-decoration: none;
        transition: background-color 0.3s;
		width:120px;
    }

    .btng:hover {
        background-color: #e06c09;
        cursor: pointer;
    }
#whole-wrap{
  display:flex;
  flex-direction:column;
  min-height:100vh;   /* ← 100% 대신 100vh 권장 */
  width:100%;
  margin:0;
  text-align:left;
  padding:0;
  border:0;
  position:relative;
  overflow:hidden;
}
/* 2) 본문이 남는 공간을 차지하도록 */
.content{
  flex:1 0 auto;      /* ← 추가 */
  height:auto;
  min-height:0;       /* 안전 */
  padding-bottom:0;
  width:100%;
  margin:0;
}


/* 3) 푸터는 문서 흐름 안에서 자동으로 아래로 밀림 */
.path-bottom{
  position:static;    /* ← absolute 제거 */
  margin-top:auto;    /* ← 남는 공간 끝(아래)으로 밀기 */
  background-color:#f5f5f5;
  text-align:center;
  padding:8px 6px;
  font-size:15px;
  width:100%;
  box-sizing:border-box;
}

.inline-block-span {
    display: inline-block;
     /* 필요에 따라 너비 조정 */
    vertical-align: middle;
    text-align: left; 
    //padding: 10px 0; /* 상하 패딩 조정 */
	position: relative;
}
.inline-block-span:not(:last-child)::after {
    content: '';
    display: block;
    position: absolute;
    right: -7px; /* 오른쪽 여백 */
    top: 50%; /* 세로 중앙 정렬 */
    transform: translateY(-50%); /* 세로 중앙 정렬 */
    height: 95%; /* 높이를 90%로 설정 */
    //width: 1px; /* 선의 두께 */
    background-color: white; /* 실선 색상 */
	
}
.inline-block-span:not(:last-child) {
    margin-right: 10px; /* 선과 일치하는 여백 추가 */
}

.path{
  background-color:#f5f5f5;
  text-align:left;
  padding: 8px 10px;
  border:0px solid;
}


/* 기본 스타일 (PC에서 좌우 배치) */
.text-container {
    display: flex;
    justify-content: space-between; /* 요소들을 양 끝에 정렬 */
    align-items: flex-start;    
    flex-wrap: wrap;
	margin: auto;
	padding: 0; /* 내부 여백 제거 */
	border:0px solid;
}


@media screen and (min-width: 767px) {
  .text-index {
  	border:0px solid;
  	font-size:15px;	
  	margin: 0; /* 마진 제거 */
  	max-width : 420px;
  	width: 49%;
  	min-width:368px;
  	
  }
}

/* 첫 번째 요소에 대한 스타일 */
.text-index:first-child {
    padding-left: 0; /* 왼쪽 패딩 제거 */
}

/* 마지막 요소에 대한 스타일 */
.text-index:last-child {
    padding-right: 0; /* 오른쪽 패딩 제거 */
}

/* 모바일 스타일 (위아래 배치) */
@media screen and (max-width: 767px) {
    .text-index {
		margin:0;
		padding:0;
		width:100%;
		border:0px solid;
		text-align:left;
    }

    .text-container {
		display:block;
		justify-content:flex-start;
		align-items:flex-start;
		margin:0;
    }
}


/* Latest Tournament Games */
.ltg-grid{
  display: grid;
  /* 두 칼럼일 때 카드가 줄어들 수 있는 '진짜 최소폭'으로 설정(패딩/보더 포함치) */
  grid-template-columns: repeat(2, minmax(372px, 1fr)); /* ✅ 388 → 372로 완화 */
  gap: 15px;
  justify-content: center;
  align-items: start;
  width: 100%;                 /* ✅ 부모 폭을 넘지 않게 */
  box-sizing: border-box;      /* ✅ gap/패딩 계산 안정화 */
}
@media (max-width: 767px){
  .ltg-grid{ 
    grid-template-columns: 1fr; 
  }
}

.ltg-card{
  background:#fff;
  border:1px solid #e9e9e9;
  border-radius:12px;
  box-shadow:0 2px 10px rgba(0,0,0,.05);
  padding:16px 16px 12px;

  /* ▼ 추가 */
  position: relative; 
  cursor: pointer;
}

/* 카드 전면 클릭 레이어 */
.ltg-card .ltg-overlay{
  position:absolute; inset:0; z-index:10;
  display:block;
  border-radius:12px;     /* 카드 모서리와 동일하게 */
  background:transparent; /* 투명 */
  text-indent:-9999px;    /* 접근성 텍스트 숨김 */
}

.ltg-header{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:4px;
}
.ltg-header .tooltip_game{
  display:inline-flex;
  align-items:center;
}
.ltg-header .tooltip_game .ltg-flag{
  display:block;
}
.ltg-flag{
  width:24px; height:16px;
  object-fit:cover;
  border-radius:2px;
  box-shadow:0 0 0 1px rgba(0,0,0,.08);
}
.ltg-title{
  font-size:18px; 
  font-weight:700; 
  line-height:1.2;
  white-space: nowrap;      /* 줄바꿈 방지 */
  overflow: hidden;         /* 넘친 부분 숨기기 */
  text-overflow: ellipsis;  /* 넘치면 ... 처리 */
  /* 글자 크기 자동 축소 */
  font-size: min(18px, calc(100vw - 80px)); /* 화면 폭에 맞춰서 줄임 */
}

.ltg-meta{
  font-size:14px; color:#666;
  margin:6px 0 10px 0px;   /* 깃발/제목 라인 들여쓰기 정렬 */
}

.ltg-players{
  font-size:16px; font-weight:600;
  margin:0 0 10px 32px;
}

.ltg-viewer{
  display:flex; justify-content:center;
}
.ltg-iframe{
  display:inline-block; 
  border-radius:0px; 
  box-shadow:none;
  margin-top:5px;
}

.text-board{
	border:0px solid;
	width:370px;
	font-size:15px;
	margin:auto;
}

.text{
	border:0px solid;
	max-width:870px;
	font-size:15px;
	margin:0px;
	border:0px solid;
}
/* 모바일 스타일 */
@media screen and (max-width: 765px) {
    .text {
        max-width:450px;
		font-size:15px;		
    margin:0px
    }    
    .text-container {
    max-width:450px;
    font-size:15px;
    margin:auto;
    
    }
}


.submenu {
    max-width: 765px;
    margin: 0 auto;
    padding: 6px;
}

/* 모바일 스타일 */
@media screen and (max-width: 765px) {
    .submenu {
        max-width: 370px;
    }
}


.text3{
	width:360px;
	font-size:15px;
	margin:auto;
	padding-right:5px;
}
.text-center-local{
	width:360px;
	font-size:15px;
	margin:auto;
	text-align:center;
	
}
.text2{
	width:330px;
	font-size:15px;
	margin:auto;
}
.eg-wrap {
  position: relative;
  width:100%
  //border:1px solid red;
}

.top {
  position: relative;
  height: 55px;
  display: flex;
  justify-content: space-between; /* 좌우로 배치 */
  align-items: center; /* 세로 중앙 정렬 */
  padding-left:0px;
  border: 0px solid blue; /* 테두리 추가 */
  min-width:765px;
  max-width:1160px;
  margin: 0 auto 4px;
  padding-left: 10px;
  padding-right:10px;
  box-sizing: border-box;
}

@media screen and (max-width: 1030px) {
  .top {
    position: relative;
    height: 55px;
    display: flex;
    justify-content: space-between; /* 좌우로 배치 */
    align-items: center; /* 세로 중앙 정렬 */
    padding: 0 10px 0;
    border: 0px solid blue;
    max-width: none;
    width: 100%;
    margin: 0 0 4px 0;
  }
}

/* 모바일 스타일 */
@media screen and (max-width: 765px) {
  .top {
    position: relative;
  height: 55px;
  display: flex;
  justify-content: space-between; /* 좌우로 배치 */
  align-items: center; /* 세로 중앙 정렬 */
  padding:0 10px 0;
  border: 0px solid blue; /* 테두리 추가 */
  width:100%;
  box-sizing: border-box;
	 min-width:0;
  margin-left:0px;
  margin-bottom: 4px;
  margin: auto;
  }
}

.video {
	margin: 0 auto;	
	margin: auto;
	width: 100%;
	text-align: left;
	border:0px solid blue;
	overflow: hidden;
	background-color: white;
}

.central-content2_g5 {  
    padding: 0;
}


.central-content_g5 {
    padding: 0;
}


.central-content2 {
    padding: 0;
    max-width: 1140px;
    margin: 0 auto;
}


.central-content {
    padding: 0;
    max-width: 1140px;
    margin: 0 auto;
}

@media screen and (max-width: 991px) {
    .central-content {
    margin:auto;
    padding-left:0px;
    padding: 0;
    }
    .central-content2 {
    margin:auto;
    padding-left:0px;
    padding: 0;
    }


}


.contentsAll {
	max-width:1140px;
	margin: 0 auto;
	border:0px solid;
}

.contentsAll::after { content:""; display:block; clear:both; }

.icontents {
  padding:0 10px;
}

.contentsLeft {
	max-width: 100%;
	padding: 0;
	margin: 0 0 0 0px;
	text-align: left;
	font-size: 15px;
	line-height: 22px;
	margin: auto;
	border:0px solid blue;
}
.contentsRight {
	max-width: 100%;
	padding: 0;
	box-sizing: border-box;
	margin: 0 0 0 0px;
	text-align: left;
	font-size: 15px;
	line-height: 22px;
	margin: auto;
	border:0px solid blue;
}
@media (min-width: 992px) {
	.contentsRight { padding-right: 10px; }
}
/* FlipSight board/rank 좌우 컬럼 비율 — lg 이상에서 5.5:4.5 */
/* compound selector(.pz-col-board.col-12) 로 Bootstrap .col-12 보다 specificity 우위 */
@media (min-width: 992px) {
	.pz-col-board.col-12 { flex:0 0 auto; width:55%; max-width:55%; }
	.pz-col-rank.col-12  { flex:0 0 auto; width:45%; max-width:45%; }
}
/* FlipSight container — 좁은 화면에서만 10px 좌우 여백, lg 이상에선 0 */
/* compound(.container.pz-container) 로 Bootstrap .container padding 보다 specificity 우위 */
.container.pz-container { padding-left:10px; padding-right:10px; }
@media (min-width: 992px) {
	.container.pz-container { padding-left:0; padding-right:0; }
}




@media screen and (max-width: 991px) {
  .menu_pc {
  display: none; /* 모바일 화면에서는 숨기기 */
    }

}

@media screen and (min-width: 992px) {
    .menu_pc {
        float: right;
        width: 260px;
		height:100%;
		margin-left:10px;
        border: 0;
    }

    .contentsRight {

        margin-right: 270px;
    }

}


 .mobile-menu {
  display: flex;
  justify-content: flex-end; /* 우측 끝으로 정렬 */
  position: relative; /* 자식의 absolute 위치를 위해 relative로 설정 */
  z-index: 1000;   /* 팝업(10000)·전체화면 오버레이(11000) 아래. position:relative 로 stacking context 형성 → 자식 .language-nav 도 이 레벨에 갇힘. (기존 12020 = 모달 위로 새던 값) */
  border: 0px solid red; /* 테두리 추가 */
  width: auto; /* 필요한 경우 크기를 조정 */
  padding: 0; /* 패딩 제거 */
  padding-right:0px;
  margin-left:auto;/* 마진 제거 */
  gap: 3px;
}



.menu-btn {
  font-size:30px;
  color:black;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0px; /* 버튼 크기 조정 */
  margin-right: 0;
}

/*
---------------------------------------
hover effect 35
---------------------------------------
*/

.SMN_effect-35 a {
  overflow: visible;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: color .4s;
  transition: color .4s;
  display: inline-block;
}

.SMN_effect-35 a span {
  display: inline-block;
}

@keyframes eff24-move {
  30% {
    -webkit-transform: translate3d(8px, 0, 0);
    transform: translate3d(8px, 0, 0);
  }
  50% {
    -webkit-transform: translate3d(3px, 0, 0);
    transform: translate3d(5px, 0, 0);
  }
  80% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.SMN_effect-35 a:hover span {
  -webkit-animation-name: eff24-move;
  animation-name: eff24-move;
  -webkit-animation-duration: .4s;
  animation-duration: .4s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.topmenu {
            color: black !important;
            font-weight: bold !important;
        }

.SMN_effect-35 a:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  transition: transform 0.3s;
}

.SMN_effect-35 a:active span {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
	transition: transform 0.3s;
}


.SMN_effect-35 a:focus:not(:active) {
  -webkit-transform: none; /* 포커스 상태에서 확대 효과 제거 */
  transform: none; /* 포커스 상태에서 확대 효과 제거 */
}

.SMN_effect-35 a:focus:not(:active) span {
  -webkit-transform: none; /* 포커스 상태에서 확대 효과 제거 */
  transform: none; /* 포커스 상태에서 확대 효과 제거 */
}



/* 모바일 네비게이션 스타일 */
    .pc-nav {
		font-size: 16px;
		padding-left: 0px;
		padding-top:5px;
      	height: 100%;     
		border:0px solid;
		line-height: 25px;

      
    }

    .pc-nav a {
      padding: 2px 0px 2px 20px;
		margin: 2px 0;
      text-decoration: none;
      font-size: 15px;
	  color:#333333;
	
      display: block;

    }

.pc-nav a:hover {
    background-color: #f1f1f1; /* 마우스를 올렸을 때 및 활성화된 메뉴의 배경색 변경 */
	text-decoration : none;
	//border-radius: 6px; /* 원하는 라운드 값을 설정하세요 */
	transition: 0.5s;
}

.pc-nav a.active {
    background-color: #f1f1f1; /* 마우스를 올렸을 때 및 활성화된 메뉴의 배경색 변경 */
	text-decoration : none;
	//border-radius: 6px; /* 원하는 라운드 값을 설정하세요 */
	
}
/*
.pc-nav a:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
	transition: 0.3s;
}

.pc-nav a:focus:not(:active) {
  -webkit-transform: none; /* 포커스 상태에서 확대 효과 제거 */
  transform: none; /* 포커스 상태에서 확대 효과 제거 */
}
*/

 	.pc-counter {
      padding: 0px 0px 0px 20px;
      text-decoration: none;
      font-size: 15px;
      display: block;
	line-height: 25px
	}

    /* 모바일 네비게이션 스타일 */
    .mobile-nav {
      height: 100%;
      width: 0;
      position: fixed;
      top: 0;
      right: 0;
      background-color: rgba(0, 0, 0, 0.9);
      overflow-x: hidden;
      transition: 0.5s;
		color:white;
      z-index: 10000;
	  padding-top:0px;
		overflow: hidden;
    }

    .counter {
      padding: 4px 8px 4px 20px;
      text-decoration: none;
      font-size: 15px;

      display: block;
      transition: 0.3s;
	line-height: 30px
    }


    .mobile-nav a {
      padding: 4px 8px 4px 22px;
      text-decoration: none;
      font-size: 15px;
      color: white;
      display: block;
      transition: 0.3s;
    }

    .mobile-nav a:hover {
      color: #f1f1f1;
    }

    .mobile-nav .close-btn {
      position: absolute;
      top: 20px;
      right: 25px;
      font-size: 30px;
    }




#copy{
	text-align:center;
	background-color:#eee;
	padding:20px 0;
	font-size:12px;
 	margin-top: 10px;
}



.news:after {
	content: "";
	display: block;
	clear: both;
	height: 0;
	overflow: hidden;
}


.contentsLeft h1 {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 0 0;
}



.contentsLeft .link {
  margin: 6px 0 18px 0;
  font-weight: bold;
}

.contentsLeft .link a {
  display: block;
  margin: 6px 0 0 12px;
  font-weight: normal;
}

.center {
  text-align: center;
}





.video .infowrap {
  width: 100%;
  border: 1px solid #ccc;
}

.video-wrap {
  position: relative;
  width: 100%;
  height: 324px;
  border: 1px solid black;
  background-color: #666;
}

.video h2 {
  text-align: left;
  font-size:24px;
  font-weight: normal;
  line-height: 30px;
  margin: 0px;  
}


/* 예외 처리 */
.video h2,
.video h2::before,
.video h2::after,
.central-content,
.central-content *,
.central-content::before,
.central-content::after,
.central-content *::before,
.central-content *::after,
.central-content2,
.central-content2 *,
.central-content2::before,
.central-content2::after,
.central-content2 *::before,
.central-content2 *::after, 
.central-content_g5,
.central-content_g5 *,
.central-content_g5::before,
.central-content_g5::after,
.central-content_g5 *::before,
.central-content_g5 *::after,
.central-content2_g5,
.central-content2_g5 *,
.central-content2_g5::before,
.central-content2_g5::after,
.central-content2_g5 *::before,
.central-content2_g5 *::after {
  box-sizing: content-box;
}

.contentsLeft h2 {
 display: flex;
  align-items: center; /* 세로 중앙 정렬 */
  height: 40px;
  font-size:16px;
  line-height: 16px;
  margin: 0px 0 0px 0;
  background-color: #203463;
  padding: 0px 10px;
  color: white;
}
 .contentsLeft h2 a {
 color:white;
 }




	 .language-btn {
    position: relative; /* 기준점으로 설정 */
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 3px 5px 0 0;
    margin: 0;
}

.language-nav {
    position: absolute;
    top: 100%;      /* 버튼 바로 밑 */
    right: 0;       /* 우측 기준 정렬: 우상단 버튼 그룹(.mobile-menu)의 우측 끝에 고정 → 왼쪽으로 펼쳐져 화면 밖으로 안 넘침 (기존 left:-60% 는 좁은 아이콘 그룹에서 우측 오버플로) */
    left: auto;
    padding: 0px;
    margin: 0;      /* margin-top 제거 */
    background-color: #fff;
    border: 1px solid #ddd;
    z-index: 1010;   /* 부모 .mobile-menu(stacking context) 안에서의 순서. 전역 레벨은 .mobile-menu(1000)에 종속 → 모달 아래 */
    display: none;  /* 토글로 열고 닫음 */
    flex-direction: column;
    min-width: 210px;
    max-width: calc(100vw - 16px);
    box-sizing: border-box;
}

/* 한국 헤더(menu_g5): 언어 드롭다운은 마크업상 햄버거 div(행 마지막, inline position:relative)에 앵커한다.
   → 우측끝=햄버거(다국어 헤더와 동일), 세로=아이콘 레벨 유지. (행 전체에 앵커하면 로고 높이 때문에 아래로 내려감) */

/* 다국어 헤더(en/menu): 언어 드롭다운을 한글 페이지만큼 살짝 아래로 내린다.
   ko 드롭다운은 햄버거 div 로 옮겨져 .mobile-menu 직계 자식이 아니므로, 이 선택자는 en 만 매칭됨. */
.mobile-menu > .language-nav { top: calc(100% + 6px); }

.language-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    /* 행 높이를 전 페이지·전 언어 동일하게 고정. en(en/menu)은 #header-navbar 밖이라 명시 안 하면
       gnuboard/bootstrap 테마 line-height(≈1.5)를 상속해 퍼즐 페이지에서만 더 높아졌다 → index(=1.2)에 맞춰 고정. */
    line-height: 1.2;
    text-decoration: none;
    color: black;
    border-bottom: 1px solid #ddd;
}

.language-nav a span:last-child {
    white-space: nowrap;
}

.language-code-btn {
    gap: 4px;
    color: #222;
    font-weight: 700;
    line-height: normal;
}

.language-code-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    border: 0;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: 0px;
}

.language-code-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    height: 14px;
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
    letter-spacing: 0;
}

.language-menu-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    font-weight: 800;
    color: #203463;
}

.language-nav a:last-child {
    border-bottom: none;
}

.language-nav a:hover {
    background-color: #f1f1f1;
}

/* 현재 선택된 언어(리스트 최상단으로 올라오는 항목) 표시 */
.language-nav a.is-active {
    background-color: #eef1f7;
    color: #203463;
    font-weight: 700;
    box-shadow: inset 3px 0 0 #203463; /* 좌측 액센트 바 */
    cursor: default;
}
.language-nav a.is-active:hover {
    background-color: #eef1f7; /* 선택 항목은 hover 시에도 강조 유지 */
}
.language-nav a.is-active .language-menu-code {
    color: #203463;
}
.language-nav a.is-active::after {
    content: "\2713"; /* ✓ 체크 표시 */
    margin-left: auto;
    padding-left: 8px;
    color: #203463;
    font-weight: 700;
}
		


ul.recent {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

ul.recent li {
  position: relative;
  margin: 0;
/*  padding: 10px 4px 2px 86px;*/
  padding: 10px 4px 10px 6px;
  list-style-type: none;
  border-bottom: 1px dotted #aaa;
  font-size: 12px;
}

ul.recent li a {
  font-size: 14px;
}

ul.recent li h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

ul.recent li img {
  position: absolute;
  left: 8px;
  top: 12px;
  width: 64px;
  height: 64px;
  border: 1px solid #aaa;
}

ul.recent li .date {
  text-align: right;
  font-size: 14px;
  color: #666;
}

ul.recent li.act {
  background-color: #ccf;
}

.social {
  position: absolute;
  padding: 0;
  top: 14px;
  right: 2px;
}


.social:after {
  content: "";
  display: block;
  clear: both;
  height: 0;
  overflow: hidden;
}

.social ul {
  margin: 0; padding: 0;
}

.social ul li {
  float: left;
  margin: 0;
  padding: 0;
  list-style-type: none;
  margin-left: 6px;
}

.ad-long {
  margin: 20px 0;
  text-align: center;
}

.update {
  font-size: 12px;
  color: #666;
  width: 330px;
  text-align: right;
}
