/* =========================================================
   위어스코리아 컬럼 (/column/…) — style.css 위에 얹는다
   ========================================================= */
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pv-banner { position: fixed; z-index: 400; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 10px 18px; border-radius: 99px; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 700; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); }

/* ---------- 머리 (어두운 구역) ---------- */
.chero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(140px, 15vw, 210px) 0 clamp(110px, 11vw, 170px); background: var(--ink); color: #fff; }
.chero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.chero__bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: cfloat 16s ease-in-out infinite alternate; }
.chero__bg i:nth-child(1) { width: 46vw; height: 46vw; left: 52%; top: -18vw; background: radial-gradient(closest-side, var(--blue), transparent); }
.chero__bg i:nth-child(2) { width: 36vw; height: 36vw; left: -8vw; top: 30%; background: radial-gradient(closest-side, var(--violet), transparent); animation-duration: 20s; animation-delay: -6s; }
.chero__bg i:nth-child(3) { width: 26vw; height: 26vw; left: 72%; top: 55%; background: radial-gradient(closest-side, var(--sky), transparent); opacity: .35; animation-duration: 13s; animation-delay: -3s; }
@keyframes cfloat { to { transform: translate3d(-6vw, 4vw, 0) scale(1.15); } }
.chero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 7, 26, .2), rgba(6, 7, 26, .55)); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-l); margin-bottom: clamp(28px, 3vw, 44px); }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: .5; }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }

.chero__title { font-size: clamp(54px, 9.4vw, 168px); line-height: .98; letter-spacing: -.06em; font-weight: 800; max-width: 14ch; }
.chero__title .kserif { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .06em; }
.chero__title--article { font-size: clamp(34px, 4.9vw, 78px); line-height: 1.14; letter-spacing: -.05em; max-width: 22ch; word-break: keep-all; }
.chero__lead { margin-top: clamp(22px, 2.4vw, 34px); max-width: 46ch; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.7; color: rgba(255, 255, 255, .78); }
.chero__meta { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: clamp(34px, 3.6vw, 52px); padding-top: 22px; border-top: 1px solid var(--line-l); font-size: 14.5px; font-weight: 600; }
.chero__meta li { display: flex; align-items: baseline; gap: 10px; }
.chero__meta .mono { font-size: 10.5px; text-transform: uppercase; color: var(--muted-l); font-weight: 400; letter-spacing: .06em; }
.chero__meta small { font-size: 12.5px; color: var(--muted-l); font-weight: 500; }

