@charset "utf-8";

/*
 *
 * CSS CONTENTS:
 *
 * 01. Web Font
 * 02. Type Selector Reset
 * 03. Accessibility Navigation
 * 04. Layout Selector
 * 05. Components
 * 06. Entry Content
 * 07. Comment
 * 08. Aside(sidebar)
 * 09. ETC
 * 10. Option(Color Type & List Type)
 * 11. Retina Display
 * 12. Media Screen
 *
 */



@font-face {
  font-family: 'UhBeeZZIBA';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2103@1.1/UhBeeZZIBA.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Cafe24Ohsquare';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2203@1.0/Cafe24Ohsquare.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}



/* Web Font Load */
@import url('https://fonts.googleapis.com/css?family=Nanum+Myeongjo:800&subset=korean');


/* 눈누 메인 폰트 로드 */
@font-face {
    font-family: 'Danjo-bold-Regular';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2307-1@1.1/Danjo-bold-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* 눈누 헤드 타이틀 폰트 로드 */
@font-face {
    font-family: 'JalnanGothic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_231029@1.1/JalnanGothic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* 눈누 pc용 본문 폰트 로드 */
@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}



/* Type Selector Reset */
body {
  -webkit-text-size-adjust: 100%;
  font-weight: 400;
  font-family: 'AppleSDGothicNeo', Pretendard-Regular, sans-serif;
  font-size: 1em;
  line-height: 1.25;
  color: #555;

}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 100%;
}

div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, figure {
  margin: 0;
  padding: 0;
}

header, footer, section, article, aside, nav, hgroup, details, menu, figure, figcaption {
  display: block;
}

button, input[type=submit], input[type=reset], input[type=button] {
  overflow: visible;
  cursor: pointer;
}

input[type=text], input[type=email], input[type=password], input[type=submit], textarea {
  -webkit-appearance: none;
}

input, select, textarea, button {
  font-family: Pretendard-Regular, sans-serif;
  font-size: 100%;
  border-radius: 0;
}

button {
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

ul li {
  list-style: none;
}

img, fieldset {
  border: none;
  /* vertical-align: top; */
}

hr {
  display: none;
}

a, a:link {
  text-decoration: none;
  color: #555;
}

a:visited {
  text-decoration: none;
}

a:hover, a:focus {
  text-decoration: underline;
  color: #222;
}

a:active {
  text-decoration: none;
}

/* Accessibility Navigation */
#acc-nav {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 0;
}

#acc-nav a {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin-left: -1px;
  margin-bottom: -1px;
  text-align: center;
  font-weight: bold;
  font-size: 0.875em;
  color: #000;
  white-space: nowrap;
}

#acc-nav a:focus, #acc-nav a:hover, #acc-nav a:active {
  width: 100%;
  height: auto;
  padding: 10px 0;
  background: #000;
  color: #fff;
  z-index: 1000;
}

/* Layout Selector */
/*

#header {
  border-bottom: 1px solid #eee;
}
*/




#header .inner {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  box-shadow:3px 3px 10px 0 rgba(0,0,0,0.3);
  height: 70px;
  margin-bottom: 50px;
}

#header h1 {
  padding: 17px 0;
  font-family: 'Nanum Myeongjo';
  font-weight: 800;
  font-size: 1.75em;
  line-height: 32px;
  letter-spacing: -0.2px;
  color: #333;
}

#header h1 a {
  display: inline-block;
  height: 32px;
  text-decoration: none;
  color: #333;
  vertical-align: top;
  font-family: 'YEONGJUSeonbiTTF'!important;
}

#header h1 img {
  width: auto;
  height: 32px;
}

#header .util {
  position: absolute;
  top: 24px;
  right: 0;
}

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

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

#header .util .search input {
  width: 32px;
  height: 32px;
  padding: 5px 15px;
  border: 0;
  background-color: transparent;
  font-size: 0.875em;
  line-height: 1;
  outline: none;
  box-sizing: border-box;
}

#header .util .search input:focus {
  border-color: #484848;
}

#header .util .search input::placeholder {
  color: #969696;
}

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

#header .util .search.on {
  width: 200px;
}

#header .util .search.on:before {
  content: none;
}

#header .util .search.on input {
  display: block;
  width: 100%;
  border: 1px solid #eee;
  border-radius: 32px;
}

#header .util .search.on button {
  border-color: transparent;
}

#header .util .profile {
  position: relative;
  float: left;
  margin-left: 14px;
}

#header .util .profile button {
  display: block;
  overflow: hidden;
  width: 32px;
  height: 32px;
  border: 1px solid #eee;
  border-radius: 50%;
}

#header .util .profile img {
  width: 100%;
  height: 100%;

}

#header .util .profile nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 30;
  width: 96px;
  margin: 0 0 0 -48px;
  padding-top: 12px;
}

#header .util .profile ul {
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

#header .util .profile ul li a {
  display: block;
  margin-top: -1px;
  border: 1px solid #eee;
  background-color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 0.875em;
  line-height: 2.3125rem;
  color: #777;
}

#header .util .profile ul li a:focus,
#header .util .profile ul li a:hover {
  background-color: #fafafa;
  color: #333;
}

#header .util .menu {
  display: none;
}

#gnb {
  height: 66px;
  overflow-x: auto;
  overflow-y: hidden;
  -ms-overflow-style: none;
}

#gnb::-webkit-scrollbar {
  display: none;
}

#gnb ul {
  display: inline-block;
  margin-left: -30px;
  vertical-align: top;
}

#gnb ul li {
  float: left;
  padding: 0 26px;
}

#gnb ul li a {
  position: relative;
  display: block;
  text-decoration: none;
  padding: 22px 4px 24px;
  color: #777;
}

#gnb ul li a:hover,
#gnb ul li.current a {
  color: #333;
}

#gnb ul li.current a:after,
#gnb ul li a:hover:after,
#gnb ul li a:focus:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #333;
}

#container {
  position: relative;
}

#container .content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#container .content-wrap:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 10;
  width: 0px;
  height: 100%;
  margin-left: 255px;
  background-color: #eee;
}

#container .content-wrap:after {
  content: "";
  clear: both;
  display: block;
  height: 0;
  visibility: hidden;
}

#content {
  float: left;
  width: 68.518518518518519%;
  padding: 0px 0 60px;
  box-sizing: border-box;
}

#content>.inner:after {
  content: "";
  clear: both;
  display: block;
  height: 0;
  visibility: hidden;
}

#aside {
  float: right;
  width: 21.296296296296296%;
  padding: 75px 0 32px;
  box-sizing: border-box;
}

#aside .close,
#aside .profile {
  display: none;
}

#footer {
  padding: 38px 0px 20px 28px;
  border-top: 0px solid #eee;
  
}

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

#footer p {
  margin-bottom: 10px;
  font-size: 0.875em;
  
}

#footer .order-menu a {
  display: inline-block;
  margin-bottom: 23px;
  font-size: 0.8125em;
  vertical-align: middle;
  color: #555;
}

#footer .order-menu a:hover,
#footer .order-menu a:focus {
  color: #333;
}

#footer .order-menu a:before {
  content: "";
  display: inline-block;
  width: 2px;
  height: 2px;
  margin: 0 20px 2px 15px;
  background-color: #d2d2d2;
  vertical-align: middle;
}

#footer .order-menu a:first-child::before {
  content: none;
}

#footer .page-top {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border: 1px solid #eee;
  border-radius: 50%;
  background: #fff url(./images/ico_package.png) no-repeat -100px -200px;
  text-indent: -999em;
}

#footer .page-top:focus,
#footer .page-top:hover {
  background-color: #757575;
  background-position-x: -150px;
}

#tt-body-index .main-slider {
  display: block;
}

#tt-body-index #content {
  padding-bottom: 43px;
}

#tt-body-index .post-cover.notice {
  height: auto;
  background-color: transparent;
}

#tt-body-index .post-cover.notice h1 {
  margin: 0;
  font-size: 1.6875em;
  line-height: 1.5;
  color: #000;
}

#tt-body-index .post-cover.notice h1 a {
  color: #000;
}

#tt-body-index .post-cover.notice .meta {
  margin: 0 0 30px;
  color: rgba(0, 0, 0, 0.6);
}

#tt-body-page #container {
  /*padding-top: 339px;*/
}

#tt-body-page.post-cover-hide #container {
  padding-top: 0;
}

#tt-body-page .post-cover {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
}

#tt-body-tag .tags {
  margin-top: 0;
}

/* Components */
.btn, a.btn {
  display: inline-block;
  width: 100px;
  height: 36px;
  background-color: #c4c4c4;
  text-align: center;
  font-weight: 400;
  font-size: 14px;
  line-height: 36px;
  color: #fff;
  vertical-align: middle;
}

.btn:hover {
  background-color: #676767;
}

.main-slider {
  display: none;
  position: relative;
  top: -1px;
  z-index: 20;
  overflow: hidden;
  width: 100%;
  background-color: #cbcbcb;
}

.main-slider ul {
  position: relative;
}

.main-slider ul li {
  display: table;
  width: 100%;
  height: 340px;
  background-position: 50% 50%;
  background-size: cover;
}

.main-slider ul li a {
  display: table;
  width: 100%;
  height: 100%;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.15);
}

.main-slider ul li .inner {
  display: table-cell;
  vertical-align: middle;
}

.main-slider ul li .box {
  display: block;
  max-width: 910px;
  margin: 0 auto;
  padding: 0 24px 6px;
}

.main-slider ul li .text {
  display: block;
  overflow: hidden;
  max-width: 65%;
  text-overflow: ellipsis;
  font-weight: 300;
  font-size: 2.125em;
  line-height: 1.2352;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.main-slider ul li .btn {
  display: block;
  width: 118px;
  height: 35px;
  margin-top: 32px;
  border-radius: 35px;
  line-height: 35px;
  background-color: #fff;
  color: #555;
}

.main-slider ul li .btn:hover {
  background-color: #04beb8;
  color: #fff;
}

.main-slider .prev,
.main-slider .next {
  display: none;
}

.main-slider .paging {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  margin-left: 447px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.main-slider .paging button {
  display: block;
  width: 8px;
  height: 8px;
  margin: 10px 0;
  text-indent: -999em;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
}

.main-slider .paging .current {
  background-color: rgba(255, 255, 255, 1);
}

.cover-thumbnail-1 {
  position: relative;
  margin-bottom: 77px;
}

.cover-thumbnail-1 h2 {
  margin-bottom: 19px;
  font-weight: 500;
  font-size: 1em;
  color: #555;
}

.cover-thumbnail-1 ul {
  display: inline-block;
  width: 103.378378378378378%;
  margin-left: -3.378378378378378%;
  margin-bottom: -40px;
  vertical-align: top;
}

.cover-thumbnail-1 ul li {
  float: left;
  width: 33.333333333333333%;
  padding-left: 3.26797385620915%;
  margin: 0 0 38px;
  box-sizing: border-box;
}

.cover-thumbnail-1 ul li a {
  display: block;
  text-decoration: none;
}

.cover-thumbnail-1 ul li a:hover .title,
.cover-thumbnail-1 ul li a:focus .title {
  text-decoration: underline;
}

.cover-thumbnail-1 ul li figure {
  display: block;
  height: 0;
  margin-bottom: 9px;
  padding-bottom: 130.434782608695652%;
  background-color: #f8f8f8;
}

.cover-thumbnail-1 ul li figure img {
  width: 100%;
  height: auto;
}

.cover-thumbnail-1 ul li .title {
  display: block;
  overflow: hidden;
  width: 95%;
  margin-bottom: 2px;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.75;
}

.cover-thumbnail-1 ul li .date {
  display: block;
  font-size: 0.75em;
  color: #999;
}

.cover-thumbnail-1 .more {
  position: absolute;
  top: 4px;
  right: 0;
  font-weight: 300;
  font-size: 0.875em;
  color: #999;
}

.cover-thumbnail-2 {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 77px;
}

.cover-thumbnail-2 h2 {
  margin-bottom: 28px;
  padding-bottom: 19px;
  border-bottom: 1px solid #eee;
  font-weight: 500;
  font-size: 1em;
  color: #555;
}

.cover-thumbnail-2 ul li {
  overflow: hidden;
  margin-top: 28px;
}

.cover-thumbnail-2 ul li a {
  display: block;
  text-decoration: none;
}

.cover-thumbnail-2 ul li a:hover .title,
.cover-thumbnail-2 ul li a:focus .title {
  text-decoration: underline;
}

.cover-thumbnail-2 ul li figure {
  float: right;
  width: 128px;
  margin-left: 57px;
}

.cover-thumbnail-2 ul li figure img {
  width: 100%;
  height: auto;
  border: 1px solid #f1f1f1;
  box-sizing: border-box;
}

.cover-thumbnail-2 ul li .title {
  display: block;
  overflow: hidden;
  max-width: 95%;
  margin-bottom: 10px;
  padding-top: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.25em;
  line-height: 1.4;
}

.cover-thumbnail-2 ul li .excerpt {
  display: block;
  overflow: hidden;
  max-width: 95%;
  margin-bottom: 20px;
  text-overflow: ellipsis;
  font-size: 0.875em;
  line-height: 1.5rem;
  color: #999;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.cover-thumbnail-2 ul li .meta {
  display: block;
  font-size: 0.75em;
  color: #999;
}

.cover-thumbnail-2 ul li .meta span:before {
  content: "";
  display: inline-block;
  width: 2px;
  height: 2px;
  margin: 0 8px 0 5px;
  background-color: #d2d2d2;
  vertical-align: middle;
}

.cover-thumbnail-2 ul li .meta span:first-child:before {
  content: none;
}

.cover-thumbnail-2 .more {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 12px 0 11px;
  border: 1px solid #eee;
  text-align: center;
  font-size: 0.875em;
  color: #999;
}

.cover-thumbnail-3 {
  position: relative;
  margin-bottom: 77px;
}

.cover-thumbnail-3 h2 {
  margin-bottom: 19px;
  font-weight: 500;
  font-size: 1em;
  color: #555;
}

.cover-thumbnail-3 ul {
  position: relative;
  display: inline-block;
  width: 103.378378378378378%;
  margin-left: -3.378378378378378%;
  margin-bottom: -25px;
  vertical-align: top;
}

.cover-thumbnail-3 ul li {
  float: left;
  width: 20%;
  margin-bottom: 22px;
  padding-left: 3.26797385620915%;
  box-sizing: border-box;
}

.cover-thumbnail-3 ul li a {
  display: block;
  text-decoration: none;
}

.cover-thumbnail-3 ul li a:hover .title,
.cover-thumbnail-3 ul li a:focus .title {
  text-decoration: underline;
}

.cover-thumbnail-3 ul li figure {
  display: block;
  width: 100%;
  height: 0;
  margin-bottom: 11px;
  padding-bottom: 129.6875%;
  background-color: #f8f8f8;
}

.cover-thumbnail-3 ul li figure img {
  width: 100%;
  height: auto;
  border: 1px solid #f1f1f1;
  box-sizing: border-box;
}

.cover-thumbnail-3 ul li .title {
  display: block;
  overflow: hidden;
  width: 95%;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125em;
  line-height: 1.4;
}

.cover-thumbnail-3 button {
  position: absolute;
  top: -1px;
  width: 24px;
  height: 24px;
  border: 1px solid #eee;
  border-radius: 50%;
  background: url(./images/ico_package.png) no-repeat 0 -50px;
  text-indent: -999em;
  outline: none;
}

.cover-thumbnail-3 .prev {
  right: 30px;
}

.cover-thumbnail-3 .next {
  right: 0;
  background-position-x: -50px;
}

.cover-thumbnail-3 button:focus,
.cover-thumbnail-3 button:hover {
  background-color: #757575;
  background-position-y: -74px;
}

.cover-thumbnail-4 {
  position: relative;
  margin-bottom: 17px;
}

.cover-thumbnail-4 h2 {
  margin-bottom: 19px;
  font-weight: 500;
  font-size: 1em;
  color: #555;
}

.cover-thumbnail-4 ul {
  position: relative;
  display: inline-block;
  width: 103.378378378378378%;
  margin-left: -3.378378378378378%;
  vertical-align: top;
}

.cover-thumbnail-4 ul li {
  float: left;
  width: 33.333333333333333%;
  min-height: 283px;
  padding-left: 3.26797385620915%;
  margin: 0 0 55px;
  box-sizing: border-box;
}

.cover-thumbnail-4 ul li a {
  display: block;
  text-decoration: none;
}

.cover-thumbnail-4 ul li a:hover .title,
.cover-thumbnail-4 ul li a:focus .title {
  text-decoration: underline;
}

.cover-thumbnail-4 ul li figure {
  display: block;
  width: 100%;
  height: 0;
  margin-bottom: 5px;
  padding-bottom: 60.869565217391304%;
  background-color: #f8f8f8;
}

.cover-thumbnail-4 ul li figure img {
  width: 100%;
  height: auto;
}

.cover-thumbnail-4 ul li .title {
  display: block;
  overflow: hidden;
  max-width: 95%;
  margin-bottom: 4px;
  padding-top: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
}

.cover-thumbnail-4 ul li .excerpt {
  display: block;
  overflow: hidden;
  max-width: 95%;
  margin-bottom: 15px;
  text-overflow: ellipsis;
  font-size: 0.8125em;
  line-height: 1.5rem;
  color: #999;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.cover-thumbnail-4 ul li .meta {
  display: block;
  font-size: 0.75em;
  color: #999;
}

.cover-thumbnail-4 ul li .meta span:before {
  content: "";
  display: inline-block;
  width: 2px;
  height: 2px;
  margin: 7px 8px 9px 5px;
  background-color: #d2d2d2;
  vertical-align: top;
}

.cover-thumbnail-4 ul li .meta span:first-child:before {
  content: none;
}

.cover-thumbnail-4 button {
  position: absolute;
  top: -1px;
  width: 24px;
  height: 24px;
  border: 1px solid #eee;
  border-radius: 50%;
  background: url(./images/ico_package.png) no-repeat 0 -50px;
  text-indent: -999em;
  outline: none;
}

.cover-thumbnail-4 .prev {
  right: 30px;
}

.cover-thumbnail-4 .next {
  right: 0;
  background-position-x: -50px;
}

.cover-thumbnail-4 button:focus,
.cover-thumbnail-4 button:hover {
  background-color: #757575;
  background-position-y: -74px;
}

.cover-list {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 42px;
}

.cover-list h2 {
  margin-bottom: 35px;
  padding-bottom: 19px;
  border-bottom: 1px solid #eee;
  font-weight: 500;
  font-size: 1em;
  color: #555;
}

.cover-list ul li {
  overflow: hidden;
  margin-bottom: 33px;
}

.cover-list ul li a {
  display: block;
  text-decoration: none;
}

.cover-list ul li a:hover .title,
.cover-list ul li a:focus .title {
  text-decoration: underline;
}

.cover-list ul li .title {
  display: block;
  overflow: hidden;
  max-width: 95%;
  margin-bottom: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.25em;
  line-height: 1.4;
}

.cover-list ul li .excerpt {
  display: block;
  overflow: hidden;
  max-width: 95%;
  margin-bottom: 18px;
  text-overflow: ellipsis;
  font-size: 0.875em;
  line-height: 1.5rem;
  color: #999;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.cover-list ul li .date {
  display: block;
  font-size: 0.75em;
  color: #999;
}

.cover-list .more {
  position: absolute;
  top: 4px;
  right: 0;
  font-weight: 300;
  font-size: 0.875em;
  color: #999;
}

.cover-event {
  margin-bottom: 57px;
}

.cover-event h2 {
  margin-bottom: 19px;
  font-weight: 500;
  font-size: 1em;
  color: #555;
}

.cover-event ul {
  display: inline-block;
  width: 102.702702702702703%;
  margin-left: -2.702702702702703%;
  vertical-align: top;
}

.cover-event ul li {
  float: left;
  width: 50%;
  padding-left: 2.631578947368421%;
  margin: 0 0 20px;
  box-sizing: border-box;
}

.cover-event ul li a {
  position: relative;
  display: block;
  padding-bottom: 33.333333333333333%;
  border: 1px solid #eee;
  background-color: #757575;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  text-decoration: none;
  color: #555;
}

.cover-event ul li a:hover,
.cover-event ul li a:focus {
  color: #333;
}

.cover-event ul li a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15);
}

