@charset "UTF-8";
/*  게시글 상세 페이지 스타일 파일입니다. */
.reply-list {
  border-top: 2px solid var(--color-base-black);
}
.reply-list__item {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray200);
}
.reply-list__item a {
  text-decoration: none;
  color: var(--color-base-black);
}
.reply-list__item + .reply-list__item {
  border-top: 1px solid var(--default-color);
}
.reply-list__item-link {
  text-decoration: none;
  color: black;
}
.reply-list__item-top {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: row;
  height: 20px;
  vertical-align: middle;
  gap: 4px;
}
.reply-list__item-title {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.reply-list__item-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--gray-color);
}
.reply-list__register-name {
  font-size: 12px;
  font-weight: 500;
}
.reply-list__register-ymdt {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
}
.reply-list__register-ymdt::before {
  content: "|";
  margin-right: 4px;
  font-size: 10px;
  color: var(--gray300);
}
.reply-list__view-count {
  color: var(--gray500);
  font-size: 12px;
}
.reply-list__paper-clip {
  width: 20px;
  height: 20px;
  display: inline-block;
  filter: brightness(0.5);
  flex: none;
}
.reply-list__lock {
  display: inline-block;
  flex: none;
  transform: translate(0, -1px);
}
.reply-list__badge {
  display: inline-flex;
  padding: 2px;
  flex: none;
  background-color: var(--gray-color);
}
.reply-list__badge--new::before {
  content: "N";
  color: white;
  font-size: 10px;
}
.reply-list__badge--hot::before {
  content: "HOT";
  color: white;
  font-size: 10px;
}

.reply-section-title {
  padding-bottom: 20px;
  font-size: 18px;
  font-weight: 700;
}

.reply-section-table {
  border-top: 2px solid var(--color-base-black);
  margin-bottom: 20px;
  width: 100%;
}

.reply-section-table tr {
  border-top: 2px solid var(--color-base-black);
  border-bottom: 2px solid var(--color-base-black);
}

.reply-section-table tr:first-child {
  border-top: none;
}

.article-replies {
  margin-top: 20px;
  display: block;
}

/* 모바일용 댓글 테이블 스타일 직접 적용 */
.reply-section-table td input[style*="width: 300px"] {
  width: 100% !important;
  max-width: 300px;
}

.reply-section-table td {
  padding: 16px 12px !important;
}

/* 버튼 영역 가로 배치 */
.reply-section-table td div[style*="justify-content: space-between"] {
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center !important;
}

.reply-section-table td div[style*="gap: 6px"] {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}

.reply-section-table td button.btn {
  min-width: 60px !important;
}

.reply-section-table img[src*="placehold.co"] {
  width: 60px !important;
  height: 60px !important;
}

/* 댓글 input/textarea 포커스 아웃라인 복원 */
.reply-section-table td input:focus,
.reply-section-table td textarea:focus {
  outline: auto !important;
}

/* 모바일 댓글 테이블 전용 새로운 클래스 */
.mobile-custom-reply-table {
  border-top: 2px solid var(--color-base-black);
  margin-bottom: 20px;
  width: 100%;
}

.mobile-custom-reply-table tr {
  border-top: 2px solid var(--color-base-black);
  border-bottom: 2px solid var(--color-base-black);
}

.mobile-custom-reply-table tr:first-child {
  border-top: none;
}

/* 모바일 댓글 테이블 td 스타일 */
.mobile-custom-reply-table td {
  padding: 16px 12px !important;
}

.mobile-custom-reply-table td input[style*="width: 300px"] {
  width: 100% !important;
  max-width: 300px;
}

/* 모바일 댓글 테이블 버튼 영역 */
.mobile-custom-reply-table td div[style*="justify-content: space-between"] {
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center !important;
}

.mobile-custom-reply-table td div[style*="gap: 6px"] {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}

.mobile-custom-reply-table td button.btn {
  min-width: 60px !important;
}

.mobile-custom-reply-table img[src*="placehold.co"] {
  width: 60px !important;
  height: 60px !important;
}

/* 모바일 댓글 테이블 포커스 스타일 */
.mobile-custom-reply-table td input:focus,
.mobile-custom-reply-table td textarea:focus {
  outline: auto !important;
}

/* 모바일 댓글 개별 클래스 */
.mobile-reply-form-cell {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 8px;
}

.mobile-reply-input-title {
  width: 300px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
}

.mobile-reply-input-content {
  width: 100%;
  min-height: 100px;
  resize: none;
  padding: 8px;
  border-radius: 8px;
  border-color: #e5e5e5;
}

.mobile-reply-image-gallery {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.mobile-reply-controls-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-reply-file-upload {
  display: none;
}

.mobile-secret-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
}

.mobile-secret-checkbox input {
  width: 16px;
  height: 16px;
}

.mobile-reply-image-preview {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-reply-display-cell {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: start;
  padding: 20px 8px;
}

.mobile-reply-title {
  margin: 0;
  line-height: 1.4;
  color: #333;
  font-size: 16px;
  font-weight: 500;
}

.mobile-reply-author-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
}

.mobile-reply-author-name {
  font-weight: 600;
  color: #333;
}

.mobile-reply-separator {
  color: #d0d0d0;
}

.mobile-reply-date {
  color: #888;
  font-size: 14px;
}

.mobile-reply-content {
  margin-top: 16px;
}

.mobile-reply-actions {
  display: flex;
  justify-content: space-between;
}

.mobile-reply-actions-left {
  display: flex;
  gap: 6px;
}

.mobile-reply-sub-cell {
  width: 100%;
  display: flex;
  gap: 8px;
  text-align: start;
  padding: 20px 8px;
}

.mobile-reply-sub-prefix {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
}

.mobile-reply-tree-icon {
  color: #888;
  font-size: 16px;
  margin-top: 2px;
}

.mobile-reply-re-tag {
  color: #007bff;
  font-weight: 600;
  font-size: 16px;
}

.mobile-reply-sub-content-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-reply-sub-content-display {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}