* {
  cursor: url(https://cur.cursors-4u.net/cursors/cur-9/cur817.cur), auto !important;
}
a *,
b,
img,
a,
input,
label,
textarea,
span,
i {
  cursor: url(https://cur.cursors-4u.net/others/oth-6/oth589.cur), auto !important;
}

html {
  font-size: 13px;
  font-family: "pretendard", sans-serif !important;
  font-weight: 500;
}
body {
  margin: 0;
  background: #fefefe;
}
a {
  transition: 0.3s;
}
* {
  color: #000;
}
*:focus {
  outline: none;
}
a,
li,
ul {
  list-style: none;
  text-decoration: none;
}
::selection {
  background: var(--point2);
  color: #fff;
}
::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}
input,
::placeholder,
textarea,
.btn-toggle-moreless,
blockquote,
blockquote span,
tbody {
  font-size: 13px !important;
  font-family: "pretendard", sans-serif !important;
  font-weight: 500;
}
.another_category,
.tistoryProfileLayerTrigger {
  display: none !important;
}

/* 사이즈 수정 */
:root {
  --cover-width: 400px;
  --main-width: 580px;
}

/* 커버 아이템 글 목록 개수 */
:root {
  --length: 5;
}

/* 상단 */
#top {
  margin-top: 70px;
}
.top-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--main-width);
  margin: 0 auto;
}
.top-inner .go {
  display: flex;
  align-items: center;
}
.top-inner .go a {
  margin: 0 10px;
  padding: 6px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #eee;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
}
.top-inner .go svg {
  transform: scale(0.8);
}
.top-inner .go a:hover {
  border: 1px solid var(--point1);
}

/* 검색 */
.search input {
  width: 100px;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.search input::placeholder {
  color: #000;
}

/* 게시글 프로필 바 */
.main-profile {
  display: flex;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #eee;
}
.main-profile img {
  border: 1px solid #eee;
  border-radius: 50%;
  margin-right: 10px;
}
.main-profile .profile-name {
  font-weight: bold;
}
.main-profile .clickbt {
  margin-left: auto;
}
.main-profile .clickbt svg {
  transition: 0.4s;
}
.main-profile .clickbt:hover svg {
  fill: var(--point1);
}

/* 게시글 제목 */
.inner {
  margin-top: auto;
  padding: 15px;
  border-top: 1px solid #eee;
}
.inner .icon {
  margin-bottom: 10px;
}
.inner .icon svg {
  margin-right: 10px;
}
.inner .icon svg:first-child {
  transform: scale(1.1);
}
.icon svg:first-child path {
  fill: var(--point2);
  stroke: var(--point2);
}
.article-name {
  font-weight: bold;
  margin-right: 5px;
}
.article-title {
  word-break: break-all;
}
.article-desc {
  margin-top: 5px;
  word-break: break-all;
}

/* 커버 */
#cover {
  display: flex;
  flex-direction: column;
  width: var(--cover-width);
  margin: 70px auto;
  border: 1px solid #eee;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  position: relative;
}
#cover .main-profile {
  background: #fff;
  border-bottom: 1px solid #eee;
}
#cover .sbt {
  margin-left: auto;
}
#cover .but {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 8px;
  text-align: center;
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fff;
  transition: 0.3s;
}
#cover .but i {
  line-height: 21px;
  color: rgb(77, 77, 77);
  transition: 0.3s;
}
#cover .but:hover {
  background: var(--point1);
}
#cover .but:hover i {
  color: #fff;
}
#cover .items {
  display: flex;
  width: calc(100% * var(--length));
  position: relative;
  left: 0;
}
#cover .main {
  width: 100%;
  overflow: hidden;
}
#cover .main a {
  display: block;
  position: relative;
  overflow: hidden;
}
#cover .main a::before {
  content: "";
  display: block;
  padding-bottom: 100%;
  background: #f1f1f1;
}
#cover .main a img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-sizing: border-box;
}
#cover .main .title,
#cover .main .summary {
  display: none;
}
#cover .inner {
  width: 100%;
  position: relative;
  margin-top: auto;
  background: #fff;
  box-sizing: border-box;
}
#cover .article-desc span {
  white-space: pre-wrap;
}

