/* 워크덴 공통 스타일. 색·글꼴·간격은 이 변수만 사용한다.
   브랜드: 블랙 / 화이트 / 옐로(포인트). 컬러칩이 확정되면 값만 교체한다.
   2026-10-21 피그마 '최종 시안' 값으로 교체. 검정만 #111111 유지(시안은 #14141a) */
:root {
  --wd-black: #111111;
  --wd-white: #ffffff;
  --wd-yellow: #ffe45f;
  --wd-yellow-soft: #fff6cc;

  --wd-bg: var(--wd-white);
  --wd-soft: #f4f4f5;
  --wd-surface: var(--wd-white);
  --wd-text: var(--wd-black);
  --wd-muted: #6b6b73;
  --wd-line: #e5e5e8;

  --wd-ok: #2f6b3a;
  --wd-ok-soft: #e5f2e7;
  --wd-warn: #9a5b00;
  --wd-warn-soft: #fdf0dc;
  --wd-danger: #b42318;
  --wd-danger-soft: #fde7e4;

  --wd-font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --wd-radius: 10px;
  --wd-space-1: 4px;
  --wd-space-2: 8px;
  --wd-space-3: 12px;
  --wd-space-4: 16px;
  --wd-space-5: 20px;
  --wd-space-6: 24px;
  --wd-space-7: 28px;
  --wd-space-8: 32px;
  --wd-space-10: 40px;
  --wd-space-12: 48px;
  --wd-space-25: 100px;

  --wd-radius-lg: 16px;
  --wd-radius-pill: 999px;
  --wd-content-max: 1240px; /* 시안 1440px 화면에서 좌우 100px 을 뺀 본문 폭 */
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--wd-bg);
  color: var(--wd-text);
  font-family: var(--wd-font);
  font-size: 15px;
  line-height: 1.6;
}
.page { max-width: 720px; margin-inline: auto; padding: var(--wd-space-6) var(--wd-space-4) 64px; }
h1 { font-size: 24px; margin: 0 0 var(--wd-space-2); }
h2 { font-size: 18px; margin: 0 0 var(--wd-space-2); }
p { margin: var(--wd-space-2) 0; }

.card { background: var(--wd-surface); border: 1px solid var(--wd-line); border-radius: var(--wd-radius); padding: var(--wd-space-6); }
.stack { display: grid; gap: var(--wd-space-4); }

.field { display: grid; gap: var(--wd-space-1); }
.field label { font-weight: 600; font-size: 14px; }
.field input[type="text"], .field input[type="url"], .field input[type="file"] {
  font: inherit; padding: 10px 12px; border: 1px solid var(--wd-line); border-radius: 8px; background: var(--wd-white); width: 100%;
}
.hint { color: var(--wd-muted); font-size: 13px; margin: 0; }
.required::after { content: " *"; color: var(--wd-danger); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--wd-space-2); font: inherit; font-weight: 600; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--wd-black); background: var(--wd-black); color: var(--wd-white); cursor: pointer; text-decoration: none; }
.btn-secondary { background: var(--wd-white); color: var(--wd-black); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--wd-yellow-soft); color: var(--wd-black); }
.badge-ok { background: var(--wd-ok-soft); color: var(--wd-ok); }
.badge-warn { background: var(--wd-warn-soft); color: var(--wd-warn); }
.badge-danger { background: var(--wd-danger-soft); color: var(--wd-danger); }

.notice { border-left: 3px solid var(--wd-yellow); background: var(--wd-surface); padding: var(--wd-space-3) var(--wd-space-4); border-radius: 0 8px 8px 0; }
.notice-danger { border-left-color: var(--wd-danger); }

/* ── 넓은 본문 폭: 1440 화면에서 좌우 100px, 좁은 화면에서 16px ── */
.container { width: 100%; max-width: calc(var(--wd-content-max) + var(--wd-space-4) * 2); margin-inline: auto; padding-inline: var(--wd-space-4); }

/* ── COM-001 상단 메뉴바 (로그인 전) ── */
.btn-accent { display: inline-flex; align-items: center; gap: var(--wd-space-1); font: inherit; font-size: 15px; font-weight: 700; line-height: normal; padding: 11px var(--wd-space-5); border: 0; border-radius: var(--wd-radius-pill); background: var(--wd-yellow); color: var(--wd-black); cursor: pointer; text-decoration: none; white-space: nowrap; }

