.post-detail-wrapper {
  padding: 40px 0;
}
@media (max-width: 600px) {
  .container {
    padding: 20px 0;
  }
    .post-detail-title {
        font-size: 20px;
        padding-left: 12px;
    }
}
.post-detail-title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 29px;
  text-align: left;
  padding-left: 39px;
}

.post-detail-meta {
  background: #f9f9f9;
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #eee;
  padding: 24px 38px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.post-detail-meta .label {
  color: #444;
  margin-right: 5px;
}
.post-detail-meta .value {
  font-weight: bold;
  margin-right: 10px;
}
.post-detail-meta .divider {
  margin: 0 10px;
  color: #888;
}
.post-detail-content {
  padding: 20px 32px;
  min-height: 300px;
  /*border-bottom: 1px solid #ccc;*/
  font-size: 15px;
  word-break: break-word;
}
.post-detail-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 12px 0;
}
@media (max-width: 600px) {
  .post-detail-content {
    font-size: 14px;
    padding: 12px 0;
    padding: 10px 16px;
  }
}
.comment-wrapper {
  padding: 20px 0px;
  /*border-bottom: 1px solid #ccc;*/
}
.comment-input-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
}
.comment-input-meta input {
  width: 132px;
  height: 40px;
  padding: 4px 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}
.comment-input-box {
  display: flex;
  border: 1px solid #ccc;
}
.comment-input-box textarea {
  flex: 1;
  max-height: 92px;
  padding: 10px;
  border: none;
  resize: none;
  font-size: 14px;
  min-height: 100px;

}
.comment-input-box button {
  width: 100px;
  font-size: 14px;
  cursor: pointer;
}
.post-footer-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.left-buttons button,
.right-buttons button {
  padding: 8px 14px;
  border: 1px solid #ccc;
  background: #f9f9f9;

  cursor: pointer;
  width: 132px;
  height: 40px;
  font: normal normal 500 16px/26px 'Pretendard', '맑은 고딕', 'Malgun Gothic', Arial, sans-serif;

}

.left-buttons .btn-list{
  margin-right: 6px;

}

.right-buttons .btn-edit {
  background: #888;
  margin-right: 6px;
  color: #fff;

}

.right-buttons .btn-delete {
  background: #003375;
  color: #fff;

}



.container {
  max-width: 1600px;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
  padding-top: 92px;
  padding-bottom: 40px;
  box-sizing: border-box;
  width: 100%;
}

@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 60px;
  }
}


.comment-item {
  /*padding: 16px 0;*/
  /*border-bottom: 1px solid #eee;*/
}

.comment-indent {
  margin-left: 30px;
}

.comment-item-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.comment-indent-icon {
  color: #bbb;
  margin-right: 4px;
  font-size: 13px;
}

.comment-writer {
  font-weight: bold;
  font-size: 14px;
}

.comment-date {
  font-size: 13px;
  color: #999;
}

.comment-content {
  font-size: 15px;
  color: #333;
  padding-left: 2px;
  padding-bottom: 16px;
}

.comment-actions button {
  background: none;
  border: none;
  font-size: 13px;
  color: #555;
  margin-left: 6px;
  cursor: pointer;
}

.comment-actions button:hover {
  text-decoration: underline;
}


.comment-item.root {
  border-bottom: 1px solid #eee;
  padding-top: 16px;
}

/* 마지막 댓글(root)에는 구분선(border-bottom) 제거 */
#comment-list > .comment-item.root:last-child {
  border-bottom: none;
}

.comment-line {
  margin-top: 14px;
  height: 1px;
  background: #333;
}
