@charset "UTF-8";
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

.clearfix {
  content: "";
  clear: both;
  display: table;
}

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, Arial, "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;
}

/* 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;
}

/**-------------------------------------
*						media query - pc
-------------------------------------**/
@media screen and (min-width: 1061px) {

  .wrap-drawer .area-main {
    max-width: 780px;
    margin: 0 auto;
  }

  .wrap-drawer .article-type-poster {
    width: 25%;
    max-width: 180px;
    margin-right: 16px;
  }

  .wrap-drawer .article-type-poster:nth-of-type(3n) {
    margin-right: 17px;
  }

  .wrap-drawer .article-type-poster:nth-of-type(4n) {
    margin-right: -3px;
  }

  .wrap-drawer .area-cover>.article-type-poster:nth-of-type(4n) {
    margin-right: 0;
  }

  .wrap-drawer .article-related .item-related {
    width: 25%;
  }

  .wrap-drawer .article-related .item-related:last-child {
    display: block;
  }

  .wrap-drawer .article-header .inner-header {
    max-width: 780px;
  }
}

/* tt-body */
#tt-body-index #container,
#tt-body-tag #container,
#tt-body-page #container,
#tt-body-category #container,
#tt-body-search #container,
#tt-body-archive #container,
#tt-body-guestbook #container {
  margin-top: 0;
}

#tt-body-tag .area-main,
#tt-body-page .area-main,
#tt-body-category .area-main,
#tt-body-search .area-main,
#tt-body-archive .area-main {
  margin-top: 0;
}

#tt-body-page .main {
  padding-top: 30px;
}

#tt-body-page .area-view img {
  display: inline-block;
  max-width: 100% !important;
  margin: 0;
  height: auto;
}

#tt-body-page .area-view .map_attach img {
  max-width: none !important;
}

#tt-body-page .area-paging {
  display: block;
}

@media screen and (max-width: 1060px) {
  #tt-body-page .main {
    padding-top: 25px;
  }
}

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

/* 카테고리의 다른글 티스토리 스타일 수정 */
.another_category {
  display: none;
}

.article-view .another_category table,
.article-view .another_category table * {
  border: none;
}

#article-view .another_category table td {
  font-size: 11px;
}

/* area_paging */
/* media query - pc 페이징 스타일 제어 */
@media screen and (min-width: 1061px) {
  .listmorebutton .area-paging {
    display: none;
  }

  .listmorenumber .area-paging-more {
    display: none;
  }
}

/* media query - 모바일 페이징 스타일 제어 */
@media screen and (max-width: 1060px) {
  .listmorebuttonmobile .area-paging {
    display: none;
  }

  .listmorenumbermobile .area-paging-more {
    display: none;
  }
}

.paging-more {
  display: block;
  width: 100%;
  height: 42px;
  border: 1px solid #e8e8e8;
  font-size: 13px;
  line-height: 42px;
  color: #777;
  text-align: center;
  text-decoration: none;
}

.area-paging {
  text-align: center;
}

.area-paging a {
  text-decoration: none;
}

.area-paging .link_page {
  display: inline-block;
  font-size: 24px;
  color: #000;
}

.area-paging .link_page:hover {
  color: #ef402f;
}

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

.area-paging .link_num span {
  display: inline-block;
  min-width: 26px;
  height: 26px;
  margin: 0 2px;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 400;
  font-family: Arial;
  line-height: 26px;
  text-align: center;
  letter-spacing: -0.3px;
  color: #333;
}

.area-paging .link_num:hover span {
  border-radius: 999em;
  background: #ddd;
  color: #333;
}

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

.area-paging .link_num:hover .selected {
  background: #000;
  color: #fff;
  text-decoration: none;
}

.area-paging .paging_slash {
  display: none;
}

.area-paging .link_page.no-more-prev,
.area-paging .link_page.no-more-next {
  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;
    color: #fff;
  }

  .area-paging .link_num:last-child span:before {
    content: '/';
    position: absolute;
    top: 0;
    left: -10px;
    width: 10px;
    height: 29px;
  }

  .area-paging .link_num:last-child span.selected:before {
    content: '';
  }

  .area-paging .link_num span:not(.selected) {
    display: inline-block;
  }

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

  .area-paging .link_ellipsis {
    display: none;
  }

  .area-paging .selected {
    margin-right: 8px !important;
    color: #fff !important;
  }
}

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



/* ========================================
   HEADER - 한 줄 레이아웃 + 스마트 스크롤
   ======================================== */

/* 헤더 기본 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.header.hidden {
  transform: translateY(-100%);
}

.header .inner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* 로고 */
.header-logo {
  flex-shrink: 0;
}

.header-logo .logo-link {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: #1a5276;
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-logo .logo-link:hover {
  color: #2980b9;
}

.header-logo .logo-link img {
  max-height: 32px;
  width: auto;
}

/* 네비게이션 */
.header-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  margin: 0 40px;
}

/* 티스토리 메뉴 - 직접 생성되는 ul 구조 */
.header-nav > ul {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-nav > ul > li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav > ul > li > a {
  position: relative;
  display: block;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-nav > ul > li > a:hover {
  color: #1a5276;
}

.header-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a5276;
  transition: width 0.2s ease;
}

.header-nav > ul > li > a:hover::after {
  width: 100%;
}

/* 현재 페이지 활성 상태 */
.header-nav > ul > li > a.active {
  color: #1a5276;
}

.header-nav > ul > li > a.active::after {
  width: 100%;
  transition: none;
}

.header-nav .topnavnone {
  display: none;
}

/* 검색 영역 */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  border-radius: 50%;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-toggle:hover {
  background: #f5f5f5;
  color: #1a5276;
}

.search-box {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  width: 0;
  height: 40px;
  background: #f5f5f5;
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.search-box.active {
  width: 280px;
  opacity: 1;
}

.search-box .search-input {
  flex: 1;
  height: 100%;
  padding: 0 16px;
  background: none;
  border: none;
  font-size: 14px;
  color: #333;
  outline: none;
}

.search-box .search-input::placeholder {
  color: #999;
}

.search-box .search-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-right: 4px;
  background: none;
  border: none;
  border-radius: 50%;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-box .search-close:hover {
  background: #e0e0e0;
  color: #333;
}

/* PC/모바일 전용 표시 */
.pc-only {
  display: flex;
}

.mobile-only {
  display: none;
}

/* 액션 버튼들 (PC/모바일 공통) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  border-radius: 50%;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: #f5f5f5;
  color: #1a5276;
}

.action-btn:active {
  transform: scale(0.9);
}

/* 클릭 애니메이션 */
@keyframes btn-bounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.15); }
  60% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.action-btn.clicked {
  animation: btn-bounce 0.35s ease;
}

/* 하트 팝 애니메이션 */
@keyframes heart-pop {
  0% { transform: scale(1); }
  25% { transform: scale(1.25); }
  50% { transform: scale(0.9); }
  75% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.action-btn.heart-pop svg {
  animation: heart-pop 0.45s ease;
}

/* 검색 래퍼 */
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* 검색 토글 버튼 아이콘 전환 */
.search-toggle .icon-close {
  display: none;
}
.search-toggle.active .icon-search {
  display: none;
}
.search-toggle.active .icon-close {
  display: block;
}

/* 검색창 - PC (왼쪽으로 펼쳐지는 방식) */
.search-bar {
  position: absolute;
  right: 44px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  width: 0;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 22px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-bar.active {
  width: 260px;
}

.search-bar-input {
  flex: 1;
  height: 40px;
  padding: 0 14px;
  background: transparent;
  border: none;
  font-size: 14px;
  color: #333;
  outline: none;
  min-width: 0;
}

.search-bar-input::placeholder {
  color: #999;
}

.search-bar-submit {
  display: none;
}

.search-bar-close {
  display: none;
}


/* 검색창 - 모바일 (전체 덮는 방식) */
@media (max-width: 768px) {
  .search-wrapper {
    position: static;
  }

  .search-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    transform: none;
    background: #fff;
    border-radius: 0;
    padding: 0 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .search-bar.active {
    width: auto;
    opacity: 1;
    visibility: visible;
  }

  .search-bar-input {
    flex: 1;
    height: 40px;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 0 16px;
  }

  .search-bar-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 4px;
    background: #1a5276;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
  }

  .search-bar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    margin-left: 4px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    border-radius: 50%;
    color: #666;
    cursor: pointer;
  }
}

.mobile-search-close:hover {
  background: #f5f5f5;
  color: #333;
}

/* ===== 반응형: 태블릿/모바일 ===== */
@media screen and (max-width: 1024px) {
  .header-nav {
    margin: 0 20px;
  }

  .header-nav > ul {
    gap: 20px;
  }

  .header-nav > ul > li > a {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  .header {
    height: 56px;
  }

  .header .inner-header {
    padding: 0 12px;
  }

  .header-logo .logo-link {
    font-size: 16px;
  }

  .header-logo .logo-link img {
    max-height: 28px;
  }

  /* 모바일: PC 요소 숨기기 */
  .pc-only {
    display: none;
  }

  .header-nav {
    display: none;
  }

  /* 모바일: 액션 버튼 표시 */
  .mobile-only {
    display: flex;
  }
}

/* // header */
/* footer */
#footer {
  margin-top: 120px;
  padding: 35px 0 60px 0;
  border-top: 1px solid #efefef;
}

#footer .inner-footer {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

#footer .box-policy {
  margin-bottom: 36px;
}

#footer .link-footer {
  position: relative;
  display: inline-block;
  margin-right: 17px;
  font-size: 13px;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
}

#footer .link-footer:hover {
  text-decoration: underline;
}

#footer .link-footer:before {
  content: '';
  position: absolute;
  top: 7px;
  left: -13px;
  width: 2px;
  height: 2px;
  background: #999;
  border-radius: 2px;
}

#footer .link-footer:first-child:before {
  width: 0;
}

#footer .text-info,
#footer address {
  font-size: 13px;
  color: #999;
}

#footer .text-info {
  margin: 0 0 9px 0;
  line-height: 18px;
  padding-top: 2px;
}

#footer address {
  font-style: normal;
}

#footer .box-site {
  position: absolute;
  top: -5px;
  right: 20px;
}

