﻿@charset "UTF-8";

.board-skin__tit {
	padding-top: 40px;
	box-sizing: border-box;
	margin-bottom: 20px
}

.board-skin__table {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 60px
}

.board-skin__tr {
	padding-bottom: 20px;
	box-sizing: border-box;
	box-shadow: inset 0 -2px 0 -1px var(--color-gray-10)
}

.board-skin__tr-tit {
	margin-bottom: 8px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	word-break: break-all;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.board-skin__tr-txt {
	display: flex;
	gap: 12px;
	align-items: center;
	color: var(--color-gray-60)
}

.board-skin__tr-name {
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

.board-skin__tr-like {
	position: relative;
	padding-left: 24px
}

.board-skin__tr-like:before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	background: url(../../../img/ico_list_like.svg) no-repeat center
}

.board-skin__tr-comment {
	position: relative;
	padding-left: 24px
}

.board-skin__tr-comment:before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	background: url(../../../img/ico_list_comment.svg) no-repeat center
}

.board-skin__edit {
	margin-top: 20px
}

.board-skin__write a {
	float: right;
}

.board-skin__cate {
	height: 32px;
}

.board-skin__cate-li {
	display: inline-block !important;
	width: auto !important;
}

.board-skin__empty {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 200px;
}

.board-skin__pg {
	margin-bottom: 120px
}

.board-skin-v__wrap,
.board-skin-w__wrap {
	padding: 40px 0 120px;
	box-sizing: border-box;
}

.board-skin-v__cate a {
	padding: 4px 8px;
	box-sizing: border-box;
	border-radius: 4px;
	color: var(--color-primary-70);
	background-color: var(--color-primary-05);
	margin-bottom: 4px
}

.board-skin-v__title {
	margin-bottom: 12px
}

.board-skin-v__user {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px
}

.board-skin-v__img {
	width: 44px;
	height: 44px;
	border-radius: 100px;
	overflow: hidden;
}

.board-skin-v__name a {
	position: relative;
	padding-right: 24px
}

.board-skin-v__name a:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	background: url(../../../img/ico_next_black.svg) no-repeat center right;
}

.board-skin-v__date {
	color: var(--color-gray-60)
}

.board-skin-v__content {
	padding: 40px 0;
	box-sizing: border-box;
	box-shadow: inset 0 2px 0 -1px var(--color-gray-10)
}

.board-skin-v__link {
	margin-bottom: 20px
}

.board-skin-v__link-a a {
	transition: 0.3s;
	word-break: break-all
}

.board-skin-v__link-a a:hover {
	color: var(--color-primary-70)
}

.board-skin-v__file {
	display: grid;
	grid-template-columns: 120px 1fr;
	padding: 20px;
	box-sizing: border-box;
	border-top: 1px solid var(--color-gray-20);
	background-color: var(--color-gray-05);
	align-items: center;
}

.board-skin-v__file-data {
	display: flex;
	flex-direction: column;
	row-gap: 8px;
}

.board-skin-v__file-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	padding: 0 12px;
	background-color: var(--color-gray-20);
	color: var(--color-gray-60);
	border-radius: 4px;
	margin-left: 12px;
	transition: 0.3s
}

.board-skin-v__file-data a {
	transition: 0.3s
}

.board-skin-v__file-data a:hover {
	color: var(--color-primary-70)
}

.board-skin-v__save {
	display: flex;
	gap: 8px;
	padding: 20px 0 40px 0;
	box-sizing: border-box;
	box-shadow: inset 0 -2px 0 -1px var(--color-gray-10)
}

.board-skin-v__btn {
	position: relative;
	display: inline-flex;
	gap: 4px;
	height: 40px;
	align-items: center;
	padding: 0 12px 0 36px;
	box-sizing: border-box;
	border-radius: 4px;
	word-break: keep-all;
	box-sizing: border-box;
	transition: 0.3s
}

.board-skin-v__btn:before {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 8px;
	width: 24px;
	height: 24px;
}

.board-skin-v__like-btn:before {
	background: url(../../../img/ico_like_off.svg) no-repeat center;
}

.board-skin-v__like-btn-on:before {
	background: url(../../../img/ico_like_on.svg) no-repeat center;
}

.board-skin-v__scrap-btn:before {
	background: url(../../../img/ico_scrap_off.svg) no-repeat center;
}

.board-skin-v__scrap-btn-on:before {
	background: url(../../../img/ico_scrap_on.svg) no-repeat center;
}

.board-skin-v__btn:hover {
	background-color: var(--color-gray-05)
}

.board-skin-v__edit {
	display: flex;
	gap: 12px;
	align-content: center;
	justify-content: center;
	margin-top: 40px;
}

