/*
 * Juhwan Lab — main.css
 * 원본(juhwan.kim 티스토리 커버형 스킨)의 수치를 기준으로 옮긴 스타일.
 * 스프라이트 이미지는 SVG 로 대체했다. 값의 근거는 저장소의 design-spec.md 참고.
 */

:root {
	--jk-text: #000;
	--jk-title: #080808;
	--jk-muted: #808080;
	--jk-excerpt: #666;
	--jk-body: #333;
	--jk-footer: #9b9b9b;
	--jk-line: #ebebeb;
	--jk-line-strong: #a3a3a3;
	--jk-hover: #4e2e28;
	--jk-border: #dcdcdc;
	--jk-font: 'Noto Sans KR', 'Malgun Gothic', 'AppleGothic', sans-serif;

	--jk-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='18' cy='18' r='7'/%3E%3Cpath d='M23.5 23.5L29 29'/%3E%3C/svg%3E");
	--jk-icon-prev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70' viewBox='0 0 70 70' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M40 22L27 35l13 13'/%3E%3C/svg%3E");
	--jk-icon-next: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70' viewBox='0 0 70 70' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 22l13 13-13 13'/%3E%3C/svg%3E");
	--jk-icon-list: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23b2b2b2'%3E%3Crect x='5' y='6' width='14' height='2'/%3E%3Crect x='5' y='11' width='14' height='2'/%3E%3Crect x='5' y='16' width='14' height='2'/%3E%3C/svg%3E");
	--jk-icon-list-on: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23000'%3E%3Crect x='5' y='6' width='14' height='2'/%3E%3Crect x='5' y='11' width='14' height='2'/%3E%3Crect x='5' y='16' width='14' height='2'/%3E%3C/svg%3E");
	--jk-icon-thum: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23b2b2b2'%3E%3Crect x='5' y='5' width='6' height='6'/%3E%3Crect x='13' y='5' width='6' height='6'/%3E%3Crect x='5' y='13' width='6' height='6'/%3E%3Crect x='13' y='13' width='6' height='6'/%3E%3C/svg%3E");
	--jk-icon-thum-on: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23000'%3E%3Crect x='5' y='5' width='6' height='6'/%3E%3Crect x='13' y='5' width='6' height='6'/%3E%3Crect x='5' y='13' width='6' height='6'/%3E%3Crect x='13' y='13' width='6' height='6'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------
 * 기본
 * ------------------------------------------------------------------ */
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: #fff;
	color: var(--jk-text);
	font-family: var(--jk-font);
	font-weight: 400;
	font-size: 100%;
	line-height: 1.25;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
}
div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend,
input, textarea, p, blockquote, th, td, figure { margin: 0; padding: 0; }
header, footer, section, article, aside, nav, figure { display: block; }
ul, ol { list-style: none; }
img, fieldset { border: 0; }
img { vertical-align: top; max-width: 100%; height: auto; }
a { color: inherit; }
button {
	overflow: visible;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}
input, select, textarea { font: inherit; border-radius: 0; }
input[type='text'], input[type='search'], input[type='email'], input[type='url'],
input[type='password'], input[type='submit'], textarea { -webkit-appearance: none; appearance: none; }
figcaption { display: block; margin-bottom: 10px; color: #777; font-size: 13px; }
hr { display: none; }

:focus-visible { outline: 2px solid #000; outline-offset: 2px; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
	word-wrap: normal;
}

#acc-nav { position: absolute; top: 0; left: 0; z-index: 1000; width: 100%; height: 0; }
#acc-nav a {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	overflow: hidden;
	width: 1px;
	height: 1px;
	margin-left: -1px;
	margin-bottom: -1px;
	text-align: center;
	font-weight: 700;
	font-size: .875em;
	color: #000;
	white-space: nowrap;
}
#acc-nav a:focus, #acc-nav a:hover, #acc-nav a:active {
	width: 100%;
	height: auto;
	padding: 10px 0;
	background: #000;
	color: #fff;
}

