@charset 'UTF-8';

/*
    ---------------------------
    01.  Global reset
    02.  Preset
    03.  Link effect
    04.  Layout
    ---------------------------
    05.  Loader
    ---------------------------
    06.  Modal
    07.  Header
    08.  Search
    ---------------------------
    09.  Sidebar
    10.  Sidebar - category
    11.  Sidebar - link
    12.  Sidebar - image
    13.  Sidebar - status
    14.  Sidebar - profile
    15.  Sidebar - profile 2
    16.  Sidebar - navigator
    ---------------------------
    17.  Cover
    18.  Cover - image
    19.  Cover - article
    20.  Cover - status
    21.  Cover - checklist
    22.  Cover - timeline
    23.  Cover - progress
    ---------------------------
    24.  Searchlist
    ---------------------------
    25.  Type reset
    26.  Type - list 1
    27.  Type - list 2
    28.  Type - gallery
    29.  Type - post
    30.  Type - playlist
    31.  Type - timeline
    ---------------------------
    32.  Article
    33.  Article - notice
    34.  Article - protected
    35.  Article - elements: 코드블록 / 리스트 / 이미지 / 파일 / 인용 / 접은글 / 링크
    ---------------------------
    36.  Tag
    ---------------------------
    37.  Comment - form
    38.  Comment - list
    ---------------------------
    39.  Pagination
    40.  Top button
    41.  Copyright
    ---------------------------
    42.  Media query: 1820px / 1380px / 1140px / 980px / 576px
    ---------------------------
*/

/* ********************** */
/* **** Global reset **** */
/* ********************** */







* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root[data-theme='light'] [data-mode='dark'],
:root[data-theme='dark'] [data-mode='light'] {
  display: none !important;
}

a:link,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}

ol,
ul,
li {
  list-style: none;
}

button {
  color: inherit;
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}

