@import url("https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&display=swap");
:root {
  --transition: 0.3s ease;
  --gallery-margin: 5px;
}
* {
  font-size: 13px;
  font-weight: 500;
  color: #2c2c2c;
  font-family: "pretendard", "Noto Color Emoji", sans-serif;
  cursor: url(https://cur.cursors-4u.net/cursors/cur-9/cur817.cur), auto !important;
}
a:link {
  text-decoration: none;
  color: unset;
}
a:hover,
img:hover,
span:hover,
i:hover {
  cursor: url(https://cur.cursors-4u.net/cursors/cur-9/cur817.cur), auto !important;
}
*:focus {
  outline: none !important;
}
.another_category {
  display: none !important;
}
::-webkit-scrollbar {
  width: 4px;
  height: 0;
  background-color: var(--body-background-color);
}
::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-color);
}
::selection {
  background-color: var(--selection-bg);
  color: var(--selection-color);
}
.hljs {
  background-color: #fefefe !important;
  padding: 12px 15px !important;
  border: 1px solid #eee;
  box-sizing: border-box;
}

/* 스킨 전체 */
#skin {
  margin: 180px auto 100px;
  width: var(--container-width);
}

/* 헤더 */
#header .blog-title a {
  display: inline-block;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 18px;
  color: var(--point-color);
}
#header .blog-title a:hover {
  text-decoration: line-through;
}
#header .blog-link {
  color: #aaa;
  text-transform: uppercase;
  font-size: 11px !important;
}
#header .menu {
  margin-top: 15px;
}
#header .menu a {
  display: inline-block;
  margin-right: 7px;
  color: #aaa;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  transition: var(--transition);
}
#header .menu a::before {
  display: inline-block;
  content: "\f0da";
  font-family: "fontawesome";
  color: var(--point-color);
  width: 0;
  position: relative;
  top: 1px;
  opacity: 0.7;
  transition: var(--transition);
  overflow: hidden;
}
#header .menu a:hover {
  color: var(--point-color);
}
#header .menu a:hover::before {
  width: 10px;
}

/* 토글 */
.toggle-bg {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 55;
}

/* 검색창 */
.search-box {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 77;
}
.search-inner {
  width: 200px;
  padding: 6px 10px;
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: var(--point-color);
  border-radius: 0;
  background-color: transparent;
  box-sizing: border-box;
  transition: var(--transition);
}
.search-box .search-inner input {
  width: 100%;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  padding: 10px 15px;
  text-align: center;
  box-sizing: border-box;
}
.search-inner input::placeholder {
  text-align: center;
  color: #2c2c2c;
}

/* 카테고리 */
.navi-box {
  display: none;
  position: fixed;
  width: 350px;
  max-width: 85%;
  max-height: 85%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow-y: auto;
  padding: 10px;
  z-index: 88;
}
.navi-box::-webkit-scrollbar {
  width: 0;
}
.tt_category,
.tt_category li,
.tt_category ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.tt_category c_cnt,
.tt_category img,
.link_tit {
  display: none !important;
}
.category_list > li {
  display: block;
  margin-bottom: 12px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  transition: var(--transition);
}
.category_list > li > a {
  display: flex;
  align-items: center;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--point-color);
  transition: var(--transition);
}
.category_list > li:has(ul) {
  padding: 20px;
}
.category_list > li:not(:has(ul)):hover {
  background-color: var(--point-color);
}
.category_list > li:not(:has(ul)):hover a {
  color: #fff;
}
.category_list > li:not(:has(ul)) > a {
  padding: 20px;
}
.sub_category_list {
  margin-top: 10px !important;
}
.sub_category_list li {
  display: inline-block;
}
.sub_category_list a {
  display: block;
  margin-right: 8px;
  margin-top: 8px;
  padding: 10px 15px;
  border-radius: 0 20px 0 20px;
  background-color: #f8f8f8;
  transition: var(--transition);
}
.sub_category_list a:hover {
  background-color: var(--point-color);
  color: #fff;
}

/* 컨테이너 */
#container {
  margin: 80px 0 60px 0;
}
.cate-title {
  display: block;
  text-align: center;
  margin-bottom: 25px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--point-color);
  transform: scale(0.93,1);
}
.cate-title::before {
  content: "\f07c";
  font-family: "fontawesome";
  margin-right: 5px;
  position: relative;
  top: -1px;
}
.list-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
#list-style,
.index {
  display: none;
}

