@charset "UTF-8";
/* ===== 멀티 테마 지원 (4가지 모드) ===== */

/* ===== 1. 라이트 모드 (기본) ===== */
:root {
  --tm-bg: #ffffff;
  --tm-bg-secondary: #f8f9fa;
  --tm-text: #acb6c0;
  --tm-text-secondary: #666666;
  --tm-text-muted: #999999;
  --tm-border: rgba(0, 0, 0, 0.08);
  --tm-surface: rgba(0, 0, 0, 0.02);
  --tm-icon: "🌙";
}

/* ===== 2. 다크 모드 ===== */
[data-theme="dark"] {
  --tm-bg: #1a1a1f;
  --tm-bg-secondary: #242429;
  --tm-text: #e5e5e7;
  --tm-text-secondary: #a0a0a5;
  --tm-text-muted: #6b6b70;
  --tm-border: rgba(255, 255, 255, 0.08);
  --tm-surface: rgba(255, 255, 255, 0.05);
  --tm-icon: "☀️";
}

/* ===== 3. 세피아 모드 (눈 편안) ===== */
[data-theme="sepia"] {
  --tm-bg: #f5f0e6;
  --tm-bg-secondary: #ebe5d9;
  --tm-text: #3d3530;
  --tm-text-secondary: #5a524a;
  --tm-text-muted: #8a7f72;
  --tm-border: rgba(61, 53, 48, 0.12);
  --tm-surface: rgba(61, 53, 48, 0.04);
  --tm-icon: "🌑";
}

/* ===== 4. Dim 모드 (연한 다크) ===== */
[data-theme="dim"] {
  --tm-bg: #2a2d3a;
  --tm-bg-secondary: #353847;
  --tm-text: #d4d7e0;
  --tm-text-secondary: #9fa3b0;
  --tm-text-muted: #6b6f7d;
  --tm-border: rgba(255, 255, 255, 0.1);
  --tm-surface: rgba(255, 255, 255, 0.06);
  --tm-icon: "📖";
}

/* ===== 공통 테마 적용 ===== */
[data-theme="dark"] body,
[data-theme="sepia"] body,
[data-theme="dim"] body {
  background-color: var(--tm-bg);
  color: var(--tm-text);
}

[data-theme="dark"] .article_view,
[data-theme="dark"] .area_category,
[data-theme="dark"] .area_common,
[data-theme="dark"] .article_content,
[data-theme="sepia"] .article_view,
[data-theme="sepia"] .area_category,
[data-theme="sepia"] .area_common,
[data-theme="sepia"] .article_content,
[data-theme="dim"] .article_view,
[data-theme="dim"] .area_category,
[data-theme="dim"] .area_common,
[data-theme="dim"] .article_content {
  background-color: var(--tm-bg);
  color: var(--tm-text);
}

/* 게시글 텍스트 색상 강제 변환 (인라인 검정색 -> 테마 색상) */
[data-theme="dark"] .article_view *,
[data-theme="dim"] .article_view * {
  color: var(--tm-text) !important;
}

[data-theme="dark"] .article_view a,
[data-theme="dim"] .article_view a {
  color: #ffd86e !important;
}

[data-theme="sepia"] .article_view * {
  color: var(--tm-text) !important;
}

[data-theme="sepia"] .article_view a {
  color: #9a6b2c !important;
}

/* 코드 블록은 원래 색상 유지 */
[data-theme="dark"] .article_view pre *,
[data-theme="dark"] .article_view code *,
[data-theme="dark"] .article_view .hljs *,
[data-theme="sepia"] .article_view pre *,
[data-theme="sepia"] .article_view code *,
[data-theme="sepia"] .article_view .hljs *,
[data-theme="dim"] .article_view pre *,
[data-theme="dim"] .article_view code *,
[data-theme="dim"] .article_view .hljs * {
  color: inherit !important;
}

/* 제목, 리스트 항목 */
[data-theme="dark"] .info .name,
[data-theme="dark"] .title_section,
[data-theme="dark"] .title_common,
[data-theme="dark"] .link_category strong,
[data-theme="dark"] .link_notice strong,
[data-theme="dark"] .link_card strong,
[data-theme="sepia"] .info .name,
[data-theme="sepia"] .title_section,
[data-theme="sepia"] .title_common,
[data-theme="sepia"] .link_category strong,
[data-theme="sepia"] .link_notice strong,
[data-theme="sepia"] .link_card strong,
[data-theme="dim"] .info .name,
[data-theme="dim"] .title_section,
[data-theme="dim"] .title_common,
[data-theme="dim"] .link_category strong,
[data-theme="dim"] .link_notice strong,
[data-theme="dim"] .link_card strong {
  color: var(--tm-text) !important;
}

/* 부가 텍스트 */
[data-theme="dark"] .info .text,
[data-theme="dark"] .info .date,
[data-theme="dark"] .info .summary,
[data-theme="sepia"] .info .text,
[data-theme="sepia"] .info .date,
[data-theme="sepia"] .info .summary,
[data-theme="dim"] .info .text,
[data-theme="dim"] .info .date,
[data-theme="dim"] .info .summary {
  color: var(--tm-text-secondary) !important;
}

/* 사이드바 */
[data-theme="dark"] .area_sidebar .inner_sidebar,
[data-theme="sepia"] .area_sidebar .inner_sidebar,
[data-theme="dim"] .area_sidebar .inner_sidebar {
  background-color: var(--tm-bg);
}

[data-theme="dark"] .area_sidebar .link_item,
[data-theme="dark"] .area_sidebar .link_logo,
[data-theme="dark"] .area_sidebar .btn_close,
[data-theme="sepia"] .area_sidebar .link_item,
[data-theme="sepia"] .area_sidebar .link_logo,
[data-theme="sepia"] .area_sidebar .btn_close,
[data-theme="dim"] .area_sidebar .link_item,
[data-theme="dim"] .area_sidebar .link_logo,
[data-theme="dim"] .area_sidebar .btn_close {
  color: var(--tm-text);
}

/* 댓글 영역 */
[data-theme="dark"] .area_reply .item_reply,
[data-theme="sepia"] .area_reply .item_reply,
[data-theme="dim"] .area_reply .item_reply {
  border-color: var(--tm-border);
}

[data-theme="dark"] .area_reply .form_content textarea,
[data-theme="sepia"] .area_reply .form_content textarea,
[data-theme="dim"] .area_reply .form_content textarea {
  background-color: var(--tm-bg-secondary);
  border-color: var(--tm-border);
  color: var(--tm-text);
}

/* 태그 */
[data-theme="dark"] .area_tag .tag_content a,
[data-theme="sepia"] .area_tag .tag_content a,
[data-theme="dim"] .area_tag .tag_content a {
  background-color: var(--tm-surface);
  color: var(--tm-text);
}

/* 푸터 */
[data-theme="dark"] #footer,
[data-theme="sepia"] #footer,
[data-theme="dim"] #footer {
  border-color: var(--tm-border);
  color: var(--tm-text-muted);
}

/* 프로필 위젯 */
[data-theme="dark"] .trader-profile-widget,
[data-theme="sepia"] .trader-profile-widget,
[data-theme="dim"] .trader-profile-widget {
  background: var(--tm-bg-secondary);
  border-color: var(--tm-border);
}

[data-theme="dark"] .profile-info strong,
[data-theme="sepia"] .profile-info strong,
[data-theme="dim"] .profile-info strong {
  color: var(--tm-text);
}

[data-theme="dark"] .profile-info p,
[data-theme="sepia"] .profile-info p,
[data-theme="dim"] .profile-info p {
  color: var(--tm-text-secondary);
}

/* 페이지네이션 */
[data-theme="dark"] .area_paging .link_num span,
[data-theme="sepia"] .area_paging .link_num span,
[data-theme="dim"] .area_paging .link_num span {
  color: var(--tm-text);
}

/* 인용문 */
[data-theme="dark"] blockquote,
[data-theme="sepia"] blockquote,
[data-theme="dim"] blockquote {
  color: var(--tm-text-secondary) !important;
}

/* 코드 블록 배경 */
[data-theme="dark"] pre,
[data-theme="dark"] code,
[data-theme="dim"] pre,
[data-theme="dim"] code {
  background-color: var(--tm-surface) !important;
}

[data-theme="sepia"] pre,
[data-theme="sepia"] code {
  background-color: rgba(61, 53, 48, 0.08) !important;
}

/* ===== 테마 토글 버튼 ===== */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  margin-right: 4px;
  font-size: 18px;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.1);
}

.theme-toggle::after {
  content: "🌙";
}

[data-theme="dark"] .theme-toggle::after {
  content: "☀️";
}

[data-theme="sepia"] .theme-toggle::after {
  content: "🌑";
}

[data-theme="dim"] .theme-toggle::after {
  content: "📖";
}

/* ===== 콘텐츠 보호 (드래그 방지) ===== */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* 코드 영역만 선택 허용 */
pre,
code,
.hljs,
pre *,
code *,
.hljs * {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* 입력 필드는 선택 허용 */
input,
textarea,
[contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* ellipsis */
/* thumbnail background */
/* break point */

/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

body {
  margin: 0;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
  outline: none;
}

button,
input {
  /* 1 */
  overflow: visible;
}

button,
select {
  /* 1 */
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/* common */
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section,
summary {
  display: block;
}

body {
  font-family: Pretendard-Regular, SpoqaHanSans, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", "Nanum Gothic", Dotum, '돋움', Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.blind {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: -1px;
  width: 1px;
  height: 1px;
}

/* theme_pink */
.theme_pink .thema_apply .link_detail {
  background: #ff567a;
}

.theme_pink .thema_apply .btn_arrow:hover {
  background-color: #ff567a;
  color: #fff;
}

.theme_pink .thema_apply .active {
  background: #ff567a;
}

.theme_pink .thema_apply .slick-active button {
  background: #ff567a;
}

.theme_pink .thema_apply .btn_register {
  background: #ff567a;
  color: #fff;
}

.theme_pink .thema_apply .btn_register {
  background: #ff567a;
  color: #fff;
}

.theme_pink .thema_apply .title_sidebar {
  color: #ff567a;
}

.theme_pink .thema_apply .box_tag a:hover {
  border: 1px solid #ff567a;
  color: #ff567a;
}

.theme_pink .area_category .title_section span {
  color: #ff567a;
}

.theme_pink .article_view a {
  color: #ff567a;
}

.theme_pink .article_view blockquote {
  color: #ff567a;
}

.theme_pink .article_view .moreless_fold span,
.theme_pink .article_view .moreless_top span {
  color: #ff567a;
}

.theme_pink .article_view .footnote a {
  color: #ff567a !important;
}

/* theme_blue */
.theme_blue .thema_apply .link_detail {
  background: #4167d9;
}

.theme_blue .thema_apply .btn_arrow:hover {
  background-color: #4167d9;
  color: #fff;
}

.theme_blue .thema_apply .active {
  background: #4167d9;
}

.theme_blue .thema_apply .slick-active button {
  background: #4167d9;
}

.theme_blue .thema_apply .btn_register {
  background: #4167d9;
  color: #fff;
}

.theme_blue .thema_apply .btn_register {
  background: #4167d9;
  color: #fff;
}

.theme_blue .thema_apply .title_sidebar {
  color: #4167d9;
}

.theme_blue .thema_apply .box_tag a:hover {
  border: 1px solid #4167d9;
  color: #4167d9;
}

.theme_blue .area_category .title_section span {
  color: #4167d9;
}

.theme_blue .article_view a {
  color: #4167d9;
}

.theme_blue .article_view blockquote {
  color: #4167d9;
}

.theme_blue .article_view .moreless_fold span,
.theme_blue .article_view .moreless_top span {
  color: #4167d9;
}

.theme_blue .article_view .footnote a {
  color: #4167d9 !important;
}

/* theme_green */
.theme_green .thema_apply .link_detail {
  background: #11998e;
}

.theme_green .thema_apply .btn_arrow:hover {
  background-color: #11998e;
  color: #fff;
}

.theme_green .thema_apply .active {
  background: #11998e;
}

.theme_green .thema_apply .slick-active button {
  background: #11998e;
}

.theme_green .thema_apply .btn_register {
  background: #11998e;
  color: #fff;
}

.theme_green .thema_apply .btn_register {
  background: #11998e;
  color: #fff;
}

.theme_green .thema_apply .title_sidebar {
  color: #11998e;
}

.theme_green .thema_apply .box_tag a:hover {
  border: 1px solid #11998e;
  color: #11998e;
}

.theme_green .area_category .title_section span {
  color: #11998e;
}

.theme_green .article_view a {
  color: #11998e;
}

.theme_green .article_view blockquote {
  color: #11998e;
}

.theme_green .article_view .moreless_fold span,
.theme_green .article_view .moreless_top span {
  color: #11998e;
}

.theme_green .article_view .footnote a {
  color: #11998e !important;
}

/* theme_gray */
.theme_gray .thema_apply .link_detail {
  background: #1d2129;
}

.theme_gray .thema_apply .btn_arrow:hover {
  background-color: #1d2129;
  color: #fff;
}

.theme_gray .thema_apply .active {
  background: #1d2129;
}

.theme_gray .thema_apply .slick-active button {
  background: #1d2129;
}

.theme_gray .thema_apply .btn_register {
  background: #1d2129;
  color: #fff;
}

.theme_gray .thema_apply .btn_register {
  background: #1d2129;
  color: #fff;
}

.theme_gray .thema_apply .title_sidebar {
  color: #1d2129;
}

.theme_gray .thema_apply .box_tag a:hover {
  border: 1px solid #1d2129;
  color: #1d2129;
}

.theme_gray .area_category .title_section span {
  color: #1d2129;
}

.theme_gray .article_view a {
  color: #1d2129;
}

.theme_gray .article_view a {
  color: #1d2129;
}

.theme_gray .article_view blockquote {
  color: #1d2129;
}

.theme_gray .article_view .moreless_fold span,
.theme_gray .article_view .moreless_top span {
  color: #1d2129;
}

.theme_gray .article_view .footnote a {
  color: #1d2129 !important;
}

/* media query - mobile */
@media screen and (max-width: 1023px) {
  .theme_pink .thema_apply .selected {
    color: #ff567a !important;
  }

  .theme_blue .thema_apply .selected {
    color: #4167d9 !important;
  }

  .theme_green .thema_apply .selected {
    color: #11998e !important;
  }

  .theme_gray .thema_apply .selected {
    color: #1d2129 !important;
  }
}

/* html */
html,
body {
  position: relative;
  height: 100%;
  -webkit-text-size-adjust: 100%;
  color: #333;
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

#wrap {
  position: relative;
  overflow: hidden;
}

/* container */
#container {
  position: relative;
  width: 100%;
}

#container:after {
  content: '';
  display: block;
  clear: both;
}

/* main */
#main {
  width: 100%;
}