img {
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

p {
  font-size: var(--font-size);
}

pre {
  margin: 6px 0 12px 0;
  font-family: inherit !important;
  white-space: unset !important;
  overflow: hidden;
  border-radius: var(--round) !important;
}

svg {
  width: var(--svg-m);
  height: var(--svg-m);
  display: block;
  color: var(--color-font);
  transition: color var(--duration);
}

.article-sub-icon svg {
  width: var(--svg-s);
  height: var(--svg-s);
}

input,
textarea {
  color: inherit;
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  resize: none;
}

.tistoryProfileLayerTrigger,
.another_category,
.container_postbtn,
.postbtn_ccl,
.uoc-count,
.ico_postbtn,
[data-tistory-react-app='Namecard'] {
  display: none !important;
}

::-webkit-scrollbar {
  width: 19px;
}

::-webkit-scrollbar-thumb {
  height: 10%;
  background-color: var(--color-primary);
  border-radius: 100px;
  border: 6px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-track {
  background-color: var(--color-bg);
}

.sidebar::-webkit-scrollbar,
.sidebar-menu-wrap::-webkit-scrollbar,
.category::-webkit-scrollbar,
.sub_category_list::-webkit-scrollbar,
.article-tag-wrap::-webkit-scrollbar,
.comment::-webkit-scrollbar,
.comment-form::-webkit-scrollbar {
  display: none;
}

::selection {
  color: var(--color-select-font);
  background-color: var(--color-select-bg);
}

iframe {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
  border: none;
  border-radius: var(--round-img);
  /* aspect-ratio: 560 / 315; */
}

iframe[width='560'] {
  aspect-ratio: 16 / 9;
}

figure[data-video-host='youtube'] iframe {
  aspect-ratio: 16 / 9 !important;
}

.tippy-box {
  border: var(--border-solid);
  background-color: var(--color-wrap-sub);
}

.tippy-content {
  color: var(--color-font);
  font-size: var(--font-size);
  font-family: var(--font-family);
}

@keyframes lazyload {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes lazyload {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
/* ********************** */
/*





*/
/* **************** */
/* **** Preset **** */
/* **************** */
.hidden {
  display: none !important;
}

.line-clamp {
  display: -webkit-box;
  text-overflow: ellipsis;
  line-height: var(--line-h-m);
  word-break: break-all;
  white-space: pre-wrap;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.line--1 {
  line-clamp: 1;
  -webkit-line-clamp: 1;
}

.line--2 {
  line-clamp: 2;
  -webkit-line-clamp: 2;
}

.line--6 {
  line-clamp: 6;
  -webkit-line-clamp: 6;
}

.line {
  width: 100%;
  height: 100%;
  position: relative;
}

.line::before {
  content: '';
  width: 100%;
  height: 1px;
  position: absolute;
  top: calc(50% - 0.5px);
  background-color: var(--color-border);
  transition: all var(--duration);
}
/* **************** */
/*





*/
/* ********************* */
/* **** Link effect **** */
/* ********************* */
.cover-article--content a:link:not(:has(img)),
.cover-article--content a:visited:not(:has(img)),
.timeline-content > span a:link:not(:has(img)),
.timeline-content > span a:visited:not(:has(img)),
.article-content a:link:not(:has(img)),
.article-content a:visited:not(:has(img)) {
  display: inline-block;
  position: relative;
  color: var(--color-primary);
  font-weight: 700;
}

.cover-article--content a:link:not(:has(img))::before,
.cover-article--content a:visited:not(:has(img))::before,
.timeline-content > span a:link:not(:has(img))::before,
.timeline-content > span a:visited:not(:has(img))::before,
.article-content a:link:not(:has(img))::before,
.article-content a:visited:not(:has(img))::before {
  content: '';
  width: 0;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 2px;
  transition: all var(--duration);
  background-color: var(--color-primary);
}

.cover-article--content a:link:not(:has(img))::before,
.cover-article--content a:visited:not(:has(img))::before,
.timeline-content > span a:link:not(:has(img))::before,
.timeline-content > span a:visited:not(:has(img))::before {
  bottom: -1px;
}

.cover-article--content a:hover:not(:has(img))::before,
.cover-article--content a:active:not(:has(img))::before,
.timeline-content > span a:hover:not(:has(img))::before,
.timeline-content > span a:active:not(:has(img))::before,
.article-content a:hover:not(:has(img))::before,
.article-content a:active:not(:has(img))::before {
  width: 100%;
}
/* ********************* */
/*





*/
/* **************** */
/* **** Layout **** */
/* **************** */
body {
  color: var(--color-font);
  font-size: var(--font-size);
  font-weight: 400;
  font-family: var(--font-family);
  line-height: 1;
  background-color: var(--color-bg);
  transition: background-color var(--duration);
}

body.lazyloading {
  animation: lazyload 2s;
}

.wrap {
  display: grid;
  justify-content: center;
  column-gap: 84px;
  margin: 120px auto;
}

.sidebar--left .wrap.wrap--center,
.sidebar--right .wrap.wrap--center {
  margin-left: auto;
  margin-right: auto;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.sidebar--left .wrap {
  grid-template-columns: var(--sidebar-width) var(--content-width);
  margin-left: calc((var(--sidebar-width) + 84px) * -1);
}

.sidebar--right .wrap {
  grid-template-columns: var(--content-width) var(--sidebar-width);
  margin-left: calc((var(--sidebar-width) + 84px));
}

.sidebar--left .main {
  order: 2;
}

.sidebar--right .main {
  order: 1;
}

.sidebar--right .sidebar {
  order: 2;
}
/* **************** */
/*





*/
/* **************** */
/* **** Loader **** */
/* **************** */
.loader {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  background: var(--color-bg);
  transition: all 0.75s;
  z-index: 10000;
}

.loader--hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-item,
.loader-item::before,
.loader-item::after {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation-fill-mode: both;
  animation: loader 2s infinite ease-in-out;
}

.loader-item {
  color: var(--color-primary);
  font-size: 10px;
  position: fixed;
  text-indent: -9999em;
  transform: translateZ(0);
  animation-delay: -0.1s;
}

.loader-item::before,
.loader-item::after {
  content: '';
  position: absolute;
  top: 0;
}

.loader-item::before {
  left: -24px;
  animation-delay: -0.2s;
}

.loader-item::after {
  left: 24px;
}

@keyframes loader {
  0%,
  80%,
  100% {
    box-shadow: 0 40px 0 -20px;
  }

  40% {
    box-shadow: 0 40px 0 0;
  }
}
/* **************** */
/*





*/
/* *************** */
/* **** Modal **** */
/* *************** */
.setting-modal {
  min-width: 120px;
  display: flex;
  flex-direction: column;
  gap: 24px 16px;
  position: absolute;
  top: calc(var(--header-height) - 14px);
  right: 48px;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  border: var(--border-solid);
  border-radius: var(--round);
  background-color: var(--color-wrap-sub);
  transition: top var(--duration), opacity var(--duration),
    visibility var(--duration), border-color var(--duration),
    background-color var(--duration);
  z-index: 9;
}

.setting-modal.modal--active {
  top: calc(var(--header-height) + 14px);
  visibility: visible;
  opacity: 1;
  transition: top var(--duration), opacity var(--duration),
    visibility var(--duration), border-color var(--duration),
    background-color var(--duration);
}

.setting-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.setting-theme {
  gap: 12px;
}

.font-txt {
  font-weight: 500;
}

.font-txt--s {
  font-size: 14px;
}

.font-txt--l {
  font-size: 18px;
}

.font-btn,
.line-btn {
  width: 18px;
  height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: var(--border-solid);
  background-color: var(--color-bg);
  transition: all var(--duration);
}

.font-btn:hover,
.line-btn:hover {
  border-color: var(--color-primary);
}

.font-btn:hover svg,
.line-btn:hover svg {
  color: var(--color-primary);
}

.theme-bg {
  width: 48px;
  height: 22px;
  display: flex;
  align-items: center;
  position: relative;
  padding: 2px;
  border: var(--border-solid);
  border-radius: var(--round-xl);
  transition: all var(--duration);
}

.theme-circle {
  height: 85%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  position: absolute;
  transition: all var(--duration);
}

:root[data-theme='light'] .theme-bg {
  background-color: var(--color-bg);
}

:root[data-theme='light'] .theme-circle {
  left: 2px;
  background-color: var(--color-primary);
}

:root[data-theme='dark'] .theme-bg {
  background-color: var(--color-primary);
}

:root[data-theme='dark'] .theme-circle {
  left: calc(100% - 2px - 17px);
  background-color: var(--color-icon);
}

.default-btn {
  padding: 8px 14px;
  font-size: var(--font-size-s);
  font-weight: 600;
  text-transform: uppercase;
  border: var(--border-solid);
  border-radius: var(--round-xl);
  transition: all var(--duration);
}

.default-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
/* *************** */
/*





*/
/* **************** */
/* **** Header **** */
/* **************** */
.header {
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 48px;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  left: 0;
  background-color: var(--color-bg);
  transition: all var(--duration);
  z-index: 999;
}

.header-border {
  width: 100%;
  height: 1px;
  position: absolute;
  top: var(--header-height);
  left: 0;
  background-color: var(--color-border);
  transition: all var(--duration);
  opacity: 0;
}

.header-icon-right {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.cate-btn svg,
.controller-btn svg {
  transition: color var(--duration);
}

.cate-btn:hover svg,
.controller-btn:hover svg {
  color: var(--color-primary);
}
/* **************** */
/*





*/
/* **************** */
/* **** Search **** */
/* **************** */
.search {
  display: flex;
  align-items: center;
  gap: 18px;
}

.search-btn,
.search-btn--toggle {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.search-btn svg,
.search-btn--toggle svg {
  color: var(--color-primary);
}

.search-input {
  height: 32px;
  display: block;
  padding: 8px 12px;
  border: var(--border-solid);
  border-radius: var(--round-xl);
  transition: all var(--duration);
}

.search-input::placeholder {
  font-size: var(--font-size-s);
}

.search-input:focus {
  border-color: var(--color-primary);
}
/* **************** */
/*





*/
/* ***************** */
/* **** Sidebar **** */
/* ***************** */
.sidebar {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 24px;
  position: sticky;
  position: -webkit-sticky;
  top: calc(120px + var(--header-height));
  order: 1;
}
.sidebar-menu-wrap {
  width: 450px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 56px 36px;
  padding-bottom: 120px;
  position: fixed;
  top: var(--header-height);
  opacity: 0;
  border-top: var(--border-solid);
  background-color: var(--color-bg);
  transition: all var(--duration);
  overflow-y: scroll;
  z-index: 99;
}

.sidebar--left .sidebar-menu-wrap {
  right: 0;
  transform: translateX(101%);
}

.sidebar--right .sidebar-menu-wrap {
  left: 0;
  transform: translateX(-101%);
}

.sidebar-menu.active .sidebar-menu-wrap {
  opacity: 1;
  transform: translateX(0);
}

.sidebar-menu-bg {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration);
  z-index: 9;
}

.sidebar-menu.active .sidebar-menu-bg {
  opacity: 1;
  visibility: visible;
  transition: all var(--duration);
}

:root[data-theme='light'] .sidebar-menu-bg {
  background-color: rgba(0, 0, 0, 0.09);
}

:root[data-theme='dark'] .sidebar-menu-bg {
  background-color: rgba(0, 0, 0, 0.5);
}
/* ***************** */
/*





*/
/* **************************** */
/* **** Sidebar - category **** */
/* **************************** */
/*
  .cate_main-wrap: 최상위 카테고리 코드 묶음
  .cate_item-wrap: 일반 카테고리 코드 묶음

  .cate_main--icon: 최상위 카테고리 아이콘
  .cate_item--icon: 일반 카테고리 아이콘

  .cate_main--title: 최상위 카테고리 타이틀 부분
  .cate_item--title: 일반 카테고리 타이틀 부분

  .cate_item--more: 더보기 버튼
  .cate_item--cnt: 카테고리 글 개수 (최상위 카테고리도 동일)
  .cate_item--new: 새 글 발행 표시

*/
.category_list a:link,
.category_list a:visited,
.link_tit {
  display: block;
  margin-bottom: 4px;
}

.cate_main-wrap,
.cate_item-wrap {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cate_main-wrap {
  border-radius: var(--round-xl);
}

.cate_item-wrap > span:first-child {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  border-radius: var(--round-xl);
  transition: all var(--duration);
}

.cate_main-wrap:hover,
.cate_item-wrap > span:first-child:hover {
  background-color: var(--color-wrap-sub);
}

.cate_item-wrap.cate_sub > span:first-child:hover {
  background-color: transparent;
}

.cate_main-wrap,
.cate_item-wrap span {
  transition: background-color var(--duration);
}

.cate_main--title > span:first-child {
  font-weight: 600;
  transition: all var(--duration);
}

.cate_item--title {
  display: flex;
  align-items: center;
}

.cate_main-wrap:not(:has(.cate_main--icon)) .cate_main--title,
.cate_item-wrap > span:nth-child(1):not(:has(.cate_item--icon)) .cate_item--title {
  padding: 0 12px;
}

.cate_main-wrap:hover,
.cate_main-wrap:hover .cate_main--icon svg,
.cate_item-wrap > span:hover,
.cate_item-wrap > span:hover .cate_item--cnt,
.cate_item-wrap > span:hover svg,
.cate_item-wrap > span:hover .cate_item--new,
.cate_item-wrap > span:hover .cate_item--new svg {
  color: var(--color-primary);
}

.cate_main--icon,
.cate_item--icon {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
}

.cate_main--icon svg,
.cate_item--icon svg {
  width: var(--svg-s);
  height: var(--svg-s);
}

.cate_item--cnt {
  margin-left: 6px;
  font-size: var(--font-size-s);
  transition: all var(--duration);
}

.cate_item--new {
  margin-left: 4px;
  color: var(--color-primary);
  font-size: var(--font-size-s);
  font-weight: 600;
}

.cate_item--new svg {
  width: var(--svg-s);
  height: var(--svg-s);
  color: var(--color-primary);
}

.cate_item--more {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--round-xl);
  transition: all var(--duration);
}

.cate_item--more:hover {
  background-color: var(--color-wrap-sub);
}

.cate_item--more svg {
  color: var(--color-font);
}

.cate_item--more:hover svg {
  color: var(--color-icon);
}

.cate_item--more.more--active {
  background-color: var(--color-wrap-sub);
}

.cate_item--more svg {
  transition: all var(--duration);
}

.cate_item--more.more--active svg {
  color: var(--color-primary);
  transform: rotate(180deg);
}

.cate_item-wrap.cate_sub {
  position: relative;
}

.cate_item-wrap.cate_sub::before {
  content: '';
  width: 2px;
  height: calc(100% + 5px);
  position: absolute;
  left: calc(36px / 2);
  border-radius: var(--round);
  background-color: var(--color-border);
  transform: translateX(-50%);
}

.cate_item-wrap.cate_sub .cate_item--title {
  width: 100%;
  height: 100%;
  margin-left: 24px;
  padding: 0 12px;
  border-radius: var(--round-xl);
}

.cate_item-wrap.cate_sub .cate_item--title:hover {
  background-color: var(--color-wrap-sub);
}

.category-title--hidden .cate_main-wrap {
  display: none;
}

.sub--hidden .sub_category_list {
  display: none;
}

.sub_display--fold .sub_category_list {
  height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: height var(--duration);
}
/* **************************** */
/*





*/
/* ************************ */
/* **** Sidebar - link **** */
/* ************************ */
/* LIST */
.link--list.section-link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.link--list .external-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: var(--round);
  transition: all var(--duration);
}

.link--list .external-btn:hover {
  background-color: var(--color-wrap-sub);
}

.link--list .external-icon svg {
  color: var(--color-primary);
}

.link--list .external-label {
  display: -webkit-box;
  text-overflow: ellipsis;
  line-height: var(--line-h-m);
  word-break: break-all;
  white-space: pre-wrap;
  overflow: hidden;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

/* BLOCK */
.link--block.section-link {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.link--block .external-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 6px;
  aspect-ratio: 1.8 / 2;
  border: 1px solid transparent;
  border-radius: var(--round);
  background-color: var(--color-wrap-sub);
  transition: all var(--duration);
}

.link--block .external-label {
  display: -webkit-box;
  font-size: var(--font-size-s);
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  text-overflow: ellipsis;
  line-height: var(--line-h-m);
  word-break: break-all;
  white-space: pre-wrap;
  overflow: hidden;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.link--block .external-icon svg {
  color: var(--color-primary);
}

.link--block .external-btn:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow);
}
/* ************************ */
/*





*/
/* ************************* */
/* **** Sidebar - image **** */
/* ************************* */
.sidebar-img {
  width: 100%;
  height: 100%;
  display: block;
  flex: 0;
  aspect-ratio: 2 / 0.75;
  object-fit: cover;
  border-radius: var(--round);
}
/* ************************* */
/*





*/
/* ************************** */
/* **** Sidebar - status **** */
/* ************************** */
.sidebar-status {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin: -8px 0 6px 0;
  padding: 10px 14px;
  border-radius: var(--round-xl);
  background-color: var(--color-wrap-sub);
  transition: all var(--duration);
}

.status-badge {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  background-color: var(--color-status-badge);
}

.status-badge.status--effect {
  animation: badge 1.5s infinite;
}

.status-text {
  font-weight: 600;
}

@keyframes badge {
  50% {
    opacity: 0;
  }
}
/* ************************** */
/*





*/
/* *************************** */
/* **** Sidebar - profile **** */
/* *************************** */
.section-profile {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-img {
  width: 48px;
  height: 48px;
  padding: 3px;
  display: block;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: border-color var(--duration);
}

.profile-img:hover {
  border-color: var(--color-primary);
}

.profile-info {
  line-height: var(--line-h-m);
}

.profile-title {
  font-weight: 700;
  transition: color var(--duration);
}

.profile-title:hover,
.profile-title:active {
  color: var(--color-primary);
}

.profile-id {
  color: var(--color-font-sub);
  letter-spacing: 0.5px;
}

.profile-desc {
  position: relative;
  margin-left: calc(48px + 12px);
  padding: 4px 0;
  font-style: italic;
  line-height: var(--line-h-m);
  letter-spacing: 0.3px;
}

.profile-desc::before {
  content: '';
  width: 2px;
  height: 100%;
  position: absolute;
  border-top-left-radius: var(--round);
  border-top-right-radius: var(--round);
  border-bottom-left-radius: var(--round);
  border-bottom-right-radius: var(--round);
  left: calc(-48px / 2 - 12px - 1px);
  background-color: var(--color-border);
  transition: background-color var(--duration);
}

.profile-desc:empty::before {
  display: none;
}

.profile-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  padding: 6px;
  border: var(--border-solid);
  border-radius: 50%;
  background-color: var(--color-bg);
  transition: all var(--duration);
}

.profile-btn:hover {
  transform: rotate(90deg);
}

.profile-btn svg {
  transition: color var(--duration);
}

.profile-btn:hover {
  border-color: var(--color-primary);
}

.profile-btn:hover svg {
  color: var(--color-primary);
}
/* *************************** */
/*





*/
/* ***************************** */
/* **** Sidebar - profile 2 **** */
/* ***************************** */
.section-menu-profile {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}

.section-menu-profile > a {
  display: inline-block;
  align-self: flex-start;
}

.menu-img {
  width: 180px;
  display: block;
  padding: 4px;
  aspect-ratio: 3.25 / 4;
  object-fit: cover;
  border: 2px solid var(--color-border);
  transition: all var(--duration);
}

.menu-img:hover {
  border-color: var(--color-primary);
}

.menu-profile-info {
  line-height: var(--line-h-m);
}

.menu-profile-title {
  font-size: var(--font-size-l);
  font-weight: 700;
}

.menu-profile-id {
  color: var(--color-font-sub);
  letter-spacing: 0.5px;
}
/* ***************************** */
/*





*/
/* ***************************** */
/* **** Sidebar - navigator **** */
/* ***************************** */
.section-menu {
  position: relative;
}

.section-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 32px;
  padding: 16px;
  border: var(--border-solid);
  border-radius: var(--round);
  background-color: var(--color-wrap-sub);
  transition: all var(--duration);
}

.nav-item {
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 50%;
  transition: all var(--duration);
  overflow: hidden;
}

.nav-item::before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  background-color: var(--color-primary);
  transition: opacity var(--duration);
  z-index: 1;
}

.nav-item:hover::before {
  opacity: 0.25;
}
/* ***************************** */
/*





*/
/* *************** */
/* **** Cover **** */
/* *************** */
.cover {
  display: flex;
  flex-direction: column;
  gap: 72px;
}
/* *************** */
/*





*/
/* *********************** */
/* **** Cover - image **** */
/* *********************** */
.image-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.image-list img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 2.25;
  border-radius: var(--round);
}
/* ********************* */
/*





*/
/* ************************* */
/* **** Cover - article **** */
/* ************************* */
.cover-article-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cover-article {
  position: relative;
  border: var(--border-solid);
  border-radius: var(--round);
}

.cover-article-header {
  max-width: 90%;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  position: absolute;
  top: 0;
  left: calc(5% - 8px);
  transform: translate(0, -50%);
  background-color: var(--color-bg);
  transition: all var(--duration);
}

.cover-article--icon-wrap {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  padding: 3px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  transition: all var(--duration);
}

.cover-article--icon-wrap:hover {
  border-color: var(--color-primary);
}

.cover-article--icon {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.cover-article--icon svg {
  width: var(--svg-s);
  height: var(--svg-s);
  color: var(--color-icon);
}

.cover-article--title > span {
  font-weight: 700;
  transition: color var(--duration);
}

.cover-article--content {
  padding: 32px 24px;
  line-height: var(--line-h-m);
}

.cover-article--content.article-img__border img {
  border-radius: var(--round-img);
}

.cover-article--content img {
  margin: 16px 0;
}

.cover-article--link {
  display: block;
  padding: 18px 24px;
  font-weight: 600;
  border-top: var(--border-solid);
  background-color: var(--color-wrap-sub);
}

.cover-article--link:link,
.cover-article--link:visited {
  color: var(--color-font-sub);
  transition: color var(--duration);
}

.cover-article--link:hover,
.cover-article--link:active,
.cover-article--link:hover::before,
.cover-article--link:active::before {
  color: var(--color-primary);
}

.cover-article--link::before {
  content: '\f0c1';
  margin-right: 6px;
  color: var(--color-font-sub);
  font-family: FontAwesome;
  font-weight: 600;
  transition: color var(--duration);
}

.cover-article--link:empty {
  display: none;
}
/* ************************* */
/*





*/
/* ************************ */
/* **** Cover - status **** */
/* ************************ */
.cover-status {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.status {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 5fr 1fr;
  justify-content: center;
  align-items: center;
  column-gap: 12px;
  padding: 12px 0;
}

.status-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.status-label {
  justify-self: start;
  text-transform: uppercase;
  font-weight: bold;
  font-size: var(--font-size-s);
}

.status-wrap--bg {
  border-radius: var(--round-xl);
  background-color: var(--color-border);
  overflow: hidden;
}

.status-wrap--percent {
  height: 6px;
  border-radius: var(--round-xl);
  background: var(--color-primary);
}

.status-num {
  min-width: 0;
  justify-self: end;
  font-size: var(--font-size-s);
}
/* ************************ */
/*





*/
/* *************************** */
/* **** Cover - checklist **** */
/* *************************** */
.cover-checklist {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.checklist-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.checklist {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checklist:hover .checklist-title,
.checklist:hover .checklist-icon svg {
  color: var(--color-primary);
}

.checklist:hover .checklist-title.fin {
  color: inherit;
}

.checklist-icon svg {
  transition: color var(--duration);
}

.checklist-icon.icon--fill svg {
  color: var(--color-primary);
}

.checklist-title {
  transition: color var(--duration);
}

.checklist-title.fin {
  text-decoration: line-through;
  opacity: 0.5;
}
/* *************************** */
/*





*/
/* ************************** */
/* **** Cover - timeline **** */
/* ************************** */
.cover .timeline-wrap {
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: auto;
  position: relative;
}

.cover .timeline-wrap::before {
  content: '';
  width: 2px;
  height: calc(100% + 24px + 6px);
  position: absolute;
  top: calc(20px - 5px - 1px);
  left: calc(-10% + (20px / 2) - (2px / 2));
  background-color: var(--color-border);
  transition: all var(--duration);
}

.cover .timeline-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cover .timeline-list > li:last-child .timeline-wrap::before {
  display: none;
}

.cover .timeline-icon-wrap {
  width: 20px;
  height: 20px;
  padding: 2px;
  position: absolute;
  top: -15px;
  left: -10%;
  border-radius: 50%;
  transform: translateY(50%);
  border: 2px solid var(--color-border);
  transition: all var(--duration);
}

.cover .timeline-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--color-primary);
  transition: all var(--duration);
}

.cover .timeline-wrap:hover .timeline-icon-wrap {
  border-color: var(--color-primary);
}

.cover .timeline-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.cover .timeline-title-wrap:hover .timeline-title {
  color: var(--color-primary);
}

.cover .timeline-title {
  font-weight: 600;
  line-height: var(--line-h-m);
  transition: all var(--duration);
  cursor: pointer;
}

.cover .timeline-arrow {
  transition: all var(--duration);
  transform: rotate(0);
  opacity: 0.5;
}

.cover .timeline-arrow.timeline--active {
  transform: rotate(180deg);
}

.cover .timeline-date {
  align-self: flex-start;
  color: var(--color-font-sub);
  font-size: 0.8em;
}

.cover .timeline-content-wrap {
  height: 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  visibility: hidden;
  transition: all var(--duration);
  overflow: hidden;
}

.cover .timeline-content-wrap.thumb--wide {
  flex-direction: column;
}

.cover .thumb--none .timeline-thumb {
  display: none;
}

.cover .thumb--small .timeline-thumb {
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  border-radius: var(--round);
  overflow: hidden;
}

.cover .thumb--small .timeline-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cover .thumb--wide .timeline-thumb {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 4 / 2.25;
  object-fit: cover;
  border-radius: var(--round);
  overflow: hidden;
}

.cover .thumb--wide .timeline-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cover .timeline-content > span {
  display: inline-block;
  align-self: flex-start;
  padding: 16px;
  line-height: var(--line-h-m);
  border: var(--border-solid);
  border-radius: var(--round-bubble);
  border-top-left-radius: 0;
  background-color: var(--color-wrap-sub);
  transition: all var(--duration);
}

.cover .timeline-content > span:empty {
  display: none;
}

.cover .timeline-content img {
  aspect-ratio: 4 / 2.25;
  object-fit: cover;
}

.cover .timeline-content.article-img__border img {
  border-radius: var(--round-img);
}
/* ************************** */
/*





*/
/* ************************** */
/* **** Cover - progress **** */
/* ************************** */
.progress-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.progress-wrap {
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 36px 18px;
  position: relative;
  border: 1px solid transparent;
  border-radius: var(--round);
  background-color: var(--color-wrap-sub);
  transition: all var(--duration);
}

.progress-wrap:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow);
}

.progress-icon {
  width: 12px;
  height: 12px;
  position: absolute;
  top: 14px;
  right: 14px;
  border-radius: 50%;
  transition: all var(--duration);
  opacity: 0.75;
}

.progress-icon:hover {
  opacity: 1;
}

.progress-outer {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  position: relative;
  border-radius: 50%;
}

.progress-inner {
  width: 85%;
  height: 85%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  font-weight: 600;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-wrap-sub);
}

.progress-label {
  position: relative;
  padding: 6px 16px;
  font-size: var(--font-size-s);
  text-align: center;
  line-height: var(--line-h-m);
  z-index: 1;
}

.progress-label::before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: var(--round-xl);
  background-color: var(--color-primary);
  opacity: 0.15;
  z-index: -1;
}
/* ************************** */
/*





*/
/* ******************** */
/* **** Searchlist **** */
/* ******************** */
.searchlist {
  width: fit-content;
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: var(--round);
  background-color: var(--color-wrap-sub);
  transition: all var(--duration);
}

.searchlist-icon svg {
  color: var(--color-primary);
}

.searchlist-label {
  padding: 0 8px 0 4px;
  font-weight: 700;
}

.searchlist-cnt span {
  letter-spacing: 0.5px;
}

.guestbook .searchlist {
  margin-bottom: -48px;
}
/* ******************** */
/*





*/
/* ******************** */
/* **** Type reset **** */
/* ******************** */
.list,
.list-2,
.gallery,
.post,
.playlist,
.timeline.article {
  display: none;
}
/* ******************** */
/*





*/
/* *********************** */
/* **** Type - list 1 **** */
/* *********************** */
#type-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#type-list .list {
  display: block;
}

