@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

.ChildMaternityStudy { background-color: #FFFFFF; color: #333333; font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; margin: 0; padding: 0; }

/* Page Container (Preview Wrapper or Standalone) */
/* Page Container (Preview Wrapper or Standalone) */
.ChildMaternityStudy .page-container { max-width: 800px; margin: 0 auto; padding: 40px; background-color: #FFFFFF; box-sizing: border-box; }

/* Typography */
.ChildMaternityStudy h1 { font-size: 32px; color: #0284C7; /* Darker Sky Blue for better readability */ border-bottom: 3px solid #0EA5E9; padding-bottom: 15px; margin-top: 40px; margin-bottom: 30px; text-align: center; font-weight: 800; }

/* Part Title Badge (Capsule Style) */
.ChildMaternityStudy .part-title-wrapper { text-align: center; }
.ChildMaternityStudy .part-title-badge { font-size: 36px; color: #fff; background-color: #0EA5E9; padding: 15px 40px; border-radius: 50px; display: inline-block; margin: 30px 0 10px 0; border: none; box-shadow: 0 4px 6px rgba(14, 165, 233, 0.3); font-weight: 800; }
.ChildMaternityStudy h2 { font-size: 24px; color: #DB2777; /* Pink 600 */ margin-top: 50px; margin-bottom: 20px; padding-left: 15px; border-left: 5px solid #EC4899; /* Pink 500 */ font-weight: 700; }
.ChildMaternityStudy h3 { font-size: 20px; color: #333333; margin-top: 30px; margin-bottom: 15px; font-weight: 700; }
.ChildMaternityStudy p { font-size: 17px; margin-bottom: 15px; word-break: keep-all; text-align: justify; }
.ChildMaternityStudy strong { color: #0284C7; font-weight: 700; }

/* Chapter Intro - Sky Blue Theme */
.ChildMaternityStudy .chapter-intro { padding: 20px 25px; margin: 40px 0; border-left: 5px solid #0EA5E9; background-color: #E0F2FE; }
.ChildMaternityStudy .chapter-intro p { margin: 0; color: #0369A1; font-size: 18px; line-height: 1.8; font-weight: 600; }

/* Chapter Outro - Pink Theme */
.ChildMaternityStudy .chapter-outro { padding: 20px 25px; margin: 80px 0 40px 0; border-left: 5px solid #EC4899; background-color: #FDF2F8; }
.ChildMaternityStudy .chapter-outro p { margin: 0; color: #9D174D; font-size: 18px; line-height: 1.8; font-weight: 600; }

/* Tables */
.ChildMaternityStudy table { width: 100%; max-width: 100%; border-collapse: collapse; margin: 30px 0; font-size: 16px; background-color: white; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ChildMaternityStudy thead, .ChildMaternityStudy tbody { display: table; width: 100%; min-width: 500px; }
.ChildMaternityStudy thead th { background-color: #E0F2FE; /* Light Sky Blue */ color: #0369A1; font-weight: 700; padding: 12px 10px; border-top: 2px solid #0EA5E9; border-bottom: 2px solid #0EA5E9; text-align: center; white-space: nowrap; }
.ChildMaternityStudy tbody td { padding: 12px 15px; border-bottom: 1px solid #E0F2FE; vertical-align: top; color: #334155; font-weight: 400; font-size: 16px; }
.ChildMaternityStudy tbody tr:last-child td { border-bottom: 2px solid #E0F2FE; }
.ChildMaternityStudy .highlight { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, #E0F2FE 50%); color: #0C4A6E; font-weight: 600; }

/* Provision/Key Point List Items */
.ChildMaternityStudy .key-points { margin: 20px 0; padding-left: 20px; list-style: none; }
.ChildMaternityStudy .key-point-item { margin-bottom: 10px; position: relative; padding-left: 15px; }
.ChildMaternityStudy .key-point-item::before { content: "•"; color: #0EA5E9; font-weight: bold; font-size: 20px; position: absolute; left: -5px; top: -2px; }

/* Utility Classes */
.ChildMaternityStudy .text-sky { color: #0EA5E9 !important; }
.ChildMaternityStudy .text-pink { color: #DB2777 !important; }
.ChildMaternityStudy .no-bullet { list-style: none !important; }
.ChildMaternityStudy .provision-box { margin-bottom: 40px; }
.ChildMaternityStudy .right-note { text-align: right; font-size: 14px; color: #DB2777; font-weight: bold; margin-top: -20px; margin-bottom: 10px; }
.ChildMaternityStudy .reference-note { margin: 5px 0 0 0; color: #DB2777; font-size: 14px; }

/* ?? Images ?? */
.ChildMaternityStudy img { max-width: 100%; height: auto; border-radius: 6px; margin: 10px 0; }
.ChildMaternityStudy img.full-width { width: 100%; border-radius: 8px; }
.ChildMaternityStudy .image-caption { text-align: center; font-size: 0.85em; color: #888; margin-top: 4px; }

/* ?? Table Container (scroll wrapper) ?? */
.ChildMaternityStudy .table-container { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; }
.ChildMaternityStudy .table-container table { width: 100%; min-width: 500px; }

/* Responsive */

@media (max-width: 600px) {
  .ChildMaternityStudy .page-container { padding: 20px; }
  .ChildMaternityStudy h1 { font-size: 26px; }
  .ChildMaternityStudy table { font-size: 14px; }
  .ChildMaternityStudy thead th, .ChildMaternityStudy tbody td { padding: 8px; }
}