.cover-event ul li .title {
  position: absolute;
  top: 15%;
  left: 24px;
  z-index: 30;
  overflow: hidden;
  max-width: 60%;
  margin-bottom: 7px;
  padding-top: 9px;
  text-overflow: ellipsis;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #fff;
}

.cover-event ul li .more {
  position: absolute;
  bottom: 20.833333333333333%;
  left: 24px;
  z-index: 30;
  text-decoration: underline;
  font-size: 0.875em;
  color: rgba(255, 255, 255, 0.6);
}

.post-cover {
  position: relative;
  z-index: 20;
  display: table;
  width: 100%;
  height: 160px;
  /*background-color: #fff;*/
  background-position: 50% 50%;
  background-size: cover;
  box-sizing: border-box;
}

.post-cover:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  /*background-color: rgba(0, 0, 0, 0.25);*/
}

.post-cover .inner {
  display: table-cell;
  position: relative;
  z-index: 10;
  vertical-align: bottom;
  padding-bottom: 10px;
}

.post-cover .category {
  display: block;
  max-width: 1080px;
  margin: 0 auto 13px;
  font-size: 0.875em;
  color: rgb(0, 0, 0);
}

.post-cover h1 {
  max-width: 1080px;
  margin: 0 auto;
  font-weight: 300;
  font-size: 2.125em;
  line-height: 1.2352;
  color: #000;
  padding-bottom: 10px;
}

.post-cover a {
  text-decoration: none;
  color: #fff;
}

.post-cover .meta {
  display: block;
  max-width: 1080px;
  margin: 10px auto 0;
  font-size: 0.875em;
  color: rgba(0, 0, 0, 0.6);
}

.post-cover .meta a {
  color: rgba(0, 0, 0, 0.6);
}

.post-cover .meta a:before,
.post-cover .meta span:before {
  content: "";
  display: inline-block;
  width: 2px;
  height: 2px;
  margin: 0 8px 0 4px;
  background-color: rgba(0, 0, 0, 0.6);
  vertical-align: middle;
}

.post-cover .meta span:first-child:before {
  content: none;
}

.post-header {
  padding-top: 4px;
}

.post-header h1 {
  margin-bottom: 18px;
  font-size: 1em;
  line-height: 1.375;
}

#tt-body-archive .post-header span:before {
  content: "'";
}

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

#tt-body-tag .post-header span:before {
  content: "#";
}

#tt-body-search .post-header span:before {
  content: "'";
}

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

.post-header h1 em {
  margin-left: 7px;
  font-style: normal;
  color: #04beb8;
}


/*
.post-item {
  float: left;
  width: 31.081081081081081%;
  margin: 0 0 58px 3.378378378378378%;
}

*/

.post-item {
  float: left;
  width: 21%;
  margin: 0 0 65px 3.2%;
  
}



.post-item:nth-child(4n+1) {
  clear: both;
  margin-left: 0;
}

.post-item a {
  display: block;
  text-decoration: none;
}

.post-item a:hover .title,
.post-item a:focus .title {
  text-decoration: underline;
}

.post-item .thum {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;

  margin-bottom: 5px;
  padding-bottom: 0%;
  background-color: transparent;
}

.post-item .thum img {
  width: inherit;
  transform: translateY(-25%);
  -webkit-transform: translateY(-5%);
  -ms-transform: translateY(-25%);
  -webkit-transform : translateX(0%)
}

.post-item .title {
  display: block;
  overflow: hidden;
  max-width: 98%;
  margin-bottom: 4px;
  padding-top: 0px;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.4;
  margin-top: -10px;
}

.post-item .excerpt {
  display: block;
  overflow: hidden;
  max-width: 95%;
  margin-bottom: 15px;
  text-overflow: ellipsis;
  font-size: 0.8125em;
  line-height: 1.5rem;
  color: #999;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.post-item .meta {
  display: block;
  font-size: 0.75em;
  color: #999;
}

.post-item .meta span:before {
  content: "";
  display: inline-block;
  width: 2px;
  height: 2px;
  margin: 0 8px 0 5px;
  background-color: #d2d2d2;
  vertical-align: middle;
}

.post-item .meta span:first-child:before {
  content: none;
}

.post-item.protected .thum:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 47px;
  margin: -24px 0 0 -17px;
  background: url(./images/ico_package.png) no-repeat 0 -120px;
  background-size: 120px auto;
}

.not-found {
  display: block;
  width: 100%;
  margin-bottom: 35px;
}

.not-found li {
  position: relative;
  padding-left: 10px;
  font-size: 0.9375em;
  line-height: 2;
  color: #999;
}

.not-found li:before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 2px;
  height: 2px;
  background-color: #999;
}

.not-found .tag,
.not-found .category,
.not-found .archive {
  display: none;
}

#tt-body-tag .not-found ul,
#tt-body-category .not-found ul,
#tt-body-archive .not-found ul {
  display: none;
}

#tt-body-tag .not-found .tag,
#tt-body-category .not-found .category,
#tt-body-archive .not-found .archive {
  display: block;
}

.pagination {
  margin-bottom: 60px;
  text-align: center;
}

.pagination a {
  display: inline-block;
  margin: 0 12px;
  font-size: 1.2em;
  line-height: 1.5rem;
  vertical-align: top;
  color: #999;
}

.pagination .selected {
  color: #333;
}

.pagination .prev,
.pagination .next {
  width: 22px;
  height: 22px;
  border: 1px solid #eee;
  border-radius: 50%;
  background: url(./images/ico_package.png) no-repeat 0 -50px;
  text-indent: -999em;
}

.pagination .next {
  background-position-x: -50px;
}

.pagination .view-more {
  display: block;
  margin: 0;
  padding: 12px 0 11px;
  border: 1px solid #eee;
  text-align: center;
  font-size: 0.875em;
  color: #999;
}

.tags {
  margin-bottom: 5px;
  font-size: 0;
}

.tags:after {
  content: "";
  clear: both;
  display: block;
  height: 0;
  visibility: hidden;
}

.tags h2 {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 16px;
  margin-top: 10px;
}

.tags a {
  display: inline-block;
  margin: 0 8px 12px 0;
  padding: 0 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 12px;
  line-height: 30px;
  vertical-align: middle;
  color: #000;
  background-color: #EFEFEF;
}

.tags a:hover,
.tags a:focus {
  color: #333;
}

.page-nav {
  margin: 52px 0 60px 0;
  padding: 23px 0 20px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.page-nav a {
  display: block;
  overflow: hidden;
  padding-left: 58px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875em;
  line-height: 2.125rem;
  color: #555;
}

.page-nav a:hover,
.page-nav a:focus {
  color: #333;
}

.page-nav a strong {
  float: left;
  width: 58px;
  margin-left: -58px;
  font-weight: 400;
  color: #999;
}

.page-nav a strong:after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 5px;
  margin: 0 8px;
  background: url(./images/ico_package.png) no-repeat -150px -50px;
  vertical-align: middle;
}

.related-articles {
  margin-bottom: 55px;
}

.related-articles h2 {
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 1em;
}

.related-articles ul {
  display: inline-block;
  width: 101.621621621621622%;
  margin-left: -1.621621621621622%;
  vertical-align: top;
}

.related-articles ul li {
  float: left;
  width: 25%;
  padding-left: 1.621621621621622%;
  box-sizing: border-box;
}

.related-articles ul li:first-child {
  margin-left: 0;
}

.related-articles ul li a {
  color: #555;
}

.related-articles ul li a:hover,
.related-articles ul li a:focus {
  color: #333;
}

.related-articles ul li figure {
  display: block;
  width: 100%;
  height: 3rem;
  margin-bottom: 9px;
  padding-bottom: 68.181818181818182%;

}

.related-articles ul li figure img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.related-articles ul li .title {
  display: block;
  overflow: hidden;
  max-width: 95%;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875em;
  line-height: 1.4;
}

/* Entry Content */
.entry-content h1 {
  clear: both;
  margin: 29px 0 22px;
  font-size: 1.6875em;
  line-height: 1.5;
  color: #000;
}

.entry-content h2 {
  clear: both;
  margin: 29px 0 22px;
  font-size: 1.5em;
  line-height: 1.5;
  color: #000;
}

.entry-content h3 {
  clear: both;
  margin: 29px 0 22px;
  font-size: 1.3125em;
  line-height: 1.5;
  color: #000;
}

.entry-content h4 {
  clear: both;
  margin: 29px 0 22px;
  font-weight: 400;
  font-size: 1.125em;
  line-height: 1.5;
  color: #000;
}

.entry-content p {
  word-break: break-word;
  font-size:1.4em;
}

.entry-content p img {
  max-width: 100%;
  height: auto;
}

.entry-content hr {
  display: block;
  height: 0;
  border: 0;
  border-bottom: 1px solid #000;
}

.entry-content pre {
  word-break: break-word;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.entry-content ul {
  list-style: disc;
  margin-bottom: 22px;
  padding: revert;
}

.entry-content ul li {
  position: relative;
  margin-bottom: 10px;
  list-style: inherit;
}

.entry-content ol {
  list-style: decimal inside;
  margin-bottom: 22px;
}

.entry-content ol li {
  position: relative;
  margin-bottom: 10px;
  text-indent: -15px;
  list-style: inherit;
}

.entry-content img.alignleft {
  float: left;
  margin: 0 22px 22px 0;
}

.entry-content img.aligncenter {
  display: block;
  margin: 0 auto 22px;
}

.entry-content img.alignright {
  float: right;
  margin: 0 0 22px 22px;
}

.entry-content blockquote {
  margin-bottom: 40px;
  padding: 16px 20px;
  border-left: 4px solid #e6e6e6;
}

.entry-content blockquote p {
  margin: 22px 0 0;
}

.entry-content blockquote p:first-child {
  margin-top: 0;
}

.entry-content input {
  height: 36px;
  padding: 0 10px;
  border: 1px solid #e6e6e6;
  font-size: 0.875em;
  line-height: 1.25;
  color: #666;
  box-sizing: border-box;
  vertical-align: middle;
}

.entry-content .entry-content .protected_form {
  margin-bottom: 40px;
  padding: 120px 0 200px;
  border-bottom: 1px solid #7a583a;
  text-align: center;
}

.entry-content .entry-content .protected_form input {
  width: 200px;
  margin-bottom: 10px;
  vertical-align: top;
}

.entry-content .cap1 {
  text-align: center;
  font-size: 0.875em;
  font-style: italic;
}

.entry-content .iframe-wrap {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
}

.entry-content .iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.entry-content .protected_form {
  display: block;
  width: 100%;
  padding: 98px 0 120px;
  text-align: center;
}

.entry-content .protected_form h2 {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 1.625em;
  line-height: 2.125rem;
  color: #555;
}

.entry-content .protected_form p {
  margin-bottom: 34px;
  font-weight: 300;
  font-size: 1em;
  line-height: 1.75;
  color: #999;
}

.entry-content .protected_form input {
  width: 183px;
  padding: 0 23px;
  border: 1px solid #eee;
  font-size: 0.9125em;
  line-height: 2.125rem;
}

.entry-content .protected_form input:focus {
  border-color: #484848;
}

.entry-content .protected_form .btn {
  margin-left: 5px;
}

.entry-content a {
  text-decoration: none!important;
  font-size:30px;
}


/* Comment */
.comments {
  margin-bottom: 60px;
}

.comments h2 {
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 1em;
}

.comments h2 .count {
  margin-left: 4px;
  color: #04beb8;
}

.comment-list {
  margin-bottom: 60px;
  border-top: 1px solid #eee;
}

.comment-list ul li {
  display: inline-block;
  width: 100%;
  padding: 32px 0 28px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
  box-sizing: border-box;
}

.comment-list .tt_more_preview_comments_wrap {
  padding: 0;
  border: 0;
}

.comment-list .tt_more_preview_comments_text {
  display: block;
  margin: -1px 0 0;
  padding: 12px 0 11px;
  border: 1px solid #eee;
  text-align: center;
  font-size: 0.875em;
  color: #999;
}

.comment-list .tt_more_preview_comments_text:hover {
  text-decoration: underline;
}

.comment-list ul li .author-meta {
  position: relative;
  margin-bottom: 7px;
  padding: 2px 0 0 60px;
  font-size: 0.8125em;
  color: #999;
}

.comment-list ul li .author-meta a {
  color: #999;
}

.comment-list ul li .author-meta a:before,
.comment-list ul li .author-meta span:before {
  content: "";
  display: inline-block;
  width: 2px;
  height: 2px;
  margin: 0 7px 0 5px;
  background-color: #e3e3e3;
  vertical-align: middle;
}

.comment-list ul li .author-meta .nickname {
  font-weight: 700;
  color: #555;
}

.comment-list ul li .author-meta .nickname a {
  color: #555;
}

.comment-list ul li .author-meta .avatar {
  float: left;
  width: 46px;
  margin: -2px 0 0 -60px;
  border: 1px solid #eee;
  border-radius: 50%;
}

.comment-list ul li .author-meta .control {
  position: absolute;
  top: 0;
  right: -9px;
  border-bottom: 0;
}

.comment-list ul li .author-meta .control button {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: url(./images/ico_package.png) no-repeat -141px 5px;
  text-indent: -999em;
}

.comment-list ul li .author-meta .control .link {
  display: none;
  position: absolute;
  top: 100%;
  left: -65px;
  width: 70px;
  text-align: center;
}

.comment-list ul li .author-meta .control .link a {
  display: block;
  margin-top: -1px;
  border: 1px solid #e0e0e0;
  background-color: #fff;
  text-decoration: none;
  font-size: 0.875em;
  line-height: 1.5rem;
  color: #333;
}

.comment-list ul li .author-meta .control .link a:focus,
.comment-list ul li .author-meta .control .link a:hover {
  background-color: #fafafa;
  color: #222;
}

.comment-list ul li .author-meta .nickname:before,
.comment-list ul li .author-meta .nickname a:before,
.comment-list ul li .author-meta .control:before,
.comment-list ul li .author-meta .control a:before {
  content: none;
}

.comment-list ul li p {
  max-width: 85%;
  padding: 0 0 0 60px;
  font-size: 0.875em;
  line-height: 1.3125rem;
  color: #777;
  box-sizing: border-box;
}

.comment-list ul li .reply {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8125rem;
  color: #999;
}

.comment-list ul li ul {
  margin: 28px 0 -32px 0;
  padding: 26px 0 21px;
  border-top: 1px solid #eee;
  background-color: #fafafa;
}

.comment-list ul li ul li {
  padding: 14px 0 15px 60px;
  border-bottom: 0;
}

.comment-list ul li ul li .author-meta {
  margin-bottom: 8px;
}

.comment-list ul li ul li .author-meta .control {
  right: 15px;
}

.comment-list ul li ul li .author-meta .avatar {
  width: 42px;
}

.comment-list ul li ul li p {
  max-width: 80%;
}

.comment-list ul li ul .tt_more_preview_comments_wrap {
  display: block;
}

.comment-list ul li ul .tt_more_preview_comments_text {
  margin-bottom: 16px;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

.comment-list ul li ul .tt_more_preview_comments_text:first-child {
  margin-top: -24px;
  padding: 12px 0 11px;
}

.comment-form {
  position: relative;
  margin-bottom: 60px;
}

.comment-form .field {
  overflow: hidden;
  margin-bottom: -1px;
  border: 1px solid #eee;
}

.comment-form .field input[type=text],
.comment-form .field input[type=password] {
  float: left;
  width: 50%;
  padding: 12px 16px;
  border: 0;
  border-left: 1px solid #eee;
  font-size: 0.875em;
  color: #777;
  box-sizing: border-box;
}

.comment-form .field input:first-child {
  border-left: 0;
}

.comment-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 20px;
  padding: 16px 100px 16px 16px;
  border: 1px solid #eee;
  font-size: 0.875em;
  color: #777;
  box-sizing: border-box;
  resize: none;
}

.comment-form input::-webkit-input-placeholder,
.comment-form textarea::-webkit-input-placeholder {
  color: #999;
}

.comment-form .secret {
  position: absolute;
  left: 0;
  bottom: 8px;
}

.comment-form .secret input {
  display: none;
}

.comment-form .secret label {
  display: inline-block;
  font-size: 0.8125em;
  line-height: 1.25rem;
  color: #666;
  outline: none;
  cursor: pointer;
}

.comment-form .secret label:before {
  content: "";
  display: inline-block;
  width: 19px;
  height: 18px;
  margin-right: 12px;
  border: 1px solid #e1e1e1;
  vertical-align: top;
  background-color: #fff;
}

.comment-form .secret input[type=checkbox]:checked+label:before {
  background: url(./images/ico_package.png) no-repeat -47px 4px;
}

.comment-form .submit {
  text-align: right;
}

.comment-form .submit button {
  background-color: #333;
  color: #fff;
}

.comment-form .submit button:hover,
.comment-form .submit button:focus {
  background-color: #04beb8;
}

/* Aside(sidebar) */
.sidebar h2 {
  margin-bottom: 7px;
  font-weight: 500;
  font-size: 0.875em;
  color: #555;
}

.sidebar ul li {
  padding: 4px 0 5px;
  font-size: 0.8125em;
  line-height: 1.25rem;
  color: #777;
}

.sidebar ul li a {
  color: #777;
}

.sidebar ul li a:hover {
  color: #333;
}

.sidebar .sidebar-2 {
  margin-top: 0px;
  padding-top: 0px;
  border-top: 0px solid #eee;
}

.sidebar .category {
  margin-bottom: 15px;
}

.sidebar .category ul li {
  padding: 0;
  font-size: 0.875em;
  font-weight: 600;
}

.sidebar .category ul li a {
  color: #555;
}

.sidebar .category ul li a:hover {
  color: #333;
}

.sidebar .category ul li ul {
  padding-top: 8px;
}

.sidebar .category ul li ul li {
  padding: 6px 0 7px;
  font-weight: 400;
  font-size: 1em;
}

.sidebar .category ul li ul li ul {
  overflow: hidden;
  margin-bottom: -4px;
  padding-top: 6px;
}

.sidebar .category ul li ul li ul li {
  position: relative;
  padding: 3px 0 3px 9px;
  /* border-left: 2px solid #eee; */
  font-size: 0.8125rem;
}

.sidebar .category ul li ul li ul li:before {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 2px;
  height: 100%;
  background-color: #eee;
}

.sidebar .category ul li ul li ul li:first-child:before {
  top: 7px;
  bottom: auto;
}

.sidebar .category ul li ul li ul li a {
  color: #999;
}

.sidebar .notice {
  margin-bottom: 37px;
}

.sidebar .recent-comment {
  margin-bottom: 36px;
}

.sidebar .recent-comment ul li a {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sidebar .post-list {
  margin-bottom: 46px;
}

.sidebar .post-list h2 {
  margin-bottom: 12px;
}

.sidebar .post-list ul li {
  overflow: hidden;
  margin-bottom: 18px;
  padding: 0;
}

.sidebar .post-list ul li img {
  float: right;
  width: 58px;
  height: 58px;
  margin: 2px 0 0 20px;
}

.sidebar .post-list ul li a {
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.sidebar .post-list ul li a:hover .title {
  text-decoration: underline;
}

.sidebar .post-list ul li .title {
  display: block;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sidebar .post-list ul li .date {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  line-height: 1;
}

.sidebar .social-list {
  margin-bottom: 46px;
}

.sidebar .social-list h2 {
  margin-bottom: 18px;
}

.sidebar .social-list .tab-list {
  overflow: hidden;
  width: 100%;
}

.sidebar .social-list ul li {
  margin-bottom: 15px;
  padding: 0 0 0 48px;
}

.sidebar .social-list ul li a {
  display: block;
  text-decoration: none;
}

.sidebar .social-list ul li a:hover .text {
  text-decoration: underline;
}

.sidebar .social-list ul li .avatar {
  float: left;
  overflow: hidden;
  width: 40px;
  height: 40px;
  margin-left: -48px;
  border-radius: 50%;
}

.sidebar .social-list ul li .title {
  display: block;
}

.sidebar .social-list ul li .date {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #777;
}

#aside .tags {
  margin: 0 0 41px;
  padding: 0;
  font-size: 1em;
}

#aside .tags h2 {
  margin-bottom: 8px;
  font-size: 0.875em;
}

#aside .tags a {
  float: none;
  margin: 0 4px 0 0;
  padding: 0;
  border: 0;
  font-size: 0.8125em;
  line-height: 2;
  color: #555;
}

#aside .tags a:after {
  content: ", ";
}