.list-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: var(--round);
  background-color: var(--color-wrap-sub);
  transition: all var(--duration);
}

.list-wrap:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow);
}

.list-icon svg {
  color: var(--color-primary);
}

.list-title > span {
  font-weight: 600;
}

.list-date {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 0.7em;
}
/* *********************** */
/*





*/
/* *********************** */
/* **** Type - list 2 **** */
/* *********************** */
#type-list-2 {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#type-list-2 .list-2 {
  display: block;
}

.list-2-wrap {
  width: 90%;
  display: flex;
  gap: 12px;
  margin-left: auto;
  padding: 16px 0;
  position: relative;
}

.notice-wrap .list-2-wrap::after,
.list-2-wrap::before {
  content: '';
  width: 2px;
  top: calc(50% + 12px - 2px);
  height: 100%;
  position: absolute;
  left: calc(-10% / 2 - 8px);
  background-color: var(--color-border);
  transform: translateX(-50%);
  transition: all var(--duration);
}

.list-2-icon-wrap {
  width: 20px;
  height: 20px;
  padding: 2px;
  position: absolute;
  top: 50%;
  left: calc(-10% / 2 - 18px);
  border: 2px solid var(--color-border);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all var(--duration);
}

.list-2-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.article-list > .notice-wrap:last-child .list-2-wrap::after,
#type-list-2 li:last-child .list-2-wrap::before {
  display: none;
}

