@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. Widget & Template Page
 * 09. ETC
 * 10. Post Type & Color Type
 * 11. Retina Display
 * 12. Media Screen - Tablet
 * 13. Media Screen - Mobie
 *
 */

/* Web Font Load */
@import url('//fonts.googleapis.com/css?family=Nanum+Myeongjo');

/* Type Selector Reset */
body {
  font-weight: 400;
  font-family: Pretendard-Regular, sans-serif;
  font-size: 1em;
  line-height: 1.25;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

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;
}

/* 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 {
  position: relative;
  width: 100%;
}

#header h1 {
  padding: 28px 0;
  text-align: center;
  font-size: 1.5em;
  line-height: 1;
  color: #1a1a1a;
}

#header h1 a {
  display: inline-block;
  text-decoration: none;
  vertical-align: top;
  color: #1a1a1a;
}

#header .mobile-menu {
  position: absolute;
  top: 20px;
  left: 33px;
  z-index: 500;
  width: 40px;
  height: 40px;
  outline: none;
}

#header .mobile-menu span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 2px;
  margin: -2px 0 0 -13px;
  background-color: #000;
  text-indent: -999em;
}

#header .mobile-menu:before,
#header .mobile-menu:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 2px;
  margin-left: -13px;
  background-color: #000
}

#header .mobile-menu:before {
  margin-top: -9px;
}

#header .mobile-menu:after {
  margin-top: 5px;
}

#header .mobile-menu.on {
  position: fixed;
}

#header .mobile-menu.on span {
  display: none;
}

#header .mobile-menu.on:before,
#header .mobile-menu.on:after {
  margin-top: -2px;
}

#header .mobile-menu.on:before {
  transform: rotate(-45deg);
}

#header .mobile-menu.on:after {
  transform: rotate(45deg);
}

#header .menu {
  position: fixed;
  top: 0;
  left: -348px;
  z-index: 400;
  width: 348px;
  height: 100%;
  padding: 94px 40px 189px;
  background-color: #fff;
  box-sizing: border-box;
  transition: left .5s ease-in-out;
}

#header .menu .social-link {
  position: absolute;
  left: 40px;
  bottom: 129px;
}

#header .menu p {
  position: absolute;
  left: 40px;
  bottom: 79px;
  font-size: 0.75em;
  color: #9b9b9b;
}

#header .menu.on {
  left: 0;
}

#header .search {
  position: absolute;
  top: 20px;
  right: 19px;
  width: 0;
  padding-right: 40px;
}

#header .search input {
  display: none;
  width: 100%;
  height: 40px;
  padding: 0 10px;
  font-size: 1em;
  line-height: 40px;
  color: #000;
  border: 0;
  box-sizing: border-box;
  background-color: transparent;
}

#header .search button {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  width: 40px;
  height: 40px;
  background: url(./images/ico_package.png) no-repeat 0 0;
  text-indent: -999em;
  outline: none;
}

#header .search:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
  width: 40px;
  height: 40px;
  background: url(./images/ico_package.png) no-repeat 0 0;
  text-indent: -999em;
  cursor: pointer;
}

#header .search:hover:before {
  background-color: #ebebeb;
}

#header .search.on {
  width: 322px;
  border-bottom: 1px solid #000;
}

#header .search.on input {
  display: block;
  outline: none;
}

#header .search.on button {
  display: block;
}

#header .search.on:before {
  display: none;
}

#gnb {
  overflow: auto;
  height: 100%;
  margin-bottom: 8px;
}

#gnb ul li {
  margin-bottom: 6px;
  font-size: 1.125em;
  line-height: 1.5;
}

#gnb ul li a {
  display: block;
  text-decoration: none;
  color: #000;
}

#gnb ul li ul li ul li a.link_sub_item {
  color: #333;
}

#gnb ul li a:hover {
  text-decoration: underline;
  color: #4e2e28;
}

#gnb ul li ul {
  margin: 22px 0 0;
}

#gnb ul li ul li {
  font-size: 1em;
}

#gnb ul li ul li ul {
  margin: 6px 0 13px;
}

#gnb ul li ul li ul li {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5625rem;
}

#gnb ul li ul li ul li a:before {
  content: "-";
  margin-right: 5px;
  color: #333;
}

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

#content .inner {
  max-width: 960px;
  margin: 0 auto;
}

#content>.inner {
  max-width: 860px;
}

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

#footer {
  position: relative;
  padding: 29px 0;
  border-top: 1px solid #ebebeb;
}

#footer p {
  text-align: center;
  font-size: 0.75em;
  color: #9b9b9b;
}

#footer p a {
  text-decoration: none;
  color: #9b9b9b;
}

#footer .admin {
  color: #666;
}

#footer .admin:before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 15px;
  margin: 0 9px;
  background-color: #b2b2b2;
  vertical-align: middle;
}

#tt-body-index #footer {
  border-top: 0;
}

/* Components */
.social-link a {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 5px;
  text-indent: -999em;
  background-image: url(./images/ico_package.png);
  background-repeat: no-repeat;
  vertical-align: top;
}

.social-link a:hover {
  background-position-y: -68px;
}

.social-link .pinterest {
  background-position: 0 -50px;
}

.social-link .facebook {
  background-position: -50px -50px;
}

.social-link .twitter {
  background-position: -100px -50px;
}

.social-link .instagram {
  background-position: -150px -50px;
}

.btn, a.btn {
  display: inline-block;
  width: 158px;
  height: 50px;
  border: 1px solid #dcdcdc;
  font-size: 0.875em;
  line-height: 50px;
  color: unset;
}

.btn:hover {
  border-color: #4d4d4d;
}

.cover-thumbnail-list {
  margin: 0 auto -1px;
  padding: 40px 0 56px;
  border-bottom: 1px solid #ebebeb;
}

.cover-thumbnail-list h2 {
  margin-bottom: 26px;
  font-size: 1em;
}

.cover-thumbnail-list ul {
  width: 100%;
}

.cover-thumbnail-list ul li {
  float: left;
  width: 24.0625%;
  margin: 0 0 32px;
  padding-left: 1.25%;
}

.cover-thumbnail-list ul li:nth-child(4n+1) {
  clear: both;
  padding-left: 0;
}

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

.cover-thumbnail-list ul li .thum {
  display: block;
  position: relative;
  overflow: hidden;
  height: 0;
  margin-bottom: 11px;
  padding-bottom: 75.757575757575758%;
  background-color: #f6f6f6;
}

.cover-thumbnail-list ul li .thum:before {
  content: "NO IMAGE";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 18px;
  margin: -9px 0 0 0;
  text-align: center;
  font-family: 'Arial';
  font-weight: bold;
  font-size: 0.875em;
  color: #cbcbcb;
}

.cover-thumbnail-list ul li .thum img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
}

.cover-thumbnail-list ul li .category {
  display: inline-block;
  margin-bottom: 8px;
  border-bottom: 1px solid #a3a3a3;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 0.875em;
  color: #808080;
}

.cover-thumbnail-list ul li .title {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 2.75em;
  padding-right: 10%;
  font-weight: 700;
  line-height: 1.375em;
}

.cover-thumbnail-list ul li a:hover .title {
  text-decoration: underline;
  color: #4e2e28;
}

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

.cover-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  background-color: #000;
}

.cover-slider ul li {
  display: table;
  width: 100%;
  height: 460px;
  text-align: center;
  background-position: 50% 50%;
  background-size: cover;
}

.cover-slider ul li a {
  display: table-cell;
  background-color: rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: #fff;
  vertical-align: middle;
}

.cover-slider ul li .category {
  display: inline-block;
  margin-bottom: 16px;
  border-bottom: 1px solid #fff;
}

.cover-slider ul li .title {
  display: block;
  max-width: 580px;
  margin: 0 auto 28px;
  font-size: 2.5em;
  line-height: 1.3;
}

.cover-slider ul li .btn {
  border-color: #fff;
  color: #fff;
}

.cover-slider ul li .btn:hover {
  background-color: #fff;
  color: #000;
}

.cover-slider .prev,
.cover-slider .next {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 20;
  width: 70px;
  height: 70px;
  margin: -25px 0 0 0;
  background: url(./images/ico_package.png) no-repeat 0 -250px;
  text-indent: -999em;
}

.cover-slider .prev {
  margin-left: -506px;
  background-position: 0 -250px;
}

.cover-slider .next {
  margin-left: 436px;
  background-position: -100px -250px;
}

.cover-slider .prev:hover,
.cover-slider .next:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.cover-masonry {
  margin-bottom: -1px;
  padding: 60px 0 49px;
  border-bottom: 1px solid #ebebeb;
}

.cover-masonry h2 {
  margin-bottom: 30px;
  font-size: 1em;
}

.cover-masonry ul {
  display: inline-block;
  margin-left: -42px;
  vertical-align: top;
}

.cover-masonry ul li {
  float: left;
  width: 33.3333%;
  margin: 0 0 37px;
  padding-left: 42px;
  box-sizing: border-box;
}

.cover-masonry ul li a {
  display: block;
  text-decoration: none;
  color: #080808;
}

.cover-masonry ul li .thum {
  display: block;
  margin-bottom: 11px;
}

.cover-masonry ul li .thum img {
  width: 100%;
  height: auto;
}

.cover-masonry ul li .category {
  display: inline-block;
  margin-bottom: 7px;
  border-bottom: 1px solid #a3a3a3;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 0.875em;
  color: #808080;
}

.cover-masonry ul li .title {
  display: block;
  font-weight: 700;
  font-size: 1.125em;
  line-height: 1.4444;
}

.cover-masonry ul li a:hover .title {
  text-decoration: underline;
  color: #4e2e28;
}

.cover-masonry ul li .excerpt {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 6.4em;
  font-size: 0.9375em;
  line-height: 1.6;
  color: #666;
}

.cover-list {
  margin-bottom: -1px;
  padding: 30px 0 60px;
  border-bottom: 1px solid #ebebeb;
}

.cover-list h2 {
  margin: 30px 0 0 0;
  font-size: 1em;
}

.cover-list ul li {
  border-top: 1px solid #ebebeb;
}

.cover-list ul li:first-child {
  border-top: 0;
}

.cover-list ul li a {
  display: block;
  min-height: 172px;
  padding: 30px 0 30px;
  text-decoration: none;
  color: #080808;
}

.cover-list ul li figure {
  float: right;
  position: relative;
  width: 172px;
  height: 172px;
  margin: 0 0 0 80px;
  background-color: #f6f6f6;
}

.cover-list ul li figure:before {
  content: "NO IMAGE";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 18px;
  margin: -9px 0 0 0;
  text-align: center;
  font-family: 'Arial';
  font-weight: bold;
  font-size: 0.875em;
  color: #cbcbcb;
}

.cover-list ul li figure img {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
}

.cover-list ul li .category {
  display: inline-block;
  margin-bottom: 7px;
  border-bottom: 1px solid #a3a3a3;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 0.875em;
  color: #808080;
}

.cover-list ul li .title {
  display: block;
  font-weight: 700;
  font-size: 1.125em;
  line-height: 1.4444em;
}

.cover-list ul li a:hover .title {
  text-decoration: underline;
  color: #666;
}

.cover-list ul li .excerpt {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 4.8em;
  font-size: 0.9375em;
  line-height: 1.6;
  color: #666;
}

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

