@charset "utf-8";
/* WFULL_1 - main_block_2 원본 CSS 그대로 이식
   mb2_ → wfull_, .main_block_2 → .WFULL_1
   추가: wfull_icon, wfull_custom(txt4 자유영역), inner모드, CSS변수 */

.WFULL_1 {
  width: 100%; float: left;
  position: relative; overflow: hidden;
  background: #000;
}

/* ── 전체 배경 레이어 (섹션 100% 커버) ── */
.WFULL_1 .wfull_bg_wrap {
  position: absolute; inset: 0; z-index: 0;
}
.WFULL_1 .wfull_bg_layer {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  filter: blur(var(--wfull-blur, 0px));
}
.WFULL_1 .wfull_bg_layer.active { opacity: var(--wfull-overlay, 0.45); }

/* 배경 고정 */
.WFULL_1.bg-fixed { clip-path: inset(0); }
.WFULL_1.bg-fixed .wfull_bg_wrap { position: fixed; }

/* ── 그리드: 균등분할 ── */
.WFULL_1 .wfull_grid {
  width: 100%; display: flex;
  position: relative; z-index: 2;
}

/* ── 각 칸 (원본 mb2_item 그대로) ── */
.WFULL_1 .wfull_item {
  flex: 1; position: relative;
  height: 700px; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden;
  border-right: 1px solid rgba(255,255,255, var(--wfull-line-opacity, 0.15));
  text-decoration: none; color: inherit;
}
.WFULL_1 .wfull_item:last-child { border-right: none; }

/* inner 모드: 양쪽 끝 라인 추가 */
.WFULL_1.wfull_inner_mode .wfull_item:first-child {
  border-left: 1px solid rgba(255,255,255, var(--wfull-line-opacity, 0.15));
}
.WFULL_1.wfull_inner_mode .wfull_item:last-child {
  border-right: 1px solid rgba(255,255,255, var(--wfull-line-opacity, 0.15));
}

/* 호버 시 해당 칸 어둡게 */
.WFULL_1 .wfull_item::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0); z-index: 1;
  transition: background 0.4s ease;
}
.WFULL_1 .wfull_item.is-hover::before { background: rgba(0,0,0,0.45); }

/* ── 컨텐츠 래퍼 (원본 mb2_content 그대로) ── */
.WFULL_1 .wfull_content {
  position: relative; z-index: 2;
  width: 100%; max-height: 80%;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 0 clamp(16px, calc(1.09vw + 12.5px), 30px);
}

/* ── 아이콘 (txt1 - 추가요소) ── */
.WFULL_1 .wfull_icon {
  color: #fff;
  font-size: clamp(28px, calc(1.56vw + 23px), 48px);
  line-height: 1;
  margin-bottom: clamp(12px, calc(0.94vw + 9px), 24px);
  transition: color 0.4s ease;
  flex-shrink: 0;
}
.WFULL_1 .wfull_icon img,
.WFULL_1 .wfull_icon svg {
  width: clamp(40px, calc(2.34vw + 32.5px), 70px);
  height: auto;
}
.WFULL_1 .wfull_item.is-hover .wfull_icon { color: var(--primary); }

/* ── 타이틀 (원본 mb2_title 그대로) ── */
.WFULL_1 .wfull_title {
  font-family: var(--ff-ko1);
  font-size: clamp(20px, calc(0.55vw + 18.25px), 27px);
  font-weight: 700; color: #fff;
  letter-spacing: -0.03rem; margin: 0;
  transition: color 0.4s ease;
  white-space: nowrap;
}
.WFULL_1 .wfull_item.is-hover .wfull_title { color: var(--primary); }

/* ── 세로 라인 (원본 mb2_line 그대로) ── */
.WFULL_1 .wfull_line {
  width: 1px; height: 90px;
  background: rgba(255,255,255,0.5);
  position: relative; overflow: hidden;
  margin: clamp(20px, calc(1.56vw + 15px), 32px) auto;
  flex-shrink: 0;
}
.WFULL_1 .wfull_line span {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 0;
  background: var(--primary);
  transition: height 0.5s ease;
}
.WFULL_1 .wfull_item.is-hover .wfull_line span { height: 100%; }

