/* Hydrocare Posts Custom CSS - 청아 배관케어 */
/* 메인 페이지 디자인과 통일된 워드프레스 글 스타일 */

:root {
  --hc-primary: #1a5276;
  --hc-secondary: #2980b9;
  --hc-accent: #e74c3c;
  --hc-dark: #2c3e50;
  --hc-gray: #7f8c8d;
  --hc-light: #f8f9fa;
  --hc-border: #e9ecef;
}

/* 글로벌 타이포그래피 */
.hc-post-content {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  color: #2c3e50;
  line-height: 1.85;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 헤더 영역 */
.hc-post-header {
  background: linear-gradient(135deg, var(--hc-primary), var(--hc-dark));
  color: #fff;
  padding: 50px 20px 40px;
  text-align: center;
  margin-bottom: 40px;
}

.hc-post-header h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.hc-post-header .post-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* 특성화 이미지 */
.hc-featured-img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* 본문 스타일 */
.hc-post-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--hc-primary);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--hc-border);
}

.hc-post-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--hc-dark);
  margin: 30px 0 12px;
}

.hc-post-content p {
  font-size: 15px;
  margin-bottom: 18px;
  color: #444;
}

.hc-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
}

/* 정보 박스 */
.hc-info-box {
  background: var(--hc-light);
  border-left: 4px solid var(--hc-secondary);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  font-size: 14px;
}

.hc-info-box strong {
  display: block;
  color: var(--hc-primary);
  margin-bottom: 8px;
  font-size: 15px;
}

/* 체크리스트 */
.hc-checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.hc-checklist li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.hc-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 10px;
  background: var(--hc-secondary);
  border-radius: 50%;
}

/* 비용 테이블 */
.hc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.hc-table th {
  background: var(--hc-primary);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

.hc-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--hc-border);
}

.hc-table tr:nth-child(even) td {
  background: var(--hc-light);
}

/* 경고 박스 */
.hc-warning-box {
  background: #fdf2f2;
  border-left: 4px solid var(--hc-accent);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  font-size: 14px;
}

.hc-warning-box strong {
  color: var(--hc-accent);
  display: block;
  margin-bottom: 6px;
}

/* 단계별 안내 */
.hc-steps {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.hc-steps li {
  counter-increment: step-counter;
  padding: 16px 16px 16px 56px;
  position: relative;
  margin-bottom: 12px;
  background: var(--hc-light);
  border-radius: 8px;
  font-size: 14px;
}

.hc-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 28px;
  height: 28px;
  background: var(--hc-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

/* CTA 박스 */
.hc-cta-box {
  background: linear-gradient(135deg, var(--hc-primary), var(--hc-dark));
  color: #fff;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  margin: 40px 0;
}

.hc-cta-box h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 10px;
}

.hc-cta-box p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.hc-cta-box .cta-phone {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  display: block;
  margin: 12px 0;
}

.hc-cta-box a {
  display: inline-block;
  background: var(--hc-accent);
  color: #fff;
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 700;
  margin-top: 8px;
  text-decoration: none;
  transition: transform 0.2s;
}

.hc-cta-box a:hover {
  transform: translateY(-2px);
}

/* 관련 글 */
.hc-related {
  margin: 40px 0;
  padding: 30px;
  background: var(--hc-light);
  border-radius: 12px;
}

.hc-related h3 {
  font-size: 18px;
  color: var(--hc-primary);
  margin-bottom: 16px;
}

.hc-related ul {
  list-style: none;
  padding: 0;
}

.hc-related ul li {
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.hc-related ul li a {
  color: var(--hc-secondary);
  font-size: 14px;
  text-decoration: none;
}

.hc-related ul li a:hover {
  text-decoration: underline;
}

/* 반응형 */
@media (max-width: 768px) {
  .hc-post-header h1 { font-size: 22px; }
  .hc-post-content h2 { font-size: 20px; }
  .hc-post-content h3 { font-size: 17px; }
  .hc-cta-box .cta-phone { font-size: 22px; }
  .hc-table { font-size: 13px; }
  .hc-table th, .hc-table td { padding: 8px 10px; }
}
