/*!
Theme Name: comzanscrap
Theme URI: https://zanpress.com/
Author: zanpress
Author URI: https://zanpress.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: comzan
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

comzan is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* @import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css"); */

:root {
	--white: #fff;
	--black: #000;
	--logo: #2271b1;
	--main: #2271b1;
	--sub: #f0f8ff;
	--bg: #fff;
	--world: #f4f4f4;
	--text: #343a40;
	--textdark: #495057;
	--textgrey: #7f8388;
	--grey: #f8f9fa;
	--line: #f0eef3;
	--red:  #e74c3c;

	--blacktr: rgba(0, 0, 0, 0.6);
	--shadow: rgb(0 0 0 / 4%) 0px 4px 10px 0px;
	--shadonmin: 0 2px 2px -2px rgb(0 0 0 / 7%);
	--font: -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
	/* --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif; */
}

[data-theme="inv"] {
	--logo: #b8c3cd;
	--main: #92a1ae;
	--sub: #44505a;
	--bg: #202225;
	--world: #18191c;
	--text: #e7ecef;
	--textdark: #92a1ae;
	--textgrey: #97a8b3;
	--grey: #2c3138;
	--line: #404853;
}

* {
	box-sizing: border-box;
	outline: none;
}

body {
	width: 100%;
	background: var(--world);
	color: var(--text);
	font-size: 13px;
	font-weight: 400;
	line-height: normal;
	padding: 0;
	margin: 0;
	overflow-y: scroll;
	word-break: auto-phrase;
	/* 글꼴의 획을 더 선명하게 표현 */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	/* 텍스트 렌더링 엔진 최적화 */
	text-rendering: optimizeLegibility;
}

#viewer {
	border-left: 1px solid var(--line);
	background: var(--bg);
	min-height: 100vh;
	width: 100%;
	order: 2;
}

#page {
	background: var(--bg);
	min-height: calc(100vh - 0px);
	max-width: 480px;
	margin: 0 auto;
}

p {
	line-height: 1.5;
}

strong {
	font-weight: 700;
}

body,
input,
textarea,
button,
select,
option {
	font-family: var(--font);
}

::placeholder {
	color: #909da2;
}

::selection {
	background-color: var(--main);
	color: var(--white);
}

input:focus, textarea:focus {
	background-color: var(--bg);
	outline: 1px solid var(--main);
}

input {
	height: 38px;
	width: 100%;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	font-size: 1.1em;
	background: var(--grey);
	color: var(--text);
}

input:read-only {
	background: var(--grey);
}

textarea.autoheight {
	resize: none;
}

textarea {
	max-height: 40vh;
	width: 100%;
	padding: 12px;
	font-size: 1.1em;
	border-radius: 8px;
	border: 1px solid var(--line);
	background: var(--grey);
	color: var(--text);
	resize: vertical;
}

.checklist {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
}
.checklist .op {
	font-size: 1em;
	color: var(--textdark);
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 6px;
}
.checklist .op .checkbox {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	color: var(--main);
	background: var(--grey);
	border-radius: 4px;
	width: 19px;
	height: 19px;
}
.checklist .op.active{
	color: var(--main);
}
.checklist .op.active .checkbox{
	color: var(--white);
	background: var(--main);
}
.checklist .op .checkbox svg {
  display: none;
}
.checklist .op.active .checkbox svg {
  display: block;
}