html.js .chero .crumbs, html.js .chero__title, html.js .chero__lead, html.js .chero__meta, html.js .cats { opacity: 0; transform: translate3d(0, 34px, 0); }
html.js.loaded .chero .crumbs, html.js.loaded .chero__title, html.js.loaded .chero__lead, html.js.loaded .chero__meta, html.js.loaded .cats { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
html.js.loaded .chero__title { transition-delay: .08s; }
html.js.loaded .chero__lead { transition-delay: .18s; }
html.js.loaded .chero__meta, html.js.loaded .cats { transition-delay: .28s; }

/* 분류 */
.cats ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(36px, 4vw, 56px); }
.cats a { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .22); font-size: 14px; font-weight: 600; transition: background .35s, color .35s, border-color .35s; }
.cats a:hover { border-color: #fff; }
.cats a.is-active { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- 목록 ---------- */
.clist, .abody, .amore, .acta { position: relative; z-index: 2; border-radius: clamp(28px, 4vw, 64px) clamp(28px, 4vw, 64px) 0 0; margin-top: calc(-1 * clamp(28px, 4vw, 64px)); }
.clist { padding: clamp(70px, 8vw, 120px) 0 clamp(110px, 12vw, 180px); min-height: 40vh; }
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.ccard a { display: grid; grid-template-rows: auto 1fr; height: 100%; padding: 14px; border-radius: 28px; background: #fff; border: 1px solid var(--line-d); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.ccard a:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -34px rgba(11, 12, 31, .4); }
.ccard__img { display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--ink); }
.ccard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.ccard a:hover .ccard__img img { transform: scale(1.05); }
.ccard__img i { display: block; width: 100%; height: 100%; background: radial-gradient(60% 80% at 75% 30%, rgba(51, 102, 255, .75), transparent 60%), radial-gradient(50% 70% at 20% 80%, rgba(123, 92, 255, .65), transparent 60%), radial-gradient(30% 40% at 60% 90%, rgba(44, 183, 242, .5), transparent 60%), var(--ink); }
.ccard__txt { display: grid; align-content: start; gap: 12px; padding: 20px 10px 12px; }
.ccard__meta { font-size: 11.5px; color: var(--muted-d); text-transform: uppercase; letter-spacing: .03em; }
.ccard__title { font-size: clamp(19px, 1.55vw, 24px); line-height: 1.38; letter-spacing: -.035em; font-weight: 800; }
.ccard__sum { font-size: 15px; line-height: 1.65; color: #3b3e55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ccard__more { margin-top: 6px; font-size: 12px; color: var(--blue); letter-spacing: .04em; text-transform: uppercase; transition: transform .5s var(--ease); }
.ccard a:hover .ccard__more { transform: translateX(6px); }
.ccard--feature { grid-column: 1 / -1; }
.ccard--feature a { grid-template-columns: 1.25fr 1fr; grid-template-rows: none; align-items: center; gap: clamp(20px, 3vw, 48px); }
.ccard--feature .ccard__img { aspect-ratio: 16 / 9.5; }
.ccard--feature .ccard__title { font-size: clamp(26px, 2.8vw, 44px); line-height: 1.2; letter-spacing: -.045em; }
.ccard--feature .ccard__sum { font-size: 16.5px; -webkit-line-clamp: 4; }
.cempty { display: grid; justify-items: start; gap: 28px; padding: 40px 0; }
.cempty__t { font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; letter-spacing: -.035em; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: clamp(44px, 5vw, 72px); padding-top: 24px; border-top: 1px solid var(--line-d); font-size: 13px; text-transform: uppercase; }
.pager a:last-child { justify-self: end; }
.pager a:hover { color: var(--blue); }

/* ---------- 본문 ---------- */
.abody { padding: clamp(60px, 7vw, 110px) 0 clamp(110px, 12vw, 170px); }
.acover { margin: calc(-1 * clamp(130px, 13vw, 210px)) auto clamp(56px, 6vw, 90px); position: relative; z-index: 3; }
.acover img { width: 100%; max-height: 720px; object-fit: cover; border-radius: clamp(22px, 2.6vw, 40px); box-shadow: 0 40px 90px -40px rgba(6, 7, 26, .6); }
.abody__grid { display: grid; grid-template-columns: minmax(200px, 270px) minmax(0, 760px); justify-content: center; gap: clamp(40px, 6vw, 110px); align-items: start; }

.toc { position: sticky; top: 110px; display: grid; gap: 14px; font-size: 14.5px; }
.toc__label { font-size: 11.5px; text-transform: uppercase; color: var(--muted-d); letter-spacing: .06em; }
.toc ol { counter-reset: toc; border-left: 1.5px solid var(--line-d); }
.toc li { counter-increment: toc; }
.toc a { position: relative; display: grid; grid-template-columns: 26px 1fr; padding: 8px 0 8px 16px; margin-left: -1.5px; border-left: 1.5px solid transparent; color: var(--muted-d); line-height: 1.45; transition: color .3s, border-color .3s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font: 11px/1.9 var(--f-mono); opacity: .7; }
.toc a:hover { color: var(--text-d); }
.toc a.is-active { color: var(--text-d); border-color: var(--blue); font-weight: 700; }
.toc__share { justify-self: start; margin-top: 10px; height: 38px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-d); background: transparent; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.toc__share:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.toc__share.is-done { background: var(--green); border-color: var(--green); color: #fff; }

.article { min-width: 0; }
.keybox { position: relative; margin-bottom: clamp(40px, 4vw, 56px); padding: clamp(24px, 2.6vw, 34px) clamp(24px, 2.8vw, 38px); border-radius: 24px; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.keybox::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 100% 0%, rgba(51, 102, 255, .55), transparent 60%), radial-gradient(50% 80% at 0% 100%, rgba(123, 92, 255, .4), transparent 60%); }
.keybox__label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-l); margin-bottom: 14px; }
.keybox ul { display: grid; gap: 10px; }
.keybox li { position: relative; padding-left: 24px; font-size: 16.5px; line-height: 1.65; font-weight: 600; }
.keybox li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }

