/*
Theme Name:   TravelPost Child
Theme URI:    https://travelpost.kr/
Description:  GeneratePress 자식 테마 — 신문형 헤더 + 여행 테마 화면 구성 (구글 디스커버 최적화)
Template:     generatepress
Version:      2.0.1
Text Domain:  travelpost-child
*/

/* =========================================================
   0. 토큰 · 기본
   ========================================================= */
:root {
	--tp-navy: #0b2a5b;
	--tp-blue: #0c64e9;
	--tp-blue-ink: #0a52c2;
	--tp-coral: #c2361a;
	--tp-ink: #111827;
	--tp-ink-2: #374151;
	--tp-muted: #4b5563;
	--tp-line: #e5e7eb;
	--tp-line-2: #d1d5db;
	--tp-bg: #f3f4f6;
	--tp-radius: 6px;
	--tp-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
	--tp-serif: "Noto Serif KR", "Noto Serif CJK KR", "Nanum Myeongjo", "AppleMyungjo", serif;
}

body.tp-theme,
.tp-theme button,
.tp-theme input,
.tp-theme select,
.tp-theme textarea {
	font-family: var(--tp-sans);
	color: var(--tp-ink);
	-webkit-font-smoothing: antialiased;
}
body.tp-theme { background: #fff; word-break: keep-all; overflow-wrap: anywhere; }
.tp-theme a { color: inherit; }
html.tp-lock { overflow: hidden; }
.tp-theme textarea, .tp-theme input, .tp-theme select { max-width: 100%; box-sizing: border-box; }
.tp-single .comments-area { max-width: 820px; margin: 0 auto; padding: 0 48px 40px; box-sizing: border-box; }
@media (max-width: 768px) { .tp-single .comments-area { padding: 0 18px 32px; } }

.tp-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; width: 100%; }
.tp-theme .site.grid-container { max-width: 1248px; }
.tp-home .site-content { padding: 0; display: block; }
.tp-theme .site-header, .tp-theme #mobile-header { display: none; } /* 혹시 남은 기본 헤더 */
.tp-replace-footer .site-footer { display: none; }

.tp-only-mobile { display: none !important; }
@media (max-width: 768px) {
	.tp-wrap { padding-left: 16px; padding-right: 16px; }
	.tp-only-mobile { display: inline-flex !important; }
	.tp-only-desktop { display: none !important; }
}

.tp-iconbtn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
	background: transparent; color: var(--tp-ink); cursor: pointer;
}
.tp-iconbtn:hover { background: var(--tp-bg); color: var(--tp-ink); }
.tp-iconbtn:focus-visible, .tp-theme a:focus-visible, .tp-theme button:focus-visible { outline: 2px solid var(--tp-blue); outline-offset: 2px; }
.tp-iconbtn--ring { border: 1px solid var(--tp-line-2); }

/* =========================================================
   1. 헤더
   ========================================================= */
.tp-header { background: #fff; position: relative; z-index: 50; }

/* 1단 유틸리티 */
.tp-util { background: var(--tp-bg); border-bottom: 1px solid var(--tp-line); font-size: 13px; color: var(--tp-muted); }
.tp-util__in { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.tp-util__links { display: flex; gap: 18px; }
.tp-util a { color: var(--tp-muted); text-decoration: none; }
.tp-util a:hover { color: var(--tp-ink); text-decoration: underline; }

/* 2단 제호 */
.tp-mast__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 18px; padding-bottom: 16px; }
.tp-mast__left { display: flex; gap: 4px; }
.tp-mast__right { display: flex; justify-content: flex-end; align-items: center; }
.tp-logo { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--tp-navy); }
.tp-logo:hover { color: var(--tp-navy); }
.tp-logo__row { display: flex; align-items: center; gap: 12px; }
.tp-logo__name { font-family: var(--tp-serif); font-weight: 900; font-size: 40px; letter-spacing: -0.02em; line-height: 1; color: var(--tp-navy); }
.tp-logo__tag { font-size: 13px; color: var(--tp-muted); letter-spacing: 0.02em; }
.tp-logo__img { max-height: 56px; width: auto; }
.tp-subscribe {
	display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px;
	background: var(--tp-coral); color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none;
}
.tp-subscribe:hover { background: #a82e15; }

/* 3단 메뉴 */
.tp-nav { border-top: 1px solid var(--tp-line); border-bottom: 3px solid var(--tp-navy); }
.tp-nav__in { display: flex; justify-content: center; flex-wrap: wrap; }
.tp-nav a { padding: 15px 20px; font-weight: 700; font-size: 16px; color: var(--tp-ink); text-decoration: none; position: relative; }
.tp-nav a:hover, .tp-nav a.is-active { color: var(--tp-blue-ink); }
.tp-nav a.is-active::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: -3px; height: 3px; background: var(--tp-blue); }