#footer .box-site button {
  position: relative;
  width: 140px;
  height: 32px;
  padding-left: 12px;
  background: url(./images/icon-more.svg) no-repeat 116px center;
  border: 1px solid #efefef;
  font-size: 13px;
  text-align: left;
  color: #999;
  cursor: pointer;
}

#footer .box-site button.on {
  background: url(./images/icon-close.svg) no-repeat 116px center;
}

#footer .box-site ul {
  position: absolute;
  bottom: 31px;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #efefef;
  font-size: 13px;
  line-height: 32px;
  list-style: none;
  opacity: .0;
  overflow: hidden;
}

#footer .box-site ul li {
  margin: 0;
  padding-left: 13px;
}

#footer .box-site ul li a {
  display: block;
  background: #fff;
  color: #999;
  text-decoration: none;
}

#footer .box-site ul li a:hover {
  color: #333;
}

#footer .box-site ul.on {
  opacity: 1;
  transition: opacity .2s ease-out;
}

/* ----- media query - tablet ----- */
@media screen and (max-width: 1060px) {
  #footer {
    margin-top: 40px;
    padding: 36px 0 26px 0;
  }

  #footer .box-policy {
    margin-top: 34px;
    margin-bottom: 21px;
  }

  #footer .link-footer {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
  }

  #footer .link-footer:before {
    width: 0;
  }

  #footer .text-info,
  #footer address {
    font-size: 11px;
  }

  #footer .box-site {
    top: -71px;
    left: 0;
    width: 100%;
  }

  #footer .box-site button {
    width: 100%;
    height: 40px;
    padding-left: 20px;
    border-left: none;
    border-left: right;
    background-position: calc(100% - 20px) center;
  }

  #footer .box-site button.on {
    background-position: calc(100% - 20px) center;
  }

  #footer .box-site ul {
    top: 37px;
    bottom: auto;
  }

  #footer .box-site ul li {
    padding-left: 20px;
  }
}

/* // footer */

/* container */
#container {
  position: relative;
  margin-top: 60px;
}

@media screen and (max-width: 768px) {
  #container {
    margin-top: 56px;
  }
}

/* main */
.main {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
}

/* area-main */
.area-main {
  width: 100%;
  max-width: 740px;
}

/* ----- media query - mobile ----- */
@media screen and (max-width: 1061px) {
  #container {
    margin-top: 0;
  }

  .area-main {
    max-width: 100%;
    padding: 0 14px;
  }
}


/* article-type-common */
.article-type-common {
  width: 100%;
}

.article-type-common .thumbnail {
  margin: 0;
  background-image: url(./images/no-image.jpg);
  background-size: cover;
  background-position: 50% 50%;
}

.article-type-common .thumbnail .img-thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-type-common .link-article {
  text-decoration: none;
}

.article-type-common .title {
  display: block;
  max-height: 54px;
  margin-bottom: 13px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  overflow: hidden;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}

.article-type-common .summary {
  margin: 0 0 12px 0;
  color: #777;
}

.article-type-common .link-category {
  margin-right: 14px;
  font-size: 12px;
  line-height: 1.67;
  color: #333;
  text-decoration: none;
}

.article-type-common .date {
  position: relative;
  margin-right: 15px;
  font-size: 12px;
  line-height: 1.67;
  color: #999;
}

.article-type-common .date:before {
  content: '';
  position: absolute;
  top: 9px;
  left: -10px;
  width: 2px;
  height: 2px;
  background: #999;
  border-radius: 2px;
}

.article-type-common .reply {
  position: relative;
  padding-left: 19px;
  background: url(./images/icon-reply.svg) no-repeat left center;
  font-size: 12px;
  line-height: 1.67;
  color: #999;
}

.article-type-common .reply:before {
  content: '';
  position: absolute;
  top: 9px;
  left: -10px;
  width: 2px;
  height: 2px;
  background: #999;
  border-radius: 2px;
}

.article-type-common:hover .title {
  text-decoration: underline;
}

.box-cover-title {
  display: flex;
  justify-content: space-between;
}

.box-cover-title .link-title {
  position: relative;
  padding-right: 10px;
  padding-bottom: 16px;
  font-size: 13px;
  text-decoration: none;
  color: #999;
  line-height: 14px;


}

.box-cover-title .link-title:after {
  content: '';
  position: absolute;
  top: 6.3px;
  right: 2px;
  width: 5px;
  height: 5px;
  border-top: 1px solid #999;
  border-left: 1px solid #999;
  transform: rotate(135deg);
}

.area-cover-thumbnail .box-cover-title {
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 28px;
}

/* ----- media query - mobile ----- */
@media screen and (max-width: 1060px) {
  .article-type-common .title {
    max-height: 24px;
    margin-bottom: 7px;
    font-size: 21px;
    font-weight: 400;
    -webkit-line-clamp: 1;
  }

  .article-type-common .summary {
    margin-bottom: 7px;
  }
}

/* // article-type-common */
/* article-type-crop */
.article-type-crop {
  margin-bottom: 58px;
}

.article-type-crop .thumbnail {
  height: 460px;
  margin-bottom: 20px;
}

.article-type-crop .link-article {
  display: block;
}

.article-type-crop .title {
  height: 28.5px;
  margin-top: -4px;
  -webkit-line-clamp: 1;
}

.article-type- .title>img,
.article-type-thumbnail .title>img,
.article-type-resize .title>img,
.article-type-poster .title>img,
.article-type-crop .title>img {
  width: 15px !important;
}