/* ── 설명 텍스트 (원본 mb2_desc 그대로) ── */
.WFULL_1 .wfull_desc {
  font-family: var(--ff-ko1);
  font-size: clamp(15px, calc(0.47vw + 13.5px), 19px);
  font-weight: 500; color: #fff;
  line-height: 1.6; letter-spacing: -0.02rem;
  margin: 0 0 clamp(8px, calc(0.47vw + 6.5px), 14px);
}

/* ── 자유영역 (txt4 - + 동그라미 대체) ── */
.WFULL_1 .wfull_custom {
  margin-top: auto; flex-shrink: 1;
  width: 100%;
}

/* 서브메뉴 버튼 그리드 (자유영역 안에 넣는 예시) */
.WFULL_1 .wfull_submenu {
  display: flex; flex-wrap: wrap;
  gap: clamp(6px, calc(0.47vw + 4.5px), 12px);
  justify-content: center;
}
.WFULL_1 .wfull_submenu a,
.WFULL_1 .wfull_submenu span {
  display: inline-flex; align-items: center; justify-content: center;
  padding: clamp(8px, calc(0.47vw + 6.5px), 14px) clamp(14px, calc(0.78vw + 11.5px), 24px);
  border: 1px dashed rgba(255,255,255,0.45);
  border-radius: 50px;
  color: rgba(255,255,255,0.8);
  font-size: clamp(12px, calc(0.23vw + 11.26px), 15px);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}
.WFULL_1 .wfull_submenu a:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--primary);
  color: var(--primary);
}

/* ── 점선 원 + 플러스 (원본 mb2_circle 그대로) ── */
.WFULL_1 .wfull_circle {
  width: clamp(40px, calc(0.94vw + 37px), 52px);
  height: clamp(40px, calc(0.94vw + 37px), 52px);
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.45);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.4s ease;
  margin-top: auto; flex-shrink: 0;
}
.WFULL_1 .wfull_item.is-hover .wfull_circle { border-color: var(--primary); }

.WFULL_1 .wfull_plus {
  font-size: clamp(18px, calc(0.47vw + 16.5px), 24px);
  color: rgba(255,255,255,0.55); line-height: 1;
  transition: color 0.4s ease;
}
.WFULL_1 .wfull_item.is-hover .wfull_plus { color: var(--primary); }


/* ========================================
   반응형 (원본 그대로)
   ======================================== */
@media screen and (max-width: 1024px) {
  .WFULL_1 .wfull_grid { flex-wrap: wrap; }
  .WFULL_1 .wfull_item {
    flex: 1 1 calc(100% / 3);
    height: auto; min-height: 380px;
  }
  .WFULL_1 .wfull_item:nth-child(3) { border-right: none; }
}

@media screen and (max-width: 640px) {
  .WFULL_1 .wfull_item,
  .WFULL_1 .wfull_item:nth-child(3) {
    flex: 1 1 50%; height: auto; min-height: 260px;
    border-right: 1px solid rgba(255,255,255, var(--wfull-line-opacity, 0.15));
    padding: 30px 0;
  }
  .WFULL_1 .wfull_content { max-height: 85%; }
  .WFULL_1 .wfull_item:nth-child(2n) { border-right: none; }
  .WFULL_1 .wfull_item:nth-child(n+3) {
    border-top: 1px solid rgba(255,255,255, var(--wfull-line-opacity, 0.15));
  }
  .WFULL_1 .wfull_title { font-size: clamp(15px, calc(1.25vw + 11px), 18px); }
  .WFULL_1 .wfull_line { height: 45px; margin: clamp(10px, calc(0.78vw + 7.5px), 16px) auto; }
  .WFULL_1.wfull_inner_mode .wfull_item:first-child { border-left: none; }
}

/* ── 편집 모드 ── */
.WFULL_1 .wg_edit_txt,
.WFULL_1 .wg_edit_img,
.WFULL_1 .wg_edit_link {
  transition: none !important;
}
