@charset "utf-8";

/*
 *
 * CSS CONTENTS:
 *
 * 01. Web Font
 * 02. Type Selector Reset
 * 03. Accessibility Navigation
 * 04. Layout Selector
 * 05. Components
 * 06. Entry Content
 * 07. Comment
 * 08. Widget & Template Page
 * 09. ETC
 * 10. Post Type & Color Type
 * 11. Retina Display
 * 12. Media Screen - Tablet
 * 13. Media Screen - Mobie
 *
 */

/* Web Font Load */
@import url('//fonts.googleapis.com/css?family=Nanum+Myeongjo');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* ================================================================
 * CSS Design Tokens — 디자인 시스템 변수
 * ================================================================ */
:root {
  /* ── Primary ─────────────────────────────────────────────── */
  --color-primary:        #2563EB;
  --color-primary-50:     #EFF6FF;
  --color-primary-100:    #DBEAFE;
  --color-primary-200:    #BFDBFE;
  --color-primary-700:    #1D4ED8;
  --color-primary-800:    #1E40AF;

  /* ── Semantic ─────────────────────────────────────────────── */
  --color-success:        #059669;
  --color-success-50:     #ECFDF5;
  --color-success-100:    #D1FAE5;
  --color-success-800:    #065F46;

  --color-warning:        #D97706;
  --color-warning-50:     #FFFBEB;
  --color-warning-100:    #FEF3C7;
  --color-warning-800:    #92400E;

  --color-danger:         #DC2626;
  --color-danger-50:      #FEF2F2;
  --color-danger-100:     #FEE2E2;
  --color-danger-800:     #991B1B;

  --color-info:           #0891B2;
  --color-info-50:        #ECFEFF;
  --color-info-100:       #CFFAFE;
  --color-info-800:       #164E63;

  /* ── Neutrals ─────────────────────────────────────────────── */
  --gray-50:  #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* ── Text ─────────────────────────────────────────────────── */
  --text-primary:   #111827;
  --text-secondary: #6B7280;
  --text-tertiary:  #9CA3AF;
  --text-inverse:   #FFFFFF;
  --text-link:      #2563EB;
  --text-link-hover:#1D4ED8;

  /* ── Surface ──────────────────────────────────────────────── */
  --surface-page:   #FAFAFA;
  --surface-card:   #FFFFFF;
  --surface-subtle: #F9FAFB;
  --surface-hover:  #F3F4F6;

  /* ── Border ───────────────────────────────────────────────── */
  --border-light:  #F3F4F6;
  --border:        #E5E7EB;
  --border-strong: #D1D5DB;

  /* ── Typography ───────────────────────────────────────────── */
  --font-base: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.0625rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;

  --leading-tight:   1.35;
  --leading-snug:    1.5;
  --leading-normal:  1.75;
  --leading-relaxed: 1.875;

  --fw-normal:   400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* ── Spacing ──────────────────────────────────────────────── */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;

  /* ── Radius ───────────────────────────────────────────────── */
  --radius-sm:   0.25rem;
  --radius:      0.5rem;
  --radius-md:   0.625rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* ── Shadow ───────────────────────────────────────────────── */
  --shadow-xs: 0 1px 2px 0 rgba(0,0,0,.05);
  --shadow-sm: 0 1px 3px 0 rgba(0,0,0,.08), 0 1px 2px -1px rgba(0,0,0,.06);
  --shadow:    0 4px 8px -2px rgba(0,0,0,.09), 0 2px 4px -2px rgba(0,0,0,.06);
  --shadow-md: 0 6px 14px -3px rgba(0,0,0,.10), 0 3px 6px -3px rgba(0,0,0,.07);
  --shadow-lg: 0 12px 24px -6px rgba(0,0,0,.11), 0 6px 12px -6px rgba(0,0,0,.07);

  /* ── Transition ───────────────────────────────────────────── */
  --ease-fast: 150ms ease;
  --ease:      250ms ease;
  --ease-slow: 350ms ease;

  /* ── Content Width ────────────────────────────────────────── */
  --content-width: 740px;
}

/* Type Selector Reset */
body {
  font-weight: 400;
  font-family: Pretendard-Regular, sans-serif;
  font-size: 1em;
  line-height: 1.25;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 100%;
}

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: Pretendard-Regular, sans-serif;
  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;
  vertical-align: top;
}

hr {
  display: 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: #000;
  color: #fff;
  z-index: 1000;
}

/* Layout Selector */
#header {
  position: relative;
  width: 100%;
}

#header h1 {
  padding: 28px 0;
  text-align: center;
  font-size: 1.5em;
  line-height: 1;
  color: #1a1a1a;
}

#header h1 a {
  display: inline-block;
  text-decoration: none;
  vertical-align: top;
  color: #1a1a1a;
}

/* 블로그 헤더 타이틀: 두 줄 브랜드 (티스토리 모바일 잘림 방지) */
#header h1 a.blog-title-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12em;
  line-height: 1.28;
  overflow: visible;
  white-space: normal;
  text-overflow: unset;
  max-width: 100%;
  box-sizing: border-box;
}

#header h1 a.blog-title-brand .blog-title-brand__line {
  display: block;
  text-align: center;
  word-break: keep-all;
}

#header .mobile-menu {
  position: absolute;
  top: 20px;
  left: 33px;
  z-index: 500;
  width: 40px;
  height: 40px;
  outline: none;
}

#header .mobile-menu span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 2px;
  margin: -2px 0 0 -13px;
  background-color: #000;
  text-indent: -999em;
}

#header .mobile-menu:before,
#header .mobile-menu:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 2px;
  margin-left: -13px;
  background-color: #000
}

#header .mobile-menu:before {
  margin-top: -9px;
}

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

#header .mobile-menu.on {
  position: fixed;
}

#header .mobile-menu.on span {
  display: none;
}

#header .mobile-menu.on:before,
#header .mobile-menu.on:after {
  margin-top: -2px;
}

#header .mobile-menu.on:before {
  transform: rotate(-45deg);
}

#header .mobile-menu.on:after {
  transform: rotate(45deg);
}

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

#header .menu .social-link {
  position: absolute;
  left: 40px;
  bottom: 129px;
}

#header .menu p {
  position: absolute;
  left: 40px;
  bottom: 79px;
  font-size: 0.75em;
  color: #9b9b9b;
}

#header .menu.on {
  left: 0;
}

#header .search {
  position: absolute;
  top: 20px;
  right: 19px;
  width: 0;
  padding-right: 40px;
}

#header .search input {
  display: none;
  width: 100%;
  height: 40px;
  padding: 0 10px;
  font-size: 1em;
  line-height: 40px;
  color: #000;
  border: 0;
  box-sizing: border-box;
  background-color: transparent;
}

#header .search button {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  width: 40px;
  height: 40px;
  background: url(./images/ico_package.png) no-repeat 0 0;
  text-indent: -999em;
  outline: none;
}

#header .search:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
  width: 40px;
  height: 40px;
  background: url(./images/ico_package.png) no-repeat 0 0;
  text-indent: -999em;
  cursor: pointer;
}

#header .search:hover:before {
  background-color: #ebebeb;
}

#header .search.on {
  width: 322px;
  border-bottom: 1px solid #000;
}

#header .search.on input {
  display: block;
  outline: none;
}

#header .search.on button {
  display: block;
}

#header .search.on:before {
  display: none;
}

#gnb {
  overflow: auto;
  height: 100%;
  margin-bottom: 8px;
}

#gnb ul li {
  margin-bottom: 6px;
  font-size: 1.125em;
  line-height: 1.5;
}

#gnb ul li a {
  display: block;
  text-decoration: none;
  color: #000;
}

#gnb ul li ul li ul li a.link_sub_item {
  color: #333;
}

#gnb ul li a:hover {
  text-decoration: underline;
  color: #4e2e28;
}

#gnb ul li ul {
  margin: 22px 0 0;
}

#gnb ul li ul li {
  font-size: 1em;
}

#gnb ul li ul li ul {
  margin: 6px 0 13px;
}

#gnb ul li ul li ul li {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5625rem;
}

#gnb ul li ul li ul li a:before {
  content: "-";
  margin-right: 5px;
  color: #333;
}

#gnb ul li ul li ul li a {
  padding: 0 12px;
}

#content .inner {
  max-width: 960px;
  margin: 0 auto;
}

#content>.inner {
  max-width: 860px;
}

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

#footer {
  position: relative;
  padding: 29px 0;
  border-top: 1px solid #ebebeb;
}

#footer p {
  text-align: center;
  font-size: 0.75em;
  color: #9b9b9b;
}

#footer p a {
  text-decoration: none;
  color: #9b9b9b;
}

#footer .admin {
  color: #666;
}

#footer .admin:before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 15px;
  margin: 0 9px;
  background-color: #b2b2b2;
  vertical-align: middle;
}

#tt-body-index #footer {
  border-top: 0;
}

/* Components */
.social-link a {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 5px;
  text-indent: -999em;
  background-image: url(./images/ico_package.png);
  background-repeat: no-repeat;
  vertical-align: top;
}

.social-link a:hover {
  background-position-y: -68px;
}

.social-link .pinterest {
  background-position: 0 -50px;
}

.social-link .facebook {
  background-position: -50px -50px;
}

.social-link .twitter {
  background-position: -100px -50px;
}

.social-link .instagram {
  background-position: -150px -50px;
}

.btn, a.btn {
  display: inline-block;
  width: 158px;
  height: 50px;
  border: 1px solid #dcdcdc;
  font-size: 0.875em;
  line-height: 50px;
  color: unset;
}

.btn:hover {
  border-color: #4d4d4d;
}

.cover-thumbnail-list {
  margin: 0 auto -1px;
  padding: 40px 0 56px;
  border-bottom: 1px solid #ebebeb;
}

.cover-thumbnail-list h2 {
  margin-bottom: 26px;
  font-size: 1em;
}

.cover-thumbnail-list ul {
  width: 100%;
}

.cover-thumbnail-list ul li {
  float: left;
  width: 24.0625%;
  margin: 0 0 32px;
  padding-left: 1.25%;
}

.cover-thumbnail-list ul li:nth-child(4n+1) {
  clear: both;
  padding-left: 0;
}

.cover-thumbnail-list ul li a {
  display: block;
  text-decoration: none;
  color: #080808;
}

.cover-thumbnail-list ul li .thum {
  display: block;
  position: relative;
  overflow: hidden;
  height: 0;
  margin-bottom: 11px;
  padding-bottom: 75.757575757575758%;
  background-color: #f6f6f6;
}

.cover-thumbnail-list ul li .thum:before {
  content: "NO IMAGE";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 18px;
  margin: -9px 0 0 0;
  text-align: center;
  font-family: 'Arial';
  font-weight: bold;
  font-size: 0.875em;
  color: #cbcbcb;
}

.cover-thumbnail-list ul li .thum img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
}

.cover-thumbnail-list ul li .category {
  display: inline-block;
  margin-bottom: 8px;
  border-bottom: 1px solid #a3a3a3;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 0.875em;
  color: #808080;
}

.cover-thumbnail-list ul li .title {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 2.75em;
  padding-right: 10%;
  font-weight: 700;
  line-height: 1.375em;
}

.cover-thumbnail-list ul li a:hover .title {
  text-decoration: underline;
  color: #4e2e28;
}

.cover-thumbnail-list ul li .date {
  display: block;
  font-size: 0.8125em;
  color: #999;
}

.cover-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  background-color: #000;
}

.cover-slider ul li {
  display: table;
  width: 100%;
  height: 460px;
  text-align: center;
  background-position: 50% 50%;
  background-size: cover;
}

.cover-slider ul li a {
  display: table-cell;
  background-color: rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: #fff;
  vertical-align: middle;
}

.cover-slider ul li .category {
  display: inline-block;
  margin-bottom: 16px;
  border-bottom: 1px solid #fff;
}

.cover-slider ul li .title {
  display: block;
  max-width: 580px;
  margin: 0 auto 28px;
  font-size: 2.5em;
  line-height: 1.3;
}

.cover-slider ul li .btn {
  border-color: #fff;
  color: #fff;
}

.cover-slider ul li .btn:hover {
  background-color: #fff;
  color: #000;
}

.cover-slider .prev,
.cover-slider .next {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 20;
  width: 70px;
  height: 70px;
  margin: -25px 0 0 0;
  background: url(./images/ico_package.png) no-repeat 0 -250px;
  text-indent: -999em;
}

.cover-slider .prev {
  margin-left: -506px;
  background-position: 0 -250px;
}

