@charset "utf-8";
/* =========================================================================
   laggo 2.0.0 — Tistory skin stylesheet
   - 디자인 토큰(CSS 변수) 기반
   - 다크 모드 (OS 설정 자동 + 수동 전환)
   - CSS Grid 레이아웃
   - 불필요한 벤더 프리픽스 / 미사용 규칙 제거
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. 디자인 토큰
   ------------------------------------------------------------------------- */
:root {
	color-scheme: light;
	--point: #04beb8;
	--h2-bar: #ff5b00;

	--bg: #f2f2f2;
	--surface: #ffffff;
	--surface-sub: #f8f8f8;
	--surface-soft: #fafafa;

	--line: #eaeaea;
	--line-soft: #eeeeee;

	--text: #222222;
	--text-strong: #000000;
	--text-body: #555555;
	--text-muted: #777777;
	--text-faint: #999999;
	--link: #085fe1;

	--shadow: 0 2px 10px rgba(0, 0, 0, 0.055);
	--shadow-hover: 0 8px 22px rgba(0, 0, 0, 0.10);

	--radius: 12px;
	--radius-sm: 8px;
	--radius-pill: 999px;

	--content-w: 1080px;
	--aside-w: 292px;
	--col-gap: 24px;
	--entry-p: 35px;
	--hdr-h: 75px;

	--font: 'Pretendard', 'Apple SD Gothic Neo', 'AppleSDGothicNeo-Regular', 'Noto Sans KR',
		'Malgun Gothic', '맑은 고딕', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'D2Coding', monospace;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		color-scheme: dark;
		--bg: #14161a;
		--surface: #1c1f24;
		--surface-sub: #23262c;
		--surface-soft: #23262c;
		--line: #2c3037;
		--line-soft: #2c3037;
		--text: #e7e9ec;
		--text-strong: #ffffff;
		--text-body: #b9bec6;
		--text-muted: #949aa3;
		--text-faint: #7b818a;
		--link: #78b0ff;
		--shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
		--shadow-hover: 0 8px 22px rgba(0, 0, 0, 0.5);
	}
}

:root[data-theme="dark"] {
	color-scheme: dark;
	--bg: #14161a;
	--surface: #1c1f24;
	--surface-sub: #23262c;
	--surface-soft: #23262c;
	--line: #2c3037;
	--line-soft: #2c3037;
	--text: #e7e9ec;
	--text-strong: #ffffff;
	--text-body: #b9bec6;
	--text-muted: #949aa3;
	--text-faint: #7b818a;
	--link: #78b0ff;
	--shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
	--shadow-hover: 0 8px 22px rgba(0, 0, 0, 0.5);
}

/* -------------------------------------------------------------------------
   2. 리셋 / 기본 요소
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	width: 100%;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--hdr-h) + 20px);
}

body {
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: var(--bg);
	color: var(--text-body);
	font-family: var(--font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	overflow-wrap: break-word;
	word-break: keep-all;
	transition: background-color 0.2s ease, color 0.2s ease;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, pre, form, fieldset, legend, ul, ol {
	margin: 0;
	padding: 0;
}

ul, ol { list-style: none; }

img, video, iframe, svg { max-width: 100%; }
img, fieldset {
	border: 0;
	vertical-align: top;
}
img { height: auto; }

button, input, select, textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: inherit;
	color: inherit;
	border-radius: 0;
}
button {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
	cursor: pointer;
}
input[type=text], input[type=email], input[type=password], input[type=search], textarea {
	-webkit-appearance: none;
	appearance: none;
}

a {
	color: inherit;
	text-decoration: none;
}
a:hover, a:focus-visible { color: var(--text); }

:focus-visible {
	outline: 2px solid var(--point);
	outline-offset: 2px;
	border-radius: 4px;
}

hr { border: 0; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
	display: inline-block;
	width: 20px;
	height: 20px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: middle;
}
.ico .fill, .ico.fill { fill: currentColor; stroke: none; }

.blind {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* 건너뛰기 링크 */
#acc-nav a {
	position: absolute;
	top: -60px;
	left: 0;
	z-index: 1000;
	display: block;
	width: 100%;
	padding: 12px 0;
	background: var(--text-strong);
	color: var(--surface);
	text-align: center;
	font-weight: 700;
	transition: top 0.2s;
}
#acc-nav a:focus { top: 0; color: var(--surface); }

/* -------------------------------------------------------------------------
   3. 헤더
   ------------------------------------------------------------------------- */
#header {
	padding-top: 4px;
	background-color: var(--bg);
}

#header .inner {
	position: relative;
	max-width: var(--content-w);
	margin: 0 auto;
	padding: 0 24px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.header-bar {
	display: flex;
	align-items: center;
	gap: 18px;
	height: var(--hdr-h);
}

#header .b-title {
	flex: none;
	max-width: 42%;
	font-size: 1.6em;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--text);
}
#header .b-title a {
	display: block;
	overflow: hidden;
	color: var(--text);
	text-overflow: ellipsis;
	white-space: nowrap;
}
#header .b-title img {
	display: block;
	max-height: 32px;
	width: auto;
}

#gnb {
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
#gnb::-webkit-scrollbar { display: none; }
#gnb ul { display: flex; }
#gnb ul li { padding: 0 6px; }
#gnb ul li a {
	display: block;
	padding: 6px 4px;
	white-space: nowrap;
	font-weight: 600;
	font-size: 0.95em;
	color: var(--text);
}
#gnb ul li a:hover,
#gnb ul li a:focus-visible,
#gnb ul li.current > a { color: var(--point); }