.list-2-wrap > a {
  width: 100%;
}

.list-2-wrap:hover .list-2-icon-wrap {
  border-color: var(--color-primary);
}

.list-2-title > span {
  font-weight: 600;
  transition: color var(--duration);
}

.list-2-wrap:hover .list-2-title {
  color: var(--color-primary);
}

.list-2-date {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 0.8em;
  padding-right: 14px;
}
/* *********************** */
/*





*/
/* ************************ */
/* **** Type - gallery **** */
/* ************************ */
#type-gallery {
  display: grid;
  grid-template-columns: repeat(var(--gallery-cnt-pc), 1fr);
}

#type-gallery li {
  min-height: 0;
}

.gallery-type--1 #type-gallery {
  gap: var(--gallery-1-margin-pc);
}

.gallery-type--2 #type-gallery {
  gap: var(--gallery-2-margin-pc);
}

.gallery-type--1 #type-gallery li {
  border-radius: var(--round-gal-1);
  overflow: hidden;
}

.gallery-type--2 #type-gallery {
  border-radius: var(--round-gal-2);
  overflow: hidden;
}

#type-gallery .gallery {
  display: block;
}

.gallery-thumb {
  position: relative;
  aspect-ratio: var(--gallery-ratio);
  transition: all var(--duration);
  overflow: hidden;
}

.cover-gallery #type-gallery {
  grid-template-columns: repeat(var(--cover-gallery-cnt-pc), 1fr);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: all var(--duration);
}

.gallery:hover .gallery-title {
  opacity: 1;
  visibility: visible;
}

.gallery:hover .gallery-thumb img {
  filter: blur(3px);
  z-index: 1;
}

.gallery-title {
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px;
  position: absolute;
  top: 0;
  left: 0;

  color: #fff;
  text-align: center;
  line-height: var(--line-h-m);

  opacity: 0;
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.1);
  transition: all var(--duration);
  z-index: 2;
}
/* ************************ */
/*





*/
/* ********************* */
/* **** Type - post **** */
/* ********************* */
#type-post {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

#type-post .post {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.post-thumb {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--round);
}

.post--fixed .post-thumb {
  aspect-ratio: var(--post-ratio);
  object-fit: cover;
}

.post-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-icon-wrap {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  padding: 3px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  transition: all var(--duration);
}

.post-icon-wrap:hover {
  border-color: var(--color-primary);
}

.post-icon {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.post-icon svg {
  color: var(--color-icon);
}

.post-title > span {
  font-weight: 700;
  transition: color var(--duration);
}

.post-title:hover {
  color: var(--color-primary);
}

.post-summary {
  line-height: var(--line-h-l);
}

.post-summary:empty {
  display: none;
}

.post-summary {
  padding: 6px 0;
}

.post-date-wrap {
  height: 36px;
  display: grid;
  grid-template-columns: 1fr auto auto 20px;
  align-items: center;
  gap: 12px;
  position: relative;
}

.post-date-icon svg {
  width: var(--svg-s);
  height: var(--svg-s);
}

.post-date {
  margin-left: -6px;
  font-size: 0.8em;
}
/* ********************* */
/*





*/
/* ************************* */
/* **** Type - playlist **** */
/* ************************* */
#type-playlist {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

#type-playlist .playlist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.playlist-empty {
  width: 100%;
  margin-bottom: 12px;
  padding: 48px;
  text-align: center;
  border: var(--border-solid);
  border-radius: var(--round);
  background-color: var(--color-wrap-sub);
}

.playlist-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.playlist-icon-wrap {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  padding: 3px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  transition: all var(--duration);
}

.playlist-icon-wrap:hover {
  border-color: var(--color-primary);
}

.playlist-icon {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.playlist-icon svg {
  width: var(--svg-s);
  height: var(--svg-s);
  color: var(--color-icon);
}

.playlist-title > span {
  font-weight: 700;
  line-height: var(--line-h-m);
  transition: color var(--duration);
}

.playlist-title:hover {
  color: var(--color-primary);
}

.playlist-summary {
  padding: 6px 0 6px calc(36px + 12px);
  position: relative;
  line-height: var(--line-h-l);
}

.playlist-summary::before {
  content: '';
  width: 2px;
  height: 100%;
  position: absolute;
  top: 0;
  left: calc(36px / 2 + 1px);
  border-top-left-radius: var(--round);
  border-top-right-radius: var(--round);
  border-bottom-left-radius: var(--round);
  border-bottom-right-radius: var(--round);
  background-color: var(--color-border);
  transition: all var(--duration);
}

.playlist-summary:empty,
.playlist-summary:empty::before {
  display: none;
}

.playlist-date-wrap {
  height: 36px;
  display: grid;
  grid-template-columns: 1fr auto auto 20px;
  align-items: center;
  gap: 12px;
  position: relative;
}

.playlist-date-icon svg {
  width: var(--svg-s);
  height: var(--svg-s);
}

.playlist-date {
  margin-left: -6px;
  font-size: 0.8em;
}

.playlist-date {
  margin-left: -6px;
}
/* ************************* */
/*





*/
/* ************************* */
/* **** Type - timeline **** */
/* ************************* */
#type-timeline {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

#type-timeline .timeline.article {
  display: block;
}

