/* 블로그 (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); }

/* 표 대신 카드 (2026-11-14 대표 지정, 블로그 작성 지침) — 표로 넣을 내용은 행 하나를 카드 하나로 그린다. 휴대폰에서 가로 스크롤 없이 읽힌다.
   <ul class="bl-rows"><li class="bl-row"><h4>제목<small>보조 줄</small></h4><dl><div><dt>칸 이름</dt><dd>값</dd></div>…</dl><p>덧붙임</p></li></ul>
   칸이 하나뿐이면 dl 대신 <p class="bl-row-body">본문</p>. 강조할 카드는 is-key, 넓은 화면에서 두 줄로 놓으려면 bl-rows--2 */
.bl-rows { list-style: none; margin: 12px 0 0 !important; padding: 0; display: grid; gap: 10px; }
.bl-row { background: var(--wh-sheet); border: 1px solid var(--wh-rule); padding: 14px 16px 16px; }
.bl-row.is-key { border-left: 3px solid var(--wh-route); }
.bl-row h4 { margin: 0 0 10px !important; font-size: 16px; line-height: 1.5; font-weight: 700; color: var(--wh-ink); }
.bl-row h4 small { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--wh-ink-2); }
.bl-row dl { margin: 0; display: grid; gap: 6px; }
.bl-row dl > div { display: grid; grid-template-columns: 4.8em 1fr; gap: 10px; align-items: baseline; }
.bl-row dt { font-size: 14px; line-height: 1.6; color: var(--wh-ink-2); }
.bl-row dd { margin: 0; font-size: 16px; line-height: 1.6; color: var(--wh-ink); font-variant-numeric: tabular-nums; }
.bl-row dd b { color: var(--wh-route); }
.bl-row p { margin: 10px 0 0 !important; font-size: 14px; line-height: 1.7; color: var(--wh-ink-2); }
.bl-row p.bl-row-body { margin: 0 !important; font-size: 16px; color: var(--wh-ink); }
.bl-sheet + .bl-rows { margin-top: 12px !important; }

@media (min-width: 768px) {
  .bl-rows--2 { grid-template-columns: 1fr 1fr; }
}

/* 카드 사이 여백과 비드맨 (2026-11-14 대표 지정) — 공고 목록(wh-list bl-picks)도 공고 한 건을 떨어진 카드로 놓는다(bl-spaced).
   비드맨 이모티콘은 공고 카드에만, 카드 사이가 아니라 카드 안 맨 아래에 넣는다: <div class="bl-card-mascot" aria-hidden="true"><img data-asset="bidman/bidman-NN.webp"></div>.
   그림 위아래 여백은 넉넉하게. 기본은 오른쪽, bl-card-mascot--left 는 왼쪽 — 카드마다 번갈아 */
.bl .wh-list.bl-spaced, .bl-rows.bl-spaced { background: transparent; border: 0; gap: 0; display: block; }
.bl .wh-list.bl-spaced > li { background: var(--wh-sheet); border: 1px solid var(--wh-rule); }
.bl .wh-list.bl-spaced > li + li { border-top: 1px solid var(--wh-rule); }
.bl-spaced > li + li { margin-top: 16px; }
.bl .bl-spaced + .bl-spaced { margin-top: 16px !important; }
.bl-card-mascot { display: flex; justify-content: flex-end; padding: 28px 0 14px; pointer-events: none; }
.bl-picks .bl-card-mascot { padding: 22px 18px 24px; }
.bl-card-mascot--left { justify-content: flex-start; }
.bl-card-mascot img { display: block; width: 112px; height: 112px; }

