/*
Theme Name: Notebase
Template: generatepress
Description: 게시판형 에디토리얼 디자인 (Pretendard + 을유1945, 제목 등장 애니메이션)
Version: 3.2.4
Text Domain: notebase
*/

/* ==========================================================
   0. 기본값
   ========================================================== */
:root {
	--primary: #221ef4;
	--primary-dark: #121212;
	--white: #fff;
	--gray-100: #f6f6f6;
	--gray-200: #eee;
	--gray-300: #ddd;
	--gray-400: #b8b8b8;
	--gray-500: #999;
	--gray-600: #727272;
	--gray-700: #4b4b4b;
	--gray-900: #121212;
	--font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
	--font-eulyoo: "Eulyoo1945", "AppleMyungjo", "Nanum Myeongjo", serif;
	--wide: 1270px;
	--read: 860px;
	--gutter: 2.5rem;
	--nav-h: 88px;
	--ease: cubic-bezier(0.33, 1, 0.68, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

html { -webkit-text-size-adjust: none; text-size-adjust: none; scroll-padding-top: calc(var(--nav-h) + 1rem); }
body {
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: -0.5px;
	color: var(--gray-900);
	background: var(--white);
	word-break: keep-all;
	overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
}
body.is-menu-open { overflow: hidden; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
	padding: 12px 16px; background: var(--gray-900); color: var(--white);
}
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ==========================================================
   1. 제목 등장 애니메이션 (줄 단위로 아래에서 위로)
   ========================================================== */
.has-reveal .js-reveal .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.has-reveal .js-reveal .line-inner { display: block; transform: translateY(105%); }
.has-reveal .js-reveal.is-in .line-inner { animation: nb-line-up 1s var(--ease) both; }
@keyframes nb-line-up { from { transform: translateY(105%); } to { transform: translateY(0); } }

/* ==========================================================
   2. 내비게이션
   ========================================================== */
.nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 300;
	display: flex; align-items: center; justify-content: space-between; gap: 2rem;
	height: var(--nav-h); padding: 0 var(--gutter);
	background: var(--white);
	transform: translateY(-100%);
	transition: transform 0.6s var(--ease), box-shadow 0.3s;
}
.nav.is-ready { transform: translateY(0); }
.nav.is-ready.is-up { transform: translateY(-100%); }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--gray-300); }
.nav__logo { font-family: var(--font-eulyoo); font-size: 1.625rem; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.nav__menu { flex: 1; display: flex; justify-content: center; }
.nav__menu-list { display: flex; align-items: center; }
.nav__menu-list a {
	display: block; padding: 1.5rem 1.25rem;
	font-size: 1.125rem; font-weight: 600; line-height: 1.5; transition: color 0.25s;
}
.nav__menu-list .current-menu-item > a,
.nav__menu-list .current-post-ancestor > a,
.nav__menu-list .current-category-ancestor > a { color: var(--primary); }
.nav__utility { display: flex; align-items: center; gap: 0.5rem; }
.nav__search-btn, .nav__all-btn {
	display: flex; align-items: center; justify-content: center;
	width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none;
}
.nav__search-btn svg { width: 26px; height: 26px; }
.nav__all-btn { flex-direction: column; gap: 6px; }
.nav__all-btn i { display: block; width: 24px; height: 2px; background: var(--gray-900); transition: transform 0.3s, opacity 0.3s; }
.is-menu-open .nav__all-btn i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.is-menu-open .nav__all-btn i:nth-child(2) { opacity: 0; }
.is-menu-open .nav__all-btn i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-search {
	position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 290;
	background: var(--white); border-bottom: 1px solid var(--gray-300);
	animation: nb-drop 0.35s var(--ease);
}
.nav-search__inner { max-width: var(--wide); margin: 0 auto; padding: 2.5rem var(--gutter) 3rem; }
.board-search--lg { padding-top: 0 !important; }
.board-search--lg .board-search__input { width: 100%; padding-bottom: 1rem; border-bottom: 2px solid var(--gray-900); }
.board-search--lg .board-search__inp { font-size: 1.75rem; font-weight: 500; }
.board-search--lg .board-search__btn svg { width: 32px; height: 32px; }

.all-menu {
	position: fixed; inset: var(--nav-h) 0 0 0; z-index: 290;
	background: var(--white); overflow-y: auto;
	animation: nb-fade 0.3s ease;
}
.all-menu__inner { max-width: var(--wide); margin: 0 auto; padding: 4rem var(--gutter); }
.all-menu__label { font-family: var(--font-eulyoo); font-size: 0.9375rem; font-weight: 600; color: var(--gray-500); letter-spacing: 0; margin-bottom: 1.5rem; }
.all-menu__list { border-top: 3px solid var(--gray-900); }
.all-menu__list a {
	display: block; padding: 1.5rem 0.5rem; border-bottom: 1px solid var(--gray-300);
	font-size: 2.25rem; font-weight: 600; line-height: 1.3; transition: color 0.25s, padding 0.35s var(--ease);
}
.all-menu__sub { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2.5rem; color: var(--gray-700); font-size: 0.9375rem; }

@keyframes nb-drop { from { transform: translateY(-12px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes nb-fade { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================
   3. 공통 레이아웃
   ========================================================== */
.site-main { padding-top: var(--nav-h); min-height: 60vh; }
.board { max-width: var(--wide); margin: 0 auto; padding: 5rem var(--gutter) 0; }

/* 위치 표시 */
.location { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.9375rem; color: var(--gray-700); }
.location li { display: flex; align-items: center; gap: 0.5rem; }
.location li + li::before { content: "/"; color: var(--gray-400); }
.location a { display: flex; align-items: center; transition: color 0.2s; }
.location svg { width: 16px; height: 16px; }
.location li:last-child > span, .location li:last-child > a { color: var(--gray-900); font-weight: 500; }

/* 제목 + 검색 */
.board__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 5rem; }
.board__head--page { margin-bottom: 3.5rem; padding-bottom: 2.5rem; border-bottom: 3px solid var(--gray-900); }
.board__heading { min-width: 0; }
.board__label {
	font-family: var(--font-eulyoo); font-size: 0.9375rem; font-weight: 600;
	letter-spacing: 0.04em; color: var(--gray-500); margin-bottom: 0.75rem;
}
.board__title { font-size: 3.6875rem; font-weight: 600; line-height: 1.3; letter-spacing: -1px; }
.board__desc { margin-top: 1rem; font-size: 1.0625rem; color: var(--gray-700); }

.board-search { padding-bottom: 0.5rem; flex-shrink: 0; }
.board-search__input {
	display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
	width: 20rem; padding: 0 0.25rem 0.75rem 0.75rem;
	border-bottom: 1px solid var(--gray-300); transition: border-color 0.2s;
}
.board-search__input:focus-within { border-color: var(--gray-900); }
.board-search__label { flex: 1; min-width: 0; }
.board-search__inp {
	width: 100%; border: 0; outline: 0; background: transparent; font-size: 1rem;
	-webkit-appearance: none; appearance: none;
}
.board-search__inp::-webkit-search-cancel-button { display: none; }
.board-search__inp::placeholder { color: var(--gray-500); }
.board-search__btn { display: flex; padding: 0; border: 0; background: none; }
.board-search__btn svg { width: 24px; height: 24px; }

/* 분류 탭 */
.tag-tab__wrap { margin-bottom: 2.5rem; }
.tag-tab__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-tab__btn {
	display: inline-flex; align-items: center;
	padding: 0.5rem 0.75rem; font-size: 0.9375rem; line-height: 1.8; font-weight: 500;
	background: var(--white); border: 1px solid var(--gray-400);
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tag-tab__item.is-active .tag-tab__btn { border-color: var(--primary); background: var(--primary); color: var(--white); }
.tag-tab__select-wrap { display: none; position: relative; }
.tag-tab__select {
	width: 100%; height: 48px; padding: 0 2.5rem 0 1rem;
	border: 1px solid var(--gray-300); background: var(--white); border-radius: 0;
	-webkit-appearance: none; appearance: none;
}
.tag-tab__select-wrap::after {
	content: ""; position: absolute; right: 1rem; top: 50%; width: 6px; height: 6px;
	border-right: 1.5px solid var(--gray-900); border-bottom: 1.5px solid var(--gray-900);
	transform: translateY(-70%) rotate(45deg); pointer-events: none;
}

/* ==========================================================
   4. 목록
   ========================================================== */
.board-list__wrap { border-top: 3px solid var(--gray-900); }
.press-list__item { border-bottom: 1px solid var(--gray-300); }
/* 글이 쌓여도 길어지지 않게: 한 줄 = 제목 1줄 + 요약 2줄 + 분류·날짜 */
.press-list__link { display: flex; align-items: center; gap: 3rem; padding: 1.75rem 0.5rem; }
.press-list__content {
	display: flex; flex-direction: column; gap: 1rem;
	flex: 1 1 auto; min-width: 0;
}
.press-list__head { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 0.375rem; }
.press-list__title {
	font-size: 1.3125rem; font-weight: 600; line-height: 1.45;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden;
	transition: color 0.3s;
}
.press-list__desc {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
	font-size: 1rem; line-height: 1.6; color: var(--gray-600);
}
.press-list__meta { display: flex; gap: 0.875rem; align-items: center; }
.press-list__meta .board-tag__item { padding: 0.125rem 0.5rem; font-size: 0.8125rem; }
.press-list__meta .board-date { font-size: 0.875rem; color: var(--gray-500); }
.press-list__thumb { flex-shrink: 0; overflow: hidden; aspect-ratio: 3 / 2; width: clamp(140px, 22%, 240px); background: var(--gray-200); }
.press-list__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }

.board-tag { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.board-tag__item {
	display: inline-block; padding: 0.25rem 0.5rem; font-size: 0.875rem; line-height: 1.8; font-weight: 500;
	border: 1px solid var(--gray-300); border-radius: 4px; color: var(--gray-700); transition: border-color 0.2s, color 0.2s;
}
.board-date { font-family: var(--font-eulyoo); font-size: 1rem; color: var(--gray-700); letter-spacing: 0; }

.board-nodata {
	display: flex; align-items: center; justify-content: center; min-height: 24rem;
	color: var(--gray-500); border-bottom: 1px solid var(--gray-300);
}

/* 페이지 번호 */
.paging_wrap { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding-top: 2.5rem; }
.paging_btn {
	display: flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem; border: 1px solid var(--gray-400); color: var(--gray-700); transition: border-color 0.2s;
}
.paging_btn svg { width: 18px; height: 18px; }
.paging_btn.is-disabled { pointer-events: none; color: var(--gray-300); border-color: var(--gray-300); }
.paging_list { display: flex; align-items: center; gap: 0.5rem; margin: 0 0.5rem; }
.paging_num { display: flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; color: var(--gray-500); letter-spacing: -1px; transition: color 0.2s; }
.paging_num.is-active { font-weight: 700; color: var(--gray-900); }
.paging_gap { display: flex; align-items: flex-end; justify-content: center; min-width: 1.5rem; height: 2.5rem; color: var(--gray-400); }

/* ==========================================================
   6. 글 보기
   ========================================================== */
.board-view { margin: 0 auto; }
.board-view__head { padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--gray-300); }
.board-view__label {
	display: inline-block; padding-bottom: 1rem;
	font-family: var(--font-eulyoo); font-size: 0.9375rem; font-weight: 600; color: var(--gray-500); letter-spacing: 0;
	transition: color 0.2s;
}
.board-view__title { padding-bottom: 1.5rem; font-size: 2.9375rem; font-weight: 600; line-height: 1.3; letter-spacing: -1px; }
.board-view__infos { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.board-view__info { display: flex; align-items: center; gap: 1.5rem; }
.board-view__press { position: relative; font-size: 1rem; color: var(--gray-700); }
.board-view__press::after {
	content: ""; position: absolute; left: -0.75rem; top: 50%; transform: translateY(-50%);
	width: 1px; height: 0.75rem; background: var(--gray-300);
}
.board-view__share {
	padding: 0.375rem 0.875rem; border: 1px solid var(--gray-400); border-radius: 999px; background: var(--white);
	font-size: 0.875rem; font-weight: 500; transition: border-color 0.2s, color 0.2s;
}
.board-view__cont { padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--gray-300); }
.board-view__cont .board-tag { margin-top: 5rem; }
.board-view__thumb { max-width: var(--read); margin: 0 auto 3rem; }
.board-view__thumb img { width: 100%; }
.board-view__thumb img { border: 1px solid var(--gray-200); }
.board-view__thumb figcaption { margin-top: 0.625rem; font-size: 0.8125rem; color: var(--gray-500); }

.view-paging_wrap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 5rem; align-items: center; }
.view-paging_btn { display: flex; flex-direction: column; gap: 0.65rem; max-width: 30rem; width: 100%; }
.view-paging_btn--prev { grid-column: 1; justify-self: start; align-items: flex-start; }
.view-paging_btn--next { grid-column: 3; justify-self: end; align-items: flex-end; text-align: right; }
.view-paging_wrap > .btn { grid-column: 2; }
.view-paging_label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1rem; font-weight: 600; color: var(--gray-600); }
.view-paging_label svg { width: 16px; height: 16px; }
.view-paging_title {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden;
	align-self: stretch; font-size: 1.125rem; transition: color 0.2s;
}

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	min-width: 10rem; height: 3.5rem; padding: 0 1.5rem;
	font-size: 1.125rem; font-weight: 500; transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn--line { border: 1px solid var(--gray-900); background: var(--white); }

/* ==========================================================
   7. 본문 (글·페이지 공통)
   ========================================================== */
.entry-content { max-width: var(--read); margin: 0 auto; font-size: 1.125rem; line-height: 1.85; color: #222; }
.entry-content > * + * { margin-top: 1.5rem; }
.entry-content > p:first-child { font-size: 1.25rem; line-height: 1.8; color: var(--gray-900); }
.entry-content h2 {
	margin-top: 4.5rem; padding-top: 1.25rem; border-top: 2px solid var(--gray-900);
	font-size: 1.875rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.75px; color: var(--gray-900);
}
.entry-content h3 { margin-top: 3rem; font-size: 1.375rem; font-weight: 600; line-height: 1.45; color: var(--gray-900); }
.entry-content h4 { margin-top: 2rem; font-size: 1.125rem; font-weight: 600; }
.entry-content h2 + *, .entry-content h3 + *, .entry-content h4 + * { margin-top: 1rem; }
.entry-content a:not(.wp-block-button__link) { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content strong { font-weight: 600; color: var(--gray-900); }
.entry-content ul, .entry-content ol { padding-left: 1.25rem; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: 0.5rem; }
.entry-content li::marker { color: var(--gray-500); }
.entry-content blockquote {
	padding: 1.75rem 2rem; background: var(--gray-100); border-left: 3px solid var(--primary);
	font-size: 1.0625rem; color: var(--gray-700);
}
.entry-content blockquote p + p { margin-top: 0.75rem; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--gray-600); text-align: left; }
.entry-content hr { border: 0; height: 1px; background: var(--gray-300); margin: 3.5rem 0; }

/* 표 */
.entry-content .wp-block-table, .entry-content > table { overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--gray-900); font-size: 1rem; line-height: 1.6; }
.entry-content th, .entry-content td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--gray-300); text-align: left; vertical-align: top; }
.entry-content thead th, .entry-content tr > th:first-child { background: var(--gray-100); font-weight: 600; color: var(--gray-900); }
.entry-content .wp-block-table figcaption { text-align: left; }