/* box_header */
.box_header {
  position: absolute;
  width: 100%;
  height: 148px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  z-index: 21;
  transition: top 0.2s ease-in-out;
}

.box_header button {
  background-color: transparent;
}

.box_header .link_logo {
  display: block;
  color: #333;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  line-height: 1.25;
}

.box_header .link_logo img {
  max-height: 48px;
}

.box_header .title_logo {
  position: absolute;
  top: 50%;
  display: flex;
  -ms-display: flexbox;
  /* IE 10 */
  display: -webkit-flex;
  /* Safari */
  flex-direction: column;
  justify-content: center;
  width: calc(100% - 250px);
  height: 48px;
  margin: -24px 0 0 80px;
  font-size: 24px;
  font-weight: 900;
}

.box_header .btn_menu,
.box_header .btn_search {
  position: absolute;
  top: 50%;
  margin-top: -24px;
  width: 48px;
  height: 48px;
  border: none;
  background-repeat: no-repeat;
  background-position: center;
  color: #666;
  transition: color .2s ease-out;
  cursor: pointer;
}

.box_header .btn_menu {
  right: 56px;
}

.box_header .btn_search {
  right: 116px;
}

.box_header .btn_menu {
  background-image: url(./images/ico_menu_b.svg);
}

.box_header .btn_search {
  background-image: url(./images/ico_search_b.svg);
}

.box_header .btn_menu:hover,
.box_header .btn_search:hover {
  color: #333;
}

.white .box_header {
  border-bottom: none;
}

.white .box_header .link_logo,
.white .box_header .btn_menu,
.white .box_header .btn_search {
  color: #fff;
  transition: opacity .2s ease-out;
}

.white .box_header .link_logo:hover,
.white .box_header .btn_menu:hover,
.white .box_header .btn_search:hover {
  color: #fff;
  opacity: .6;
}

.white .box_header .btn_menu {
  background-image: url(./images/ico_menu.svg);
}

.white .box_header .btn_search {
  background-image: url(./images/ico_search.svg);
}

.white .area_cover {
  margin-top: 0;
}

.white .type_featured {
  margin-top: 0;
}

/* media query - mobile */
@media screen and (max-width: 1023px) {
  .box_header {
    height: 70px;
  }

  .box_header .title_logo {
    margin: -24px 0 0 24px;
    font-size: 20px;
    padding-top: 4px;
    width: calc(100% - 110px);
  }

  .box_header .btn_menu,
  .box_header .btn_search {
    width: 22px;
    background-size: 22px auto;
  }

  .box_header .btn_menu {
    right: 24px;
  }

  .box_header .btn_search {
    right: 60px;
  }
}

@media screen and (max-width: 1023px) {
  .white .box_header .title_logo {
    margin: -25px 0 0 24px;
  }
}

/* // box_header */
/* area_sidebar */
.area_sidebar {
  position: relative;
}

.area_sidebar a {
  text-decoration: none;
}

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

.area_sidebar button {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  cursor: pointer;
}

.area_sidebar .inner_sidebar {
  display: flex;
  height: 100%;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  height: 100%;
  padding: 0 48px;
  background: #fff;
  box-sizing: border-box;
  overflow: auto;
  z-index: 31;
}

.area_sidebar .sidebar_contents {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.area_sidebar .dimmed_sidebar {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 21;
}

.area_sidebar .sidebar_header {
  margin: 60px -10px 30px 0;
}

.area_sidebar .sidebar_header:after {
  content: '';
  display: block;
  clear: both;
}

.area_sidebar .title_logo {
  float: left;
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}

.area_sidebar .link_logo {
  color: #333;
}

.area_sidebar .btn_close {
  float: right;
  width: 48px;
  font-size: 24px;
  text-align: right;
  padding: 0 7px 2px 7px;
}

.area_sidebar .tt_category {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e5e5e5;
}

.area_sidebar .tt_category:after {
  content: '';
  display: block;
  clear: both;
}

.area_sidebar .link_item {
  display: block;
  margin-top: 10px;
  padding: 15px 0 12px 0;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  transition: all .2s ease-out;
}

s .area_sidebar .link_item:last-child {
  margin-bottom: 0;
}

.area_sidebar .link_item .c_cnt {
  color: rgba(0, 0, 0, 0.56);
}

.area_sidebar .box_gnb {
  margin-bottom: 60px;
}

.area_sidebar .box_gnb li:last-child {
  margin-bottom: 0;
}

.area_sidebar .link_sub_item {
  display: block;
  padding: 5px 0 5px 12px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.75);
}

.area_sidebar .sub_category_list {
  margin-left: 6px;
  border-left: 3px solid #f1f1f1;
}

.area_sidebar .t_menu_home a,
.area_sidebar .t_menu_tag a,
.area_sidebar .t_menu_guestbook a,
.area_sidebar .t_menu_medialog a,
.area_sidebar .t_menu_location a,
.area_sidebar .t_menu_page a,
.area_sidebar .t_menu_category a,
.area_sidebar .t_menu_link_1 a,
.area_sidebar .t_menu_link_2 a,
.area_sidebar .t_menu_link_3 a,
.area_sidebar .t_menu_link_4 a,
.area_sidebar .t_menu_link_5 a,
.area_sidebar .t_menu_link_6 a,
.area_sidebar .t_menu_link_7 a,
.area_sidebar .t_menu_link_8 a,
.area_sidebar .t_menu_link_9 a,
.area_sidebar .t_menu_link_10 a {
  display: block;
  margin-bottom: 28px;
  font-size: 16px;
  font-weight: normal;
  color: #333;
  transition: all .2s ease-out;
}

.area_sidebar .tt_category .link_sub_item:hover {
  text-decoration: underline;
}

.area_sidebar .sidebar_menu:after {
  content: '';
  display: block;
  clear: both;
}

.area_sidebar .list_sns {
  color: rgba(0, 0, 0, 0.87);
  font-size: 14px;
}

.area_sidebar .link_add {
  display: block;
  margin-bottom: 28px;
  font-size: 16px;
  font-weight: normal;
  color: #888;
}

.area_sidebar .link_add:hover {
  color: rgba(0, 0, 0, 0.87);
}

.area_sidebar .box_sns,
.area_sidebar .add_link {
  margin-bottom: 18px;
}

.area_sidebar .btn_search {
  margin-top: 12px;
  padding: 10px 0;
  background-color: transparent;
  font-size: 14px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.87);
}

.area_sidebar .icon-Search {
  margin-left: 5px;
  font-size: 20px;
  color: rgba(0, 0, 0, 0.54);
  vertical-align: -2px;
}

.area_sidebar .box_tool {
  padding: 30px 0 80px 0;
}

.area_sidebar .link_tool {
  position: relative;
  display: inline-block;
  margin-left: 40px;
  font-size: 14px;
  font-weight: bold;
  color: #888;
}

.area_sidebar .link_tool:first-child {
  margin-left: 0;
}

.area_sidebar .link_tool:first-child::before {
  content: '';
}

.area_sidebar .link_tool:hover {
  color: #666;
}

.area_sidebar .link_tool:before {
  content: '｜';
  position: absolute;
  top: 3px;
  bottom: 0;
  left: -48px;
  right: 0;
  width: 10px;
  margin-left: 20px;
  font-size: 11px;
  font-weight: lighter;
  color: #d3d4d7;
}

.area_sidebar .link_tit {
  display: none;
}

.area_sidebar ul>li>a:hover {
  color: rgba(0, 0, 0, 0.56);
}

/* media query - only mobile */
@media screen and (max-width: 768px) {
  .area_sidebar .inner_sidebar {
    width: 100%;
    left: 0;
    padding: 0 24px;
  }

  .area_sidebar .area_sidebar .btn_close {
    margin-right: -16px;
  }

  .area_sidebar .area_sidebar .title_logo {
    margin-bottom: 30px;
  }

  .area_sidebar .title_logo {
    font-size: 20px;
  }

  .area_sidebar .sidebar_header {
    margin: 24px -10px 24px 0;
    padding-top: 1px;
  }

  .area_sidebar .btn_close {
    margin-top: -2px;
  }

  .area_sidebar .link_item {
    font-size: 16px;
  }

  .area_sidebar .link_sub_item {
    font-size: 13px;
  }

  .area_sidebar .tt_category {
    padding-bottom: 50px;
  }

}

/* // area_sidebar */
/* media query - sidebar height */
@media screen and (max-height: 851px) {
  .area_sidebar .box_tool {
    position: relative;
    padding: 30px 0;
    bottom: auto;
  }
}

/* area_popup */
.area_popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 31;
  overflow: auto;
}

.area_popup .search_header {
  padding: 60px 40px 0 80px
}

.area_popup .search_header:after {
  content: '';
  display: block;
  clear: both;
}

.area_popup .title_logo {
  float: left;
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}

.area_popup .link_logo {
  color: #333;
  text-decoration: none;
}