.cover-slider .next {
  margin-left: 436px;
  background-position: -100px -250px;
}

.cover-slider .prev:hover,
.cover-slider .next:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.cover-masonry {
  margin-bottom: -1px;
  padding: 60px 0 49px;
  border-bottom: 1px solid #ebebeb;
}

.cover-masonry h2 {
  margin-bottom: 30px;
  font-size: 1em;
}

.cover-masonry ul {
  display: inline-block;
  margin-left: -42px;
  vertical-align: top;
}

.cover-masonry ul li {
  float: left;
  width: 33.3333%;
  margin: 0 0 37px;
  padding-left: 42px;
  box-sizing: border-box;
}

.cover-masonry ul li a {
  display: block;
  text-decoration: none;
  color: #080808;
}

.cover-masonry ul li .thum {
  display: block;
  margin-bottom: 11px;
}

.cover-masonry ul li .thum img {
  width: 100%;
  height: auto;
}

.cover-masonry ul li .category {
  display: inline-block;
  margin-bottom: 7px;
  border-bottom: 1px solid #a3a3a3;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 0.875em;
  color: #808080;
}

.cover-masonry ul li .title {
  display: block;
  font-weight: 700;
  font-size: 1.125em;
  line-height: 1.4444;
}

.cover-masonry ul li a:hover .title {
  text-decoration: underline;
  color: #4e2e28;
}

.cover-masonry ul li .excerpt {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 6.4em;
  font-size: 0.9375em;
  line-height: 1.6;
  color: #666;
}

.cover-list {
  margin-bottom: -1px;
  padding: 30px 0 60px;
  border-bottom: 1px solid #ebebeb;
}

.cover-list h2 {
  margin: 30px 0 0 0;
  font-size: 1em;
}

.cover-list ul li {
  border-top: 1px solid #ebebeb;
}

.cover-list ul li:first-child {
  border-top: 0;
}

.cover-list ul li a {
  display: block;
  min-height: 172px;
  padding: 30px 0 30px;
  text-decoration: none;
  color: #080808;
}

.cover-list ul li figure {
  float: right;
  position: relative;
  width: 172px;
  height: 172px;
  margin: 0 0 0 80px;
  background-color: #f6f6f6;
}

.cover-list ul li figure:before {
  content: "NO IMAGE";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 18px;
  margin: -9px 0 0 0;
  text-align: center;
  font-family: 'Arial';
  font-weight: bold;
  font-size: 0.875em;
  color: #cbcbcb;
}

.cover-list ul li figure img {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
}

.cover-list ul li .category {
  display: inline-block;
  margin-bottom: 7px;
  border-bottom: 1px solid #a3a3a3;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 0.875em;
  color: #808080;
}

.cover-list ul li .title {
  display: block;
  font-weight: 700;
  font-size: 1.125em;
  line-height: 1.4444em;
}

.cover-list ul li a:hover .title {
  text-decoration: underline;
  color: #666;
}

.cover-list ul li .excerpt {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 4.8em;
  font-size: 0.9375em;
  line-height: 1.6;
  color: #666;
}

.cover-list ul li .date {
  display: block;
  font-size: 0.8125em;
  color: #999;
}

.cover-gallery {
  margin: 0 auto -1px;
  padding: 60px 0 75px;
  border-bottom: 1px solid #ebebeb;
}

.cover-gallery h2 {
  margin-bottom: 30px;
  font-size: 1em;
}

.cover-gallery ul {
  display: inline-block;
  margin-left: -12px;
}

.cover-gallery ul li {
  float: left;
  width: 25%;
  margin: 0 0 12px 0;
  padding-left: 12px;
  box-sizing: border-box;
}

.cover-gallery ul li a {
  display: block;
  position: relative;
  width: 100%;
  background-color: #ebebeb;
}

.cover-gallery ul li .title {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 30;
  overflow: hidden;
  width: 100%;
  max-height: 4.2em;
  text-align: center;
  line-height: 1.4;
  padding: 0 20px;
  color: #fff;
  box-sizing: border-box;
  transform: translateY(-50%);
  visibility: hidden;
}

.cover-gallery ul li a:hover .title {
  visibility: visible;
}

.cover-gallery ul li a:hover:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.cover-gallery ul li a:before {
  content: "NO IMAGE";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 18px;
  margin: -9px 0 0 0;
  text-align: center;
  font-family: 'Arial';
  font-weight: bold;
  font-size: 0.875em;
  color: #cbcbcb;
}

.cover-gallery ul li figure {
  height: 0;
  padding-bottom: 100%;
}

.cover-gallery ul li figure img {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 10;
}

.cover-footer {
  position: relative;
  z-index: 10;
  text-align: center;
}

.cover-footer .image {
  height: 300px;
  margin-bottom: 80px;
  background-position: 50% 50%;
  background-size: cover;
}

.cover-footer p {
  margin: -5px 0 20px;
  text-align: center;
  font-weight: 700;
  font-size: 1.25em;
  color: #000;
}

.cover-footer .menu ul {
  text-align: center;
}

.cover-footer .menu ul li {
  display: inline-block;
  margin: 40px 0 48px;
  padding: 0 14px;
  font-size: 0.875em;
}

.cover-footer .menu ul li a {
  display: block;
  text-decoration: none;
  color: #282828;
}

.cover-footer .menu ul li a:hover {
  text-decoration: underline;
  color: #4e2e28;
}

.cover-footer p:first-child {
  margin-top: 76px;
}

.cover-footer .social-link:first-child a {
  margin-top: 80px;
}

.post-header {
  position: relative;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto 30px;
  padding: 57px 0 15px;
  border-bottom: 1px solid #ebebeb;
}

.post-header h1 {
  float: left;
  font-size: 1em;
}

.post-header .list-type {
  float: right;
}

.post-header .list-type button {
  float: left;
  width: 24px;
  height: 24px;
  margin-left: 4px;
  background-image: url(./images/ico_package.png);
  background-repeat: no-repeat;
  text-indent: -999em;
  outline: none;
}

.post-header .list-type button:hover {
  background-color: #ebebeb;
}

.post-header .list-type .list {
  background-position: 0 -200px;
}

.post-header .list-type .thum {
  background-position: -100px -200px;
}

.post-header .list-type .list.current {
  background-position: -50px -200px;
}

.post-header .list-type .thum.current {
  background-position: -150px -200px;
}

.post-item {
  overflow: hidden;
  width: 100%;
  border-bottom: 1px solid #ebebeb;
}

.post-item a {
  display: block;
  min-height: 148px;
  padding: 30px 0 30px;
  text-decoration: none;
  color: #080808;
}

.post-item:first-child a {
  padding-top: 0;
}

.post-item a:hover .title {
  text-decoration: underline;
  color: #4e2e28;
}

.post-item .thum {
  float: right;
  overflow: hidden;
  max-width: 148px;
  margin-left: 80px;
}

.post-item .thum img {
  width: 195px;
  height: 148px;
  margin: 0 0 0 -23.5px;
}

.post-item .category {
  display: inline-block;
  margin-bottom: 16px;
  border-bottom: 1px solid #a3a3a3;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 0.875em;
  color: #808080;
}

.post-item .title {
  display: block;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 2.8em;
  font-weight: 700;
  font-size: 1.125em;
  line-height: 1.4;
}

.post-item .excerpt {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9375em;
  line-height: 1.6;
  color: #666;
}

.post-item .excerpt.protected:before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 13px;
  margin-right: 10px;
  background: url(./images/ico_package.png) no-repeat -0 -100px;
  vertical-align: baseline;
}

.post-item .date {
  display: block;
  font-size: 0.8125em;
  color: #999;
}

.pagination {
  max-width: 860px;
  margin: 60px auto 160px;
  text-align: center;
}

.pagination .current {
  display: none;
}

.pagination .view-more {
  display: inline-block;
  width: 158px;
  height: 50px;
  border: 1px solid #dcdcdc;
  font-size: 0.875em;
  line-height: 50px;
  color: #000;
}

.pagination .view-more:hover {
  border-color: #4d4d4d;
  background: none;
}

.pagination a {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin: 0 4px;
  text-decoration: none;
  font-size: 0.9375em;
  line-height: 24px;
  color: #b2b2b2;
  vertical-align: middle;
}

.pagination a:hover {
  background-color: #ebebeb;
}

.pagination .selected {
  color: #000;
}

.pagination .prev,
.pagination .next {
  width: 50px;
  height: 50px;
  background-image: url(./images/ico_package.png);
  background-repeat: no-repeat;
  border: 1px solid #dcdcdc;
  text-indent: -999em;
  vertical-align: middle;
  box-sizing: border-box;
}

.pagination .prev {
  background-position: -50px 0;
}

.pagination .next {
  background-position: -100px 0;
}

.pagination .prev:hover,
.pagination .next:hover {
  background-color: transparent;
  border-color: #4d4d4d;
}

.pagination .no-more-prev,
.pagination .no-more-next {
  display: none;
}

.hgroup {
  max-width: 860px;
  margin: 50px auto 60px;
  padding: 0 0 20px;
  border-bottom: 1px solid #ebebeb;
}

.hgroup .category {
  display: inline-block;
  margin-bottom: 16px;
  padding-top: 5px;
  border-bottom: 1px solid #a3a3a3;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 0.875em;
  color: #808080;
}

.hgroup h1 {
  display: block;
  margin-bottom: 9px;
  font-weight: 700;
  font-size: 1.6875em;
  line-height: 1.4444em;
}

.hgroup .post-meta {
  display: block;
  font-size: 0.8125em;
  color: #808080;
}

.hgroup .post-meta a {
  text-decoration: none;
  color: #999;
}

.hgroup .post-meta a:hover {
  text-decoration: underline;
}

.hgroup .post-meta span:before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0 7px 0 10px;
  background-color: #ebebeb;
  vertical-align: baseline;
}

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

.another_category {
  margin: 60px auto 80px;
  padding: 0 !important;
  border: 0 !important;
}

.another_category h4 {
  margin-bottom: 28px;
  font-weight: 400;
  font-size: 1em !important;
}

.another_category h4 em {
  border-bottom: 1px solid #000;
  font-style: normal;
}

.another_category table {
  width: 100%;
  border-collapse: collapse;
  border: 0 !important;
  font-size: 0.9375em;
  color: #666;
}

.another_category table th {
  padding: 8px 0 4px;
  border: 0 !important;
  text-align: left;
  font-weight: 400;
}

.another_category table th a {
  text-decoration: none;
  color: #666;
}

.another_category td {
  width: 60px;
  padding: 8px 0 4px;
  border-left: 0 !important;
  border-top: 0 !important;
  font-size: 0.8125em;
  line-height: 1;
  color: #b2b2b2;
}

.tags {
  position: relative;
  overflow: hidden;
  max-width: 860px;
  margin: 53px auto;
  padding: 27px 0 28px 47px;
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
  color: #999;
  box-sizing: border-box;
}

.tags h2 {
  float: left;
  width: 47px;
  margin-left: -47px;
  font-weight: 400;
  font-size: 1em;
  color: #000;
}

.tags .items a {
  display: inline-block;
  margin-left: 15px;
  text-decoration: none;
  font-size: 0.8125em;
  line-height: 1.5384;
  color: #999;
}

.tags .items a:hover {
  color: #7a583a;
}

.tags .items a:before {
  content: "#";
}

.related-articles {
  overflow: hidden;
  width: 100%;
  margin: 57px 0 69px;
}

.related-articles h2 {
  margin-bottom: 28px;
  font-weight: 400;
  font-size: 1em;
}

.related-articles h2 em {
  border-bottom: 1px solid #000;
  font-style: normal;
}

.related-articles ul li {
  float: left;
  width: 24.0625%;
  padding-left: 1.25%;
}

.related-articles ul li:first-child {
  padding-left: 0;
}

.related-articles ul li a {
  display: block;
  text-decoration: none;
  color: #080808;
}

.related-articles ul li a:hover .title {
  text-decoration: underline;
  color: #4e2e28;
}

.related-articles ul li .thum {
  display: block;
  position: relative;
  overflow: hidden;
  height: 0;
  margin-bottom: 12px;
  padding-bottom: 75.757575757575758%;
  background-color: #ebebeb;
}

.related-articles ul li .thum:before {
  content: "NO IMAGE";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 18px;
  margin: -9px 0 0 0;
  text-align: center;
  font-family: 'Arial';
  font-weight: bold;
  font-size: 0.875em;
  color: #cbcbcb;
}

