@charset "utf-8";

@font-face {
  font-family: 'Pretendard-Regular';
  src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

* {
  padding: 0;
  margin: 0;
  word-wrap: break-word;
  box-sizing: border-box;
  list-style: none;
  line-height: var(--line-height);
  font-family: 'Pretendard-Regular';
}

html {
  font-size: var(--font-size);
  letter-spacing: 0.7px;
  color: var(--font-color);
  text-decoration: none;
  scroll-behavior: smooth;
}

body.fade {
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.fade.loaded {
  opacity: 1;
}

input,
textarea,
button,
::placeholder {
  border-radius: 0;
  border: 0;
  background: none;
  outline: none;
  -webkit-appearance: none;
  font-size: 1rem;
  color: var(--font-color);
  letter-spacing: 1;
}

a,
a:link,
a:visited,
a:active {
  color: var(--font-color);
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 3px;
  height: 3px;
  background: var(--scroll-bg);
}

::-webkit-scrollbar-thumb {
  width: 3px;
  height: 3px;
  background: var(--scroll-th);
}

/*Icon WebFont icon*/
.fas {
  font-size: 1rem;
  line-height: var(--line-height);
}

[class*=" xi-"],
[class^=xi-] {
  font-size: 1rem;
  line-height: var(--line-height);
}

.bold{
  transition: 0.7s;
  font-weight:bold;
  letter-spacing: 1px;
  background-color: var(--sub-bg);
}





/*======================================*/
/*=============== layout ===============*/
/*======================================*/

#container {
  position: relative;
  margin: 120px auto 150px;
  /*크기 변경*/
  width: var(--container-width);
  overflow-y: hidden;
  background-color: var(--main-bg);
  border: var(--border);
  border-radius: var(--radius);
}

#header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  height:var(--header-height);
  padding: 10px;
  border-bottom: var(--border);
}


#content {
  height: var(--content-height);
  position: relative;
  width: 100%;
  overflow-y: auto;
}

#content::-webkit-scrollbar {
  width: 0;
}

#content::-webkit-scrollbar-thumb {
  width: 0;
}





/*======================================*/
/*=============== header ===============*/
/*======================================*/

.text-box {
  width: calc(100% - ((var(--header-height) - 21px) * 0.75));
  height: 100%;
  border: var(--border);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
}

.text-box .real-title {
  display: flex;
  align-items: center;
  padding: 10px;
  font-weight: bold;
  letter-spacing: 2px;
  width: 100%;
  height:35px;
  border-bottom: var(--border);
}

.came {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  border-bottom: var(--border);
  height:35px;
}

.category,
.menu {
  position: relative;
  width: 50%;
}

.category{
  border-right: var(--border);
}

.catett,
.menutt {
  padding: 10px;
  width:100%;
  overflow:hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: 0.7s;
}

.free-area {
  padding: 10px;
  height: calc(100% - 70px);
  overflow-y: auto;
}

.free-area .nick {
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.free-area .introduce {
  margin-bottom: 3px;
}

.free-area .mytag {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--point-color);
}