.site-header { background: var(--wd-black); color: var(--wd-white); line-height: normal; position: relative; z-index: 10; }
.site-header a { color: inherit; text-decoration: none; }
.site-header .btn-accent { color: var(--wd-black); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--wd-space-6); min-height: 84px; }
.site-header-left { display: flex; align-items: center; gap: var(--wd-space-10); align-self: stretch; }
.site-logo { display: block; line-height: 0; }
.site-logo img { width: 120px; height: auto; }
.site-nav { display: flex; gap: var(--wd-space-7); align-self: stretch; font-size: 15px; font-weight: 500; white-space: nowrap; }
.site-nav a { position: relative; display: flex; align-items: center; }
/* 지금 보고 있는 메뉴: 글자 아래 노란 밑줄 3px (메인은 표시 없음) */
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--wd-yellow); }
.site-header-right { display: flex; align-items: center; gap: var(--wd-space-5); font-size: 15px; font-weight: 500; white-space: nowrap; position: relative; }

@media (max-width: 767px) {
  /* 모바일 시안 없음: 메뉴를 로고 아래 한 줄로 내리고, 넘치면 옆으로 밀어서 본다 */
  .site-header-inner { flex-wrap: wrap; min-height: 0; padding-top: var(--wd-space-3); row-gap: var(--wd-space-1); }
  .site-header-left { display: contents; }
  .site-header .site-logo { order: 1; }
  .site-header-right { order: 2; gap: var(--wd-space-3); font-size: 14px; }
  .site-header-right .btn-accent { font-size: 14px; padding: var(--wd-space-2) var(--wd-space-4); }
  .site-nav { order: 3; width: 100%; overflow-x: auto; gap: var(--wd-space-6); }
  .site-nav a { padding-block: var(--wd-space-3); }
}

/* ── COM-002 상단 메뉴바 (로그인 후): 알림 종 + 마이페이지 ── */
.btn-light { display: inline-flex; align-items: center; font: inherit; font-size: 15px; font-weight: 700; line-height: normal; padding: 10px 18px; border: 0; border-radius: var(--wd-radius-pill); background: var(--wd-white); color: var(--wd-black); cursor: pointer; text-decoration: none; white-space: nowrap; }
.site-header .btn-light { color: var(--wd-black); }

.notif > summary { list-style: none; cursor: pointer; position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--wd-radius-pill); }
.notif > summary::-webkit-details-marker { display: none; }
.notif > summary img { width: 24px; height: 24px; }
/* 새 알림이 있을 때만 노란 점 */
.notif-badge { position: absolute; top: 8px; left: 24px; width: 8px; height: 8px; border-radius: var(--wd-radius-pill); background: var(--wd-yellow); }

/* 알림 창: 종을 누르면 메뉴바 오른쪽 아래에 열림 */
.notif-panel { position: absolute; right: 0; top: calc(100% + var(--wd-space-2)); width: 380px; max-width: calc(100vw - var(--wd-space-8)); overflow: hidden; background: var(--wd-surface); color: var(--wd-text); border: 1px solid var(--wd-line); border-radius: var(--wd-radius-lg); box-shadow: 0 12px 32px rgba(0, 0, 0, .12); line-height: 1.45; white-space: normal; text-align: left; }
.notif-panel a { color: inherit; text-decoration: none; }
.notif-head { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--wd-space-5); border-bottom: 1px solid var(--wd-line); }
.notif-head b { font-size: 16px; }
.notif-head a { font-size: 13px; font-weight: 500; color: var(--wd-muted); }
.notif-list { list-style: none; margin: 0; padding: 0; max-height: min(520px, calc(100vh - 180px)); overflow-y: auto; }
.notif-item { display: flex; gap: var(--wd-space-3); padding: var(--wd-space-4) var(--wd-space-5); }
.notif-item:hover { background: var(--wd-soft); }
.notif-item::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: var(--wd-radius-pill); background: transparent; }
.notif-item.is-unread::before { background: var(--wd-yellow); }
.notif-text { display: grid; gap: var(--wd-space-1); }
.notif-item:not(.is-unread) .notif-text { opacity: .55; }
.notif-title { font-size: 14px; font-weight: 700; color: var(--wd-black); }
.notif-body { font-size: 13px; color: var(--wd-muted); }
.notif-time { font-size: 12px; color: var(--wd-muted); opacity: .8; }
.notif-empty { display: grid; justify-items: center; gap: 14px; padding: var(--wd-space-12) var(--wd-space-5) 52px; font-size: 15px; font-weight: 500; color: var(--wd-muted); }
.notif-empty-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--wd-radius-pill); background: var(--wd-soft); }