ul, ol {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

a {
	text-decoration: none;
	color: var(--text);
}

svg {
	height: 16px;
	width: auto;
}

h1 {
	font-size: 1.8em;
	font-weight: 700;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.4;
}

h2 {
	font-size: 1.4em;
	font-weight: 700;
	line-height: 1.3;
}

h3 {
	font-size: 1.17em;
	font-weight: 700;
	line-height: 1.3;
}
.titlepartwrp{
	padding: 0 20px;
}
.titlepartwrp h3{
	margin-bottom: 0;
}
.titlepart{
	font-size: 1.17em;
	font-weight: 700;
	line-height: 1.3;
	margin: 1em 0;
}
.titlepart span{
	font-weight: 300;
}

b {
	font-weight: 700;
}

h4 {
	font-size: 1.1em;
	font-weight: 500;
	line-height: 1.3;
	margin: 12px 0;
}
table{
	width: 100%;
	table-layout: auto;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}
tr:last-child td{
	border-bottom: 0;
}
th, td{
	font-weight: 400;
	text-align: left;
	padding: 6px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
th:last-child, td:last-child{
	border-right: 0;
}
button, .bt {
	padding: 0 20px;
	border: 0 solid var(--line);
	border-radius: 8px;
	font-weight: 600;
	color: var(--white);
	background: var(--main);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	height: 32px;
}
.noti {
	padding: 10px 20px;
	display: flex;
	align-items: center;
	gap: 6px;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}

  /* 자체 에디터 스타일 */
	input[type="color" i]::-webkit-color-swatch{
		flex: 0 0 auto;    
    width: 14px;
		height: 14px;    
    border-radius: 50%;
    margin: auto;
	}
  .custom-editor {
		margin: 0 -20px;
		background: var(--bg);
		border-top: 1px solid var(--line);
		border-bottom: 1px solid var(--line);
  }
	.editor-toolbar .dropname{
		height: 100%;
	}
	.editor-toolbar .drop .selname{
		font-size: .9em;
		font-weight: 600;
		word-break: -1px;
	}
  .editor-toolbar {      
    display: flex;
		justify-content: center;
		flex-wrap: wrap;
		gap: 1px;        
		z-index: 1;
		position: sticky;
		top: 125px;  		
		background: var(--grey);	  
  }
	.editor-toolbar > *{
		min-width: 38px;
		height: 38px;
		padding: 0 8px;
		background: var(--grey);
		white-space: nowrap;
		font-size: 1.1em;
	}
	.editor-toolbar > * svg{
		height: 18px;
	}
	.editor-toolbar .drop{
		min-width: auto;
	}
  .editor-toolbar button {
    color: var(--text);
    cursor: pointer;    
		border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .editor-toolbar button:hover {
    background: var(--bg);
  }
	.editor-toolbar input[type="color"]:hover{
		background: var(--bg);
	}
  .editor-toolbar input[type="color"] {
		cursor: pointer;
		width: auto;
    background: var(--grey);    
		border-radius: 0;
  }
	.editor-toolbar input[type="color"]:focus{
		outline: 1px solid var(--line);
	}
  .editor-content {
		width: 100%;
		display: inline-block;
		min-height: 300px;
		padding: 0 20px;   
		border: 1px solid var(--bg); 
		border-top: 0;
    color: var(--text);
    font-size: 1.1em;
    line-height: 1.6;
    outline: none;
  }
	.editor-content:focus{
    background: var(--bg);
    border-color: var(--line);
    box-shadow: inset 0 0 15px 0 rgb(0 0 0 / 10%);
	}
  .editor-content:empty:before {
    content: attr(data-placeholder);
    color: #909da2;
    pointer-events: none;
  }
	.editor-content.is-empty:not(:focus)::before {
		position: absolute;
		display: block;
		content: attr(data-placeholder);
		color: #909da2;
		pointer-events: none;
		margin: 1em 0;
	}
  .editor-content img {
    max-width: 100%;
    height: auto;
  }
  .editor-content h2, .editor-content h3, .editor-content h4 {
    margin: 1em 0 0.5em;
  }
  .editor-content .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin: 1em 0;
  }
  .editor-content .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
  }
  .editor-content .video-wrapper .video-delete {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .editor-content .video-wrapper .video-delete:hover {
    background: #e74c3c;
  }

.noti.stock{
	padding-top: 5px;
	position: sticky;
	top: 94px;
	z-index: 9;
	background: var(--bg);	
}
.noti.comments{
	border-bottom: 0;
	padding-bottom: 0;
}
.noti .label {
	z-index: 1;
	position: relative;
	flex: 0 0 auto;
	font-size: .8em;
	gap: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2px 4px;
	outline: 1px solid var(--line);
	background: var(--bg);
	border-radius: 4px;
}
.noti .label span{
	color: var(--red);
}

.noti .talklist {
	position: relative;
	height: 1.5em;
	overflow: hidden;
	flex: 1;
}
.noti .talklist a:hover {
	text-decoration: underline;
}
.noti .talklist a .avatar{
	border-radius: 50%;
	float: right;
}
.noti .talklist a {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	opacity: 0;
	transform: translateY(100%);
	transition: all 0.4s ease;
	line-height: 1.5;
}
.noti .talklist a.active {
	opacity: 1;
	transform: translateY(0);
}
.noti .talklist a.prev {
	opacity: 0;
	transform: translateY(-100%);
}

.noti .stocklist{
	cursor: grab;
	display: flex;
	position: relative;
	width: auto;
	max-width: none;
}
.noti .stocklist > *{
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 2px;
	border-right: 1px solid var(--line);
	padding-right: 10px;
	margin-right: 10px;
}
.stock-item .stock-name, .stock-item .stock-change{
	font-weight: 700;
}
.stock-item.up .stock-change { color: var(--red); }
.stock-item.down .stock-change { color: #3498db; }

.marquee {
	width: 100%;
	/* overflow: hidden; */
	touch-action: pan-y;
	user-select: none;
}
.marquee > * {
	display: flex;
	width: max-content;
	will-change: transform;
}

.popular {
	display: flex;
}

.labelwrp {
	padding: 0 20px;
}

.label {
	font-weight: 700;
}

.popular .list {
	display: flex;
	gap: 8px;
}

.popular .list a:hover {
	background: var(--sub);
}
.popular .list a .inr{
	padding: 14px;
	background: #2c3138;
	border-radius: 8px;
	overflow: hidden;
	position: relative;
	width: 130px;
	height: 0;
	padding-top: 110%;
}
.popular .list a .ratio{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 12px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.popular .list a .ratio::before{
	z-index: 1;
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(0deg, rgb(0 0 0 / 76%) 16%, rgb(0 0 0 / 10%) 60%, rgb(0 0 0 / 0%) 100%);
}
.popular .list a .ratio .thumbnail{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.popular .list a .rank {
	z-index: 2;
	font-size: 1.4em;
	font-weight: 800;
	text-shadow: 0 0 13px #000;
	color: #e7ecef;
}

.popular .list a .title {
	z-index: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	word-wrap: break-word;
	color: #e7ecef;
	font-weight: 500;
}

section {
	margin: 0 auto;
}

.sticky {
	position: sticky;
	top: 48px;
	background: var(--bg);
	z-index: 98;
}

section.wis.print article {
	padding: 0 0 140px;
}

.printtoolbar {
	position: fixed;
	z-index: 9;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	background: var(--white);
	box-shadow: 3px 3px 10px rgba(0, 0, 0, .302)
}

.printtoolbar button.cancel {
	background: var(--white);
	border: 1px solid var(--black);
	color: var(--black);
}

.printtoolbar button {
	width: 130px;
	height: 50px;
	border-radius: 32px;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -.18px;
}

.alonelogo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 57px;
	width: 100%;
	border-bottom: 1px solid var(--line);
}

.alonelogo svg {
	height: 34px;
	width: auto;
}

.additional .tags {
	margin: 10px 0 0;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 20px 0;
}

.tags a {
	color: var(--textdark);
	background: var(--grey);
	border-radius: 6px;
	font-size: .8em;
	padding: 0 6px;
	display: flex;
	align-items: center;
	height: 20px;
	font-weight: 700;
}
.tags a:hover {
	background: var(--sub);
	color: var(--main);
}	

.readprogress {
	position: absolute;
	left: 0;
	bottom: -4px;
}

progress {
	width: 100%;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height: 4px;
	border: none;
	z-index: 99;
}

progress::-webkit-progress-bar {
	background-color: var(--white);
}

progress::-webkit-progress-value {
	background-color: var(--main);
}

progress::-moz-progress-bar {
	background-color: var(--main);
}

article {
	position: relative;
	width: 100%;
	padding: 36px;
}

article .title {
	position: relative;
}

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

figure {
	position: relative;
	margin: 1em 0;
}

article .image-caption {
	font-size: 13px;
	line-height: 1.62;
	padding: 0 10px;
}

.articlemeta {
	font-size: .9em;
	margin-bottom: 30px;
	display: flex;	
	flex-direction: column;;
	gap: 16px;
}
.articlemeta .info{
	display: flex;
	align-items: center;
	gap: 4px;
}
.articlemeta .face {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	overflow: hidden;
}

.articlemeta .face .avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.publisher a {
	color: var(--main);
	font-weight: 700;
}
.publisher a:hover{
	text-decoration: underline;
}

header {
	position: sticky;
	top: 0;
	z-index: 99;
	background: var(--bg);
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 20px 0;
}

header .icons {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-left: auto;
}

header .icon {
	flex: 0 0 auto;
	white-space: nowrap;
	font-weight: 400;
	width: 34px;
	height: 34px;
	padding: 0;
	margin-left: auto;
	border-radius: 50%;
	border: 1px solid var(--main);
	background: var(--bg);
	color: var(--main);
}

header .icon svg {
	height: 18px;
}

header .icon:hover {
	border-color: var(--main);
	background: var(--main);
	color: var(--white);
}

.site-branding {
	display: flex;
	align-items: center;
	white-space: nowrap;
	color: var(--logo);
}

.site-branding svg {
	height: 20px;
	width: auto;
}

.loginwrp .site-branding svg {
	height: 30px;
	transform: none;
}

.loginwrp .site-branding {
	position: static;
	transform: none;
	margin: 0 auto 30px;
	padding: 0;
}

.loginwrp {
	max-width: 400px;
	margin: 0 auto;
	min-height: calc(100vh - 41px);
	display: flex;
	flex-direction: column;
	padding: 42px 0 0;
}

.loginwrp .logo {
	height: 14px;
	width: auto;
	margin: 20px 0;
}

.loginwrp .msg {
	word-break: keep-all;
	color: var(--textgrey);
	padding: 0 10px;
	margin-top: 20px;
	text-align: center;
}

.loginwrp .msg p:last-child {
	font-size: .9em;
}

.loginwrp .snsloginbox {
	margin-top: 40px;
}

.logintitle::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: var(--line);
}

.logintitle {
	position: relative;
	display: flex;
	padding: 0 10px;
}

.logintitle a.sg {
	border-radius: 16px 16px 0 0;
}

.logintitle a:first-child:not(.sg) {
	border-right: 0;
	border-radius: 16px 0 0 0;
	box-shadow: inset -2px -2px 10px -5px rgb(0 0 0 / 10%);
}

.logintitle a:last-child:not(.sg) {
	border-radius: 0 16px 0 0;
	box-shadow: inset 2px -2px 10px -5px rgb(0 0 0 / 10%);
}

.logintitle a:first-child.active,
.logintitle a:last-child.active {
	box-shadow: none;
}

.logintitle a.active {
	color: var(--textpri);
	background: var(--bg);
	border-bottom-color: var(--bg);
}

.logintitle a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 45px;
	color: var(--textgrey);
	background: var(--grey);
	border: 1px solid var(--line);
	font-weight: 700;
	font-size: 1.2em;
}

.loginbody {
	padding: 40px 40px 0;
}

.loginbox {
	display: flex;
	flex-direction: column;
	word-break: keep-all;
}

.loginbox label {
	font-weight: 700;
}

.loginbox .grp {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 0 0 20px;
}

.loginbox .grp.last {
	border-bottom: 0;
}

.loginbox .grp.first {
	padding-top: 0;
}

.loginbox .item {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 6px;
}

.passeye {
	position: relative;
}

.passeye .pw-toggle {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--grey);
}

.loginbox input {
	width: 100%;
	height: 42px;
	font-size: 1.1em;
}

.loginbox h3.org {
	color: var(--orange);
}

.loginbox h3 {
	font-weight: 500;
}

.loginbox .bt {
	font-weight: 700;
	height: 60px;
	font-size: 1.2em;
	border-radius: 14px;
	background: var(--main);
	/* box-shadow: var(--shadow); */
	justify-content: center;
}

.loginbox .sublink {
	color: var(--textgrey);
	text-align: center;
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: -10px;
}

.loginbox .sublink a {
	color: var(--textgrey);
}

.navwrp {
	padding: 10px 0 6px 20px;
	touch-action: pan-x;
	/* 모바일 스와이프 자연스럽게 */
	user-select: none;
	-webkit-user-select: none;
	-ms-overflow-style: none;
	scrollbar-width: none;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scroll-behavior: auto;
	cursor: grab;
	/* box-shadow: 0 2px 4px -1px rgb(0 0 0 / 7%);
	border-bottom: 1px solid var(--line); */
}

.navwrp>* {
	display: flex;
	flex-direction: row;
	overflow: visible;
}

nav {
	display: flex;
	align-items: center;
	gap: 6px;
}

.navwrp>*::after {
	content: '';
	flex: 0 0 auto;
	display: flex;
	height: 1px;
	width: 14px;
}

#theme-toggle {
	cursor: pointer;
	display: flex;
}