.profile {
  padding: 5px;
  height: 100%;
  aspect-ratio: 3/4;
  border: var(--border);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.profile .padding {
  width: 100%;
  height: 100%;
  border-radius: 0 var(--img-radius) var(--img-radius) 0;
}




/*========================================*/
/*=============== category ===============*/
/*========================================*/

.tt_category,
.menu_list {
  position: absolute;
  top:100%;
  background-color: var(--main-bg);
  border: var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 999;
}

.tt_category {
  display: none;
  left: -1px;
  width: calc(100% + 2px);
}

.menu_list {
  display: none;
  right: -1px;
  width: calc(100% + 2px);
}

.link_tit {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 3px;
  width: 100%;
  padding: 10px;
  border-bottom: var(--border);
}

.link_tit>.c_cnt,
.category_list .c_cnt {
  color: var(--sub-color);
  font-size: 0.9rem;
}

.category_list>li:not(:last-child) {
  border-bottom: var(--border);
}

.category_list>li>a,
.category_list>li>.has-sub>a {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 3px;
  padding: 10px;
}

.category_list > li > .has-sub > a{
  width: calc(100% - 33px);
  
  border-right: var(--border);
}

.category_list>li>.has-sub {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.category_list>li>.has-sub>.icn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 33px;
  aspect-ratio: 1;
}

.sub_category_list {
  border-top: var(--border);
}

.sub_category_list>li:not(:last-child) {
  border-bottom: var(--border);
}

.sub_category_list>li>a {
  display: block;
  padding: 10px;
  color: var(--sub-color);
}

.sub_category_list>li>a>.cname {
  display: inline-block;
}

.sub_category_list>li>a>.c_cnt {
  display: inline-block;
  margin-left: 3px;
}

.menu_list>li:not(:last-child) {
  border-bottom: var(--border);
}

.menu_list>li>a,
.menu_list>.link-list>li>a,
.menu_list>li>input {
  display: block;
  padding: 10px;
}

.menu_list>.link-list>li:not(:last-child) {
  border-bottom: var(--border);
}

.link_tit,
.category_list .has-sub,
.category_list .has-sub a,
.category_list .has-sub .icn,
.category_list > li > a,
.category_list > li > a > .cname,
.sub_category_list > li,
.menu_list li{
  transition:0.7s;
}

.link_tit:hover{
  transition:0.7s;
  font-weight: bold;
  color: var(--point-color);
  background-color: var(--sub-bg);
  letter-spacing: 1px;
}

.category_list > li > a:hover{
  transition: 0.7s;
  background-color: var(--sub-bg);
}

.category_list > li > a:hover .cname{
  transition:0.7s;
  font-weight: bold;
  color: var(--point-color);
  letter-spacing: 1px;
}

.category_list .has-sub:hover a{
  transition: 0.7s;
  font-weight: bold;
  color: var(--point-color);
  letter-spacing: 1px;
  background-color: var(--sub-bg);
}


.sub_category_list > li:hover{
  transition: 0.7s;
  font-weight: bold;
  color: var(--point-color);
  letter-spacing: 1px;
  background-color: var(--sub-bg);
}

.menu_list li:hover a{
  transition:0.7s;
  font-weight: bold;
  color: var(--point-color);
  letter-spacing: 1px;
  background-color: var(--sub-bg);
}



/*======================================*/
/*=============== paging ===============*/
/*======================================*/

.wrapper {
  overflow-y: auto;
}

.wrapper::-webkit-scrollbar {
  width: 0;
}

.wrapper::-webkit-scrollbar-thumb {
  width: 0;
}

.paging {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 35px;
  padding: 0 20px;
  border-top: var(--border);
}

.paging>.numbox>a.num {
  padding: 3px;
  margin: 0 3px;
}

.paging>.numbox>a.num>.selected {
  font-weight: bold;
  color: var(--point-color);
}





/*==========================================*/
/*=============== list-style ===============*/
/*==========================================*/

.confirm {
  margin: 10px 10px 0;
  border: var(--border);
  border-radius: var(--radius);
}

.confirm .c_title {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  padding: 10px;
}

.confirm .c_desc {
  border-top: var(--border);
  padding: 10px;
}

.confirm .c_desc:empty {
  display: none;
}

.empty_con {
  padding: 150px 10px;
  text-align: center;
}

#list_n1> :not(.n1),
#list_n2> :not(.n2),
#list_g1> :not(.g1),
#list_g2> :not(.g2),
#list_wz> :not(.wz) {
  display: none;
}

.n1 .thumb_i,
.n2 .thumb_i{
  display: none;
}

.list_w>div:not(.wz) .sum {
  display: none;
}

.list_w .xi-lock,
.xi-new-o {
  color: var(--sub-color);
  font-size: 0.9rem;
}

.th_w{
  padding:5px;
}