.article-type-crop .summary {
  max-height: 69px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-line-clamp: 3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

/* ----- media query - mobile ----- */
@media screen and (max-width: 1060px) {
  .article-type-crop {
    margin-bottom: 28px;
  }

  .article-type-crop .thumbnail {
    height: auto;
    padding-top: 59.4%;
  }

  .article-type-crop .title {
    margin-bottom: 8px;
  }

  .article-type-crop .summary {
    font-size: 13px;
    line-height: 1.6;
  }
}

/* // article-type-crop */
/* article-type-resize */
.article-type-resize {
  margin-bottom: 57px;
}

.article-type-resize .thumbnail {
  margin-bottom: 20px;
  padding-top: 0;
  background: none;
}

.article-type-resize .thumbnail .img-thumbnail {
  display: block;
  width: 100%;
  height: auto;
}

.article-type-resize .title {
  height: 28px;
  -webkit-line-clamp: 1;
}



.article-type-resize .summary {
  max-height: 69px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-line-clamp: 3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

/* ----- media query - mobile ----- */
@media screen and (max-width: 1060px) {
  .article-type-resize {
    margin-bottom: 28px;
  }

  .article-type-resize .summary {
    font-size: 13px;
    line-height: 1.38;
  }
}

.article-type-,
.article-type-thumbnail {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.article-type-:first-child,
.article-type-thumbnail:first-child {
  padding-top: 0;
}

.article-type- .thumbnail,
.article-type-thumbnail .thumbnail {
  width: 140px;
  height: 98px;
  margin-left: 24px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.article-type- .thumbnail .img-thumbnail,
.article-type-thumbnail .thumbnail .img-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-type-:hover .thumbnail .img-thumbnail,
.article-type-thumbnail:hover .thumbnail .img-thumbnail {
  transform: scale(1.05);
}

.article-type- .article-content,
.article-type-thumbnail .article-content {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.article-type- .link-article,
.article-type-thumbnail .link-article {
  text-decoration: none;
}

.article-type- .title,
.article-type-thumbnail .title {
  word-break: break-all;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: #1a1a1a;
  transition: color 0.2s ease;
}

.article-type- .title > img,
.article-type-thumbnail .title > img {
  display: none;
}

.article-type-:hover .title,
.article-type-thumbnail:hover .title {
  color: #1a5276;
}

.article-type- .summary,
.article-type-thumbnail .summary {
  max-height: 44px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #666;
  -webkit-line-clamp: 2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.article-type- .box-meta,
.article-type-thumbnail .box-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.article-type- .link-category,
.article-type-thumbnail .link-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 500;
  color: #1a5276;
  background: #e8f4fc;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.article-type- .link-category:hover,
.article-type-thumbnail .link-category:hover {
  background: #d0e8f7;
}

.article-type- .date,
.article-type-thumbnail .date {
  font-size: 12px;
  color: #999;
}

.article-type- .date:before,
.article-type-thumbnail .date:before {
  display: none;
}

.article-type- .reply,
.article-type-thumbnail .reply {
  display: none;
}

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

  .article-type-,
  .article-type-thumbnail {
    padding: 16px 0;
  }

  .article-type- .thumbnail,
  .article-type-thumbnail .thumbnail {
    width: 88px;
    height: 88px;
    margin-left: 16px;
    border-radius: 8px;
  }

  .article-type- .title,
  .article-type-thumbnail .title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
  }

  .article-type- .summary,
  .article-type-thumbnail .summary {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
    max-height: 40px;
  }

  .article-type- .link-category,
  .article-type-thumbnail .link-category {
    padding: 2px 8px;
    font-size: 10px;
  }

  .article-type- .date,
  .article-type-thumbnail .date {
    font-size: 11px;
  }
}

.article-type-poster {
  display: inline-block;
  width: 33%;
  margin-right: 16px;
  margin-bottom: 30px;
  vertical-align: top;
}

.article-type-poster .thumbnail {
  position: relative;
  margin-bottom: 10px;
  padding-top: 132.5%;
}

.article-type-poster .thumbnail:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.05);
}

.article-type-poster .title {
  width: 95%;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  white-space: initial;
  word-break: keep-all;
}

.article-type-poster .date:before {
  position: relative;
}

.article-type-poster .summary,
.article-type-poster .link-category,
.article-type-poster .reply {
  display: none;
}

/* ----- media query - pc ----- */
@media screen and (min-width: 1061px) {
  .article-type-poster {
    max-width: 200px;
  }
}

/* ----- media query - tablet ----- */
@media screen and (min-width: 761px) and (max-width: 1060px) {
  .article-type-poster {
    width: calc(33.3% - 13px);
  }

  .article-type-poster:nth-of-type(3n) {
    margin-right: 0;
  }
}

/* ----- media query - mobile ----- */
@media screen and (max-width: 760px) {
  .article-type-poster {
    width: calc(50% - 5px);
    max-width: initial;
    margin-right: 6px;

  }

  .article-type-poster:nth-of-type(2n) {
    margin-right: 0;
  }
}


.box-cover-poster {
  margin-bottom: -40px;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

/* ----- media query - pc ----- */
@media screen and (min-width: 1061px) {
  .box-cover-poster {
    white-space: inherit;
  }
}


/* ----- media query - mobile ----- */
@media screen and (max-width: 850px) {
  .box-cover-poster .article-type-poster {
    width: 190px;
    margin-right: 6px;
  }

  .box-cover-poster .article-type-poster .thumbnail {
    width: 190px;
    height: 250px;
    padding-top: 0;
  }
}

/* // article-type-poster */
/* article-type-text */
.article-type-text {
  margin-bottom: 10px;
}

.article-type-text .thumbnail {
  display: none;
}

.article-type-text .title {
  height: auto;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.57;
  text-overflow: ellipsis;
  white-space: normal;
  overflow: hidden;
  font-weight: 400;
}

.article-type-text .date:before {
  position: relative;
}

.article-type-text .summary,
.article-type-text .link-category,
.article-type-text .reply {
  display: none;
}

/* area-cover */
.area-cover {
  margin-bottom: 56px;
}

.area-cover:last-of-type {
  margin-bottom: 0;
}

.area-cover .title-cover {
  margin: 0;
  padding: 0 0 16px 0;
  font-size: 14px;
  color: #333;
}


.area-cover .button-more {
  display: none;
  width: 100%;
  height: 42px;
  background: none;
  border: 1px solid #e8e8e8;
  font-size: 13px;
  color: #777;
  text-align: center;
  cursor: pointer;
  outline: none;
}

.area-cover .article-type-crop:nth-child(n+4) {
  display: none;
}

.area-cover .article-type-resize:nth-child(n+4) {
  display: none;
}



.category-list {
  display: none;
}

/* ----- media query - mobile ----- */
@media screen and (max-width: 1060px) {
  .area-cover {
    margin-bottom: 36px;
  }

  .area-cover .title-cover {
    font-size: 13px;
    font-weight: 500;
    padding: 0 0 11px 0;
  }

  .title-search {
    margin: 10px 0 10px 0;
  }

  .title-search.title-border {
    margin-bottom: 19px;
    padding-bottom: 9px;
    border-bottom: 1px solid #e8e8e8;
    margin-top: 0;
  }
}

/* // area-cover */
/* area-tag */
.area-tag {
  min-height: 350px;
}

.area-tag .title-other {
  margin: 0 0 14px 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.area-tag .box-tag a {
  display: inline-block;
  max-width: 100%;
  margin: 0 12px 9px 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.57;
  color: #777;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.area-tag .box-tag a:hover {
  font-weight: 600;
  color: #ef402f;
  text-decoration: underline;
}

/* area-view - 상세 페이지 */
/* article-header */
.article-header {
  background-image: none !important;
  padding: 24px 24px 24px;
  border-bottom: 1px solid #f0f0f0;
}

.article-header .inner-header {
  max-width: 740px;
  margin: 0 auto;
}

.article-header .box-meta {
  text-align: left;
}

.article-header .box-meta p {
  margin: 0;
}

/* 카테고리 - 뱃지 스타일 */
.article-header .box-meta .category {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #1a5276;
  background: #e8f4fc;
  border-radius: 20px;
}

/* 글 제목 */
.article-header .title-article {
  display: block;
  margin: 0 0 24px 0;
  padding: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

/* 메타 정보 (작성자, 날짜) */
.article-header .box-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #888;
  opacity: 1;
}

.article-header .box-info .writer {
  position: relative;
  padding-left: 22px;
  color: #555;
  font-weight: 500;
}

/* 작성자 아이콘 */
.article-header .box-info .writer:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.article-header .box-info .date {
  position: relative;
  padding-left: 22px;
}

/* 날짜 아이콘 */
.article-header .box-info .date:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* 반응형 - 태블릿/모바일 */
@media screen and (max-width: 1060px) {
  .article-header {
    padding: 20px 20px 28px;
  }

  .article-header .box-meta .category {
    font-size: 12px;
    padding: 5px 12px;
    margin-bottom: 12px;
  }

  .article-header .title-article {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .article-header .box-info {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
  }

  .article-header .box-info .writer,
  .article-header .box-info .date {
    padding-left: 20px;
  }

  .article-header .box-info .writer:before,
  .article-header .box-info .date:before {
    width: 14px;
    height: 14px;
  }
}

/* // article-header */
/* article-footer */
.article-footer .title-footer {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

@media screen and (max-width: 1060px) {
  .article-footer .title-footer {
    font-size: 13px;
  }
}

/* // article-footer */
/* article-tag - 상세페이지 태그  */
.article-tag {
  display: flex;
  margin-bottom: 46px;
  padding-bottom: 43px;
  border-bottom: 2px solid #333;
}

.article-tag .title-footer {
  margin-right: 30px;
  padding-top: 8px;
}

.article-tag .box-tag {
  font-size: 0;
}

.article-tag .box-tag a {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin-right: 10px;
  margin-bottom: 5px;
  padding: 5px 12px;
  border: 1px solid #e8e8e8;
  border-radius: 50px;
  font-size: 13px;
  line-height: 1.69;
  color: #777;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.article-tag .box-tag a:after {
  content: '';
  position: absolute;
  bottom: 6px;
  right: -10px;
  width: 5px;
  height: 5px;
  background: #fff;
}

.article-tag .box-tag a:hover {
  text-decoration: underline;
}

/* ----- media query - mobile ----- */
@media screen and (max-width: 1060px) {
  .article-tag {
    display: block;
    margin-bottom: 38px;
    padding-bottom: 30px;
  }

  .article-tag .title-footer {
    margin: 0 0 10px 0;
  }

  .article-tag .box-tag a {
    margin: 0 8px 9px 0;
    padding: 3px 10px;
    font-size: 12px;
  }

  .article-tag .box-tag a:after {
    bottom: 4px;
    right: -7px;
  }
}

/* // article-tag */
/* article-nav - 이전글/다음글 네비게이션 */
.article-nav {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #f0f0f0;
}

/* 내용 없으면 숨김 (모던 브라우저) */
.article-nav:not(:has(.nav-item)) {
  display: none;
}

.article-nav .nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
  background: #f8f9fa;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.article-nav .nav-item:hover {
  background: #f0f4f8;
  transform: translateY(-2px);
}

.article-nav .nav-prev {
  align-items: flex-start;
}

.article-nav .nav-next {
  align-items: flex-end;
  text-align: right;
}

.article-nav .nav-label {
  font-size: 12px;
  font-weight: 500;
  color: #1a5276;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-nav .nav-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 하나만 있을 때 전체 너비 */
.article-nav .nav-item:only-child {
  max-width: 50%;
}

.article-nav .nav-prev:only-child {
  margin-right: auto;
}

.article-nav .nav-next:only-child {
  margin-left: auto;
}

/* 반응형 - 모바일 */
@media screen and (max-width: 768px) {
  .article-nav {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 32px;
  }

  .article-nav .nav-item {
    padding: 16px 20px;
  }

  .article-nav .nav-item:only-child {
    max-width: 100%;
  }

  .article-nav .nav-prev,
  .article-nav .nav-next {
    align-items: flex-start;
    text-align: left;
  }

  .article-nav .nav-title {
    font-size: 14px;
  }
}

/* // article-nav */
/* article-related - 상세페이지 관련글 */
.article-related {
  display: none;
}

.article-related a {
  text-decoration: none;
}

.article-related .title-footer {
  margin-bottom: 16px;
}

.article-related .list-related {
  display: flex;
  list-style: none;
  margin: 0 -10px;
  padding: 0;
  border: none;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-related .item-related {
  width: 33.3%;
}

.article-related .item-related:last-child {
  display: none;
}

.article-related .thumnail {
  display: block;
  width: 100%;
  height: 120px;
  margin-bottom: 10px;
  background-size: cover;
  background-position: 50% 50%;
}

.article-related .link-related {
  display: block;
  margin: 0 10px;
}

.article-related .link-related strong {
  display: block;
  max-height: 40px;
  margin: 0 0 3px 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  color: #333;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  word-break: keep-all;
}

.article-related .date {
  display: block;
  font-size: 12px;
  line-height: 1.83;
  color: #999;
}

/* ----- media query - mobile ----- */
@media screen and (max-width: 760px) {
  .article-related {
    margin-bottom: 34px;
  }

  .article-related .title-footer {
    margin-bottom: 11px;
  }

  .article-related .item-related {
    min-width: 145px;
  }

  .article-related .link-related {
    margin: 0 5px;
  }

  .article-related .thumnail {
    margin-bottom: 8px;
  }

  .article-related .link-related strong {
    margin-bottom: 0;
    font-size: 13px;
  }
}

.article-related .thumnail {
  height: auto;
  padding-top: 60%;
}

/* // article-related */
/* article-reply - 상세페이지 댓글*/
.article-reply {
  width: 100%;
  margin-bottom: 32px;
}

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

.article-reply a {
  text-decoration: none;
}

.article-reply .box-total {
  margin: 0 0 3px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e8e8;
  font-size: 14px;
  font-weight: 500;
}

.article-reply .box-total a {
  color: #333;
}

.article-reply .box-total span {
  color: #ef402f;
}

.article-reply .tt_more_preview_comments_wrap {
  width: 100%;
  height: 42px;
  margin-top: -14px;
  margin-bottom: 4px;
  background-color: transparent;
  border: 1px solid #e8e8e8;
  font-size: 13px;
  font-weight: 400;
  line-height: 39px;
  color: #777;
}

/* ----- media query - mobile ----- */
@media screen and (max-width: 1060px) {
  .article-reply .box-meta strong {
    display: block;
  }

  .article-reply .box-total {
    font-size: 13px;
  }

  .article-reply .tt_more_preview_comments_wrap {
    height: 32px;
    font-size: 12px;
    line-height: 30px;
  }
}

/* area-reply - 상세페이지 댓글*/
.area-reply {
  margin-bottom: 60px;
}


.area-reply .item-reply {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 25px 0 24px 0;
  border-bottom: 1px solid #eee;
}

.area-reply .thumbnail {
  display: block;
  width: 48px;
  height: 48px;
  margin-right: 10px;
  background-size: cover;
  background-position: 50% 50%;
  border-radius: 50px;
}

.area-reply .box-content {
  width: calc(100% - 64px);
}

.area-reply .box-content .box-meta {
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 1.69;
}

.area-reply .box-content .box-meta strong a {
  font-weight: 400;
  color: #333;
}

.area-reply .box-content .box-meta .date {
  position: relative;
  padding-left: 18px;
  color: #909090;
}

.area-reply .box-content .box-meta .date:before {
  content: '';
  position: absolute;
  top: 9px;
  left: 7px;
  width: 2px;
  height: 2px;
  background: #c5c5c5;
}

.area-reply .box-content .box-meta .date a {
  position: relative;
  padding-left: 18px;
  color: #909090;
}

.area-reply .box-content .box-meta .date a:before {
  content: '';
  position: absolute;
  top: 10px;
  left: 7px;
  width: 2px;
  height: 2px;
  background: #c5c5c5;
}

.area-reply .box-content .text {
  margin: 0 100px 9px 0;
  font-size: 14px;
  line-height: 1.43;
  color: #777;
  word-break: break-all;
}

.area-reply .list-reply-comment .box-content .text {}

.area-reply .box-content .link-comment {
  font-size: 13px;
  line-height: 1.69;
  color: #909090;
}

.area-reply .box-content .box-modify {
  position: absolute;
  top: 24px;
  right: -9px;
  font-size: 13px;
}

.area-reply .box-content .button-modify {
  width: 20px;
  height: 20px;
  padding: 10px 0 10px 10px;
  background: url(./images/icon-modify.svg) no-repeat;
  background-size: 14px;
  background-position: 50% 50%;
  border: none;
  cursor: pointer;
}

.area-reply .box-content .list-modify {
  display: none;
  position: absolute;
  top: 6px;
  left: -76px;
  width: 80px;
  border: 1px solid #e8e8e8;
}

.area-reply .box-content .list-modify li {
  border-bottom: 1px solid #e8e8e8;
}

.area-reply .box-content .list-modify li:last-child {
  border-bottom: none;
}

.area-reply .box-content .list-modify a {
  display: block;
  line-height: 29px;
  text-align: center;
  color: #333;
  background-color: #fff;
}

.area-reply .list-reply-comment {
  width: 100%;
  margin: 30px 0 -30px 0;
  padding: 40px 0 28px 60px;
  background-color: #fafafa;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.area-reply .list-reply-comment .item-reply {
  margin-bottom: 28px;
  padding: 0;
  border-bottom: none;
}

.area-reply .list-reply-comment .item-reply:last-child {
  margin-bottom: 0;
}

.area-reply .list-reply-comment .box-modify {
  top: -4px;
  right: 15px;
}

.area-reply .list-reply-other {
  margin-bottom: 20px;
}

/* ----- media query - mobile ----- */
@media screen and (max-width: 1060px) {
  .area-reply {
    margin-bottom: 30px;
  }

  .area-reply .item-reply {
    padding: 25px 0 19px 0;
  }

  .area-reply .thumbnail {
    width: 38px;
    height: 38px;
    margin-right: 10px;
  }

  .area-reply .box-content {
    margin-top: -3px;
  }

  .area-reply .box-content .box-meta {
    line-height: 1.59;
  }

  .area-reply .box-content .box-meta strong a {
    font-size: 12px;
  }

  .area-reply .box-content .box-meta .date {
    padding-left: 0;
    font-size: 12px;
  }

  .area-reply .box-content .box-meta .date:before {
    background: none;
    ;
  }

  .area-reply .box-content .text {
    width: 100%;
    margin-bottom: 8px;
    font-size: 12px;
  }

  .area-reply .box-content .list-modify {
    background: #fff;
  }

  .area-reply .list-reply-comment {
    width: 100vw;
    margin: 20px -20px -20px -20px;
    padding: 20px 20px 13px 68px;
  }

  .area-reply .list-reply-comment .box-modify {
    right: -9px;
  }

  .area-reply .list-reply-comment .box-meta {
    margin-top: 6px;
  }
}

/* // area-reply - 상세페이지 댓글*/
/* area-write - 상세페이지 댓글 입력 부분*/
.area-write .box-account {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.area-write .box-account input {
  width: calc(50% - 6px);
  padding: 11px 20px 12px 20px;
  border: 1px solid #e8e8e8;
  font-size: 13px;
  color: #999;
}

.area-write .box-account input:hover {
  border-color: #333;
}

.area-write .box-homepage {
  margin-bottom: 12px;
}

.area-write .box-homepage input {
  width: 100%;
  padding: 11px 20px 12px 20px;
  border: 1px solid #e8e8e8;
  font-size: 13px;
  color: #999;
}

.area-write .box-homepage input:hover {
  border-color: #333;
}

.area-write .box-textarea {
  margin-bottom: 14px;
}

.area-write .box-textarea textarea {
  width: 100%;
  height: 122px;
  padding: 21px 70px 19px 19px;
  border: 1px solid #e8e8e8;
  font-size: 13px;
  color: #999;
}

.area-write .box-textarea textarea:hover {
  border-color: #333;
}

.area-write .box-write {
  display: flex;
  justify-content: space-between;
}

.area-write .box-write .xe-label {
  display: flex;
  position: relative;
  margin-top: 5px;
  min-width: 20px;
  min-height: 20px;
  text-align: left;
  cursor: pointer;
}

.area-write .box-write .xe-label input[type="checkbox"] {
  overflow: hidden;
  position: absolute;
  width: 0;
  height: 0;
  border: 0;
  font-size: 0;
  line-height: 0;
  left: -9999px;
}

.area-write .box-write .xe-label>input[type="checkbox"]+.xe-input-helper {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 1px solid #BEBFC5;
  border-radius: 2px;
}

.area-write .box-write .xe-label>input[type="checkbox"]:checked+.xe-input-helper:after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 11px;
  margin-top: -7px;
  margin-left: -3px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  -webkit-transform: rotate(40deg);
  transform: rotate(40deg);
  content: "";
}

.area-write .box-write .xe-label>input[type="checkbox"]:checked+.xe-input-helper {
  border-color: transparent;
  background-color: #333;
}

.area-write .box-write .xe-label .xe-label-text {
  display: block;
  padding: 3px 0 0 27px;
  font-size: 13px;
  color: #333;
}

.area-write .box-write .btn_register {
  width: 68px;
  height: 30px;
  background: #000;
  border: none;
  border-radius: 30px;
  font-size: 13px;
  color: #fff;
  cursor: pointer;
}

.area-write .box-write .btn_register:hover {
  background: #ef402f;
}

/* ----- media query - mobile ----- */
@media screen and (max-width: 1060px) {
  .area-write .box-textarea textarea {
    height: 140px;
    font-size: 12px;
  }
}

/* // area-write */
/* area-protected */
.area-protected {
  max-width: 280px;
  margin: 0 auto;
  text-align: center;
}

.area-protected .text-protected {
  margin: 0 0 21px 0;
  padding-top: 112px;
  background: url(./images/icon-exclamation.svg) no-repeat center top;
  font-size: 18px;
  color: #333;
}

.area-protected .text-protected span {
  font-size: 14px;
  line-height: 2;
  color: #777;
}

.area-protected input {
  width: 100%;
  height: 42px;
  margin-bottom: 10px;
  font-size: 13px;
  padding-left: 20px;
  border: 1px solid #e8e8e8;
}

.area-protected input:hover, .area-protected input:focus {
  border: 1px solid #333;
}

.area-protected input.active+button {
  background: #333;
  color: #fff;
  cursor: pointer;

}

.area-protected button {
  display: block;
  width: 100%;
  height: 42px;
  background: #ddd;
  border: none;
  font-size: 13px;
}

.article-header-noimg {
  background: none !important;
  background-size: 50% 50% !important;
}

.article-header-protected {
  background: url(./images/icon-exclamation.svg) no-repeat center !important;
  background-size: 50% 50% !important;
}

.title-other {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.article-view {
  margin-bottom: 12px;
  word-break: break-word;
}

.article-view p {
  font-size: 16px;
  line-height: 26px;
  color: #222;
}

.article-view h1,
.article-view h2,
.article-view h3,
.article-view h4 {
  margin-bottom: 24px;
  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 .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_content {
  padding-top: 40px;
}

.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 {
  color: #4167d9 !important;
  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%;
}

/* 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: 0px;
  }
}


.container_postbtn {
  padding: 43px 0 36px 0 !important;
}

@media screen and (max-width: 1060px) {
  .container_postbtn {
    padding: 36px 0 18px 0 !important;
  }
}

@media screen and (max-width: 1060px) {

  /* 검색리스트 타이틀 간격 */
  #tt-body-tag .title-search {
    font-size: 13px;
  }

  #tt-body-tag .title-search.title-search.title-border {
    padding-bottom: 11px;
  }
}


/* area-search */
.title-search {
  margin: 0;
  padding-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

.title-search span {
  font-size: 14px;
  font-weight: 400;
  color: #999;
  margin-left: 8px;
}

.title-search.title-border {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e5e5;
}

.article-title-crop,
.article-title-resize,
.article-title-poster {
  margin-bottom: 0px;
  border-bottom: none;

}


/* 검색 결과 없을때 */
.box-no-search {
  display: none;
  margin-bottom: 40px;
  font-size: 14px;

  color: rgba(51, 51, 51, 0.5);
}

.box-no-search span {
  position: relative;
  display: block;
  padding-left: 7px;
  line-height: 2;
  vertical-align: middle;
}

.box-no-search span:before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 2px;
  height: 2px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

#tt-body-search .type-search {
  display: block;
}

#tt-body-search .title-search .search {
  display: inline !important;
}

#tt-body-category .type-category {
  display: block;
}

#tt-body-tag .type-tag {
  display: block;
}

#tt-body-tag .title-search .tag {
  display: inline !important;
}

#tt-body-archive .type-archive {
  display: block;
}

#tt-body-archive .title-search .search {
  display: inline !important;
}


