html,
body {
  font-size: 12px;
  font-family: 'Noto Sans KR', serif;
  max-width: 100%;
  overflow-x: hidden;
}

b {
  font-weight: 700 !important;
}

/* iamport 라이브러리의 레이어가 전체화면을 차지함. 팝업을 사용하고 있어서 레이어를 아예 안보이게 처리함 */
.imp-dialog {
  position: relative;
  z-index: 9999;
  display: none;
}

.imp-frame {
  position: relative;
  z-index: 9999;
}

.imp-frame-mobile {
  position: relative;
  z-index: 9999;
}

#tocplusWindow {
  display: none;
}

@media (min-width: 600px) {
  html {
    font-size: 13px;
  }
}

@media (min-width: 960px) {
  html {
    font-size: 15px;
  }
}

@media (min-width: 1280px) {
  html {
    font-size: 16px;
  }

  #tocplusWindow {
    display: block;
  }
}

@font-face {
  font-family: 'Noto Sans KR';
  font-style: normal;
  font-weight: 300;
  src: url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Light.woff2)
      format('woff2'),
    url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Light.woff)
      format('woff'),
    url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Light.otf)
      format('opentype');
}

@font-face {
  font-family: 'Noto Sans KR';
  font-style: normal;
  font-weight: 700;
  src: url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Bold.woff2)
      format('woff2'),
    url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Bold.woff)
      format('woff'),
    url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Bold.otf)
      format('opentype');
}

/* react-quill 커스텀 스타일 */
.customQuill .ql-container {
  min-height: 300px;
  background: #fff;
  resize: vertical;
  border-radius: 0;
}
.customQuill .ql-editor {
  min-height: 250px;
  background: #fff;
}

/* react-quill 고정 높이 + 내부 스크롤 */
.customQuillResizable {
  min-height: 300px;
  max-height: 700px;
  background: #fff;
  border-radius: 0;
  border: 1px solid #ccc;
  padding: 0;
  position: relative;
}

/* RibbonBackground와 TwoToneBackground fallback 스타일 */
.ribbon-background.female,
.two-tone-background.female {
  background-color: #f8f0ff !important; /* 연한 분홍색 fallback */
}

.ribbon-background.female::before,
.two-tone-background.female::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f8f0ff 0%, #e8d0ff 100%);
  z-index: -1;
}

/* TwoColumnHero fallback 스타일 */
.two-column-hero.female {
  background-color: #f8f0ff !important;
}

/* 모바일과 태블릿에서 배경 이미지가 제대로 보이도록 개선 */
@media (max-width: 1024px) {
  .ribbon-background.female,
  .two-tone-background.female,
  .two-column-hero.female {
    background-size: cover !important;
    background-position: center center !important;
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .ribbon-background.female,
  .two-tone-background.female,
  .two-column-hero.female {
    background-size: cover !important;
    background-position: center center !important;
    min-height: 300px;
  }
}