.thumb_i {
  width: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.n1 {
  margin: 10px;
  border: var(--border);
  border-radius: var(--radius);
}

.n1 .list_c {
  transition: 0.7s;
}

.n1 .list_c:not(:last-child) {
  border-bottom: var(--border);
}

.n1 .list_t {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 13px;
}

.n1 .list_t .title {
  max-width: calc(100% - 80px);
  min-width:calc(100% - 95px);
  font-weight: normal;
  overflow:hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: 0.7s;
}

.n1 .list_c:hover .list_t .title {
  letter-spacing: 1px;
  color: var(--point-color);
  transition: 0.7s;
}

.n1 .list_c .list_t .date {
  font-size: 0.9rem;
  color: var(--sub-color);
}

.n1 .thumb_l {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.n1 .arrow-r {
  display: none;
  margin-right: 15px;
}



.n2 {
  padding: 10px;
}

.n2 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.n2 .list_c {
  width: calc((100% - 10px) / 2);
  height: auto;
  border: var(--border);
  border-radius: var(--radius);
}

.n2 .list_t {
  width: 100%;
  font-weight: bold;
  border-bottom: var(--border);
}

.n2 .list_t .title {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

.n2 .list_t .title span {
  padding: 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.n2 .list_c .dc-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  color: var(--sub-color);
  font-size: 0.9rem;
  padding: 10px;
}

.n2 .list_c .dc-flex .catename::after {
  content: '·';
  margin:0 5px;
}




.g1 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: left;
  gap: 10px;
  padding: 10px;
}

.g1 .list_c {
  position: relative;
  width: calc((100% - 20px) / 3);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.g1 .list_c .thumb_i {
  position: relative;
  width: 100%;
  border-radius: var(--img-radius);
  overflow: hidden;
}

.g1 .list_c .list_t {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff77;
}

.g1 .list_c .list_t .title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 10px;
  text-align: center;
  font-weight: bold;
}

.g1 .list_c .list_t .fa-lock {
  display: none;
}

.g1 .xi-new-o {
  display: none;
}



.g2 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
}

.g2 .list_c {
  position: relative;
  width: calc((100% - 10px) / 2);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.g2 .list_c .thumb_i {
  position: relative;
  width: 100%;
  border-radius: var(--img-radius) var(--img-radius) 0 0;
}

.g2 .list_t .tt_abs {
  width: 100%;
  height: auto;
  padding: 10px;
  border-top: var(--border);
}

.g2 .list_t .title {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: bold;
}

.g2 .list_t .dc-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  color: var(--sub-color);
  font-size: 0.9rem;
}

.g2 .list_t .dc-flex .catename::after {
  content: '·';
  margin: 0 5px;
}



.wz {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
}

.wz .list_c {
  width: 100%;
  border: var(--border);
  border-radius: var(--radius);
}

.wz .list_c .list_t {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 10px;
  border-bottom: var(--border);
}

.wz .list_c .list_t .title {
  font-weight: bold;
  max-width: calc(100% - 80px);
  min-width: calc(100% - 95px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wz .list_c .list_t .date {
  font-size: 0.9rem;
  color: var(--sub-color);
}

.wz .list_c .c-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

.wz .list_c .th_w{
  position: relative;
  width: 25%;
  border-right: var(--border);
}

.wz .list_c .thumb_i {
  border-bottom-left-radius: var(--img-radius);
}

.wz .list_c .c-flex .sum {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  width: 75%;
  padding: 0 10px;
}





/*=======================================*/
/*=============== article ===============*/
/*=======================================*/

.entry {
  padding: 10px;
}

.entry .article .title_wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
}

.entry .article .title_wrap .title {
  font-weight: bold;
}

.entry .article .title_wrap .date {
  font-size: 0.9rem;
  color: var(--sub-color);
}

.entry .article .detail {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 6.5px 10px;
  margin-bottom: 10px;
  border: var(--border);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}

.entry .article .detail .tag_trail,
.entry .article .detail .untagged {
  padding: 3.5px 0;
}

.entry .article .detail .admin {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

.entry .article .detail .admin>a {
  background: var(--sub-bg);
  color: var(--sub-color);
  border: var(--border);
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 0.85rem;
}

.entry .article .detail .tag_trail a:before {
  content: '#';
}

.entry .article .atc_bottom {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
}

.entry .article .action_trail {
  display: inline-block;
  padding: 10px;
  padding-bottom: 9px;
  border: var(--border);
  border-radius: var(--radius);
  font-weight: bold;
}

.entry .article .ny {
  padding: 10px;
  border: var(--border);
  border-radius: var(--radius);
}

.entry .tt-box-total {
  display: none;
}

.entry .tt-comment-cont {
  display: none;
}

.entry .tt-comment-cont.dp_flex {
  display: flex;
}

.entry .tt-comment-cont>form {
  padding: 10px 0 0 !important;
}

.entry .article .postbtn {
  display: inline-block;
  vertical-align: middle;
}





/*==========================================*/
/*========== article / font style ==========*/
/*==========================================*/

.ny p>a {
  font-weight: bold;
  color: var(--point-color);
}

h2,
h2[data-ke-size] {
  line-height: calc(var(--line-height) * 1.62);
}

h3,
h3[data-ke-size] {
  line-height: calc(var(--line-height) * 1.44);
}

h4,
h4[data-ke-size] {
  line-height: calc(var(--line-height) * 1.25);
}

p[data-ke-size='size18'] {
  line-height: calc(var(--line-height) * 1.12);
}

p[data-ke-size='size16'] {
  line-height: var(--line-height);
}

p[data-ke-size='size14'] {
  line-height: calc(var(--line-height) * 0.87);
}




/*==========================================*/
/*=============== imageblock ===============*/
/*==========================================*/

figure.imageblock.alignCenter {
  margin: 0 auto 5px !important;
}
/*image, 1*/

figure.imagegridblock,
#tt-body-page figure.imagegridblock {
  margin: 0 auto 5px !important;
}
/*image, more than 1 */

figure.imagegridblock .image-container{
  flex-direction: row;
  flex-wrap: nowrap;
  gap:5px;
}

figure.imagegridblock .image-container>span {
  margin-top: 0 !important;
}
/*image, more than 1, margin zero*/





/*==========================================*/
/*=============== blockquote ===============*/
/*==========================================*/

.ny blockquote {
  font-size: 1rem;
  line-height: var(--line-height);
  color: var(--font-color);
  letter-spacing: 0.5px;
}

blockquote[data-ke-style='style1'] {
  text-align: center;
  margin: 10px 0;
}

blockquote[data-ke-style='style1']:before {
  content: '\f10d';
  font-size: 1.4rem;
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  font-style: italic;
  display: block;
  margin-bottom: 10px;
}

blockquote[data-ke-style='style2'] {
  padding: 5px 10px;
  padding-right: 0;
  border-left: var(--border);
  border-left-width: 5px;
  margin: 10px 0;
}

blockquote[data-ke-style='style3'] {
  padding: 10px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--sub-bg);
  margin: 10px 0;
}





/*==========================================*/
/*=========== video Optimization ===========*/
/*==========================================*/

.ny iframe {
  max-width: 100%;
}

.youtube {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

.youtube iframe {
  position: absolute;
  width: 100%;
  height: 100%;
}





/*=========================================*/
/*========== article / list-type ==========*/
/*=========================================*/

ul[data-ke-list-type='disc'],
ul[data-ke-list-type='circle'],
ol[data-ke-list-type='decimal'] {
  padding-left: 15px;
}





/*=========================================*/
/*============ image Slideshow ============*/
/*=========================================*/

figure.imageslideblock.alignCenter {
  margin: 0 auto 10px;
}

figure.imageslideblock div.image-container {
  position: relative;
  width: 100% !important;
  height: unset !important;
  padding-bottom: 100%;
  min-width: unset;
  max-width: unset;
  min-height: unset;
  max-height: unset;
  align-items: unset;
}

figure.imageslideblock div.image-container span.image-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
}

figure.imageslideblock div.image-container img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

figure.imageslideblock figcaption {
  color: var(--font-color);
  font-size: 1rem;
  padding-top: 0;
  min-height: unset;
}





/*========================================*/
/*=============== moreless ===============*/
/*========================================*/

div[data-ke-type="moreLess"] {
  margin: 10px 0;
}

div[data-ke-type='moreLess'] .btn-toggle-moreless {
  display: inline-block;
  color: var(--font-color);
  font-size: 1rem;
  line-height: 1.4rem;
  padding: 5px 10px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--sub-bg);
}