#header .util {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	flex: none;
}

/* 검색 */
#header .search {
	position: relative;
	width: 180px;
	height: 34px;
}
#header .search input {
	width: 100%;
	height: 34px;
	padding: 0 40px 0 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background-color: var(--surface-sub);
	font-size: 0.86em;
	color: var(--text-body);
	transition: border-color 0.2s, background-color 0.2s;
}
#header .search input::placeholder { color: var(--text-faint); }
#header .search input:focus {
	border-color: var(--point);
	background-color: var(--surface);
	outline: none;
}
#header .search button {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: var(--text-muted);
}
#header .search button:hover { color: var(--point); }

/* 테마 전환 */
.theme-toggle {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--text-muted);
	transition: color 0.2s, border-color 0.2s;
}
.theme-toggle:hover { color: var(--point); border-color: var(--point); }
.theme-toggle .ico-sun { display: none; }
.theme-toggle .ico-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme-toggle .ico-sun { display: block; }
	:root:not([data-theme="light"]) .theme-toggle .ico-moon { display: none; }
}

/* 모바일 메뉴 버튼 */
#header .menu {
	display: none;
	position: relative;
	width: 34px;
	height: 34px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--text-muted);
}
#header .menu:before,
#header .menu:after,
#header .menu span {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 15px;
	height: 1.6px;
	margin: -0.8px 0 0 -7.5px;
	background-color: currentColor;
	transition: transform 0.3s, opacity 0.3s;
}
#header .menu:before { transform: translateY(-5px); }
#header .menu:after { transform: translateY(5px); }
.mobile-menu #header .menu::before { transform: rotate(45deg); }
.mobile-menu #header .menu::after { transform: rotate(-45deg); }
.mobile-menu #header .menu span { opacity: 0; }

/* -------------------------------------------------------------------------
   4. 레이아웃
   ------------------------------------------------------------------------- */
#container { position: relative; }

.content-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--aside-w);
	column-gap: var(--col-gap);
	align-items: start;
	max-width: var(--content-w);
	margin: 0 auto;
	padding: 0 24px;
}

.layout-aside-left .content-wrap { grid-template-columns: var(--aside-w) minmax(0, 1fr); }
.layout-aside-left #content { order: 2; }
.layout-aside-left #aside { order: 1; }

#content {
	min-width: 0;
	padding: 14px 0 60px;
}

#aside {
	min-width: 0;
	padding: 14px 0 32px;
}
.sidebar-sticky #aside {
	position: sticky;
	top: 16px;
}

/* 공용 카드 */
.entry-box,
.entry-content,
.post_np,
.related-articles,
.tags.entry-box,
.comments,
.comments,
div.inner > div.tags,
.cover-thumbnail-2 ul li,
.notice-rep {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

/* -------------------------------------------------------------------------
   5. 글 목록 · 커버
   ------------------------------------------------------------------------- */
.cover-thumbnail-2 { margin-bottom: 7px; }
.cover-thumbnail-2 h2 {
	margin-bottom: 8px;
	padding: 0 4px;
	font-size: 1em;
	font-weight: 600;
	color: var(--text-muted);
}
.cover-thumbnail-2 ul li {
	margin-bottom: 7px;
	padding: 20px 28px;
	transition: box-shadow 0.2s, border-color 0.2s;
}
.cover-thumbnail-2 ul li:hover { box-shadow: var(--shadow-hover); }
.cover-thumbnail-2 ul li a { display: block; }
.cover-thumbnail-2 ul li figure {
	float: left;
	width: 168px;
	margin-right: 32px;
}
.cover-thumbnail-2 ul li figure img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--radius-sm);
	background-color: var(--surface-sub);
}
.cover-thumbnail-2 ul li .title {
	display: block;
	overflow: hidden;
	margin-bottom: 14px;
	font-size: 1.4em;
	font-weight: 700;
	line-height: 1.4;
	color: var(--text);
	text-overflow: ellipsis;
	white-space: nowrap;
}
.cover-thumbnail-2 ul li a:hover .title { color: var(--point); }
.cover-thumbnail-2 ul li .excerpt {
	display: -webkit-box;
	overflow: hidden;
	margin-bottom: 14px;
	font-size: 0.9em;
	line-height: 1.6;
	color: var(--text-muted);
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
}
.cover-thumbnail-2 ul li .meta {
	display: block;
	font-size: 0.8em;
	color: var(--point);
}
.cover-thumbnail-2 ul li .meta span + span:before {
	content: "";
	display: inline-block;
	width: 2px;
	height: 2px;
	margin: 0 8px 3px 6px;
	background-color: currentColor;
	opacity: 0.5;
	vertical-align: middle;
}

.enter-page {
	display: inline-block;
	margin-top: 16px;
	padding: 5px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	font-size: 0.8em;
	color: var(--text-muted);
	transition: all 0.2s;
}
.post-item a:hover .enter-page,
.cover-thumbnail-2 ul li a:hover .enter-page {
	border-color: var(--text-strong);
	background-color: var(--text-strong);
	color: var(--surface);
}

/* 공지 */
.notice-rep { margin-bottom: 8px; padding: 22px 28px; }
.notice-rep h2 {
	margin-bottom: 8px;
	font-size: 1.3em;
	font-weight: 700;
	color: var(--text);
}
.notice-rep h2 a { color: inherit; }
.notice-rep .meta {
	display: block;
	margin-bottom: 14px;
	font-size: 0.82em;
	color: var(--text-faint);
}
.notice-rep .notice-body { font-size: 0.95em; color: var(--text-body); }