.related-articles ul li .thum img {

  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
}

.related-articles ul li .category {
  display: inline-block;
  margin-bottom: 16px;
  border-bottom: 1px solid #a3a3a3;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 0.875em;
  color: #808080;
}

.related-articles ul li .title {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 2.75em;
  margin-bottom: 9px;
  font-weight: 700;
  line-height: 1.375;
}

.related-articles ul li .date {
  display: block;
  font-size: 0.8125em;
  color: #999;
}

/* Entry Content */
.entry-content h1 {
  margin: 60px 0 19px;
  font-size: 1.6875em;
}

.entry-content h2 {
  margin: 60px 0 19px;
  font-size: 1.5em;
}

.entry-content h3 {
  margin: 60px 0 19px;
  font-weight: 700;
  font-size: 1.3125em;
}

.entry-content h4 {
  margin: 60px 0 19px;
  font-weight: 400;
  font-size: 1.125em;
}

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

.entry-content hr {
  display: block;
  height: 0;
  border: 0;
  border-bottom: 1px solid #000;
}

.entry-content pre {
  word-break: break-word;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.entry-content pre code.hljs {
  padding: 20px;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 50px;
}

.entry-content ul {
  list-style: disc inside;
}

.entry-content ul li {
  padding-left: 22px;
  position: relative;
  list-style: inherit;
  text-indent: -22px;
}

.entry-content ol {
  list-style: inside decimal;
}

.entry-content ol li {
  position: relative;
  padding-left: 16px;
  text-indent: -15px;
  list-style: inherit;
}

.entry-content a {
  color: #666;
}

.entry-content img.alignleft {
  float: left;
  margin: 0 22px 22px 0;
}

.entry-content img.aligncenter {
  display: block;
  margin: 0 auto 22px;
}

.entry-content img.alignright {
  float: right;
  margin: 0 0 22px 22px;
}

.entry-content blockquote {
  margin-bottom: 60px;
  padding: 16px 20px;
  border-left: 4px solid #e6e6e6;
}

.entry-content blockquote p {
  margin: 22px 0 0;
}

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

.entry-content table {
  width: 100%;
  margin-bottom: 22px;
  border-collapse: collapse;
}

.entry-content table thead th {
  padding: 7px 0 11px;
}

.entry-content table tbody td {
  padding: 7px 0 11px;
}

.entry-content input {
  display: inline-block;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #e6e6e6;
  font-size: 0.875em;
  line-height: 1.25;
  color: #666;
  box-sizing: border-box;
  vertical-align: middle;
}

.entry-content .protected_form {
  margin-bottom: 40px;
  padding: 120px 0 200px;
  border-bottom: 1px solid #7a583a;
  text-align: center;
}

.entry-content .protected_form p:before {
  content: "";
  display: block;
  width: 64px;
  height: 84px;
  margin: 0 auto 30px;
  background: url(./images/ico_package.png) no-repeat -50px -100px;
}

.entry-content .protected_form input {
  width: 220px;
  height: 50px;
  margin-bottom: 10px;
  background-color: transparent;
  vertical-align: top;
}

.entry-content .cap1 {
  text-align: center;
  font-size: 0.875em;
  font-style: italic;
}

/* Comment */
#tt-body-guestbook .tt-comment-cont {
  max-width: 860px;
  margin: 50px auto;
}

.comments {
  max-width: 860px;
  margin: 0 auto 60px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e6e6e6;
}

.comments h2 {
  font-weight: 400;
  font-size: 1em;
  color: #000;
}

.comments .comment-list {
  font-size: 16px;
  margin-bottom: 6px;
  overflow: hidden;
}

.comments .comment-list ul li {
  padding: 30px 0 25px;
  border-top: 1px solid #e6e6e6;
  position: relative;
  min-height: 48px;
}

.comments .comment-list ul li:first-child {
  border: none;
}

.comments .comment-list ul li ul li {
  padding: 26px 0 0 60px;
  border-top: 0;
  border-bottom: 0;
}

.comments .comment-list ul li .author-meta {
  position: absolute;
  overflow: hidden;
  top: 30px;
  height: 48px;
  left: 0;
  right: 0;
  padding: 4px 0 0 60px;
}

.comments .comment-list ul li ul li .author-meta {
  top: 26px;
  left: 60px;
}

.comments .comment-list ul li .author-meta .avatar {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.comments .comment-list ul li .author-meta span {
  display: inline-block;
}

.comments .comment-list ul li .author-meta a {
  text-decoration: none;
  color: #000;
}

.comments .comment-list ul li .author-meta .nickname {
  float: left;
  font-size: 0.875em;
  line-height: 20px;
}

.comments .comment-list ul li .author-meta .nickname .tistoryProfileLayerTrigger {
  margin-bottom: 3px;
  margin-right: 0;
  vertical-align: bottom;
}

.comments .comment-list ul li .author-meta .date {
  float: left;
  margin-left: 10px;
  font-size: 0.75em;
  color: #999;
  line-height: 20px;
}

.comments .comment-list ul li .author-meta .date:before,
.comments .comment-list ul li .author-meta .date a:before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 9px;
  margin-right: 10px;
  background-color: #b2b2b2;
}

.comments .comment-list ul li .author-meta .date a {
  margin-left: 10px;
}

.comments .comment-list ul li .control {
  position: absolute;
  top: 33px;
  right: 0;
}

.comments .comment-list ul li ul li .control {
  top: 29px;
}

.comments .comment-list ul li .control a {
  margin: 0 2px;
  text-decoration: none;
  font-size: 12px;
  color: #999;
}

.comments .comment-list ul li p {
  position: relative;
  margin: 29px 0 0 60px;
  font-size: 0.875em;
  line-height: 1.5714;
  color: #666;
}

.comments .comment-form .field {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 8px;
}

.comments .comment-form input[type=text],
.comments .comment-form input[type=password],
.comments .comment-form textarea {
  border: 1px solid #e6e6e6;
  font-size: 0.9375em;
  line-height: 1.25;
  color: #666;
  background-color: transparent;
}

.comments .comment-form input[type=text],
.comments .comment-form input[type=password] {
  width: 140px;
  height: 52px;
  margin-right: 6px;
  padding: 10px;
  box-sizing: border-box;
}

.comments .comment-form input::-webkit-input-placeholder,
.comments .comment-form textarea::-webkit-input-placeholder {
  color: #d6d6d6;
}

.comments .comment-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  resize: none;
  box-sizing: border-box;
}

.comments .comment-form .field .secret {
  display: inline-block;
  margin-left: 15px;
  vertical-align: middle;
}

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

.comments .comment-form .field .secret label {
  font-size: 0.8125em;
  line-height: 52px;
  color: #666;
  outline: none;
  cursor: pointer;
}

.comments .comment-form .field .secret label:before {
  content: "";
  display: inline-block;
  width: 19px;
  height: 18px;
  margin-right: 9px;
  border: 1px solid #e1e1e1;
  vertical-align: middle;
  background-color: #fff;
}

.comments .comment-form .field .secret input[type=checkbox]:checked+label:before {
  background-image: url(./images/ico_package.png);
  background-repeat: no-repeat;
  background-position: -150px -100px;
}

.comments .comment-form .field .submit {
  float: right;
}

/* Widget & Template Page */

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

/* Post Type & Color Type */
.post-type-thumbnail .post-item {
  float: left;
  width: 24.0625%;
  margin: 0 0 58px;
  padding-left: 1.25%;
  border: 0;
}

.post-type-thumbnail .post-item:nth-child(4n+1) {
  padding-left: 0;
}

.post-type-thumbnail .post-item a {
  padding: 0;
}

.post-type-thumbnail .post-item .thum {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  height: 0;
  margin: 0 0 9px 0;
  padding-bottom: 75.757575757575758%;
  background-color: #ebebeb;
}

.post-type-thumbnail .post-item .thum:before {
  content: "NO IMAGE";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 18px;
  margin: -9px 0 0 0;
  text-align: center;
  font-family: 'Arial';
  font-weight: bold;
  font-size: 0.875em;
  color: #cbcbcb;
}

.post-type-thumbnail .post-item .thum img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  margin: 0;
}

.post-type-thumbnail .post-item .title {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  height: 2.75em;
  font-weight: 700;
  font-size: 1em;
  line-height: 1.375em;
}

.post-type-thumbnail .post-item .excerpt {
  display: none;
}

.post-type-thumbnail .pagination {
  margin-top: 0;
}

/* Color Type */
.color-chocolate,
.color-chocolate .cover-footer,
.color-chocolate #footer {
  background-color: #f4f2f1;
}

.color-chocolate #header h1 a,
.color-chocolate #gnb ul li a,
.color-chocolate #footer .admin,
.color-chocolate .cover-thumbnail-list ul li a,
.color-chocolate .cover-masonry ul li a,
.color-chocolate .cover-list ul li a,
.color-chocolate .cover-footer p,
.color-chocolate .cover-footer .menu ul li a,
.color-chocolate .post-item a,
.color-chocolate .hgroup h1,
.color-chocolate .hgroup .post-meta a,
.color-chocolate .entry-content h1,
.color-chocolate .entry-content h2,
.color-chocolate .entry-content h3,
.color-chocolate .entry-content h4,
.color-chocolate .entry-content a,
.color-chocolate .related-articles ul li a,
.color-chocolate .comments .comment-list ul li .author-meta span,
.color-chocolate .comments .comment-list ul li .author-meta .date a,
.color-chocolate .pagination .selected {
  color: #4e2e28;
}

.color-chocolate #header .menu p,
.color-chocolate #footer p,
.color-chocolate .cover-thumbnail-list ul li .date,
.color-chocolate .cover-masonry ul li .excerpt,
.color-chocolate .cover-list ul li .excerpt,
.color-chocolate .cover-list ul li .date,
.color-chocolate .post-item .excerpt,
.color-chocolate .post-item .date,
.color-chocolate .hgroup .post-meta,
.color-chocolate .another-category td,
.color-chocolate .tags .items a,
.color-chocolate .related-articles ul li .date,
.color-chocolate .comments .comment-list ul li .author-meta .date,
.color-chocolate .comments .comment-list ul li .author-meta .control a {
  color: #a69693;
}

.color-chocolate .cover-thumbnail-list ul li .category,
.color-chocolate .cover-masonry ul li .category,
.color-chocolate .hgroup .category {
  color: #94817e;
}

.color-chocolate .entry-content p,
.color-chocolate .entry-content table,
.color-chocolate .entry-content ul li,
.color-chocolate .entry-content ol li,
.color-chocolate .another-category table,
.color-chocolate .another-category table th a,
.color-chocolate .comments .comment-list ul li p {
  color: #836c68;
}

.color-chocolate #gnb ul li a:hover,
.color-chocolate .cover-footer .menu ul li a:hover,
.color-chocolate .cover-thumbnail-list ul li a:hover .title,
.color-chocolate .cover-masonry ul li a:hover .title,
.color-chocolate .cover-list ul li a:hover .title,
.color-chocolate .post-item a:hover .title,
.color-chocolate .related-articles ul li a:hover .title {
  color: #2d140f;
}

.color-chocolate .cover-thumbnail-list ul li .category,
.color-chocolate .cover-masonry ul li .category,
.color-chocolate .hgroup .category {
  border-color: #a69693;
}

.color-chocolate .entry-content ul li:before {
  background-color: #a69693;
}

.color-chocolate #header .mobile-menu:before,
.color-chocolate #header .mobile-menu:after,
.color-chocolate #header .mobile-menu span {
  background-color: #4e2e28;
}

.color-chocolate .pagination a:hover,
.color-chocolate #header .search:hover:before {
  background-color: #e7e2e1;
}

.color-chocolate .btn,
.color-chocolate .cover-thumbnail-list .color-chocolate .cover-masonry .color-chocolate .cover-list .color-chocolate .cover-gallery,
.color-chocolate .cover-list ul li,
.color-chocolate .post-item,
.color-chocolate .hgroup,
.color-chocolate .entry-content table,
.color-chocolate .entry-content table thead th,
.color-chocolate .entry-content table tbody td,
.color-chocolate .entry-content blockquote,
.color-chocolate .comments,
.color-chocolate .comments .comment-list ul li,
.color-chocolate .comments .comment-form input[type=text],
.color-chocolate .comments .comment-form input[type=password],
.color-chocolate .comments .comment-form textarea,
.color-chocolate .comments .comment-form .field .secret label:before,
.color-chocolate .pagination .prev,
.color-chocolate .pagination .next,
.color-chocolate .pagination a {
  border-color: #e7e2e1;
}

