/* ============================================================================
   style.css — 프로젝트 커스텀 스타일 (디자인 원본 front.css 와 분리)
   front.css 는 퍼블리싱 디자인 원본이라 손대지 않고, 우리가 추가/보정하는 스타일은 여기에 모은다.
   base.twig 에서 front.css 다음에 로드 → 필요 시 디자인 위에 덮어쓴다.
   ※ 신규 컴포넌트 클래스는 auth-/site- 등 접두사로 격리할 것 — front.css 범용 클래스(.tabs 등)와 충돌 방지.
   ============================================================================ */

/* ============================================================================
   디자인 토큰 — 브랜드 팔레트 (Plum · Champagne · Ivory · Charcoal)
   메인 브랜드색 = 브랜드 퍼스널 컬러 플럼(--color). 웜 뉴트럴 베이스(아이보리·차콜·웜그레이) +
   골드 보조 플로리시로 "보라+골드" 럭셔리 톤. front.css 의 :root{--color:#7c2399} 를 여기서 덮어쓴다
   (style.css 가 뒤에 로드). 사이트 전반의 강조색이 --color 한 곳으로 흐르므로 톤이 일괄 전환된다.
   ============================================================================ */
:root {
    --color:      #994699;   /* 주 강조 = 브랜드 퍼스널 컬러(플럼). 메인 브랜드색으로 승격.
                                흰 글씨 대비 ≈5.7:1(AA). CTA·버튼·링크·포커스가 전부 이 토큰으로 흐름 */
    --color-deep: #6f336f;   /* hover·진한 플럼 (ColorPalette HSL 파생값과 동일 — brand.css 폴백) */
    --color-soft: #f6eef6;   /* 옅은 플럼 틴트 — 틴트 hover 배경·알림 박스 (HSL 파생값과 동일) */
    --accent:     #c0a274;   /* 샴페인 골드 — 보조 헤어라인·플로리시(보라+골드 럭셔리 조합 유지, 흰 글씨 금지) */
    --ink:        #2c2825;   /* 차콜 — 큰 제목 */
    --body:       #4a443f;   /* 웜 그레이 본문 */
    --ivory:      #f7f2ec;   /* 따뜻한 섹션 배경 — 차가운 회색 대체 */
    --line:       #e8e0d8;   /* 웜 헤어라인 — 차가운 #eee/#f0f0f0 대체 */
    --paper:      #ffffff;
}

/* ── Sticky footer — 콘텐츠가 짧아도 푸터를 뷰포트 바닥에 붙여 흰 여백 제거.
   body 를 세로 flex 로 만들고 본문 래퍼(.page-wrap)를 늘린다. flexbox 의 free-space
   계산에 footer 의 margin-top(디자인 여백)도 포함되므로 긴 페이지의 디자인 간격은 그대로 유지. ── */
body { display: flex; flex-direction: column; min-height: 100vh; }
.page-wrap { flex: 1 0 auto; }
/* 푸터 앞 간격은 footer(margin-top 13rem, front.css)가 홀로 정한다. body 가 flex 라 .page-wrap 안 마지막
   블록의 장식 여백(--pd 15rem)이 footer 마진과 겹치지 않고 합산돼 블록 페이지(홈·소개·안내) 끝에
   280px 빈 공간이 생겼다(2026-10-01 실측). 마지막 블록의 아래 여백만 0 — .inner 래퍼 블록은 안쪽 밴드가
   여백을 들고 있고, .post-band 는 padding 밴드라 셋을 따로 잡는다. 배경색 밴드(.bg-inner)는 padding 이
   곧 생김새라 건드리지 않는다. 홈의 팝업 마크업은 이 규칙 때문에 블록 앞에 둔다(home.twig). */
.page-wrap > :last-child { margin-bottom: 0; }
.page-wrap > .inner:last-child > :last-child { margin-bottom: 0; }
.page-wrap > .post-band:last-child { padding-bottom: 0; }
footer { flex-shrink: 0; }

/* ── 헤더 — 1단 밴드(.header) 하나. 좌측 로고 + 중앙 메뉴. ──
   과거엔 .top(큰 중앙 로고 126px) + .header(메뉴 60px) 2단이라 데스크탑 헤더가 186px 였고,
   '상단 메뉴 고정'을 켠 뒤 스크롤하면 좌측 컴팩트 로고 1단으로 바뀌어 설정/스크롤마다 헤더가 달랐다.
   그 컴팩트 1단을 상시 형태로 삼아 .top 을 없앴다 → 설정 on/off·스크롤 전/후 헤더가 항상 동일,
   높이 186px → 68px. header_sticky 는 이제 position:sticky 여부만 정한다. */

/* 우상단 유틸바 (로그인/회원가입) — 헤더 우상단 절대배치. 회원 모듈 삭제로 현재 미사용.
   모바일은 #m-gnb .m-auth 가 대신. */
.header { position: relative; }

/* 로고 — 밴드 좌측 절대배치(메뉴는 절대배치 덕에 화면 정중앙 유지). 홈에서만 h1, 서브페이지는 div(base.twig) — h1 기본 마진 제거. */
.header-logo { position: absolute; left: 3rem; top: 50%; transform: translateY(-50%);
    margin: 0; line-height: 0; z-index: 16; }
.header-logo a { display: inline-flex; align-items: center; }
/* 로고 표시 높이 명시 — 미지정 시 이미지 고유 픽셀 크기로 렌더되므로, 운영자가 디자인 설정에서
   고해상(레티나 2x+) 로고로 교체하면 헤더/푸터가 로고 크기에 끌려 깨진다. 자산 해상도와 무관하게 고정.
   4rem(40px) = 기본 로고 자산(346×86)의 2x 다운스케일이라 레티나에서 오히려 또렷하다. */
.header-logo img { display: block; height: 4rem; width: auto; max-width: 22rem; object-fit: contain; }
.header-logo span { font-size: 1.9rem; font-weight: 700; color: var(--ink); letter-spacing: .02em; white-space: nowrap; }
footer .logo img { height: 48px; width: auto; }
/* 우측 끝을 헤더 우측 여백(3rem)과 동일선상으로 정렬 — 우상단/우측 끝이 한 줄로 떨어져 정돈된 인상 */
.site-utilbar { position: absolute; top: 2.1rem; left: auto; right: 3rem;
    text-align: right; font-size: 1.3rem; line-height: 1; letter-spacing: .01em; z-index: 5; }
.site-utilbar a, .site-utilbar button { color: #8c867f; text-decoration: none; transition: color .2s ease; }
.site-utilbar a:hover, .site-utilbar button:hover { color: var(--color); }
.site-utilbar button { background: none; border: 0; padding: 0; cursor: pointer; font-size: 1.3rem; }
.site-utilbar form { display: inline; }
/* 파이프(|) 대신 중간점 — 더 넉넉한 여백으로 "요즘 사이트" 인상. .sep 텍스트는 비우고 CSS 로 점만 찍는다. */
.site-utilbar .sep { display: inline-block; margin: 0 1rem; }
.site-utilbar .sep::before { content: '·'; color: #cfc8c0; }
.site-utilbar .uname { color: var(--ink); }

/* ── GNB 보정 — 자식 없는 1뎁스는 펼침 표시 숨김 (front.js 가 동작 분기, 여기선 시각만) ── */
.header nav > ul > li:not(.has-children):hover .btn-dep1:before { opacity: 0; }
#m-gnb nav > ul > li:not(.has-children) .btn-dep1:before { display: none; }

/* ── 하단 인디케이터 바 — front.css 기본은 bottom 0→1rem 까지 transition:all 로 애니메이션해
   호버 해제 시 페이드아웃과 동시에 아래로 미끄러져 내려가며 사라짐. 위치를 1rem 으로 고정하고
   opacity 만 전환해 제자리에서 페이드만 되게 보정. ── */
.header nav .btn-dep1:before { bottom: 1rem; transition: opacity .4s ease; }

/* 메뉴 글꼴 = 본문 기본 Pretendard 유지(reset.css 로드). 별도 글꼴 미지정. */

/* ── 메뉴 밴드 슬림화 — front.css 기본(글씨 2.2rem·높이 7rem)이 과해 글씨/상하 여백 축소.
   밴드 높이 = 이 버튼 높이. 6.8rem = 로고 4rem + 위아래 1.4rem 여백. ── */
.header nav .btn-dep1 { height: 6.8rem; font-size: 1.7rem; padding: 0 2.2rem;
    font-weight: 500; color: var(--ink); letter-spacing: .015em; }
/* 중앙 메뉴가 좌측 로고를 침범하지 않게 좌우 대칭 거터(로고 영역 3rem+22rem 보다 넉넉히).
   대칭이라 메뉴는 화면 정중앙에 그대로 머문다. */
.header nav > ul { padding: 0 26rem; }

/* ── 서브메뉴(dep2) — 세로 드롭다운 패널. front.js 가 .is-open 클래스를 토글하고,
   등장 모션(슬라이드+페이드+이징)은 여기 CSS 가 담당(jQuery fadeIn 의 밋밋한 opacity 깜빡임 대체).
   .dep2 자체에 padding-top 으로 버튼↔패널 사이 투명 호버 브릿지 → 이동 중 닫힘 방지.
   오른쪽 메뉴(마지막 4개)는 오른쪽 끝을 부모에 맞춰(right:0) 화면 밖 넘침 방지. ── */
.header nav > ul > li { position: relative; }
.header nav .dep2 { left: 0; right: auto; top: 100%; margin-top: -1px; padding-top: 0;
    display: block; opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
    transition: opacity .28s ease, transform .4s cubic-bezier(.22,.61,.36,1), visibility 0s linear .4s; }
.header nav > ul > li:nth-last-child(-n+4) .dep2 { left: auto; right: 0; }
.header nav .dep2.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
    transition: opacity .28s ease, transform .4s cubic-bezier(.22,.61,.36,1); }

/* 패널 카드 — 테두리 대신 부드럽게 떠있는 그림자 + 넉넉한 여백. 메뉴 밴드에 딱 붙는 구조라
   라운드는 직각(0)으로 통일 — 상단 각짐/하단 둥금의 비대칭 어색함 제거(그림자가 분리감 담당). */
.header nav .dep2 ul { display: block; min-width: 17rem; padding: 1rem 0; background: #fff;
    border: 0; border-radius: 0; position: relative; overflow: hidden;
    /* 각진 플러시 패널 — 하단 가중 레이어드 그림자(음수 spread 로 상단/측면 번짐 억제, 메뉴 밴드와 깔끔히 붙음).
       ※ 이 값이 최종 — 과거 파일 하단(웜그림자 섹션)의 중복 선언을 제거해 단일화함. */
    box-shadow: 0 16px 30px -12px rgba(60, 48, 40, .26), 0 4px 10px -6px rgba(60, 48, 40, .12); }
.header nav .dep2 ul li { display: block; }

/* 항목 — 넉넉한 패딩. hover 시 배경 틴트 + 브랜드색만(텍스트 위치 고정, 점프 없음). */
.header nav .dep2 ul .btn-dep2 { display: block; line-height: 1.3; padding: 1.1rem 2.4rem;
    font-size: 1.5rem; color: var(--ink); white-space: nowrap; opacity: 1;
    transition: color .2s ease, background .2s ease; }
.header nav .dep2 ul:hover .btn-dep2 { opacity: 1; }   /* front.css 의 형제 dim(opacity:.4) 무력화 */
.header nav .dep2 ul .btn-dep2:hover { background: var(--color-soft); color: var(--color); }

/* 항목 등장 스태거 — 패널이 열리면 항목이 위→아래로 시차 페이드인(공들인 인상). 닫히면 즉시 초기화.
   li 자체 투명도라 위 hover-dim(.btn-dep2 opacity) 무력화 규칙과 충돌하지 않는다. 데스크탑 전용 셀렉터. */
.header nav .dep2 ul li { opacity: 0; transform: translateY(7px);
    transition: opacity .3s ease, transform .35s cubic-bezier(.22,.61,.36,1); }
.header nav .dep2.is-open ul li { opacity: 1; transform: translateY(0); }
.header nav .dep2.is-open ul li:nth-child(2) { transition-delay: .04s; }
.header nav .dep2.is-open ul li:nth-child(3) { transition-delay: .08s; }
.header nav .dep2.is-open ul li:nth-child(4) { transition-delay: .12s; }
.header nav .dep2.is-open ul li:nth-child(5) { transition-delay: .16s; }
.header nav .dep2.is-open ul li:nth-child(n+6) { transition-delay: .2s; }

/* ── 모바일(≤1020px) — 같은 밴드에서 GNB 만 감추고 로고를 가운데 두는 슬림바(45px).
   과거 .top 로고바와 동일한 치수(패딩 2rem = rem 7px 기준 14px → 바 높이 ≈73px)라
   햄버거(.btn-m, front.css 에서 right:5px/top:15px 절대배치) 정렬이 그대로 유지된다. ── */
@media all and (max-width: 1020px) {
    .header { display: block; padding: 2rem 0; text-align: center; }   /* front.css 의 display:none 무력화 */
    .header nav { display: none; }
    .header-logo { position: static; transform: none; }
    .header-logo img { height: 45px; max-width: calc(100% - 110px); margin: 0 auto; }   /* 좌우 햄버거 폭 회피 */
}

/* ── 스크롤 헤더 고정(옵트인) — 디자인 설정 '상단 메뉴 고정'(system_settings.header_sticky)이 켜지면
   body.hdr-sticky. 밴드가 하나뿐이라 데스크탑/모바일 분기 없이 .header 를 그대로 sticky 로 붙인다.
   붙는 순간부터 front.js 가 body.hdr-scrolled 를 켜 떠있는 그림자만 더한다(로고는 상시 표시라
   페이드인 없음 — 고정 여부와 무관하게 헤더 모양이 같다는 것이 이 설계의 요점).
   .header 는 sticky 로 스택 컨텍스트가 생겨 내부 .btn-m(z:5000)이 밖으로 못 나가지만,
   메뉴 열림 상태의 햄버거(X)는 현재도 오버레이(.m-bg z:5000, DOM 후순위)에 덮이는 구조라 동작 변화 없음
   (닫기는 #m-gnb .btn-close/.m-bg 클릭이 담당).
   z-index 900 = 본문/서브 히어로 위·퀵바(1000)/모바일 오버레이(5000) 아래. ── */
body.hdr-sticky .header { position: sticky; top: 0; z-index: 900; }
body.hdr-sticky.hdr-scrolled .header { box-shadow: 0 10px 24px -14px rgba(60, 48, 40, .28); }
/* 해시 앵커 이동 시 고정 밴드에 가려지지 않게 — 밴드 높이(6.8rem)+여유만큼 스크롤 여백 */
html:has(body.hdr-sticky) { scroll-padding-top: 8rem; }
@media all and (max-width: 1020px) {
    html:has(body.hdr-sticky) { scroll-padding-top: 80px; }   /* 모바일 슬림바(로고 45px+패딩) ≈73px + 여유 */
}

/* ── 모바일 슬라이드 메뉴 하단 회원 동선 (#m-gnb 내부) ── */
.m-auth { display: none; }
@media all and (max-width: 1020px) {
    /* 데스크탑 우상단 유틸바는 모바일에서 햄버거(.btn-m)와 겹치므로 숨김 — 회원 동선은 .m-auth 가 대신 */
    .site-utilbar { display: none; }
    /* #m-gnb 를 세로 flex 로: .m-auth(닫기버튼과 같은 상단 줄, 우측 닫기 영역 회피) → nav(남는 공간 스크롤).
       (front.css 의 nav height:calc(100% - 50px)+margin-top:50px 가 전체를 점유해 .m-auth 가 안 보이던 문제 보정) */
    #m-gnb { display: flex; flex-direction: column; }
    #m-gnb nav { height: auto; margin-top: 0; flex: 1 1 auto; min-height: 0; }
    .m-auth { flex: 0 0 auto; display: flex; align-items: center; gap: 16px;
        height: 50px; box-sizing: border-box; padding: 0 55px 0 20px; border-bottom: 1px solid var(--line); font-size: 17px; }
    /* 각 항목(로그인·회원가입)은 줄바꿈 금지 — 폭 부족 시 글자가 개행되던 현상 보정 */
    .m-auth a, .m-auth button { color: var(--body); text-decoration: none; white-space: nowrap; flex: 0 0 auto; }
    .m-auth button { background: none; border: 0; padding: 0; cursor: pointer; font-size: 17px; }
    .m-auth form { display: inline; }
    .m-auth .uname { color: var(--ink); font-weight: 600; }
    /* ── 모바일 헤더 톤 정리 — 데스크탑과 같은 모카·차콜·웜 팔레트로 통일
       (front.css 원본의 차가운 회색 #666/#333/#f2f2f2/#555/#eee/순검정 보정) ── */
    .btn-m span { background: var(--ink); }                    /* 햄버거 라인: 회색 → 차콜 */
    #m-gnb { background: var(--paper); }                       /* 슬라이드 패널 흰 배경 */
    #m-gnb .btn-close:before, #m-gnb .btn-close:after { background: var(--ink); }  /* 닫기 X → 차콜 */
    /* 1뎁스 — 차콜 글씨 + 웜 행 구분선 + 펼침 화살표·활성색 모카 */
    #m-gnb nav > ul > li { border-bottom: 1px solid var(--line); }
    #m-gnb nav .btn-dep1 { color: var(--ink); letter-spacing: .01em; }
    #m-gnb nav .btn-dep1:before { border-color: var(--color); }
    #m-gnb nav > ul > li.on > .btn-dep1 { color: var(--color); }
    /* 2뎁스 — 차가운 회색 패널(#f2f2f2) → 웜 틴트, 항목 톤 정리 */
    #m-gnb nav .dep2 { background: var(--color-soft); }
    #m-gnb nav .btn-dep2 { color: var(--body); }
    #m-gnb nav .btn-dep2:active { color: var(--color); }
    /* 오버레이 — 순검정 → 따뜻한 딥 차콜 반투명 + 살짝 블러로 본문과 분리(미지원 시 반투명만) */
    .m-bg { background: rgba(44, 40, 37, .55); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }

    /* ── E. 모바일 슬라이드 메뉴 폴리시 — 드로어 깊이감 + 편안한 터치 영역 + 위계 명확화 ── */
    /* 열렸을 때 페이지 위로 떠 보이는 좌측 그림자(깊이감) + 슬라이드 이징 보정(원본 ease → 감속 커브) */
    #m-gnb { transition: right .34s cubic-bezier(.22,.61,.36,1), opacity .34s ease;
        box-shadow: -12px 0 40px -12px rgba(44, 40, 37, .35); }
    /* 1뎁스 — 편안한 터치 높이 + 정돈된 타이포 */
    #m-gnb nav .btn-dep1 { padding: 16px 22px; font-size: 16px; font-weight: 600; }
    /* 펼침 화살표 — 두껍던 라인(2px) 가늘게(1.5px)·작게 다듬어 단정하게 */
    #m-gnb nav .btn-dep1:before { width: 7px; height: 7px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
    /* 2뎁스 — 들여쓰기 + 항목별 좌측 샴페인 헤어라인으로 부모-자식 위계를 또렷하게 */
    #m-gnb nav .dep2 { padding: .4rem 0; }
    #m-gnb nav .btn-dep2 { padding: 12px 22px 12px 34px; font-size: 15px; position: relative; }
    #m-gnb nav .btn-dep2::before { content: ''; position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
        width: 6px; height: 1px; background: var(--accent); }
}
/* 초협폭(≤360px) — .m-auth 로그인 상태 항목(마이페이지·로그아웃)이 닫기(X) 영역을
   침범하지 않도록 폰트·간격 축소. 가용폭 = 화면 - 55px(닫기 회피) - 20px(좌 패딩). */
