/* ConnectBoard — TOP5 글 본문 (발행 HTML + 테마 공유) */

.cb-single,
.cb-archive {
  max-width: var(--cb-max, 1080px);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.cb-article__head { margin-bottom: 1.75rem; }

.cb-article__cat a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cb-green-deep, #009655);
}

.cb-article__title {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.5rem;
}

.cb-article__date {
  font-size: 0.85rem;
  color: var(--cb-muted, #5b6470);
}

.cb-article__body,
.entry-content {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--cb-ink, #111827);
}

/* 대가성 */
.bc-disclaimer {
  background: #f0fdf6;
  border: 1px solid rgba(0, 181, 100, 0.25);
  border-left: 4px solid var(--cb-green, #00b564);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  color: var(--cb-muted, #5b6470);
}

.bc-disclaimer p { margin: 0.35rem 0; }

/* 비교표 */
.bc-compare-table,
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.92rem;
}

.bc-compare-table th,
.bc-compare-table td,
.entry-content table th,
.entry-content table td {
  border: 1px solid var(--cb-line, rgba(17, 24, 39, 0.1));
  padding: 0.55rem 0.65rem;
  text-align: left;
}

.bc-compare-table th,
.entry-content table th {
  background: #ecfdf5;
  font-weight: 700;
}

/* 상품 카드 */
.bc-product-card {
  background: #fff;
  border: 1px solid var(--cb-line, rgba(17, 24, 39, 0.1));
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  margin: 1.5rem 0;
  box-shadow: 0 8px 24px rgba(0, 150, 85, 0.06);
}

.bc-product-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.bc-product-card__head h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  flex: 1;
}

.bc-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: var(--cb-muted, #5b6470);
}

.bc-rank--1 { background: linear-gradient(135deg, #ffb347, #ff6b5a); }
.bc-rank--2 { background: #94a3b8; }
.bc-rank--3 { background: #b08968; }

.bc-product-card__media img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.bc-product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
}

.bc-stars .bc-star--on { color: #fbbf24; }
.bc-stars .bc-star--half { color: #fbbf24; opacity: 0.65; }
.bc-stars em { font-style: normal; font-weight: 700; margin-left: 0.25rem; }

.bc-reviews,
.bc-score {
  background: #f1f5f9;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
}

.bc-score { background: #ecfdf5; color: var(--cb-green-deep, #009655); }

.bc-btn {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.bc-btn--primary {
  background: var(--cb-green, #00b564);
  color: #fff !important;
}

.bc-btn--primary:hover {
  background: var(--cb-green-deep, #009655);
}

.bc-cta { margin-top: 1rem; }

.cb-archive__head h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cb-archive__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.cb-archive__list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--cb-line, rgba(17, 24, 39, 0.1));
  border-radius: 12px;
}

.cb-archive__list time {
  font-size: 0.82rem;
  color: var(--cb-muted, #5b6470);
}

@media (max-width: 640px) {
  .bc-product-card { padding: 1rem; }
  .bc-product-card__head { flex-direction: column; }
}
