@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700;800&family=Noto+Sans+KR:wght@300;400;500;700&family=DM+Mono:wght@300;400;500&display=swap');

/*
 * 마캐터 블로그 커스텀 테마
 * 마케터가아닌마캐터 | 클릭 이후 - 마케팅 공부 기록
 * Color: #1E4B7A (Navy) × #B45309 (Orange)
 * Font: Nanum Myeongjo / Noto Sans KR / DM Mono
 */

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
  --navy:        #1E4B7A;
  --navy-dark:   #122e4d;
  --navy-mid:    #2a5f96;
  --navy-light:  #e8eff7;
  --orange:      #B45309;
  --orange-light:#fdf3e7;
  --orange-mid:  #d97706;
  --cream:       #faf8f4;
  --cream-dark:  #f0ece3;
  --text-main:   #1a1a1a;
  --text-sub:    #555550;
  --text-muted:  #999990;
  --border:      #e0dbd0;
  --border-dark: #c8c0b0;
  --white:       #ffffff;
  --serif:       'Nanum Myeongjo', Georgia, serif;
  --sans:        'Noto Sans KR', 'AppleSDGothicNeo', sans-serif;
  --mono:        'DM Mono', monospace;
}

/* ==========================================
   RESET & BASE
   ========================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  -webkit-text-size-adjust: 100%;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1em;
  line-height: 1.8;
  color: var(--text-main);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

html, body { width: 100%; margin: 0; padding: 0; }

div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6,
pre, code, form, fieldset, legend, input, textarea,
p, blockquote, th, td, figure { margin: 0; padding: 0; }

header, footer, section, article, aside, nav,
hgroup, details, menu, figure, figcaption { display: block; }

button, input[type=submit], input[type=reset], input[type=button] {
  overflow: visible; cursor: pointer;
}

input[type=text], input[type=email], input[type=password],
input[type=submit], textarea { -webkit-appearance: none; }

input, select, textarea, button {
  font-family: var(--sans);
  font-size: 100%;
  border-radius: 0;
}

button { overflow: visible; margin: 0; padding: 0; border: 0; background: transparent; }
ul li { list-style: none; }
img, fieldset { border: none; }
hr { display: none; }

a, a:link { text-decoration: none; color: var(--text-sub); }
a:visited { text-decoration: none; }
a:hover, a:focus { text-decoration: none; color: var(--orange); }
a:active { text-decoration: none; }

/* ==========================================
   ACCESSIBILITY NAVIGATION
   ========================================== */
#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: bold;
  font-size: 0.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: var(--navy); color: var(--white); z-index: 1000;
}

/* ==========================================
   HEADER
   ========================================== */
#header {
  background-color: var(--navy);
  border-bottom: 3px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 100;
}

#header .inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

/* 로고 센터 */
#header h1 {
  padding: 22px 0 10px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.75em;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--white);
  text-align: center;
}

#header h1 a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: auto;
  text-decoration: none;
  color: var(--white);
  vertical-align: top;
}

#header h1 a::before {
  content: '⛏';
  font-size: 0.75em;
  line-height: 1;
}

#header h1 img { width: auto; height: 34px; }

/* 유틸 (검색/프로필) */
#header .util {
  position: absolute;
  top: 20px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#header .util .search {
  position: relative;
  float: left;
  overflow: hidden;
  width: 32px;
  background-color: transparent;
  box-sizing: border-box;
  transition: width 0.4s;
  -webkit-transition: width 0.4s;
}

#header .util .search:before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  z-index: 20;
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  background: rgba(255,255,255,0.08) url(./images/ico_package.png) no-repeat 0 0;
  box-sizing: border-box;
  outline: none;
  cursor: pointer;
  text-indent: -999em;
}

#header .util .search input {
  width: 32px; height: 32px;
  padding: 5px 15px;
  border: 0;
  background-color: transparent;
  font-size: 0.875em;
  line-height: 1;
  outline: none;
  box-sizing: border-box;
  color: var(--white);
}

#header .util .search input::placeholder { color: rgba(255,255,255,0.45); }

#header .util .search button {
  position: absolute;
  top: 1px; right: 1px;
  z-index: 10;
  width: 30px; height: 30px;
  text-indent: -999em;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: transparent url(./images/ico_package.png) no-repeat -1px -1px;
  outline: none;
}

#header .util .search.on { width: 200px; }
#header .util .search.on:before { content: none; }

#header .util .search.on input {
  display: block;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 32px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

#header .util .search.on button { border-color: transparent; }

#header .util .profile {
  position: relative;
  float: left;
  margin-left: 10px;
}

#header .util .profile button {
  display: block;
  overflow: hidden;
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
}

#header .util .profile img { width: 100%; height: 100%; }

#header .util .profile nav {
  display: none;
  position: absolute;
  top: 100%; left: 50%;
  z-index: 30;
  width: 96px;
  margin: 0 0 0 -48px;
  padding-top: 12px;
}

#header .util .profile ul { box-shadow: 1px 1px 3px rgba(0,0,0,0.15); }

#header .util .profile ul li a {
  display: block;
  margin-top: -1px;
  border: 1px solid var(--border);
  background-color: var(--white);
  text-align: center;
  text-decoration: none;
  font-size: 0.875em;
  line-height: 2.3125rem;
  color: var(--text-sub);
}

#header .util .profile ul li a:focus,
#header .util .profile ul li a:hover {
  background-color: var(--navy-light);
  color: var(--navy);
}

#header .util .menu { display: none; }

/* GNB 메뉴 — 센터 정렬, 헤더 하단 */
#gnb {
  width: 100%;
  height: auto;
  overflow-x: auto;
  overflow-y: hidden;
  -ms-overflow-style: none;
  border-top: 1px solid rgba(255,255,255,0.1);
}

#gnb::-webkit-scrollbar { display: none; }

#gnb ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-left: 0;
  vertical-align: top;
}

#gnb ul li { float: none; padding: 0; }

#gnb ul li a {
  position: relative;
  display: block;
  text-decoration: none;
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 0.8125em;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s, background 0.2s;
}

#gnb ul li a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background-color: var(--orange-mid);
  transition: left 0.25s, right 0.25s;
}

#gnb ul li a:hover,
#gnb ul li.current a {
  color: var(--white);
  background: rgba(255,255,255,0.06);
  text-decoration: none;
}

#gnb ul li.current a:after,
#gnb ul li a:hover:after,
#gnb ul li a:focus:after {
  left: 0; right: 0;
  background-color: var(--orange-mid);
}

/* ==========================================
   CONTAINER & LAYOUT
   ========================================== */
#container { position: relative; }

#container .content-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 60px;
  align-items: start;
}

/* 기존 float 기반 구조 대신 grid 사용 — float 초기화 */
#container .content-wrap:before { content: none; }
#container .content-wrap:after { content: none; }

#content {
  float: none;
  width: auto;
  padding: 48px 0 60px;
  box-sizing: border-box;
  min-width: 0;
}

#content > .inner:after {
  content: "";
  clear: both;
  display: block;
  height: 0;
  visibility: hidden;
}

#aside {
  float: none;
  width: auto;
  padding: 52px 0 32px;
  box-sizing: border-box;
}

#aside .close,
#aside .profile { display: none; }

/* ==========================================
   FOOTER
   ========================================== */
#footer {
  padding: 32px 0 24px;
  background: var(--navy-dark);
  border-top: 3px solid var(--orange);
}

#footer .inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

#footer p {
  margin-bottom: 6px;
  font-size: 0.8125em;
  color: rgba(255,255,255,0.35);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

#footer .order-menu { display: flex; gap: 0; flex-wrap: wrap; justify-content: center; }

#footer .order-menu a {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.8125em;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  vertical-align: middle;
  transition: color 0.2s;
}