.cover-gallery {
  margin: 0 auto -1px;
  padding: 60px 0 75px;
  border-bottom: 1px solid #ebebeb;
}

.cover-gallery h2 {
  margin-bottom: 30px;
  font-size: 1em;
}

.cover-gallery ul {
  display: inline-block;
  margin-left: -12px;
}

.cover-gallery ul li {
  float: left;
  width: 25%;
  margin: 0 0 12px 0;
  padding-left: 12px;
  box-sizing: border-box;
}

.cover-gallery ul li a {
  display: block;
  position: relative;
  width: 100%;
  background-color: #ebebeb;
}

.cover-gallery ul li .title {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 30;
  overflow: hidden;
  width: 100%;
  max-height: 4.2em;
  text-align: center;
  line-height: 1.4;
  padding: 0 20px;
  color: #fff;
  box-sizing: border-box;
  transform: translateY(-50%);
  visibility: hidden;
}

.cover-gallery ul li a:hover .title {
  visibility: visible;
}

.cover-gallery ul li a:hover:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.cover-gallery ul li a:before {
  content: "NO IMAGE";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 18px;
  margin: -9px 0 0 0;
  text-align: center;
  font-family: 'Arial';
  font-weight: bold;
  font-size: 0.875em;
  color: #cbcbcb;
}

.cover-gallery ul li figure {
  height: 0;
  padding-bottom: 100%;
}

.cover-gallery ul li figure img {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 10;
}

.cover-footer {
  position: relative;
  z-index: 10;
  text-align: center;
}

.cover-footer .image {
  height: 300px;
  margin-bottom: 80px;
  background-position: 50% 50%;
  background-size: cover;
}

.cover-footer p {
  margin: -5px 0 20px;
  text-align: center;
  font-weight: 700;
  font-size: 1.25em;
  color: #000;
}

.cover-footer .menu ul {
  text-align: center;
}

.cover-footer .menu ul li {
  display: inline-block;
  margin: 40px 0 48px;
  padding: 0 14px;
  font-size: 0.875em;
}

.cover-footer .menu ul li a {
  display: block;
  text-decoration: none;
  color: #282828;
}

.cover-footer .menu ul li a:hover {
  text-decoration: underline;
  color: #4e2e28;
}

.cover-footer p:first-child {
  margin-top: 76px;
}

.cover-footer .social-link:first-child a {
  margin-top: 80px;
}

.post-header {
  position: relative;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto 30px;
  padding: 57px 0 15px;
  border-bottom: 1px solid #ebebeb;
}

.post-header h1 {
  float: left;
  font-size: 1em;
}

.post-header .list-type {
  float: right;
}

.post-header .list-type button {
  float: left;
  width: 24px;
  height: 24px;
  margin-left: 4px;
  background-image: url(./images/ico_package.png);
  background-repeat: no-repeat;
  text-indent: -999em;
  outline: none;
}

.post-header .list-type button:hover {
  background-color: #ebebeb;
}

.post-header .list-type .list {
  background-position: 0 -200px;
}

.post-header .list-type .thum {
  background-position: -100px -200px;
}

.post-header .list-type .list.current {
  background-position: -50px -200px;
}

.post-header .list-type .thum.current {
  background-position: -150px -200px;
}

.post-item {
  overflow: hidden;
  width: 100%;
  border-bottom: 1px solid #ebebeb;
}

.post-item a {
  display: block;
  min-height: 148px;
  padding: 30px 0 30px;
  text-decoration: none;
  color: #080808;
}

.post-item:first-child a {
  padding-top: 0;
}

.post-item a:hover .title {
  text-decoration: underline;
  color: #4e2e28;
}

.post-item .thum {
  float: right;
  overflow: hidden;
  max-width: 148px;
  margin-left: 80px;
}

.post-item .thum img {
  width: 195px;
  height: 148px;
  margin: 0 0 0 -23.5px;
}

.post-item .category {
  display: inline-block;
  margin-bottom: 16px;
  border-bottom: 1px solid #a3a3a3;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 0.875em;
  color: #808080;
}

.post-item .title {
  display: block;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 2.8em;
  font-weight: 700;
  font-size: 1.125em;
  line-height: 1.4;
}

.post-item .excerpt {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9375em;
  line-height: 1.6;
  color: #666;
}

.post-item .excerpt.protected:before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 13px;
  margin-right: 10px;
  background: url(./images/ico_package.png) no-repeat -0 -100px;
  vertical-align: baseline;
}

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

.pagination {
  max-width: 860px;
  margin: 60px auto 160px;
  text-align: center;
}

.pagination .current {
  display: none;
}

.pagination .view-more {
  display: inline-block;
  width: 158px;
  height: 50px;
  border: 1px solid #dcdcdc;
  font-size: 0.875em;
  line-height: 50px;
  color: #000;
}

.pagination .view-more:hover {
  border-color: #4d4d4d;
  background: none;
}

.pagination a {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin: 0 4px;
  text-decoration: none;
  font-size: 0.9375em;
  line-height: 24px;
  color: #b2b2b2;
  vertical-align: middle;
}

.pagination a:hover {
  background-color: #ebebeb;
}

.pagination .selected {
  color: #000;
}

.pagination .prev,
.pagination .next {
  width: 50px;
  height: 50px;
  background-image: url(./images/ico_package.png);
  background-repeat: no-repeat;
  border: 1px solid #dcdcdc;
  text-indent: -999em;
  vertical-align: middle;
  box-sizing: border-box;
}

.pagination .prev {
  background-position: -50px 0;
}

.pagination .next {
  background-position: -100px 0;
}

.pagination .prev:hover,
.pagination .next:hover {
  background-color: transparent;
  border-color: #4d4d4d;
}

.pagination .no-more-prev,
.pagination .no-more-next {
  display: none;
}

.hgroup {
  max-width: 860px;
  margin: 50px auto 60px;
  padding: 0 0 20px;
  border-bottom: 1px solid #ebebeb;
}

.hgroup .category {
  display: inline-block;
  margin-bottom: 16px;
  padding-top: 5px;
  border-bottom: 1px solid #a3a3a3;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 0.875em;
  color: #808080;
}

.hgroup h1 {
  display: block;
  margin-bottom: 9px;
  font-weight: 700;
  font-size: 1.6875em;
  line-height: 1.4444em;
}

.hgroup .post-meta {
  display: block;
  font-size: 0.8125em;
  color: #808080;
}

.hgroup .post-meta a {
  text-decoration: none;
  color: #999;
}

.hgroup .post-meta a:hover {
  text-decoration: underline;
}

.hgroup .post-meta span:before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0 7px 0 10px;
  background-color: #ebebeb;
  vertical-align: baseline;
}

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

.another_category {
  margin: 60px auto 80px;
  padding: 0 !important;
  border: 0 !important;
}

.another_category h4 {
  margin-bottom: 28px;
  font-weight: 400;
  font-size: 1em !important;
}

.another_category h4 em {
  border-bottom: 1px solid #000;
  font-style: normal;
}

.another_category table {
  width: 100%;
  border-collapse: collapse;
  border: 0 !important;
  font-size: 0.9375em;
  color: #666;
}

.another_category table th {
  padding: 8px 0 4px;
  border: 0 !important;
  text-align: left;
  font-weight: 400;
}

.another_category table th a {
  text-decoration: none;
  color: #666;
}

.another_category td {
  width: 60px;
  padding: 8px 0 4px;
  border-left: 0 !important;
  border-top: 0 !important;
  font-size: 0.8125em;
  line-height: 1;
  color: #b2b2b2;
}

.tags {
  position: relative;
  overflow: hidden;
  max-width: 860px;
  margin: 53px auto;
  padding: 27px 0 28px 47px;
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
  color: #999;
  box-sizing: border-box;
}

.tags h2 {
  float: left;
  width: 47px;
  margin-left: -47px;
  font-weight: 400;
  font-size: 1em;
  color: #000;
}

.tags .items a {
  display: inline-block;
  margin-left: 15px;
  text-decoration: none;
  font-size: 0.8125em;
  line-height: 1.5384;
  color: #999;
}

.tags .items a:hover {
  color: #7a583a;
}

.tags .items a:before {
  content: "#";
}

.related-articles {
  overflow: hidden;
  width: 100%;
  margin: 57px 0 69px;
}

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

.related-articles h2 em {
  border-bottom: 1px solid #000;
  font-style: normal;
}

.related-articles ul li {
  float: left;
  width: 24.0625%;
  padding-left: 1.25%;
}

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

.related-articles ul li a {
  display: block;
  text-decoration: none;
  color: #080808;
}

.related-articles ul li a:hover .title {
  text-decoration: underline;
  color: #4e2e28;
}

.related-articles ul li .thum {
  display: block;
  position: relative;
  overflow: hidden;
  height: 0;
  margin-bottom: 12px;
  padding-bottom: 75.757575757575758%;
  background-color: #ebebeb;
}

.related-articles ul li .thum:before {
  content: "NO IMAGE";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 18px;
  margin: -9px 0 0 0;
  text-align: center;
  font-family: 'Arial';
  font-weight: bold;
  font-size: 0.875em;
  color: #cbcbcb;
}

.related-articles ul li .thum img {

  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
}

.related-articles ul li .category {
  display: inline-block;
  margin-bottom: 16px;
  border-bottom: 1px solid #a3a3a3;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 0.875em;
  color: #808080;
}

.related-articles ul li .title {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 2.75em;
  margin-bottom: 9px;
  font-weight: 700;
  line-height: 1.375;
}

.related-articles ul li .date {
  display: block;
  font-size: 0.8125em;
  color: #999;
}

/* Entry Content */
.entry-content h1 {
  margin: 60px 0 19px;
  font-size: 1.6875em;
}

.entry-content h2 {
  margin: 60px 0 19px;
  font-size: 1.5em;
}

.entry-content h3 {
  margin: 60px 0 19px;
  font-weight: 700;
  font-size: 1.3125em;
}

.entry-content h4 {
  margin: 60px 0 19px;
  font-weight: 400;
  font-size: 1.125em;
}

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

.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 pre code.hljs {
  padding: 20px;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 50px;
}

.entry-content ul {
  list-style: disc inside;
}

.entry-content ul li {
  padding-left: 22px;
  position: relative;
  list-style: inherit;
  text-indent: -22px;
}

.entry-content ol {
  list-style: inside decimal;
}

.entry-content ol li {
  position: relative;
  padding-left: 16px;
  text-indent: -15px;
  list-style: inherit;
}

.entry-content a {
  color: #666;
}

.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: 60px;
  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 table {
  width: 100%;
  margin-bottom: 22px;
  border-collapse: collapse;
}

.entry-content table thead th {
  padding: 7px 0 11px;
}

.entry-content table tbody td {
  padding: 7px 0 11px;
}

.entry-content input {
  display: inline-block;
  height: 40px;
  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 .protected_form {
  margin-bottom: 40px;
  padding: 120px 0 200px;
  border-bottom: 1px solid #7a583a;
  text-align: center;
}

.entry-content .protected_form p:before {
  content: "";
  display: block;
  width: 64px;
  height: 84px;
  margin: 0 auto 30px;
  background: url(./images/ico_package.png) no-repeat -50px -100px;
}

.entry-content .protected_form input {
  width: 220px;
  height: 50px;
  margin-bottom: 10px;
  background-color: transparent;
  vertical-align: top;
}

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

/* Comment */
#tt-body-guestbook .tt-comment-cont {
  max-width: 860px;
  margin: 50px auto;
}

