:root{ --border:#e6e6e6; --muted:#6b6b6b; --bg:#ffffff; }
a {
	text-decoration: none;
}
.board_nav { width: 100%; margin-bottom: 70px; display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; }
.board_nav > a { width: 160px; padding: 10px 2px; border-width: 1px 1px 1px 0; border-style: solid; border-color: #363636; background: #f5f5f5; text-align: center; }
.board_nav > a:first-child { border-width: 1px }
.board_nav > a { font-size: 15px; color:#363636; text-decoration: none; }
.board_nav > a.active { background: #333; color: white}
.board_new {
	position: absolute; top: 15px; right: 100px;
    padding: 6px 12px;
	margin: 0 10px;
    color: white;
    text-align: center;
    background-color: #004f9f;
    border-color: #004f9f;
	border-radius: 6px;
    border-width: 1px;
	text-decoration: none;
}
.grid { display: flex; justify-content: center; width: 100%; }
.gridboard { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 20px; max-width: 1380px;  }
.card { width: 327px; border: 1px solid #ddd;}
.card img { width: 100%; height: 255px; object-fit: cover; }
.category { padding: 20px; color: #0064ff; font-size: 16px; }
.category span { color: #000; }
.search-box { text-align: center; margin: 30px; display: flex; justify-content: center;}
.pagination { text-align: center; margin: 30px 0; }
.pagination a { display: inline-block; padding: 8px 12px; border: 1px solid #ccc; margin: 0 3px; text-decoration: none; color: #333; }
.pagination a.active { background: #333; color: white; border-color: #333; }
.if_top { height: 58px; }
.searchinput { padding: 8px 10px; border: 1px solid #ccc; }
.searchinput:focus { border: 1px solid #0064FF; outline-style: none; }
.searchinput::placeholder { color: #ccc; }
.searchbtn { font-size: 15px; position: absolute; top: 5px; right: 0px; z-index: 3; padding: 0 4px; border: 0; cursor: pointer; background-color: transparent;}
input[type=file]::file-selector-button {
    padding: 4px 10px;
    color: white;
    border: 1px solid rgba(143, 143, 143, 0.70);
    border-radius: 6px;
    background-color: #007bff;
    cursor: pointer;
	 &:hover {
		background: rgb(77,77,77);
		color: #fff;
	  }
}
.subboardBtn {
	position: absolute;
    top: 111px;
    right: 20px;
    margin: 0 6px;
    padding: 16px 20px;
    color: white;
    border: 1px solid rgba(143, 143, 143, 0.70);
    border-radius: 6px;
    background-color: #007bff;
    cursor: pointer;
}
/*------------- 인사이트 -----------*/
.board_top {
	padding: 5px 0px;
	font-size: 12px; font-weight: 600; color: rgba(0,33,163,1.00);
	letter-spacing: -0.01em;
	display: flex;
	justify-content: center;
    flex-wrap: nowrap;
	background-color: rgba(241,241,241,1.00);
}
select {
	width: 140px;
    padding: 5px;
    font-size: 12px;
    border: 2px solid #4CAF50;
    border-radius: 5px;
    color: #333;
}
/* select 요소의 컨테이너에 화살표 추가 */
.select-container {
    position: relative;
    display: inline-block;
	width: 140px;
}

/* select 박스가 포커스될 때 스타일 */
select:focus {
    border-color: #ff5e5e;
    outline: none;
    box-shadow: 0 0 5px rgba(255, 94, 94, 0.5);
}

/* 옵션 스타일 */
option {
    padding: 10px;
}

.board_top .input {
	width: 300px;
	padding: 5px 10px;
	border: 2px solid #4CAF50;
	border-radius: 6px;
}

.board_top .input:focus {
	border-color: #ff5e5e;
    outline: none;
    box-shadow: 0 0 5px rgba(255, 94, 94, 0.5);
}

.board_top div {
	padding: 5px;
}
.board_img {
	width: 327px; height: 248px;
	background-size: cover!important;
    background-position: center !important;
	background-repeat: no-repeat !important;
}
.board-wrap{max-width:1100px;margin:0 auto;background:var(--bg);border-top:1px solid #363636;}
.board-table{width:100%;border-collapse:collapse;}
.board-table thead th{position:relative;padding:18px 12px 16px;font-weight:500;color:var(--muted);font-size:14px;border-bottom:1px solid var(--border);text-align:center}
.board-table tbody td{padding:20px 12px;border-bottom:1px solid var(--border);vertical-align:middle}
.col-no{width:80px;text-align:center;color:var(--muted);font-size:15px}
.col-title{text-align:left;padding-left:20px;font-size:15px}


@media (max-width: 768px) {
    .gridboard { justify-content: center; }
    .if_top { height: 20px; }
    .board_nav { flex-wrap: wrap;  }
    .board_nav > a { border: 1px solid #363636 }
}