#aside .tags a:last-child:after {
  content: none;
}

#aside .tags a:hover,
#aside .tags a:focus {
  color: #333;
}

.sidebar .count {
  margin-bottom: 46px;
}

.sidebar .count h2 {
  margin-bottom: 3px;
}

.sidebar .count h2:before {
  content: "";
  display: block;
  width: 17px;
  height: 1px;
  margin-bottom: 18px;
  background-color: #fff;
}

.sidebar .count p {
  margin-bottom: 6px;
  font-size: 0.8125em;
  color: #777;
}

.sidebar .count .total {
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 1.875em;
  color: #3B1471;
}

.sidebar .social-channel {
  margin-bottom: 48px;
}

.sidebar .social-channel ul {
  overflow: hidden;
  width: 100%;
}

.sidebar .social-channel ul li {
  float: left;
  margin-left: 10px;
  padding: 0;
}

.sidebar .social-channel ul li:first-child {
  margin-left: 0;
}

.sidebar .social-channel ul li a {
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid #eee;
  border-radius: 50%;
  text-indent: -999em;
  background: url(./images/ico_package.png) no-repeat 0 -100px;
}

.sidebar .social-channel ul li.youtube a {
  background-position-x: -50px;
}

.sidebar .social-channel ul li.instagram a {
  background-position-x: -100px;
}

.sidebar .social-channel ul li.twitter a {
  background-position-x: -150px;
}

.sidebar .social-channel ul li a:focus,
.sidebar .social-channel ul li a:hover {
  background-color: #757575;
  background-position-y: -150px;
}

.sidebar .tab-ui h2 a {
  color: #999;
}

.sidebar .tab-ui h2 a.current {
  color: #555;
}

.sidebar .tab-ui h2 a:before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 5px;
  margin: 0 10px;
  vertical-align: middle;
  background: url(./images/ico_package.png) no-repeat -100px -50px;
}

.sidebar .tab-ui h2 a:first-child:before {
  content: none;
}

/* ETC */
#dimmed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.mobile-menu {
  overflow: hidden;
  height: 100%;
}

.slide-wrap {
  overflow: hidden;
}

/* Overwrite */
#content .another_category {
  margin: 60px 0 57px !important;
  padding: 16px 20px 14px;
}

#content .another_category h4 {
  margin: 0 0 13px !important;
  ;
  padding: 0 !important;
  border-bottom: 0 !important;
  font-size: 0.875em !important;
}

#content .another_category table {
  margin: 0 !important;
  border: 0;
}

#content .another_category th {
  padding: 2px 0 !important;
  font-size: 0.875rem !important;
}

#content .another_category th a.current {
  text-decoration: underline !important;
  font-weight: 400;
  color: #333 !important;
  border: 0 !important;
}

#content .another_category td {
  padding: 2px 0 !important;
  border: 0;
  font-size: 0.75rem !important;
}

.container_postbtn {
  margin: 53px 0 55px;
  padding: 0 !important;
}

.absent_post:before {
  content: "죄송합니다만 \A글을 찾지 못했습니다.";
  display: block;
  margin-bottom: 7px;
  font-weight: bold;
  font-size: 1.75em;
  line-height: 1.285714285714286;
  color: #555;
  white-space: pre;
}

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

/* Option(Color Type & List Type) */
/*.layout-aside-left #content {
  float: right;
}*/

.layout-aside-left #aside {
  float: left;
  margin-left: 0;
  padding: 80px 0;
}

.layout-aside-left #container .content-wrap:before {
  margin-left: -256px;
}

.list-type-vertical .post-item {
  margin-bottom: 38px;
}

.list-type-vertical .post-item .thum {
  margin-bottom: 3px;
  padding-bottom: 130.434782608695652%;
}

.list-type-vertical .post-item .thum img {
  transform: translateY(0);
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
}

.list-type-vertical .post-item .title {
  margin-bottom: 5px;
}

.list-type-vertical .post-item .excerpt,
.list-type-vertical .post-item .meta .comment {
  display: none;
}

.list-type-vertical .post-item .meta span:before {
  content: none;
}

.list-type-thumbnail .post-header {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eee;
}

.list-type-thumbnail .post-header h1 {
  margin-bottom: 0;
}

.list-type-thumbnail .post-item {
  float: none;
  overflow: hidden;
  width: 100%;
  margin: 0 0 28px;
}

.list-type-thumbnail .post-item .thum {
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
}

.list-type-thumbnail .post-item .thum img {
  float: right;
  width: 126px;
  height: auto;
  margin-left: 57px;
  border: 1px solid #f1f1f1;
  transform: translateY(0);
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
}

.list-type-thumbnail .post-item.protected .thum {
  float: right;
  width: 126px;
  height: 166px;
  margin-left: 57px;
  border: 1px solid #f1f1f1;
  background-color: #f8f8f8;
}

.list-type-thumbnail .post-item .title {
  max-width: 95%;
  margin-bottom: 12px;
  padding-top: 7px;
  font-size: 1.25em;
}

.list-type-thumbnail .post-item .excerpt {
  overflow: hidden;
  height: 3.75rem;
  margin-bottom: 20px;
  font-size: 0.875em;
  line-height: 1.25rem;
}

.list-type-thumbnail .post-item .meta .comment {
  display: none;
}

.list-type-thumbnail .post-item .meta span:before {
  content: none;
}

.list-type-text .post-header {
  margin-bottom: 38px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eee;
}

.list-type-text .post-header h1 {
  margin-bottom: 0;
}

.list-type-text .post-item {
  float: none;
  overflow: hidden;
  width: 100%;
  margin: 0 0 35px;
}

.list-type-text .post-item .thum {
  display: none;
}

.list-type-text .post-item .title {
  max-width: 96%;
  margin-bottom: 10px;
  padding-top: 0;
  font-size: 1em;
}

.list-type-text .post-item .excerpt {
  max-width: 96%;
  margin-bottom: 20px;
  font-size: 0.875em;
  line-height: 1.25rem;
}

.list-type-text .post-item .meta .comment {
  display: none;
}

.list-type-text .post-item .meta span:before {
  content: none;
}

.list-type-text .pagination {
  margin-top: 36px;
}

/* Retina Display */
@media only screen and (-webkit-min-device-pixel-ratio:1.5) {

  #header .util .search:before,
  #header .util .search button,
  #footer .page-top,
  .cover-thumbnail-3 button,
  .cover-thumbnail-4 button,
  .page-nav a strong:after,
  .entry-content .protected_form h2:before,
  .comment-list ul li .author-meta .control button,
  .comment-form .secret input[type=checkbox]:checked+label:before,
  .sidebar .social-channel ul li a,
  .sidebar .tab-ui h2 a:before {
    background-image: url(./images/ico_package_2x.png);
    background-size: 200px auto;
  }

  .post-item.protected .thum:before {
    background-image: url(./images/ico_package_2x.png);
    background-size: 120px auto;
  }
}








/* Media Screen */
@media screen and (max-width:1080px) {

  #header h1,
  #footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  #header .util {
    right: 24px;
  }

  #header .util .profile nav {
    left: auto;
    right: 0;
    margin: 0;
  }

  #gnb ul {
    margin-left: -6px;
  }

  #container .content-wrap:before {
    left: 72.7%;
    margin-left: 0;
  }

  .layout-aside-left #container .content-wrap:before {
    left: 27.3%;
    margin-left: 0;
  }

  .main-slider .paging {
    left: auto;
    right: 20px;
    margin-left: 0;
  }

  .cover-event ul li .title {
    -webkit-line-clamp: 1;
  }

  .post-cover {
    padding-left: 24px;
    padding-right: 24px;
  }
}


















/******************************* 모바일 기본 속성 **************************************************/



@media screen and (max-width:767px) {
  #header h1 {
    position: relative;
    z-index: 10;
    padding: 24px;
    
  }

  #header .util {
    top: 0;
    right: 0;
    width: 100%;
    padding: 24px 68px 24px 24px;
    box-sizing: border-box;
  }

  #header .util .search {
    float: right;
  }

  #header .util .search.on {
    z-index: 20;
    width: 100%;
  }

  #header .util .search.on input {
    float: right;
    width: 100%;
    z-index:1000!important;
  }

  #header .util .profile {
    display: none;
  }





  #header .util .menu span,
  #header .util .menu:before,
  #header .util .menu:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 50%;
    width: 16px;
    height: 1px;
    margin: 0 0 0 -8px;
    background-color: #000;
    transition: transform .5s;
    -webkit-transition: transform .5s;
  }






  #header .util .menu:before {
    margin-top: -6px;
  }

  #header .util .menu:after {
    margin-top: 6px;
  }

  #gnb {
    height: 69px;
  }

  #gnb ul {
    margin-left: 0;
  }

  #gnb ul li {
    padding: 0 24px;
  }

  #gnb ul li a {
    padding: 25px 0 24px;
  }

  #container .content-wrap {
    padding: 0;
  }

  #container .content-wrap:before {
    content: none;
  }

  #content {
    float: none;
    width: auto;
    padding: 0px 24px 40px!important;
  }





  #footer {
    padding: 32px 24px 50px;
  }

  #footer p {
    margin-bottom: 11px;
    font-size: 0.8125em;
  }

  #footer .order-menu {
    margin-bottom: 29px;
  }

  #footer .order-menu a {
    display: block;
    margin-bottom: 0;
    line-height: 1.75rem;
  }

  #footer .order-menu a:before {
    content: none;
  }

  #tt-body-index #content {
    padding: 0;
  }

  #tt-body-index #content>.inner {
    padding: 0 24px;
  }

  #tt-body-index #content>.inner:first-child {
    padding-top: 40px;
  }

  #tt-body-index.list-type-text #content>.inner:first-child {
    padding-top: 36px;
  }

  #tt-body-index .pagination {
    margin: 0 20px 40px;
  }

  #tt-body-page #content {
    padding-left: 0;
    padding-right: 0;
  }

  #tt-body-tag .tags,
  #tt-body-guestbook #content {
    padding-left: 0;
    padding-right: 0;
  }

  #tt-body-guestbook .post-header {
    margin: 0 24px 28px;
  }

  .layout-aside-left #aside {
    padding: 80px 20px 40px;
  }

  .mobile-menu #aside {
    right: 0;
  }

  .main-slider ul li {
    height: 400px;
  }

  .main-slider ul li .inner {
    padding-bottom: 40px;
    vertical-align: bottom;
  }

  .main-slider ul li .text {
    max-width: 100%;
    font-weight: 300;
    font-size: 1.75em;
    line-height: 2.25rem;
    -webkit-line-clamp: 3;
  }

  .main-slider ul li .btn {
    margin-top: 15px;
  }

  .main-slider .paging {
    top: 40px;
    left: 0;
    right: auto;
    bottom: 20px;
    width: 100%;
    height: 8px;
    padding: 0 19px;
    text-align: left;
    box-sizing: border-box;
  }

  .main-slider .paging button {
    display: inline-block;
    margin: 0 5px;
    vertical-align: top;
  }

  .cover-thumbnail-1 {
    margin-bottom: 40px;
    padding: 36px 24px 7px;
    border-top: 8px solid #f5f5f5;
  }

  .cover-thumbnail-1 h2 {
    font-weight: 600;
  }

  .cover-thumbnail-1 .more {
    top: 40px;
    right: 24px;
  }

  .cover-thumbnail-1 ul {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-bottom: -39px;
  }

  .cover-thumbnail-1 ul li {
    float: none;
    width: 100%;
    margin-bottom: 30px;
    padding-left: 0;
  }

  .cover-thumbnail-1 ul li .title {
    margin-bottom: 4px;
  }

  .cover-thumbnail-2 {
    width: auto;
    margin: 0;
    padding: 37px 24px 38px;
    border-top: 8px solid #f5f5f5;
  }

  .cover-thumbnail-2 h2 {
    font-weight: 600;
  }

  .cover-thumbnail-2 ul li figure {
    width: 98px;
    margin-left: 24px;
  }

  .cover-thumbnail-2 ul li .title {
    margin-bottom: 7px;
    padding-top: 3px;
    font-size: 1.125em;
  }

  .cover-thumbnail-2 ul li .excerpt {
    margin-bottom: 9px;
  }

  .cover-thumbnail-3 {
    width: auto;
    margin: 0;
    padding: 37px 24px 15px;
    border-top: 8px solid #f5f5f5;
  }

  .cover-thumbnail-3 h2 {
    font-weight: 600;
  }

  .cover-thumbnail-3 .prev {
    top: 37px;
    right: 54px;
  }

  .cover-thumbnail-3 .next {
    top: 37px;
    right: 24px;
  }

  .cover-thumbnail-3 ul {
    display: block;
    width: auto;
    margin-left: -16px;
  }

  .cover-thumbnail-3 ul li {
    width: 50%;
    padding-left: 16px;
    box-sizing: border-box;
  }

  .cover-thumbnail-4 {
    width: auto;
    margin: 0;
    padding: 37px 24px 9px;
    border-top: 8px solid #f5f5f5;
  }

  .cover-thumbnail-4 h2 {
    font-weight: 600;
  }

  .cover-thumbnail-4 .prev {
    top: 37px;
    right: 54px;
  }

  .cover-thumbnail-4 .next {
    top: 37px;
    right: 24px;
  }

  .cover-thumbnail-4 ul {
    width: 100%;
    margin-left: 0;
  }

  .cover-thumbnail-4 ul li {
    width: 100%;
    margin-bottom: 27px;
    padding-left: 0;
  }

  .cover-thumbnail-4 ul li figure {
    margin-bottom: 7px;
  }

  .cover-thumbnail-4 ul li .title {
    margin-bottom: 8px;
  }

  .cover-thumbnail-4 ul li .excerpt {
    margin-bottom: 12px;
  }

  .cover-list {
    width: auto;
    margin: 0;
    padding: 37px 24px 12px;
    border-top: 8px solid #f5f5f5;
  }

  .cover-list h2 {
    margin-bottom: 28px;
    font-weight: 600;
  }

  .cover-list .more {
    top: 37px;
    right: 24px
  }

  .cover-list ul li {
    margin-bottom: 26px;
  }

  .cover-list ul li .title {
    margin-bottom: 8px;
    font-size: 1em;
  }

  .cover-list ul li .excerpt {
    margin-bottom: 9px;
    -webkit-line-clamp: 4;
  }

  .cover-event {
    width: auto;
    margin: 0;
    padding: 37px 24px 24px;
    border-top: 8px solid #f5f5f5;
  }

  .cover-event h2 {
    font-weight: 600;
  }

  .cover-event ul {
    display: block;
    width: auto;
    margin-left: 0;
  }

  .cover-event ul li {
    float: none;
    width: auto;
    margin-bottom: 16px;
    padding-left: 0;
  }

  .cover-event ul li a {
    padding-bottom: 43.382352941176471%;
  }

  .cover-event ul li .title {
    -webkit-line-clamp: 3;
  }

  .cover-event ul li .more {
    display: none;
  }

  .cover-thumbnail-1:first-child {
    border-top: 0;
  }

  .post-header {
    padding-top: 30px;
  }

  .post-item {
    float: none;
    width: auto;
    margin-left: 0;
    margin-bottom: 30px;
  }

  .post-item .thum {
    margin-bottom: 7px;
  }

  .post-item .title {
    margin-bottom: 12px;
  }

  .post-item .excerpt {
    margin-bottom: 12px;
  }

  .pagination {
    margin-bottom: 0;
  }

  .pagination a {
    margin: 0 5px;
  }

  .list-type-vertical .post-item {
    margin-bottom: 30px;
  }

  .list-type-vertical .post-item .title {
    margin-bottom: 7px;
  }

  .list-type-thumbnail .post-item .thum img {
    width: 96px;
    margin-left: 25px;
  }

  .list-type-thumbnail .post-item .title {
    margin-bottom: 9px;
    padding-top: 3px;
    font-size: 1.125em;
  }

  .list-type-thumbnail .post-item .excerpt {
    margin-bottom: 11px;
  }

  .list-type-thumbnail .post-item.protected .thum {
    width: 96px;
    height: 128px;
    margin-left: 25px;
  }

  .list-type-text .post-header {
    margin-bottom: 28px;
  }

  .list-type-text .post-item {
    margin-bottom: 26px;
  }

  .list-type-text .post-item .title {
    margin-bottom: 10px;
  }

  .list-type-text .post-item .excerpt {
    margin-bottom: 12px;
    -webkit-line-clamp: 4;
  }

  .list-type-text .pagination {
    margin-top: 30px;
  }

  .post-cover {
    padding-left: 24px;
    padding-right: 24px;
  }

  .post-cover .inner {
    padding-bottom: 38px;
    vertical-align: bottom;
  }

  .post-cover .inner>h1 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .post-cover .category {
    margin-bottom: 13px;
    margin-top: 80px;
  }

  .post-cover h1 {
    font-weight: 300;
  }

  .post-cover .meta {
    margin-top: 3px;
    font-size: 0.8125em;
  }

  .entry-content {
    padding: 0 24px;
  }

  .entry-content p {
    margin-bottom: 22px;
    line-height: 2rem;
    font-size: 1.2em;
    padding: 0px 15px 0px 15px!important;
  }

  .entry-content figure {
    margin-top: 6px !important;
  }

  .entry-content .protected_form input {
    width: 163px;
  }

  #content .another_category {
    margin: 40px 0 37px !important;
  }

  .container_postbtn {
    margin: 35px 0 37px;
  }

  .tags {
    margin-bottom: 30px;
    padding: 0 24px;
  }

  .tags h2 {
    margin-bottom: 19px;
  }

  .page-nav {
    margin: 32px 24px 32px;
    padding: 25px 0 25px;
  }

  .page-nav a {
    line-height: 1.6875rem;
  }

  .related-articles {
    margin-bottom: 21px;
    padding: 0 5px;
  }

  .related-articles h2 {
    margin-bottom: 19px;
  }

  .related-articles ul {
    width: 103.571428571428571%;
    margin-left: -3.571428571428571%;
  }

  .related-articles ul li {
    width: 50%;
    margin-bottom: 15px;
    padding-left: 3.448275862068966%;
  }

  .related-articles ul li figure {
    margin-bottom: 9px;
  }

  .related-articles ul li .title {
    height: 2.8em;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .comments {
    margin: 0;
  }

  .comments iframe {
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .comments h2 {
    margin: -3px 0 -1px;
    padding: 0 24px;
  }

  .comment-list {
    margin-bottom: 32px;
    border: 0;
  }

  .comment-list>ul>.tt_more_preview_comments_wrap {
    margin-top: 21px;
    padding: 0 24px;
  }

  .comment-list ul li {
    padding: 34px 0 28px;
  }

  .comment-list ul li .author-meta {
    margin-bottom: 6px;
    padding-right: 35px;
  }

  .comment-list ul li .author-meta .avatar {
    width: 30px;
    height: 30px;
    margin-left: -42px;
  }

  .comment-list ul li .author-meta .nickname {
    font-weight: 400;
  }

  .comment-list ul li .author-meta .control {
    top: -2px;
    right: 13px;
  }

  .comment-list ul li .author-meta,
  .comment-list ul li p {
    max-width: none;
    padding: 0 66px;
  }

  .comment-list ul li ul {
    margin-top: 27px;
    padding: 19px 0 12px;
  }

  .comment-list ul li ul li {
    padding: 15px 0 16px;
  }

  .comment-list ul li ul li p {
    max-width: none;
  }

  .comment-list ul li ul li .author-meta {
    margin-bottom: 6px;
  }

  .comment-list ul li ul li .author-meta .avatar {
    width: 30px;
  }

  .comment-form {
    margin-bottom: 40px;
    padding: 0 24px;
  }

  .comment-form textarea {
    padding-right: 32px;
  }

  .comment-form .secret {
    left: 24px;
  }

  .layout-aside-left #content {
    float: none;
  }

  #tt-body-index.promotion-mobile-hide .main-slider {
    display: none;
  }

  #content .another_category th {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }
}