#footer .order-menu a:hover,
#footer .order-menu a:focus { color: var(--orange-mid); text-decoration: none; }

#footer .order-menu a:before {
  content: "";
  display: inline-block;
  width: 2px; height: 2px;
  margin: 0 20px 2px 15px;
  background-color: rgba(255,255,255,0.2);
  vertical-align: middle;
}

#footer .order-menu a:first-child::before { content: none; }

#footer .page-top {
  position: absolute;
  top: 0; right: 24px;
  width: 30px; height: 30px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: transparent url(./images/ico_package.png) no-repeat -100px -200px;
  text-indent: -999em;
  transition: all 0.2s;
}

#footer .page-top:focus,
#footer .page-top:hover {
  background-color: var(--orange);
  background-position-x: -150px;
}

/* ==========================================
   MAIN SLIDER (비활성 기본)
   ========================================== */
#tt-body-index .main-slider { display: block; }

.main-slider {
  display: none;
  position: relative;
  top: -1px;
  z-index: 20;
  overflow: hidden;
  width: 100%;
  background-color: var(--navy-dark);
}

.main-slider ul { position: relative; }

.main-slider ul li {
  display: table;
  width: 100%;
  height: 340px;
  background-position: 50% 50%;
  background-size: cover;
}

.main-slider ul li a {
  display: table;
  width: 100%;
  height: 100%;
  text-decoration: none;
  background-color: rgba(0,0,0,0.3);
}

.main-slider ul li .inner {
  display: table-cell;
  vertical-align: middle;
}

.main-slider ul li .box {
  display: block;
  max-width: 910px;
  margin: 0 auto;
  padding: 0 24px 6px;
}

.main-slider ul li .text {
  display: block;
  overflow: hidden;
  max-width: 65%;
  text-overflow: ellipsis;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.125em;
  line-height: 1.3;
  color: var(--white);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.main-slider ul li .btn {
  display: block;
  width: 118px; height: 35px;
  margin-top: 32px;
  border-radius: 2px;
  line-height: 35px;
  background-color: var(--orange);
  color: var(--white);
  font-family: var(--mono);
  font-size: 13px;
  text-align: center;
  letter-spacing: 0.06em;
}

.main-slider ul li .btn:hover { background-color: var(--orange-mid); }

.main-slider .prev, .main-slider .next { display: none; }

.main-slider .paging {
  position: absolute;
  top: 50%; left: 50%;
  z-index: 10;
  margin-left: 447px;
  transform: translateY(-50%);
}

.main-slider .paging button {
  display: block;
  width: 8px; height: 8px;
  margin: 10px 0;
  text-indent: -999em;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.35);
}

.main-slider .paging .current { background-color: var(--orange-mid); }

/* ==========================================
   POST HEADER (목록 상단)
   ========================================== */
.post-header { padding-top: 4px; }

.post-header h1 {
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--navy);
  font-family: var(--serif);
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.post-header h1 em {
  margin-left: 2px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.75em;
  color: var(--orange);
  background: var(--orange-light);
  border: 1px solid rgba(180,83,9,0.2);
  padding: 2px 8px;
  border-radius: 2px;
}

#tt-body-archive .post-header span:before { content: "'"; }
#tt-body-archive .post-header span:after { content: "' 에 등록된 글"; }
#tt-body-tag .post-header span:before { content: "#"; }
#tt-body-search .post-header span:before { content: "'"; }
#tt-body-search .post-header span:after { content: "'의 검색결과"; }

/* ==========================================
   POST ITEM — 리스트형 (썸네일 왼쪽 + 텍스트 오른쪽)
   기존 .list-type-thumbnail 구조 활용
   ========================================== */
.post-item {
  float: none;
  overflow: hidden;
  width: 100%;
  margin: 0 0 0 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.post-item:hover { background: var(--navy-light); }

.post-item a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px 12px;
  text-decoration: none;
}

.post-item a:hover,
.post-item a:focus { text-decoration: none; }

/* 썸네일 */
.post-item .thum {
  position: relative;
  display: block;
  overflow: hidden;
  width: 120px;
  height: 80px;
  margin: 0;
  padding: 0;
  background-color: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: 3px;
  flex-shrink: 0;
}

.post-item .thum img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  -webkit-transform: none;
}

/* 보호글 자물쇠 */
.post-item.protected .thum:before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 34px; height: 47px;
  margin: -24px 0 0 -17px;
  background: url(./images/ico_package.png) no-repeat 0 -120px;
  background-size: 120px auto;
}

/* 제목 */
.post-item .title {
  display: block;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 6px;
  padding-top: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 1em;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy-dark);
  transition: color 0.2s;
}

.post-item a:hover .title,
.post-item a:focus .title {
  color: var(--orange);
  text-decoration: none;
}

/* 요약 */
.post-item .excerpt {
  display: block;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 8px;
  text-overflow: ellipsis;
  font-size: 0.8125em;
  line-height: 1.6;
  color: var(--text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 메타 */
.post-item .meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75em;
  color: var(--text-muted);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.post-item .meta span:before {
  content: "";
  display: inline-block;
  width: 2px; height: 2px;
  margin: 0 6px 0 0;
  background-color: var(--border-dark);
  vertical-align: middle;
}

.post-item .meta span:first-child:before { content: none; }

/* 검색결과 없음 */
.not-found {
  display: block;
  width: 100%;
  margin-bottom: 35px;
  padding: 60px 20px;
  text-align: center;
}

.not-found li {
  position: relative;
  padding-left: 10px;
  font-size: 0.9375em;
  line-height: 2;
  color: var(--text-muted);
}

.not-found li:before {
  content: "";
  position: absolute;
  top: 15px; left: 0;
  width: 2px; height: 2px;
  background-color: var(--text-muted);
}

.not-found .tag,
.not-found .category,
.not-found .archive { display: none; }

#tt-body-tag .not-found ul,
#tt-body-category .not-found ul,
#tt-body-archive .not-found ul { display: none; }

#tt-body-tag .not-found .tag,
#tt-body-category .not-found .category,
#tt-body-archive .not-found .archive { display: block; }

/* ==========================================
   POST COVER (글 상단 커버)
   ========================================== */
.post-cover {
  position: relative;
  z-index: 20;
  display: table;
  width: 100%;
  min-height: 280px;
  background-color: var(--navy);
  background-position: 50% 50%;
  background-size: cover;
  box-sizing: border-box;
  border-radius: 4px;
  overflow: hidden;
}

.post-cover:before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
  width: 100%; height: 100%;
  background-color: rgba(18,46,77,0.75);
}

/* 오렌지 상단 라인 */
.post-cover:after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  z-index: 2;
}

.post-cover .inner {
  display: table-cell;
  position: relative;
  z-index: 10;
  vertical-align: bottom;
  padding: 0 40px 52px;
}

.post-cover .category {
  display: block;
  max-width: 1080px;
  margin: 0 auto 12px;
  font-family: var(--mono);
  font-size: 0.8em;
  letter-spacing: 0.1em;
  color: var(--orange-mid);
  background: rgba(180,83,9,0.18);
  border: 1px solid rgba(217,119,6,0.3);
  padding: 3px 10px;
  border-radius: 2px;
  display: inline-block;
}

.post-cover h1 {
  max-width: 1080px;
  margin: 0 auto;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.875em;
  line-height: 1.4;
  color: var(--white);
}

.post-cover a { text-decoration: none; color: var(--white); }

