/* 체험 상세페이지 40종 — 공통 컴포넌트 + 히어로/장식/갤러리 변주. 보조색은 article 의 --ac */
.x{--ac:#0e7c86;--ac-s:color-mix(in srgb,var(--ac) 8%,#fff);--ac-m:color-mix(in srgb,var(--ac) 20%,#fff);--ac-d:color-mix(in srgb,var(--ac) 78%,#000);--xr:22px;background:#fff;color:var(--ink)}
.xw{width:min(1120px,100% - 40px);margin-inline:auto}
.x p,.x li,.x dd{overflow-wrap:anywhere}
.callnum{font-family:var(--serif);font-size:clamp(30px,6vw,46px);font-weight:700;letter-spacing:.02em;margin:18px 0 6px}

/* ── hero ── */
.xh{padding:22px 0 30px;background:linear-gradient(180deg,var(--ac-s),#fff 92%)}
.xh-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:clamp(22px,4vw,56px);align-items:center}
.xh .crumb{margin-bottom:18px}
.xh h1{font-family:var(--serif);font-weight:700;font-size:clamp(34px,5.6vw,76px);line-height:1.08;letter-spacing:-.045em;word-break:keep-all}
.xh h1::before{content:"";display:block;width:56px;height:6px;border-radius:6px;background:var(--ac);margin-bottom:20px}
.xlead0{margin-top:20px;font-size:clamp(16px,1.7vw,19.5px);line-height:1.7;color:var(--ink2);max-width:600px}
.xbtn{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.xbtn .btn{min-height:50px}
.xb-main{background:var(--ac);color:#fff}
.xb-sub{border:1.5px solid var(--ac);color:var(--ac-d);background:#fff}
.xhph{border-radius:var(--xr);box-shadow:0 22px 50px rgba(22,35,27,.16)}
.w169{aspect-ratio:16/9}.w21{aspect-ratio:21/9}
.xh-splitl .xh-in{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
.xh-splitl .xh-p{order:-1}
.xh-arch .xhph{border-radius:260px 260px var(--xr) var(--xr);aspect-ratio:4/5;max-height:620px}
.xh-arch .xh-in{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.xh-tall .xh-in{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.xh-tall .xh-p{order:-1;max-width:460px}
.xh-tall .xhph{border-radius:var(--xr) var(--xr) 140px var(--xr);max-height:600px}
.xh-banner .xh-in,.xh-center .xh-in{grid-template-columns:1fr}
.xh-banner .xh-p,.xh-center .xh-p{grid-row:1}
.xh-banner .xh-in{gap:24px}
.xh-banner .xh-t{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:8px 48px;align-items:end}
.xh-banner .crumb{grid-column:1/3}
.xh-banner .xh-t h1{grid-column:1}
.xh-banner .xlead0{grid-column:2;margin-top:0;max-width:none}
.xh-banner .xbtn{grid-column:1/3}
.xh-center .xh-t{text-align:center;display:flex;flex-direction:column;align-items:center}
.xh-center .xh-t h1::before{margin-inline:auto}
.xh-center .crumb ol{justify-content:center}
.xh-center .xbtn{justify-content:center}
.xh-center .xh-p{margin-top:8px}
.xh-center .xhph{border-radius:var(--xr) var(--xr) 120px 120px}
.xh-center .xh-in{display:flex;flex-direction:column-reverse}
.xh-center .xh-in .xh-p{order:2}
.xh-center .xh-in .xh-t{order:1}
.xh-full .xh{padding:0;background:#16231b;position:relative}
.xh-full .xh-in{display:block;width:100%;position:relative;min-height:clamp(440px,64vh,640px)}
.xh-full .xh-p{position:absolute;inset:0}
.xh-full .xhph{position:absolute;inset:0;width:100%;height:100%;border-radius:0;box-shadow:none;aspect-ratio:auto}
.xh-full .xhph img{position:absolute;inset:0}
.xh-full .xh-in::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,20,14,.15) 0,rgba(10,20,14,.38) 40%,rgba(10,20,14,.84) 100%)}
.xh-full .xh-t{position:absolute;z-index:2;left:max(20px,calc((100% - 1120px)/2));right:20px;bottom:34px;max-width:760px;color:#fff}
.xh-full .xh h1{color:#fff;text-shadow:0 2px 24px rgba(0,0,0,.35)}
.xh-full .xh h1::before{background:#fff}
.xh-full .xlead0{color:rgba(255,255,255,.92)}
.xh-full .crumb,.xh-full .crumb a{color:rgba(255,255,255,.88)}
.xh-full .xb-main{background:#fff;color:var(--ac-d)}
.xh-full .xb-sub{background:transparent;color:#fff;border-color:rgba(255,255,255,.7)}
.xh-full + .xw{margin-top:22px}

/* ── gallery (데스크톱 4열 · 모바일 2열, 페이지별 1:1 또는 3:4 통일) ── */
.xg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:26px auto 8px;list-style:none;padding:0}
.xg .ph{border-radius:calc(var(--xr) - 6px)}
.xg .xcap{margin-top:8px;font-size:13px;line-height:1.5;color:var(--muted)}
.xk{display:inline-block;margin-right:6px;padding:1px 8px;border-radius:999px;background:var(--ac-m);color:var(--ac-d);font-size:11.5px;font-weight:700}
.g-stagger .xg li:nth-child(even){margin-top:30px}
.g-caption .xg li{position:relative}
.g-caption .xg .xcap{position:absolute;left:0;right:0;bottom:0;margin:0;padding:34px 12px 12px;color:#fff;background:linear-gradient(transparent,rgba(10,20,14,.78));border-radius:0 0 calc(var(--xr) - 6px) calc(var(--xr) - 6px);font-size:12.5px}
.g-caption .xg .xk{background:#fff;color:var(--ac-d)}
.g-frame .xg li{background:#fff;padding:8px 8px 4px;border:1px solid var(--ac-m);border-radius:calc(var(--xr) - 4px);box-shadow:0 10px 26px rgba(22,35,27,.09)}
.g-frame .xg .ph{border-radius:calc(var(--xr) - 10px)}
.g-row .xg .xcap{border-top:2px solid var(--ac);padding-top:6px}

/* ── body blocks ── */
.xb{padding:6px 0 40px}
.xs{padding:clamp(34px,5vw,60px) 0}
.xb>.xs:nth-child(even){background:var(--ac-s)}
.xs h2{font-family:var(--serif);font-size:clamp(23px,3vw,34px);line-height:1.3;letter-spacing:-.03em;margin-bottom:18px;color:var(--ink);word-break:keep-all}
.xs h3{font-family:var(--serif);font-size:clamp(17px,1.8vw,20px);line-height:1.4;margin-bottom:6px;word-break:keep-all}
.xp p{margin-bottom:14px;max-width:70ch}
.xlead{max-width:70ch;margin:-4px 0 20px;color:var(--ink2)}
.xnote{margin-top:14px;font-size:14px;color:var(--muted);max-width:70ch}
.v-cols .xp{columns:2 340px;column-gap:44px}
.v-cols .xp p{break-inside:avoid;max-width:none}
.v-lead .xp p:first-child{font-size:clamp(18px,2vw,22px);line-height:1.65;font-family:var(--serif);color:var(--ink2)}
.xaside{margin-top:20px;padding:18px 22px;border-left:5px solid var(--ac);background:var(--ac-s);border-radius:0 var(--xr) var(--xr) 0;max-width:70ch}
.xaside p{font-size:15.5px}
.xsplit{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:clamp(20px,4vw,48px);align-items:start}
.xcall{padding:clamp(22px,3vw,34px);border:2px solid var(--ac);border-radius:var(--xr);background:#fff}
.xcall h2{margin-bottom:10px;font-size:clamp(20px,2.4vw,26px)}
.xcall p{max-width:72ch}
.xs-callout .xw{}

/* table */
.xt{border:1px solid var(--ac-m);border-radius:var(--xr);overflow:hidden;background:#fff}
.xt table{width:100%;min-width:0;border-collapse:collapse;font-size:15.5px}
.xt th,.xt td{padding:13px 16px;text-align:left;border-bottom:1px solid var(--ac-m);vertical-align:top;border-right:1px solid var(--ac-m)}
.xt th:last-child,.xt td:last-child{border-right:0}
.xt thead th{background:var(--ac);color:#fff;white-space:normal}
.xt tbody th{background:var(--ac-s);color:var(--ac-d);font-weight:700;width:22%;white-space:normal}
.xt tbody tr:last-child>*{border-bottom:0}
.xsheet td.blank{height:64px;background:repeating-linear-gradient(transparent 0 30px,var(--ac-m) 30px 31px)}
.xprint{margin-top:16px}
.xprint button{min-height:46px;padding:0 22px;border-radius:999px;border:1.5px solid var(--ac);color:var(--ac-d);font-weight:600;background:#fff}
@media print{.hdr,.xh,.xg,.xs:not(.xs-sheet),.xr,.xo,.cta,.ftr,.xprint{display:none!important}.xs-sheet{display:block!important;background:#fff!important}}

/* steps */
.xsteps{display:grid;gap:12px;counter-reset:none}
.xsteps li{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;padding:18px 20px;background:#fff;border:1px solid var(--ac-m);border-radius:var(--xr)}
.xn{font-family:var(--serif);font-size:34px;line-height:1;color:var(--ac);font-weight:700}
.xsteps p{font-size:15.5px;color:var(--ink2)}
.v-flow .xsteps{grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:0}
.v-flow .xsteps li{grid-template-columns:1fr;border-radius:0;border-width:1px 0 1px 1px;position:relative;padding:22px 18px}
.v-flow .xsteps li:first-child{border-radius:var(--xr) 0 0 var(--xr)}
.v-flow .xsteps li:last-child{border-radius:0 var(--xr) var(--xr) 0;border-width:1px}
.v-flow .xsteps li:not(:last-child)::after{content:"";position:absolute;right:-9px;top:50%;width:16px;height:16px;background:#fff;border-top:1px solid var(--ac-m);border-right:1px solid var(--ac-m);transform:translateY(-50%) rotate(45deg);z-index:1}
.v-time .xsteps li{background:var(--ac-s);border:0;border-left:6px solid var(--ac);border-radius:0 var(--xr) var(--xr) 0}
.v-path .xsteps{position:relative;padding-left:20px;border-left:3px dashed var(--ac)}
.v-path .xsteps li{position:relative}
.v-path .xsteps li::before{content:"";position:absolute;left:-30px;top:26px;width:16px;height:16px;border-radius:50%;background:var(--ac);border:3px solid #fff}

/* cards */
.xcards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.xcards li{padding:22px;background:#fff;border:1px solid var(--ac-m);border-radius:var(--xr);position:relative}
.xcards p{font-size:15.5px;color:var(--ink2)}
.xi{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 12px;border-radius:999px;background:var(--ac);color:#fff;font-weight:700;font-size:15px;margin-bottom:12px;font-family:var(--serif)}
.v-grid4 .xcards{grid-template-columns:repeat(4,minmax(0,1fr))}
.v-grid2 .xcards{grid-template-columns:repeat(2,minmax(0,1fr))}
.v-list .xcards{grid-template-columns:1fr}
.v-list .xcards li{display:grid;grid-template-columns:70px minmax(0,1fr);column-gap:16px}
.v-list .xcards .xi{grid-row:1/3}
.v-plain .xcards li{border:0;border-top:3px solid var(--ac);border-radius:0;background:transparent;padding:16px 4px}
.v-plain .xi{background:none;color:var(--ac);padding:0;justify-content:flex-start;height:auto;min-width:0;font-size:28px}

/* compare */
.xcmp{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
.xcmp.n3{grid-template-columns:repeat(3,minmax(0,1fr))}
.xcmp.n4{grid-template-columns:repeat(4,minmax(0,1fr))}
.xcol{padding:22px;background:#fff;border:1px solid var(--ac-m);border-radius:var(--xr);border-top:6px solid var(--ac)}
.xcol:nth-child(2){border-top-color:var(--ac-d)}
.xcol ul li{position:relative;padding:7px 0 7px 20px;border-bottom:1px dashed var(--ac-m);font-size:15.5px}
.xcol ul li:last-child{border-bottom:0}
.xcol ul li::before{content:"";position:absolute;left:2px;top:17px;width:8px;height:8px;border-radius:50%;background:var(--ac)}
.xcol p{margin-top:10px;font-size:14.5px;color:var(--muted)}
.v-board .xcol{background:var(--ac-s);border:0;border-top:0;border-radius:var(--xr)}
.v-board .xcol h3{padding-bottom:8px;border-bottom:2px solid var(--ac);margin-bottom:8px}

/* checks */
.xchk{display:grid;gap:8px;margin:0;padding:0}
.xchk li{position:relative;padding:12px 16px 12px 52px;background:#fff;border:1px solid var(--ac-m);border-radius:calc(var(--xr) - 8px);font-size:15.5px;min-height:48px}
.xchk li::before{content:"";position:absolute;left:16px;top:50%;width:22px;height:22px;margin-top:-11px;border:2px solid var(--ac);border-radius:6px;background:#fff}
.xchk li::after{content:"";position:absolute;left:23px;top:50%;width:6px;height:11px;margin-top:-7px;border:solid var(--ac);border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.xchk b{color:var(--ac-d)}
.v-two .xchk{grid-template-columns:repeat(2,minmax(0,1fr))}
.v-safety .xchk li{border-left:6px solid var(--ac);padding-left:56px}
.xs-prep .xchk{grid-template-columns:repeat(2,minmax(0,1fr))}

/* qs / gloss / facts */
.xqs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;counter-reset:q}
.xqs li{counter-increment:q;position:relative;padding:18px 18px 18px 64px;background:#fff;border:1px solid var(--ac-m);border-radius:var(--xr);font-weight:500}
.xqs li::before{content:"Q" counter(q);position:absolute;left:14px;top:14px;width:38px;height:38px;border-radius:50%;background:var(--ac);color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.v-list .xqs{grid-template-columns:1fr}
.xgl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 36px}
.xgl div{padding:14px 0;border-bottom:1px solid var(--ac-m)}
.xgl dt{font-family:var(--serif);font-weight:700;font-size:18px;color:var(--ac-d)}
.xgl dd{font-size:15.5px;color:var(--ink2)}
.xfacts div{display:grid;grid-template-columns:170px minmax(0,1fr);gap:14px;padding:13px 0;border-bottom:1px solid var(--ac-m)}
.xfacts dt{font-weight:700;color:var(--ac-d)}

/* faq / related / company */
.xfaq{display:grid;gap:12px}
.xfaq .qa{padding:20px 22px;background:#fff;border:1px solid var(--ac-m);border-left:6px solid var(--ac);border-radius:0 var(--xr) var(--xr) 0}
.xfaq h3{font-size:clamp(17px,1.8vw,20px);margin-bottom:8px}
.xfaq p{font-size:15.5px;color:var(--ink2)}
.xr{padding:46px 0;background:#f6f7f4;border-top:1px solid var(--line)}
.xr-in{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:40px}
.xr h2{font-family:var(--serif);font-size:clamp(20px,2.4vw,26px);margin-bottom:14px}
.xrel li{padding:12px 0;border-bottom:1px solid var(--line)}
.xrel a{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--ac-d);min-height:44px}
.xrel span{display:block;font-size:14.5px;color:var(--muted)}
.xo{padding:22px 0;background:#fff;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.xo p+p{margin-top:6px}
.xo a{text-decoration:underline}

/* ── 장식 변주 ── */
.d-sharp{--xr:0px}
.d-sharp .xs h2{border-top:4px solid var(--ac);padding-top:12px}
.d-sharp .xhph,.d-sharp .xg .ph{border-radius:0}
.d-ruled{--xr:8px}
.d-ruled .xs h2{padding-bottom:10px;border-bottom:2px solid var(--ac)}
.d-tab{--xr:14px}
.d-tab .xs h2{display:inline-block;padding:6px 18px;border-radius:12px 12px 12px 0;background:var(--ac);color:#fff;font-size:clamp(20px,2.4vw,28px)}
.d-note{--xr:10px}
.d-note .xb{background-image:repeating-linear-gradient(transparent 0 33px,rgba(0,0,0,.035) 33px 34px)}
.d-note .xs h2{font-style:normal;background:linear-gradient(transparent 60%,var(--ac-m) 0);display:inline-block}
.d-pill{--xr:28px}
.d-pill .xs h2{padding-left:20px;position:relative}
.d-pill .xs h2::before{content:"";position:absolute;left:0;top:.28em;width:10px;height:.9em;border-radius:6px;background:var(--ac)}
.d-pill .xbtn .btn{border-radius:999px}
.d-sharp .btn,.d-sharp .xprint button{border-radius:0}
.d-round .xs h2::after{content:"";display:block;width:44px;height:4px;border-radius:4px;background:var(--ac);margin-top:10px}

/* hub (/services/) */
.xhub-h{font-family:var(--serif);font-size:22px;margin:34px 0 14px;padding-bottom:8px;border-bottom:2px solid var(--ink)}
.xhub-l{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.xhub-l a{display:block}
.xhub-l .ph{border-radius:16px}
.xhub-l .t{display:block;margin-top:10px;font-family:var(--serif);font-weight:700;font-size:18px;line-height:1.35}
.xhub-l .d{display:block;margin-top:4px;font-size:14px;color:var(--muted);line-height:1.55}

/* ── responsive ── */
@media (max-width:900px){
  .xh:not(.x) .x{}
  .xh-splitr .xh-p,.xh-splitl .xh-p,.xh-arch .xh-p,.xh-tall .xh-p{order:-1}
  .xh-in{gap:20px}
  .xh-in,.xh-splitl .xh-in,.xh-arch .xh-in,.xh-tall .xh-in{grid-template-columns:1fr}
  .xh-tall .xh-p{max-width:none}
  .xh-tall .xhph{aspect-ratio:4/3}
  .xh-arch .xhph{aspect-ratio:4/3;border-radius:120px 120px var(--xr) var(--xr)}
  .xh-banner .xh-t{display:block}
  .xh-banner .xlead0{margin-top:20px}
  .xh-full .xh-in{min-height:520px}
  .xcards,.v-grid4 .xcards,.xcmp.n3,.xcmp.n4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .xsplit,.xr-in{grid-template-columns:1fr}
  .xhub-l{grid-template-columns:repeat(3,minmax(0,1fr))}
  .v-flow .xsteps{grid-auto-flow:row}
  .v-flow .xsteps li,.v-flow .xsteps li:first-child,.v-flow .xsteps li:last-child{border-radius:0;border-width:1px 1px 0}
  .v-flow .xsteps li:last-child{border-width:1px;border-radius:0 0 var(--xr) var(--xr)}
  .v-flow .xsteps li:first-child{border-radius:var(--xr) var(--xr) 0 0}
  .v-flow .xsteps li:not(:last-child)::after{display:none}
}
@media (max-width:700px){
  .w21{aspect-ratio:4/3}
  .xg{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .g-stagger .xg li:nth-child(even){margin-top:18px}
  .xcards,.v-grid4 .xcards,.v-grid2 .xcards,.xcmp,.xcmp.n3,.xcmp.n4,.xqs,.xgl,.v-two .xchk,.xs-prep .xchk{grid-template-columns:1fr}
  .xfacts div{grid-template-columns:1fr;gap:2px}
  .xhub-l{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .xt table,.xt thead,.xt tbody,.xt tr,.xt th,.xt td{display:block;width:100%}
  .xt thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .xt tr{border-bottom:2px solid var(--ac-m)}
  .xt tr:last-child{border-bottom:0}
  .xt th,.xt td{border-right:0}
  .xt tbody th{width:100%}
  .xt td[data-l]::before{content:attr(data-l);display:block;font-size:12.5px;font-weight:700;color:var(--ac-d);margin-bottom:2px}
  .xsheet td.blank{height:78px}
  .xh-full .xh-t{bottom:22px}
  .xh h1{font-size:clamp(32px,9.4vw,46px)}
  .xbtn .btn{flex:1 1 100%}
  .v-cols .xp{columns:1}
}
