@charset "UTF-8";

h1#cmnt{
    width: 100%;
    height: 200px;
    background: url('../imgs/main/005 커뮤니티.png') no-repeat center;
    background-size: cover;
    border-bottom: 1px solid #ccc;
}

.cmnt_area{
    
}

.cmnt_area .box_inner{
    max-width: 1280px;
    width: 100%;
    box-sizing: border-box;
}
.cmnt_area article{
    float: right;
    width: 85%;
    padding: 20px;
    box-sizing: border-box;
}
.cmnt_area article.cmnt.manage{
	float: none;
}
.cmnt_area article h2 {
    font-size: 30px;
    text-transform: uppercase;
    font-family: 'NanumGothic', sans-serif;
    margin: 10px 0 30px ;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}
.cmnt_area article h4 {
   	display: none;
}
.cmnt_area .article-wrap .content-img{
    width: 100%;
}

.sugang_area{
    margin: 50px 0;
}

.cmnt_area .mobile-edu-header{
    display: none;
}

/*Q&A 문의하기 버튼*/
.qna .a-button-wrap .a-button{
    display: block;
    float: right;
    background: rgb(133,123,253);
    border-radius: 20px;
    padding: 10px 20px;
    margin: 0 20px 10px 0;
    color: #fff;
    font-weight: bold;
}

/* faq 카테고리 추가 */
.faq-category-wrapper{
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 10px;
}

.faq-category{
	width: 30%;
	height: 40px;
	line-height: 40px;
	background-color: #666;
	color: #fff;
	cursor: pointer;
	border-radius: 10px;
}
.faq-category.view-all{
}

.faq-category:hover{
	filter: brightness(1.1);
}

.faq-category.active{
	background-color: #6d65ff;
}

.faq-category.active:hover{
	filter: none;	
}

@media all and (max-width:1065px) and (min-width:801px){
    
    aside{
        display: none;
    }
    
    h1#cmnt{
        height: 160px;
    }
    
    .cmnt_area .box_inner{
        width: 90%;
        margin: 0 auto;
    }
    .cmnt_area article{
        width: 100%;
        padding: 0;
    }
    .cmnt_area article h2 {
        font-size: 30px;
        text-transform: uppercase;
        padding: 10px 0 10px 10px;
    }
   
    .cmnt_area .article-wrap .content-img{
        width: 100%;
    }

    .sugang_area{
        margin: 50px 0;
    }
    
    /* 테이블 전체 폭 */
  .cmnt_area.notice table,
  .cmnt_area.epilogue table {
    width: 100%;
    margin: 0 auto;
  }

  /* 제목(h2) 간격 축소 */
  .cmnt_area.notice h2,
  .cmnt_area.epilogue h2 {
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

  /* 헤더(th) */
  .cmnt_area.notice .table-header th,
  .cmnt_area.epilogue .table-header th {
    font-size: 17px;       /* PC 20px → 태블릿 */
    padding: 12px 8px;
  }

  /* 공통 td */
  .cmnt_area.notice th,
  .cmnt_area.notice td,
  .cmnt_area.epilogue th,
  .cmnt_area.epilogue td {
    padding: 12px 8px;
  }

  /* 제목 컬럼 */
  .cmnt_area.notice .td_title span,
  .cmnt_area.epilogue .td_title span {
    font-size: 15px;
  }

  /* 날짜 / 조회수 등 */
  .cmnt_area.notice td:not(.td_title),
  .cmnt_area.epilogue td:not(.td_title) {
    font-size: 15px;
  }

  /* 행 높이 */
  .cmnt_area.notice tr,
  .cmnt_area.epilogue tr {
    height: 50px;
  }

  /* 📌 태블릿에서 중요도 낮은 컬럼 숨김 (작성자 / 조회수) */
  .cmnt_area.notice th:nth-child(3),
  .cmnt_area.notice th:nth-child(5),
  .cmnt_area.notice td:nth-child(3),
  .cmnt_area.notice td:nth-child(5),

  .cmnt_area.epilogue th:nth-child(3),
  .cmnt_area.epilogue th:nth-child(5),
  .cmnt_area.epilogue td:nth-child(3),
  .cmnt_area.epilogue td:nth-child(5) {
    display: none;
  }

  /* 제목 컬럼 비중 확대 */
  .cmnt_area.notice .td_title,
  .cmnt_area.epilogue .td_title {
    width: 65%;
  }
    
}


