.NclexKeyPoint { /* 변수 정의 - 스코프 제한 */ --nclex-primary-color: #2c73d2; --nclex-secondary-color: #f6f9fe; --nclex-accent-color: #e91e63; --nclex-text-color: #333; --nclex-light-text: #666; --nclex-border-color: #e0e0e0; --nclex-highlight-bg: #f8f9fa; --nclex-focus-color: #c6dcff; --nclex-success-color: #4CAF50; --nclex-warning-color: #FFC107; /* 기본 컨테이너 스타일 */ background-color: #f5f7fa; margin: 0; padding: 0; color: var(--nclex-text-color); line-height: 1.6; max-width: 1200px; margin: 0 auto; padding: 30px; background-color: #fff; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); border-radius: 12px; }

/* 헤더 스타일 */
.NclexKeyPoint .article-header { text-align: center; margin-bottom: 40px; padding: 30px 20px; background: linear-gradient(135deg, var(--nclex-primary-color), #1a5fb4); border-radius: 10px; color: white; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
.NclexKeyPoint .article-title { font-size: 2.5rem; font-weight: 700; margin: 0; padding: 0; letter-spacing: -0.5px; }

/* 섹션 스타일 */
.NclexKeyPoint .content-section { margin-bottom: 50px; padding: 25px; background-color: white; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }
.NclexKeyPoint .section-title { font-size: 1.8rem; color: var(--nclex-primary-color); padding-bottom: 15px; border-bottom: 2px solid var(--nclex-border-color); margin-top: 0; position: relative; font-weight: 600; }
.NclexKeyPoint .section-title::after { content: ""; position: absolute; width: 100px; height: 3px; background-color: var(--nclex-primary-color); bottom: -2px; left: 0; }

/* 토픽 컨테이너 스타일 */
.NclexKeyPoint .topic-container { margin: 30px 0; padding: 25px; background-color: var(--nclex-secondary-color); border-radius: 10px; position: relative; transition: transform 0.2s, box-shadow 0.2s; }
.NclexKeyPoint .topic-container:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); }
.NclexKeyPoint .topic-title { font-size: 1.5rem; color: var(--nclex-primary-color); margin-top: 0; margin-bottom: 20px; font-weight: 600; border-bottom: 1px dashed var(--nclex-border-color); padding-bottom: 10px; }

/* 리스트 스타일 */
.NclexKeyPoint .topic-list { padding-left: 0; list-style-type: none; }
.NclexKeyPoint .topic-list li { margin-bottom: 20px; padding-left: 30px; position: relative; line-height: 1.7; }
.NclexKeyPoint .topic-list li::before { content: "→"; color: var(--nclex-primary-color); font-weight: bold; position: absolute; left: 0; top: 0; }

/* 핵심 정리 스타일 */
.NclexKeyPoint .key-takeaways { background-color: #f0f7ff; padding: 20px 25px; margin-top: 25px; border-radius: 10px; border: 1px solid #d1e3ff; position: relative; }
.NclexKeyPoint .key-takeaways::before { content: "✓"; position: absolute; top: -15px; left: 20px; background-color: var(--nclex-primary-color); color: white; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.NclexKeyPoint .key-takeaways h4 { color: var(--nclex-primary-color); margin-top: 0; font-size: 1.2rem; margin-bottom: 15px; }
.NclexKeyPoint .key-takeaways ul { margin-bottom: 0; padding-left: 25px; }
.NclexKeyPoint .key-takeaways li { margin-bottom: 8px; position: relative; padding-left: 15px; }
.NclexKeyPoint .key-takeaways li::before { content: "•"; color: var(--nclex-primary-color); position: absolute; left: -5px; font-weight: bold; font-size: 1.2em; }

/* 웹 리소스 스타일 */
.NclexKeyPoint .web-resources { padding: 25px; background-color: white; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); margin-bottom: 40px; }
.NclexKeyPoint .web-resources h2 { color: var(--nclex-primary-color); margin-top: 0; padding-bottom: 15px; border-bottom: 2px solid var(--nclex-border-color); margin-bottom: 25px; position: relative; font-weight: 600; font-size: 1.8rem; }
.NclexKeyPoint .web-resources h2::after { content: ""; position: absolute; width: 100px; height: 3px; background-color: var(--nclex-primary-color); bottom: -2px; left: 0; }
.NclexKeyPoint .link-list { list-style-type: none; padding-left: 0; }
.NclexKeyPoint .link-list li { margin-bottom: 25px; padding: 20px; background-color: var(--nclex-secondary-color); border-radius: 8px; transition: transform 0.2s; }
.NclexKeyPoint .link-list li:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); }
.NclexKeyPoint .link-list a { color: var(--nclex-primary-color); font-weight: 600; font-size: 1.2rem; text-decoration: none; display: block; margin-bottom: 10px; transition: color 0.2s; }
.NclexKeyPoint .link-list a:hover { color: #1a5fb4; text-decoration: underline; }
.NclexKeyPoint .link-description { margin: 10px 0 0 0; color: var(--nclex-light-text); font-size: 0.95rem; line-height: 1.5; }

/* 푸터 스타일 */
.NclexKeyPoint .article-footer { background: linear-gradient(135deg, #c6dcff, #e6f0ff); padding: 30px; text-align: center; border-radius: 10px; margin-top: 40px; box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05); }
.NclexKeyPoint .reminder-text { font-size: 2rem; color: var(--nclex-primary-color); max-width: 800px; margin: 0 auto; font-weight: 500; padding: 20px; }

/* 추가적인 유틸리티 클래스 */
.NclexKeyPoint .nclex-highlight { background-color: #fff9c4; padding: 2px 5px; border-radius: 3px; }
.NclexKeyPoint .nclex-important { color: var(--nclex-accent-color); font-weight: bold; }
.NclexKeyPoint .nclex-note { border-left: 3px solid var(--nclex-warning-color); padding-left: 15px; font-style: italic; margin: 15px 0; }

/* 새로운 강조 요소 스타일 */
.NclexKeyPoint .clinical-alert { color: #e91e63; font-weight: bold; padding: 2px 5px; border-radius: 3px; background-color: rgba(233, 30, 99, 0.08); border-left: 3px solid #e91e63; padding-left: 8px; }
.NclexKeyPoint .definition { border-bottom: 1px dotted var(--nclex-primary-color); position: relative; cursor: help; font-weight: 500; }
.NclexKeyPoint .important-point { font-weight: 600; position: relative; }
.NclexKeyPoint .important-point::before { content: "★"; color: var(--nclex-primary-color); margin-right: 5px; }

/* 메모리 박스 */
.NclexKeyPoint .memory-box { background-color: #e8f5e9; border: 1px dashed #4CAF50; border-radius: 8px; padding: 15px 20px; margin: 20px 0; position: relative; }
.NclexKeyPoint .memory-box::before { content: "Memory Aid"; position: absolute; top: -12px; left: 15px; background-color: white; padding: 0 10px; font-size: 0.9rem; font-weight: 600; color: #4CAF50; }

/* 비교 테이블 */
.NclexKeyPoint .comparison-table { margin: 25px 0; overflow-x: auto; }
.NclexKeyPoint .comparison-table table { width: 100%; border-collapse: collapse; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.NclexKeyPoint .comparison-table th { background-color: var(--nclex-primary-color); color: white; text-align: left; padding: 12px 15px; font-weight: 600; }
.NclexKeyPoint .comparison-table td { padding: 12px 15px; border: 1px solid #e0e0e0; }
.NclexKeyPoint .comparison-table tr:nth-child(even) { background-color: #f8f9fa; }

/* 연습 문제 */
.NclexKeyPoint .practice-question { background-color: #f3f4f6; padding: 20px; margin: 25px 0; border-radius: 10px; border-left: 5px solid var(--nclex-primary-color); }
.NclexKeyPoint .practice-question h4 { color: var(--nclex-primary-color); margin-top: 0; margin-bottom: 15px; font-size: 1.1rem; }
.NclexKeyPoint .question-options { margin-top: 15px; }
.NclexKeyPoint .correct-answer { background-color: #e8f5e9; padding: 10px 15px; margin-top: 15px; border-radius: 5px; font-weight: 500; }
.NclexKeyPoint .rationale { border-top: 1px solid #e0e0e0; margin-top: 15px; padding-top: 15px; }

/* 임상 시나리오 */
.NclexKeyPoint .clinical-scenario { background-color: #fff8e1; padding: 15px 20px; border-radius: 8px; margin: 20px 0; border-left: 4px solid #FFC107; position: relative; }
.NclexKeyPoint .clinical-scenario::before { content: "Clinical Case"; position: absolute; top: -12px; left: 15px; background-color: white; padding: 0 10px; font-size: 0.9rem; font-weight: 600; color: #FFA000; }

/* 절차 단계 */
.NclexKeyPoint .procedure-steps { background-color: #f5f5f5; padding: 20px 20px 20px 40px; margin: 20px 0; border-radius: 8px; counter-reset: step; }
.NclexKeyPoint .procedure-steps li { margin-bottom: 15px; position: relative; padding-left: 10px; }
.NclexKeyPoint .procedure-steps li::before { counter-increment: step; content: counter(step); background-color: var(--nclex-primary-color); color: white; border-radius: 50%; width: 25px; height: 25px; display: inline-flex; align-items: center; justify-content: center; position: absolute; left: -30px; font-size: 0.9rem; font-weight: bold; }

/* 퀵 체크 박스 */
.NclexKeyPoint .quick-check { background-color: #e3f2fd; padding: 15px; margin: 20px 0; border-radius: 8px; border: 1px solid #bbdefb; }
.NclexKeyPoint .quick-check h4 { color: var(--nclex-primary-color); margin-top: 0; margin-bottom: 10px; font-size: 1.1rem; }

/* 자주 하는 실수 경고 */
.NclexKeyPoint .common-pitfall { background-color: #ffebee; padding: 15px 20px; margin: 20px 0; border-radius: 8px; border-left: 4px solid #f44336; }
.NclexKeyPoint .common-pitfall h4 { color: #d32f2f; margin-top: 0; margin-bottom: 10px; font-size: 1.1rem; display: flex; align-items: center; }
.NclexKeyPoint .common-pitfall h4::before { content: "⚠️"; margin-right: 8px; }

/* 자가 평가 체크박스 */
.NclexKeyPoint .self-assessment { margin: 25px 0; padding: 20px; background-color: #fafafa; border-radius: 8px; border: 1px solid #e0e0e0; }
.NclexKeyPoint .self-assessment h4 { color: var(--nclex-primary-color); margin-top: 0; margin-bottom: 15px; font-size: 1.1rem; }
.NclexKeyPoint .checkbox-item { margin-bottom: 10px; display: flex; align-items: flex-start; }
.NclexKeyPoint .checkbox-item input[type="checkbox"] { margin-right: 10px; margin-top: 3px; }

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

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

/* 반응형 디자인 */

@media (max-width: 992px) {
  .NclexKeyPoint { padding: 20px; }
  .NclexKeyPoint .article-title { font-size: 2rem; }
  .NclexKeyPoint .section-title { font-size: 1.6rem; }
  .NclexKeyPoint .topic-title { font-size: 1.3rem; }
}

@media (max-width: 768px) {
  .NclexKeyPoint .article-title { font-size: 1.8rem; }
  .NclexKeyPoint .section-title { font-size: 1.4rem; }
  .NclexKeyPoint .topic-title { font-size: 1.2rem; }
  .NclexKeyPoint .content-section, .NclexKeyPoint .topic-container, .NclexKeyPoint .web-resources, .NclexKeyPoint .article-footer { padding: 15px 0; }
  .NclexKeyPoint .key-takeaways { padding: 15px; }
}

@media (max-width: 576px) {
  .NclexKeyPoint { padding: 5px; max-width: 100%; }
  .NclexKeyPoint .article-title { font-size: 1.6rem; }
  .NclexKeyPoint .section-title { font-size: 1.3rem; }
  .NclexKeyPoint .topic-title { font-size: 1.1rem; }
  .NclexKeyPoint .topic-list li, .NclexKeyPoint .key-takeaways li { padding-left: 20px; }
}

/* 인쇄용 스타일 */

@media print {
  .NclexKeyPoint { background: white; color: black; box-shadow: none; max-width: 100%; }
  .NclexKeyPoint .article-header { background: none; color: black; padding: 10px; }
  .NclexKeyPoint .content-section, .NclexKeyPoint .topic-container, .NclexKeyPoint .web-resources { break-inside: avoid; page-break-inside: avoid; background: white; box-shadow: none; }
  .NclexKeyPoint .article-footer { background: none; border-top: 1px solid #ccc; box-shadow: none; }
  .NclexKeyPoint a { text-decoration: underline; color: black; }
  .NclexKeyPoint .topic-container:hover { transform: none; box-shadow: none; }
}

/* 반응형 디자인 추가 */

@media (max-width: 768px) {
  .NclexKeyPoint .comparison-table { overflow-x: auto; }
  .NclexKeyPoint .clinical-scenario, .NclexKeyPoint .memory-box, .NclexKeyPoint .practice-question, .NclexKeyPoint .quick-check, .NclexKeyPoint .common-pitfall, .NclexKeyPoint .self-assessment { padding: 15px; }
}