@media screen and (max-width: 767px) {
  #tt-body-index .post-header {
    padding-top: 40px;
    padding-left: 0px;
  }
}

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


.tt-comment-cont .tt-box-total .tt_txt_g {
  font-size: 14px;
}

.tt-comment-cont .tt-box-total .tt_num_g {
  font-size: 14px;
  color: #777;
}

.tt-comment-cont .tt-wrap-cmt .tt-link-user {
  font-size: 14px;
}

.tt-comment-cont .tt-wrap-cmt .tt_desc {
  font-size: 14px;
  color: #555;
}

.tt-comment-cont .tt-txt-mention {
  color: #555;
}

.tt-comment-cont .tt-btn_register {
  width: 100px;
  height: 36px;
  background-color: #333;
  font-size: 14px;
  color: #fff;
  border-radius: 0;
  border-color: #333;
}

.tt-comment-cont .tt-btn_register:hover {
  background-color: #04BEB8;
  border-color: #04BEB8;
}

.tt-comment-cont .tt-btn_register:focus {
  background-color: #04BEB8;
  border-color: #04BEB8;
}

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

@media screen and (max-width: 767px) {
  .tt-comments-wrap {
    padding: 0 24px;
  }
}

/* 전체 공통 */
#article-view {
  margin: 0;
  padding: 20px 20px 50px;
  word-wrap: break-word;
  color: #333;
  min-height: 370px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Apple SD Gothic Neo", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0;
}

.contents_style>* {
  margin: 20px 0 0 0;
}




/* 텍스트 관련 */
#article-view h2[data-ke-size] {
  font-size: 1.62em;
  line-height: 1.46;
}

#article-view h3[data-ke-size] {
  font-size: 1.44em;
  line-height: 1.48;
}

#article-view h4[data-ke-size] {
  font-size: 1.25em;
  line-height: 1.55;
}

#article-view p[data-ke-size='size18'] {
  font-size: 1.12em;
  line-height: 1.67;
}

#article-view p[data-ke-size='size16'] {
  line-height: 1.75;
}

#article-view p[data-ke-size='size14'] {
  font-size: 0.87em;
  line-height: 1.71;
}

#article-view h2,
#article-view h3,
#article-view h4 {
  font-weight: normal;
  letter-spacing: -1px;
  color: #000;
  margin: 1em 0 20px;
}

#article-view p+p, #article-view p {
  margin-bottom: 30px;
}

#article-view h2+h2,
#article-view h3+h3,
#article-view h4+h4 {
  margin: 0;
}

#article-view h2+h3,
#article-view h2+h4,
#article-view h3+h4 {
  margin-top: 10px;
}

#article-view h2+p,
#article-view h3+p,
#article-view h4+p,
#article-view h5+p,
#article-view h6+p {
  margin-top: 10px;
}

#article-view div[data-ke-type='moreLess'] {
  caret-color: auto;
  background-color: #fafafa;
  padding: 20px 20px 22px;
  margin: 20px 0;
  border: 1px dashed #dddddd;
  color: #333333;
}

#article-view a {
  color: #0000ff;
  text-decoration: underline;
}

#article-view figure[data-ke-type='contentSearch'] a {
  text-decoration: none;
}

/* 인용문 */
#article-view blockquote[data-ke-style='style1'] {
  text-align: center;
  background: url(https://t1.daumcdn.net/keditor/dist/0.7.21/image/blockquote-style1.svg) no-repeat 50% 0;
  padding: 34px 0 0 0;
  font-size: 1.12em;
  color: #333;
  line-height: 1.67;
  border: 0 none;
  font-family: "Noto Serif KR";
}

#article-view blockquote[data-ke-style='style2'] {
  border-color: #d0d0d0;
  border-width: 0 0 0 4px;
  border-style: solid;
  padding: 1px 0 0 12px;
  color: #666;
  line-height: 1.75;
  font-size: 1em;
  text-align: left;
}

#article-view blockquote[data-ke-style='style3'] {
  border: 1px solid #dddddd;
  background-color: #fcfcfc;
  text-align: left;
  padding: 21px 25px 20px 25px;
  color: #666;
  font-size: 1em;
  line-height: 1.75;
}

#article-view blockquote {
  display: block;
  margin: 20px auto 0;
  letter-spacing: 0px;
}

/* 첨부: 공통 */

/* 이미지 클릭 관련 - lightbox */
#article-view span[data-lightbox] {
  cursor: pointer;
}

/* 첨부: 파일 */
#article-view figure.fileblock {
  width: 470px;
  height: 73px;
  box-sizing: border-box;
  position: relative;
  border-radius: 1px;
  margin-top: 20px;
  margin-bottom: 0px;
  box-shadow: 0 1px 4px 0 rgb(0 0 0 / 7%);
  border: solid 1px rgba(0, 0, 0, 0.1);
}

#article-view figure.fileblock a {
  display: block;
}

#article-view figure.fileblock .image {
  float: left;
  width: 30px;
  height: 30px;
  background-image: url('https://t1.daumcdn.net/tistory_admin/static/manage/post-editor/img_editor_content.svg');
  margin: 22px 17px 21px 22px;
  background-position: 0 0;
}

#article-view figure.fileblock .desc {
  position: absolute;
  left: 70px;
  right: 60px;
  top: 4px;
  bottom: 0;
}

#article-view figure.fileblock .filename {
  color: #333333;
  font-size: 14px;
  text-overflow: ellipsis;
  width: 100%;
  height: 20px;
  margin: 16px 0 0;
}

#article-view figure.fileblock .size {
  font-family: Pretendard-Regular;
  font-size: 12px;
  color: #777;
  height: 16px;
}

#article-view figure[data-ke-align=alignCenter].fileblock {
  margin-left: auto;
  margin-right: auto;
}

#article-view figure[data-ke-align=alignRight].fileblock {
  margin-left: auto;
}

#article-view figure.fileblock .name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 272px;
  height: 20px;
  display: block;
}

#article-view figure.fileblock a::after {
  content: '';
  background-image: url('https://t1.daumcdn.net/tistory_admin/static/manage/post-editor/img_editor_content.svg');
  background-position: -40px 0;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 24px;
  top: 19px;
}

/* 첨부: 이미지 */
#article-view figure.imageblock {
  display: table;
  position: relative;
}

#article-view figure.imageblock.alignLeft {
  text-align: left;
}

#article-view figure.imageblock.alignCenter {
  margin: 20px auto 0;
  text-align: center;
}

#article-view figure.imageblock.alignRight {
  text-align: right;
  margin-left: auto;
}

#article-view figure.imageblock.floatLeft {
  float: left;
  margin-right: 20px;
}

#article-view figure.imageblock.floatRight {
  float: right;
  margin-left: 20px;
}

#article-view figure.imageblock.widthContent {
  display: block;
}

#article-view figure.imageblock.widthContent img {
  width: 100%;
}

#article-view figure.imageblock.floatLeft figcaption,
#article-view figure.imageblock.floatRight figcaption {
  text-align: left;
}

#article-view figure.imageblock img {
  display: inline-block;
  max-width: 100%;
  margin: 0;
  height: auto;
}

#article-view iframe,
#article-view figure img,
#article-view figure iframe {
  max-width: 100%;
}

#article-view figure img:not([width]),
#article-view figure iframe:not([width]) {
  width: 100%;
}

#article-view figure {
  max-width: 100%;
  clear: both;
}

#article-view figure img {
  display: inline-block;
}

#article-view figure.imagegridblock+figure.imagegridblock,
#article-view figure.imagegridblock+figure.imageblock,
#article-view figure.imageblock+figure.imagegridblock {
  margin-top: 10px;
}

/* 캡션 텍스트 */
#article-view figure figcaption {
  font-size: 13px;
  color: #777;
  word-break: break-word;
  padding-top: 10px;
  min-height: 20px;
  caption-side: bottom;
  text-align: center;
  caret-color: auto;
  width: 100%;
  box-sizing: content-box;
}

/* 첨부: 이미지 그리드 */
#article-view figure.imagegridblock {
  position: relative;
  caret-color: transparent;
  background-color: transparent;
  width: 100%;
  height: auto;
  margin: 20px 0 0 0;
}

#article-view figure.imagegridblock .image-container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
}

#article-view figure.imagegridblock .image-container>span {
  margin-right: 0;
  margin-top: 2px;
}

#article-view figure.imagegridblock img {
  margin: 0;
  height: inherit;
}

#article-view figure.imagegridblock span img {
  width: 100%;
}

hr[data-ke-style],
#article-view hr[data-ke-style] {
  border: none;
  font-size: 0;
  line-height: 0;
  margin: 20px auto;
  background: url(https://t1.daumcdn.net/keditor/dist/0.7.21/image/divider-line.svg);
  background-size: 200px 420px;
  cursor: default !important;
}

hr[data-ke-style='style1'],
#article-view hr[data-ke-style='style1'] {
  background-position: center 0;
  width: 64px;
  height: 4px;
  padding: 20px;
}

hr[data-ke-style='style2'],
#article-view hr[data-ke-style='style2'] {
  background-position: center -48px;
  width: 64px;
  height: 3px;
  padding: 20px;
}

hr[data-ke-style='style3'],
#article-view hr[data-ke-style='style3'] {
  background-position: center -96px;
  width: 64px;
  height: 8px;
  padding: 18px 20px;
}

hr[data-ke-style='style4'],
#article-view hr[data-ke-style='style4'] {
  background-position: center -144px;
  width: 2px;
  height: 60px;
  padding: 0 51px;

}

hr[data-ke-style='style4']+hr[data-ke-style='style4'],
#article-view hr[data-ke-style='style4']+hr[data-ke-style='style4'] {
  margin-top: 0;
}

hr[data-ke-style='style5'],
#article-view hr[data-ke-style='style5'] {
  background-position: center -208px;
  background-repeat: repeat-x;
  height: 2px;
  padding: 21px 0;
}

hr[data-ke-style='style6'],
#article-view hr[data-ke-style='style6'] {
  background-position: center -256px;
  background-repeat: repeat-x;
  height: 2px;
  padding: 21px 0;
}

hr[data-ke-style='style7'],
#article-view hr[data-ke-style='style7'] {
  background-position: center -304px;
  width: 200px;
  height: 19px;
  padding: 18px 20px 17px 20px;
}

hr[data-ke-style='style8'],
#article-view hr[data-ke-style='style8'] {
  background-position: center -362px;
  width: 200px;
  height: 19px;
  padding: 18px 20px 17px 20px;
}

/* 테이블 */
#article-view table[data-ke-style] {
  margin-bottom: 0px;
}

#article-view table {
  border-color: #ddd;
  margin-bottom: 0px;
}

#article-view table tbody tr {
  box-sizing: content-box;
}

#article-view table td {
  word-break: break-word;
  padding: 8px;
  font-size: 15px;
}

#article-view table[data-ke-style='style1'] tr:first-child td {
  border-bottom: 1px solid #6ed3d8;
}

#article-view table[data-ke-style='style2'] tr:first-child td {
  border-bottom: 1px solid #008300;
}

#article-view table[data-ke-style='style3'] tr:first-child td {
  border-bottom: 1px solid #006dbe;
}

#article-view table[data-ke-style='style4'] tr:nth-child(2n) td {
  background-color: #f9f9f9;
}

#article-view table[data-ke-style='style5'] tr:nth-child(2n) td {
  background-color: #f8fbfb;
}

#article-view table[data-ke-style='style6'] tr:nth-child(2n) td {
  background-color: #f5f7f5;
}

#article-view table[data-ke-style='style7'] tr:nth-child(2n) td {
  background-color: #f6f8fb;
}

#article-view table[data-ke-style='style8'] tr:first-child td {
  border-bottom: 2px solid #797979;
}

#article-view table[data-ke-style='style8'] {
  border-left: 0 none;
  border-right: 0 none;
}

#article-view table[data-ke-style='style8'] td {
  border-right-color: transparent;
  border-left-color: transparent;
}

#article-view table[data-ke-style='style9'] tr:first-child td {
  border-bottom: 2px solid #6ed3d8;
}

#article-view table[data-ke-style='style9'] {
  border-left: 0 none;
  border-right: 0 none;
}

#article-view table[data-ke-style='style9'] td {
  border-right-color: transparent;
  border-left-color: transparent;
}

#article-view table[data-ke-style='style10'] tr:first-child td {
  border-bottom: 2px solid #008300;
}

#article-view table[data-ke-style='style10'] {
  border-left: 0 none;
  border-right: 0 none;
}

#article-view table[data-ke-style='style10'] td {
  border-right-color: transparent;
  border-left-color: transparent;
}

#article-view table[data-ke-style='style11'] tr:first-child td {
  border-bottom: 2px solid #2780d4;
}

#article-view table[data-ke-style='style11'] {
  border-left: 0 none;
  border-right: 0 none;
}

#article-view table[data-ke-style='style11'] td {
  border-right-color: transparent;
  border-left-color: transparent;
}

#article-view table[data-ke-style='style12'] tr:nth-child(odd) td {
  background-color: #f9f9f9;
}

#article-view table[data-ke-style='style12'] tr td:first-child {
  background-color: #efefef;
}

#article-view table[data-ke-style='style12'] tr:first-child td {
  background-color: #9b9b9b;
  border: 1px solid #888;
  color: #fff;
}

#article-view table[data-ke-style='style13'] tr:nth-child(odd) td {
  background-color: #f9f9f9;
}

#article-view table[data-ke-style='style13'] tr td:first-child {
  background-color: #efefef;
}

#article-view table[data-ke-style='style13'] tr:first-child td {
  background-color: #6ed3d8;
  border: 1px solid #5cbcc1;
  color: #fff;
}

#article-view table[data-ke-style='style14'] tr:nth-child(odd) td {
  background-color: #f9f9f9;
}

#article-view table[data-ke-style='style14'] tr td:first-child {
  background-color: #efefef;
}

#article-view table[data-ke-style='style14'] tr:first-child td {
  background-color: #008300;
  border: 1px solid #006d00;
  color: #fff;
}

#article-view table[data-ke-style='style15'] tr:nth-child(odd) td {
  background-color: #f9f9f9;
}

#article-view table[data-ke-style='style15'] tr td:first-child {
  background-color: #efefef;
}

#article-view table[data-ke-style='style15'] tr:first-child td {
  background-color: #2780d4;
  border: 1px solid #1568b7;
  color: #fff;
}

#article-view table[data-ke-style='style16'],
#article-view table[data-ke-style='style16'] tr,
#article-view table[data-ke-style='style16'] tr td {
  border-color: transparent;
}

/* 오픈 그래프 */
#article-view figure[data-ke-type='opengraph'] {
  margin: 10px 0;
}

#article-view figure[data-ke-type='opengraph'] a {
  box-sizing: initial;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 1px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #000;

}

#article-view figure[data-ke-type='opengraph'] a:hover {
  opacity: 1;
}

#article-view figure[data-ke-type='opengraph'] div.og-image {
  border-right: solid 1px rgba(0, 0, 0, 0.06);
  width: 200px;
  height: 200px;
  background-size: cover;
  background-position: center;
  

}

#article-view figure[data-ke-type='opengraph'] div.og-image button {
  display: none;
}

#article-view figure[data-ke-type='opengraph']:hover div.og-image button {
  cursor: pointer;
  border: none;
  display: block;
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: #000;
  width: 15px;
  height: 15px;
}

#article-view figure[data-ke-type='opengraph'] p.og-title {
  color: #000000;
  font-size: 22px;
  padding-bottom: 10px;
  max-width: 467px;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0px;
  overflow: hidden;
  font-family: Pretendard-Regular;
}

#article-view figure[data-ke-type='opengraph'] .og-desc {
  margin: 0px;
  max-width: 467px;
  text-overflow: ellipsis;
  overflow: hidden;
  font-family: Pretendard-Regular;
  font-size: 14px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #909090;
  max-height: 42px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
}

