/* 기본 디스플레이 설정 */
.mobile-only {
  display: none;
}

.desktop-only {
  display: table-cell;
}



/* 화살표 이미지 */
.arrow-right {
  display: none;
}

/* 제목 셀 링크 스타일 */
.title-cell a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

/* 게시판 테이블 스타일 */
#board-list .container2 {
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  color: #333;
}

.board-table thead {
  background: #f5f5f5;
  border-bottom: 2px solid #ddd;
}

.board-table th,
.board-table td {
  padding: 14px 12px;
  text-align: left;
}

.board-table tbody tr:hover {
  background-color: #f9f9f9;
}

.th-num {
  width: 80px;
  text-align: center;
}

.th-title {
  text-align: left;
}

.th-date {
  width: 140px;
  text-align: center;
  color: #999;
  font-size: 14px;
}

/* 태블릿 반응형 (768px) */
@media screen and (max-width: 750px) {
  .service-title {
    display: block;
  }
  .board-table thead {
    display: none;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 4px;
    text-align: left;
  }


  .arrow-right {
    display: block;
    float: right;
    width: 18px;
    height: 18px;
  }

  .mobile-title-box {
    display: flex;
    flex-direction: column;
  }
}

/* 모바일 반응형 (600px) */
@media (max-width: 600px) {
  .board-table thead {
    display: none;
  }

  .board-table,
  .board-table tbody,
  .board-table tr,
  .board-table td {
    display: block;
    width: 100%;
  }

  .board-table tr {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
  }

  .board-table td {
    text-align: left;
    padding: 10px 0;
    font-size: 15px;
  }

  .board-table td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    color: #666;
    margin-bottom: 5px;
  }

}