/* MONOL Hero Section Redesign - using existing school photo */

/* ① 풀스크린 다크 배경 - 실제 학원 사진 사용 */
.elementor-element-21314c5 {
  position: relative !important;
  min-height: 100vh !important;
  background-image: url('https://mymonol.com/wp-content/uploads/2024/11/main-1-1-1-1-1-1-1-1.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;
  background-color: #0d1117 !important;
}

/* 다크 그라디언트 오버레이 */
.elementor-element-21314c5::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    135deg,
    rgba(5, 10, 25, 0.80) 0%,
    rgba(15, 25, 50, 0.60) 60%,
    rgba(0, 0, 0, 0.45) 100%
  ) !important;
  z-index: 0 !important;
}

/* 내부 콘텐츠를 오버레이 위로 */
.elementor-element-21314c5 > .e-con-inner {
  position: relative !important;
  z-index: 1 !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
}

/* SVG blob 배경 제거 */
.elementor-element-21314c5 .elementor-background-overlay {
  display: none !important;
}

/* ② 메인 슬로건 h1 */
.elementor-element-21314c5 h1.elementor-heading-title {
  color: #ffffff !important;
  font-size: clamp(2.2rem, 4.5vw, 4rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-shadow: 0 3px 25px rgba(0,0,0,0.6) !important;
  letter-spacing: -0.5px !important;
}

/* ③ 서브 라벨 색상 */
.elementor-element-21314c5 .elementor-heading-title:not(h1) {
  letter-spacing: 3px !important;
}

/* ④ CTA 버튼 */
.elementor-element-21314c5 .elementor-button {
  background: linear-gradient(135deg, #ff6b00, #ff9500) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  padding: 16px 42px !important;
  border-radius: 50px !important;
  border: none !important;
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.50) !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  transition: all 0.3s ease !important;
}

.elementor-element-21314c5 .elementor-button:hover {
  background: linear-gradient(135deg, #ff9500, #ffb800) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 40px rgba(255, 107, 0, 0.65) !important;
}

/* ⑤ 모바일 반응형 */
@media (max-width: 768px) {
  .elementor-element-21314c5 {
    background-attachment: scroll !important;
    min-height: 100svh !important;
  }
  .elementor-element-21314c5 h1.elementor-heading-title {
    font-size: 2rem !important;
  }
  .elementor-element-21314c5 .elementor-button {
    padding: 14px 28px !important;
    font-size: 0.95rem !important;
  }
}

/* 히어로 오른쪽 이미지 위젯 숨기기 */
.elementor-element-3853849 {
  display: none !important;
}

/* 히어로 텍스트 영역 풀 너비로 확장 */
.elementor-element-21314c5 .e-con-full {
  max-width: 100% !important;
  width: 100% !important;
}

.elementor-element-21314c5 h1.elementor-heading-title {
  max-width: 800px !important;
}



/* ===== FAQ PAGE STYLES ===== */
.faq-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
}

.faq-title {
  text-align: center;
  font-size: 2.2em;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.faq-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  font-size: 1em;
}

.faq-tabs {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}

.faq-tab {
  padding: 9px 22px;
  border: 2px solid #e0e0e0;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.95em;
  font-weight: 600;
  color: #555;
  background: #fff;
  transition: all 0.2s ease;
  display: inline-block;
}

.faq-tab:hover {
  border-color: #ff6b00;
  color: #ff6b00;
}

.faq-tab.active {
  background: #ff6b00;
  border-color: #ff6b00;
  color: #fff;
}

.faq-category {
  display: none;
}
.faq-category.active {
  display: block;
}

.faq-category-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #ff6b00;
  border-bottom: 2px solid #ff6b00;
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.faq-item {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.faq-question {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98em;
  color: #222;
  transition: background 0.2s;
  user-select: none;
  margin: 0;
}

.faq-question:hover {
  background: #fff8f3;
}

.faq-question.open {
  background: #fff3eb;
  color: #ff6b00;
}

.faq-icon {
  font-size: 1.4em;
  font-weight: 300;
  line-height: 1;
  color: #ff6b00;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.2s;
  display: inline-block;
}

.faq-question.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 16px 22px 20px;
  color: #444;
  font-size: 0.95em;
  line-height: 1.75;
  border-top: 1px solid #f0e8e0;
  background: #fefcfa;
  margin: 0;
}

.faq-answer.open {
  display: block;
}

/* ===== HERO TEXT REDESIGN ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800&family=Inter:wght@500;600&display=swap');

/* 히어로 컨테이너 너비 */
.elementor-element-e8694c7,
.elementor-element-e8694c7.e-con {
  width: 65% !important;
  max-width: 900px !important;
  flex: none !important;
}

/* 소제목 - LIVE AND LEARN 왼쪽 오렌지 바 스타일 */
.elementor-element-e54df45 .elementor-heading-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 5px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5) !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 0 4px 14px !important;
  border-radius: 0 !important;
  border: none !important;
  border-left: 3px solid #ff6b00 !important;
  margin-bottom: 18px !important;
  box-shadow: none !important;
  position: relative !important;
}

/* 메인 슬로건 - 2줄 자연 배치 */
.elementor-24055 .elementor-element.elementor-element-cffcb38 .elementor-heading-title,
.elementor-element-cffcb38 .elementor-heading-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 40px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.5px !important;
  color: #ffffff !important;
  text-shadow: 0 3px 20px rgba(0,0,0,0.4) !important;
  max-width: 450px !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

@media (max-width: 1200px) {
  .elementor-24055 .elementor-element.elementor-element-cffcb38 .elementor-heading-title,
  .elementor-element-cffcb38 .elementor-heading-title {
    font-size: 34px !important;
    max-width: 390px !important;
  }
  .elementor-element-e8694c7,
  .elementor-element-e8694c7.e-con {
    width: 80% !important;
  }
}

@media (max-width: 768px) {
  .elementor-24055 .elementor-element.elementor-element-cffcb38 .elementor-heading-title,
  .elementor-element-cffcb38 .elementor-heading-title {
    font-size: 26px !important;
    max-width: 100% !important;
  }
  .elementor-element-e8694c7,
  .elementor-element-e8694c7.e-con {
    width: 100% !important;
  }
}