/* 목소리 이야기 (/blog) — 맨 위 최근 글 한 편만 크게(첫 문장), 나머지는 표지 없이 날짜 순 글자 목록 + 분류 · 검색 · 페이지 번호 */
.b-head { padding-bottom: clamp(16px, 2vw, 24px); }
.b-head .lede { max-width: 36em; }

/* 작성자 사진 — 대표 얼굴 한 장만, 블로그 작성자처럼 작게. 사진이 없으면 로고 기호 */
.portrait.face { overflow: hidden; background: var(--mist); box-shadow: 0 0 0 1px rgba(20, 27, 42, .06); }
.portrait.face img { width: 100%; height: 100%; object-fit: cover; }

.feat { margin-top: clamp(40px, 5vw, 56px); display: block; padding: clamp(28px, 4.4vw, 60px); border-radius: 28px; background: var(--tint); }
.f-meta { font-size: var(--fs-xs); color: var(--slate); }
.f-q { margin-top: 18px; max-width: 25em; font-size: var(--fs-2xl); line-height: 1.5; font-weight: 500; letter-spacing: -.04em; text-wrap: pretty; color: var(--ink); }
.f-foot { margin-top: clamp(28px, 3.4vw, 44px); padding-top: 22px; border-top: 1px solid var(--peri-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.f-foot .portrait { flex: none; width: 44px; height: 44px; background: var(--white); }
.f-foot h2 { font-size: var(--fs-l); font-weight: 700; letter-spacing: -.03em; }
.f-foot small { display: block; font-size: var(--fs-xs); color: var(--slate); }
.f-go { margin-left: auto; font-weight: 650; color: var(--cobalt); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
@media (hover: hover) { .feat:hover .f-go { color: var(--cobalt-hover); } .feat:hover h2 { color: var(--cobalt); } }

/* 모든 글 — 제목 · 분류 · 검색 한 줄 */
.idx-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; scroll-margin-top: 96px; }
.idx-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cats { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: var(--mist); }
.cats button { height: 44px; padding: 0 16px; border: 0; border-radius: 11px; background: none; font-size: var(--fs-s); font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.cats button span { margin-left: 2px; font-weight: 500; color: var(--slate); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .cats button:hover { color: var(--ink); } }
.cats [aria-pressed="true"] { background: var(--white); color: var(--cobalt); font-weight: 650; box-shadow: 0 1px 2px rgba(20, 27, 42, .08); }
.find { position: relative; width: 248px; }
.find svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--slate); pointer-events: none; }
.find input { width: 100%; height: 52px; padding: 0 14px 0 44px; border: 0; border-radius: 14px; background: var(--mist); color: var(--ink); font: 500 var(--fs-s)/1 var(--font); letter-spacing: -.02em; -webkit-appearance: none; appearance: none; transition: background .15s, box-shadow .15s; }
.find input::placeholder { color: #8C94A6; }
.find input:focus { outline: none; background: var(--white); box-shadow: inset 0 0 0 2px var(--cobalt), 0 0 0 4px var(--tint); }
.find input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; cursor: pointer; background: center / 13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6478' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.b-result { margin-top: 24px; font-size: var(--fs-s); color: var(--ink-2); }
.b-result b { color: var(--ink); font-weight: 650; }

.posts { margin-top: 28px; border-top: 1px solid var(--line); }
.b-result + .posts { margin-top: 14px; }
.posts li { border-bottom: 1px solid var(--line-2); }
.posts a { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) 8.5em; gap: 6px clamp(20px, 3vw, 40px); align-items: baseline; padding: 24px 4px; }
.posts time { font-size: var(--fs-xs); color: var(--slate); font-variant-numeric: tabular-nums; }
.pt h3 { font-size: var(--fs-l); line-height: 1.45; font-weight: 650; letter-spacing: -.03em; }
.pm { display: grid; justify-items: end; gap: 2px; font-size: var(--fs-xs); color: var(--slate); }
.pm span:first-child { font-weight: 650; color: var(--ink-2); }
@media (hover: hover) { .posts a:hover h3 { color: var(--cobalt); } }
.posts a:active h3 { color: var(--cobalt); }

.b-empty { margin-top: 28px; padding: 40px 4px 8px; border-top: 1px solid var(--line); }
.b-empty p { font-size: var(--fs-m); color: var(--ink-2); }
.b-empty .btn { margin-top: 18px; height: 44px; padding: 0 18px; font-size: var(--fs-s); border: 0; }

.b-cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px clamp(40px, 6vw, 96px); align-items: center; }
.b-cta .lede { margin-top: 12px; }
.b-act { display: grid; gap: 10px; justify-items: start; }
.b-act .fine { font-size: var(--fs-xs); color: var(--slate); }
.b-act .link { margin-top: 10px; font-size: var(--fs-s); }

@media (max-width: 860px) {
    .idx-top { scroll-margin-top: 16px; }
    .idx-tools { width: 100%; }
    .find { width: 100%; }
    .b-act .link { padding-block: 9px; margin-top: 1px; margin-bottom: -9px; }   /* 누르는 자리 44px, 자리는 그대로 */
    .posts a { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "pt pt" "tm pm"; gap: 10px 12px; padding: 22px 0; }
    .posts time { grid-area: tm; font-size: var(--fs-xs); }
    .pt { grid-area: pt; }
    .pm { grid-area: pm; display: flex; gap: 12px; }
    .f-q { font-size: clamp(21px, 5.6vw, 28px); line-height: 1.55; }
    .b-cta { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .f-go { margin-left: 0; width: 100%; }
    .cats button { padding: 0 13px; }
    .b-act, .b-act .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .find input { transition: none; } }
