/* ===== 교사마켓 › 배워보기(리얼월드 스튜디오) 전용 — 목업 F18-1_리얼월드스튜디오_최종_1015_v3 · market.css 위에 얹는다 ===== */

/* 메가메뉴·내비 앵커 착지 오프셋 (헤더 100 + 섹션 내비 56) */
main > section[id]{scroll-margin-top:156px}
/* 기능 4종: 정지 화면 → 화면 진입 시 동작 화면 자동 교체 */
.techc img{aspect-ratio:3/4;object-position:top}
.techc .gifplay{position:absolute;left:50%;top:38%;transform:translate(-50%,-50%);background:rgba(16,16,20,.78);color:#fff;border:0;border-radius:999px;padding:10px 18px;font-size:14px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.techc .gifplay::before{content:"";width:0;height:0;border-left:9px solid #fff;border-top:6px solid transparent;border-bottom:6px solid transparent}
.techc.playing .gifplay{display:none}
/* 빈 목록 홍보 배너 카드 */
.emptypromo{grid-column:1/-1;display:grid;grid-template-columns:1.4fr 1fr;border:1.5px dashed #C4B5FD;border-radius:18px;overflow:hidden;background:#fff;min-height:220px}
.emptypromo .ep-body{padding:30px 32px;display:flex;flex-direction:column;justify-content:center;gap:8px}
.emptypromo .ep-k{font-size:12.5px;font-weight:800;color:var(--pu2);background:var(--li);border-radius:999px;padding:4px 12px;width:max-content}
.emptypromo h5{font-size:22px;font-weight:800;letter-spacing:-.02em;white-space:nowrap}
.emptypromo p{font-size:15px;color:var(--sub);line-height:1.6}
.emptypromo .ep-cta{display:flex;gap:10px;margin-top:8px;flex-wrap:wrap}
.emptypromo .btnO{width:auto;flex:none}
.emptypromo .ep-visual{background:linear-gradient(135deg,#F5EDFF 0%,#E9D5FF 60%,#DBEAFE 100%);position:relative;display:flex;align-items:center;justify-content:center}
.emptypromo .ep-visual img{width:100%;height:100%;object-fit:cover}
@media(max-width:768px){.emptypromo{grid-template-columns:1fr}.emptypromo .ep-visual{min-height:140px}.emptypromo h5{white-space:normal}}
/* 섹션 내비 (헤더 100px 아래 고정) */
.secnav{position:sticky;top:100px;z-index:90;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--bd)}
.secnav .wrap{display:flex;align-items:center;gap:6px;height:56px;overflow-x:auto;scrollbar-width:none}
.secnav .wrap::-webkit-scrollbar{display:none}
.secnav a{flex:none;display:inline-flex;align-items:center;height:56px;padding:0 14px;font-size:16px;font-weight:700;color:var(--sub);text-decoration:none;border-bottom:3px solid transparent;margin-bottom:-1px;white-space:nowrap}
.secnav a:hover{color:var(--tx)}
.secnav a.on{color:var(--pu);border-bottom-color:var(--pu)}
.secnav .navcta{margin-left:auto;height:38px;padding:0 16px;border-radius:10px;background:var(--pu);color:#fff;font-size:15px;border-bottom:0}
.secnav .navcta:hover{color:#fff;background:var(--pu2)}
@media(max-width:1024px){.secnav{top:100px}.secnav .navcta{display:none}}
@media(max-width:768px){.secnav{top:72px}}

/* 히어로: 좌 카피 · 우 영상 */
.herosect{background:none;border-bottom:0;padding:24px 0 0}
.studiohero{display:grid;grid-template-columns:1fr 420px;gap:40px;align-items:center;height:360px;max-width:1300px;margin:0 auto;padding:0 24px;border-radius:20px;background:linear-gradient(180deg,#F5EDFF 0%,#FBF8FF 60%,#fff 100%);border:1px solid #ECE1FC}
.secnav{margin-top:40px}
#what{padding-top:48px}
.studiohero .hk{display:inline-block;font-size:13px;font-weight:800;color:var(--pu2);background:#fff;border:1.5px solid #DDD6FE;border-radius:999px;padding:5px 14px;margin-bottom:12px;letter-spacing:.02em}
.studiohero h1{font-size:38px;font-weight:800;line-height:1.3;letter-spacing:-.02em;color:var(--tx);white-space:nowrap}
.studiohero h1 i{font-style:normal;color:var(--pu)}
.studiohero p{color:var(--sub);font-size:17px;line-height:1.6;margin:12px 0 18px}
.studiohero .ctarow{justify-content:flex-start}
.studiohero .ctarow .btnP,.studiohero .ctarow .btnO{padding:12px 22px;font-size:16px}
.herovideo{position:relative;border-radius:24px;overflow:hidden;background:#101014;box-shadow:0 30px 70px rgba(100,63,206,.22);aspect-ratio:16/10}
.herovideo video{width:100%;height:100%;object-fit:cover;display:block}
.herovideo .vtag{position:absolute;left:16px;top:16px;background:rgba(255,255,255,.92);color:var(--pu2);font-size:13px;font-weight:800;border-radius:999px;padding:6px 12px}
@media(max-width:1300px){.herosect{padding:24px 24px 0}.studiohero{grid-template-columns:1fr 400px}.studiohero h1{font-size:34px}}
@media(max-width:1024px){.studiohero{grid-template-columns:1fr;height:auto;min-height:360px;padding:28px 24px}.studiohero h1{white-space:normal;font-size:32px}}
@media(max-width:768px){.studiohero h1{font-size:28px}.studiohero p{font-size:16px}}

/* 공통: 섹션 제목 + 설명 한 줄 + 조회 줄 */
.subl.one{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.lookrow{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px;flex-wrap:wrap}
.lookrow .chips{display:flex;gap:8px;flex-wrap:wrap}
.lookrow .chips span{font-size:14px;border:1px solid var(--bd);border-radius:16px;padding:6px 13px;color:var(--sub);cursor:pointer;background:#fff;font-weight:500}
.lookrow .chips span.on{background:var(--tx);color:#fff;border-color:var(--tx)}
.lookrow .more{font-size:15px;font-weight:700;color:var(--pu2);text-decoration:none;white-space:nowrap}

/* 스튜디오란: 4 핵심 */
.core4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.corec{border:1px solid var(--bd);border-radius:18px;overflow:hidden;background:#fff;display:flex;flex-direction:column;transition:.15s}
.corec:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(15,23,42,.08)}
.corec .cimg{aspect-ratio:4/3;background:#F1EAFF;overflow:hidden}
.corec .cimg img{width:100%;height:100%;object-fit:cover}
.corec .cb{padding:20px 20px 22px}
.corec .ck{font-size:12.5px;font-weight:800;color:var(--pu2);margin-bottom:8px}
.corec h5{font-size:18px;font-weight:800;line-height:1.3;margin-bottom:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.corec p{font-size:15px;color:var(--sub);line-height:1.6}
.corec ul{margin-top:10px;display:flex;flex-direction:column;gap:4px;list-style:none}
.corec li{font-size:14px;color:var(--tx);display:flex;gap:8px;align-items:flex-start}
.corec li::before{content:"✓";color:var(--pu);font-weight:900;flex:none}
/* 흐름 스트립 */
.flow{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:28px}
.flow .fs{position:relative;border-radius:18px;background:var(--li);padding:22px 22px 20px}
.flow .fs b{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:800;margin-bottom:6px}
.flow .fs b i{font-style:normal;width:28px;height:28px;border-radius:50%;background:var(--pu);color:#fff;font-size:14px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.flow .fs span{font-size:14.5px;color:var(--sub);line-height:1.55;display:block}
.flow .fs::after{content:"→";position:absolute;right:-14px;top:50%;transform:translateY(-50%);color:#C4B5FD;font-size:20px;font-weight:800}
.flow .fs:last-child::after{display:none}
/* 기능 4종 (AR GPS NFC QR) */
.tech4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:28px}
.techc{border-radius:18px;overflow:hidden;border:1px solid var(--bd);background:#fff;position:relative}
.techc img{aspect-ratio:1/1;width:100%;object-fit:cover}
.techc b{position:absolute;left:14px;top:14px;background:var(--tx);color:#fff;font-size:14px;font-weight:800;border-radius:8px;padding:5px 10px}
.techc span{display:block;padding:14px 16px;font-size:15px;color:var(--sub)}

/* 어떻게 쓰나요: 4단계 */
.steps4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.stepc{border:1px solid var(--bd);border-radius:18px;padding:22px;background:#fff;text-decoration:none;color:inherit;display:flex;flex-direction:column;gap:8px;transition:.15s;cursor:pointer}
.stepc:hover{border-color:#C4B5FD;box-shadow:0 14px 30px rgba(120,0,255,.1)}
.stepc .sn{display:flex;align-items:center;justify-content:space-between}
.stepc .sn b{font-size:13px;font-weight:800;color:var(--pu2);background:var(--li);border-radius:999px;padding:5px 12px}
.stepc .sn .play{width:36px;height:36px;border-radius:50%;background:var(--tx);color:#fff;display:inline-flex;align-items:center;justify-content:center}
.stepc .sn .play svg{width:14px;height:14px}
.stepc h5{font-size:20px;font-weight:800;white-space:nowrap}
.stepc p{font-size:15px;color:var(--sub)}
/* 영상 카드 */
.vgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.vgrid.four{grid-template-columns:repeat(4,1fr)}
.vc{border:1px solid var(--bd);border-radius:18px;overflow:hidden;background:#fff;text-decoration:none;color:inherit;display:flex;flex-direction:column;transition:.15s;cursor:pointer}
.vc:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(15,23,42,.08)}
.vc .vt{position:relative;aspect-ratio:16/9;background:#101014;overflow:hidden}
.vc .vt img{width:100%;height:100%;object-fit:cover}
.vc .vt .play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;color:var(--pu)}
.vc .vt .play svg{width:20px;height:20px;margin-left:3px}
.vc .vt .vl{position:absolute;left:12px;top:12px;background:rgba(255,255,255,.92);color:var(--tx);font-size:12.5px;font-weight:800;border-radius:8px;padding:4px 9px}
.vc .vb{padding:16px 18px 18px}
.vc h5{font-size:17px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:6px}
.vc p{font-size:14.5px;color:var(--sub);line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vc .vm{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.vc .vm span{font-size:12.5px;color:var(--pu2);background:var(--li);border-radius:6px;padding:3px 8px;font-weight:700}
.vc .vm .views{color:var(--mut);background:none;padding-left:0}
.subhead{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:44px 0 8px}
.subhead h3{font-size:24px;font-weight:800;letter-spacing:-.02em;white-space:nowrap}
.subhead a{font-size:15px;font-weight:700;color:var(--pu2);text-decoration:none;white-space:nowrap}
.subdesc{font-size:16px;color:var(--sub);margin:0 0 18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* 구성 8칸 */
.parts{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.partc{border:1px solid var(--bd);border-radius:18px;padding:22px 22px 20px;background:#fff;display:flex;flex-direction:column;gap:8px;transition:.15s}
.partc:hover{border-color:#C4B5FD;box-shadow:0 14px 30px rgba(120,0,255,.08)}
.partc .ph{display:flex;align-items:center;gap:12px}
.partc .ph .ico3d{width:46px;height:46px;border-radius:14px}
.partc .ph .ico3d svg{width:22px;height:22px}
.partc .ph .pn{font-size:12.5px;font-weight:800;color:var(--mut)}
.partc h5{font-size:19px;font-weight:800;white-space:nowrap}
.partc p{font-size:14.5px;color:var(--sub);line-height:1.6;flex:1}
.partc .pt{display:flex;gap:6px;flex-wrap:wrap}
.partc .pt span{font-size:12px;font-weight:700;border-radius:6px;padding:3px 8px;background:var(--bg);color:var(--sub);border:1px solid var(--bd)}
.partc .pt span.pl{background:var(--li);color:var(--pu2);border-color:#E9D5FF}
.shot{margin-top:28px;border-radius:24px;overflow:hidden;position:relative;background:#101014;box-shadow:0 30px 70px rgba(16,16,20,.25)}
.shot img{width:100%;display:block;height:280px;max-height:280px;object-fit:cover;object-position:center 35%}
.shot .st{position:absolute;left:28px;bottom:20px;color:#fff}
.shot .st b{display:block;font-size:22px;font-weight:800;text-shadow:0 2px 12px rgba(0,0,0,.5)}
.shot .st span{font-size:15px;opacity:.9}

/* 크리에이터되기 */
.aud4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.audc{border:1px solid var(--bd);border-radius:18px;padding:24px 22px;background:#fff;display:flex;flex-direction:column;gap:10px}
.audc .ah{display:flex;align-items:center;gap:12px}
.audc .ah img{width:52px;height:52px;object-fit:contain}
.audc .ah b{font-size:19px;font-weight:800;white-space:nowrap}
.audc .tag{font-size:12.5px;font-weight:800;color:var(--pu2)}
.audc ul{display:flex;flex-direction:column;gap:6px;list-style:none}
.audc li{font-size:15px;color:var(--tx);display:flex;gap:8px;align-items:flex-start;line-height:1.5}
.audc li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--pu);margin-top:9px;flex:none}
.journey{margin-top:30px;border-radius:24px;background:linear-gradient(160deg,#FBF8FF 0%,#F1E9FF 45%,#E9F4FF 100%);padding:40px 36px 36px;box-shadow:0 30px 70px rgba(100,63,206,.12)}
.journey .jh{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:22px}
.journey .jh h3{font-size:26px;font-weight:800;letter-spacing:-.02em;white-space:nowrap}
.journey .jh p{font-size:16px;color:var(--sub);margin:0;white-space:nowrap}
.jsteps{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.jstep{background:#fff;border-radius:18px;padding:20px 18px;position:relative;box-shadow:0 10px 24px rgba(100,63,206,.08)}
.jstep .jn{font-size:12.5px;font-weight:800;color:var(--pu);margin-bottom:8px}
.jstep b{display:block;font-size:17px;font-weight:800;margin-bottom:6px;white-space:nowrap}
.jstep span{font-size:14px;color:var(--sub);line-height:1.55;display:block}
.jstep a{display:inline-block;margin-top:10px;font-size:13.5px;font-weight:700;color:var(--pu2);text-decoration:none}
.journey .ctarow{margin-top:26px;justify-content:center}
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:26px}
.gallery div{border-radius:16px;overflow:hidden;aspect-ratio:4/3;background:#EEE}
.gallery img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.gallery div:hover img{transform:scale(1.04)}

/* 요금제 */
.plan3.big{grid-template-columns:repeat(3,1fr)}
.planc .pprice small{font-size:14px;color:var(--sub);font-weight:600;display:block;margin-top:4px;letter-spacing:0}
.plantable{margin-top:30px;border:1px solid var(--bd);border-radius:18px;overflow:hidden;background:#fff}
.plantable table{width:100%;border-collapse:collapse;font-size:15px}
.plantable th,.plantable td{padding:13px 18px;text-align:center;border-bottom:1px solid var(--bd)}
.plantable th{background:var(--bg);font-weight:800;font-size:15px}
.plantable th:first-child,.plantable td:first-child{text-align:left;font-weight:600;width:34%}
.plantable tr:last-child td{border-bottom:0}
.plantable td.ok{color:var(--pu);font-weight:800}
.plantable td.no{color:var(--mut)}
.plantable th.hot{color:var(--pu)}
.planstart{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.planstart label{font-size:15px;font-weight:700;color:var(--tx)}.planstart input[type=date]{border:1.5px solid var(--bd);border-radius:10px;padding:8px 12px;font:inherit;font-size:15px;background:#fff}.planstarthint{font-size:13.5px;color:var(--mut)}
.planc .popt{margin:-6px 0 14px}.planc .popt select{width:100%;border:1.5px solid var(--bd);border-radius:10px;padding:9px 10px;font:inherit;font-size:14px;background:#fff}.planc .pquote{font-size:14px;color:var(--sub);line-height:1.6;margin-top:8px}.planc .pquote s{color:var(--mut)}.planc .pquote b{color:var(--tx);font-size:16px}.planc .pquote .pnote{display:block;font-size:13px;color:#b45309}.planc .pbtn2{margin-top:8px;background:#fff!important;color:var(--pu)!important;border:1px solid var(--pu)!important}.planc .pbtn.link{background:var(--bg)!important;color:var(--tx)!important;border:1px dashed var(--bd)!important}
.plannote{margin-top:18px;display:flex;gap:10px;flex-wrap:wrap}
.plannote span{font-size:14.5px;color:var(--sub);background:var(--bg);border-radius:10px;padding:10px 14px;display:inline-flex;gap:8px;align-items:center}
.plannote span::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--pu);flex:none}

/* 연수 */
.trainband{margin-top:28px;border-radius:20px;background:var(--tx);color:#fff;padding:30px 34px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.trainband b{font-size:22px;font-weight:800;display:block;margin-bottom:6px;white-space:nowrap}
.trainband span{font-size:15.5px;opacity:.85}
.trainband .btnO{flex:none;background:#fff;border-color:#fff;color:var(--tx);width:auto}
.coursec .cprice{font-size:22px;font-weight:800;color:var(--pu2);margin-bottom:4px}

/* 학교 도입 자료 + FAQ */
.docs3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.faq{margin-top:0;border:1px solid var(--bd);border-radius:18px;overflow:hidden;background:#fff}
.faq details{border-bottom:1px solid var(--bd)}
.faq details:last-child{border-bottom:0}
.faq summary{list-style:none;cursor:pointer;padding:18px 22px;font-size:17px;font-weight:800;display:flex;align-items:center;justify-content:space-between;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:22px;color:var(--pu);font-weight:400}
.faq details[open] summary::after{content:"−"}
.faq .fa{padding:0 22px 20px;font-size:15.5px;color:var(--sub);line-height:1.7}
.faq .fa a{color:var(--pu2);font-weight:700;text-decoration:none}

/* 구독 담기 안내 모달 */
.subbox .mk-list{margin:0 0 18px}
.subbox .mk-actions .btnP:disabled{opacity:.6;cursor:default}

/* 로컬 영상 모달 */
.rws-vmodal{position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:500;display:flex;align-items:center;justify-content:center;padding:20px}
.rws-vmodal .box{position:relative;width:min(900px,100%);background:#000;border-radius:14px;overflow:hidden}
.rws-vmodal video{width:100%;height:auto;display:block;max-height:80vh}
.rws-vmodal .x{position:absolute;top:10px;right:10px;width:40px;height:40px;border:0;border-radius:8px;background:rgba(255,255,255,.3);color:#fff;font-size:24px;cursor:pointer;z-index:2}

@media(max-width:1024px){
 .core4,.tech4,.steps4,.parts,.aud4,.vgrid.four{grid-template-columns:repeat(2,1fr)}
 .flow{grid-template-columns:repeat(2,1fr)}.flow .fs::after{display:none}
 .jsteps{grid-template-columns:repeat(2,1fr)}
 .vgrid,.docs3{grid-template-columns:repeat(2,1fr)}
 .plan3.big{grid-template-columns:1fr}
 .journey .jh,.trainband{flex-direction:column;align-items:flex-start}.trainband b{white-space:normal}.trainband > div{min-width:0}
 .journey .jh p,.subdesc,.subl.one{white-space:normal}
 .plantable{overflow-x:auto}.plantable table{min-width:720px}
 .gallery{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
 .core4,.tech4,.steps4,.parts,.aud4,.vgrid,.vgrid.four,.docs3,.flow,.jsteps{grid-template-columns:1fr}
 .secnav .wrap{height:50px}.secnav a{height:50px;font-size:15px;padding:0 10px}
 .stepc h5,.partc h5,.audc .ah b,.jstep b,.corec h5{white-space:normal}
 .subhead{flex-direction:column;align-items:flex-start;gap:6px}.subhead h3{white-space:normal}
 .studiohero .ctarow .btnO{width:auto}
}