/* 컨테이너 */
#container {
  width: var(--main-width);
  margin: 70px auto;
}

/* 리스트 - 상단 프로필 */
.con-profile {
  display: flex;
  margin-bottom: 35px;
}
.con-profile .left {
  padding-left: 15px;
}
.con-profile .left .profile {
  border-radius: 50%;
  border: 1px solid #eee;
  padding: 4px;
  background: linear-gradient(
    var(--point3) 10%,
    var(--point2) 50%,
    var(--point1) 80%
  );
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
}
.con-profile .right {
  align-self: flex-start;
  width: 100%;
  margin-top: 10px;
  margin-left: 30px;
  position: relative;
}
.con-profile .topItem {
  display: flex;
  align-items: center;
}
.con-profile .profile-name {
  align-self: flex-start;
  font-size: 1.8rem;
  font-weight: 300;
}
.con-profile .blog-desc {
  margin: 15px 0;
  white-space: pre-wrap;
}

/* 카테고리 */
.category {
  position: relative;
  z-index: 11;
}
.tt_category {
  position: absolute;
  margin: 0;
  padding: 0;
}
.link_tit {
  display: none;
}
.nav-bg {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  right: -101%;
  background: rgba(0, 0, 0, 0.4);
}
.nav-bg.open {
  right: 0;
}
.category_list {
  position: fixed;
  top: 0;
  right: -355px;
  bottom: 0;
  width: 350px;
  padding: 30px;
  border-left: 1px solid #eee;
  background: #fff;
  box-sizing: border-box;
  overflow-y: auto;
  transition: 0.4s;
}
.category_list.open {
  right: 0;
}
.category_list > li {
  padding: 15px 0;
}
.category_list > li > a {
  font-weight: bold;
}
.sub_category_list {
  padding: 0;
}
.sub_category_list > li {
  margin-top: 10px;
}
.sub_category_list a {
  color: #aaa;
}
.category_list a {
  display: block;
  padding: 5px;
  word-break: break-all;
}
.category_list a:hover {
  color: var(--point1);
}
.category_list img {
  display: none;
}
.category_list svg {
  width: 14px;
  position: absolute;
  margin-top: -2px;
  margin-left: 2px;
  vertical-align: middle;
}
.category_list svg path {
  stroke: var(--point2);
  fill: var(--point1);
}

/* 외부링크 */
.links a {
  display: inline-block;
  margin-right: 5px;
}
.links a:hover {
  color: var(--point1);
}
.links a[href=""] {
  display: none;
}

/* 태그 */
.taglog {
  padding: 0 20px;
  box-sizing: border-box;
}
.taglog a {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 8px 12px;
  background: #fff;
}
.taglog a:hover {
  color: var(--point1);
}

/* 글목록 */
#list-style {
  display: none;
}
.empty {
  margin-top: 60px;
  text-align: center;
}
.listWrap {
  display: flex;
  flex-wrap: wrap;
}
.index {
  width: calc(100% / var(--thumb-pc) - 40px);
  margin: 20px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
}
.index > a {
  display: block;
  position: relative;
}
.index .thumb {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #fafafa;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
}
.index .thumb::before {
  content: "";
  display: block;
  padding-bottom: 100%;
  background: #f1f1f1;
}
.index .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-sizing: border-box;
}
.index .thumb img + .nothumb {
  display: none;
}
.index .nothumb {
  position: absolute;
  top: 50%;
  left: 50%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(0.8);
  box-sizing: border-box;
}
.index .list-title {
  opacity: 0;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  transition: 0.4s;
}
.list-title img {
  display: none;
}
.index .list-title::before {
  display: block;
  content: "\ea13";
  font-family: "xeicon";
  font-weight: 900;
  color: #fff;
  font-size: 13px;
  text-align: center;
  position: relative;
  top: 50%;
  transform: translate(0, -50%);
}
.index .list-title span {
  display: none;
}
.index:hover .list-title {
  opacity: 1;
}
.index .list-date {
  display: none;
}

