/* =======================================
   list.css (게시판 목록 전용) 2026. 5. 17
   ======================================= */
/* 페이지 레이아웃 */
.page-container{
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
/* 페이지 타이틀 */
.page-title{
  font-size: 25px;
  font-weight: 700;
  margin: 0 0 12px 0;
}
/* 상단 버튼 */
.top-buttons{
  text-align: right;
  margin: 12px 0;
}
.top-buttons .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 6px 12px;           /* ✅ 하빈 버튼 규격 */
      background: #3558A8;         /* ✅ 은남색 */
      color: #FFFFFF;
      border-radius: 6px;
      font-size: 15px;             /* ✅ 15px */
      font-weight: 600;
      text-decoration: none;
      margin-left: 6px;
    }
.top-buttons .btn:hover { opacity: 0.92; }
/* 테이블 */
.post-table{
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #3558A8;
  margin-top: 10px;
}
.post-table th{
  text-align: center;
  padding: 12px 0;
  border-bottom: 2px solid #3558A8;
  font-size: 17x;
  color: #1f2937;
  background: #fff;
}
/* 번호 */
.post-table th:nth-child(1){
  width:60px;
}
/* 작성자 */
.post-table th:nth-child(2){
  width:120px;
}
.post-table td{
  padding: 6px 10px;
  border-bottom: none;
  font-size: 14px;
  color: #1f2937;
}
.post-table td:nth-child(1){
 text-align:center;
 }   
.post-table td:nth-child(2),
.post-table td:nth-child(3){
 text-align:left; 
} 
/* 날짜 */
.post-table td:nth-child(4){
  width:180px;
  text-align:right;
  color:#1f2937;
  font-size:14px;
}
/* 제목 링크 */
.title-link{
  display: block;
  text-align: left;
  font-weight: 600;
  color: #1f2937;
  transition: 0.2s;
}
.title-link:hover{
  color: #3558A8;
}
 .post-table a,
    .post-table a:visited,
    .post-table a:focus,
    .post-table a:hover {
      text-decoration: none ;
    }
.post-table tbody tr:hover { background: #f2f6ff; }
 .empty {
      text-align: center;
      padding: 18px 0;
      color: #777;
    }
/* 공지 행 */
.notice-row{
  background: #FFF8D1;
}

/* ---페이지네이션--- */
.pagination{
  margin: 18px 0 8px;
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}
.page-btn {
      padding: 6px 12px;
      border-radius: 6px;
      background: #fff;
      border: 1px solid #9fb0d9;
      color: #3558A8;
      font-size: 15px;
      font-weight: 600;
      text-decoration: none;
    }
.page-btn.active {
      background: #3558A8;
      color: #fff;
      border-color: #3558A8;
    }
 .pagination a {
  padding: 6px 12px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #9fb0d9;
  color: #3558A8;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.pagination a.active {
  background: #3558A8;
  color: #fff;
  border-color: #3558A8;
}
  /* ----카드뷰 영역 --- */
    .grid-floor {
      margin-top: 28px;
    }
/* 🖼 리스트(테이블) 썸네일 */
.list-thumb{
  width:42px;
  height:42px;
  border-radius:6px;
  background:#eee;
  background-size:cover;
  background-position:center;
  display:inline-block;
  vertical-align:middle;
  margin-right:8px;
  border:1px solid #7E8FB8;
}
/* =========================
   📱 Mobile
========================= */
@media (max-width:480px){
 .post-table{
  table-layout:fixed;
  }
 .post-table td:nth-child(3){
  overflow:hidden;
  }
   .post-table th{
    font-size:15px;
    padding:6px 2px;
  }
  .post-table td{
    font-size:14px;
    padding:6px 2px;
    vertical-align:middle;
    line-height:1.4; 
  }
  .post-table th:nth-child(1),
  .post-table td:nth-child(1){
    width:45px;
    font-size:14px; 
    text-align:center;  
  }
  .post-table th:nth-child(2),
  .post-table td:nth-child(2){
    width:75px;
    font-size:14px; 
    text-align:left;  
  }
  .post-table th:nth-child(4),
  .post-table td:nth-child(4){
    width:45px;
    font-size:14px; 
   overflow:hidden;
  white-space:nowrap;
  }
  .page-btn,
  .pagination a{
    padding:2px 10px;
    font-size:14px;
    border-radius:5px;
  }
  .title-link{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
   
}