nav a, .account a {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
}

nav a:hover {
	color: var(--text);
	background: var(--sub);
}

nav a {
	user-select: none;
	color: var(--textdark);
	background: var(--grey);
	border: 0 solid var(--line);
	height: 30px;
	padding: 0 10px;
	border-radius: 6px;
	white-space: nowrap;
}

nav a.current {
	border-color: var(--main);
	background: var(--main);
	color: var(--white);
}
#ad{
	padding: 20px 20px 0;
}
#ad .inr{
	position: relative;
	height: 0;
	width: 100%;
	padding-top: 18%;
	display: flex;
	align-items: center;
	justify-content: center;	
}
#ad .inr .banner{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	font-size: .9em;
	background: var(--grey);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;	
}
#ad .inr .banner .text{
	text-align: center;
	padding: 10px;
}
#ad .inr .banner span{
	font-weight: 700;
	color: var(--main);
}
.drop {
	position: relative;
}
article .drop.btdrop{
	position: absolute;
	right: 0;
	top: -43px;
}
.drop.btdrop .dropname{
	justify-content: center;
}
.drop.btdrop{
	width: 30px;
	height: 30px;
	padding: 0;
	border-radius: 50%;	
	border: 1px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: center;
}
.drop.input{
	height: 38px;
	width: 100%;
	padding: 0 12px;
	border: 0 solid var(--line);
	border-radius: 10px;
	background: var(--grey);
	color: var(--text);
	display: flex;
	align-items: center;
}