/* 리스트 헤더 */
.post-header { padding: 4px 0 12px; }
.post-header h1 {
	font-size: 1em;
	font-weight: 500;
	color: var(--text-muted);
}
.post-header h1 em {
	margin-left: 6px;
	font-style: normal;
	font-weight: 700;
	color: var(--point);
}
.list-type-thumbnail .post-header { display: none; }

/* 글 없음 안내 */
.not-found { margin: 26px 4px; }
.not-found ul { display: none; }
.not-found .keyword { display: block; }
.not-found li {
	position: relative;
	padding-left: 12px;
	font-size: 0.95em;
	line-height: 2;
}
.not-found li:before {
	content: "";
	position: absolute;
	top: 0.95em;
	left: 0;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background-color: var(--text-faint);
}
#tt-body-tag .not-found .keyword,
#tt-body-category .not-found .keyword,
#tt-body-archive .not-found .keyword { display: none; }
#tt-body-tag .not-found .tag,
#tt-body-category .not-found .category,
#tt-body-archive .not-found .archive { display: block; }

/* 글 아이템 */
.post-item { margin-bottom: 8px; }

.list-type-thumbnail .post-item {
	position: relative;
	display: block;
	overflow: hidden;
	margin-bottom: 8px;
	padding: 20px 28px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: box-shadow 0.2s, border-color 0.2s;
}
.list-type-thumbnail .post-item:hover { box-shadow: var(--shadow-hover); }
.list-type-thumbnail .post-item a { display: block; }

.list-type-thumbnail .post-item .thum {
	float: left;
	display: block;
	width: 156px;
	margin-right: 28px;
}
.list-type-thumbnail .post-item .thum img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius-sm);
	background-color: var(--surface-sub);
}
.list-type-thumbnail .post-item .title {
	display: block;
	overflow: hidden;
	margin-bottom: 12px;
	font-size: 1.35em;
	font-weight: 700;
	line-height: 1.4;
	color: var(--text);
	text-overflow: ellipsis;
	white-space: nowrap;
}
.list-type-thumbnail .post-item a:hover .title { color: var(--point); }
.list-type-thumbnail .post-item .excerpt {
	display: -webkit-box;
	overflow: hidden;
	margin-bottom: 14px;
	font-size: 0.9em;
	line-height: 1.6;
	color: var(--text-muted);
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
}
.post-item .meta {
	display: block;
	font-size: 0.8em;
	color: var(--point);
}
.post-item .meta .idx-category { font-weight: 600; }
.post-item .meta span + span:before {
	content: "";
	display: inline-block;
	width: 2px;
	height: 2px;
	margin: 0 8px 3px 6px;
	background-color: currentColor;
	opacity: 0.5;
	vertical-align: middle;
}
.post-item .enter-page { margin-top: 4px; }

/* 보호글 썸네일 자리 */
.list-type-thumbnail .post-item.protected .thum {
	display: grid;
	place-items: center;
	height: 117px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background-color: var(--surface-sub);
	color: var(--text-faint);
}
.list-type-thumbnail .post-item.protected .thum .ico { width: 26px; height: 26px; }

/* 세로 이미지형 */
.list-type-vertical .post-item { margin-bottom: 26px; }
.list-type-vertical .post-item .thum {
	display: block;
	overflow: hidden;
	margin-bottom: 10px;
	border-radius: var(--radius-sm);
	background-color: var(--surface-sub);
}
.list-type-vertical .post-item .thum img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}
.list-type-vertical .post-item .title {
	display: block;
	overflow: hidden;
	font-size: 1.05em;
	font-weight: 700;
	color: var(--text);
	text-overflow: ellipsis;
	white-space: nowrap;
}
.list-type-vertical .post-item .excerpt, .list-type-vertical .post-item .meta { display: none; }

/* 텍스트형 */
.list-type-text .post-header {
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}
.list-type-text .post-item {
	padding-bottom: 18px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--line-soft);
}
.list-type-text .post-item .thum { display: none; }
.list-type-text .post-item .title {
	display: block;
	margin-bottom: 8px;
	font-size: 1.05em;
	font-weight: 700;
	color: var(--text);
}
.list-type-text .post-item .excerpt {
	display: -webkit-box;
	overflow: hidden;
	margin-bottom: 8px;
	font-size: 0.9em;
	color: var(--text-muted);
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
}
.list-type-text .post-item .enter-page { display: none; }

/* -------------------------------------------------------------------------
   6. 본문
   ------------------------------------------------------------------------- */
.inner > .entry-content,
.entry-content {
	margin: 6px 0;
	padding: 34px 30px 30px;
}

.entry-header { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }

