/* ========================================
   CMS 모듈 스타일
======================================== */
.mod {
  margin-bottom: 80px;
  font-family: "Pretendard Variable", "Pretendard", "Noto Sans KR", sans-serif;
}
.mod-section {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: calc(100vw / 1920 * 40);
  box-sizing: border-box;
  overflow: hidden;
}
/* 내용이 있을 때만 하단 여백 적용 */
.mod-section:not(:empty) {
  margin-bottom: 40px;
}
/* .mod .mod-section:last-child {
  margin-bottom: 0;
} */
.mod-section .text-highlight {
  color: var(--text-highlight);
}
.mod-section.font-weight-500 {
  font-weight: 500;
}
.mod-section.font-weight-600 {
  font-weight: 600;
}
.mod-section.font-weight-700 {
  font-weight: 700;
}
.mod-section.align-center {
  align-items: center;
}
.mod-section.justify-content-right {
  justify-content: flex-end;
}
.mod-section .gradient-text {
  background: linear-gradient(to right, #222, #888);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mod-section p {
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: normal;
}
.mod-section__title {
  width: 100%;
  margin-bottom: 30px;
  font-size: 36px;
  font-weight: 700;
  color: #1a365d;
}
.mod-text {
  min-width: calc(50% - 20px);
  flex: 1;
}
.mod-text.width-50-percent {
  flex: 0 0 50%;
}
.mod-text.width-50-percent.align-right {
  justify-content: flex-end;
  flex: 0 0 50%;
}
.mod-section h4 {
  width: 100%;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  word-break: keep-all;
}
.mod-section h4 ~ p {
  margin-top: 24px;
}
.mod-text p {
  margin-bottom: 24px;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.4px;
}
.mod-text strong {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.8;
}

.mod-section .mod-text p:last-child {
  margin-bottom: 0;
}
.mod-img {
  display: block;
  width: auto;
  min-width: 0;
}
.mod-img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.mod-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mod-img p {
  margin-top: 16px;
  font-size: 16px;
  color: var(--text-primary);
}
.mod-section.img-flex-1 .mod-img {
  flex: 1;
  margin: 0 auto;
}
.mod-img.width-full {
  width: 100%;
}
.mod-img.width-50-percent {
  width: 50%;
}
.mod-img.width-40-percent {
  width: 40%;
}
.mod-img.width-30-percent {
  width: 30%;
}
.mod-img.img-align-center {
  margin: 0 auto;
}
.mod-img.img-align-right {
  margin-left: auto;
}
/* CSS Shape 모듈 - 이미지 아래 여백 없음 */
.mod-section--shape {
  display: block;
}
.mod-section--shape::after {
  content: "";
  display: table;
  clear: both;
}
.mod-img--shape {
  float: right;
  margin-left: 2%;
  margin-bottom: 10px;
}
/* 인용 모듈 */
.mod-section.bg-box-mod {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 40px;
  gap: 20px;
  border-radius: 12px;
  background-color: var(--GRAY_01);
}
.mod-section.bg-box-mod .quote-mark {
  display: block;
  width: 40px;
  height: 40px;
  text-align: center;
  margin: 0 auto;
}
.mod-section.bg-box-mod .quote-mark.start {
  background: url(https://objectstorage.ap-seoul-1.oraclecloud.com/n/cnkf9bkeu8eq/b/wydseoul-public-resources/o/assets/images/icon/quotation_mark_start_gray.svg) no-repeat
    center center / contain;
}
.mod-section.bg-box-mod .quote-mark.end {
  background: url(https://objectstorage.ap-seoul-1.oraclecloud.com/n/cnkf9bkeu8eq/b/wydseoul-public-resources/o/assets/images/icon/quotation_mark_end_gray.svg) no-repeat
    center center / contain;
}
.mod-section.bg-box-mod .mod-text {
  text-align: center;
}
.mod-section.bg-box-mod .mod-text p {
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.4px;
}
/* 버튼 박스 모듈 */
.mod-section.btn-box-mod {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  padding: 40px;
  background-color: var(--GRAY_01);
  border-radius: 12px;
}
.mod-section.btn-box-mod .mod-title {
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 600;
}
.mod-section.btn-box-mod .mod-subtitle {
  font-size: 20px;
  font-weight: 600;
}
.mod-section.btn-box-mod .btn {
  margin-top: auto;
  background-color: #fff;
}
.mod-section.btn-box-mod .btn:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}
.mod-info-list {
  margin-top: 40px;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.36px;
}
.mod-info-list li {
  margin-bottom: 8px;
}
.mod-info-list li:last-child {
  margin-bottom: 0;
}
@media (max-width: 1024px) {
  .mod-section {
    flex-wrap: wrap;
    gap: 20px;
  }
  .mod-section.bg-box-mod {
    gap: 10px;
  }
  .mod-img {
    flex: 1;
    min-width: 100%;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .mod {
    margin-bottom: 40px;
  }
  .mod-section {
    gap: 20px;
  }
  /* 768px 이하: 내용이 있을 때만 하단 여백 적용 */
  .mod-section:not(:empty) {
    margin-bottom: 20px;
  }
  .mod-section h4 {
    font-size: 20px;
  }
  .mod-section h4 ~ p {
    margin-top: 16px;
  }
  .mod-text p,
  .bg-box-mod p {
    font-size: 16px;
  }
  .mod-text {
    width: 100%;
    min-width: 100%;
  }
  .mod-text.width-50-percent {
    min-width: 50%;
  }
  .mod-section.bg-box-mod .mod-text p {
    font-size: 16px;
  }
  .mod-section.btn-box-mod {
    padding: 40px 16px;
  }
  .mod-section.btn-box-mod .mod-title {
    font-size: 20px;
  }
  .mod-section.btn-box-mod .mod-subtitle {
    margin-top: 4px;
    font-size: 16px;
  }
  .mod-section.btn-box-mod .btn {
    width: 100%;
  }
  .mod-info-list {
    font-size: 16px;
  }
  .mod-info-list li {
    margin-bottom: 6px;
  }
}