.area_popup .area_search .btn_close {
  float: right;
  width: 48px;
  height: 48px;
  margin-right: 11px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.area_popup .search_content {
  max-width: 1180px;
  margin: 60px auto;
  padding: 0 40px;
  font-size: 0;
}

.area_popup .search_content:after {
  content: '';
  display: block;
  clear: both;
}

.area_popup .box_form {
  position: relative;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.area_popup .box_form .icon-Search {
  display: inline-block;
  margin-right: 23px;
  font-size: 36px;
  vertical-align: -10px;
}

.area_popup .box_form .inp_search {
  width: 80%;
  margin-top: 5px;
  border: none;
  font-size: 24px;
  font-weight: 900;
  color: #333;
  line-height: 1;
}

.area_popup .box_form .btn_search_del {
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 36px;
  padding: 6px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  fill-opacity: 0.3;
}

.area_popup .title_sidebar {
  margin: 51px 0 29px 0;
  font-size: 18px;
}

.area_popup .tag_zone {
  display: inline-block;
  width: 50%;
  padding-right: 50px;
  min-height: 150px;
  box-sizing: border-box;
  vertical-align: top;
}

.tag_zone a {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 5px 10px;
  border: solid 1px rgba(0, 0, 0, 0.25);
  font-size: 16px;
  color: #333;
  text-decoration: none;
}

.tag_zone a:hover {
  border: solid 1px #4167d9;
  color: #4167d9;
}

.list_sidebar {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list_sidebar .item_sidebar {
  margin-bottom: 20px;
}

aside .list_sidebar .item_sidebar {
  margin-bottom: 10px;
}

.list_sidebar .item_sidebar a {
  display: block;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag_board {
  display: inline-block;
  box-sizing: border-box;
  vertical-align: top;
}

aside .tag_board {
  width: 100%;
}

.area_popup .tag_board {
  width: 50%;
}

.area_popup div:nth-child(3) {
  padding-left: 50px;
}

.area_popup div:nth-child(4) {
  padding-right: 50px;
}

.area_popup div:nth-child(5) {
  padding-left: 50px;
}

.area_popup .box_gnb,
.area_popup .box_sns,
.area_popup .add_link {
  display: none;
}

/* media query - mobile */
@media screen and (max-width: 1023px) {
  .area_popup .area_search {
    padding-left: 24px;
    padding-right: 24px;
  }

  .area_popup .search_header {
    margin: 24px -10px 24px 0;
    padding: 1px 0 0;
  }

  .area_popup .box_form .icon-Search {
    display: none;
  }

  .area_popup .box_form .inp_search {
    margin-top: 20px;
    font-size: 18px;
  }

  .area_popup .box_form .btn_search_del {
    top: 10px;
    right: 20px;
  }

  .area_popup .search_content {
    margin-top: 34px;
    padding: 0;
  }

  .area_popup .box_form {
    margin: 0 -24px;
    padding: 0 20px 25px 20px;
  }

  .area_popup .title_sidebar {
    margin-top: 32px;
    font-size: 12px;
  }

  .area_popup .tag_zone a {
    border: none;
    padding: 5px 10px 5px 0;
    font-size: 16px;
  }

  .area_popup .tag_zone a:hover {
    border: none;
  }

  .area_popup .tag_zone,
  .area_popup .tag_board {
    width: 100%;
  }

  .area_popup .item_sidebar {
    margin-bottom: 10px;
  }

  .area_popup .item_sidebar a {
    font-size: 16px;
  }

  .area_popup div:nth-child(3),
  .area_popup div:nth-child(4),
  .area_popup div:nth-child(5) {
    padding: 0;
  }

  .area_popup .area_search .btn_close {
    margin: -2px 0 0;
    text-align: right;
    padding: 0 7px 2px 7px;
    height: 30px;
  }

  .area_popup .title_logo {
    font-weight: 900;
    font-size: 20px;
  }
}

/* // area_popup */
/* footer */
#footer {
  clear: both;
  margin-top: 120px;
  padding: 50px 0 50px 0;
  border-top: 1px solid #ebebeb;
  font-size: 14px;
  font-weight: normal;
  color: #999;
}

#footer .inner_footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

#footer .link_footer {
  position: relative;
  margin-left: 24px;
  padding-bottom: 3px;
  border-bottom: 1px solid #fff;
  font-weight: 700;
  text-decoration: none;
  color: #777;
  line-height: 1.27;
  text-decoration: none;
  z-index: 21;
}

#footer .link_footer:hover {
  border-bottom: 1px solid #777
}

#footer address {
  margin-top: 20px;
  color: #777;
  font-size: 13px;
  font-style: normal;
  text-align: center;
}

#footer .inner_footer .link_footer:first-child {
  margin-left: 0;
}

/* // footer */
/* media query - mobile */
@media screen and (max-width: 1023px) {
  #footer {
    margin-top: 60px;
  }

  #footer .info_footer:after {
    content: '';
    display: block;
    clear: both;
  }
}


/* area_paging */
.area_paging {
  text-align: center;
}

.area_paging a {
  text-decoration: none;
}

.area_paging .link_page {
  display: inline-block;
  margin-top: 2px;
  font-size: 24px;
  color: rgba(0, 0, 0, 0.25);
}

.area_paging .link_page:hover {
  color: rgba(0, 0, 0, 0.54);
}

.area_paging .paging_num {
  display: inline-block;
  vertical-align: top;
}

.area_paging .link_num span {
  display: inline-block;
  min-width: 28px;
  height: 28px;
  margin: 0 5px;
  font-size: 13px;
  font-weight: 600;
  line-height: 31px;
  color: #000;
}

.area_paging .link_num:hover span {
  color: rgba(0, 0, 0, 0.87);
}

.area_paging .selected {
  display: block;
  border-radius: 999em;
  background: #000;
  color: #fff !important;
  font-size: 13px;
  line-height: 32px;
}

.area_paging .selected:hover {
  text-decoration: none;
}

.area_paging .paging_slash {
  display: none;
}

/* media query - mobile */
@media screen and (max-width: 1023px) {
  .area_paging .link_page {
    color: rgba(0, 0, 0, 0.75);
  }

  .area_paging .link_page.no-more-prev,
  .area_paging .link_page.no-more-next {
    color: rgba(0, 0, 0, 0.15);
  }

  .area_paging .link_page span {
    font-size: 24px;
    font-weight: 600;
  }

  .area_paging .link_num {
    font-size: 14px;
    font-weight: 900;
  }

  .area_paging .link_num span {
    position: relative;
  }

  .area_paging .selected {
    position: relative;
    width: auto;
    font-size: 14px;
  }

  .area_paging .link_num:last-child span:before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 10px;
    height: 29px;
    background: url(./images/ico_slash.png) no-repeat left center;
  }

  .area_paging .link_num:last-child span.selected:before {
    background: none;
  }

  .area_paging .link_num:last-child .selected {
    background: none;
  }

  .area_paging .link_num span:not(.selected) {
    display: none;
  }

  .area_paging .link_num:last-child span {
    display: inline-block;
  }

  .area_paging .link_ellipsis {
    display: none;
  }

  .area_paging .selected {
    color: #333;
    background: transparent;
  }
}

/* // area_paging */
/* area_view - 상세 페이지 */
.area_view {
  position: relative;
}

.area_view .area_article {
  padding-bottom: 60px;
}

.area_view .article_header {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
}

.area_view .article_header:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.54);
}

.area_view .article_header .inner_header {
  width: 100%;
  background-size: cover;
  background-position: 50% 50%;
  text-align: center;
}

.type_article_header_common .inner_header {
  height: 520px;
}

.type_article_header_cover .inner_header {
  height: 520px;
}

.area_view .article_header .info_text {
  max-width: 700px;
  margin: 0 auto;
  left: 0;
  right: 0;
  color: #fff;
  z-index: 10;
  text-align: center;
}

.type_article_header_common .info_text {
  /*  position: absolute;
  bottom: 32px; */
  position: relative;
  display: flex;
  height: 100%;
  -ms-display: flexbox;
  display: -webkit-flex;
  flex-direction: column;
  justify-content: center;
  z-index: 20;
}

.type_article_header_cover .info_text {
  position: relative;
  display: flex;
  height: 100%;
  -ms-display: flexbox;
  /* IE 10 */
  display: -webkit-flex;
  /* Safari */
  flex-direction: column;
  justify-content: center;
  z-index: 20;
}

.article_content {
  max-width: 700px;
  margin: 0 auto;
}

/* area_tag - 상세페이지 태그  */
.area_tag {
  padding: 40px 0;
  border-bottom: 1px solid #eee;
  border-top: 1px solid #eee;
}

.area_tag:after {
  content: '';
  display: block;
  clear: both;
}

.area_tag .title_tag {
  float: left;
  margin: 0;
  padding: 0 40px 0 0;
  font-size: 16px;
  font-weight: 900;
  color: #333;
  text-align: center;
  padding-top: 6px;
}

.area_tag .tag_content {
  overflow: hidden;
}

.area_tag .tag_content a {
  color: #333;
  text-decoration: none;
  margin-left: 5px;
  line-height: normal;
}

.area_tag .tag_content a:hover {
  text-decoration: underline;
}

.area_tag .tag_content a:first-child {
  margin-left: 0
}

/* media query - mobile */
@media screen and (max-width: 1023px) {
  .area_tag {
    padding: 30px 0;
  }

  .area_tag .title_tag {
    font-size: 16px;
    line-height: normal;
  }
}

/* area_related - 상세페이지 관련글 */
.area_related {
  border-bottom: 1px solid #eee;
  overflow: hidden;
}

.area_related a {
  text-decoration: none;
}

.area_related button {
  border: 0;
  border-radius: 0;
  background-color: transparent;
  cursor: pointer;
  overflow: visible;
}

.area_related .title_related {
  margin: 40px 0 20px 0;
  font-size: 16px;
  font-weight: 900;
}

.area_related .list_related {
  list-style: none;
  margin: 0 -8px;
  padding: 0;
  border: none;
  box-sizing: border-box;
}

.area_related .list_related:after {
  content: '';
  display: block;
  clear: both;
}

.area_related .item_related {
  float: left;
  width: 25%;
  margin-bottom: 40px;
}

.area_related .link_related {
  display: block;
  margin: 0 8px;
}

.area_related .thumnail {
  display: block;
  width: 100%;
  padding-top: 50%;
  background-size: cover;
  background-position: 50% 50%;
}

.area_related .link_related strong {
  display: block;
  max-height: 45px;
  margin: 12px 0 0;
  line-height: 1.47;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.area_related .info {
  display: inline-block;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.38);
}

/* media query - mobile */
@media screen and (max-width: 1023px) {
  .area_related .title_related {
    margin: 30px 0 0 0;
    font-size: 16px;
    line-height: normal;
  }

  .area_related .item_related {
    float: none;
    width: 100%;
    padding: 16px 0;
    margin-bottom: 0;
  }

  .area_related li:first-child {
    border: none;
    padding-bottom: 16px;
  }

  .area_related .link_related strong {
    margin: 12px 0 2px 0;
  }

  .area_related .item_related:last-child {
    margin-bottom: 30px;
  }
}

/* // area_related */
/* area_reply - 상세페이지 댓글*/
.area_reply {
  width: 100%;
  overflow: hidden;
}

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

.area_reply a {
  text-decoration: none;
}

.area_reply .box_reply_info {
  margin: 40px 0 20px 0;
}

.area_reply .reply_events {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: #333;
}