.comments {
  max-width: 860px;
  margin: 0 auto 60px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e6e6e6;
}

.comments h2 {
  font-weight: 400;
  font-size: 1em;
  color: #000;
}

.comments .comment-list {
  font-size: 16px;
  margin-bottom: 6px;
  overflow: hidden;
}

.comments .comment-list ul li {
  padding: 30px 0 25px;
  border-top: 1px solid #e6e6e6;
  position: relative;
  min-height: 48px;
}

.comments .comment-list ul li:first-child {
  border: none;
}

.comments .comment-list ul li ul li {
  padding: 26px 0 0 60px;
  border-top: 0;
  border-bottom: 0;
}

.comments .comment-list ul li .author-meta {
  position: absolute;
  overflow: hidden;
  top: 30px;
  height: 48px;
  left: 0;
  right: 0;
  padding: 4px 0 0 60px;
}

.comments .comment-list ul li ul li .author-meta {
  top: 26px;
  left: 60px;
}

.comments .comment-list ul li .author-meta .avatar {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.comments .comment-list ul li .author-meta span {
  display: inline-block;
}

.comments .comment-list ul li .author-meta a {
  text-decoration: none;
  color: #000;
}

.comments .comment-list ul li .author-meta .nickname {
  float: left;
  font-size: 0.875em;
  line-height: 20px;
}

.comments .comment-list ul li .author-meta .nickname .tistoryProfileLayerTrigger {
  margin-bottom: 3px;
  margin-right: 0;
  vertical-align: bottom;
}

.comments .comment-list ul li .author-meta .date {
  float: left;
  margin-left: 10px;
  font-size: 0.75em;
  color: #999;
  line-height: 20px;
}

.comments .comment-list ul li .author-meta .date:before,
.comments .comment-list ul li .author-meta .date a:before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 9px;
  margin-right: 10px;
  background-color: #b2b2b2;
}

.comments .comment-list ul li .author-meta .date a {
  margin-left: 10px;
}

.comments .comment-list ul li .control {
  position: absolute;
  top: 33px;
  right: 0;
}

.comments .comment-list ul li ul li .control {
  top: 29px;
}

.comments .comment-list ul li .control a {
  margin: 0 2px;
  text-decoration: none;
  font-size: 12px;
  color: #999;
}

.comments .comment-list ul li p {
  position: relative;
  margin: 29px 0 0 60px;
  font-size: 0.875em;
  line-height: 1.5714;
  color: #666;
}

.comments .comment-form .field {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 8px;
}

.comments .comment-form input[type=text],
.comments .comment-form input[type=password],
.comments .comment-form textarea {
  border: 1px solid #e6e6e6;
  font-size: 0.9375em;
  line-height: 1.25;
  color: #666;
  background-color: transparent;
}

.comments .comment-form input[type=text],
.comments .comment-form input[type=password] {
  width: 140px;
  height: 52px;
  margin-right: 6px;
  padding: 10px;
  box-sizing: border-box;
}

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

.comments .comment-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  resize: none;
  box-sizing: border-box;
}

.comments .comment-form .field .secret {
  display: inline-block;
  margin-left: 15px;
  vertical-align: middle;
}

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

.comments .comment-form .field .secret label {
  font-size: 0.8125em;
  line-height: 52px;
  color: #666;
  outline: none;
  cursor: pointer;
}

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

.comments .comment-form .field .secret input[type=checkbox]:checked+label:before {
  background-image: url(./images/ico_package.png);
  background-repeat: no-repeat;
  background-position: -150px -100px;
}

.comments .comment-form .field .submit {
  float: right;
}

/* Widget & Template Page */

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

/* Post Type & Color Type */
.post-type-thumbnail .post-item {
  float: left;
  width: 24.0625%;
  margin: 0 0 58px;
  padding-left: 1.25%;
  border: 0;
}

.post-type-thumbnail .post-item:nth-child(4n+1) {
  padding-left: 0;
}

.post-type-thumbnail .post-item a {
  padding: 0;
}

.post-type-thumbnail .post-item .thum {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  height: 0;
  margin: 0 0 9px 0;
  padding-bottom: 75.757575757575758%;
  background-color: #ebebeb;
}

.post-type-thumbnail .post-item .thum:before {
  content: "NO IMAGE";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 18px;
  margin: -9px 0 0 0;
  text-align: center;
  font-family: 'Arial';
  font-weight: bold;
  font-size: 0.875em;
  color: #cbcbcb;
}

.post-type-thumbnail .post-item .thum img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  margin: 0;
}

.post-type-thumbnail .post-item .title {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  height: 2.75em;
  font-weight: 700;
  font-size: 1em;
  line-height: 1.375em;
}

.post-type-thumbnail .post-item .excerpt {
  display: none;
}

.post-type-thumbnail .pagination {
  margin-top: 0;
}

/* Color Type */
.color-chocolate,
.color-chocolate .cover-footer,
.color-chocolate #footer {
  background-color: #f4f2f1;
}

.color-chocolate #header h1 a,
.color-chocolate #gnb ul li a,
.color-chocolate #footer .admin,
.color-chocolate .cover-thumbnail-list ul li a,
.color-chocolate .cover-masonry ul li a,
.color-chocolate .cover-list ul li a,
.color-chocolate .cover-footer p,
.color-chocolate .cover-footer .menu ul li a,
.color-chocolate .post-item a,
.color-chocolate .hgroup h1,
.color-chocolate .hgroup .post-meta a,
.color-chocolate .entry-content h1,
.color-chocolate .entry-content h2,
.color-chocolate .entry-content h3,
.color-chocolate .entry-content h4,
.color-chocolate .entry-content a,
.color-chocolate .related-articles ul li a,
.color-chocolate .comments .comment-list ul li .author-meta span,
.color-chocolate .comments .comment-list ul li .author-meta .date a,
.color-chocolate .pagination .selected {
  color: #4e2e28;
}

.color-chocolate #header .menu p,
.color-chocolate #footer p,
.color-chocolate .cover-thumbnail-list ul li .date,
.color-chocolate .cover-masonry ul li .excerpt,
.color-chocolate .cover-list ul li .excerpt,
.color-chocolate .cover-list ul li .date,
.color-chocolate .post-item .excerpt,
.color-chocolate .post-item .date,
.color-chocolate .hgroup .post-meta,
.color-chocolate .another-category td,
.color-chocolate .tags .items a,
.color-chocolate .related-articles ul li .date,
.color-chocolate .comments .comment-list ul li .author-meta .date,
.color-chocolate .comments .comment-list ul li .author-meta .control a {
  color: #a69693;
}

.color-chocolate .cover-thumbnail-list ul li .category,
.color-chocolate .cover-masonry ul li .category,
.color-chocolate .hgroup .category {
  color: #94817e;
}

.color-chocolate .entry-content p,
.color-chocolate .entry-content table,
.color-chocolate .entry-content ul li,
.color-chocolate .entry-content ol li,
.color-chocolate .another-category table,
.color-chocolate .another-category table th a,
.color-chocolate .comments .comment-list ul li p {
  color: #836c68;
}

.color-chocolate #gnb ul li a:hover,
.color-chocolate .cover-footer .menu ul li a:hover,
.color-chocolate .cover-thumbnail-list ul li a:hover .title,
.color-chocolate .cover-masonry ul li a:hover .title,
.color-chocolate .cover-list ul li a:hover .title,
.color-chocolate .post-item a:hover .title,
.color-chocolate .related-articles ul li a:hover .title {
  color: #2d140f;
}

.color-chocolate .cover-thumbnail-list ul li .category,
.color-chocolate .cover-masonry ul li .category,
.color-chocolate .hgroup .category {
  border-color: #a69693;
}

.color-chocolate .entry-content ul li:before {
  background-color: #a69693;
}

.color-chocolate #header .mobile-menu:before,
.color-chocolate #header .mobile-menu:after,
.color-chocolate #header .mobile-menu span {
  background-color: #4e2e28;
}

.color-chocolate .pagination a:hover,
.color-chocolate #header .search:hover:before {
  background-color: #e7e2e1;
}

.color-chocolate .btn,
.color-chocolate .cover-thumbnail-list .color-chocolate .cover-masonry .color-chocolate .cover-list .color-chocolate .cover-gallery,
.color-chocolate .cover-list ul li,
.color-chocolate .post-item,
.color-chocolate .hgroup,
.color-chocolate .entry-content table,
.color-chocolate .entry-content table thead th,
.color-chocolate .entry-content table tbody td,
.color-chocolate .entry-content blockquote,
.color-chocolate .comments,
.color-chocolate .comments .comment-list ul li,
.color-chocolate .comments .comment-form input[type=text],
.color-chocolate .comments .comment-form input[type=password],
.color-chocolate .comments .comment-form textarea,
.color-chocolate .comments .comment-form .field .secret label:before,
.color-chocolate .pagination .prev,
.color-chocolate .pagination .next,
.color-chocolate .pagination a {
  border-color: #e7e2e1;
}

.color-chocolate .social-link a,
.color-chocolate #header .search button,
.color-chocolate #header .search:before,
.color-chocolate .cover-thumbnail-list ul li .thum:before,
.color-chocolate .cover-gallery ul li a:before,
.color-chocolate .post-header .list-type button,
.color-chocolate .related-articles ul li .thum:before {
  background-image: url(./images/ico_package_chocolate.png);
}

.color-chocolate .btn:hover,
.color-chocolate .pagination .prev:hover,
.color-chocolate .pagination .next:hover {
  border-color: #4d4d4d;
}

.color-chocolate #header .search.on {
  border-color: #4e2e28;
}

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

  #header .search button,
  #header .search:before,
  .social-link a,
  .cover-slider .prev,
  .cover-slider .next,
  .cover-gallery ul li a:before,
  .post-header .list-type button,
  .pagination .prev,
  .pagination .next,
  .comments .comment-form .field .secret input[type=checkbox]:checked+label:before {
    background-image: url(./images/ico_package_2x.png);
    background-size: 200px auto;
  }

  .color-chocolate .social-link a,
  .color-chocolate #header .search button,
  .color-chocolate .cover-gallery ul li a:before,
  .color-chocolate .post-header .list-type button {
    background-image: url(./images/ico_package_chocolate_2x.png);
    background-size: 200px auto;
  }
}

/* Media Screen - Tablet */
@media screen and (max-width:1023px) {
  #header .search.on {
    width: 180px;
  }

  #content .guest_inner,
  #content>.inner {
    padding: 0 40px;
  }

  .post-header {
    padding: 40px;
  }

  .cover-thumbnail-list {
    padding: 40px 40px 65px;
  }

  .cover-slider ul li .title {
    max-width: none;
    padding: 0 98px
  }

  .cover-slider .prev {
    left: 14px;
    margin-left: 0;
  }

  .cover-slider .next {
    left: auto;
    right: 14px;
    margin-left: 0;
  }

  .cover-masonry {
    padding: 60px 40px 81px;
  }

  .cover-list {
    padding: 30px 40px 85px;
  }

  .cover-gallery {
    padding: 60px 40px 130px;
  }
}