.post-cover .meta {
  display: block;
  max-width: 1080px;
  margin: 24px auto 0;
  font-family: var(--mono);
  font-size: 0.8125em;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

.post-cover .meta a { color: rgba(255,255,255,0.5); }

.post-cover .meta a:before,
.post-cover .meta span:before {
  content: "";
  display: inline-block;
  width: 2px; height: 2px;
  margin: 0 8px 0 4px;
  background-color: rgba(255,255,255,0.35);
  vertical-align: middle;
}

.post-cover .meta span:first-child:before { content: none; }

/* ==========================================
   ENTRY CONTENT (본문)
   ========================================== */
.entry-content {
  font-family: var(--sans);
  font-size: 1em;
  line-height: 1.95;
  color: var(--text-main);
  padding: 40px 0 20px;
}

.entry-content h1 {
  clear: both;
  margin: 1.8em 0 0.6em;
  font-family: var(--serif);
  font-size: 1.6875em;
  font-weight: 800;
  line-height: 1.4;
  color: var(--navy-dark);
}

.entry-content h2 {
  clear: both;
  margin: 1.8em 0 0.6em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--navy-light);
  font-family: var(--serif);
  font-size: 1.4em;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy-dark);
}

.entry-content h3 {
  clear: both;
  margin: 1.5em 0 0.5em;
  font-family: var(--serif);
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}

.entry-content h4 {
  clear: both;
  margin: 1.2em 0 0.4em;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05em;
  line-height: 1.5;
  color: var(--navy);
}

.entry-content p {
  word-break: break-word;
  margin-bottom: 1.2em;
}

.entry-content p img { max-width: 100%; height: auto; }

.entry-content hr {
  display: block; height: 0;
  border: 0; border-bottom: 1px solid var(--border);
}

.entry-content pre {
  word-break: break-word;
  white-space: pre-wrap;
  word-wrap: break-word;
  background: var(--navy-dark);
  border-radius: 4px;
  padding: 20px;
  overflow-x: auto;
  margin: 1.5em 0;
  font-family: var(--mono);
  font-size: 0.875em;
  color: #dde8f4;
  line-height: 1.7;
}

.entry-content ul {
  list-style: disc;
  margin-bottom: 22px;
  padding: revert;
}

.entry-content ul li {
  position: relative;
  margin-bottom: 8px;
  list-style: inherit;
  color: var(--text-main);
}

.entry-content ol {
  list-style: decimal inside;
  margin-bottom: 22px;
}

.entry-content ol li {
  position: relative;
  margin-bottom: 8px;
  text-indent: -15px;
  list-style: inherit;
}

.entry-content a {
  color: var(--orange);
  border-bottom: 1px solid var(--orange-light);
  transition: border-color 0.2s;
}

.entry-content a:hover { border-color: var(--orange); text-decoration: none; }

.entry-content blockquote {
  margin: 1.8em 0;
  padding: 14px 20px;
  border-left: 3px solid var(--orange);
  background: var(--orange-light);
  border-radius: 0 3px 3px 0;
  font-family: var(--serif);
  color: var(--text-sub);
}

.entry-content blockquote p {
  margin: 14px 0 0;
  color: var(--text-sub);
}

.entry-content blockquote p:first-child { margin-top: 0; }

.entry-content input {
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border-dark);
  font-size: 0.875em;
  line-height: 1.25;
  color: var(--text-sub);
  box-sizing: border-box;
  vertical-align: middle;
}

/* 보호글 폼 */
.entry-content .protected_form {
  display: block;
  width: 100%;
  padding: 80px 0 100px;
  text-align: center;
}

.entry-content .protected_form h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.5em;
  line-height: 1.4;
  color: var(--navy);
}

.entry-content .protected_form p {
  margin-bottom: 28px;
  font-weight: 300;
  font-size: 1em;
  line-height: 1.75;
  color: var(--text-muted);
}

.entry-content .protected_form input {
  width: 183px;
  padding: 0 16px;
  border: 1px solid var(--border-dark);
  font-size: 0.9125em;
  line-height: 2.2rem;
  border-radius: 2px;
}

.entry-content .protected_form input:focus { border-color: var(--navy); outline: none; }

.entry-content .protected_form .btn {
  display: inline-block;
  margin-left: 5px;
  width: 80px; height: 36px;
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 36px;
  text-align: center;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.entry-content .protected_form .btn:hover { background-color: var(--navy-mid); }

/* 이미지 정렬 */
.entry-content img.alignleft { float: left; margin: 0 22px 22px 0; }
.entry-content img.aligncenter { display: block; margin: 0 auto 22px; }
.entry-content img.alignright { float: right; margin: 0 0 22px 22px; }

/* ==========================================
   TAGS
   ========================================== */
.tags {
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0;
}

.tags:after {
  content: "";
  clear: both;
  display: block;
  height: 0;
  visibility: hidden;
}

.tags h2 {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  width: 100%;
}

.tags a {
  display: inline-block;
  margin: 0 6px 8px 0;
  padding: 4px 12px;
  border: 1px solid rgba(30,75,122,0.2);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  vertical-align: middle;
  color: var(--navy);
  background: var(--navy-light);
  transition: all 0.2s;
}

.tags a:hover, .tags a:focus {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

/* ==========================================
   PAGE NAV (이전글/다음글)
   ========================================== */
.page-nav {
  margin: 48px 0 52px;
  padding: 20px 0 18px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.page-nav a {
  display: block;
  overflow: hidden;
  padding-left: 58px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875em;
  line-height: 2.125rem;
  color: var(--text-sub);
  transition: color 0.2s;
}

.page-nav a:hover, .page-nav a:focus { color: var(--navy); text-decoration: none; }

.page-nav a strong {
  float: left;
  width: 58px;
  margin-left: -58px;
  font-weight: 400;
  font-family: var(--mono);
  font-size: 0.85em;
  color: var(--text-muted);
}

.page-nav a strong:after {
  content: "";
  display: inline-block;
  width: 1px; height: 5px;
  margin: 0 8px;
  background: url(./images/ico_package.png) no-repeat -150px -50px;
  vertical-align: middle;
}

/* ==========================================
   RELATED ARTICLES
   ========================================== */
.related-articles { margin-bottom: 52px; }

.related-articles h2 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1em;
  color: var(--navy);
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border-dark);
}

.related-articles ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.related-articles ul li a {
  display: block;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  color: var(--text-sub);
  transition: border-color 0.2s, transform 0.2s;
}

.related-articles ul li a:hover,
.related-articles ul li a:focus {
  color: var(--orange);
  border-color: var(--navy);
  transform: translateY(-2px);
  text-decoration: none;
}

.related-articles ul li figure {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 65%;
  background-color: var(--cream-dark);
  overflow: hidden;
}

.related-articles ul li figure img {
  width: 100%;
  height: auto;
}

.related-articles ul li .title {
  display: block;
  overflow: hidden;
  padding: 8px 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125em;
  line-height: 1.4;
}

/* ==========================================
   PAGINATION
   ========================================== */
.pagination {
  margin-bottom: 52px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.pagination a {
  display: inline-block;
  margin: 0 2px;
  padding: 7px 12px;
  font-family: var(--mono);
  font-size: 0.875em;
  line-height: 1.4;
  vertical-align: top;
  color: var(--text-sub);
  border: 1px solid var(--border);
  border-radius: 2px;
  min-width: 34px;
  text-align: center;
  transition: all 0.15s;
}

.pagination a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); text-decoration: none; }

.pagination .selected {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.pagination .prev,
.pagination .next {
  width: 34px; height: 34px;
  padding: 0;
  line-height: 32px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: url(./images/ico_package.png) no-repeat center -50px;
  text-indent: -999em;
}

.pagination .next { background-position: center -50px; background-position-x: -50px; }

.pagination .view-more {
  display: block;
  margin: 0;
  padding: 10px 0 9px;
  border: 1px solid var(--border);
  text-align: center;
  font-family: var(--mono);
  font-size: 0.875em;
  color: var(--text-sub);
  letter-spacing: 0.04em;
}

/* ==========================================
   COMMENT
   ========================================== */
.comments { margin-bottom: 52px; }

.comments h2 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1em;
  color: var(--navy-dark);
}

