@charset "utf-8";

/* CSS Document */
a, button {
	cursor: pointer;
	text-decoration: none;
}
a:hover, a:visited, a:active, a:active {
	text-decoration: none;
}
body {
  font-family: "NanumSquare", sans-serif;
  color: #000;
}

.inner {
	max-width: 1200px;
	margin: 0 auto;
}

.news-page { margin: 0; }
.news-header { height: 80px; }
.title-wrap {
	display: flex;
	align-items: center;
	height: 100%;
}
.title-wrap h1, .title-wrap h2, .title-wrap p { margin-bottom: 0; }
.news-title { padding-left: 24px; }
.title-wrap p { font-size: 32px; }

/* 게시글 카데고리, 검색 영역 */
.board-wrap {
	width: calc(100% - 24px); 
	margin-bottom: 40px;
}
.board-top {
	display: flex;
  	justify-content: space-between;
  	align-items: center;
  	gap: 20px;
	border-bottom: 2px solid #5ca933;
	height: 50px;
	position: relative;
}
.board-tab {
	position: absolute;
	bottom: 0px;
}
.board-tab ul {
	display: flex;
  	gap: 0;
  	margin: 0;
  	padding: 0;
  	list-style: none;
}
.board-tab ul li { margin-right: 4px; }
.board-tab ul li a {
	display: inline-flex;
  	align-items: center;
  	justify-content: center;
 	min-width: 95px;
 	height: 30px;
 	padding: 0 20px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
  	background: #bfbfbf;
	color: #000;
  	font-size: 16px;
  	font-weight: 700;
}
.board-tab a.is-active {
 	background: #5ca933;
  	color: #fff;
}
.board-tab a:hover {
	background: #5ca933;
  	color: #fff;
}
.board-search {
	display: flex;
  	align-items: center;
  	gap: 10px;
	position: absolute;
	right: 0;
}
.board-search input[type="search"] {
	width: 190px;
	height: 30px;
	padding: 0 12px;
	border: 1px solid #999;
	background: #fff;
	font-size: 14px;
}
.board-search button {
	min-width: 64px;
	height: 30px;
	border: 0;
	border-radius: 6px;
	background: #707070;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

/* 게시글 목록 */
.board-list-wrap { 
	padding-top: 6px;
	border-bottom: 1px solid #5ca933;
}
.board-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	background: transparent;
}
.board-table thead th {
	padding: 12px 0px;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	border-bottom: 1px solid #ddd;
}
.board-table tbody tr + tr td { border-top: 1px solid #ececec; }
.board-table tbody tr:first-child td { font-weight: bold; }
.board-table tbody tr td:nth-child(5), .board-table tbody tr td:last-child { color: #7f7f7f; }
.board-table tbody td.title { position: relative; text-align: left; }
.board-table tbody td.title a { color: #000; }
.board-table tbody td.title a:hover { color: #5ca933; }
.board-table tbody td {
	padding: 12px 5px;
	font-size: 14px;
	text-align: center;
	vertical-align: middle;
}
.notice-badge { display: inline-block; }
.bi-megaphone-fill {
	font-size: 16px;
	height: 14px;
    line-height: 16px;
    color: crimson;
}
.title .file-icon, .title .image-icon {
  	margin-left: 8px;
  	font-size: 14px;
	color: #7f7f7f;
}
.title .new-icon {
	position: absolute;
	top: 17px;
	margin-left: 8px;
	padding: 0 2px;
	font-size: 8px;
	background: #ff0000;
	color: #fff;
	border-radius: 2px;
}
.board-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
	padding: 20px 0;
	font-size: 16px;
	font-weight: 500;
}
.board-pagination a { color: #000; }
.board-pagination a:hover { color: #5ca933; }
.board-pagination a[aria-current="page"] { font-weight: 800; }
.board-pagination .prev, .board-pagination .next { font-weight: 700; }

/* 게시글 페이지 */
.news-page-detail { margin-bottom: 80px; }
.board-detail-top {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding-bottom: 10px;
	border-bottom: 2px solid #4fa52f;
}
.board-detail-nav {
	display: flex;
	align-items: center;
	gap: 8px;
}
.btn-list {
	display: inline-block;
	text-align: center;
	width: 94px;
	height: 30px;
	border-radius: 4px;
	background: #b7b7b7;
	color: #333;
	font-size: 14px;
	font-weight: 600;
	line-height: 28px;
}
.board-detail-nav a.btn-prev, .board-detail-nav a.btn-next {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 38px;
	height: 30px;
	border-radius: 4px;
	background: #4fa52f;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
}

.board-detail-header { border-bottom: 1px solid #e5e5e5; }
.detail-row {
	display: flex;
	align-items: center;
	min-height: 48px;
	border-bottom: 1px solid #e5e5e5;
}
.detail-row:last-child { border-bottom: 0; }
.detail-item {
	display: flex;
	align-items: center;
	min-width: 0;
}
.board-title-icon {
	position: relative;
	display: flex;
	align-items: center;
	margin-left: 8px;
}
.board-title-icon span {
	display: inline-block;
	padding: 0 4px;
}
.board-title-icon .file-icon, .board-title-icon .image-icon {
	padding: 0 2px;
  	font-size: 14px;
	color: #7f7f7f;
}
.board-title-icon .new-icon {
	margin-left: 6px;
	font-size: 10px;
	background: #ff0000;
	color: #fff;
	border-radius: 2px;
}
.detail-label {
	display: inline-block;
	margin-right: 24px;
	font-size: 15px;
	font-weight: 500;
	color: #111;
	white-space: nowrap;
}
.detail-value {
	font-size: 16px;
	font-weight: 700;
	color: #111;
	white-space: nowrap;
}

.category-row { padding: 0 14px; }
.title-row {
	justify-content: space-between;
	padding: 0 14px;
}
.title-item { flex: 1; }
.detail-title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	color: #111;
}
/* 우측 작성자 / 작성일 / 조회수 간격 */
.title-row .detail-item:not(.title-item) { margin-left: 48px; }

/* 본문 영역 */
.board-detail-content { margin-top: 18px; }
.content-box {
	min-height: 490px;
	padding: 5px 14px;
	/*background: #fcf7f7;*/
	font-size: 16px;
	font-weight: 400;
	line-height: 1.8;
	color: #222;
	border-bottom: 1px solid #e5e5e5;
}
.content-box p { margin: 0 0 16px; }
.content-box p:last-child { margin-bottom: 0; }

/* 첨부파일 영역 */
.board-detail-attach {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 18px;
	padding-left: 14px;
}
.attach-label {
	font-size: 16px;
	font-weight: 600;
	color: #111;
	white-space: nowrap;
}
.attach-file {
	display: flex;
	align-items: center;
	gap: 8px;
}
.attach-name {
	display: inline-flex;
	align-items: center;
	width: 300px;
	height: 30px;
	padding: 0 10px;
	border: 1px solid #eee;
	border-radius: 4px;
	background: #fff;
	color: #999;
	font-size: 14px;
}
.btn-download {
	width: 74px;
	height: 30px;
	border-radius: 4px;
	background: #666;
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 28px;
	text-align: center;	
}
.attach-name:hover { color: #4fa52f; }
.btn-download:hover { background: #4fa52f; color: #fff; }

/* 컬럼 페이지 */
.column-page-content {}
.column-hero {
	min-height: 200px;
	display: flex;
	align-items: center;
	padding: 60px max(calc((100vw - 1200px) / 2));
	background: #dbffb2 url("../images/academy/column-img1.png") center center no-repeat;
	
}
.column-hero h1 {
	margin: 0;
	font-size: 50px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
}
.column-hero p {
	font-size: 18px;
	line-height: 1.4;
	margin-top: 16px;
}
.column-list-wrap {
	padding: 40px max(calc((100vw - 1200px) / 2));
}
.column-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 24px 0;
}
.column-nav a {
	display: inline-block;
	padding: 10px 16px;
	border: 1px solid #72af2c;
	font-size: 16px;
	font-weight: 600;
	color: #72af2c;
}
.column-nav a.is-current, .column-nav a:hover {
	background: #72af2c;
	color: #fff;
}
.column-grid-1 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}
.column-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}
.column-card {
	display: grid !important;
	min-height: 100px;
	background-color: #F4F4F4;
}
.column-card article {
	padding: 30px;
	word-break: normal;
	line-break: strict;
	overflow-wrap: anywhere;
}
.column-card span { 
	font-size: 16px; 
	color: #72af2c;
	font-weight: 600;
}
/* 1열 */
.column-grid-1 .column-card h2 { 
	font-size: 24px; 
	line-height: 1.4;
	color: #000;
}
.column-grid-1 .column-card p { 
	font-size: 16px; 
	line-height: 1.8;
	color: #000;
}
/* 2열 */
.column-grid-2 .column-card h2 { 
	font-size: 28px; 
	line-height: 1.4;
	color: #000;
}
.column-grid-2 .column-card p { 
	margin-top: 12px;
	font-size: 16px; 
	line-height: 1.8;
	color: #000;
}
.column-card small {
	display: block;
	margin-top: 12px;
	color: #2E2E2E;
	font-size: 10px;
}
.column-card strong {
	display: block;
	margin-top: 20px;
	color: #72af2c;
	font-size: 16px;
}
.recent-column {
	padding: 40px max(calc((100vw - 1200px) / 2));
	background-color: #f7f4ee;
}
.recent-column-heading {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 30px;
}
.recent-column-heading h2 {
	margin: 0;
	font-size: 30px;
	font-weight: 600;
}
.text-link {
	display: inline-flex !important;
	align-items: center;
	gap: 16px;
	padding: 7px 0;
	border-bottom: 1px solid #20211F;
	font-size: 14px;
	font-weight: 700;
	color: #20211F;
}
.text-link:hover { 
	color: #72af2c;
	border-bottom: 1px solid #72af2c;
}
.recent-column-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.recent-column-card {
	display: grid;
	min-height: 125px;
	background-color: #fffdf9;
	border: 1px solid #72af2c;
}
.recent-column-card article {
	padding: 16px 16px;
}
.recent-column-card span {
	color: #72af2c;
	font-size: 14px;
	font-weight: 700;
}
.recent-column-card h3 {
	margin-top: 4px;
	font-size: 16px;
	line-height: 1.5;
}
/* 컬럼 탭 콘텐츠 */
.column-tab-content { display: none; }
.column-grid-1.column-tab-content.is-active,
.column-grid-2.column-tab-content.is-active  { display: grid; }

/* 컬럼 상세내용 */
.column-header {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 30px 75px;
	text-align: center;
}
.column-header > span {
	font-size: 20px;
	color: #72af2c;
	font-weight: 700;
}
.column-header h1 {
	margin: 20px 0 23px;
	font-size: 40px;
	font-weight: 600;
	line-height: 1.4;
}
.column-subtitle {
	max-width: 840px;
	margin: 0 auto 16px;
	color: #5C5750;
	font-size: 20px;
	line-height: 1.75;
}
.column-writer {
	font-size: 16px;
}
.column-contents-img {
	max-width: 1200px;
	margin: 0 auto;
	overflow: hidden;
}
.column-container { 
	max-width: 1200px;
	margin: 0 auto;
	padding: 75px 25px 75px;
}
.column-body, .column-body p  {
	word-break: normal;
	line-break: strict;
	overflow-wrap: anywhere;
}
.column-body hr { 
	width: 100%;
	height: 1px;
	border: none; 
	background-color: #b0b0b0; 
	margin: 30px 0; 
}
.column-body h2 {
	margin: 0 0 25px;
	font-weight: 600;
	font-size: 30px;
}
.column-body p {
	font-size: 18px;
	line-height: 1.8;
	margin: 0 0 30px;
}
.column-navigation {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #47362a24;
}
.column-navigation a {
	color: #20211f;
	font-weight: 600;
}

@media (max-width: 1024px) {
	.inner { width: calc(100% - 24px); }
	.page-title { font-size: 36px; }
	.board-wrap h2 { font-size: 28px; }
	.board-top { flex-direction: column; align-items: flex-start; height: 80px; }
	.board-search { width: 100%; }
	.board-search input[type="search"] { width: 100%; flex: 1; }
	
	.column-hero, .column-list-wrap { padding: 0 30px; }
}

@media (max-width: 768px) {
  	.page-title { font-size: 28px; }
  	.board-tab ul { flex-wrap: wrap; }
  	.board-tab a {
    	min-width: auto;
    	padding: 0 16px;
    	font-size: 16px;
    	height: 40px;
  	}
  	.board-table colgroup { display: none; }
  	.board-table thead { display: none; }
  	.board-table, .board-table tbody,
  	.board-table tr, .board-table td {
    	display: block;
    	width: 100%;
  	}
  	.board-table tr {
    	padding: 14px 0;
    	border-bottom: 1px solid #ddd;
  	}
  	.board-table td {
    	padding: 4px 0 !important;
    	text-align: left !important;
    	border: 0 !important;
  	}
  	.board-table td::before {
    	display: inline-block;
    	min-width: 70px;
    	font-weight: 700;
    	color: #666;
  	}
	.board-table tbody td:nth-child(1)::before { content: "번호"; }
	.board-table tbody td:nth-child(2)::before { content: "카데고리"; }
	.board-table tbody td:nth-child(3)::before { content: "내용"; }
	.board-table tbody td:nth-child(4)::before { content: "작성자"; }
	.board-table tbody td:nth-child(5)::before { content: "등록일"; }
	.board-table tbody td:nth-child(6)::before { content: "조회"; }

	.board-pagination {
		flex-wrap: wrap;
		gap: 10px;
		font-size: 18px;
	}
	
	.board-detail-top { margin-top: 20px; }

	.btn-list {
		width: 80px;
		height: 32px;
		font-size: 13px;
	}

	.btn-arrow {
		width: 34px;
		height: 32px;
	}

	.category-row, .title-row {
		padding: 12px 0;
	}

	.detail-row {
		display: block;
		min-height: auto;
	}

	.detail-item {
		display: flex;
		align-items: center;
		margin-bottom: 10px;
	}

	.detail-item:last-child {
		margin-bottom: 0;
	}

	.detail-label {
		width: 70px;
		margin-right: 0;
		font-size: 14px;
	}

	.detail-value, 	.detail-title {
		font-size: 15px;
	}

	.title-row .detail-item:not(.title-item) {
		margin-left: 0;
	}

	.content-box {
		min-height: 320px;
		padding: 5px 0;
		font-size: 15px;
	}
	.board-detail-attach {
		display: block;
		padding-left: 0;
	}
	.attach-file {
		margin-top: 8px;
	}
	.attach-name {
		flex: 1;
		width: auto;
	}
	.column-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.column-card {
		grid-template-columns: 1fr;
	}
	.column-card article {
		padding: 20px 25px 20px;
	}
	.column-nav a {
		padding: 12px 12px;
		font-size: 14px;
	}
}

@media (max-width: 425px) {
	.board-tab ul li a { min-width: 70px; }
	.column-hero, .column-list-wrap { padding: 0 20px; }
	.column-hero h1 { font-size: 40px; }
	.column-hero p { font-size: 16px; }
	.column-header h1 { font-size: 30px; }
	.column-subtitle { font-size: 18px; }
	.column-container { 
		padding: 35px 25px 35px;
	}
}
