/* ===================================
   소액결제 업체 - 블로그 상세 페이지 CSS
   (style.css 변수 테마 상속)
   =================================== */

/* 브레드크럼 */
.breadcrumb {
  background: var(--bg-light);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.breadcrumb-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-light);
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--text-dark); font-weight: 600; }

/* 포스트 헤더 (히어로) */
.post-hero {
  background: linear-gradient(135deg, #0d8a6a 0%, #086149 55%, #053b2c 100%);
  color: #fff;
  padding: 56px 20px 64px;
  position: relative;
  overflow: hidden;
}

.post-hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(244,162,36,0.16) 0%, transparent 70%);
  border-radius: 50%;
}

.post-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.post-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--secondary);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.post-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  opacity: 0.9;
  flex-wrap: wrap;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 포스트 본문 컨테이너 */
.post-wrap {
  max-width: 820px;
  margin: -36px auto 0;
  padding: 0 20px 70px;
  position: relative;
  z-index: 2;
}

.post-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  margin-bottom: 36px;
  border: 1px solid var(--border);
  background: #fff;
}

.post-figure img {
  width: 100%;
  display: block;
}

.post-body {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.post-lead {
  font-size: 18px;
  line-height: 1.85;
  color: var(--text-dark);
  font-weight: 500;
  padding: 20px 24px;
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 32px;
}

/* 본문 타이포 (style.css의 article-* 재사용 + 보강) */
.post-body h2 {
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 800;
  color: var(--text-dark);
  margin: 44px 0 18px;
  padding-left: 16px;
  border-left: 5px solid var(--primary);
  line-height: 1.4;
  letter-spacing: -0.3px;
}

.post-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 30px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-body h3::before {
  content: '●';
  font-size: 10px;
  color: var(--secondary);
}

.post-body p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.9;
  margin-bottom: 18px;
}

.post-body p strong { color: var(--text-dark); font-weight: 700; }

.post-body ul.post-list {
  margin: 16px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-body ul.post-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
  padding: 11px 15px;
  background: var(--bg-light);
  border-radius: 8px;
}

.post-body ul.post-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.post-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 15px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-table th {
  background: var(--primary);
  color: #fff;
  padding: 13px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
}

.post-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-gray);
}

.post-table tr:nth-child(even) td { background: var(--bg-light); }
.post-table tr:last-child td { border-bottom: none; }

.post-callout {
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  background: #fff9ef;
  border: 1px solid #fbe1b0;
}

.post-callout.blue { background: var(--primary-light); border-color: #b6e3d6; }
.post-callout.warning { background: #fffbeb; border-color: #fde68a; }

.post-callout-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
}

.post-callout p { font-size: 15px; color: var(--text-gray); line-height: 1.7; margin: 0; }
.post-callout .post-callout-title i { color: var(--secondary); }
.post-callout.blue .post-callout-title i { color: var(--primary); }
.post-callout.warning .post-callout-title i { color: #d97706; }

/* 인라인 상담 CTA */
.post-inline-cta {
  margin-top: 40px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0d8a6a, #053b2c);
  color: #fff;
  text-align: center;
}

.post-inline-cta h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.post-inline-cta h3::before { content: none; }

.post-inline-cta p { color: rgba(255,255,255,0.9); margin-bottom: 22px; font-size: 15px; }

.post-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.post-cta-btns a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.25s;
}

.post-cta-call { background: var(--secondary); color: #fff; box-shadow: 0 4px 18px rgba(244,162,36,0.4); }
.post-cta-call:hover { background: var(--secondary-dark); transform: translateY(-2px); }
.post-cta-sms { background: rgba(255,255,255,0.15); color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.post-cta-sms:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }

/* 관련 글 */
.related-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 70px;
}

.related-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
  text-align: center;
}

.related-title span { color: var(--primary); }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.related-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.related-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }

.related-card .related-card-body { padding: 16px; }

.related-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .post-body { padding: 26px 20px; }
  .post-lead { font-size: 16px; padding: 16px 18px; }
  .related-grid { grid-template-columns: 1fr; }
}