.color-chocolate .social-link a,
.color-chocolate #header .search button,
.color-chocolate #header .search:before,
.color-chocolate .cover-thumbnail-list ul li .thum:before,
.color-chocolate .cover-gallery ul li a:before,
.color-chocolate .post-header .list-type button,
.color-chocolate .related-articles ul li .thum:before {
  background-image: url(./images/ico_package_chocolate.png);
}

.color-chocolate .btn:hover,
.color-chocolate .pagination .prev:hover,
.color-chocolate .pagination .next:hover {
  border-color: #4d4d4d;
}

.color-chocolate #header .search.on {
  border-color: #4e2e28;
}

/* Retina Display */
@media only screen and (-webkit-min-device-pixel-ratio:1.5) {

  #header .search button,
  #header .search:before,
  .social-link a,
  .cover-slider .prev,
  .cover-slider .next,
  .cover-gallery ul li a:before,
  .post-header .list-type button,
  .pagination .prev,
  .pagination .next,
  .comments .comment-form .field .secret input[type=checkbox]:checked+label:before {
    background-image: url(./images/ico_package_2x.png);
    background-size: 200px auto;
  }

  .color-chocolate .social-link a,
  .color-chocolate #header .search button,
  .color-chocolate .cover-gallery ul li a:before,
  .color-chocolate .post-header .list-type button {
    background-image: url(./images/ico_package_chocolate_2x.png);
    background-size: 200px auto;
  }
}

/* Media Screen - Tablet */
@media screen and (max-width:1023px) {
  #header .search.on {
    width: 180px;
  }

  #content .guest_inner,
  #content>.inner {
    padding: 0 40px;
  }

  .post-header {
    padding: 40px;
  }

  .cover-thumbnail-list {
    padding: 40px 40px 65px;
  }

  .cover-slider ul li .title {
    max-width: none;
    padding: 0 98px
  }

  .cover-slider .prev {
    left: 14px;
    margin-left: 0;
  }

  .cover-slider .next {
    left: auto;
    right: 14px;
    margin-left: 0;
  }

  .cover-masonry {
    padding: 60px 40px 81px;
  }

  .cover-list {
    padding: 30px 40px 85px;
  }

  .cover-gallery {
    padding: 60px 40px 130px;
  }
}

/* Media Screen - Mobie */
@media screen and (max-width:767px) {
  #header .mobile-menu {
    top: 10px;
    left: 11px;
  }

  #header .menu {
    padding: 84px 20px 189px;
  }

  #header .menu .social-link,
  #header .menu p {
    left: 20px;
  }

  #header h1 {
    padding: 17px 56px;
    font-size: 1.175rem;
    line-height: 1.3;
  }

  /* 일반 링크만 한 줄 말줄임 (브랜드 타이틀은 .blog-title-brand로 두 줄) */
  #header h1 a:not(.blog-title-brand) {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #header h1 a.blog-title-brand {
    font-size: 1em;
  }

  #header .search {
    top: 10px;
    right: 1px;
  }

  #header .search.on {
    position: absolute;
    top: 60px;
    left: 0;
    right: auto;
    z-index: 100;
    width: 100%;
    padding: 10px 18px 10px 17px;
    border: 0;
    background-color: #fff;
    box-sizing: border-box;
  }

  #header .search.on input {
    border-bottom: 1px solid #000;
  }

  #header .search.on button {
    top: -50px;
    right: 1px;
  }

  #content .guest_inner,
  #content>.inner {
    padding: 0 18px;
  }

  .post-header {
    padding: 20px 18px;
  }

  .cover-thumbnail-list {
    padding: 40px 18px 65px;
  }

  .cover-thumbnail-list ul li,
  .related-articles ul li {
    width: 48.591549295774648%;
    padding-left: 2.816901408450704%;
  }

  .cover-thumbnail-list ul li:nth-child(odd),
  .related-articles ul li:nth-child(odd) {
    clear: both;
    padding-left: 0;
  }

  .cover-slider ul li {
    width: 100%;
    box-sizing: border-box;
  }

  .cover-slider ul li .title {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 5.2em;
    padding: 0 18px;
    font-size: 2.125em;
  }

  .cover-slider .prev {
    top: auto;
    bottom: 0;
    left: 0;
  }

  .cover-slider .next {
    top: auto;
    right: 0;
    bottom: 0;
  }

  .cover-masonry {
    padding: 60px 18px 81px;
  }

  .cover-masonry ul li {
    float: none;
    width: 100%;
  }

  .cover-masonry ul li .category,
  .cover-list ul li .category {
    margin-bottom: 8px;
  }

  .cover-thumbnail-list ul li .title,
  .related-articles ul li .title,
  .cover-list ul li .title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 4.2em;
    line-height: 1.4;
  }

  .cover-list {
    padding: 30px 18px 80px;
  }

  .cover-list h2 {
    margin: 30px 0 0 0;
  }

  .cover-list ul li a {
    min-height: 98px;
  }

  .cover-list ul li figure {
    width: 113px;
    height: 113px;
    margin: 0 0 0 18px;
  }

  .cover-list ul li .title {
    -webkit-line-clamp: 2;
    margin-bottom: 3px;
    padding-top: 6px;
    font-size: 1em;
  }

  .cover-list ul li .category {
    display: none;
  }

  .cover-list ul li .excerpt {
    -webkit-line-clamp: 2;
    font-size: 0.8125em;
    line-height: 1.5;
  }

  .cover-gallery {
    padding: 60px 18px 130px;
  }

  .cover-gallery ul li {
    width: 50%;
  }

  .post-item a {
    min-height: 100px;
  }

  .post-item .thum {
    max-width: 113px;
    margin-left: 18px;
  }

  .post-item .thum img {
    width: auto;
    height: 113px;
    margin: 0 0 0 -16.5px;
  }

  .post-item .title {
    line-height: 1.2;
  }

  .post-item .excerpt {
    -webkit-line-clamp: 2;
  }

  .post-type-thumbnail .post-item {
    width: 48.591549295774648%;
    margin-bottom: 26px;
    padding-left: 2.816901408450704%;
  }

  .post-type-thumbnail .post-item:nth-child(4n+1) {
    padding-left: 2.816901408450704%;
  }

  .post-type-thumbnail .post-item:nth-child(2n+1) {
    clear: both;
    padding-left: 0%;
  }

  .post-type-thumbnail .post-item .title {
    -webkit-line-clamp: 3;
    height: auto;
    max-height: 4.125em;
  }

  .entry-content .table-wrap {
    overflow: auto;
    width: 100%;
  }

  .entry-content table {
    width: 680px;
    table-layout: fixed;
  }

  .entry-content .protected_form input {
    display: block;
    width: 160px;
    margin: 0 auto 10px;
  }

  .pagination {
    padding: 0 18px;
  }

  .pagination a {
    display: none;
  }

  .pagination .current {
    display: block;
    font-size: 0.875em;
    line-height: 50px;
  }

  .pagination .prev {
    display: block;
    float: left;
    margin: 0;
  }

  .pagination .next {
    display: block;
    float: right;
    margin: 0;
  }

  .another-category table th {
    display: block;
    padding: 0;
  }

  .another-category table td {
    display: block;
    margin-bottom: 19px;
  }

  .comments .comment-list {
    margin-bottom: 10px;
    margin-top: 10px;
    border-top: 1px solid #e6e6e6;
  }

  .comments .comment-list ul li {
    padding-bottom: 0;
  }

  .comments .comment-list ul li ul {
    border-top: 1px solid #e6e6e6;
  }

  .comments .comment-list ul li ul li {
    padding: 20px 0 0 48px;
  }

  .comments .comment-list ul li ul li:before {
    content: "";
    position: absolute;
    top: 34px;
    left: 18px;
    width: 12px;
    height: 12px;
    background: url(./images/ico_package.png) no-repeat 0 -150px;
  }

  .comments .comment-list ul li .author-meta,
  .comments .comment-list ul li ul li .author-meta {
    position: relative;
    top: 0;
    left: 0;
  }

  .comments .comment-list ul li .author-meta img {
    position: absolute;
    top: 0;
    left: 0;
  }

  .comments .comment-list ul li .author-meta .nickname,
  .comments .comment-list ul li .author-meta .date {
    display: block;
    float: none;
    line-height: 1.5;
  }

  .comments .comment-list ul li .author-meta .nickname .tistoryProfileLayerTrigger {
    margin-bottom: 4px;
  }

  .comments .comment-list ul li .author-meta .date {
    margin-left: 0;
    margin-top: 2px;
  }

  .comments .comment-list ul li .author-meta .date::before {
    display: none;
  }

  .comments .comment-list ul li p {
    margin: 14px 0 0;
  }

  .comments .comment-list ul li .control {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    margin: 9px 0 18px -2px;
  }

  .comments .comment-list ul li ul li .control {
    top: auto;
  }

  .comments .comment-form input[type=text],
  .comments .comment-form input[type=password] {
    width: 100px;
  }

  .comments .comment-form .field .secret {
    margin-left: 0;
  }

  .comments .comment-form .field .secret label:before {
    margin-right: 5px;
  }

  .comments .comment-form .field .submit {
    display: block;
    float: none;
    margin: 60px auto 0;
  }
}

.revenue_unit_wrap.position_list {
  max-width: 860px;
  margin: 30px auto
}

.guest_inner .tt-comment-cont {
  padding-top: 40px;
}

.tt-comment-cont .tt-box-total .tt_txt_g {
  font-size: 14px;
}

.tt-comment-cont .tt-box-total .tt_num_g {
  font-size: 14px;
}

.tt-comment-cont .tt-wrap-cmt .tt-link-user {
  font-size: 14px;
}

.tt-comment-cont .tt-wrap-cmt .tt_desc {
  font-size: 14px;
  color: #666;
}

.tt-comment-cont .tt-txt-mention {
  color: #666;
}

.tt-comment-cont .tt-btn_register {
  width: 158px;
  height: 50px;
  background-color: #fff;
  color: #222;
  border-radius: 0;
  border-color: #DCDCDC;
}

.tt-comment-cont .tt-btn_register:hover {
  background-color: #fff;
  border-color: #222;
}

.tt-comment-cont .tt-btn_register:focus {
  background-color: #fff;
  border-color: #222;
}

/* 전체 공통 */
#article-view {
  margin: 0;
  padding: 20px 20px 50px;
  word-wrap: break-word;
  color: #333;
  min-height: 370px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Apple SD Gothic Neo", Arial, sans-serif;
  -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.62em;
  line-height: 1.46;
}

#article-view h3[data-ke-size] {
  font-size: 1.44em;
  line-height: 1.48;
}

#article-view h4[data-ke-size] {
  font-size: 1.25em;
  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.75;
}

#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-weight: normal;
  letter-spacing: -1px;
  color: #000;
  margin: 1em 0 20px;
}

#article-view p+p, #article-view p {
  margin-bottom: 30px;
}

#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: 10px;
}

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

#article-view div[data-ke-type='moreLess'] {
  caret-color: auto;
  background-color: #fafafa;
  padding: 20px 20px 22px;
  margin: 20px 0;
  border: 1px dashed #dddddd;
  color: #333333;
}

#article-view a {
  color: #0070d1;
  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.12em;
  color: #333;
  line-height: 1.67;
  border: 0 none;
  font-family: "Noto Serif KR";
}

#article-view blockquote[data-ke-style='style2'] {
  border-color: #d0d0d0;
  border-width: 0 0 0 4px;
  border-style: solid;
  padding: 1px 0 0 12px;
  color: #666;
  line-height: 1.75;
  font-size: 1em;
  text-align: left;
}

#article-view blockquote[data-ke-style='style3'] {
  border: 1px solid #dddddd;
  background-color: #fcfcfc;
  text-align: left;
  padding: 21px 25px 20px 25px;
  color: #666;
  font-size: 1em;
  line-height: 1.75;
}

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

/* 첨부: 공통 */

/* 이미지 클릭 관련 - lightbox */
#article-view span[data-lightbox] {
  cursor: pointer;
}

/* 첨부: 파일 */
#article-view figure.fileblock {
  width: 470px;
  height: 73px;
  box-sizing: border-box;
  position: relative;
  border-radius: 1px;
  margin-top: 20px;
  margin-bottom: 0px;
  box-shadow: 0 1px 4px 0 rgb(0 0 0 / 7%);
  border: solid 1px rgba(0, 0, 0, 0.1);
}

#article-view figure.fileblock a {
  display: block;
}