.comments h2 .count {
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 0.85em;
  color: var(--orange);
}

.comment-list {
  margin-bottom: 52px;
  border-top: 1px solid var(--border);
}

.comment-list ul li {
  display: inline-block;
  width: 100%;
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  box-sizing: border-box;
}

.comment-list .tt_more_preview_comments_wrap { padding: 0; border: 0; }

.comment-list .tt_more_preview_comments_text {
  display: block;
  margin: -1px 0 0;
  padding: 10px 0 9px;
  border: 1px solid var(--border);
  text-align: center;
  font-size: 0.875em;
  color: var(--text-muted);
}

.comment-list .tt_more_preview_comments_text:hover { text-decoration: underline; }

.comment-list ul li .author-meta {
  position: relative;
  margin-bottom: 6px;
  padding: 2px 0 0 56px;
  font-size: 0.8125em;
  color: var(--text-muted);
}

.comment-list ul li .author-meta a { color: var(--text-muted); }

.comment-list ul li .author-meta a:before,
.comment-list ul li .author-meta span:before {
  content: "";
  display: inline-block;
  width: 2px; height: 2px;
  margin: 0 7px 0 5px;
  background-color: var(--border);
  vertical-align: middle;
}

.comment-list ul li .author-meta .nickname {
  font-weight: 700;
  color: var(--text-sub);
}

.comment-list ul li .author-meta .nickname a { color: var(--text-sub); }

.comment-list ul li .author-meta .avatar {
  float: left;
  width: 42px; height: 42px;
  margin: -2px 0 0 -56px;
  border: 1px solid var(--border);
  border-radius: 50%;
  overflow: hidden;
}

.comment-list ul li .author-meta .control {
  position: absolute;
  top: 0; right: -9px;
  border-bottom: 0;
}

.comment-list ul li .author-meta .control button {
  content: "";
  display: block;
  width: 20px; height: 20px;
  background: url(./images/ico_package.png) no-repeat -141px 5px;
  text-indent: -999em;
}

.comment-list ul li .author-meta .control .link {
  display: none;
  position: absolute;
  top: 100%; left: -65px;
  width: 70px;
  text-align: center;
}

.comment-list ul li .author-meta .control .link a {
  display: block;
  margin-top: -1px;
  border: 1px solid var(--border);
  background-color: var(--white);
  text-decoration: none;
  font-size: 0.875em;
  line-height: 1.5rem;
  color: var(--text-main);
}

.comment-list ul li .author-meta .control .link a:hover { background-color: var(--navy-light); color: var(--navy); }

.comment-list ul li .author-meta .nickname:before,
.comment-list ul li .author-meta .nickname a:before,
.comment-list ul li .author-meta .control:before,
.comment-list ul li .author-meta .control a:before { content: none; }

.comment-list ul li p {
  max-width: 85%;
  padding: 0 0 0 56px;
  font-size: 0.875em;
  line-height: 1.7;
  color: var(--text-sub);
  box-sizing: border-box;
}

.comment-list ul li .reply {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.comment-list ul li ul {
  margin: 24px 0 -28px 0;
  padding: 22px 0 18px;
  border-top: 1px solid var(--border);
  background-color: var(--navy-light);
}

.comment-list ul li ul li {
  padding: 12px 0 12px 56px;
  border-bottom: 0;
}

.comment-list ul li ul li .author-meta { margin-bottom: 6px; }
.comment-list ul li ul li .author-meta .control { right: 15px; }
.comment-list ul li ul li .author-meta .avatar { width: 38px; height: 38px; }
.comment-list ul li ul li p { max-width: 80%; }

.comment-list ul li ul .tt_more_preview_comments_wrap { display: block; }
.comment-list ul li ul .tt_more_preview_comments_text { border-top: 0; border-left: 0; border-right: 0; margin-bottom: 14px; }
.comment-list ul li ul .tt_more_preview_comments_text:first-child { margin-top: -22px; padding: 10px 0 9px; }

/* 댓글 폼 */
.comment-form { position: relative; margin-bottom: 52px; }

.comment-form .field {
  overflow: hidden;
  margin-bottom: -1px;
  border: 1px solid var(--border);
}

.comment-form .field input[type=text],
.comment-form .field input[type=password] {
  float: left;
  width: 50%;
  padding: 10px 14px;
  border: 0;
  border-left: 1px solid var(--border);
  font-size: 0.875em;
  color: var(--text-sub);
  box-sizing: border-box;
}

.comment-form .field input:first-child { border-left: 0; }
.comment-form .field input:focus { outline: none; background: var(--navy-light); }

.comment-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  padding: 14px 100px 14px 14px;
  border: 1px solid var(--border);
  font-size: 0.875em;
  color: var(--text-sub);
  box-sizing: border-box;
  resize: none;
  font-family: var(--sans);
  line-height: 1.7;
}

.comment-form textarea:focus { outline: none; border-color: var(--navy); }

.comment-form input::-webkit-input-placeholder,
.comment-form textarea::-webkit-input-placeholder { color: var(--text-muted); }

.comment-form .secret {
  position: absolute;
  left: 0; bottom: 8px;
}

.comment-form .secret input { display: none; }

.comment-form .secret label {
  display: inline-block;
  font-size: 0.8125em;
  line-height: 1.25rem;
  color: var(--text-sub);
  outline: none;
  cursor: pointer;
}

.comment-form .secret label:before {
  content: "";
  display: inline-block;
  width: 18px; height: 18px;
  margin-right: 10px;
  border: 1px solid var(--border-dark);
  vertical-align: top;
  background-color: var(--white);
}

.comment-form .secret input[type=checkbox]:checked+label:before {
  background: url(./images/ico_package.png) no-repeat -47px 4px;
}

.comment-form .submit { text-align: right; }

.comment-form .submit button {
  width: 100px; height: 36px;
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 36px;
  text-align: center;
  border-radius: 2px;
  transition: background 0.2s;
}

.comment-form .submit button:hover,
.comment-form .submit button:focus { background-color: var(--orange); }

/* ==========================================
   ASIDE / SIDEBAR
   ========================================== */
.sidebar h2 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.875em;
  color: var(--navy);
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border-dark);
  letter-spacing: 0.02em;
}

.sidebar ul li {
  padding: 4px 0 4px;
  font-size: 0.8125em;
  line-height: 1.4rem;
  color: var(--text-sub);
}

.sidebar ul li a { color: var(--text-sub); transition: color 0.15s, padding-left 0.15s; }
.sidebar ul li a:hover { color: var(--navy); text-decoration: none; }

.sidebar .sidebar-1 { margin-bottom: 28px; }