/* 버튼 블록 */
.entry-content .wp-block-button__link {
	display: inline-flex; align-items: center; min-height: 3.5rem; padding: 0 1.75rem; border-radius: 0;
	background: var(--gray-900); color: var(--white); font-size: 1rem; font-weight: 500; text-decoration: none; transition: background 0.25s;
}

/* 목차 */
.nb-toc { margin: 3rem 0; padding: 2rem 2.25rem; border: 1px solid var(--gray-300); }
.nb-toc__title { font-family: var(--font-eulyoo); font-size: 0.9375rem; font-weight: 600; color: var(--gray-500); letter-spacing: 0.04em; margin-bottom: 1rem; }
.entry-content .nb-toc ol { list-style: none; padding: 0; }
.nb-toc li + li { margin-top: 0 !important; border-top: 1px solid var(--gray-200); }
.entry-content .nb-toc a {
	display: flex; gap: 1rem; padding: 0.75rem 0;
	color: var(--gray-900); text-decoration: none; font-size: 1.0625rem; font-weight: 500; transition: color 0.2s;
}
.nb-toc a span { font-family: var(--font-eulyoo); color: var(--gray-500); letter-spacing: 0; }

/* 글·페이지는 읽기 폭으로 가운데 정렬 */
.single .board, .page .board { max-width: calc(var(--read) + var(--gutter) * 2); }
.entry-content > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* 404 */
.error-page { padding-top: 8rem; padding-bottom: 4rem; }
.error-page__desc { margin: 1.5rem 0 3rem; font-size: 1.125rem; color: var(--gray-700); }
.error-page .board-search { margin-bottom: 3rem; }