div[data-ke-type='moreLess']:not(.open)>.btn-toggle-moreless::before {
  content: '\f107';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 3px;
}

div[data-ke-type='moreLess'].open>.btn-toggle-moreless::before {
  content: '\f106';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 3px;
}

div[data-ke-type='moreLess'].open .moreless-content {
  padding: 10px;
  margin-top: 10px;
  background: var(--main-bg);
  border: var(--border);
  border-radius: var(--radius);
}





/*=========================================*/
/*=============== fileblock ===============*/
/*=========================================*/

figure.fileblock {
  margin: 10px 0;
  width: 200px;
  height: unset;
  border: var(--border);
  border-radius: var(--radius);
}

figure.fileblock a {
  position: relative;
  height: unset;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  transition: 0.7s;
}


figure.fileblock .image {
  position: relative;
  background: none;
  margin: 0;
  width: auto;
  height: auto;
}

figure.fileblock .image:after {
  content: "\f07b";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 28px;
  padding: 15px 10px;
}

figure.fileblock .desc {
  position: relative;
  left: unset;
  right: unset;
  top: unset;
  bottom: unset;
  width: calc(100% - 50.5px);
  padding: 15px 10px;
  padding-left: 0;
}

figure.fileblock .filename {
  color: var(--font-color);
  font-size: 1rem;
  height: auto;
  margin: 0;
}

figure.fileblock .name {
  max-width: 95%;
  height: auto;
  font-weight: bold;
}

figure.fileblock .size {
  font-size: 0.85rem;
  color: var(--sub-color);
  height: auto;
  margin: 0;

}

figure.fileblock a::after {
  display: none;
}

figure.fileblock a>.down {
  display: block;
  width: 100%;
  border-top: var(--border);
  text-align: center;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 10px;
  background: var(--sub-bg);
}

figure.fileblock a>.down>span:after {
  content: '\f358';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1rem;
  margin-left: 3px;
}

figure.fileblock a:hover .down {
  letter-spacing: 2px;
  color: var(--point-color);
  transition: 0.7s;
}





/*=========================================*/
/*=============== codeblock ===============*/
/*========================================*/

pre[data-ke-type="codeblock"] {
  padding: 10px;
  margin: 10px 0;
  background: var(--main-bg);
  border: var(--border);
  border-radius: var(--radius);
}

pre[data-ke-type="codeblock"]>code {
  font-family: 'Pretendard-Regular';
}

pre[data-ke-type="codeblock"] code::-webkit-scrollbar {
  width: 3px;
  height: 3px;
  background: var(--scroll-bg);
}

pre[data-ke-type="codeblock"] code::-webkit-scrollbar-thumb {
  width: 3px;
  height: 3px;
  background: var(--scroll-th);
  border: 0;
}





/*=========================================*/
/*=========== protected article ===========*/
/*=========================================*/

