/* Column list + detail — Imweb board style */

.column-wrap,
.column-wrap * {
  font-family: Pretendard, "Noto Sans KR", sans-serif;
  box-sizing: border-box;
}

.column-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px 100px;
}

.column-wrap__title {
  font-size: 38px;
  font-weight: 400;
  line-height: 1.55;
  color: #111;
  letter-spacing: -0.02em;
  padding: 52px 0 24px;
  margin-bottom: 12px;
}

.column-wrap__notice {
  border: 1px solid #ddd;
  padding: 28px 32px;
  margin-bottom: 28px;
  line-height: 1.8;
  font-size: 17px;
  color: #111;
}

.column-wrap__notice strong {
  font-weight: 700;
}

.column-wrap__notice-secret {
  color: #b3a087;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

.column-board {
  width: 100%;
  border-top: 1px solid #222;
}

.column-board__head,
.column-board__row {
  display: grid;
  grid-template-columns: 72px 1fr 88px;
  align-items: center;
  border-bottom: 1px solid #e5e5e5;
}

.column-board__head {
  background: #fafafa;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  text-align: center;
}

.column-board__head > span,
.column-board__row > span,
.column-board__row > a {
  padding: 18px 10px;
}

.column-board__head .col-tit,
.column-board__row .col-tit {
  text-align: left;
  padding-left: 16px;
}

.column-board__row {
  color: #212121;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.column-board__row:hover {
  background: #faf8f5;
}

.column-board__row .col-no,
.column-board__row .col-views {
  text-align: center;
  color: #757575;
  font-size: 13px;
}

.column-board__row .col-tit {
  color: #212121;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.column-board__pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
  list-style: none;
  padding: 0;
}

.column-board__pager a,
.column-board__pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  font-size: 13px;
  color: #363636;
  text-decoration: none;
  border-radius: 2px;
}

.column-board__pager a:hover {
  background: #f5f5f5;
}

.column-board__pager .is-active {
  background: #212121;
  color: #fff;
  font-weight: 500;
}

.column-board__pager .is-disabled {
  color: #ccc;
  pointer-events: none;
}

/* Detail view */
.column-wrap--detail {
  padding-bottom: 100px;
}

.column-wrap--detail .column-wrap__notice {
  margin-bottom: 40px;
}

.column-view {
  width: 100%;
  margin: 0;
  font-family: Pretendard, "Noto Sans KR", sans-serif;
  color: #212121;
}

/* Matches original board_view title + summary strip */
.column-view__head {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 18px;
  margin-bottom: 32px;
}

.column-view__title {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #212121;
  word-break: keep-all;
}

.column-view__category {
  color: #363636;
  text-decoration: none;
  font-weight: 500;
}

.column-view__category:hover {
  color: #b3a087;
}

.column-view__meta {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.4;
  color: #757575;
}

.column-view__board {
  color: #757575;
  text-decoration: none;
  margin-right: 12px;
}

.column-view__board:hover {
  color: #b3a087;
}

.column-view__hits {
  color: rgba(33, 33, 33, 0.7);
}

.column-view__body {
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: -0.01em;
  color: #363636;
  word-break: keep-all;
  text-align: left;
}

.column-view__body p {
  margin: 0;
}

.column-view__body h5 {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 1.6em 0 0.4em;
  line-height: 1.5;
}

.column-view__body h6 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 1.2em 0 0.3em;
  line-height: 1.5;
}

.column-view__body a {
  color: #363636;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.column-view__body a:hover {
  color: #b3a087;
}

.column-view__body img,
.column-view__body img.fr-dii {
  max-width: min(100%, 900px);
  width: auto;
  height: auto;
  display: block !important;
  margin: 20px auto !important;
  float: none !important;
}

.column-view__body p:has(> img) {
  text-align: center !important;
}

.column-view__tools {
  margin-top: 40px;
  border-top: 1px solid #e5e5e5;
}

.column-view__adjacent {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 4px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #212121;
}

.column-view__adjacent:hover .column-view__adjacent-title {
  color: #b3a087;
}

.column-view__adjacent-label {
  flex-shrink: 0;
  font-size: 13px;
  color: #999;
  width: 48px;
}

.column-view__adjacent-title {
  font-size: 14px;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.column-view__footer {
  display: flex;
  justify-content: flex-start;
  margin-top: 28px;
}

.column-view__list-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 36px;
  padding: 0 18px;
  border: 1px solid #d5d5d5;
  color: #212121;
  font-size: 13px;
  text-decoration: none;
  background: #fff;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.column-view__list-btn:hover {
  border-color: #212121;
  background: #fafafa;
}

@media (max-width: 768px) {
  .column-wrap {
    padding: 0 20px 80px;
  }

  .column-wrap__title {
    font-size: 28px;
    padding: 40px 0 20px;
  }

  .column-wrap__notice {
    padding: 18px 20px;
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 20px;
  }

  .column-board__head {
    display: none;
  }

  .column-board__head,
  .column-board__row {
    grid-template-columns: 48px 1fr 64px;
  }

  .column-board__row {
    font-size: 14px;
  }

  .column-board__row > span,
  .column-board__row > a {
    padding: 16px 6px;
  }

  .column-board__row .col-tit {
    padding-left: 8px;
    white-space: normal;
    line-height: 1.45;
  }

  .column-view__title {
    font-size: 18px;
  }

  .column-view__meta {
    margin-top: 10px;
    gap: 10px;
    font-size: 12px;
  }

  .column-view__body {
    font-size: 15px;
    line-height: 1.85;
  }

  .column-view__body h5 {
    font-size: 16px;
  }

  .column-view__adjacent-title {
    white-space: normal;
  }
}