.area_reply .btn_more {
  margin-top: 5px;
  padding: 3px 0 0 15px;
  border: 0;
  background-color: transparent;
  background-size: 10px 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.area_reply .item_reply {
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.area_reply li:first-child:not(.tt-item-reply) {
  padding-top: 0;
}

.area_reply li:last-child {
  border: none;
}

.area_reply .thumbnail_reply {
  float: left;
  width: 45px;
  height: 45px;
  margin-right: 16px;
  background: none;
}

.area_reply .thumbnail_reply img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.area_reply .box_reply_content {
  overflow: hidden;
}

.area_reply .item_reply .user a {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.area_reply .item_reply .date {
  display: inline-block;
  padding-top: 10px;
  padding-left: 3px;
}

.area_reply .item_reply .date a {
  font-weight: 300;
  font-size: 14px;
  padding-left: 4px;
}

.area_reply .box_reply_content .txt {
  margin: 10px 0 0 0;
  font-size: 16px;
}

.area_reply .item_reply .modify {
  margin-top: 8px;
  font-size: 15px;
}

.area_reply .modify a {
  color: #9b9b9b;
}

.area_reply .modify .slash {
  color: #e1e1e1;
}

.area_reply .list_reply_comment {
  margin-top: 30px !important;
}

.area_reply .ico_commnent {
  float: left;
  width: 43px;
  margin-right: 10px;
  color: rgba(51, 51, 51, 0.6);
  text-align: right;
}

.area_reply .item_comment {
  padding: 10px;
}

.area_reply .reply_write:after {
  content: '';
  display: block;
  clear: both;
}

.area_reply .form_content {
  padding-bottom: 10px;
}

.area_reply .form_content textarea {
  width: 100%;
  height: 102px;
  padding: 12px 14px;
  border: 1px solid #e1e1e1;
  font-size: 14px;
  vertical-align: top;
}

.area_reply .form_guest {
  margin: 0 -4px;
}

.area_reply .form_guest:after {
  content: '';
  display: block;
  clear: both;
}

.area_reply .box_inp {
  float: left;
  width: 100%;
  margin-bottom: 8px;
}

.area_reply .box_inp:nth-child(-n+2) {
  width: 50%;
}

.area_reply .inner_inp {
  margin: 0 4px;
  padding: 9px 14px;
  border: 1px solid #e1e1e1;
  box-sizing: border-box;
}

.area_reply .inner_inp input {
  width: 90%;
  border: none;
  font-size: 14px;
  line-height: 1.25;
}

.area_reply .form_reg {
  text-align: right;
}

.area_reply .form_reg label {
  display: inline-block;
  margin-right: 20px;
  padding-top: 7px;
  font-size: 14px;
  color: #9b9b9b;
}

.area_reply .form_reg label input {
  vertical-align: -1px;
}

.area_reply .btn_register {
  width: 115px;
  height: 42px;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* media query - mobile */
@media screen and (max-width: 1023px) {
  .area_reply .box_reply_info {
    margin: 30px 0 10px 0;
  }

  .list_reply_comment .ico_commnent {
    width: 10px;
  }

  .list_reply_comment li:first-child {
    padding-top: 30px;
  }

  .item_comment.reply {
    padding: 15px;
  }

  .list_reply_comment .item_comment {
    background: #fafafa;
  }

  .list_reply .item_reply .user a {
    margin-bottom: 5px;
  }

  .list_reply .item_reply .date {
    display: block;
    padding: 0;
    font-size: 14px;
  }

  .list_reply .item_reply .dot {
    display: none;
  }
}

/* // area_reply */
/* area_common - 티스토리 사이드바 공통 영역 */
.area_common {
  max-width: 1180px;
  min-height: 200px;
  margin: 200px auto 0 auto;
  padding: 0 20px;
}

.area_common .title_common {
  padding-bottom: 30px;
  font-size: 24px;
  font-weight: 900;
  color: #333;
  text-align: center;
}

/* 미디어 로그 티스토리 스타일 수정 */
#mediaLogNest {
  max-width: 1180px;
  height: auto !important;
  margin: 200px auto 0 auto;
  padding: 0 20px;
}

/* 카테고리 다른글 */
.article_view .another_category table,
.article_view .another_category table * {
  border: none;
}

/* media query - only mobile */
@media screen and (max-width: 768px) {
  .area_common {
    margin-top: 36px;
    padding-top: 60px;
  }
}

.item-thumbnail {
  background: #e9e9e9 url(./images/ico_no.svg) no-repeat center;
}

.no-img {
  background: #e9e9e9 url(./images/ico_no.svg) no-repeat center !important;
  background-size: 30px 30px !important;
}

.btn-for-guest {
  display: none;
}

.btn-for-user {
  display: none;
}

/* area_cover */
.area_cover {
  margin-top: 268px;
}

.area_cover a {
  text-decoration: none;
}

.area_cover button {
  border: 0;
  border-radius: 0;
  background-color: transparent;
  cursor: pointer;
  overflow: visible;
}

/* media query - mobile */
@media screen and (max-width: 1023px) {
  .area_cover {
    margin-top: 130px;
  }
}

/* // area_cover */
/* title_section */
.title_section {
  position: relative;
  width: 100%;
  margin: 0 0 20px 0;
  font-size: 20px;
  font-weight: 900;
  color: #333;
}

/* type_featured - 슬라이드 커버 */
.type_featured {
  position: relative;
  margin-top: 120px;
}

.type_featured:after {
  content: '';
  display: block;
  clear: both;
}

.type_featured .slide_zone {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--vh-offset, 0px));
}

.type_featured .inner_main_slide {
  position: absolute;
  left: 0;
  right: 0;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 80px;
}

.type_featured .box_arrow {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  margin-top: -18px;
  padding: 0 65px 0 80px;
  z-index: 10;
  box-sizing: border-box;
}

.type_featured .btn_arrow {
  width: 64px;
  height: 64px;
  padding-top: 4px;
  border-radius: 64px;
  background-color: rgba(0, 0, 0, 0.7);
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  transition: .2s ease-out;
}

.type_featured .btn_arrow:hover {
  color: #fff;
}

.type_featured .btn_prev {
  float: left;
  background-image: url(./images/arr_left.png);
}

.type_featured .btn_next {
  float: right;
  background-image: url(./images/arr_right.png);
}

.type_featured .slide_item {
  z-index: 1;
  overflow: hidden;
}

.type_featured .link_slide {
  position: relative;
  display: block;
  width: 100%;
  height: 100vh;
  height: calc(100vh - var(--vh-offset, 0px));
  ;
  background-size: cover;
  background-position: 50% 50%;
  overflow: hidden;
  z-index: 1;
}

.type_featured .link_slide:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.54);
  transition: background-color .3s ease-in-out;
}

.type_featured .text_slide {
  position: relative;
  display: flex;
  -ms-display: flexbox;
  /* IE 10 */
  display: -webkit-flex;
  /* Safari */
  flex-direction: column;
  justify-content: center;
  max-width: 1180px;
  height: 100%;
  margin: 0 auto;
  padding: 0 76px;
  font-size: 44px;
  color: #fff;
  z-index: 10;
}

.type_featured .text_slide strong {
  display: block;
  max-height: 130px;
  max-width: 1024px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.type_featured .text {
  width: 60%;
  max-height: 85px;
  margin: 20px 0 40px 0;
  font-size: 16px;
  line-height: 28px;
  word-break: keep-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.type_featured .link_detail {
  display: inline-block;
  width: 194px;
  height: 50px;
  line-height: 53px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.type_featured .slide_page {
  position: absolute;
  left: 37px;
  bottom: 60px;
  font-size: 0;
  text-align: center;
  z-index: 10;
}

.type_featured .slide_page li {
  display: inline-block;
}

.type_featured .ico_circle {
  width: 10px;
  height: 10px;
  margin: 0 3px;
  padding: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.54);
  cursor: pointer;
  outline: none;
}

/* // type_featured */
/* media query - tablet */
@media screen and (max-width: 1406px) {
  .type_featured {
    margin-top: 60px;
  }

  .type_featured .text_slide {
    padding: 0 80px;
    font-size: 40px;
  }

  .type_featured .box_arrow {
    display: none;
  }
}

/* media query - mobile */
@media screen and (max-width: 1023px) {
  .type_featured .text_slide strong {
    max-height: 140px;
    font-size: 30px;
    -webkit-line-clamp: 3;
  }

  .type_featured .text_slide {
    position: absolute;
    bottom: 100px;
    height: auto;
    padding: 0 24px;
    font-size: 32px;
  }

  .type_featured .text_slide .text {
    width: 100%;
    margin: 20px 0 30px 0;
    line-height: 28px;
  }

  .type_featured .slide_page {
    left: 24px;
    bottom: 40px;
    padding: 0;
  }
}

/* media query - only mobile */
@media screen and (max-width: 768px) {
  .type_featured .link_detail {
    padding-top: 2px;
    font-size: 13px;
    line-height: 40px;
    height: 40px;
    width: 120px;
  }

  .type_featured .ico_circle {
    width: 8px;
    height: 8px;
  }
}

/* type_post - 갤러리 커버 */
.type_post {
  max-width: 1180px;
  margin: 120px auto -20px auto;
  overflow: hidden;
}

.type_post:after {
  content: '';
  display: block;
  clear: both;
}

.type_post .list_post,
.category_type_post .list_category {
  margin: 0 -10px;
  padding: 0;
  list-style: none;
}

.list_post .item_post,
.category_type_post .item_category {
  float: left;
  width: 25%;
  margin-bottom: 20px;
}

.list_post .link_post,
.category_type_post .link_category {
  position: relative;
  display: block;
  margin: 0 10px;
  padding-top: 143%;
  background-size: cover;
  background-position: 50% 50%;
}


.list_post .item_post:hover .link_post:before,
.category_type_post .item_category:hover .link_category:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.65);
}

.list_post .info .date,
.category_type_post .date {
  display: none;
  margin-top: 40px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.31;
}

.list_post .link_post:hover .info,
.category_type_post .link_category:hover .info {
  display: flex;
}

.list_post .link_post .info,
.category_type_post .link_category .info {
  position: absolute;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  text-align: center;
}

.list_post .link_post .info .name,
.category_type_post .link_category .info .name {
  display: block;
  width: calc(100% - 80px);
  max-height: 65px;
  margin: 0 auto;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.33;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* media query - mobile */
@media screen and (max-width: 1023px) {
  .type_post {
    margin: 60px auto 0 auto;
  }

  .title_section {
    margin: 0 0 20px 0;
    font-size: 16px;
    text-align: left;
  }

  .type_post .title_section {
    text-align: center;
  }

  .list_post,
  .category_type_post {
    margin: 0 -1px;
  }

  .list_post .item_post,
  .category_type_post .item_category {
    margin-bottom: 1px;
  }

  .list_post .link_post,
  .category_type_post .link_category {
    margin: 0 0.5px;
  }

  .item_post .link_post:before,
  .category_type_post .item_category .link_category:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.65);
  }

  .list_post .link_post .info,
  .category_type_post .link_category .info {
    display: flex;
  }

  .list_post .link_post .info .name,
  .category_type_post .link_category .info .name {
    width: calc(100% - 32px);
    font-size: 16px;
  }
}

/* media query - mobile specific */
@media screen and (max-width: 375px) {

  .list_post .link_post .info .name,
  .category_type_post .link_category .info .name {
    width: calc(100% - 32px);
    font-size: 13px;
  }
}

/* // type_post */
/* type_card - 섬네일 커버*/
.type_card {
  max-width: 1180px;
  margin: 120px auto -60px auto;
  overflow: hidden;
}

.type_card:after {
  content: '';
  display: block;
  clear: both;
}

.list_type_card {
  margin: 0 -10px;
  padding: 0;
  list-style: none;
  font-size: 0;
}

.list_type_card .item_card {
  display: inline-block;
  width: 25%;
  margin-bottom: 58px;
  vertical-align: top;
}

.list_type_card .link_card {
  display: block;
  margin: 0 10px;
  color: #333;
  line-height: 1.33;
  transition: all .2s ease-out;
}

.list_type_card .link_card:hover {
  opacity: 0.6;
}