.sidebar .sidebar-2 {
  margin-top: 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

/* 카테고리 */
.sidebar .category { margin-bottom: 28px; }

.sidebar .category ul li {
  padding: 2px 0;
  font-size: 0.875em;
  font-weight: 600;
}

.sidebar .category ul li a {
  display: block;
  padding: 4px 8px;
  border-radius: 2px;
  transition: all 0.15s;
  color: var(--text-sub);
}

.sidebar .category ul li a:hover {
  background: var(--navy-light);
  color: var(--navy);
  padding-left: 12px;
  text-decoration: none;
}

.sidebar .category ul li ul { padding-top: 4px; }

.sidebar .category ul li ul li {
  padding: 4px 0;
  font-weight: 400;
  font-size: 1em;
}

.sidebar .category ul li ul li ul {
  overflow: hidden;
  margin-bottom: -4px;
  padding-top: 4px;
}

.sidebar .category ul li ul li ul li {
  position: relative;
  padding: 2px 0 2px 9px;
  font-size: 0.8125rem;
}

.sidebar .category ul li ul li ul li:before {
  content: "";
  position: absolute;
  bottom: 5px; left: 0;
  width: 2px; height: 100%;
  background-color: var(--border);
}

.sidebar .category ul li ul li ul li:first-child:before { top: 5px; bottom: auto; }
.sidebar .category ul li ul li ul li a { color: var(--text-muted); }

/* 공지사항 */
.sidebar .notice { margin-bottom: 28px; }

/* 최근댓글 */
.sidebar .recent-comment { margin-bottom: 28px; }
.sidebar .recent-comment ul li a {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 최근글/인기글 */
.sidebar .post-list { margin-bottom: 32px; }
.sidebar .post-list h2 { margin-bottom: 10px; }

.sidebar .post-list ul li {
  overflow: hidden;
  margin-bottom: 14px;
  padding: 0;
}

.sidebar .post-list ul li img {
  float: right;
  width: 48px; height: 48px;
  margin: 2px 0 0 14px;
  border-radius: 2px;
  object-fit: cover;
}

.sidebar .post-list ul li a {
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.sidebar .post-list ul li a:hover .title { color: var(--orange); text-decoration: none; }

.sidebar .post-list ul li .title {
  display: block;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.8125em;
  color: var(--text-main);
  line-height: 1.4;
}

.sidebar .post-list ul li .date {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1;
  color: var(--text-muted);
}

/* 소셜 리스트 */
.sidebar .social-list { margin-bottom: 32px; }
.sidebar .social-list h2 { margin-bottom: 14px; }
.sidebar .social-list .tab-list { overflow: hidden; width: 100%; }
.sidebar .social-list ul li { margin-bottom: 12px; padding: 0 0 0 48px; }
.sidebar .social-list ul li a { display: block; text-decoration: none; }
.sidebar .social-list ul li .avatar { float: left; overflow: hidden; width: 36px; height: 36px; margin-left: -48px; border-radius: 50%; }
.sidebar .social-list ul li .title { display: block; font-size: 0.8125em; color: var(--text-main); }
.sidebar .social-list ul li .date { display: block; margin-top: 4px; font-family: var(--mono); font-size: 0.7rem; color: var(--text-muted); }

/* 사이드바 태그 */
#aside .tags {
  margin: 0 0 28px;
  padding: 0;
  font-size: 1em;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

#aside .tags h2 { margin-bottom: 6px; font-size: 0.875em; width: 100%; }

#aside .tags a {
  float: none;
  display: inline-block;
  margin: 0 4px 4px 0;
  padding: 3px 8px;
  border: 0;
  border-radius: 2px;
  background: var(--navy-light);
  font-family: var(--mono);
  font-size: 0.75em;
  line-height: 1.6;
  color: var(--navy);
}

#aside .tags a:after { content: none; }
#aside .tags a:last-child:after { content: none; }

#aside .tags a:hover,
#aside .tags a:focus { background: var(--navy); color: var(--white); text-decoration: none; }

/* 방문자 카운트 */
.sidebar .count { margin-bottom: 32px; }

.sidebar .count h2 { margin-bottom: 4px; }

.sidebar .count h2:before {
  content: "";
  display: block;
  width: 20px; height: 2px;
  margin-bottom: 14px;
  background-color: var(--orange);
}

.sidebar .count p {
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 0.8125em;
  color: var(--text-sub);
}

.sidebar .count .total {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 1.75em;
  color: var(--navy);
  letter-spacing: 0.04em;
}

/* 소셜 채널 */
.sidebar .social-channel { margin-bottom: 32px; }

.sidebar .social-channel ul { overflow: hidden; width: 100%; }

.sidebar .social-channel ul li {
  float: left;
  margin-left: 8px;
  padding: 0;
}

.sidebar .social-channel ul li:first-child { margin-left: 0; }

.sidebar .social-channel ul li a {
  display: block;
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  text-indent: -999em;
  background: url(./images/ico_package.png) no-repeat 0 -100px;
  transition: all 0.2s;
}

.sidebar .social-channel ul li.youtube a { background-position-x: -50px; }
.sidebar .social-channel ul li.instagram a { background-position-x: -100px; }
.sidebar .social-channel ul li.twitter a { background-position-x: -150px; }

.sidebar .social-channel ul li a:focus,
.sidebar .social-channel ul li a:hover {
  background-color: var(--navy);
  border-color: var(--navy);
  background-position-y: -150px;
}

/* 탭 UI */
.sidebar .tab-ui h2 a { color: var(--text-muted); }
.sidebar .tab-ui h2 a.current { color: var(--navy); }

.sidebar .tab-ui h2 a:before {
  content: "";
  display: inline-block;
  width: 1px; height: 5px;
  margin: 0 10px;
  vertical-align: middle;
  background: url(./images/ico_package.png) no-repeat -100px -50px;
}

.sidebar .tab-ui h2 a:first-child:before { content: none; }

/* ==========================================
   BTN / COMPONENTS
   ========================================== */
.btn, a.btn {
  display: inline-block;
  width: 100px; height: 36px;
  background-color: var(--navy);
  text-align: center;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 36px;
  color: var(--white);
  vertical-align: middle;
  border-radius: 2px;
  transition: background 0.2s;
}

.btn:hover { background-color: var(--orange); }

/* ==========================================
   INDEX BODY 특수 처리
   ========================================== */
#tt-body-index #content { padding-bottom: 40px; }

#tt-body-index .post-cover.notice {
  height: auto;
  background-color: transparent;
  display: block;
  min-height: auto;
  padding: 0;
}

#tt-body-index .post-cover.notice:before,
#tt-body-index .post-cover.notice:after { content: none; }

#tt-body-index .post-cover.notice h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.5em;
  line-height: 1.5;
  color: var(--navy-dark);
}

#tt-body-index .post-cover.notice h1 a { color: var(--navy-dark); }

#tt-body-index .post-cover.notice .meta {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.8em;
}

#tt-body-page #container { padding-top: 339px; }
#tt-body-page.post-cover-hide #container { padding-top: 0; }

#tt-body-page .post-cover {
  position: absolute;
  top: -1px; left: 0;
  width: 100%;
  border-radius: 0;
}

#tt-body-tag .tags { margin-top: 0; }

/* ==========================================
   ETC
   ========================================== */
#dimmed {
  position: fixed;
  top: 0; left: 0;
  z-index: 300;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.mobile-menu { overflow: hidden; height: 100%; }
.slide-wrap { overflow: hidden; }

/* 어노더 카테고리 */
#content .another_category {
  margin: 48px 0 44px !important;
  padding: 14px 18px 12px;
  border: 1px solid var(--border);
  background: var(--navy-light);
  border-radius: 3px;
}

#content .another_category h4 {
  margin: 0 0 10px !important;
  padding: 0 !important;
  border-bottom: 0 !important;
  font-family: var(--mono);
  font-size: 0.8em !important;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

#content .another_category table { margin: 0 !important; border: 0; }
#content .another_category th { padding: 2px 0 !important; font-size: 0.875rem !important; }
#content .another_category th a.current { text-decoration: underline !important; font-weight: 400; color: var(--navy) !important; border: 0 !important; }
#content .another_category td { padding: 2px 0 !important; border: 0; font-size: 0.75rem !important; }

.container_postbtn { margin: 40px 0 44px; padding: 0 !important; }

/* 없는 글 */
.absent_post:before {
  content: "글을 찾지 못했습니다.";
  display: block;
  margin-bottom: 7px;
  font-family: var(--serif);
  font-weight: bold;
  font-size: 1.5em;
  line-height: 1.4;
  color: var(--navy);
  white-space: pre;
}

.absent_post {
  padding: 80px 0 !important;
  background: none !important;
  font-weight: normal !important;
  font-size: 1em !important;
  line-height: 1.75;
  color: var(--text-muted) !important;
  text-align: center;
}

/* ==========================================
   OPTION — list-type 오버라이드
   리스트형(썸네일) 기본으로 고정
   ========================================== */