/* ==========================================================
   8. 푸터
   ========================================================== */
.footer { margin-top: 7.5rem; background: var(--primary-dark); color: var(--white); }
.footer__inner { max-width: calc(var(--wide) + 5rem); margin: 0 auto; padding: 5rem var(--gutter) 2.5rem; }
.footer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 7.5rem; }
.footer__title .sec__heading { font-family: var(--font-eulyoo); font-size: 5.5rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--white); }
.footer__title .sec__label { margin-top: 0.5rem; font-size: 1.375rem; line-height: 1.5; color: rgba(255, 255, 255, 0.72); }
.footer__top {
	flex-shrink: 0; display: flex; align-items: center; justify-content: center;
	width: 4rem; height: 4rem; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%;
	font-family: var(--font-eulyoo); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; transition: background 0.25s, color 0.25s;
}
.footer__bottom { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.9375rem; }
.footer__policy { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer__policy li { position: relative; }
.footer__policy li + li::before {
	content: ""; position: absolute; left: -0.78rem; top: 50%; transform: translateY(-50%);
	width: 0.25rem; height: 0.25rem; background: rgba(255, 255, 255, 0.4); border-radius: 50%;
}
.footer__policy a { font-weight: 600; transition: opacity 0.2s; }
.footer__info { grid-column: 1 / -1; color: rgba(255, 255, 255, 0.6); }
.footer__copy { grid-column: 2; grid-row: 1; color: var(--gray-500); }

/* ==========================================================
   9. 호버 (마우스 환경만)
   ========================================================== */
@media (hover: hover) and (pointer: fine) {
	.nav__menu-list a:hover, .location a:hover, .board-view__label:hover { color: var(--primary); }
	.all-menu__list a:hover { color: var(--primary); padding-left: 1.25rem; }
	.tag-tab__btn:hover { border-color: var(--gray-900); }
	.tag-tab__item.is-active .tag-tab__btn:hover { border-color: var(--primary); }
	.press-list__link:hover .press-list__title { color: var(--primary); }
	.press-list__link:hover .press-list__thumb img { transform: scale(1.04); }
	a.board-tag__item:hover { border-color: var(--gray-900); color: var(--gray-900); }
	.paging_num:hover { font-weight: 700; color: var(--primary); }
	.paging_btn:hover { border-color: var(--gray-900); }
	.board-view__share:hover { border-color: var(--gray-900); }
	.view-paging_btn:hover .view-paging_title { color: var(--primary); }
	.btn--line:hover { background: var(--gray-900); color: var(--white); }
	.entry-content .wp-block-button__link:hover { background: var(--primary); }
	.entry-content .nb-toc a:hover { color: var(--primary); }
	.footer__policy a:hover { opacity: 0.7; }
	.footer__top:hover { background: var(--white); color: var(--gray-900); }
}

/* ==========================================================
   10. 반응형
   ========================================================== */
@media (max-width: 1280px) {
	.press-list__link { gap: 2rem; }
	.footer__title .sec__heading { font-size: 3.1875rem; }
}

@media (max-width: 1024px) {
	:root { --nav-h: 64px; --gutter: 1.5rem; }
	.nav { padding: 0 1rem; }
	.nav__logo { font-size: 1.375rem; }
	.nav__menu { display: none; }
	.press-list__link { gap: 1.5rem; }
	.footer__title .sec__heading { font-size: 2.3125rem; }
	.view-paging_wrap { gap: 2rem; }
}

@media (max-width: 800px) {
	:root { --gutter: 1rem; }
	body { font-size: 15px; }

	.board { padding-top: 2.5rem; }
	.board__head { flex-direction: column; align-items: stretch; gap: 1.5rem; margin-bottom: 2.5rem; }
	.board__head--page { margin-bottom: 2rem; padding-bottom: 1.5rem; }
	.board__title { font-size: 2.3125rem; }
	.board-search { width: 100%; }
	.board-search__input { width: 100%; }
	.tag-tab__wrap { margin-bottom: 1.5rem; }
	.tag-tab__list { display: none; }
	.tag-tab__select-wrap { display: block; }

	.press-list__link { gap: 1rem; padding: 1.25rem 0.25rem; align-items: flex-start; }
	.press-list__content { gap: 0.75rem; }
	.press-list__thumb { width: 96px; }
	.press-list__title { font-size: 1.0625rem; -webkit-line-clamp: 2; }
	.press-list__desc { font-size: 0.9375rem; }
	.board-date, .board-view__press { font-size: 0.875rem; }
	.board-tag { gap: 0.25rem; }
	.board-tag__item { font-size: 0.75rem; }


	.board-view__head, .board-view__cont { padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
	.board-view__title { font-size: 1.875rem; padding-bottom: 1rem; }
	.board-view__infos { flex-wrap: wrap; }
	.board-view__info { gap: 1.25rem; }
	.board-view__cont .board-tag { margin-top: 3.5rem; }
	.view-paging_wrap { gap: 0.5rem; }
	.view-paging_title { display: none; }
	.view-paging_label { font-size: 0.875rem; }
	.btn { min-width: 6.5rem; height: 3rem; font-size: 1rem; }

	.entry-content { font-size: 1.0625rem; line-height: 1.8; }
	.entry-content > p:first-child { font-size: 1.125rem; }
	.entry-content h2 { margin-top: 3.5rem; font-size: 1.5rem; }
	.entry-content h3 { font-size: 1.25rem; }
	.entry-content blockquote { padding: 1.25rem 1.25rem; }
	.entry-content th, .entry-content td { padding: 0.75rem; font-size: 0.9375rem; }
	.nb-toc { padding: 1.5rem 1.25rem; }

	.all-menu__inner { padding: 2.5rem 1rem; }
	.all-menu__list a { font-size: 1.75rem; padding: 1.25rem 0.25rem; }
	.board-search--lg .board-search__inp { font-size: 1.25rem; }
	.nav-search__inner { padding: 1.5rem 1rem 2rem; }

	.footer { margin-top: 4rem; }
	.footer__inner { padding: 2.5rem 1rem 3rem; }
	.footer__head { margin-bottom: 3rem; }
	.footer__title .sec__heading { font-size: 1.875rem; }
	.footer__title .sec__label { font-size: 0.9375rem; }
	.footer__top { width: 3rem; height: 3rem; font-size: 0.75rem; }
	.footer__bottom { grid-template-columns: 1fr; }
	.footer__copy { grid-column: 1; grid-row: auto; }
	.error-page { padding-top: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
	.nav { transform: none; }
}

/* ==========================================================
   11. 제목 글꼴 — 모든 제목은 을유1945
   (을유1945는 400·600 두 굵기만 있어 제목은 600으로 맞춘다)
   ========================================================== */
h1, h2, h3, h4, h5, h6,
.board__title, .board-view__title, .press-list__title, .view-paging_title,
.all-menu__list a, .footer__title .sec__heading,
.kh-story__statement, .kh-sec__title, .kh-qcard__q, .kh-post__title, .kh-cat__name, .kh-float__title,
.nb-toc a, .pi-title, .pi-cta__title, .nb-card__title, .nb-statement {
	font-family: var(--font-eulyoo);
	font-weight: 600;
	letter-spacing: -0.02em;
}
.entry-content h4 { font-weight: 600; }

/* ==========================================================
   12. 하단 빠른 신청 바 + 우측 퀵메뉴 (셀피성형외과 sf_quick·sf_float 이식)
   ========================================================== */
body.has-quick { padding-bottom: 104px; }
.nb-quick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 280; height: 104px; margin: 0; transform: translateY(100%); transition: transform .6s var(--ease); pointer-events: none; }
.nb-quick.is-show { transform: none; }
.nb-quick .q_blur, .nb-quick .q_tint { position: absolute; inset: 0; pointer-events: none; }
.nb-quick .q_b1 { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
.nb-quick .q_b2 { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-mask-image: linear-gradient(180deg, transparent 25%, #000 60%); mask-image: linear-gradient(180deg, transparent 25%, #000 60%); }
.nb-quick .q_b3 { -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); -webkit-mask-image: linear-gradient(180deg, transparent 50%, #000 90%); mask-image: linear-gradient(180deg, transparent 50%, #000 90%); }
.nb-quick .q_tint { background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 0%, transparent) 0%, color-mix(in srgb, var(--primary) 55%, transparent) 55%, color-mix(in srgb, var(--primary) 92%, transparent) 100%); }
.nb-quick .q_in { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; height: 100%; padding: 22px 32px 0; pointer-events: auto; }
.nb-quick .q_tit { margin-right: 6px; color: #fff; font-family: var(--font-eulyoo); font-size: 16px; font-weight: 600; white-space: nowrap; text-shadow: 0 1px 8px rgba(0, 0, 0, .2); }
.nb-quick .q_fields { display: flex; gap: 8px; }
.nb-quick input, .nb-quick select { width: 150px; height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .96); color: var(--gray-900); font-size: 14px; outline: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); transition: box-shadow .25s, background .25s; -webkit-appearance: none; appearance: none; }
.nb-quick select { width: 170px; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23727272' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; }
.nb-quick input:focus, .nb-quick select:focus { background-color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 6px 18px rgba(0, 0, 0, .16); }
.nb-quick input::placeholder { color: #86868b; }
.nb-quick .agree { display: flex; align-items: center; gap: 6px; margin: 0 6px; color: #fff; font-size: 12px; white-space: nowrap; cursor: pointer; }
.nb-quick .agree input { width: 16px; height: 16px; padding: 0; margin: 0; border-radius: 4px; box-shadow: none; accent-color: #fff; -webkit-appearance: checkbox; appearance: auto; }
.nb-quick .agree a { text-decoration: underline; text-underline-offset: 2px; }
.nb-quick .q_submit { position: relative; display: inline-flex; align-items: center; gap: 10px; overflow: hidden; height: 44px; padding: 0 26px; border: 0; border-radius: 10px; background: var(--gray-900); color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap; transition: transform .3s var(--ease), background .3s; }
.nb-quick .q_submit:active { transform: scale(.98); }
.nb-quick .q_submit[disabled] { opacity: .6; pointer-events: none; }
.nb-quick .qs_roll { position: relative; display: block; height: 20px; overflow: hidden; line-height: 20px; }
.nb-quick .qs_roll span { display: block; transition: transform .5s var(--ease); }
.nb-quick .qs_roll span + span { position: absolute; left: 0; right: 0; top: 100%; white-space: nowrap; text-align: center; }
.nb-quick.is-hot .qs_roll span { transform: translateY(-100%); }
.nb-quick .q_live { position: relative; display: inline-block; width: 7px; height: 7px; margin: 0 8px 2px 0; border-radius: 50%; background: #fff; vertical-align: middle; }
.nb-quick .q_live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #fff; animation: nbPing 2s ease infinite; }
.nb-quick .q_toast { position: absolute; left: 50%; bottom: calc(100% - 6px); display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); padding: 10px 10px 10px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 14px 40px rgba(0, 0, 0, .14), 0 0 0 1px rgba(0, 0, 0, .04); white-space: nowrap; pointer-events: none; opacity: 0; filter: blur(8px); transform: translate3d(-50%, 24px, 0) scale(.94); transform-origin: 50% 100%; transition: opacity .6s var(--ease), filter .6s var(--ease), transform .8s cubic-bezier(.34, 1.4, .64, 1); }
.nb-quick.is-hot .q_toast { opacity: 1; filter: none; transform: translate3d(-50%, 0, 0); pointer-events: auto; }
.nb-quick .qt_ic { flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; }
.nb-quick .qt_ic svg { width: 18px; height: 18px; }
.nb-quick.is-hot .qt_ic { animation: nbWiggle 1.2s ease .5s 2; }
.nb-quick .qt_tx { margin: 0; font-size: 14px; line-height: 1.35; color: var(--gray-700); }
.nb-quick .qt_tx strong { margin-right: 4px; font-weight: 700; color: var(--gray-900); }
.nb-quick .qt_link { flex: none; height: 32px; padding: 0 14px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 12%, #fff); color: var(--primary); font-size: 13px; font-weight: 600; line-height: 32px; }
.nb-quick .qt_close { position: relative; flex: none; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.nb-quick .qt_close::before, .nb-quick .qt_close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: #86868b; transform: rotate(45deg); }
.nb-quick .qt_close::after { transform: rotate(-45deg); }
.nb-quick.is-bump .q_in { animation: nbBump .9s cubic-bezier(.34, 1.4, .64, 1); }
.nb-quick .q_msg { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); padding: 10px 18px; border-radius: 999px; background: var(--gray-900); color: #fff; font-size: 14px; white-space: nowrap; pointer-events: none; }
@keyframes nbPing { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes nbWiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(3deg); } }
@keyframes nbBump { 0% { transform: none; } 35% { transform: translateY(-6px); } 100% { transform: none; } }

.nb-float { position: fixed; right: 24px; bottom: 128px; z-index: 281; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.nb-float .fl_chips { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.nb-float .fl_chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--primary) 12%, rgba(255, 255, 255, .85)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--primary); font-size: 14px; font-weight: 600; pointer-events: auto; opacity: 0; transform: translateX(16px); transition: opacity .5s var(--ease), transform .6s var(--ease), background .3s; }
.nb-float .fl_chip::after { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); }
.nb-float .fl_btns { display: flex; flex-direction: column; gap: 8px; }
.nb-float .fl_btns a, .nb-float .fl_btns button { display: block; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--primary) center / 22px no-repeat; box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 30%, transparent); pointer-events: auto; opacity: 0; transform: translateX(16px) scale(.9); transition: opacity .5s var(--ease), transform .6s var(--ease), box-shadow .3s; }
.nb-float .fl_form { background-image: var(--fl-form) !important; }
.nb-float .fl_mail { background-image: var(--fl-mail) !important; }
.nb-float .fl_search { background-image: var(--fl-search) !important; }
.nb-float .fl_top { background: #fff var(--fl-top) center / 20px no-repeat !important; box-shadow: 0 4px 14px rgba(0, 0, 0, .1) !important; }
.nb-float.is-show .fl_chip, .nb-float.is-show .fl_btns a, .nb-float.is-show .fl_btns button { opacity: 1; transform: none; }
.nb-float.is-show .fl_chips > :nth-child(2) { transition-delay: .06s; }
.nb-float.is-show .fl_btns li:nth-child(1) > * { transition-delay: .1s; }
.nb-float.is-show .fl_btns li:nth-child(2) > * { transition-delay: .14s; }
.nb-float.is-show .fl_btns li:nth-child(3) > * { transition-delay: .18s; }
.nb-float.is-show .fl_btns li:nth-child(4) > * { transition-delay: .22s; }

@media (hover: hover) and (pointer: fine) {
	.nb-quick .q_submit:hover { background: #000; transform: translateY(-1px); }
	.nb-quick .q_submit:hover .qs_roll span { transform: translateY(-100%); }
	.nb-float .fl_chip:hover { background: color-mix(in srgb, var(--primary) 20%, #fff); }
	.nb-float .fl_chip:hover::after { transform: translateX(3px) rotate(45deg); }
	.nb-float .fl_btns a:hover, .nb-float .fl_btns button:hover { box-shadow: 0 8px 22px color-mix(in srgb, var(--primary) 45%, transparent); }
}

@media (max-width: 1024px) {
	body.has-quick { padding-bottom: 72px; }
	.nb-quick { height: auto; }
	.nb-quick .q_in { flex-wrap: wrap; gap: 6px; padding: 34px 12px calc(12px + env(safe-area-inset-bottom)); }
	.nb-quick .q_tit { display: none; }
	.nb-quick .q_fields { flex: 1 1 0; min-width: 0; gap: 6px; }
	.nb-quick input, .nb-quick select { flex: 1 1 0; width: auto; min-width: 0; height: 42px; padding: 0 12px; font-size: 14px; }
	.nb-quick select { display: none; }
	.nb-quick .q_submit { flex: none; height: 42px; padding: 0 14px; font-size: 13.5px; }
	.nb-quick .qs_roll span + span { display: none; }
	.nb-quick.is-hot .qs_roll span { transform: none; }
	.nb-quick .q_toast { bottom: calc(100% - 22px); gap: 8px; padding: 8px; border-radius: 20px; white-space: normal; width: calc(100% - 24px); }
	.nb-quick .qt_ic { width: 30px; height: 30px; }
	.nb-quick .qt_tx { flex: 1; min-width: 0; font-size: 12.5px; }
	.nb-quick .qt_tx strong, .nb-quick .qt_tx span { display: block; }
	.nb-quick .qt_link { height: 30px; padding: 0 11px; font-size: 12px; line-height: 30px; }
	.nb-quick .agree { order: 3; display: none; flex: 1 0 100%; margin: 4px 2px 0; justify-content: flex-start; }
	.nb-quick.is-open .agree { display: flex; }
	.nb-quick.is-open .q_fields { flex: 1 0 100%; flex-wrap: wrap; }
	.nb-quick.is-open select { display: block; flex: 1 0 100%; }
	.nb-quick.is-open .q_submit { order: 4; flex: 1 0 100%; justify-content: center; }
	.nb-float { right: 14px; bottom: calc(96px + env(safe-area-inset-bottom)); gap: 10px; transition: transform .6s var(--ease), opacity .3s; }
	.nb-float .fl_chips { display: none; }
	.nb-float .fl_btns a, .nb-float .fl_btns button { width: 42px; height: 42px; background-size: 20px; }
	.nb-quick.is-open ~ .nb-float { opacity: 0; pointer-events: none; }
	.nb-quick.is-hot ~ .nb-float { transform: translate3d(0, -62px, 0); }
}

/* ==========================================================
   13. 푸터 사업자 정보
   ========================================================== */
.footer__biz { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin-top: 0.75rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.75rem; line-height: 1.7; color: rgba(255, 255, 255, 0.45); }
.footer__biz span { white-space: nowrap; }
.footer__biz b { margin-right: 0.375rem; font-weight: 500; color: rgba(255, 255, 255, 0.6); }

/* ==========================================================
   14. 안내 페이지 (소개·문의·약관 등)
   ========================================================== */
.pi-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; padding-bottom: 3rem; }
.pi-title { font-size: 3.6875rem; line-height: 1.25; }
.pi-lead { font-size: 1.25rem; line-height: 1.75; color: var(--gray-700); }
.pi-visual { position: relative; overflow: hidden; margin: 0 calc(var(--gutter) * -1) 5rem; aspect-ratio: 21 / 9; background: var(--gray-200); clip-path: inset(0 calc((1 - var(--grow, 1)) * 6%) round calc((1 - var(--grow, 1)) * 28px)); }
.pi-visual img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.12 - var(--grow, 1) * 0.12)); }
.pi-body { padding-top: 0; }
.pi-body--side { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 5rem; padding-top: 3rem; border-top: 3px solid var(--gray-900); }
.pi-head + .pi-body--side { margin-top: 0; }
.pi-side { position: sticky; top: calc(var(--nav-h) + 2rem); align-self: start; }
.pi-side__label { font-family: var(--font-eulyoo); font-size: 0.875rem; color: var(--gray-500); letter-spacing: 0.04em; margin-bottom: 1rem; }
.pi-side__list a { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--gray-200); font-size: 1rem; font-weight: 500; color: var(--gray-600); transition: color .2s, padding .3s var(--ease); }
.pi-side__list .is-current a { color: var(--gray-900); font-weight: 700; }
.pi-side__date { margin-top: 1.5rem; font-size: 0.8125rem; color: var(--gray-500); }
.pi-body--side .entry-content { margin: 0; }
.pi-body--wide .entry-content { max-width: none; margin: 0; }
.pi-body--wide .entry-content > p, .pi-body--wide .entry-content > ul, .pi-body--wide .entry-content > ol, .pi-body--wide .entry-content > h3 { max-width: var(--read); }

.pi-cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-top: 7.5rem; padding: 3.5rem 4rem; border-radius: 28px; background: color-mix(in srgb, var(--primary) 8%, #fff); }
.pi-cta__label { font-family: var(--font-eulyoo); font-size: 0.9375rem; color: var(--primary); margin-bottom: 0.75rem; }
.pi-cta__title { font-size: 2.25rem; line-height: 1.35; }
.pi-cta__desc { margin-top: 0.75rem; font-size: 1.0625rem; color: var(--gray-700); }
.pi-cta__btns { display: flex; flex-wrap: wrap; gap: 0.75rem; flex-shrink: 0; }
.pi-btn { display: inline-flex; align-items: center; gap: 0.5rem; height: 3.5rem; padding: 0 1.75rem; border-radius: 999px; background: var(--gray-900); color: #fff; font-size: 1rem; font-weight: 600; transition: background .25s; }
.pi-btn svg { width: 18px; height: 18px; }
.pi-btn--line { background: #fff; color: var(--gray-900); box-shadow: inset 0 0 0 1px var(--gray-300); }

/* 본문 조각 (페이지 본문 HTML에서 사용) */
.entry-content .nb-statement { max-width: 20em; margin: 0 0 4rem; font-size: 2.5rem; line-height: 1.45; color: var(--gray-900); }
.entry-content .nb-statement em { font-style: normal; color: var(--primary); }
.entry-content .nb-sec { margin-top: 7rem; }
.entry-content .nb-sec:first-child { margin-top: 0; }
.entry-content .nb-sec__label { font-family: var(--font-eulyoo); font-size: 0.9375rem; color: var(--primary); letter-spacing: 0.04em; margin-bottom: 0.75rem; }
.entry-content .nb-sec > h2 { margin-top: 0; padding-top: 0; border-top: 0; font-size: 2.25rem; }
.entry-content .nb-sec > h2 + p { margin-top: 1rem; max-width: var(--read); font-size: 1.125rem; color: var(--gray-700); }
.entry-content .nb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; padding: 0; list-style: none; }
.entry-content .nb-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.entry-content .nb-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.entry-content .nb-cards > li { margin: 0; padding: 2rem 1.75rem; border-radius: 24px; background: var(--gray-100); }
.entry-content .nb-cards > li::marker { content: none; }
.nb-card__icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 1.5rem; border-radius: 16px; background: #fff; color: var(--primary); }
.nb-card__icon svg { width: 26px; height: 26px; }
.nb-card__num { display: block; margin-bottom: 1.25rem; font-family: var(--font-eulyoo); font-size: 1.75rem; color: var(--primary); }
.entry-content .nb-card__title { margin: 0 0 0.625rem; font-size: 1.3125rem; line-height: 1.4; color: var(--gray-900); }
.entry-content .nb-cards p { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--gray-700); }
.entry-content .nb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; margin-top: 2.5rem; }
.entry-content .nb-split figure { margin: 0; overflow: hidden; border-radius: 28px; aspect-ratio: 4 / 3; }
.entry-content .nb-split figure img { width: 100%; height: 100%; object-fit: cover; }
.entry-content .nb-steps { counter-reset: nbstep; margin: 0; padding: 0; list-style: none; }
.entry-content .nb-steps > li { counter-increment: nbstep; position: relative; margin: 0; padding: 1.5rem 0 1.5rem 4rem; border-bottom: 1px solid var(--gray-300); }
.entry-content .nb-steps > li:first-child { border-top: 1px solid var(--gray-900); }
.entry-content .nb-steps > li::before { content: counter(nbstep, decimal-leading-zero); position: absolute; left: 0; top: 1.5rem; font-family: var(--font-eulyoo); font-size: 1.375rem; color: var(--primary); }
.entry-content .nb-steps strong { display: block; margin-bottom: 0.25rem; font-family: var(--font-eulyoo); font-size: 1.1875rem; font-weight: 600; }
.entry-content .nb-steps p { margin: 0; font-size: 1rem; color: var(--gray-700); }
.entry-content .nb-facts { margin: 2.5rem 0 0; border-top: 1px solid var(--gray-900); }
.entry-content .nb-facts > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 1.5rem; padding: 1.25rem 0.25rem; border-bottom: 1px solid var(--gray-300); }
.entry-content .nb-facts dt { font-weight: 600; color: var(--gray-900); }
.entry-content .nb-facts dd { margin: 0; color: var(--gray-700); }
.entry-content .nb-mail { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-top: 2.5rem; padding: 2.5rem 3rem; border-radius: 28px; background: var(--gray-900); color: #fff; text-decoration: none !important; }
.entry-content .nb-mail__label { display: block; font-size: 0.9375rem; color: rgba(255, 255, 255, .6); margin-bottom: 0.5rem; }
.entry-content .nb-mail__addr { font-family: var(--font-eulyoo); font-size: 2.25rem; color: #fff; }
.entry-content .nb-mail__go { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: #fff; }
.entry-content .nb-mail__go svg { width: 26px; height: 26px; }
.entry-content .nb-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0 0 4rem; padding: 0; list-style: none; }
.entry-content .nb-summary > li { margin: 0; padding: 1.5rem; border: 1px solid var(--gray-300); border-radius: 20px; }
.entry-content .nb-summary > li::marker { content: none; }
.entry-content .nb-summary .nb-card__icon { width: 44px; height: 44px; margin-bottom: 1rem; background: color-mix(in srgb, var(--primary) 10%, #fff); border-radius: 12px; }
.entry-content .nb-summary .nb-card__icon svg { width: 22px; height: 22px; }
.entry-content .nb-summary strong { display: block; font-family: var(--font-eulyoo); font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.375rem; }
.entry-content .nb-summary p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--gray-700); }
.entry-content .wpcf7 { margin-top: 2.5rem; padding: 2.5rem; border-radius: 28px; background: var(--gray-100); }
.entry-content .wpcf7 p { margin: 0 0 1.25rem; }
.entry-content .wpcf7 label { display: block; font-size: 0.9375rem; font-weight: 600; }
.entry-content .wpcf7 input[type="text"], .entry-content .wpcf7 input[type="email"], .entry-content .wpcf7 input[type="tel"], .entry-content .wpcf7 textarea, .entry-content .wpcf7 select { width: 100%; margin-top: 0.5rem; padding: 0.875rem 1rem; border: 1px solid var(--gray-300); border-radius: 12px; background: #fff; font-size: 1rem; }
.entry-content .wpcf7 textarea { height: 180px; resize: vertical; }
.entry-content .wpcf7 input[type="submit"] { height: 3.5rem; padding: 0 2.5rem; border: 0; border-radius: 999px; background: var(--gray-900); color: #fff; font-size: 1rem; font-weight: 600; cursor: pointer; }

@media (hover: hover) and (pointer: fine) {
	.pi-side__list a:hover { color: var(--primary); padding-left: 0.375rem; }
	.pi-btn:hover { background: var(--primary); }
	.pi-btn--line:hover { background: #fff; color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
	.entry-content .nb-mail:hover .nb-mail__go { transform: translateX(4px); }
}

@media (max-width: 1024px) {
	.pi-head { grid-template-columns: 1fr; }
	.pi-body--side { grid-template-columns: 1fr; gap: 2rem; }
	.pi-side { position: static; }
	.pi-side__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
	.pi-side__list a { padding: 0.5rem 0.875rem; border: 1px solid var(--gray-300); border-radius: 999px; font-size: 0.875rem; }
	.pi-side__list .is-current a { border-color: var(--gray-900); background: var(--gray-900); color: #fff; }
	.entry-content .nb-cards, .entry-content .nb-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.entry-content .nb-split { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 800px) {
	.pi-title { font-size: 2.3125rem; }
	.pi-lead { font-size: 1.0625rem; }
	.pi-head { padding-bottom: 2rem; }
	.pi-visual { margin-bottom: 3rem; aspect-ratio: 4 / 3; }
	.pi-cta { flex-direction: column; align-items: stretch; margin-top: 4.5rem; padding: 2rem 1.5rem; border-radius: 20px; }
	.pi-cta__title { font-size: 1.5rem; }
	.pi-btn { justify-content: center; flex: 1; }
	.entry-content .nb-statement { font-size: 1.625rem; margin-bottom: 2.5rem; }
	.entry-content .nb-sec { margin-top: 4.5rem; }
	.entry-content .nb-sec > h2 { font-size: 1.625rem; }
	.entry-content .nb-cards, .entry-content .nb-cards--2, .entry-content .nb-cards--4, .entry-content .nb-summary { grid-template-columns: 1fr; }
	.entry-content .nb-cards > li { padding: 1.5rem 1.25rem; border-radius: 18px; }
	.entry-content .nb-facts > div { grid-template-columns: 1fr; gap: 0.25rem; }
	.entry-content .nb-mail { padding: 1.75rem 1.5rem; border-radius: 20px; }
	.entry-content .nb-mail__addr { font-size: 1.375rem; word-break: break-all; }
	.entry-content .nb-mail__go { width: 48px; height: 48px; }
	.entry-content .nb-steps > li { padding-left: 3rem; }
	.entry-content .wpcf7 { padding: 1.5rem 1.25rem; }
	.footer__biz { font-size: 0.6875rem; }
}

@media (prefers-reduced-motion: reduce) {
	.nb-quick .q_live::after, .nb-quick.is-hot .qt_ic { animation: none; }
	.pi-visual { clip-path: none; }
	.pi-visual img { transform: none; }
}

/* 퀵메뉴에 맨 위로 버튼이 있으므로 푸터 TOP은 숨김 */
body.has-quick .footer__top { display: none; }