@media (max-width: 767px) {
  .site-header-right .btn-light { font-size: 14px; padding: var(--wd-space-2) var(--wd-space-4); }
}

/* ── COM-003 푸터 ── */
.site-footer { background: var(--wd-soft); padding-block: var(--wd-space-12); line-height: normal; }
.site-footer-inner { display: grid; gap: var(--wd-space-6); justify-items: start; }
.site-footer a { color: inherit; text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--wd-space-2) var(--wd-space-6); font-size: 14px; line-height: 22px; color: var(--wd-muted); }
.footer-links strong { font-weight: 700; }
.footer-biz { display: grid; gap: var(--wd-space-4); font-size: 12px; line-height: 20px; color: var(--wd-muted); }
.footer-biz-lines { display: grid; gap: 2px; }
.footer-biz-row { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; }
.footer-biz-row .sep { opacity: .4; }
.site-footer .footer-biz-check { color: var(--wd-black); font-weight: 500; text-decoration: underline; }
.footer-copy { margin: 0; }

@media (max-width: 767px) {
  /* 모바일 시안 없음: 사업자 정보를 한 줄에 하나씩 */
  .site-footer { padding-block: var(--wd-space-8); }
  .footer-biz-row { flex-direction: column; align-items: flex-start; }
  .footer-biz-row .sep { display: none; }
}

/* ── MAIN 메인 화면 구성 요소 (일감·함께한 일·모임 목록에서도 다시 쓸 수 있게 공통으로 둠) ── */
.section { padding-top: 120px; }
.section:first-child { padding-top: 88px; }
.section-inner { display: grid; gap: var(--wd-space-7); }
.section-inner.is-tight { gap: var(--wd-space-6); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: var(--wd-space-4); }
.section-title { margin: 0; font-size: 34px; font-weight: 700; line-height: normal; letter-spacing: -0.68px; }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; line-height: normal; color: var(--wd-black); text-decoration: none; white-space: nowrap; }
.more-link img, .btn-accent img { width: 16px; height: 16px; }

/* 작은 표시: 새 일감·마감 임박(노랑), 스킬 태그(연회색), 공동 */
.pill { display: inline-flex; align-items: center; padding: 3px var(--wd-space-2); border-radius: 4px; background: var(--wd-yellow); color: var(--wd-black); font-size: 11px; font-weight: 700; line-height: normal; white-space: nowrap; }
.pill-tag { padding: 5px 10px; background: var(--wd-soft); font-size: 12px; font-weight: 500; }
.pill-round { padding: 2px 7px; border-radius: var(--wd-radius-pill); font-size: 10px; }