#article-view figure.fileblock .image {
  float: left;
  width: 30px;
  height: 30px;
  background-image: url('https://t1.daumcdn.net/tistory_admin/static/manage/post-editor/img_editor_content.svg');
  margin: 22px 17px 21px 22px;
  background-position: 0 0;
}

#article-view figure.fileblock .desc {
  position: absolute;
  left: 70px;
  right: 60px;
  top: 4px;
  bottom: 0;
}

#article-view figure.fileblock .filename {
  color: #333333;
  font-size: 14px;
  text-overflow: ellipsis;
  width: 100%;
  height: 20px;
  margin: 16px 0 0;
}

#article-view figure.fileblock .size {
  font-family: Pretendard-Regular;
  font-size: 12px;
  color: #777;
  height: 16px;
}

#article-view figure[data-ke-align=alignCenter].fileblock {
  margin-left: auto;
  margin-right: auto;
}

#article-view figure[data-ke-align=alignRight].fileblock {
  margin-left: auto;
}

#article-view figure.fileblock .name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 272px;
  height: 20px;
  display: block;
}

#article-view figure.fileblock a::after {
  content: '';
  background-image: url('https://t1.daumcdn.net/tistory_admin/static/manage/post-editor/img_editor_content.svg');
  background-position: -40px 0;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 24px;
  top: 19px;
}

/* 첨부: 이미지 */
#article-view figure.imageblock {
  display: table;
  position: relative;
}

#article-view figure.imageblock.alignLeft {
  text-align: left;
}

#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.floatLeft {
  float: left;
  margin-right: 20px;
}

#article-view figure.imageblock.floatRight {
  float: right;
  margin-left: 20px;
}

#article-view figure.imageblock.widthContent {
  display: block;
}

#article-view figure.imageblock.widthContent img {
  width: 100%;
}

#article-view figure.imageblock.floatLeft figcaption,
#article-view figure.imageblock.floatRight figcaption {
  text-align: left;
}

#article-view figure.imageblock img {
  display: inline-block;
  max-width: 100%;
  margin: 0;
  height: auto;
}

#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 img {
  display: inline-block;
}

#article-view figure.imagegridblock+figure.imagegridblock,
#article-view figure.imagegridblock+figure.imageblock,
#article-view figure.imageblock+figure.imagegridblock {
  margin-top: 10px;
}

/* 캡션 텍스트 */
#article-view figure figcaption {
  font-size: 13px;
  color: #777;
  word-break: break-word;
  padding-top: 10px;
  min-height: 20px;
  caption-side: bottom;
  text-align: center;
  caret-color: auto;
  width: 100%;
  box-sizing: content-box;
}

/* 첨부: 이미지 그리드 */
#article-view figure.imagegridblock {
  position: relative;
  caret-color: transparent;
  background-color: transparent;
  width: 100%;
  height: auto;
  margin: 20px 0 0 0;
}

#article-view figure.imagegridblock .image-container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
}

#article-view figure.imagegridblock .image-container>span {
  margin-right: 0;
  margin-top: 2px;
}

#article-view figure.imagegridblock img {
  margin: 0;
  height: inherit;
}

#article-view figure.imagegridblock span img {
  width: 100%;
}

hr[data-ke-style],
#article-view hr[data-ke-style] {
  border: none;
  font-size: 0;
  line-height: 0;
  margin: 20px auto;
  background: url(https://t1.daumcdn.net/keditor/dist/0.7.21/image/divider-line.svg);
  background-size: 200px 420px;
  cursor: default !important;
}

hr[data-ke-style='style1'],
#article-view hr[data-ke-style='style1'] {
  background-position: center 0;
  width: 64px;
  height: 4px;
  padding: 20px;
}

hr[data-ke-style='style2'],
#article-view hr[data-ke-style='style2'] {
  background-position: center -48px;
  width: 64px;
  height: 3px;
  padding: 20px;
}

hr[data-ke-style='style3'],
#article-view hr[data-ke-style='style3'] {
  background-position: center -96px;
  width: 64px;
  height: 8px;
  padding: 18px 20px;
}

hr[data-ke-style='style4'],
#article-view hr[data-ke-style='style4'] {
  background-position: center -144px;
  width: 2px;
  height: 60px;
  padding: 0 51px;

}

hr[data-ke-style='style4']+hr[data-ke-style='style4'],
#article-view hr[data-ke-style='style4']+hr[data-ke-style='style4'] {
  margin-top: 0;
}

hr[data-ke-style='style5'],
#article-view hr[data-ke-style='style5'] {
  background-position: center -208px;
  background-repeat: repeat-x;
  height: 2px;
  padding: 21px 0;
}

hr[data-ke-style='style6'],
#article-view hr[data-ke-style='style6'] {
  background-position: center -256px;
  background-repeat: repeat-x;
  height: 2px;
  padding: 21px 0;
}

hr[data-ke-style='style7'],
#article-view hr[data-ke-style='style7'] {
  background-position: center -304px;
  width: 200px;
  height: 19px;
  padding: 18px 20px 17px 20px;
}

hr[data-ke-style='style8'],
#article-view hr[data-ke-style='style8'] {
  background-position: center -362px;
  width: 200px;
  height: 19px;
  padding: 18px 20px 17px 20px;
}

/* 테이블 */
#article-view table[data-ke-style] {
  margin-bottom: 0px;
}

#article-view table {
  margin-bottom: 0px;
  border-color: #ddd;
}

#article-view table tbody tr {
  box-sizing: content-box;
}

#article-view table td {
  word-break: break-word;
  padding: 8px;
  font-size: 15px;
}

#article-view table[data-ke-style='style1'] tr:first-child td {
  border-bottom: 1px solid #6ed3d8;
}

#article-view table[data-ke-style='style2'] tr:first-child td {
  border-bottom: 1px solid #008300;
}

#article-view table[data-ke-style='style3'] tr:first-child td {
  border-bottom: 1px solid #006dbe;
}

#article-view table[data-ke-style='style4'] tr:nth-child(2n) td {
  background-color: #f9f9f9;
}

#article-view table[data-ke-style='style5'] tr:nth-child(2n) td {
  background-color: #f8fbfb;
}

#article-view table[data-ke-style='style6'] tr:nth-child(2n) td {
  background-color: #f5f7f5;
}

#article-view table[data-ke-style='style7'] tr:nth-child(2n) td {
  background-color: #f6f8fb;
}

#article-view table[data-ke-style='style8'] tr:first-child td {
  border-bottom: 2px solid #797979;
}

#article-view table[data-ke-style='style8'] {
  border-left: 0 none;
  border-right: 0 none;
}

#article-view table[data-ke-style='style8'] td {
  border-right-color: transparent;
  border-left-color: transparent;
}

#article-view table[data-ke-style='style9'] tr:first-child td {
  border-bottom: 2px solid #6ed3d8;
}

#article-view table[data-ke-style='style9'] {
  border-left: 0 none;
  border-right: 0 none;
}

#article-view table[data-ke-style='style9'] td {
  border-right-color: transparent;
  border-left-color: transparent;
}

#article-view table[data-ke-style='style10'] tr:first-child td {
  border-bottom: 2px solid #008300;
}

#article-view table[data-ke-style='style10'] {
  border-left: 0 none;
  border-right: 0 none;
}

#article-view table[data-ke-style='style10'] td {
  border-right-color: transparent;
  border-left-color: transparent;
}

#article-view table[data-ke-style='style11'] tr:first-child td {
  border-bottom: 2px solid #2780d4;
}

#article-view table[data-ke-style='style11'] {
  border-left: 0 none;
  border-right: 0 none;
}

#article-view table[data-ke-style='style11'] td {
  border-right-color: transparent;
  border-left-color: transparent;
}

#article-view table[data-ke-style='style12'] tr:nth-child(odd) td {
  background-color: #f9f9f9;
}

#article-view table[data-ke-style='style12'] tr td:first-child {
  background-color: #efefef;
}

#article-view table[data-ke-style='style12'] tr:first-child td {
  background-color: #9b9b9b;
  border: 1px solid #888;
  color: #fff;
}

#article-view table[data-ke-style='style13'] tr:nth-child(odd) td {
  background-color: #f9f9f9;
}

#article-view table[data-ke-style='style13'] tr td:first-child {
  background-color: #efefef;
}

#article-view table[data-ke-style='style13'] tr:first-child td {
  background-color: #6ed3d8;
  border: 1px solid #5cbcc1;
  color: #fff;
}

#article-view table[data-ke-style='style14'] tr:nth-child(odd) td {
  background-color: #f9f9f9;
}

#article-view table[data-ke-style='style14'] tr td:first-child {
  background-color: #efefef;
}

#article-view table[data-ke-style='style14'] tr:first-child td {
  background-color: #008300;
  border: 1px solid #006d00;
  color: #fff;
}

#article-view table[data-ke-style='style15'] tr:nth-child(odd) td {
  background-color: #f9f9f9;
}

#article-view table[data-ke-style='style15'] tr td:first-child {
  background-color: #efefef;
}

#article-view table[data-ke-style='style15'] tr:first-child td {
  background-color: #2780d4;
  border: 1px solid #1568b7;
  color: #fff;
}

#article-view table[data-ke-style='style16'],
#article-view table[data-ke-style='style16'] tr,
#article-view table[data-ke-style='style16'] tr td {
  border-color: transparent;
}

/* 오픈 그래프 */
#article-view figure[data-ke-type='opengraph'] {
  margin: 10px 0;
}

#article-view figure[data-ke-type='opengraph'] a {
  box-sizing: initial;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.07);
  border: solid 1px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #000;
}

#article-view figure[data-ke-type='opengraph'] a:hover {
  opacity: 1;
}

#article-view figure[data-ke-type='opengraph'] div.og-image {
  border-right: solid 1px rgba(0, 0, 0, 0.06);
  width: 200px;
  height: 200px;
  background-size: cover;
  background-position: center;
}

#article-view figure[data-ke-type='opengraph'] div.og-image button {
  display: none;
}

#article-view figure[data-ke-type='opengraph']:hover div.og-image button {
  cursor: pointer;
  border: none;
  display: block;
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: #000;
  width: 15px;
  height: 15px;
}

#article-view figure[data-ke-type='opengraph'] p.og-title {
  color: #000000;
  font-size: 22px;
  padding-bottom: 10px;
  max-width: 467px;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0px;
  overflow: hidden;
  font-family: Pretendard-Regular;
}

#article-view figure[data-ke-type='opengraph'] .og-desc {
  margin: 0px;
  max-width: 467px;
  text-overflow: ellipsis;
  overflow: hidden;
  font-family: Pretendard-Regular;
  font-size: 14px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #909090;
  max-height: 42px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
}

@media (max-width: 600px) {
  #article-view figure[data-ke-type='opengraph'] a {
    height: 90px;
  }

  #article-view figure[data-ke-type='opengraph'] a::before {
    left: 44px;
  }

  #article-view figure[data-ke-type='opengraph'] div.og-image {
    width: 90px;
    height: 90px;
  }

  #article-view figure[data-ke-type='opengraph'] div.og-text {
    padding: 13px 12px 0 20px;
    height: 90px;
  }

  #article-view figure[data-ke-type='opengraph'] div.og-text p.og-title {
    font-size: 16px;
    -webkit-line-clamp: 1;
  }

  #article-view figure[data-ke-type='opengraph'] div.og-text p.og-desc {
    display: none;
  }

  #article-view figure[data-ke-type='opengraph'] div.og-text p.og-host {
    bottom: 10px;
  }
}

/* 비디오 첨부 */
#article-view figure[data-ke-type='video'] {
  display: block;
  table-layout: fixed;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  color: #bdbdbd;
  font-size: 16px;
  line-height: 30px;
}

#article-view figure[data-ke-type='video'][data-ke-style='alignLeft'] {
  text-align: left;
}

#article-view figure[data-ke-type='video'][data-ke-style='alignCenter'] {
  margin: 20px auto 0;
  text-align: center;
}

#article-view figure[data-ke-type='video'][data-ke-style='alignRight'] {
  text-align: right;
  margin-left: auto;
}

#article-view figure[data-ke-type='video'] img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

#article-view figure[data-ke-type='video'][data-video-host] iframe {
  margin: 0px;
  display: block;
}

#article-view figure[data-ke-type='video']>iframe[width='0'][height='0'] {
  width: 860px;
  height: 484px;
  max-width: 100%;
}