.protect {
  padding: 10px;
}

.protect .title_wrap {
  padding: 10px;
  border: var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

.protect .title_wrap .title {
  font-weight: bold;
}

.protect .title_wrap .date {
  color: var(--sub-color);
  font-size: 0.9rem;
}

.article_p {
  padding: 120px 10px;
  margin-bottom: 10px;
  text-align: center;
}

.article_p .text {
  margin-bottom: 10px;
}

.article_p .form {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.article_p .form input {
  width: 120px;
  line-height: 35px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--main-bg);
  text-align: center;
}

.article_p .form input::placeholder {
  font-size: 1rem;
  color: var(--sub-color);
  letter-spacing: 0.5px;
}

.article_p .form button {
  width: 37px;
  height: 37px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--main-bg);
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.article_p .form button>i {
  color: var(--sub-color);
}





/*======================================*/
/*=============== taglog ===============*/
/*======================================*/

.taglog {
  padding: 10px;
}

.taglog .tag_title {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  border: var(--border);
  border-radius: var(--radius);
  padding: 10px;
  margin-bottom: 10px;
  gap: 5px;
}

.taglog .tag_title span {
  font-weight: bold;
}

.taglog .tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.taglog .tags a {
  width: calc((100% - 40px) / 5);
  padding: 10px 5px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: var(--sub-bg);
  border: var(--border);
  border-radius: var(--radius);
  transition: 0.7s;
}

.taglog a:before {
  content: '#';
}

.taglog a:hover {
  font-weight: bold;
  letter-spacing: 1.5px;
  color: var(--point-color);
  transition: 0.7s;
}





/*======================================*/
/*=============== notice ===============*/
/*======================================*/

.notice_wrap {
  padding: 10px;
}

.notice_wrap .notice_title {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  border: var(--border);
  border-radius: var(--radius);
  padding: 10px;
  margin-bottom: 10px;
}

.notice_wrap .notice_title span {
  font-weight: bold;
}

.n_entry {
  border: var(--border);
  border-radius: var(--radius);
}

.n_entry:not(:last-child) {
  margin-bottom: 10px;
}

.n_entry .title_wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-bottom: var(--border);
}