/* MAIN-001·003 새로 올라온 일감: 일감 표 + 오른쪽 카드 */
.jobs-row { display: flex; gap: var(--wd-space-6); align-items: stretch; }
.job-table { flex: 1; min-width: 0; list-style: none; margin: 0; padding: 0; background: var(--wd-surface); border: 1px solid var(--wd-line); border-radius: 12px; overflow: hidden; }
.job-row { display: flex; align-items: center; gap: var(--wd-space-4); padding: var(--wd-space-6); border-bottom: 1px solid var(--wd-line); line-height: normal; }
.job-row:last-child { border-bottom: 0; }
.job-main { flex: 1; min-width: 0; display: grid; gap: 10px; }
.job-title { display: flex; align-items: center; gap: var(--wd-space-2); font-size: 18px; font-weight: 700; color: var(--wd-black); text-decoration: none; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.job-company { width: 130px; flex: none; font-size: 14px; font-weight: 500; }
.job-budget { width: 96px; flex: none; font-size: 17px; font-weight: 900; }
.job-meta { width: 104px; flex: none; font-size: 14px; color: var(--wd-muted); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 100px; padding: 11px var(--wd-space-4); border: 1px solid var(--wd-black); border-radius: 8px; background: var(--wd-white); color: var(--wd-black); font: inherit; font-size: 14px; font-weight: 700; line-height: normal; text-decoration: none; cursor: pointer; }

.cta-card { position: relative; overflow: hidden; flex: none; width: 360px; min-height: 417px; display: flex; flex-direction: column; align-items: flex-start; gap: var(--wd-space-4); padding: 36px var(--wd-space-8); border-radius: var(--wd-space-6); background: var(--wd-black) url(assets/glow-card.svg) no-repeat 40px 260px / 420px 420px; color: var(--wd-white); line-height: normal; }
.cta-eyebrow { margin: 0; font-size: 14px; font-weight: 700; color: var(--wd-yellow); }
.cta-title { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.3; }
.cta-card .btn-accent { margin-top: auto; gap: var(--wd-space-2); padding: var(--wd-space-4) 22px; font-size: 16px; }

/* MAIN-002 워크덴에서 함께한 일: 카드 6개 (3칸) */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--wd-space-7) var(--wd-space-6); list-style: none; margin: 0; padding: 0; }
.project-card { display: grid; gap: 14px; color: var(--wd-black); text-decoration: none; line-height: normal; }
.project-cover { display: block; height: 280px; border-radius: var(--wd-space-5); background: var(--wd-soft) center / cover no-repeat; }
.project-title { font-size: 18px; font-weight: 700; }
.project-people { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--wd-muted); }
.avatars { display: flex; }
.avatar { display: grid; place-items: center; width: 26px; height: 26px; margin-right: -8px; border: 2px solid var(--wd-white); border-radius: var(--wd-radius-pill); background: var(--wd-black); color: var(--wd-yellow); font-size: 11px; font-weight: 900; }
.avatar:nth-child(even) { background: var(--wd-yellow); color: var(--wd-black); }
.avatar:last-child { margin-right: 0; }

/* MAIN-004 이번 주 모임: 유형 탭 + 카드 4개 */
.chip-tabs { display: flex; flex-wrap: wrap; gap: var(--wd-space-2); }
.chip { padding: 10px 18px; border: 1px solid var(--wd-line); border-radius: var(--wd-radius-pill); background: var(--wd-white); color: var(--wd-black); font: inherit; font-size: 14px; line-height: normal; cursor: pointer; }
.chip[aria-selected="true"] { border-color: var(--wd-black); background: var(--wd-black); color: var(--wd-yellow); font-weight: 700; }
.meetup-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--wd-space-6); list-style: none; margin: 0; padding: 0; }
.meetup-card { position: relative; overflow: hidden; display: flex; flex-direction: column; height: 100%; border: 1px solid var(--wd-line); border-radius: var(--wd-space-6); background: var(--wd-white); box-shadow: 0 10px 30px rgba(20, 20, 26, .05); line-height: normal; }
.meetup-cover { position: relative; display: grid; place-items: center; height: 180px; background: var(--wd-soft) center / cover no-repeat; }
.meetup-cover > img { width: 36px; height: 36px; }
.meetup-badge { position: absolute; top: var(--wd-space-4); left: var(--wd-space-4); padding: 5px 10px; border-radius: var(--wd-radius-pill); background: var(--wd-yellow); color: var(--wd-black); font-size: 11px; font-weight: 900; line-height: 13px; }
.meetup-badge.is-today { background: var(--wd-black); color: var(--wd-yellow); }
.meetup-host-photo { position: absolute; top: 151px; left: 19px; display: grid; place-items: center; width: 56px; height: 56px; border: 3px solid var(--wd-white); border-radius: var(--wd-radius-pill); background: var(--wd-soft); }
.meetup-host-photo img { width: 35px; height: 35px; }
.meetup-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: var(--wd-space-10) var(--wd-space-5) var(--wd-space-5); }
.meetup-host { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; }
.meetup-host small { font-size: 12px; font-weight: 700; color: var(--wd-muted); }
.meetup-type { padding: var(--wd-space-1) 10px; border: 1px solid var(--wd-yellow); border-radius: var(--wd-radius-pill); background: var(--wd-yellow); font-size: 11px; font-weight: 700; line-height: 13px; }
.meetup-title { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.17px; }
.meetup-info { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 16px; color: var(--wd-muted); }
.meetup-info img { width: 14px; height: 14px; }
.btn-apply { display: flex; justify-content: center; width: 100%; margin-top: auto; padding: var(--wd-space-3) var(--wd-space-4); border: 0; border-radius: var(--wd-radius-pill); background: var(--wd-black); color: var(--wd-yellow); font: inherit; font-size: 14px; font-weight: 700; line-height: 17px; text-decoration: none; cursor: pointer; }
/* 모집 마감 */
.meetup-card.is-closed .meetup-cover { background: var(--wd-black); }
.meetup-closed { padding: 6px 14px; border: 1.5px solid var(--wd-white); border-radius: var(--wd-radius-pill); color: var(--wd-white); font-size: 14px; font-weight: 700; }
.meetup-card.is-closed .meetup-host, .meetup-card.is-closed .meetup-title { color: var(--wd-muted); }
.meetup-card.is-closed .meetup-type { border-color: transparent; background: var(--wd-soft); color: var(--wd-muted); }
.meetup-card.is-closed .meetup-info img { opacity: .6; }
.meetup-card.is-closed .btn-apply { background: var(--wd-soft); color: var(--wd-muted); cursor: default; }