/* Media Screen - Mobie */
@media screen and (max-width:767px) {
  #header .mobile-menu {
    top: 10px;
    left: 11px;
  }

  #header .menu {
    padding: 84px 20px 189px;
  }

  #header .menu .social-link,
  #header .menu p {
    left: 20px;
  }

  #header h1 {
    padding: 15px 62px;
    line-height: 1.25;
  }

  #header h1 a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #header .search {
    top: 10px;
    right: 1px;
  }

  #header .search.on {
    position: absolute;
    top: 60px;
    left: 0;
    right: auto;
    z-index: 100;
    width: 100%;
    padding: 10px 18px 10px 17px;
    border: 0;
    background-color: #fff;
    box-sizing: border-box;
  }

  #header .search.on input {
    border-bottom: 1px solid #000;
  }

  #header .search.on button {
    top: -50px;
    right: 1px;
  }

  #content .guest_inner,
  #content>.inner {
    padding: 0 18px;
  }

  .post-header {
    padding: 20px 18px;
  }

  .cover-thumbnail-list {
    padding: 40px 18px 65px;
  }

  .cover-thumbnail-list ul li,
  .related-articles ul li {
    width: 48.591549295774648%;
    padding-left: 2.816901408450704%;
  }

  .cover-thumbnail-list ul li:nth-child(odd),
  .related-articles ul li:nth-child(odd) {
    clear: both;
    padding-left: 0;
  }

  .cover-slider ul li {
    width: 100%;
    box-sizing: border-box;
  }

  .cover-slider ul li .title {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 5.2em;
    padding: 0 18px;
    font-size: 2.125em;
  }

  .cover-slider .prev {
    top: auto;
    bottom: 0;
    left: 0;
  }

  .cover-slider .next {
    top: auto;
    right: 0;
    bottom: 0;
  }

  .cover-masonry {
    padding: 60px 18px 81px;
  }

  .cover-masonry ul li {
    float: none;
    width: 100%;
  }

  .cover-masonry ul li .category,
  .cover-list ul li .category {
    margin-bottom: 8px;
  }

  .cover-thumbnail-list ul li .title,
  .related-articles ul li .title,
  .cover-list ul li .title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 4.2em;
    line-height: 1.4;
  }

  .cover-list {
    padding: 30px 18px 80px;
  }

  .cover-list h2 {
    margin: 30px 0 0 0;
  }

  .cover-list ul li a {
    min-height: 98px;
  }

  .cover-list ul li figure {
    width: 113px;
    height: 113px;
    margin: 0 0 0 18px;
  }

  .cover-list ul li .title {
    -webkit-line-clamp: 2;
    margin-bottom: 3px;
    padding-top: 6px;
    font-size: 1em;
  }

  .cover-list ul li .category {
    display: none;
  }

  .cover-list ul li .excerpt {
    -webkit-line-clamp: 2;
    font-size: 0.8125em;
    line-height: 1.5;
  }

  .cover-gallery {
    padding: 60px 18px 130px;
  }

  .cover-gallery ul li {
    width: 50%;
  }

  .post-item a {
    min-height: 100px;
  }

  .post-item .thum {
    max-width: 113px;
    margin-left: 18px;
  }

  .post-item .thum img {
    width: auto;
    height: 113px;
    margin: 0 0 0 -16.5px;
  }

  .post-item .title {
    line-height: 1.2;
  }

  .post-item .excerpt {
    -webkit-line-clamp: 2;
  }

  .post-type-thumbnail .post-item {
    width: 48.591549295774648%;
    margin-bottom: 26px;
    padding-left: 2.816901408450704%;
  }

  .post-type-thumbnail .post-item:nth-child(4n+1) {
    padding-left: 2.816901408450704%;
  }

  .post-type-thumbnail .post-item:nth-child(2n+1) {
    clear: both;
    padding-left: 0%;
  }

  .post-type-thumbnail .post-item .title {
    -webkit-line-clamp: 3;
    height: auto;
    max-height: 4.125em;
  }

  .entry-content .table-wrap {
    overflow: auto;
    width: 100%;
  }

  .entry-content table {
    width: 680px;
    table-layout: fixed;
  }

  .entry-content .protected_form input {
    display: block;
    width: 160px;
    margin: 0 auto 10px;
  }

  .pagination {
    padding: 0 18px;
  }

  .pagination a {
    display: none;
  }

  .pagination .current {
    display: block;
    font-size: 0.875em;
    line-height: 50px;
  }

  .pagination .prev {
    display: block;
    float: left;
    margin: 0;
  }

  .pagination .next {
    display: block;
    float: right;
    margin: 0;
  }

  .another-category table th {
    display: block;
    padding: 0;
  }

  .another-category table td {
    display: block;
    margin-bottom: 19px;
  }

  .comments .comment-list {
    margin-bottom: 10px;
    margin-top: 10px;
    border-top: 1px solid #e6e6e6;
  }

  .comments .comment-list ul li {
    padding-bottom: 0;
  }

  .comments .comment-list ul li ul {
    border-top: 1px solid #e6e6e6;
  }

  .comments .comment-list ul li ul li {
    padding: 20px 0 0 48px;
  }

  .comments .comment-list ul li ul li:before {
    content: "";
    position: absolute;
    top: 34px;
    left: 18px;
    width: 12px;
    height: 12px;
    background: url(./images/ico_package.png) no-repeat 0 -150px;
  }

  .comments .comment-list ul li .author-meta,
  .comments .comment-list ul li ul li .author-meta {
    position: relative;
    top: 0;
    left: 0;
  }

  .comments .comment-list ul li .author-meta img {
    position: absolute;
    top: 0;
    left: 0;
  }

  .comments .comment-list ul li .author-meta .nickname,
  .comments .comment-list ul li .author-meta .date {
    display: block;
    float: none;
    line-height: 1.5;
  }

  .comments .comment-list ul li .author-meta .nickname .tistoryProfileLayerTrigger {
    margin-bottom: 4px;
  }

  .comments .comment-list ul li .author-meta .date {
    margin-left: 0;
    margin-top: 2px;
  }

  .comments .comment-list ul li .author-meta .date::before {
    display: none;
  }

  .comments .comment-list ul li p {
    margin: 14px 0 0;
  }

  .comments .comment-list ul li .control {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    margin: 9px 0 18px -2px;
  }

  .comments .comment-list ul li ul li .control {
    top: auto;
  }

  .comments .comment-form input[type=text],
  .comments .comment-form input[type=password] {
    width: 100px;
  }

  .comments .comment-form .field .secret {
    margin-left: 0;
  }

  .comments .comment-form .field .secret label:before {
    margin-right: 5px;
  }

  .comments .comment-form .field .submit {
    display: block;
    float: none;
    margin: 60px auto 0;
  }
}

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

.guest_inner .tt-comment-cont {
  padding-top: 40px;
}

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

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

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

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

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

.tt-comment-cont .tt-btn_register {
  width: 158px;
  height: 50px;
  background-color: #fff;
  color: #222;
  border-radius: 0;
  border-color: #DCDCDC;
}

.tt-comment-cont .tt-btn_register:hover {
  background-color: #fff;
  border-color: #222;
}

.tt-comment-cont .tt-btn_register:focus {
  background-color: #fff;
  border-color: #222;
}

/* 전체 공통 */
#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: #0070d1;
  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 {
  margin-bottom: 0px;
  border-color: #ddd;
}

#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;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.07);
  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;
}

/* === Custom Header Style === */
#header {
  background: #000;       /* 헤더 배경 검정 */
  padding: 20px 0;        /* 위아래 여백 */
  text-align: center;     /* 안의 내용 중앙 정렬 */
}

#header .logo img {
  max-height: 120px;       /* 로고 크기 */
  width: auto;
  display: block;
  margin: 0 auto;
}

#header .logo a {
  display: inline-block;
}

/* 햄버거 버튼 색상 흰색으로 변경 */
#header .mobile-menu {
  color: #fff;              /* 텍스트(메뉴 글자) 색상 */
  border: 1px solid #fff;   /* 버튼 테두리 흰색 */
  background: transparent;  /* 배경은 투명 */
}

#header .mobile-menu span,
#header .mobile-menu:before,
#header .mobile-menu:after {
  background-color: #fff !important; /* 아이콘 막대 색상을 흰색으로 */
}

/* 햄버거 버튼 네모 박스 제거 */
#header .mobile-menu {
  background: none;     /* 배경 제거 */
  border: none;         /* 테두리 제거 */
  padding: 0;           /* 여백 제거 */
  outline: none;        /* 포커스 네모 제거 */
  box-shadow: none;     /* 그림자 제거 */
}

/* === Top Navigation (desktop) === */
.top-nav { margin-top: 12px; }
.top-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.top-menu a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  transition: border-color .15s ease, transform .12s ease;
}
.top-menu a:hover { border-color: #2563eb; transform: translateY(-1px); }

/* 모바일에서는 상단 가로 메뉴 숨기고(공간 절약), 햄버거 메뉴로 접근 */
@media (max-width: 1023.98px){
  .top-nav { display: none; }
}

/* === Top Navigation (Simple white text on black) === */
.top-nav { 
  margin-top: 12px; 
}

.top-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;                /* 메뉴 간격 */
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.top-menu a {
  color: #fff;              /* 글씨 흰색 */
  background: transparent;  /* 배경 없음 */
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 6px 0;
  transition: color .2s ease;
}

.top-menu a:hover {
  color: #facc15;           /* 마우스 올리면 노란색 (원하는 색으로 바꿔도 됨) */
  border-bottom: 2px solid #facc15; /* 밑줄 강조 */
}

/* === Top menu: text-only (no pills) === */
.top-nav { margin-top: 12px; }

/* 테마의 캡슐/테두리/배경을 전부 끄기 */
.top-menu a,
.top-menu li a {
  display: inline-block;
  padding: 6px 2px;            /* 살짝만 여백 */
  color: #fff !important;      /* 글자 흰색 */
  background: transparent !important; /* 배경 제거 */
  border: none !important;            /* 테두리 제거 */
  border-radius: 0 !important;        /* 둥근모서리 제거 */
  box-shadow: none !important;        /* 그림자 제거 */
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
}

/* 테마가 before/after로 테두리 그릴 때 대비 */
.top-menu a::before,
.top-menu a::after,
.top-menu li a::before,
.top-menu li a::after {
  content: none !important;
}

/* 호버 효과: 밑줄만(원하면 지워도 됨) */
.top-menu a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 헤더는 검정 배경 유지 */
header, #header { background:#000; }



/* 메뉴 기본 스타일 */
.top-menu a {
  color: #fff;
  background: transparent;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 0;
}


/* 현재 페이지(active)에만 밑줄 */
.top-menu a.active {
  border-bottom: 2px solid #facc15;
  padding-bottom: 4px; /* 글자와 밑줄 간격 */
}

/* 햄버거 사이드 메뉴 */
.side-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-menu li {
  margin: 0;
}

.side-menu a {
  display: block;
  padding: 12px 16px;
  color: #fff;
  text-decoration: none;
}

.side-menu a:hover {
  background: #333;
}

/* 구분선 */
.divider {
  border: none;
  border-top: 1px solid #444;
  margin: 8px 0;
}

/* 헤더 아래에 떠 있는 기본 검색 박스 완전 숨김 */
header > .search { display: none !important; }
/* 혹시 다른 위치에도 동일 클래스가 있으면 전부 숨김 */
.search { display: none !important; }

/* 드로어(햄버거 메뉴) 안 검색창 스타일 */
#gnb .drawer-search {
  padding: 12px 12px 4px;
}
#gnb .drawer-search input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #333;
  border-radius: 10px;
  background: #111;
  color: #fff;
}
#gnb .drawer-search button {
  margin-top: 8px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #333;
  border-radius: 10px;
  background: #1f2937; /* 짙은 회색 */
  color: #fff;
  cursor: pointer;
}
#gnb .drawer-search button:hover { background: #374151; }