.bf-breadcrumb .bf-breadcrumb-items {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	margin-bottom: 14px;
	font-size: 0.83em;
}
.bf-breadcrumb .bf-breadcrumb-item { display: flex; align-items: center; }
.bf-breadcrumb .bf-breadcrumb-item a,
.bf-breadcrumb .bf-breadcrumb-item span { color: var(--text-faint); }
.bf-breadcrumb .bf-breadcrumb-item a:hover { color: var(--point); }
.bf-breadcrumb .bf-breadcrumb-item:not(.bf-breadcrumb-end):after {
	content: "";
	width: 5px;
	height: 5px;
	margin: 0 6px;
	border-right: 1.4px solid var(--text-faint);
	border-bottom: 1.4px solid var(--text-faint);
	transform: rotate(-45deg) translate(-1px, -1px);
}
.bf-breadcrumb .bf-breadcrumb-end span {
	color: var(--text-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 42vw;
}

.entry-content h1.entry-title {
	margin-bottom: 14px;
	font-size: 1.75em;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: -0.02em;
	color: var(--text-strong);
}

.entry-header .meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	font-size: 0.85em;
	color: var(--text-faint);
}
.entry-header .meta > span + span:not(:empty):before {
	content: "";
	display: inline-block;
	width: 2px;
	height: 2px;
	margin: 0 10px 3px 0;
	background-color: currentColor;
	opacity: 0.6;
	vertical-align: middle;
}
.entry-header .meta .admin { display: flex; gap: 6px; }
.admin a {
	padding: 3px 9px;
	border-radius: var(--radius-pill);
	background-color: var(--text);
	font-size: 0.92em;
	color: var(--surface) !important;
}
.admin a:hover { background-color: var(--point); }

.entry-body { font-size: 1rem; color: var(--text-body); }

.entry-body h1, .entry-content > .entry-body h1 {
	clear: both;
	margin: 34px 0 20px;
	font-size: 1.6em;
	font-weight: 800;
	line-height: 1.5;
	color: var(--text-strong);
}
.entry-content .entry-body h2 {
	clear: both;
	margin: 40px 0 20px;
	font-size: 1.4em;
	font-weight: 800;
	line-height: 1.5;
	color: var(--text-strong);
}
.entry-content .entry-body h2:first-child { margin-top: 0; }
.entry-body h2::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 0.9em;
	margin-right: 12px;
	background-color: var(--h2-bar);
	border-radius: 4px;
	vertical-align: -0.05em;
}
.entry-content .entry-body h3 {
	clear: both;
	margin: 34px 0 16px;
	font-size: 1.22em;
	font-weight: 700;
	line-height: 1.5;
	color: var(--text-strong);
}
.entry-content .entry-body h4 {
	clear: both;
	margin: 26px 0 14px;
	font-size: 1.08em;
	font-weight: 700;
	line-height: 1.5;
	color: var(--text-strong);
}
.entry-body a { color: var(--point); text-decoration: underline; text-underline-offset: 3px; }
.entry-body a:hover { color: var(--link); }
.entry-content p { margin-bottom: var(--entry-p); }
.entry-body p { font-size: 1.03rem; line-height: 1.8; color: var(--text-body); }
.entry-body p:last-child, .entry-body > *:last-child { margin-bottom: 0; }
.entry-body img, .entry-body iframe { border-radius: var(--radius-sm); }
.entry-body figure { margin: 20px 0; }
.entry-body hr { display: block; height: 1px; margin: 34px 0; background-color: var(--line); }
.entry-body blockquote {
	margin: 26px 0;
	padding: 16px 20px;
	border-left: 4px solid var(--point);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background-color: var(--surface-soft);
	color: var(--text-muted);
}
.entry-body blockquote p { margin-bottom: 0; }
.entry-body pre {
	margin-bottom: 24px;
	padding: 16px 18px;
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background-color: var(--surface-soft);
	font-family: var(--font-mono);
	font-size: 0.9em;
	line-height: 1.6;
	white-space: pre-wrap;
	word-break: break-word;
}
.entry-body code {
	padding: 0.15em 0.4em;
	border-radius: 4px;
	background-color: var(--surface-sub);
	font-family: var(--font-mono);
	font-size: 0.92em;
}
.entry-body pre code { padding: 0; background: none; }
.entry-content ul {
	margin-bottom: 26px;
	padding-left: 22px;
	list-style: disc;
}
.entry-content ol {
	margin-bottom: 26px;
	padding-left: 24px;
	list-style: decimal;
}
.entry-content ul li, .entry-content ol li {
	margin-bottom: 8px;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--text-body);
}
.entry-content table {
	width: 100%;
	margin-bottom: 26px;
	border: 1px solid var(--line);
	border-collapse: collapse;
	font-size: 0.93em;
	line-height: 1.6;
}
.entry-content table th, .entry-content table td {
	padding: 9px 10px;
	border: 1px solid var(--line);
}
.entry-content table thead th {
	background-color: var(--surface-sub);
	font-weight: 700;
	color: var(--text);
}
.entry-content input {
	height: 36px;
	padding: 0 12px;
	border: 1px solid var(--line);
	background-color: var(--surface);
	font-size: 0.9em;
}
.entry-content img.alignleft { float: left; margin: 0 22px 22px 0; }
.entry-content img.aligncenter { display: block; margin: 0 auto 22px; }
.entry-content img.alignright { float: right; margin: 0 0 22px 22px; }

/* 보호글 */
.entry-content .protected_form {
	padding: 70px 0 80px;
	text-align: center;
}
.entry-content .protected_form h2 {
	margin-bottom: 10px;
	font-size: 1.5em;
	font-weight: 700;
	color: var(--text);
}
.entry-content .protected_form h2::before { content: none; }
.entry-content .protected_form p { margin-bottom: 28px; color: var(--text-faint); }
.entry-content .protected_form input {
	width: 190px;
	height: 42px;
	margin-right: 6px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background-color: var(--surface-sub);
	vertical-align: middle;
}
.entry-content .protected_form input:focus { border-color: var(--point); }
.entry-content .protected_form .btn { height: 42px; line-height: 40px; }

