.search-area {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 15px;
}

.search-area select {
  padding: 6px 15px;
  line-height: var(--search-height);
  border: 1px solid #d1d5db;
  background-color: #fff;
  font-size: 14px;
}


.search-area input {
  padding: 6px 15px;
  line-height: var(--search-height);
  border: 1px solid #d1d5db;
  font-size: 14px;
}

.search-area button {
  width: 18px;
  border: none;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-area select,
.search-box input,
.search-box button {
  height: var(--search-height);
  box-sizing: border-box;
}

/* 게시판 */
.board {
  border-top: 2px solid #999;
  border-bottom: 2px solid #999;
}

/* 비어있을 때 */
.board-empty {
  text-align: center;
  padding: 60px 0;
  color: #777;
  border-bottom: 1px solid #ddd;
}

.board-header,
.board-row {
  display: grid;
  grid-template-columns: 80px 1fr 120px 100px;
  text-align: center;
  align-items: center;
}

.board-header {
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid #ddd;
}

.board-row {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.board-row:last-child {
  border-bottom: none;
}

.board-row .title {
  text-align: left;
  padding-left: 20px;
}

.board-row .title a {
  color: #222;
  text-decoration: none;
}

.board-row .title a:hover {
  text-decoration: underline;
}


/* =========================================================
   Pagination (Arrow Included)
   ========================================================= */

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 35px;
}

.pagination a {
  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #d1d5db;
  border-radius: 3px;

  font-size: 14px;
  font-weight: 500;
  color: #222;

  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pagination a:hover {
  background: #f1f5f9;
}

.pagination a.active {
  background: #fff;
  color: #0261b5;
  border: 1px solid #0261b5;
}

/* =========================
   Arrow Button Style
   ========================= */

.pagination a.arrow {
    font-size: 25px;
    font-weight: 100;
    color: #555;
    border-color: #c7d2fe;
    padding-bottom: 6px;
}

.pagination a.arrow:hover {
  background: #e8f0fe;
}

/* 비활성 화살표 */
.pagination a.arrow.disabled {
  color: #cbd5e1;
  border-color: #e5e7eb;
  background: #fff;
  pointer-events: none;
}

/* 제목 */
.post-title {
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 15px;
  border-bottom: 2px solid #e5e5e5;
}

/* 메타 정보 */
.post-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #777;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.post-meta span strong {
  color: #444;
  font-weight: 500;
  margin-right: 4px;
}

/* 본문 */
.post-content {
  padding: 30px 0;
  font-size: 14px;
  line-height: 1.8;
  min-height: 120px;
  border-bottom: 1px solid #eee;
}

/* 버튼 영역 */
.button-area {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
}

.btn-list {
  background-color: #2c2f3a;
  color: #fff;
  border: none;
  padding: 10px 30px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
}

.btn-list:hover {
  background-color: #1f222b;
}

/* 첨부파일 */
.board-attach {
  display:flex;
  gap:30px;
  padding: 20px, 0px;
  background: #f8fafc; 
  border-radius: 10px;
  align-items:center;
}

.board-attach.is-empty {
  display: none;
}

/* 제목 + 아이콘 */
.attach-title {
  display: flex;
  align-items: center;
  gap: 6px;               /* 아이콘과 텍스트 간격 */
  font-size: 14px;
  font-weight: 600;
  color: #222222;
  min-width:90px;
}

/* 아이콘 */
.attach-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.attach-icon img {
  width: 20px;
  height: 20px;
}

/* 파일 링크 */
.attach-title a {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  font-weight: 400;
}

.board-attach ul li a:hover {
  text-decoration: underline;
}

.file-list{
  list-style:none;
  padding:0;
  margin:0;
}

.file-list li{
  margin-bottom:6px;
}

.file-list a{
  text-decoration:none;
  color:#222;
}

.file-list span{
  color:#00000;
  font-size:14px;
  margin-left:6px;
}
