/* 큰 사진 피드형 — 흰 바탕, Gothic A1 굵은 제목, 넉넉한 여백. 색은 먹색과 주황 한 점 */
:root {
  --bg: #FFFFFF; --ink: #121212; --ink2: #444; --muted: #8C8C8C; --line: #E8E8E8;
  --hot: #D4512A;
  --font: 'Gothic A1', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  --col: 760px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.75 var(--font); word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
img { max-width: 100%; }
.ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* 머리글 */
.pf-top__in { max-width: var(--col); margin: 0 auto; padding: 26px 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pf-logo { text-decoration: none; font-size: 22px; font-weight: 800; letter-spacing: -0.04em; white-space: nowrap; }
.pf-logo span { margin-left: 4px; font-weight: 400; color: var(--muted); }
.pf-nav { display: flex; gap: 18px; }
.pf-nav a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.pf-nav a:hover, .pf-nav a.is-on { color: var(--ink); }
.pf-nav a.is-on { box-shadow: inset 0 -2px 0 var(--hot); }

/* 버튼 */
.pf-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; background: var(--ink); color: #fff; border: 1px solid var(--ink); font-size: 14.5px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pf-btn:hover { background: var(--hot); border-color: var(--hot); }
.pf-btn--ghost { background: transparent; color: var(--ink); }
.pf-btn--ghost:hover { color: #fff; }
.pf-btn--block { width: 100%; padding: 15px; }

/* 소개 */
.pf-page { max-width: var(--col); margin: 0 auto; padding: 12px 20px 80px; }
.pf-hello { display: grid; grid-template-columns: 88px 1fr; gap: 26px; padding: 28px 0 44px; border-bottom: 2px solid var(--ink); }
.pf-hello__img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.pf-hello h1 { font-size: 38px; font-weight: 800; line-height: 1.25; letter-spacing: -0.045em; }
.pf-hello p { margin-top: 14px; max-width: 520px; color: var(--ink2); }
.pf-hello .pf-btn { margin-top: 22px; }

/* 분류·검색 */
.pf-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 0; }
.pf-cats { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.pf-cats::-webkit-scrollbar { display: none; }
.pf-cats a { text-decoration: none; font-size: 15px; font-weight: 700; color: #BDBDBD; white-space: nowrap; }
.pf-cats a:hover { color: var(--ink2); }
.pf-cats a.is-on { color: var(--ink); }
.pf-find { display: flex; align-items: center; gap: 6px; padding-bottom: 3px; border-bottom: 1px solid var(--ink); flex: none; }
.pf-find input { width: 120px; border: 0; outline: 0; background: transparent; font-size: 14px; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 12px 0 0; font-size: 13px; }
.pf-tags a { color: var(--muted); text-decoration: none; }
.pf-tags a:hover { color: var(--ink); }
.pf-tags a.is-on { color: var(--hot); font-weight: 700; }
.pf-sum { display: flex; gap: 10px; margin-top: 26px; font-size: 15px; font-weight: 700; }
.pf-sum a { font-weight: 400; color: var(--hot); }
.pf-empty { padding: 50px 0; color: var(--muted); }

/* 피드 — 행마다 16:9 사진 */
.pf-item { padding: 52px 0 0; }
.pf-item > a { display: block; text-decoration: none; }
.pf-item__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #EEE; }
.pf-item > a:hover .pf-item__img { filter: brightness(.94); }
.pf-item__ph { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 32px; background: var(--ink); color: #fff; }
.pf-item__ph span { font-size: 13px; font-weight: 700; color: var(--hot); }
.pf-item__ph b { font-size: 40px; font-weight: 800; line-height: 1.2; letter-spacing: -0.05em; }
@media (max-width: 640px) { .pf-item__ph { padding: 20px; } .pf-item__ph b { font-size: 26px; } }
.pf-item__cat { margin-top: 22px; display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--hot); text-decoration: none; }
.pf-item__t { margin-top: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 30px; font-weight: 800; line-height: 1.32; letter-spacing: -0.04em; }
.pf-item > a:hover .pf-item__t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.pf-item__m { margin-top: 12px; font-size: 13px; color: var(--muted); }
.pf-item__ex { margin-top: 8px; color: var(--ink2); }
.pf-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 64px; padding-top: 18px; border-top: 2px solid var(--ink); font-size: 14.5px; font-weight: 700; }
.pf-pager a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.pf-pager a:hover { color: var(--hot); }
.pf-pager > :last-child { justify-self: end; }
.pf-pager__n { color: var(--muted); font-weight: 500; }

/* 글 보기 */
.pf-read { max-width: var(--col); margin: 0 auto; padding: 0 20px; }
.pf-read__head { padding-top: 40px; }
.pf-read__t { margin-top: 6px; font-size: 44px; font-weight: 800; line-height: 1.25; letter-spacing: -0.05em; }
.pf-wide { max-width: 1160px; margin: 36px auto 0; padding: 0 20px; }
.pf-wide img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.pf-rule { max-width: calc(var(--col) - 40px); margin: 30px auto 0; border: 0; border-top: 2px solid var(--ink); }
.pf-prose { padding-top: 44px; font-size: 17.5px; line-height: 1.9; color: #222; }
.pf-prose p, .pf-prose ul, .pf-prose ol { margin: 0 0 1.4em; }
.pf-prose h2 { margin: 2em 0 .6em; font-size: 25px; font-weight: 800; line-height: 1.35; letter-spacing: -0.04em; }
.pf-prose h3 { margin: 1.6em 0 .5em; font-size: 19px; font-weight: 800; }
.pf-prose ul, .pf-prose ol { padding-left: 1.3em; }
.pf-prose strong { font-weight: 800; }
.pf-prose a { color: var(--hot); }
.pf-tags--post { padding-top: 0; }
.pf-tags--post a { color: var(--ink2); font-weight: 700; }
.pf-author { display: grid; grid-template-columns: 72px 1fr; gap: 22px; margin-top: 48px; padding: 30px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); color: var(--ink2); font-size: 15px; }
.pf-author__pic .brand__mark { width: 72px; height: 72px; color: var(--ink); display: block; }
.pf-author__n { font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.pf-author .pf-btn { margin-top: 18px; }
.pf-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 44px 0 90px; }
.pf-pn a { display: block; text-decoration: none; }
.pf-pn img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 10px; }
.pf-pn small { display: block; font-size: 12px; font-weight: 700; color: var(--hot); }
.pf-pn span { display: block; font-size: 17px; font-weight: 800; line-height: 1.4; letter-spacing: -0.03em; }
.pf-pn a:hover span { text-decoration: underline; }

/* 상담 */
.pf-form-page { padding-top: 40px; padding-bottom: 90px; }
.pf-lead { margin-top: 10px; color: var(--ink2); }
.pf-from { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 12px; border: 1px solid var(--line); text-decoration: none; }
.pf-from img { width: 120px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; flex: none; }
.pf-from small { display: block; font-size: 12px; font-weight: 700; color: var(--hot); }
.pf-from span { font-weight: 800; line-height: 1.4; }
.pf-form { margin-top: 32px; display: grid; gap: 22px; }
.pf-field { display: grid; gap: 8px; font-size: 13.5px; font-weight: 700; }
.pf-field input, .pf-field select, .pf-field textarea { width: 100%; padding: 14px; border: 1px solid #CFCFCF; border-radius: 0; background: #FAFAFA; font-size: 16px; font-weight: 400; outline: 0; }
.pf-field textarea { resize: vertical; }
.pf-field input:focus, .pf-field select:focus, .pf-field textarea:focus { border-color: var(--ink); background: #fff; }
.pf-err { color: #B3261E; font-size: 14px; font-weight: 700; }
.pf-err:empty { display: none; }
.pf-hint { font-size: 13px; color: var(--muted); }
.pf-thanks { margin-top: 28px; display: flex; gap: 8px; flex-wrap: wrap; }

/* 바닥글 */
.pf-foot { background: var(--ink); color: #BDBDBD; }
.pf-foot__in { max-width: var(--col); margin: 0 auto; padding: 40px 20px 48px; display: grid; gap: 12px; justify-items: start; font-size: 13.5px; }
.pf-foot__b { color: #fff; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.pf-foot .pf-btn--ghost { border-color: #666; color: #ddd; padding: 8px 14px; font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); padding: 12px 20px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; opacity: 0; pointer-events: none; transition: .2s; z-index: 50; white-space: nowrap; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 640px) {
  .pf-top__in { padding: 18px 20px; }
  .pf-logo { font-size: 19px; }
  .pf-nav { gap: 12px; }
  .pf-nav a { font-size: 13.5px; }
  .pf-hello { grid-template-columns: 1fr; gap: 16px; padding: 16px 0 32px; }
  .pf-hello__img { width: 60px; height: 60px; }
  .pf-hello h1 { font-size: 29px; }
  .pf-bar { flex-direction: column; align-items: stretch; gap: 14px; }
  .pf-find input { width: 100%; }
  .pf-item { padding-top: 40px; }
  .pf-item__img, .pf-wide img { aspect-ratio: 4 / 3; }
  .pf-item__t { font-size: 23px; }
  .pf-read__t { font-size: 30px; }
  .pf-wide { padding: 0; margin-top: 26px; }
  .pf-prose { font-size: 16.5px; }
  .pf-author { grid-template-columns: 1fr; gap: 12px; }
  .pf-author__pic .brand__mark { width: 48px; height: 48px; }
  .pf-pn { grid-template-columns: 1fr; }
  .pf-from img { width: 84px; }
}
