/* 블로그 목록 — /blog(blog.html)와 피드 소식 탭(feed.html, 앱)이 같이 쓴다. 그리는 쪽은 blog.js renderBlogList.
   읽는 화면(Read). 플랫 원칙(2026-09-11): 카드 면·그림자 없이 배경 위 사진 + 글 + 헤어라인.
   면은 탭 타깃인 칩·이벤트 카드에만. 색은 tokengo.css 토큰만 쓴다. 글 상세(.bp) 스타일은 blog.html 안에 있다. */
.bl { max-width: 1080px; margin: 0 auto; padding: 8px 20px 72px; }
.bl-head { margin: 20px 0 18px; }
.bl-head h1 { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -.025em; }
.bl-head p { margin: 8px 0 0; max-width: 40em; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink-2); }
@media (min-width: 900px) { .bl-head { margin: 40px 0 24px; } .bl-head h1 { font-size: 40px; } }

.bl .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px 8px; padding: 0 20px 2px; }
.bl .chips::-webkit-scrollbar { display: none; }
.bl .chips button { flex: none; white-space: nowrap; min-height: 36px; padding: 0 14px; font-size: var(--fs-sub); }
.bl .chips button small { margin-left: 4px; font-size: var(--fs-chip); font-weight: 600; opacity: .7; font-variant-numeric: tabular-nums; }
.bl .chips button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* 맨 앞 글 — 크게. 데스크톱은 사진 | 글 두 칸 */
.bl-lead { display: grid; gap: 14px; padding: 18px 0 26px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
@media (min-width: 760px) { .bl-lead { grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; padding: 24px 0 36px; } }
.bl-lead h2 { margin: 0; font-size: 22px; line-height: 1.35; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
@media (min-width: 900px) { .bl-lead h2 { font-size: 28px; line-height: 1.3; } }
.bl-lead p.sum { margin: 10px 0 0; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.bl-img { position: relative; display: block; overflow: hidden; border-radius: 12px; background: var(--sunken); aspect-ratio: 16 / 9; }
.bl-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
a:hover .bl-img img { transform: scale(1.025); }
@media (prefers-reduced-motion: reduce) { a:hover .bl-img img { transform: none; } }

.bl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 10px;
  font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--muted); }
.bl-meta .tg { font-weight: 700; color: var(--ink-2); }
.bl-meta > * + *::before { content: "·"; margin-right: 8px; color: var(--muted); }
.bl-meta time { font-variant-numeric: tabular-nums; }

/* 나머지 — 모바일은 글 | 썸네일 한 줄, 넓으면 세 칸 격자. 줄 사이는 헤어라인 */
.bl-list { list-style: none; margin: 0; padding: 0; }
.bl-row { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.bl-row .bl-img { order: 2; aspect-ratio: 16 / 9; border-radius: 10px; }
.bl-row h3 { margin: 0; font-size: var(--fs-row); line-height: 1.45; font-weight: 700; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bl-row p.sum { display: none; }
.bl-row .bl-meta { margin-top: 8px; }
@media (min-width: 760px) {
  .bl-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; row-gap: 8px; padding-top: 18px; }
  .bl-row { grid-template-columns: 1fr; gap: 12px; padding: 14px 0 22px; }
  .bl-row .bl-img { order: 0; aspect-ratio: 16 / 9; border-radius: 12px; }
  .bl-row h3 { font-size: 17px; -webkit-line-clamp: 2; }
  .bl-row p.sum { display: -webkit-box; margin: 6px 0 0; font-size: var(--fs-sub); line-height: var(--lh-sub); color: var(--ink-2);
    -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (min-width: 1000px) { .bl-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bl-row:hover h3, .bl-lead:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bl-row:focus-visible, .bl-lead:focus-visible, .bl-rel:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }

.bl-state { padding: 56px 0; text-align: center; color: var(--muted); font-size: var(--fs-sub); line-height: var(--lh-sub); }
.bl-state .btn-ev { width: auto; padding: 0 22px; height: 44px; margin-top: 14px; }

/* 「fnny 로 운영한 행사」 — 설명은 배경 위 글자, 이벤트 카드만 면(탭 타깃) */
.bl-series { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
#bl-body > .bl-series { margin: 0; padding: 18px 0 22px; border-top: 0; border-bottom: 1px solid var(--line); }
.bl-series p { margin: 0; max-width: 40em; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink-2); text-wrap: pretty; }
.bl-series ul { list-style: none; display: grid; gap: 8px; margin: 14px 0 0; padding: 0; }
@media (min-width: 760px) { .bl-series ul { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } }
.bl-ev { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  min-height: 76px; padding: 10px 12px 10px 10px; border-radius: 14px; background: var(--sunken); color: inherit; text-decoration: none; }
.bl-ev img, .bl-ev > span { display: block; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--line); }
.bl-ev b { display: block; font-size: var(--fs-row); line-height: 1.35; font-weight: 700; overflow-wrap: anywhere; }
.bl-ev div span { display: block; margin-top: 3px; font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--muted); font-variant-numeric: tabular-nums; }
.bl-ev svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bl-ev:hover { background: color-mix(in srgb, var(--ink) 7%, var(--sunken)); }
.bl-ev:hover b { text-decoration: underline; text-underline-offset: 3px; }
.bl-ev:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