/* 푸터를 항상 화면 아래에 둔다 */
#wrap { display: flex; flex-direction: column; min-height: 100vh; }
#wrap > .container { flex: 1 0 auto; }

/* ------------------------------------------------------------------
 * 헤더
 * ------------------------------------------------------------------ */
#header { position: relative; width: 100%; }
#header .site-title {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 84px;
	margin: 0;
	padding: 0;
	font-size: 1.5em;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -1px;
}
#header .site-title a { display: inline-block; text-decoration: none; vertical-align: top; color: #1a1a1a; }
#header .site-title img { display: block; width: 180px; height: auto; }

#header .mobile-menu {
	position: absolute;
	top: 20px;
	left: 33px;
	z-index: 500;
	width: 40px;
	height: 40px;
}
#header .mobile-menu span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 26px;
	height: 2px;
	margin: -2px 0 0 -13px;
	overflow: hidden;
	background: #000;
	font-size: 0;
	text-indent: -999em;
}
#header .mobile-menu:before,
#header .mobile-menu:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 26px;
	height: 2px;
	margin-left: -13px;
	background: #000;
}
#header .mobile-menu:before { margin-top: -9px; }
#header .mobile-menu:after { margin-top: 5px; }
#header .mobile-menu.on { position: fixed; }
#header .mobile-menu.on span { display: none; }
#header .mobile-menu.on:before,
#header .mobile-menu.on:after { margin-top: -2px; }
#header .mobile-menu.on:before { transform: rotate(-45deg); }
#header .mobile-menu.on:after { transform: rotate(45deg); }

#header .menu {
	position: fixed;
	top: 0;
	left: -348px;
	z-index: 400;
	width: 348px;
	height: 100%;
	padding: 94px 40px 189px;
	background: #fff;
	box-sizing: border-box;
	visibility: hidden;
	transition: left .5s ease-in-out, visibility 0s linear .5s;
}
#header .menu.on { left: 0; visibility: visible; transition: left .5s ease-in-out, visibility 0s; }

#dimmed { position: fixed; top: 0; left: 0; z-index: 300; width: 100%; height: 100%; background: rgba(0, 0, 0, .43); }

#gnb { overflow: auto; height: 100%; margin-bottom: 8px; }
#gnb ul li { margin-bottom: 6px; font-size: 1.125em; line-height: 1.5; }
#gnb ul li a { display: block; text-decoration: none; color: #000; }
#gnb ul li a:hover { text-decoration: underline; color: var(--jk-hover); }
#gnb ul li ul { margin: 22px 0 0; }
#gnb ul li ul li { font-size: 1em; }

/* 검색: 아이콘을 누르면 입력창이 펼쳐진다 */
#header .search { position: absolute; top: 20px; right: 19px; width: 0; padding-right: 40px; }
#header .search input {
	display: none;
	width: 100%;
	height: 40px;
	padding: 0 10px;
	border: 0;
	background: transparent;
	color: #000;
	font-size: 1em;
	line-height: 40px;
	box-sizing: border-box;
	outline: none;
}
#header .search input::-webkit-search-cancel-button { display: none; }
#header .search button {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 10;
	width: 40px;
	height: 40px;
	overflow: hidden;
	background: var(--jk-icon-search) no-repeat 0 0;
	font-size: 0;
	text-indent: -999em;
}
#header .search:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	z-index: 20;
	width: 40px;
	height: 40px;
	background: var(--jk-icon-search) no-repeat 0 0;
	cursor: pointer;
}
#header .search:hover:before { background-color: var(--jk-line); }
#header .search.on { width: 322px; border-bottom: 1px solid #000; }
#header .search.on input { display: block; }
#header .search.on button { display: block; }
#header .search.on:before { display: none; }

/* ------------------------------------------------------------------
 * 공통 버튼 / 레이아웃
 * ------------------------------------------------------------------ */
