.privacy{
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    line-height: 2;
    padding-top: 48px;
}
.privacy strong{
    font-size: 20px;
}

/* 공통 */

.notice_wrap{
    width: 100%;
    max-width: 1400px;
    margin: 48px auto 200px;
}
.tab-menu {
  display: flex;
  gap: 8px;
  margin: 40px 0 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 48px;
}
.tab-menu button {
  padding: 10px 32px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  border-radius: 40px;
  font-size: 18px;
}
.tab-menu button.active {
  background: #e60012;
  color: #fff;
  border-color: #e60012;
}

.board-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.board-left {
  font-weight: 600;
  font-size: 32px;
  color: #222;
}

.board-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.board-sort,
.sort-order {
  padding: 10px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 14px;
  border-radius: 40px;
}

.board-search {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 40px;
}

.board-search input {
  padding: 12px;
  border: 0px solid #ccc;
  border-radius: 40px;
}

.board-search .search-btn {
  border: 0px solid #ccc;
  background: #fff;
  cursor: pointer;
  border-radius: 40px;
    display: flex;
    align-items: center;
}
.search-btn img{
    width: 36px;
}

.clickable-row{
    cursor: pointer;
}

.lock {
  margin-bottom: -4px;
  margin-left: 4px;
}

/* 반응형 */
@media (max-width: 768px) {
  .board-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .board-left {
    margin-bottom: 10px;
  }

  .board-right {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}


/* 게시판 테이블 (PC용) */
.board-table {
  width: 100%;
  border-top: 1px solid #333;
  border-collapse: collapse;
  font-size: 17px;
}
.board-table th,
.board-table td {
  border-bottom: 1px solid #ddd;
  padding: 15px 10px;
  text-align: center;
}
.board-table th {
  background: #f9f9f9;
  font-weight: bold;
}

/* 페이지네이션 */
.pagination {
  margin: 40px 0;
  text-align: center;
}
.pagination a {
  margin: 0 4px;
  padding: 6px 12px;
  text-decoration: none;
  color: #333;
  border-radius: 40px;
}
.pagination a.active {
  background: #e60012;
  color: #fff;
  border-color: #e60012;
}

/* ----------------------------- */
/* 💡 반응형 (모바일용)          */
/* ----------------------------- */
@media (max-width: 1660px) {
    .notice_wrap{
        padding: 0 16px;
    }
  .board-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .board-table {
    display: block;
  }
  .board-table thead {
    display: none;
  }
  .board-table tbody {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .board-table tr {
    display: block;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 6px;
    background: #fff;
  }
  .board-table td {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: none;
    text-align: left;
  }
  .board-table td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #666;
  }

  /* 모바일용 td에 data-label을 추가해야 함 */
}


/* ===== 반응형 ===== */
@media (max-width: 1660px) {
    .privacy{
        padding: 0 16px;
    }
}