/* 게시글 본문 */
.articleWrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
  transition: 0.4s;
}
.articleWrap .main-profile {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.articleWrap .inner {
  position: sticky;
  bottom: 0;
  background: #fff;
  z-index: 1;
}
.closebt i {
  position: fixed;
  font-size: 1.5rem;
  top: 15px;
  right: 15px;
  color: #fff;
}
.article {
  padding: 15px;
  box-sizing: border-box;
  overflow-y: auto;
}
.article p a:hover {
  color: var(--point1);
}
.password {
  display: block;
  text-align: center;
  position: relative;
  margin-bottom: 30px;
}
.password input {
  width: 100px;
  border: 0;
  padding: 10px;
  text-align: center;
  background: transparent;
  color: #000;
  box-sizing: border-box;
}
.password input::placeholder {
  color: #000;
}
.articleWrap .text {
  text-align: center;
  padding: 0 20px;
  margin: 30px 0;
}
.admin {
  display: none;
  position: relative;
  z-index: 1;
}
.admin-inner {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 120px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
}
.admin a {
  display: block;
  text-align: center;
  padding: 10px 15px;
}
.admin a:not(:last-child) {
  border-bottom: 1px solid #eee;
}
.admin a:hover {
  color: var(--point1);
}
.like-text {
  margin-bottom: 10px;
}
.like-text img {
  vertical-align: middle;
  border: 1px solid #eee;
  border-radius: 50%;
  margin-right: 5px;
}
.like-text b {
  color: var(--point1);
}
.article-date {
  color: #aaa;
  margin-top: 10px;
}
.tagTrail {
  margin-left: 5px;
}
.tagTrail a {
  color: var(--point1);
  display: inline-block;
  margin-top: 5px;
  margin-right: 3px;
}
.tagTrail a::before {
  display: inline-block;
  content: "#";
  font-family: "pretendard", sans-serif !important;
}
.tagTrail a:hover {
  color: var(--point2);
}
.container_postbtn {
  padding: 10px 0 0 0 !important;
}

/* 첨부파일 */
figure.fileblock {
  display: flex;
  margin: 0 !important;
  width: unset !important;
  height: auto !important;
  border: 0 !important;
}
figure.fileblock[data-ke-align="alignLeft"] {
  justify-content: flex-start;
}
figure.fileblock[data-ke-align="alignCenter"] {
  justify-content: center;
}
figure.fileblock[data-ke-align="alignRight"] {
  justify-content: flex-end;
}
figure.fileblock a {
  display: flex !important;
  height: auto !important;
  overflow: hidden;
}
figure.fileblock a::after {
  display: none;
}
figure.fileblock .image,
figure.fileblock .size {
  display: none !important;
}
figure.fileblock .desc {
  position: unset !important;
}
figure.fileblock .filename {
  height: auto !important;
  margin-top: 0 !important;
}
figure.fileblock .name {
  max-width: unset !important;
  height: auto !important;
  white-space: unset !important;
  overflow: unset !important;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 10px;
  color: #fff;
  background: linear-gradient(to right, var(--point2), var(--point1));
  word-break: break-all;
  box-sizing: border-box;
  transition: 0.3s;
}
figure.fileblock .name:hover {
  transform: scale(0.9);
}

/* 인용구 */
blockquote[data-ke-style="style1"] {
  padding: unset !important;
  background: unset !important;
  text-align: left !important;
}
blockquote[data-ke-style="style1"] span {
  display: block;
  color: #777;
  margin-top: 5px;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 4px;
}
blockquote[data-ke-style="style1"]::before {
  display: inline-block;
  content: "\f10d";
  font-family: "Font Awesome\ 6 Free";
  font-size: 14px;
  font-weight: 900;
  padding: 0 10px;
  border-radius: 4px;
  background: var(--point1);
  color: #fff;
}
blockquote[data-ke-style="style2"] {
  border-left: 3px solid var(--point1);
  padding-left: 15px;
}
blockquote[data-ke-style="style3"] {
  background: #fff !important;
  border: 1px dashed #eee !important;
  padding: 15px !important;
}

/* 리스트 꾸미기 */
ul[data-ke-list-type="disc"],
ul[data-ke-list-type="circle"],
ol[data-ke-list-type="decimal"] {
  display: block;
  padding: 0;
}
ul[data-ke-list-type="disc"] li,
ul[data-ke-list-type="circle"] li,
ol[data-ke-list-type="decimal"] li {
  display: block;
  margin: 10px 0;
}
ul[data-ke-list-type="disc"] li *[data-ke-list-type],
ul[data-ke-list-type="circle"] li *[data-ke-list-type],
ol[data-ke-list-type="decimal"] li *[data-ke-list-type] {
  padding-left: 15px;
  margin: 10px 0;
}
ul[data-ke-list-type="disc"] > li::before {
  display: inline-block;
  content: "\f5bc";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 5px;
  transform: scale(0.8);
  color: var(--point2);
}
ul[data-ke-list-type="circle"] > li::before {
  display: inline-block;
  content: "\f0c8";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 5px;
  transform: scale(0.8);
  color: var(--point1);
}
ol[data-ke-list-type="decimal"] > li::before {
  display: inline-block;
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 5px;
  transform: scale(0.8);
  color: #bbb;
}

/* 접은글 */
div[data-ke-type="moreLess"] {
  margin-bottom: 10px;
}
.btn-toggle-moreless {
  display: inline-block;
  margin: 3px 0 !important;
  position: relative;
  color: #000 !important;
  line-height: unset !important;
}
.btn-toggle-moreless::before {
  display: inline-block;
  content: "\f005";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--point1);
  text-align: center;
  margin-right: 10px;
  border-radius: 4px;
}
.btn-toggle-moreless:hover {
  color: var(--point1) !important;
}
.moreless-content {
  padding: 20px;
  margin: 10px 0 20px 0;
  border: 1px solid #eee;
  border-radius: 4px;
}

