/* NVP24 기업 보도자료 (portal-press 스킨) — BoardController 규칙: /public/assets/nvp24/pages/{스킨}.css
 * 목록(board.css) · 상세(view.css) · 글쓰기 화면 모두에 붙으므로 글쓰기 스타일은 .press-write 아래로 한정한다.
 * 글쓰기: 시안 design/nvp24-press-submit.html 이식 (프리미엄 유료 옵션 · 배포 대상 제외) */

/* ─── 상세: 기업 정보 카드 ─── */
.press-company { padding: 20px 22px; margin-top: 24px; }
.press-company-h { display: flex; align-items: center; gap: 14px; }
.press-company-h .pf { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 19px; background: var(--brand-2); flex: none; }
.press-company-h .pf.has-img { padding: 5px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.press-company-h .pf.has-img img { width: 100%; height: 100%; object-fit: contain; }
.press-company-h b { font-size: 16px; margin-right: 8px; }
.press-company dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.press-company dl div { display: flex; gap: 10px; font-size: 13.5px; min-width: 0; }
.press-company dt { color: var(--text-3); display: inline-flex; align-items: center; gap: 5px; flex: none; }
.press-company dt svg.lucide { width: 14px; height: 14px; }
.press-company dd { color: var(--text); overflow-wrap: anywhere; }
.press-company dd a { color: var(--brand-ink); text-decoration: underline; }
.press-company-note { display: flex; gap: 6px; margin-top: 14px; font-size: 12.5px; color: var(--text-3); line-height: 1.6; }
.press-company-note svg.lucide { width: 14px; height: 14px; margin-top: 3px; flex: none; }
@media (max-width: 640px) { .press-company dl { grid-template-columns: minmax(0, 1fr); } }

/* ─── 글쓰기 ─── */
.press-write { padding-bottom: 64px; }
.press-write .steps { display: flex; gap: 0; margin-top: 22px; max-width: 640px; list-style: none; padding: 0; }
.press-write .steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #a9b8e6; position: relative; }
.press-write .steps li:not(:last-child)::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .2); margin: 0 10px; }
.press-write .steps li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12px; border: 1px solid rgba(255, 255, 255, .3); flex: none; }
.press-write .steps li.on { color: #fff; font-weight: 700; }
.press-write .steps li.on span { background: #fff; color: var(--brand-2); border-color: #fff; }

.press-write .layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; margin-top: 28px; align-items: start; }
.press-write .fs { padding: 24px 26px; margin-bottom: 20px; }
.press-write fieldset.f { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.press-write .fs > h2 { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; display: flex; align-items: center; gap: 8px; }
.press-write .fs > h2 .no { width: 24px; height: 24px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; font-size: 12.5px; }
.press-write .fs > p.d { font-size: 13px; color: var(--text-3); margin: 4px 0 18px 32px; }
.press-write .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.press-write .f { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.press-write .f label, .press-write .f .lbl { font-size: 13.5px; font-weight: 700; padding: 0; }
.press-write .f em { color: var(--red); font-style: normal; margin-left: 2px; }
.press-write .f small { font-weight: 500; color: var(--text-3); margin-left: 6px; }
.press-write .f input[type=text], .press-write .f input[type=email], .press-write .f input[type=tel], .press-write .f input[type=url],
.press-write .f input[type=datetime-local], .press-write .f input[type=number], .press-write .f input[type=date], .press-write .f select, .press-write .f textarea {
  height: 44px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 13px; background: var(--surface); color: var(--text); font-size: 14px; outline: 0; width: 100%; }
.press-write .f textarea { height: auto; min-height: 96px; padding: 12px 13px; resize: vertical; line-height: 1.6; }
.press-write .f input:focus, .press-write .f select:focus, .press-write .f textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.press-write .f .help { font-size: 12px; color: var(--text-3); display: flex; justify-content: space-between; gap: 12px; }
.press-write .cats { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.press-write .cats label { cursor: pointer; position: relative; }
.press-write .cats input { position: absolute; opacity: 0; pointer-events: none; }
.press-write .chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-2); background: var(--surface); }
.press-write .cats input:checked + .chip { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.press-write .cats input:focus-visible + .chip { outline: 2px solid var(--brand); outline-offset: 2px; }
.press-write .editor-box { border-radius: 8px; overflow: hidden; }

.press-write .drop { display: block; border: 2px dashed var(--line-2); border-radius: 12px; padding: 26px; text-align: center; color: var(--text-3); font-size: 13px; background: var(--surface-2); cursor: pointer; }
.press-write .drop svg.lucide { width: 30px; height: 30px; color: var(--brand); margin: 0 auto 8px; display: block; }
.press-write .drop b { color: var(--text); font-size: 14px; display: block; margin-bottom: 2px; }
.press-write .drop-input { margin-top: 10px; font-size: 13px; max-width: 100%; }
.press-write .picked { margin: 8px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--text-2); }
.press-write .picked li { padding: 3px 0; overflow-wrap: anywhere; }

.press-write .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.press-write .opt { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--line-2); border-radius: 12px; }
.press-write .opt.on { border-color: var(--brand); background: var(--brand-soft); }
.press-write .opt > svg.lucide { color: var(--brand); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.press-write .opt b { font-size: 14.5px; display: block; }
.press-write .opt small { font-size: 12.5px; color: var(--text-2); display: block; margin-top: 2px; line-height: 1.5; }
.press-write .opt .price { display: block; margin-top: 8px; font-weight: 800; color: var(--brand-ink); font-size: 15px; }
.press-write .opts-after { margin-top: 16px; }
.press-write .agree { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.press-write .agree label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.press-write .agree input { accent-color: var(--brand); width: 16px; height: 16px; flex: none; }
.press-write .submit-bar { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.press-write .form-error, .press-write .form-note { display: flex; gap: 8px; align-items: flex-start; padding: 12px 16px; border-radius: 10px; font-size: 13.5px; margin-bottom: 16px; line-height: 1.6; }
.press-write .form-error { background: var(--red-soft); color: var(--red); font-weight: 700; }
.press-write .form-note { background: var(--brand-soft); color: var(--brand-ink); }
.press-write .form-error svg.lucide, .press-write .form-note svg.lucide { width: 17px; height: 17px; margin-top: 2px; flex: none; }

.press-write .side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 74px; }
.press-write .side .card { padding: 20px; }
.press-write .side h3 { font-size: 15px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.press-write .side h3 svg.lucide { color: var(--brand); width: 17px; height: 17px; }
.press-write .prev .th { aspect-ratio: 16 / 9; margin-bottom: 12px; }
.press-write .prev .th svg.lucide { width: 40px; height: 40px; }
.press-write .prev b { font-size: 15.5px; line-height: 1.45; display: block; margin-top: 8px; overflow-wrap: anywhere; }
.press-write .prev p { font-size: 13px; color: var(--text-2); margin: 6px 0 8px; }
.press-write .checks, .press-write .flow { list-style: none; padding: 0; margin: 0; }
.press-write .checks li { display: flex; gap: 8px; font-size: 13px; color: var(--text-2); padding: 5px 0; line-height: 1.5; }
.press-write .checks li svg.lucide { width: 16px; height: 16px; color: var(--mint); margin-top: 2px; flex: none; }
.press-write .checks li.no svg.lucide { color: var(--text-3); }
.press-write .flow li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 8px 0; font-size: 13px; color: var(--text-2); }
.press-write .flow li span { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.press-write .flow li b { color: var(--text); display: block; font-size: 13.5px; }

@media (max-width: 1080px) { .press-write .layout { grid-template-columns: minmax(0, 1fr); } .press-write .side { position: static; } }
@media (max-width: 640px) {
  .press-write .grid2, .press-write .opts { grid-template-columns: minmax(0, 1fr); }
  .press-write .fs { padding: 20px 16px; }
  .press-write .fs > p.d { margin-left: 0; }
  .press-write .steps li { font-size: 0; }
  .press-write .submit-bar .btn { flex: 1; justify-content: center; }
}

/* 보도자료 작성 — 기업 로고 */
.co-logo { grid-column: 1 / -1; }
.co-logo label small { font-weight: 400; color: var(--text-3); }
.co-logo-row { display: flex; gap: 14px; align-items: center; }
.co-logo-pv { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border: 1px dashed var(--line-2); border-radius: 12px; background: #fff; overflow: hidden; color: var(--text-3); }
.co-logo-pv img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
[data-theme="dark"] .co-logo-pv:not(:has(img)) { background: var(--surface-2); }
.co-logo-ctl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; }
.co-logo-ctl input[type="file"] { display: none; }
.co-logo-ctl .hint { flex-basis: 100%; margin: 0; font-size: 12px; color: var(--text-3); }
.co-logo-del { border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); }