.article .timeline-wrap {
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: auto;
  position: relative;
}

.article .timeline-wrap::before {
  content: '';
  width: 2px;
  height: calc(100% + 24px + 6px);
  position: absolute;
  top: calc(20px - 5px - 1px);
  left: calc(-10% + (20px / 2) - (2px / 2));
  background-color: var(--color-border);
  transition: all var(--duration);
}

.article-list > .notice-wrap:last-child .timeline-wrap::before,
#type-timeline > li:last-child .timeline-wrap::before {
  display: none;
}

.article .timeline-icon-wrap {
  width: 20px;
  height: 20px;
  padding: 2px;
  position: absolute;
  top: -15px;
  left: -10%;
  border-radius: 50%;
  transform: translateY(50%);
  border: 2px solid var(--color-border);
  transition: all var(--duration);
}

.article .timeline-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--color-primary);
  transition: all var(--duration);
}

.article .timeline-wrap:hover .timeline-icon-wrap {
  border-color: var(--color-primary);
}

.article .timeline-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.article .timeline-title-wrap:hover .timeline-title {
  color: var(--color-primary);
}

.article .timeline-title {
  font-weight: 600;
  line-height: var(--line-h-m);
  transition: all var(--duration);
  cursor: pointer;
}

.article .timeline-arrow {
  transition: all var(--duration);
  transform: rotate(0);
  opacity: 0.5;
}

.article .timeline-arrow.timeline--active {
  transform: rotate(180deg);
}

.article .timeline-date {
  align-self: flex-start;
  color: var(--color-font-sub);
  font-size: 0.8em;
}

.article .timeline-content-wrap.thumb--wide {
  display: flex;
  flex-direction: column;
}

.article .thumb--none .timeline-thumb {
  display: none;
}

.article .thumb--small .timeline-thumb {
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  border-radius: var(--round);
  overflow: hidden;
}

.article .thumb--small .timeline-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.article .thumb--wide .timeline-thumb {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 4 / 2.25;
  object-fit: cover;
  border-radius: var(--round);
  overflow: hidden;
}

.article .thumb--wide .timeline-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.article .timeline-content-wrap {
  height: 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  visibility: hidden;
  transition: all var(--duration);
  overflow: hidden;
}

.article .timeline-content {
  display: inline-flex;
  flex-direction: column;
  align-self: flex-start;
  line-height: var(--line-h-m);
  border: var(--border-solid);
  border-radius: var(--round-bubble);
  border-top-left-radius: 0;
  background-color: var(--color-wrap-sub);
  transition: border-color var(--duration), background-color var(--duration);
}

.article .timeline-content > span {
  padding: 16px;
  border-bottom: var(--border-solid);
  transition: border-color var(--duration);
}

.article .timeline-link:link,
.article .timeline-link:visited {
  padding: 12px 16px;
  color: var(--color-font-sub);
  font-weight: 600;
  transition: color var(--duration);
}

.article .timeline-link:hover,
.article .timeline-link:active {
  color: var(--color-primary);
}

.article .timeline-content > span:empty {
  display: none;
}

.timeline-content-wrap.thumb--none.active {
  overflow: hidden !important;
}
/* ************************* */
/*





*/
/* ***************** */
/* **** Article **** */
/* ***************** */
.article-wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-bottom: 12px;
}

.article {
  display: flex;
  flex-direction: column;
  gap: 48px;
  background-color: var(--color-bg);
  transition: all var(--duration);
}