.list_type_card .link_card strong {
  display: block;
  margin: 18px 8px 6px 0;
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.list_type_card .link_card .thumnail {
  display: block;
  width: 100%;
  padding-top: 50%;
  background-size: cover;
  background-position: 50% 50%;
}

.list_type_card .link_card .text {
  max-height: 78px;
  margin: 0;
  font-size: 14px;
  color: #777;
  line-height: 1.71;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* media query - mobile */
@media screen and (max-width: 1023px) {
  .type_card {
    margin: 60px auto -30px auto;
    padding: 0 24px;
  }

  .type_card .list_type_card {
    margin: 0 -8px;
  }

  .type_card .item_card {
    width: 50%;
    margin-bottom: 30px;
  }

  .type_card .link_card strong {
    margin: 16px 8px 4px 0;
    -webkit-line-clamp: 1;
  }

  .type_card .link_card {
    margin: 0 8px;
  }

  .type_card .link_card .text {
    -webkit-line-clamp: 2;
    line-height: 1.5;
  }

  .list_type_card .link_card .thumnail {
    padding-top: 65%;
  }
}

/* // type_card */
/* type_banner - 와이드패널 커버 */
.type_banner {
  max-width: 1180px;
  margin: 120px auto 0 auto;
}

.list_type_banner {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list_type_banner .link_banner {
  position: relative;
  display: block;
  height: 280px;
  font-size: 24px;
  color: #333;
  background-size: cover;
  background-position: 50% 50%;
  transition: all .2s ease-out;
}

.list_type_banner li:nth-child(even) .box_content {
  float: right;
  text-align: right;
}

.list_type_banner li:nth-child(even) .btn_go {
  right: 50px;
  left: auto;
}

.list_type_banner .box_content {
  width: 70%;
  padding: 47px 45px 50px 48px;
}

.list_type_banner .link_banner:hover {
  opacity: 0.6;
}

.list_type_banner .link_banner strong {
  display: block;
  max-height: 58px;
  font-size: 50px;
  font-weight: 900;
  color: #fff;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.list_type_banner .link_banner .text {
  max-height: 80px;
  margin: 12px 4px 0 2px;
  font-size: 16px;
  color: #fff;
  line-height: 1.62;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.list_type_banner .link_banner .btn_go {
  position: absolute;
  left: 50px;
  bottom: 48px;
  width: 42px;
  height: 42px;
  background: #000;
  border-radius: 42px;
  font-size: 17px;
  font-weight: 400;
  color: #fff;
}

/* media query - mobile */
@media screen and (max-width: 1023px) {
  .type_banner {
    margin-top: 60px;
    padding: 0 24px;
  }

  .list_type_banner .link_banner {
    height: 100px;
  }

  .list_type_banner .box_content {
    width: 100%;
    padding: 25px;
  }

  .list_type_banner .link_banner strong {
    display: block;
    margin: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 26px;
    overflow: hidden;
  }

  .list_type_banner .link_banner .btn_go {
    display: none;
  }

  .list_type_banner .link_banner .text {
    display: inline-block;
    width: 100%;
    margin: 2px 0 0 0;
    line-height: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
}

/* // type_banner */
/* type_notice - 리스트 커버 */
.type_notice {
  max-width: 1180px;
  margin: 120px auto 0 auto;
}

.type_notice:after {
  content: '';
  display: block;
  clear: both;
}

.type_notice .thumnail,
.category_type_notice .thumnail {
  float: left;
  display: block;
  width: 280px;
  height: 160px;
  margin-right: 24px;
  background-size: cover;
  background-position: 50% 50%;
}

.type_notice .info,
.category_type_notice .info {
  padding-top: 8px;
  overflow: hidden;
}

.list_type_notice,
.category_type_notice .list_category {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: solid 2px #333;
}

.list_type_notice:after,
.category_type_notice .list_category:after {
  content: '';
  display: block;
  clear: both;
}

.list_type_notice .item_notice,
.category_type_notice .item_category {
  padding: 30px 0;
  border-bottom: 1px solid #ebebeb;
}

.list_type_notice .item_notice:after,
.category_type_notice .item_category:after {
  content: '';
  display: block;
  clear: both;
}

.list_type_notice .link_notice,
.category_type_notice .link_category {
  display: block;
  color: #333;
  transition: all .2s ease-out;
}

.list_type_notice .link_notice:hover,
.category_type_notice .link_category:hover {
  color: rgba(0, 0, 0, 0.6);
}

.list_type_notice .link_notice strong,
.category_type_notice .link_category strong {
  display: block;
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.category_type_notice .link_category .info .name img {
  box-sizing: content-box;
}

.list_type_notice .link_notice .text,
.category_type_notice .link_category .text {
  font-size: 14px;
  line-height: 24px;
  margin: 6px 0 12px 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: #777;
  width: 95%;
}

.list_type_notice .link_notice .date,
.category_type_notice .link_category .date {
  display: block;
  font-size: 13px;
  line-height: 20px;
  opacity: .5;
}

.category_type_notice .item_category:after {
  content: '';
  display: block;
  clear: both;
}

/* media query - mobile */
@media screen and (max-width: 1023px) {

  .type_notice,
  .category_type_notice {
    margin-top: 60px;
    padding: 0 24px;
  }

  .type_notice .thumnail,
  .category_type_notice .thumnail {
    width: 160px;
    height: 160px;
    margin-right: 16px;
  }

  .list_type_notice .item_notice,
  .category_type_notice .item_category {
    padding: 20px 0;
  }
}

/* // type_notice */
/* media query - only mobile */
@media screen and (max-width: 768px) {

  .list_type_notice .link_notice strong,
  .category_type_notice .link_category strong {
    font-size: 16px;
    line-height: normal;
  }

  .list_type_notice .link_notice .text,
  .category_type_notice .link_category .text {
    margin: 4px 0 8px 0;
    font-size: 14px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
  }

  .type_notice .thumnail,
  .category_type_notice .thumnail {
    width: 100px;
    height: 100px;
  }

  .type_notice .info,
  .category_type_notice .info {
    padding-top: 0;
  }
}

/* area_category */
.area_category {
  max-width: 1180px;
  margin: 148px auto 0 auto;
  padding: 120px 24px 0 24px;
}

.area_category a {
  text-decoration: none;
}

.area_category ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
  box-sizing: border-box;
}

.area_category .title_section span {
  padding-left: 8px;
  font-size: 16px;
  /*  vertical-align: 2px; */
}

.category_type_notice,
.category_type_post {
  margin-bottom: 60px;
}

/* category_type_post - list_category */
.category_type_post .list_category:after {
  content: '';
  display: block;
  clear: both;
}

.category_type_notice .link_category {
  background: none !important;
}

.category_type_post .link_category .text {
  display: none;
}

/* // category_type_post - list_category */
/* media query - mobile */
@media screen and (max-width: 1023px) {
  .area_category {
    margin-top: 70px;
    padding-top: 60px;
  }

  .area_category .title_section {
    text-align: left;
  }
}

/* type_related */
.category_type_related .list_category {
  list-style: none;
  margin: 0 -8px;
  padding: 0;
  border: none;
  box-sizing: border-box;
  font-size: 0;
}

.category_type_related .thumnail {
  display: block;
  width: 100%;
  padding-top: 50%;
  background-size: cover;
  background-position: 50% 50%;
}

.category_type_related .item_category {
  display: inline-block;
  width: 33.3%;
  margin-bottom: 54px;
  vertical-align: top;
}

.category_type_related .link_category {
  display: block;
  padding: 0 8px;
  background: none !important;
  color: #333;
}

.category_type_related .box_content {
  width: 100%;
}

.category_type_related .link_category strong {
  display: block;
  margin: 18px 0 6px 0;
  line-height: 28px;
  font-size: 18px;
  color: #333;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.category_type_related .link_related .info {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.38);
  line-height: 1.71;
}

.category_type_related .link_category .text {
  max-height: 70px;
  margin: 0 0 13px 0;
  font-size: 14px;
  line-height: 20px;
  overflow: hidden;
  opacity: 0.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  width: 95%;
}

.category_type_related .link_category .date {
  display: block;
  font-size: 13px;
  line-height: 20px;
  color: rgba(0, 0, 0, 0.38);
}

@media screen and (max-width: 1023px) {
  .category_type_related .item_category {
    width: 100%;
    margin-bottom: 30px !important;
  }

  .category_type_related .link_category strong {
    display: block;
    margin: 12px 0 4px 0;
    font-size: 17px;
  }

  .category_type_related .link_category .text {
    margin: 0 0 10px 0;
  }
}

/* // area_category */
/* // category_type_post - list_category */
.area_view {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  word-break: break-word;
}

/* area_index_category */
.area_index_category a {
  text-decoration: none;
}

.area_index_category .list_category {
  list-style: none;
  border: none;
  box-sizing: border-box;
}

/* // area_index_category */
.area_view .article_header .title_post {
  display: block;
  font-size: 40px;
  line-height: 1.5em;
}

.area_view .article_header .info {
  margin: 20px 0 0 0;
  font-size: 14px;
}

.area_view .txt_post {
  height: 160px;
  margin: 40px 0 30px 0;
  -webkit-line-clamp: 6;
}

/* area_view - area_post_btn */
.area_view .article_modify {
  padding-bottom: 13px;
  border-bottom: 1px solid #eee;
}

.area_view .article_modify:after {
  content: '';
  display: block;
  clear: both;
}

.area_view .list_share {
  margin: 60px 0 48px 0;
  font-size: 0;
  text-align: center;
}

.area_view .list_share:after {
  content: '';
  display: block;
  clear: both;
}

.area_view .list_share .item_share {
  display: inline-block;
  margin-right: 12px;
  list-style: none;
}

.area_view .list_share .link_share {
  display: flex;
  -ms-display: flexbox;
  /* IE 10 */
  display: -webkit-flex;
  /* Safari */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 48px;
  font-size: 28px;
  color: rgba(0, 0, 0, 0.54);
  text-decoration: none;
  text-align: center;
}

.area_view .article_modify .box_util {
  float: left;
}

.area_view .article_modify button {
  background: none;
  padding: 5px;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.area_view .article_modify i {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url(http://t1.daumcdn.net/tistory_admin/static/admin/editor/ico_postbtn.png) no-repeat;
  overflow: hidden;
  vertical-align: top;
}

.area_view .article_modify .btn_like {
  padding-right: 10px;
  background: url(images/ico_dot.gif) no-repeat center right;
  line-height: 14px;
}

.area_view .article_modify .btn_share {
  margin-top: 15px;
}

.area_view .article_modify .btn_like .icon {
  background-position: 0 0;
}

.area_view .article_modify .btn_like .icon_like {
  background-position: -20px 0;
}

.area_view .article_modify .btn_share .icon {
  margin-top: 1px;
  background-position: -40px 0;
}

.area_view .article_modify .box_ccl {
  float: right;
  padding-top: 20px;
}

/* area_view - box_ccl */
.area_view .box_ccl .link_ccl {
  display: inline-block;
}

/* media query - mobile */
@media screen and (max-width: 1023px) {
  .area_view {
    padding: 0 24px;
  }

  .area_view .article_header {
    text-align: left;
  }

  .area_view .article_header .inner_header {
    padding: 0 20px;
    box-sizing: border-box;
  }

  .type_article_header_common .inner_header {
    height: 520px;
  }

  .area_view .article_header .info_text {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .area_view .article_header .title_post {
    width: 100%;
    font-size: 28px;
    line-height: 38px;
  }
}

.article_view {
  max-width: 700px;
  margin: 80px auto 0 auto;
}

.article_view p {
  font-size: 16px;
}

.article_view h1,
.article_view h2,
.article_view h3,
.article_view h4 {

  font-weight: 900;
  color: rgba(0, 0, 0, 0.87);
}

.article_view h1 {
  font-size: 32px;
  line-height: 1.33;
}

.article_view h2 {
  font-size: 24px;
  line-height: 1.38;
}

.article_view h3 {
  font-size: 20px;
  line-height: 1.4;
}

.article_view h4 {
  font-size: 18px;
  line-height: 1.33;
}

.article_view blockquote {
  margin: 0;
  padding-left: 19px;
  border-left: 1px solid;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.54);
}

.article_view ul,
.article_view ol {
  margin: 0;
  padding: 0 0 0 19px;
}

.article_view ul {
  margin-top: 18px;
}

.article_view ul li {
  font-size: 16px;
  line-height: 24px;
  color: rgba(0, 0, 0, 0.87);
  word-break: break-all;
}

.article_view ol {
  margin-bottom: 32px;
}

.article_view ol li {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.87);
  word-break: break-all;
}

.article_view table {
  border-collapse: collapse;
}

.article_view table thead tr {
  background: rgba(0, 0, 0, 0.05);
  font-size: 16px;
  color: #000;
}

.article_view table tr th,
.article_view table tr td {
  padding: 7px;
}

.article_view pre {
  background: rgba(0, 0, 0, 0.05);
  font-size: 16px;
  color: rgba(34, 85, 51, 0.87);
  white-space: pre-wrap;
}

.article_view pre code.hljs {
  padding: 20px;
}

.article_view .cap1 {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.54);
}

.article_view hr {
  margin: 30px 0;
}

.article_view a {
  display: inline-block;
  color: #3d62ce;
}

.article_view a:hover {
  opacity: 0.7;
}

.article_view .moreless_fold span,
.article_view .moreless_top span {
  font-size: 16px;
  line-height: 2.5;
}

.article_view .moreless_top {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.article_view .moreless_bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.article_view .moreless_bottom span {
  display: none;
}

.article_view .footnote a {
  text-decoration: none;
}

.article_view .footnotes li {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.38);
}

.article_view .table-overflow {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article_view .table-overflow {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article_view img {
  max-width: 100%;
}

/* 보호글 비밀번호 입력 */
.protected_form input {
  border: 1px solid #e1e1e1;
  padding: 9px 14px;
  font-size: 14px;
}

/* area_view - 유튜브 사이즈 제어 */
@media screen and (max-width: 743px) {
  .article_view iframe {
    width: 100%;
    height: 56vw;
    -ms-height: 56vmax;
  }
}

/* media query - only mobile */
@media screen and (max-width: 768px) {
  .article_view {
    margin-top: 40px;
  }
}


/* 커버 미사용시 리스트 */
.list_index a {
  text-decoration: none;
}

.list_index {
  margin-bottom: 0;
  margin-top: 0;
  padding: 0
}

.list_index:first-child {
  margin-top: 168px;
}

.list_index:last-child {
  margin-bottom: 60px;
}

@media screen and (max-width: 1023px) {
  .list_index:first-child {
    margin-top: 100px;
  }
}

/* 커버 미사용시 리스트-블로그형 */

.list_index.category_type_related {
  display: inline-block;
  width: 33.3%;
  margin-left: -2px;
  margin-right: -2px;
}

.list_index.category_type_related:first-child {
  margin-top: 200px
}

.list_index.category_type_related:last-child {
  margin-bottom: 0
}


.list_index.category_type_related .item_category {
  width: 100%;
}

@media screen and (max-width: 1023px) {
  .list_index.category_type_related {
    width: 100%;
    margin: 0;
  }

  .list_index.category_type_related:first-child {
    margin-top: 120px
  }

  .list_index.category_type_related .link_category {
    padding: 0
  }
}

/* absent_post */
.area_view .absent_post {
  margin-top: 240px
}

@media screen and (max-width: 1023px) {
  .area_view .absent_post {
    margin: 200px 0 90px 0;
  }
}

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

.tt-comment-cont .tt-box-total {
  margin-bottom: 20px;
}

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

.tt-comment-cont .tt-box-total .tt_num_g {
  font-size: 15px;
  color: #FF567A;
}

.tt-comment-cont .tt-link-comment .tt_num_g {
  color: #FF567A;
}

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

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

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

.tt-comment-cont .tt-wrap-cmt .tt_txt_g {
  color: #FF567A;
}

.tt-comment-cont .tt-btn_register {
  width: 115px;
  height: 42px;
  background-color: #FF567A;
  border-radius: 0;
  border-color: #FF567A;
}

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

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

.tt-comment-cont .tt-item-reply:last-child {
  border-top: 1px solid #f5f5f5;
}

.my_edit .ico_more {
  fill: #fff !important;
}

/* 전체 공통 */
#article-view {
  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 3px 22px;
  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;
}

/* ===== 트레이더 스님 상단 배너 ===== */
.trader-monk-banner {
  width: 100%;
  background-color: #1e1e23;
  text-align: center;
  line-height: 0;
  overflow: hidden;
}

.trader-monk-banner img {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===== 네비게이션 바 ===== */
.trader-monk-nav {
  width: 100%;
  background: #1a1a1f;
  border-top: 1px solid rgba(195, 155, 70, 0.3);
  border-bottom: 1px solid rgba(195, 155, 70, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

.trader-monk-nav .nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  height: 48px;
}

.trader-monk-nav .nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trader-monk-nav .nav-left a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.trader-monk-nav .nav-home {
  color: #c9c9cc;
}

.trader-monk-nav .nav-home:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.trader-monk-nav .nav-kmong {
  color: #d4af5a;
  background: rgba(195, 155, 70, 0.1);
  border: 1px solid rgba(195, 155, 70, 0.25);
}

.trader-monk-nav .nav-kmong:hover {
  background: rgba(195, 155, 70, 0.2);
  border-color: rgba(195, 155, 70, 0.5);
  color: #e8c86a;
}

.trader-monk-nav .nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.trader-monk-nav .nav-right button {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 4px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  opacity: 0.6;
}

.trader-monk-nav .nav-right button:hover {
  background-color: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.trader-monk-nav .nav-right .btn_search {
  background-image: url(./images/ico_search.svg);
}

.trader-monk-nav .nav-right .btn_menu {
  background-image: url(./images/ico_menu.svg);
}

/* 기존 헤더 숨기기 */
.box_header {
  display: none !important;
}

/* 배너와 콘텐츠 사이 여백 조정 */
.area_cover {
  margin-top: 40px;
}

.area_category {
  margin-top: 0;
  padding-top: 40px;
}

.list_index:first-child {
  margin-top: 40px;
}

/* ===== 모바일 대응 ===== */
@media (max-width: 768px) {
  .trader-monk-banner img {
    min-height: 100px;
    object-fit: cover;
  }

  .trader-monk-nav .nav-inner {
    padding: 0 16px;
    height: 44px;
  }

  .trader-monk-nav .nav-left a {
    padding: 5px 10px;
    font-size: 12px;
  }

  .area_category {
    padding-top: 24px;
  }
}

@media (max-width: 1023px) {
  .area_cover {
    margin-top: 20px;
  }

  .area_category {
    margin-top: 0;
    padding-top: 24px;
  }

  .list_index:first-child {
    margin-top: 24px;
  }
}

/* ===== Custom Layering & UX Fixes (CLEAN & FORCE) ===== */
/* FORCE STICKY ROOT FIX for #wrap */
#wrap {
  overflow: visible !important;
  height: auto !important;
}

/* 1. Header & Nav - Sticky but under overlay */
.box_header,
.trader-monk-nav {
  z-index: 9000 !important;
  position: sticky !important;
  /* Ensure sticky */
  top: 0 !important;
}

/* 2. Dimmed Background - Middle Layer */
.area_sidebar .dimmed_sidebar,
.area_popup .dimmed_search {
  z-index: 9500 !important;
}

/* 3. Sidebars & Popup - Top Layer */
.area_sidebar .inner_sidebar,
.area_sidebar,
.area_popup {
  z-index: 10000 !important;
  position: relative;
  /* Context foundation */
}

/* SIDEBAR (MENU) - FORCE RIGHT SLIDE */
.area_sidebar {
  display: block;
  /* Control visibility logic */
}

.area_sidebar .inner_sidebar {
  position: fixed !important;
  top: 0 !important;
  right: -100% !important;
  /* Start off-screen right */
  left: auto !important;
  /* Kill Left */
  width: 300px !important;
  /* Standard width */
  height: 100vh !important;
  background: #fff;
  transition: right 0.3s ease-in-out !important;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

/* Open State for Sidebar */
body.sidebar-open .area_sidebar .inner_sidebar {
  right: 0 !important;
}

/* Search Popup -> Slide-in Sidebar Style */
.area_popup {
  display: block;
  /* We control it via visibility/transform */

  /* POSITIONING: Always Fixed Right */
  position: fixed !important;
  top: 0 !important;
  right: -100% !important;
  /* Start off-screen right */
  left: auto !important;
  /* KILL LEFT POSITIONING */

  width: 100% !important;
  max-width: 400px !important;
  height: 100vh !important;

  background: #fff;
  transition: right 0.3s ease-in-out !important;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  visibility: hidden;
  overflow-y: auto;
}

.area_popup.show {
  right: 0 !important;
  /* Slide In */
  visibility: visible !important;
}

/* Override Any Internal Tistory Search Styles */
.area_popup .area_search {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  background: transparent !important;
}

.area_popup .search_header {
  padding: 40px 20px 20px 20px;
}

.area_popup .search_content {
  padding: 0 20px;
}

/* Body Lock */
body.search-open,
body.sidebar-open {
  overflow: hidden !important;
  touch-action: none;
}

/* =========================================
   FLOATING PROFILE WIDGET (Bottom Right)
   ========================================= */
.trader-profile-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 8000;
  /* Visible but under Sidebar/Search (10000) */
  width: 280px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  font-family: 'Spoqa Han Sans', sans-serif;
  animation: floatUp 0.8s ease-out forwards;
}

/* Hover Effect */
.trader-profile-widget:hover {
  transform: translateY(-5px);
  background: #fff;
}

/* Profile Image */
.trader-profile-widget .profile-img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  /* Soft Square > Circle */
  margin: 0 auto 10px;
  overflow: hidden;
  border: 2px solid #CCA34D;
  /* Gold Border */
  background: #fff;
  /* Ensure white background for transparent logos */
}

.trader-profile-widget .profile-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Show full image */
}

/* Text Info */
.trader-profile-widget strong {
  display: block;
  font-size: 16px;
  color: #333;
  margin-bottom: 4px;
}

.trader-profile-widget p {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.4;
}

/* Buttons */
.trader-profile-widget .btn-kmong {
  display: block;
  width: 100%;
  padding: 10px 0;
  background: #FFD400;
  /* Kmong Yellow */
  color: #333;
  font-weight: bold;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.trader-profile-widget .btn-kmong:hover {
  background: #ffc400;
}

/* Close Button (Mini) */
.trader-profile-widget .btn-close-widget {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  opacity: 0.3;
}

.trader-profile-widget .btn-close-widget:hover {
  opacity: 1;
}

/* Mobile Logic: Hide if too small or adjust */
@media (max-width: 768px) {
  .trader-profile-widget {
    bottom: 20px;
    right: 20px;
    width: 240px;
    display: none;
    /* Often distracting on mobile, user can enable if wanted */
  }
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================================
   SAAS-LEVEL UX ENHANCEMENT v2.0
   - Design Tokens (CSS Variables)
   - Fluid Typography & Spacing
   - Smooth Micro-interactions
   - Enhanced Mobile Responsiveness
   - Accessibility Improvements
   ============================================================= */

/* ===== 1. DESIGN TOKENS (CSS Custom Properties) ===== */
:root {
  /* Color Palette - Primary */
  --color-primary: #c39b46;
  --color-primary-light: #d4af5a;
  --color-primary-dark: #a88339;

  /* Color Palette - Dark Theme */
  --color-bg-dark: #1a1a1f;
  --color-bg-darker: #15151a;
  --color-surface-dark: rgba(255, 255, 255, 0.05);

  /* Color Palette - Light Theme */
  --color-bg-light: #ffffff;
  --color-surface-light: #f8f9fa;
  --color-border-light: rgba(0, 0, 0, 0.08);

  /* Text Colors */
  --color-text-primary: #1d2129;
  --color-text-secondary: #666666;
  --color-text-muted: #999999;
  --color-text-inverse: #ffffff;

  /* Spacing Scale (8px base) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Fluid Spacing */
  --space-fluid-sm: clamp(8px, 2vw, 16px);
  --space-fluid-md: clamp(16px, 4vw, 32px);
  --space-fluid-lg: clamp(24px, 6vw, 48px);
  --space-fluid-xl: clamp(32px, 8vw, 64px);

  /* Typography Scale */
  --font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --font-size-sm: clamp(0.8125rem, 0.75rem + 0.3vw, 0.875rem);
  --font-size-base: clamp(0.9375rem, 0.875rem + 0.3vw, 1rem);
  --font-size-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.125rem);
  --font-size-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --font-size-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --font-size-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.75rem);
  --font-size-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);

  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows - Subtle & Elegant */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.12);

  /* Transitions - Smooth & Natural */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --transition-fast: 150ms var(--ease-out-expo);
  --transition-normal: 250ms var(--ease-out-expo);
  --transition-slow: 400ms var(--ease-out-quart);
  --transition-spring: 500ms var(--ease-spring);
}

/* ===== 2. ENHANCED BASE STYLES ===== */
html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Focus States - Accessibility */
*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Selection Color */
::selection {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
}

/* ===== 3. NAVIGATION ENHANCEMENTS ===== */
/* Smooth backdrop blur on scroll */
.trader-monk-nav {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(26, 26, 31, 0.92);
  transition: background var(--transition-normal),
    box-shadow var(--transition-normal);
}

.trader-monk-nav:hover {
  background: rgba(26, 26, 31, 0.98);
}

/* Nav Link Micro-interactions */
.trader-monk-nav .nav-left a {
  position: relative;
  transition: all var(--transition-normal);
}

.trader-monk-nav .nav-left a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
  border-radius: var(--radius-full);
}

.trader-monk-nav .nav-home:hover::after {
  width: calc(100% - 28px);
}

.trader-monk-nav .nav-kmong {
  transition: all var(--transition-normal);
}

.trader-monk-nav .nav-kmong:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(195, 155, 70, 0.25);
}

/* Nav Button Effects */
.trader-monk-nav .nav-right button {
  transition: all var(--transition-normal);
}

.trader-monk-nav .nav-right button:hover {
  transform: scale(1.05);
}

.trader-monk-nav .nav-right button:active {
  transform: scale(0.95);
}

/* ===== 4. CARD & LIST HOVER EFFECTS ===== */
/* Card Lift Effect - type_card */
.list_type_card .link_card {
  transition: transform var(--transition-normal),
    box-shadow var(--transition-normal),
    opacity var(--transition-fast);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.list_type_card .link_card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  opacity: 1;
}

.list_type_card .link_card .thumnail {
  transition: transform var(--transition-slow);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.list_type_card .link_card:hover .thumnail {
  transform: scale(1.03);
}

/* Notice/List Item Effects - type_notice */
.list_type_notice .link_notice,
.category_type_notice .link_category {
  transition: all var(--transition-normal);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: calc(-1 * var(--space-md));
}

.list_type_notice .link_notice:hover,
.category_type_notice .link_category:hover {
  background: var(--color-surface-light);
  transform: translateX(4px);
}

.list_type_notice .thumnail,
.category_type_notice .thumnail {
  transition: transform var(--transition-slow);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.list_type_notice .link_notice:hover .thumnail,
.category_type_notice .link_category:hover .thumnail {
  transform: scale(1.02);
}

/* Banner Item Effects - type_banner */
.list_type_banner .link_banner {
  transition: transform var(--transition-normal),
    box-shadow var(--transition-normal),
    opacity var(--transition-fast);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.list_type_banner .link_banner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  opacity: 1;
}

/* Post Gallery Effects - type_post */
.list_post .link_post,
.category_type_post .link_category {
  overflow: hidden;
  transition: transform var(--transition-normal);
  border-radius: var(--radius-sm);
}

.list_post .link_post:hover,
.category_type_post .link_category:hover {
  transform: scale(1.02);
}

.list_post .link_post:hover::before,
.category_type_post .item_category:hover .link_category::before {
  background-color: rgba(0, 0, 0, 0.5);
  transition: background-color var(--transition-normal);
}

/* Related Articles Effects */
.area_related .link_related {
  transition: all var(--transition-normal);
  padding: var(--space-sm);
  margin: calc(-1 * var(--space-sm));
  border-radius: var(--radius-md);
}

.area_related .link_related:hover {
  background: var(--color-surface-light);
}

.area_related .thumnail {
  transition: transform var(--transition-slow);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.area_related .link_related:hover .thumnail {
  transform: scale(1.03);
}

/* ===== 5. FEATURED SLIDER ENHANCEMENTS ===== */
.type_featured .link_slide::before {
  transition: background-color var(--transition-slow);
}

.type_featured .link_slide:hover::before {
  background-color: rgba(0, 0, 0, 0.45);
}

.type_featured .text_slide {
  transition: transform var(--transition-slow);
}

.type_featured .link_slide:hover .text_slide {
  transform: translateY(-8px);
}

.type_featured .link_detail {
  transition: all var(--transition-normal);
  border-radius: var(--radius-md);
}

.type_featured .link_detail:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.type_featured .btn_arrow {
  transition: all var(--transition-normal);
}

.type_featured .btn_arrow:hover {
  transform: scale(1.1);
}

.type_featured .btn_arrow:active {
  transform: scale(0.95);
}

/* ===== 6. ARTICLE VIEW ENHANCEMENTS ===== */
.article_view a {
  transition: color var(--transition-fast),
    opacity var(--transition-fast);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article_view a:hover {
  opacity: 0.85;
  text-decoration-thickness: 2px;
}

/* Tag Enhancements */
.area_tag .tag_content a {
  transition: all var(--transition-normal);
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--color-surface-light);
}

.area_tag .tag_content a:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  transform: translateY(-2px);
}

/* Search Tag Zone */
.tag_zone a {
  transition: all var(--transition-normal);
  border-radius: var(--radius-md);
}

.tag_zone a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ===== 7. PROFILE WIDGET ENHANCEMENTS ===== */
.trader-profile-widget {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal),
    box-shadow var(--transition-normal),
    opacity var(--transition-normal);
}

.trader-profile-widget:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.trader-profile-widget .btn-kmong {
  transition: all var(--transition-normal);
  border-radius: var(--radius-md);
}

.trader-profile-widget .btn-kmong:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 212, 0, 0.35);
}

.trader-profile-widget .btn-close-widget {
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
}

.trader-profile-widget .btn-close-widget:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* ===== 8. SIDEBAR & POPUP ENHANCEMENTS ===== */
.area_sidebar .inner_sidebar {
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
}

.area_popup {
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
}

/* Sidebar Links */
.area_sidebar .link_item {
  transition: all var(--transition-normal);
  border-radius: var(--radius-md);
  padding: 15px 12px 12px 12px !important;
  margin: 0 -12px;
}

.area_sidebar .link_item:hover {
  background: var(--color-surface-light);
  transform: translateX(4px);
}

/* ===== 9. PAGING ENHANCEMENTS ===== */
.area_paging .link_page {
  transition: all var(--transition-normal);
}

.area_paging .link_page:hover {
  transform: scale(1.1);
}

.area_paging .link_num span {
  transition: all var(--transition-normal);
}

.area_paging .link_num:hover span {
  transform: scale(1.1);
}

/* ===== 10. BUTTON & INPUT ENHANCEMENTS ===== */
/* Reply Button */
.area_reply .btn_register {
  transition: all var(--transition-normal);
  border-radius: var(--radius-md);
}

.area_reply .btn_register:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Search Input */
.area_popup .box_form .inp_search {
  transition: all var(--transition-normal);
}

.area_popup .box_form .inp_search:focus {
  border-color: var(--color-primary);
}

/* ===== 11. FOOTER ENHANCEMENTS ===== */
#footer .link_footer {
  transition: all var(--transition-normal);
}