/* 코드 블럭 */
#article-view pre code.hljs {
  font-size: 14px;
  padding: 20px;
  font-family: SF Mono, Menlo, Consolas, Monaco, monospace;
  border: solid 1px #ebebeb;
  line-height: 1.71;
  overflow: auto;
}

/* 접은 글 */
#article-view .moreless-content :first-child {
  margin-top: 0;
  margin-bottom: 0;
}

#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: #909090;
  font-size: 16px;
  line-height: 26px;
  font-family: Pretendard-Regular, sans-serif;
  cursor: pointer;
  text-decoration: none;
}

/* 리스트 */
#article-view ul li,
#article-view ol li {
  margin: 0 0 0 10px;
  line-height: 1.7;
}

#article-view ul,
#article-view ol {
  margin: 14px auto 24px;
  padding: 0 0 0 10px;
}

/* 이모티콘 */
#article-view figure[data-ke-type=emoticon][data-ke-align=alignCenter] {
  text-align: center;
}

#article-view figure[data-ke-type=emoticon][data-ke-align=alignLeft] {
  text-align: left;
}

#article-view figure[data-ke-type=emoticon][data-ke-align=alignRight] {
  text-align: right;
}

/* 지도 */
#article-view figure[data-ke-type='map'],
#article-view iframe[data-ke-type='map'] {
  display: block;
  margin: 0 auto;
}

/* 첨부: 이미지 슬라이드 */
#article-view figure.imageslideblock {
  clear: both;
  position: relative;
  font-size: 0;
  outline: 0 none;
}

#article-view figure.imageslideblock .btn {
  display: none;
  outline: none;
}

#article-view figure.imageslideblock.ready .btn {
  display: inline-block;
}

#article-view figure.imageslideblock.ready .mark {
  opacity: 1;
}

#article-view figure.imageslideblock div.image-container {
  position: relative;
  min-width: 480px;
  max-width: 100%;
  min-height: 300px;
  max-height: 860px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
}

#article-view figure.imageslideblock div.image-container span.image-wrap {
  display: none;
}

#article-view figure.imageslideblock div.image-container span.image-wrap.selected {
  display: inline;
}

#article-view figure.imageslideblock div.image-container img {
  max-width: 100%;
  max-height: 100%;
}

#article-view figure.imageslideblock div.image-container .btn {
  position: absolute;
  border: 0;
  background: transparent;
  width: 60px;
  height: 60px;
  top: 50%;
  margin-top: -20px;
}

#article-view figure.imageslideblock div.image-container .btn-prev {
  left: 0;
}

#article-view figure.imageslideblock div.image-container .btn-next {
  right: 0;
}

#article-view figure.imageslideblock div.image-container:hover .btn span {
  opacity: 0.3;
}

#article-view figure.imageslideblock div.image-container .btn span {
  background-image: url('https://t1.daumcdn.net/tistory_admin/static/manage/post-editor/img_editor_content.svg');
  text-indent: -10000px;
  overflow: hidden;
  width: 40px;
  height: 40px;
  opacity: 0;
  transition: opacity ease-in-out 0.2s;
  display: inline-block;
}

#article-view figure.imageslideblock div.image-container .btn:hover span {
  opacity: 1;
}

#article-view figure.imageslideblock div.image-container .btn .ico-prev {
  background-position: -220px 0;
}

#article-view figure.imageslideblock div.image-container .btn .ico-next {
  background-position: -260px 0;
}

#article-view figure.imageslideblock div.mark {
  display: block;
  height: 44px;
  text-align: center;
  opacity: 0;
  transition: opacity ease-in-out 0.2s;
}

#article-view figure.imageslideblock div.mark span {
  width: 30px;
  height: 4px;
  display: inline-block;
  margin: 20px 1px;
  background-color: #d6d6d6;
  text-indent: -10000px;
  overflow: hidden;
  cursor: pointer;
}

#article-view figure.imageslideblock div.mark span:first-child {
  background-color: #000;
  margin-left: 0;
}

#article-view figure.imageslideblock div.mark span:last-child {
  margin-right: 0;
}

#article-view figure.imageslideblock figcaption {
  text-align: center;
  color: #666;
  font-size: 14px;
}

#article-view figure.imageslideblock.alignLeft {
  text-align: left;
}

#article-view figure.imageslideblock.alignCenter {
  margin: 0 auto 20px;
  text-align: center;
}

#article-view figure.imageslideblock.alignRight {
  text-align: right;
  margin-left: auto;
}

@media (max-width: 600px) {
  #article-view figure.imageslideblock div.image-container {
    min-width: 100%;
    width: 100%;
    max-height: 100%;
  }

  #article-view figure.imageslideblock div.image-container .btn span {
    opacity: 0.3;
  }
}

/* 구 에디터 속성 */
.btn_more, .btn_less {
  border: 0;
  background: transparent;
  display: block;
  height: 21px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 14px;
  color: #888;
  position: relative;
  width: 100%;
  text-align: left;
}

.btn_less::before,
.btn_more::before {
  content: "...";
  display: inline-block;
  padding-right: 5px;
  font-size: 14px;
  line-height: 6px;
  vertical-align: top;
}

.box-timeline-content {
  word-break: break-all;
}


/* ================================================================
 * DESIGN SYSTEM — 세련된 블로그 콘텐츠 컴포넌트
 * ================================================================ */

/* ── 1. 기반 타이포그래피 개선 ──────────────────────────────────── */

body {
  line-height: var(--leading-normal);
  font-family: var(--font-base);
  color: var(--text-primary);
  background-color: var(--surface-page);
}

/* 포스트 헤더 영역 */
.hgroup {
  max-width: var(--content-width);
  margin: 3rem auto 3.5rem;
  padding: 0 0 1.75rem;
  border-bottom: 1px solid var(--border);
}

.hgroup .category {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  background: var(--color-primary-50);
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-base);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hgroup h1 {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: var(--fw-bold);
  font-size: var(--text-3xl);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hgroup .post-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.hgroup .post-meta span:before {
  content: "·";
  display: inline;
  width: auto;
  height: auto;
  margin: 0 0.35rem 0 0;
  background: none;
  vertical-align: baseline;
}

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

/* entry-content 타이포그래피 */
.entry-content {
  max-width: var(--content-width);
  margin: 0 auto;
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.entry-content h1 {
  margin: 2.5rem 0 1rem;
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.entry-content h2 {
  margin: 2.75rem 0 1rem;
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  line-height: var(--leading-snug);
  letter-spacing: -0.015em;
  color: var(--text-primary);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--color-primary-100);
}

.entry-content h3 {
  margin: 2rem 0 0.75rem;
  font-weight: var(--fw-semibold);
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.entry-content h4 {
  margin: 1.75rem 0 0.6rem;
  font-weight: var(--fw-semibold);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  color: var(--text-primary);
}

.entry-content p {
  margin-bottom: 1.25rem;
  line-height: var(--leading-relaxed);
}

.entry-content ul,
.entry-content ol {
  margin: 0.25rem 0 1.25rem 1.5rem;
  padding: 0;
}

.entry-content ul li {
  list-style: disc;
  margin-bottom: 0.4rem;
  line-height: var(--leading-relaxed);
  padding-left: 0.25rem;
  text-indent: 0;
  position: static;
}

.entry-content ul li:before {
  display: none;
}

.entry-content ol li {
  list-style: decimal;
  margin-bottom: 0.4rem;
  line-height: var(--leading-relaxed);
  padding-left: 0.25rem;
  text-indent: 0;
  position: static;
}

.entry-content a {
  color: var(--text-link);
  text-decoration: underline;
  text-decoration-color: var(--color-primary-200);
  text-underline-offset: 2px;
  transition: color var(--ease-fast);
}

.entry-content a:hover {
  color: var(--text-link-hover);
  text-decoration-color: var(--color-primary);
}

.entry-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--surface-subtle);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-secondary);
  font-style: italic;
}

.entry-content blockquote p {
  margin: 0;
  line-height: var(--leading-normal);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: var(--text-sm);
}

.entry-content table thead th {
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  border-bottom: 2px solid var(--border-strong);
  text-align: left;
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.entry-content table tbody td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  line-height: var(--leading-normal);
}

.entry-content table tbody tr:hover td {
  background: var(--surface-hover);
}

/* #article-view 기반 개선 */
#article-view {
  padding: 2rem 1.5rem 3.5rem;
  font-family: var(--font-base);
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-md);
}

#article-view h2,
#article-view h3,
#article-view h4 {
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

#article-view p+p,
#article-view p {
  margin-bottom: 1.25rem;
  line-height: var(--leading-relaxed);
}

/* ── 2. 레이아웃 컨테이너 ────────────────────────────────────────── */

.main-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--sp-8) var(--sp-6);
  font-family: var(--font-base);
  color: var(--text-primary);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
}

.section {
  margin-bottom: var(--sp-12);
  scroll-margin-top: 1.5rem;
}

.section h1:first-child {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.025em;
  margin-top: 0;
  margin-bottom: var(--sp-4);
  color: var(--text-primary);
}

.section h2:first-child {
  margin-top: 0;
}

.section > h2 {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  line-height: var(--leading-snug);
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--color-primary-100);
}

.section > h3 {
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}

.section > p {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
}

.section > p .subtitle {
  color: var(--text-secondary);
  font-size: var(--text-lg);
}

p.subtitle {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  margin-bottom: var(--sp-6);
}

/* ── 3. 목차 / 태그 ──────────────────────────────────────────────── */

.quick-links {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-5) var(--sp-6);
  margin: var(--sp-6) 0;
}

.quick-links h3 {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 var(--sp-3) 0;
}

.quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: var(--sp-6);
}

.quick-links ul li {
  margin-bottom: var(--sp-2);
  font-size: var(--text-sm);
  line-height: 1.5;
  break-inside: avoid;
  padding-left: 0;
}

.quick-links ul li::before {
  display: none;
}

.quick-links ul li a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--ease-fast);
}

.quick-links ul li a:hover {
  text-decoration: underline;
}

.quick-links ul li.indent-1 {
  padding-left: var(--sp-4);
}

.quick-links ul li.indent-0 {
  padding-left: 0;
}

.tag-cloud {
  margin: var(--sp-4) 0;
}

.tag-cloud h3 {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 var(--sp-3) 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.tag-list .tag {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  background: var(--surface-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--ease-fast);
}

.tag-list .tag:hover {
  background: var(--color-primary-50);
  border-color: var(--color-primary-200);
  color: var(--color-primary);
}

/* ── 4. 뱃지 시스템 ─────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2em 0.7em;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
}

.badge-primary   { background: var(--color-primary-100);  color: var(--color-primary-700); }
.badge-success   { background: var(--color-success-100);  color: var(--color-success-800); }
.badge-warning   { background: var(--color-warning-100);  color: var(--color-warning-800); }
.badge-danger    { background: var(--color-danger-100);   color: var(--color-danger-800);  }
.badge-info      { background: var(--color-info-100);     color: var(--color-info-800);    }
.badge-secondary { background: var(--gray-100);           color: var(--gray-600);          }
.badge-dark      { background: var(--gray-800);           color: var(--gray-100);          }
.badge-light     { background: var(--gray-100);           color: var(--gray-500);          }

.badge-outline               { background: transparent; }
.badge-outline.badge-outline-primary   { border: 1px solid var(--color-primary);  color: var(--color-primary);  }
.badge-outline.badge-outline-success   { border: 1px solid var(--color-success);  color: var(--color-success);  }
.badge-outline.badge-outline-warning   { border: 1px solid var(--color-warning);  color: var(--color-warning);  }
.badge-outline.badge-outline-danger    { border: 1px solid var(--color-danger);   color: var(--color-danger);   }
.badge-outline.badge-outline-secondary { border: 1px solid var(--border-strong);  color: var(--text-secondary); }

.badge-xs  { font-size: 0.65rem;       padding: 0.15em 0.5em; }
.badge-sm  { font-size: var(--text-xs); }
.badge-md  { font-size: var(--text-sm); padding: 0.3em 0.9em; }
.badge-lg  { font-size: var(--text-base); padding: 0.35em 1em; }
.badge-xl  { font-size: var(--text-md); padding: 0.4em 1.1em; }

.badge-pill { border-radius: var(--radius-full); }
.badge-soft { opacity: 0.8; }

.badge-dot::before {
  content: '';
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: currentColor;
  margin-right: 0.4em;
  vertical-align: middle;
}

/* ── 5. 알림 박스 ────────────────────────────────────────────────── */

.alert-success,
.alert-warning,
.alert-danger,
.alert-info {
  display: block;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-md);
  margin: var(--sp-4) 0;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  border-left: 4px solid;
}

