/*  게시글 리스트   ==================================================================================== */
.board_category								{text-align:center; margin-bottom:20px;}
.board_category li							{display:inline-block; margin-right:3px;}
.board_category li:last-child				{margin:0;}
.board_category li a						{display:block; background:#f7f7f7; color:#555; padding:5px 15px; border-radius:2px; font-weight:500; }
.board_category li a:hover, .board_category .on a		{background:#f15f22; color:#fff; }

.board_list .content_wrap						{position:relative; display: grid; grid-template-columns:repeat(3, 1fr); gap:35px 20px;}
.board_list .content_wrap:after					{content:''; display:block; clear:both;}
.board_list .content_wrap li					{position:relative; width:100%; }
.board_list .content_wrap li figure				{position:relative; aspect-ratio:6 / 4; overflow:hidden; border:1px solid #eaeaea;}
.board_list .content_wrap li figure img			{width:100%; height:100%; object-fit:cover;transition:all 0.4s ease;}
.board_list .content_wrap li figure i			{display:none; position:absolute; width:100%; height:100%; align-items:center; color:#fff;background:rgba(0, 0, 0, 0.3); z-index:1; text-align:center; font-size:50px;}
.board_list .content_wrap li .txt				{padding:20px 0 0 0;}
.board_list .content_wrap li .txt p				{font-family: 'S-CoreDream-5Medium'; font-size:1.15em; letter-spacing:-0.75px; color:#111; line-height:1.4; height:52px; overflow:hidden; text-overflow: ellipsis;-o-text-overflow: ellipsis; display:-webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical; word-wrap: break-word;}
.board_list .content_wrap li .txt span			{display: block; color:#777; font-size:0.95rem; margin-top:12px;}
.board_list .content_wrap li .txt em			{position:relative; font-style:normal; color:#999; padding-left:23px;}
.board_list .content_wrap li .txt em:before		{content:''; position:absolute; top:3px; left:11px; bottom:0; width:1px; height:0.9em; margin:auto; background:#ddd;}
.board_list .content_wrap li:hover figure		{box-shadow:0 0 15px 1px rgba(0,0,0,.1);}
.board_list .content_wrap li:hover figure img	{transform: scale(1.12);}
.board_list .content_wrap li:hover figure i		{display:grid;}

.board_list .content_nolist						{padding:120px 0; text-align:center; border-top:1px solid #ddd; border-bottom:1px solid #ddd;}
.board_list .btn_wrap							{padding-top:40px; overflow:hidden; }


@media screen and (max-width:1024px) { 
	.board_list .content_wrap					{grid-template-columns:repeat(2, 1fr); gap:20px;} 
	.board_list .content_wrap li .txt			{padding:0;}
	.board_list .content_wrap li .txt p			{font-size:1.05em; margin-top:10px; height:auto;}
	.board_list .content_wrap li .txt span		{font-size:0.85em; margin-top:2px;}
	.board_list .content_wrap li figure i		{font-size:30px;}
}

@media screen and (max-width:768px) {
	.board_list .content_wrap					{grid-template-columns:1fr;} 
}


/*  게시글 뷰  ==================================================================================== */
.board_view .tit_wrap							{position:relative; padding:45px 20px; border-top:2px solid #333; border-bottom:1px solid #ddd; transition:all 0.3s ease;}
.board_view .tit_wrap .tit						{font-weight:700; position:relative; font-size:1.6em; letter-spacing:-1px; line-height:140%; color:#222; transition:all 0.3s ease;}
.board_view .tit_wrap .tit span					{display:inline-block; padding:0px 10px; height:31px; line-height:31px; color:#930911; border:1px solid #930911; margin-right:10px; font-size:15px;}
.board_view .tit_wrap .name						{color:#999; font-size:0.9em;padding:15px 0 0 0; transition:all 0.3s ease;}
.board_view .tit_wrap .name span				{position:relative; padding-right:23px;}
.board_view .tit_wrap .name span::after			{content:''; position:absolute; top:0; right:12px; bottom:0; width:1px; height:1em; margin:auto; background:#ddd;}
.board_view .tit_wrap .name span:last-child		{padding:0;}
.board_view .tit_wrap .name span:last-child::after{display:none;}

.board_view .content_wrap						{overflow:hidden;padding:60px 20px; word-break:break-all; min-height:300px;  }
.board_view .content_wrap img					{max-width:100%; }

.board_view .video_wrap				{position:relative; width:100%; height:100%; padding-top:50%; box-shadow:0 0 10px 1px rgba(0,0,0,0.1); overflow:hidden; margin-bottom:40px;}
.board_view .video_wrap iframe		{position:absolute; top:0; left:0; width:100%; height:100%; z-index: 1;}

.board_view .btn_wrap							{padding:40px 0; text-align:center; overflow:hidden; border-top:1px solid #bababa; }
.board_view .btn_wrap .bbs_btn02				{margin-right:3px;}
.board_view .bwrite_cm							{padding-top:20px;}

@media screen and (max-width:1024px) {
	.board_view .tit_wrap						{padding:20px 10px;} 
	.board_view .tit_wrap .tit					{font-size:1.25em;}
	.board_view .tit_wrap .tit span				{padding:0 10px; height:26px; line-height:24px; margin-right:10px; font-size:15px;}
	.board_view .tit_wrap .name					{padding:5px 0 0 0;}
	.board_view .tit_wrap .name span			{font-size:0.9em; padding-right:18px;}

	.board_view .content_wrap					{padding:30px 10px;}
	.board_view .video_wrap						{margin-bottom:20px;}
	.board_view .btn_wrap						{padding:20px 0;}
}

/* 뷰페이지 버튼, 이전, 다음글	 ======================================*/  
.board_view .pn_wrap							{position:relative; display:flex; border:1px solid #ebebeb; box-shadow:0 0 7px 1px rgba(128,128,128,0.1);}
.board_view .pn_wrap li							{position:relative; width:50%; font-size:0.95em;}
.board_view .pn_wrap li:first-child				{border-right:1px solid #e6e6e6;}
.board_view .pn_wrap li div,
.board_view .pn_wrap li a						{position:relative; letter-spacing:-1px; color:#555; display:grid; grid-template-columns:120px auto;}
.board_view .pn_wrap li span					{font-family: 'S-CoreDream-4Regular'; position:relative;display:inline-block; padding:18px 0 15px 45px; color:#222;  transition:all 0.3s ease;}
.board_view .pn_wrap li p						{position:relative;display:inline-block; color:#777; padding:17px 10px;overflow:hidden; text-overflow:ellipsis; white-space:nowrap;  text-overflow:ellipsis; -o-text-overflow:ellipsis;  word-break:break-all;   }
.board_view .pn_wrap li a p:hover				{text-decoration:underline;}
.board_view .pn_wrap .prev::before				{content:''; position:absolute; top:26px; left:20px; border:solid #444; border-width:1px 0 0 1px;  padding:3px; transform:rotate(-45deg);}
.board_view .pn_wrap .next						{padding:0 10px 0 20px;}
.board_view .pn_wrap .next div, .board_view .pn_wrap .next a	{display:flex; flex-direction:row; justify-content:space-between; gap:0 10px;}
.board_view .pn_wrap .next span					{order:2; padding:18px 45px 18px 0;} 
.board_view .pn_wrap .next p					{order:1;}
.board_view .pn_wrap .next::before				{content:''; position:absolute; top:26px; right:20px; border:solid #444; border-width:0 1px 1px 0;  padding:3px; transform:rotate(-45deg);} 

.board_view .file_wrap 							{position:relative; padding:20px 0  ;font-size:0.95em; overflow:hidden; border-bottom:1px solid #ddd; display: grid; grid-template-columns:160px auto;   transition:all 0.3s ease;} 
.board_view .file_wrap .tit						{ letter-spacing:-1px; padding-left:20px; color:#222;}
.board_view .file_wrap .tit i					{font-size:0.95em; margin-right:10px; color:#444;} 
.board_view .file_wrap li						{position:relative;  font-size:0.9em;color:#888;padding:4px 0 4px 22px; line-height:1.3;  transition:all 0.3s ease;}
.board_view .file_wrap li i						{display:none; }
.board_view .file_wrap li::before				{content:''; position:absolute; left:0; top:6px; width:16px; height:16px; background:url('./img/icon_down.png') no-repeat 0 0;  }
 
@media screen and (max-width:1024px) {  
	.board_view .pn_wrap						{display:Grid; border-right:0; border-left:0;}
	.board_view .pn_wrap li						{width:100%;}
	.board_view .pn_wrap li div,
	.board_view .pn_wrap li a					{grid-template-columns:90px auto;  } 
	.board_view .pn_wrap li span				{padding:12px 0 12px 30px !important;}
	.board_view .pn_wrap li p					{padding:12px 0; }
	.board_view .pn_wrap .prev::before			{top:23px; left:10px; padding:2px; transform:rotate(45deg);} 
	.board_view .pn_wrap .next					{padding:0; border-top:1px solid #ddd;}
	.board_view .pn_wrap .next div, .board_view .pn_wrap .next a	{display:grid; justify-content:unset; gap:0;}
	.board_view .pn_wrap .next span, .board_view .pn_wrap .next p	{order:unset;}
	.board_view .pn_wrap .next::before			{top:20px; right:auto; left:10px; padding:2px; transform:rotate(45deg);}

	.board_view .file_wrap 						{font-size:0.9em; padding:12px 5px; grid-template-columns:1fr;   }
	.board_view .file_wrap .tit					{display:none;}
}


/*  게시글 폼  ==================================================================================== */
.board_form										{margin:40px auto;}
.board_form .tit								{color:#222; font-weight:bold; padding:15px 10px; text-align:center; background-color:#f2f2f2; border-top:2px solid #333; font-size:1.1em; }
.board_form	table								{border-collapse:collapse; width:100%; table-layout:fixed; }
.board_form table tbody th						{padding:10px 8px;  border:1px solid #ddd; color:#555;background:#fafafa;font-size:0.95rem; letter-spacing:-1px; }
.board_form table tbody th:first-child			{border-left:0;}
.board_form table tbody th:last-child			{border-right:0;}
.board_form table tbody th span					{display:block;font-size:0.85em;color:#ec0b0b;}
.board_form table tbody td						{padding:10px ;  word-break:break-all;   border:1px solid #ddd;}
.board_form table tbody td p					{font-size:0.9em;}
.board_form table tbody td p i					{margin-right:5px; font-size:13px; color:#306bc5; }
.board_form table tbody td:first-child			{border-left:0;}
.board_form table tbody td:last-child			{border-right:0;} 

.board_form .btn_wrap							{padding:40px 0; overflow:hidden; text-align:center; }