.btn, a.btn {
	display: inline-block;
	width: 100px;
	height: 36px;
	border-radius: var(--radius-sm);
	background-color: var(--text);
	text-align: center;
	font-size: 0.9em;
	line-height: 36px;
	color: var(--surface);
	vertical-align: middle;
	transition: background-color 0.2s;
}
.btn:hover { background-color: var(--point); color: var(--surface); }

/* 목차 */
.book-toc {
	margin-bottom: 30px;
	padding: 18px 24px;
	border: 1px solid var(--line);
	border-left: 4px solid var(--point);
	border-radius: var(--radius-sm);
	background-color: var(--surface-soft);
}
.book-toc p {
	margin-bottom: 10px !important;
	font-size: 1em;
	font-weight: 700;
	color: var(--text);
}
.book-toc #toc { list-style: decimal; padding-left: 20px; }
.book-toc #toc li { margin-bottom: 6px; font-size: 0.94em; }
.book-toc #toc a { color: var(--text-muted); text-decoration: none; }
.book-toc #toc a:hover { color: var(--point); }
.book-toc #toc ul { list-style: lower-alpha; padding-left: 18px; margin-top: 6px; }

/* -------------------------------------------------------------------------
   7. 댓글
   ------------------------------------------------------------------------- */
.comments { margin-bottom: 8px; padding: 24px 28px; }
.comments h2 {
	margin-bottom: 16px;
	font-size: 1.05em;
	font-weight: 700;
	color: var(--text);
}
.comments h2 .count { color: var(--point); }

.comment-list { border-top: 1px solid var(--line-soft); }
.comment-list ul li {
	display: block;
	padding: 24px 0;
	border-bottom: 1px solid var(--line-soft);
}
.comment-list ul li .author-meta {
	position: relative;
	margin-bottom: 8px;
	padding-left: 54px;
	font-size: 0.82em;
	color: var(--text-faint);
}
.comment-list ul li .author-meta .avatar {
	float: left;
	width: 42px;
	height: 42px;
	margin: 0 0 0 -54px;
	border: 1px solid var(--line);
	border-radius: 50%;
}
.comment-list ul li .author-meta .nickname { font-weight: 700; color: var(--text); }
.comment-list ul li .author-meta .nickname a { color: inherit; }
.comment-list ul li .author-meta > span + span:before,
.comment-list ul li .author-meta > a + a:before {
	content: "";
	display: inline-block;
	width: 2px;
	height: 2px;
	margin: 0 8px 3px 6px;
	background-color: currentColor;
	opacity: 0.6;
	vertical-align: middle;
}
.comment-list ul li .author-meta .control { position: absolute; top: 2px; right: 0; }
.comment-list ul li .author-meta .control button {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	color: var(--text-faint);
}
.comment-list ul li .author-meta .control button:before { content: "···"; letter-spacing: 1px; }
.comment-list ul li .author-meta .control .link {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 10;
	min-width: 76px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background-color: var(--surface);
	box-shadow: var(--shadow-hover);
}
.comment-list ul li .author-meta .control .link a {
	display: block;
	padding: 7px 12px;
	text-align: center;
	font-size: 0.95em;
	color: var(--text-body);
}
.comment-list ul li .author-meta .control .link a:hover { background-color: var(--surface-sub); }
.comment-list ul li > p {
	padding-left: 54px;
	font-size: 0.94em;
	line-height: 1.7;
	color: var(--text-muted);
}
.comment-list ul li .reply { display: inline-block; margin: 8px 0 0 54px; font-size: 0.85em; color: var(--text-faint); }
.comment-list ul li ul {
	margin-top: 18px;
	padding: 8px 18px;
	border-radius: var(--radius-sm);
	background-color: var(--surface-soft);
}
.comment-list ul li ul li { border-bottom: 0; padding: 12px 0; }
.comment-list .tt_more_preview_comments_text {
	display: block;
	padding: 11px 0;
	border-top: 1px solid var(--line-soft);
	text-align: center;
	font-size: 0.88em;
	color: var(--text-faint);
}

.comment-form { margin-bottom: 8px; }
.comment-form .field { display: flex; gap: 8px; margin-bottom: 8px; }
.comment-form .field input[type=text],
.comment-form .field input[type=password] {
	flex: 1 1 0;
	min-width: 0;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background-color: var(--surface-sub);
	font-size: 0.9em;
}
.comment-form .field input:focus, .comment-form textarea:focus {
	border-color: var(--point);
	background-color: var(--surface);
	outline: none;
}
.comment-form textarea {
	display: block;
	width: 100%;
	min-height: 110px;
	margin-bottom: 12px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background-color: var(--surface-sub);
	font-size: 0.9em;
	line-height: 1.7;
	resize: vertical;
}
.comment-form input::placeholder, .comment-form textarea::placeholder { color: var(--text-faint); }
.comment-form .secret { display: inline-flex; align-items: center; gap: 8px; float: left; }
.comment-form .secret input { position: absolute; opacity: 0; width: 0; height: 0; }
.comment-form .secret label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.87em;
	color: var(--text-muted);
	cursor: pointer;
}
.comment-form .secret label:before {
	content: "";
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border: 1px solid var(--line);
	border-radius: 4px;
	background-color: var(--surface);
	color: var(--surface);
}
.comment-form .secret input:checked + label:before {
	border-color: var(--point);
	background-color: var(--point);
}
.comment-form .secret input:checked + label:before { content: "✓"; font-size: 12px; line-height: 1; }
.comment-form .secret input:focus-visible + label:before { outline: 2px solid var(--point); outline-offset: 2px; }
.comment-form .submit { text-align: right; }

