/*
 * 이꾼블로그 (info.ekunblog.com) — 실시간 이슈·경제 정보 블로그 커스텀 스킨
 * Base: TISTORY BookClub (MIT License) 치환자 구조 유지, 디자인 전면 재작성 (2026-11-24)
 */

/* ===== Reset & Base ===== */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, em,
img, strong, ol, ul, li, form, label, table, tbody, thead, tr, th, td,
article, aside, figure, figcaption, footer, header, nav, section, button, input, textarea {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
article, aside, figure, figcaption, footer, header, nav, section { display: block; }
ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
button { background: none; cursor: pointer; }
img { max-width: 100%; height: auto; }

:root {
  --navy: #2e3b52;
  --navy-deep: #222c3e;
  --accent: #c8102e;
  --text: #1f2937;
  --muted: #8a93a3;
  --line: #e7eaf0;
  --bg: #f6f7f9;
  --card: #ffffff;
  --radius: 12px;
}

html { -webkit-text-size-adjust: 100%; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--navy); }

#acc-nav a {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 8px 14px; background: var(--navy); color: #fff; font-size: 14px;
}
#acc-nav a:focus { left: 0; }
.screen_out {
  overflow: hidden; position: absolute; width: 0; height: 0; line-height: 0; text-indent: -9999px;
}

/* ===== Header ===== */
#header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
#header .inner {
  position: relative;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; flex-wrap: wrap; align-items: center; min-height: 64px;
}
#header h1 {
  font-size: 23px; font-weight: 800; letter-spacing: -0.5px; color: var(--navy);
  margin-right: 28px; line-height: 64px; white-space: nowrap;
}
#header h1 a::after {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 5px;
  border-radius: 50%; background: var(--accent); vertical-align: 2px;
}
#header h1 img { max-height: 36px; width: auto; vertical-align: middle; }

/* GNB */
#gnb { flex: 1 1 auto; overflow-x: auto; scrollbar-width: none; }
#gnb::-webkit-scrollbar { display: none; }
#gnb ul { display: flex; white-space: nowrap; }
#gnb ul li a {
  display: block; padding: 0 14px; line-height: 64px;
  font-size: 15.5px; font-weight: 600; color: #4b5563;
}
#gnb ul li a:hover { color: var(--navy); }
#gnb ul li.current a { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }

/* Util (search / profile / mobile menu) */
#header .util { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.search { position: relative; }
.search input {
  width: 170px; height: 36px; padding: 0 36px 0 14px;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--bg); font-size: 14px; color: var(--text); outline: none;
  transition: width .2s, border-color .2s;
}
.search input:focus, .search.on input { width: 220px; border-color: var(--navy); background: #fff; }
.search button {
  position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px;
  border-radius: 50%; text-indent: -999em; overflow: hidden;
  background: transparent url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e3b52' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E") center/16px no-repeat;
}
.profile { position: relative; }
.profile > button { display: block; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; }
.profile > button img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.profile nav {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 110px; padding: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; box-shadow: 0 8px 24px rgba(31, 41, 55, .12);
}
.profile nav ul li a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 14px; }
.profile nav ul li a:hover { background: var(--bg); }
#header .menu {
  display: none; width: 38px; height: 38px; position: relative; text-indent: -999em; overflow: hidden;
  background: transparent url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e3b52' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E") center/22px no-repeat;
}

