.btn_black { background: #000; color: #fff; }
.btn_gray { background: #eaeaea; color: #000; }
.btn_pink { background: #f896a6; color: #000; }

.bbs_section { padding: 130px 0; }
.bbs_section_title { text-align: center; margin-bottom: 100px; }
.bbs_section_title h1 { font-size: 45px; font-weight: 700; line-height: 1em; }
.bbs_section_title p { font-size: 20px; line-height: 1em; margin-top: 10px; }
.bbs_list_wrap {  }
.bbs_list_table { border-collapse: collapse; width: 100%; border-top: 1px solid #000; }
.bbs_list_table td { padding: 20px; border-bottom: 1px solid #000; text-align: center; font-size: 16px; }

.bbs_pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 100px; }
.bbs_pagination a { display: flex; justify-content: center; align-items: center; width: 30px; height: 30px; font-size: 16px; font-weight: 400; line-height: 1em; transition: all 0.3s; -webkit-transition: all 0.3s; }
.bbs_pagination .active a { background: #EAEAEA; }
.bbs_pagination .bbs_pagination_icon { color: #DEDEDE; border: 1px solid currentColor; }
.bbs_pagination .bbs_pagination_icon:hover { color: #000; }

.bbs_pagination ~ .bbs_navigation { padding-top: 0; }
.bbs_navigation { display: flex; justify-content: center; align-items: center; padding: 50px 0; gap: 20px; }
.bbs_navigation a { display: flex; justify-content: center; align-items: center; width: 80px; height: 80px; border-radius: 50%; font-size: 16px; font-weight: 600; text-align: center; }

.bbs_list_highlight { background: var(--primary-light); }
.bbs_list_thumb { flex-shrink: 0; margin-right: 35px; width: 80px; height: 80px; overflow: hidden; background-image: url(../img/common/no-image-available.png); background-size: cover; background-position: center; }
.bbs_list_thumb img { width: 100%; height: 100%; object-position: center; object-fit: cover; }
.bbs_subject_icon { flex-shrink: 0; display: inline-flex; vertical-align: middle; margin-right: 4px; }
.bbs_list_tag span { display: inline-block; min-width: 5em; text-align: center; padding: 5px 8px; background: #fff; color: #222; font-size: 12px; font-weight: 700; border: 1px solid #666; border-radius: 4px; }
.bbs_list_subject { display: flex; justify-content: flex-start; align-items: center; overflow: hidden; }
.bbs_list_subject_text { flex-grow: 1; text-align: left; padding: 12px 0; }
.bbs_list_subject_text p { font-size: 20px; margin-bottom: 8px; overflow: hidden; -webkit-line-clamp: 1; display: -webkit-box; -webkit-box-orient: vertical; }
.bbs_list_subject_text > span { display: flex; justify-content: flex-start; align-items: center; font-size: 16px; font-weight: 600; }
.bbs_list_subject_text > span:before { content: "";width: 14px; height: 14px; border-radius: 50%; background: var(--primary); margin-right: 6px; }
.bbs_list_subject:hover .bbs_list_subject_text p { text-decoration: underline; }

.bbs_list_cell {  }
.bbs_list_cell_group { display: flex; justify-content: flex-start; align-items: stretch; margin-right: 20px; padding: 10px 0; }
.bbs_list_cell_thumb { position: relative; overflow: hidden; width: 280px; aspect-ratio: 1.538/1; }
.bbs_list_cell_thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bbs_list_cell_overlay { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; background: #000; color: #fff; }
.bbs_list_cell_overlay p { font-size: 16px; line-height: 1.5; text-align: center; }


/* 상세 */
.view_head { border-top: solid 1px #000; border-bottom: solid 1px #000; padding: 15px 0 15px 0; }
.view_head_row + .view_head_row { margin-top: 10px; }
.view_head_cell ul { display: flex; justify-content: flex-start; align-items: center; gap: 0.3em; }
.view_head_cell li { font-size: 16px; }
.view_detail_tag { display: inline-block; min-width: 5em; text-align: center; padding: 5px 8px; background: #fff; color: #222; font-size: 12px; font-weight: 700; border: 1px solid #666; border-radius: 4px; }
.view_tit { font-size: 22px; font-weight: 600; margin: 0 0 10px 0; }
.view_body { padding: 15px 0; font-size: 16px; border-bottom: solid 1px #000; min-height: 300px; text-align: center; }

@media(max-width: 768px){
	.bbs_section { padding: 10rem 0; }
	.bbs_section_title { text-align: left; margin-bottom: 5rem; }
	.bbs_section_title h1 { font-size: 5rem; }
	.bbs_section_title p { font-size: 3rem; font-weight: 700; }

	.bbs_pagination { margin-top: 5rem; gap: 1rem; }
	.bbs_pagination a { font-size: 2.5rem; width: 5rem; height: 5rem; }

	.bbs_navigation { padding: 5rem 0; }
	.bbs_navigation a { width: 12rem; height: 12rem; font-size: 2.4rem; }

	.bbs_list_table,
	.bbs_list_table tbody { display: block; }
	.bbs_list_table tr  { position: relative; display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; width: 100%; border-bottom: 1px solid #000; padding: 3rem 0; gap: 0 2rem; }
	.bbs_list_table td { border: 0; font-size: 2.4rem; padding: 0; order: 5; }

	.bbs_list_index,
	.bbs_list_name { display: none; }
	.bbs_list_tag { order: 1 !important; }
	.bbs_list_tag span { padding: 0.4rem 1rem; border-radius: 0.4rem; font-size: 2rem; }

	.bbs_list_subject_text p { font-size: 3rem; font-weight: 500; margin-bottom: 2rem; }
	.bbs_list_subject_text > span { font-size: 2.3rem; font-weight: 300; letter-spacing: 0.3em; }
	.bbs_list_subject_text > span:before { width: 2rem; height: 2rem; }

	.bbs_list_thumb { width: 100%; height: auto; margin-right: 3rem; aspect-ratio: 1/1; }

	.bbs_list_notice {  }
	.bbs_list_notice tr {  }
	.bbs_list_notice td:last-child { order: 2; font-weight: 300; }
	.bbs_list_notice .bbs_list_subject { padding-top: 2rem; }
	.bbs_list_notice .bbs_list_subject_text { padding: 0; }
	.bbs_list_notice .bbs_list_subject_text p { font-weight: 700; }

	.bbs_list_gallery { border-top: 0; }
	.bbs_list_gallery tbody { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem; }
	.bbs_list_gallery tr { border: 1px solid #eee; border-radius: 1rem; overflow: hidden; padding: 0; }
	.bbs_list_gallery .bbs_list_subject { flex-direction: column; align-items: stretch; }
	.bbs_list_gallery .bbs_list_tag { display: none; }
	.bbs_list_gallery .bbs_list_subject_text p { -webkit-line-clamp: 2; margin: 2rem; }
	.bbs_list_gallery .bbs_list_subject_text > span { display: none; }
	.bbs_list_gallery .bbs_list_subject_text { padding: 0; }
	.bbs_list_gallery td:last-child { padding: 0 2rem 2rem; }

	.bbs_list_cell { border-top: 0; }
	.bbs_list_cell tr { border-bottom: 0; }
	.bbs_list_cell .bbs_list_subject { flex-direction: column; order: 1; padding: 0; align-items: stretch; }
	.bbs_list_cell .bbs_list_subject_text { padding: 0; }
	.bbs_list_cell .bbs_list_subject_text p { font-weight: 700; }
	.bbs_list_cell .bbs_list_subject_text > span { display: none; }
	.bbs_list_cell .bbs_list_tag { display: none; }
	.bbs_list_cell_group { width: 100%; margin: 0; order: 2; padding: 0; }
	.bbs_list_cell_thumb { width: 50%; }
	.bbs_list_cell_overlay p { font-size: 2.5rem; }


	/* 상세 */
	.view_head { padding: 3rem 0; }
	.view_body { padding: 3rem 0; font-size: 2.4rem; }
	.view_detail_tag { padding: 0.4rem 1rem; border-radius: 0.4rem; font-size: 2rem; }
	.view_head_row + .view_head_row { margin-top: 1rem; }
	.view_tit { font-size: 3rem; margin-bottom: 1rem; }
	.view_head_cell li { font-size: 2.4rem; }
}