@media (max-width: 600px) {
  #article-view figure[data-ke-type='opengraph'] a {
    height: 90px;
  }

  #article-view figure[data-ke-type='opengraph'] a::before {
    left: 44px;
  }

  #article-view figure[data-ke-type='opengraph'] div.og-image {
    width: 90px;
    height: 90px;
  }

  #article-view figure[data-ke-type='opengraph'] div.og-text {
    padding: 13px 12px 0 20px;
    height: 90px;
  }

  #article-view figure[data-ke-type='opengraph'] div.og-text p.og-title {
    font-size: 16px;
    -webkit-line-clamp: 1;
  }

  #article-view figure[data-ke-type='opengraph'] div.og-text p.og-desc {
    display: none;
  }

  #article-view figure[data-ke-type='opengraph'] div.og-text p.og-host {
    bottom: 10px;
  }
}

/* 비디오 첨부 */
#article-view figure[data-ke-type='video'] {
  display: block;
  table-layout: fixed;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  color: #bdbdbd;
  font-size: 16px;
  line-height: 30px;
}

#article-view figure[data-ke-type='video'][data-ke-style='alignLeft'] {
  text-align: left;
}

#article-view figure[data-ke-type='video'][data-ke-style='alignCenter'] {
  margin: 20px auto 0;
  text-align: center;
}

#article-view figure[data-ke-type='video'][data-ke-style='alignRight'] {
  text-align: right;
  margin-left: auto;
}

#article-view figure[data-ke-type='video'] img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

#article-view figure[data-ke-type='video'][data-video-host] iframe {
  margin: 0px;
  display: block;
}

#article-view figure[data-ke-type='video']>iframe[width='0'][height='0'] {
  width: 860px;
  height: 484px;
  max-width: 100%;
}

/* 코드 블럭 */
#article-view pre code.hljs {
  font-size: 14px;
  padding: 20px;
  font-family: SF Mono, Menlo, Consolas, Monaco, monospace;
  border: solid 1px #ebebeb;
  line-height: 1.71;
  overflow: auto;
}

/* 접은 글 */
#article-view .moreless-content :first-child {
  margin-top: 0;
  margin-bottom: 0;
}

#article-view div[data-ke-type='moreLess'] .moreless-content {
  display: none;
}

#article-view div[data-ke-type='moreLess'].open .moreless-content {
  display: block;
}

#article-view div[data-ke-type='moreLess'] .btn-toggle-moreless {
  color: #909090;
  font-size: 16px;
  line-height: 26px;
  font-family: Pretendard-Regular, sans-serif;
  cursor: pointer;
  text-decoration: none;
}

/* 리스트 */
#article-view ul li,
#article-view ol li {
  margin: 0 0 3px 22px;
  line-height: 1.7;
}

#article-view ul,
#article-view ol {
  margin: 14px auto 24px;
  padding: 0 0 0 10px;
}

/* 이모티콘 */
#article-view figure[data-ke-type=emoticon][data-ke-align=alignCenter] {
  text-align: center;
}

#article-view figure[data-ke-type=emoticon][data-ke-align=alignLeft] {
  text-align: left;
}

#article-view figure[data-ke-type=emoticon][data-ke-align=alignRight] {
  text-align: right;
}

/* 지도 */
#article-view figure[data-ke-type='map'],
#article-view iframe[data-ke-type='map'] {
  display: block;
  margin: 0 auto;
}

/* 첨부: 이미지 슬라이드 */
#article-view figure.imageslideblock {
  clear: both;
  position: relative;
  font-size: 0;
  outline: 0 none;
}

#article-view figure.imageslideblock .btn {
  display: none;
  outline: none;
}

#article-view figure.imageslideblock.ready .btn {
  display: inline-block;
}

#article-view figure.imageslideblock.ready .mark {
  opacity: 1;
}

#article-view figure.imageslideblock div.image-container {
  position: relative;
  min-width: 480px;
  max-width: 100%;
  min-height: 300px;
  max-height: 860px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
}

#article-view figure.imageslideblock div.image-container span.image-wrap {
  display: none;
}

#article-view figure.imageslideblock div.image-container span.image-wrap.selected {
  display: inline;
}

#article-view figure.imageslideblock div.image-container img {
  max-width: 100%;
  max-height: 100%;
}

#article-view figure.imageslideblock div.image-container .btn {
  position: absolute;
  border: 0;
  background: transparent;
  width: 60px;
  height: 60px;
  top: 50%;
  margin-top: -20px;
}

#article-view figure.imageslideblock div.image-container .btn-prev {
  left: 0;
}

#article-view figure.imageslideblock div.image-container .btn-next {
  right: 0;
}

#article-view figure.imageslideblock div.image-container:hover .btn span {
  opacity: 0.3;
}

#article-view figure.imageslideblock div.image-container .btn span {
  background-image: url('https://t1.daumcdn.net/tistory_admin/static/manage/post-editor/img_editor_content.svg');
  text-indent: -10000px;
  overflow: hidden;
  width: 40px;
  height: 40px;
  opacity: 0;
  transition: opacity ease-in-out 0.2s;
  display: inline-block;
}

#article-view figure.imageslideblock div.image-container .btn:hover span {
  opacity: 1;
}

#article-view figure.imageslideblock div.image-container .btn .ico-prev {
  background-position: -220px 0;
}

#article-view figure.imageslideblock div.image-container .btn .ico-next {
  background-position: -260px 0;
}

#article-view figure.imageslideblock div.mark {
  display: block;
  height: 44px;
  text-align: center;
  opacity: 0;
  transition: opacity ease-in-out 0.2s;
}

#article-view figure.imageslideblock div.mark span {
  width: 30px;
  height: 4px;
  display: inline-block;
  margin: 20px 1px;
  background-color: #d6d6d6;
  text-indent: -10000px;
  overflow: hidden;
  cursor: pointer;
}

#article-view figure.imageslideblock div.mark span:first-child {
  background-color: #000;
  margin-left: 0;
}

#article-view figure.imageslideblock div.mark span:last-child {
  margin-right: 0;
}

#article-view figure.imageslideblock figcaption {
  text-align: center;
  color: #666;
  font-size: 14px;
}

#article-view figure.imageslideblock.alignLeft {
  text-align: left;
}

#article-view figure.imageslideblock.alignCenter {
  margin: 0 auto 20px;
  text-align: center;
}

#article-view figure.imageslideblock.alignRight {
  text-align: right;
  margin-left: auto;
}

@media (max-width: 600px) {
  #article-view figure.imageslideblock div.image-container {
    min-width: 100%;
    width: 100%;
    max-height: 100%;
  }

  #article-view figure.imageslideblock div.image-container .btn span {
    opacity: 0.3;
  }
}

/* 구 에디터 속성 */
.btn_more, .btn_less {
  border: 0;
  background: transparent;
  display: block;
  height: 21px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 14px;
  color: #888;
  position: relative;
  width: 100%;
  text-align: left;
}

.btn_less::before,
.btn_more::before {
  content: "...";
  display: inline-block;
  padding-right: 5px;
  font-size: 14px;
  line-height: 6px;
  vertical-align: top;
}

.box-timeline-content {
  word-break: break-all;
}












/************************************** 모바일 커스텀 ******************************************/
@media screen and (max-width: 767px){

#title_font_id {
 display:none;
}




#header {
    position: fixed;
    z-index: 99;
    width: 100%;
    height: 50px!important;
    background-color: #fff;
     /* [추가] 세련되고 은은한 하단 박스 섀도우 효과 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
   
}

    #header {
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }
    
    #header.header-white {
        background-color: #fff !important;
        box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    }




    

#header h1 a {
    font-size: 17px!important;
    font-family: 'JalnanGothic';
}

#header h1 {
    position: relative;
    z-index: 10;
    padding: 13px!important;

}

#gnb {
display:none!important;
}



#header .util .search {
    position: relative;
    bottom: 10px!important;
    left:50px;
}


.percent {
	/* display: none; 을 추가 하면 안 보임 */
	position: absolute;
	top: 10px;
	right: 25px;
	display: block;
	font-size: 16px!important;
	font-weight: 700;
	color: #A80000!important;
	text-align: center;
}




#top_button {
  display: none!important;
}


#p_n_button2 {
  display: none!important;
}


.progress-bar {
	position: fixed;
	top: 57px!important;
}


.progress-container {
	position: fixed;
	top: 0px;
	width: 100%;
	height: 0px!important;
}



#b_h_button {
  font-size:13px;
}


  .post-cover {
    
    height: 150px!important;
    background-color: #fff;
  
}

#article-view {
    padding: 0px 0px 0px!important;

}


.post-cover .inner {
    padding-bottom: 0px!important;
}



#bottom_list_pf {
  display: none!important;
}

.post-category-wrap {
  display: none!important;
}



	
/* 2단 갤러리 */


.another_category th a  {
  font-size: 1.1em!important;
}
.another_category h4 a {
    font-size: 1.3em!important;
}





.post-item {
  float: left!important;
  width: 46%!important;
  padding-left: 5px!important;  
  margin-left: 3%!important; 
  margin-right: 0!important;
  height: 100%;
  margin-bottom: 40px!important;
  border-radius: 8px!important;
}





.post-item .thum {
  height: 150px!important;
  background-color: transparent;
  border-radius:8px!important;
  margin-bottom: -6px!important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1)!important;
}

.post-item .thum img {

 border-radius: 8px!important;
    height: 150px!important;
    

}



.post-item:nth-child(2n+1) {
  clear: both!important;
  margin-left: 0!important;
}



	.post-item .title {
    height:auto!important;
    padding-top:25px!important;
  }



.post-item .meta {
  display: none!important;
}

#content {
    padding: 0px 5px 5px!important;
  }

.inner {
    padding: 0px 0px 0px!important;
  }


.post-header h1 {

  padding-left: 20px!important;
}

#tt-body-page #container {
    padding-top: 70px!important;
}



/* 2단 갤러리 끝*/








#main_title {
  margin-bottom:-40px;
}




#bottom_list_pf {
  padding-bottom: 15px!important;
}



img {
  max-width: 100%!important;
  height: auto;
}

#header .inner {
  height: 50px!important;
  box-shadow: 3px 3px 10px 0 rgba(0,0,0,0.0)!important;
}



#list_top {
  height: 50px;
}



.layout-aside-left #aside {
  padding-top: 20px!important;
}



#close_button {
  display: none!important;
}





#ca_font {
  padding-top: 0px;

}

.post-header h1 {
  display:none!important;
}

.entry-content a {
  font-size:26px!important;
}

#homeclick {
  position: fixedimportant;
  bottom:15px!important;
  left:27%!important;
  height:25px!important;
}

#topButtonImg {
  width: 40px!important;
  height: 40px!important;
}



#l_image {
  height:20px!important;
  width:20px!important;
}


.tt-comment-cont {
  display:none!important;
}

#naver_cn {
  padding-top:10px!important;
}

.tt_txt_g {
    color: #fff!important;
}

.tt_box_namecard .tt_btn_subscribe {
    background: #000!important;
}

.tt_box_namecard .tt_wrap_thumb {
    border-radius: 50px!important;
}

#pp_list {
  display:none!important;
}


#image_b {
  width: 150px!important;
  height:150px!important;
}


.recent-posts-title {
  width:90%!important;
  height: 50px!important;
}


#r_list_pc {
 padding-left:5px!important;
 margin-bottom: 45px;
}



#insta_link {
  position: fixed;
  bottom: 15px;
  left:45%;
}

#aside {
  overflow-x: hidden!important;
  overflow-y: auto!important;
}




#toggleDarkMode {
  position: fixed !important;
  left: 20px !important;
  top: 10px !important;
  z-index: 9999 !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background-color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.0) !important;
  font-size: 18px !important; /* ✅ 이모지 크기 줄임 */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  overflow: hidden;
}




/* 다크모드 배경 개선 */
body.dark-mode #toggleDarkMode {
  background-color: rgba(0, 0, 0, 0.4) !important;; /* 더 어두운 배경 */
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1) !important;/* 살짝 밝은 그림자 */
}

/* 화살표 이미지 반전 필요 시 */
body.dark-mode #toggleDarkMode img {
  filter: invert(1) !important; /* 이미지가 흰색일 경우에만 */
}



body.dark-mode .post-item .thum
 {
 margin-bottom: 0px!important;
 
}


body.dark-mode .related-articles ul li figure img,
body.dark-mode .related-articles ul li .title 
 {
  border-radius: 10px!important;
  color: #fff!important;
}


.tt_box_namecard {
        border-radius: 10px!important;
    }


.tt_box_namecard {
    min-height: 140px!important;
    margin-top: 10px!important;
}

body.dark-mode #b_menubar {
  background-color: #1e1e1e!important;
}

/* 다크 모드에서 메뉴 버튼 배경을 흰색으로 설정 */
body.dark-mode #header .util .menu {
  background-color: #ffffff !important;
  color: #000000 !important; /* 텍스트도 검정으로 가독성 확보 */
  border-radius: 50px; /* 선택사항: 둥근 모서리 */
  width: 35px;
  height: 35px;
  bottom: 16px!important;
  position: fixed;
}



body.dark-mode #header .util .menu:after {
  right: 30%;
}

body.dark-mode #header .util .menu:before {
  right: 30%;
}
body.dark-mode #header .util .menu span {
  right: 30%;
}



body.dark-mode img[src*="https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fmu35E%2FbtsFmkd5uz4%2FjhlI5smKJKUUPNJYGVk5yk%2Fimg.png"] {
  filter: invert(1) brightness(2) !important;
}


body.dark-mode img[src*="https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FdDLFct%2FbtsFoDqKdux%2FXsqiFMMeSm9OSEvKisk711%2Fimg.png"] {
  filter: invert(1) brightness(2) !important;
}



#category_g_title {
  display:none;
}

.tt_box_namecard {
  box-shadow: 0 0px 0px 0 rgba(0,0,0,.0)!important;
}




#meta_space {
  padding-top: 20px!important;
  padding-bottom: 20px!important;
}

#main_list_space {
  height:10px!important;
}

#side_ad_div {
  display:none;
}


#hamburgerBtn {
  display:none!important;
}


#f_space {
  display:none;
}


.recent-posts {
  display:none;
}

#recent {
  display:none;
}

#recent_more_button {
  display:none;
}


#recent_list_space {
  display:none;
}


.scrollToTop {
  display:none;
}


#footer {
  display:none;
}

#tt-body-page #container {
  margin-bottom: -90px;
}


#recent_li_ms {
  margin-top: -50px!important;
}



.count {
  margin-bottom:20px!important;
}

.post-category-chip {
  padding: 4px 10px!important;
  font-size: 12px!important;
  border-radius: 12px!important;
}
.post-category-chip .icon {
  font-size: 12px!important;
  margin-right: 4px!important;
}




.post-category-chip {
  font-size: 11px!important;
  font-weight: 400!important;
  color: #9A9A9A!important;
}
 

#topButtonImg {
  position: fixed;
  bottom: 70px!important;
}


.count {
  display:none!important;
}




/* 맨위로 버튼 스타일 */
#topButton {
  position: fixed;
  bottom: 70px!important;
  right: 10px!important;
  width: 44px!important;
  height: 44px!important;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.0);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.3s ease;
  padding: 0;
}


/* 검색 버튼 좌측 상단 고정 */
#search-toggle-btn {
  position: fixed;
  top: 15px!important;
  left: 20px;
  z-index: 12000;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #000;
  cursor: pointer;
}

body.dark-mode #modernHomeBtn img {
  filter: invert(1);
}


#list_sp {
  height:20px!important;
}


.inner {
  padding-top:50px!important;
}


#top_ad {
  padding-top: 40px;
}





html body .container_postbtn .btn_post .ico_postbtn.ico_share {

  background-image: url('https://tistory1.daumcdn.net/tistory/631152/skin/images/icons8-share-60.svg') !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  text-indent: 0 !important; /* 기존 숨김 제거 */
  overflow: hidden !important;
}


html body .ico_postbtn.ico_share {
  background-image: none !important;
}

#content_ca {
  font-size: 9pt!important;
}
}


/*************************************************** 모바일 커스텀 END ***********************************/















/*********************************** PC 커스텀 ******************************/



@media (min-width: 1025px) and (max-width: 4280px) {


.another_category th a  {
  font-size: 15pt!important;
}






html body .container_postbtn .btn_post .ico_postbtn.ico_share {

  background-image: url('https://tistory1.daumcdn.net/tistory/631152/skin/images/icons8-share-60.svg') !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  text-indent: 0 !important; /* 기존 숨김 제거 */
  overflow: hidden !important;
}


html body .ico_postbtn.ico_share {
  background-image: none !important;
}




 #container .content-wrap {
    max-width: 1500px;
}

.aside {
  width:15%!important;
}

#content {
  width: 77%!important;

}




#aside {
  position: sticky;
  position: -webkit-sticky;
  top: -60px;
}

#date_image {
  display: none!important;
}


.post-item .title {
    padding-top: 5px!important;
}

.related-articles ul li .title {
  padding-top: 15px;
}

.entry-content p {
   font-family: 'Pretendard-Regular'!important;
}

.post-item .meta {
   display: none!important;
}


.tt_box_namecard {
 border-radius: 10px;
}


#p_n_button1 {
  display: none!important;
}


#p_n {
  display: none!important;
}


#mobile_footer {
  display: none!important;
}




#header .util {
    position: absolute;
    top: 24px;
    right: 50px!important;
}


.post-item .thum {
  /*box-shadow:3px 3px 10px 0 rgba(0,0,0,0.3)!important;*/
  border-radius: 0px!important;
}




#topButtonImg {
  height: 45px!important;
  right: 50px!important;
  position: fixed;
  bottom: 200px!important;
}


#content_tt {
  font-size: 2.1em!important;
}




#m_next {
  position: fixed;
  bottom: 50%!important;
  right: 20px!important;
  z-index:200;
}


#m_prev_font {
  font-size: 20pt!important;
}
#m_next_font {
  font-size: 20pt!important;
}


#tt-body-index #content {
  padding-bottom: 0px!important;
}

#b_space {
  display: none!important;
}

.comments {
  margin-bottom: 0px!important;
}

#content {
  padding-bottom: 0px!important;

}

.sidebar .count {
  margin-bottom: 0px!important;
}

.layout-aside-left #aside {
  padding-bottom: 10px!important;
}


.comments{
   
    max-width: 1100px;
  margin: 0 auto !important; /* 중앙 정렬 핵심 */
}

.related-articles {
    margin-bottom: 25px!important;
    max-width: 1100px;
  margin: 0 auto !important; /* 중앙 정렬 핵심 */
}

#article-view {
  padding-bottom: 10px!important;
  max-width: 1100px;
  margin: 0 auto !important; /* 중앙 정렬 핵심 */
}

.tt_txt_g {
    color: #fff!important;
}

.tt_box_namecard .tt_btn_subscribe {
    background: #000!important;
}

#bottom_space_02 {
  display:none!important;
}

.pagination {
    margin-bottom: 20px!important;
}


#recent_thum {
  width: 100%!important;
}




#b_menubar {
  display:none!important;
}

.related-articles ul li .title {
    line-height: 6.4!important;

}


.pagination a {
    font-size: 2.9em!important;

}