/* additional style */
#tt-body-archive .archives:before {
  content: "'";
}

#tt-body-archive .archives:after {
  content: "'에 등록된 글";
}

#tt-body-tag .archives:before {
  content: "#";
}

#tt-body-search .archives:before {
  content: "'";
}

#tt-body-search .archives:after {
  content: "'의 검색결과";
}


/* Search box */
.util {
  position: absolute;
  top: 0;
  right: 0;
}

.util .search {
  position: relative;
  float: left;
  overflow: hidden;
  background-color: #fff;
  box-sizing: border-box;
  transition: width 0.5s;
  -webkit-transition: width 0.5s;
}

.util .search input {
  width: 100%;
  padding: 10px 35px 10px 14px;
  background: #f5f5f5 url(./images/icon-search.svg) no-repeat calc(100% - 10px) center;
  background-size: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 14px;
  color: #333;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.util .search input:focus {
  outline: none;
  border-color: #1a5276;
  background-color: #fff;
}

.util .search input::placeholder {
  color: #999;
}

.util .search button {
  position: absolute;
  top: 1px;
  right: 1px;
  z-index: 20;
  width: 30px;
  height: 30px;
  text-indent: -999em;
  border: 1px solid #eee;
  border-radius: 50%;
  background: #fff url(./images/ico_package.png) no-repeat -1px -1px;
  vertical-align: top;
  outline: none;
  cursor: pointer;
}



