/* 블로그 (iter-298) — 공고 상세의 두 열(bid_page.css·whereabouts.css)을 그대로 쓰고, 글 읽기에 필요한 조각만 더한다.
 * 문단은 종이 한 장(.bl-sheet, 상세의 "입찰 전에 볼 것"과 같은 파란 윗선), 그림은 괘선 액자, 막대는 상세의 참여 업체 수 막대(.wh-counts)와
 * 같은 모양 — 회색 막대에 이번 주만 파랑, 비교 기준은 먹색 점선. 표는 상세의 개찰 표처럼 괘선만 */
.bl { word-break: keep-all; overflow-wrap: anywhere; }
.bl-lede { margin: 0 0 20px !important; font-size: 17px; line-height: 1.8; color: var(--wh-ink); }
.bl-fig { margin: 0 0 14px; background: var(--wh-sheet); border: 1px solid var(--wh-rule); }
.bl-fig img { display: block; width: 100%; height: auto; }

.bl-sheet { background: var(--wh-sheet); border: 1px solid var(--wh-rule); border-top: 3px solid var(--wh-route); padding: 18px 16px 20px; }
.bl-sheet p { margin: 0 0 14px !important; font-size: 16px; line-height: 1.8; }
.bl-sheet > :last-child { margin-bottom: 0 !important; }
.bl-link { color: var(--wh-route) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.bl-link:hover { text-decoration-thickness: 2px; }
.bl-after { margin: 14px 0 0 !important; font-size: 15px; line-height: 1.75; color: var(--wh-ink-2); }
.bl-list-title { margin: 22px 0 8px !important; font-size: 14px; font-weight: 700; color: var(--wh-ink); }

/* 막대 */
.bl-sheet .bl-chart-title { margin: 20px 0 2px !important; font-size: 14px; line-height: 1.5; font-weight: 700; }
.bl-sheet .bl-chart-sub { margin: 0 0 8px !important; font-size: 12px; line-height: 1.5; color: var(--wh-ink-2); }
.bl-bars { list-style: none; margin: 0 0 18px !important; padding: 0; font-size: 13px; }
.bl-bars li { display: grid; grid-template-columns: 4.6em 1fr 3.4em; gap: 8px; align-items: center; padding: 3px 0; }
.bl-bars--wide li { grid-template-columns: 5.8em 1fr 3.4em; }
.bl-bars .bl-lab { color: var(--wh-ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bl-bars .bl-lab small { margin-left: 3px; font-size: 11px; }
.bl-bars .bl-track { position: relative; height: 14px; background: var(--wh-rule-soft); border-radius: 2px; }
.bl-bars .bl-fill { display: block; height: 100%; background: var(--color-navy-300); border-radius: 0 2px 2px 0; }
.bl-bars .bl-ref { position: absolute; top: -4px; bottom: -4px; width: 0; border-left: 1.5px dashed var(--wh-ink); }
.bl-bars .bl-n { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.bl-bars .is-now .bl-fill { background: var(--wh-route); }
.bl-bars .is-now :is(.bl-lab, .bl-n) { color: var(--wh-route); font-weight: 700; }

/* 표 */
.bl-scroll { overflow-x: auto; margin: 0 0 16px; }
.bl-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.bl-table th, .bl-table td { padding: 9px 6px; border-top: 1px solid var(--wh-rule-soft); text-align: right; white-space: nowrap; }
.bl-table :is(th, td):first-child { min-width: 7.5em; padding-left: 0; text-align: left; white-space: normal; }
.bl-table :is(th, td):last-child { padding-right: 0; }
.bl-table thead th { border-top: 0; padding-top: 0; font-size: 12px; line-height: 1.4; font-weight: 500; color: var(--wh-ink-2); vertical-align: bottom; }
.bl-table tbody th { font-weight: 600; }
.bl-table .is-key { color: var(--wh-route); font-weight: 700; }

/* 금액 상위 목록: 순번. whereabouts.css 가 이 파일 뒤에 실려 .wh-list a 와 같은 무게면 진다 — .bl 을 앞에 */
.bl .bl-rank { counter-reset: bl-rank; }
.bl .bl-rank li { counter-increment: bl-rank; }
.bl .bl-rank a { position: relative; padding-left: 44px; }
.bl .bl-rank a::before { content: counter(bl-rank); position: absolute; left: 14px; top: 12px; width: 20px; font-size: 13px; font-weight: 700; color: var(--wh-ink-2); font-variant-numeric: tabular-nums; }

/* 데이터 리포트 (iter-299): 긴 막대 이름, 링크 없는 목록 칸(색인에 없는 공고), 100곳 전체 표 */
.bl-bars--tier li { grid-template-columns: 6.6em 1fr 3.4em; }
.bl .wh-form dd small { display: block; font-size: 12px; font-weight: 400; line-height: 1.4; color: var(--wh-ink-2); }
.bl .wh-list .bl-static { display: block; padding: 12px 14px; }
.bl .bl-rank .bl-static { position: relative; padding-left: 44px; }
.bl .bl-rank .bl-static::before { content: counter(bl-rank); position: absolute; left: 14px; top: 12px; width: 20px; font-size: 13px; font-weight: 700; color: var(--wh-ink-2); font-variant-numeric: tabular-nums; }
.bl-all { margin-top: 4px; }
.bl-all summary { font-weight: 600; color: var(--wh-route); }
.bl-table--all { font-size: 13px; }
.bl-table--all th, .bl-table--all td { padding: 7px 6px; }
.bl-table--all :is(th, td):first-child { min-width: 0; width: 2.2em; text-align: left; color: var(--wh-ink-2); }
.bl-table--all :is(th, td):nth-child(2) { min-width: 8em; text-align: left; white-space: normal; }
.bl-table--all tbody th { font-weight: 600; }
.bl-table--all tbody th small { display: block; margin-top: 1px; font-size: 12px; font-weight: 400; color: var(--wh-ink-2); }

/* 맨 아래 집계 기준: 상세의 "빈 자리"처럼 점선 상자 */
.bl-basis { margin-top: 8px; border: 1.5px dashed var(--wh-rule); padding: 16px; font-size: 13px; line-height: 1.7; color: var(--wh-ink-2); }
.bl-basis h2 { margin: 0 0 8px !important; font-size: 14px; font-weight: 700; color: var(--wh-ink); }
.bl-basis dl { display: grid; grid-template-columns: 3.4em 1fr; gap: 6px 10px; margin: 0; }
.bl-basis dt { font-weight: 600; color: var(--wh-ink); }
.bl-basis dd { margin: 0; }

/* 공고 모음 (iter-332): 공고 아래 추가 조건 한 줄, 마감이 지난 공고는 흐리게 */
.bl-table--why tbody th small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; line-height: 1.5; color: var(--wh-ink-2); }
.bl-sheet + .bl-picks { margin-top: 12px !important; }
.bl .bl-picks .bl-cond { display: block; margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--wh-ink); }
.bl .bl-picks .is-closed a { opacity: .5; }
.bl .bl-picks .is-closed .wh-due { color: var(--wh-ink-2); }

@media (min-width: 1024px) {
  .bl-lede { font-size: 18px; }
  .bl-sheet { padding: 22px 24px 24px; }
  .bl-sheet p { font-size: 16.5px; }
  .bl-bars li { grid-template-columns: 5.2em 1fr 3.6em; }
  .bl-bars--wide li { grid-template-columns: 6.2em 1fr 3.6em; }
  .bl-basis { padding: 18px 22px; }
}

/* ── 목록 ── */
.bl-index-head .wh-no { margin: 0 0 6px; }
.bl-index-head h1 { margin: 0 0 10px; font: 800 26px/1.35 var(--wh-serif); letter-spacing: -.6px; color: var(--wh-ink); }
.bl-index-lede { margin: 0; max-width: 40em; font-size: 15px; line-height: 1.7; color: var(--wh-ink-2); }
.bl-cards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; }
.bl-card { display: grid; background: var(--wh-sheet); border: 1px solid var(--wh-rule); border-top: 3px solid var(--wh-route); color: inherit; text-decoration: none; }
.bl-card:hover { border-color: var(--wh-ink-2); border-top-color: var(--wh-route); }
.bl-card:hover h2 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.bl-card:focus-visible { outline: 3px solid var(--wh-route); outline-offset: 2px; }
.bl-card-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--wh-rule); }
.bl-card-body { padding: 16px 16px 20px; }
.bl-card-body .wh-no { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.bl-card h2 { margin: 6px 0 8px; font: 800 20px/1.4 var(--wh-serif); letter-spacing: -.5px; color: var(--wh-ink); }
.bl-card-desc { margin: 0; font-size: 14px; line-height: 1.7; color: var(--wh-ink-2); }
@media (min-width: 768px) {
  .bl-index-head h1 { font-size: 30px; }
  .bl-card { grid-template-columns: minmax(0, 380px) 1fr; }
  .bl-card-img { height: 100%; border-bottom: 0; border-right: 1px solid var(--wh-rule); }
  .bl-card-body { padding: 22px 26px 24px; align-self: center; }
  .bl-card h2 { font-size: 23px; }
}