/* 댓글 */
.cmtbook {
  position: fixed;
  top: 0;
  right: -510px;
  width: 500px;
  height: 100%;
  border-left: 2px solid #eee;
  border-top: 0;
  z-index: 7;
  background: #fff;
  overflow-y: auto;
  transition: 0.4s;
}
.cmtbook.open {
  right: 0;
}
.cmtbook > div {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.cmt-bg {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  right: -101%;
  background: rgba(255, 255, 255, 0.6);
  z-index: 2;
  transition: 0.2s;
}
.cmt-bg.open {
  right: 0;
}
.nocmt {
  padding: 40px 20px 20px 20px;
  text-align: center;
  box-sizing: border-box;
}

/* 댓글 리스트 */
.cmtList {
  flex: 1;
  padding: 15px;
  box-sizing: border-box;
}
.cmtList > li:not(:last-child) {
  margin-bottom: 50px;
}
.cmtList > li > ul > div {
  margin-top: 20px;
}
.cmtList .wrap {
  display: flex;
}
.rp-right {
  padding-top: 5px;
}
.rp-name {
  font-weight: bold;
  margin-right: 5px;
}
.cmtList .logo img {
  border-radius: 50%;
  margin-right: 10px;
  border: 1px solid #eee;
}
.rp-desc {
  word-break: break-all;
}
.cmtList .bottom {
  margin-top: 20px;
}
.rp-date {
  color: #aaa;
  margin-right: 6px;
}
.rp-date a {
  display: none;
}
.control a {
  display: inline-block;
  margin-right: 6px;
}
.control a:hover {
  color: var(--point1);
}
.tt_more_preview_comments_text {
  display: block;
  margin: 15px 0 30px 0;
}

/* 댓글 작성 */
.writeBox {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  border-top: 1px solid #eee;
  padding: 15px;
  background: #fff;
}
.writeBox .textarea {
  display: flex;
  justify-content: space-between;
}
textarea {
  width: calc(100% - 50px);
  border: 0;
  padding: 10px;
  transition: 0.4s;
  box-sizing: border-box;
  resize: none;
}
.cmtbook textarea {
  height: 40px;
}
.cmtbook textarea:focus,
.cmtbook textarea:not(:placeholder-shown) {
  height: 100px;
}
.form {
  display: flex;
  margin-top: 15px;
}
.nameInput,
.pwInput {
  width: 100px;
  margin-right: 10px;
}
.nameInput input,
.pwInput input {
  display: block;
  width: 100%;
  height: 35px;
  line-height: 35px;
  padding: 5px 15px;
  border: 1px solid #eee;
  border-radius: 20px;
  background: transparent;
  transition: 0.4s;
}
.nameInput input::placeholder,
.pwInput input::placeholder {
  color: #000;
}

/* 댓글 등록버튼 */
.submit-bt {
  margin-left: auto;
}
.submit-bt::before {
  display: inline-block;
  width: 35px;
  height: 35px;
  line-height: 34px;
  content: "\f1d8";
  font-family: "FontAwesome";
  color: var(--point1);
  font-size: 12px;
  text-align: center;
  box-sizing: border-box;
  transition: 0.4s;
}
.submit-bt:hover::before {
  color: var(--point2);
}

/* 비밀댓글 */
input[id="secret"] {
  visibility: hidden;
}
input[id="secret"]::before {
  visibility: visible;
  display: inline-block;
  width: 35px;
  height: 30px;
  line-height: 29px;
  content: "\f09c";
  font-family: "FontAwesome";
  font-size: 12px;
  color: var(--point1);
  text-align: center;
  box-sizing: border-box;
  transition: 0.4s;
}
input[id="secret"]:checked::before {
  content: "\f023";
  font-family: "FontAwesome";
  font-size: 12px;
  color: var(--point2);
}

/* 방명록 작성 */
.guestbook {
  width: 500px;
  margin: 0 auto;
}
.guestbook .writeBox {
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
}

/* 방명록 리스트 */
.gbList .clickbt {
  display: none;
}
.gbList > li {
  margin-top: 50px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
  border-radius: 4px;
}
.gbList > li > ul {
  margin: 0;
  padding: 0;
}
.gbList .wrap {
  padding: 30px;
  border-top: 1px solid #eee;
}
.gbList > li > div .wrap {
  border-top: 0;
}
.gbList .rp-desc {
  display: block;
  word-break: break-all;
  box-sizing: border-box;
  margin-bottom: 15px;
}
.gbList .guest_general .rp-name,
.gbList .guest_secret .rp-name {
  display: none;
}
.gbList .guest_admin .wrap {
  background: #fafafa;
}
.gbList .guest_admin .rp-name {
  display: block;
  margin-bottom: 15px;
}

/* 페이징 */
.paging {
  text-align: center;
  margin: 40px 0 20px 0;
}
.paging a {
  margin: 0 15px;
}
.paging a:hover {
  color: var(--point1);
}

/* 카피라이트 */
.copyright {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 1;
}
.copyright a svg {
  transform: scale(0.8);
}
.copyright a svg path {
  stroke: var(--point1);
}

@media all and (max-width: 580px) {
  .top-inner {
    width: 90%;
  }
  #cover {
    width: 85%;
    margin: 40px auto;
  }
  #container {
    width: 90%;
    margin: 50px auto;
  }
  .con-profile .left img {
    width: 100px;
  }
  .con-profile .profile-name {
    font-size: 1rem;
    font-weight: 500;
  }
  .cmtbook {
    width: 80% !important;
  }
  .guestbook {
    width: 100%;
  }
  .copyright {
    display: none;
  }
}
@media all and (max-width: 550px) {
  .index {
    width: calc(100% / var(--thumb-mb) - 20px);
    margin: 10px;
  }
}
@media all and (max-width: 450px) {
  .category_list {
    width: 70%;
  }
  .con-profile .left {
    display: none;
  }
  .con-profile .right {
    width: 100%;
    margin-left: 0;
    padding-left: 20px;
  }
  .con-profile .profile-name {
    font-weight: bold;
  }
}