/* 드로어(햄버거 메뉴) 배경/글자색 */
#header .menu, header .menu { background:#000; color:#fff; }

/* 사이드메뉴 상단 로고 */
#gnb .drawer-header { padding:16px 16px 8px; text-align:center; }
#gnb .drawer-logo { display:inline-block; }
#gnb .drawer-logo img {
  max-height:72px;      /* 필요시 56~96px로 조절 */
  width:auto;
  display:block;
}

/* 구분선 */
#gnb .divider { height:1px; background:#444; margin:12px 0; }

/* 메뉴 항목 */
#gnb .side-menu { list-style:none; margin:0; padding:0; }
#gnb .side-menu li { margin:0; }
#gnb .side-menu a {
  display:block; padding:12px 16px;
  color:#fff; text-decoration:none;
}
#gnb .side-menu a:hover { background:#111; }

/* 헤더 바깥에 떠 있는 기본 검색은 숨김(원치 않으면 지워도 됨) */
header > .search { display:none !important; }


/* 그룹 구분선 */
#gnb .divider {
  height: 1px;
  background: #444;
  margin: 12px 0 6px;
}

/* 그룹 제목 */
#gnb .group-label {
  padding: 4px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;   /* 회색 톤 글씨 */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#gnb .external-links {
  display: flex;
  gap: 14px;
  padding: 16px;
  justify-content: center;
}

#gnb .external-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #111;
  transition: background 0.2s;
}

#gnb .external-links a:hover {
  background: #333;
}

#gnb .external-links svg {
  width: 18px;
  height: 18px;
  fill: white;
}

/* 2단 (Novel/Art/Movie) */
#gnb .submenu {
  list-style:none;
  padding-left:15px;
  margin:5px 0;
}
#gnb .submenu a {
  color:#ccc;
  font-size:14px;
  text-decoration:none;
}
#gnb .submenu a:hover { color:#fff; }

/* 3단 (시리즈) */
#gnb .sub-submenu {
  list-style:none;
  padding-left:15px;
  margin:3px 0;
}
#gnb .sub-submenu a {
  color:#999;
  font-size:13px;
}
#gnb .sub-submenu a:hover { color:#fff; }

/* ===== Accordion in sidebar (scoped to #gnb) ===== */
#gnb li.acc { position: relative; }
#gnb .acc-link {
  display:block; padding:12px 42px 12px 16px;
  color:#fff; text-decoration:none;
}
#gnb .acc-link:hover { background:#111; }

/* 토글 버튼(오른쪽 화살표) */
#gnb .acc-toggle{
  position:absolute; top:0; right:0;
  height:100%; width:42px;
  background:transparent; border:0; cursor:pointer;
}
#gnb .acc-caret{
  display:inline-block; width:10px; height:10px;
  border-right:2px solid #fff; border-bottom:2px solid #fff;
  transform:rotate(-45deg); transition:transform .15s ease;
}
#gnb .acc-toggle[aria-expanded="true"] .acc-caret{ transform:rotate(45deg); }

/* 2단 패널 */
#gnb .acc-panel{ display:none; list-style:none; margin:0; padding:4px 0 8px; }
#gnb .acc-panel.open{ display:block; }
#gnb .acc-item-link{
  display:block; padding:8px 16px 8px 24px;
  color:#ddd; text-decoration:none; font-size:14px;
}
#gnb .acc-item-link:hover{ background:#111; color:#fff; }

/* 3단(시리즈) */
#gnb .acc-subpanel{ list-style:none; margin:4px 0 8px; padding-left:28px; }
#gnb .acc-sub-link{
  display:block; padding:6px 16px 6px 0;
  color:#aaa; font-size:13px; text-decoration:none;
}
#gnb .acc-sub-link:hover{ color:#fff; background:#111; }

/* 사이드바 기본 화살표/아이콘 싹 제거 (테마 기본값 무효화) */
#gnb .side-menu a::after,
#gnb .side-menu a::before,
#gnb .acc-link::after,
#gnb .acc-item-link::after,
#gnb .acc-sub-link::after {
  content: none !important;
  background: none !important;
  border: 0 !important;
}

/* 혹시 링크에 배경이미지로 아이콘이 들어간 경우도 제거 */
#gnb .side-menu a,
#gnb .acc-link,
#gnb .acc-item-link,
#gnb .acc-sub-link {
  background-image: none !important;
}

/* 목록 점/기호 제거 (겹침 방지) */
#gnb .acc-panel,
#gnb .acc-panel li,
#gnb .side-menu,
#gnb .side-menu li {
  list-style: none !important;
}

/* 우리 아코디언 화살표는 버튼에만 */
#gnb .acc-toggle .acc-caret {
  display:inline-block;
  width:10px; height:10px;
  border-right:2px solid #fff; border-bottom:2px solid #fff;
  transform:rotate(-45deg);
  transition:transform .15s ease;
}
#gnb .acc-toggle[aria-expanded="true"] .acc-caret {
  transform:rotate(45deg);
}

/* 래퍼: 제목 줄(링크+버튼) */
#gnb .acc-head{
  position: relative;
  padding: 12px 42px 12px 16px;  /* 좌우 여백 */
}

/* 제목 링크 */
#gnb .acc-link{
  display:block;
  color:#fff;
  text-decoration:none;
  padding:0;                   /* ← 기존 padding 제거 */
}
#gnb .acc-head:hover{ background:#111; }

/* 토글 버튼: 제목 줄 안에서만 중앙 정렬 */
#gnb .acc-toggle{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);  /* ← 항상 제목 줄의 세로 중앙 */
  width:24px; height:24px;
  background:transparent; border:0; cursor:pointer;
  padding:0;
}

/* 화살표 */
#gnb .acc-caret{
  display:inline-block;
  width:10px; height:10px;
  border-right:2px solid #fff; border-bottom:2px solid #fff;
  transform:rotate(-45deg);
  transition:transform .15s ease;
}
#gnb .acc-toggle[aria-expanded="true"] .acc-caret{ transform:rotate(45deg); }

/* 패널(접힘/펼침) */
#gnb .acc-panel{ display:none; list-style:none; margin:0; padding:4px 0 8px; }
#gnb .acc-panel.open{ display:block; }

/* 2·3단 링크들 */
#gnb .acc-item-link{ display:block; padding:8px 16px 8px 24px; color:#ddd; text-decoration:none; font-size:14px; }
#gnb .acc-item-link:hover{ background:#111; color:#fff; }
#gnb .acc-sub-link{ display:block; padding:6px 16px 6px 32px; color:#aaa; font-size:13px; text-decoration:none; }
#gnb .acc-sub-link:hover{ color:#fff; background:#111; }

/* ===== 사이드바 아코디언 레벨별 정렬/타이포 고정 ===== */

/* 제목줄(링크+화살표) 공통 리듬 */
#gnb .acc-head{
  position:relative;
  padding:12px 42px 12px 16px;   /* 위아래 12px로 일정 */
  line-height:1.25;
}

/* Library / Novel 제목 링크 */
#gnb .acc-head .acc-link{
  display:block;
  color:#fff;
  text-decoration:none;
  margin:0;
  font-size:16px;
  font-weight:600;
}

/* 화살표는 제목줄의 가운데에만 */
#gnb .acc-toggle{
  position:absolute; right:12px; top:50%;
  transform:translateY(-50%);
  width:24px; height:24px; background:transparent; border:0; padding:0; cursor:pointer;
}

/* 패널(접힘/펼침) 기본 여백 통일 */
#gnb .acc-panel{ display:none; list-style:none; margin:0; padding:4px 0 8px; }
#gnb .acc-panel.open{ display:block; }
#gnb .acc-panel > li{ margin:0; }   /* 항목 사이 여백 제거 */

/* ── 2단 항목(= Novel 제목줄 + Art/Movie) ───────────────── */

/* Novel(2단)의 제목줄과 Art/Movie를 동일 스타일로 */
#gnb #lib-panel > li > .acc-head .acc-link,
#gnb #lib-panel > li > .acc-item-link{
  display:block;
  padding:10px 16px 10px 24px;   /* 2단 들여쓰기: 24px */
  font-size:16px;
  font-weight:600;               /* ← Novel과 Art/Movie 동일 굵기/크기 */
  color:#eaeaea;
  text-decoration:none;
}
#gnb #lib-panel > li > .acc-item-link:hover,
#gnb #lib-panel > li > .acc-head:hover{ background:#111; color:#fff; }

/* ── 3단 항목(= 바우나비/에브리타임) ─────────────────────── */
#gnb #novel-panel .acc-sub-link{
  display:block;
  padding:8px 16px 8px 36px;     /* 3단 들여쓰기: 36px */
  font-size:14px;
  color:#cfcfcf;
  text-decoration:none;
}
#gnb #novel-panel .acc-sub-link:hover{ background:#111; color:#fff; }

/* 불필요한 기호/화살표/점 제거(테마 기본값 무효화) */
#gnb .acc-link::before, #gnb .acc-link::after,
#gnb .acc-item-link::before, #gnb .acc-item-link::after,
#gnb .acc-sub-link::before, #gnb .acc-sub-link::after{
  content:none !important; background:none !important; border:0 !important;
}
#gnb .acc-link, #gnb .acc-item-link, #gnb .acc-sub-link{
  background-image:none !important;
}

/* 공통 리셋 */
#gnb ul, #gnb li{margin:0; padding:0; list-style:none;}
#gnb a{background-image:none!important}

/* ── 1단(탑 레벨: HOME / Profile / Library / Daily / GuestBook) ── */
#gnb > ul > li > a{
  display:block;
  padding:12px 0;               /* 위아래 통일 */
  text-align:center;             /* 모두 가운데 */
  font-size:16px;
  font-weight:600;
  color:#fff; text-decoration:none;
}

/* Library/Novel 제목줄(링크+화살표 래퍼)도 1단과 동일 리듬로 */
#gnb .acc-head{
  position:relative;
  padding:12px 42px;             /* 텍스트는 정중앙, 오른쪽 42px은 화살표 자리 */
  text-align:center;
  line-height:1.25;
}
#gnb .acc-link{
  display:inline-block;          /* 가운데 정렬 */
  padding:0; margin:0;
  font-size:16px;
  font-weight:600;
  color:#fff; text-decoration:none;
}

/* 화살표는 제목줄 안에서만 중앙 */
#gnb .acc-toggle{
  position:absolute; right:12px; top:50%;
  transform:translateY(-50%);
  width:24px; height:24px;
  background:transparent; border:0; padding:0; cursor:pointer;
}
#gnb .acc-caret{
  display:inline-block; width:10px; height:10px;
  border-right:2px solid #fff; border-bottom:2px solid #fff;
  transform:rotate(-45deg); transition:transform .15s ease;
}
#gnb .acc-toggle[aria-expanded="true"] .acc-caret{ transform:rotate(45deg); }