/* MAIN-005 하단 소개 띠 */
.band-section { padding-block: 120px; }
.band { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: var(--wd-space-10); padding: 80px 64px; border-radius: var(--wd-space-10); background: url(assets/glow-band-top.svg) no-repeat -160px -200px / 500px 500px, url(assets/glow-band-bottom.svg) no-repeat 120px 220px / 1000px 600px, var(--wd-black); line-height: normal; }
.band-title { margin: 0; font-size: 52px; font-weight: 900; line-height: 1.25; letter-spacing: -1.56px; text-align: center; background: linear-gradient(to bottom, var(--wd-white), var(--wd-white) 50%, var(--wd-yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--wd-space-4); width: 100%; list-style: none; margin: 0; padding: 0; }
.band-stat { display: grid; justify-items: center; gap: 6px; padding: var(--wd-space-6); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--wd-space-5); background: rgba(255, 255, 255, .06); }
.band-stat b { font-size: 36px; font-weight: 900; letter-spacing: -0.72px; color: var(--wd-yellow); }
.band-stat span { font-size: 14px; color: var(--wd-white); }
.band .btn-accent { gap: var(--wd-space-2); padding: 18px 34px; font-size: 17px; }

@media (max-width: 1023px) {
  .jobs-row { flex-direction: column; }
  .cta-card { width: 100%; min-height: 0; }
  .cta-card .btn-accent { margin-top: var(--wd-space-6); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .meetup-grid { grid-template-columns: repeat(2, 1fr); }
  .band-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .section { padding-top: 64px; }
  .section:first-child { padding-top: var(--wd-space-10); }
  .section-title { font-size: 24px; }
  .job-row { flex-wrap: wrap; gap: var(--wd-space-2) var(--wd-space-3); padding: var(--wd-space-5); }
  .job-main { flex-basis: 100%; }
  .job-title { flex-wrap: wrap; font-size: 16px; }
  .job-company, .job-budget, .job-meta { width: auto; }
  .job-row .btn-outline { margin-left: auto; }
  .project-grid, .meetup-grid { grid-template-columns: 1fr; }
  .project-cover { height: 200px; }
  .band-section { padding-block: 64px; }
  .band { padding: 48px var(--wd-space-5); border-radius: var(--wd-space-6); gap: var(--wd-space-6); }
  .band-title { font-size: 30px; letter-spacing: -0.9px; }
  .band-stat { padding: var(--wd-space-4) var(--wd-space-2); }
  .band-stat b { font-size: 24px; }
  .band-stat span { font-size: 12px; }
}

/* ── PRJ 일감 목록 (필터 PRJ-001 · 일감 카드 PRJ-002) ── */
.page-intro { display: flex; align-items: center; justify-content: space-between; gap: var(--wd-space-6); padding: 56px 0 var(--wd-space-8); }
.page-title { margin: 0; font-size: 44px; font-weight: 700; line-height: normal; letter-spacing: -1.1px; }
.search-box { display: flex; align-items: center; gap: 10px; min-height: 57px; width: 560px; max-width: 100%; padding: 6px 6px 6px 22px; border: 1.5px solid var(--wd-black); border-radius: var(--wd-radius-pill); background: var(--wd-white); }
.search-box img { width: 20px; height: 20px; flex: none; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; line-height: normal; color: var(--wd-black); }
.search-box input::placeholder { color: var(--wd-muted); }
.btn-dark { display: inline-flex; align-items: center; justify-content: center; padding: var(--wd-space-3) var(--wd-space-6); border: 0; border-radius: var(--wd-radius-pill); background: var(--wd-black); color: var(--wd-white); font: inherit; font-size: 15px; font-weight: 700; line-height: 18px; text-decoration: none; white-space: nowrap; cursor: pointer; }

.wide-banner { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: var(--wd-space-6); margin-bottom: var(--wd-space-8); padding: var(--wd-space-8) var(--wd-space-10); border-radius: var(--wd-space-6); background: var(--wd-black) url(assets/glow-banner.svg) no-repeat 560px -120px / 700px 420px; color: var(--wd-white); line-height: normal; }
.wide-banner-text { display: grid; gap: var(--wd-space-2); }
.wide-banner-eyebrow { margin: 0; font-size: 14px; font-weight: 700; line-height: 17px; color: var(--wd-yellow); }
.wide-banner-title { margin: 0; font-size: 26px; font-weight: 700; line-height: 31px; }
.wide-banner .btn-accent { gap: var(--wd-space-2); padding: var(--wd-space-4) var(--wd-space-6); font-size: 16px; }

.list-layout { display: flex; align-items: flex-start; gap: 56px; padding: var(--wd-space-10) 0 120px; }
.filters { flex: none; width: 220px; line-height: normal; }
.filter-group { display: grid; justify-items: start; gap: var(--wd-space-3); margin: 0; padding: var(--wd-space-5) 0 var(--wd-space-6); border: 0; border-top: 1px solid var(--wd-line); }
.filter-group legend { float: left; padding: 0; font-size: 14px; font-weight: 700; line-height: 17px; }
.filter-group legend + * { clear: left; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; line-height: 17px; color: var(--wd-muted); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 16px; height: 16px; margin: 0; border: 1px solid var(--wd-muted); border-radius: 0; background: var(--wd-white); cursor: pointer; }
.check input:checked { border-color: var(--wd-black); background: var(--wd-black) url(assets/icon-check.svg) no-repeat center / 11px 11px; }
.check:has(input:checked) { font-weight: 500; color: var(--wd-black); }
.filter-reset { display: block; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; line-height: 16px; color: var(--wd-muted); text-decoration: underline; cursor: pointer; }

.job-list { flex: 1; min-width: 0; display: grid; gap: var(--wd-space-4); }
.list-head { display: flex; align-items: center; justify-content: space-between; gap: var(--wd-space-4); line-height: normal; }
.list-count { margin: 0; display: flex; gap: 6px; font-size: 16px; font-weight: 700; line-height: 19px; }
.list-count span { color: var(--wd-muted); }
.list-count.is-empty span { font-weight: 500; }
.sort-select { appearance: none; -webkit-appearance: none; padding: 9px 38px 9px 18px; border: 1px solid var(--wd-line); border-radius: 8px; background: var(--wd-white) url(assets/icon-chevron-down.svg) no-repeat right 14px center / 16px 16px; font: inherit; font-size: 14px; font-weight: 500; line-height: 17px; color: var(--wd-black); cursor: pointer; }

.job-board { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--wd-black); }
.board-row { display: flex; align-items: center; gap: var(--wd-space-6); padding: var(--wd-space-6) 0; border-bottom: 1px solid var(--wd-line); line-height: normal; }
.board-main { flex: 1; min-width: 0; display: grid; justify-items: start; gap: 10px; }
.board-title { display: flex; align-items: center; gap: var(--wd-space-2); font-size: 18px; font-weight: 700; line-height: 21px; letter-spacing: -0.18px; color: var(--wd-black); text-decoration: none; }
.board-title .pill { padding: 3px 9px; border-radius: var(--wd-radius-pill); line-height: 13px; }
.board-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.board-tags .pill-tag { padding: var(--wd-space-1) 10px; border-radius: var(--wd-radius-pill); font-size: 11px; line-height: 13px; }
.board-meta { margin: 0; font-size: 13px; line-height: 16px; color: var(--wd-muted); }
.board-meta.is-urgent { font-weight: 700; color: var(--wd-black); }
.board-side { flex: none; display: flex; align-items: center; gap: var(--wd-space-4); width: 220px; }
.board-company { width: 110px; flex: none; font-size: 14px; font-weight: 500; }
.board-budget { font-size: 18px; font-weight: 900; letter-spacing: -0.18px; white-space: nowrap; }
.btn-pill { display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 10px 18px; border: 0; border-radius: var(--wd-radius-pill); background: var(--wd-black); color: var(--wd-white); font: inherit; font-size: 14px; font-weight: 700; line-height: normal; text-decoration: none; white-space: nowrap; cursor: pointer; }
/* 모집 마감: 사업자가 마감일 전에 모집을 끝냄 → 마감일까지 흐리게 */
.board-row.is-closed .board-title > span:first-child, .board-row.is-closed .board-tags, .board-row.is-closed .board-side { opacity: .45; }
.pill-closed { padding: 3px 9px; border: 1px solid var(--wd-muted); border-radius: var(--wd-radius-pill); background: none; color: var(--wd-muted); }
.board-row.is-closed .btn-pill { background: var(--wd-soft); color: var(--wd-muted); cursor: default; }