.drop .dropname {
	width: 100%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 4px;
}
.drop .dropname svg{
	height: 16px;
}

.drop .arw {
	display: flex;
	color: var(--textgrey);
}

.drop .arw svg {
	height: 16px;
}

.drop .dropmenu {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	background: var(--bg);
	border-radius: 10px;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	padding: 8px 0;
	z-index: 999;
	flex-direction: column;
	min-width: 100%;
}
.drop .dropmenu.orileft{
	right: auto;
	left: 0;
}
.drop.active .dropmenu {
	display: flex;
}
/* .drop .dropmenu .op.line{
	border-top: 1px solid var(--line);	
} */
.drop .dropmenu .op {
	cursor: pointer;
	padding: 10px 20px;
	min-width: 140px;
	justify-content: flex-start;
	color: var(--text);
	font-weight: 600;
	font-size: 1em;
	border: 0;
}

.drop .dropmenu .op:hover {
	background: var(--grey);
}

aside {
	position: relative;
	padding-bottom: 40px;
}

#logged.account {
	gap: 30px;
	;
}

#logged.account .profile {
	cursor: pointer;
	font-weight: bold;
	display: flex;
	align-items: center;
}

#logged.account .profile svg {
	margin-left: 3px;
	width: 18px;
	height: 18px;
}