.prose { font-size: 18px; line-height: 1.9; color: #24263c; letter-spacing: -.012em; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { position: relative; margin-top: 2.6em; padding-top: 22px; font-size: clamp(25px, 2.2vw, 32px); line-height: 1.35; letter-spacing: -.045em; font-weight: 800; color: var(--text-d); scroll-margin-top: 100px; }
.prose h2::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 4px; border-radius: 4px; background: var(--grad); }
.prose h3 { margin-top: 2em; font-size: clamp(20px, 1.6vw, 23px); line-height: 1.45; letter-spacing: -.035em; font-weight: 800; color: var(--text-d); scroll-margin-top: 100px; }
.prose h4 { margin-top: 1.8em; font-size: 18px; font-weight: 800; color: var(--text-d); }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .8em; }
.prose strong { color: var(--text-d); font-weight: 700; background: linear-gradient(transparent 64%, rgba(44, 183, 242, .25) 64%); }
.prose a { color: var(--blue); border-bottom: 1px solid rgba(51, 102, 255, .35); transition: border-color .3s; }
.prose a:hover { border-color: var(--blue); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--blue); }
.prose blockquote { padding: 6px 0 6px 24px; border-left: 3px solid var(--violet); font-size: 19px; color: var(--text-d); font-weight: 600; }
.prose hr { border: 0; height: 1px; background: var(--line-d); margin: 2.6em 0; }
.prose code { font-family: var(--f-mono); font-size: .86em; padding: 2px 7px; border-radius: 6px; background: var(--paper-2); }
.prose pre { padding: 20px; border-radius: 16px; background: var(--ink); color: #e8e9ff; overflow-x: auto; font-size: 14px; line-height: 1.7; }
.prose pre code { padding: 0; background: none; }
.prose img { border-radius: 18px; }
.prose .fig { margin-top: 2em; margin-bottom: 2em; }
/* 본문 이미지: 가운데 두고, 세로로 긴 사진(휴대폰 화면 등)은 화면 높이를 넘지 않게 */
.prose .fig img { display: block; margin-inline: auto; width: auto; max-width: 100%; max-height: min(78vh, 760px); height: auto; }
.prose figcaption { margin-top: 12px; font-size: 14px; color: var(--muted-d); text-align: center; }
.prose .tbl { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line-d); background: #fff; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.6; }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--line-d); text-align: left; vertical-align: top; }
.prose th { background: var(--paper-2); font-weight: 700; color: var(--text-d); white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }

.afaq, .asrc { margin-top: clamp(56px, 6vw, 84px); }
.afaq h2, .asrc h2 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.04em; font-weight: 800; margin-bottom: 18px; scroll-margin-top: 100px; }
.afaq__list { border-top: 1.5px solid var(--text-d); }
.afaq .qa__a p { padding-right: 20px; }
.asrc ol { list-style: decimal; padding-left: 1.4em; display: grid; gap: 8px; font-size: 15px; color: var(--muted-d); }
.asrc a { color: var(--text-d); border-bottom: 1px solid var(--line-d); word-break: break-all; transition: color .3s, border-color .3s; }
.asrc a:hover { color: var(--blue); border-color: var(--blue); }
.atags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(40px, 4vw, 56px); font-size: 12.5px; }
.atags li { padding: 6px 12px; border-radius: 99px; background: var(--paper-2); color: var(--muted-d); }
.byline { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; padding: 24px; border-radius: 22px; border: 1px solid var(--line-d); background: #fff; }
.byline__mark { flex: 0 0 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 20px; }
.byline__name { font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.byline__name span { margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--muted-d); }
.byline__bio { margin-top: 6px; font-size: 15px; line-height: 1.65; color: #3b3e55; }

/* 함께 읽기 */
.amore { background: var(--paper-2); color: var(--text-d); padding: clamp(90px, 10vw, 150px) 0 clamp(120px, 13vw, 190px); }
.amore__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.amore__title { font-size: clamp(30px, 3.6vw, 56px); line-height: 1.12; letter-spacing: -.05em; font-weight: 800; }
.amore__title .kserif { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.amore__all { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.amore__all:hover { color: var(--blue); }

/* 문의 */
.acta { background: var(--ink); color: #fff; padding: clamp(100px, 11vw, 170px) 0; overflow: hidden; isolation: isolate; }
.acta__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 15% 20%, rgba(51, 102, 255, .35), transparent 60%), radial-gradient(40% 50% at 90% 85%, rgba(123, 92, 255, .35), transparent 60%); animation: drift 12s ease-in-out infinite alternate; }
.acta__in { display: grid; justify-items: start; }
.acta__title { font-size: clamp(42px, 6.4vw, 112px); line-height: 1; letter-spacing: -.06em; font-weight: 800; margin-bottom: clamp(36px, 4vw, 56px); }
.chero--nf { min-height: 92vh; display: grid; align-items: center; }
.nf__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.colp-body .footer { margin-top: 0; }

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .abody__grid { grid-template-columns: minmax(0, 760px); }
  .toc { position: static; order: -1; padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line-d); }
  .toc:not(:has(ol)) { display: none; }
  .cgrid { grid-template-columns: repeat(2, 1fr); }
  .ccard--feature a { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cgrid { grid-template-columns: 1fr; }
  .prose { font-size: 17px; line-height: 1.85; }
  .chero__meta { gap: 10px 22px; font-size: 13.5px; }
  .amore__head { flex-direction: column; align-items: start; }
  .byline { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .chero__bg i, .acta__bg { animation: none; }
}