.board-skin-w__wrap {
	max-width: 800px
}

.board-skin-w__form {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.board-skin-w__label {
	display: block;
	margin-bottom: 4px
}

.board-skin-w__input .required:after {
	content: '*';
	color: var(--color-error);
	margin-left: 4px
}

.board-skin-w__file input[type="file"]::file-selector-button {
	height: 24px;
	font-size: 1.3rem;
	line-height: 1.6rem;
	text-align: center;
	margin: 16px 8px 16px 0;
	float: left;
}

.board-skin-w__file input[type="file"] {
	line-height: 56px
}

.board-skin-w__file-del {
	margin-top: 12px;
}

.board-skin-w__file-del span {
	color: var(--color-gray-40)
}

.board-skin-w__file-del input[type="checkbox"]+label {
	padding-left: 28px;
	line-height: 24px;
	height: 24px
}

.board-skin-w__btn {
	display: flex;
	gap: 12px;
	justify-content: center;
	align-items: center;
	margin-top: 40px
}

.board-skin,
.board-skin-v {
	opacity: 0;
	transform: translateY(80px);
	transition: 1.5s ease
}

.board-c__top {
	margin: 40px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.board-c__point {
	color: var(--color-primary-70)
}

.board-c__top-btn.cmt_btn {
	width: 24px;
	height: 24px;
	background: url(../../../img/ico_select_open.svg) no-repeat center
}

.board-c__top-btn.cmt_btn_op {
	width: 24px;
	height: 24px;
	background: url(../../../img/ico_select_close.svg) no-repeat center
}

.board-c-list {
	margin-top: 20px;
	padding-bottom: 20px;
	box-sizing: border-box;
	box-shadow: inset 0 -2px 0 -1px var(--color-gray-10)
}

.board-c-list:last-child {
	box-shadow: none
}

.board-c-list__mb-grid {
	margin-bottom: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.board-c-list__mb-item-l {
	display: flex;
	align-items: center;
	gap: 8px;
}

.board-c-list__mb-img {
	position: relative;
	width: 40px;
	height: 40px;
	border-radius: 100px;
	overflow: hidden;
}

.board-c-list__mb-img img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.board-c-list__mb-txt {
	display: flex;
	flex-direction: column;
}

.board-c-list__mb-name {
	position: relative;
	padding-right: 24px;
}

.board-c-list__mb-date {
	color: var(--color-gray-60)
}

.board-c-list__mb-name a:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	background: url(../../../img/ico_next_black.svg) no-repeat center right;
}

.board-c-list__mb-item-edit {
	display: flex;
	align-items: center;
	gap: 8px;
}

.board-c-write__textarea {
	height: 120px;
	margin-top: 20px
}

.board-c-write__btn-wrap {
	margin-top: 20px;
	text-align: right;
}

.board-c-list[data-reply="true"] {
	margin-left: 40px;
}

.board-c-list__empty {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 200px;
}


@media all and (max-width:1024px) {}

@media all and (max-width:768px) {}

@media all and (max-width:500px) {
	.board-c-list__mb-grid {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.board-c-list[data-reply="true"] {
		margin-left: 20px !important;
	}
}

@media all and (max-width:340px) {

	.board-skin__tr-txt {
		flex-wrap: wrap;
		gap: 4px 12px;
	}

	.board-skin__tr-name,
	.board-skin__tr-date {
		display: block;
		width: auto
	}

}

/* Banner Styling */
.board-skin-v__banner {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
	margin-bottom: 20px;
}

.board-skin-v__banner-in {
	position: relative;
	display: block;
}

/* No ico_ad needed */

/* Badge Overlay Positioning Fix */
.board-c-list__mb-img {
	overflow: visible !important;
	/* Allow badge to overlap */
}

/* Ensure main profile image is circular */
.board-c-list__mb-img img {
	border-radius: 50%;
}

/* Reset badge positioning overrides */
.board-c-list__mb-img .profile-badge-overlay {
	top: auto !important;
	left: auto !important;
	transform: none !important;
	border-radius: 0 !important;
}

/* Profile Image Wrapper Fix */
.board-c-list__mb-img .profile-img-wrap {
	width: 100%;
	height: 100%;
}

/* Badge Overlay Positioning Fix */
.board-c-list__mb-img {
	overflow: visible !important;
}

/* Ensure main profile image is circular */
.board-c-list__mb-img img {
	border-radius: 50%;
}

/* Reset badge positioning overrides */
.board-c-list__mb-img .profile-badge-overlay {
	top: auto !important;
	left: auto !important;
	transform: none !important;
	border-radius: 0 !important;
}

/* Profile Image Wrapper Fix */
.board-c-list__mb-img .profile-img-wrap {
	width: 100%;
	height: 100%;
}