#footer .link_footer:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* ===== 12. RESPONSIVE ENHANCEMENTS ===== */

/* === Tablet (768px - 1023px) === */
@media screen and (min-width: 768px) and (max-width: 1023px) {

  /* Better grid for tablets */
  .list_type_card .item_card {
    width: 33.333%;
  }

  .category_type_related .item_category {
    width: 50%;
    margin-bottom: 30px;
  }

  .area_related .item_related {
    width: 50%;
  }

  /* Fluid spacing for tablets */
  .area_category,
  .type_notice,
  .type_card,
  .type_banner {
    padding-left: var(--space-fluid-md);
    padding-right: var(--space-fluid-md);
  }

  /* Banner height adjustment */
  .list_type_banner .link_banner {
    height: 180px;
  }

  .list_type_banner .link_banner strong {
    font-size: 36px;
  }
}

/* === Mobile Enhanced (max-width: 767px) === */
@media screen and (max-width: 767px) {

  /* Mobile Navigation - Horizontal Scroll */
  .trader-monk-nav .nav-inner {
    padding: 0 var(--space-md);
  }

  .trader-monk-nav .nav-left {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: var(--space-xs);
    padding-right: var(--space-md);
    margin-right: calc(-1 * var(--space-md));
  }

  .trader-monk-nav .nav-left::-webkit-scrollbar {
    display: none;
  }

  .trader-monk-nav .nav-left a {
    flex-shrink: 0;
    padding: 5px 10px;
    font-size: 11px;
  }

  .trader-monk-nav .nav-left a span {
    white-space: nowrap;
  }

  /* Hide some menu items on very small screens */
  @media screen and (max-width: 400px) {
    .trader-monk-nav .nav-left a svg {
      display: none;
    }
  }

  /* Card layout single column option */
  .list_type_card .item_card {
    width: 50%;
  }

  /* Better spacing */
  .area_category {
    padding: var(--space-lg) var(--space-md);
  }

  /* Smaller profile widget for mobile - Toast style */
  .trader-profile-widget {
    display: block;
    bottom: var(--space-md);
    right: var(--space-md);
    left: var(--space-md);
    width: auto;
    padding: var(--space-md);
    flex-direction: row;
    align-items: center;
    border-radius: var(--radius-lg);
  }

  .trader-profile-widget .profile-img {
    width: 44px;
    height: 44px;
    margin: 0;
    position: absolute;
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
  }

  .trader-profile-widget strong {
    font-size: 14px;
    margin-left: 56px;
    margin-bottom: 0;
  }

  .trader-profile-widget p {
    display: none;
  }

  .trader-profile-widget .btn-kmong {
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 8px 16px;
    font-size: 12px;
  }

  .trader-profile-widget .btn-close-widget {
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    font-size: 12px;
  }
}

