/* NVP24 문의 · 기사제보 (/contact) — resources/views/public/contact.php (보도자료 작성 화면과 같은 카드 · 입력칸) */

.contact-body { padding-top: 28px; padding-bottom: 64px; }
.contact-page .layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }

.contact-page .fs { padding: 24px 26px; }
.contact-page .fs > h2 { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; display: flex; align-items: center; gap: 8px; }
.contact-page .fs > h2 .no { width: 26px; height: 26px; border-radius: 7px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; }
.contact-page .fs > h2 .no svg.lucide { width: 15px; height: 15px; }
.contact-page .fs > p.d { font-size: 13px; color: var(--text-3); margin: 4px 0 20px 34px; }
.contact-page em { color: var(--red); font-style: normal; margin-left: 2px; }

.contact-page .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.contact-page .f { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; min-width: 0; }
.contact-page .f.full { grid-column: 1 / -1; }
.contact-page .f label, .contact-page .f .lbl { font-size: 13.5px; font-weight: 700; }
.contact-page .f input[type=text], .contact-page .f input[type=email], .contact-page .f input[type=tel], .contact-page .f input[type=url],
.contact-page .f input[type=number], .contact-page .f input[type=date], .contact-page .f input[type=datetime-local], .contact-page .f select, .contact-page .f textarea {
  width: 100%; height: 44px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; outline: 0; }
.contact-page .f textarea { height: auto; min-height: 180px; padding: 12px 13px; line-height: 1.65; resize: vertical; }
.contact-page .f input::placeholder, .contact-page .f textarea::placeholder { color: var(--text-3); }
.contact-page .f input:focus, .contact-page .f select:focus, .contact-page .f textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.contact-page .f .help { font-size: 12px; color: var(--text-3); }
.contact-page .f.note { font-size: 13px; color: var(--text-3); }
.contact-page .opts { display: flex; flex-wrap: wrap; gap: 6px; }
.contact-page .opts label { position: relative; cursor: pointer; font-weight: 400; }
.contact-page .opts input { position: absolute; opacity: 0; pointer-events: none; }
.contact-page .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); }
.contact-page .opts input:checked + .chip { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.contact-page .opts input:focus-visible + .chip { outline: 2px solid var(--brand); outline-offset: 2px; }

.contact-page .consent { margin-top: 4px; padding: 14px 16px; border-radius: 10px; background: var(--surface-2); }
.contact-page .consent label { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; cursor: pointer; }
.contact-page .consent input { width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.contact-page .consent p { margin: 6px 0 0 25px; font-size: 12.5px; color: var(--text-3); line-height: 1.6; }
.contact-page .consent a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 2px; }

.contact-page .result { margin: 14px 0 0; font-size: 14px; font-weight: 600; min-height: 1.4em; }
.contact-page .result.is-ok { color: var(--mint); }
.contact-page .result.is-err { color: var(--red); }
.contact-page .acts { display: flex; justify-content: flex-end; margin-top: 12px; }
.contact-page .acts .btn { height: 48px; padding: 0 26px; font-size: 15px; }
.contact-page .acts .btn:disabled { opacity: .6; cursor: default; }

.contact-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 사이드 */
.contact-page .side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 74px; }
.contact-page .side .card { padding: 20px; }
.contact-page .side h3 { font-size: 15px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.contact-page .side h3 svg.lucide { color: var(--brand); width: 17px; height: 17px; }
.contact-page .side p { font-size: 13.5px; color: var(--text-2); line-height: 1.65; }
.contact-page .side .cta { background: var(--brand-soft); border-color: transparent; }
.contact-page .side .cta .btn { margin-top: 12px; }
.contact-page .flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-page .flow li { display: flex; gap: 10px; align-items: flex-start; }
.contact-page .flow li > span { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--brand-2); color: #fff; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; }
.contact-page .flow b { display: block; font-size: 14px; }
.contact-page .flow small { font-size: 12.5px; color: var(--text-3); }
.contact-page .contact-dl { display: grid; grid-template-columns: 52px 1fr; gap: 6px 10px; font-size: 13.5px; }
.contact-page .contact-dl dt { color: var(--text-3); }
.contact-page .contact-dl a:hover { color: var(--brand); }

@media (max-width: 1080px) {
  .contact-page .layout { grid-template-columns: minmax(0, 1fr); }
  .contact-page .side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 640px) {
  .contact-page .grid2 { grid-template-columns: minmax(0, 1fr); }
  .contact-page .fs { padding: 20px 16px; }
  .contact-page .fs > p.d { margin-left: 0; }
  .contact-page .acts .btn { width: 100%; justify-content: center; }
}
