/* 디자인 C 풀블리드 | 한경 웹진 디자인 파일 (규칙/디자인/C.css). 우리웹진.md의 디자인 칸으로 고른다. 팀이 고치지 않는다 */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;800;900&display=swap");

/* ===== 뼈대: 다섯 디자인이 같이 쓰는 부분 (공통 틀 · 영상 · 음악 · 유형별 구조) ===== */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--c-text); background: #fff; letter-spacing: var(--tracking); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; word-break: keep-all; overflow-wrap: break-word; }
main { display: block; background: var(--c-bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); word-break: keep-all; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 1240px) { .container { padding: 0; } }

/* 공통 틀 (규칙/공통틀.md): 상단 바 · 헤더 · 메뉴 · 푸터는 다섯 디자인 모두 같다. 디자인 파일에서 고치지 않는다 */
.topbar, .wz-header, .site-footer { font-family: "Noto Sans KR", -apple-system, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; letter-spacing: -0.02em; }
.topbar { height: 32px; background: #F7F7F7; display: flex; align-items: center; font-size: 12px; }
.topbar a { color: #585858; text-decoration: none; }
.topbar .container:has(.lang-switch) { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lang-switch { display: flex; gap: 12px; }
.lang-switch a[aria-current="page"] { color: #121212; font-weight: 700; }
.wz-header { border-bottom: 1px solid #DDDDDD; background: #fff; color: #121212; }
.wz-header .container { display: flex; flex-direction: column; align-items: center; padding-top: 20px; padding-bottom: 12px; gap: 10px; }
.wz-name { font-size: 28px; line-height: 1.3; font-weight: 700; color: #002D74; text-decoration: none; }
.wz-tagline { font-size: 13px; color: #585858; margin-top: -4px; }
.wz-nav { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 16px; font-size: 15px; font-weight: 500; }
.wz-nav a { text-decoration: none; padding: 10px 0; white-space: nowrap; color: #121212; }
.site-footer { border-top: 1px solid #DDDDDD; padding: 24px 0 96px; font-size: 12px; color: #585858; background: #fff; }
.site-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: #585858; }
@media (max-width: 767px) { .wz-name { font-size: 20px; } .wz-nav { font-size: 14px; } }

/* 버튼 · 작은 글자 */
.btn-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--btn-h); padding: 0 28px; border-radius: var(--r-btn); background: var(--c-btn); color: var(--c-btn-text); font-family: var(--font); font-size: 16px; font-weight: 700; text-decoration: none; border: var(--btn-border); box-shadow: var(--btn-shadow); cursor: pointer; transition: background .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease); }
.btn-cta::after { content: "→"; font-weight: 400; }
.btn-cta:hover { background: var(--c-btn-hover); color: var(--c-btn-text); }
.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--r-btn); border: var(--line-btn-border); background: transparent; color: var(--c-text); font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-line::before { content: "←"; font-weight: 400; }
.badge, .kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--c-accent); }
.share { width: 44px; height: 44px; flex: none; border-radius: var(--r-share); border: 1px solid var(--c-line); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

/* 서브메인 공통 */
.hero { position: relative; }
.hero picture, .mag-cover picture { display: block; }
.hero img, .mag-cover img, .feature img, .card img, .article-cover img { width: 100%; object-fit: cover; }
.section { margin-top: var(--gap-module); }
.section-title { margin: 0 0 24px; font-size: 32px; font-weight: var(--w-head); }
.feature { display: block; text-decoration: none; color: inherit; }
.feature-box h2 { margin: 0; }
.feature-box p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-grid); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card .card-img { overflow: hidden; }
.card img { transition: transform .4s var(--ease); }
.card:hover img, .feature:hover img { transform: scale(1.03); }
.feature img { transition: transform .4s var(--ease); }
.feature { overflow: hidden; }
.card h3 { margin: 0; }
.subscribe-slot { margin: 24px auto 0; max-width: 480px; padding: 14px; border: 1px dashed currentColor; font-size: 13px; opacity: .85; }

/* 모바일 하단 고정 CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--c-line); display: none; z-index: 10; }
.sticky-cta .btn-cta { width: 100%; }
.sticky-cta.is-on { display: block; }
@media (min-width: 768px) { .sticky-cta, .sticky-cta.is-on { display: none; } }

/* ===== 상세페이지 공통 ===== */
.article-head { max-width: calc(var(--article) + 40px); margin: 56px auto 0; padding: 0 20px; }
.article-head h1 { margin: 12px 0 0; font-size: 44px; line-height: 1.3; font-weight: var(--w-head); }
.meta { margin-top: 20px; padding: 14px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.meta .who { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--c-sub); flex-wrap: wrap; }
.meta .avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--c-surface); border: 1px solid var(--c-line); }
.article-cover { max-width: 1240px; margin: 32px auto 0; padding: 0 20px; }
.article-cover img { aspect-ratio: 16 / 9; }
.article-body { max-width: calc(var(--article) + 40px); margin: 48px auto 0; padding: 0 20px; font-size: 18px; line-height: 1.9; counter-reset: sec; }
.article-body > .meta { margin: 0 0 24px; padding: 0; }
.article-body .summary, .article-body > .meta + p { font-size: 20px; line-height: 1.8; font-weight: 500; margin: 0 0 32px; }
.article-body p { margin: 0 0 28px; }
.article-body > h2 { margin: 64px 0 16px; font-size: 26px; line-height: 1.4; font-weight: var(--w-head); }
.article-body > h2:not(:has(+ .info))::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); display: block; margin-bottom: 8px; font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--c-accent); }
.article-body figure { margin: 36px 0; }
.article-body figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-img); }
.article-body figcaption, .caption, .pair-caption { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--c-sub); }
.pull { margin: 56px 0; }
.article-body .pull { font-family: var(--font-head); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 40px 0 0; align-items: start; }
.pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-img); }
.article-body .pair-caption { margin: 10px 0 36px; }
.article-body figure.wide { margin: 48px 0; }
.article-body figure.wide img { aspect-ratio: 16 / 9; }
/* 기본 정보 */
.article-body > h2:has(+ .info) { margin: 64px 0 0; font-size: 20px; }
.info { margin: 12px 0 0; font-size: 16px; line-height: 1.7; }
.info div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.info dt { font-weight: 700; }
.info dd { margin: 0; }
.article-body .checked { margin: 12px 0 32px; font-size: 13px; line-height: 1.6; color: var(--c-sub); }
/* 기사 끝 */
.article-end { max-width: calc(var(--article) + 40px); margin: 0 auto; padding: 0 20px 96px; }
.end-cta { margin-top: 64px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.end-cta p { margin: 0; font-family: var(--font-head); font-size: 24px; line-height: 1.4; font-weight: var(--w-head); word-break: keep-all; }
.related { margin-top: 72px; }
.related h2 { margin: 0 0 20px; font-size: 24px; font-weight: var(--w-head); }
.related a { display: flex; justify-content: space-between; gap: 16px; text-decoration: none; color: inherit; }
.related .t { font-size: 18px; font-weight: 700; line-height: 1.45; word-break: keep-all; }
.related .s { font-size: 14px; color: var(--c-sub); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related .d { font-size: 13px; color: var(--c-sub); margin-top: 6px; }
.related img { object-fit: cover; flex: none; }
.back { margin-top: 48px; }

/* 원본이 표시 폭보다 작은 사진: 늘리지 않고 원래 크기로 가운데 (article.md 사진 공통) */
img.natural { width: auto !important; max-width: 100%; aspect-ratio: auto !important; margin: 0 auto; }
.article-body figure:has(img.natural) { text-align: center; }

/* 리스트형 */
.list-items { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.list-item { border-top: 1px solid var(--c-line); padding: 32px 0; }
.list-item h2 { margin: 0 0 16px; display: flex; align-items: baseline; gap: 12px; font-size: 24px; line-height: 1.4; font-weight: var(--w-head); }
.list-item .num { font-family: var(--font-display); font-size: 30px; font-weight: var(--w-display); color: var(--c-accent); }
.list-item figure { margin: 0 0 16px !important; }
.article-body .list-item p { font-size: 16px; line-height: 1.8; margin: 0 0 12px; }
.list-info { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.7; color: var(--c-sub); }
.list-info b { color: var(--c-text); margin-right: 6px; }

/* 코스형 */
.article-body .course-note { font-size: 13px; color: var(--c-sub); margin: 0 0 8px; }
.course-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 24px; border: 1px solid var(--c-line); border-radius: var(--r-card); overflow: hidden; background: var(--c-surface); }
.course-facts div { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.course-facts div + div { border-left: 1px solid var(--c-line); }
.course-facts dt { font-size: 12px; color: var(--c-sub); }
.course-facts dd { margin: 0; font-size: 17px; font-weight: 700; }
.timeline { list-style: none; margin: 40px 0 32px; padding: 0; }
.timeline li { display: grid; grid-template-columns: 64px minmax(0, 1fr); }
.timeline .time { font-size: 14px; font-weight: 700; color: var(--c-accent); line-height: 26px; }
.timeline .stop { border-left: 2px solid var(--c-line); padding: 0 0 8px 20px; }
.timeline h2 { margin: 0 0 10px; font-size: 19px; line-height: 26px; font-weight: var(--w-head); }
.timeline img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-img); }
.article-body .timeline p { margin: 10px 0 0; font-size: 16px; line-height: 1.75; }
.article-body .timeline .move { margin: 12px 0 28px; font-size: 13px; color: var(--c-sub); display: flex; align-items: center; gap: 6px; }

/* 카드뉴스형 */
.cardnews { max-width: calc(var(--article) + 40px); margin: 32px auto 0; padding: 0 20px; }
.cn-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cn-track::-webkit-scrollbar { display: none; }
.cn-card { flex: none; width: min(480px, 85%); aspect-ratio: 4 / 5; scroll-snap-align: start; position: relative; overflow: hidden; background: var(--c-card-bg); color: #fff; border-radius: var(--r-card); }
.cn-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cn-card .cn-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; font-family: var(--font-head); font-size: 24px; line-height: 1.45; font-weight: var(--w-head); background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.68)); word-break: keep-all; }
.cn-card.text-only .cn-text { top: 0; display: flex; align-items: center; background: none; font-size: 26px; }
.cn-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.cn-nav button { width: 44px; height: 44px; border-radius: var(--r-share); border: 1px solid var(--c-line); background: #fff; color: var(--c-text); cursor: pointer; font-size: 18px; }
.cn-count { font-size: 14px; color: var(--c-sub); }

/* 풀페이지형 (배경이 어두워도 상단 바 · 헤더 · 푸터 색은 같다) */
.fp-body main { background: var(--c-dark); color: #fff; }
html.fp-html { scroll-snap-type: y mandatory; }
.fp-body .topbar { scroll-snap-align: start; }
.fp-body .site-footer { scroll-snap-align: end; }
.scene { position: relative; height: 100svh; scroll-snap-align: start; overflow: hidden; background: var(--c-dark); }
.scene picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene .scene-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 80px; background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.72)); display: flex; flex-direction: column; gap: 10px; }
.scene .scene-text > * { max-width: 820px; }
.scene .label { font-size: 15px; font-weight: 700; letter-spacing: .06em; color: var(--c-on-dark-accent); }
.scene h1 { margin: 0; font-family: var(--font-display); font-size: 52px; font-weight: var(--w-display); line-height: 1.2; }
.scene h2 { margin: 0; font-size: 52px; font-weight: var(--w-display); font-family: var(--font-display); line-height: 1.2; }
.scene .one { margin: 0; font-size: 24px; line-height: 1.5; }
.scene .count { position: absolute; top: 24px; right: 24px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.5); font-size: 13px; color: #fff; }
.scene.end { display: flex; align-items: center; height: auto; min-height: 100svh; padding: 64px 0; }
.scene.end .inner { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; gap: 20px; }
.scene.end .one { font-size: 26px; font-weight: 700; }
.scene.end .btn-white, .scene.end .btn-outline-white { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border-radius: var(--r-btn); font-weight: 700; text-decoration: none; }
.scene.end .btn-white { background: var(--c-on-dark-btn); color: var(--c-on-dark-btn-text); }
.scene.end .btn-outline-white { min-height: 48px; border: 1px solid #fff; color: #fff; font-size: 15px; }
.scene.end h2 { margin: 0; font-family: var(--font); font-size: 14px; font-weight: 700; color: var(--c-on-dark-accent); }
.scene.end .info { color: #fff; }
.scene.end .info div { border-color: rgba(255,255,255,.2); }
.scene.end .checked { margin: 0; font-size: 12px; color: rgba(255,255,255,.7); }
.scene.end .rel a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.2); color: #fff; text-decoration: none; }
.scene.end .rel small { display: block; color: rgba(255,255,255,.7); font-size: 12px; margin-top: 4px; }
.scene.end .share { background: #fff; border-color: #fff; }

/* 영상 (규칙/article.md 2번 영상 공통) */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; cursor: pointer; border-radius: var(--r-img); overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.yt .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt .yt-note { position: absolute; left: 0; right: 0; bottom: 8px; color: #fff; font-size: 13px; text-align: center; }
.article-body figure.clip { position: relative; }
.clip video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; border-radius: var(--r-img); }
.clip-stop { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 14px; cursor: pointer; }

/* 배경음악: 소리 켜기 버튼 (오른쪽 아래 고정, 기본은 꺼짐) */
.bgm-toggle { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 20; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; color: var(--c-text); font-size: 18px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.bgm-toggle[aria-pressed="true"] { background: var(--c-text); color: #fff; border-color: var(--c-text); }

@media (max-width: 767px) {
  :root { --gap-module: 48px; }
  .btn-cta { width: 100%; }
  .section-title { font-size: 24px; }
  .cards, .cards.two { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .article-head { margin-top: 36px; }
  .article-head h1 { font-size: 28px; }
  .article-cover { padding: 0; margin-top: 24px; }
  .article-body { margin-top: 36px; font-size: 17px; line-height: 1.85; }
  .article-body .summary, .article-body > .meta + p { font-size: 18px; }
  .article-body > h2 { margin-top: 52px; font-size: 22px; }
  .pair { gap: 8px; }
  .info div { grid-template-columns: 84px minmax(0, 1fr); gap: 10px; font-size: 15px; }
  .end-cta p { font-size: 21px; }
  .list-item h2 { font-size: 20px; }
  .course-facts { grid-template-columns: minmax(0, 1fr); }
  .course-facts div + div { border-left: 0; border-top: 1px solid var(--c-line); }
  .cn-card .cn-text { font-size: 20px; padding: 20px; }
  .scene .scene-text { padding: 24px 20px 48px; }
  .scene h1 { font-size: 32px; }
  .scene h2 { font-size: 32px; }
  .scene .one { font-size: 18px; }
  .scene .label { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ===== 디자인 C 풀블리드: 사진을 화면 가득, 진한 남색과 노랑 ===== */
:root {
  --font: "Noto Sans KR", -apple-system, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-head: var(--font); --font-display: var(--font); --w-head: 900; --w-display: 900;
  --c-text: #101418; --c-sub: #58626C; --c-line: #E3E6E8; --c-bg: #FFFFFF; --c-surface: #F3F5F6;
  --deep: #0C2A33; --sun: #F2B544; --sun-ink: #8A5A00;
  --c-accent: var(--sun-ink); --c-focus: #1D6FD8;
  --c-btn: var(--sun); --c-btn-text: var(--deep); --c-btn-hover: #FFC965; --btn-h: 56px; --btn-border: 0; --btn-shadow: none;
  --r-btn: 999px; --r-img: 16px; --r-card: 20px; --r-share: 50%; --line-btn-border: 2px solid var(--deep);
  --c-card-bg: var(--deep); --c-dark: var(--deep); --c-on-dark-accent: var(--sun); --c-on-dark-btn: var(--sun); --c-on-dark-btn-text: var(--deep);
  --tracking: -0.02em; --container: 1200px; --article: 760px; --gap-module: 104px; --gap-grid: 20px; --ease: cubic-bezier(0, 0, 0.2, 1);
}
.btn-cta { font-weight: 800; padding: 0 30px; }
.badge, .kicker { font-weight: 800; letter-spacing: .08em; }

/* ① 첫 화면: 사진을 화면 가득, 글은 사진 위 */
.hero { min-height: 700px; display: flex; align-items: flex-end; color: #fff; background: var(--deep); overflow: hidden; }
.hero picture { position: absolute; inset: 0; }
.hero picture img { height: 100%; }
.hero picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,20,26,.10) 0%, rgba(6,20,26,.25) 45%, rgba(6,20,26,.82) 100%); }
.hero-text { position: relative; z-index: 1; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px 128px; display: flex; flex-direction: column; align-items: flex-start; }
.hero .badge { color: var(--sun); }
.hero-text h1 { margin: 14px 0 20px; max-width: 820px; font-size: 68px; line-height: 1.16; font-weight: 900; letter-spacing: -0.045em; }
.hero-text p { margin: 0 0 32px; max-width: 560px; font-size: 19px; color: rgba(255,255,255,.9); }
/* 한눈에 띠: 첫 화면 아래 걸친 흰 카드 */
.glance { position: relative; z-index: 2; width: calc(100% - 40px); max-width: var(--container); margin: -64px auto 0; padding: 28px 8px; background: #fff; border-radius: 20px; box-shadow: 0 18px 48px rgba(12,42,51,.16); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.glance div { padding: 0 28px; border-left: 1px solid var(--c-line); }
.glance div:first-child { border-left: 0; }
.glance b { display: block; font-size: 34px; line-height: 1.2; font-weight: 900; color: var(--deep); letter-spacing: -0.035em; }
.glance span { display: block; margin-top: 4px; font-size: 14px; color: var(--c-sub); }
/* ② 대표 기사: 화면 폭 남색 띠, 글 왼쪽 · 사진 오른쪽 */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 560px; margin: 0 calc(50% - 50vw); background: var(--deep); color: #fff; }
.feature img { order: 2; height: 100%; }
.feature-box { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 72px 64px 72px max(20px, calc(50vw - 600px)); }
.feature-box .kicker { color: var(--sun); }
.feature-box h2 { margin: 16px 0 18px; font-size: 44px; line-height: 1.24; font-weight: 900; letter-spacing: -0.04em; }
.feature-box p { margin: 0; max-width: 460px; font-size: 17px; color: rgba(255,255,255,.82); }
/* ③ 더 읽을 기사: 사진 위에 제목을 얹은 카드 */
.section-title { font-size: 34px; font-weight: 900; letter-spacing: -0.04em; margin-bottom: 28px; }
.card { position: relative; justify-content: flex-end; aspect-ratio: 3 / 4; padding: 26px; border-radius: 20px; overflow: hidden; color: #fff; background: var(--deep); isolation: isolate; }
.card .card-img { position: absolute; inset: 0; z-index: -1; }
.card .card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.74) 100%); }
.card img { height: 100%; }
.card .kicker { color: var(--sun); }
.card h3 { margin: 8px 0; font-size: 23px; line-height: 1.38; font-weight: 800; letter-spacing: -0.03em; }
.card time { font-size: 13px; color: rgba(255,255,255,.82); }
.cards.two .card { aspect-ratio: 16 / 10; }
.cards.two .card h3 { font-size: 26px; }
/* ⑥ 구독 띠 */
.cta-band { margin-top: 120px; padding: 104px 20px; text-align: center; color: #fff; background: radial-gradient(120% 140% at 50% 0%, #17485A 0%, var(--deep) 62%); }
.cta-band h2 { margin: 0 auto 12px; max-width: 680px; font-size: 42px; line-height: 1.3; font-weight: 900; letter-spacing: -0.04em; }
.cta-band p { margin: 0 0 30px; font-size: 17px; color: rgba(255,255,255,.86); }
.cta-band .subscribe-slot { border-radius: 14px; }

/* 상세: 매거진 커버형 표지는 사진을 화면 가득 */
.mag-cover { position: relative; min-height: 640px; display: flex; align-items: flex-end; color: #fff; background: var(--deep); overflow: hidden; }
.mag-cover picture { position: absolute; inset: 0; }
.mag-cover picture img { height: 100%; }
.mag-cover picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,20,26,.05) 0%, rgba(6,20,26,.2) 40%, rgba(6,20,26,.82) 100%); }
.mag-text { position: relative; z-index: 1; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px 64px; display: flex; flex-direction: column; align-items: flex-start; }
.mag-cover .badge { color: var(--sun); }
.mag-cover h1 { margin: 12px 0 16px; max-width: 860px; font-size: 56px; line-height: 1.2; font-weight: 900; letter-spacing: -0.045em; }
.mag-cover p { margin: 0; max-width: 640px; font-size: 19px; color: rgba(255,255,255,.9); }
.mag-cover .who { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.8); }
/* 상세: 그 밖의 유형 머리 */
.article-head h1 { letter-spacing: -0.045em; line-height: 1.25; }
.article-cover img { border-radius: 20px; }
/* 본문 */
.article-body > h2 { font-size: 30px; letter-spacing: -0.04em; margin-top: 76px; }
.article-body .pull { margin: 76px calc(50% - 50vw); padding: 96px max(20px, calc(50vw - 410px)); background: var(--deep); color: #fff; text-align: center; font-size: 40px; line-height: 1.35; font-weight: 900; letter-spacing: -0.045em; }
.article-body .pull::before { content: ""; display: block; width: 48px; height: 4px; margin: 0 auto 28px; background: var(--sun); }
.article-body .pair { margin: 52px calc(50% - 50vw) 0; gap: 4px; }
.article-body .pair img { aspect-ratio: 5 / 4; border-radius: 0; }
.article-body .pair-caption { margin-bottom: 44px; }
.article-body > h2:has(+ .info) { margin-top: 64px; padding: 32px 34px 8px; background: var(--c-surface); border-radius: 20px 20px 0 0; }
.article-body .info { margin: 0; padding: 0 34px 20px; background: var(--c-surface); border-radius: 0 0 20px 20px; }
.article-body .info:has(+ .checked) { border-radius: 0; padding-bottom: 4px; }
.article-body .info + .checked { margin: 0 0 32px; padding: 8px 34px 28px; background: var(--c-surface); border-radius: 0 0 20px 20px; }
.article-body .info div { border-color: #DDE2E5; }
.article-body .info div:last-child { border-bottom: 0; }
.article-body .info dt { color: var(--deep); }
/* 기사 끝: 화면 폭 남색 띠 → 사진 카드 관련 기사 */
.end-cta { margin: 104px calc(50% - 50vw) 0; padding: 96px 20px; align-items: center; text-align: center; color: #fff; background: radial-gradient(120% 140% at 50% 0%, #17485A 0%, var(--deep) 62%); }
.end-cta p { max-width: 680px; font-size: 38px; line-height: 1.3; font-weight: 900; letter-spacing: -0.04em; }
.related { width: min(var(--container), calc(100vw - 40px)); margin: 96px 0 0 calc(50% - min(600px, calc(50vw - 20px))); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.related h2 { grid-column: 1 / -1; margin: 0 0 4px; font-size: 30px; letter-spacing: -0.04em; }
.related a { position: relative; flex-direction: column; justify-content: flex-end; aspect-ratio: 16 / 10; padding: 26px 28px; border-radius: 20px; overflow: hidden; color: #fff; background: var(--deep); isolation: isolate; }
.related a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.74) 100%); }
.related img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; transition: transform .5s var(--ease); }
.related a:hover img { transform: scale(1.04); }
.related .t { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.related .s { display: none; }
.related .d { color: rgba(255,255,255,.82); }
.back { display: flex; width: max-content; margin: 56px auto 0; font-weight: 800; }
/* 카드뉴스 · 풀페이지 */
.cn-card { border-radius: 20px; }

@media (min-width: 1240px) { .hero-text, .mag-text { padding-left: 0; padding-right: 0; } }
@media (max-width: 767px) {
  :root { --gap-module: 64px; }
  .hero { min-height: 600px; }
  .hero-text { padding-bottom: 100px; }
  .hero-text h1 { margin: 10px 0 14px; font-size: 36px; }
  .hero-text p { margin-bottom: 24px; font-size: 16px; }
  .glance { width: calc(100% - 32px); margin-top: -52px; padding: 4px 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance div, .glance div:first-child { padding: 16px 20px; border-left: 0; }
  .glance div:nth-child(even) { border-left: 1px solid var(--c-line); }
  .glance div:nth-child(n+3) { border-top: 1px solid var(--c-line); }
  .glance b { font-size: 26px; }
  .feature { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .feature img { order: 0; height: auto; aspect-ratio: 4 / 3; }
  .feature-box { padding: 36px 20px 44px; }
  .feature-box h2 { font-size: 28px; }
  .section-title { font-size: 26px; margin-bottom: 20px; }
  .cards, .cards.two { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; margin: 0 -20px; padding: 0 20px 4px; gap: 12px; }
  .card, .cards.two .card { aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .card h3, .cards.two .card h3 { font-size: 20px; }
  .cta-band { margin-top: 72px; padding: 64px 20px; }
  .cta-band h2 { font-size: 28px; }
  .mag-cover { min-height: 540px; }
  .mag-text { padding-bottom: 40px; }
  .mag-cover h1 { margin: 10px 0 12px; font-size: 32px; }
  .mag-cover p { font-size: 16px; }
  .article-cover img { border-radius: 0; }
  .article-body > h2 { font-size: 24px; margin-top: 56px; }
  .article-body .pull { margin: 56px calc(50% - 50vw); padding: 64px 24px; font-size: 26px; }
  .article-body .pair { gap: 3px; margin-top: 40px; }
  .article-body .pair img { aspect-ratio: 4 / 5; }
  .article-body > h2:has(+ .info) { padding: 22px 20px 4px; }
  .article-body .info { padding: 0 20px 14px; }
  .article-body .info + .checked { padding: 6px 20px 22px; }
  .end-cta { margin-top: 72px; padding: 64px 20px; }
  .end-cta p { font-size: 27px; }
  .related { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 64px; }
  .related h2 { font-size: 24px; }
  .related .t { font-size: 20px; }
}

/* ===== 팀 조정 =====
   숫자로 말한 작은 조정(휴대폰 글자 크기 등)만 이 아래에 적는다 (규칙/디자인.md 4번). 디자인을 바꾸면 Claude Code가 이 칸을 새 디자인 파일 아래로 옮겨 붙인다 */