/* 커버 */
#cover > div:first-child .cover-title span {
  margin-top: 20px;
}
.cover-title {
  display: block;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
}
.cover-title span:not(:empty) {
  display: inline-block;
  margin-top: 60px;
  margin-bottom: 20px;
  font-weight: 800;
  font-size: 14px;
  color: var(--point-color);
  transform: scale(0.93,1);
}
.cover.notice .notice-inner {
  box-sizing: border-box;
  word-break: break-all;
  white-space: break-spaces;
}
.cover.notice img {
  max-width: 100%;
  border-radius: 3px;
  margin: 10px 0;
}
.cover .gallery {
  display: block;
  position: relative;
  width: calc(100% / var(--cover-gallery-row) - calc(var(--gallery-margin) * 2));
  margin: var(--gallery-margin);
}
.cover .gallery .thumb {
  padding-bottom: var(--cover-gallery-thumb);
}
.cover .gallery .item-info {
  display: none;
}

/* 태그로그 % 본문 태그 */
.article-tag {
  margin-top: 40px;
  text-align: right;
}
.article-tag a {
  display: inline-block;
  margin-left: 10px;
  margin-bottom: 15px;
  color: #aaa;
  transition: var(--transition);
}
.article-tag a::before {
  content: "#";
  padding-right: 2px;
  transition: var(--transition);
}
.article-tag a:hover,
.article-tag a:hover::before {
  color: var(--point-color);
}
.taglog a {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 15px;
  padding: 10px 15px;
  border: 1px dashed var(--point-color);
  border-radius: 0 16px 0 16px;
  background-color: #fff;
  transition: var(--transition);
}
.taglog a:hover {
  background-color: var(--point-color);
  color: #fff;
}

/* 목록형 - 리스트 */
.list {
  display: block;
  width: 100%;
  border-bottom: 1px dashed #eee;
}
.list:last-child {
  border-bottom: 0;
}
.list .thumb,
.list .noimg {
  display: none;
}
.list .item-title span {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 25px 5px;
  box-sizing: border-box;
  transition: var(--transition);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.list .item-title span::before {
  display: inline-block;
  content: "\f00c";
  font-family: "fontawesome";
  width: 0px;
  overflow: hidden;
  color: var(--point-color);
  opacity: 0;
  transition: var(--transition);
}
.list:hover .item-title span {
  color: var(--point-color);
}
.list:hover .item-title span::before {
  width: 20px;
  opacity: 1;
}

/* 목록형 - 갤러리 */
.gallery {
  display: block;
  position: relative;
  width: calc(100% / var(--gallery-row) - calc(var(--gallery-margin) * 2));
  margin: var(--gallery-margin);
}
.gallery .thumb {
  display: block;
  position: relative;
  height: 0;
  padding-bottom: var(--gallery-thumb);
  border: 1px solid #eee;
  background-color: #fbfbfb;
  overflow: hidden;
  box-sizing: border-box;
}
.gallery .thumb:not(:has(img)) {
  transition: background-color var(--transition);
}
.gallery .thumb img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  object-fit: cover;
  transform: translateZ(0) scale(1.05);
  transition: opacity var(--transition);
}
.gallery .thumb:hover img {
  opacity: 0.6;
}
.gallery .thumb img + .noimg {
  display: none;
}
.gallery .noimg span {
  position: absolute;
  color: var(--point-color);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9, 1);
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  transition: color var(--transition);
}
.gallery .thumb:not(:has(img)):hover {
  background-color: var(--point-color);
}
.gallery .thumb:not(:has(img)):hover .noimg span {
  color: #fff;
}
.gallery .item-info {
  display: none;
}