.post-header h1 {
    font-size: 1.3em!important;
}


#image_b {
  width: 330px!important;
  height: 330px!important;
  padding-left: 0px!important;
}


.recent-posts-title {
  width:50%!important;
  height: 70px!important;
  padding-left: 25px!important;
  padding-top: 17px!important;

}


#r_list_pc {
  width:33%!important;
  margin-bottom: 70px!important;
}


#insta_link {
  position: fixed;
  bottom: 180px;
  right: 60px;
}

#insta_img {
  height: 30px!important;
}



/* 헤더고정 */

#header {

  z-index:1010;

  position:sticky;

  position:-webkit-sticky;

  top:0;
  

}

/* 헤더고정 끝 */


 /* 다크모드일 때 검색 버튼 스타일 */
  body.dark-mode #header .util .search {
    background-color: #1E1E1E; /* 어두운 배경 */
    color: #fff;            /* 흰색 글씨 */
   /* 약간 밝은 테두리 */
   background-blend-mode: multiply;
  filter: brightness(0.8);
  }

  body.dark-mode .search input {
    background-color: #1E1E1E;
    color: #fff;
   
  }



.tt_box_namecard {
  margin-top: 10px!important;
  
  max-width:1100px!important;
 
}
  
body.list-view .post-item {
  padding-bottom: 50px!important;
}





#meta_space {
  padding-top: 50px!important;
  max-width: 1100px;
  margin: 0 auto;
}


.post-item {
  margin-bottom: 100px!important;
}



#comment_title_bg {
  margin: 0 auto!important;
  max-width: 1060px!important;
}

.tags{
  margin: 0 auto!important;
  max-width: 1100px!important;
}
    

   #aside.sidebar {
     padding-left:20px!important;
   }


.post-item:nth-child(4n+1) {
    margin-left: 40px;
}

/*
#content {
  padding-left: 50px!important;
}
*/

.post-item .title,
.post-item .entry-title,
.post-item h2,
.post-title,
.list-type .title {
  font-family: 'Cafe24Ohsquare', sans-serif !important;
  font-size: 15px !important;
  font-weight: normal !important;
  line-height: 1.6 !important;
  letter-spacing: -0.3px !important;
  color: #1a1a1a;
  padding-left:10px;
  padding-right:10px;
  padding-top: 30px!important;
  padding-bottom: 30px;
  height: 50px!important;
}

#count {
  display:none!important;
}


/* 맨위로 버튼 스타일 */
#topButton {
  position: fixed;
  bottom: 190px!important;
  right: 50px!important;
  width: 45px!important;
  height: 45px!important;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.3s ease;
  padding: 0;
}


.post-item .title {
  padding-top: 30px!important;
}

}
/********************* PC 사이즈 속성 지정 끝 *******************/










/* 태블릿 설정 */
@media (min-width: 768px) and (max-width: 991px) {

.meta {
display: none!important;
}

.post-item {
  padding-bottom: 80px!important!;
}

#close_button {
  display: none!important;
}


#r_list23 {
  display:none;
}



#p_n_button2 {
  display:none!important;
}


.pagination2 {
  display: none!important;
}


.post-item .thum {
  padding-bottom: 0%!important;
}

#homeclick {
  display:none!important;
}

#b_menubar {
  display:none!important;
}


#pp_list {
  display:none!important;
}

#side_ad_div {
  display:none;
}


.post-item .title {
  padding-left:20px!important;
  padding-right: 20px!important;
  padding-top: 5px;
}



}

/**************************************** 태블릿 설정 끝 ************************************/










/* NEW 아이콘 변경 */
img.newicon 
{ 
	vertical-align: middle;
}



/* 하이퍼 링크 색상 변경 */

.entry-content a {
	color: #0000FF;
	text-decoration: underline;
}
.entry-content a:hover {
	color: #0000FF;
	text-decoration: underline;
}


/* 본문 구독 버튼 삭제 */
.container_postbtn .postbtn_like + .btn_menu_toolbar {
  display: none!important;
}


.container_postbtn {
    margin: 5px 0 5px;
    padding: 0 !important;
}


/* 페이지네이션 선택 색상 */
.pagination .selected {
    color: #0000ff!important;
}



/* 댓글 등록 버튼 라운딩 */

.tt-comment-cont .tt-btn_register {
   border-radius: 10px!important;
}
/* 댓글 등록 버튼 라운딩 끝 */



/* 댓글창 숨기기 */
.tt-comment-cont {
  display:none!important;
}
/* 댓글창 숨기기 끝 */




.post-cover h1 {
    color: #000000!important;
}


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


    .tt_box_namecard .tt_wrap_thumb {
        border-radius: 50px!important;
    }
}






/* 다크 모드 */

body.dark-mode {
  background-color: #121212;
  color: #fff!important;
}

body.dark-mode a {
  color: #90caf9;
}


body.dark-mode #header .util .search,
body.dark-mode #recent_title_font2, 
body.dark-mode .post-item .thum,
body.dark-mode .related-articles ul li figure,
body.dark-mode #category_title_01,
body.dark-mode #article-view figure[data-ke-type='opengraph'] p.og-title,
body.dark-mode #header h1,
body.dark-mode .sidebar .category ul li a,
body.dark-mode #recent,
body.dark-mode #wrap #title_font_id,
body.dark-mode #wrap,
body.dark-mode .inner,
body.dark-mode header,
body.dark-mode #header,
body.dark-mode #footer,
body.dark-mode #aside,
body.dark-mode .entry-content {
  background-color: #1e1e1e;
  color: #fff!important;
}


body.dark-mode .recent-posts-title,
body.dark-mode .related-articles ul li .title,
body.dark-mod #coffee_font {
  color: #fff!important;
}


body.dark-mode #article-view figure[data-ke-type='opengraph']
{
  border: 1px solid #fff;
}




body.dark-mode .post-item .excerpt,
body.dark-mode .cover-thumbnail-1 ul li .date,
body.dark-mode .meta,
body.dark-mode .comment-list ul li p {
  color: #fff!important;
}

body.dark-mode .btn,
body.dark-mode .pagination .view-more {
  background-color: #333;
  color: #fff!important;
  border-color: #444;
}




#toggleDarkMode {
  font-size: 16px;
  padding: 8px 12px;
  border: none;
  cursor: pointer;
  background-color: transparent;
}

/* 모바일 화면에서 텍스트 숨김 */
@media (max-width: 768px) {
  #toggleDarkMode .text {
    display: none;
  }
}



#toggleDarkMode {
  position: fixed;
  top: 75px;
  right: 190px;
  z-index: 999000;
  padding: 10px 20px;
  background: #ECEBEF;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

/* 다크모드 배경 개선 */
body.dark-mode #toggleDarkMode {
  background-color: rgba(0, 0, 0, 0.4) !important;; /* 더 어두운 배경 */
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1) !important;/* 살짝 밝은 그림자 */
}




/* 화살표 이미지 반전 필요 시 */
body.dark-mode #toggleDarkMode img {
  filter: invert(1) !important; /* 이미지가 흰색일 경우에만 */
}



/* 썸네일 미리 보기 이미지 체인지 */

/* 배경 이미지가 없는 .og-image div에 기본 이미지 강제 지정 */
#article-view figure[data-ke-type="opengraph"] .og-image[style="background-image: url();"],
#article-view figure[data-ke-type="opengraph"] .og-image:not([style]) {
  background-image: url('https://tistory1.daumcdn.net/tistory/631152/skin/images/pf_02.png') !important;
  background-size: cover !important;
  background-position: center !important;
}




#tt-body-index #content {
        padding-bottom: 0px !important;
        padding-top: 0px !important;
    }
}


body.list-view .post-header,
body.list-view #main_title,
body.list-view #main_title h3 {
  width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
  margin: 0 auto !important;
}

body.list-view #main_title h3 {
  padding-left: 20px !important;
  padding-right: 0 !important;
}

body.list-view .content-wrap {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}



@media screen {
  body.list-view #main_title,
  body.list-view #main_title h3 {
    width: 100vw !important; /* 화면 전체 너비 강제 */
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    
    padding-right: 0 !important;
    display: block !important;
  }

  body.list-view .post-header {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body.list-view .content-wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
}





@media (min-width: 760px) and (max-width: 1024px) {
  #content {
 
  width: 100%!important;
  
}
}



.footer-full-wrap .footer-content {
  padding-bottom:0px!important;
}




/******* 본문 이미지 페이드 업 ************/

img.observing {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

img.loaded {
  opacity: 1;
  transform: translateY(0);
}

/******* 본문 이미지 페이드 업 ************/





.close-icon {
  display: none !important; /* ← 강제 */
}

/* 모바일에서만 보이게 */
@media screen and (max-width: 768px) {
  .close-text {
    display: none !important;
  }
  .close-icon {
    display: inline-block !important;
  }
}



/************* PC 햄버거 버튼 ***************/

/* 공통 햄버거 버튼 스타일 */
#hamburgerBtn {
  position: fixed;
  top: 20px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 119999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hamburger-icon rect {
  fill: #111;
  transition: transform 0.4s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* X자 전환: translate 수치 줄임 */
#hamburgerBtn.active .line1 {
  transform: rotate(45deg) translate(8px, 8px);
}
#hamburgerBtn.active .line2 {
  opacity: 0;
}
#hamburgerBtn.active .line3 {
  transform: rotate(-45deg) translate(8px, -8px);
}





/*********** 리스트 가로 스크롤 삭제 **************/

body.list-view .pagination-wrap {
  width: 100vw;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

body.list-view .pagination {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

body.list-view .pagination a {
  float: none !important;
  display: inline-block;
}


body.list-view #content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  padding: 0 10px 10px !important;
  box-sizing: border-box;
  overflow-x: hidden; /* ✅ content 내에서만 제한 */
}

body.list-view .post-item {
  display: flex !important;
  flex-direction: column;
  width: 100% !important;
  margin-bottom: 20px !important;
  border: 0px solid #ddd;
  box-sizing: border-box;
  height: auto !important;
  overflow: hidden; /* ✅ 내부 넘침 방지 */
}

body.list-view .post-item * {
  box-sizing: border-box;
  max-width: 100%; /* ✅ 내부 요소가 확장되는 것 방지 */
}

body.list-view .thumb img {
  width: 100% !important;
  height: auto !important;
  display: block;
  max-width: 100%;
  object-fit: cover !important;
}





/**************** 카테고리명 부분 CSS ************************/

.post-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px 6px 14px;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6); /* Glass 효과 배경 */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #A7A7A7;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08), 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  padding-right: 28px;
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif !important;
  border-radius: 5px!important;
}

.post-category-chip::after {
  content: '→';
  position: absolute;
  right: 10px;
  font-size: 13px;
  color: #888;
  transition: transform 0.2s ease, color 0.2s ease;
}

.post-category-chip:hover {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  color: #111;
}

.post-category-chip:hover::after {
  transform: translateX(4px);
  color: #444;
}

/* 다크모드 대응 */
body.dark-mode .post-category-chip {
  background: rgba(30, 30, 30, 0.5);
  backdrop-filter: blur(8px);
  color: #eee;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

body.dark-mode .post-category-chip:hover {
  background: rgba(50, 50, 50, 0.7);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

body.dark-mode .post-category-chip::after {
  color: #aaa;
}

body.dark-mode .post-category-chip:hover::after {
  color: #fff;
}






/* 글제목 텍스트 */
body.dark-mode .post-item .title {
  color: #f0f0f0 !important;
}

/* 카테고리 텍스트 */
body.dark-mode .post-category-chip {
  color: #f0f0f0 !important;
  background: linear-gradient(to right, #444, #666) !important; /* 선택사항: 배경도 어둡게 */
}




/* 글목록 페이드 */

html.loading {
  overflow: hidden;
}

.fade-in-target {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.fade-in-target.in-view {
  opacity: 1;
}





/* close 버튼 */

  #forceCloseBtn {
    position: fixed;
    bottom: 70px;
    right: 50px;
    width: 45px;
    height: 45px;
    font-size: 28px;
    font-weight: bold;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    cursor: pointer;
    z-index: 9999;
    display: none;
    transition: background-color 0.3s;
  }

  #forceCloseBtn:hover {
    background-color: rgba(255, 0, 0, 0.8);
  }

  @media screen and (min-width: 1025px) {
    #forceCloseBtn {
      display: block;
    }
  }



.post-item .thumb img {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-item .thumb img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}





#content_tt{
  line-height:1.8!important;
}


.tt_box_namecard .tt_desc {
    color: #000!important;
}

/* 헤더 내부 요소 중앙 정렬 강제 적용 */
#header .inner {
  text-align: center !important;
}

/* 타이틀 링크 요소에 수직/수평 정렬 강제 적용 */
#header h1 a {
  display: inline-flex !important;
  align-items: center !important;     /* 수직 중앙 */
  justify-content: center !important; /* 수평 중앙 */
  height: 32px !important;
  text-decoration: none !important;
  color: #333 !important;
  font-family: 'YEONGJUSeonbiTTF' !important;
}



#header .util {
  display:none;
}



/* 검색 버튼 좌측 상단 고정 */
/* [PC 환경] 기본 스타일 (좌측 상단 배치) */
#search-toggle-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 12000;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #000;
  cursor: pointer;
  
  /* 아이폰(iOS)에서 fixed 포지션이 튀거나 씹히는 현상 방지 */
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  transition: color 0.3s ease;
}

/* 블로그 다크 모드 활성화 시 검색 버튼 색상도 화이트로 변경 */
body.dark-mode #search-toggle-btn {
  color: #fff;
}

/* [모바일 환경] 화면 너비 768px 이하에서 위치 및 세로 늘어남 버그 수정 */
@media screen and (max-width: 768px) {
  #search-toggle-btn {
    display: flex !important;         /* 내부 아이콘 정중앙 정렬을 위한 정렬 체계 변경 */
    align-items: center !important;
    justify-content: center !important;
    
    top: auto !important;             /* 기존 상단 고정 해제 */
    bottom: 10px !important;          /* 모바일 하단 위치 */
    left: 80px !important;            /* 홈버튼(left 20px + 크기 44px) 옆에 나란히 배치 */
    
    /* 세로로 길게 늘어나는 영역을 44px 박스로 가두기 */
    width: 44px !important;           
    height: 44px !important;
    line-height: 1 !important;        /* 텍스트 행간 높이 초기화 */
    padding: 0 !important;            /* 스킨 고유의 기본 패딩값 초기화 */
    
    font-size: 26px !important;       /* 모바일에서 홈버튼(30px)과 밸런스를 맞추기 위해 크기 살짝 조정 */
  }
}


/* 다크모드 대응 - 검색 토글 버튼 */
body.dark-mode #search-toggle-btn {
  color: #fff !important;
}




/* 오버레이 */
#search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 199911;
  justify-content: center;
  align-items: center;
   align-items: flex-start; /* 중앙 → 상단으로 변경 */
  padding-top: 100px;       /* 상단 여백 추가 */
}

/* 검색 박스 */
.search-box {
  display: flex;
  width: 90%;
  max-width: 500px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

 
}

.search-box input[type="text"] {
  flex: 1;
  padding: 14px;
  font-size: 16px;
  border: none;
  outline: none;
  color: #000;
  background-color: #f9f9f9;
}

.search-box button[type="submit"] {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 0 18px;
  cursor: pointer;
}

.search-box button .material-icons {
  font-size: 22px;
}


#aside {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background-color: #fff;
  transition: left 0.3s ease;
  z-index: 999899999;
}

#aside.open {
  left: 0;
}


@media (max-width: 2559px) {
  #side_ad_div {
    display: none;
  }
}


@media (min-width: 1025px) {
  #m_prev {
    left: auto !important;
    right: 40px !important;
    bottom: 60% !important;
  }
}


.footer-full-wrap {
  width: 100%;
  text-align: center;
  background: transparent;
  padding-bottom: 50px;
}

.footer-full-wrap .footer-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.footer-full-wrap .footer-content p {
  margin: 10px 0;
  font-size: 16px;
}

/* 다크 모드 대응 */
body.dark-mode .footer-full-wrap {
  background-color: transparent;
  color: #f0f0f0;
}



#aside.sidebar {
  padding-left:15px!important;
}





@media (max-width: 767px) {
  /* 오버레이 전체 영역 (display는 JS에서만 제어) */
  #search-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 9999911 !important;
    justify-content: center !important;
   
    padding: 20px !important;
    box-sizing: border-box !important;
     align-items: flex-start; /* 중앙 → 상단으로 변경 */
  padding-top: 200px;       /* 상단 여백 추가 */
  }


  /* 검색창 박스 */
  .search-box {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #fff !important;
    padding: 20px !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    margin-top: 50px;
  }

  /* 검색 입력창 */
  .search-box input[type="text"] {
    width: 100% !important;
    font-size: 16px !important;
    padding: 12px !important;
    margin-bottom: 10px !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    background-color: #f9f9f9 !important;
    color: #000 !important;
    box-sizing: border-box !important;
  }

  /* 검색 버튼 */
  .search-box button[type="submit"] {
    width: 100% !important;
    padding: 12px !important;
    font-size: 16px !important;
    background-color: #000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
  }

  .search-box button .material-icons {
    font-size: 20px !important;
  }
}





/* 오버레이 */
#sidebarOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999111;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}
#sidebarOverlay.active {
  display: block;
}




  #aside.sidebar {
    position: fixed;
    top: 0;
    /* ✅ 좌측 관련 속성 완전 제거 */
    /* left: auto; */
    left: unset !important;

    /* ✅ 우측으로 숨김 설정 */
    right: -350px !important;
    width: 350px;
    height: 100%;
 
    z-index: 99998999999;
    overflow-y: auto;
 background-color: rgba(255, 255, 255, 0.6); /* 반투명 흰색 */
  backdrop-filter: blur(12px); /* 글라스모피즘 효과 */
  -webkit-backdrop-filter: blur(12px); /* Safari 지원 */
  border-left: 1px solid rgba(255, 255, 255, 0.3); /* 세련된 라인 */
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1); /* 오른쪽 그림자 */
    /* ✅ right 속성 기준으로 트랜지션 설정 */
    transition: right 0.3s ease-in-out;

    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15); /* 오른쪽에 그림자 */

    visibility: hidden;
    pointer-events: none;
  }

 #aside.sidebar.active {
    right: 0 !important;
    visibility: visible;
    pointer-events: auto;
  }
}









/* 맨위로 버튼 스타일 */
#topButton {
  position: fixed;
  bottom: 200px;
  right: 50px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.3s ease;
  padding: 0;
}

#topButton:hover {
  transform: scale(1.1);
  background-color: #fff;
}

/* SVG 아이콘 */
#topButton svg {
  stroke: #000;
  transition: stroke 0.3s ease;
}

/* 다크모드 대응 */
body.dark-mode #topButton {
  background-color: rgba(30, 30, 30, 0.9);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

body.dark-mode #topButton svg {
  stroke: #fff;
}

#modernHomeBtn {
  position: fixed;
  bottom: 20px;
  left: 47%;
  width: 50px;
  height: 50px;
  background-color: #EDEDEE;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

#modernHomeBtn:hover {
  background-color: #f0f0f0;
  transform: scale(1.1);
}