#logged.account a svg {
	margin-right: 3px;
	width: 26px;
	height: 26px;
}

.account {
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
}

.account .toolbar a {
	display: flex;
	align-items: center;
	gap: 4px;
}

.account .toolbar a svg {
	width: 22px;
	height: 22px;
	color: var(--main);
}

.searchwrap {
	position: relative;
	width: 100%;
}
.searchwrap input {
	padding: 0 20px 0 35px;
	background: var(--grey);
	border-radius: 32px;
}
.searchwrap input:focus {
	background: var(--bg);
}
.searchwrap .bt {
	border: 0;
	color: var(--main);
	background: transparent;
	position: absolute;
	left: 0;
	top: 0;
	padding: 0 0 0 4px;
	height: 100%;
	width: 34px;
}

.searchwrap .bt svg {
	height: 18px;
}

main {
	margin: 0 auto;
}

.list {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
}

.list .days.first {
	margin-top: 0;
}

.list .days {
	border-bottom: 3px solid var(--black);
	padding: 10px 0;
	margin-top: 40px;
}

.list .days h4 {
	font-weight: 300;
}

.type-post {
	position: relative;
	border-bottom: 1px solid var(--line);
	display: flex;
	justify-content: space-between;
	gap: 6px;
	padding: 20px;
}

.type-post:last-child {
	border-bottom: 0;
}

.type-post .permalink {
	position: relative;
	width: 100%;
}

.related .list .type-post:last-child {
	border-bottom: 0;
}

.type-post h3 .num {
	font-weight: 300;
	margin-right: 5px;
}

.type-post h3 {
	font-weight: 500;
	margin: 0;
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	word-wrap: break-word;
}

.type-post a:hover h3 .title,
.type-post a:hover h2 .title {
	text-decoration: underline;
	color: var(--main);
}

.type-post p {
	color: var(--textgrey);
	font-weight: 300;
	margin: 10px 0;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	word-wrap: break-word;
}

.type-post .thumb {
	position: relative;
	flex: 0 0 auto;
	width: 70px;
	height: 100%;
}