/* 본문 */
.article-box .contents-title {
  display: block;
  text-align: center;
  font-size: 15px;
  margin-bottom: 30px;
}
.article-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 40px 0;
}
.article-top .article-date {
  color: #aaa;
}
.article-top .admin a {
  display: inline-block;
  color: #aaa;
  margin-left: 5px;
  transition: var(--transition);
}
.article-top .admin a:hover {
  color: var(--point-color);
}
.article-top .admin a {
  margin-left: 8px;
}
.article {
  line-height: 1.3rem;
}
.article a[href]:not(:has(img, i, .og-image)),
.notice-inner a[href]:not(:has(img, i, .og-image)) {
  transition: var(--transition);
  font-weight: 600;
}
.article a[href]:not(:has(img, i, .og-image))::after,
.notice-inner a[href]:not(:has(img, i, .og-image))::after {
  display: inline-block;
  content: "\f360";
  font-family: "font awesome 6 free";
  font-weight: 900;
  margin-left: 2px;
  font-size: 11px;
  color: var(--point-color);
}
.article a[href]:not(:has(img, i, .og-image)):hover,
.notice-inner a[href]:not(:has(img, i, .og-image)):hover {
  color: var(--point-color);
}
.article b,
.article b * {
  font-weight: 700 !important;
}
.article p * {
  color: unset;
}
.imageblock {
  margin-top: 10px !important;
}

/* 본문 - 보호글 */
.contents-title.protected + .article {
  display: flex;
  justify-content: center;
}
.password {
  width: 150px;
  margin-top: 20px;
  display: block;
  border: 1px solid var(--point-color);
  border-radius: 20px;
  background-color: #fff;
  transition: var(--transition);
}
.password input {
  width: 100%;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  padding: 10px 15px;
  text-align: center;
  color: #fff;
  box-sizing: border-box;
  transition: var(--transition);
}
.password input::placeholder {
  text-align: center;
  color: #2c2c2c;
  transition: var(--transition);
}
.password:focus-within,
.password:has(input:not(:placeholder-shown)) {
  background-color: var(--point-color);
  color: #fff;
}
.enter {
  display: block;
  margin-top: 20px;
  margin-left: 10px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--point-color);
  border-radius: 20px;
  color: #fff;
  background-color: var(--point-color);
  transition: var(--transition);
  font-family: fontawesome;
  box-sizing: border-box;
}
.enter:hover {
  transform: translateX(6px);
}

/* 본문 이미지 */
figure.imagegridblock {
  position: relative;
  margin: 1.33% 0 !important;
}
figure.imageblock.alignCenter {
  margin: 1.33% auto !important;
}
figure.imagegridblock .image-container span {
  margin: 0 !important;
}

/* 공감버튼 */
.container_postbtn {
  display: flex;
  padding: 0 !important;
  margin-top: 40px;
}
.container_postbtn .btn_post .txt_like,
.wrap_btn_share,
.wrap_btn_etc {
  display: none !important;
}
.container_postbtn .postbtn_like {
  border: 1px solid #eee !important;
  padding: 2px 10px !important;
  border-radius: 20px !important;
  background-color: #fff;
  transition: var(--transition);
}
.container_postbtn .btn_menu_toolbar.btn_subscription {
  height: unset !important;
  line-height: unset !important;
  border: 1px solid var(--point-color) !important;
  border-radius: 20px !important;
  background-color: var(--point-color);
  color: #fff;
  transition: var(--transition);
}

/* 리스트 꾸미기 */
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 {
  display: block;
  margin: 10px 0;
}
ol[data-ke-list-type="decimal"] li {
  transform: translateX(16px);
  margin: 10px 0;
}
ol[data-ke-list-type="decimal"] li ol {
  padding-left: 0 !important;
}
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: "\f0c8";
  font-family: "font awesome 6 free";
  transform: scale(0.7);
  margin-right: 4px;
  font-weight: 400;
  color: var(--point-color);
}
ul[data-ke-list-type="circle"] li::before {
  display: inline-block;
  content: "\f111";
  font-family: "font awesome 6 free";
  margin-right: 4px;
  transform: scale(0.7);
  font-weight: 400;
  color: var(--point-color);
}

/* 접은글 */
div[data-ke-type="moreLess"] {
  margin-bottom: 10px;
}
.btn-toggle-moreless {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  margin: 3px 0 !important;
  position: relative;
  color: #2c2c2c !important;
  font-size: 1rem !important;
  font-family: "pretendard", sans-serif !important;
  line-height: unset !important;
  background-color: #fff;
  transition: var(--transition);
}
.btn-toggle-moreless::before {
  display: inline-block;
  content: "\f0a9";
  font-family: "fontawesome";
  font-weight: regular;
  color: var(--point-color);
  margin-right: 5px;
  transition: var(--transition);
}
.open .btn-toggle-moreless {
  color: var(--point-color) !important;
}
.open .btn-toggle-moreless::before {
  transform: rotate(90deg);
}
.moreless-content {
  padding: 15px;
  margin: 10px 0 20px 0;
  border-radius: 3px;
  background-color: #fbfbfb;
  word-break: break-word;
}