.alert-success { background: var(--color-success-50); border-left-color: var(--color-success); color: var(--color-success-800); }
.alert-warning { background: var(--color-warning-50); border-left-color: var(--color-warning); color: var(--color-warning-800); }
.alert-danger  { background: var(--color-danger-50);  border-left-color: var(--color-danger);  color: var(--color-danger-800);  }
.alert-info    { background: var(--color-info-50);    border-left-color: var(--color-info);    color: var(--color-info-800);    }

/* ── 6. 정보 박스 ────────────────────────────────────────────────── */

.info-box {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-lg);
  margin: var(--sp-6) 0;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  border-left: 4px solid var(--border-strong);
  background: var(--surface-subtle);
  color: var(--text-secondary);
}

.info-box.blue {
  background: var(--color-primary-50);
  border-left-color: var(--color-primary);
  color: var(--color-primary-800);
}

.info-box.gray {
  background: var(--gray-50);
  border-left-color: var(--gray-400);
  color: var(--gray-700);
}

.info-box.green {
  background: var(--color-success-50);
  border-left-color: var(--color-success);
  color: var(--color-success-800);
}

.info-box.yellow {
  background: var(--color-warning-50);
  border-left-color: var(--color-warning);
  color: var(--color-warning-800);
}

.info-box.red {
  background: var(--color-danger-50);
  border-left-color: var(--color-danger);
  color: var(--color-danger-800);
}

/* ── 7. 하이라이트 박스 ──────────────────────────────────────────── */

.highlight-box {
  background: linear-gradient(135deg, var(--color-primary-50) 0%, #F0F9FF 100%);
  border: 1px solid var(--color-primary-200);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-xl);
  padding: var(--sp-6) var(--sp-6);
  margin: var(--sp-6) 0;
}

.highlight-box .title,
.highlight-box > h3 {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-primary-700);
  margin: 0 0 var(--sp-3) 0;
  line-height: var(--leading-snug);
}

.highlight-box > p {
  color: var(--gray-700);
  margin-bottom: var(--sp-2);
  line-height: var(--leading-normal);
  font-size: var(--text-sm);
}

.highlight-box > p:last-child {
  margin-bottom: 0;
}

/* ── 8. 콜아웃 박스 ──────────────────────────────────────────────── */

.callout-box {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-5);
  border-radius: var(--radius-xl);
  margin: var(--sp-6) 0;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}

.callout-box .callout-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}

.callout-box .callout-content {
  flex: 1;
  min-width: 0;
}

.callout-box .callout-content h3 {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  margin: 0 0 var(--sp-2) 0;
  color: var(--text-primary);
}

.callout-box .callout-content p {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  margin: 0;
  color: var(--text-secondary);
}

.callout-box.info    { background: var(--color-primary-50);  border-color: var(--color-primary-200); }
.callout-box.warning { background: var(--color-warning-50);  border-color: var(--color-warning-100); }
.callout-box.tip     { background: var(--color-success-50);  border-color: var(--color-success-100); }
.callout-box.danger  { background: var(--color-danger-50);   border-color: var(--color-danger-100);  }

/* ── 9. 전략 그리드 ─────────────────────────────────────────────── */

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
}

.strategy-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
}

.strategy-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--ease), transform var(--ease);
}

.strategy-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.strategy-card > h3 {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-primary-700);
  margin: 0 0 var(--sp-3) 0;
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border-light);
}

.strategy-card > p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--sp-3);
}

.strategy-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.strategy-card ul li {
  position: relative;
  font-size: var(--text-sm);
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
  line-height: var(--leading-normal);
}

.strategy-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: var(--fw-bold);
}

/* ── 10. 성과 지표 ──────────────────────────────────────────────── */

.performance-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
}

.metric-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--ease);
}

.metric-card:hover {
  box-shadow: var(--shadow-sm);
}

.metric-card h4 {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-tertiary);
  margin: 0 0 var(--sp-2) 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric-card .metric-value {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--sp-1);
  letter-spacing: -0.02em;
}

.metric-card > p {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin: 0;
}

/* 리밸런싱 기록 — 요약 수치 그룹 */
.summary-metrics {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin: var(--sp-6) 0;
}

.summary-metrics-group {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-5);
}

.summary-metrics-group .group-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  margin: 0 0 var(--sp-4) 0;
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
}

.summary-metrics-group .performance-metrics {
  margin: 0;
}

.summary-metrics-note {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  text-align: center;
  margin: 0;
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
}

.summary-metrics-note strong {
  color: var(--text-primary);
  font-weight: var(--fw-semibold);
}

.summary-metrics-list {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.summary-metrics-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-4);
  margin: 0;
  padding: var(--sp-3) 0;
  border-bottom: 1px dashed var(--border);
  font-size: var(--text-sm);
  line-height: var(--lh-normal);
}

.summary-metrics-row:last-child {
  border-bottom: none;
}

.summary-metrics-row dt {
  flex: 1;
  min-width: 0;
  color: var(--text-secondary);
  font-weight: var(--fw-normal);
}

.summary-metrics-row dd {
  flex-shrink: 0;
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  text-align: right;
}

.summary-metrics-row dd.value--up {
  color: var(--color-danger);
}

.summary-metrics-row dd.value--down {
  color: var(--color-info);
}

.summary-metrics-row--total {
  margin-top: var(--sp-2);
  padding-top: var(--sp-4);
  border-top: 2px solid var(--border);
  border-bottom: none;
  font-size: var(--text-base);
}

.summary-metrics-row--total dt {
  color: var(--text-primary);
  font-weight: var(--fw-semibold);
}

.summary-metrics-row--total dd {
  font-size: var(--text-lg);
}

/* 리밸런싱 기록 — 수치 색상: 상승·하락만 강조, 나머지 기본 텍스트 */
.rebalancing-record .metric-card .metric-value {
  color: var(--text-primary);
}

.rebalancing-record .metric-card .metric-value.value--up {
  color: var(--color-danger);
}

.rebalancing-record .metric-card .metric-value.value--down {
  color: var(--color-info);
}

.rebalancing-record .value--up {
  color: var(--color-danger);
}

.rebalancing-record .value--down {
  color: var(--color-info);
}

.rebalancing-record .badge.badge--up,
.rebalancing-record .badge-outline.badge--up {
  border-color: var(--color-danger);
  color: var(--color-danger);
}

.rebalancing-record .badge.badge--down,
.rebalancing-record .badge-outline.badge--down {
  border-color: var(--color-info);
  color: var(--color-info);
}

/* ── 11. 타임라인 ───────────────────────────────────────────────── */

.timeline {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: var(--sp-2) 0;
  margin: var(--sp-6) 0;
}

.timeline > h3 {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--sp-5) 0;
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
}

.timeline > ul {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.timeline > ul::before {
  content: '';
  position: absolute;
  left: calc(0.15rem + 0.3rem - 1px); /* 점 중심(0.45rem)에 선 중심 정렬 */
  top: calc(0.75rem + 0.3rem);        /* 첫 번째 점 중심에서 시작 */
  bottom: calc(0.75rem + 0.3rem);     /* 마지막 점 중심에서 끝 */
  width: 2px;
  background: var(--color-primary-100);
}

.timeline > ul li {
  position: relative;
  padding: var(--sp-2) var(--sp-2) var(--sp-2) var(--sp-8);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}

.timeline > ul li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 0.75rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--surface-card);
  box-shadow: 0 0 0 2px var(--color-primary-100);
}

/* ── 11-b. 일정 타임라인 (날짜+내용 행 구조) ─────────────────────── */

.timeline-item {
  display: grid;
  grid-template-columns: minmax(9.5rem, 13rem) minmax(0, 1fr);
  column-gap: var(--sp-6);
  align-items: start;
  position: relative;
  padding: var(--sp-3) 0 var(--sp-3) var(--sp-5);
  border-left: 2px solid var(--color-primary-100);
  margin-left: var(--sp-2);
}

.timeline-item:not(:last-child) {
  margin-bottom: var(--sp-1);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -0.45rem;
  top: calc(var(--sp-3) + 0.35rem);
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--surface-card);
  box-shadow: 0 0 0 2px var(--color-primary-100);
  flex-shrink: 0;
}

.timeline-date {
  min-width: 0;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  line-height: var(--leading-snug);
  padding-top: 0.1rem;
}

.timeline-content {
  min-width: 0;
  font-size: var(--text-sm);
  color: var(--text-primary);
  line-height: var(--leading-snug);
}

.timeline-content p {
  margin: 0;
}

.timeline-content p + p {
  margin-top: var(--sp-1);
  color: var(--text-secondary);
}

/* ── 11-c. 매크로 일정 페이지 (.macro-calendar) — 가독성·에디토리얼 톤 ─ */

.entry-content .section.macro-calendar .timeline {
  margin: var(--sp-5) 0;
  padding: 0;
}

.entry-content .section.macro-calendar .timeline-item {
  grid-template-columns: minmax(9.5rem, 13.5rem) minmax(0, 1fr);
  column-gap: var(--sp-5);
  padding: var(--sp-4) 0 var(--sp-4) var(--sp-5);
  border-left: 1px solid var(--border);
  margin-left: 0.25rem;
}

.entry-content .section.macro-calendar .timeline-item::before {
  left: -0.28rem;
  top: calc(var(--sp-4) + 0.4rem);
  width: 0.4375rem;
  height: 0.4375rem;
  background: var(--surface-card);
  border: 2px solid var(--color-primary-700);
  box-shadow: none;
}

.entry-content .section.macro-calendar .timeline-date {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  line-height: var(--leading-snug);
}

.entry-content .section.macro-calendar .timeline-content {
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
}

.entry-content .section.macro-calendar .timeline-content p {
  color: var(--text-primary);
  font-size: inherit;
  line-height: inherit;
}

.entry-content .section.macro-calendar#calendar-tables > h2 {
  margin-bottom: var(--sp-2);
}

.entry-content .section.macro-calendar#calendar-tables > .section {
  margin-top: var(--sp-7);
}

.entry-content .section.macro-calendar#calendar-tables > .section:first-of-type {
  margin-top: var(--sp-4);
}

.entry-content .section.macro-calendar#calendar-tables > .section > h3 {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--sp-3) 0;
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.02em;
}

/* 주차 블록 안 타임라인: 상단 주요일정과 동일 컴포넌트, 세로 간격만 주차 단위로 정리 */
.entry-content .section.macro-calendar#calendar-tables > .section .timeline {
  margin-top: var(--sp-2);
  margin-bottom: 0;
}

.entry-content .section.macro-calendar .comparison-table {
  margin: 0 0 var(--sp-2) 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.entry-content .section.macro-calendar .comparison-table table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.entry-content .section.macro-calendar .comparison-table th {
  padding: 0.5625rem 0.875rem;
  line-height: var(--leading-snug);
  background: transparent;
  border-bottom: 1px solid var(--border);
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--text-tertiary);
  white-space: nowrap;
  vertical-align: middle;
}

.entry-content .section.macro-calendar .comparison-table th.text-center:nth-child(1),
.entry-content .section.macro-calendar .comparison-table td.text-center:nth-child(1) {
  width: 18%;
}

.entry-content .section.macro-calendar .comparison-table th.text-center:nth-child(2),
.entry-content .section.macro-calendar .comparison-table td.text-center:nth-child(2) {
  width: 16%;
}

.entry-content .section.macro-calendar .comparison-table td {
  padding: 0.5625rem 0.875rem;
  line-height: var(--leading-snug);
  font-size: var(--text-base);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.entry-content .section.macro-calendar .comparison-table td.text-center {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
  color: var(--text-secondary);
  font-weight: var(--fw-medium);
}

.entry-content .section.macro-calendar .comparison-table tbody tr:nth-child(even) td {
  background: var(--gray-50);
}

.entry-content .section.macro-calendar .comparison-table tbody tr:hover td {
  background: var(--surface-hover);
}

.entry-content .section.macro-calendar .comparison-table tbody tr:nth-child(even):hover td {
  background: var(--surface-hover);
}

.entry-content .section.macro-calendar .comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* _schedule · 원자료 중요도 별 3개(★★★): HTML에 별 열 없음, 행 전체 굵게·붉은색 */
.entry-content .section.macro-calendar .comparison-table tbody tr.macro-calendar-row--triple td {
  font-weight: var(--fw-bold);
  color: var(--color-danger);
}

.entry-content .section.macro-calendar .comparison-table tbody tr.macro-calendar-row--triple:hover td {
  color: var(--color-danger);
}

.entry-content .section.macro-calendar .timeline-item--priority .timeline-date {
  font-weight: var(--fw-bold);
  color: var(--color-danger);
}

.entry-content .section.macro-calendar .timeline-item--priority .timeline-content,
.entry-content .section.macro-calendar .timeline-item--priority .timeline-content p {
  font-weight: var(--fw-bold);
  color: var(--color-danger);
}

/* ── 12. 투자 금액 ──────────────────────────────────────────────── */

.investment-amount {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  margin: var(--sp-6) 0;
}

.investment-amount > h3 {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--sp-4) 0;
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
}