.btn, a.btn {
	display: inline-block;
	width: 158px;
	height: 40px;
	border: 1px solid var(--jk-border);
	background: transparent;
	font-size: .875em;
	line-height: 40px;
	text-align: center;
	text-decoration: none;
}
.btn:hover { border-color: #4d4d4d; }

#content .inner { max-width: 960px; margin: 0 auto; letter-spacing: -.8px; }
#content > .inner { max-width: 740px; }
#content .inner:after { content: ''; clear: both; display: block; height: 0; visibility: hidden; }

.no-posts { padding: 60px 0; text-align: center; color: var(--jk-excerpt); letter-spacing: -.8px; }

/* ------------------------------------------------------------------
 * 홈: 히어로 슬라이더
 * ------------------------------------------------------------------ */
.cover-slider { position: relative; overflow: hidden; width: 100%; background: #000; }
.cover-slider ul { position: relative; height: 460px; }
.cover-slider ul li {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 460px;
	background: #000 no-repeat 50% 50%;
	background-size: cover;
	text-align: center;
	font-weight: 400;
	letter-spacing: -1.5px;
	visibility: hidden;
}
.cover-slider:not(.is-ready) ul li:first-child,
.cover-slider ul li.is-current { visibility: visible; }
.cover-slider ul li a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: 0 20px;
	background: rgba(0, 0, 0, .6);
	color: #fff;
	text-decoration: none;
}
.cover-slider ul li .category { display: inline-block; margin-bottom: 16px; border-bottom: 1px solid #fff; }
.cover-slider ul li .title {
	display: block;
	max-width: 580px;
	margin: 0 auto 28px;
	font-size: 2.2em;
	line-height: 1.3;
}
.cover-slider ul li .btn { border-color: #fff; color: #fff; }
.cover-slider ul li .btn:hover { background: #fff; color: #000; }

.cover-slider .prev, .cover-slider .next {
	position: absolute;
	top: 50%;
	z-index: 20;
	width: 70px;
	height: 70px;
	margin-top: -35px;
	background: no-repeat 50% 50%;
	font-size: 0;
	text-indent: -999em;
	overflow: hidden;
}
.cover-slider .prev { left: max(16px, calc(50% - 506px)); background-image: var(--jk-icon-prev); }
.cover-slider .next { right: max(16px, calc(50% - 506px)); background-image: var(--jk-icon-next); }
.cover-slider .prev:hover, .cover-slider .next:hover { background-color: rgba(255, 255, 255, .2); }
.cover-slider :focus-visible { outline-color: #fff; }

/* ------------------------------------------------------------------
 * 홈: 카테고리 섹션(3열 카드)
 * ------------------------------------------------------------------ */
.cover-masonry { margin-bottom: -1px; padding: 60px 0 19px; border-bottom: 1px solid var(--jk-line); }
.cover-masonry h2 { margin-bottom: 30px; font-size: 1em; }
.cover-masonry h2 a { text-decoration: none; }
.cover-masonry h2 a:hover { text-decoration: underline; }
.cover-masonry ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 42px; }
.cover-masonry ul li { margin: 0 0 37px; min-width: 0; }
.cover-masonry ul li a { display: block; text-decoration: none; color: var(--jk-title); }

.cover-masonry .thum, .post-item .thum, .related-articles .thum {
	display: block;
	position: relative;
	overflow: hidden;
	background: #f6f6f6;
}
.cover-masonry .thum { aspect-ratio: 16 / 9; margin-bottom: 11px; }
.cover-masonry .thum:before, .post-item .thum:before, .related-articles .thum:before {
	content: 'NO IMAGE';
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 0;
	width: 100%;
	height: 18px;
	margin-top: -9px;
	text-align: center;
	font-weight: 700;
	font-size: .875em;
	color: #cbcbcb;
}
.cover-masonry .thum img, .post-item .thum img, .related-articles .thum img {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cover-masonry ul li .category {
	display: inline-block;
	margin-bottom: 7px;
	border-bottom: 1px solid var(--jk-line-strong);
	font-size: .875em;
	color: var(--jk-muted);
}
.cover-masonry ul li .title {
	display: block;
	overflow: hidden;
	font-weight: 700;
	font-size: 1.125em;
	line-height: 1.4444;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.cover-masonry ul li a:hover .title { text-decoration: underline; color: var(--jk-hover); }
.cover-masonry ul li .excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 7px;
	font-size: .9em;
	line-height: 1.6;
	color: var(--jk-excerpt);
}

/* ------------------------------------------------------------------
 * 목록 화면 (카테고리 / 검색 / All)
 * ------------------------------------------------------------------ */
.post-header {
	display: flex;
	align-items: center;
	max-width: 740px;
	margin: 0 auto 30px;
	padding: 57px 0 15px;
	border-bottom: 1px solid var(--jk-line);
}
.post-header h1 { font-size: 1em; font-weight: 700; }
.post-header .count { padding-left: 5px; font-weight: 700; }
.post-header .list-type { display: flex; margin-left: auto; }
.post-header .list-type button {
	width: 24px;
	height: 24px;
	margin-left: 4px;
	background: no-repeat 0 0;
	font-size: 0;
	text-indent: -999em;
	overflow: hidden;
}
.post-header .list-type button:hover { background-color: var(--jk-line); }
.post-header .list-type .list { background-image: var(--jk-icon-list); }
.post-header .list-type .thum { background-image: var(--jk-icon-thum-on); }
html.jk-list .post-header .list-type .list { background-image: var(--jk-icon-list-on); }
html.jk-list .post-header .list-type .thum { background-image: var(--jk-icon-thum); }

/* 리스트형(기본 규칙) */
.post-item { overflow: hidden; width: 100%; border-bottom: 1px solid var(--jk-line); }
.post-item a { display: block; min-height: 148px; padding: 30px 0; text-decoration: none; color: var(--jk-title); }
.post-item:first-child a { padding-top: 0; }
.post-item a:hover .title { text-decoration: underline; color: var(--jk-hover); }
.post-item .thum { float: right; max-width: 148px; margin-left: 80px; }
.post-item .thum img { position: static; width: 195px; height: 148px; margin: 0 0 0 -23.5px; object-fit: cover; }
.post-item .thum:before { content: none; }
.post-item .title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-height: 2.8em;
	margin-bottom: 8px;
	font-weight: 700;
	font-size: 1.125em;
	line-height: 1.4;
}
.post-item .excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: .9375em;
	line-height: 1.6;
	color: var(--jk-excerpt);
}

/* 썸네일형(기본값): 4열 */
html:not(.jk-list) #content.jk-archive > .inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1.25%; }
html:not(.jk-list) #content.jk-archive > .inner:after { display: none; }
html:not(.jk-list) #content.jk-archive > .inner .no-posts { grid-column: 1 / -1; }
html:not(.jk-list) .post-item { width: auto; margin: 0 0 58px; border: 0; }
html:not(.jk-list) .post-item a { min-height: 0; padding: 0; }
html:not(.jk-list) .post-item .thum {
	float: none;
	width: 100%;
	max-width: none;
	margin: 0 0 9px;
	aspect-ratio: 264 / 200;
	background: #ebebeb;
}
html:not(.jk-list) .post-item .thum:before { content: 'NO IMAGE'; }
html:not(.jk-list) .post-item .thum img { position: absolute; width: 100%; height: 100%; margin: 0; }
html:not(.jk-list) .post-item .title { height: 2.75em; max-height: none; font-size: 1em; line-height: 1.375em; }
html:not(.jk-list) .post-item .excerpt { display: none; }
html:not(.jk-list) .pagination { margin-top: 0; }

/* 페이지 이동 */
.pagination { max-width: 740px; margin: 60px auto; text-align: center; }
.pagination a {
	display: inline-block;
	min-width: 158px;
	height: 50px;
	margin: 0 4px;
	border: 1px solid var(--jk-border);
	font-size: .875em;
	line-height: 48px;
	text-decoration: none;
	color: #000;
}
.pagination a:hover { border-color: #4d4d4d; }
.pagination [aria-busy='true'] { opacity: .5; pointer-events: none; }

/* ------------------------------------------------------------------
 * 글 상세
 * ------------------------------------------------------------------ */
.hgroup { max-width: 740px; margin: 50px auto 40px; padding: 0 0 20px; border-bottom: 1px solid var(--jk-line); }
.hgroup .category {
	display: inline-block;
	margin-bottom: 16px;
	padding-top: 5px;
	border-bottom: 1px solid var(--jk-line-strong);
	font-size: .875em;
	color: var(--jk-muted);
	text-decoration: none;
}
.hgroup h1 { display: block; margin-bottom: 9px; font-weight: 700; font-size: 1.6875em; line-height: 1.4444em; }
.hgroup .post-meta { display: block; font-size: .8125em; color: var(--jk-muted); }

.entry-content { overflow-wrap: break-word; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h1 { margin: 60px 0 19px; font-size: 1.6875em; }
.entry-content h2 { margin: 60px 0 19px; font-size: 1.5em; }
.entry-content h3 { margin: 36px 0 19px; font-weight: 600; font-size: 1.3125em; }
.entry-content h4 { margin: 60px 0 19px; font-weight: 300; font-size: 1.125em; }
.entry-content h5, .entry-content h6 { margin: 36px 0 19px; font-size: 1em; }
.entry-content p { margin-bottom: 24px; font-size: 1.0588em; line-height: 1.6; color: var(--jk-body); }
.entry-content a { color: var(--jk-excerpt); }
.entry-content a.btn { text-decoration: none; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content figure { margin: 36px 0 22px; }
.entry-content figure img { display: block; margin-left: auto; margin-right: auto; }
.entry-content figcaption { margin-top: 8px; text-align: center; }
.entry-content p > img { margin-top: 36px; }
.entry-content hr { display: block; height: 0; margin: 40px 0; border: 0; border-bottom: 1px solid #000; }
.entry-content pre {
	margin-bottom: 24px;
	padding: 16px 20px;
	overflow: auto;
	background: #f6f6f6;
	font-size: .875em;
	line-height: 1.6;
	word-break: break-all;
	white-space: pre-wrap;
	word-wrap: break-word;
}
.entry-content code { font-size: .9em; }
.entry-content ul, .entry-content ol { margin-bottom: 36px; padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 4px; font-size: .9375em; line-height: 1.6; color: var(--jk-body); }
.entry-content blockquote { margin: 0 0 24px; padding: 16px 20px; border-left: 4px solid #e6e6e6; }
.entry-content blockquote p { margin: 22px 0 0; }
.entry-content blockquote p:first-child { margin-top: 0; }
.entry-content table {
	width: 100%;
	margin-bottom: 22px;
	border: 1px solid #e6e6e6;
	border-collapse: collapse;
	text-align: center;
	font-size: .875em;
	line-height: 1.5714;
	color: var(--jk-excerpt);
}
.entry-content table th, .entry-content table td { padding: 7px 6px 11px; border: 1px solid #e6e6e6; }
.entry-content .alignleft { float: left; margin: 0 22px 22px 0; }
.entry-content .alignright { float: right; margin: 0 0 22px 22px; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
/* 양쪽 정렬: 문단 블록 스타일 "양쪽 정렬", 이전한 글의 text-align:justify 와 같은 결과 */
.entry-content .is-style-justify,
.entry-content .has-text-align-justify { text-align: justify; }
/* 사용자 지정하기 > 글 본문 > "본문 문단을 양쪽 정렬" (가운데·오른쪽을 따로 지정한 문단은 제외) */
body.jk-justify .entry-content p:not([class*="has-text-align-"]) { text-align: justify; }
.entry-content .wp-block-embed iframe, .entry-content iframe { max-width: 100%; }
.entry-content .page-links { font-size: .875em; }

.tags {
	position: relative;
	overflow: hidden;
	max-width: 740px;
	margin: 18px auto 53px;
	padding: 27px 0 28px 47px;
	border-top: 1px solid var(--jk-line);
	border-bottom: 1px solid var(--jk-line);
	color: #999;
	box-sizing: border-box;
}
.tags h2 { float: left; width: 47px; margin-left: -47px; font-weight: 400; font-size: 1em; color: #000; }
.tags .items a { display: inline-block; margin-left: 15px; text-decoration: none; font-size: .8125em; line-height: 1.5384; color: #999; }
.tags .items a:hover { color: #7a583a; }
.tags .items a:before { content: '#'; }

.related-articles { overflow: hidden; width: 100%; margin: 45px 0; }
.related-articles h2 { margin-bottom: 28px; font-weight: 300; font-size: 1em; }
.related-articles ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1.25%; }
.related-articles ul li a { display: block; text-decoration: none; color: var(--jk-title); }
.related-articles ul li a:hover .title { text-decoration: underline; color: var(--jk-hover); }
.related-articles .thum { aspect-ratio: 264 / 200; margin-bottom: 12px; background: #ebebeb; }
.related-articles ul li .title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-height: 2.75em;
	margin-bottom: 9px;
	font-weight: 700;
	line-height: 1.375;
}

/* ------------------------------------------------------------------
 * 댓글
 * ------------------------------------------------------------------ */
.comments { max-width: 740px; margin: 30px auto 60px; padding-bottom: 30px; border-bottom: 1px solid #e6e6e6; }
.comments .comments-title { margin-bottom: 10px; font-weight: 300; font-size: 1em; }
.comments .comment-list { margin-bottom: 6px; overflow: hidden; font-size: 16px; }
.comments .comment-list ol { list-style: none; }
.comments .comment-list .children { margin-left: 48px; }
.comments .comment-list li.comment { padding: 26px 0 22px; border-top: 1px solid #e6e6e6; }
.comments .comment-list > ol > li.comment:first-child { border-top: 0; }
.comments .comment-meta { position: relative; min-height: 48px; padding: 4px 0 0 60px; }
.comments .comment-meta .avatar { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; }
.comments .comment-author { font-size: .875em; line-height: 20px; }
.comments .comment-author b { font-weight: 400; }
.comments .comment-author a { text-decoration: none; color: #000; }
.comments .comment-author .says { display: none; }
.comments .comment-metadata { font-size: .75em; color: #999; line-height: 20px; }
.comments .comment-metadata a { text-decoration: none; color: #999; }
.comments .comment-content { margin: 14px 0 0 60px; font-size: .875em; line-height: 1.5714; color: var(--jk-excerpt); }
.comments .comment-content p { margin: 0 0 10px; }
.comments .reply { margin: 9px 0 0 60px; font-size: .75em; }
.comments .reply a { text-decoration: none; color: #999; }
.comments .comment-reply-title { display: none; }
.comments .comment-form p { margin-bottom: 8px; }
.comments .comment-form label { display: block; margin-bottom: 4px; font-size: .8125em; color: var(--jk-excerpt); }
.comments .comment-form input[type='text'],
.comments .comment-form input[type='email'],
.comments .comment-form input[type='url'],
.comments .comment-form textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #e6e6e6;
	background: transparent;
	color: var(--jk-excerpt);
	font-size: .9375em;
	line-height: 1.25;
	box-sizing: border-box;
}
.comments .comment-form input[type='text'], .comments .comment-form input[type='email'], .comments .comment-form input[type='url'] { height: 52px; }
.comments .comment-form textarea { display: block; resize: none; }
.comments .comment-form ::placeholder { color: #d6d6d6; }
.comments .comment-form .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.comments .comment-form .comment-form-cookies-consent label { display: inline; margin: 0; }
.comments .comment-form .form-submit { margin-top: 24px; text-align: right; }
/* 제출 버튼: 글자색을 직접 지정한다. (iPhone Safari 에서 input[type=submit] 글자가 보이지 않던 문제) */
.comments .comment-form .btn {
	width: 158px;
	height: 40px;
	padding: 0;
	border-radius: 0;
	color: var(--jk-title);
	-webkit-text-fill-color: var(--jk-title);
	font-family: inherit;
	opacity: 1;
	cursor: pointer;
}
.comments .no-comments { margin: 12px 0; font-size: .875em; color: #999; }

/* ------------------------------------------------------------------
 * 푸터
 * ------------------------------------------------------------------ */
#footer { position: relative; padding: 29px 0; border-top: 1px solid var(--jk-line); }
#footer p { padding-bottom: 50px; text-align: center; font-size: .75em; line-height: 2; color: var(--jk-footer); }
#footer p a { text-decoration: none; color: var(--jk-footer); }
.jk-front #footer { border-top: 0; }

/* ------------------------------------------------------------------
 * 반응형
 * ------------------------------------------------------------------ */
@media screen and (max-width: 1023px) {
	#header .search.on { width: 180px; }
	#content > .inner { padding: 0 40px; }
	.post-header { max-width: 820px; padding: 40px; }
	.cover-slider ul li .title { max-width: none; padding: 0 98px; }
	.cover-masonry { padding: 60px 40px 81px; }
}

@media screen and (max-width: 767px) {
	#header .mobile-menu { top: 10px; left: 11px; }
	#header .menu { padding: 84px 20px 189px; }
	#header .site-title { height: 60px; padding: 0 62px; box-sizing: border-box; }
	#header .site-title img { width: 150px; }
	#header .search { top: 10px; right: 1px; }
	#header .search.on {
		position: absolute;
		top: 60px;
		left: 0;
		right: auto;
		z-index: 100;
		width: 100%;
		padding: 10px 18px 10px 17px;
		border: 0;
		background: #fff;
		box-sizing: border-box;
	}
	#header .search.on input { border-bottom: 1px solid #000; }
	#header .search.on button { top: -50px; right: 1px; }

	#content > .inner { padding: 0 18px; }
	.post-header { padding: 20px 18px; }

	.cover-slider ul li { box-sizing: border-box; }
	.cover-slider ul li a { padding: 0 18px; }
	.cover-slider ul li .title {
		display: -webkit-box;
		-webkit-line-clamp: 4;
		-webkit-box-orient: vertical;
		overflow: hidden;
		max-height: 5.2em;
		padding: 0;
		font-size: 1.8em;
	}
	.cover-slider .prev, .cover-slider .next { width: 50px; height: 50px; margin-top: -25px; background-size: 50px 50px; }
	.cover-slider .prev { left: 4px; }
	.cover-slider .next { right: 4px; }

	/* 섹션 사이 간격: 원본(60/81)보다 줄임. 마지막 카드의 아래 여백도 없애 구분선 위 공백을 줄인다. */
	.cover-masonry { padding: 40px 18px 28px; }
	.cover-masonry ul li:last-child { margin-bottom: 0; }
	.cover-masonry ul { grid-template-columns: 1fr; }
	.cover-masonry ul li .category { margin-bottom: 8px; }

	.post-item a { min-height: 100px; }
	.post-item .thum { max-width: 113px; margin-left: 18px; }
	.post-item .thum img { width: auto; height: 113px; margin: 0 0 0 -16.5px; }
	.post-item .title { line-height: 1.2; }
	.post-item .excerpt { -webkit-line-clamp: 2; }

	html:not(.jk-list) #content.jk-archive > .inner { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.8169%; }
	html:not(.jk-list) .post-item { margin-bottom: 26px; }
	html:not(.jk-list) .post-item .thum img { width: 100%; height: 100%; margin: 0; }
	html:not(.jk-list) .post-item .title { -webkit-line-clamp: 3; height: auto; max-height: 4.125em; }

	.related-articles ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.8169%; row-gap: 24px; }
	.related-articles ul li .title { -webkit-line-clamp: 3; max-height: 4.2em; line-height: 1.4; }

	.pagination { padding: 0 18px; }
	.entry-content table { width: 680px; table-layout: fixed; }
	.entry-content .wp-block-table { overflow: auto; }
	.comments .comment-list .children { margin-left: 24px; }
}

/* 관리자 로그인 상태의 상단 바 보정 */
.admin-bar #header .menu { top: 32px; height: calc(100% - 32px); }
.admin-bar #header .mobile-menu.on { top: 52px; }
@media screen and (max-width: 782px) {
	.admin-bar #header .menu { top: 46px; height: calc(100% - 46px); }
	.admin-bar #header .mobile-menu.on { top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
	#header .menu, #header .menu.on { transition: none; }
}