.layout-aside-left #content { float: none; }
.layout-aside-left #aside { float: none; margin-left: 0; padding: 52px 0; }
.layout-aside-left #container .content-wrap { grid-template-columns: 230px 1fr; }

/* 세로형 목록 */
.list-type-vertical .post-item { margin-bottom: 28px; }
.list-type-vertical .post-item .thum { height: 0; padding-bottom: 66%; }
.list-type-vertical .post-item .thum img { transform: translateY(0); }
.list-type-vertical .post-item .title { margin-bottom: 4px; }
.list-type-vertical .post-item .excerpt,
.list-type-vertical .post-item .meta .comment { display: none; }
.list-type-vertical .post-item .meta span:before { content: none; }

/* 썸네일형 */
.list-type-thumbnail .post-header { margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.list-type-thumbnail .post-header h1 { margin-bottom: 0; }
.list-type-thumbnail .post-item { float: none; overflow: hidden; width: 100%; margin: 0; }
.list-type-thumbnail .post-item .thum { display: inline; width: auto; height: auto; margin: 0; padding: 0; border: none; border-radius: 0; }
.list-type-thumbnail .post-item .thum img { float: right; width: 120px; height: auto; margin-left: 20px; border: 1px solid var(--border); border-radius: 3px; transform: translateY(0); }
.list-type-thumbnail .post-item.protected .thum { float: right; width: 120px; height: 80px; margin-left: 20px; border: 1px solid var(--border); border-radius: 3px; background-color: var(--cream-dark); }
.list-type-thumbnail .post-item .title { max-width: 95%; margin-bottom: 8px; padding-top: 4px; font-size: 1.05em; white-space: normal; }
.list-type-thumbnail .post-item .excerpt { overflow: hidden; margin-bottom: 14px; font-size: 0.875em; line-height: 1.6; -webkit-line-clamp: 2; }
.list-type-thumbnail .post-item .meta .comment { display: none; }
.list-type-thumbnail .post-item .meta span:before { content: none; }

/* 텍스트형 */
.list-type-text .post-header { margin-bottom: 32px; padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.list-type-text .post-header h1 { margin-bottom: 0; }
.list-type-text .post-item { float: none; overflow: hidden; width: 100%; margin: 0 0 28px; }
.list-type-text .post-item .thum { display: none; }
.list-type-text .post-item .title { max-width: 96%; margin-bottom: 8px; padding-top: 0; font-size: 1em; white-space: normal; }
.list-type-text .post-item .excerpt { max-width: 96%; margin-bottom: 14px; font-size: 0.875em; line-height: 1.6; }
.list-type-text .post-item .meta .comment { display: none; }
.list-type-text .post-item .meta span:before { content: none; }
.list-type-text .pagination { margin-top: 28px; }

/* ==========================================
   COVER SECTIONS
   ========================================== */
.cover-thumbnail-1 { position: relative; margin-bottom: 60px; }
.cover-thumbnail-1 h2 { margin-bottom: 16px; font-family: var(--serif); font-weight: 700; font-size: 1em; color: var(--navy); }
.cover-thumbnail-1 ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 -20px; width: 100%; }
.cover-thumbnail-1 ul li { float: none; width: auto; padding: 0; margin: 0 0 20px; box-sizing: border-box; }
.cover-thumbnail-1 ul li a { display: block; text-decoration: none; border: 1px solid var(--border); border-radius: 3px; overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.cover-thumbnail-1 ul li a:hover { border-color: var(--navy); transform: translateY(-2px); }
.cover-thumbnail-1 ul li a:hover .title { color: var(--orange); text-decoration: none; }
.cover-thumbnail-1 ul li figure { display: block; height: 0; padding-bottom: 66%; background-color: var(--cream-dark); overflow: hidden; }
.cover-thumbnail-1 ul li figure img { width: 100%; height: auto; }
.cover-thumbnail-1 ul li .title { display: block; overflow: hidden; width: 95%; margin-bottom: 2px; padding: 10px 12px 4px; text-overflow: ellipsis; white-space: nowrap; font-family: var(--serif); font-size: 0.9em; font-weight: 700; line-height: 1.5; color: var(--navy-dark); }
.cover-thumbnail-1 ul li .date { display: block; padding: 0 12px 10px; font-family: var(--mono); font-size: 0.7em; color: var(--text-muted); }
.cover-thumbnail-1 .more { position: absolute; top: 4px; right: 0; font-family: var(--mono); font-weight: 300; font-size: 0.875em; color: var(--text-muted); }

.cover-thumbnail-2 { position: relative; overflow: hidden; width: 100%; margin-bottom: 60px; }
.cover-thumbnail-2 h2 { margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid var(--navy); font-family: var(--serif); font-weight: 700; font-size: 1em; color: var(--navy); }
.cover-thumbnail-2 ul li { overflow: hidden; margin-top: 22px; border-bottom: 1px solid var(--border); padding-bottom: 22px; }
.cover-thumbnail-2 ul li a { display: block; text-decoration: none; }
.cover-thumbnail-2 ul li a:hover .title { color: var(--orange); text-decoration: none; }
.cover-thumbnail-2 ul li figure { float: right; width: 120px; margin-left: 24px; }
.cover-thumbnail-2 ul li figure img { width: 100%; height: auto; border: 1px solid var(--border); border-radius: 3px; box-sizing: border-box; }
.cover-thumbnail-2 ul li .title { display: block; overflow: hidden; max-width: 95%; margin-bottom: 8px; padding-top: 4px; text-overflow: ellipsis; white-space: nowrap; font-family: var(--serif); font-size: 1.1em; font-weight: 700; line-height: 1.4; color: var(--navy-dark); }
.cover-thumbnail-2 ul li .excerpt { display: block; overflow: hidden; max-width: 95%; margin-bottom: 14px; text-overflow: ellipsis; font-size: 0.875em; line-height: 1.6; color: var(--text-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cover-thumbnail-2 ul li .meta { display: block; font-family: var(--mono); font-size: 0.75em; color: var(--text-muted); }
.cover-thumbnail-2 ul li .meta span:before { content: ""; display: inline-block; width: 2px; height: 2px; margin: 0 8px 0 5px; background-color: var(--border-dark); vertical-align: middle; }
.cover-thumbnail-2 ul li .meta span:first-child:before { content: none; }

.cover-list { position: relative; overflow: hidden; width: 100%; margin-bottom: 40px; }
.cover-list h2 { margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--navy); font-family: var(--serif); font-weight: 700; font-size: 1em; color: var(--navy); }
.cover-list ul li { overflow: hidden; margin-bottom: 24px; }
.cover-list ul li a { display: block; text-decoration: none; }
.cover-list ul li a:hover .title { color: var(--orange); text-decoration: none; }
.cover-list ul li .title { display: block; overflow: hidden; max-width: 95%; margin-bottom: 4px; text-overflow: ellipsis; white-space: nowrap; font-family: var(--serif); font-size: 1.1em; font-weight: 700; line-height: 1.4; color: var(--navy-dark); }
.cover-list ul li .excerpt { display: block; overflow: hidden; max-width: 95%; margin-bottom: 12px; text-overflow: ellipsis; font-size: 0.875em; line-height: 1.5rem; color: var(--text-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cover-list ul li .date { display: block; font-family: var(--mono); font-size: 0.75em; color: var(--text-muted); }
.cover-list .more { position: absolute; top: 4px; right: 0; font-family: var(--mono); font-weight: 300; font-size: 0.875em; color: var(--text-muted); }

/* ==========================================
   ARTICLE VIEW (티스토리 에디터 내용)
   ========================================== */
#article-view {
  margin: 0;
  padding: 24px 0 50px;
  word-wrap: break-word;
  color: var(--text-main);
  min-height: 370px;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0;
}

.contents_style > * { margin: 20px 0 0 0; }

#article-view h2[data-ke-size] { font-size: 1.5em; line-height: 1.46; }
#article-view h3[data-ke-size] { font-size: 1.3em; line-height: 1.48; }
#article-view h4[data-ke-size] { font-size: 1.15em; line-height: 1.55; }

#article-view p[data-ke-size='size18'] { font-size: 1.12em; line-height: 1.67; }
#article-view p[data-ke-size='size16'] { line-height: 1.8; }
#article-view p[data-ke-size='size14'] { font-size: 0.87em; line-height: 1.71; }

#article-view h2, #article-view h3, #article-view h4 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--navy-dark);
  margin: 1.5em 0 16px;
}

#article-view p+p, #article-view p { margin-bottom: 24px; line-height: 1.9; }

#article-view h2+h2, #article-view h3+h3, #article-view h4+h4 { margin: 0; }
#article-view h2+h3, #article-view h2+h4, #article-view h3+h4 { margin-top: 8px; }
#article-view h2+p, #article-view h3+p, #article-view h4+p, #article-view h5+p, #article-view h6+p { margin-top: 8px; }

#article-view a { color: var(--orange); text-decoration: underline; }
#article-view figure[data-ke-type='contentSearch'] a { text-decoration: none; }

/* 인용문 */
#article-view blockquote[data-ke-style='style1'] {
  text-align: center;
  background: url(https://t1.daumcdn.net/keditor/dist/0.7.21/image/blockquote-style1.svg) no-repeat 50% 0;
  padding: 34px 0 0 0;
  font-size: 1.1em;
  color: var(--text-sub);
  line-height: 1.7;
  border: 0 none;
  font-family: var(--serif);
}

#article-view blockquote[data-ke-style='style2'] {
  border-color: var(--orange);
  border-width: 0 0 0 3px;
  border-style: solid;
  padding: 2px 0 2px 14px;
  background: var(--orange-light);
  color: var(--text-sub);
  line-height: 1.8;
  font-size: 1em;
  text-align: left;
  border-radius: 0 3px 3px 0;
}

#article-view blockquote[data-ke-style='style3'] {
  border: 1px solid var(--border);
  background-color: var(--navy-light);
  text-align: left;
  padding: 18px 22px;
  color: var(--text-sub);
  font-size: 1em;
  line-height: 1.8;
  border-radius: 3px;
}

#article-view blockquote { display: block; margin: 16px auto 0; letter-spacing: 0px; }

/* 코드 블럭 */
#article-view pre code.hljs {
  font-size: 14px;
  padding: 18px;
  font-family: var(--mono);
  background: var(--navy-dark);
  color: #dde8f4;
  border: none;
  line-height: 1.7;
  overflow: auto;
  border-radius: 4px;
}