/* -------------------------------------------------------------------------
   8. 이전글/다음글 · 태그 · 관련글 · 페이징
   ------------------------------------------------------------------------- */
.pre-next {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 8px 0;
}
.pre-next:has(> *:only-child) { grid-template-columns: minmax(0, 1fr); }
.pre-next > div:empty { display: none; }
.post_np { padding: 18px 22px; transition: box-shadow 0.2s; }
.post_np:hover { box-shadow: var(--shadow-hover); }
.post_np a { display: flex; gap: 14px; align-items: flex-start; }
.post_np .np_thumb_left, .post_np .np_thumb_right {
	flex: none;
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: var(--radius-sm);
	background-color: var(--surface-sub);
}
.post_np:nth-child(2) { text-align: right; }
.post_np:nth-child(2) a { flex-direction: row-reverse; }
.post_np .np_body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.post_np .np_desc { font-size: 0.88em; font-weight: 600; color: var(--text); }
.post_np .p_title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 0.95em;
	line-height: 1.5;
	color: var(--text-muted);
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
}
.post_np a:hover .p_title { color: var(--point); }

.tags.entry-box, div.inner > div.tags { margin: 8px 0; padding: 22px 28px; }
.tags h2 { margin-bottom: 14px; font-size: 1.05em; font-weight: 700; color: var(--text); }
.tags a {
	display: inline-block;
	margin: 0 7px 10px 0;
	padding: 0 15px;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	font-size: 0.85em;
	line-height: 30px;
	color: var(--text-muted);
	transition: all 0.2s;
}
.tags a:hover, .tags a:focus-visible {
	border-color: var(--point);
	background-color: var(--point);
	color: #fff;
}

.related-articles { margin: 8px 0; padding: 22px 28px; }
.related-articles h2 { margin-bottom: 16px; font-size: 1.05em; font-weight: 700; color: var(--text); }
.related-articles ul {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
.related-articles ul li { min-width: 0; }
.related-articles ul li figure {
	display: block;
	overflow: hidden;
	margin-bottom: 9px;
	border-radius: var(--radius-sm);
	background-color: var(--surface-sub);
}
.related-articles ul li figure img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.related-articles ul li .title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 0.9em;
	line-height: 1.5;
	color: var(--text-body);
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
}
.related-articles ul li a:hover .title { color: var(--point); }

.pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 30px 0;
}
.pagination a {
	display: inline-grid;
	place-items: center;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	font-size: 0.9em;
	color: var(--text-muted);
}
.pagination a:hover { border-color: var(--line); background-color: var(--surface); color: var(--text); }
.pagination a.selected {
	border-color: var(--point);
	background-color: var(--point);
	font-weight: 700;
	color: #fff;
}
.pagination .prev, .pagination .next {
	border: 1px solid var(--line);
	background-color: var(--surface);
	color: var(--text-muted);
}
.pagination .no-more-prev, .pagination .no-more-next { display: none; }
.pagination .more-wrap { width: 100%; }
.pagination .view-more {
	display: block;
	width: 100%;
	padding: 13px 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background-color: var(--surface);
	font-size: 0.9em;
	color: var(--text-muted);
	transition: border-color 0.2s, color 0.2s;
}
.pagination .view-more:hover { border-color: var(--point); color: var(--point); }
.pagination .view-more.loading { opacity: 0.55; }

/* -------------------------------------------------------------------------
   9. 사이드바
   ------------------------------------------------------------------------- */
.sidebar .back { margin-bottom: 8px; padding: 24px; }
.sidebar h2 {
	margin-bottom: 12px;
	font-size: 1.05em;
	font-weight: 700;
	color: var(--text);
}
.sidebar a { color: var(--text-body); }
.sidebar a:hover { color: var(--point); }
.sidebar ul li { line-height: 1.5; }

.sidebar .category ul li a {
	display: block;
	padding: 6px 0;
	font-size: 0.95em;
}
.sidebar .category ul li ul { padding: 2px 0 6px 12px; }
.sidebar .category ul li ul li a { font-size: 0.9em; color: var(--text-muted); }
.sidebar .category ul li ul li ul li a { font-size: 0.86em; color: var(--text-faint); }

.sidebar .notice ul li { padding: 4px 0; }
.sidebar .notice ul li a { font-size: 0.92em; }

.sidebar .tab-head { display: flex; gap: 14px; align-items: baseline; margin-bottom: 16px; }
.sidebar .tab-btn {
	font-size: 0.95em;
	font-weight: 600;
	color: var(--text-faint);
}
.sidebar .tab-btn.current { font-size: 1.05em; font-weight: 800; color: var(--point); }

.sidebar .post-list ul li { padding: 0 0 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.sidebar .post-list ul li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.sidebar .post-list ul li a { display: flex; flex-direction: column; gap: 10px; }
.sidebar .post-list ul li img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius-sm);
	background-color: var(--surface-sub);
}
.sidebar .post-list ul li .txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sidebar .post-list ul li .title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 0.95em;
	font-weight: 600;
	line-height: 1.5;
	color: var(--text);
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
}
.sidebar .post-list ul li .date { font-size: 0.78em; color: var(--text-faint); }

.side-thumb-small .sidebar .post-list ul li a { flex-direction: row; align-items: center; }
.side-thumb-small .sidebar .post-list ul li img {
	flex: none;
	width: 55px;
	height: 55px;
	aspect-ratio: 1 / 1;
}

