/* 글 상세(posts/*.html) — 포인트 컬러·pill·링크 commons.css 변수와 통일 */

.post .post__article {
  max-width: 640px;
}

.post__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}

.post__breadcrumb a {
  color: var(--color-muted);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 2px;
  transition: color var(--transition-ui), text-decoration-color var(--transition-ui);
}

.post__breadcrumb a:hover {
  color: var(--color-point);
  text-decoration-color: var(--color-point-border);
}

.post__crumb-sep {
  opacity: 0.5;
}

.post__head {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.post__meta {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

/* 카테고리 pill (목록 카드와 동일 톤) */
.post__cat {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-point);
  background: var(--color-point-soft);
  border-radius: 999px;
}

.post__title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--color-text);
}

.post__lead {
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  line-height: 1.72;
  color: var(--color-body);
}

.post__lead strong {
  font-weight: 700;
  color: var(--color-point-hover);
}

.post__section {
  margin-bottom: var(--space-lg);
}

.post__section p {
  margin-bottom: var(--space-md);
  font-size: 0.98rem;
  color: var(--color-body);
  line-height: 1.72;
}

.post__section p:last-child {
  margin-bottom: 0;
}

.post__h2 {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
  margin-top: var(--space-md);
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.post__section:first-of-type .post__h2 {
  margin-top: 0;
}

.post__h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  margin-top: var(--space-md);
  color: var(--color-text);
}

.post__list {
  margin: var(--space-sm) 0 var(--space-md);
  padding-left: 1.15rem;
  list-style: disc;
}

.post__list li {
  margin-bottom: var(--space-xs);
  color: var(--color-body);
}

.post__list--plain {
  list-style: none;
  padding-left: 0;
}

.post__list--plain li {
  margin-bottom: var(--space-sm);
  padding-left: 0;
}

.post__ol {
  margin: var(--space-sm) 0 var(--space-md);
  padding-left: 1.25rem;
  list-style: decimal;
}

.post__ol li {
  margin-bottom: var(--space-xs);
  color: var(--color-body);
}

.post__check {
  margin: var(--space-sm) 0 var(--space-md);
  padding-left: 0;
}

.post__check li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: var(--space-sm);
  list-style: none;
}

.post__check li::before {
  content: "☐";
  position: absolute;
  left: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.post__quote {
  margin: var(--space-md) 0;
  padding: var(--space-md);
  background: var(--color-point-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-point);
}

.post__quote p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

.post__foot {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.post__closing {
  font-size: 0.98rem;
  margin-bottom: var(--space-lg);
  line-height: 1.72;
  color: var(--color-body);
}

.post__related-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.post__related-list {
  padding-left: 1.15rem;
  list-style: disc;
}

.post__related-list a {
  color: #ff8a63;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 138, 99, 0.72);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease, text-decoration-thickness 0.2s ease;
}

.post__related-list a:hover {
  color: #ff9a79;
  text-decoration-color: #ff9a79;
  text-decoration-thickness: 2px;
}

.post__section a {
  color: #ff9a79;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 154, 121, 0.82);
  text-decoration-thickness: 1.8px;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease, text-decoration-thickness 0.2s ease, text-shadow 0.2s ease;
}

.post__section a:hover {
  color: #ffaf93;
  text-decoration-color: #ffaf93;
  text-decoration-thickness: 2.2px;
  text-shadow: 0 0 10px rgba(255, 159, 124, 0.2);
}

.post__section a:focus-visible,
.post__related-list a:focus-visible {
  outline: 2px solid rgba(255, 138, 99, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
  text-decoration-color: #ff9a79;
  text-decoration-thickness: 2px;
}