/* 4단 ISSUE PICK */
.tp-issue { border-bottom: 1px solid var(--tp-line); }
.tp-issue__in { display: grid; grid-template-columns: 150px repeat(3, minmax(0, 1fr)); gap: 24px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.tp-issue__label strong { display: block; font-weight: 900; font-size: 14px; color: var(--tp-coral); letter-spacing: 0.04em; }
.tp-issue__label span { display: block; font-size: 12px; color: var(--tp-muted); margin-top: 2px; }
.tp-issue__item { display: block; border-left: 1px solid var(--tp-line); padding-left: 20px; text-decoration: none; }
.tp-issue__item strong { display: block; font-size: 15px; font-weight: 700; }
.tp-issue__item span { display: block; font-size: 13px; color: var(--tp-muted); margin-top: 2px; }
.tp-issue__item:hover strong { color: var(--tp-blue-ink); text-decoration: underline; text-underline-offset: 3px; }

/* 모바일 헤더 */
@media (max-width: 768px) {
	.tp-util { display: none; }
	.tp-mast__in { grid-template-columns: 48px 1fr 48px; padding: 8px 4px; }
	.tp-mast__right .tp-subscribe { display: none; }
	.tp-logo__row { gap: 8px; }
	.tp-logo__row .tp-logo__mark { width: 28px; height: 28px; }
	.tp-logo__name { font-size: 22px; }
	.tp-logo__tag { display: none; }
	.tp-logo__img { max-height: 36px; }
	.tp-nav { background: var(--tp-navy); border: 0; }
	.tp-nav__in { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 0 8px; }
	.tp-nav__in::-webkit-scrollbar { display: none; }
	.tp-nav a { flex: 0 0 auto; padding: 12px 10px; font-size: 15px; color: #dbe4f3; border-bottom: 3px solid transparent; }
	.tp-nav a:hover, .tp-nav a.is-active { color: #fff; }
	.tp-nav a.is-active { border-bottom-color: #fff; }
	.tp-nav a.is-active::after { display: none; }
	.tp-issue__in { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px 12px; white-space: nowrap; }
	.tp-issue__label strong { font-size: 12px; }
	.tp-issue__label span, .tp-issue__item span { display: none; }
	.tp-issue__item { border: 0; padding: 6px 12px; background: var(--tp-bg); border-radius: 999px; flex: 0 0 auto; }
	.tp-issue__item strong { font-size: 14px; font-weight: 500; }
	.tp-issue__label { flex: 0 0 auto; align-self: center; }
}

/* 스크롤 시 압축 헤더 */
.tp-sticky {
	position: fixed; top: 0; left: 0; right: 0; z-index: 60;
	background: #fff; border-bottom: 3px solid var(--tp-navy); box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
	transform: translateY(-110%); transition: transform .2s ease; visibility: hidden;
}
.tp-sticky.is-visible { transform: none; visibility: visible; }
.admin-bar .tp-sticky { top: 32px; }
.tp-sticky__in { display: flex; align-items: center; gap: 20px; height: 60px; }
.tp-sticky .tp-logo { flex-direction: row; flex: 0 0 auto; }
.tp-sticky .tp-logo__row { gap: 8px; }
.tp-sticky .tp-logo__name { font-size: 22px; }
.tp-sticky__nav { display: flex; gap: 2px; min-width: 0; overflow: hidden; }
.tp-sticky__nav a { padding: 8px 12px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.tp-sticky__nav a:hover, .tp-sticky__nav a.is-active { color: var(--tp-blue-ink); }
.tp-sticky__spacer { flex: 1 1 auto; }
.tp-sticky__title { flex: 1 1 auto; min-width: 0; font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-sticky--article { border-bottom: 0; }
.tp-progress { height: 3px; background: var(--tp-line); }
.tp-progress span { display: block; height: 3px; width: 0; background: var(--tp-coral); }
@media (max-width: 768px) {
	.tp-sticky__in { gap: 8px; height: 52px; }
	.tp-sticky .tp-logo__name { display: none; }
	.tp-sticky:not(.tp-sticky--article) .tp-logo__name { display: inline; font-size: 20px; }
	.tp-sticky__title { font-size: 15px; }
}
@media (max-width: 782px) { .admin-bar .tp-sticky { top: 46px; } }
@media (prefers-reduced-motion: reduce) { .tp-sticky { transition: none; } }

/* 전체메뉴 */
.tp-allmenu { position: fixed; inset: 0; z-index: 100; background: rgba(17, 24, 39, .5); overflow-y: auto; }
.tp-allmenu[hidden] { display: none; }
.tp-allmenu__panel { background: #fff; border-top: 3px solid var(--tp-navy); padding: 24px 0 8px; }
.tp-allmenu__top { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--tp-line); }
.tp-allmenu__title { font-family: var(--tp-serif); font-weight: 900; font-size: 22px; color: var(--tp-navy); flex: 0 0 auto; }
.tp-search { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 6px 0 16px; border: 2px solid var(--tp-navy); border-radius: 999px; color: var(--tp-navy); }
.tp-search input { flex: 1 1 auto; min-width: 0; border: 0 !important; outline: 0; background: none !important; font-size: 16px; padding: 0 !important; }
.tp-search button { height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--tp-navy); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.tp-allmenu__cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; padding: 24px 0; }
.tp-allmenu__col { display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.tp-allmenu__col a { color: var(--tp-ink-2); text-decoration: none; }
.tp-allmenu__col a:hover { color: var(--tp-blue-ink); text-decoration: underline; }
.tp-allmenu__head { font-weight: 900; font-size: 17px; color: var(--tp-navy) !important; padding-bottom: 10px; border-bottom: 2px solid var(--tp-navy); margin-bottom: 2px; }
.tp-allmenu__foot { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 16px 0; border-top: 1px solid var(--tp-line); font-size: 14px; }
.tp-allmenu__foot a { color: var(--tp-muted); text-decoration: none; }
@media (max-width: 1024px) { .tp-allmenu__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) {
	.tp-allmenu__panel { min-height: 100%; padding-top: 12px; }
	.tp-allmenu__top { flex-wrap: wrap; }
	.tp-allmenu__close { margin-left: auto; }
	.tp-search { order: 3; flex-basis: 100%; }
	.tp-allmenu__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
}

/* =========================================================
   2. 공통 컴포넌트
   ========================================================= */
.tp-badge {
	display: inline-block; background: var(--tp-blue); color: #fff !important;
	font-size: 12px; font-weight: 700; line-height: 1; padding: 6px 8px; border-radius: 3px; text-decoration: none;
}
.tp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tp-chip { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; line-height: 1.4; }
.tp-chip--blue { color: var(--tp-blue-ink); background: #eff6ff; }
.tp-chip--red { color: #b42318; background: #fef3f2; }
.tp-chip--green { color: #067647; background: #ecfdf3; }
.tp-meta { display: block; font-size: 12.5px; color: var(--tp-muted); margin-top: 6px; }

.tp-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; border-bottom: 2px solid var(--tp-ink); padding-bottom: 10px; margin-bottom: 16px; }
.tp-head__title { margin: 0; font-size: 24px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.3; }
.tp-head__more { font-size: 14px; color: var(--tp-muted); text-decoration: none; }
.tp-head__more:hover { color: var(--tp-ink); text-decoration: underline; }

.tp-thumb { display: block; width: 100%; height: 100%; object-fit: cover; }
.tp-thumb--empty { background: linear-gradient(135deg, #dbe4f3, #eff6ff); }

/* 사진 카드 */
.tp-photo a { display: block; text-decoration: none; }
.tp-photo__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--tp-radius); background: var(--tp-line); }
.tp-photo__img img { transition: transform .4s ease; }
.tp-photo a:hover img { transform: scale(1.03); }
.tp-photo__title { display: block; font-weight: 700; font-size: 17px; line-height: 1.45; letter-spacing: -0.02em; margin-top: 10px; }
.tp-photo a:hover .tp-photo__title { text-decoration: underline; text-underline-offset: 3px; }
.tp-photo__desc { display: block; font-size: 14px; line-height: 1.6; color: var(--tp-muted); margin-top: 6px; }

/* 목록 (작은 사진) */
.tp-list a { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--tp-line); text-decoration: none; }
.tp-list:last-child a { border-bottom: 0; }
.tp-list__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: var(--tp-line); }
.tp-list__title { display: block; font-weight: 700; font-size: 17px; line-height: 1.45; }
.tp-list a:hover .tp-list__title { text-decoration: underline; text-underline-offset: 3px; }

/* 제목 목록 · 순위 */
.tp-textlist { list-style: none; margin: 0; padding: 0; }
.tp-text a { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--tp-line); font-size: 15px; font-weight: 500; line-height: 1.55; text-decoration: none; }
.tp-text:last-child a { border-bottom: 0; }
.tp-text a:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; color: var(--tp-ink); }
.tp-rank { flex: 0 0 18px; font-family: var(--tp-serif); font-weight: 900; font-size: 22px; line-height: 1.1; color: var(--tp-coral); }
.tp-rank--mute { color: #9ca3af; }

/* 사진 위 제목 */
.tp-overlay a { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--tp-radius); background: #1f2937; text-decoration: none; }
.tp-overlay__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 64px 22px 20px; background: linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, 0)); }
.tp-overlay__title { display: block; margin-top: 8px; color: #fff; font-weight: 800; font-size: 22px; line-height: 1.4; letter-spacing: -0.02em; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }

.tp-grid { display: grid; gap: 20px; }
.tp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tp-grid[hidden] { display: none; }

/* =========================================================
   3. 홈
   ========================================================= */
.tp-front { width: 100%; }
.tp-front .site-main { margin: 0 auto; padding-top: 28px; padding-bottom: 12px; }
.tp-block { padding: 36px 0; border-bottom: 1px solid var(--tp-line); }
.tp-block:last-child { border-bottom: 0; }

/* 첫 화면 3단 */
.tp-lead { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--tp-ink); }
.tp-lead__side { display: flex; flex-direction: column; gap: 20px; }
.tp-lead__side .tp-photo + .tp-photo { padding-top: 20px; border-top: 1px solid var(--tp-line); }
.tp-lead__side .tp-photo__title { font-size: 18px; }
.tp-lead__rank .tp-head__title { font-size: 18px; }
.tp-lead__rank .tp-head { margin-bottom: 0; }

.tp-top a { display: block; text-align: center; text-decoration: none; }
.tp-top__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tp-line); }
.tp-top__body { display: block; }
.tp-pick { display: inline-block; margin-top: 18px; background: var(--tp-coral); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; letter-spacing: 0.04em; }
.tp-top__title { display: block; font-family: var(--tp-serif); font-weight: 900; font-size: 36px; line-height: 1.3; letter-spacing: -0.035em; margin-top: 12px; text-wrap: balance; }
.tp-top a:hover .tp-top__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.tp-top__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; line-height: 1.6; color: var(--tp-ink-2); margin-top: 10px; }