.article-header {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.article-icon-wrap {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  padding: 3px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
}

.article-icon {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.article-icon svg {
  color: var(--color-icon);
}

.article-title {
  font-weight: 600;
  line-height: var(--line-h-m);
}

.admin-btn {
  margin-left: auto;
  transform: rotate(90deg);
  transition: all var(--duration);
}

.admin-btn:hover,
.admin-btn:active {
  transform: rotate(180deg);
}

.admin-btn svg {
  transition: color var(--duration);
}

.admin-btn:hover svg {
  color: var(--color-primary);
}

.article-date-wrap {
  height: 36px;
  display: grid;
  grid-template-columns: 1fr auto auto 20px;
  align-items: center;
  gap: 12px;
  margin-top: -36px;
  position: relative;
}

.article-date {
  margin-left: -6px;
  font-size: 0.8em;
}

.article-date-icon svg {
  width: var(--svg-s);
  height: var(--svg-s);
}

.article-admin {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  position: absolute;
  top: 24px;
  right: 0;
  opacity: 0;
  visibility: hidden;
  border: var(--border-solid);
  border-radius: var(--round);
  background-color: var(--color-bg);
  transition: all var(--duration);
  z-index: 9;
}

.article-admin.admin--active {
  top: 48px;
  opacity: 1;
  visibility: visible;
  background-color: var(--color-wrap-sub);
}

.article-admin a {
  width: 34px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.article-admin a:first-child {
  border-right: var(--border-solid);
}

.article-admin svg {
  width: var(--svg-s);
  height: var(--svg-s);
  transition: all var(--duration);
}

.article-admin a:hover svg,
.article-admin a:active svg {
  color: var(--color-primary);
}

.article-content {
  margin-top: -24px;
  line-height: var(--line-h-xl);
}

.article-footer {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.article-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  transition: color var(--duration);
}

.article-btn svg {
  transition: color var(--duration);
}

.article-btn:hover,
.article-btn:hover svg {
  color: var(--color-primary);
}

.article-btn:hover {
  border-color: var(--color-primary);
}

.article-btn--like:hover,
.article-btn--like:hover svg {
  color: var(--color-like);
}

.article-btn--like.active {
  color: var(--color-like);
}

.article-btn--like.active svg {
  color: var(--color-like);
  fill: var(--color-like);
}

.article-btn--tag {
  margin-left: auto;
}

.article-tag--empty {
  padding-top: 20px;
  text-align: center;
  line-height: var(--line-h-m);
}

.article-tag-wrap {
  height: 0;
  visibility: hidden;
  transition: height var(--duration);
  overflow: hidden;
}

.article-tag {
  margin-top: -24px;
}

.article-tag-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8em;
}

.article-tag-list a::before {
  content: '#';
  margin-right: 2px;
  transition: color var(--duration);
}

.article-tag-list a {
  display: inline-block;
  padding: 10px 12px;
  white-space: nowrap;
  border: var(--border-solid);
  border-radius: var(--round);
  background-color: var(--color-wrap-sub);
  transition: all var(--duration);
}

.article-tag-list a:hover::before,
.article-tag-list a:active::before {
  color: var(--color-primary);
}

.article-tag-list a:hover,
.article-tag-list a:active {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
/* ***************** */
/*





*/
/* ************************** */
/* **** Article - notice **** */
/* ************************** */
#type-article {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-bottom: 12px;
}

.article-title a:link,
.article-title a:visited {
  transition: all var(--duration);
}

.article-title a:hover,
.article-title a:active {
  color: var(--color-primary);
}
/* ************************** */
/*





*/
/* ***************************** */
/* **** Article - protected **** */
/* ***************************** */
.article-content.protect {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 64px;
  border-bottom: var(--border-solid);
}

.protect-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.protect-icon svg {
  color: var(--color-primary);
}

.protect-input-wrap {
  position: relative;
}

.protect-input-wrap.focus .protect-input {
  border-color: var(--color-primary);
}

.protect-input-wrap.focus::before {
  border-color: var(--color-primary);
}

.protect-input-wrap::before {
  content: '';
  width: 15px;
  height: 15px;
  position: absolute;
  top: 0.5px;
  left: 50%;
  border-top: var(--border-solid);
  border-left: var(--border-solid);
  border-top-left-radius: var(--round);
  background-color: var(--color-bg);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: all var(--duration);
}

.protect-input {
  width: 130px;
  height: 35px;
  text-align: center;
  border: var(--border-solid);
  border-radius: var(--round);
  background-color: var(--color-bg);
  transition: all var(--duration);
}

.protect-input::placeholder {
  font-size: var(--font-size-s);
}

.protect-btn {
  width: 130px;
  margin-top: 24px;
  padding: 8px 0;
  color: var(--color-icon);
  font-size: var(--font-size-s);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--round-xl);
  background-color: var(--color-primary);
}

.protect-label {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  align-items: flex-start;
  gap: 8px;
  margin-top: 56px;
  margin-left: 40px;
}

.protect-label--text {
  font-size: var(--font-size-s);
  font-weight: 700;
  list-style-type: '✓';
}

.protect-label--text > span {
  position: relative;
  left: 7px;
  font-weight: 400;
}
/* ***************************** */
/*





*/
/* **************************** */
/* **** Article - elements **** */
/* **************************** */
/* --------- 코드블록 --------- */
pre[data-ke-type='codeblock'] code {
  display: block;
  padding: 12px 26px;
  font-size: var(--font-size);
  font-family: var(--font-family);
  border-radius: var(--round);
  line-height: var(--line-h-l);
  letter-spacing: 0.75px;
  white-space: pre-wrap;
}
/* -------------------------- */
/*



*/
/* ---------- 리스트 ---------- */
ul[data-ke-list-type='disc'],
ul[data-ke-list-type='circle'],
ol[data-ke-list-type='decimal'] {
  color: var(--color-font) !important;
}

.list--default ul[data-ke-list-type='disc'],
.list--default ul[data-ke-list-type='circle'],
.list--default ol[data-ke-list-type='decimal'] {
  margin-left: 18px;
}

.list--default ul[data-ke-list-type='disc'] li,
.list--default ul[data-ke-list-type='circle'] li,
.list--default ol[data-ke-list-type='decimal'] li {
  padding-left: 2px;
  line-height: var(--line-h-xl);
}

.list--default ul[data-ke-list-type='disc'] li {
  list-style-type: disc !important;
}

.list--default ul[data-ke-list-type='circle'] li {
  list-style-type: circle !important;
}

.list--default ol[data-ke-list-type='decimal'] li {
  list-style-type: decimal !important;
}

/* 1 */
.list--custom ul[data-ke-list-type='disc'] {
  display: flex;
  flex-direction: column;
  gap: var(--list-gap);
  margin-left: 17px;
}

.list--custom ul[data-ke-list-type='disc'] li {
  padding-left: 3px;
}

.list--custom ul[data-ke-list-type='disc'] li::marker {
  font-weight: 600;
  transition: color var(--duration);
}

.list--custom ul[data-ke-list-type='disc'] > li:hover::marker {
  color: var(--color-primary);
}

.list--custom ul[data-ke-list-type='disc'] > li > ul {
  display: flex;
  flex-direction: column;
  gap: var(--list-gap);
  margin-top: var(--list-gap);
}

.list--custom ul[data-ke-list-type='disc'] > li > ul > li {
  list-style-type: circle !important;
}

.list--custom ul[data-ke-list-type='disc'] > li > ul > li > ul {
  display: flex;
  flex-direction: column;
  gap: var(--list-gap);
  margin-top: var(--list-gap);
  margin-left: 4px;
  list-style-type: '-' !important;
}

.list--custom ul[data-ke-list-type='disc'] > li > ul > li > ul > li {
  padding-left: 10px;
  list-style-type: '*' !important;
}

/* 2 */
.list--custom ul[data-ke-list-type='circle'] {
  display: flex;
  flex-direction: column;
  gap: var(--list-gap);
}

.list--custom ul[data-ke-list-type='circle'] li {
  padding-left: 22px;
  list-style-type: none !important;
}

.list--custom ul[data-ke-list-type='circle'] li::before {
  content: '\f061' !important;
  font-size: var(--font-size-s);
  font-family: FontAwesome !important;
  margin-left: -20px;
  padding-right: 10px;
  transition: color var(--duration);
}

.list--custom ul[data-ke-list-type='circle'] li:hover::before {
  color: var(--color-primary);
}

.list--custom ul[data-ke-list-type='circle'] > li:hover::marker {
  color: var(--color-primary);
}

.list--custom ul[data-ke-list-type='circle'] > li > ul {
  display: flex;
  flex-direction: column;
  gap: var(--list-gap);
  margin-top: var(--list-gap);
  margin-left: 7px;
}

.list--custom ul[data-ke-list-type='circle'] > li > ul > li {
  list-style-type: none !important;
}

.list--custom ul[data-ke-list-type='circle'] > li > ul > li::before {
  content: '\f00c' !important;
  margin-left: -18px;
  padding-right: 8px;
  font-family: FontAwesome !important;
}

.list--custom ul[data-ke-list-type='circle'] > li > ul > li > ul {
  display: flex;
  flex-direction: column;
  gap: var(--list-gap);
  margin-top: var(--list-gap);
  margin-left: 6px;
}

.list--custom ul[data-ke-list-type='circle'] > li > ul > li > ul > li {
  list-style-type: none !important;
}

.list--custom ul[data-ke-list-type='circle'] > li > ul > li > ul > li::before {
  content: '\f054' !important;
  margin-left: -18px;
  padding-right: 10px;
  font-family: FontAwesome !important;
}

/* 3 */
.list--custom ol[data-ke-list-type='decimal'] {
  display: flex;
  flex-direction: column;
  gap: var(--list-gap);
  margin-left: 24px;
}

.list--custom ol[data-ke-list-type='decimal'] li {
  padding-left: 3px;
  list-style-type: decimal-leading-zero !important;
}

.list--custom ol[data-ke-list-type='decimal'] li::marker {
  font-weight: 600;
  transition: color var(--duration);
}

.list--custom ol[data-ke-list-type='decimal'] > li:hover::marker {
  color: var(--color-primary);
}

.list--custom ol[data-ke-list-type='decimal'] > li > ol {
  display: flex;
  flex-direction: column;
  gap: var(--list-gap);
  margin-top: var(--list-gap);
  margin-left: 7px;
}

.list--custom ol[data-ke-list-type='decimal'] > li > ol > li {
  list-style-type: lower-alpha !important;
}

.list--custom ol[data-ke-list-type='decimal'] > li > ol > li > ol {
  display: flex;
  flex-direction: column;
  gap: var(--list-gap);
  margin-top: var(--list-gap);
  margin-left: 6px;
}

.list--custom ol[data-ke-list-type='decimal'] > li > ol > li > ol > li {
  list-style-type: upper-roman !important;
}
/* -------------------------- */
/*



*/
/* ---------- 이미지 ---------- */
figure.imageblock,
#tt-body-page figure.imageblock,
figure.imagegridblock,
#tt-body-page figure.imagegridblock {
  margin-bottom: 24px !important;
  line-height: 0.7;
}

figure.imagegridblock .image-container {
  justify-content: center !important;
  gap: var(--gutter);
}

.article-img__border.type--2 figure.imageblock img,
.article-img__border figure.imagegridblock .image-container {
  border-radius: var(--round-img);
  overflow: hidden;
}

.article-img__border.type--1 #tt-body-page figure.imageblock img,
.article-img__border.type--1 figure.imageblock img,
.article-img__border.type--1 figure.imagegridblock span img {
  border-radius: var(--round-img);
  overflow: hidden;
}

.article-img__border figure.imagegridblock .image-container {
  align-items: stretch !important;
}

.article-img__border figure.imagegridblock span img {
  height: 100%;
}

figure.imagegridblock .image-container > span {
  flex: 1 1 auto;
  margin-top: 0 !important;
}

figure figcaption {
  padding-top: 6px !important;
  font-size: var(--font-size) !important;
}
/* -------------------------- */
/*



*/
/* ----------- 파일 ----------- */
.fileblock {
  width: max-content !important;
  max-width: 100% !important;
  border: 0 !important;
  margin: unset !important;
}

.fileblock a {
  height: unset !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px;
  border: var(--border-solid) !important;
  border-radius: var(--round) !important;
  transition: all var(--duration) !important;
}

.fileblock a::before {
  content: none !important;
}

.fileblock .image {
  width: unset !important;
  height: unset !important;
  margin: unset !important;
  position: unset !important;
  background: none !important;
}

.fileblock .image::before {
  content: '\f019';
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: var(--font-size-l);
  font-family: FontAwesome;
  border-right: 1px dashed var(--color-border);
  transition: border-color var(--duration);
}

.fileblock .desc {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 15px;
  position: unset !important;
  line-height: 1.4;
}

.fileblock .filename {
  height: unset !important;
  margin: unset !important;
  color: var(--color-font) !important;
  font-size: var(--font-size) !important;
  font-weight: 700;
}

.filename .name {
  display: -webkit-box !important;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  text-overflow: ellipsis;
  word-break: break-all;
  -webkit-box-orient: vertical;
  white-space: unset !important;
  overflow: hidden;
}

.fileblock .size {
  flex: 0 0 auto;
  margin: unset !important;
  padding-right: 20px;
  color: var(--color-primary) !important;
  font-size: var(--font-size-xs) !important;
  font-family: inherit !important;
  font-weight: 700;
}

.fileblock a::after {
  content: none !important;
  display: none !important;
}

.fileblock a:hover {
  border-color: var(--color-primary) !important;
}
/* --------------------------- */
/*



*/
/* ----------- 인용 ----------- */
#tt-body-page blockquote {
  color: var(--color-font) !important;
  font-size: var(--font-size) !important;
}

#tt-body-page blockquote[data-ke-style='style2'] {
  padding: 8px 15px !important;
  border-left: 2px solid var(--color-border);
  transition: all var(--duration);
}

#tt-body-page blockquote[data-ke-style='style2']:hover {
  border-color: var(--color-primary);
}