/* 첨부파일 */
figure.fileblock {
  display: flex;
  margin: 10px !important;
  width: unset !important;
  height: auto !important;
  border: 0 !important;
  box-shadow: unset !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::before,
figure.fileblock a::after,
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;
  padding-bottom: 5px;
}
figure.fileblock .name {
  max-width: unset !important;
  height: auto !important;
  white-space: unset !important;
  overflow: unset !important;
  word-break: break-all;
  border: 1px solid #eee;
  padding: 10px 18px;
  border-radius: 20px;
  color: #2c2c2c;
  font-weight: 500;
  transition: var(--transition);
  font-size: 1rem;
}
figure.fileblock .name::before {
  display: inline-block;
  content: "\f35a";
  margin-right: 8px;
  font-family: "fontawesome";
  color: var(--point-color);
  transition: var(--transition);
}
figure.fileblock .name:hover {
  border: 1px solid var(--point-color);
  color: var(--point-color);
  transform: scale(0.95);
}
figure.fileblock .name:hover::before {
  transform: rotate(90deg);
}

/* 인용구 */
blockquote span {
  font-family: "pretendard", sans-serif !important;
}
blockquote[data-ke-style="style1"] {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none !important;
  padding: 0 !important;
  font-size: 1rem !important;
  text-align: unset !important;
}
blockquote[data-ke-style="style1"] span {
  word-break: break-all;
}
blockquote[data-ke-style="style1"] span::before {
  display: block;
  content: "\f10d";
  font-family: "fontawesome";
  font-weight: 900;
  color: var(--point-color);
  text-align: left;
  padding-left: 5px;
}
blockquote[data-ke-style="style1"] span::after {
  display: block;
  content: "\f10e";
  font-family: "fontawesome";
  font-weight: 900;
  color: var(--point-color);
  text-align: right;
  padding-right: 5px;
}
blockquote[data-ke-style="style2"] {
  color: #2c2c2c !important;
  font-size: 1rem !important;
  border-left: 3px solid var(--point-color);
  padding: 0 10px;
}
blockquote[data-ke-style="box"],
blockquote[data-ke-style="style3"] {
  padding: 10px 12px !important;
  font-size: 1rem !important;
  color: #2c2c2c !important;
  border: 1px solid var(--point-color) !important;
  background-color: #fff !important;
  border-radius: 0;
}