#modernHomeBtn img {
  width: 26px;
  height: 26px;
  filter: invert(0);
}

/* 다크모드 대응 */
body.dark-mode #modernHomeBtn {
  background-color: #333333cc;
}
body.dark-mode #modernHomeBtn:hover {
  background-color: #444;
}
body.dark-mode #modernHomeBtn img {
  filter: invert(1);
}

/* ✅ 모바일에서는 하단 메뉴바 위 (기존 홈버튼 위치처럼) */
@media screen and (max-width: 1024px) {
  #modernHomeBtn {
    bottom: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    bottom: 9px!important;
  }
  #modernHomeBtn img {
    width: 22px;
    height: 22px;
  }
}


/* 기본 라이트 모드 */
.count {
  color: #000000;
  padding: 15px;
  text-align: center;
}

/* 다크모드 대응 */
body.dark-mode .count {
  background-color: #1e1e1e;
  color: #f0f0f0;
}

body.dark-mode .count .total font {
  color: #4ea6ff !important; /* 진한 파랑 계열로 변경 */
}

body.dark-mode .count .today font {
  color: #f4b76b !important; /* 주황 계열로 변경 */
}

body.dark-mode .count .yesterday {
  color: #cccccc;
}






/***** PC 하단 카테고리 & 인기글 ********/

@media screen and (min-width: 1025px) {
  .bottom-category-popular-wrap {
    max-width: 1100px;
    margin: 50px auto 0 auto;
    display: flex;
    gap: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.06);
  }

  .bottom-category-popular-wrap .left-category,
  .bottom-category-popular-wrap .right-popular {
    flex: 1;
  }

  .bottom-category-popular-wrap h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #333;
    text-align: left;
  }

  .bottom-category-popular-wrap .category-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 10px;
  }

  .bottom-category-popular-wrap .category-inner a {
    background: #DC999B;
    color: #fff !important;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 8px;
  }

  .bottom-category-popular-wrap .category-inner a:hover {
    background: #AE1116;
  }

  .bottom-category-popular-wrap .right-popular ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .bottom-category-popular-wrap .right-popular li {
    margin-bottom: 12px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  }

  .bottom-category-popular-wrap .popular-item {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .bottom-category-popular-wrap .thumb-wrap img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
  }

  .bottom-category-popular-wrap .popular-info {
    flex: 1;
    text-align: left;
  }

  .bottom-category-popular-wrap .popular-info a.title {
    font-weight: bold;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
  }

  .bottom-category-popular-wrap .cnt {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
  }

  .bottom-category-popular-wrap .cat-link {
    margin-top: 2px;
    font-size: 12px;
    color: #666;
  }

  .bottom-category-popular-wrap .cat-link a {
    color: #DC999B;
    text-decoration: none;
  }


}

@media screen and (max-width: 1024px) {
  .left-category  {
    display: none;
  }
}


/* 리스트 페이지에서는 content-wrap을 넓게 */
body.list-page .content-wrap {
  max-width: 2000px!important;
  margin: 0 auto!important;
}

/* 본문 페이지에서는 기존 사이즈 유지 */
body.post-page .content-wrap {
  max-width: 1500px!important;
  margin: 0 auto!important;
}














/======= 햄버거 버튼 (PC 환경: 1025px 이상) =======*/
@media screen and (min-width: 1025px) {
    #hamburgerBtn {
        position: fixed !important;
        top: auto !important;
        bottom: 20px !important;
        left: 50%;
        transform: none !important;
        width: 44px !important;
        height: 44px !important;
        z-index: 119999 !important;
        background: none !important;
        border: none !important;
        padding: 4px !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hamburger-icon {
        width: 100%;
        height: auto;
        transition: filter 0.3s ease;
    }

    body.dark-mode .hamburger-icon {
        filter: invert(1);
    }

    #hamburgerBtn.active .hamburger-icon {
        content: url("https://tistory1.daumcdn.net/tistory/631152/skin/images/x.svg");
    }
}

/* ======= 햄버거 버튼 (모바일/태블릿 환경: 1024px 이하) ======= */
@media screen and (max-width: 1024px) {
    #hamburgerBtn {
        position: fixed !important;
        top: 10px !important;
        right: 10px !important;
        transform: none !important;
        width: 35px !important;
        height: 35px !important;
        padding: 4px !important;
        display: flex !important;
        z-index: 99999 !important;
    }

    .hamburger-icon {
        width: 100%;
        height: auto;
    }
}

/* ======= 모바일 사이드바 레이아웃 (우측 탈출 버그 수정) ======= */
@media screen and (max-width: 1024px) {
    #aside.sidebar {
        position: fixed !important;
        top: 0 !important;
        
        /* 📌 [핵심 수정 1] 초기 상태를 우측 바깥으로 완벽히 격리 (100% 대신 vw 사용) */
        left: 100vw !important; 
        right: auto !important; 
        transform: none !important; /* 가로폭을 터트리던 윈인이므로 제거 */
        
        width: 330px !important;
        height: 100% !important;
        overflow-y: auto !important;
        z-index: 9999899 !important;

        /* 디자인 속성 유지 */
        background-color: rgba(255, 255, 255, 0.6) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1) !important;

        /* 📌 [핵심 수정 2] left 속성을 기준으로 부드럽게 스르륵 열리도록 변경 */
        transition: left 0.3s ease-in-out !important;
        visibility: hidden;
        pointer-events: none;
    }

    /* 📌 [핵심 수정 3] 활성화되었을 때 우측 끝에서 안쪽으로 280px만큼 들어오게 계산 */
    #aside.sidebar.active {
        left: calc(100vw - 330px) !important; 
        visibility: visible !important;
        pointer-events: auto !important;
    }
    
    /* 🌙 다크모드 글라스모피즘 보정 유지 */
    body.dark-mode #aside.sidebar {
        background-color: rgba(30, 30, 30, 0.6) !important;
        border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4) !important;
    }
}





/* 쿠팡 파트너스 문구: 모바일에서 글자 크기 줄이기 */
@media screen and (max-width: 768px) {
  .coupang-disclaimer {
    font-size: 12px !important;
  }
}


/******** PC 컨텐트 중앙정렬 **********/

@media screen and (min-width: 1025px) {
  #content {
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 1264px;
    box-sizing: border-box;
    float: none !important;
    display: block !important;
  }

  .content-wrap {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 1500px;
    box-sizing: border-box;
  }
}



/* ✅ 홈버튼 - 모바일용 (하단 중앙 고정) */
@media screen and (max-width: 1024px) {
  #modernHomeBtn {
    display:none;
    bottom: 70px!important;
    left: 35px!important;
    transform: translateX(-50%) !important;
    transition: none !important; /* ← 위치 변화 중 튕김 방지 */
    width: 44px!important;
    height: 44px!important;
  }
}




/***** 글목록 카테고리명 앞 아이콘 SVG *******/


.modern-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px; /* 아이콘과 텍스트 간격 */
}

.category-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.category-svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  transition: fill 0.3s ease;
}

/* 다크모드 대응 */
body.dark-mode .category-svg {
  fill: #ccc;
}

body:not(.dark-mode) .category-svg {
  fill: #222;
}



.modern-title-wrap {
  max-width: 1400px; /* 글 목록의 최대 너비와 동일하게 */
  margin: 0 auto;    /* 가운데 정렬 */
  padding: 0 16px;   /* 좌우 여백 */
  display: flex;
  align-items: center;
  gap: 8px;
}



body.dark-mode #aside.sidebar {
  background-color: rgba(30, 30, 30, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
}






#aside.sidebar ul li {
  padding: 10px 16px;
 
  transition: background 0.2s ease;
  cursor: pointer;

}

#aside.sidebar ul li:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}
body.dark-mode #aside.sidebar ul li:hover {
  background-color: rgba(255, 255, 255, 0.05);
}







/*** 좌 화살표 버튼 글목록 ****/
.circle-nav-button {
  position: fixed;
  bottom: 9px;
  left: 12%;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background-color: #EFEFF0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display:none;
}

.circle-nav-button:hover {
  background-color: #CFCFCF;
  transform: scale(1.05);
}

.circle-nav-button img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* 다크모드 배경 개선 */
body.dark-mode .circle-nav-button {
  background-color: rgba(0, 0, 0, 0.4); /* 더 어두운 배경 */
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1); /* 살짝 밝은 그림자 */
}

/* 다크모드에서 hover 시 효과 */
body.dark-mode .circle-nav-button:hover {
  background-color: rgba(255, 255, 255, 0.15); /* 은은한 반전 효과 */
  transform: scale(1.1);
}

/* 화살표 이미지 반전 필요 시 */
body.dark-mode .circle-nav-button img {
  filter: invert(1); /* 이미지가 흰색일 경우에만 */
}



/* 공통 원형 버튼 스타일 */
.circle-nav-button2 {
  position: fixed;
  bottom: 9px;
  right:12%;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background-color: #EFEFF0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: background-color 0.3s ease, transform 0.2s ease;
    display:none;
}

.circle-nav-button2:hover {
  background-color: #CFCFCF;
  transform: scale(1.05);
}

.circle-nav-button2 img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}




/* 다크모드 배경 개선 */
body.dark-mode .circle-nav-button2 {
  background-color: rgba(0, 0, 0, 0.4); /* 더 어두운 배경 */
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1); /* 살짝 밝은 그림자 */
}

/* 다크모드에서 hover 시 효과 */
body.dark-mode .circle-nav-button2:hover {
  background-color: rgba(255, 255, 255, 0.15); /* 은은한 반전 효과 */
  transform: scale(1.1);
}

/* 화살표 이미지 반전 필요 시 */
body.dark-mode .circle-nav-button2 img {
  filter: invert(1); /* 이미지가 흰색일 경우에만 */
}





#dv8_menubar {
  position: fixed;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;

  width: 100%;
  height: 65px;

  background-color:#fff!important;


  border-radius: 0px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-top: none;
}



/* 다크모드 설정: body에 dark-mode 클래스가 있을 때 적용 */
body.dark-mode #dv8_menubar {
  /* 배경색을 어두운 톤으로 변경 (반투명 효과 유지) */
  background-color: rgba(30, 30, 30, 1.0) !important;
  
  /* 다크모드에서 레이어 구분을 위해 상단에 미세한 라인 추가 */
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  
  /* 그림자를 밝은 톤 대신 더 깊은 어둠으로 변경하여 이질감 해소 */
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.5) !important;
  
  /* 글라스모피즘 효과 (선택사항: 블로그 테마와 어울림) */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}


/* 기본: 전체 기기에서 숨김 */
#dv8_menubar {
  display: none;
}

/* 스마트폰(767px 이하)에서만 표시 */
@media screen and (max-width: 767px) {
  #dv8_menubar {
    display: block;
  }
}

body.dark-mode #dv8_menubar {
  background-color: rgba(0, 0, 0, 0.4); /* 어두운 반투명 배경 */
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.05); /* 밝은 그림자 */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}




/*** 글목록 버튼 - 중앙 정렬 화살표 스타일 ***/
.circle-list-button3 {
  position: fixed;
  bottom: 40%;
  left: 5%;

  width: 35px;
  height: 35px;
  border: none;
  border-radius: 50%;
  background-color: #transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.0);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.circle-list-button3:hover {
  background-color: #CFCFCF;
  transform: scale(1.05);
}

.circle-list-button3 img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}



/* 다크모드 배경 개선 */
body.dark-mode .circle-list-button3 {
  background-color: rgba(0, 0, 0, 0.4); /* 더 어두운 배경 */
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1); /* 살짝 밝은 그림자 */
}

/* 다크모드에서 hover 시 효과 */
body.dark-mode .circle-list-button3:hover {
  background-color: rgba(255, 255, 255, 0.15); /* 은은한 반전 효과 */
  transform: scale(1.1);
}

/* 화살표 이미지 반전 필요 시 */
body.dark-mode .circle-list-button3 img {
  filter: invert(1); /* 이미지가 흰색일 경우에만 */
}






.circle-next-button4 {
  position: fixed;
  bottom: 40%;
  right: 5%;
  width: 35px;
  height: 35px;
  border: none;
  border-radius: 50%;
  background-color: #transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.0);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.circle-next-button4:hover {
  background-color: #CFCFCF;
  transform: scale(1.05);
}

.circle-next-button4 img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: none;
}

/* 다크모드 배경 개선 */
body.dark-mode .circle-next-button4  {
  background-color: rgba(0, 0, 0, 0.4); /* 더 어두운 배경 */
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1); /* 살짝 밝은 그림자 */
}

/* 다크모드에서 hover 시 효과 */
body.dark-mode .circle-next-button4:hover {
  background-color: rgba(255, 255, 255, 0.15); /* 은은한 반전 효과 */
  transform: scale(1.1);
}

/* 화살표 이미지 반전 필요 시 */
body.dark-mode ..circle-next-button4 img {
  filter: invert(1); /* 이미지가 흰색일 경우에만 */
}




.footer-underline {
  position: fixed;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background-color: #000;
  border-radius: 2px;
  opacity: 0.15;
  z-index: 9998;
}


/* PC 테블릿 글목록 이전글 다음글 버튼 숨기기 */

@media screen and (min-width: 1024px) {
  .circle-nav-button2 {
    display: none!important;
  }

  .circle-nav-button {
    display: none!important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .circle-nav-button2 {
    display: none!important;
  }

  .circle-nav-button {
    display: none!important;
  }
}


#aside.sidebar {
  padding-top: 30px!important;
}



.mobile-latest-title.option3 {
  font-family: 'Ownglyph_ParkDaHyun', sans-serif;
}


#mobile-infinite-posts {
  margin-top:0px!important;
}





@media screen and (min-width: 769px) and (max-width: 991px) {
  .post-item {
    width: 48%; /* 2단 그리드 */
    margin: 1% !important;
    margin-bottom: 90px!important;]
  }

  .thum {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: block;         /* ✅ 블록 요소로 지정 */
    margin-bottom: 0;       /* ✅ 여백 제거 */
  }

  .thum img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;         /* ✅ 인라인 여백 제거 */
    vertical-align: top;    /* ✅ 남은 여백 최소화 */
  }

  .post-item .title {
    font-size: 1rem;
    line-height: 1.3;
    margin-top: 8px;        /* ✅ 이미지와 제목 간격 명시 */
  }
}








/******** 모바일 하단 인기글 ***********/

@media screen and (max-width: 768px) {
  .right-popular {
    max-width: 85%;
    background-color: #000;
    color: #fff;
    border: 1px solid #444;
    border-radius: 12px;
    padding: 20px 15px 20px 15px;
    margin: 40px auto 40px auto; /* 상하 여백 포함 중앙 정렬 */
  }

  .right-popular h3 {
    padding-bottom: 20px;
    padding-left: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
  }

  .right-popular ul {
    padding: 0;
    margin: 0;
  }

  .right-popular li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
  }

  .right-popular .popular-item {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .right-popular .thumb-wrap {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
  }

  .right-popular .thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 1px solid #333;
  }

  .right-popular .popular-info {
    margin-left: 12px;
    flex: 1;
    display: flex;
    align-items: center;
  }

  .right-popular .popular-info .title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    display: inline-block;
    transition: color 0.3s ease;
  }

  .right-popular .cnt,
  .right-popular .cat-link {
    display: none !important;
  }

  /* ✅ 다크모드 대응 */
  body.dark-mode .right-popular {
    background-color: #111;
    border-color: #555;
  }

  body.dark-mode .right-popular h3 {
    color: #fff;
  }

  body.dark-mode .right-popular .popular-info .title {
    color: #fff;
  }
}

@media screen and (max-width: 768px) {
  .right-popular {
    margin-bottom: 60px;
  }
}



/******** 모바일 하단 인기글 끝 ***********/
























/******** 모바일 카테고리글 ***********/

@media screen and (max-width: 1024px) {
  /* 1024px 이하 환경 전체 통합 대응 */
  
  .related-articles {
    max-width: 100% !important; /* 모바일 화면에 꽉 차게 변경하여 여백 최적화 */
    margin: 30px 10px !important; /* 상하 여백을 줄여 부피 축소 */
    padding: 15px 0 !important;
    background-color: #fff !important; /* ✅ 요청하신 화이트 배경 적용 */
    border: none !important; /* 지저분한 테두리선 제거 */
    border-top: 1px solid #eee !important; /* 깔끔한 구분선으로 변경 */
    border-radius: 0 !important;
  }

  /* 타이틀 영역 스타일 정돈 */
  .modern-title-wrap {
    padding: 0 10px !important;
    margin-bottom: 10px !important;
  }

  .related-articles h3 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px !important; /* 타이틀 크기 최적화 */
    font-weight: bold;
    color: #111 !important; /* 화이트 배경에 맞춘 진한 글씨색 */
    text-align: left;
  }

  /* 타이틀 옆 화살표 색상 변경 */
  .modern-title-wrap a {
    color: #555 !important;
    text-decoration: none;
  }

  /* ✅ 2단 그리드 파괴 -> 1단 세로 리스트형으로 완전 변경 */
  .related-articles ul {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 10px !important;
    margin: 0 !important;
    gap: 10px !important; /* 아이템 간 간격 타이트하게 고정 */
    width: 100% !important;
    box-sizing: border-box;
  }

  /* 1단 가로 배치형 구조 정의 */
  .related-articles ul li {
    flex: 1 1 100% !important; /* 가로폭 100% 사용 */
    width: 100% !important;
    box-sizing: border-box;
    display: block !important;
    margin: 0 !important; /* ✅ li 자체의 불필요한 외부 세로 마진 원천 차단 */
    padding: 0 !important;
  }

  .related-articles ul li a {
    display: flex !important; /* 썸네일과 텍스트 가로 배치 */
    align-items: center !important;
    width: 100% !important;
    height: 81px !important; /* ✅ 썸네일(65px) + 패딩에 맞춰 가로행 전체 높이를 고정하여 넓은 간격 축소 */
    text-decoration: none !important;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03); /* 아주 가벼운 입체감 */
    padding: 8px !important;
    box-sizing: border-box !important;
  }

  /* 썸네일 박스 미니멀화 (인기글/최신글과 65px로 완벽 통일) */
  .related-articles figure {
    width: 65px !important;
    height: 65px !important;
    flex-shrink: 0 !important; /* 썸네일 크기 고정 */
    border-radius: 6px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #f5f5f5;
  }

  .related-articles figure img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* 우측 텍스트 영역 가독성 개선 */
  .related-articles .title {
    flex-grow: 1 !important;
    padding-left: 12px !important;
    margin: 0 !important; /* ✅ 기존 스킨 고유의 상하 마진 찌꺼기 완벽 제거 */
    font-size: 13.5px !important; /* 폰트 크기 살짝 축소하여 컴팩트하게 */
    line-height: 1.4 !important;
    font-weight: 500 !important;
    color: #333 !important; /* 진한 회색으로 가독성 확보 */
    text-align: left !important; /* 왼쪽 정렬로 가독성 원상 복구 */
    height: auto !important; /* ✅ 이전 스킨의 강제 높이값 초기화 */
    max-height: 38px !important; /* ✅ 제목이 차지하는 최대 세로 가로폭 제한 */
    
    /* ✅ 과도하게 길어지는 제목 2줄 제한 컷오프 */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-all !important;
    white-space: normal !important;
  }

  /* -------------------------------------
     🌓 다크모드 환경 대응 테마 스위칭
  ------------------------------------- */
  body.dark-mode .related-articles {
    background-color: #1e1e1e !important;
    border-top: 1px solid #333 !important;
  }

  body.dark-mode .related-articles h3 {
    color: #eee !important;
  }

  body.dark-mode .modern-title-wrap a {
    color: #aaa !important;
  }

  body.dark-mode .related-articles ul li a {
    background: #1e1e1e !important;
  }

  body.dark-mode .related-articles .title {
    color: #ddd !important;
  }
}