.pager { display: flex; align-items: center; justify-content: center; gap: var(--wd-space-6); padding-top: var(--wd-space-6); line-height: normal; }
.pager a { padding-bottom: var(--wd-space-1); border-bottom: 2px solid transparent; font-size: 15px; color: var(--wd-muted); text-decoration: none; }
.pager a[aria-current="page"] { border-bottom-color: var(--wd-black); font-weight: 700; color: var(--wd-black); }
.pager .pager-arrow { padding: 0; border: 0; line-height: 0; }
.pager .pager-arrow img { width: 18px; height: 18px; }

.list-empty { display: grid; place-items: center; height: 520px; border: 1px solid var(--wd-line); border-radius: 12px; font-size: 15px; line-height: 1.6; color: var(--wd-muted); text-align: center; }
.list-empty p { margin: 0; }

@media (max-width: 1023px) {
  .page-intro { flex-direction: column; align-items: stretch; }
  .search-box { width: 100%; }
  .list-layout { flex-direction: column; gap: var(--wd-space-6); }
  .filters { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: var(--wd-space-6); align-items: start; }
  .filter-group { align-content: start; }
  .filters .filter-reset { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 767px) {
  .page-intro { padding-top: var(--wd-space-8); }
  .page-title { font-size: 32px; }
  .wide-banner { flex-direction: column; align-items: flex-start; padding: var(--wd-space-6); background-position: 0 -40px; }
  .wide-banner-title { font-size: 20px; }
  .list-layout { padding-bottom: 64px; }
  .board-row { flex-wrap: wrap; gap: var(--wd-space-3); }
  .board-main { flex-basis: 100%; }
  .board-title { flex-wrap: wrap; font-size: 16px; }
  .board-side { width: auto; flex: 1; }
  .board-company { width: auto; }
  .pager { gap: var(--wd-space-4); }
}

/* 검토용: 상태 구분 표시 (앱으로 옮길 때는 쓰지 않음) */
.state-label { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--wd-muted); text-transform: uppercase; margin: 0 0 var(--wd-space-3); }
section[data-state] { padding-block: var(--wd-space-8); border-top: 2px dashed var(--wd-line); }
.state-nav { display: flex; flex-wrap: wrap; gap: var(--wd-space-2); margin: var(--wd-space-4) 0; }
.state-nav a { font-size: 13px; color: var(--wd-muted); }
.review-intro { padding-top: var(--wd-space-6); }
.state-label.container { margin-inline: auto; }
.review-stage { background: var(--wd-soft); min-height: 560px; }
.review-stage.is-short { min-height: 360px; }