/**-----------------------------
*           SearchBox
*-----------------------------*/

.util.use-top {
  width: 222px;
  margin-top: -6px;
}

.util.use-top .search {
  width: 100%;
}

/* ----- media query - pc ----- */
@media screen and (min-width: 1061px) {
  .util:not(.use-top) {
    display: none
  }

  .article-type-poster:nth-of-type(3n) {
    margin-right: 0;
  }
}

/* ----- media query - tablet/mobile ----- */
@media screen and (max-width: 1060px) {
  .util:not(.use-top) {
    display: none
  }
}



/* ----- 404 페이지 ----- */
.absent_post {
  display: none;
}

.notfoundpage .absent_post {
  display: block;
}

.notfoundpage#tt-body-page.notfoundpage .main {
  padding-top: 39px;
}

.notfoundpage .absent_post:before {
  content: "혹시 다른 글이지 않을까요?";
  display: block;
  margin-bottom: 25px;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.285714285714286;
  color: #555;
  white-space: pre;
  background: url(./images/icon-no-img.svg) no-repeat center !important;
  height: 90px;
  padding-top: 122px;
}

.notfoundpage .absent_post {
  padding: 0px 0px 98px 0 !important;
  background: none !important;
  font-weight: normal !important;
  font-size: 14px !important;
  line-height: 1.75;
  color: #999 !important;
}


#tt-body-index .main,
#tt-body-category .main,
#tt-body-search .main,
#tt-body-tag .main,
#tt-body-archive .main,
#tt-body-guestbook .main {
  padding-top: 0;
  margin-top: 40px;
}


/* ------------------ 레이아웃 조정 ------------------ */
#tt-body-page .wrap-drawer .main {
  margin-top: 0px;
}

/* media query - only mobile */
@media screen and (max-width: 768px) {
  #tt-body-tag .main,
  #tt-body-media .main,
  #tt-body-index .main,
  #tt-body-category .main,
  #tt-body-search .main,
  #tt-body-archive .main,
  #tt-body-guestbook .main {
    padding-top: 0px;
    margin-top: 36px;
  }
}


/* ----- media query - tablet ----- */
@media screen and (max-width: 1060px) {

  #tt-body-tag .header,
  #tt-body-media .header,
  #tt-body-search .header,
  #tt-body-location .header,
  #tt-body-guestbook .header,
  #tt-body-archive .header,
  #tt-body-page .header,
  #tt-body-category .header {
    margin-bottom: 0;
  }

  #tt-body-page .header .title-logo,
  #tt-body-category .header .title-logo,
  #tt-body-archive .header .title-logo,
  #tt-body-search .header .title-logo {
    margin: 0;
  }
}



/* no 이미지 */
.not-found-img .thumbnail {
  text-align: center;
}

.not-found-img .img-thumbnail {
  content: url(./images/no-image.jpg);
}




/* --- 보호글 Image & Not found Image --- */
.protected-img .thumbnail {
  background-color: #fafafa;
  background-image: url(./images/icon-exclamation.svg);
  background-repeat: no-repeat;
  background-size: inherit;
}

.protected-img .img-thumbnail {
  content: url(./images/icon-exclamation.svg);
}


.article-type-resize .not-found-img .thumbnail {
  background-image: url(./images/no-image.jpg);
  background-size: cover;
  background-position: 50% 50%;
}

.article-type- .protected-img .thumbnail,
.article-type-thumbnail .protected-img .thumbnail {
  background-size: 50%;
}

.article-type-resize .protected-img .thumbnail {
  background-image: none;
  background-color: #fafafa;
  height: 200px;
  line-height: 200px;

}

.article-type-resize .not-found-img:not(.protected-img) .img-thumbnail {
  display: none;
}

.article-type-resize .protected-img .img-thumbnail {
  display: inline-block;
  vertical-align: middle;
}

.article-type-resize .not-found-img:not(.protected-img) .thumbnail,
.article-type-crop .not-found-img .thumbnail {
  height: 200px;
}

.article-type-resize .not-found-img .thumbnail .img-thumbnail {
  width: 77px;
}

.article-type-resize .protected-img .thumbnail .img-thumbnail {
  height: 90px;
}


/* --- 보호글 Form --- */

#tt-body-page.protected-view .article-header,
#tt-body-page.protected-view .area-paging {
  display: none
}

#tt-body-page.protected-view .area-main {
  max-width: 100%;
}

#tt-body-page.protected-view .article-view {
  margin-bottom: 310px;
}

#tt-body-page.protected-view .main {
  padding-top: 70px;
}

/* -- spinner -- */
.area-paging-more {
  position: relative;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.paging-more-loading {
  color: #fff;
  pointer-events: none;
}

.paging-more-loading:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -15px;
  border-radius: 50%;
  border: 1px solid #ccc;
  border-top-color: #07d;
  animation: spinner .6s linear infinite;
}


/* -- init display none */
.display-none {
  display: none;
}

/* -- category style -- */
.use-category-banner .category-banner-wrp {
  display: block;
}

.use-category-banner .category-banner:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(58, 58, 58, 0.3);
  z-index: 1;
}


#tt-body-category.use-category-banner #container {
  margin-top: 400px;
}

.use-category-banner .category-banner-wrp {
  display: block;
  width: 100%;
  height: 400px;
  position: absolute;
  top: -400px;
  left: 0px;
}

.use-category-banner .category-banner {
  width: 100%;
  height: 100%;
  position: relative;
  left: 0;
  background-size: cover;
  background-position: 50% 50%;
  z-index: 11;
}

.use-category-banner .category-banner .category-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1020px;
  height: 100%;
  margin: 0 auto;
  z-index: 2;
}

.use-category-banner .category-banner .category-description-box {
  margin-top: -4px;
}

.use-category-banner .category-banner .category-description-box strong {
  font-weight: bolder;
  width: 760px;
  font-size: 48px;
  font-family: Arial;
  line-height: 1.10;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  word-break: keep-all;
}


/* 1단형 카테고리*/
.use-category-banner .wrap-drawer .category-banner .category-banner-inner {
  max-width: 780px;
}



/* ----- media query - pc ----- */
@media screen and (min-width: 1061px) {
  .use-category-banner .wrap-drawer .category-banner-wrp {
    top: -456px;
  }

  #tt-body-category.use-category-banner .wrap-drawer #container {
    margin-top: 456px;
  }
}


/* ----- media query - mobile ----- */
@media screen and (max-width: 1061px) {
  #tt-body-category.use-category-banner #container {
    margin-top: 386px;
  }

  .use-category-banner .category-banner-wrp {
    height: 350px;
    top: -386px;
  }

  .use-category-banner .category-banner .category-description-box {
    position: absolute;
    bottom: 40px;
  }

  .use-category-banner .category-banner .category-banner-inner {
    position: relative;
    padding: 0 20px;
  }

  .use-category-banner .category-banner .category-description-box strong {
    width: 270px;
    margin-bottom: 22px;
    font-size: 30px;
    line-height: 30px;
    -webkit-line-clamp: 3;
  }

  .border-none {
    border: none;
  }
}

/* --- 공지 --- */
#tt-body-index.notice-index .area-view .notice-title:first-child {
  display: block;
}


/* --- no-image --- */
.article-type-common.article-type- .thumbnail:not([has-thumbnail]),
.article-type-common.article-type-thumbnail .thumbnail:not([has-thumbnail]) {
  display: none;
}


/* --- 방명록 Header --- */
#tt-body-guestbook .title-search {
  border-bottom: 1px solid #e8e8e8;
}

/* --- Cover Title --- */
.area-cover .title-cover {
  min-height: 32px;
}

.area-cover .title-cover:empty {
  min-height: auto;
  padding-bottom: 0px;
}


@media screen and (max-width: 760px) {
  .area-cover .box-cover-poster {
    margin-bottom: 0px;
  }

  .area-cover .article-type-poster {
    margin-bottom: 0px;

  }
}


#tt-body-guestbook .area-reply form {
  padding-top: 20px;
}


#tt-body-guestbook .area-reply .list-reply+form {
  padding-top: 0;
}

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

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

/* 전체 공통 */
#article-view {
  margin: 0;
  padding: 15px 5px 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 {
  border-color: #ddd;
  margin-bottom: 0px;
}

#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;
}

.btn-g {
  display: inline-block;
  min-width: 120px;
  height: 40px;
  padding: 0 23px;
  border-radius: 20px;
  border: 1px solid #D0D0D0;
  font-weight: 400;
  font-size: 13px;
  color: #222;
  line-height: 38px;
  box-sizing: border-box;
  text-align: center;
  background-color: #fff;
  cursor: pointer;
  vertical-align: middle;
  outline: none;
  -webkit-transition: background-color .1s linear,border-color .1s linear;
  -moz-transition: background-color .1s linear,border-color .1s linear;
  transition: background-color .1s linear,border-color .1s linear;
}

.btn-g:hover {
  color: #fff;
  background-color: #f54;
  border: 1px solid #f54;
  text-decoration: none;
}

.btn-g:active {
  color: #fff;
  background-color: #cc4436;
  border: 1px solid #cc4436;
  text-decoration: none;
}

.btn-primary {
  border-color: #000;
  background-color: #000;
  color: #fff;
  text-decoration: none;
}