@media all and (max-width:800px) {
    
    aside{
        display: none;
    }
    
    .header_background {        
        height: 80px;
        width: 100%;
        background:rgba(14,16,118,0.9);
        z-index: -10;
        box-sizing: border-box;
    }
    
    article.cmnt.faq{
    	margin-top: 20px;
    }

	h1#cmnt.faq{
		width: 100%;
	    height: 300px;
	    background: url('../imgs/cmnt/common/faq_header.png') no-repeat center;
	    background-size: cover;
	    border-bottom: 1px solid #ccc;
	}
    h1#cmnt.notice{
	    width: 100%;
	    height: 300px;
	    background: url('../imgs/cmnt/common/005.png') no-repeat center;
	    background-size: cover;
	    border-bottom: 1px solid #ccc;
	}

    h1#cmnt.epilogue{
	    width: 100%;
	    height: 300px;
	    background: url('../imgs/cmnt/common/003.png') no-repeat center;
	    background-size: cover;
	    border-bottom: 1px solid #ccc;
	}

    h1#cmnt.qna{
	    width: 100%;
	    height: 300px;
	    background: url('../imgs/cmnt/common/006.png') no-repeat center;
	    background-size: cover;
	    border-bottom: 1px solid #ccc;
	}
	.cmnt_area .mobile-none{
		display: none;
	}
	.cmnt_area .mobile-edu-header{
    	display: block;
		margin-top: -130px;
		margin-bottom: 50px;
		color: #fff;
		padding-left: 10px;
	}

    .cmnt_area .box_inner{
        width: 100%;
    }
    .cmnt_area article{
        width: 100%;
        padding: 0;
    }
    .cmnt_area article h4 {
    	display: block;
		margin-left: 32px;
		margin-bottom: -18px;
		margin-top: 20px;
		font-weight: bold;
		color: #1d2b70;
    }
    .cmnt_area article h2 {
	    font-size: 23px;
        text-transform: uppercase;
        font-family: 'NanumGothic', sans-serif;
	    margin-left: 20px;
        padding: 10px 0 10px 10px;
	    font-weight: bold;
    }
    .cmnt_area.notice h2, .cmnt_area.epilogue h2,
    .cmnt_area.qna h2, .cmnt_area.qna_add h2{
	    border-style: none;
    }
    .cmnt_area .article-wrap .content-img{
        width: 100%;
    }

    .sugang_area{
        margin: 50px 0;
    }
    
    .cmnt_area .article-wrap,
    .cmnt_area .article_body {
        width: 100%;
        box-sizing: border-box;
    }

    .cmnt_area.notice .pagination {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
	  .cmnt_area.notice th:nth-child(3),
	  .cmnt_area.notice td:nth-child(3),
	  .cmnt_area.notice th:nth-child(5),
	  .cmnt_area.notice td:nth-child(5) {
	    display: none;
	  }
	  
	  .cmnt_area.epilogue th:nth-child(3),
	  .cmnt_area.epilogue td:nth-child(3),
	  .cmnt_area.epilogue th:nth-child(5),
	  .cmnt_area.epilogue td:nth-child(5) {
	    display: none;
	  }
	  
} 


@media all and (max-width:370px) {
	
	.cmnt_area article h4{
		font-size: 15px;
		margin-left: 20px;
	}
	
	.cmnt_area.notice h2, .cmnt_area.epilogue h2, .cmnt_area.qna h2 {
		font-size: 20px;
		margin-left: 10px;
	}	
	
	h1#cmnt{
		height: 100px;
	}
}
