/* ============================================================
   메인 섹션 공통 스타일
   ============================================================ */

/* ──────────────────────────────────────────────────────────
   DEFAULT 섹션 기본
────────────────────────────────────────────────────────── */
.default {
  position: relative;
  padding: 16rem 0;
}

.default.bg {
  background: var(--background-color);
}

.default.bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 4;
  width: 1px;
  height: 4rem;
  background: var(--primary-color);
  transform: translate(0, -50%);
}

/* ──────────────────────────────────────────────────────────
   전역 TITLE (일반 페이지용)
────────────────────────────────────────────────────────── */
.title {
  margin-bottom: 4rem;
}

.title h2 {
  font-size: 6.4rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.title h2::after {
  content: ".";
  color: var(--point-color);
}

.title h2 em {
  font-weight: 100;
}

.title .desc {
  font-size: 1.7rem;
  font-weight: 400;
  margin-top: 1.6rem;
  opacity: 1;
}

/* ──────────────────────────────────────────────────────────
   메인 섹션 TITLE 컴포넌트
   .default 섹션 > .menu_area > .title 에 자동 적용
────────────────────────────────────────────────────────── */
.default .menu_area .title {
  display: flex;
  flex-direction: column;
}

.default .menu_area .title .badge {
  display: inline-block;
  margin-bottom: 1.6rem;
  font-size: 1.4rem;
  width: fit-content;
  padding: 0.8rem 3.2rem;
  background: var(--point-color);
  color: var(--white-color);
  border-radius: 0.8rem;
  font-weight: 800;
}

/* ──────────────────────────────────────────────────────────
   CARD 컴포넌트
   .default .content_area 직접 자식 .card 에 자동 적용
────────────────────────────────────────────────────────── */
.default .content_area > .card {
  padding: 4rem 3.2rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.15);
  /* border-radius: 0.8rem; */
}

.default .content_area > .card .icon {
  margin-bottom: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.default .content_area > .card .icon svg {
  width: 4.8rem;
  height: 4.8rem;
  stroke: var(--body-color);
  stroke-width: 1;
  opacity: 0.5;
}

.default .content_area > .card h3 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 2.4rem;
}

.default .content_area > .card p {
  font-size: 1.6rem;
  line-height: 1.5;
}

/* ──────────────────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .title h2,
  .default .menu_area .title h2 {
    font-size: 5.6rem;
  }

  .default .content_area > .card {
    padding: 3.2rem 2.4rem;
  }

  .default .content_area > .card .icon {
    width: 5.6rem;
    height: 5.6rem;
  }

  .default .content_area > .card .icon svg {
    width: 4rem;
    height: 4rem;
  }

  .default .content_area > .card h3 {
    font-size: 2rem;
  }

  .default .content_area > .card p {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .title h2,
  .default .menu_area .title h2 {
    font-size: 4rem;
  }
}

/* ──────────────────────────────────────────────────────────
   SEC_DARK — 검은 배경 공통 섹션
   사용: <section class="default sec_dark">
────────────────────────────────────────────────────────── */
.sec_dark {
  position: relative;
  padding: 16rem 0;
  overflow: hidden;
}

.sec_dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: -1;
}

.sec_dark .con_wrap {
  position: relative;
  z-index: 1;
}

.sec_dark .menu_area .title {
  color: var(--white-color);
}

.sec_dark .menu_area .title .desc {
  color: var(--white-color);
}

@media (max-width: 768px) {
  .sec_dark {
    padding: 12rem 0;
  }
}