.type-post .thumb .ratio {
	position: relative;
	width: 100%;
	padding-top: 100%;
	overflow: hidden;
	border-radius: 10px;
}

.type-post .thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.001);
	transition: transform .2s;
}

.type-post .thumb:hover img {
	transform: scale(1.1);
}

.type-post .cat {
	font-size: .8em;
	font-weight: 600;
	color: var(--main);
	background: var(--grey);
	padding: 2px 6px;
	border-radius: 32px;
}

.type-post .countswrp {
	margin: 10px 0 0;
	width: 100%;
}

.type-post .counts, .type-post .profile {
	font-size: .9em;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	color: var(--textdark);
}

.type-post .profile{
	margin-top: 8px;
	gap: 3px;
}

.type-post .name {	
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 3px;
}
.type-post .name span{
	color: var(--textdark);
}
.type-post .name:hover span{
	text-decoration: underline;
}

.type-post .counts .col.name span:not(.avatar) {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: block;
	max-width: 62px;
}

.type-post .name .avatar {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	object-fit: cover;
}

.type-post .counts .col {
	word-spacing: -1px;
	display: flex;
	gap: 2px;
	flex-direction: row;
	align-items: center;
	border-left: 1px solid var(--line);
	padding-left: 5px;
	margin-left: 5px;
}

.type-post .counts .col:first-child {
	border-left: 0;
	padding-left: 0;
	margin-left: 0;
}

.pgnwrp {
	display: flex;
	flex-direction: column;
	padding: 10px 0 0;
	align-items: center;
	gap: 14px;
}

#pagination, .numbar {
	display: flex;
	align-items: center;
	justify-content: right;
	gap: 4px;
}

#pagination .current {
	color: var(--white);
	background: var(--main);
}
#pagination a:hover{
	background: var(--sub);
}
#pagination a, #pagination span {
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	min-width: 32px;
	background: var(--grey);
	border-radius: 8px;
	padding: 0 6px;
}

#pagination svg {
	height: 14px;
	width: auto;
}

.pgnwrp .counts {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	white-space: nowrap;
	font-size: .9em;
	color: var(--textdark);
}

.pgnwrp .counts #pagego {
	height: 28px;
	padding: 6px 10px;
	flex: 0 0 auto;
	font-weight: 400;
	font-size: .9em;
	background: transparent;
	color: var(--textdark);
	border: 1px solid var(--line);
}

.pgnwrp .counts input {
	color: var(--textdark);
	text-align: center;
	height: 28px;
	font-size: 1em;
	padding: 4px;
	min-width: 33px;
	border-radius: 8px;
}

.pgnwrp .counts input::-webkit-inner-spin-button, .pgnwrp .counts input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
}

#alert {
	opacity: 0;
	position: fixed;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--main);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 32px;
	padding: 0 25px;
	height: 58px;
	transition: opacity .3s;
	white-space: nowrap;
	font-size: 1.1em;
	font-weight: 400;
}

main .title h1 {
	font-weight: 800;
	margin: 0 0 15px;
}

.page main .title h1 {
	margin-top: 0;
}

main .path {
	margin-bottom: 18px;
	display: flex;
	gap: 6px;
}

main .path a,
main .path svg {
	color: var(--textgrey);
}

main .path svg {
	opacity: .3;
}

main .path a:last-child {
	color: var(--main);
	font-weight: 600;
}
main .path a:last-child:hover {
	text-decoration: underline;
}
main .content .video-wrapper{
	position: relative;
	height: 0;
	padding-top: 56.25%;
}
main .content .video-wrapper > *{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
main .content h2,
main .content h3,
main .content h4 {
	margin-top: 2em;
}

main .content {
	font-size: 1.1em;
	color: var(--text);
	word-break: keep-all;
	word-wrap: break-word;
}

main .content iframe {
	max-width: 100%;
	border-radius: 13px;
}

main .content p strong {
	font-weight: 700;
}

main .content p a {
	text-decoration: underline;
	color: var(--main);
}

main .content ol {
	margin: 35px 0;
	list-style-type: decimal;
	list-style-position: inside;
}

main .content ol li {
	padding-left: 20px;
	text-indent: -20px;
}

.related h4 {
	margin: 0;
}

.single main .rwrap {
	position: relative;
	padding: 30px 0 0;
	margin: 40px 0;
	border-top: 1px solid var(--line);
	margin-bottom: 40px;
}

.single main .rwrap .label {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: -9px;
	background: var(--bg);
	padding: 0 20px;
	white-space: nowrap;
	color: var(--textdark);
	font-weight: 400;
}

.single main #reaction {
	display: flex;
}