.group-btn {
  font-size: 0;
  line-height: 0;
  text-align: center;
}

.cont-empty {
  text-align: center;
}

.cont-empty .tit-g {
  display: block;
  margin-top: 78px;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.15;
  color: #000000;
  letter-spacing: -1.2px;
}

.cont-empty .desc-g {
  margin: 9px 0 0 0;
  font-size: 13px;
  line-height: 1.15;
  color: #777;
}

.cont-empty .group-btn {
  margin-top: 30px;
}


/* ================================================
   플로팅 사이드바 - Modern Minimal
   ================================================ */

:root {
  --sidebar-width: 272px;
  --sidebar-mini-width: 48px;
  --sidebar-margin: 12px;
  --sidebar-radius: 16px;

  /* 모던 컬러 팔레트 */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-hover: #e2e8f0;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --accent: #0ea5e9;
  --accent-light: #e0f2fe;
  --accent-dark: #0284c7;

  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --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);
}

/* 기본: 숨김 */
.floating-sidebar {
  display: none;
}
.mobile-overlay {
  display: none;
}
.mobile-handle {
  display: none;
}

/* ========== 모바일 (1060px 이하) ========== */
@media screen and (max-width: 1060px) {

  /* 오버레이 */
  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
  }
  .mobile-overlay.active {
    display: block;
  }

  /* FAB 버튼 */
  .floating-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(59,130,246,0.4);
    z-index: 1000;
    transition: opacity 0.3s ease;
  }

  .floating-sidebar .mini-open-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  /* CSS 햄버거 아이콘 */
  .floating-sidebar .hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 24px;
    height: 24px;
  }
  .floating-sidebar .hamburger-icon span {
    display: block;
    width: 20px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.2s ease;
  }
  .floating-sidebar .hamburger-icon span:nth-child(2) {
    width: 14px;
  }

  .floating-sidebar .sidebar-content {
    display: none;
  }

  /* 열린 상태 */
  .floating-sidebar.mobile-open {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    height: 85vh;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    background: #fff;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .floating-sidebar.mobile-open .mini-open-btn {
    display: none;
  }

  .floating-sidebar.mobile-open .sidebar-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 16px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* 드래그 핸들 */
  .floating-sidebar.mobile-open .mobile-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 32px;
    flex-shrink: 0;
    cursor: grab;
    touch-action: none;
  }
  .floating-sidebar.mobile-open .mobile-handle::before {
    content: '';
    width: 40px;
    height: 5px;
    background: #d1d5db;
    border-radius: 3px;
    transition: background 0.15s, width 0.15s;
  }
  .floating-sidebar.mobile-open .mobile-handle:active::before {
    background: #9ca3af;
    width: 50px;
  }

  /* 브랜드 */
  .floating-sidebar .sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 8px;
    background: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    color: #0f172a;
    flex-shrink: 0;
  }
  .floating-sidebar .brand-icon { font-size: 20px; }
  .floating-sidebar .brand-text { flex: 1; font-size: 16px; font-weight: 600; }
  .floating-sidebar .brand-arrow { font-size: 14px; color: #94a3b8; }

  /* 퀵 액세스 (용어 사전 + 대시보드) */
  .floating-sidebar .quick-access-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
  }
  .floating-sidebar .quick-access {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    text-decoration: none;
    color: #92400e;
    flex-shrink: 0;
  }
  .floating-sidebar .quick-access.dashboard {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
  }
  .floating-sidebar .qa-icon { font-size: 18px; }
  .floating-sidebar .qa-text { flex: 1; font-size: 15px; font-weight: 600; }
  .floating-sidebar .qa-badge {
    padding: 3px 8px;
    background: #f59e0b;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
  }

  /* 탭 */
  .floating-sidebar .sidebar-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    margin-bottom: 12px;
    background: #f1f5f9;
    border-radius: 10px;
    flex-shrink: 0;
  }
  .floating-sidebar .tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #64748b;
    font-size: 14px;
  }
  .floating-sidebar .tab-btn.active {
    background: #fff;
    color: #3b82f6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  }
  .floating-sidebar .tab-icon { font-size: 16px; }
  .floating-sidebar .tab-label { font-weight: 500; }
  .floating-sidebar .tab-count { display: none; }

  /* 탭 콘텐츠 */
  .floating-sidebar .tab-contents {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .floating-sidebar .tab-panel {
    display: none;
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }
  .floating-sidebar .tab-panel.active {
    display: flex;
    flex-direction: column;
  }
  .floating-sidebar .panel-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* 도구 카테고리 */
  .floating-sidebar .tool-category {
    margin-bottom: 8px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
  }
  .floating-sidebar .tool-category.best {
    border-color: #fde68a;
    background: #fffbeb;
  }
  .floating-sidebar .cat-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #f8fafc;
    border: none;
    border-left: 4px solid #94a3b8;
    cursor: pointer;
    text-align: left;
  }
  .floating-sidebar .tool-category.best .cat-header {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-left-color: #f59e0b;
  }
  .floating-sidebar .cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
  }
  .floating-sidebar .cat-title {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
  }
  .floating-sidebar .cat-count {
    font-size: 12px;
    color: #94a3b8;
  }
  .floating-sidebar .cat-arrow {
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.2s;
  }
  .floating-sidebar .cat-header.active .cat-arrow {
    transform: rotate(180deg);
  }
  .floating-sidebar .cat-list {
    max-height: 0;
    overflow: hidden;
    background: #f8fafc;
    transition: max-height 0.2s;
  }
  .floating-sidebar .cat-list.show {
    max-height: 500px;
  }
  .floating-sidebar .tool-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    border-top: 1px solid #e2e8f0;
  }
  .floating-sidebar .tool-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
  }
  .floating-sidebar .tool-item.current {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
  }
  .floating-sidebar .tool-item.current span {
    background: rgba(255,255,255,0.2);
  }

  /* 시리즈 그룹 */
  .floating-sidebar .series-group {
    margin-bottom: 8px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
  }
  .floating-sidebar .series-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #f8fafc;
    border: none;
    border-left: 4px solid #3b82f6;
    cursor: pointer;
    text-align: left;
  }
  .floating-sidebar .series-group:nth-child(2) .series-header {
    border-left-color: #6366f1;
  }
  .floating-sidebar .series-header.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
  }
  .floating-sidebar .series-icon { font-size: 18px; }
  .floating-sidebar .series-title {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
  }
  .floating-sidebar .series-progress {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
  }
  .floating-sidebar .progress-count { font-weight: 500; }
  .floating-sidebar .progress-mini-bar {
    width: 40px;
    height: 4px;
    background: rgba(0,0,0,0.1);
    border-radius: 2px;
    overflow: hidden;
  }
  .floating-sidebar .series-header.active .progress-mini-bar {
    background: rgba(255,255,255,0.3);
  }
  .floating-sidebar .progress-mini-bar .progress-fill {
    display: block;
    height: 100%;
    width: 0;
    background: #3b82f6;
    border-radius: 2px;
  }
  .floating-sidebar .series-header.active .progress-fill {
    background: #fff;
  }
  .floating-sidebar .series-arrow {
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.2s;
  }
  .floating-sidebar .series-header.active .series-arrow {
    color: rgba(255,255,255,0.8);
    transform: rotate(180deg);
  }
  .floating-sidebar .series-list {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    transition: max-height 0.3s;
  }
  .floating-sidebar .series-list.show {
    max-height: 1200px;
  }
  .floating-sidebar .ep-item {
    display: block;
    padding: 12px 16px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    border-top: 1px solid #f1f5f9;
    line-height: 1.4;
  }
  .floating-sidebar .ep-item.current {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
    border-left: 3px solid #3b82f6;
  }
  .floating-sidebar .ep-item.visited::after {
    content: ' \2713';
    color: #22c55e;
  }

  /* 푸터 */
  .floating-sidebar .sidebar-footer {
    flex-shrink: 0;
    padding-top: 12px;
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
  }
  .floating-sidebar .reading-progress {
    display: none;
  }
  .floating-sidebar .reading-progress .progress-bar {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
  }
  .floating-sidebar .reading-progress .progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 3px;
  }
  .floating-sidebar .reading-progress .progress-text {
    font-size: 13px;
    font-weight: 600;
    color: #3b82f6;
    min-width: 36px;
    text-align: right;
  }

  /* 닫기 버튼 */
  .floating-sidebar .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    background: #3b82f6;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
  }
  .floating-sidebar .sidebar-toggle .toggle-icon { display: none; }
  .floating-sidebar .sidebar-toggle .toggle-text { font-size: 0; }
  .floating-sidebar .sidebar-toggle .toggle-text::after {
    content: '닫기';
    font-size: 15px;
  }

  /* 오디오 플레이어 숨김 */
  .floating-sidebar .audio-player { display: none; }

  /* ========== 대시보드 탭 (모바일) ========== */
  .dashboard-category {
    margin: 8px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-light);
  }

  .dash-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
  }

  .dash-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f59e0b;
  }

  .dash-list {
    background: var(--bg-primary);
  }

  .dash-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px 11px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    border-top: 1px solid var(--border-light);
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
  }

  .dash-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
  }

  .dash-item.current {
    background: var(--bg-hover);
    color: var(--text-primary);
    font-weight: 600;
    border-left-color: #3b82f6;
  }

  .dash-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    font-size: 15px;
    flex-shrink: 0;
  }

  .dash-icon.kospi {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.15);
  }

  .dash-icon.sp500 {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.15);
  }

  .dash-icon.crypto {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.15);
  }

  .dash-item.current .dash-icon.kospi {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
  }

  .dash-item.current .dash-icon.sp500 {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
  }

  .dash-item.current .dash-icon.crypto {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
  }

  .dash-text {
    flex: 1;
    font-weight: 500;
  }

  .dash-arrow {
    font-size: 10px;
    color: var(--text-muted);
    opacity: 0.5;
  }

  .dash-item.current .dash-arrow {
    opacity: 1;
    color: #3b82f6;
  }

  /* 미니모드 무시 */
  .floating-sidebar.mini {
    width: 56px;
    height: 56px;
    border-radius: 50%;
  }
}