.n_entry .title_wrap .title {
  max-width: calc(100% - 80px);
  min-width:calc(100% - 95px);
  font-weight: bold;
  overflow:hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.n_entry .title_wrap .date {
  color: var(--sub-color);
  font-size: 0.9rem;
}

.n_entry .article {
  padding: 10px;
}

.n_entry .postbtn {
  display: none !important;
}





/*======================================*/
/*=============== comment ===============*/
/*======================================*/

/*----- setting -----*/
.tt-comment-cont * {
  font-family: 'Pretendard-Regular' !important;
  font-size: var(--font-size) !important;
  line-height: var(--line-height) !important;
  color: var(--font-color) !important;
}

.tt-comment-cont {
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.entry .tt-comment-cont{
  padding:0;
}

.tt_ico_lock,
.tt-button-modify,
.tt-box-write .tt-xe-label-text {
  font-size: 0 !important;
}

.tt-box-total {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  order: 1;
  padding: 10px !important;
  margin-bottom: 10px;
  border: var(--border) !important;
  border-radius: var(--radius);
}

.tt-box-total .tt_txt_g {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap:5px;
  font-weight: bold;
}

.tt-box-total .tt_txt_g:before {
  content: "\ea12";
  font-family: xeicon !important;
  font-size: 0.9rem !important;
  transform: scaleX(-1);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10px;
  aspect-ratio: 1;
}

.tt-box-total .tt_num_g {
  padding-left: 0 !important;
}

.tt-area-reply {
  order: 3;
  margin-bottom: 0 !important;
}



/*----- write form -----*/
.tt-comment-cont>form {
  order: 2;
}

.tt-list-reply-comment .tt-area-write {
  /*답글 입력폼*/
  padding: 10px 10px 0;
}

.tt-btn-cancel {
  height: 30px !important;
  width: 60px !important;
  border: var(--border) !important;
  border-radius: var(--radius) !important;
  background: var(--main-bg);
}

.tt-area-write {
  display: block !important;
  margin-bottom: 10px;
}

.tt-area-write .tt-box-account {
  margin-bottom: 10px !important;
}

.tt-area-write .tt-box-account input {
  padding: 10px !important;
  border: var(--border) !important;
  border-radius: var(--radius) !important;
  background: var(--main-bg);
}

.tt-area-write .tt-box-thumb {
  display: none;
}

.tt-box-textarea {
  margin-bottom: 10px !important;
  padding: 10px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--main-bg);
}

.tt-box-textarea .tt_txt_user {
  display: none !important;
}

.tt-box-textarea .tt-inner-g {
  overflow: auto !important;
  min-height: unset !important;
  max-height: 110px !important;
  padding: 0 5px 0 0 !important;
  border: unset !important;
  border-radius: unset !important;
  text-align: justify;
}

.tt-box-textarea .tt-inner-g::-webkit-scrollbar {
  background: var(--main-bg);
}

.tt-box-textarea .tt-inner-g::-webkit-scrollbar-thumb {
  background: var(--scroll-th);
}

.tt-box-textarea textarea,
.tt-box-textarea div {
  height: unset !important;
}

.tt-box-write .tt-xe-input-helper {
  margin-right: 10px !important;
}

.tt-btn_register {
  width: 60px !important;
  border-radius: var(--radius) !important;
  font-weight: bold;
  background-color: var(--sub-bg) !important;
  border: var(--border) !important;
}

.tt-btn_register:disabled,
.tt-btn_register:hover,
.tt-btn_register:focus {
  background: var(--main-bg) !important;
  border: var(--border) !important;
}



/*----- comment list -----*/
.tt-list-reply {
  display: flex;
  flex-direction: column-reverse;
  border-bottom: 0 !important;
}

.tt-list-reply>.tt-item-reply:not(.rp_general) {
  order: 1;
  background: var(--main-bg);
  /*pinned comment bg color*/
}

.tt-item-reply {
  padding: unset !important;
}

.tt-wrap-cmt {
  padding: 10px;
  align-items: flex-start;
}

.tt-wrap-cmt .tt-box-meta {
  margin-bottom: 2.5px !important;
}

.tt-wrap-cmt .tt-link-user {
  font-weight: bold;
}

.tt_ico_lock {
  transform: scale(0.7);
}

.tt-wrap-cmt .tt_desc {
  margin-bottom: 10px !important;
}

.tt-wrap-cmt .tt_date {
  padding: unset !important;
  font-size: 0.9rem !important;
  color: var(--sub-color) !important;
}

.tt-wrap-info {
  display: flex;
  align-items: center;
}

.tt-link-comment span {
  padding: unset !important;
  color: var(--sub-color) !important;
}

.tt-link-comment span.tt_txt_g {
  font-size: 0.9rem !important;
}

.tt-wrap-cmt .tt-wrap-link-comment {
  padding-left: 5px !important;
}

.tt-wrap-cmt .tt-box-modify {
  top: 6px !important;
  right: 3px !important;
}

.tt-wrap-cmt .tt-button-modify {
  transform: scale(0.8);
}

.tt-wrap-cmt .tt-list-modify {
  width: 80px !important;
  padding: 10px !important;
  box-shadow: none !important;
  border-radius: var(--radius) !important;
  border: var(--border);
}

.tt-wrap-cmt .tt-list-modify a {
  padding: 0 !important;
  letter-spacing: 1px !important;
  text-align: center !important;
}

.tt-box-thumb {
  margin-right: 10px !important;
  border: var(--border);
  border-radius: var(--radius);
}

.tt-box-thumb>a {
  display: inline-block;
  padding: 5px;
}

.tt-thumbnail {
  width: 40px !important;
  height: 40px !important;
  border-radius: var(--radius) !important;
  border: var(--border);
}

.tt-thumbnail:after {
  border: none !important;
  border-radius: unset !important;
  box-shadow: unset !important;
}

.tt-wrap-cmt .tt-box-content {
  width: calc(100% - 70px) !important;
}

.tt-item-reply .tt-list-reply-comment {
  border-top: unset !important;
  margin: unset !important;
}

.tt-item-reply .tt-list-reply-comment .tt-box-thumb {
  display: none;
}

.tt-item-reply .tt-list-reply-comment .tt-item-reply::before {
  position: unset !important;
  border: unset !important;
}

.rp_general {
  border: var(--border) !important;
  border-radius: var(--radius);
  /*comment item bg color*/
}

.rp_general .tt-list-reply-comment .tt-item-reply {
  border-top: var(--border);
}

.rp_general:not(:first-child) {
  margin-bottom: 10px;
}

.tt-list-reply-comment .tt-box-content {
  width: 100% !important;
}



/*----- pinned comment -----*/
.tt-item-reply .tt_cmt_info {
  border-bottom: var(--border);
  margin: unset !important;
  padding: 7px 10px;
}

.tt-item-reply:has(.tt_cmt_info) {
  border: var(--border) !important;
  border-radius: var(--radius);
  margin-bottom: 10px;
}

.tt-item-reply:has(.tt_cmt_info) .tt-wrap-cmt .tt-box-modify {
  top: 4px !important;
  right: 3px !important;
}

.tt_ico_fixed {
  transform: scale(0.8);
}

.tt-item-reply .tt_cmt_info .tt_ico_fixed {
  margin-bottom: 0 !important;
}



/*----- prev more comment -----*/
.tt_btn_prev_more {
  padding: 10px !important;
  margin-bottom: 10px !important;
  border: var(--border) !important;
  border-radius: var(--radius);
}





/*==========================================*/
/*=============== cover item ===============*/
/*==========================================*/
.cover_wrap {
  padding: 10px;
}

.c_item:not(:last-child) {
  margin-bottom: 10px;
}

.cn1,
.cg1,
.cl,
.cwz {
  border: var(--border);
  border-radius: var(--radius);
}

.c_item .title_wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  border-bottom: var(--border);
  padding: 10px;
}

