/* wisdom.css - 사랑니발치 페이지 */

#wisdom_header {
  position: relative;
  width: 100%;
  height: 920px;
  overflow: hidden;
}

#wisdom_header .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#wisdom_header .hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#wisdom_header .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

#wisdom_header .container {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#wisdom_header .wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#wisdom_header .hero-content {
  text-align: center;
}

#wisdom_header h1 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ============================================
   NOTICE HEADER: 공지사항 히어로 섹션
   ============================================ */

#notice_header {
  position: relative;
  width: 100%;
  height: 920px;
  overflow: hidden;
}

#notice_header .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#notice_header .hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#notice_header .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

#notice_header .container {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#notice_header .wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#notice_header .hero-content {
  text-align: center;
}

#notice_header h1 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ============================================
   WISDOM SECTION 1: 안전한 사랑니 발치
   ============================================ */

#wisdom_section_1 {
  background: #f8f9fa;
  padding: 100px 0;
}

#wisdom_section_1 .container .wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

#wisdom_section_1 .section-content {
  text-align: center;
}

#wisdom_section_1 h2 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: #333;
  margin-bottom: 40px;
  line-height: 1.4;
}

#wisdom_section_1 .description {
  margin-bottom: 60px;
}

#wisdom_section_1 .description p {
  font-size: var(--text-sm);
  color: #666;
  line-height: 1.8;
  margin: 8px 0;
}

#wisdom_section_1 .wisdom-image {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}

#wisdom_section_1 .wisdom-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* =====================================================
   WISDOM 모바일 반응형 스타일
   ===================================================== */

/* --------------------- 태블릿 (768px 이하) */
@media screen and (max-width: 768px) {
  /* Wisdom Header */
  #wisdom_header {
    height: 450px;
  }
  #wisdom_header h1 {
    font-size: 38px;
  }

  /* Notice Header */
  #notice_header {
    height: 450px;
  }
  #notice_header h1 {
    font-size: 38px;
  }

  /* Section 1 */
  #wisdom_section_1 {
    padding: 60px 0;
  }
  #wisdom_section_1 .container .wrapper {
    padding: 0 24px;
  }
  #wisdom_section_1 h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  #wisdom_section_1 .description {
    margin-bottom: 40px;
  }
  #wisdom_section_1 .description p {
    font-size: 16px;
  }
  #wisdom_section_1 .wisdom-image {
    border-radius: 16px;
  }
}

/* --------------------- 모바일 (480px 이하) */
@media screen and (max-width: 480px) {
  /* Wisdom Header */
  #wisdom_header {
    height: 380px;
  }
  #wisdom_header h1 {
    font-size: 30px;
  }

  /* Notice Header */
  #notice_header {
    height: 380px;
  }
  #notice_header h1 {
    font-size: 30px;
  }

  /* Section 1 */
  #wisdom_section_1 {
    padding: 50px 0;
  }
  #wisdom_section_1 .container .wrapper {
    padding: 0 16px;
  }
  #wisdom_section_1 h2 {
    font-size: 24px;
    margin-bottom: 24px;
  }
  #wisdom_section_1 .description {
    margin-bottom: 30px;
  }
  #wisdom_section_1 .description p {
    font-size: 15px;
    line-height: 1.75;
  }
  #wisdom_section_1 .wisdom-image {
    border-radius: 12px;
  }
}

/* ============================================
   CAVITY SECTION 4: 치료 재료 비교
   ============================================ */

#cavity_section_4 {
  background: #ffffff;
  padding: 100px 0;
}

#cavity_section_4 .container .wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

#cavity_section_4 h2 {
  text-align: center;
  font-size: var(--text-lg);
  font-weight: 700;
  color: #333;
  margin-bottom: 80px;
  line-height: 1.4;
}

#cavity_section_4 .materials-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

#cavity_section_4 .materials-row {
  display: flex;
  justify-content: center;
  gap: 30px;
}

#cavity_section_4 .material-card {
  background: transparent;
  padding: 40px 30px;
  width: 500px;
  flex-shrink: 0;
}

#cavity_section_4 .material-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #00a79d;
  position: relative;
}

#cavity_section_4 .checkmark {
  flex-shrink: 0;
}

#cavity_section_4 .material-title {
  font-size: var(--text-md);
  font-weight: 700;
  color: #00a79d;
  margin: 0;
  flex-grow: 1;
}

#cavity_section_4 .consult-link {
  font-size: var(--text-xs);
  color: #999 !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color 0.3s ease;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

#cavity_section_4 .consult-link:hover {
  color: #00a79d !important;
  background: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

#cavity_section_4 .consult-link:focus {
  outline: none !important;
  box-shadow: none !important;
  background: none !important;
}

#cavity_section_4 .material-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#cavity_section_4 .material-section h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
}

#cavity_section_4 .material-section p {
  font-size: var(--text-xs);
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/********************************************* AWARDS ************************************
*/

#awards_main section .container {
  padding: 90px 20px;
}

#awards_main section .container .wrapper h2 {
  font-size: var(--text-lg);
  padding-bottom: 20px;
}

#awards_main section .container .wrapper p {
  line-height: 1.3;
}

#awards_main section .container .wrapper .content {
  padding-top: 35px;
}