/* ========== PC (1061px 이상) ========== */
@media screen and (min-width: 1061px) {

  /* 컨테이너 */
  .floating-sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--sidebar-margin);
    left: var(--sidebar-margin);
    bottom: var(--sidebar-margin);
    width: var(--sidebar-width);
    background: var(--bg-primary);
    border-radius: var(--sidebar-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    z-index: 1000;
    overflow: hidden;
    transition: width 0.2s ease, top 0.15s ease;
  }

  /* 미니 모드 */
  .floating-sidebar.mini {
    width: var(--sidebar-mini-width);
  }

  .floating-sidebar.mini .sidebar-content {
    opacity: 0;
    pointer-events: none;
  }

  .floating-sidebar.mini .mini-open-btn {
    opacity: 1;
    pointer-events: auto;
  }

  /* 미니 모드 열기 버튼 */
  .mini-open-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border: none;
    background: var(--accent);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.15s ease;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mini-open-btn:hover {
    background: var(--accent-dark);
    transform: translate(-50%, -50%) scale(1.05);
  }

  /* 햄버거 아이콘 */
  .floating-sidebar .hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 24px;
    height: 24px;
  }

  .floating-sidebar .hamburger-icon span {
    display: block;
    width: 16px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.2s ease;
  }

  .floating-sidebar .hamburger-icon span:nth-child(2) {
    width: 12px;
  }

  /* 콘텐츠 영역 */
  .sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px;
    overflow: hidden;
    transition: opacity 0.15s ease;
  }

  /* ========== 읽기 진행률 바 ========== */
  .reading-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin-bottom: 8px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    flex-shrink: 0;
  }

  .reading-progress .progress-bar {
    flex: 1;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
  }

  .reading-progress .progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, var(--accent) 0%, #2563eb 100%);
    border-radius: 3px;
    transition: width 0.1s ease;
  }

  .reading-progress .progress-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    min-width: 32px;
    text-align: right;
  }

  /* ========== 홈 링크 ========== */
  .sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: var(--bg-secondary);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.15s ease;
    flex-shrink: 0;
  }

  .sidebar-brand:hover {
    background: var(--bg-tertiary);
  }

  .sidebar-brand .brand-icon {
    font-size: 19px;
  }

  .sidebar-brand .brand-text {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
  }

  .sidebar-brand .brand-arrow {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.15s ease;
  }

  .sidebar-brand:hover .brand-arrow {
    transform: translateX(2px);
    color: var(--text-secondary);
  }

  /* ========== 퀵 액세스 (용어 사전 + 대시보드) ========== */
  .quick-access-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
  }

  .quick-access {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    text-decoration: none;
    color: #92400e;
    transition: all 0.15s ease;
    flex-shrink: 0;
  }

  .quick-access:hover {
    background: #fef3c7;
    border-color: #fcd34d;
  }

  .quick-access.dashboard {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
  }

  .quick-access.dashboard:hover {
    background: #dbeafe;
    border-color: #93c5fd;
  }

  .quick-access .qa-icon {
    font-size: 17px;
  }

  .quick-access .qa-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
  }

  .quick-access .qa-badge {
    padding: 2px 6px;
    background: #f59e0b;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
  }

  /* ========== 탭 ========== */
  .sidebar-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    margin-bottom: 12px;
    background: var(--bg-secondary);
    border-radius: 10px;
    flex-shrink: 0;
  }

  .tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.15s ease;
  }

  .tab-btn:hover {
    background: var(--bg-tertiary);
  }

  .tab-btn.active {
    background: var(--bg-primary);
    color: var(--accent);
    box-shadow: var(--shadow-sm);
    position: relative;
  }

  .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: var(--accent);
    border-radius: 3px 3px 0 0;
  }

  .tab-btn .tab-icon {
    font-size: 15px;
  }

  .tab-btn .tab-label {
    font-size: 14px;
    font-weight: 500;
  }

  .tab-btn .tab-count {
    font-size: 10px;
    font-weight: 600;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    padding: 2px 6px;
    border-radius: 10px;
  }

  .tab-btn.active .tab-count {
    background: var(--accent);
    color: #fff;
  }

  /* ========== 탭 콘텐츠 ========== */
  .tab-contents {
    flex: 1;
    overflow: hidden;
  }

  .tab-panel {
    display: none;
    height: 100%;
  }

  .tab-panel.active {
    display: flex;
    flex-direction: column;
  }

  .panel-scroll {
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
  }

  .panel-scroll::-webkit-scrollbar {
    width: 4px;
  }
  .panel-scroll::-webkit-scrollbar-track {
    background: transparent;
  }
  .panel-scroll::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
  }
  .panel-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
  }

  /* ========== 도구 카테고리 ========== */
  .tool-category {
    margin-bottom: 6px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-light);
  }

  .tool-category.best {
    border-color: #fde68a;
    background: #fffbeb;
  }

  .tool-category.best .cat-header {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left-color: #f59e0b;
  }

  /* 카테고리별 왼쪽 컬러 바 */
  .tool-category:nth-child(2) .cat-header { border-left-color: #3b82f6; }
  .tool-category:nth-child(3) .cat-header { border-left-color: #8b5cf6; }
  .tool-category:nth-child(4) .cat-header { border-left-color: #10b981; }
  .tool-category:nth-child(5) .cat-header { border-left-color: #ec4899; }

  .tool-category.best .cat-title {
    color: #d97706;
    font-weight: 600;
  }

  .cat-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: none;
    border-left: 4px solid var(--text-muted);
    cursor: pointer;
    transition: background 0.15s ease;
  }

  .cat-header:hover {
    background: var(--bg-secondary);
  }

  .cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 4px currentColor;
  }

  .cat-title {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
  }

  .cat-count {
    font-size: 12px;
    color: var(--text-muted);
  }

  .cat-arrow {
    font-size: 14px;
    color: var(--text-muted);
    transition: transform 0.15s ease;
  }

  .cat-header.active .cat-arrow {
    transform: rotate(180deg);
  }

  .cat-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
    background: var(--bg-secondary);
  }

  .cat-list.show {
    max-height: 280px;
  }

  /* ========== 도구 아이템 ========== */
  .tool-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px 11px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    border-top: 1px solid var(--border-light);
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
  }

  .tool-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
  }

  .tool-item.current {
    background: linear-gradient(135deg, var(--accent) 0%, #2563eb 100%);
    color: #fff;
    font-weight: 500;
    border-left-color: #1d4ed8;
    animation: pulse-glow 2s ease-in-out infinite;
  }

  .tool-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    font-size: 15px;
    flex-shrink: 0;
  }

  .tool-item.current span {
    background: rgba(255,255,255,0.25);
  }

  /* 카테고리별 아이콘 색상 */
  .tool-category.best .tool-item span { color: #f59e0b; }
  .tool-category:nth-child(2) .tool-item span { color: #3b82f6; }
  .tool-category:nth-child(3) .tool-item span { color: #8b5cf6; }
  .tool-category:nth-child(4) .tool-item span { color: #10b981; }
  .tool-category:nth-child(5) .tool-item span { color: #ec4899; }

  /* ========== 시리즈 그룹 ========== */
  .series-group {
    margin-bottom: 6px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-light);
  }

  .series-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: none;
    border-left: 4px solid #3b82f6;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  /* 시리즈별 컬러 */
  .series-group:nth-child(1) .series-header { border-left-color: #3b82f6; }
  .series-group:nth-child(2) .series-header { border-left-color: #6366f1; }

  .series-header:hover {
    background: var(--bg-secondary);
  }

  .series-header.active {
    background: linear-gradient(135deg, var(--accent) 0%, #2563eb 100%);
    color: #fff;
    border-left-color: #1d4ed8;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  }

  .series-header .series-icon {
    font-size: 18px;
  }

  /* 시리즈 아이콘 색상 */
  .series-group:nth-child(1) .series-icon { filter: hue-rotate(0deg); }
  .series-group:nth-child(2) .series-icon { filter: hue-rotate(30deg); }

  .series-header .series-title {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
  }

  /* 시리즈 진행률 표시 */
  .series-progress {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
  }

  .series-progress .progress-count {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
  }

  .series-progress .read-count {
    color: var(--accent);
  }

  .series-progress .progress-mini-bar {
    width: 40px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
  }

  .series-progress .progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent) 0%, #10b981 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
  }

  .series-header.active .series-progress .progress-count {
    color: rgba(255,255,255,0.8);
  }

  .series-header.active .series-progress .read-count {
    color: #fff;
  }

  .series-header.active .series-progress .progress-mini-bar {
    background: rgba(255,255,255,0.2);
  }

  .series-header.active .series-progress .progress-fill {
    background: linear-gradient(90deg, #fff 0%, #a5f3fc 100%);
  }

  /* 읽은 에피소드 표시 */
  .ep-item.visited {
    position: relative;
    padding-right: 28px;
  }

  .ep-item.visited::before {
    content: '\2713';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--accent);
    opacity: 0.7;
  }

  .ep-item.current.visited::before {
    color: #fff;
    opacity: 0.9;
  }

  .series-header .series-arrow {
    font-size: 14px;
    color: var(--text-muted);
    transition: transform 0.15s ease;
  }

  .series-header.active .series-arrow {
    color: rgba(255,255,255,0.7);
    transform: rotate(180deg);
  }

  .series-list {
    max-height: 0;
    overflow: hidden;
    overflow-y: auto;
    transition: max-height 0.2s ease;
    background: var(--bg-secondary);
  }

  .series-list.show {
    max-height: 360px;
  }

  .series-list::-webkit-scrollbar {
    width: 3px;
  }
  .series-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
  }

  /* ========== 에피소드 아이템 ========== */
  .ep-item {
    display: block;
    padding: 11px 14px 11px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;
    border-top: 1px solid var(--border-light);
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
  }

  .ep-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-left-color: var(--accent);
  }

  @keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(59, 130, 246, 0.4); }
    50% { box-shadow: 0 0 16px rgba(59, 130, 246, 0.6); }
  }

  .ep-item.current {
    background: linear-gradient(135deg, var(--accent) 0%, #2563eb 100%);
    color: #fff;
    font-weight: 500;
    border-left-color: #1d4ed8;
    animation: pulse-glow 2s ease-in-out infinite;
  }

  /* ========== 대시보드 탭 ========== */
  .dashboard-category {
    margin: 8px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-light);
  }

  .dash-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
  }

  .dash-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f59e0b;
  }

  .dash-list {
    background: var(--bg-primary);
  }

  .dash-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px 11px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    border-top: 1px solid var(--border-light);
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
  }

  .dash-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
  }

  .dash-item.current {
    background: var(--bg-hover);
    color: var(--text-primary);
    font-weight: 600;
    border-left-color: #3b82f6;
  }

  .dash-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    font-size: 15px;
    flex-shrink: 0;
  }

  .dash-icon.kospi {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.15);
  }

  .dash-icon.sp500 {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.15);
  }

  .dash-icon.crypto {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.15);
  }

  .dash-item.current .dash-icon.kospi {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
  }

  .dash-item.current .dash-icon.sp500 {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
  }

  .dash-item.current .dash-icon.crypto {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
  }

  .dash-text {
    flex: 1;
    font-weight: 500;
  }

  .dash-arrow {
    font-size: 10px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.15s ease;
  }

  .dash-item:hover .dash-arrow {
    opacity: 1;
    transform: translateX(0);
  }

  .dash-item.current .dash-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #3b82f6;
  }

  /* 대시보드 버튼 활성화 */
  .quick-access.dashboard.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border-color: #1d4ed8;
  }

  /* ========== 푸터 ========== */
  .sidebar-footer {
    flex-shrink: 0;
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px solid var(--border-light);
  }

  /* ========== 미니 뮤직 플레이어 ========== */
  .mini-player {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 8px;
  }

  .player-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }

  .player-icon {
    font-size: 16px;
  }

  .player-title {
    flex: 1;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
  }

  .player-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-secondary);
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .player-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
  }

  .player-btn.play-btn {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
  }

  .player-btn.play-btn:hover {
    background: var(--accent-dark);
    color: #fff;
  }

  .player-progress {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .progress-bar {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
  }

  .progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
  }

  .player-time {
    font-size: 11px;
    color: var(--text-muted);
    min-width: 32px;
    text-align: right;
  }

  .player-volume {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
  }

  .volume-icon {
    font-size: 14px;
    cursor: pointer;
  }

  .volume-slider {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--border);
    border-radius: 2px;
    cursor: pointer;
  }

  .volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
  }

  .volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    border: none;
    cursor: pointer;
  }

  /* ========== 토글 버튼 ========== */
  .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.15s ease;
  }

  .sidebar-toggle:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
  }

  .sidebar-toggle .toggle-icon {
    font-size: 12px;
  }

  .sidebar-toggle .toggle-text {
    font-size: 12px;
    font-weight: 500;
  }
}