/* 지난 비슷한 공고의 참가 업체와 결과 — 공고 카드 아래(링크 밖)에 붙인다 */
.bl-past { margin: 14px 14px 16px; padding: 12px 12px 10px; background: var(--wh-route-wash); border: 1px solid var(--wh-rule-soft); }
.bl-past-head { margin: 0 0 8px !important; font-size: 14px; line-height: 1.6; color: var(--wh-ink); }
.bl-past-head b { display: block; font-size: 13px; color: var(--wh-route); }
.bl .wh-list .bl-past-head a { display: inline; padding: 0; color: var(--wh-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.bl .wh-list .bl-past-head a:hover { background: none; text-decoration-thickness: 2px; }
.bl-past-head small { display: block; margin-top: 2px; font-size: 13px; color: var(--wh-ink-2); }
.bl-past ol { list-style: none; margin: 0; padding: 0; }
.bl-past li { display: grid; grid-template-columns: 1.6em 1fr; gap: 0 8px; padding: 6px 0; border-top: 1px solid var(--wh-rule-soft); font-size: 14px; line-height: 1.55; }
.bl-past li > b { grid-row: span 2; font-variant-numeric: tabular-nums; color: var(--wh-ink-2); }
.bl-past li > span { color: var(--wh-ink); }
.bl-past li > small { font-size: 13px; color: var(--wh-ink-2); font-variant-numeric: tabular-nums; }
.bl-past li.is-win > span { font-weight: 700; }
.bl .wh-list .bl-past li a, .bl .wh-list .bl-past-note a { display: inline; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.bl .wh-list .bl-past li a:hover, .bl .wh-list .bl-past-note a:hover { background: none; text-decoration-thickness: 2px; }
.bl-past li.is-win > b { color: var(--wh-route); }
.bl-past li.is-out > span { color: var(--wh-ink-2); }
.bl-past-note { margin: 6px 0 0 !important; font-size: 13px; line-height: 1.6; color: var(--wh-ink-2); }

/* 공고문 원문과 형광펜 (iter-495) — 공고문 AI 요약이 읽은 자리를 칠한다.
   <div class="bl-doc"> 안에 원문 줄(p, 항 제목은 p.bl-doc-sec), 읽은 자리는 <mark class="bl-hl bl-hl--N"><b class="bl-hl-no">N</b>원문</mark>.
   색 번호 1~6 은 아래 카드의 <span class="bl-hl-key bl-hl--N">N</span> 과 맞춘다. 필터가 아닌 항목(금액·기간 등)은 bl-hl--etc(점선 밑줄) */
.bl-doc { margin: 12px 0 0; padding: 18px 16px 14px; background: var(--wh-sheet); border: 1px solid var(--wh-rule); border-top: 3px solid var(--wh-ink); }
.bl-doc-head { margin: 0 0 12px !important; padding-bottom: 10px; border-bottom: 1px solid var(--wh-rule-soft); font-size: 13px; line-height: 1.6; color: var(--wh-ink-2); }
.bl-doc-head b { display: block; font-size: 15px; color: var(--wh-ink); }
.bl-doc p { margin: 0 0 4px !important; font-size: 16px; line-height: 2; color: var(--wh-ink); word-break: keep-all; overflow-wrap: anywhere; }
.bl-doc p.bl-doc-sec { margin-top: 14px !important; font-weight: 700; }
.bl-doc p.bl-doc-sec:first-of-type { margin-top: 0 !important; }
.bl-doc p.bl-doc-sub { padding-left: 1em; }
.bl-doc .bl-doc-gap { color: var(--wh-ink-2); font-size: 14px; }
mark.bl-hl { padding: 2px 3px; color: inherit; background: linear-gradient(transparent 10%, var(--bl-hl, var(--color-mark-yellow)) 10%, var(--bl-hl, var(--color-mark-yellow)) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.bl-hl-no, .bl-hl-key { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin: 0 4px 0 1px; border-radius: 50%; background: var(--wh-ink); color: var(--wh-on-route); font-size: 11px; font-weight: 700; line-height: 1; vertical-align: 2px; font-variant-numeric: tabular-nums; }
.bl-hl-key { width: 24px; height: 24px; margin: 0 8px 0 0; font-size: 13px; vertical-align: 1px; color: var(--wh-ink); background: var(--bl-hl); border: 1.5px solid var(--wh-ink); }
.bl-hl--1 { --bl-hl: var(--color-mark-yellow); }
.bl-hl--2 { --bl-hl: var(--color-mark-green); }
.bl-hl--3 { --bl-hl: var(--color-mark-pink); }
.bl-hl--4 { --bl-hl: var(--color-mark-blue); }
.bl-hl--5 { --bl-hl: var(--color-mark-orange); }
.bl-hl--6 { --bl-hl: var(--color-mark-violet); }
mark.bl-hl--etc { padding: 0; background: none; border-bottom: 2px dotted var(--wh-route); }
.bl-doc-legend { margin: 12px 0 0 !important; padding-top: 10px; border-top: 1px solid var(--wh-rule-soft); font-size: 13px; line-height: 1.7; color: var(--wh-ink-2); }
.bl-doc-legend mark.bl-hl--etc { color: var(--wh-ink); }
.bl-row h4 .bl-hl-key { float: left; margin-top: 1px; }
.bl-quote { margin: 10px 0 0 !important; padding: 10px 12px; background: var(--wh-desk); font-size: 15px !important; line-height: 1.9 !important; color: var(--wh-ink) !important; }
.bl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 16px; padding: 0; list-style: none; }
.bl-chips li { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--wh-rule); border-radius: 999px; background: var(--wh-sheet); font-size: 14px; color: var(--wh-ink-2); }
.bl-chips li.is-on { border-color: var(--color-navy-200); background: var(--wh-route-wash); color: var(--wh-route); font-weight: 600; }
.bl-chips li .bl-hl-key { width: 18px; height: 18px; margin: 0 6px 0 -4px; font-size: 11px; border-width: 1px; }

@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; }
}