/* 테이블 */
#article-view table { border-color: var(--border); margin-bottom: 0px; }
#article-view table tbody tr { box-sizing: content-box; }
#article-view table td { word-break: break-word; padding: 8px 12px; font-size: 14px; border-color: var(--border); }

#article-view table[data-ke-style='style1'] tr:first-child td { border-bottom: 2px solid var(--navy); }
#article-view table[data-ke-style='style4'] tr:nth-child(2n) td { background-color: var(--navy-light); }

/* 리스트 */
#article-view ul li, #article-view ol li { margin: 0 0 3px 22px; line-height: 1.75; }
#article-view ul, #article-view ol { margin: 12px auto 20px; padding: 0 0 0 10px; }

/* 이미지 */
#article-view figure.imageblock { display: table; position: relative; }
#article-view figure.imageblock.alignCenter { margin: 20px auto 0; text-align: center; }
#article-view figure.imageblock.alignRight { text-align: right; margin-left: auto; }
#article-view figure.imageblock.widthContent { display: block; }
#article-view figure.imageblock.widthContent img { width: 100%; }
#article-view figure.imageblock img { display: inline-block; max-width: 100%; margin: 0; height: auto; border-radius: 3px; }
#article-view iframe, #article-view figure img, #article-view figure iframe { max-width: 100%; }
#article-view figure img:not([width]), #article-view figure iframe:not([width]) { width: 100%; }
#article-view figure { max-width: 100%; clear: both; }
#article-view figure figcaption { font-size: 12px; color: var(--text-muted); word-break: break-word; padding-top: 8px; text-align: center; }

/* 접은 글 */
#article-view div[data-ke-type='moreLess'] { background-color: var(--navy-light); padding: 18px 20px; margin: 18px 0; border: 1px dashed var(--border-dark); color: var(--text-main); border-radius: 3px; }
#article-view div[data-ke-type='moreLess'] .moreless-content { display: none; }
#article-view div[data-ke-type='moreLess'].open .moreless-content { display: block; }
#article-view div[data-ke-type='moreLess'] .btn-toggle-moreless { color: var(--text-muted); font-size: 14px; line-height: 24px; font-family: var(--mono); cursor: pointer; text-decoration: none; }

/* ==========================================
   SCROLLBAR
   ========================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--navy-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ==========================================
   RETINA DISPLAY
   ========================================== */
@media only screen and (-webkit-min-device-pixel-ratio:1.5) {
  #header .util .search:before,
  #header .util .search button,
  #footer .page-top,
  .cover-thumbnail-3 button,
  .cover-thumbnail-4 button,
  .page-nav a strong:after,
  .comment-list ul li .author-meta .control button,
  .comment-form .secret input[type=checkbox]:checked+label:before,
  .sidebar .social-channel ul li a,
  .sidebar .tab-ui h2 a:before {
    background-image: url(./images/ico_package_2x.png);
    background-size: 200px auto;
  }

  .post-item.protected .thum:before {
    background-image: url(./images/ico_package_2x.png);
    background-size: 120px auto;
  }
}

/* ==========================================
   REVENUE ADS
   ========================================== */
.revenue_unit_wrap.position_list {
  max-width: 740px;
  margin: 28px auto;
}

/* ==========================================
   NEW COMMENT SYSTEM
   ========================================== */
.tt-comment-cont .tt-box-total .tt_txt_g { font-size: 14px; }
.tt-comment-cont .tt-box-total .tt_num_g { font-size: 14px; color: var(--text-muted); }
.tt-comment-cont .tt-wrap-cmt .tt-link-user { font-size: 14px; }
.tt-comment-cont .tt-wrap-cmt .tt_desc { font-size: 14px; color: var(--text-sub); }
.tt-comment-cont .tt-txt-mention { color: var(--navy); }

.tt-comment-cont .tt-btn_register {
  width: 100px; height: 36px;
  background-color: var(--navy);
  font-size: 14px;
  color: var(--white);
  border-radius: 2px;
  border-color: var(--navy);
}

.tt-comment-cont .tt-btn_register:hover,
.tt-comment-cont .tt-btn_register:focus {
  background-color: var(--orange);
  border-color: var(--orange);
}

.my_edit .ico_more { fill: var(--white) !important; }

@media screen and (max-width: 767px) {
  .tt-comments-wrap { padding: 0 20px; }
}

/* ==========================================
   MEDIA SCREEN — 1080px
   ========================================== */
@media screen and (max-width:1080px) {
  #header h1,
  #footer .inner { padding-left: 24px; padding-right: 24px; }

  #header .util { right: 24px; }
  #header .util .profile nav { left: auto; right: 0; margin: 0; }

  .main-slider .paging { left: auto; right: 20px; margin-left: 0; }

  .post-cover { padding-left: 24px; padding-right: 24px; }
}

/* ==========================================
   MEDIA SCREEN — 900px (그리드 단열)
   ========================================== */