/* 축제 캘린더 */
.tp-fest .tp-head { border-bottom: 0; padding-bottom: 0; margin-bottom: 18px; align-items: center; }
.tp-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tp-tabs button {
	height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--tp-line-2); background: #fff;
	font-size: 14px; color: var(--tp-ink-2); cursor: pointer;
}
.tp-tabs button[aria-selected="true"] { background: var(--tp-navy); border-color: var(--tp-navy); color: #fff; font-weight: 700; }
.tp-photo--fest .tp-photo__title { font-size: 16px; margin-top: 8px; }

/* 국내여행 | 여행 꿀팁 */
.tp-split { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 36px; }
.tp-split__side .tp-head__title { font-size: 18px; }
.tp-split__side .tp-head { margin-bottom: 0; }
.tp-feature a { display: block; text-decoration: none; }
.tp-feature__title { display: block; font-family: var(--tp-serif); font-weight: 900; font-size: 28px; line-height: 1.35; letter-spacing: -0.03em; }
.tp-feature a:hover .tp-feature__title { text-decoration: underline; text-underline-offset: 5px; }
.tp-feature__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 16px; }
.tp-feature__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tp-line); }
.tp-feature__desc { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.75; color: var(--tp-ink-2); }

/* 테마 태그 */
.tp-tagcloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tp-tagcloud a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--tp-line-2); border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; }
.tp-tagcloud a:hover { border-color: var(--tp-navy); color: var(--tp-navy); background: #f5f8ff; }

/* 해외여행 | 기획연재 */
.tp-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.tp-series { display: flex; flex-direction: column; gap: 14px; }
.tp-series__item { display: flex; gap: 16px; align-items: center; padding: 14px; background: var(--tp-bg); border-radius: 8px; text-decoration: none; }
.tp-series__item:hover { background: #e9edf5; }
.tp-series__mark { flex: 0 0 56px; height: 56px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; }
.tp-series__name { display: block; font-size: 13px; font-weight: 700; color: var(--tp-blue-ink); }
.tp-series__desc { display: block; font-size: 16px; font-weight: 700; margin-top: 2px; }

@media (max-width: 1024px) {
	.tp-lead { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.tp-lead__main { grid-column: 1 / -1; order: -1; }
	.tp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	.tp-home { background: var(--tp-bg); }
	.tp-front .site-main { padding: 0; }
	.tp-lead, .tp-block { background: #fff; padding: 18px 16px; margin-bottom: 10px; border: 0; }
	.tp-front .tp-wrap, .tp-front.site-main { padding: 0; }
	.tp-lead { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
	.tp-lead__main { order: 0; }
	.tp-lead__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; order: 1; }
	.tp-lead__side .tp-photo + .tp-photo { padding: 0; border: 0; }
	.tp-lead__side .tp-photo__title { font-size: 14px; margin-top: 6px; }
	.tp-lead__side .tp-photo__desc { display: none; }
	.tp-lead__rank { order: 2; margin: 0 -12px -12px; padding: 18px 16px 6px; border-top: 10px solid var(--tp-bg); }
	/* 모바일 톱기사: 사진 위 흰 제목 */
	.tp-top a { position: relative; text-align: left; border-radius: 8px; overflow: hidden; }
	.tp-top__img { aspect-ratio: 4 / 3.4; }
	.tp-top__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 16px 16px; background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0)); }
	.tp-pick { margin-top: 0; font-size: 11px; padding: 3px 8px; }
	.tp-top__title { color: #fff; font-size: 23px; margin-top: 8px; }
	.tp-top__desc { display: none; }
	.tp-head__title { font-size: 19px; }
	.tp-fest .tp-head { flex-direction: column; align-items: flex-start; }
	.tp-fest .tp-grid--4 { display: flex; overflow-x: auto; gap: 12px; margin-right: -16px; padding-right: 16px; scroll-snap-type: x mandatory; }
	.tp-fest .tp-grid--4[hidden] { display: none; }
	.tp-fest .tp-photo { flex: 0 0 240px; scroll-snap-align: start; }
	.tp-split, .tp-pair { display: block; }
	.tp-split__side, .tp-pair > div + div { margin-top: 28px; }
	.tp-feature__title { font-size: 21px; }
	.tp-feature__row { grid-template-columns: 1fr; gap: 12px; }
	.tp-feature__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.tp-tagcloud { gap: 8px; }
	.tp-tagcloud a { min-height: 38px; padding: 0 14px; font-size: 14px; }
	.tp-list a { grid-template-columns: 118px minmax(0, 1fr); gap: 12px; }
	.tp-list__title { font-size: 15px; }
	.tp-overlay__title { font-size: 19px; }
	.tp-grid--2 { gap: 12px; }
	.tp-grid--2 .tp-photo__title { font-size: 14px; }
}

/* =========================================================
   4. 기사 페이지
   ========================================================= */
.single.tp-theme .site-content { padding-top: 0; display: block; }
.tp-single { width: 100%; }
.tp-single .site-main { margin: 0; }
.tp-article .inside-article { max-width: 820px; margin: 0 auto; padding: 36px 48px 48px; background: #fff; box-sizing: border-box; }
.tp-crumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--tp-muted); margin-bottom: 12px; }
.tp-crumb a { color: var(--tp-muted); text-decoration: none; }
.tp-crumb a:hover { color: var(--tp-blue-ink); text-decoration: underline; }
.tp-article .entry-header { padding-bottom: 18px; border-bottom: 1px solid var(--tp-line); }
.tp-article .entry-title { font-family: var(--tp-serif); font-size: 38px; line-height: 1.36; font-weight: 900; letter-spacing: -0.035em; color: var(--tp-ink); margin: 0; text-wrap: pretty; }

.tp-byline { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.tp-avatar { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--tp-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 16px; }
.tp-avatar--lg { flex-basis: 52px; height: 52px; font-size: 19px; }
.tp-byline__text { flex: 1 1 auto; min-width: 0; }
.tp-byline__name { display: block; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.tp-byline__name:hover { color: var(--tp-blue-ink); text-decoration: underline; }
.tp-byline__dates { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 12.5px; color: var(--tp-muted); }

.tp-hero { margin: 24px 0 0; }
.tp-hero__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: var(--tp-radius); }
.tp-hero figcaption, .tp-article .entry-content figcaption, .tp-article .wp-element-caption { font-size: 13px; color: var(--tp-muted); line-height: 1.5; padding-top: 8px; text-align: left; }

.tp-summary { margin-top: 24px; padding: 16px 18px 14px; background: var(--tp-bg); border-radius: 8px; }
.tp-summary h2 { margin: 0 0 8px; font-size: 15px; font-weight: 900; color: var(--tp-navy); }
.tp-summary ul { margin: 0; padding-left: 18px; }
.tp-summary li { font-size: 16px; line-height: 1.7; color: #1f2937; }

.tp-article .entry-content { margin-top: 28px; }
.tp-article .entry-content > p, .tp-article .entry-content li { font-size: 18px; line-height: 1.85; color: #1f2937; letter-spacing: -0.01em; }
.tp-article .entry-content > p { margin: 0 0 1.4em; }
.tp-article .entry-content h2 { font-size: 22px; font-weight: 800; line-height: 1.4; letter-spacing: -0.03em; margin: 2em 0 .8em; padding-left: 12px; border-left: 4px solid var(--tp-blue); }
.tp-article .entry-content h3 { font-size: 19px; font-weight: 800; margin: 1.6em 0 .6em; }
.tp-article .entry-content figure, .tp-article .entry-content .wp-block-image { margin: 32px 0; }
.tp-article .entry-content img { width: 100%; height: auto; display: block; border-radius: var(--tp-radius); }
.tp-article .entry-content blockquote { border-left: 0; background: var(--tp-bg); padding: 18px 20px; border-radius: var(--tp-radius); font-style: normal; }

.tp-info { margin-top: 32px; border: 2px solid var(--tp-navy); border-radius: 10px; overflow: hidden; }
.tp-info__head { margin: 0; background: var(--tp-navy); color: #fff; font-weight: 700; font-size: 15px; padding: 10px 16px; }
.tp-info dl { margin: 0; padding: 4px 16px 8px; }
.tp-info dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--tp-line); font-size: 15px; }
.tp-info dl > div:last-child { border-bottom: 0; }
.tp-info dt { color: var(--tp-muted); font-weight: 400; }
.tp-info dd { margin: 0; font-weight: 500; }
.tp-info dd a { color: var(--tp-blue-ink); }

.tp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tp-tags a { font-size: 14px; color: var(--tp-ink-2); background: var(--tp-bg); padding: 6px 12px; border-radius: 999px; text-decoration: none; }
.tp-tags a:hover { background: var(--tp-line); }
.tp-share { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tp-share a, .tp-share button { font: inherit; font-size: 13.5px; font-weight: 600; color: var(--tp-ink-2); background: #fff; border: 1px solid var(--tp-line-2); border-radius: 999px; padding: 8px 14px; line-height: 1.2; text-decoration: none; cursor: pointer; }
.tp-share a:hover, .tp-share button:hover { border-color: var(--tp-ink-2); color: var(--tp-ink); }

.tp-author { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 18px; background: var(--tp-bg); border-radius: 8px; font-size: 14px; }
.tp-author strong { font-size: 15px; }
.tp-author__mail { display: block; color: var(--tp-muted); font-size: 13px; }
.tp-author p { margin: 6px 0 0; color: var(--tp-ink-2); line-height: 1.6; }
.tp-author__more { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--tp-blue-ink) !important; text-decoration: none; }
.tp-related { margin-top: 40px; }
.tp-related .tp-head__title { font-size: 19px; }
.tp-related .tp-photo__title { font-size: 15px; }

@media (max-width: 768px) {
	.tp-article .inside-article { padding: 16px 18px 32px; }
	.tp-article .entry-title { font-size: 27px; line-height: 1.38; }
	.tp-hero { margin: 18px -18px 0; }
	.tp-hero__img { border-radius: 0; }
	.tp-hero figcaption { padding-left: 18px; padding-right: 18px; }
	.tp-article .entry-content figure, .tp-article .entry-content .wp-block-image { margin: 28px -18px; }
	.tp-article .entry-content img { border-radius: 0; }
	.tp-article .entry-content figcaption { padding-left: 18px; padding-right: 18px; }
	.tp-summary li { font-size: 15px; }
	.tp-info dl > div { grid-template-columns: 80px minmax(0, 1fr); font-size: 14px; }
}

/* =========================================================
   5. 카테고리 · 검색 목록 (GeneratePress 기본 목록)
   ========================================================= */
.archive.tp-theme .entry-title, .search.tp-theme .entry-title, .blog.tp-theme .entry-title { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.4; }
.archive.tp-theme .post-image img, .blog.tp-theme .post-image img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--tp-radius); }
.tp-theme .page-header .page-title { font-family: var(--tp-serif); font-size: 28px; font-weight: 900; letter-spacing: -0.03em; }

/* =========================================================
   6. 푸터
   ========================================================= */
.tp-footer { background: var(--tp-navy); color: #cbd5e1; font-size: 13px; line-height: 1.8; }
.tp-footer .tp-wrap { padding-top: 36px; padding-bottom: 40px; }
.tp-footer__top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid #1e3a6e; }
.tp-footer__name { display: inline-flex; align-items: center; gap: 10px; font-family: var(--tp-serif); font-weight: 900; font-size: 24px; letter-spacing: -0.02em; color: #fff !important; text-decoration: none; }
.tp-footer__name .tp-logo__mark { flex: none; }
.tp-footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; }
.tp-footer__links a { color: #e2e8f0; text-decoration: none; }
.tp-footer__links a.is-strong { color: #fff; font-weight: 700; }
.tp-footer__links a:hover { color: #fff; text-decoration: underline; }
.tp-footer__info { display: flex; flex-wrap: wrap; gap: 2px 24px; margin: 18px 0 0; }
.tp-footer__info div { display: flex; gap: 6px; }
.tp-footer__info dt { color: #94a3b8; font-weight: 400; }
.tp-footer__info dd { margin: 0; color: #e2e8f0; }
.tp-footer__copy { margin: 12px 0 0; color: #94a3b8; }
@media (max-width: 768px) {
	.tp-footer .tp-wrap { padding-top: 24px; padding-bottom: 28px; }
	.tp-footer__name { font-size: 20px; }
	.tp-footer__info { flex-direction: column; }
}

/* =========================================================
   7. 댓글 (아던트뉴스형 머리·입력창 + 발품뉴스형 떠 있는 버튼)
   ========================================================= */
.tp-comments { margin-top: 40px; padding-top: 20px; border-top: 2px solid var(--tp-ink); }
.tp-comments__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tp-comments__title { margin: 0; font-size: 19px; font-weight: 800; }
.tp-comments__title strong { color: var(--tp-coral); }
.tp-comments__sort { display: flex; gap: 4px; }
.tp-comments__sort button { height: 32px; padding: 0 12px; border: 1px solid var(--tp-line-2); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; color: var(--tp-ink-2); cursor: pointer; }
.tp-comments__sort button[aria-pressed="true"] { background: var(--tp-navy); border-color: var(--tp-navy); color: #fff; font-weight: 700; }
.tp-comments__notice { margin: 0 0 14px; padding: 12px 14px; background: #ecfdf3; color: #067647; border-radius: 8px; font-size: 14px; font-weight: 600; }
.tp-comments__closed, .tp-comments__empty { margin: 18px 0 0; padding: 28px 16px; text-align: center; color: var(--tp-muted); background: var(--tp-bg); border-radius: 8px; font-size: 14.5px; }

.tp-comments .comment-respond { margin: 0; }
.tp-cform { border: 1px solid var(--tp-line-2); border-radius: 10px; padding: 12px 14px; background: #fff; }
.tp-cform:focus-within { border-color: var(--tp-navy); box-shadow: 0 0 0 3px rgba(11, 42, 91, .08); }
.tp-cform p { margin: 0; }
.tp-cform__name input { width: 100%; max-width: 220px; height: 38px; padding: 0 10px; border: 1px solid var(--tp-line); border-radius: 6px; font-size: 15px; background: var(--tp-bg); }
.tp-cform__text textarea { width: 100%; min-height: 96px; margin-top: 8px; padding: 4px 0; border: 0; resize: vertical; font: inherit; font-size: 15.5px; line-height: 1.6; background: transparent; outline: none; }
.tp-cform__foot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 10px; border-top: 1px solid var(--tp-line); }
.tp-cform__count { margin-right: auto; font-size: 13px; color: var(--tp-muted); }
.tp-cform__count strong { color: var(--tp-ink); }
.tp-cform__count.is-over strong { color: #b42318; }
.tp-cform__submit { height: 38px; padding: 0 22px; border: 0; border-radius: 6px; background: var(--tp-navy) !important; color: #fff !important; font-weight: 700; font-size: 14px; cursor: pointer; }
.tp-cform__submit:hover { background: var(--tp-blue-ink) !important; }
.tp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tp-comments .comment-reply-title { font-size: 14px; font-weight: 700; margin: 0 0 8px; }
.tp-comments .comment-reply-title small { margin-left: 8px; font-weight: 400; }
.tp-comments .comment-reply-title small a { color: var(--tp-muted); }

.tp-comments__list, .tp-comments__list .children { list-style: none; margin: 0; padding: 0; }
.tp-comments__list { margin-top: 18px; }
.tp-cmt { border-bottom: 1px solid var(--tp-line); }
.tp-cmt__body { display: flex; gap: 12px; padding: 16px 0; }
.tp-avatar--sm { flex: 0 0 34px; height: 34px; font-size: 14px; background: #dbe4f3; color: var(--tp-navy); }
.tp-cmt__main { flex: 1 1 auto; min-width: 0; }
.tp-cmt__meta { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tp-cmt__name { font-size: 14.5px; }
.tp-cmt__meta time { font-size: 12.5px; color: var(--tp-muted); }
.tp-cmt__pending { margin: 4px 0 0; font-size: 12.5px; color: #b54708; }
.tp-cmt__text { margin-top: 4px; font-size: 15.5px; line-height: 1.65; color: #1f2937; overflow-wrap: anywhere; }
.tp-cmt__text p { margin: 0 0 .5em; }
.tp-cmt__actions a { font-size: 13px; font-weight: 600; color: var(--tp-muted); text-decoration: none; }
.tp-cmt__actions a:hover { color: var(--tp-blue-ink); }
.tp-comments__list .children { margin-left: 46px; }
.tp-comments__list .children .tp-cmt { border-bottom: 0; border-top: 1px dashed var(--tp-line); }
.tp-comments__list .comment-respond { margin: 0 0 16px 46px; }

/* 떠 있는 댓글 버튼 (모바일) */
.tp-cmt-fab { display: none; }
@media (max-width: 768px) {
	.tp-cmt-fab {
		position: fixed; right: 14px; bottom: 18px; z-index: 55;
		display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 16px;
		border-radius: 999px; background: var(--tp-navy); color: #fff !important; text-decoration: none;
		font-weight: 700; font-size: 15px; box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
		transition: opacity .2s, transform .2s;
	}
	.tp-cmt-fab.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
	.tp-comments__list .children { margin-left: 30px; }
	.tp-comments__list .comment-respond { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .tp-cmt-fab { transition: none; } }