.c_item .title_wrap span {
  font-weight: bold;
}

.c_item .list_c .thumb_i {
  position: relative;
  width: 100%;
}

.c_item .list_c .thumb_i img {
  width: 100%;
}

.c_item .list_c .thumb_i .th {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



.cn1 .cn_content_wrap {
  padding: 10px;
}

.cn1 .cn_content {
  padding: 10px;
}

.cn1 .cn_content:not(:last-child),
.cn1 .cn_content .cn_item:not(:last-child) {
  margin-bottom: 10px;
}

.cn1 .cn_content .cn_item{
  padding:10px;
  border: var(--border);
  border-radius: var(--radius);
}

.cn1 .cn_content .cn_tt {
  margin-bottom: 10px;
  font-weight: bold;
}

.cn1 .cn_content .cn_sum {
  text-align: justify;
}

.cn1 .cn_content .cn_img {
  width: 100%;
  margin-bottom: 10px;
}

.cn1 .cn_content .cn_img img {
  max-width: 100%;
  border-radius: var(--img-radius);
}



.cn2 .cn_content .cn_img {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: var(--border);
  border-radius: var(--img-radius);
}

.cn2 .cn_content .cn_img img {
  max-width: 100%;
  border-radius: var(--img-radius);
}

.cn2 .cn_content .cn_text_wrap {
  padding: 10px;
  margin-bottom: 10px;
  border: var(--border);
  border-radius: var(--radius);
}

.cn2 .cn_content .cn_text_wrap .cn_tt {
  font-weight: bold;
  margin-bottom: 10px;
}

.cn2 .cn_content .cn_sum {
  text-align: justify;
}



.cg1 .cg_content {
  padding: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.cg1 .list_c {
  position: relative;
  width: calc((100% - 20px) / 3);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cg1 .list_c .thumb_i {
  border-radius: var(--img-radius);
}

.cg1 .list_c .list_t {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff77;
}

.cg1 .list_c .list_t .title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 10px;
  text-align: center;
  font-weight: bold;
}



.cg2 .cg_content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.cg2 .list_c {
  width: calc((100% - 10px) / 2);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cg2 .list_c .th_w{
  border-bottom: var(--border);
}

.cg2 .list_c .thumb_i {
  border-radius: var(--img-radius) var(--img-radius) 0 0;
}


.cg2 .list_c .list_t {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 10px;
  font-weight: bold;
}



.cl .cl_content {
  padding: 10px;
}

.cl .cl_text_wrap a.thumb_l {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.cl .cl_text_wrap:not(:last-child) {
  border-bottom: var(--border);
}

.cl .cl_text_wrap{
  transition: 0.7s;
}

.cl .cl_text_wrap:hover .cl_tt{
  transition:0.7s;
  font-weight: bold;
  color: var(--point-color);
  letter-spacing: 1px;
}

.cl .cl_text_wrap .cl_tt {
  max-width: calc(100% - 80px);
  min-width: calc(100% - 95px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cl .cl_text_wrap .date {
  color: var(--sub-color);
  font-size: 0.9rem;
}




.cwz .list_c:not(:last-child) {
  border-bottom: var(--border);
}

.cwz .list_c .list_t {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 10px;
  border-bottom: var(--border);
}

.cwz .list_c .list_t .cwz_tt {
  max-width: calc(100% - 80px);
  min-width: calc(100% - 95px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: bold;
  transition: 0.7s;
}

.cwz .list_c:hover .list_t .cwz_tt{
  transition:0.7s;
  font-weight: bold;
  color: var(--point-color);
  letter-spacing: 1px;
}

.cwz .list_c .list_t .date {
  color: var(--sub-color);
  font-size: 0.9rem;
}

.cwz .list_c .c-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

.cwz .list_c .th_w{
  width: 25%;
  border-right: var(--border);
  overflow: hidden;
}

.cwz .list_c .thumb_i {
  border-bottom-left-radius: var(--img-radius);
}

.cwz .cwz_text_wrap {
  width: 75%;
  padding: 0 10px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}





/*=========================================*/
/*================== RWD ==================*/
/*=========================================*/

@media (max-width:767px) {

  #container {
    width: calc(100% - 40px);
    margin: 20px auto;
    flex-wrap: wrap;
    row-gap: unset;
  }

  #content {
    width: 100%;
    height: auto;
  }

  .g1 .list_c {
    width: calc((100% - 10px) / 2);
  }

  .n2 .list_c {
    width: 100%;
  }

  .taglog .tags a {
    width: calc((100% - 20px) / 3);
  }
}

.container_postbtn{
display: none !important;
}

 [data-tistory-react-app="Namecard"] {
display: none;
}

/* 1) 댓글 버튼(액션 트레일) 숨기기 */ 
.entry .article .atc_bottom { display: none !important; } 
/* 2) 댓글 리스트(<s_rp> 이하) 전체 숨기기 */ 
s_rp { display: none !important; }

ul.tt_category > li > a { display: none; }

/* 1) untagged 요소와 관련 링크 완전 숨기기 */
.entry .article .detail .untagged,
.entry .article .detail .tag_trail,
.entry .article .detail .tag_trail a {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* 2) 부모 .detail이 오직 untagged만 포함해서 빈 박스가 남는 경우
   (지원되는 브라우저에서는 :has()로 부모까지 제거) */
.entry .article .detail:has(.untagged) {
  display: none !important;
}

/* 3) :has 미지원 브라우저용 대체(부모의 불필요한 테두리/패딩만 제거)
   — 다른 유용한 detail 영역을 숨기지 않도록 최소한으로 조정했습니다. */
.entry .article .detail {
  /* 아래 세 줄은 부모 박스의 시각적 경계가 남아있다면 제거해줍니다.
     주의: 다른 detail 콘텐츠(예: admin, atc_bottom 등)에 영향이 가면
     원하면 이 블록을 지워 주세요. */
  border: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

/* 새 글 N 아이콘 완전 제거 (모든 위치 대응) */
[class*="new"],
[class*="New"],
[class*="NEW"] {
  background: none !important;
  color: inherit !important;
}

[class*="new"]::before,
[class*="new"]::after,
[class*="New"]::before,
[class*="New"]::after,
[class*="NEW"]::before,
[class*="NEW"]::after {
  content: none !important;
  background: none !important;
  display: none !important;
}

img[src*="new"],
img[alt*="new"],
img[src*="NEW"] {
  display: none !important;
}

/* 모든 날짜 숨기기 */
.date {
  display: none !important;
}

/* 헤더 높이를 강제로 줄여서 위/아래 사이 공간을 없앰 */
:root {
  --header-height: 109px !important;  /* 원래 180px 근처 → 130으로 줄임 */
}

/* free-area가 억지로 헤더 전체를 채우지 않게 */
.free-area {
  height: auto !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* 공지 맨 위에 JS가 만들어주는 "Notice" 제목 숨기기 */
.notice_wrap .notice_title {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 숨긴 다음 진짜 공지 박스들을 위로 당기기 */
.notice_wrap {
  padding-top: 10px !important;
}

.notice_wrap .n_entry {
  margin-top: 0 !important;
}

/* 공지란에서만 좌우 화살표 숨기기 */
#content:has(.notice_wrap) .no-more-prev,
#content:has(.notice_wrap) .no-more-next {
  display: none !important;
}

/* 혹시 아이콘 단독으로 표시될 경우 추가 */
#content:has(.notice_wrap) .no-more-prev i,
#content:has(.notice_wrap) .no-more-next i {
  display: none !important;
}

/* 터치/탭 할 때 나오는 기본 회색 하이라이트 제거 */
* {
  -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* 모바일에서 눌렀을 때 배경색 안 바뀌게 (안드로이드 보정) */
a, button, input, textarea {
  -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
  outline: none;
}

/* 카테고리/메뉴 누를 때 생기는 회색 배경 없애기 */
.category_list > li > a:hover,
.category_list > li > .has-sub > a:hover,
.sub_category_list > li:hover,
.menu_list li:hover a {
  background-color: transparent !important;
  font-weight: inherit !important;   /* 굵어지는 것도 싫으면 */
  color: inherit !important;
  letter-spacing: inherit !important;
}

/* CATEGORY / MENU 클릭했을 때 생기는 회색 배경 없애기 */
.came,
.came .category,
.came .menu,
.came .catett,
.came .menutt {
  background: transparent !important;
}

/* 포커스됐을 때(열려 있을 때)도 배경 제거 */
.came .category:focus,
.came .category:focus-within,
.came .menu:focus,
.came .menu:focus-within {
  background: transparent !important;
}

.came .catett:focus,
.came .catett:active,
.came .menutt:focus,
.came .menutt:active {
  background: transparent !important;
  outline: none !important;
}

/* 드롭다운 안의 항목들도 클릭 시 배경 빼기 */
.tt_category li a:active,
.tt_category li a:focus,
.menu_list li a:active,
.menu_list li a:focus {
  background: transparent !important;
}

/* CATEGORY ↔ MENU 순서 바꾸기 (CSS만) */
.came {
  display: flex;
  flex-direction: row-reverse;
}