/* 불필요한 하단 중복 스페이스 가이드 제거 */
@media screen and (max-width: 767px) {
  .related-articles ul {
    width: 100% !important;
  }
  #category_space {
    display: none !important;
  }
}

/******** 모바일 카테고리글 끝 ***********/

















/********* PC 썸네일 사이즈 세분화 **************/


/* 보편적인 PC (1025px ~ 1599px): 높이 200px */
@media (min-width: 1025px) and (max-width: 1599px) {
  .post-item .thum img {
    height: 200px !important;
    transition-duration: 0.3s;
  }
}

/* 고해상도 PC (1600px 이상): 높이 300px */
@media (min-width: 1600px) {
  .post-item .thum img {
    height: 270px !important;
    transition-duration: 0.3s;
  }
}




@keyframes slideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/******** 헤더 슬라이드업 ***********/

#header h1 a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 32px !important;
  text-decoration: none !important;
  color: #333 !important;
  font-family: 'YEONGJUSeonbiTTF' !important;

  /* 애니메이션 추가 */
  opacity: 0;
  transform: translateY(20px);
  animation: slideFadeIn 0.8s ease-out forwards;
  animation-delay: 0.2s; /* 자연스럽게 딜레이 */
}




/******* 모바일 글목록 카드 ******/

@media screen and (min-width: 1025px) {
  .post-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    padding-top:0px!important;
  }

  .post-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  }
}

@media screen and (min-width: 1025px) {
  .post-item {
    background-color: #fff;
  }

  body.dark-mode .post-item {
    background-color: #1e1e1e; /* 또는 #2a2a2a 등 어두운 계열 */
    border: 1px solid #444;
  }
}


body.dark-mode .post-item span {
  color: #fff !important;
}
body.dark-mode .post-item .author-name {
  color: #fff !important;
}

body.dark-mode .post-item .date {
  color: #999 !important;
}



.mobile-latest-title.option3  {
  padding-bottom:20px;
  padding-left:10px;
}




/***** 링크 카드 효과  ***********/
figure[data-ke-type="opengraph"] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

figure[data-ke-type="opengraph"].active {
  opacity: 1;
  transform: translateY(0);
}



/** 카테고리 관련글 슬라이드업 효과 **/
.related-articles figure img,
.popular-articles figure img {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.related-articles figure img.active,
.popular-articles figure img.active {
  opacity: 1;
  transform: translateY(0);
}



/*** 인기글 목록 썸네일 슬라이드 업 **/

.related-articles figure img,
.popular-articles figure img,
.right-popular img {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.related-articles figure img.active,
.popular-articles figure img.active,
.right-popular img.active {
  opacity: 1;
  transform: translateY(0);
}



/* 아이폰 전용 썸네일 높이 문제 해결 코드 (안드로이드 영향 최소화) */
@supports (-webkit-overflow-scrolling: touch) {
  @media only screen and (max-device-width : 812px) { /* 일반적인 스마트폰 화면 폭 제한 */
    .post-item .thum {
      height: 180px !important;
    
    }

    .post-item .thum img {
      height: 180px !important; /* 아이폰에서 원하는 이미지 높이 */

    }
  }
}


/* ------- 다크모드 전용: button4 이미지 반전 ------- */
/* ------- 다크모드 전용: #m_bottom 이미지 강제 반전 ------- */
body.dark-mode img#m_bottom {
  filter: invert(1) brightness(1.4) contrast(1.2) !important;
}











/* ------- 모바일 가로 스크롤 카테고리 스타일 ------- */
@media screen and (max-width: 767px) {
  #mobileCategoryMenu {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 999;
    background: transparent;
    border-bottom: 1px solid #dcdcdc;
    overflow-x: auto;
    white-space: nowrap;
  }


      #mobileCategoryMenu {
        transition: background-color 0.3s ease;
    }
    
    #mobileCategoryMenu.menu-white {
        background: #fff !important;
    }


    

  #mobileCategoryMenu .category-wrapper {
    display: flex;
    gap: 18px;
    padding: 12px 16px 10px 16px;
    overflow-x: auto;
    scrollbar-width: none;
    background-color: #fff;
  }

  #mobileCategoryMenu .category-wrapper::-webkit-scrollbar {
    display: none;
  }

  #mobileCategoryMenu a {
    font-size: 15px;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s;
    line-height: 1.3;
  }

  #mobileCategoryMenu a.home {
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #888;
  }

  #mobileCategoryMenu a.active {
    color: #000;
  }

  #mobileCategoryMenu a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #000;
  }

  body.darkmode #mobileCategoryMenu {
    background: #111;
    border-color: #333;
  }

  body.darkmode #mobileCategoryMenu a {
    color: #eee;
  }

  body.darkmode #mobileCategoryMenu a.active {
    color: #CD1616;
  }

  body.darkmode #mobileCategoryMenu a.active::after {
    background: #CD1616;
  }

  body.darkmode #mobileCategoryMenu a.home {
    color: #ccc;
  }
}





/* 모바일 슬라이드 메뉴 숨기기 */

@media screen and (min-width: 768px) {
  #mobileCategoryMenu {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    z-index: -9999 !important;
  }
}


/* 일반 모바일 타이틀 스타일 */
@media screen and (max-width: 767px) {
  #mobileFixedTitle {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    font-size: 17px;
    font-weight: bold;
    color: #000;
    background: transparent;
  }
}




@media screen and (min-width: 768px) {
  #mobileFixedTitle {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    z-index: -9999 !important;
  }
}



/* ------- 모바일 전용 타이틀 ------- */
@media screen and (max-width: 767px) {
  body.dark-mode #mobileFixedTitle {
    color: #fff !important;
  }
}


/* ------- 다크모드 대응: 가로 슬라이드 카테고리 ------- */
body.dark-mode #mobileCategoryMenu {
  background: #111 !important;
  border-color: #333 !important;
}

body.dark-mode #mobileCategoryMenu a {
  color: #ccc !important;
}

body.dark-mode #mobileCategoryMenu a.home {
  color: #ccc !important;
}

body.dark-mode #mobileCategoryMenu a.active {
  color: #CD1616 !important;
}

body.dark-mode #mobileCategoryMenu a.active::after {
  background: #CD1616 !important;
}


/* ✅ iOS Safari에서 AdSense 광고로 인한 오버플로우 방지 */
@media screen and (max-width: 767px) {
  ins.adsbygoogle {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  /* 광고 iframe 자체 강제 제한 */
  ins.adsbygoogle iframe {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
    display: block !important;
  }

  /* 광고 영역이 박스 밖으로 튀어나오는 것 방지 */
  .adsense-inserted,
  .adsbygoogle-wrap,
  .ad-wrap,
  .google-auto-placed {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }
}




#dv8_menubar {
    /* 기존 스타일 유지 */
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);  /* iOS 부드러운 전환 */
}





/* 하단 좌우 버튼 통합 iOS 쉐도우 */
span[style*="position:fixed"][style*="bottom:20px"] {
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.25),
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.2)) !important;
    backdrop-filter: blur(12px) !important;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* 호버 (선택) */
span[style*="position:fixed"][style*="bottom:20px"]:hover {
    transform: translateY(-3px) !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.35),
        0 10px 28px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}





/* 모바일 방문자수 속성 */

h3 {
    text-align: left !important;
    
}

.count2 {
    display: none !important;
}

@media (max-width: 768px) {
    .count2 {
        display: block !important;  
    }
}



/* 하단 카테고리 팝업 */

#categoryPopup {
    position: fixed;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%) scale(0.92);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(28px) brightness(1.05);
    -webkit-backdrop-filter: blur(28px) brightness(1.05);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 28px;
    padding: 16px 28px;
    color: #1f2937;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.55s cubic-bezier(0.34, 0.16, 0.25, 1.05);
    min-width: 180px;
    opacity: 0;
    line-height: 1.4;
}

#categoryPopup.show {
    bottom: 80px !important;
    opacity: 1 !important;
    transform: translateX(-50%) scale(1) !important;
}

#categoryPopup.hide {
    bottom: -80px !important;
    opacity: 0 !important;
    transform: translateX(-50%) scale(0.94) translateY(8px) !important;
}

/* 모바일: 화면 반 정도 (45vw) */
@media (max-width: 768px) {
    #categoryPopup {
        bottom: 69px !important;  /* ✅ 이 줄 추가 */
        width: 40vw !important;
        min-width: unset !important;
        max-width: 240px !important;
        padding: 16px 24px !important;
        font-size: 16px !important;
        border-radius: 24px !important;
    }
    #categoryPopup.show { bottom: 69px !important; }
}

#categoryPopup:hover {
    background: rgba(255,255,255,0.20) !important;
    transform: translateX(-50%) translateY(-3px) scale(1.03) !important;
}










/* [다크모드 전용] 하단 카테고리 & 인기글 영역 */
body.dark-mode .bottom-category-popular-wrap {
    background-color: #1e1e1e !important; /* 어두운 배경색 */
    border: 1px solid #333 !important; /* 테두리도 어둡게 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5) !important; /* 그림자 깊이 조절 */
}

/* 제목 텍스트 (카테고리, 이 블로그 인기글) */
body.dark-mode .bottom-category-popular-wrap h3 {
    color: #f1f1f1 !important;
    border-bottom: 1px solid #444; /* 제목 하단 구분선이 있다면 조정 */
    padding-bottom: 10px;
}

/* 왼쪽 카테고리 리스트 아이템 */
body.dark-mode .left-category .category-inner li a {
    color: #cccccc !important;
    background-color: #2a2a2a !important;
}

body.dark-mode .left-category .category-inner li a:hover {
    background-color: #3d3d3d !important;
    color: #ffffff !important;
}

/* 오른쪽 인기글 텍스트 및 상세 정보 */
body.dark-mode .right-popular .popular-item {
    border-bottom: 1px solid #333 !important;
}

body.dark-mode .right-popular .title {
    color: #eeeeee !important; /* 게시글 제목 */
}

body.dark-mode .right-popular .cnt, 
body.dark-mode .right-popular .cat-link a {
    color: #888888 !important; /* 댓글수 및 카테고리 링크 */
}

/* 썸네일 이미지 대비 조정 (선택 사항) */
body.dark-mode .popular-item img {
    filter: brightness(0.8); /* 다크모드에서 이미지가 너무 밝지 않게 조정 */
    border-radius: 4px;
}

/* [다크모드] 인기글 전체 영역 및 개별 아이템 배경 수정 */
body.dark-mode .bottom-category-popular-wrap,
body.dark-mode .right-popular {
    background-color: #1e1e1e !important; /* 전체 배경 어둡게 */
}

/* 인기글 개별 리스트 아이템 배경 (스크린샷에서 밝게 보이는 부분) */
body.dark-mode .right-popular ul li,
body.dark-mode .right-popular .popular-item {
    background-color: #2a2a2a !important; /* 리스트 아이템 배경색 */
    border: 1px solid #333 !important; /* 테두리 구분선 */
    margin-bottom: 5px; /* 아이템 간 간격 유지 */
}

/* 인기글 제목 및 텍스트 색상 강제 적용 */
body.dark-mode .right-popular .title,
body.dark-mode .right-popular .title a {
    color: #eeeeee !important; /* 제목 흰색 계열 */
    text-decoration: none;
}

/* 댓글수 및 카테고리 정보 */
body.dark-mode .right-popular .cnt,
body.dark-mode .right-popular .cat-link,
body.dark-mode .right-popular .cat-link a {
    color: #999999 !important; /* 회색 텍스트 */
}

/* 이미지 썸네일 영역 배경 */
body.dark-mode .right-popular .thumb-wrap {
    background-color: #1e1e1e !important;
}




/* 기본적으로 PC에서 보일 스타일 */
#pc_title {
    background-color: #F0EEE9;
    height: 70px;
    display: block; /* 기본적으로 표시 */
}

/* 모바일(화면 너비 767px 이하)에서 적용될 스타일 */
@media screen and (max-width: 767px) {
    #pc_title {
        display: none !important; /* 모바일에서는 아예 숨김 */
    }
}






/* PC 타이틀 바 기본 스타일 */
#pc_title {
    background-color: #F0EEE9;
    height: 70px;
    display: block;
    transition: background-color 0.3s ease; /* 부드러운 전환 */
}

/* PC 타이틀 바 다크모드 대응 */
body.dark-mode #pc_title {
    background-color: #1A1A1B !important; /* 다크모드 시 어두운 색상 */
}

/* 모바일 전용 설정 (767px 이하) */
@media screen and (max-width: 767px) {
    /* 모바일에서 PC 타이틀 숨김 */
    #pc_title {
        display: none !important;
    }

    /* 모바일 가로 메뉴 바 배경색 설정 */
    #mobileCategoryMenu .category-wrapper {
        display: flex;
        gap: 18px;
        padding: 12px 16px 10px 16px;
        overflow-x: auto;
        scrollbar-width: none;
        background-color: #fff; /* 기본 라이트모드 */
        transition: background-color 0.3s ease;
    }

    /* 모바일 가로 메뉴 바 다크모드 전환 */
    body.dark-mode #mobileCategoryMenu .category-wrapper {
        background-color: #1A1A1B !important; /* 다크모드 시 어두운 색상 */
        border-bottom: 1px solid #333;
    }

    /* 다크모드 시 메뉴 글자색 보강 */
    body.dark-mode #mobileCategoryMenu a {
        color: #ccc !important;
    }
    
    body.dark-mode #mobileCategoryMenu a.active {
        color: #CD1616 !important; /* 활성화된 메뉴는 레드 유지 */
    }
}


.bottom-category-popular-wrap {
  display:none;
}






/* 💻 [PC 모드] 화면 가로폭이 1024px보다 클 때 적용 */
@media screen and (min-width: 1025px) {
  .category {
    margin-top: 70px !important;
  }
}

/* 慶 [태블릿 모드] 화면 가로폭이 768px 이상, 1024px 이하일 때 적용 */
@media screen and (max-width: 1024px) and (min-width: 768px) {
  .category {
    margin-top: 20px !important;
  }
}






 










/* ==========================================
   미스토리 와이드 PC 전용 고정 카테고리 (최종 완성본)
   ========================================== */

/* 1) 모바일, 태블릿, 일반 노트북(1600px 미만) 해상도에서는 완벽 차단 */
.mistory-fixed-category {
  display: none !important;
}

/* 2) 대형 와이드 PC 모니터 환경(1600px 이상)에서만 노출 및 왼쪽 고정 */
@media screen and (min-width: 1600px) {
  .mistory-fixed-category {
    display: block !important;
    position: fixed !important;
    bottom: 50px !important;         /* 상단 포스트 검색창 라인과 평행 맞춤 */
    left: 60px !important;         /* 요청하신 좌측 여백 60px */
    width: 230px !important;       /* 텍스트가 잘리거나 줄바꿈되지 않는 최적 너비 */
    z-index: 90 !important;
    text-align: left !important;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif !important;
    overflow: visible !important;
  }

  /* 카테고리 최상단 헤드 */
  .mistory-fixed-category .mistory-category-head {
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    color: #111 !important;
    padding-bottom: 12px !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid #111 !important;
    display: block !important;
  }

  /* 티스토리 카테고리 모든 ul 구조 초기화 (항상 보이도록 숨김 속성 제거) */
  .mistory-fixed-category ul,
  .mistory-fixed-category ul.tt_category,
  .mistory-fixed-category ul.category_list,
  .mistory-fixed-category ul li ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important; /* 항상 펼쳐진 상태 유지 */
  }

  /* 각 카테고리 항목 줄간격 (다닥다닥 붙지 않게 시원한 간격 확보) */
  .mistory-fixed-category ul li {
    padding: 9px 0 !important; 
    background: none !important;
    position: relative !important;
    display: block !important;
  }

  /* 카테고리 링크 기본 스타일 (고급스러운 핏의 그레이) */
  .mistory-fixed-category ul li a {
    font-size: 14px !important; 
    color: #444!important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    font-weight: 400 !important;
    letter-spacing: -0.3px !important;
    position: relative !important;
    left: 0 !important;
    transition: all 0.25s ease-in-out !important;
  }

  /* [세련된 오버 효과] 마우스 올리면 선명한 블랙 + 볼드 + 우측 6px 슬라이딩 모션 */
  .mistory-fixed-category ul li a:hover {
    color: #000 !important;
    font-weight: 700 !important; 
    transform: translateX(6px) !important;
  }

  /* 2차 하위 카테고리가 존재할 경우 들여쓰기 디자인 (필요 시 자동 적용) */
  .mistory-fixed-category ul li ul {
    padding-left: 14px !important;
    margin-top: 6px !important;
  }

  .mistory-fixed-category ul li ul li {
    padding: 5px 0 !important;
  }

  .mistory-fixed-category ul li ul li a {
    font-size: 13px !important;
    color: #777 !important;
  }
  
  .mistory-fixed-category ul li ul li a:hover {
    color: #000 !important;
    font-weight: 700 !important;
  }

  /* 티스토리 [N] 새 글 알림 아이콘을 미니멀한 원형으로 보정 */
  .mistory-fixed-category img[src*="new_ico"],
  .mistory-fixed-category .ico_new,
  .mistory-fixed-category .new {
    display: inline-block !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    margin-left: 6px !important;
    vertical-align: middle !important;
  }

  /* 카테고리 글 개수 숫자 (은은한 그레이 톤 다운) */
  .mistory-fixed-category .c_cnt,
  .mistory-fixed-category ul li a span {
    font-size: 11px !important;
    color: #aaa !important;
    font-style: normal !important;
    margin-left: 6px !important;
    font-weight: 400 !important;
  }
}




@media screen and (max-width: 768px) {
    /* 특정 레이어 전체 숨김 */

    .comments {
        display: none !important;
    }
}


/* 슬라이드 모바일 숨기기 */
@media screen and (max-width: 768px) {
    .full-wide-wrapper {
        display: none !important;
    }
}


/* 인스타 버튼 모바일 숨기기  공유 버튼 모바일 환경에서 하단으로 조정 */
/* 화면 너비가 768px 이하일 때 숨기기 */
@media screen and (max-width: 768px) {
  #fixed-insta-btn {
    display: none !important;
  }

  .container_postbtn .btn_post .ico_share {
    position: fixed!important;
    z-index: 10000!important;
    bottom: 14px!important;
    left:40%!important;

    zoom: 1.5!important; /* 1.5배 확대, 필요에 따라 수치 조절 */
  }

  #tistorySnsLayer {
    position: fixed!important;
    z-index: 10000!important;
    bottom: 63px!important;
    left:40%!important;
}


}