.single main #reaction .item {
	width: 100%;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.single main #reaction .item .icon {
	font-size: 30px;
}
.single main #reaction .count{
	font-weight: 600;
	margin-top: 4px;
}
.single main #reaction .item .icon svg, .single main #reaction .item .icon img {
	height: 40px;
	width: auto;
}

.list #postindex {
	border-top: 0;
	border-bottom: 0;
	padding: 0;
	margin-top: 0;
	max-height: 60px;
	overflow: hidden;
}

#comviewstart {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border: 1px solid var(--line);
	border-radius: 32px;
	height: 45px;
	width: 100%;
	max-width: 160px;
}

#comviewstart svg {
	width: 20px;
	height: 20px;
}

#comviewstart h4 span {
	font-weight: 300;
	color: var(--textgrey);
	margin: 0;
}

.articlebottom {
	display: flex;
	justify-content: space-between;
	margin-bottom: 35px;
}

.face {
	display: flex;
	border-radius: 50%;
	overflow: hidden;
}

.user {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 14px;
	width: fit-content;
}

.user .avatar {
	border-radius: 50%;
	object-fit: cover;
}

.exitsty {
	color: var(--white);
	cursor: pointer;
	position: absolute;
	right: 5px;
	top: -30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.exitsty svg {
	width: 28px;
	height: 28px;
}

#comments {
	top: 0;
	right: 0;
	width: 100%;
}

#comments h3 span {
	font-weight: 300;
}

#comments.active {
	transform: translateX(0);
}

#comments .col:last-child {
	border-right: 0;
}

.commentWrite {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 20px;
}

.commentWrite .idea {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.commentWrite .idea .col {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

.commentWrite .idea .control {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
}

.commentWrite .idea .control .guestip {
	margin-right: auto;
	color: var(--textgrey);
	font-size: 13px;
	font-weight: 300;
}

.commentWrite.active .idea .control {
	display: flex;
}

.commentWrite .control button {
	font-size: 14px;
	height: 36px;
	width: 90px;
}

.commentList {
	display: flex;
	flex-direction: column;
	margin-bottom: 60px;
}

.commentList .item {
	position: relative;
	border-bottom: 1px solid var(--line);
	padding: 16px 0;
}

.commentList .item .user .inr {
	display: flex;
}

.commentList .item .user .con {
	width: 100%;
	display: flex;
	flex-direction: column;
	padding-left: 6px;
}

.commentList .item .user .face {
	display: flex;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	overflow: hidden;
	border-radius: 50%;
}

.commentList .item .user .face .avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.commentList .item .user {
	position: relative;
	width: 100%;
	height: auto;
	align-items: flex-start;
	gap: 0;
}

.commentList .item.has-children {
	position: relative;
}

.commentList .item.reply:not(.has-children) .user::before {
	display: none;
}

.commentList .item.has-children:not(.reply)::before {
	content: '';
	position: absolute;
	top: 16px;
	left: 11px;
	width: 0;
	height: calc(100% - 32px);
	border-right: 1px solid var(--line);
}

.commentList .item.reply>.inr .user::before {
	content: '';
	position: absolute;
	top: 24px;
	left: 11px;
	width: 0;
	height: calc(100% - 8px);
	border-right: 1px solid var(--line);
}

/* .commentList .item.reply.has-children::before{
	content: '';
	position: absolute;
	top: 14px;
	left: 0;
	width: 1px;
	height: 100%;
	background: var(--line);
} */
.commentList .item .user .name {
	display: flex;
	align-items: center;
	flex-direction: row;
	gap: 3px;
	margin: 0;
}

.commentList .item .user .name .nickname {
	font-weight: 700;
}

.commentList .item .user .name .date {
	font-size: .9em;
	color: var(--textdark);
}

.commentList .item p {
	margin: 5px 0;
}

/* 대댓글(답글) 스타일 */
.commentList .item.reply {
	padding: 16px 0 0 11px;
	margin-left: 11px;
	border-bottom: 0;
}

.commentList .item.reply .reply-icon {
	width: 12px;
	height: 12px;
	border-left: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	margin-left: -11px;
	border-radius: 0 0 0 10px;
}

/* 답글 버튼 */
.commentList .item .reply-btn {
	color: var(--textdark);
	font-size: .9em;
}

.commentList .item .reply-btn:hover {
	color: var(--main);
}

/* 답글 폼 */
.reply-form {
	padding: 10px 0 10px 30px;
}

.reply-form .reply-textarea {
	width: 100%;
	resize: none;
}

.reply-form .reply-control {
	display: flex;
	justify-content: flex-end;
	gap: 6px;
	margin-top: 5px;
}

.reply-form .reply-cancel {
	background: var(--grey);
	border: 1px solid var(--line);
	padding: 0 10px;
	color: var(--text);
	height: 32px;
}

.reply-form .reply-submit {
	color: var(--white);
	background: var(--main);
	border: none;
	padding: 0 10px;
	height: 32px;
}

.comset {
	height: auto;
	margin-left: auto;
	background: transparent;
	color: var(--textgrey);
	padding: 0;
}

.post-navigation .nav-links {
	display: flex;
	flex-direction: row-reverse;
	width: 100%;
	gap: 10px;
}

.post-navigation .nav-links .bt {
	height: 45px;
	width: 45px;
	border-radius: 50%;
	background: var(--white);
	border: 1px solid var(--line);
	color: var(--black);
}

.post-navigation .nav-links .bt svg {
	height: 20px;
	width: auto;
}

#movetop.active {
	transform: translateY(0);
}

#movetop.active .scltop {
	display: flex;
}

