/* ===== G마켓 산스 ===== */
@font-face{
  font-family:'GmarketSansMedium';
  src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
  font-weight:500;font-style:normal;font-display:swap;
}
@font-face{
  font-family:'GmarketSansLight';
  src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff');
  font-weight:300;font-style:normal;font-display:swap;
}

/* ===== Stage (1530 x 700) — 섹션 스코프 변수 ===== */
.container.section-title{
  --stage-w:1530px;
  --stage-h:700px;
  --black:#000;
  --white:#fff;
  --line: rgba(255,255,255,.35);

  /* 화면 전체 너비로 확장 */
  width:100vw;
  margin:0;
  padding:0;

  background:var(--black);
  color:var(--white);
  font-family:'GmarketSansLight';
  overflow:hidden;
}

/* 전역 리셋 대신 섹션 내부만 리셋 */
.container.section-title *{ box-sizing:border-box; margin:0; padding:0; }

.container.section-title .stage{
  position:relative;
  width:var(--stage-w);
  height:var(--stage-h);
  margin:0 auto;
  overflow:hidden;
  background:var(--black);
}

/* ===== Layout ===== */
.container.section-title .slide{
  position:absolute; inset:0;
  display:none; padding:60px 70px;
  --mid-left:620px;
  --mid-top:250px;
  --mid-width:620px;
  --mid-height:360px;
}
.container.section-title .slide.active{ display:block; }

.container.section-title .left{
  position:absolute; left:70px; top:40px; width:760px;
}
.container.section-title .title{
  font-family:'GmarketSansMedium';
  font-size:60px; line-height:1; letter-spacing:-0.5px;
  margin-bottom:20px;
}
.container.section-title .desc{
  font-family:'GmarketSansLight', sans-serif;
  font-size:13px; line-height:1.5; opacity:.9;
}

.container.section-title .foot{
  position:absolute; left:70px; bottom:60px;
  font-size:13px; line-height:1.7; opacity:.9;
}

/* 가운데 사각형 박스 */
.container.section-title .midBox{
  position:absolute;
  left:var(--mid-left); top:var(--mid-top);
  width:var(--mid-width); height:var(--mid-height);
  border:none;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}

.container.section-title .midBox img{
  display:block;
  width:var(--img-w, 100%);
  height:var(--img-h, 100%);
  object-fit:var(--img-fit, cover);
}

/* 오른쪽 사각형 박스 */
.container.section-title .rightBox{
  position:absolute; right:70px; top:40px;
  width:420px; height:600px; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.container.section-title .rightBox img{
  width:100%; height:100%; object-fit:cover;
}

/* ===== Dots ===== */
.container.section-title .dots{
  position:absolute; right:250px; bottom:35px; display:flex; gap:10px;
}
.container.section-title .dot{
  width:9.5px; height:9.5px; border-radius:50%;
  background:#6a6a6a; cursor:pointer; transition:transform .15s ease, background .15s ease;
}
.container.section-title .dot:hover{ transform:scale(1.25); }
.container.section-title .dot.active{ background:#fff; }
.container.section-title .dot:focus{ outline:2px solid #fff; outline-offset:3px; }

/* 슬라이드 2 전용: 왼쪽 하단 텍스트(.foot) 위 작은 이미지 */
.container.section-title .slide[data-index="1"] .footBadge{
  position:absolute;
  left:70px;
  bottom:calc(60px + 104px);
  width:62px;
  height:62px;
  object-fit:contain;
}

/* ===== 이미지 클릭 확대 (모달) ===== */
.container.section-title .img-modal {
  display:none; 
  position:fixed;
  z-index:999;
  left:0; top:0;
  width:100%; height:100%;
  background:rgba(0,0,0,0.8);
  justify-content:center;
  align-items:center;
}

.container.section-title .img-modal-content {
  max-width:80%;
  max-height:80%;
  border-radius:8px;
  box-shadow:0 0 20px rgba(0,0,0,0.6);
}

.container.section-title .img-modal-close {
  position:absolute;
  top:30px; right:50px;
  color:#fff;
  font-size:40px;
  font-weight:bold;
  cursor:pointer;
  user-select:none;
}
.container.section-title .img-modal-close:hover {
  color:#aaa;
}