/* 패널 기본 여백 통일 */
#gnb .acc-panel{ display:none; margin:0; padding:4px 0 8px; }
#gnb .acc-panel.open{ display:block; }
#gnb .acc-panel > li{ margin:0; }

/* ── 2단(= Novel 제목 / Art / Movie) 를 서로 완전히 동일하게 ── */
#gnb #lib-panel > li > .acc-head .acc-link,
#gnb #lib-panel > li > .acc-item-link{
  display:block;
  padding:10px 0;
  text-align:center;
  font-size:16px;
  font-weight:600;
  color:#eaeaea; text-decoration:none;
}
#gnb #lib-panel > li > .acc-head:hover,
#gnb #lib-panel > li > .acc-item-link:hover{
  background:#111; color:#fff;
}

/* ── 3단(= 바우나비 / 에브리타임) ── */
#gnb #novel-panel .acc-sub-link{
  display:block;
  padding:8px 0;
  text-align:center;
  font-size:14px;
  color:#cfcfcf; text-decoration:none;
}
#gnb #novel-panel .acc-sub-link:hover{ background:#111; color:#fff; }

/* 테마가 자동으로 붙이는 화살표/점 제거 (겹침 방지) */
#gnb .acc-link::before, #gnb .acc-link::after,
#gnb .acc-item-link::before, #gnb .acc-item-link::after,
#gnb .acc-sub-link::before, #gnb .acc-sub-link::after{
  content:none!important; background:none!important; border:0!important;
}

/* 최상위 메뉴 (HOME, Profile, Library, Daily, GuestBook) 줄 간격 줄이기 */
#gnb > ul > li > a,
#gnb .acc-head {
  padding: 8px 42px;   /* ← 기존 12px → 8px으로 줄임 */
}

/* 2단 (Novel, Art, Movie) */
#gnb #lib-panel > li > .acc-head .acc-link,
#gnb #lib-panel > li > .acc-item-link {
  padding: 6px 0;      /* 기존 10px → 6px */
}

/* 3단 (바우나비, 에브리타임) */
#gnb #novel-panel .acc-sub-link {
  padding: 4px 0;      /* 기존 8px → 4px */
}
/* 1단 (HOME, Profile, Library, Daily, GuestBook) */
#gnb > ul > li > a,
#gnb .acc-head {
  padding: 4px 42px;   /* 기존 12px → 4px */
}

/* 2단 (Novel, Art, Movie) */
#gnb #lib-panel > li > .acc-head .acc-link,
#gnb #lib-panel > li > .acc-item-link {
  padding: 5px 0;      /* 기존 10px → 3px */
}

/* 3단 (바우나비, 에브리타임) */
#gnb #novel-panel .acc-sub-link {
  padding: 2px 0;      /* 기존 8px → 2px */
}
/* ===== 전체 메뉴 줄 간격 줄이기 ===== */
#gnb > ul > li {
  margin: 2px 0;   /* 항목 사이 여백 줄이기 (기존보다 확 줄임) */
}

/* OFFICIAL, LINK 섹션 타이틀 스타일 */
#gnb .menu-section-title {
  display:block;
  margin:8px 0;
  padding:4px 16px;
  font-size:14px;        /* ← 기존보다 조금 크게 (원하면 16px로도 가능) */
  font-weight:700;
  color:#aaa;
  text-transform:uppercase;
  letter-spacing:1px;
}

/* 타이틀 아래 구분선 */
#gnb .menu-section-title::after {
  content:"";
  display:block;
  height:1px;
  background:#333;
  margin-top:4px;
}

/* 그룹 라벨 (Official / Link) */
#gnb .group-label {
  margin: 16px 0 4px;        /* 위쪽은 넉넉하게, 아래는 살짝 */
  padding: 0 16px;
  font-size: 15px;           /* 일반 메뉴(16px)보다 살짝 작거나 키울 수 있음 */
  font-weight: 700;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;        /* 원하면 left 로 바꿔도 됨 */
  border-top: 1px solid #333;
  padding-top: 8px;
}

/* 라벨과 바로 아래 첫 메뉴 사이 띄우기 */
#gnb .group-label + .side-menu {
  margin-top: 10px;   /* ← 여기 숫자를 늘리면 더 띔 */
}

/* 각 메뉴 항목들끼리 줄간격 줄이기 */
#gnb .side-menu li {
  margin: 1px 0;     /* 항목 사이 여백 아주 좁게 */
}
#gnb .side-menu li a {
  display: block;
  padding: 4px 0;    /* 위아래 패딩 줄여서 더 촘촘히 */
  font-size: 14px;   /* 일반 메뉴 크기 유지 */
  color: #fff;
  text-decoration: none;
}
#gnb .side-menu li a:hover {
  background: #111;
}

/* 기본 divider/테두리 숨기기 */
#gnb .divider{display:none;}
#gnb .side-menu{border:0;}
#gnb .side-menu::before,
#gnb .side-menu::after{content:none;}

/* group-label 선만 사용 */
#gnb .group-label{
  border-top:1px solid #333;
  margin:14px 0 4px;
  padding-top:8px;
}

/* 로고와 첫 메뉴(Home) 사이 간격 */
#header h1,  /* 로고 영역 */
#sidebar .logo {
  margin-bottom: 24px;   /* 원하는 만큼 늘리기 (24px → 더 크게도 가능) */
}

/* 그룹 라벨(OFFICIAL, LINK) 간격 통일 */
#gnb .group-label {
  margin: 20px 0 10px;   /* 위아래 일정한 여백 */
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 8px;
}

/* 그룹 라벨 아래 첫 번째 메뉴와 간격 */
#gnb .group-label + .side-menu {
  margin-top: 8px;   /* 라벨과 첫 메뉴 사이 일정한 띄움 */
}

/* 사이드바 로고와 메뉴 간격 */
#gnb .logo,
#sidebar .logo,
#header h1 {
  display:block;
  margin-bottom: 32px !important;  /* 강제로 여백 적용 */
}
/* 사이드바 로고 아래 간격 */
.drawer-header {
  margin-bottom: 32px;   /* 원하는 만큼 조정 (28~40px 권장) */
}

/* 그룹 라벨 (OFFICIAL / LINK) */
.group-label {
  margin: 20px 0 10px;   /* 위/아래 일정하게 */
  font-size: 16px;       /* 일반 메뉴보다 살짝 크게 */
  font-weight: 700;
  color: #ccc;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: 1px solid #333;
  padding-top: 8px;
}

/* 라벨과 첫 메뉴 사이 간격 */
.group-label + .side-menu {
  margin-top: 12px;
}

/* 각 메뉴끼리 촘촘히 */
.side-menu li {
  margin: 0;
}
.side-menu li a {
  display:block;
  padding: 4px 0;
}

/* 사이드바 로고 위치 위로 올리기 */
.drawer-header {
  margin-top: -15px;   /* 숫자를 더 크게 하면 더 위로 붙음 (-20px도 가능) */
  margin-bottom: 28px; /* 아래쪽은 여백 유지 */
}

/* 구분선 */
.divider {
  border-top: 1px solid #333;
  margin: 20px 0;   /* 위·아래 여백을 일정하게 */
}

/* 그룹 라벨 (OFFICIAL, LINK) */
.group-label {
  font-size: 16px;
  font-weight: 700;
  color: #ccc;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 10px 0;   /* 위·아래 여백 균일하게 */
}

/* 라벨 아래 첫 메뉴와의 간격 */
.group-label + .side-menu {
  margin-top: 12px;
}

/* 구분선(줄) */
#gnb .divider {
  border-top: 1px solid #333;  /* 선은 유지 */
  margin: 24px 0;              /* 위아래 여백 일정하게 */
}

/* OFFICIAL, LINK 라벨 */
#gnb .group-label {
  font-size: 16px; 
  font-weight: 700;
  color: #ccc;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 12px 0;               /* 구분선과 라벨 사이 여백 일정 */
}

/* 라벨 아래 메뉴 시작 간격 */
#gnb .group-label + .side-menu {
  margin-top: 8px;
}

/* 메뉴 항목 줄 간격 */
#gnb .side-menu li a {
  display: block;
  padding: 4px 0;               /* 줄간격 조금 촘촘하게 */
}


/* 구분선 */
#gnb .divider {
  border-top: 1px solid #333;
  margin: 30px 0;   /* 위아래 여백 넉넉히 */
}

/* 그룹 라벨 (OFFICIAL / LINK) */
#gnb .group-label {
  font-size: 16px;
  font-weight: 700;
  color: #ccc;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 20px 0 15px;  /* 위로는 구분선과 간격, 아래로는 메뉴와 간격 */
}

/* 메뉴 항목 */
#gnb .side-menu li a {
  display: block;
  padding: 5px 0;   /* 항목끼리는 촘촘하게 */
}

/* 구분선 */
#gnb .divider {
  border-top: 1px solid #333;
  margin: 30px 0;   /* 위, 아래 똑같이 30px */
}

/* 그룹 라벨 (OFFICIAL / LINK) */
#gnb .group-label {
  font-size: 16px;
  font-weight: 700;
  color: #ccc;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 30px 0;   /* 라벨 위, 아래 간격 동일하게 */
}

/* 구분선: 위아래 여백은 딱 구분선만 관리 */
#gnb .divider {
  border-top: 1px solid #333;
  margin: 20px 0 0 0;   /* 위쪽만 간격, 아래는 0 */
}

/* 라벨 (OFFICIAL, LINK) */
#gnb .group-label {
  font-size: 16px;
  font-weight: 700;
  color: #ccc;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 15px 0;   /* 라벨 위, 아래 일정 */
}

/* 라벨 바로 위 divider가 있을 때: 구분선과 라벨 사이 간격 강제 */
#gnb .divider + .group-label {
  margin-top: 10px;  /* 구분선과 라벨 사이 */
}

/* 전체 검색창 박스 */
.sidebar-search {
  text-align: center;
  margin: 15px 0;
}

/* 밑줄만 있는 심플 스타일 */
.sidebar-search input {
  border: none;
  border-bottom: 1px solid #aaa;  /* 밑줄 */
  outline: none;
  background: transparent;
  width: 150px;                   /* 검색창 길이 */
  font-size: 13px;
  color: #fff;                    /* 글자 색 (배경이 검정일 경우) */
  text-align: center;
  padding: 4px 0;
}

.sidebar-search input::placeholder {
  color: #aaa;                    /* placeholder 색 */
  font-style: italic;
}

.sidebar-search input {
  border: none;
  border-bottom: 1px dotted #aaa;  /* 밑줄을 점선으로 변경 */
  outline: none;
  background: transparent;
  width: 150px;
  font-size: 13px;
  color: #fff;
  text-align: center;
  padding: 4px 0;
}

.sidebar-search input::placeholder {
  color: #aaa;
  font-style: italic;
}

:root{
  --bg-main:#fff; --text:#111; --muted:#888; --line:rgba(0,0,0,.08);
  --radius:16px; --gap:24px; --panel-pad:20px; --maxw:1200px;
}

.hero-3col, .lists-2col{
  max-width:var(--maxw); margin:32px auto; padding:0 16px;
}

.hero-3col{
  display:grid; gap:var(--gap);
  grid-template-columns: 1.1fr 1fr 1.1fr;
}