.sidebar .recent-comment ul li { padding: 5px 0; }
.sidebar .recent-comment ul li a {
	display: block;
	overflow: hidden;
	font-size: 0.92em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sidebar .tags a { display: inline; margin: 0; padding: 0; border: 0; font-size: 0.9em; line-height: 2; }
.sidebar .tags a:after { content: ","; margin-right: 5px; color: var(--text-faint); }
.sidebar .tags a:last-child:after { content: none; }

.sidebar .count { margin-bottom: 34px; }
.sidebar .count .total {
	margin: 8px 0 14px;
	font-size: 1.7em;
	font-weight: 800;
	color: var(--text);
}
.sidebar .count p { margin-bottom: 4px; font-size: 0.9em; color: var(--text-muted); }

.sidebar .social-channel ul { display: flex; gap: 10px; }
.sidebar .social-channel ul li a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--text-muted);
	text-indent: 0;
	font-size: 0;
	transition: all 0.2s;
}
.sidebar .social-channel ul li a .ico { width: 17px; height: 17px; }
.sidebar .social-channel ul li a:hover {
	border-color: var(--point);
	background-color: var(--point);
	color: #fff;
}

/* -------------------------------------------------------------------------
   10. 푸터
   ------------------------------------------------------------------------- */
#footer {
	margin-top: 30px;
	padding: 34px 0 30px;
	border-top: 1px solid var(--line);
}
#footer .inner { position: relative; max-width: var(--content-w); margin: 0 auto; padding: 0 24px; }
#footer .order-menu { margin-bottom: 20px; }
#footer .order-menu a {
	display: inline-block;
	margin-right: 14px;
	font-size: 0.87em;
	color: var(--text-body);
}
#footer .order-menu a:hover { color: var(--point); }
#footer .page-top {
	position: absolute;
	top: 0;
	right: 24px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background-color: var(--surface);
	color: var(--text-muted);
	transition: all 0.2s;
}
#footer .page-top:hover {
	border-color: var(--point);
	background-color: var(--point);
	color: #fff;
}
#footer p { margin-bottom: 8px; font-size: 0.85em; line-height: 1.7; color: var(--text-faint); }
#footer p a { color: var(--text-faint); text-decoration: underline; text-underline-offset: 2px; }
#footer p a:hover { color: var(--point); }
#footer .copyright { color: var(--text-faint); }

/* -------------------------------------------------------------------------
   11. 기타 · 티스토리 기본 요소 덮어쓰기
   ------------------------------------------------------------------------- */
#dimmed {
	position: fixed;
	inset: 0;
	z-index: 300;
	background-color: rgba(0, 0, 0, 0.55);
}
#dimmed[hidden] { display: none; }

body.mobile-menu { overflow: hidden; }

#content .another_category { margin: 40px 0 !important; }
#content .another_category h4 {
	margin: 0 0 12px !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 1.1em !important;
	font-weight: 800 !important;
	color: var(--text-strong) !important;
}
#content .another_category table { margin: 0 !important; border: 0; }
#content .another_category th {
	padding: 9px 0 !important;
	border-bottom: 1px solid var(--line-soft);
	font-size: 1em !important;
	font-weight: 400 !important;
	line-height: 1.6 !important;
	color: var(--text-body) !important;
}
#content .another_category th a { border: 0 !important; color: var(--text-body) !important; }
#content .another_category th a.current { font-weight: 700 !important; color: var(--point) !important; }
#content .another_category td { display: none; }

.container_postbtn { margin: 36px 0 30px; padding: 0 !important; }

.absent_post { padding: 70px 0 !important; background: none !important; font-size: 1em !important; color: var(--text-muted) !important; }
.absent_post:before {
	content: "죄송합니다만 \A글을 찾지 못했습니다.";
	display: block;
	margin-bottom: 8px;
	font-size: 1.5em;
	font-weight: 700;
	line-height: 1.4;
	color: var(--text);
	white-space: pre;
}