/* 넓은 화면 */
@media screen and (min-width: 1400px) {
  :root {
    --sidebar-width: 288px;
  }
}

/* ========== 플로팅 구독 팝업 ========== */
.subscribe-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 16px 20px;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 340px;
}

.subscribe-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.subscribe-popup-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  border: none;
  background: #374151;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s ease;
}

.subscribe-popup-close:hover {
  background: #1f2937;
  transform: scale(1.1);
}

.subscribe-popup-close svg {
  width: 14px;
  height: 14px;
}

.subscribe-popup-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.subscribe-popup-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 12px;
  color: #fff;
  flex-shrink: 0;
}

.subscribe-popup-icon svg {
  width: 22px;
  height: 22px;
}

.subscribe-popup-text {
  font-size: 14px;
  color: #374151;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

.subscribe-popup-text br {
  display: block;
}

.subscribe-popup-btn {
  background: #18181b;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.subscribe-popup-btn:hover {
  background: #3f3f46;
}

.subscribe-popup-btn:active {
  transform: scale(0.97);
}

/* 모바일에서 위치 조정 */
@media (max-width: 768px) {
  .subscribe-popup {
    bottom: 16px;
    right: 12px;
    left: 12px;
    max-width: none;
    padding: 14px 16px;
    gap: 12px;
  }

  .subscribe-popup-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .subscribe-popup-icon svg {
    width: 20px;
    height: 20px;
  }

  .subscribe-popup-text {
    font-size: 13px;
  }

  .subscribe-popup-btn {
    padding: 9px 14px;
    font-size: 12px;
  }
}


/* ========================================
   홈 전용 섹션 (tt-body-index에서만 표시)
   ======================================== */

/* 기본: 홈 섹션 숨김 */
.home-section {
  display: none;
}

/* 홈페이지에서만 표시 */
#tt-body-index .home-section {
  display: block;
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
}

/* 홈페이지에서 기존 "전체 글" 제목 숨김 */
#tt-body-index .area-common .title-search {
  display: none;
}

/* 홈페이지 글 목록 너비 확장 (home-section과 동일하게) */
#tt-body-index .area-main {
  max-width: 860px;
  margin: 0 auto;
}

/* 태블릿: 좌우 패딩 */
@media screen and (max-width: 1061px) {
  .area-main {
    padding: 0 20px;
  }
}

/* 섹션 공통 제목 */
.home-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 48px 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e5e5;
}

/* ===== 히어로 섹션 ===== */
.home-hero {
  background: linear-gradient(135deg, #1a5276 0%, #2980b9 50%, #3498db 100%);
  border-radius: 20px;
  padding: 48px 40px;
  margin-top: 24px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.home-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.home-hero-content {
  position: relative;
  z-index: 1;
}

.home-hero-greeting {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 8px 0;
  opacity: 0.85;
}

.home-hero-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.home-hero-whisper {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.6;
  letter-spacing: 0;
}

.home-hero-desc {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 28px 0;
  opacity: 0.9;
}

.home-hero-btn {
  display: inline-block;
  background: #fff;
  color: #1a5276;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.home-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

/* ===== 시리즈 카드 ===== */
.home-series-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.series-card {
  display: block;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 28px 24px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.series-card:hover {
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.series-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.series-card-beginner .series-card-badge {
  background: #e8f5e9;
  color: #2e7d32;
}

.series-card-advanced .series-card-badge {
  background: #e3f2fd;
  color: #1565c0;
}

.series-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.series-card-beginner .series-card-icon {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: #fff;
}

.series-card-advanced .series-card-icon {
  background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%);
  color: #fff;
}

.series-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.series-card-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.series-card-progress {
  display: flex;
  align-items: center;
  gap: 12px;
}

.series-card-progress-bar {
  flex: 1;
  height: 6px;
  background: #e8e8e8;
  border-radius: 3px;
  overflow: hidden;
}

.series-card-progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.series-card-beginner .series-card-progress-fill {
  background: linear-gradient(90deg, #27ae60, #2ecc71);
}

.series-card-advanced .series-card-progress-fill {
  background: linear-gradient(90deg, #1a5276, #2980b9);
}

.series-card-progress-text {
  font-size: 12px;
  font-weight: 600;
  color: #888;
  white-space: nowrap;
}

/* ===== 뉴스 배너 ===== */
.news-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease;
  margin-top: 16px;
}

.news-banner:hover {
  background: #f1f5f9;
}

.news-icon {
  font-size: 20px;
}

.news-text {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
}

.news-arrow {
  font-size: 12px;
  color: #94a3b8;
}

/* ===== 인기 도구 ===== */
.home-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: #f8f9fa;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tool-card:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.tool-card-icon {
  font-size: 32px;
  line-height: 1;
}

.tool-card-name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-align: center;
}

/* ===== 빠른 링크 섹션 ===== */
.home-quick-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.quick-link-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* 도구 모음 - 파란색 */
.quick-link-tools {
  background: #f0f7ff;
  border: 1px solid #d0e3f7;
}

.quick-link-tools:hover {
  border-color: #3498DB;
  background: #e3f0fc;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.15);
}

.quick-link-tools .quick-link-icon {
  background: #fff;
  color: #3498DB;
}

.quick-link-tools .quick-link-title {
  color: #1a5276;
}

.quick-link-tools .quick-link-arrow {
  color: #3498DB;
}

/* 용어 사전 - 보라색 */
.quick-link-glossary {
  background: #f5f0ff;
  border: 1px solid #e0d4f7;
}

.quick-link-glossary:hover {
  border-color: #8e44ad;
  background: #ede3fc;
  box-shadow: 0 2px 8px rgba(142, 68, 173, 0.15);
}

.quick-link-glossary .quick-link-icon {
  background: #fff;
  color: #8e44ad;
}

.quick-link-glossary .quick-link-title {
  color: #5b2c6f;
}

.quick-link-glossary .quick-link-arrow {
  color: #8e44ad;
}

.quick-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 18px;
  line-height: 1;
  border-radius: 8px;
  flex-shrink: 0;
}

.quick-link-title {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
}

.quick-link-arrow {
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.2s ease;
}

.quick-link-card:hover .quick-link-arrow {
  transform: translateX(3px);
}

/* ===== 최신 글 섹션 ===== */
.home-recent {
  margin-bottom: 0;
}

.home-recent .home-section-title {
  margin-bottom: 0;
}

/* ===== 반응형: 모바일 ===== */
@media (max-width: 768px) {
  .area-main {
    padding: 0 14px;
  }

  .home-hero {
    padding: 36px 24px;
    border-radius: 16px;
  }

  .home-hero-greeting {
    font-size: 12px;
  }

  .home-hero-title {
    font-size: 22px;
  }

  .home-hero-whisper {
    display: block;
    font-size: 12px;
    margin-top: 4px;
  }

  .home-hero-desc {
    font-size: 14px;
  }

  .home-hero-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .home-section-title {
    font-size: 18px;
    margin: 36px 0 16px 0;
  }

  .home-series-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .series-card {
    padding: 24px 20px;
  }

  .series-card-icon {
    width: 48px;
    height: 48px;
  }

  .series-card-icon svg {
    width: 26px;
    height: 26px;
  }

  .series-card-title {
    font-size: 16px;
  }

  .news-banner {
    padding: 14px 16px;
  }

  .news-icon {
    font-size: 20px;
  }

  .news-text {
    font-size: 14px;
  }

  .home-tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .tool-card {
    padding: 20px 12px;
  }

  .tool-card-icon {
    font-size: 28px;
  }

  .tool-card-name {
    font-size: 12px;
  }

  .home-quick-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .quick-link-card {
    padding: 14px 16px;
  }

  .quick-link-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .quick-link-title {
    font-size: 13px;
  }
}
