@charset "utf-8";
/* ==========================================================================================
   News Paper skin — style.css (1단계: 큰 레이아웃)
   구역:  0. 변수 · 글자 크기(PC / 모바일)   1. 공통 부품   2. 상단(로고 · 메뉴 · 검색)
          3. 첫 화면 맨 위(제호 · 새 글 띠 · 소개)   4. 목록(첫 글 큰 카드 · 가로형 목록 · 페이지 번호)
          5. 사이드바   6. 글 보기(머리 · 본문 · 안내 상자 · 공유 · 같은 분류 글 · 이전/다음)
          7. 기타 페이지   8. 바닥글   9. 본문 글 서식   10. 반응형
   직접 고칠 내용은 같은 폴더의 custom.css 에 쓰면 업데이트 때 덮어써지지 않습니다.
   ========================================================================================== */

/* ---------- 0. 변수 ---------- */
:root {
	--c-ink: #111;              /* 제호 · 검은 띠 · 큰 제목 */
	--c-text: #2b2b2b;          /* 제목 */
	--c-body: #666;             /* 본문 글자 */
	--c-muted: #999;            /* 날짜 · 설명 · 흐린 글자 */
	--c-line: #e5e5e5;          /* 가는 선 */
	--c-soft: #f6f6f6;          /* 옅은 회색 면 */
	--c-basic: #fafafa;          /* 더욱더 옅은 회색 면 */
	--c-btn: #2f2f2f;           /* 검은 버튼 */
	--c-footer: #111;
	--container: 1110px;
	--side: 254px;              /* 사이드바 폭 */
	--header-h: 88px;
	--font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;

	/* 글자 크기: PC 기준. 화면이 좁아지면 clamp 로 부드럽게 줄고, 640px 이하는 10번에서 모바일 값으로 다시 정함 */
	--fs-h1: clamp(2rem, 1.4rem + 2vw, 2.75rem);       /* 44px */
	--fs-h2: clamp(1.6rem, 1.2rem + 1.4vw, 2.125rem);  /* 34px */
	--fs-h3: clamp(1.35rem, 1.1rem + .9vw, 1.625rem);  /* 26px */
	--fs-h4: clamp(1.2rem, 1.05rem + .5vw, 1.375rem);  /* 22px */
	--fs-h5: 1.125rem;                                 /* 18px */
	--fs-h6: 1rem;                                     /* 16px */
	--fs-p: 1.155rem;                                      /* 본문 16px */
	--fs-small: .875rem;                               /* 14px */
	--fs-xs: .75rem;                                   /* 12px */
	--lh-text: 1.85;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: #fff; color: var(--c-body); font: 400 var(--fs-p)/var(--lh-text) var(--font); -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; border: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--c-text); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); } h2 { font-size: var(--fs-h2); } h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); } h5 { font-size: var(--fs-h5); } h6 { font-size: var(--fs-h6); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---------- 1. 공통 부품 ---------- */
.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.rule { margin: 0; border: 0; border-top: 1px solid var(--c-ink); }
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 32px;
	border: 1px solid transparent; border-radius: 0; background: #fff; color: var(--c-text);
	font: 600 var(--fs-small)/1 var(--font); white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--dark { background: var(--c-btn); color: #fff; }
.btn--dark:hover { background: #000; }
/* 둥근 테두리 알약 (분류 · 소개 버튼) */
.pill { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border: 1px solid var(--c-text); border-radius: 999px; color: var(--c-text); font: 500 var(--fs-xs)/1 var(--font); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: background-color .2s, color .2s; }
.pill:hover { background: var(--c-text); color: #fff; }
.pill:empty { display: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--c-ink); cursor: pointer; transition: background-color .2s; }
.icon-btn:hover { background: rgba(0,0,0,.06); }

/* ---------- 2. 상단: 로고 | 메뉴 | 검색 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; transition: background-color .3s, box-shadow .3s, -webkit-backdrop-filter .3s, backdrop-filter .3s; }
.site-header.is-scrolled { background: rgba(255,255,255,.72); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 10px 30px rgba(0,0,0,.05); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; max-width: 320px; color: var(--c-ink); font: 800 1.5rem/1 var(--font); letter-spacing: -.01em; text-transform: uppercase; }
.logo__img { height: 34px; width: auto; }
.logo__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 메뉴: category_list (ul > li > ul > li(분류) > ul > li(하위 분류)), 오른쪽 정렬 */
.gnb { flex: 1 1 auto; display: flex; justify-content: flex-end; min-width: 0; }
.gnb > ul > li > a.categoryItem, .gnb a.categoryFeed, .gnb .c_cnt { display: none; }
.gnb > ul > li > ul { display: flex; align-items: center; gap: 4px; }
.gnb > ul > li > ul > li { position: relative; }
.gnb > ul > li > ul > li > a { display: inline-flex; align-items: center; padding: 8px 12px; color: var(--c-ink); font: 800 1.0625rem/1.2 var(--font); white-space: nowrap; text-transform: uppercase; }
.gnb > ul > li > ul > li > a:hover,
.gnb > ul > li > ul > li.selected > a { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.gnb > ul > li > ul > li:has(> ul) > a::after { content: ""; width: 6px; height: 6px; margin: -3px 0 0 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); opacity: .55; }
/* 하위 분류: 반투명 상자 */
.gnb > ul > li > ul > li > ul {
	position: absolute; top: calc(100% + 8px); right: 0; min-width: 200px; padding: 8px;
	background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
	border: 1px solid rgba(0,0,0,.08); box-shadow: 0 16px 36px rgba(0,0,0,.08);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.gnb > ul > li > ul > li:hover > ul,
.gnb > ul > li > ul > li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.gnb > ul > li > ul > li > ul a { display: block; padding: 9px 12px; color: var(--c-text); font-size: var(--fs-small); text-transform: uppercase; }
.gnb > ul > li > ul > li > ul a:hover { background: rgba(0,0,0,.05); }

.header-tools { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; padding-left: 20px; border-left: 1px solid var(--c-line); }
.menu-btn { display: none; position: relative; border-radius: 0; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 10px; width: 20px; height: 2px; background: var(--c-ink); transition: .25s; content: ""; }
.menu-btn span { top: 19px; }
.menu-btn span::before { left: 0; top: -6px; }
.menu-btn span::after { left: 0; top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.search-panel { padding: 0 0 20px; }
.search-panel__form { display: flex; gap: 12px; }
.search-panel__form input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--c-ink); border-radius: 0; background: #fff; font-size: var(--fs-p); }
.search-panel__form input:focus { outline: none; box-shadow: 0 0 0 3px rgba(0,0,0,.08); }

/* ---------- 3. 첫 화면 맨 위: 제호 · 새 글 띠 · 최근 글 3개 ---------- */
.masthead { padding-top: 28px; }
.js-fit { display: inline-block; max-width: none; vertical-align: top; }
.masthead__title { display: block; margin: 2rem 0 3.5rem 0; color: var(--c-ink); font: 900 6rem/1.1 var(--font); letter-spacing: -.04em; text-align: center; text-transform: uppercase; }   /* 큰 제호: 6rem, 가운데 (좁은 화면은 10번에서 줄임) */
.masthead .container { overflow: hidden; }

.dateline { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; padding: 1.155rem 0; border-top: 1px solid #c9c9c9; border-bottom: 1px solid #c9c9c9; color: #444; font: 600 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.dateline__mid { overflow: hidden; text-overflow: ellipsis; }
.ticker { display: flex; align-items: center; height: 3.5rem; background: var(--c-basic); border-bottom: 0.1rem solid var(--c-line); color: var(--c-ink); overflow: hidden; }
.ticker__label { flex: 0 0 auto; display: flex; align-items: center; height: 1.155rem; padding: 0 1rem; border-right: 1px solid #d4d4d2; font: 800 12px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; }
.ticker__track { position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); }
.ticker__move { display: flex; width: max-content; animation: np-ticker 60s linear infinite; }
.ticker:hover .ticker__move { animation-play-state: paused; }
.ticker__group { display: flex; }
.ticker__item { display: inline-flex; align-items: center; padding: 0 28px; font: 500 14px/1 var(--font); white-space: nowrap; }
.ticker__item::after { content: "·"; margin-left: 3rem; opacity: .5; }
.ticker__item a:hover { text-decoration: underline; text-underline-offset: 4px; }
@keyframes np-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__move { animation: none; } }

/* 최근 글 3개 사진 카드: 왼쪽 큰 1 | 오른쪽 작은 2 (스킨 도우미 tc_featured) */
.featured { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; height: 520px; margin-top: 32px; }
.featured--1 { grid-template-columns: 1fr; }
.featured--2 { grid-template-rows: 1fr; grid-template-columns: 1fr 1fr; }
.featured__item { position: relative; display: block; overflow: hidden; min-height: 0; background: #2a2a2a; color: #fff; }
.featured__item--big { grid-row: 1 / -1; }
.featured__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.featured__item:hover .featured__img { transform: scale(1.04); }
.featured__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.72)); }
.featured__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.featured__item--big .featured__body { padding: 36px 40px; }
.featured__cat { align-self: flex-start; padding: 4px 10px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.featured__title { font-size: 1.125rem; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.featured__item--big .featured__title { font-size: 1.875rem; line-height: 1.3; letter-spacing: -.02em; -webkit-line-clamp: 2; }
.featured__item:hover .featured__title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.featured__meta { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.featured__dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

/* ---------- 4. 목록 ---------- */
.site-main { padding: 64px 0 96px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--side); column-gap: 56px; align-items: start; }
.view-single .layout { grid-template-columns: minmax(0, 1fr); }
.list-head { grid-column: 1 / -1; padding-bottom: 32px; margin-bottom: 3rem; border-bottom: 1px dashed var(--c-muted); }
.list-head__title { color: var(--c-ink); font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.02em; text-transform: capitalize; }
.list-head__title .page-heading__icon { height: .85em; width: auto; margin-right: 10px; vertical-align: -.06em; }
.list-head__title::first-letter {
    color: var(--c-orange);
	font-size: 4rem;
}
.has-home-top .list-head { display: none; }   /* 첫 화면 1페이지: 제호가 제목 역할 */
.post-list .is-in-featured { display: none !important; }   /* 위 사진 카드에 나온 글은 목록에서 뺌 (스킨 도우미가 표시) */
.ticker:has(.ticker__move:empty) { display: none; }          /* 공개 글이 없으면 검은 띠 숨김 */
.content { min-width: 0; }

.post-list .hfeed, .post-list .hentry { display: contents; }   /* 텍스트큐브가 감싸는 div 를 없는 것처럼 */
.post-list .hfeed > a[id^="entry_"] { display: none; }

/* 가로형 카드 (기본): 왼쪽 정사각 썸네일 | 제목 · 요약 · 정보 */
.post-card {
	display: grid; grid-template-columns: 240px minmax(0, 1fr); grid-template-areas: "thumb head" "thumb body";
	grid-template-rows: auto 1fr; column-gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--c-line);
}
.post-card__head { grid-area: head; }
.post-card__date { display: none; }
.post-card__title { font-size: var(--fs-h4); font-weight: 700; line-height: 1.4; }
.post-card__title a { color: var(--c-text); transition: color .2s; }
.post-card__title a:hover { color: #000; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.post-card__thumb { grid-area: thumb; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--c-soft); }
.post-card__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.post-card:hover .post-card__thumb img { transform: scale(1.04); }
.no-thumb.post-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body"; }
.no-thumb .post-card__thumb { display: none; }
.post-card__body { grid-area: body; display: flex; flex-direction: column; min-width: 0; }
.post-card__summary { margin-top: 12px; color: var(--c-body); font-size: 1rem; line-height: 1.8;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__summary:empty { display: none; }
.post-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: auto; padding-top: 24px; }
.post-card__cat { margin-left: auto; }
.post-card__more { display: none; }
.protected-form { display: flex; gap: 8px; margin-top: 16px; }
.protected-form input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--c-line); }

/* 정보 줄: Text 글쓴이 · Date 날짜 · Read N Min */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; color: var(--c-body); font-size: var(--fs-xs); line-height: 1.5; }
.post-meta b { margin-right: 4px; color: var(--c-text); font-weight: 700; }
.post-meta a { text-decoration: underline; text-underline-offset: 3px; }
.post-meta a:hover { color: #000; }
.post-meta--center { justify-content: center; }

/* 분류 목록 1페이지의 첫 글 = 큰 카드: 가운데 날짜 · 제목 → 큰 이미지 → 요약 → 정보 + Read more */
.is-category.is-first-page .post-list .hentry:first-of-type .post-card { display: block; padding: 0 0 56px; }
.is-category.is-first-page .post-list .hentry:first-of-type .post-card__head { text-align: center; margin-bottom: 36px; }
.is-category.is-first-page .post-list .hentry:first-of-type .post-card__date { display: block; margin-bottom: 10px; color: var(--c-muted); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.is-category.is-first-page .post-list .hentry:first-of-type .post-card__title { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -.02em; }
.is-category.is-first-page .post-list .hentry:first-of-type .post-card__thumb { aspect-ratio: 4 / 3; }
.is-category.is-first-page .post-list .hentry:first-of-type .post-card__summary { margin-top: 32px; -webkit-line-clamp: 4; font-size: var(--fs-p); }
.is-category.is-first-page .post-list .hentry:first-of-type .post-card__foot { padding-top: 32px; }
.is-category.is-first-page .post-list .hentry:first-of-type .post-meta__date { display: none; }   /* 날짜는 위에 있으므로 */
.is-category.is-first-page .post-list .hentry:first-of-type .post-card__cat { margin-left: 0; }
.is-category.is-first-page .post-list .hentry:first-of-type .post-card__more { display: inline-flex; margin-left: auto; }

/* 페이지 번호 */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 56px; }
.pagination__nums { display: flex; gap: 6px; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 8px; border: 1px solid var(--c-line); color: var(--c-text); font-size: var(--fs-small); transition: .2s; }
.pagination a:hover { border-color: var(--c-ink); }
.pagination a:has(.selected) { background: var(--c-ink); border-color: var(--c-ink); color: #fff; pointer-events: none; }
.pagination .no-more-prev, .pagination .no-more-next { opacity: .3; pointer-events: none; }

/* ---------- 5. 사이드바 (목록 화면) ---------- */
.sidebar { min-width: 0; }
.widget { margin-bottom: 56px; }

.widget--about { padding: 24px 20px 20px; background-color: var(--c-basic); border: 1px solid var(--c-line); border-radius: .5rem; text-align: center; }
.widget__logo { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto 24px; border-radius: .375rem; }
.widget__logo[src$="spacer.gif"] { display: none; }
.widget__owner { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 22px; white-space: nowrap; padding-top: 18px; border-top: 1px dashed var(--c-line); color: var(--c-text); font-size: var(--fs-small); font-weight: 600; }
.widget__since { color: var(--c-muted); font-size: 11.5px; font-weight: 400; }
.widget__since:not(:empty)::before { content: "|"; margin-right: 8px; color: #ccc; }

.widget__title { color: var(--c-text); font-size: var(--fs-h4); font-weight: 600; letter-spacing: -.01em; }
.widget__text { margin-top: 20px; color: var(--c-muted); font-size: var(--fs-small); line-height: 2; }
.side-card { margin-bottom: 44px; }
.side-card__thumb { display: block; aspect-ratio: 254 / 288; overflow: hidden; margin-bottom: 18px; background: var(--c-soft); }
.side-card__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.side-card:hover .side-card__thumb img { transform: scale(1.04); }
.side-card__date { display: block; color: var(--c-muted); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.side-card__title { display: block; margin-top: 8px; color: var(--c-text); font-size: 1.0625rem; font-weight: 500; line-height: 1.45; }
.side-card__title:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.side-card__summary { margin-top: 8px; color: var(--c-muted); font-size: 13px; line-height: 1.7;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 6. 글 보기 (전체 폭, 가운데) ---------- */
.view-single .site-main { padding-top: 56px; }
.post--single, .view-single .post-card { display: block; max-width: 1080px; margin: 0 auto; padding: 0; border: 0; }
.post-header { text-align: center; margin-bottom: 48px; }
.breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; margin-bottom: 20px; color: var(--c-muted); font-size: var(--fs-xs); letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--c-ink); }
.breadcrumb__sep::before { content: "/"; opacity: .6; }
.breadcrumb__sep:last-child { display: none; }
.post-header__date { color: var(--c-muted); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: capitalize; }
.post-header__title { margin: 12px auto 0; max-width: 980px; color: var(--c-text); font-size: var(--fs-h1); font-weight: 200; letter-spacing: -.02em; line-height: 1.3; }
.post-header .post-meta { margin-top: 20px; }
.admin-bar { display: flex; justify-content: center; gap: 14px; max-width: 30%; margin: 16px auto 0; font-size: var(--fs-xs); border: 0.1rem solid var(--c-line); border-radius: 0.5rem; padding: 1rem; background-color: var(--c-soft); }
.admin-bar a { color: var(--c-muted); text-decoration: underline; }

/* 글 아래 ① 안내 상자 (스킨 도우미 tc_profile_box) */
.consult-box { display: flex; align-items: center; gap: 32px; margin-top: 64px; padding: 28px 32px; border: 1px solid var(--c-line); background: var(--c-soft); }
.consult-box__photo { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: #e7e7e7; }
.consult-box__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.consult-box__initial { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--c-text); font-size: 2rem; font-weight: 700; }
.consult-box__body { flex: 1 1 auto; min-width: 0; padding-left: 32px; border-left: 1px solid var(--c-line); }
.consult-box__name { display: block; color: var(--c-text); font-size: 1.0625rem; font-weight: 700; }
.consult-box__text { margin-top: 6px; color: var(--c-body); font-size: .9375rem; line-height: 1.75; }
.consult-box__btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; margin-top: 16px; padding: 0 24px; background: var(--c-btn); color: #fff; font-size: var(--fs-small); font-weight: 600; transition: background-color .2s; }
.consult-box__btn:hover { background: #000; }

/* 글 아래 ② 공유 */
.post-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 20px; padding: 16px 20px; border: 1px solid var(--c-line); }
.post-share__icons { display: flex; flex-wrap: wrap; gap: 8px; }
.post-share__icon { display: inline-flex; width: 36px; height: 36px; opacity: .72; filter: grayscale(1); transition: opacity .2s, filter .2s, transform .2s; }
.post-share__icon:hover { opacity: 1; filter: none; transform: translateY(-2px); }
.post-share__icon img { width: 100%; height: 100%; }
.post-share__copy { display: flex; gap: 8px; flex: 0 1 380px; min-width: 0; }
.post-share__url { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--c-line); background: var(--c-soft); color: var(--c-body); font-size: 13px; }
.post-share__btn { flex: 0 0 auto; height: 40px; padding: 0 20px; border: 0; background: var(--c-btn); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.post-share__btn.is-done { background: #555; }

/* 글 아래 ③ 같은 분류 최근 글 (스킨 도우미 tc_related) */
.related { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--c-ink); }
.related__title { display: flex; align-items: center; gap: 8px; margin: 0 0 24px; color: var(--c-text); font-size: var(--fs-h5); font-weight: 700; }
.related__icon { width: 18px; height: 18px; }
.related__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.related__item a { display: block; color: var(--c-text); }
.related__thumb { display: block; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 12px; background: var(--c-soft); }
.related__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.related__item a:hover .related__thumb img { transform: scale(1.04); }
.related__item a:hover .related__name { text-decoration: underline; text-underline-offset: 3px; }
.related__thumb--empty { background: var(--c-soft); }
.related__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .9375rem; font-weight: 600; line-height: 1.5; }
.related__date { display: block; margin-top: 6px; color: var(--c-muted); font-size: var(--fs-xs); }

/* 이전 글 / 다음 글 */
.post-nav { display: flex; justify-content: space-between; gap: 16px; max-width: 1080px; margin: 64px auto 0; padding-top: 28px; border-top: 1px solid var(--c-line); }
.post-nav a { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border: 1px solid var(--c-line); color: var(--c-text); font-size: var(--fs-small); font-weight: 600; transition: .2s; }
.post-nav a:not([href]) { visibility: hidden; }
.post-nav a:hover { background: var(--c-btn); border-color: var(--c-btn); color: #fff; }

/* ---------- 7. 기타 페이지 ---------- */
.page-block, .title-list { max-width: 820px; margin: 0 auto 48px; }
.block-title { margin-bottom: 24px; font-size: var(--fs-h3); font-weight: 600; }
.block-title .count { color: var(--c-muted); }
.title-list__items li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.title-list__items a { color: var(--c-text); }
.title-list__meta { flex: 0 0 auto; color: var(--c-muted); font-size: var(--fs-small); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { display: inline-block; padding: 6px 14px; border: 1px solid var(--c-line); border-radius: 999px; color: var(--c-text); font-size: var(--fs-small); }
.tag-cloud a:hover { border-color: var(--c-ink); }
.page-error { text-align: center; padding: 40px 0; }
.page-error p { margin-bottom: 24px; color: var(--c-text); font-size: var(--fs-h5); }

/* ---------- 8. 바닥글 (검은 바탕) ---------- */
.site-footer { background: var(--c-footer); color: rgba(255,255,255,.62); padding: 80px 0 32px; font-size: var(--fs-small); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.16); }
.footer-col:empty { display: none; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 800 1.375rem/1 var(--font); text-transform: uppercase; }
.footer-logo .logo__img { height: 30px; width: auto; /*filter: brightness(0) invert(1);*/ }
.footer-desc { max-width: 340px; /*margin-top: 20px;*/ color: rgba(255,255,255,.55); line-height: 1.8; }
.footer-col__title { margin: 0 0 20px; color: #fff; font-size: var(--fs-h6); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.footer-list li { margin-bottom: 10px; }
.footer-list a { font-size: 1rem; color: rgba(255, 255, 255, .72); font-family: 'Noto Serif KR', sans-serif; font-weight: 200; transition: color .2s; letter-spacing: 0.0855rem; text-transform: capitalize; }
.footer-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-info li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; margin-bottom: 10px; line-height: 1.6; }
.footer-info__label { color: rgba(255,255,255,.4); }
.footer-info a { color: rgba(255,255,255,.85); }
/* 아주 큰 제호(외곽선): script.js 가 폭에 맞춤 */
.footer-mark { margin: 40px 0 0; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); font: 900 clamp(56px, 14vw, 216px)/.9 var(--font); letter-spacing: -.045em; text-transform: uppercase; white-space: nowrap; user-select: none; }
.site-footer .container { overflow: hidden; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); font-size: var(--fs-xs); color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: #fff; }
.footer-top { margin-left: auto; color: #fff; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- 9. 본문 글 서식 (글 보기 · 공지) ---------- */
.article { color: #555; font-size: var(--fs-p); line-height: var(--lh-text); }
.article > * + * { margin-top: 1.2em; }
.article h1, .article h2, .article h3, .article h4, .article h5, .article h6 { margin-top: 2em; color: var(--c-text); }
.article h1 { font-size: var(--fs-h2); }   /* 본문 안 h1 은 글 제목보다 작게 */
.article h2 { font-size: var(--fs-h3); border-left: 0.5rem solid var(--c-ink); background-color: var(--c-soft); padding: 0.7rem; }
.article h3 { font-size: var(--fs-h4); }
.article h4 { font-size: var(--fs-h5); }
.article h5 { font-size: var(--fs-h6); }
.article h6 { font-size: var(--fs-small); color: var(--c-body); }
.article p { font-size: var(--fs-p); }
.article a { color: var(--c-link); text-decoration: none; text-underline-offset: 3px; }
.article a:hover { color: var(--c-link-hover, #e05a47); }

.article img { display: block; height: auto; }
.article figure, .article .imageblock { margin-left: 0; margin-right: 0; }
.article blockquote { margin: 1.6em 0; padding: 1rem; border-left: 3px solid var(--c-bq); background-color: var(--c-bqbg); color: var(--c-text); font-size: 1.0625rem; }
.article ul, .article ol { padding-left: 1.4em; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li + li { margin-top: .4em; }
.article pre { padding: 18px 20px; overflow-x: auto; background: #1b1b1b; color: #e6e6e6; font-size: var(--fs-small); line-height: 1.7; }
.article code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; }
.article :not(pre) > code { padding: 2px 6px; background: var(--c-soft); color: var(--c-text); }
.article table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.article th, .article td { padding: 10px 12px; border: 1px solid var(--c-line); }
.article th { background: var(--c-soft); color: var(--c-text); }
.article hr { border: 0; border-top: 1px solid var(--c-line); margin: 2.4em 0; }

/* ---------- 10. 반응형 ---------- */
@media (max-width: 1100px) {
	.layout { column-gap: 40px; --side: 220px; }
	.post-card { grid-template-columns: 200px minmax(0, 1fr); column-gap: 28px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	:root { --header-h: 68px; }
	.logo { font-size: 1.25rem; }
	.menu-btn { display: inline-flex; }
	.header-tools { margin-left: auto; padding-left: 8px; border-left: 0; }
	.gnb { position: absolute; top: var(--header-h); left: 0; right: 0; display: none; padding: 8px 24px 20px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--c-ink); }
	.gnb.is-open { display: block; }
	.gnb > ul > li > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.gnb > ul > li > ul > li > a { display: flex; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
	.gnb > ul > li > ul > li > ul { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 8px 14px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.gnb > ul > li > ul > li:has(> ul) > a::after { display: none; }
	.masthead__title { font-size: 4.5rem; }
	.featured { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
	.featured__item { aspect-ratio: 4 / 3; }
	.featured__item--big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
	.layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--c-ink); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
	.sidebar .widget--about { grid-column: 1 / -1; }
	.side-cards { display: contents; }
	.related__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
}
@media (max-width: 640px) {
	/* 모바일 글자 크기 — PC 값을 그대로 줄이면 너무 커 보여서 따로 정함 */
	:root {
		--fs-h1: 1.625rem;    /* 26px */
		--fs-h2: 1.375rem;    /* 22px */
		--fs-h3: 1.25rem;     /* 20px */
		--fs-h4: 1.125rem;    /* 18px */
		--fs-h5: 1.0625rem;   /* 17px */
		--fs-h6: .9375rem;    /* 15px */
		--fs-p: .9375rem;     /* 15px */
		--fs-small: .8125rem; /* 13px */
		--fs-xs: .75rem;
		--lh-text: 1.8;
	}
	.container { padding: 0 18px; }
	.masthead { padding-top: 18px; }
	.dateline { margin-top: 14px; letter-spacing: .08em; font-size: 11px; }
	.dateline__mid { display: none; }
	.ticker { height: 40px; }
	.ticker__label { padding: 0 12px; }
	.masthead__title { font-size: 2.75rem; }
	.featured { grid-template-columns: 1fr; gap: 6px; margin-top: 20px; }
	.featured__item, .featured__item--big { aspect-ratio: 4 / 3; }
	.featured__body, .featured__item--big .featured__body { padding: 18px; }
	.featured__item--big .featured__title { font-size: 1.375rem; }
	.featured__title { font-size: 1.0625rem; }
	.site-main { padding: 40px 0 64px; }
	.view-single .site-main { padding-top: 36px; }
	/* 가로형 카드: 왼쪽 작은 썸네일(96px) | 오른쪽 제목 + 요약 2줄, 그 아래 전체 폭으로 Text · Date · Read · 분류 */
	.post-card { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "thumb head" "thumb summary" "foot foot"; grid-template-rows: auto 1fr auto; column-gap: 16px; padding: 28px 0; }
	.no-thumb.post-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "summary" "foot"; }
	.post-card__thumb { align-self: start; }
	.post-card__body { display: contents; }
	.post-card__title { font-size: 1.0625rem; }
	.post-card__summary { grid-area: summary; align-self: start; margin-top: 6px; -webkit-line-clamp: 2; font-size: .875rem; line-height: 1.7; }
	.post-card__foot { grid-area: foot; padding-top: 14px; }
	
	.is-category.is-first-page .post-list .hentry:first-of-type .post-card { padding-bottom: 40px; }
	.is-category.is-first-page .post-list .hentry:first-of-type .post-card__head { margin-bottom: 24px; }
	.is-category.is-first-page .post-list .hentry:first-of-type .post-card__summary { margin-top: 20px; }
	.is-category.is-first-page .post-list .hentry:first-of-type .post-card__more { width: 100%; margin-left: 0; }
	.sidebar { grid-template-columns: 1fr; }
	.post-header { margin-bottom: 32px; }
	.consult-box { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 20px; }
	.consult-box__body { padding-left: 0; border-left: 0; }
	.post-share__copy { flex-basis: 100%; }
	.post-nav a { height: 42px; padding: 0 16px; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
	.site-footer { padding-top: 56px; }
	.footer-top { margin-left: 0; }
}

.list-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.breadcrumb--list { margin: 0 0 6px; justify-content: flex-end; }
.breadcrumb--list:empty { display: none; }
.breadcrumb__current { max-width: min(420px, 60vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--c-text); }
@media (max-width: 640px) { .breadcrumb--list { justify-content: flex-start; width: 100%; } }

/* 목록 제목 오른쪽 위치 표시: 본문용 상자 모양을 풀고 글자만, 오른쪽 끝 */
.list-head .breadcrumb--list {
	width: auto; max-width: none; margin: 0 0 6px auto; padding: 0;
	background: none; border: 0; border-radius: 0; box-shadow: none;
	justify-content: flex-end;
}
@media (max-width: 640px) {
	.list-head .breadcrumb--list { width: 100%; margin-left: 0; justify-content: flex-start; }
}