.media-card, .panel{
  background:#fff; border-radius:var(--radius);
  padding:var(--panel-pad);
  border:1px dashed var(--line);
  box-shadow:0 2px 10px rgba(0,0,0,.04);
}

.media-card img{
  display:block; width:100%; height:auto; object-fit:cover;
  border-radius:calc(var(--radius) - 4px);
}

.media-card.video .ratio{ position:relative; width:100%; padding-top:56.25%; overflow:hidden; border-radius:12px;}
.media-card.video .ratio iframe{ position:absolute; inset:0; width:100%; height:100%; }

.panel-title{ font-size:18px; font-weight:700; margin-bottom:12px; }

/* 리스트 섹션 2열 */
.lists-2col{
  display:grid; gap:var(--gap);
  grid-template-columns: 1fr 1fr;
}

/* 포토 썸네일 그리드 */
.thumb-grid{
  display:grid; gap:12px;
  grid-template-columns: repeat(4, 1fr);
}
.thumb{
  position:relative; overflow:hidden; border-radius:12px;
  aspect-ratio: 1 / 1; /* 정사각 */
  background:#f3f3f3;
}
.thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.thumb a{ position:absolute; inset:0; }

/* 노벨 목록 */
.post-list{ margin:0; padding-left:18px; }
.post-list li{ margin:8px 0; }
.post-list a{ text-decoration:none; color:var(--text); }
.post-list a:hover{ text-decoration:underline; }
.post-meta{ display:block; font-size:12px; color:var(--muted); margin-top:2px; }

/* 반응형 */
@media (max-width:1100px){
  .hero-3col{ grid-template-columns: 1fr 1fr; }
  .hero-3col .hero-col:nth-child(3){ grid-column: 1 / -1; } /* 유튜브 아래로 */
  .thumb-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width:720px){
  .hero-3col, .lists-2col{ grid-template-columns: 1fr; gap:16px; margin:20px auto; }
  .thumb-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* 포토 → 그 아래 노벨 (항상 세로 배치) */
.lists-2col{
  display:grid;
  gap:24px;
  grid-template-columns: 1fr;  /* ← 이 한 줄만 덮어쓰기 */
}

.thumb-grid { display:grid; gap:12px; grid-template-columns:repeat(4,1fr); list-style:none; padding:0; margin:0; }
.thumb-grid .thumb{ display:block; border-radius:12px; overflow:hidden; aspect-ratio:1/1; background:#f3f3f3; }
.thumb-grid img{ width:100%; height:100%; object-fit:cover; display:block; }
.post-list{ margin:0; padding-left:18px; }

/* Photo 그리드 */
#photo-grid { list-style:none; padding:0; margin:0; }
#photo-grid { display:grid; gap:12px; grid-template-columns:repeat(4, minmax(0,1fr)); }
#photo-grid > li.thumb { list-style:none; }
#photo-grid .thumb a { display:block; border-radius:12px; overflow:hidden; background:#f3f3f3; aspect-ratio:1/1; }
#photo-grid .thumb img { width:100%; height:100%; object-fit:cover; display:block; }

/* Novel 리스트 */
#novel-list { margin:0; padding-left:18px; }
#novel-list li { margin:8px 0; }

/* 반응형 */
@media (max-width:1100px){
  #photo-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width:720px){
  #photo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
.lists-stack{ max-width:1200px; margin:24px auto; padding:0 16px; display:grid; gap:24px; }
.panel{ background:#fff; border:1px dashed rgba(0,0,0,.08); border-radius:16px; padding:20px; box-shadow:0 2px 10px rgba(0,0,0,.04); }
.panel-title{ font-size:18px; font-weight:700; margin:0 0 12px; }

#photo-grid{ list-style:none; margin:0; padding:0;
  display:grid; gap:12px; grid-template-columns:repeat(4,minmax(0,1fr)); }
#photo-grid li{ list-style:none; }
#photo-grid a{ display:block; border-radius:12px; overflow:hidden; background:#f3f3f3; aspect-ratio:1/1; }
#photo-grid img{ width:100%; height:100%; object-fit:cover; display:block; }

#novel-list{ margin:0; padding-left:18px; }
#novel-list li{ margin:8px 0; }

@media (max-width:1100px){ #photo-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:720px){  #photo-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Photo / Novel 섹션은 항상 보이게 */
#photo-section,
#novel-section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Photo/Novel 그리드 스타일 */
#photo-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#photo-grid li { list-style: none; }
#photo-grid a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f3f3;
  aspect-ratio: 1/1;
}
#photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#novel-list { margin: 0; padding-left: 18px; }
#novel-list li { margin: 8px 0; }

@media (max-width:1100px) {
  #photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width:720px) {
  #photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 글 목록 강제 복구 */
s_list,
s_list .post-header,
s_list .inner,
.lists-stack,
#all-posts {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ---- 홈 전용 섹션(메인 3열 + 홈용 Photo/Novel) 강제 표시 ---- */
/* 기본은 안 보이게 */
.hero-3col,
#photo-section,
#novel-section {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* 홈(index)일 때만 보이게 — body id가 tt-body-index 로 들어옴 */
#tt-body-index .hero-3col,
#tt-body-index #photo-section,
#tt-body-index #novel-section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 리스트(전체글)는 어디서든 보이게 유지 */
.lists-stack {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 메인 3열 레이아웃 */
.hero-3col {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: start !important;
  margin: 24px 0 28px !important;
}

/* 각 칸(이미지/캘린더/유튜브) 공통 카드 스타일 */
.hero-3col .hero-col .media-card,
.hero-3col .hero-col .panel {
  background: transparent;
}

/* 고정 이미지가 꽉 차게 */
.hero-3col .media-card img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 12px;
}

/* 유튜브 16:9 반응형 */
.hero-3col .media-card.video .ratio {
  position: relative !important;
  padding-top: 56.25% !important; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
}
.hero-3col .media-card.video iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

/* 반응형(태블릿/모바일) */
@media (max-width: 1100px) {
  .hero-3col { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 720px) {
  .hero-3col { grid-template-columns: 1fr !important; }
}

/* 홈(index)에서만 하단 전체글 섹션 숨기기 */
:is(#tt-body-index, .tt-body-index, body.index, body.home) .lists-stack {
  display: none !important;
}
/* 메인 3열 강제 가로배치 */
.hero-3col {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin: 24px 0 28px !important;
}

/* 각 칸 균등 분배 */
.hero-3col .hero-col {
  flex: 1 1 0 !important;
  max-width: 33.333% !important;
}

/* 칸 안에 있는 콘텐츠 꽉 차게 */
.hero-3col img,
.hero-3col iframe {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 12px;
}

/* 유튜브 16:9 비율 유지 */
.hero-3col .video .ratio {
  position: relative !important;
  padding-top: 56.25% !important; /* 16:9 */
  overflow: hidden;
  border-radius: 12px;
}
.hero-3col .video .ratio iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* --- 홈 메인 3열을 '무조건' 가로 3칸으로 만들기 (최우선 규칙) --- */
#tt-body-index .hero-3col {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: start !important;
  margin: 24px 0 28px !important;
}

/* 이전에 넣었던 width:100% / flex 등 어떤 값이 있어도 무력화 */
#tt-body-index .hero-3col .hero-col {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  box-sizing: border-box !important;
}

/* 카드 안 요소들 정리 */
#tt-body-index .hero-3col img { 
  width: 100% !important; 
  height: auto !important; 
  display: block !important; 
  border-radius: 12px; 
}

/* 유튜브 16:9 반응형 */
#tt-body-index .hero-3col .media-card.video .ratio {
  position: relative !important;
  padding-top: 56.25% !important; /* 16:9 */
  overflow: hidden !important;
  border-radius: 12px;
}
#tt-body-index .hero-3col .media-card.video iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

/* 캘린더/iframe도 100% */
#tt-body-index .hero-3col iframe {
  width: 100% !important;
}

/* 반응형: 태블릿/모바일에서 2칸 → 1칸 */
@media (max-width:1100px) {
  #tt-body-index .hero-3col { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width:720px) {
  #tt-body-index .hero-3col { grid-template-columns: 1fr !important; }
}
/* 홈 메인 3열 중앙 쏠림 방지 - 전체 폭 채우기 */
#tt-body-index .hero-3col {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  width: 100% !important;
  justify-items: stretch !important;
  align-items: start !important;
  margin: 24px 0 28px !important;
}
/* ===== 메인 3열 강제 정렬(왼쪽 쏠림/세로쌓임 모두 해결) ===== */
#tt-body-index article#content .hero-3col {
  /* 레이아웃 */
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;

  /* 폭 관련 */
  width: 100% !important;
  max-width: 100% !important;
  margin: 24px 0 28px !important;
  box-sizing: border-box !important;
}

#tt-body-index article#content .hero-3col .hero-col {
  /* 고정폭/플렉스/float 등 테마 값 무력화 */
  display: block !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  float: none !important;
  box-sizing: border-box !important;
}

#tt-body-index article#content .hero-3col .panel,
#tt-body-index article#content .hero-3col .media-card,
#tt-body-index article#content .hero-3col figure,
#tt-body-index article#content .hero-3col .ratio {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  box-sizing: border-box !important;
}

/* 이미지/iframe 채우기 */
#tt-body-index article#content .hero-3col img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 12px;
}
#tt-body-index article#content .hero-3col iframe {
  width: 100% !important;
  border: 0 !important;
}

/* 유튜브 16:9 */
#tt-body-index article#content .hero-3col .media-card.video .ratio {
  position: relative !important;
  padding-top: 56.25% !important; /* 16:9 */
  overflow: hidden !important;
  border-radius: 12px;
}
#tt-body-index article#content .hero-3col .media-card.video iframe {
  position: absolute !important;
  inset: 0 !important;
  height: 100% !important;
}

/* 반응형 */
@media (max-width:1100px){
  #tt-body-index article#content .hero-3col {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width:720px){
  #tt-body-index article#content .hero-3col {
    grid-template-columns: 1fr !important;
  }
}

/* 캘린더 높이 복원(데스크탑 기준) */
#tt-body-index .hero-3col .calendar-embed iframe {
  display: block !important;
  width: 100% !important;
  height: 420px !important;   /* ← 원하면 숫자만 바꾸면 됨 */
  border: 0 !important;
}

/* 캘린더 카드 자체에 눌림 방지 */
#tt-body-index .hero-3col .panel .calendar-embed {
  min-height: 420px !important;
}

/* 반응형: 화면 작아질수록 살짝 낮춤(원하는 값으로 조절 가능) */
@media (max-width: 1100px) {
  #tt-body-index .hero-3col .calendar-embed iframe { height: 360px !important; }
  #tt-body-index .hero-3col .panel .calendar-embed { min-height: 360px !important; }
}
@media (max-width: 720px) {
  #tt-body-index .hero-3col .calendar-embed iframe { height: 320px !important; }
  #tt-body-index .hero-3col .panel .calendar-embed { min-height: 320px !important; }
}

/* ===== 메뉴/카테고리에서 생기는 커다란 빈칸 제거 ===== */