#movetop .scltop {
	display: none;
}

#movetop {
	position: fixed;
	right: 12px;
	bottom: 21px;
	transition: all 0.2s linear 0s;
	transform: translateY(0px);
	z-index: 999;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

#movetop>* {
	width: 45px;
	height: 45px;
	color: var(--textdark);
	background-color: var(--bg);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

#movetop svg {
	width: 20px;
	height: auto;
}

footer {
	border-top: 1px solid var(--line);
	margin-top: 40px;
	color: var(--textdark);
}

.footerwis .logo svg {
	height: 28px;
	width: auto;
}

.footerinfo {
	padding: 10px 20px 20px;
	font-size: .8em;
	line-height: 1.4;
}

.footerinfo span {
	opacity: .3;
}

.copyright {
	margin-top: 8px;
}

.footermenu {
	display: flex;
	padding: 20px 20px 0;
	font-size: .9em;
}

.footermenu span {
	opacity: .3;
	margin: 0 6px;
}

.footermenu a {
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 3px;
	color: var(--textdark);
}

.footerinfo p:first-child {
	margin-top: 0;
}

.footerinfo p:last-child {
	margin-bottom: 0;
}

.form {
	padding: 20px;
}

.form .item {
	margin-bottom: 12px;
}

.form .item .desc {
	color: var(--textgrey);
	margin: 0 0 10px;
}

.form .item.submitwrp {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.form .name {
	font-weight: 600;
	margin: 0 0 10px;
}

.modal.active {
	display: flex;
}

.modal#postview {
	padding-top: 60px;
}

.modal#postview .modalcon {
	min-height: 100%;
}

.modal {
	position: fixed;
	display: none;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	justify-content: center;
	background: var(--blacktr);
	z-index: 99999;
	padding-top: 20vh;
	overflow-y: auto;
}

.modal .modalconwrp {
	position: relative;
	max-width: 480px;
	width: 100%;
}

.modal .modalcon {
	background: var(--bg);
	border-radius: 15px 15px 0 0;
	overflow: hidden;
}

@media screen and (max-width: 660px) {

	header {
		top: 0;
		padding: 10px 16px 0;
	}
	header section {
		gap: 10px;
	}
	.alonelogo svg {
		height: 20px;
	}	
	#ad{
		padding: 16px 16px 0;
	}
	.titlepartwrp	{
		padding: 0 16px;
	}
	.noti{
		padding: 10px 16px;
	}
	footer {
		padding-bottom: 0;
	}
	.footermenu {
		padding: 20px 16px 0;
	}
	.footerinfo {
		padding: 10px 16px 16px;
	}
	article {
		padding: 30px;
	}
	.navwrp {
		padding: 10px 0 6px 16px;
	}
	.sticky {
		padding: 0;
		top: 48px;
	}

	.type-post {
		padding: 16px;
	}

	.navwrp>*::after {
		content: '';
		flex: 0 0 auto;
		display: flex;
		height: 1px;
		width: 10px;
	}

	.account .toolbar a {
		color: var(--black);
	}

	.numbar {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}

	#pagination, .numbar {
		gap: 6px;
	}	

	#alert {
		bottom: 65px;
	}

}