.revenue_unit_wrap { height: auto !important; max-width: 100% !important; }
#content > .revenue_unit_wrap { margin: 8px 0 !important; }
.sidebar .revenue_unit_wrap { width: 100%; margin-bottom: 8px !important; }
.revenue_unit_wrap.position_list {
	width: auto !important;
	margin: 8px 0 0 !important;
	padding: 6px !important;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.revenue_unit_item.adfit { min-height: 90px !important; height: 0 !important; }
.revenue_unit_item.adsense { height: 281px !important; }
.revenue_unit_item.adfit { height: 97px !important; }

figure[data-ke-type='opengraph'] a,
figure[data-ke-type='opengraph'] div.og-text {
	border-radius: var(--radius-sm);
}
figure[data-ke-type='opengraph'] div.og-text { background-color: var(--surface-sub); }
figure[data-ke-type='opengraph'] div.og-text p.og-title { font-weight: 700 !important; }
figure[data-ke-type='opengraph'] div.og-text p.og-host { display: none; }

figure[data-ke-type="video"] {
	position: relative;
	height: 0;
	padding-bottom: 56.25%;
	overflow: hidden;
}
figure[data-ke-type="video"] iframe,
figure[data-ke-type="video"] object,
figure[data-ke-type="video"] embed {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

div[data-ke-type='moreLess'].open .moreless-content {
	margin: 16px 0 42px;
	padding: 22px;
	border: 1px dashed var(--line);
	border-radius: var(--radius-sm);
	background-color: var(--surface-soft);
}

.link_tit { margin-bottom: 8px; font-size: 1.05em; font-weight: 700; color: var(--text); }
.product-img { columns: 2; }

/* -------------------------------------------------------------------------
   12. 반응형
   ------------------------------------------------------------------------- */
@media screen and (max-width: 1080px) {
	.content-wrap { padding: 0 18px; grid-template-columns: minmax(0, 1fr) 260px; column-gap: 18px; }
	.layout-aside-left .content-wrap { grid-template-columns: 260px minmax(0, 1fr); }
	#header .inner, #footer .inner { max-width: none; }
	#header .search { width: 150px; }
}

@media screen and (max-width: 767px) {
	:root { --hdr-h: 64px; }

	.content-wrap {
		grid-template-columns: minmax(0, 1fr) !important;
		column-gap: 0;
		padding: 0;
	}
	#content { order: 1 !important; padding: 12px 14px 40px; }
	#aside { order: 2 !important; }

	.sticky-header #header .inner {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 20;
		max-width: none;
		margin: 0;
		padding: 0 14px;
		border-radius: 0;
		border-left: 0;
		border-right: 0;
		border-top: 0;
		transition: top 0.3s ease;
	}
	.sticky-header #container { padding-top: calc(var(--hdr-h) + 6px); }

	.header-bar { gap: 10px; height: var(--hdr-h); }
	#header .b-title { max-width: none; flex: 1 1 auto; font-size: 1.25em; }
	#header .nav-top { display: none; }
	#header .search { width: clamp(88px, 28vw, 150px); }
	#header .menu { display: block; }

	/* 사이드바 = 드로어 */
	#aside {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 400;
		width: min(300px, 84vw);
		height: 100%;
		padding: 54px 16px 24px;
		overflow-y: auto;
		background-color: var(--bg);
		transform: translateX(100%);
		transition: transform 0.28s ease;
		-webkit-overflow-scrolling: touch;
	}
	.mobile-menu #aside { transform: translateX(0); }
	#aside .close {
		position: absolute;
		top: 14px;
		right: 14px;
		display: grid;
		place-items: center;
		width: 34px;
		height: 34px;
		border: 1px solid var(--line);
		border-radius: 50%;
		background-color: var(--surface);
		color: var(--text-muted);
	}
	#aside .close:before { content: "✕"; font-size: 14px; }
	.sidebar .back { border-radius: var(--radius); padding: 20px; }
	.sidebar .sidebar-2 .nav-top { display: block; }
	#side-menu ul { display: block; }
	#side-menu ul li { padding: 6px 0; }

	.cover-thumbnail-2 ul li { padding: 16px 18px; }
	.cover-thumbnail-2 ul li figure { width: 96px; margin-right: 16px; }
	.cover-thumbnail-2 ul li .title { font-size: 1.1em; margin-bottom: 8px; }
	.cover-thumbnail-2 ul li .excerpt { -webkit-line-clamp: 2; line-clamp: 2; margin-bottom: 8px; font-size: 0.85em; }
	.cover-thumbnail-2 .enter-page { display: none; }

	.list-type-thumbnail .post-item { padding: 16px 18px; }
	.list-type-thumbnail .post-item .thum { width: 96px; margin-right: 16px; }
	.list-type-thumbnail .post-item.protected .thum { height: 72px; }
	.list-type-thumbnail .post-item .title { font-size: 1.1em; margin-bottom: 8px; }
	.list-type-thumbnail .post-item .excerpt { -webkit-line-clamp: 2; line-clamp: 2; margin-bottom: 8px; }
	.list-type-thumbnail .post-item .enter-page { display: none; }

	.entry-content { padding: 24px 18px; }
	.entry-content h1.entry-title { font-size: 1.4em; }
	.entry-body p { font-size: 1em; }
	.entry-body h2 { font-size: 1.25em; }
	.entry-content ul, .entry-content ol { padding-left: 18px; }

	.comments, .post_np, .related-articles, .tags.entry-box, div.inner > div.tags, .notice-rep { padding: 18px; }
	.comment-list ul li .author-meta, .comment-list ul li > p { padding-left: 46px; }
	.comment-list ul li .author-meta .avatar { width: 36px; height: 36px; margin-left: -46px; }

	.pre-next { grid-template-columns: minmax(0, 1fr); }
	.post_np:nth-child(2) { text-align: left; }
	.post_np:nth-child(2) a { flex-direction: row; }
	.post_np .np_thumb_right { order: 0; }

	.related-articles ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

	#footer { padding: 28px 0 24px; }
	#footer .order-menu a { display: block; margin: 0 0 4px; }
	#footer .page-top { top: -4px; right: 18px; }
	#footer p { text-align: center; }

	.product-img { columns: 1 !important; }
	.entry-content .protected_form input { width: 100%; margin: 0 0 8px; }
	.entry-content .protected_form .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}
}

@media print {
	#header, #aside, #footer, .pagination, .pre-next, .comments, .related-articles,
	.theme-toggle, .container_postbtn, .admin { display: none !important; }
	body { background: #fff; color: #000; }
	.content-wrap { display: block; padding: 0; }
	.entry-content, .entry-box { border: 0; box-shadow: none; padding: 0; }
}

/* 데스크톱에서는 헤더 메뉴와 중복되므로 사이드바 메뉴는 모바일에서만 노출 */
@media screen and (min-width: 768px) {
	.sidebar .sidebar-2 .nav-top { display: none; }
}
