/* 시술 상세 SSR 페이지 (성형·모발·여성 공용)
   템플릿: templates/medical-item-detail.html */

.medical-item-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* 경로 표시 */
.medical-item-detail .breadcrumb {
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}

.medical-item-detail .breadcrumb a {
  color: #666;
  text-decoration: none;
}

.medical-item-detail .breadcrumb a:hover {
  color: #111;
}

.medical-item-detail .breadcrumb .current {
  color: #333;
  font-weight: 600;
}

/* 시술명·설명 */
.medical-item-detail h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

/* 대표 이미지 — 시술 배너는 세로가 긴 경우가 많아 비율을 강제하지 않는다(잘림 방지) */
.medical-item-detail figure {
  margin: 0 0 30px;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
}

.medical-item-detail figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* 시술 상세 본문 (Quill 리치 HTML) */
.medical-item-detail .section-body {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 30px;
  padding: 0;                /* ql-editor 기본 패딩 제거 */
}

.medical-item-detail .section-body img {
  max-width: 100%;
  height: auto;
}

/* 하단 이동 버튼 */
.medical-item-detail .cta-area {
  text-align: center;
  margin-top: 40px;
  padding: 30px 0;
  border-top: 1px solid #eee;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.medical-item-detail .cta-btn {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .15s;
}

.medical-item-detail .cta-btn:hover {
  opacity: .85;
}

.medical-item-detail .cta-btn.sub {
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
}

@media (max-width: 768px) {
  .medical-item-detail {
    padding: 20px 16px;
  }

  .medical-item-detail h1 {
    font-size: 24px;
  }

  .medical-item-detail .cta-btn {
    width: 100%;
  }
}