#tt-body-page blockquote[data-ke-style='style3'] {
  margin: 10px auto;
  padding: 10px 15px !important;
  position: relative;
  border-radius: var(--round);
  border: var(--border-solid) !important;
  background: none !important;
  background-color: var(--color-wrap-sub) !important;
  transition: all var(--duration);
  overflow: hidden;
  z-index: 1;
}
/* --------------------------- */
/*



*/
/* ----------- 접은글 ----------- */
div[data-ke-type='moreLess'] {
  margin-top: 10px;
}

div[data-ke-type='moreLess'] .btn-toggle-moreless {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--color-font) !important;
  font-weight: 600 !important;
  font-family: var(--font-family) !important;
  font-size: var(--font-size) !important;
  background-color: none !important;
  transition: all var(--duration);
}

div[data-ke-type='moreLess'] .btn-toggle-moreless::before {
  content: '\f0fe';
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -14px;
  margin-right: 6px;
  color: var(--color-font);
  font-family: FontAwesome;
  transition: all var(--duration);
}

div[data-ke-type='moreLess'].open .btn-toggle-moreless::before {
  content: '\f146';
}

div[data-ke-type='moreLess'] .btn-toggle-moreless:hover {
  width: fit-content;
  color: var(--color-primary) !important;
}

div[data-ke-type='moreLess'] .btn-toggle-moreless:hover::before {
  width: 18px;
  color: var(--color-primary);
}

.moreless-content {
  padding: 16px;
  margin-top: 10px;
  border: var(--border-solid);
  border-radius: var(--round);
  background-color: var(--color-wrap-sub);
  transition: all var(--duration);
}
/* --------------------------- */
/*



*/
/* ----------- 링크 ----------- */
/* DEFAULT */
figure[data-ke-type='opengraph'],
#tt-body-page figure[data-ke-type='opengraph'] {
  margin: 12px 0 !important;
}

/* LARGE */
.link--l figure[data-ke-type='opengraph'] a,
.link--l #tt-body-page figure[data-ke-type='opengraph'] a {
  height: unset !important;
  display: flex !important;
  flex-direction: column;
  color: var(--color-font) !important;
  border: var(--border-solid) !important;
  border-radius: var(--round);
  transition: all var(--duration);
  overflow: hidden;
}

.link--l figure[data-ke-type='opengraph'] a:hover,
.link--l #tt-body-page figure[data-ke-type='opengraph'] a:hover {
  border-color: var(--color-primary) !important;
}

.link--l figure[data-ke-type='opengraph'] div.og-image {
  width: 100% !important;
  display: block;
  position: unset !important;
  border: none !important;
  aspect-ratio: 3 / 1.25;
  border-bottom: var(--border-solid) !important;
}

.link--l figure[data-ke-type='opengraph'] div.og-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px !important;
  position: unset !important;
  color: var(--color-font) !important;
  background-color: var(--color-wrap-sub) !important;
  transition: all var(--duration);
}

.link--l .moreless-content figure[data-ke-type='opengraph'] div.og-text {
  background-color: var(--color-bg) !important;
}

.link--l figure[data-ke-type='opengraph'] div.og-text p.og-title,
.link--l #tt-body-page figure[data-ke-type='opengraph'] div.og-text p.og-title {
  margin: 0 !important;
  color: var(--color-font) !important;
  font-size: var(--font-size) !important;
  font-family: var(--font-family) !important;
}

.link--l figure[data-ke-type='opengraph'] div.og-text p.og-host,
.link--l #tt-body-page figure[data-ke-type='opengraph'] div.og-text p.og-host {
  position: unset !important;
}

.link--l figure[data-ke-type='opengraph'] div.og-text p.og-desc,
.link--l #tt-body-page figure[data-ke-type='opengraph'] div.og-text p.og-desc {
  margin-top: -10px !important;
  color: var(--color-font) !important;
  font-size: var(--font-size) !important;
  font-weight: 400 !important;
  font-family: var(--font-family) !important;
  line-height: 1.4 !important;
  opacity: 0.75;
}

.link--l figure[data-ke-type='opengraph'] div.og-text p.og-host,
.link--l #tt-body-page figure[data-ke-type='opengraph'] div.og-text p.og-host {
  color: var(--color-font) !important;
  font-size: var(--font-size) !important;
  font-weight: 400 !important;
  font-family: var(--font-family) !important;
  opacity: 0.5;
}

.link--l figure[data-ke-type='opengraph'] div.og-text p.og-host::before,
.link--l
  #tt-body-page
  figure[data-ke-type='opengraph']
  div.og-text
  p.og-host::before {
  content: '\f0c1';
  padding-right: 8px;
  font-size: var(--font-size) !important;
  font-family: FontAwesome;
}

/* SMALL */
.link--s figure[data-ke-type='opengraph'] a,
.link--s #tt-body-page figure[data-ke-type='opengraph'] a {
  max-height: 130px !important;
  display: flex !important;
  color: var(--color-font) !important;
  border: var(--border-solid) !important;
  border-radius: var(--round);
  transition: all var(--duration);
  overflow: hidden;
}

.link--s figure[data-ke-type='opengraph'] a:hover,
.link--s #tt-body-page figure[data-ke-type='opengraph'] a:hover {
  border-color: var(--color-primary) !important;
}

.link--s figure[data-ke-type='opengraph'] div.og-image {
  width: unset !important;
  flex: 0 0 auto !important;
  position: unset !important;
  border-right: var(--border-solid) !important;
  aspect-ratio: 1 / 1;
}

.link--s figure[data-ke-type='opengraph'] div.og-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px !important;
  position: unset !important;
  color: var(--color-font) !important;
  background-color: var(--color-wrap-sub) !important;
  transition: all var(--duration);
}

.link--s .moreless-content figure[data-ke-type='opengraph'] div.og-text {
  background-color: var(--color-bg) !important;
}

.link--s figure[data-ke-type='opengraph'] div.og-text p.og-title,
.link--s #tt-body-page figure[data-ke-type='opengraph'] div.og-text p.og-title {
  display: -webkit-box !important;
  color: var(--color-font) !important;
  font-size: var(--font-size) !important;
  font-family: var(--font-family) !important;
  text-overflow: ellipsis !important;
  word-break: break-all !important;
  white-space: pre-wrap !important;
  overflow: hidden !important;
  margin: 0 0 0px 0 !important;
  line-clamp: 1 !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
}

.link--s figure[data-ke-type='opengraph'] div.og-text p.og-desc,
.link--s #tt-body-page figure[data-ke-type='opengraph'] div.og-text p.og-desc {
  margin-top: -20px !important;
  font-size: var(--font-size) !important;
  font-family: var(--font-family) !important;
  line-height: 1.4 !important;
}

.link--s figure[data-ke-type='opengraph'] div.og-text p.og-host,
.link--s #tt-body-page figure[data-ke-type='opengraph'] div.og-text p.og-host {
  position: unset !important;
  bottom: 12px !important;
  color: var(--color-font) !important;
  font-size: var(--font-size) !important;
  font-weight: 400 !important;
  font-family: var(--font-family) !important;
  opacity: 0.5;
}

.link--s figure[data-ke-type='opengraph'] div.og-text p.og-host::before,
.link--s
  #tt-body-page
  figure[data-ke-type='opengraph']
  div.og-text
  p.og-host::before {
  content: '\f0c1';
  padding-right: 8px;
  font-size: var(--font-size) !important;
  font-family: FontAwesome;
}
/* --------------------------- */
/* **************************** */
/*





*/
/* ************* */
/* **** Tag **** */
/* ************* */
.tag-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0;
}

.tag-item:link,
.tag-item:visited {
  display: inline-block;
  padding: 8px 12px;
  border: var(--border-solid);
  border-radius: var(--round);
  background-color: var(--color-wrap-sub);
  transition: all var(--duration);
}

.tag-item:hover,
.tag-item:active {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
/* ************* */
/*





*/
/* ************************ */
/* **** Comment - form **** */
/* ************************ */
.comment .searchlist {
  margin-bottom: -8px;
}

.comment {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 0;
}

.comment-input-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.comment-input {
  display: flex;
  align-items: center;
  border: var(--border-solid);
  border-radius: var(--round);
  background-color: var(--color-bg);
  transition: border-color var(--duration);
}

.comment-input svg {
  transition: color var(--duration);
}

.comment-input input {
  width: 100px;
  padding: 0 8px;
}

.comment-label {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: var(--border-solid);
  transition: border-color var(--duration);
}

.comment-input.focus svg {
  color: var(--color-primary);
}

.comment-textarea-wrap {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: var(--border-solid);
  border-radius: var(--round);
  background-color: var(--color-bg);
  transition: border-color var(--duration);
}

.comment-textarea-wrap.focus {
  border-color: var(--color-primary);
}

.comment-textarea {
  width: 100%;
  height: 24px;
  transition: height var(--duration);
}

.comment-textarea:focus {
  height: 64px;
}

.comment-textarea--cnt {
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 6px 14px;
  border: var(--border-solid);
  border-radius: var(--round);
  background-color: var(--color-wrap-sub);
}

.textarea--cnt-num {
  font-weight: 600;
}

.comment-textarea-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comment-lock input {
  display: none;
}

.comment-lock label::before {
  content: '\f09c';
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-font);
  font-size: var(--font-size);
  font-family: FontAwesome;
  letter-spacing: 0.5px;
  border: var(--border-solid);
  border-radius: var(--round);
  background-color: var(--color-bg);
  transition: color var(--duration), border-color var(--duration);
  cursor: pointer;
}

