@charset "UTF-8";
/**
 * @파일명            template-design-visual-image.css
 * @프로젝트명         메디사이트
 * @작성자            전혜린(hyerin__ni@page1.co.kr)
 * @최초작성일         2026-11-04
 * @최종수정일         2026-11-04
 **/
.section-visual[data-design-id="visual-image"] {
  position: relative;
  padding-top: 60px;
}

html.design-edit-page .section-visual[data-design-id="visual-image"] {
  z-index: 202;
}

html.design-edit-page .section-visual[data-design-id="visual-image"]:has(.is-hovered, .is-editing) .swiper-pagination {
  z-index: auto;
  pointer-events: none;
}

@media screen and (min-width: 1024px) {
  html:not(.design-edit-page) .section-visual[data-design-id="visual-image"] {
    padding-top: 93px;
  }
}

.section-visual[data-design-id="visual-image"] .swiper {
  height: var(--section-height-mo, var(--visual-slide-height-mo, 420px));
}

@media screen and (min-width: 1024px) {
  html:not(.design-edit-page) .section-visual[data-design-id="visual-image"] .swiper {
    height: var(--section-height-pc, var(--visual-slide-height-pc, 677px));
  }
}

html.design-edit-page .section-visual[data-design-id="visual-image"] .swiper {
  overflow: visible;
}

.section-visual[data-design-id="visual-image"] .swiper-slide {
  background-color: #FAFAFA;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.section-visual[data-design-id="visual-image"] .swiper-slide .common-inner {
  height: 100%;
}

.section-visual[data-design-id="visual-image"] .swiper-slide:has(.thumb-box[data-ui-role="image"], .video-embed-wrap) {
  background-image: none !important;
}

.section-visual[data-design-id="visual-image"] .text-box-wrap {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 100%;
}

.section-visual[data-design-id="visual-image"] .swiper-pagination {
  bottom: 30px;
}

@media screen and (min-width: 1024px) {
  html:not(.design-edit-page) .section-visual[data-design-id="visual-image"] .swiper-pagination {
    bottom: 90px;
  }
}

.section-visual[data-design-id="visual-image"] .swiper-pagination-bullet {
  border: 1px solid #444444;
  background-color: transparent;
}

.section-visual[data-design-id="visual-image"] .swiper-pagination-bullet-active {
  background-color: #444444;
}

.section-visual[data-design-id="visual-image"] .editor-text {
  font-size: 2em;
  font-weight: 800;
  line-height: 1.18;
  color: #193B72;
  text-align: center;
}

@media screen and (min-width: 1024px) {
  html:not(.design-edit-page) .section-visual[data-design-id="visual-image"] .editor-text {
    text-align: left;
  }
}
