/* =====================================================================
 *  키오런 스토리(대외활동·소식) — 목록/상세 공용 스타일
 *  content.css 를 먼저 불러온 뒤 이 파일을 덧입힙니다.
 * =================================================================== */

/* ── 목록 ── */
main.story-list { max-width: 900px; margin: 0 auto; padding: 30px 24px 70px; }
.story-cats { display: flex; gap: 8px; margin: 26px 0 6px; flex-wrap: wrap; }
.story-cats button {
  border: 1px solid var(--line); background: #fff; color: #48536b;
  font-family: inherit; font-size: 14.5px; font-weight: 700;
  padding: 8px 17px; border-radius: 999px; cursor: pointer;
}
.story-cats button.on { background: var(--brand); color: #fff; border-color: var(--brand); }

.post-card {
  display: flex; gap: 20px; align-items: flex-start;
  border-bottom: 1px solid var(--line); padding: 24px 2px;
}
.post-card:first-of-type { border-top: 1px solid var(--line); }
.post-card__thumb {
  flex: 0 0 148px; height: 104px; border-radius: 12px; overflow: hidden;
  background: #eef3fc; display: flex; align-items: center; justify-content: center; font-size: 38px;
}
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { flex: 1; min-width: 0; }
.post-card__top { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 6px; }
.cat {
  font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px;
  background: #eaf1ff; color: var(--brand-deep);
}
.cat.edu { background: #e7f6ec; color: #1c7a41; }
.cat.mou { background: #fff3e0; color: #9a6212; }
.cat.press { background: #f3ecff; color: #5b3bbd; }
.post-card__date { font-size: 13.5px; color: var(--muted); font-weight: 700; }
.post-card h2 { font-size: 21px; font-weight: 800; color: var(--ink); margin: 0 0 6px; line-height: 1.4; letter-spacing: -.3px; }
.post-card h2 a { color: inherit; text-decoration: none; }
.post-card h2 a:hover { color: var(--brand); }
.post-card p { font-size: 15.5px; color: var(--muted); margin: 0 0 9px; line-height: 1.65; }
.post-card .facts { display: flex; flex-wrap: wrap; gap: 6px; }
.post-card .facts span {
  font-size: 12.5px; font-weight: 700; color: #4a5670;
  background: #f4f7fc; border: 1px solid var(--line2); padding: 3px 9px; border-radius: 8px;
}
.post-card .facts span.hl { background: #fff8ec; border-color: #ffe2ad; color: #8a6217; }
@media (max-width: 600px) {
  .post-card { flex-direction: column; gap: 12px; }
  .post-card__thumb { flex: 0 0 auto; width: 100%; height: 160px; }
  .post-card h2 { font-size: 19px; }
}

.story-empty {
  border: 1px dashed #cfdcf0; border-radius: 16px; background: #fbfdff;
  padding: 34px 22px; text-align: center; color: var(--muted); font-size: 15.5px; margin-top: 22px;
}
.story-empty b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }

/* ── 상세 ── */
.article .post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 16px 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.article .cover { margin: 6px 0 30px; }
.article .cover img { width: 100%; border-radius: 14px; display: block; }
.article .factbox {
  background: #f4f8ff; border: 1px solid #dbe7ff; border-radius: 12px;
  padding: 6px 20px; margin: 0 0 30px;
}
.article .factbox dl { display: grid; grid-template-columns: 96px 1fr; gap: 0; margin: 0; }
.article .factbox dt {
  font-size: 14px; font-weight: 800; color: var(--brand-deep);
  padding: 9px 0; border-bottom: 1px solid #e3ecfd;
}
.article .factbox dd {
  font-size: 15px; color: #33415c; margin: 0; padding: 9px 0;
  border-bottom: 1px solid #e3ecfd;
}
.article .factbox dt:last-of-type, .article .factbox dd:last-of-type { border-bottom: 0; }
@media (max-width: 480px) { .article .factbox dl { grid-template-columns: 78px 1fr; } }

.article blockquote {
  margin: 26px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent);
  font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.6;
}
.article figure { margin: 26px 0; }
.article figure img { width: 100%; border-radius: 14px; display: block; }
.article figure figcaption { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 9px; }
.tag-row { margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 7px; }
.tag-row span {
  font-size: 13px; font-weight: 700; color: #4a5670;
  background: #f4f7fc; border: 1px solid var(--line2); padding: 5px 11px; border-radius: 999px;
}