/* 댓글폼 */
.cmt-bt {
  text-align: right;
}
.cmt-bt span {
  display: inline-block;
  margin: 20px 0;
  padding: 10px 15px;
  border: 1px solid var(--point-color);
  border-radius: 20px;
  background-color: #fff;
  transition: var(--transition);
}
.cmt-bt span:hover {
  box-shadow: 0 0 0;
  transform: translate(0, 4px);
  background-color: #fbfbfb;
}
.write-box {
  margin-bottom: 40px;
}
textarea {
  width: 100%;
  resize: none;
  height: 60px;
  border: 0;
  border-radius: 20px 0 0 20px;
  padding: 20px;
  color: var(--color);
  background-color: #f8f8f8;
  transition: var(--transition);
  box-sizing: border-box;
}
textarea:focus,
textarea:not(:placeholder-shown) {
  height: 130px;
}
.member {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}
.member .name-input,
.member .pw-input {
  width: 80px;
  display: block;
  margin-right: 10px;
  border: 0;
  border-radius: 20px;
  background-color: var(--point-color);
  transition: var(--transition);
}
.member .pw-input {
  width: 100px;
}
.member .name-input input,
.member .pw-input input {
  width: 100%;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  padding: 10px 15px;
  text-align: center;
  color: #fff;
  box-sizing: border-box;
}
.member .name-input input::placeholder,
.member .pw-input input::placeholder {
  text-align: center;
  color: #fff;
}
.submit {
  display: block;
  width: 50px;
  margin-left: auto;
  font-weight: 500;
  font-size: 1rem;
  color: #fff;
  text-align: center;
  padding: 12px 15px;
  margin-top: 25px;
  border-radius: 20px 0 20px 20px;
  background-color: var(--point-color);
  transition: var(--transition);
  cursor: url(https://cur.cursors-4u.net/cursors/cur-9/cur817.cur), auto !important;
}
.submit:hover {
  background-color: #f3f3f3;
  color: var(--point-color);
}

/* 비밀 댓글 */
.check-bt {
  margin-left: auto;
}
input[id="secret"] {
  display: none;
}
input[id="secret"] + label {
  cursor: url(https://cur.cursors-4u.net/cursors/cur-9/cur817.cur), auto !important;
}
input[id="secret"] + label::before {
  display: block;
  content: "\f3c1";
  font-family: "fontawesome";
  font-size: 1rem;
  color: var(--point-color);
  text-align: center;
  width: 55px;
  height: 40px;
  line-height: 39px;
  border: 0;
  background-color: #f3f3f3;
  border-radius: 20px 20px 0 20px;
  transition: var(--transition);
}
input[id="secret"]:checked + label::before {
  content: "\f023";
  background-color: var(--point-color);
  color: #fff;
}

/* 댓글 리스트 */
.tistoryProfileLayerTrigger {
  display: none !important;
}
#comment {
  margin-top: 40px;
}
li {
  list-style: none;
}
.cmt-list {
  margin-top: 80px;
}
.cmt-list ul {
  padding-left: 40px;
  margin: 0;
}
.cmt-list > li {
  margin-bottom: 50px;
}
.cmt-list ul > li {
  margin-top: 30px;
}
.cmt-wrap {
  position: relative;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.07);
  border-radius: 30px;
  background-color: #fff;
}
.cmt-name {
  display: inline-block;
  border-radius: 0 20px 0 20px;
  padding: 10px 20px;
  background-color: #f8f8f8;
}
.guest_admin .cmt-name {
  background-color: var(--point-color);
}
.guest_admin .cmt-name a {
  color: #fff;
}
.cmt-desc {
  margin: 20px 0;
  padding: 0 10px;
  line-height: 1.3rem;
  box-sizing: border-box;
  word-break: break-all;
}
.control {
  text-align: right;
}
.control a {
  display: inline-block;
  border-radius: 0 20px 0 20px;
  padding: 10px 15px;
  margin-left: 10px;
  background-color: #f8f8f8;
  transition: var(--transition);
}
.control a:hover {
  color: #fff;
  background-color: var(--point-color);
}

/* 풋터 */
#footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 페이징 */
.paging .numbox a {
  display: inline-block;
  margin-right: 3px;
  padding: 0 3px;
  transition: var(--transition);
}
.paging .numbox a:hover {
  color: var(--point-color);
  text-decoration: underline;
}
.paging .numbox a:has(.selected) span {
  color: var(--point-color);
  text-decoration: underline;
}

/* 외부링크 아이콘 */
.out-link {
  margin-left: auto;
}
.out-link a {
  display: inline-block;
  margin-right: 7px;
  text-align: center;
}
.out-link a i {
  font-size: 12px;
  color: var(--point-color);
  transition: var(--transition);
}
.out-link a:hover i {
  opacity: 0.5;
}

/* 탑버튼 */
.gototop {
  display: none;
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 40px;
  height: 40px;
  text-align: center;
  background-color: var(--point-color);
}
.gototop i {
  line-height: 39px;
  font-size: 15px;
  color: #fff;
}

/* 모바일 반응형 */
@media all and (max-width: 800px) {
  #skin {
    width: 90%;
    margin: 40px auto;
  }
  #container {
    margin: 60px 0;
  }
  .gototop {
    display: none !important;
  }
}
@media all and (max-width: 540px) {
  .gallery {
    width: calc(100% / var(--gallery-row-m) - calc(var(--gallery-margin) * 2));
  }
  .cover .gallery {
    width: calc(100% / var(--cover-gallery-row-m) - calc(var(--gallery-margin) * 2));
  }
  .gallery .noimg span {
    font-size: 11px !important;
  }
}