/* === Small Mobile (max-width: 480px) === */
@media screen and (max-width: 480px) {

  /* Single column cards on very small screens */
  .list_type_card .item_card {
    width: 100%;
    margin-bottom: var(--space-lg);
  }

  .list_type_card .link_card .thumnail {
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
  }

  /* Title sizes */
  .title_section {
    font-size: var(--font-size-lg);
  }

  .type_featured .text_slide strong {
    font-size: var(--font-size-2xl);
    -webkit-line-clamp: 2;
  }

  /* Article view */
  .area_view .article_header .title_post {
    font-size: var(--font-size-xl);
    line-height: 1.4;
  }

  /* Related articles - single column */
  .area_related .item_related {
    width: 100%;
    padding: var(--space-md) 0;
  }

  /* Banner compact */
  .list_type_banner .link_banner {
    height: 80px;
  }

  .list_type_banner .box_content {
    padding: var(--space-md);
  }

  .list_type_banner .link_banner strong {
    font-size: 20px;
  }
}

/* === Large Desktop (min-width: 1440px) === */
@media screen and (min-width: 1440px) {

  /* Larger max-width for wide screens */
  .trader-monk-nav .nav-inner,
  .area_category,
  .type_notice,
  .type_card,
  .type_banner,
  .type_post,
  .area_view {
    max-width: 1320px;
  }

  /* Bigger cards */
  .list_type_card .link_card strong {
    font-size: 18px;
  }

  .list_type_card .link_card .text {
    font-size: 15px;
  }
}