@media all and (max-width: 360px) {
    .m-auth { gap: 11px; font-size: 15px; }
    .m-auth button { font-size: 15px; }
}

/* ── 서브페이지 유틸리티 — 디자인 톤이 아직 적용되지 않은 본문(폼/목록/알림)의 최소 가독 스타일.
   퍼블리싱 디자인(front.css)과 충돌하지 않도록 전부 .app-body 스코프. 홈은 page 블록을 직접
   override 하므로 .app-body 를 쓰지 않아 영향 없음. ── */
.app-body { max-width: 100rem; margin: 0 auto; padding: 2.5rem 2rem 6rem; min-height: 40vh; color: var(--body); line-height: 1.7; font-size: 1.6rem; }
/* 페이지 제목 — .sub-head h1 와 동일한 차콜 + 좌측 모카 바(서브페이지 통일) */
.app-body h1 { position: relative; padding-left: 1.8rem; font-size: 3rem; font-weight: 700; color: var(--ink); line-height: 1.3; margin: 0 0 1.6rem; }
.app-body h1::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 2.2rem; background: var(--color); border-radius: 2px; }
.app-body h2 { font-size: 2rem; font-weight: 700; color: var(--ink); margin: 2.4rem 0 1rem; }
.app-body h3 { font-size: 1.7rem; font-weight: 600; color: var(--ink); margin: 1.6rem 0 .6rem; }
.app-body a { color: var(--color); }
.app-body form table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; }
.app-body form th { text-align: left; padding: 1rem .8rem; width: 12rem; vertical-align: top; font-weight: 600; color: var(--ink); font-size: 1.5rem; }
.app-body form td { padding: 1rem .8rem; }
.app-body input[type="text"], .app-body input[type="email"], .app-body input[type="password"],
.app-body input[type="date"], .app-body input[type="tel"], .app-body select, .app-body textarea {
    padding: 1rem 1.4rem; border: 1px solid var(--line); border-radius: .8rem; min-width: 18rem; font-size: 1.5rem; color: var(--ink); background: #fff; }
.app-body input:focus, .app-body select:focus, .app-body textarea:focus { outline: none; border-color: var(--color); }
.app-body textarea { width: 100%; min-height: 8rem; line-height: 1.6; }
.app-body button, .app-body .btn { display: inline-flex; align-items: center; justify-content: center; height: 4.4rem; padding: 0 2.4rem;
    border: 1px solid var(--color); border-radius: .8rem; background: var(--color); color: #fff; font-size: 1.5rem; font-weight: 600;
    cursor: pointer; text-decoration: none; transition: all .25s ease; }
.app-body button:hover, .app-body .btn:hover { background: #fff; color: var(--color); }
.app-body button.secondary, .app-body .btn.secondary { background: #fff; color: var(--color); }
.app-body .errors { color: #c0392b; background: #fdecec; border-radius: 1rem; padding: 1.4rem 1.8rem; margin: 1rem 0; list-style: none; font-size: 1.5rem; }
.app-body .flash { background: var(--color-soft); color: var(--color-deep); border-radius: 1rem; padding: 1.4rem 1.8rem; margin: 1rem 0; font-size: 1.5rem; }
.app-body .tip { color: #8a857e; font-size: 1.5rem; }
/* 상세 페이지 빵부스러기(crumb) — 인라인 스타일보다 명시도 높게 잡아 톤 통일 */
.app-body .crumb { font-size: 1.4rem; color: #999; margin-bottom: 1.2rem; }
.app-body .crumb a { color: var(--color); text-decoration: none; }

/* 콘텐츠 페이지(약관 등) 본문 타이포그래피 — sanitize 된 HTML 렌더 영역 (Phase 6.3) */
.app-body .content-body { line-height: 1.7; color: #333; max-width: 80rem; } /* 줄글 가독 캡(800px) — .post-body 와 동일 기준 */
.app-body .content-body h2 { font-size: 1.2rem; margin: 1.6rem 0 0.6rem; padding-left: 0.6rem; border-left: 4px solid var(--color); }
.app-body .content-body h3 { font-size: 1.05rem; margin: 1.2rem 0 0.5rem; }
.app-body .content-body h4 { font-size: 0.98rem; margin: 1rem 0 0.4rem; }
.app-body .content-body p { margin: 0.6rem 0; }
.app-body .content-body ul, .app-body .content-body ol { margin: 0.6rem 0; padding-left: 1.4rem; }
.app-body .content-body li { margin: 0.2rem 0; }
.app-body .content-body img { max-width: 100%; height: auto; border-radius: 4px; margin: 0.6rem 0; }
.app-body .content-body blockquote { margin: 0.8rem 0; padding: 0.5rem 1rem; border-left: 3px solid #ccc; color: #555; background: #f8f9fa; }

/* ============================================================================
   회원 인증 화면 (로그인·회원가입·아이디/비밀번호 찾기·재설정·변경)
   퍼블리싱 디자인 톤(보라 var(--color)·Pretendard·pill 버튼·라운드 카드). 전부 .auth 스코프.
   ============================================================================ */
.auth { display:flex; justify-content:center; padding:6rem 2rem 9rem; }
/* 세로 중앙 정렬 — 카드가 짧아 푸터까지 흰 공백이 크게 남는 문제 보정.
   :has() 미지원 브라우저는 기존(상단 정렬) 그대로 — 순수 개선형(기능 영향 없음).
   콘텐츠가 뷰포트보다 길면(회원가입 등) 늘어난 컨테이너에 맞춰 자연히 상단부터 흐름. */
.page-wrap:has(> .auth) { display: flex; flex-direction: column; }
.page-wrap:has(> .auth) > .auth { flex: 1 0 auto; align-items: center; }
.auth-card { width:100%; max-width:52rem; background:#fff; border:1px solid #eee;
    border-radius:1.6rem; padding:4rem 5rem 4.5rem; }
.auth-head { text-align:center; margin-bottom:2.8rem; }
.auth-head .eyebrow { display:block; font-size:1.4rem; letter-spacing:.4rem; text-transform:uppercase;
    color:var(--color); font-weight:600; margin-bottom:.8rem; }
.auth-head h1 { font-size:2.8rem; font-weight:700; color:#222; }
.auth-head .desc { margin-top:1.2rem; font-size:1.5rem; color:#888; line-height:1.6; word-break:keep-all; }

.auth .section-title { font-size:1.7rem; font-weight:600; color:#333; margin:2.8rem 0 1.4rem;
    padding-top:2.4rem; border-top:1px solid var(--line); }
.auth .section-title:first-of-type { margin-top:.5rem; padding-top:0; border-top:0; }

.auth .field { margin-bottom:1.6rem; }
.auth .field label { display:block; font-size:1.5rem; color:#555; margin-bottom:.8rem; }
.auth .field input[type="text"], .auth .field input[type="email"],
.auth .field input[type="tel"], .auth .field input[type="password"] {
    width:100%; height:5rem; border:1px solid #ddd; border-radius:1rem;
    padding:0 1.6rem; font-size:1.6rem; color:#222; background:#fff; transition:border-color .2s ease; }
.auth .field input:focus { outline:none; border-color:var(--color); }
.auth .field .hint { margin-top:.7rem; font-size:1.3rem; color:#999; line-height:1.5; }

.auth .agree { margin:2rem 0 .5rem; }
.auth .agree label { display:flex; align-items:flex-start; gap:.8rem; font-size:1.5rem; color:#555;
    margin-bottom:1rem; cursor:pointer; }
.auth .agree input { margin-top:.3rem; flex:none; }
.auth .agree .opt { color:#aaa; }

.auth .notice, .auth .errors, .auth .result { border-radius:1rem; padding:1.4rem 1.8rem; margin-bottom:2rem;
    font-size:1.5rem; line-height:1.6; list-style:none; }
.auth .notice, .auth .result { background:var(--color-soft); color:var(--color-deep); }
.auth .result strong { color:var(--color); }
.auth .result a { color:var(--color); word-break:break-all; }
.auth .result .tip { display:block; margin-top:.6rem; font-size:1.3rem; color:var(--body); }
.auth .errors { background:#fdecec; color:#c0392b; }
.auth .errors li + li { margin-top:.5rem; }

.auth .btn-primary { width:100%; height:5rem; border:1px solid var(--color); border-radius:4rem;
    background:var(--color); color:#fff; font-size:1.7rem; font-weight:600; cursor:pointer;
    margin-top:.8rem; transition:all .25s ease; }
.auth .btn-primary:hover { background:#fff; color:var(--color); }
.auth .btn-outline { display:flex; align-items:center; justify-content:center; width:100%; height:5rem;
    border:1px solid #ddd; border-radius:4rem; background:#fff; color:#444; font-size:1.6rem;
    text-decoration:none; cursor:pointer; margin-top:1rem; transition:all .25s ease; }
.auth .btn-outline:hover { border-color:var(--color); color:var(--color); }
.auth .btn-row { display:flex; gap:1rem; margin-top:.8rem; }
.auth .btn-row .btn-primary, .auth .btn-row .btn-outline { margin-top:0; flex:1; }

/* 폴더형 탭 (이메일 / 휴대폰) — CSS-only 라디오 토글. 라디오를 nav·panel 보다 먼저 두고 ~ 형제 셀렉터로 전환.
   탭이 입력폼 박스 위에 얹히고(상하 배치), 활성 탭이 흰색으로 폼과 이어진다.
   margin-bottom:-1px 로 탭 하단이 폼 상단 경계선을 덮고, nav z-index 로 폼 위에 그려 활성 탭의 흰 배경이 경계선을 가린다.
   ※ 클래스는 반드시 auth- 접두사 유지 — front.css 에 .tabs{display:flex} 가 있어 무접두 .tabs 는 좌우 분할로 깨짐. */
.auth-tabs { position:relative; }
.auth-tab-radio { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.auth-tab-nav { display:flex; gap:.4rem; position:relative; z-index:1; }
.auth-tab-nav label { flex:1; text-align:center; padding:1.3rem 1rem; font-size:1.6rem; color:#888; cursor:pointer;
    background:var(--ivory); border:1px solid #e2e2e2; border-bottom:none;
    border-radius:1rem 1rem 0 0; margin-bottom:-1px; transition:all .2s ease; }
.auth-tab-radio.auth-tab-mobile:checked ~ .auth-tab-nav .auth-nav-mobile,
.auth-tab-radio.auth-tab-email:checked  ~ .auth-tab-nav .auth-nav-email { background:#fff; color:var(--color); font-weight:700; }
.auth-tab-panel { display:none; border:1px solid #e2e2e2; border-radius:0 0 1rem 1rem;
    padding:2.8rem 2.2rem 2.4rem; background:#fff; }
.auth-tab-radio.auth-tab-mobile:checked ~ .auth-tab-panel.auth-panel-mobile,
.auth-tab-radio.auth-tab-email:checked  ~ .auth-tab-panel.auth-panel-email { display:block; }
.auth-tab-panel .field:last-of-type { margin-bottom:0; }
.auth-tab-panel .btn-primary { margin-top:2rem; }

/* 소셜 간편 로그인 (카카오) — 공식 버튼 가이드: 배경 #FEE500, 라벨 검정 85%. auth- 접두 필수(front.css 충돌 방지). */
.auth-social { margin-top:2.4rem; }
.auth-social-divider { display:flex; align-items:center; gap:1.2rem; font-size:1.3rem; color:#aaa; margin-bottom:1.4rem; }
.auth-social-divider::before, .auth-social-divider::after { content:""; flex:1; height:1px; background:var(--line); }
.auth-kakao-btn { display:flex; align-items:center; justify-content:center; gap:.8rem; width:100%; height:5rem;
    border-radius:4rem; background:#FEE500; color:rgba(0,0,0,.85); font-size:1.6rem; font-weight:600;
    text-decoration:none; transition:filter .2s ease; }
.auth-kakao-btn:hover { filter:brightness(.96); }
.auth-kakao-btn svg { width:2rem; height:2rem; flex:none; }

.auth .help { margin-top:2.4rem; padding-top:2rem; border-top:1px solid var(--line); text-align:center;
    font-size:1.4rem; color:#999; }
.auth .help a { color:#777; text-decoration:none; }
.auth .help a:hover { color:var(--color); }
.auth .help .sep { margin:0 1rem; color:#ddd; }

/* 제목 글꼴은 사이트 전체 단일 Pretendard 로 일원화(배너 제목 포함, 파일 하단 "타이포 역할 시스템" 참조).
   과거 배너/큰 제목에 명조체(Noto Serif KR @font-face + Cormorant)를 걸었으나 기본 글꼴로 환원하며 제거했다. */

/* ============================================================================
   게시판 / 공지사항 — 프론트 퍼블리싱 디자인(서브페이지) 톤 적용
   _sub.twig 가 그리는 .sub-visual 히어로 + .sub-body 본문에 시안(front.css, 보라 --color)
   스케일을 입힌다. 루트 10px(반응형 8/7px) 환경이라 rem 값이 그대로 시안과 호응.
   ※ 충돌 방지: 본문 규칙은 전부 `.sub-body` 스코프 (front.css 의 무접두 .tabs/.muted 등과 분리).
   ============================================================================ */
.sub-body { padding: 2.5rem 0 2rem; color: #333; line-height: 1.6; }
.sub-body .inner { max-width: 100rem; }
/* 글 상세(게시판·공지 article.post, 약관 terms-show)는 레일 자체를 80rem 으로 — 본문만 80rem 캡이고 제목·밑줄·이전/다음은
   100rem 이던 때 오른쪽 20rem 이 비어 글이 왼쪽으로 쏠려 보였다(2026-10-07). 제목·메타·본문·저자 상자·이전/다음이
   같은 폭으로 가운데 온다. 목록·홈·소개 레일(100rem)은 그대로. 자식들의 max-width:80rem 캡은 무해해서 둔다. */
.sub-body .inner:has(> article.post), .sub-body .inner:has(> article.terms-show) { max-width: 80rem; }

/* 페이지 헤더 — 시안 .sub-visual(풀블리드 이미지 배너)을 걷어내고 가벼운 텍스트 헤더로 대체.
   작은 브레드크럼 + 제목. 제목 좌측 세로 강조 바(┃)로 "페이지명" 인상 + 헤더 앵커링. */
.sub-head { margin-bottom: 2.4rem; }
.sub-head .path { display: flex; align-items: center; gap: .8rem; font-size: 1.6rem; color: #888; margin-bottom: 1.4rem; }
.sub-head .path .home { display: inline-flex; align-items: center; color: #888; }
.sub-head .path a { color: #555; text-decoration: none; transition: color .2s ease; }
.sub-head .path a:hover { color: var(--color); }
/* 구분자 = 꺾쇠(›) — 부모›자식 위계/방향 표현(과거 점은 위계가 안 드러남). 빈 .dot span 에 글리프 주입.
   색은 글자보다 옅게(#aaa) 두어 항목이 도드라지게. */
.sub-head .path .dot { flex: none; width: auto; height: auto; background: none; border-radius: 0;
    color: #aaa; font-size: 1.5rem; line-height: 1; }
.sub-head .path .dot::before { content: '\203A'; }
.sub-head .path .current { color: #333; }
/* 상세 꼬리 크럼(글 제목) — 길면 말줄임 */
.sub-head .path .crumb-title { display: inline-block; max-width: 32rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
/* 좌측 세로 강조 바 — 모든 서브페이지 제목에 붙는다(상세의 글 제목도 이 자리로 올라왔다).
   기준점이 '요소의 세로 중앙(50%)' 이 아니라 **첫 줄의 중앙**(.65em = line-height 1.3 의 절반)인 것이
   중요하다: 한 줄 제목에서는 둘이 같은 값이지만, 긴 글 제목이 2~3줄로 접히면 50% 는 바를 제목
   한가운데 띄워 버린다(모바일에서 바로 드러난다). */
.sub-head h1 { position: relative; padding-left: 1.8rem; font-size: 3rem; font-weight: 700; color: #222; line-height: 1.3; }
.sub-head h1::before { content: ''; position: absolute; left: 0; top: .65em; transform: translateY(-50%);
    width: 4px; height: 2.2rem; background: var(--color); border-radius: 2px; }

/* 브레드크럼 형제-점프 드롭다운 (nice-select) — 시안 동작 복원, 깔끔한 텍스트 헤더 톤으로 최소화.
   front.js 가 .path 의 <select> 를 .nice-select 로 변환하고 옵션 클릭 시 페이지 이동을 처리한다. */
.sub-head .path .nice-select { float: none; display: inline-flex; align-items: center; height: auto; line-height: 1.4;
    border: 0; border-radius: 0; background: transparent; padding: 0 2.2rem 0 0; margin: 0;
    font-size: 1.6rem; color: #777; transition: color .2s ease; }
.sub-head .path .nice-select:hover { color: var(--color); }
.sub-head .path .nice-select:after { right: .6rem; width: .7rem; height: .7rem; margin-top: -.55rem;
    border-bottom: 1.5px solid #aaa; border-right: 1.5px solid #aaa; transition: all .2s ease; }
.sub-head .path .nice-select:hover:after { border-color: var(--color); }
.sub-head .path .nice-select .list { min-width: 15rem; margin-top: 1rem; padding: .6rem 0;
    border: 1px solid #eee; border-radius: 1rem; box-shadow: 0 1rem 3rem rgba(0,0,0,.08); }
.sub-head .path .nice-select .option { min-height: auto; line-height: 1.6; padding: 1rem 1.8rem;
    font-size: 1.5rem; color: #666; }
.sub-head .path .nice-select .option:hover,
.sub-head .path .nice-select .option.focus,
.sub-head .path .nice-select .option.selected.focus { background: var(--color-soft); color: var(--color); }
.sub-head .path .nice-select .option.selected { color: var(--color); font-weight: 600; }

/* 공통 버튼 (pill, 시안 톤) */
.sub-body .btn { display: inline-flex; align-items: center; justify-content: center; height: 4.4rem;
    padding: 0 2.4rem; border-radius: .8rem; border: 1px solid var(--color); background: var(--color);
    color: #fff; font-size: 1.5rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: all .25s ease; }
.sub-body .btn:hover { background: #fff; color: var(--color); }
.sub-body .btn.secondary { background: #fff; color: #555; border-color: #ddd; }
.sub-body .btn.secondary:hover { border-color: var(--color); color: var(--color); }
.sub-body .btn.danger { background: #fff; color: #c0392b; border-color: #e3b4b4; }
.sub-body .btn.danger:hover { background: #c0392b; color: #fff; border-color: #c0392b; }

.sub-body .flash { background: var(--color-soft); color: var(--color-deep); border-radius: 1rem; padding: 1.4rem 1.8rem; margin-bottom: 2rem; font-size: 1.5rem; }
.sub-body .errors { list-style: none; background: #fdecec; color: #c0392b; border-radius: 1rem; padding: 1.4rem 1.8rem; margin-bottom: 2rem; font-size: 1.5rem; }
.sub-body .errors li + li { margin-top: .5rem; }
.sub-body .tip { color: #999; font-size: 1.4rem; }

/* 찾기 도구 — 말머리 필터(좌) + 키워드 검색(우) */
.sub-body .list-tools { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.sub-body .list-tools .board-cats { margin-bottom: 0; }
.sub-body .list-search { display: flex; flex: none; }
.sub-body .list-search input[type="text"] { height: 3.8rem; min-width: 18rem; border: 1px solid #ddd; border-right: 0;
    border-radius: .8rem 0 0 .8rem; padding: 0 1.4rem; font-size: 1.4rem; color: #222; background: #fff; }
.sub-body .list-search input[type="text"]:focus { outline: none; border-color: var(--color); }
.sub-body .list-search button { height: 3.8rem; padding: 0 1.8rem; border: 1px solid var(--color); border-radius: 0 .8rem .8rem 0;
    background: var(--color); color: #fff; font-size: 1.4rem; font-weight: 600; cursor: pointer; transition: all .2s ease; }
.sub-body .list-search button:hover { background: #fff; color: var(--color); }
.sub-body .search-meta { margin: 0 0 1.5rem; font-size: 1.5rem; color: #888; }
.sub-body .search-meta strong { color: var(--color); }

/* 결과 바 — 총 건수(좌) + 현재 페이지(우). 목록 위에 두는 "동작하는 시스템" 신뢰 신호.
   얇은 구분선 위에 얹어 목록 헤더처럼 보이게. */
.sub-body .list-count { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    margin: 0 0 1.2rem; padding-bottom: 1.1rem; border-bottom: 2px solid #333; font-size: 1.4rem; color: #777; }
.sub-body .list-count strong { color: var(--color); font-weight: 700; }
.sub-body .list-count .lc-page { color: #aaa; font-size: 1.3rem; }

/* 빈 상태 — 옅은 카드 + 문서 아이콘. 데이터 0건일 때도 미완성이 아닌 "비어있는 화면"으로. */
.sub-body .list-empty { display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
    padding: 5.5rem 2rem; text-align: center; border: 1px solid var(--line); border-radius: 1.4rem; background: #fafafa; }
.sub-body .list-empty .le-icon { width: 4.8rem; height: 4.8rem; border-radius: 50%; background: var(--color-soft);
    display: inline-flex; align-items: center; justify-content: center; }
.sub-body .list-empty .le-icon::before { content: ''; width: 1.8rem; height: 2.2rem; border: 2px solid var(--color); border-radius: .3rem;
    background: linear-gradient(var(--color), var(--color)) no-repeat, linear-gradient(var(--color), var(--color)) no-repeat;
    background-size: 1rem 2px; background-position: center .55rem, center 1.05rem; }
.sub-body .list-empty .le-text { margin: 0; font-size: 1.7rem; font-weight: 600; color: #555; }
.sub-body .list-empty .le-sub { margin: 0; font-size: 1.4rem; color: #aaa; }

/* 말머리/카테고리 탭 (pill) */
.sub-body .board-cats { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.sub-body .board-cats a { display: inline-flex; align-items: center; height: 3.8rem; padding: 0 1.8rem;
    border-radius: .8rem; border: 1px solid #ddd; font-size: 1.5rem; color: #666; text-decoration: none; transition: all .25s ease; }
.sub-body .board-cats a:hover { border-color: var(--color); color: var(--color); }
.sub-body .board-cats a.on { background: var(--color); border-color: var(--color); color: #fff; }

/* 목록 테이블 (게시판) — 검정 굵은선 제거, 옅은 구분선 + 넉넉한 행 여백 + 부드러운 hover */
.sub-body .board-list { width: 100%; border-collapse: collapse; font-size: 1.7rem; }
.sub-body .board-list th, .sub-body .board-list td { padding: 1.35rem 1.2rem; border-bottom: 1px solid var(--line); text-align: center; }
.sub-body .board-list thead th { font-size: 1.4rem; color: #999; font-weight: 600; background: transparent; border-bottom: 1px solid var(--line); padding-top: 1.1rem; padding-bottom: 1.1rem; }
.sub-body .board-list .c-title { text-align: left; }
/* 말머리 고정폭 슬롯 — 제목 시작 위치 정렬(말머리 쓰는 게시판에서만 렌더) */
.sub-body .board-list .cat-slot { display: inline-block; width: 7rem; vertical-align: middle; }
.sub-body .board-list .cat-slot .cat-label { margin-right: 0; }
.sub-body .board-list .c-no { width: 7rem; color: #bbb; font-size: 1.4rem; }
.sub-body .board-list .c-author { width: 11rem; color: #888; font-size: 1.4rem; }
.sub-body .board-list .c-date { width: 11rem; color: #aaa; font-size: 1.4rem; }
.sub-body .board-list .c-view { width: 7rem; color: #aaa; font-size: 1.4rem; }
.sub-body .board-list tbody tr { transition: background .15s ease; }
.sub-body .board-list tbody tr:hover { background: var(--color-soft); }
.sub-body .board-list tr.pinned { background: var(--color-soft); }
/* 제목 = 행의 주연. 한 단계 키우고 굵게, 보조 컬럼(번호·날짜·조회)과 위계 분리. */
.sub-body .board-list .c-title a { color: #1f1f1f; text-decoration: none; font-weight: 600; font-size: 1.65rem; }
.sub-body .board-list .c-title a:hover { color: var(--color); text-decoration: underline; }
.sub-body .board-list .cmt { color: var(--color); font-weight: 700; margin-left: .6rem; }
.sub-body .board-list .empty { color: #999; padding: 6rem 0; }

/* 뱃지/말머리 라벨 — 목록·상세 공통 */
.sub-body .notice-badge { display: inline-block; padding: .2rem 1rem; background: var(--color); color: #fff;
    border-radius: 3rem; font-size: 1.3rem; font-weight: 600; vertical-align: middle; }
.sub-body .cat-label { display: inline-block; margin-right: .6rem; padding: .2rem 1rem; background: var(--color-soft);
    color: var(--color); border-radius: 3rem; font-size: 1.4rem; vertical-align: middle; }

/* 단순 목록 (공지 — 말머리슬롯 + 제목 + 날짜) — 옅은 구분선 + 타이트한 행 여백 */
.sub-body .notice-list { list-style: none; padding: 0; margin: 0; }
.sub-body .notice-list li { display: flex; align-items: center; gap: 1.2rem; padding: 1.35rem 1.2rem; border-bottom: 1px solid var(--line); transition: background .15s ease; }
.sub-body .notice-list li:hover { background: var(--color-soft); }
.sub-body .notice-list li.pinned { background: var(--color-soft); }
/* 말머리 고정폭 슬롯 — 제목 시작 위치 정렬. 슬롯 내부는 좌측 정렬. */
.sub-body .notice-list .ntag { flex: none; width: 5.5rem; display: flex; align-items: center; }
.sub-body .notice-list .cat { color: var(--color); font-size: 1.4rem; }
/* 고정 배지 — 제목 바로 앞 prefix */
.sub-body .notice-list .pin { display: inline-block; margin-right: .7rem; padding: .2rem 1rem; background: var(--color); color: #fff; border-radius: 3rem; font-size: 1.3rem; font-weight: 600; vertical-align: middle; }
/* 제목 = 행의 주연. 키우고 굵게. 날짜는 보조로 낮춤. */
.sub-body .notice-list a { flex: 1; min-width: 0; color: #1f1f1f; text-decoration: none; font-size: 1.65rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub-body .notice-list a:hover { color: var(--color); }
.sub-body .notice-list .date { flex: none; color: #aaa; font-size: 1.4rem; }

/* 목록 하단 — 숫자형 페이지네이션 + 글쓰기 (3열 그리드: 가운데 페이저 중앙정렬, 우측 글쓰기) */
.sub-body .board-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 3rem; gap: 1rem; }
.sub-body .board-foot .pagination { grid-column: 2; margin: 0; }
.sub-body .board-foot .write-btn { grid-column: 3; justify-self: end; }
.sub-body .pagination { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: 4rem 0 0; }
.sub-body .pagination .pg-num, .sub-body .pagination .pg-arrow { display: inline-flex; align-items: center; justify-content: center;
    min-width: 4rem; height: 4rem; padding: 0 .6rem; border-radius: .8rem; font-size: 1.6rem; color: #666; text-decoration: none; transition: all .2s ease; }
.sub-body .pagination a.pg-num:hover, .sub-body .pagination a.pg-arrow:hover { background: var(--color-soft); color: var(--color); }
.sub-body .pagination .pg-num.on { background: var(--color); color: #fff; font-weight: 600; }
.sub-body .pagination .pg-arrow { font-size: 2rem; color: #999; }
.sub-body .pagination .pg-arrow.disabled { color: #ddd; pointer-events: none; }
.sub-body .pagination .pg-gap { color: #bbb; padding: 0 .2rem; }

/* 상세 (게시판 글 / 공지) */
.sub-body .crumb { font-size: 1.5rem; margin-bottom: 1rem; }
.sub-body .crumb a { color: var(--color); text-decoration: none; }
.sub-body .post-head { border-bottom: 1px solid var(--line); padding: 0 0 1.5rem; margin-bottom: 2.2rem; }
/* 글 제목은 .sub-head h1(3rem)가 그린다 — 게시판·공지·약관 상세가 모두 같다: 글이 주인공인
   지면에서 가장 큰 글자는 분류 이름이 아니라 글 제목이어야 한다. 그래서 .post-head 에는
   제목이 없고 바이라인만 남는다(제목과 붙지 않게 여백만 당긴다). */
.sub-body .post-head--bare { margin-top: -.6rem; }
/* 제목 위 라벨 줄(.sub-head__labels, _sub.twig 의 sub_title_labels) — 뱃지·말머리는 h1 **밖**이다.
   h1 텍스트가 곧 검색 결과·스크린리더의 페이지 제목이라 「치아교정의정부교정치과…」처럼 라벨이 제목에
   붙어 읽히면 안 된다(2026-09-21, h1 승격과 함께 분리). 자리는 목록 행의 말머리(.post-list__cat, 제목 위)와
   같은 언어. 왼쪽 강조 바(h1::before)의 폭만큼 들여 제목 글자와 세로선을 맞춘다.
   공지=플레인 보라 말머리(.cat) / 게시판=틴트 pill 말머리(.cat-label) / 고정=채운 뱃지(.notice-badge). */
.sub-head__labels { display: flex; align-items: center; gap: .6rem; margin: 0 0 .9rem 1.8rem; line-height: 1; }
.sub-head__labels .cat-label { margin-right: 0; }
.sub-head__labels .cat { font-size: 1.5rem; color: var(--color); font-weight: 600; }
.sub-body .post-meta { margin-top: .7rem; color: #999; font-size: 1.5rem; }
.sub-body .post-meta .sep { margin: 0 .8rem; color: #ddd; }
.sub-body .post-meta .pm-author { color: #555; font-weight: 600; }
.sub-body .post-meta .pm-author a { color: inherit; text-decoration: none; }
.sub-body .post-meta .pm-author a:hover { color: var(--color); text-decoration: underline; }
/* 직함 — 이름 뒤 한 칸. 이름보다 약하게(저자 박스 .author-box__title 과 같은 관계). */
.sub-body .post-meta .pm-role { margin-left: .6rem; color: #999; font-weight: 400; }

/* 이전·다음 글 네비게이션 — 본문 아래. 다음글(더 최신)=위, 이전글(더 과거)=아래.
   목록↔상세 단절(막다른 길) 해소. 라벨 고정폭 + 제목 말줄임. */
.sub-body .post-nav { margin: 3rem 0 0; border-top: 1px solid var(--line); }
.sub-body .post-nav .pn-row { display: flex; align-items: center; gap: 1.6rem; padding: 1.5rem .6rem;
    border-bottom: 1px solid var(--line); text-decoration: none; transition: background .15s ease; }
.sub-body .post-nav .pn-row:hover { background: var(--color-soft); }
.sub-body .post-nav .pn-label { flex: none; display: inline-flex; align-items: center; gap: .6rem; width: 7rem;
    font-size: 1.4rem; font-weight: 600; color: #888; }
.sub-body .post-nav .pn-arrow { color: var(--color); font-size: 1.5rem; line-height: 1; }
.sub-body .post-nav .pn-title { flex: 1; min-width: 0; color: #444; font-size: 1.55rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub-body .post-nav .pn-row:hover .pn-title { color: var(--color); }
/* 줄글 가독 캡: 본문 텍스트는 텍스트 레일(1000) 안에서 다시 80rem(800px)로 좁혀 한 줄 길이를 가독 범위로.
   좌측 정렬(margin auto 없음) → 제목/메타와 좌측 라인 정렬. 본문 내 이미지는 max-width:100%라 캡 안에서 표시. */
.sub-body .post-body { font-size: 1.8rem; line-height: 1.9; color: #333; min-height: 12rem; padding-bottom: 3rem; max-width: 80rem; }
.sub-body .post-body img, .sub-body .post-image img { max-width: 100%; height: auto; border-radius: .8rem; }
/* 핵심 요약 박스(board/show, summary) — 본문 레일(80rem) 안, 첨부/파일 박스와 같은 톤. 결정 decision_post_structure_20260930 §6. */
.sub-body .post-summary { max-width: 80rem; background: var(--color-soft); border-left: 4px solid var(--color); border-radius: .8rem; padding: 1.6rem 2rem; margin: 0 0 2.6rem; }
.sub-body .post-summary__label { display: block; font-size: 1.4rem; font-weight: 700; color: var(--color); margin-bottom: .5rem; letter-spacing: .02em; }
.sub-body .post-summary p { margin: 0; font-size: 1.7rem; line-height: 1.8; color: #333; }
/* 글별 FAQ(post-faq) — 홈 밴드 .faq 마크업 재사용, 본문 크기에 맞춰 축소. */
.sub-body .post-faq { max-width: 80rem; margin: 0 0 3rem; }
.sub-body .post-faq__title { font-size: 2rem; font-weight: 700; color: #222; margin: 0 0 1.2rem; }
.sub-body .post-faq .faq { margin-bottom: 0; }
.sub-body .post-faq .faq .list ul li { padding: 0 0 1.6rem 5.5rem; border-radius: 1.2rem; margin-bottom: 1rem; }
.sub-body .post-faq .faq .list ul li .q { font-size: 1.7rem; padding: 2.4rem 5rem 1rem 0; line-height: 1.5; }
.sub-body .post-faq .faq .list ul li .q span { left: -3.2rem; }
.sub-body .post-faq .faq .list ul li .q:before { right: 2rem; top: 2.6rem; width: 1.4rem; height: 1.4rem; }
.sub-body .post-faq .faq .list ul li .a { font-size: 1.6rem; line-height: 1.8; padding: 0 2rem 1rem 0; }
/* 리치 본문(content_format=html) 타이포그래피 — sanitize 된 HTML 렌더 영역. 약관(terms-show) 톤과 동형. */
/* 소제목 크기는 본문(1.8rem) 대비 뚜렷한 계단으로 — 이전 h3=본문·h4<본문 이라 "소제목이 작게 들어간다" 피드백(2026-10-07). */
.sub-body .post-body-rich h2 { font-size: 2.6rem; font-weight: 700; color: #222; padding-bottom: .4rem; border-bottom: 1px solid #e5e5e5; margin: 2.8rem 0 1rem; line-height: 1.4; }
.sub-body .post-body-rich h3 { font-size: 2.2rem; font-weight: 700; color: #333; margin: 2rem 0 .6rem; line-height: 1.4; }
.sub-body .post-body-rich h4 { font-size: 2rem; font-weight: 600; color: #444; margin: 1.4rem 0 .5rem; line-height: 1.4; }
/* 단락 간격 .6→1rem: 빈 줄 없이도 문단이 숨 쉬게(임포트 글은 연속 빈 줄을 1개로 접음). */
.sub-body .post-body-rich p { margin: 0 0 1rem; }
.sub-body .post-body-rich ul, .sub-body .post-body-rich ol { margin: .6rem 0; padding-left: 2rem; }
.sub-body .post-body-rich li { margin: .25rem 0; }
.sub-body .post-body-rich blockquote { margin: .8rem 0; padding: .5rem 1.2rem; border-left: 3px solid #ccc; color: #555; background: #f8f9fa; }
.sub-body .post-body-rich a { color: var(--color); text-decoration: underline; }
/* 표(Quill 내장 table 모듈·붙여넣은 표). 좁은 화면은 표 자체가 가로 스크롤(display:block + tbody 를 table 로). */
.sub-body .post-body-rich table { display: block; overflow-x: auto; max-width: 100%; margin: 1.4rem 0; border-collapse: collapse; font-size: 1.6rem; line-height: 1.6; }
.sub-body .post-body-rich table > tbody, .sub-body .post-body-rich table > thead { display: table; width: 100%; border-collapse: collapse; }
.sub-body .post-body-rich th, .sub-body .post-body-rich td { border: 1px solid #ddd; padding: .8rem 1.2rem; text-align: left; vertical-align: top; word-break: keep-all; }
.sub-body .post-body-rich th { background: #f5f6f8; font-weight: 700; color: #222; }
.sub-body .post-body-rich td:empty::before { content: '\00a0'; } /* 빈 셀도 행 높이 유지 */
.sub-body .post-image { margin-bottom: 2rem; }
.sub-body .post-files { background: var(--color-soft); border: 1px solid var(--line); border-radius: 1.2rem; padding: 2rem 2.4rem; margin-bottom: 3rem; }
.sub-body .post-files strong { font-size: 1.6rem; color: #555; }
.sub-body .post-files ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.sub-body .post-files li { margin: .6rem 0; }
.sub-body .post-files a { color: var(--color); text-decoration: none; font-size: 1.6rem; }
.sub-body .post-actions { display: flex; gap: 1rem; align-items: center; justify-content: center; padding-top: 3rem; border-top: 1px solid #eee; }

/* 댓글 */
.sub-body .comments { margin-top: 5rem; }
.sub-body .comments h2 { font-size: 2.2rem; font-weight: 600; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.sub-body .cmt-item { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.sub-body .cmt-meta { display: flex; align-items: center; gap: 1rem; font-size: 1.5rem; }
.sub-body .cmt-author { font-weight: 600; color: #444; }
.sub-body .muted { color: #aaa; }
.sub-body .cmt-text { font-size: 1.6rem; white-space: pre-wrap; margin: .8rem 0; color: #333; line-height: 1.6; }
.sub-body .cmt-reply { margin: 1.2rem 0 0 2.5rem; padding-left: 1.8rem; border-left: 2px solid #eee; }
.sub-body .link-btn { background: none; border: none; color: #c0392b; cursor: pointer; padding: 0; font-size: 1.4rem; text-decoration: underline; }
.sub-body .reply-toggle { margin-top: .8rem; }
.sub-body .reply-toggle summary { cursor: pointer; color: var(--color); font-size: 1.5rem; }
.sub-body .cmt-form { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; margin-top: 2rem; }
.sub-body .cmt-form.reply { margin: 1rem 0; }
.sub-body .cmt-form textarea { width: 100%; min-height: 8rem; border: 1px solid #ddd; border-radius: 1rem; padding: 1.4rem 1.6rem; font-size: 1.6rem; line-height: 1.6; }
.sub-body .cmt-form button[type="submit"] { height: 4.6rem; padding: 0 2.4rem; border-radius: 4rem; border: 1px solid var(--color);
    background: var(--color); color: #fff; font-size: 1.6rem; font-weight: 600; cursor: pointer; transition: all .25s ease; }
.sub-body .cmt-form button[type="submit"]:hover { background: #fff; color: var(--color); }
.sub-body .no-cmt { padding: 3rem 0; font-size: 1.6rem; }
.sub-body .login-hint { margin-top: 2rem; font-size: 1.6rem; }
.sub-body .login-hint a { color: var(--color); }

/* 글쓰기 폼 */
.sub-body .board-form table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.sub-body .board-form th { text-align: left; vertical-align: top; padding: 2rem 2rem 2rem 1rem; width: 14rem;
    font-size: 1.6rem; font-weight: 600; color: #444; background: #fafafa; border-bottom: 1px solid #eee; white-space: nowrap; }
.sub-body .board-form td { padding: 1.6rem 1rem; border-bottom: 1px solid #eee; }
.sub-body .board-form input[type="text"], .sub-body .board-form input[type="url"], .sub-body .board-form textarea, .sub-body .board-form select {
    border: 1px solid #ddd; border-radius: 1rem; padding: 1.2rem 1.6rem; font-size: 1.6rem; color: #222; background: #fff; }
.sub-body .board-form input[type="text"]:focus, .sub-body .board-form input[type="url"]:focus, .sub-body .board-form textarea:focus, .sub-body .board-form select:focus { outline: none; border-color: var(--color); }
.sub-body .board-form input[type="text"], .sub-body .board-form input[type="url"] { width: 100%; }
.sub-body .board-form textarea { width: 100%; min-height: 24rem; line-height: 1.7; }
.sub-body .board-form select { height: 4.8rem; }
.sub-body .board-form .req { color: var(--color); }
.sub-body .board-form .att-row { display: flex; align-items: center; gap: 1rem; padding: .5rem 0; font-size: 1.6rem; }
.sub-body .board-form .att-row .att-name { color: #333; }
.sub-body .form-actions { display: flex; gap: 1rem; align-items: center; justify-content: center; margin-top: 3rem; }

/* ============================================================================
   아티클 목록/상세 공통 — /media(언론)·/movie(영상)·/story(당신의 이야기)
   tl-* = 썸네일 행 목록(언론·스토리 공유) / vg-* = 영상 카드 그리드.
   상세는 게시판과 동일한 .post-* vocabulary 재사용 + 여기의 소보강(post-sub·post-embed·pm-link).
   ※ `.sub-body` 스코프 + 접두사 — 페이지 인라인 <style> 금지 원칙(fm-* 과 동일).
   ============================================================================ */
/* 썸네일 행 목록 — 좌측 고정비 썸네일(16:11) + 우측 본문. hover 는 목록 공통 틴트. */
.sub-body .tl-list { list-style: none; margin: 0; padding: 0; }
.sub-body .tl-item { display: flex; gap: 2rem; align-items: flex-start; padding: 2rem .6rem; border-bottom: 1px solid var(--line); transition: background .15s ease; }
.sub-body .tl-item:hover { background: var(--color-soft); }
.sub-body .tl-thumb { flex: none; }
.sub-body .tl-thumb img { width: 16rem; height: 11rem; object-fit: cover; border-radius: .8rem; display: block; background: #f4f4f4; }
.sub-body .tl-body { flex: 1; min-width: 0; }
/* 키커 = 언론사명 등 출처 라벨(제목 위 소형 플럼) */
.sub-body .tl-kicker { font-size: 1.4rem; font-weight: 600; color: var(--color); margin-bottom: .3rem; }
.sub-body .tl-title { display: inline; font-size: 1.7rem; font-weight: 600; color: #1f1f1f; text-decoration: none; line-height: 1.5; word-break: keep-all; }
.sub-body .tl-title:hover { color: var(--color); }
.sub-body .tl-out { font-size: 1.4rem; color: var(--color); text-decoration: none; margin-left: .8rem; white-space: nowrap; }
.sub-body .tl-out:hover { text-decoration: underline; }
.sub-body .tl-sub { font-size: 1.45rem; color: #777; margin-top: .4rem; }
.sub-body .tl-info { font-size: 1.45rem; color: #666; margin-top: .4rem; }
.sub-body .tl-info span + span { margin-left: .5rem; }
.sub-body .tl-meta { font-size: 1.35rem; color: #aaa; margin-top: .8rem; }
/* 영상 카드 그리드 — 16:9 썸네일 + 카테고리/제목/날짜. 썸네일 없으면 재생 삼각형 플레이스홀더. */
.sub-body .vg-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(24rem, 1fr)); gap: 3rem 2rem; }
.sub-body .vg-thumb { display: block; aspect-ratio: 16 / 9; border-radius: 1rem; overflow: hidden; background: var(--color-soft); }
.sub-body .vg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.sub-body .vg-item:hover .vg-thumb img { transform: scale(1.04); }
.sub-body .vg-ph { display: flex; align-items: center; justify-content: center; height: 100%; }
.sub-body .vg-ph::before { content: ''; width: 0; height: 0; border-style: solid; border-width: 1.1rem 0 1.1rem 1.9rem; border-color: transparent transparent transparent var(--color); opacity: .5; }
.sub-body .vg-cat { font-size: 1.35rem; font-weight: 600; color: var(--color); margin: 1.1rem 0 .2rem; }
/* 제목 = 2줄 클램프 + 2줄 높이 예약(min-height) — 제목 길이와 무관하게 카드가 같은 공간 점유.
   keep-all 은 유지하되 공백 없는 장문이 카드 폭을 뚫지 않게 overflow-wrap:anywhere 가 최후 줄바꿈. */
.sub-body .vg-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 1.6rem; font-weight: 600; color: #1f1f1f; text-decoration: none; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; min-height: 2.9em; margin-top: 1rem; }
.sub-body .vg-cat + .vg-title { margin-top: 0; }
.sub-body .vg-title:hover { color: var(--color); }
.sub-body .vg-date { font-size: 1.35rem; color: #aaa; margin-top: .5rem; }
/* 사진 갤러리형(vg-photo 변형) — 영상형 16:9 대신 4:3 사진 카드. 플레이스홀더는 재생 삼각형
   대신 사진 아이콘(mask=알파 기준이라 stroke 색 무관, 칠은 background-color). 배지 기준점은 vg-thumb. */
.sub-body .vg-photo .vg-thumb { aspect-ratio: 4 / 3; position: relative; }
.sub-body .vg-photo .vg-ph::before { width: 4rem; height: 4rem; border: 0; background-color: var(--color); opacity: .45; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21'/%3E%3C/svg%3E") no-repeat center / contain; }
.sub-body .vg-count { position: absolute; right: .8rem; bottom: .8rem; z-index: 1; padding: .3rem .9rem; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 1.2rem; font-weight: 600; line-height: 1.6; }
/* 사진 갤러리형 상세 슬라이더(post-gallery) — 마크업은 둘러보기 갤러리(.gallery-slider)의 front.js
   자동 초기화 계약 재사용, 스타일은 별도 스코프(블록 인라인의 1080캡·2:1 크롭 미적용).
   본체 4:3 + cover — contain 은 세로 사진에서 WebKit(아이폰) 좌우 흰 기둥이라 금지.
   Swiper 구조 CSS 는 reset.css 가 swiper.min.css @import 로 전역 로드. */
.sub-body .post-gallery { margin: 0 0 3rem; }
.sub-body .post-gallery .gallery-main { position: relative; }
.sub-body .post-gallery .gallery-main .swiper-container { border-radius: .8rem; overflow: hidden; background: #f2f2f2; }
.sub-body .post-gallery .gallery-main .swiper-slide a { display: block; }
.sub-body .post-gallery .gallery-main .swiper-slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.sub-body .post-gallery .gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 4.4rem; height: 4.4rem; border-radius: 50%; background: rgba(255, 255, 255, .9); border: 1px solid #e5e5e5; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sub-body .post-gallery .gallery-arrow--prev { left: 1rem; }
.sub-body .post-gallery .gallery-arrow--next { right: 1rem; }
.sub-body .post-gallery .gallery-arrow.swiper-button-disabled { opacity: .35; cursor: default; }
/* 썸네일 스트립 — 스크롤바 숨김, 가려진 썸네일이 있을 때만 가장자리 페이드 힌트(front.js fade-left/right). */
.sub-body .post-gallery .gallery-thumbs-wrap { position: relative; margin-top: 1.2rem; }
.sub-body .post-gallery .gallery-thumbs-wrap::before, .sub-body .post-gallery .gallery-thumbs-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 4rem; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .25s; }
.sub-body .post-gallery .gallery-thumbs-wrap::before { left: 0; background: linear-gradient(to right, var(--paper, #fff), rgba(255, 255, 255, 0)); }
.sub-body .post-gallery .gallery-thumbs-wrap::after { right: 0; background: linear-gradient(to left, var(--paper, #fff), rgba(255, 255, 255, 0)); }
.sub-body .post-gallery .gallery-thumbs-wrap.fade-left::before { opacity: 1; }
.sub-body .post-gallery .gallery-thumbs-wrap.fade-right::after { opacity: 1; }
.sub-body .post-gallery .gallery-thumbs { display: flex; gap: 1rem; justify-content: safe center; overflow-x: auto; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
.sub-body .post-gallery .gallery-thumbs::-webkit-scrollbar { display: none; }
/* 썸네일 = 4:3 여섯 칸이 본체 폭에 꽉 차는 크기. 7장 이상이면 가로 스크롤 필름스트립. */
.sub-body .post-gallery .gallery-thumb { flex: 0 0 auto; width: calc((100% - 5rem) / 6); border: 2px solid transparent; border-radius: .6rem; overflow: hidden; padding: 0; cursor: pointer; background: none; opacity: .55; transition: opacity .2s, border-color .2s; }
.sub-body .post-gallery .gallery-thumb.on { opacity: 1; border-color: var(--color); }
.sub-body .post-gallery .gallery-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
/* 점 네비게이션 = 모바일 전용(데스크톱은 썸네일 스트립). */
.sub-body .post-gallery .gallery-dots { display: none; }
@media (max-width: 768px) {
    .sub-body .post-gallery .gallery-arrow { width: 3.6rem; height: 3.6rem; }
    .sub-body .post-gallery .gallery-thumbs-wrap { display: none; }
    .sub-body .post-gallery .gallery-dots { display: flex; justify-content: center; gap: .8rem; margin-top: 1.4rem; }
    .sub-body .post-gallery .gallery-dots .swiper-pagination-bullet { width: .7rem; height: .7rem; border-radius: 50%; background: #d4d4d4; border: 0; padding: 0; margin: 0; opacity: 1; cursor: pointer; transition: width .2s, background .2s; }
    .sub-body .post-gallery .gallery-dots .swiper-pagination-bullet-active { width: 2rem; border-radius: .4rem; background: var(--color); }
}
/* 상세 소보강 — 부제(제목 아래), 메타 내 외부 링크, 추가 항목 진한 메타 줄, 영상 임베드 */
.sub-body .post-head .post-sub { margin: .8rem 0 0; font-size: 1.6rem; color: #666; line-height: 1.6; word-break: keep-all; }
.sub-body .post-meta a.pm-link { color: var(--color); text-decoration: none; }
.sub-body .post-meta a.pm-link:hover { text-decoration: underline; }
.sub-body .post-meta.pm-info { color: #555; }
.sub-body .post-embed { margin: 0 0 3rem; aspect-ratio: 16 / 9; max-width: 88rem; background: #000; border-radius: 1rem; overflow: hidden; }
.sub-body .post-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
/* 안내 박스(.flash) 안 링크 — 배경이 소프트 플럼이라 딥 플럼 강조 */
.sub-body .flash a { color: var(--color-deep); font-weight: 600; }

/* ── 약관/고지(/legal) — sanitize 된 HTML 본문 타이포그래피.
   위계: 페이지제목(.sub-head h1 3rem) > 장 h2 1.9rem > 조 h3 1.5rem > 본문 1.3rem. ── */
.sub-body .terms-show { line-height: 1.7; color: #333; max-width: 80rem; } /* 줄글 가독 캡(800px) — .post-body 와 동일 기준 */
.sub-body .terms-show .eff { color: #888; font-size: 1.2rem; margin: 0 0 1.4rem; }
.sub-body .terms-show .archived { background: #fff8e1; border: 1px solid #ffe082; color: #8a6d00; padding: .6rem .9rem; border-radius: 4px; font-size: 1.2rem; margin-bottom: 1.2rem; }
.sub-body .terms-show .content-body h2 { font-size: 1.9rem; font-weight: 700; color: #222; padding-bottom: .4rem; border-bottom: 1px solid #e5e5e5; margin: 2.6rem 0 .9rem; }
.sub-body .terms-show .content-body h3 { font-size: 1.5rem; font-weight: 700; color: #333; margin: 1.6rem 0 .5rem; }
.sub-body .terms-show .content-body h4 { font-size: 1.35rem; font-weight: 600; color: #444; margin: 1.1rem 0 .4rem; }
.sub-body .terms-show .content-body p { margin: .6rem 0; }
.sub-body .terms-show .content-body ul, .sub-body .terms-show .content-body ol { margin: .6rem 0; padding-left: 1.6rem; }
.sub-body .terms-show .content-body li { margin: .25rem 0; }
.sub-body .terms-show .content-body blockquote { margin: .8rem 0; padding: .5rem 1rem; border-left: 3px solid #ccc; color: #555; background: #f8f9fa; }
.sub-body .terms-show .content-body img { max-width: 100%; height: auto; border-radius: 4px; margin: .6rem 0; }
/* 개정 이력 링크 (show_history ON 일 때) — 브랜드 플럼 pill(과거 파랑 #1f6feb 은 오프브랜드라 교체) */
.sub-body .terms-history { margin-top: 2.4rem; border-top: 1px solid #eee; padding-top: 1.2rem; }
.sub-body .terms-history h3 { font-size: 1.4rem; font-weight: 700; color: #555; margin-bottom: .6rem; }
.sub-body .terms-history ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.sub-body .terms-history a { font-size: 1.2rem; color: var(--color); text-decoration: none; border: 1px solid var(--color-soft); background: var(--color-soft); border-radius: 4px; padding: .3rem .7rem; transition: all .2s ease; }
.sub-body .terms-history a:hover { border-color: var(--color); }
.sub-body .terms-history a.current { background: var(--color); color: #fff; border-color: var(--color); }

/* ============================================================================
   콘텐츠 페이지 헤더(about-*) — page/show(소개 등 블록 페이지) 공통.
   _sub(.sub-body) 가 아닌 base 직결 풀블리드 레이아웃이라 별도 스코프(px 스케일 의도).
   ============================================================================ */
/* 브레드크럼 = 가운데 1080 콘텐츠 프레임(갤러리와 동일 폭·동심 정렬).
   박스폭 = 1080 + 좌우 거터(2rem) → 콘텐츠가 정확히 1080(그냥 max-width:1080 이면 .inner 기본 패딩 때문에 ~1040 으로 좁아져 카드와 어긋남).
   좁은 화면에서도 좌우 20px 거터 유지(여긴 자체 패딩이 거터 담당). */
.about-crumb { max-width: calc(1080px + 4rem); margin: 0 auto; padding: 40px 2rem 0; }
.about-crumb .sub-head { margin-bottom: 0; }
/* 페이지 헤더(가운데 아이브로 + 제목 + 부제) */
.about-head { padding: 26px 0 40px; text-align: center; }
.about-head__eyebrow { color: var(--color, #994699); font-size: 14px; letter-spacing: .04em; margin: 0 0 10px; font-weight: 600; }
.about-head__title { font-size: 40px; font-weight: 700; color: #222; margin: 0; line-height: 1.25; }
.about-head__sub { margin: 16px auto 0; max-width: 760px; color: #777; font-size: 18px; line-height: 1.7; white-space: pre-line; }
@media (max-width: 768px) {
    .about-head { padding: 40px 0 28px; }
    .about-head__title { font-size: 28px; }
    .about-head__sub { font-size: 16px; padding: 0 20px; }
}

/* ============================================================================
   신청서형 폼 공통(fm-*) — 회원 가입·찾기·마이페이지 등
   세로 스택(label 위·input 아래) 신청서 폼. 표형 board-form 과 구분되는 별도 패턴.
   ※ 전부 `fm-` 접두 + `.sub-body` 스코프 (front.css 무접두 클래스와 충돌 방지).
   ※ 루트 10px 스케일(rem)·브랜드 토큰(--color) 준수 — 페이지 인라인 <style> 금지,
     새 front 폼은 이 컴포넌트를 재사용한다.
   ============================================================================ */
.sub-body .fm-form { max-width: 72rem; }
.sub-body .fm-field { margin-bottom: 2rem; }
.sub-body .fm-field > label { display: block; font-size: 1.5rem; font-weight: 600; color: #444; margin-bottom: .8rem; }
.sub-body .fm-field input[type="text"], .sub-body .fm-field input[type="email"],
.sub-body .fm-field input[type="tel"], .sub-body .fm-field input[type="password"],
.sub-body .fm-field input[type="date"] {
    width: 100%; height: 5rem; border: 1px solid #ddd; border-radius: 1rem; padding: 0 1.6rem;
    font-size: 1.6rem; color: #222; background: #fff; transition: border-color .2s ease; }
/* 네이티브 date — UA 기본(회색 각진 박스, iOS 중앙정렬·높이 무시)을 fm 인풋 톤으로 정규화.
   박스만 통일하고 달력 피커 UX 는 네이티브 유지(모바일 휠/캘린더가 자체 구현보다 낫다). */
.sub-body .fm-field input[type="date"] { -webkit-appearance: none; appearance: none; font-family: inherit; }
.sub-body .fm-field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.sub-body .fm-field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .55; }
.sub-body .fm-field select { width: 100%; height: 5rem; border: 1px solid #ddd; border-radius: 1rem;
    padding: 0 1.4rem; font-size: 1.6rem; color: #222; background: #fff; }
.sub-body .fm-field textarea { width: 100%; min-height: 16rem; border: 1px solid #ddd; border-radius: 1rem;
    padding: 1.4rem 1.6rem; font-size: 1.6rem; line-height: 1.7; color: #222; background: #fff; resize: vertical; }
.sub-body .fm-field input:focus, .sub-body .fm-field select:focus, .sub-body .fm-field textarea:focus {
    outline: none; border-color: var(--color); }
.sub-body .fm-field input[type="file"] { font-size: 1.5rem; color: #555; }
.sub-body .fm-field .req, .sub-body .fm-check .req { color: var(--color); }
.sub-body .fm-field .err, .sub-body .fm-check .err { margin: .7rem 0 0; font-size: 1.4rem; color: #c0392b; }
.sub-body .fm-field .hint { margin: .7rem 0 0; font-size: 1.35rem; color: #999; line-height: 1.5; word-break: keep-all; }

/* 선택 pill (라디오). 네이티브 라디오는 숨기고 pill 하이라이트로 표시 */
.sub-body .fm-choices { display: flex; flex-wrap: wrap; gap: .8rem; }
.sub-body .fm-choice { position: relative; }
.sub-body .fm-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sub-body .fm-choice span { display: inline-flex; align-items: center; height: 4.2rem; padding: 0 1.8rem;
    border: 1px solid #ddd; border-radius: 3rem; background: #fff; font-size: 1.5rem; color: #555;
    cursor: pointer; transition: all .2s ease; }
.sub-body .fm-choice:hover span { border-color: var(--color); color: var(--color); }
.sub-body .fm-choice input:checked + span { background: var(--color); border-color: var(--color); color: #fff; font-weight: 600; }
.sub-body .fm-choice input:focus-visible + span { outline: 2px solid var(--color); outline-offset: 2px; }

/* 체크 동의 줄 (개인정보 동의·비밀글 등) — 네이티브 체크박스는 accent-color 로 브랜드화 */
.sub-body .fm-check { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 1.5rem; color: #555; }
.sub-body .fm-check label { display: inline-flex; align-items: center; gap: .8rem; margin: 0; font-weight: 400; font-size: 1.5rem; cursor: pointer; }
.sub-body .fm-check input[type="checkbox"] { width: 1.8rem; height: 1.8rem; accent-color: var(--color); flex: none; }
.sub-body .fm-check .terms-link { font-size: 1.4rem; color: var(--color); text-decoration: underline; text-underline-offset: 3px; }
.sub-body .fm-check .err { flex-basis: 100%; }

/* 2열 그리드 — 짧은 필드 짝(이름/휴대폰 등). 우편번호 짝은 좌측 고정폭 변형 */
.sub-body .fm-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.6rem; }
.sub-body .fm-row--zip { grid-template-columns: 16rem 1fr; }

/* 안내 박스 — 플럼 틴트(auth .notice 와 동형). --warn 은 비가역 액션 경고(탈퇴 등) 레드 틴트 */
.sub-body .fm-tip { background: var(--color-soft); color: var(--color-deep); border-radius: 1rem;
    padding: 1.4rem 1.8rem; margin-bottom: 2.4rem; font-size: 1.5rem; line-height: 1.6; word-break: keep-all; }
.sub-body .fm-tip--warn { background: #fdecec; color: #b0413e; }

/* 액션 줄 — .btn/.btn.secondary(공통 pill 버튼) 조합 */
.sub-body .fm-actions { display: flex; gap: 1rem; align-items: center; margin-top: 3rem; }

/* 완료 카드 (신청/등록 완료) — 중앙 카드 + 체크 아이콘 */
.sub-body .fm-done { max-width: 56rem; margin: 3rem auto; padding: 5rem 4rem; background: #fff;
    border: 1px solid var(--line); border-radius: 1.6rem; text-align: center; }
.sub-body .fm-done .fd-icon { width: 6.4rem; height: 6.4rem; margin: 0 auto 2rem; border-radius: 50%;
    background: var(--color-soft); color: var(--color); display: flex; align-items: center; justify-content: center; }
.sub-body .fm-done .fd-icon svg { width: 3rem; height: 3rem; }
.sub-body .fm-done .fd-title { font-size: 2.2rem; font-weight: 700; color: #222; margin: 0 0 1.2rem; }
.sub-body .fm-done .fd-no { font-size: 1.6rem; color: #555; margin: 0; }
.sub-body .fm-done .fd-no strong { color: var(--color); font-weight: 700; }
.sub-body .fm-done .fd-desc { margin: .8rem 0 0; font-size: 1.5rem; color: #888; line-height: 1.65; word-break: keep-all; }
.sub-body .fm-done .fd-desc a { color: var(--color); text-decoration: underline; text-underline-offset: 3px; }
.sub-body .fm-done .fm-actions { justify-content: center; }
/* 완료 카드 세로 중앙 정렬 — 헤더(브레드크럼+제목)는 상단 유지, 카드만 남는 공간 가운데로.
   :has() 미지원 브라우저는 기존(상단 margin 3rem) 폴백. margin:auto 가 flex 남는 공간을 흡수. */
.page-wrap:has(.fm-done) { display: flex; flex-direction: column; }
.page-wrap:has(.fm-done) > .sub-body { flex: 1 0 auto; display: flex; flex-direction: column; }
.page-wrap:has(.fm-done) > .sub-body > .inner { flex: 1 0 auto; display: flex; flex-direction: column; width: 100%; }
.page-wrap:has(.fm-done) .fm-done { margin: auto; width: 100%; }

/* ── 비밀글 자물쇠 아이콘(공용, partials/_icon_lock.twig) — 이모지 대체 선형 SVG.
   글자 크기 비례(em)+currentColor 라 목록 제목·배지·홈 카드 등 어디서나 주변 톤을 따라간다. ── */
.icon-lock { display: inline-block; width: .88em; height: .88em; vertical-align: -0.06em; margin-right: .3em; opacity: .55; }

@media all and (max-width: 800px) {
    .sub-body .fm-done { padding: 4rem 2.4rem; }
    .sub-body .fm-actions { flex-wrap: wrap; }
    .sub-body .fm-row, .sub-body .fm-row--zip { grid-template-columns: 1fr; }
}

/* ============================================================================
   마이페이지 (my-*) — /me 계정 요약 · 내 정보 폼(fm-* 재사용) · 계정 관리.
   ※ 전부 `my-` 접두 + `.sub-body` 스코프 (front.css 무접두 클래스와 충돌 방지).
   ============================================================================ */
/* 계정 요약 스트립 — 읽기전용 메타(아이디·가입일·최근 로그인)를 수정 폼에서 분리 */
.sub-body .my-summary { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem 2.4rem;
    flex-wrap: wrap; padding: 2rem 2.4rem; background: var(--ivory); border-radius: 1.4rem; margin-bottom: 4.5rem; }
.sub-body .my-summary .ms-id { display: flex; align-items: baseline; gap: 1rem; }
.sub-body .my-summary .ms-label { font-size: 1.4rem; color: #999; }
.sub-body .my-summary .ms-id strong { font-size: 1.8rem; font-weight: 700; color: var(--ink); }
.sub-body .my-summary .ms-meta { display: flex; flex-wrap: wrap; gap: .4rem 2rem; font-size: 1.4rem; color: #999; }
.sub-body .my-summary .ms-meta strong { color: #555; font-weight: 600; }

/* 섹션 탭 — 한 화면에 한 섹션만(스크롤 축소). auth-tabs 와 같은 CSS 라디오 전환, 언더라인 톤.
   숨긴 라디오도 키보드 포커스·화살표 전환은 동작(웹 표준 라디오 그룹). */
.sub-body .my-tabs { position: relative; }
.sub-body .my-tab-radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sub-body .my-tab-nav { display: flex; gap: 3rem; border-bottom: 1px solid var(--line); margin-bottom: 3rem; }
.sub-body .my-tab-nav label { position: relative; padding: 0 .2rem 1.3rem; font-size: 1.7rem; font-weight: 600;
    color: #999; cursor: pointer; transition: color .2s ease; }
.sub-body .my-tab-nav label:hover { color: var(--color); }
.sub-body .my-tab-nav label::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.sub-body .my-tab-nav .my-nav-count { display: inline-block; min-width: 2rem; padding: 0 .6rem; margin-left: .2rem;
    border-radius: 2rem; background: var(--color-soft); color: var(--color-deep); font-size: 1.25rem; line-height: 2rem; text-align: center; }
.sub-body .my-tab-radio.my-tab-info:checked ~ .my-tab-nav .my-nav-info,
.sub-body .my-tab-radio.my-tab-acct:checked ~ .my-tab-nav .my-nav-acct { color: var(--ink); }
.sub-body .my-tab-radio.my-tab-info:checked ~ .my-tab-nav .my-nav-info::after,
.sub-body .my-tab-radio.my-tab-acct:checked ~ .my-tab-nav .my-nav-acct::after { background: var(--color); }
.sub-body .my-tab-panel { display: none; }
.sub-body .my-tab-radio.my-tab-info:checked ~ .my-tab-panel.my-panel-info,
.sub-body .my-tab-radio.my-tab-acct:checked ~ .my-tab-panel.my-panel-acct { display: block; }

/* 상태 배지(브랜드 팔레트 파생) — 연결됨=플럼 틴트 / 미연결=웜그레이 */
.sub-body .my-badge { display: inline-flex; align-items: center; flex: none; height: 2.6rem; padding: 0 1.1rem;
    border-radius: 3rem; font-size: 1.3rem; font-weight: 600; }
.sub-body .my-badge--confirmed { background: var(--color-soft); color: var(--color-deep); }
.sub-body .my-badge--none      { background: #f0eeec; color: #8a857e; }

/* 계정 관리 — 항목별 행(라벨+설명 좌 / 액션·상태 우) */
.sub-body .my-acct { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 72rem; }
.sub-body .my-acct-row { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem;
    padding: 1.8rem .4rem; border-bottom: 1px solid var(--line); }
.sub-body .my-acct-row .ma-info { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.sub-body .my-acct-row .ma-label { display: inline-flex; align-items: center; gap: .8rem; font-size: 1.6rem; font-weight: 600; color: var(--ink); }
.sub-body .my-acct-row .ma-kakao svg { width: 2.6rem; height: 2.6rem; padding: .5rem; flex: none;
    background: #fee500; color: rgba(0,0,0,.85); border-radius: 50%; }
.sub-body .my-acct-row .ma-desc { font-size: 1.35rem; color: #999; word-break: keep-all; }
.sub-body .my-acct-row .btn { height: 3.8rem; padding: 0 1.6rem; font-size: 1.4rem; flex: none; }

/* 회원탈퇴 — 저장과 동급으로 보이지 않게 하단 우측 소형 텍스트 링크로 강등 */
.sub-body .my-withdraw { margin-top: 2.4rem; text-align: right; max-width: 72rem; }
.sub-body .my-withdraw a { font-size: 1.35rem; color: #aaa; text-decoration: underline; text-underline-offset: 3px; }
.sub-body .my-withdraw a:hover { color: #c0392b; }

@media all and (max-width: 800px) {
    .sub-body .my-summary { flex-direction: column; align-items: flex-start; padding: 1.8rem 2rem; }
    .sub-body .my-tab-nav { gap: 2rem; }
    .sub-body .my-acct-row { flex-wrap: wrap; }
}

/* ── 자주 묻는 질문(FAQ) — 탭 + <details> 아코디언 ── */
.sub-body .faq-lead { font-size: 1.6rem; color: #555; line-height: 1.7; margin-bottom: 1.8rem; }
.sub-body .faq-lead a { color: var(--color); font-weight: 600; }

/* 도구 줄 — (좌) 갱신일 / (우) 검색 */
.sub-body .faq-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.sub-body .faq-updated { font-size: 1.4rem; color: #999; }

/* 카테고리 탭 */
.sub-body .faq-tabs { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.sub-body .faq-tab { display: inline-flex; align-items: center; height: 3.8rem; padding: 0 1.8rem; border-radius: .8rem;
    border: 1px solid #ddd; background: #fff; color: #555; font-size: 1.5rem; cursor: pointer; transition: all .2s ease; }
.sub-body .faq-tab:hover { border-color: var(--color); color: var(--color); }
.sub-body .faq-tab.active { background: var(--color); border-color: var(--color); color: #fff; }

/* 카테고리 섹션 */
.sub-body .faq-section { margin-bottom: 4rem; }
.sub-body .faq-section.hidden { display: none; }
.sub-body .faq-section-title { position: relative; padding-left: 1.4rem; margin-bottom: 1.4rem; font-size: 2rem; font-weight: 700; color: #222; }
.sub-body .faq-section-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: .5rem; height: 1.8rem; border-radius: 1rem; background: var(--color); }
.sub-body .faq-empty { padding: 3rem 0; text-align: center; color: #999; }
.sub-body .faq-cat-tag { margin-left: .8rem; font-size: 1.3rem; color: var(--color); font-weight: 600; }

/* <details> 아코디언 — Q/A 배지 + 펼침 강조 */
.sub-body .faq-item { border: 1px solid var(--line); border-radius: 1rem; margin-bottom: 1rem; background: #fff; overflow: hidden; transition: border-color .2s ease; }
.sub-body .faq-item[open] { border-color: var(--color); }
.sub-body .faq-item summary { display: flex; align-items: center; gap: 1.2rem; padding: 1.6rem 1.8rem; font-size: 1.6rem; color: #333; cursor: pointer; list-style: none; }
.sub-body .faq-item summary::-webkit-details-marker { display: none; }
.sub-body .faq-item summary::before { content: 'Q'; flex: none; width: 2.6rem; height: 2.6rem; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--color-soft); color: var(--color); font-weight: 700; font-size: 1.4rem; }
.sub-body .faq-item summary .pin { flex: none; font-size: 1.2rem; font-weight: 600; color: var(--color); background: var(--color-soft); padding: .2rem .8rem; border-radius: 1rem; }
.sub-body .faq-item summary .q-text { flex: 1; }
.sub-body .faq-item summary .chev { flex: none; color: #bbb; font-size: 1.2rem; transition: transform .2s ease; }
.sub-body .faq-item[open] summary { background: var(--color-soft); }
.sub-body .faq-item[open] summary::before { background: var(--color); color: #fff; }
.sub-body .faq-item[open] summary .chev { transform: rotate(180deg); color: var(--color); }
.sub-body .faq-item .a-body { position: relative; padding: 1.6rem 1.8rem 1.8rem 5.4rem; border-top: 1px solid var(--line); font-size: 1.5rem; line-height: 1.75; color: #555; }
.sub-body .faq-item .a-body::before { content: 'A'; position: absolute; left: 1.8rem; top: 1.6rem; width: 2.6rem; height: 2.6rem;
    display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #f3f3f3; color: #999; font-weight: 700; font-size: 1.4rem; }

/* 반응형 — 좁은 화면에서 글쓴이/조회 컬럼 숨김 */
@media all and (max-width: 800px) {
    .sub-head h1 { font-size: 2.6rem; }
    .sub-body { padding: 2rem 0 2rem; }

    /* 찾기 도구 — 말머리 탭 위, 검색은 전체폭 한 줄(좁은 화면에서 가로 넘침 방지) */
    .sub-body .list-tools { flex-direction: column; align-items: stretch; gap: 1.4rem; }
    .sub-body .list-tools .list-search { width: 100%; }
    .sub-body .list-tools .list-search input[type="text"] { flex: 1; min-width: 0; }

    /* 게시판 목록 — 테이블을 카드형으로 전환(컬럼 숨김 대신 재배치).
       제목을 위에 크게, 글쓴이·날짜·조회를 아래 한 줄 메타로. 번호는 숨기고 고정은 배경 틴트로 구분. */
    .sub-body .board-list, .sub-body .board-list tbody, .sub-body .board-list tr, .sub-body .board-list td { display: block; }
    .sub-body .board-list { font-size: 1.5rem; }
    .sub-body .board-list thead { display: none; }
    .sub-body .board-list tr { padding: 1.4rem .6rem; border-bottom: 1px solid var(--line); }
    .sub-body .board-list tr.pinned { border-radius: .8rem; padding-left: 1.2rem; padding-right: 1.2rem; }
    .sub-body .board-list td { padding: 0; border: 0; text-align: left; width: auto; }
    .sub-body .board-list .c-no { display: none; }
    .sub-body .board-list .c-title { margin-bottom: .7rem; }
    .sub-body .board-list .c-title .cat-slot { display: inline; width: auto; margin-right: .4rem; }
    .sub-body .board-list .c-title a { display: inline; font-size: 1.6rem; line-height: 1.5; white-space: normal; word-break: break-all; }
    .sub-body .board-list .c-author, .sub-body .board-list .c-date, .sub-body .board-list .c-view { display: inline; font-size: 1.3rem; color: #aaa; }
    .sub-body .board-list .c-author { color: #888; }
    .sub-body .board-list .c-author::after, .sub-body .board-list .c-date::after { content: '·'; margin: 0 .5rem; color: #ddd; }
    .sub-body .board-list .c-view::before { content: '조회 '; }

    /* 공지 목록 — 한 줄 유지하되 말머리 슬롯·날짜 축소로 제목 공간 확보 */
    .sub-body .notice-list li { gap: .8rem; padding: 1.15rem .5rem; }
    .sub-body .notice-list .ntag { width: 4.4rem; }
    .sub-body .notice-list a { font-size: 1.55rem; }
    .sub-body .notice-list .date { font-size: 1.3rem; }

    /* 목록 하단 — 페이지네이션(중앙) 위, 글쓰기(전체폭) 아래로 단순 스택 */
    .sub-body .board-foot { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
    .sub-body .board-foot .pagination { margin: 0; }
    .sub-body .board-foot .write-btn { width: 100%; }
    .sub-body .pagination { flex-wrap: wrap; }
    .sub-body .pagination .pg-num, .sub-body .pagination .pg-arrow { min-width: 3.4rem; height: 3.4rem; font-size: 1.5rem; }

    /* 이전·다음 네비 — 라벨폭·간격 축소 */
    .sub-body .post-nav .pn-row { gap: 1rem; padding: 1.3rem .4rem; }
    .sub-body .post-nav .pn-label { width: 6rem; font-size: 1.3rem; }
    .sub-body .post-nav .pn-title { font-size: 1.45rem; }

    .sub-body .board-form th { width: auto; display: block; border-bottom: none; padding-bottom: .6rem; }
    .sub-body .board-form td { display: block; padding-top: 0; }
    .sub-body .faq-section-title { font-size: 1.8rem; }
    .sub-body .faq-toolbar { flex-direction: column; align-items: stretch; }
    .sub-body .faq-toolbar .list-search { width: 100%; }
    .sub-body .faq-toolbar .list-search input[type="text"] { flex: 1; min-width: 0; }
    .sub-body .faq-item summary { font-size: 1.5rem; }
}

/* ============================================================================
   프리미엄 리스킨 — front.css(디자인 원본) 보정
   front.css 는 손대지 않고, style.css 가 뒤에 로드되는 이점으로 팔레트/배경/타이포만
   덮어쓴다. 구조·레이아웃·여백 스케일은 그대로. 동일 선택자는 로드 순서로 이쪽이 이긴다.
   ============================================================================ */

/* 본문 기조 — 따뜻한 흰 배경 + 웜 그레이 글씨 */
body { color: var(--body); background: var(--paper); -webkit-font-smoothing: antialiased; }

/* ── 타이포 역할 시스템 (단일 진실원) — 사이트 전체 글꼴 역할을 여기서 한 번에 정의.
   · Pretendard : UI·본문·메뉴·버튼·모든 제목 (reset.css body 기본) — 가독성/중립.
   배너 제목(.main-visual .text .t1)도 기본 Pretendard 로 통일(과거 Cormorant/Noto Serif KR 명조 포인트를
   걸었으나, 배너도 사이트 기본 글꼴에 맞추기로 환원). 별도 font-family 지정 없이 body 기본을 상속한다. ── */
.main-visual .text .t1 {
    letter-spacing: .005em;
}
/* 영문 eyebrow(섹션 위 작은 영문) — 넉넉한 자간 + 샴페인 톤으로 럭셔리 인상 */
/* 영문 eyebrow(섹션 위 작은 영문) — 브랜드색(플럼).
   front.css 기본도 var(--color)지만 자간만 보정하므로 색은 토큰 그대로 둠 */
.h3-desc { color: var(--color); letter-spacing: .35rem; }
.h2 { letter-spacing: .04em; }

/* ── 헤더 — 분홍 밴드(#fef6f4) → 정갈한 아이보리 + 샴페인 헤어라인 ── */
.header { background: #fffdfb; border-bottom: 1px solid var(--line); }
/* 1뎁스 hover 언더라인 — 브랜드색(플럼) */
.header nav .btn-dep1:before { background: var(--color); }

/* ── 섹션 배경 — 차가운 회색(#f4f5fa/#f8f9fc) → 따뜻한 아이보리 ── */
.bg-inner { background: var(--ivory); }
/* 클리닉 슬라이드 카드 — 쉴 때 중립 라이트그레이, hover 시 브랜드 플럼(흰 글씨) */
.clinic-slider .swiper-slide a { background: #f5f4f6; }

/* ── 푸터 — 차가운 회보라(#565258) → 따뜻한 딥 차콜 ── */
footer { background: #322d29; }

/* (드롭다운 패널 그림자는 상단 .dep2 ul 정의로 단일화 — 여기 있던 중복 약한 그림자 제거) */

/* ── 메인 비주얼 페이지네이션 바 — 활성 색을 모카로(시안 #666 → 브랜드) ── */
.main-visual .swiper-pagination .swiper-pagination-bullet-active { background: var(--color); }
.swiper-pagination .swiper-pagination-progressbar-fill { background-color: var(--color); }

/* ============================================================================
   디테일·모션 폴리시 — "깔끔"에서 "공들인 고급"으로.
   카드 hover 리프트/이미지 줌 · 버튼 화살표 마이크로 인터랙션 · GNB 언더라인 ·
   부드러운 웜 그림자 · 섹션 에디토리얼 디바이더. (front.css 구조는 그대로, 거동만 보강)
   맨 아래 prefers-reduced-motion 으로 모션 민감 사용자 배려.
   ============================================================================ */

/* ── GNB 1뎁스 언더라인 — 가운데서 양옆으로 자라는 샴페인 라인(있다 없다 깜빡임 → 우아한 grow).
   style.css 상단의 has-children opacity 게이팅을 덮어써 모든 메뉴에 동일 적용. ── */
.header nav .btn-dep1:before { opacity: 1 !important; transform: scaleX(0); transform-origin: center;
    transition: transform .28s cubic-bezier(.22,.61,.36,1); }
.header nav > ul > li:hover .btn-dep1:before { transform: scaleX(1); }

/* ── 클리닉 카드 — hover 시 살짝 떠오르고(리프트) 웜 그림자. 텍스트는 모카 배경 위 흰색으로. ── */
.clinic-slider .swiper-slide a { transition: background-color .4s ease, transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease; will-change: transform; }
.clinic-slider .swiper-slide a:hover { transform: translateY(-8px); box-shadow: 0 18px 36px rgba(125,58,125,.22); }
.clinic-slider .swiper-slide a:hover dt,
.clinic-slider .swiper-slide a:hover dd { color: #fff; }
/* hover 리프트(-8px)+그림자가 swiper-container(overflow:hidden)에 잘리는 현상 보정.
   세로 패딩으로 클립 박스를 위(리프트 여유)·아래(그림자 여유)로 키우고 같은 크기 음수 마진으로
   보이는 위치는 유지. 세로 패딩은 슬라이드 가로폭 계산에 무영향 → 양옆 클립은 그대로. */
.clinic-slider .swiper-container { padding-top: 1.6rem; padding-bottom: 4rem; margin-top: -1.6rem; margin-bottom: -4rem; }

/* ── 커뮤니티 이미지 카드 — 컨테이너 overflow 안에서 이미지 줌(차분한 1.06배). ── */
.latest-list .item .img-box { overflow: hidden; }
.latest-list .item .img-box img { transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.latest-list .item .img-box a:hover img { transform: scale(1.06); }

/* ── slider1 우측 썸네일 — 이미지 줌 + 모카 화살표 원형이 hover 시 살짝 확대. ── */
.slider1 .right-box .img { overflow: hidden; }
.slider1 .right-box .img img { transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.slider1 .right-box .swiper-slide a:hover .img img { transform: scale(1.06); }
.slider1 .right-box .img i { transition: transform .35s ease; }
.slider1 .right-box .swiper-slide a:hover .img i { transform: scale(1.12); }

/* ── 버튼 화살표 마이크로 인터랙션 — hover 시 화살표가 오른쪽으로 미끄러진다(전환 유도). ── */
.sub-body .btn svg { transition: transform .3s ease; }
.sub-body .btn:hover svg { transform: translateX(4px); }

/* ── 섹션 에디토리얼 디바이더 — 큰 영문 라벨(.h2) 아래 짧은 샴페인 헤어라인.
   home .title 은 가운데 정렬이라 중앙 배치. 위계와 "에디토리얼" 인상 강화. ── */
.title .h2 { position: relative; padding-bottom: 2.4rem; }
.title .h2::after { content: ''; position: absolute; left: 50%; bottom: .8rem; transform: translateX(-50%);
    width: 4.4rem; height: 1px; background: var(--accent); }

/* ── 접근성 — 모션 민감 사용자에겐 이동/줌 애니메이션을 끈다(색·표시는 유지). ── */
@media (prefers-reduced-motion: reduce) {
    .clinic-slider .swiper-slide a,
    .latest-list .item .img-box img,
    .slider1 .right-box .img img,
    .slider1 .right-box .img i,
    .header nav .btn-dep1:before,
    .header nav .dep2 ul li,
    .sub-body .btn svg { transition: none !important; transform: none !important; }
    /* 스태거 비활성 시에도 열린 패널 항목은 보이도록 보정(transform 제거로 위치는 정상) */
    .header nav .dep2.is-open ul li { opacity: 1; }
}

/* ============================================================================
   app-body 페이지 위젯 톤 — 구 /movie·/media·/story 등
   템플릿 인라인 <style>(.tx-card 등, 명시도 0,1,0)을 .app-body 스코프(0,2,0)로 덮어
   프리미엄 모카 톤 + 10px 루트에 맞는 적정 크기로 통일. (인라인 색은 이미 토큰화됨)
   ============================================================================ */

/* 영상/언론/후기 탭·리스트 (/movie /media /story) */
.app-body .cat-tabs { gap: .8rem; margin: 1.5rem 0; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.app-body .cat-tabs a { padding: .7rem 1.4rem; border: 1px solid var(--line); border-radius: .8rem; color: var(--body); font-size: 1.5rem; transition: all .2s ease; }
.app-body .cat-tabs a:hover { border-color: var(--color); color: var(--color); }
.app-body .cat-tabs a.on { background: var(--color); color: #fff; border-color: var(--color); }
.app-body .movie-item, .app-body .media-item, .app-body .story-item { border-color: var(--line); }
.app-body .media-item .outlink, .app-body .article-detail .meta .outlink { color: var(--color); }

/* ──────────────────────────────────────────────────────────────────────────
   좌/우 플로팅 퀵바(바로가기) — 전 페이지 전역 chrome (운영자 /admin/quick-links 관리).
   레거시 #quickMenu 를 대체. 위치(좌/우)·PC/모바일 노출은 운영자 전역 설정(front_quick_settings).
   모바일 분기 1020px = 헤더 GNB 전환점과 동일.
   ────────────────────────────────────────────────────────────────────────── */
/* z-index 1000 = 본문 위, 팝업(레이어 .site-popup z-1200) 아래, 모바일 메뉴(5000/6000) 아래.
   팝업은 일시적 주목 요소라 상시 chrome 인 퀵바보다 위에 와야 함(특히 모바일 풀폭 팝업과 측면 퀵바 충돌 시). */
/* 원형 버튼형 — 통일된 라인 아이콘(큐레이티드 세트)을 담은 원형 숏컷. 라벨은 버튼 하단 옵셔널.
   운영자 임의 업로드 이미지(톤 들쭉날쭉) 폐기 → currentColor 라인 아이콘으로 강제 일관. */
.quickbar { position: fixed; top: 50%; transform: translateY(-50%); z-index: 1000; }
.quickbar--right { right: 1.6rem; }
.quickbar--left  { left: 1.6rem; }
.quickbar ul { display: flex; flex-direction: column; align-items: center; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.quickbar__item { display: flex; }
.quickbar__link {
    position: relative;
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    color: var(--body); text-decoration: none;
}
/* 원형 버튼 본체 — 흰 바탕·웜 헤어라인·소프트 그림자, 아이콘은 플럼. hover 시 플럼 솔리드 반전+살짝 떠오름. */
.quickbar__btn {
    display: flex; align-items: center; justify-content: center;
    width: 6.4rem; height: 6.4rem; border-radius: 50%;
    background: var(--paper); border: 1px solid var(--line); color: var(--color);
    box-shadow: 0 .4rem 1.4rem rgba(44, 40, 37, .12);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.quickbar__btn svg { width: 3rem; height: 3rem; display: block; }
.quickbar__link:hover .quickbar__btn {
    background: var(--color); border-color: var(--color); color: #fff;
    transform: translateY(-2px); box-shadow: 0 .7rem 2rem rgba(44, 40, 37, .22);
}
/* 라벨 = 반투명 흰 칩 — fixed 퀵바가 배너 이미지/흰 섹션/컬러밴드 어느 배경 위에 떠도 글자가 묻히지
   않게 자체 배경을 갖는다(맨 글자는 풀블리드 배너 위에서 가독성 0). */
.quickbar__label {
    padding: .25rem .65rem; border-radius: 1rem;
    background: rgba(255, 255, 255, .9); color: var(--ink);
    font-size: 1.1rem; font-weight: 600; text-align: center; line-height: 1.25;
    max-width: 7.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    box-shadow: 0 .2rem .7rem rgba(44, 40, 37, .14);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.quickbar__link:hover .quickbar__label { color: var(--color); }

/* 전화하기 = 전환 1순위 → 평소엔 옅은 플럼 틴트로 은은히 강조(아이콘색·hover 솔리드 반전은
   .quickbar__btn 공통 규칙 상속 → 결 일관). hover 솔리드는 공통 .quickbar__link:hover 가 처리.
   PC 는 클릭 무동작(href 없음)이라 호버 시 번호를 버튼 옆으로 펼쳐 노출(.quickbar__phone),
   모바일은 front.js 가 data-tel→tel: 로 승격해 탭하면 통화. */
.quickbar__item--phone .quickbar__btn { background: var(--color-soft); border-color: rgba(153, 70, 153, .35); }
.quickbar__phone {
    position: absolute; top: 3.2rem; transform: translateY(-50%); white-space: nowrap;
    padding: .9rem 1.4rem; border-radius: 1rem; background: var(--color-deep); color: #fff;
    font-size: 1.7rem; font-weight: 700; letter-spacing: .02em;
    box-shadow: 0 .6rem 2rem rgba(44, 40, 37, .24);
    opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.quickbar--right .quickbar__item--phone .quickbar__phone { right: calc(100% + 1.2rem); }
.quickbar--left  .quickbar__item--phone .quickbar__phone { left: calc(100% + 1.2rem); }
.quickbar__item--phone .quickbar__link:hover .quickbar__phone { opacity: 1; }

/* 노출 토글 — PC(>1020px) / 모바일(≤1020px) */
@media (min-width: 1021px) { .quickbar--hide-pc { display: none; } }
@media (max-width: 1020px) {
    .quickbar--hide-mobile { display: none; }
    /* 모바일도 측면(좌/우 설정)·세로 중앙 유지. html{font-size:7px} 스케일 대응 위해 버튼 크기는 px 고정. */
    .quickbar--right { right: 10px; }
    .quickbar--left  { left: 10px; }
    .quickbar ul { gap: 9px; }
    .quickbar__btn { width: 56px; height: 56px; }
    .quickbar__btn svg { width: 27px; height: 27px; }
    .quickbar__label { font-size: 11px; max-width: 64px; padding: 2px 7px; border-radius: 8px; }
    /* 전화는 탭하면 통화(tel:)라 호버 번호 플라이아웃 불필요 — 숨김 */
    .quickbar__phone { display: none; }
}
@media (prefers-reduced-motion: reduce) { .quickbar__btn { transition: none; } }

/* ── 퀵바 안전 거터 — 본문이 퀵바 밑으로 들어가지 않게 .inner 안쪽 여백을 퀵바 쪽으로 확보한다.
   퀵바는 position:fixed 라 콘텐츠 레일(.inner, --in=148rem) 바깥으로 밀려나지 못한다. 뷰포트가
   `레일폭 + 퀵바 점유 ×2` 보다 좁으면 레일 우측 끝과 퀵바가 그대로 겹친다 — 실측 1600px 미만 전부.
   1440px 에서 가로 60px·세로 64px 이 겹치고, 버튼이 불투명 흰 원이라 본문 글자가 가려진다.
   블록 21종 중 19종이 맨 .inner 에 뿌리를 둔다(.post-band·.sub-body 만 100rem 으로 좁혀 써서
   원래 안 겪는다) — 소개 페이지만의 문제가 아니라 홈 FAQ 밴드도 같이 겪으므로, 블록마다
   폭을 조정하지 않고 레일 한 곳에서 푼다.
   필요 여백 = 퀵바 점유(right 1.6rem + 버튼 6.4rem, 라벨 칩이면 8.8rem) + 숨돌릴 틈,
   빼기 레일 바깥에 이미 남는 여백 (100vw - --in)/2. 뷰포트가 넓어져 그 여백만으로 충분해지면
   clamp 하한(2rem = .inner 원래 padding)으로 자연히 복귀한다 — 미디어쿼리 단차가 없다.
   전부 rem 이라 ≤1280px 의 html{font-size:8px} 축소를 자동으로 따라간다(레일도 같이 줄어든다).
   :has() 로 거는 이유 = 퀵바 좌/우는 운영자 전역 설정(front_quick_settings.position)이고 항목이
   0건이면 div 자체가 렌더되지 않는다. 템플릿에 body 클래스를 새로 심는 대신 실제 렌더 결과를 따른다.
   ⚠️ 가운데 정렬 콘텐츠는 거터의 절반(최대 4rem)만큼 반대쪽으로 치우친다 — 퀵바가 차지한 공간을
   뺀 나머지의 중앙이라 의도된 결과다.
   ⚠️ 모바일(≤1020px)은 제외 — 거터가 화면폭의 1/4을 먹고, 플로팅 버튼이 본문 위에 뜨는 것은
   모바일에서 관례다. 그리고 front.css 의 .sub-visual .inner(padding 13rem)는 이 값보다 커서
   원래 퀵바를 비켜 가는데 이 규칙이 우측만 10rem 으로 덮는다 — munjip 은 .sub-visual 을 쓰지
   않아(레이아웃/_sub.twig 주석) 무해하지만, 되살리면 좌우 비대칭이 된다. ── */
@media (min-width: 1021px) {
    body:has(.quickbar--right:not(.quickbar--hide-pc)) .inner { padding-right: clamp(2rem, calc(10rem - (100vw - var(--in)) / 2), 10rem); }
    body:has(.quickbar--left:not(.quickbar--hide-pc))  .inner { padding-left:  clamp(2rem, calc(10rem - (100vw - var(--in)) / 2), 10rem); }
}

/* ── FAQ 슬라이더 화살표를 레일 안으로 — 퀵바와 무관한 레일 폭 문제라 위 거터와 따로 둔다.
   front.css 의 `.faq-slider .swiper-button-prev/next` 는 트랙 밖 ∓5rem 에 놓인다. 레일(--in)이
   뷰포트를 꽉 채우면 그 5rem 이 갈 곳이 없다 — 실측 1440px 에서 다음 화살표가 뷰포트 밖 30px 로
   잘리고 가로 스크롤까지 생긴다(scrollWidth 1470 > clientWidth 1440). **거터 이전부터 깨져 있던 자리다.**
   트랙을 그만큼 안쪽으로 들여 화살표가 콘텐츠 끝선에 앉게 한다. 레일 바깥에 이미 5rem 이 남는
   넓은 화면(뷰포트 ≥ --in + 10rem)에서는 clamp 하한 0 으로 복귀 — 시안 그대로다.
   위 퀵바 거터와 겹쳐도 맞는다: 거터 쪽 화살표가 콘텐츠 끝선 = 퀵바에서 2rem 앞에 선다(실측 20px).
   같은 형제인 `.clinic-slider`·`.feature6` 은 손대지 않는다 — front.css 가 ≤1680px 에서 그 화살표를
   display:none 으로 끄는데, 그 구간이 정확히 문제 구간이라 원래 겪지 않는다. `.faq-slider` 만
   그 가드가 빠져 있었다(꺼지는 시점이 ≤800px). 즉 이 규칙은 빠진 가드를 채우는 쪽이다.
   801~1020px(모바일 스케일)도 화살표가 살아 있는 구간이라 포함한다 — 거터(≥1021px)와 범위가 다르다. ── */
@media (min-width: 801px) {
    .faq-slider { margin-inline: clamp(0rem, calc(5rem - (100vw - var(--in)) / 2), 5rem); }
}
/* 퀵바 쪽만은 레일 기준이 아니라 **고정 5rem** 이다. 위 거터가 이미 "콘텐츠 끝선에서 퀵바까지"를
   맞춰 놨으므로, 화살표가 그 끝선 안에 들려면 트랙이 화살표 폭 만큼 항상 물러나야 한다.
   레일 기준 clamp 를 그대로 쓰면 뷰포트가 넓어질 때 거터와 들여쓰기가 **같은 여유분을 두 번** 쓴다
   — 화살표가 퀵바보다 2배 속도로 바깥으로 나가 1520~1680px 구간에서 도로 겹친다(실측 0/−30/−10px).
   반대쪽은 위 규칙(레일 기준)이 그대로 맞다 — 그쪽엔 거터가 없어 레일 바깥 여백이 곧 남는 공간이다. */
@media (min-width: 1021px) {
    body:has(.quickbar--right:not(.quickbar--hide-pc)) .faq-slider { margin-right: 5rem; }
    body:has(.quickbar--left:not(.quickbar--hide-pc))  .faq-slider { margin-left:  5rem; }
}

/* ============================================================================
   D11 저자 — 게시글 저자 박스(.author-box, board/_author_box.twig) + 저자 페이지(.author-page, author/show.twig).
   .sub-body 스코프(상세 .post 톤과 동일: --line 경계·--color 강조·--color-soft 배경). 모바일 768 기준.
   ============================================================================ */
.sub-body .author-initial { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; background: var(--color-soft); color: var(--color); font-weight: 700; }
.sub-body .author-box { display: flex; gap: 2rem; align-items: flex-start; margin: 1rem 0 3rem; padding: 2.2rem 2.4rem; border: 1px solid var(--line); border-radius: 1.2rem; background: #fafafa; max-width: 80rem; }
.sub-body .author-box__photo { flex: none; width: 7.2rem; height: 7.2rem; border-radius: 50%; overflow: hidden; background: #fff; }
.sub-body .author-box__photo a { display: block; width: 100%; height: 100%; }
.sub-body .author-box__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sub-body .author-box__photo .author-initial { font-size: 2.6rem; }
.sub-body .author-box__body { flex: 1; min-width: 0; }
.sub-body .author-box__label { font-size: 1.3rem; color: var(--color); font-weight: 600; letter-spacing: .02em; margin-bottom: .4rem; }
.sub-body .author-box__name { font-size: 1.8rem; font-weight: 700; color: #222; line-height: 1.4; }
.sub-body .author-box__name a { color: inherit; text-decoration: none; }
.sub-body .author-box__name a:hover { color: var(--color); }
.sub-body .author-box__title { margin-left: .7rem; font-size: 1.45rem; font-weight: 500; color: #777; }
.sub-body .author-box__creds { list-style: none; margin: .8rem 0 0; padding: 0; color: #555; font-size: 1.45rem; line-height: 1.6; }
.sub-body .author-box__creds li::before { content: '·'; color: #bbb; margin-right: .5rem; }
.sub-body .author-box__bio { margin: .8rem 0 0; color: #555; font-size: 1.45rem; line-height: 1.6; }
.sub-body .author-box__reviewed { margin-top: .8rem; font-size: 1.35rem; color: #555; line-height: 1.6; }
.sub-body .author-box__reviewed::before { content: '✓'; margin-right: .4rem; font-weight: 700; color: var(--color); }
.sub-body .author-box__more { display: inline-block; margin-top: 1rem; font-size: 1.4rem; color: var(--color); text-decoration: none; }
.sub-body .author-box__more:hover { text-decoration: underline; }

/* 저자 목록(/authors, author/index.twig) — 카드 세로 스택. 저자 페이지(.author-page)와 같은
   .sub-body 스코프·같은 폭(80rem)이라 두 화면을 오갈 때 본문 레일이 흔들리지 않는다. */
.sub-body .author-index { max-width: 80rem; }
.sub-body .author-index__lead { margin: 0 0 2.4rem; font-size: 1.6rem; color: #555; }
.sub-body .author-index__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sub-body .author-index__item { border-bottom: 1px solid var(--line); }
.sub-body .author-index__card { display: flex; gap: 2rem; align-items: center; padding: 2.2rem .6rem;
    color: inherit; text-decoration: none; transition: background-color .2s ease; }
.sub-body .author-index__card:hover { background: var(--color-soft); }
.sub-body .author-index__photo { flex: none; width: 7.2rem; height: 7.2rem; border-radius: 50%;
    overflow: hidden; background: #fff; }
.sub-body .author-index__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sub-body .author-index__photo .author-initial { font-size: 2.6rem; }
.sub-body .author-index__body { flex: 1; min-width: 0; }
.sub-body .author-index__name { display: block; font-size: 1.9rem; font-weight: 700; color: #222; line-height: 1.4; }
.sub-body .author-index__card:hover .author-index__name { color: var(--color); }
.sub-body .author-index__en { font-size: 1.4rem; font-weight: 400; color: #999; }
.sub-body .author-index__title { margin-left: .7rem; font-size: 1.45rem; font-weight: 500; color: #777; }
/* 소개는 두 줄까지 — 저자마다 길이가 들쭉날쭉해도 카드 높이가 유지된다. 전문은 저자 페이지에 있다. */
.sub-body .author-index__bio { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; margin-top: .6rem; font-size: 1.5rem; line-height: 1.6; color: #555; }
.sub-body .author-index__count { display: block; margin-top: .7rem; font-size: 1.35rem; color: #999; }

/* 저자 페이지 하단 '다른 저자 보기' — 저자가 2명 이상일 때만 렌더(막다른 페이지 방지). */
.sub-body .author-page__more { margin: 3rem 0 0; }
.sub-body .author-page__more a { font-size: 1.5rem; color: var(--color); text-decoration: none; }
.sub-body .author-page__more a:hover { text-decoration: underline; }
.sub-body .author-page__more span { display: inline-block; transition: transform .3s ease; }
.sub-body .author-page__more a:hover span { transform: translateX(3px); }

.sub-body .author-page { max-width: 80rem; }
.sub-body .author-page__head { display: flex; gap: 3rem; align-items: flex-start; padding-bottom: 2.6rem; border-bottom: 1px solid var(--line); margin-bottom: 2.6rem; }
.sub-body .author-page__photo { flex: none; width: 12rem; height: 12rem; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.sub-body .author-page__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sub-body .author-page__photo .author-initial { font-size: 4.2rem; }
.sub-body .author-page__intro { flex: 1; min-width: 0; }
.sub-body .author-page__name { font-size: 2.6rem; font-weight: 700; color: #222; margin: 0; line-height: 1.3; }
.sub-body .author-page__en { font-size: 1.6rem; font-weight: 400; color: #999; margin-left: .6rem; }
.sub-body .author-page__title { margin: .4rem 0 0; font-size: 1.6rem; color: var(--color); font-weight: 600; }
.sub-body .author-page__bio { margin: 1.4rem 0 0; font-size: 1.6rem; line-height: 1.8; color: #444; }
.sub-body .author-page__links { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 0; padding: 0; }
.sub-body .author-page__links a { display: inline-block; font-size: 1.3rem; color: var(--color); background: var(--color-soft); border-radius: 2rem; padding: .4rem 1.1rem; text-decoration: none; }
.sub-body .author-page__links a:hover { background: var(--color); color: #fff; }
.sub-body .author-page__creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr)); gap: 2rem 3rem; padding-bottom: 2.6rem; border-bottom: 1px solid var(--line); margin-bottom: 2.6rem; }
.sub-body .author-page__sec h2 { font-size: 1.6rem; font-weight: 700; color: #222; margin: 0 0 .8rem; padding-bottom: .5rem; border-bottom: 2px solid var(--color); display: inline-block; }
.sub-body .author-page__sec ul { list-style: none; margin: 0; padding: 0; color: #555; font-size: 1.5rem; line-height: 1.7; }
.sub-body .author-page__sec li::before { content: '·'; color: #bbb; margin-right: .5rem; }
/* 글 링크 줄 목록 — 저자 페이지의 "작성한 글"(.author-page__list)과 글 상세의 "이 저자의 다른 글"
   (.linked-list)이 같은 모양이다. 같은 성격의 목록이라 규칙을 한 벌만 둔다(마크업의 ap-*/ll-* 은
   각 화면의 이름이고, 여기서 함께 받는다). */
.sub-body .author-page__posts h2,
.sub-body .post-more h2 { font-size: 1.8rem; font-weight: 700; color: #222; margin: 0 0 1.2rem; }
.sub-body .author-page__list,
.sub-body .linked-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sub-body .author-page__list li,
.sub-body .linked-list li { border-bottom: 1px solid var(--line); }
.sub-body .author-page__list a,
.sub-body .linked-list a { display: flex; align-items: center; gap: 1.6rem; padding: 1.4rem .6rem; color: #333; text-decoration: none; }
.sub-body .author-page__list a:hover,
.sub-body .linked-list a:hover { background: var(--color-soft); }
.sub-body .author-page__list .ap-board,
.sub-body .linked-list .ll-badge { flex: none; font-size: 1.3rem; color: var(--color); background: var(--color-soft); border-radius: .4rem; padding: .2rem .7rem; }
.sub-body .author-page__list .ap-title,
.sub-body .linked-list .ll-title { flex: 1; min-width: 0; font-size: 1.55rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub-body .author-page__list .ap-date,
.sub-body .linked-list .ll-date { flex: none; font-size: 1.3rem; color: #999; }
/* 이 저자의 다른 글 — 저자 박스 바로 아래 한 덩어리. 이전·다음 네비게이션보다 먼저 온다. */
.sub-body .post-more { margin: 3rem 0 0; }
@media (max-width: 768px) {
    .sub-body .author-box { gap: 1.4rem; padding: 1.8rem; }
    .sub-body .author-box__photo { width: 5.6rem; height: 5.6rem; }
    .sub-body .author-page__head { flex-direction: column; align-items: center; text-align: center; gap: 1.6rem; }
    .sub-body .author-page__links { justify-content: center; }
    .sub-body .author-page__list .ap-board,
    .sub-body .linked-list .ll-badge { display: none; }
    .sub-body .author-index__card { gap: 1.4rem; padding: 1.8rem .4rem; }
    .sub-body .author-index__photo { width: 5.6rem; height: 5.6rem; }
    .sub-body .author-index__title { display: block; margin-left: 0; margin-top: .2rem; }
}

/* ============================================================================
   글 목록 블록(post_list — blocks/_post_list.twig) — 문집형 인덱스의 본체.
   front.css 디자인 밴드를 차용하지 않고 자체 밴드(.post-band)를 갖는다: 차용 후보였던
   `.latest-list` 는 카드 1~3개 가로 배치가 전제라 목록 한 벌을 주인공으로 두는 이 블록과 맞지 않는다.
   줄글이라 미디어 레일(--in 148rem) 전폭을 쓰지 않고 100rem 으로 좁혀 한 줄 길이를 읽기 폭에 맞춘다.
   rem 은 html font-size(10/8/7px, front.css)를 따라 스케일되므로 크기 미디어쿼리는 레이아웃만.
   ============================================================================ */
.post-band { padding: var(--pd) 0; }
/* 첫 밴드 = 히어로(배너)가 없을 때 sticky 헤더 바로 아래에 온다. --pd(15rem) 전액이면
   화면 첫 인상이 여백뿐이라 위쪽만 줄인다. 판정은 BlockRenderer 의 pb_is_first(운영자가
   블록 순서를 바꿔도 따라감) — 템플릿에 위치를 하드코딩하지 않는다. */
.post-band--first { padding-top: 7rem; }
/* 인접 밴드 여백 합산 보정(2026-10-01 실측). front.css 디자인 밴드는 마진(--pd)으로 간격을 두고 마진 겹침에
   기대는데 .post-band 는 padding 밴드라 겹치지 않는다 — 히어로(margin-bottom --pd) 뒤에 오면 위 패딩과
   합산 300px, FAQ 밴드(margin-top --pd) 앞에 오면 또 300px 이 빈 화면으로 남았다. 어느 쪽이든 --pd 하나만
   남도록 히어로 뒤에서는 자기 위 패딩을, 마진 밴드 앞에서는 그 밴드의 위 마진을 0 으로. */
.main-visual + .post-band { padding-top: 0; }
.post-band + .faq-slider-band,
.post-band + .slider1,
.post-band + .inner > .feature3,
.post-band + .inner > .feature5 { margin-top: 0; }
.post-band .inner { max-width: 100rem; }
/* 밴드 머리글 = 라벨(2026-10-02, 글 목록·FAQ 슬라이더 공용 · 10-03 번호 프로세스도). front.css 의 .title/.h2(5.5rem·가운데·헤어라인)는
   회사소개형 섹션 문법이라 쓰지 않는다 — 블로그 대체를 표방하는 화면에서 글 목록은 섹션이 아니라 지면 그 자체고,
   그 아래 FAQ 가 본체보다 큰 제목을 달면 위계가 뒤집힌다. 라벨은 행 말머리(.post-list__cat)·영문 eyebrow(.h3-desc)와
   같은 언어(작게·브랜드색·자간), 왼쪽 정렬, 같은 줄 오른쪽에 「전체 보기」(블로그 관용). 라벨이 비면 각 블록의
   종전 아래 버튼이 링크를 맡는다 — 링크는 한 곳에만. 2026-10-02 이전에는 .title .h2 였고 홈 첫 제목 요소가 「칼럼」이었다.
   FAQ 슬라이더는 .inner 가 곧 밴드라 라벨도 레일 전폭(--in)에 앉고, 글 목록은 .post-band .inner(100rem)를 따른다. */
.band-intro { margin-bottom: 2.4rem; }
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap; }
.band-label { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: .08em; color: var(--color); line-height: 1.4; }
.band-all { margin-left: auto; font-size: 1.45rem; color: var(--color); text-decoration: none; white-space: nowrap; }
.band-all:hover { text-decoration: underline; }
.band-all span { display: inline-block; transition: transform .3s ease; }
.band-all:hover span { transform: translateX(3px); }
.band-sub { margin: .8rem 0 0; font-size: 1.7rem; color: var(--body); }

/* 대표 저자 줄 — 사이트의 '얼굴'(기본정보에서 지정). 목록 위 한 덩어리.
   저자 박스(.author-box, 글 상세)와 톤을 맞추되 밴드 머리글이라 더 가볍게: 배경 없이 위아래 헤어라인만.
   미지정이면 렌더러가 null 을 주고 템플릿이 통째로 생략한다 — 빈 자리를 남기지 않는다. */
.post-author { display: flex; align-items: center; gap: 1.8rem; margin-bottom: 3.2rem;
    padding: 2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-author__photo { flex: none; display: block; width: 6.4rem; height: 6.4rem; border-radius: 50%;
    overflow: hidden; background: var(--color-soft); }
.post-author__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-author__initial { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
    color: var(--color); font-size: 2.4rem; font-weight: 700; }
.post-author__body { flex: 1; min-width: 0; }
.post-author__name { font-size: 1.9rem; font-weight: 700; color: var(--ink); line-height: 1.4; }
.post-author__name a { color: inherit; text-decoration: none; }
.post-author__name a:hover { color: var(--color); }
.post-author__title { margin-left: .8rem; font-size: 1.5rem; font-weight: 500; color: #8b837b; }
.post-author__bio { margin: .5rem 0 0; font-size: 1.5rem; line-height: 1.6; color: var(--body); }
/* 오른쪽 행동 묶음 — 「저자 소개 →」(텍스트 링크) + 「공식 홈페이지 ↗」(채운 버튼, 사이트의 전환 통로라 한 단계 세게). */
.post-author__actions { flex: none; display: flex; align-items: center; gap: 1.6rem; }
.post-author__site { display: inline-flex; align-items: center; gap: .4rem; padding: .9rem 1.8rem; border-radius: 3rem;
    background: var(--color); color: #fff; font-size: 1.45rem; font-weight: 600; text-decoration: none; white-space: nowrap;
    transition: filter .2s ease, transform .2s ease; }
.post-author__site:hover { filter: brightness(1.08); transform: translateY(-1px); }
.post-band__sitelink { margin-bottom: 3.2rem; }
.post-author__more { flex: none; font-size: 1.45rem; color: var(--color); text-decoration: none; white-space: nowrap; }
.post-author__more:hover { text-decoration: underline; }
.post-author__more span { display: inline-block; transition: transform .3s ease; }
.post-author__more:hover span { transform: translateX(3px); }

/* ── 옆 배치(.post-band--aside — 블록 옵션 「대표 저자를 목록 옆에」) ──
   데스크탑(≥1021px)에서만 두 열: 목록(왼쪽, 본체) + 저자 카드(오른쪽, sticky). 마크업 순서는 위 배치와 같은
   저자 → 목록 그대로이고 flex order 로 카드를 오른쪽에 보낸다 — 모바일·태블릿은 이 블록이 통째로 꺼져
   위 한 줄 배치와 동일하게 돌아간다(같은 요소·같은 자리, 스타일만 다르다).
   밴드 폭 100rem → 132rem 은 목록을 좁히지 않으려는 것이다: 카드 30rem + 간격 4.8rem 을 빼면 목록 ≈ 93rem 으로
   위 배치 때(≈96rem)와 거의 같은 한 줄 길이가 유지된다. 카드는 저자 박스(.author-box) 톤의 아이보리 패널. */
@media (min-width: 1021px) {
    .post-band--aside .inner { max-width: 132rem; }
    .post-band--aside .post-band__cols { display: flex; align-items: flex-start; gap: 4.8rem; }
    .post-band--aside .post-band__main { flex: 1 1 0; min-width: 0; order: 1; }
    .post-band--aside .post-author { order: 2; flex: 0 0 30rem; position: sticky; top: 10rem;
        flex-direction: column; align-items: flex-start; gap: 0; margin: 0; padding: 3.2rem 2.8rem;
        border: 0; border-radius: 1.6rem; background: var(--ivory); }
    .post-band--aside .post-author__photo { width: 8.8rem; height: 8.8rem; }
    .post-band--aside .post-author__initial { font-size: 3.2rem; }
    .post-band--aside .post-author__body { flex: none; width: 100%; margin-top: 2rem; }
    .post-band--aside .post-author__name { font-size: 2.1rem; }
    .post-band--aside .post-author__title { display: block; margin: .3rem 0 0; }
    .post-band--aside .post-author__bio { margin-top: 1.2rem; }
    /* 행동 묶음은 세로로 — 전환 통로(공식 홈페이지)를 위에, 저자 소개는 그 아래 텍스트 링크. */
    .post-band--aside .post-author__actions { flex-direction: column; align-items: stretch; width: 100%; gap: 1.2rem;
        margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
    .post-band--aside .post-author__site { order: -1; justify-content: center; }
    .post-band--aside .post-author__more { text-align: center; }
}

.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.post-list__item { border-bottom: 1px solid var(--line); padding: 2.6rem .4rem; }
.post-list__item > a { display: flex; gap: 2.4rem; align-items: flex-start; color: inherit; text-decoration: none; }
.post-list__thumb { flex: none; width: 16rem; border-radius: 1rem; overflow: hidden; background: var(--ivory); }
.post-list__thumb img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover;
    transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.post-list__item > a:hover .post-list__thumb img { transform: scale(1.06); }
.post-list__body { flex: 1; min-width: 0; }
/* 제목·발췌는 두 줄까지 — 글마다 길이가 들쭉날쭉해도 행 높이가 유지된다. */
.post-list__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 2.2rem; font-weight: 600; line-height: 1.45; color: var(--ink); transition: color .2s ease; }
.post-list__item > a:hover .post-list__title { color: var(--color); }
.post-list__pin { display: inline-block; margin-right: .8rem; padding: .1rem .8rem; border-radius: .4rem;
    background: var(--color-soft); color: var(--color); font-size: 1.3rem; font-weight: 700; vertical-align: middle; }
.post-list__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-top: .9rem; font-size: 1.6rem; line-height: 1.7; color: var(--body); }
/* 메타는 글 링크 바깥 — 저자 이름은 글이 아니라 저자 페이지로 가야 해서 <a> 안에 넣을 수 없다.
   썸네일이 있는 행은 본문 열에 맞춰 들여쓴다(썸네일 폭 16rem + gap 2.4rem). */
.post-list__meta { display: flex; align-items: center; gap: 1rem; margin-top: 1.2rem; font-size: 1.5rem; color: #8b837b; }
/* 접두 — 이름만 회색으로 두면 날짜 옆 그 글자가 무엇인지 모호하다. 아주 옅게. */
.post-list__author::before { content: '저자 '; color: #b5ada5; }
.post-list__item--thumb .post-list__meta { padding-left: 18.4rem; }
/* 행 저자 — 날짜와 같은 톤. 목록 내용과 무관하게 항상 나오므로(단일 저자 사이트면 같은 이름이
   반복된다) 눈에 띄면 그대로 노이즈가 된다. 플럼색·굵기·아바타 칩을 다 뺀 이유가 이것이다:
   반복돼도 배경처럼 가라앉되, 다른 이름이 섞이면 읽어서 구분은 된다. 링크라는 사실은 hover 때만.
   (왼쪽 썸네일이 이미 행의 시각 요소라 메타 줄에 원형 칩이 또 붙으면 행이 복잡해진다.
    복수 저자를 얼굴로 구분하는 일은 대표 저자 줄과 저자 페이지가 맡는다.) */
.post-list__author a { color: inherit; font-weight: inherit; text-decoration: none; }
.post-list__author a:hover { color: var(--color); text-decoration: underline; }
/* 저자와 날짜 사이 가운뎃점 — 저자가 없는 글(회원 글·저자 미지정)은 점 없이 날짜만 남는다. */
.post-list__author + .post-list__date::before { content: '·'; margin-right: 1rem; color: #c9c2ba; }
.post-list__empty { padding: 4rem .4rem; border-bottom: 1px solid var(--line); text-align: center; color: #8b837b; font-size: 1.7rem; }

.post-band__more { margin-top: 3rem; text-align: center; }
.post-band__more a { display: inline-block; padding: 1.2rem 3rem; border: 1px solid var(--line); border-radius: 3rem;
    color: var(--ink); font-size: 1.6rem; text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.post-band__more a:hover { background: var(--color); border-color: var(--color); color: #fff; }
.post-band__more a span { display: inline-block; transition: transform .3s ease; }
.post-band__more a:hover span { transform: translateX(4px); }

@media (max-width: 800px) {
    /* 대표 저자 줄 — 좁은 폭에서 '저자 소개 →' 가 이름을 밀어내므로 아래로 내린다(사진+이름은 한 줄 유지). */
    .post-author { flex-wrap: wrap; gap: 1.2rem; margin-bottom: 2.4rem; }
    .post-author__photo { width: 5.2rem; height: 5.2rem; }
    .post-author__actions { width: 100%; justify-content: space-between; }
    .post-list__item > a { gap: 1.6rem; }
    .post-list__thumb { width: 11rem; }
    .post-list__item--thumb .post-list__meta { padding-left: 12.6rem; }
    /* 좁은 폭에서 발췌 두 줄까지 넣으면 한 행이 너무 높아 목록이 목록으로 안 읽힌다 — 제목·저자·날짜만. */
    .post-list__excerpt { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .post-list__thumb img,
    .post-author__more span,
    .post-author__site,
    .sub-body .author-page__more span,
    .band-all span,
    .post-band__more a span { transition: none !important; transform: none !important; }
}

/* ── 메인 비주얼 — 최신 글 패널(blocks/_banner_hero.twig, 블록 설정 latest_board_slug) ──
   배너가 첫 화면을 다 차지하면 스크롤 전에 글이 0건이다. 문집의 인덱스는 글이 본체라, 배너 오른쪽에
   최신 글 몇 편(+검색창)을 얹어 첫 화면에서 글을 만나게 한다. 패널이 있는 동안만 배너 높이도 낮춘다
   (--hero-h) — 패널이 없는 사이트는 front.css 의 80vh 그대로다.
   패널은 슬라이드 밖 한 벌이라 위치를 배너 위에 겹쳐 잡는다(.hero-panel-wrap 은 front.css 의
   `.main-visual .inner` 절대배치 규칙을 그대로 받는다 — height 만 슬라이드 높이에 맞춘다). */
.main-visual--latest { --hero-h: 60vh; position: relative; }
.main-visual--latest .swiper-slide { height: var(--hero-h); min-height: 46rem; }
.main-visual--latest .swiper-slide .inner { min-height: 46rem; }
.main-visual--latest .hero-panel-wrap { top: 0; bottom: auto; height: var(--hero-h); min-height: 46rem; z-index: 6;
    display: flex; align-items: center; justify-content: flex-end; pointer-events: none; }
/* 배너 문구는 왼쪽 절반 — 오른쪽은 패널 자리. 운영자가 고른 '오른쪽'·'가운데' 유형은 이 상태에서 무시된다
   (registry help 에 적어 두었다). 반응형 폭이 좁아지면 아래 미디어쿼리가 패널을 배너 밑으로 내린다. */
.main-visual--latest .swiper-slide .text { max-width: 52%; margin-left: 0; margin-right: auto; align-items: flex-start; text-align: left; }
.main-visual--latest .swiper-slide .text .t1 { font-size: 4.6rem; }
.main-visual--latest .swiper-slide .text .t1 strong { font-size: 5.4rem; }
.main-visual--latest .swiper-slide .text .t2 { font-size: 3.4rem; margin: 2.4rem 0; }
.main-visual--latest .swiper-slide .text .t3 { font-size: 2.2rem; }

.hero-panel { pointer-events: auto; width: 44rem; max-width: 100%; display: flex; flex-direction: column; gap: 1.2rem; }
.hero-search { display: flex; border-radius: 1rem; overflow: hidden; background: rgba(255,255,255,.92); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.hero-search input[type="text"] { flex: 1; min-width: 0; height: 4.6rem; padding: 0 1.6rem; border: 0; background: transparent; font-size: 1.5rem; color: #222; }
.hero-search input[type="text"]:focus { outline: none; }
.hero-search button { height: 4.6rem; padding: 0 2rem; border: 0; background: var(--color); color: #fff; font-size: 1.5rem; font-weight: 600; cursor: pointer; }
.hero-search button:hover { filter: brightness(1.08); }
.hero-latest { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.hero-latest__item a { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem 1.9rem; border-radius: 1.2rem;
    background: rgba(18, 22, 31, .58); border: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.hero-latest__item a:hover { background: rgba(18, 22, 31, .78); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.hero-latest__item--first a { border-color: var(--color); background: rgba(18, 22, 31, .72); }
.hero-latest__label { font-size: 1.2rem; letter-spacing: .04em; color: rgba(255,255,255,.72); }
.hero-latest__item--first .hero-latest__label { color: #fff; font-weight: 600; }
.hero-latest__title { font-size: 1.6rem; font-weight: 600; line-height: 1.45; word-break: keep-all;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-latest__date { font-size: 1.3rem; color: rgba(255,255,255,.6); }
.hero-latest__empty { padding: 1.5rem 1.9rem; border-radius: 1.2rem; background: rgba(18, 22, 31, .58); color: rgba(255,255,255,.8); font-size: 1.5rem; }

@media all and (max-width: 1020px) {
    /* 좁은 폭 — 패널을 배너 아래 보통 흐름으로. 겹치면 문구도 패널도 못 읽는다. */
    .main-visual--latest { --hero-h: 52vh; }
    .main-visual--latest .swiper-slide { min-height: 34rem; }
    .main-visual--latest .swiper-slide .inner { min-height: 34rem; }
    .main-visual--latest .swiper-slide .text { max-width: 100%; }
    .main-visual--latest .hero-panel-wrap { position: static; height: auto; min-height: 0; transform: none; left: auto; width: auto;
        justify-content: stretch; padding: 1.6rem 2rem 0; }
    .hero-panel { width: 100%; }
    .hero-latest__item a { background: #1a1f2b; border-color: #1a1f2b; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .hero-latest__item--first a { background: #1a1f2b; }
    .hero-search { box-shadow: none; border: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-latest__item a { transition: none !important; transform: none !important; }
}

/* 문집형 목록 행의 말머리 라벨 — 주제 축. 제목 위 작은 브랜드색 글자(참고 사이트의 분류 라벨 자리). */
.post-list__cat { display: block; margin-bottom: .5rem; font-size: 1.3rem; font-weight: 600; letter-spacing: .02em; color: var(--color); }
