.board-content {
  width: var(--pc-content-width);
}

.board-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.board-content .controls {
  display: flex;
  justify-content: space-between;
  margin-top: 43px;
  margin-bottom: 24px;
}

.board-content .controls .buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.board-content .tbl-board {
  text-align: center;
  border-collapse: collapse;
  color: #444;
}

.board-content .tbl-board .left {
  text-align: left;
}

.board-content .tbl-board thead tr {
  background-color: var(--main-color);
  color: white;
}

.board-content .tbl-board thead tr th {
  height: 50px;
}

.board-content .tbl-board thead tr th:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.board-content .tbl-board thead tr th:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.board-content .tbl-board tbody tr {
  border-bottom: 1px solid #eee;
  height: 62px;
}

.board-content .tbl-board tbody tr td {
  padding: 10px;
}

.board-content .tbl-board tbody tr .hidden-pc {
  display: none;
}

.board-content .tbl-board tbody tr .tag {
  color: white;
  border-radius: 100px;
  padding: 4px 10px;
}

.page-number {
  opacity: 0.3;
  color: #64696e;
}

.page-number.active {
  text-decoration: underline;
  opacity: 1;
}

.board-content .tbl-detail {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #132343;

  color: #495264;
  font-family: Pretendard;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.board-content .tbl-detail th,
.board-content .tbl-detail td {
  padding-block: 18px;
  border-bottom: 1px solid #e8ebf0;
}

.board-content .tbl-detail td {
  padding-inline: 20px;
}

.board-content .tbl-detail th {
  background: var(--gray-color);
}

.board-content .tbl-detail th.lead {
  border-right: 1px solid #e8ebf0;
}

.board-content .controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.board-content .controls .board-buttons {
  gap: 10px;
  /* 
  margin-bottom: 120px;
  margin-top: 30px; 
  엑셀 다운로드 버튼, 인쇄하기 버튼
  */

  display: flex;
  justify-content: flex-end;
}

.board-content .controls .board-buttons .btn {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
}

.bottom-buttons {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  margin-bottom: 120px;
}

.bottom-buttons .btn {
  color: white;
  padding: 10px 16px;
  border-radius: 8px;

  display: flex;
  align-items: center;
  gap: 8px;
}

.board-content .tbl-detail-mobile {
  display: none;
}

.board-content .mobile-label {
  display: none;
}

.tbl-detail-mobile-scroll {
  text-align: center;
}

@media screen and (max-width: 1475px) {
  .ipt-middle {
    width: 292px;
  }

  .board-content .controls {
    padding-inline: 20px;
  }

  .board-content .tbl-board {
    border-top: 1px solid #222;
    width: var(--mobile-content-width);
  }

  .board-content .tbl-board thead tr {
    display: none;
  }

  .board-content .tbl-board tbody tr {
    display: flex;
    flex-direction: column;
    align-items: start;
    border-bottom: 1px solid #ddd;

    padding-block: 24px;
    height: fit-content;
  }

  .board-content .tbl-board tbody tr td.hidden-mobile {
    display: none;
  }

  .board-content .tbl-board tbody tr .hidden-pc {
    display: inline-block;
  }

  .board-content .tbl-board tbody tr td.td-tag {
    padding: 0;
  }

  .board-content .tbl-board tbody tr td.board-title {
    color: #222;
    font-family: Pretendard;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }

  .board-content .tbl-board tbody tr td.contract-board-title {
    padding-top: 0;
    padding-bottom: 16px;
  }

  .board-content .tbl-board tbody tr td.no-padding-mobile {
    padding-block: 0;
  }

  .board-content .tbl-board tbody tr td .cell {
    display: flex;
    margin-right: 0.25em;
  }

  .board-content .tbl-detail-pc {
    display: none;
  }

  .tbl-detail-mobile-scroll {
    overflow-x: scroll;
    padding-inline: 20px;
    width: var(--mobile-content-width);
  }

  .tbl-detail-mobile-scroll table {
    width: fit-content;
    white-space: nowrap;
  }

  .bottom-buttons {
    justify-content: center;
  }

  .board-content .controls .buttons {
    justify-content: center;
    gap: 10px;
  }

  .board-content .tbl-detail-mobile,
  .board-content .tbl-detail-hybrid {
    display: table;
    margin-inline: 20px;
    width: calc(100% - 40px);
  }

  .board-content .mobile-label {
    display: block;
    margin-right: 0.25em;
  }
}
