@charset "UTF-8";
/*  게시판 목록 페이지 스타일 파일입니다. */

.l-page {
	min-height: 900px;
	margin-top: 50px;
}

.l-page h1 {
	text-align: center;
	margin-bottom: 45px;
}

.special-category-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr); /* 2열 레이아웃 */
	gap: 10px; /* 아이템 간격 */
	padding: 0 20px;
}

.special-category-list .special-category-item {
	text-align: center;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 5px;
	background-color: #f9f9f9;
	cursor: pointer;
}

.special-category-list .special-category-item.active {
	background-color: var(--primary);
	color: white;
	font-weight: bold;
}

/* 테이블 */
.special-list-table {
	padding: 20px;
}
.special-list-table table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

.special-list-table th,
.special-list-table td {
	border: 1px solid #ddd;
	padding: 10px;
	text-align: center;
	word-break: break-word !important;
	overflow-wrap: break-word !important;
}

.special-list-table th {
	background-color: #f4f4f4;
}

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
}

.pagination-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 4px;
	background-color: white;
	color: #333;
	font-size: 14px;
	cursor: pointer;
}

.pagination-button.active {
	background-color: var(--primary);
	color: white;
	border: none;
}

.pagination-button:disabled {
	/* background-color: #f0f0f0; */
	color: #ccc;
	cursor: not-allowed;
}

.pagination-button svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}