/* ===== 13. LOADING & SKELETON STATES ===== */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.item-thumbnail:empty,
.thumnail:empty {
  background: linear-gradient(90deg,
      #f0f0f0 25%,
      #e8e8e8 50%,
      #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ===== 14. SMOOTH SCROLL ANCHORS ===== */
[id] {
  scroll-margin-top: 70px;
}

/* ===== 15. REDUCED MOTION PREFERENCE ===== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== 16. PRINT STYLES ===== */
@media print {

  .trader-monk-nav,
  .trader-monk-banner,
  .trader-profile-widget,
  .area_sidebar,
  .area_popup,
  #footer {
    display: none !important;
  }

  .area_view {
    max-width: 100%;
    padding: 0;
  }

  .article_view {
    max-width: 100%;
  }
}

/* ===== 17. HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #c08000;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .trader-monk-nav {
    border-bottom: 2px solid var(--color-primary);
  }

  .list_type_card .link_card,
  .list_type_notice .link_notice {
    border: 1px solid rgba(0, 0, 0, 0.2);
  }
}

/* =============================================================
   SAAS-LEVEL UI COMPONENTS v2.0
   - Scroll Progress Bar
   - Inline Slide Search
   - Enhanced Profile Widget with Visitor Stats
   - Back to Top Button
   - Scroll Reveal Animations
   - Custom Cursor Effects
   ============================================================= */

/* ===== 1. SCROLL PROGRESS BAR ===== */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 10001;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  transition: width 0.1s ease-out;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(195, 155, 70, 0.5);
}

/* ===== 2. INLINE SLIDE SEARCH ===== */
.nav-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  height: 36px;
}

.nav-search-input {
  width: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text-inverse);
  font-size: 14px;
  opacity: 0;
  transition: all 0.4s var(--ease-out-expo);
  outline: none;
}

.nav-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.nav-search-wrapper.active .nav-search-input {
  width: 200px;
  padding: 8px 12px;
  padding-right: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  opacity: 1;
  margin-right: 8px;
}

.nav-search-wrapper.active .nav-search-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(195, 155, 70, 0.2);
}

.nav-search-toggle,
.nav-search-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.nav-search-toggle:hover,
.nav-search-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 1);
}

.nav-search-close {
  position: absolute;
  right: 44px;
  opacity: 0;
  pointer-events: none;
  transform: rotate(-90deg);
  transition: all 0.3s var(--ease-out-expo);
}

.nav-search-wrapper.active .nav-search-close {
  opacity: 1;
  pointer-events: auto;
  transform: rotate(0deg);
}

.nav-search-wrapper.active .nav-search-toggle {
  opacity: 0;
  pointer-events: none;
}

/* Mobile search adjustments */
@media (max-width: 768px) {
  .nav-search-wrapper.active .nav-search-input {
    width: 140px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .nav-search-wrapper.active .nav-search-input {
    position: fixed;
    top: 56px;
    left: 16px;
    right: 16px;
    width: calc(100% - 32px);
    background: var(--color-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 100;
  }

  .nav-search-wrapper.active .nav-search-close {
    position: fixed;
    top: 60px;
    right: 24px;
  }
}

/* ===== 3. ENHANCED PROFILE WIDGET WITH VISITOR STATS ===== */
.trader-profile-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 8000;
  width: 280px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 0;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  animation: widgetSlideIn 0.6s var(--ease-out-expo) forwards;
}

@keyframes widgetSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.trader-profile-widget:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Widget Stats Section */
.widget-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #2a2a32 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.stat-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary-light);
  font-variant-numeric: tabular-nums;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 16px;
}

/* Widget Profile Section */
.widget-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
}

.widget-profile .profile-img {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--color-primary);
  flex-shrink: 0;
  margin: 0;
}

.widget-profile .profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.online-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #22c55e;
  border: 2px solid white;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.profile-info {
  flex: 1;
  min-width: 0;
}

.profile-info strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.profile-info p {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.4;
}

/* Widget CTA Button */
.trader-profile-widget .btn-kmong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #FFD400 0%, #FFC107 100%);
  color: #1a1a1f;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 12px rgba(255, 212, 0, 0.3);
}

.trader-profile-widget .btn-kmong:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 212, 0, 0.4);
  background: linear-gradient(135deg, #FFE033 0%, #FFD400 100%);
}

.trader-profile-widget .btn-kmong:active {
  transform: translateY(0);
}

/* Widget Close Button */
.trader-profile-widget .btn-close-widget {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.8);
  color: rgba(0, 0, 0, 0.5);
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.trader-profile-widget .btn-close-widget:hover {
  background: rgba(255, 255, 255, 1);
  color: rgba(0, 0, 0, 0.8);
}

/* Mobile Widget */
@media (max-width: 768px) {
  .trader-profile-widget {
    display: flex;
    flex-direction: row;
    align-items: center;
    bottom: 16px;
    left: 16px;
    right: 16px;
    width: auto;
    padding: 12px 16px;
    gap: 12px;
  }

  .widget-stats {
    display: none;
  }

  .widget-profile {
    flex: 1;
    padding: 0;
    gap: 10px;
  }

  .widget-profile .profile-img {
    width: 40px;
    height: 40px;
  }

  .profile-info strong {
    font-size: 14px;
  }

  .profile-info p {
    display: none;
  }

  .trader-profile-widget .btn-kmong {
    width: auto;
    margin: 0;
    padding: 10px 16px;
    font-size: 12px;
    white-space: nowrap;
  }

  .trader-profile-widget .btn-kmong svg {
    display: none;
  }

  .trader-profile-widget .btn-close-widget {
    position: static;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.05);
  }

  .online-indicator {
    width: 8px;
    height: 8px;
    border-width: 1.5px;
  }
}

/* ===== 4. BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out-expo);
  z-index: 8000;
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(195, 155, 70, 0.4);
}

.back-to-top:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 80px;
    left: 16px;
    width: 44px;
    height: 44px;
  }
}

/* ===== 5. SCROLL REVEAL ANIMATIONS ===== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out-expo),
    transform 0.6s var(--ease-out-expo);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for grid items */
.list_type_card .item_card.reveal-on-scroll:nth-child(1) {
  transition-delay: 0ms;
}

.list_type_card .item_card.reveal-on-scroll:nth-child(2) {
  transition-delay: 50ms;
}

.list_type_card .item_card.reveal-on-scroll:nth-child(3) {
  transition-delay: 100ms;
}

.list_type_card .item_card.reveal-on-scroll:nth-child(4) {
  transition-delay: 150ms;
}

.list_type_card .item_card.reveal-on-scroll:nth-child(5) {
  transition-delay: 200ms;
}

.list_type_card .item_card.reveal-on-scroll:nth-child(6) {
  transition-delay: 250ms;
}

.list_type_card .item_card.reveal-on-scroll:nth-child(7) {
  transition-delay: 300ms;
}

.list_type_card .item_card.reveal-on-scroll:nth-child(8) {
  transition-delay: 350ms;
}

/* ===== 6. CUSTOM CURSOR EFFECTS ===== */
/* Glow effect on interactive elements */
.nav-kmong,
.btn-kmong,
.link_detail {
  position: relative;
  overflow: visible;
}

.nav-kmong::before,
.btn-kmong::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(195, 155, 70, 0.3) 0%,
      transparent 50%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
  z-index: -1;
}

.nav-kmong:hover::before,
.btn-kmong:hover::before {
  opacity: 1;
}

/* ===== 7. ENHANCED LINK HOVER STATES ===== */
/* Underline animation for text links */
.article_view a:not([class]) {
  position: relative;
  text-decoration: none;
  background-image: linear-gradient(var(--color-primary), var(--color-primary));
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.3s var(--ease-out-expo);
}

.article_view a:not([class]):hover {
  background-size: 100% 2px;
}

/* ===== 8. TOOLTIP STYLES ===== */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 6px 12px;
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: var(--radius-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 1000;
  pointer-events: none;
}

[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ===== 9. LOADING SKELETON ENHANCEMENT ===== */
.skeleton {
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

.skeleton::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.6) 50%,
      transparent 100%);
  animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* ===== 10. RIPPLE EFFECT FOR BUTTONS ===== */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.5s, opacity 0.5s;
}

.btn-ripple:active::after {
  transform: scale(0, 0);
  opacity: 0.3;
  transition: 0s;
}

/* ===== 11. FOCUS RING ENHANCEMENT ===== */
.nav-search-input:focus,
.area_reply textarea:focus,
.area_reply input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(195, 155, 70, 0.3);
  border-color: var(--color-primary);
}

/* ===== 12. SMOOTH IMAGE LOADING ===== */
img {
  opacity: 1;
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
  opacity: 1;
}

/* =============================================================
   SEO & ACCESSIBILITY ENHANCEMENTS
   ============================================================= */

/* ===== SKIP NAVIGATION (접근성 필수) ===== */
.skip-navigation {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  padding: 12px 24px;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  transition: top 0.3s var(--ease-out-expo);
}

.skip-navigation:focus {
  top: 0;
  outline: 3px solid var(--color-primary-dark);
  outline-offset: 2px;
}

/* ===== 시맨틱 HTML 스타일 보강 ===== */
article {
  position: relative;
}

article header {
  margin-bottom: 0;
}

article .title_post {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

/* ===== 시각적으로 숨기지만 스크린 리더에서 읽히는 요소 ===== */
.sr-only,
.screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== 링크 포커스 상태 강화 ===== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ===== 고대비 모드 지원 강화 ===== */
@media (forced-colors: active) {

  .trader-monk-nav,
  .trader-profile-widget,
  .back-to-top {
    border: 2px solid currentColor;
  }

  .scroll-progress-bar {
    background: currentColor;
  }
}

/* ===== 터치 타겟 최소 크기 보장 (44x44px) ===== */
@media (pointer: coarse) {

  .nav-left a,
  .nav-search-toggle,
  .nav-search-close,
  .btn_menu,
  .btn_search {
    min-width: 44px;
    min-height: 44px;
  }
}

/* ===== 페이지 내 앵커 스크롤 여백 ===== */
:target {
  scroll-margin-top: 80px;
}

/* ===== 인쇄 시 불필요한 요소 숨김 ===== */
@media print {

  .skip-navigation,
  .scroll-progress-container,
  .nav-search-wrapper,
  .back-to-top {
    display: none !important;
  }

  article {
    page-break-inside: avoid;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
}

/* =============================================================
   SEO & 성능 최적화 추가
   ============================================================= */

/* ===== 부드러운 스크롤 (접근성 고려) ===== */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ===== 폰트 최적화 (font-display: swap) ===== */
@font-face {
  font-family: 'Spoqa Han Sans';
  font-display: swap;
}

/* ===== CLS 방지를 위한 이미지 컨테이너 ===== */
.thumb_single img,
.thumb_card img,
.profile-img img,
.trader-monk-banner img {
  aspect-ratio: auto;
  width: 100%;
  height: auto;
}

/* ===== 네이티브 lazy loading 지원 ===== */
img[loading="lazy"] {
  background: linear-gradient(135deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

img[loading="lazy"][src] {
  animation: none;
  background: none;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ===== 포커스 가시성 강화 (접근성) ===== */
:focus-visible {
  outline: 3px solid #c39b46;
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline-color: #c39b46;
  outline-style: solid;
  outline-width: 3px;
  outline-offset: 2px;
}

/* ===== 고대비 모드 지원 ===== */
@media (prefers-contrast: high) {

  .trader-monk-nav,
  .trader-profile-widget,
  .back-to-top {
    border: 2px solid currentColor;
  }
}

/* ===== Content-visibility 최적화 (렌더링 성능) ===== */
.list_type_card .item_card,
.list_type_notice .item_notice,
.area_reply .item_reply {
  content-visibility: auto;
  contain-intrinsic-size: 0 300px;
}