.comment-lock input:checked + label::before {
  content: '\f023';
  color: var(--color-primary);
  font-weight: 700;
}

.comment-submit {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: var(--border-solid);
  border-radius: var(--round);
  background-color: var(--color-bg);
  transition: border-color var(--duration);
}

.comment-submit svg {
  transition: color var(--duration);
}

.comment-submit:hover svg {
  color: var(--color-primary);
}
/* ************************ */
/*





*/
/* ************************ */
/* **** Comment - list **** */
/* ************************ */
.comment {
  display: flex;
  flex-direction: column;
  gap: 84px;
}

.comment.reply {
  height: 0;
  visibility: hidden;
  transition: height var(--duration);
  overflow: hidden;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.comment-content {
  padding: 24px;
  border-radius: var(--round);
  background-color: var(--color-wrap-sub);
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  position: relative;
}

.comment-img {
  width: 40px;
  height: 40px;
  display: block;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: var(--round);
}

.comment-info {
  width: 100%;
}

.comment-name,
.comment-re-name {
  width: 85%;
  margin-bottom: 2px;
  font-weight: 700;
  line-height: var(--line-h-m);
}

.comment-date,
.comment-re-date {
  font-size: var(--font-size-s);
}

.comment-control {
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
  transition: all var(--duration);
  z-index: 9;
}

.comment-control svg {
  width: var(--svg-s);
  height: var(--svg-s);
  transition: all var(--duration);
}

.comment-control a:hover svg,
.comment-control a:active svg {
  color: var(--color-primary);
}

.comment-control.control--active {
  top: 36px;
  opacity: 1;
  visibility: visible;
}

.comment-re-control {
  margin-left: auto;
}

.comment-control-btn svg,
.comment-re-control svg {
  color: var(--color-font-sub);
  transform: rotate(0);
  transition: all var(--duration);
}

.comment-control-btn:hover svg,
.comment-control-btn:active svg,
.comment-re-control:hover svg,
.comment-re-control:active svg {
  color: var(--color-primary);
  transform: rotate(90deg);
}

.comment-control > a {
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.comment-text,
.comment-re-text {
  line-height: var(--line-h-l);
  word-break: break-all;
}

.comment-re-list {
  border-bottom: var(--border-solid);
}

.comment-re-item {
  padding: 16px 12px;
  border-bottom: var(--border-solid);
  border-bottom-style: dashed;
}

.comment-re-list .comment-re-item:last-child {
  border-bottom: none;
}

.comment-re-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-re-img {
  width: 28px;
  height: 28px;
  display: block;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 50%;
}

.comment-re-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
}

.comment-re-text {
  padding: 4px 0;
  margin-left: calc(28px + 8px);
  position: relative;
}

.comment-re-text:hover::before {
  background-color: var(--color-primary);
}

.comment-re-text::before {
  content: '';
  width: 2px;
  height: 100%;
  position: absolute;
  top: 0;
  left: calc((28px / 2 + 8px) * -1);
  border-top-left-radius: var(--round-xl);
  border-top-right-radius: var(--round-xl);
  border-bottom-left-radius: var(--round-xl);
  border-bottom-right-radius: var(--round-xl);
  background-color: var(--color-border);
  transform: translateX(-50%);
  transition: all var(--duration);
}
/* ************************ */
/*





*/
/* ******************** */
/* **** Pagination **** */
/* ******************** */
.article-more,
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pagination-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.paging-num-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.paging-num .selected {
  color: var(--color-primary);
  font-weight: 600;
}

.article-paging-btn,
.paging-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px;
  border-radius: var(--round-xl);
  background-color: var(--color-primary);
  transition: border-color var(--duration);
}

.article-paging-btn svg,
.paging-btn svg {
  color: var(--color-icon);
  transition: color var(--duration);
}

.article-paging-btn.no-more-article,
.paging-btn.no-more-prev,
.paging-btn.no-more-next {
  opacity: 0.4;
  cursor: default;
}
/* ******************** */
/*





*/
/* ******************** */
/* **** Top button **** */
/* ******************** */
.top-btn {
  width: 30px;
  height: 30px;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: fixed;
  bottom: 16px;
  right: 12px;
  border: var(--border-solid);
  border-radius: 50%;
  background-color: var(--color-wrap-sub);
  transition: all var(--duration);
  opacity: 0;
  z-index: 99;
}

.top-btn svg {
  width: var(--svg-s);
  height: var(--svg-s);
  transition: all var(--duration);
}

.top-btn:hover {
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.top-btn:hover svg {
  color: var(--color-primary);
}
/* ******************** */
/*





*/
/* ******************* */
/* **** Copyright **** */
/* ******************* */
/* 수정 및 삭제 금지 */
.copyright:link,
.copyright:visited,
.copyright:hover,
.copyright:active {
  position: fixed;
  left: 15px;
  bottom: 15px;
  color: var(--color-primary);
  font-size: 12px;
  z-index: 10001;
}
/* ******************* */
/*





*/
/* ********************* */
/* **** Media query **** */
/* ********************* */
/* 1820px */
@media only screen and (max-width: 1820px) {
  .wrap {
    margin: 80px auto;
  }

  .sidebar {
    top: calc(80px + var(--header-height));
  }

  .sidebar--left .wrap {
    margin-left: calc((var(--sidebar-width) + 100px) * -1 + 84px);
  }
}

/* 1380px */
@media only screen and (max-width: 1380px) {
  .sidebar--left .wrap {
    margin-left: auto;
  }
}

/* 1140px */
@media only screen and (max-width: 1140px) {
  .sidebar--left .wrap {
    grid-template-columns: var(--sidebar-width) var(--content-width);
  }

  .sidebar--right .wrap {
    grid-template-columns: var(--content-width) var(--sidebar-width);
  }

  .sidebar-right {
    display: none;
  }

  .sidebar-menu-wrap {
    padding-bottom: 240px;
  }
}

/* 980px */
@media only screen and (max-width: 980px) {
  .sidebar--left .wrap,
  .sidebar--right .wrap {
    max-width: 85%;
    margin: 60px auto;
    grid-template-columns: 100%;
    grid-template-rows: max-content 1fr;
    column-gap: 0;
    row-gap: 84px;
  }

  .sidebar--right .sidebar {
    grid-row: 1 / 2;
  }

  .header {
    height: 60px;
    padding: 0 24px;
  }

  .header-border {
    top: 60px;
  }

  .setting-modal {
    position: fixed;
    top: calc(60px - 6px);
    right: 8px;
  }

  .setting-modal.modal--active {
    top: calc(60px + 6px);
  }

  .sidebar--left .sidebar-menu-wrap,
  .sidebar--right .sidebar-menu-wrap {
    width: 100%;
    top: 60px;
    left: 0;
    border-top: var(--border-solid);
    transform: translateX(-101%);
  }

  .sidebar {
    height: max-content;
    position: relative;
    top: 0;
  }

  .progress-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .list--custom ul[data-ke-list-type='circle'] li {
    padding-left: 14px;
  }

  .list--custom ol[data-ke-list-type='decimal'] {
    margin-left: 20px;
  }
}

/* 576px */
@media only screen and (max-width: 576px) {
  .sidebar--left .wrap,
  .sidebar--right .wrap {
    gap: 72px;
    margin: 50px auto;
  }

  .sidebar-wrap {
    height: 80vh;
  }

  .search-input {
    width: 150px;
  }

  .status {
    grid-template-columns: 10fr 1.5fr;
    grid-template-rows: 2fr;
    row-gap: 6px;
  }

  .status-label {
    grid-column: 1 / -1;
  }

  .cover .timeline-content-wrap {
    flex-direction: column;
  }

  .article .timeline-content-wrap {
    flex-direction: column;
  }

  #type-gallery {
    grid-template-columns: repeat(var(--gallery-cnt-mobile), 1fr);
    gap: var(--gallery-margin-mobile);
  }

  .cover-gallery #type-gallery {
    grid-template-columns: repeat(var(--cover-gallery-cnt-mobile), 1fr);
  }

  .post-icon-wrap {
    width: 36px;
    height: 36px;
  }

  .post-icon svg {
    width: var(--svg-s);
    height: var(--svg-s);
  }

  .article-icon-wrap {
    width: 32px;
    height: 32px;
    padding: 2px;
  }

  .article-icon svg {
    width: var(--svg-s);
    height: var(--svg-s);
  }

  .list--custom ul[data-ke-list-type='circle'] {
    margin-left: 9px;
  }

  .link--l figure[data-ke-type='opengraph'] div.og-text p.og-host,
  .link--l
    #tt-body-page
    figure[data-ke-type='opengraph']
    div.og-text
    p.og-host {
    margin-top: -10px !important;
  }

  .link--s figure[data-ke-type='opengraph'] div.og-text {
    gap: 0;
  }

  .guest-re-item {
    padding: 16px 0;
  }

  .footer-btn {
    flex-direction: row;
  }
}
/* ********************* */
