/* ==========================================================================
   메인 CSS 파일 - 커스텀 스타일만
   ========================================================================== */

/* 기본 스타일 */

/* 컴포넌트 */

/* 프로젝트 전용 커스텀 유틸리티 */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 한국어 텍스트 최적화 CSS */
.break-keep {
  word-break: keep-all;
}

html,
body {
  overflow-x: hidden;
  /* 가로 스크롤 방지 */
}

body {
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Pretendard', sans-serif;
  color: #666666;
  line-height: 1.7;
}

section[id] {
  scroll-margin-top: 5rem;
}

.site-main {
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .site-main {
    padding-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .site-main {
    padding-bottom: 5rem;
  }
}

/* 페이지별 하위메뉴 숨김 클래스 */
.hide-submenu #page-submenu {
  display: none !important;
}

h3.page-title {
  position: relative;
}

.__blue {
  color: #3aa4ee;
}

.__cyan_blue {
  color: #2583c3;
}

.__gray {
  color: #666666;
}

.__gray-bg {
  background: #666666;
}

.__line {
  margin: 0 0 70px 0;
  border: none;
  border-top: 1px solid #ddd;
  width: 100%;
}

.page-title:before {
  content: '';
  width: 30px;
  height: 2px;
  background: #4199d7;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 768px) {
  .page-title:before {
    width: 40px;
    height: 3px;
    bottom: -13px;
  }
}

@media (min-width: 1024px) {
  .page-title:before {
    width: 50px;
    height: 4px;
    bottom: -16px;
  }
}

/* Flatpickr Global Customization */
.flatpickr-calendar {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0.5rem !important;
  font-family: 'Noto Sans KR', sans-serif !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
  background: #0ea5e9 !important;
  border-color: #0ea5e9 !important;
}