.investment-amount > p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: var(--text-sm);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.investment-amount > p:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.investment-amount .amount {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

/* ── 13. 혜택 그리드 ─────────────────────────────────────────────── */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
}

.benefit-item {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-5) var(--sp-5);
  box-shadow: var(--shadow-xs);
}

.benefit-item .benefit-icon {
  font-size: 1.75rem;
  margin-bottom: var(--sp-3);
  display: block;
}

.benefit-item h3 {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--sp-2) 0;
}

.benefit-item p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin: 0;
}

/* ── 14. 리스크 섹션 ─────────────────────────────────────────────── */

.risk-section {
  background: var(--color-danger-50);
  border: 1px solid var(--color-danger-100);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  margin: var(--sp-6) 0;
}

.risk-section > h3 {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-danger);
  margin: 0 0 var(--sp-4) 0;
}

.risk-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.risk-section ul li {
  position: relative;
  padding-left: 1.25rem;
  font-size: var(--text-sm);
  color: var(--color-danger-800);
  margin-bottom: var(--sp-2);
  line-height: var(--leading-normal);
}

.risk-section ul li::before {
  content: '⚠';
  position: absolute;
  left: 0;
  font-size: 0.7rem;
  top: 0.2rem;
}

/* ── 16. 단계별 가이드 ───────────────────────────────────────────── */

.step-guide {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: var(--sp-6) 0;
  position: relative;
}

.step-item {
  display: flex;
  gap: var(--sp-4);
  position: relative;
  padding-bottom: var(--sp-6);
}

.step-item:last-child {
  padding-bottom: 0;
}

.step-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 1.3rem;
  top: 2.5rem;
  bottom: 0;
  width: 2px;
  background: var(--color-primary-100);
}

.step-item .step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--text-inverse);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  z-index: 1;
}

.step-item .step-content {
  flex: 1;
  padding-top: 0.4rem;
}

.step-item .step-content h3 {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--sp-2) 0;
}

.step-item .step-content p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin: 0;
}

/* ── 17. 비교표 / 데이터 테이블 ─────────────────────────────────── */

.comparison-table,
.data-table,
.summary-table,
.schedule-table,
.stats-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-6) 0;
  font-size: var(--text-sm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border);
}

.comparison-table th,
.data-table th,
.summary-table th,
.schedule-table th,
.stats-table th {
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  border-bottom: 2px solid var(--border-strong);
  text-align: left;
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.comparison-table td,
.data-table td,
.summary-table td,
.schedule-table td,
.stats-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
  line-height: var(--leading-snug);
  vertical-align: top;
}

.comparison-table tr:last-child td,
.data-table tr:last-child td,
.summary-table tr:last-child td,
.schedule-table tr:last-child td,
.stats-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td,
.data-table tr:hover td,
.summary-table tr:hover td,
.schedule-table tr:hover td,
.stats-table tr:hover td {
  background: var(--surface-hover);
}

/* 넓은 지표 표: 뷰포트 밖으로 나가지 않도록 가로 스크롤 */
.entry-content .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  margin: var(--sp-6) 0;
}

.entry-content .table-scroll .data-table {
  margin-top: 0;
  margin-bottom: 0;
  width: max-content;
  min-width: 100%;
}

.stats-table tr:nth-child(even) td {
  background: var(--surface-subtle);
}

/* ── 18. 인용구 ──────────────────────────────────────────────────── */

.quote-block {
  position: relative;
  margin: var(--sp-8) 0;
  padding: var(--sp-6) var(--sp-8);
  background: var(--surface-subtle);
  border-radius: var(--radius-xl);
}

.quote-block::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 1.25rem;
  font-size: 4rem;
  color: var(--color-primary-200);
  font-family: Georgia, serif;
  line-height: 1;
  font-weight: 700;
}

.quote-block p {
  font-size: var(--text-lg);
  font-style: italic;
  line-height: var(--leading-relaxed);
  color: var(--gray-700);
  margin: 0 0 var(--sp-3) 0;
}

.quote-block cite {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  font-style: normal;
}

/* ── 19. 진행률 바 ─────────────────────────────────────────────── */

.progress-bar-container {
  margin: var(--sp-4) 0;
}

.progress-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.progress-bar-label .label-text {
  font-weight: var(--fw-medium);
  color: var(--text-primary);
}

.progress-bar-track {
  height: 0.5rem;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.progress-bar-fill.success { background: var(--color-success); }
.progress-bar-fill.warning { background: var(--color-warning); }
.progress-bar-fill.danger  { background: var(--color-danger);  }

/* ── 20. 카드 갤러리 ─────────────────────────────────────────────── */

.card-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
}

.gallery-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--ease), transform var(--ease);
}

.gallery-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.gallery-card .card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.gallery-card .card-body {
  padding: var(--sp-4) var(--sp-5);
}

.gallery-card .card-title {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--sp-2) 0;
  line-height: var(--leading-snug);
}

.gallery-card .card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin: 0;
}

/* ── 21. FAQ ──────────────────────────────────────────────────────── */

.faq {
  margin: var(--sp-6) 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  padding: var(--sp-5) var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  background: var(--surface-card);
  border: none;
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  font-family: var(--font-base);
  color: var(--text-primary);
  text-align: left;
  transition: background var(--ease-fast);
}

.faq-question:hover {
  background: var(--surface-hover);
}

.faq-question::after {
  content: '+';
  font-size: var(--text-xl);
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: transform var(--ease-fast);
  line-height: 1;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 var(--sp-5) var(--sp-5);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  background: var(--surface-card);
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── 22. 현재 투자 현황 ──────────────────────────────────────────── */

.current-status {
  background: linear-gradient(135deg, var(--color-primary-50), #F0F9FF);
  border: 1px solid var(--color-primary-200);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  margin: var(--sp-6) 0;
}

.current-status h3 {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-primary-700);
  margin: 0 0 var(--sp-4) 0;
}

.current-status .status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: var(--sp-3);
}

.current-status .status-item {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  text-align: center;
}

.current-status .status-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-bottom: var(--sp-1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.current-status .status-value {
  display: block;
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

/* ── 23. 이미지 컴포넌트 ─────────────────────────────────────────── */

.image-block {
  margin: var(--sp-6) 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-block img {
  width: 100%;
  height: auto;
  display: block;
}

.image-block figcaption {
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-subtle);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-align: center;
}

/* ── 24. 문장 번역 ──────────────────────────────────────────────── */

.sentence-translation {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-5) var(--sp-6);
  margin: var(--sp-4) 0;
}

.sentence-translation .original {
  font-size: var(--text-base);
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: var(--sp-2);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
}

.sentence-translation .translated {
  font-size: var(--text-base);
  color: var(--text-primary);
  font-weight: var(--fw-medium);
  margin: 0;
}

/* ── 25. 버튼 시스템 (개선) ──────────────────────────────────────── */

.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  height: auto;
  width: auto;
  background: var(--color-primary);
  color: var(--text-inverse);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  font-family: var(--font-base);
  cursor: pointer;
  transition: all var(--ease-fast);
  text-decoration: none;
  line-height: 1.5;
}

.btn.btn-primary:hover {
  background: var(--color-primary-700);
  border-color: var(--color-primary-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn.btn-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  height: auto;
  width: auto;
  background: var(--color-success);
  color: var(--text-inverse);
  border: 1px solid var(--color-success);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  font-family: var(--font-base);
  cursor: pointer;
  transition: all var(--ease-fast);
  line-height: 1.5;
}

.btn.btn-warning {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  height: auto;
  width: auto;
  background: var(--color-warning);
  color: var(--text-inverse);
  border: 1px solid var(--color-warning);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  font-family: var(--font-base);
  cursor: pointer;
  transition: all var(--ease-fast);
  line-height: 1.5;
}

.btn.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  height: auto;
  width: auto;
  background: var(--color-danger);
  color: var(--text-inverse);
  border: 1px solid var(--color-danger);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  font-family: var(--font-base);
  cursor: pointer;
  transition: all var(--ease-fast);
  line-height: 1.5;
}

.btn.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  height: auto;
  width: auto;
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  font-family: var(--font-base);
  cursor: pointer;
  transition: all var(--ease-fast);
  line-height: 1.5;
}

.btn.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  height: auto;
  width: auto;
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  font-family: var(--font-base);
  cursor: pointer;
  transition: all var(--ease-fast);
  line-height: 1.5;
}

.btn.btn-outline:hover {
  background: var(--color-primary-50);
}

.btn.btn-xs { padding: 0.25rem 0.6rem;  font-size: var(--text-xs); }
.btn.btn-sm { padding: 0.4rem 0.9rem;   font-size: var(--text-sm); }
.btn.btn-md { padding: 0.6rem 1.25rem;  font-size: var(--text-sm); }
.btn.btn-lg { padding: 0.75rem 1.5rem;  font-size: var(--text-base); }
.btn.btn-xl { padding: 0.9rem 1.75rem;  font-size: var(--text-lg); }

/* ── 26. 포스트 푸터 ─────────────────────────────────────────────── */

.footer-note {
  margin: var(--sp-10) 0 var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  background: var(--surface-subtle);
  border-top: 2px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: var(--leading-normal);
}

.post-footer {
  margin-top: var(--sp-10);
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--border);
}

/* ── 27. 유틸리티 클래스 ─────────────────────────────────────────── */

.mt-1 { margin-top: var(--sp-1) !important; }
.mt-2 { margin-top: var(--sp-2) !important; }
.mt-3 { margin-top: var(--sp-3) !important; }
.mt-4 { margin-top: var(--sp-4) !important; }
.mt-5 { margin-top: var(--sp-5) !important; }
.mt-6 { margin-top: var(--sp-6) !important; }
.mt-8 { margin-top: var(--sp-8) !important; }

.mb-1 { margin-bottom: var(--sp-1) !important; }
.mb-2 { margin-bottom: var(--sp-2) !important; }
.mb-3 { margin-bottom: var(--sp-3) !important; }
.mb-4 { margin-bottom: var(--sp-4) !important; }
.mb-5 { margin-bottom: var(--sp-5) !important; }
.mb-6 { margin-bottom: var(--sp-6) !important; }
.mb-8 { margin-bottom: var(--sp-8) !important; }

.ml-4 { margin-left: var(--sp-4) !important; }
.ml-8 { margin-left: var(--sp-8) !important; }

.text-xs  { font-size: var(--text-xs)  !important; }
.text-sm  { font-size: var(--text-sm)  !important; }
.text-base{ font-size: var(--text-base)!important; }
.text-lg  { font-size: var(--text-lg)  !important; }
.text-xl  { font-size: var(--text-xl)  !important; }
.text-2xl { font-size: var(--text-2xl) !important; }

.text-primary   { color: var(--text-primary)   !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-tertiary  { color: var(--text-tertiary)  !important; }
.text-link      { color: var(--text-link)      !important; }

.font-normal   { font-weight: var(--fw-normal)   !important; }
.font-medium   { font-weight: var(--fw-medium)   !important; }
.font-semibold { font-weight: var(--fw-semibold) !important; }
.font-bold     { font-weight: var(--fw-bold)     !important; }

/* ── 28. 반응형 ──────────────────────────────────────────────────── */

@media screen and (max-width: 768px) {
    header h1{
        font-size: var(--text-xl);
    }
  .main-content {
    padding: var(--sp-4) var(--sp-3);
  }

  .section > h2 {
    font-size: var(--text-xl);
  }

  .section h1:first-child {
    font-size: var(--text-3xl);
  }

  .strategy-grid,
  .strategy-grid-3,
  .performance-metrics,
  .benefits-grid,
  .card-gallery {
    grid-template-columns: 1fr;
  }

  .quick-links ul {
    columns: 1;
  }

  .hgroup h1 {
    font-size: var(--text-xl);
  }

  #article-view {
    padding: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    row-gap: var(--sp-1);
    column-gap: 0;
  }

  .timeline-date {
    min-width: unset;
  }
}