/* 메인이 아닌 모든 페이지에서 홈 전용 섹션 완전 제거 */
body:not(#tt-body-index) .hero-3col,
body:not(#tt-body-index) #photo-section,
body:not(#tt-body-index) #novel-section {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 혹시 내부 요소가 min-height로 눌러 앉아 있으면 무효화 */
body:not(#tt-body-index) .hero-3col * {
  min-height: 0 !important;
  height: auto !important;
  float: none !important;
}

/* 바로 다음 요소(글 목록 섹션) 위 여백도 제거 */
body:not(#tt-body-index) .hero-3col + * {
  margin-top: 0 !important;
}

/* 글 목록 섹션은 반드시 보이게 */
body:not(#tt-body-index) .lists-stack,
body:not(#tt-body-index) s_list,
body:not(#tt-body-index) .lists-stack .inner {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 0 !important;
}


/* === Photo 섹션: 썸네일 과대확대 방지 === */
#photo-section {
  max-width: 1200px;           /* 넓은 화면에서도 과하게 안 퍼지게 전체 폭 제한(원하면 값 조절) */
  margin: 0 auto;              /* 가운데 정렬 */
}

/* 카드(썸네일) 고정폭 그리드: 280px짜리 박스들을 여러 칼럼으로 배치 */
#photo-section .thumb-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, 280px) !important;  /* 카드 '고정폭' */
  gap: 16px !important;
  justify-content: center !important;  /* 남는 공간은 좌우로 분배(가운데 정렬) */
}

/* 각 카드 */
#photo-section .thumb-grid li.thumb,
#photo-section .thumb-grid li {
  width: 280px !important;     /* 카드 폭 고정 → 이미지가 더 크게 '늘어나지' 않음 */
}

/* 이미지: 박스에 맞춰 자르기(늘리진 않음) */
#photo-section .thumb-grid img {
  display: block !important;
  width: 100% !important;      /* 카드 폭까지만 */
  height: 180px !important;    /* 보기 좋은 비율, 원하면 160~200px 사이로 조절 */
  object-fit: cover !important;/* 박스 꽉 채우되 비율 유지 */
}

/* 태블릿/모바일: 카드폭 살짝 줄여 자연스럽게 줄어들게 */
@media (max-width: 900px) {
  #photo-section .thumb-grid {
    grid-template-columns: repeat(auto-fill, 240px) !important;
  }
  #photo-section .thumb-grid li,
  #photo-section .thumb-grid li.thumb { width: 240px !important; }
  #photo-section .thumb-grid img { height: 160px !important; }
}

#photo-section .thumb-grid img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;   /* 박스를 꽉 채우고 잘라냄 */
  display: block !important;
}

/* === Photo 카드: 회색 바 제거 + 깔끔 정렬 === */
#photo-section .thumb-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, 280px) !important; /* 필요시 300px 등으로 조절 */
  gap: 16px !important;
  justify-content: center !important;
  grid-auto-rows: auto !important;
}

/* 카드 바탕/여백/고정높이 전부 해제 */
#photo-section .thumb-grid li,
#photo-section .thumb-grid li * {
  background: transparent !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* 링크를 이미지 래퍼로만 사용 */
#photo-section .thumb-grid a {
  display: block !important;
  overflow: hidden !important;
  border-radius: 12px !important;
}

/* 제목 숨김(있다면) */
#photo-section .thumb-grid .rct-title { display: none !important; }

/* 이미지: 박스 꽉 채우기(잘라내더라도 빈칸 없음) */
#photo-section .thumb-grid img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;  /* 카드 비율 고정 */
  height: auto !important;           /* 고정 height 제거 */
  object-fit: cover !important;      /* 빈칸 없이 꽉 채우기 */
  border-radius: 12px !important;
}

/* 반응형(태블릿/모바일에서 카드폭 살짝 축소) */
@media (max-width: 900px) {
  #photo-section .thumb-grid { grid-template-columns: repeat(auto-fill, 240px) !important; }
}

:root{
  --panel-w: 1280px;   /* ← 포토·노벨 공통 가로폭(원하는 값으로 바꿔) */
  --side-pad: 10px;    /* 좌우 여백 */
  --photo-gap: 24px;   /* 포토 썸네일 간격 */
  --photo-ratio: 4/3;  /* 썸네일 비율 */
}

/* 포토/노벨 섹션: 가로폭만 동일하게 중앙 정렬(높이는 자동) */
#photo-section.panel,
#novel-section.panel{
  width: var(--panel-w);
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  height: auto !important;
  min-height: 0 !important;
}

#photo-grid.thumb-grid > li.thumb { overflow:hidden !important; }

#photo-grid.thumb-grid > li.thumb > a{
  display:block !important;
  height:100% !important; width:100% !important;
  padding:0 !important; margin:0 !important; line-height:0 !important;
}

#photo-grid.thumb-grid > li.thumb > a img{
  display:block !important;
  width:100% !important;
  height:100% !important;        /* ← 박스 높이만큼만 */
  object-fit:cover !important;   /* 빈칸 없이 꽉 채우기 */
}

.panel-title a{
  color: inherit;
  text-decoration: none;
}
.panel-title a:hover{
  text-decoration: underline; /* 원치 않으면 지워도 됨 */
}

/* - - - BGM 플레이어 관련 - - - */
.mm-bgm{
  position: fixed;
  bottom: 15px; /* 우측상단 원하면 bottom을 top 으로 변경 */
  right: 15px;
  z-index: 9999; /* 맨위로 */
  border: none;
}
/* - - - BGM 플레이어 끝 - - -*/


/* 🔧 예전 fixed 규칙/인라인 width/height를 무조건 무력화 */
.mm-bgm{
  position: static !important;   /* ← fixed 꺼버림 */
  right: auto !important;
  bottom: auto !important;
  display: block;
  width: 100% !important;        /* 사이드바 폭에 맞춤 */
  height: 150px !important;       /* 플레이어 높이: 숫자 원하면 바꿔 */
  border: 0;
}

/* 사이드바 맨 밑에 붙게(스크롤해도 하단 유지하려면 sticky) */
.sidebar-bgm{
  position: sticky; bottom: 0;   /* 필요 없으면 이 두 줄 지워도 됨 */
  margin-top: 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgb(0, 0, 0);
  overflow: hidden;
  /* 사이드바가 flex-column이면 margin-top:auto; 로 맨 아래 고정도 가능 */
}

/* 래퍼의 카드/테두리/그림자 싹 제거 */
.no-card{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* 테마가 사이드바 자식들에 일괄 카드 스타일을 준 경우까지 커버 */
.sidebar > .no-card,
#sidebar > .no-card,
.nav-side > .no-card{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* iframe 자체 */
.mm-bgm{
  display:block;
  width:100% !important;
  height:180px !important;   /* 버튼 안 잘리게 필요시 200~220px */
  background: transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

/* 래퍼의 카드/테두리/그림자 완전 제거 */
.no-card{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.no-card::before,
.no-card::after{ display:none !important; }

/* 흔한 사이드바 컨테이너 이름까지 커버 (있을 때만 적용됨) */
.sidebar .no-card,
#sidebar .no-card,
.nav-side .no-card{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* iframe 자체도 혹시 모를 스타일 제거 */
.mm-bgm{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#splash {
  position:fixed; inset:0; z-index:99999;
  display:flex; align-items:center; justify-content:center;
  background:#000; cursor:pointer;
  opacity:1; transition: opacity .8s ease;  /* ← 0.8초 동안 서서히 사라짐 */
}
#splash.hidden {
  opacity:0;
  pointer-events:none;
}
#splash img {
  max-width:80%; height:auto; display:block;
  transition: transform .8s ease, opacity .8s ease; /* 이미지도 같이 */
}
#splash.hidden img {
  transform: scale(1.1);  /* 살짝 커지면서 사라지는 효과 */
  opacity:0;
}

.hero-3col {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 16px;
  align-items: stretch; /* ✅ 세로 길이 강제로 동일 */
}

.hero-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 안쪽 요소 균등 배치 */
}


/* 디데이 카드 전체 */
#dday-box {
  text-align: center;
  background: white;
  border-radius: 20px;
  padding: 24px;
  border: 3px dashed #a7d8f5; /* 파스텔 하늘색 점선 */
  max-width: 380px;
  margin: auto;
}

/* 타이틀 */
#dday-box h2 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
  color: #374151;
}

/* 숫자 강조 */
#dday-text {
  font-size: 38px;       /* 숫자 왕 크게 */
  font-weight: bold;
  color: #ef4444;        /* 빨강 강조 */
  margin: 8px 0;
  line-height: 1;
}

/* 밑에 설명 텍스트 (있으면 적용) */
#dday-box p:not(#dday-text) {
  font-size: 12px;
  color: #6b7280;
  margin-top: 8px;
}

#quote-box {
  text-align: center; /* 명대사는 가운데 정렬 */
}

#quote-text {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

#quote-box .quote-source {
  text-align: right;   /* 출처는 오른쪽 정렬 */
  font-style: italic;  /* 기울임(선택) */
  margin-top: 6px;
}

.hero-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#twitter-box .notice-box {
  position: relative;             /* 모서리 접힘(::after) 위치 기준을 위해 relative 설정 */
  background: #fffbe6;            /* 💛 포스트잇 같은 연노랑 배경 */
  border: 1px solid #f2e6a7;      /* 💛 테두리 (조금 진한 노랑) */
  border-radius: 8px;             /* 모서리 둥글게 */
  padding: 16px 14px;             /* 안쪽 여백 */
  margin: 12px 0;                 /* 바깥 여백 */
  font-size: 15px;                /* 기본 글자 크기 */
  line-height: 1.7;               /* 줄 간격 */
  color: #333;                    /* 글자색 (짙은 회색) */
  box-shadow: 2px 2px 6px rgba(0,0,0,0.12); /* 그림자 → 종이 떠 있는 느낌 */
}

/* ==========================
   📌 접힌 모서리 효과
   ========================== */
#twitter-box .notice-box::after {
  content: "";                    /* 가상 요소 생성 */
  position: absolute;             /* 박스 안에서 절대 위치 */
  top: 0;                         /* 위쪽에 붙임 */
  right: 0;                       /* 오른쪽에 붙임 */
  border-width: 0 20px 20px 0;    /* 접힌 삼각형 크기 (조절 가능) */
  border-style: solid;            /* 테두리 스타일 */
  border-color: transparent #f9f1c8 transparent transparent;
  /* 오른쪽만 연노랑으로 칠해 삼각형 모양 → 접힌 효과 */
  box-shadow: -2px 2px 4px rgba(0,0,0,0.1); /* 접힌 부분에도 약간의 그림자 */
}

/* ==========================
   📌 공지 제목 스타일
   ========================== */
#twitter-box h2 {
  font-size: 18px;                /* 제목 글자 크기 */
  line-height: 1.4;        /* ✅ 줄간격 줄임 (기존 1.7 → 1.4 정도) */
  font-weight: 700;               /* 굵게 */
  text-align: center;             /* 가운데 정렬 */
  margin-bottom: 12px;            /* 제목 아래 간격 */
  color: #2b4a7f;                 /* 진한 갈색 (노랑 톤 어울리는 색) */
}

/* ==========================
   📌 공지 본문 스타일
   ========================== */
#twitter-box .notice-line {
  font-size: 22px;
  line-height: 1.4;        /* ✅ 줄간격 줄임 (기존 1.7 → 1.4 정도) */
  text-align: center;
  color: #222;
  font-family: "Patrick Hand", "Nanum Pen Script", cursive;
}