/* ===== Promotion slider (프로모션 설정 시에만 노출) ===== */
.main-slider { position: relative; overflow: hidden; }
.main-slider ul { position: relative; display: block; }
.main-slider ul li {
  float: left; width: 100%; min-height: 300px;
  background-size: cover; background-position: center;
}
.main-slider ul li .inner {
  display: flex; align-items: center; max-width: 1200px; height: 300px; margin: 0 auto; padding: 0 24px; box-sizing: border-box;
}
.main-slider .box .text { display: block; font-size: 30px; font-weight: 800; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.main-slider .box .btn {
  display: inline-block; margin-top: 16px; padding: 9px 22px; border-radius: 20px;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 700;
}
.main-slider .paging { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; }
.main-slider .paging button {
  width: 9px; height: 9px; margin: 0 4px; border-radius: 50%;
  background: rgba(255,255,255,.5); text-indent: -999em; overflow: hidden;
}
.main-slider .paging button.current { background: #fff; }

/* ===== Layout ===== */
#container { max-width: 1200px; margin: 0 auto; padding: 36px 24px 72px; }
.content-wrap { display: flex; align-items: flex-start; gap: 44px; }
#content { flex: 1 1 auto; min-width: 0; }
#aside { flex: 0 0 300px; width: 300px; }

/* ===== 글 목록 ===== */
.post-header { margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.post-header h1 { font-size: 21px; font-weight: 800; color: var(--navy); }
.post-header h1 em { margin-left: 8px; font-style: normal; font-size: 16px; font-weight: 700; color: var(--accent); }

.post-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; transition: box-shadow .18s, transform .18s; }
.post-item:hover { box-shadow: 0 10px 28px rgba(31, 41, 55, .09); transform: translateY(-2px); }
.post-item > a { display: flex; gap: 22px; padding: 22px 24px; align-items: stretch; }
.post-item .txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.post-item .cat { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; color: var(--accent, #c8102e); }
.post-item .thum {
  flex: 0 0 168px; width: 168px; height: 118px; align-self: center;
  border-radius: 10px; overflow: hidden; background: var(--bg);
}
.post-item .thum img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.post-item:hover .thum img { transform: scale(1.04); }
.post-item .title {
  font-size: 18.5px; font-weight: 700; line-height: 1.45; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-item:hover .title { color: var(--navy); }
.post-item .excerpt {
  margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: #6b7280;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-item .meta { display: block; margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--muted); }

.not-found { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 32px; color: #6b7280; font-size: 15px; }
.not-found ul li { margin: 4px 0; padding-left: 14px; position: relative; }
.not-found ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }

/* ===== 본문(글 상세) ===== */
.post-cover {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background-color: var(--navy); background-size: cover; background-position: center;
  margin-bottom: 8px;
}
.post-cover::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(34, 44, 62, .82), rgba(34, 44, 62, .55));
}
.post-cover .inner {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: 230px; padding: 44px 48px; box-sizing: border-box;
}
.post-cover .category { font-size: 13.5px; font-weight: 700; margin-bottom: 12px; }
.post-cover .category a {
  display: inline-block; padding: 5px 13px; border-radius: 14px;
  background: var(--accent); color: #fff;
}
.post-cover h1 { font-size: 30px; font-weight: 800; line-height: 1.35; color: #fff; letter-spacing: -0.5px; }
.post-cover h1 a { color: #fff; }
.post-cover .meta { margin-top: 16px; font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.post-cover .meta .author { margin-right: 12px; }

.entry-content {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 40px 28px; margin-bottom: 28px;
  font-size: 16.5px; line-height: 1.85; overflow-wrap: break-word;
}
.entry-content a { color: #1d4ed8; }
.entry-content a:hover { text-decoration: underline; }
.entry-content .protected_form { padding: 60px 0; text-align: center; }
.entry-content .protected_form h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.entry-content .protected_form p { color: var(--muted); margin-bottom: 20px; }
.entry-content .protected_form input {
  width: 220px; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 15px; box-sizing: border-box; outline-color: var(--navy);
}
.entry-content .protected_form .btn {
  height: 42px; margin-left: 6px; padding: 0 22px; border-radius: 8px;
  background: var(--navy); color: #fff; font-size: 15px; font-weight: 700;
}

/* 태그 */
#content .tags {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 28px;
}
#content .tags h2 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
#content .tags a {
  display: inline-block; margin: 0 6px 8px 0; padding: 5px 13px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 15px;
  font-size: 13.5px; color: #4b5563;
}
#content .tags a:hover { border-color: var(--navy); color: var(--navy); }

/* 관련글 */
.related-articles {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; margin-bottom: 28px;
}
.related-articles h2 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.related-articles ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-articles ul li figure { aspect-ratio: 16/10; border-radius: 8px; overflow: hidden; background: var(--bg); margin-bottom: 8px; }
.related-articles ul li figure img { width: 100%; height: 100%; object-fit: cover; }
.related-articles ul li .title {
  font-size: 14px; font-weight: 600; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.related-articles ul li a:hover .title { color: var(--navy); }

/* 댓글 컨테이너 */
.comments, .tt-comments-wrap {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin-bottom: 28px;
}
.comments .tt-comments-wrap { border: 0; padding: 0; margin-bottom: 0; }

/* ===== 페이징 ===== */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 36px 0 8px; }
.pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 8px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 600; color: #4b5563;
}
.pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination a:not([href]) { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination a.no-more-prev, .pagination a.no-more-next { opacity: .4; pointer-events: none; }

/* ===== 커버(홈 화면 모듈) ===== */
[class^="cover-"] { margin-bottom: 40px; }
[class^="cover-"] > h2 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.cover-thumbnail-1 ul, .cover-thumbnail-3 ul, .cover-thumbnail-4 ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cover-thumbnail-1 figure, .cover-thumbnail-3 figure, .cover-thumbnail-4 figure { border-radius: 10px; overflow: hidden; background: var(--bg); aspect-ratio: 16/10; margin-bottom: 10px; }
[class^="cover-"] figure img { width: 100%; height: 100%; object-fit: cover; }
[class^="cover-"] .title { display: block; font-size: 15px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
[class^="cover-"] .excerpt { display: block; margin-top: 6px; font-size: 13.5px; color: #6b7280; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
[class^="cover-"] .date, [class^="cover-"] .meta { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.cover-thumbnail-2 ul li { margin-bottom: 14px; }
.cover-thumbnail-2 ul li a { display: flex; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.cover-thumbnail-2 figure { flex: 0 0 126px; border-radius: 8px; overflow: hidden; }
.cover-list ul li a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-bottom: 10px; }
.cover-event ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cover-event ul li a { display: flex; align-items: center; justify-content: center; min-height: 110px; border-radius: 10px; background: var(--navy) center/cover; color: #fff; font-weight: 700; }
[class^="cover-"] .more { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ===== 사이드바 ===== */
#aside > div > * { margin-bottom: 0; }
.sidebar-1, .sidebar-2 { display: block; }
#aside nav.category,
#aside .notice, #aside .post-list, #aside .recent-comment,
#aside .social-list, #aside .tags, #aside .count, #aside .social-channel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 18px;
}
#aside h2 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 14px; padding-left: 10px; border-left: 3px solid var(--accent); line-height: 1.2; }

/* 카테고리 */
#aside nav.category a { display: block; padding: 7px 2px; font-size: 14.5px; color: #4b5563; border-radius: 6px; }
#aside nav.category a:hover { color: var(--navy); font-weight: 600; }
#aside nav.category ul ul a { padding-left: 14px; font-size: 13.5px; color: #6b7280; }
#aside nav.category .c_cnt { margin-left: 4px; font-size: 12.5px; color: var(--accent); }
#aside nav.category .link_tit { display: block; font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 10px; padding-left: 10px; border-left: 3px solid var(--accent); }

/* 공지 */
#aside .notice ul li a {
  display: block; padding: 5px 0; font-size: 14px; color: #4b5563;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 최근글/인기글 탭 */
.tab-ui > h2 { display: flex; gap: 2px; padding-left: 0; border-left: 0; margin-bottom: 8px; }
.tab-ui > h2 a {
  flex: 1; text-align: center; padding: 8px 0; border-radius: 8px;
  font-size: 14px; font-weight: 700; color: var(--muted); background: var(--bg);
}
.tab-ui > h2 a.current { background: var(--navy); color: #fff; }
.tab-list ul li a { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.tab-list ul li a img { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.tab-list ul li .title {
  flex: 1; min-width: 0; font-size: 14px; line-height: 1.45; color: #374151;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tab-list ul li a:hover .title { color: var(--navy); font-weight: 600; }
.tab-list ul li .date { display: none; }

/* 최근댓글 */
#aside .recent-comment ul li a {
  display: block; padding: 5px 0; font-size: 13.5px; color: #6b7280;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 사이드바 태그 */
#aside .tags a {
  display: inline-block; margin: 0 5px 7px 0; padding: 4px 11px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 13px;
  font-size: 12.5px; color: #4b5563;
}
#aside .tags a:hover { border-color: var(--navy); color: var(--navy); }

/* 방문자 */
#aside .count p { font-size: 13.5px; color: #6b7280; padding: 2px 0; }
#aside .count .total { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }

/* 소셜 채널 */
#aside .social-channel ul { display: flex; gap: 8px; }
#aside .social-channel ul li a {
  display: block; padding: 7px 14px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--line); font-size: 13px; color: #4b5563;
}

/* ===== 푸터 ===== */
#footer { background: var(--navy-deep); color: rgba(255, 255, 255, .72); }
#footer .inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 36px 24px 40px; }
#footer .order-menu { margin-bottom: 12px; }
#footer .order-menu a { display: inline-block; margin-right: 18px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .88); }
#footer .order-menu a:hover { color: #fff; }
#footer .meta, #footer .copyright { font-size: 13px; }
#footer .page-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 40;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E") center/18px no-repeat;
  box-shadow: 0 6px 18px rgba(31, 41, 55, .28);
  text-indent: -999em; overflow: hidden;
}

/* ===== 모바일 오프캔버스 메뉴 ===== */
#dimmed { position: fixed; inset: 0; z-index: 90; background: rgba(17, 24, 39, .5); }
body.mobile-menu { overflow: hidden; }
body.mobile-menu #aside {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
  width: 300px; max-width: 84vw; overflow-y: auto;
  background: var(--bg); padding: 56px 18px 24px; box-sizing: border-box;
  box-shadow: -8px 0 30px rgba(17, 24, 39, .25);
}
#aside .close {
  display: none; position: absolute; top: 10px; right: 12px; z-index: 96;
  width: 36px; height: 36px; text-indent: -999em; overflow: hidden;
  background: transparent url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e3b52' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5L5 19'/%3E%3C/svg%3E") center/20px no-repeat;
}
body.mobile-menu #aside .close { display: block; }
#aside .profile { margin-bottom: 14px; }
#aside .profile ul { display: flex; gap: 8px; }
#aside .profile ul li a { display: block; padding: 6px 14px; border-radius: 15px; background: var(--card); border: 1px solid var(--line); font-size: 13px; }

/* ===== 반응형 ===== */
@media screen and (max-width: 1024px) {
  .content-wrap { flex-direction: column; }
  #aside { flex: none; width: 100%; }
  #aside:not(.force) { width: 100%; }
  body:not(.mobile-menu) #aside { display: none; }
  #header .menu { display: block; }
}

@media screen and (max-width: 768px) {
  #container { padding: 20px 14px 56px; }
  #header .inner { padding: 0 14px; min-height: 56px; }
  #header h1 { font-size: 20px; line-height: 56px; margin-right: 14px; }
  #gnb { order: 3; flex-basis: 100%; border-top: 1px solid var(--line); }
  #gnb ul li a { line-height: 46px; padding: 0 11px; font-size: 14.5px; }
  .search input { width: 120px; }
  .search input:focus, .search.on input { width: 150px; }
  .profile { display: none; }

  .post-item > a { gap: 14px; padding: 16px; }
  .post-item .thum { flex-basis: 108px; width: 108px; height: 76px; border-radius: 8px; }
  .post-item .title { font-size: 16px; }
  .post-item .excerpt { -webkit-line-clamp: 2; font-size: 13.5px; margin-top: 6px; }
  .post-item .meta { margin-top: 8px; font-size: 12px; }

  .post-cover .inner { min-height: 170px; padding: 28px 22px; }
  .post-cover h1 { font-size: 22px; }
  .entry-content { padding: 6px 18px 20px; font-size: 16px; }

  .related-articles ul { grid-template-columns: repeat(2, 1fr); }
  .cover-thumbnail-1 ul, .cover-thumbnail-3 ul, .cover-thumbnail-4 ul { grid-template-columns: repeat(2, 1fr); }
  .cover-event ul { grid-template-columns: 1fr; }
  #footer .page-top { right: 14px; bottom: 14px; }
}
/* Comment */
.comments {
  margin-bottom: 60px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* 전체 공통 */
#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/axz_keditor/dist/latest/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/axz_keditor/dist/latest/image/divider-line.svg);
  background-size: 200px 420px;
  cursor: default !important;
}

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

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

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

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

}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#article-view figure[data-ke-type='opengraph'] a {
  box-sizing: initial;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  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;
}
/* ===== 커스텀 오버라이드 (BookClub 블록 뒤에 적용) ===== */
#article-view {
  padding: 24px 0 48px;
  min-height: 240px;
  color: var(--text);
  font-family: inherit;
}
.comments h2 { font-size: 16px; font-weight: 800; color: var(--navy); }
.comments h2 .count { color: var(--accent); }
.comment-list { border-top-color: var(--line); }
.comment-list ul li { border-bottom-color: var(--line); }
.comment-form .field { border-color: var(--line); border-radius: 8px 8px 0 0; overflow: hidden; }
.comment-form textarea { border-color: var(--line); border-radius: 0 0 8px 8px; font-family: inherit; }
.comment-form .submit button {
  padding: 10px 26px; border-radius: 8px;
  background-color: var(--navy); color: #fff; font-size: 14px; font-weight: 700;
}
.comment-form .submit button:hover,
.comment-form .submit button:focus { background-color: var(--accent); }

/* 빈 사이드바 카드 숨김 (내용 없는 공지/최근댓글/소셜) */
#aside .notice:not(:has(li)) { display: none; }
#aside .recent-comment:not(:has(li)) { display: none; }
#aside .social-list:not(:has(li)) { display: none; }