@media screen and (max-width:900px) {
  #container .content-wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }

  #content { padding: 32px 0 40px; }

  #aside {
    padding: 0 0 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .sidebar .sidebar-2 {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
}

/* ==========================================
   MEDIA SCREEN — 767px (모바일)
   ========================================== */
@media screen and (max-width:767px) {
  #header h1 {
    position: relative;
    z-index: 10;
    padding: 18px 24px 10px;
  }

  #header h1 a { font-size: 0.875em; }

  #header .util {
    position: static;
    width: 100%;
    padding: 8px 68px 8px 24px;
    box-sizing: border-box;
    justify-content: flex-end;
  }

  #header .util .search { float: right; }

  #header .util .search.on {
    z-index: 20;
    width: 100%;
  }

  #header .util .search.on input { float: right; width: 100%; }
  #header .util .profile { display: none; }

  #header .util .menu {
    position: absolute;
    top: 16px; right: 16px;
    z-index: 300;
    display: inline-block;
    width: 30px; height: 30px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    text-indent: -999em;
    outline: none;
    background: transparent;
  }

  #header .util .menu span,
  #header .util .menu:before,
  #header .util .menu:after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 14px; height: 1px;
    margin: 0 0 0 -7px;
    background-color: rgba(255,255,255,0.8);
    transition: transform .4s;
  }

  #header .util .menu:before { margin-top: -5px; }
  #header .util .menu:after { margin-top: 5px; }

  #gnb { height: auto; }
  #gnb ul { justify-content: flex-start; }
  #gnb ul li { padding: 0; }
  #gnb ul li a { padding: 10px 16px; }

  #container .content-wrap { padding: 0; grid-template-columns: 1fr; }

  #content { float: none; width: auto; padding: 28px 20px 36px; }

  #aside {
    position: fixed;
    top: 0; right: -280px;
    z-index: 400;
    float: none;
    overflow: auto;
    width: 280px; height: 100%;
    padding: 80px 20px 36px;
    background-color: var(--white);
    box-sizing: border-box;
    transition: right .4s;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 2px solid var(--navy);
  }

  #aside .close {
    position: absolute;
    top: 20px; right: 20px;
    z-index: 300;
    display: inline-block;
    width: 30px; height: 30px;
    border: 1px solid var(--border);
    border-radius: 50%;
    text-indent: -999em;
    outline: none;
  }

  #aside .close span { display: none; }
  #aside .close:before, #aside .close:after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1px; margin: 0 0 0 -7px; background-color: var(--text-muted); }
  #aside .close:before { transform: rotate(-45deg); }
  #aside .close:after { transform: rotate(45deg); }

  #aside .profile {
    display: block;
    position: relative;
    margin-bottom: -36px;
  }

  #aside .profile:before { content: ""; position: absolute; top: 0; left: -20px; z-index: 0; width: 100%; height: 100%; padding: 0 20px; background-color: var(--navy-light); }
  #aside .profile ul { position: relative; z-index: 10; text-align: center; }
  #aside .profile ul li { display: inline-block; padding: 14px 0 16px; font-size: 0.875em; color: var(--text-sub); vertical-align: middle; }
  #aside .profile ul li a { display: inline-block; vertical-align: middle; }
  #aside .profile ul li:before { content: ""; display: inline-block; width: 1px; height: 7px; margin: 0 16px; background: url(./images/ico_package_2x.png) -100px -50px; background-size: 200px auto; vertical-align: middle; }
  #aside .profile ul li:first-child:before { content: none; }

  #footer { padding: 28px 20px 22px; }
  #footer p { margin-bottom: 8px; font-size: 0.8125em; }
  #footer .order-menu { margin-bottom: 20px; }
  #footer .order-menu a { display: block; margin-bottom: 0; line-height: 1.75rem; }
  #footer .order-menu a:before { content: none; }

  .mobile-menu #aside { right: 0; }

  /* 인덱스 */
  #tt-body-index #content { padding: 0; }
  #tt-body-index #content > .inner { padding: 0 20px; }
  #tt-body-index #content > .inner:first-child { padding-top: 32px; }
  #tt-body-index .pagination { margin: 0 16px 32px; }

  #tt-body-page #content { padding-left: 0; padding-right: 0; }
  #tt-body-tag .tags, #tt-body-guestbook #content { padding-left: 0; padding-right: 0; }
  #tt-body-guestbook .post-header { margin: 0 20px 22px; }

  #tt-body-index.promotion-mobile-hide .main-slider { display: none; }

  /* 슬라이더 */
  .main-slider ul li { height: 320px; }
  .main-slider ul li .inner { padding-bottom: 32px; vertical-align: bottom; }
  .main-slider ul li .text { max-width: 100%; font-size: 1.5em; -webkit-line-clamp: 3; }
  .main-slider ul li .btn { margin-top: 14px; }
  .main-slider .paging { top: 32px; left: 0; right: auto; bottom: 16px; width: 100%; height: 8px; padding: 0 18px; text-align: left; box-sizing: border-box; }
  .main-slider .paging button { display: inline-block; margin: 0 4px; vertical-align: top; }

  /* 포스트 아이템 */
  .post-header { padding-top: 2px; }
  .post-item { margin-left: 0; margin-bottom: 0; }
  .post-item a { grid-template-columns: 90px 1fr; gap: 14px; padding: 14px 8px; }
  .post-item .thum { width: 90px; height: 60px; }
  .post-item .title { margin-bottom: 4px; font-size: 0.9em; }
  .post-item .excerpt { margin-bottom: 6px; }

  .pagination { margin-bottom: 0; }
  .pagination a { margin: 0 3px; }

  /* 포스트 커버 */
  .post-cover { padding-left: 20px; padding-right: 20px; min-height: 200px; }
  .post-cover .inner { padding: 0 0 32px; vertical-align: bottom; }
  .post-cover .inner > h1 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .post-cover h1 { font-size: 1.375em; }
  .post-cover .meta { margin-top: 20px; font-size: 0.8125em; }

  /* 본문 */
  .entry-content { padding: 28px 0 16px; }
  .entry-content p { margin-bottom: 18px; line-height: 1.75; }

  /* 태그 */
  .tags { margin-bottom: 20px; padding: 0; }
  .tags h2 { margin-bottom: 12px; }

  /* 페이지 내비 */
  .page-nav { margin: 24px 0 24px; padding: 20px 0; }

  /* 관련글 */
  .related-articles { margin-bottom: 18px; padding: 0; }
  .related-articles h2 { margin-bottom: 14px; }
  .related-articles ul { grid-template-columns: repeat(2, 1fr); }

  /* 댓글 */
  .comments { margin: 0; }
  .comments h2 { margin: -2px 0 -1px; padding: 0; }
  .comment-list { margin-bottom: 24px; border: 0; }
  .comment-list > ul > .tt_more_preview_comments_wrap { margin-top: 18px; padding: 0 20px; }
  .comment-list ul li { padding: 28px 0 22px; }
  .comment-list ul li .author-meta { margin-bottom: 5px; padding-right: 32px; }
  .comment-list ul li .author-meta .avatar { width: 28px; height: 28px; margin-left: -46px; }
  .comment-list ul li .author-meta .control { top: -2px; right: 12px; }
  .comment-list ul li .author-meta, .comment-list ul li p { max-width: none; padding: 0 56px; }
  .comment-form { margin-bottom: 32px; padding: 0; }
  .comment-form textarea { padding-right: 24px; }
  .comment-form .secret { left: 0; }

  /* 사이드바 */
  #aside { grid-template-columns: 1fr; }
  .sidebar .sidebar-2 { margin-top: 0; padding-top: 24px; border-top: 1px solid var(--border); }

  #content .another_category { margin: 32px 0 28px !important; }
  .container_postbtn { margin: 28px 0 28px; }
}

@media screen and (max-width: 767px) {
  #tt-body-index .post-header { padding-top: 28px; padding-left: 20px; }
}
