/*!
Theme Name: bluehousejam
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/
*/

:root {
	--logo: #0076d8;
	--bg: #fff;
	--bggrey: #f8f8f8;
	--white: #fff;
	--black: #131313;
	--text: #131313;
	--textsub: #363636;
	--textgrey: #555;	
	--line: #dfdfdf;
	--linedeep: #c1c1c1;
	--main: #0076d8;
	--sub: #f0f8ff;
	--gradi: linear-gradient(135deg, var(--main) 0%, var(--bg) 100%);
	--shadowlg: rgba(0, 0, 0, 0.1) 0px 0px 1px 0px, rgba(0, 0, 0, 0.15) 0px 16px 30px 4px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
[data-theme="dark"] {	
	--bg: #212123;
	--bggrey: #363636;
	--text: #eee;
	--textsub: #bdbdbd;
	--textgrey: #aaa;
	--line: #464646;
	--linedeep: #777;
	--sub: #3f3f3f;
}

* {
	box-sizing: border-box;
	outline: none;
	direction: ltr;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;	  
}

body {
	width: 100%;
	background: var(--bg);
	color: var(--text);
	/* letter-spacing: -0.028rem; */
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	padding: 0;
	margin: 0;
	overflow-y: scroll;	
}

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

::placeholder {
	color: #909da2;
}

/* ::selection {
	background-color: var(--main);
	color: var(--black);
} */

input {
	height: 40px;
	width: 100%;
	padding: 0 12px;
	color: var(--text);
	background: var(--bg);
	border: 1px solid var(--linedeep);
	border-radius: 6px;
	font-size: 15px;
}

input:read-only{
	background: var(--bggrey);
	color: var(--textgrey);
	border-color: var(--line);
}

textarea {
	width: 100%;
	padding: 12px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	border: 1px solid var(--linedeep);
	border-radius: 6px;
	resize: vertical;
}

ul, ol {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
.content .tts-greetings{
	display: none!important;
	font-size: 18px;
	line-height: 1.6;
	color: var(--text);
	margin-bottom: 20px;
}
.content .tts-active {
	background: linear-gradient(90deg, rgba(99,179,237,0.18) 0%, transparent 100%);
	border-left: 3px solid #63b3ed;
	padding-left: 10px;
	margin-left: -13px;
	border-radius: 2px;
	transition: background 0.3s;
}
.content ul{
	margin: 20px 0;
	list-style-type: disc;
	list-style-position: inside;
}
.content ul li{
	margin: 10px 0;
}
a {
	text-decoration: none;
	color: inherit;
}

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

h1 {
	font-size: 2.5em;
	font-weight: 800;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.3;
	word-break: keep-all;
}

h2{
	font-size: 1.5em;
	font-weight: 700;
	line-height: 1.4;
	word-break: break-all;
	margin: 12px 0;
}

h3 {
	font-size: 1.3em;	
	font-weight: 700;
	line-height: 1.4;
	margin: 12px 0;
}

h4{
	font-size: 17px;
	font-weight: 600;
	line-height: 1.46;
	margin: 12px 0;
}

button, .bt {
	border: 0;
	border-radius: 6px;
	border: 1px solid var(--linedeep);
	background: var(--bg);
	min-height: 40px;
	min-width: 40px;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	/* transition: opacity .15s, color .15s, background-color .15s; */
	font-weight: 600;
}
.bt.pri{
	background: var(--main);	
	border-color: var(--main);
	color: var(--white);
}
button:hover, .bt:hover {
	border-color: var(--main);
}
.grd{
	position: relative;
}
section {	
	width: 100%;
	max-width: 1000px;
	padding: 0 20px;
	margin: 0 auto;	
}
section.wis.read{
	padding-top: 60px;
}
section.wis {
	display: grid;
	grid-template-columns: auto 300px;
	gap: 40px;
	padding-top: 20px;
}
/* section.wisaside.horizontal{
	order: -1;
} */
section.wis.brd{
	grid-template-columns: 1fr;
	padding-top: 0;
}
section.wis.grid3 .list.opgrid-list .additional,
section.wis.grid3 .list.opgrid-list .type-post p,
section.wis.grid3 .list.opgrid-list .type-post .cat,
section.wis.grid3 .list.opgrid-list .days{
	display: none;
}
section.wis.grid3 .list.opgrid-list{
  grid-template-columns: repeat(3, 1fr);
	gap: 10px 30px;
}
section.wis.grid3 .list.opgrid-list .type-post{
	border-bottom: 0;
}
section.wis.grid3 .list.opgrid-list .type-post .permalink{
	flex-direction: column;
	padding: 0 0 10px;
	gap: 10px;
}
section.wis.grid3 .list.opgrid-list .type-post .permalink .thumb{
	order: -1;
	width: 100%;
	margin-bottom: 0;
}
section.wis.grid3 .list.opgrid-list .type-post .permalink h3, section.wis.grid3 .list.opgrid-list .type-post .permalink h2{
	font-size: 1.2em;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	word-wrap: break-word;	
	margin: 0;
}
section.wis.grid3 .list.opgrid-list .type-post .author{
	margin-top: 6px;
}
section.wis.print{
	grid-template-columns: 100%;
	max-width: 640px;
}
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(--bg);
	box-shadow: 3px 3px 10px rgba(0,0,0,.302)
}
.printtoolbar button.cancel{
	background: var(--bg);
	border: 1px solid var(--text);
	color: var(--text);
}
.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);
	padding-bottom: 6px;
}
.alonelogo svg{
	height: 34px;
	width: auto;
}
html[data-theme="dark"] .alonelogo svg{
	fill: var(--logo);
}

.tags{
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}
.tags > *{	
	background: var(--sub);
	border-radius: 5px;
	font-weight: 500;
	font-size: 13px;
	padding: 0 10px;
	display: flex;
	align-items: center;
	height: 26px;
	line-height: 1;
}

.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(--bg);
}

/* Chrome, Safari 등 */
progress::-webkit-progress-value {
	background-color: var(--main);
}

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

article {
	position: relative;
	width: 100%;
	padding-right: 40px;
	border-right: 1px solid var(--line);
}
article figure{
	width: 100%!important;
	display: flex;
	flex-direction: column;
	margin: 20px 0;
}
article figure figcaption{
	font-size: 13px;
	line-height: 1.62;
	padding: 0 10px;
	margin: 1em 0 0;
	color: var(--textgrey);	
}

article figure.featured-image figcaption{
	margin-bottom: 1em;
}

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

article .ad {
	position: sticky;
	bottom: 0;
}
article .ad iframe{
	width: 100%;
}

.articlemeta {
	margin-bottom: 40px;
}

.articlemeta .author {
	font-size: 15px;
}

.articlemeta .author a {
	font-weight: 700;
}

.articlemeta .date {
	color: var(--textsub);
	margin-top: 4px;
	display: flex;
}
.articlemeta .date > *:first-child{
	margin-right: 10px;
	padding-right: 10px;
	border-right: 1px solid var(--line);
}

header {
	background: var(--bg);
	position: sticky;
	top: 0;
	z-index: 999;
	padding: 8px 0;
	border-bottom: 1px solid var(--line);
}
/* header.sty{
	padding: 8px 0;
} */
header section {
	display: flex;
	align-items: center;
	gap: 20px;	
}

header section h1.posttitle{
	width: 100%;
	max-width: 55%;	
	text-align: center;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;	
	padding: 0;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	word-wrap: break-word;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.cover{
	height: 240px;
	display: flex;
	flex-direction: column;
	justify-content: center;	
	margin: 0 0 20px;
}
.cover h1{
	font-weight: 400;
	margin: 0 0 10px;
}
.cover strong{
	font-weight: 800;
}
.cover sub{
	color: var(--textgrey);
}

#mobilenav_wrp{
	z-index: 9999;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;	
	background: rgba(0,0,0,.5);
	display: flex;
	padding: 14px;
	opacity: 0;
  visibility: hidden;	
	transition: opacity 0.2s ease, visibility 0.2s ease;
}
#mobilenav_wrp.active{
	opacity: 1;
	visibility: visible;
}
#mobilenav_wrp .mobilenav_exit{
	width: 100%;
}
#mobilenav_wrp .mobilenav_inner{
	flex: 0 0 auto;
	width: 60vw;
	max-width: 300px;
	height: 100%;
	background: var(--bg);		
	padding: 30px;
	display: flex;
	flex-direction: column;
	border-radius: 10px;
	transform: translateX(100%);
	transition: transform 0.4s ease;
}
#mobilenav_wrp.active .mobilenav_inner{
  transform: translateX(0);
}
#mobilenav_wrp .mobilenav_inner nav ul{
	display: flex;
	flex-direction: column;
	gap: 10px;
}
#mobilenav_wrp .mobilenav_inner nav ul li.current-menu-item a{
	border-bottom: 3px solid var(--main);
	color: var(--main);
}
#mobilenav_wrp .mobilenav_inner .mobilenav_sub{
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: auto;
}
#mobilenav_wrp .mobilenav_inner nav ul a,
#mobilenav_wrp .mobilenav_inner .mobilenav_sub a,
.theme-toggle{
	cursor: pointer;
	font-size: 1.6em;
	font-weight: 800;
	padding: 6px 0;
	display: inline-flex;
}

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

#movetop {
	position: fixed;
	right: 15px;
	bottom: 20px;
	transition: all 0.2s linear 0s;
	transform: translateY(60px);
	z-index: 998;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#movetop .item.totop{
	opacity: 0;
}
#movetop.active .item.totop{
	opacity: 1;
}

#movetop .item img {
	width: 79%;
	height: auto;
}

#movetop .item {
	width: 55px;
	height: 55px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background-color: var(--bg);
	box-shadow: var(--shadowlg);
	border-radius: 50%;
	transition: all 0.2s linear 0s;
}
html[data-theme="dark"] #movetop .item{
	background: var(--bggrey);
}
#movetop .item.sns svg{
	fill: var(--text);
}
#movetop .item.top:hover {
	background: var(--main);
	color: var(--bg);
}

.site-branding {
	display: flex;
	align-items: center;
}

.site-branding svg {
	height: 38px;
	width: auto;
	fill: var(--logo);
}

nav#site-navigation {
	white-space: nowrap;
	padding: 0 0 0 20px;
}

nav#site-navigation ul {
	display: flex;
	align-items: center;
	gap: 30px;
	font-weight: 500;
}

.drop {
	position: relative;
}

.drop .dropmenu {
	display: none;
	position: absolute;	
	top: calc(100% + 8px);
	left: 0;
	background: var(--bg);
	border-radius: 6px;
	box-shadow: var(--shadowlg);
	border: 1px solid var(--line);
	padding: 8px 0;
	z-index: 999;
}
.drop .dropmenu::before{	
	content: '';
	left: 50%;
	top: -6px;
	transform: rotate(315deg) translateX(-50%);
	position: absolute;
	z-index: 999;
	border: 4px solid var(--bg);
	border-color: var(--bg) var(--bg) transparent transparent;
	box-shadow: 1px -1px 1px 0px var(--line);
}

.drop.active .dropmenu {
	display: block;
}

.drop .dropmenu .item {
	padding: 10px 20px;
	min-width: 140px;
	justify-content: flex-start;
	color: var(--black);
	font-weight: 400;
	border: 0;
}

.drop .dropmenu .item:hover {
	background: var(--bggrey);
}
.sticky{
	position: sticky;
	top: 76px;
	display: grid;
	grid-template-columns: 1fr;	
	gap: 30px;
}
aside.horizontal{
	border-top: 1px solid var(--line);
}
aside.horizontal .sticky{
	position: static;
	grid-template-columns: repeat(3, 1fr);	
	gap: 40px;
}
.latestTitle h3{
	margin: 0;
}
.latestTitle{
	display: flex;
	align-items: center;
	gap: 20px;
	justify-content: space-between;
	margin-bottom: -20px;
}
.latestTitle .tools{
	display: flex;
	gap: 6px;
}
.latestTitle .tools > *{
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	transition: opacity .15s, color .15s, background-color .15s;
}
.latestTitle .tools > *:hover{
	background: var(--bggrey);
}
.latestTitle .tools > *.active{
	background: var(--bggrey);
}
.viewlists .item{
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--line);
}
.viewlists .item .num{
	font-size: 1.4em;
	font-weight: 700;
}
aside.horizontal .widget{
	position: relative;
	padding: 20px 0 10px;
}
aside.horizontal .widget:not(:nth-child(3n))::after {
  content: "";
  position: absolute;
  top: 0;
  right: -20px; /* column-gap 20px의 가운데 */
  width: 1px;
  height: 100%;
  background: var(--line);
}
.widget iframe{
	margin: 0 -10px;
	width: auto;
	height: auto!important;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
}
.widget.sticky{
	position: sticky;
	top: 60px;
	z-index: 9;
}
.widget h3{
	margin: 0 0 5px;
}
.widget .type-post:last-child{
	border-bottom: 0;
}
.widget .type-post .permalink{
	gap: 10px;
	flex-direction: row;
	padding: 17px 0;
	height: 76px;
}
.widget .type-post .permalink .thumb, .widget .commentList .item .thumb{
	width: 75px;
	order: 1;
	margin-bottom: 0;
	margin-left: auto;
	display: flex;
}
.widget .type-post .permalink .num{
	color: var(--main);
	font-weight: 800;
	font-size: 26px;
	line-height: 1;
	flex: 0 0 auto;
	width: 15px;
}
.widget .type-post .permalink h3{
	font-weight: 600;
	font-size: 1em;
	word-break: keep-all;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	word-wrap: break-word;
	margin-bottom: 0;
}
.widget .type-post p, .widget .type-post .author{
	display: none;
}

.loginwrp{
	max-width: 320px;
	margin: 0 auto;
	min-height: calc(100vh - 60px);
	display: flex;
	flex-direction: column;
	padding-top: 25vh;
}
.loginwrp .msg{
	word-break: keep-all;
	color: var(--textgrey);	
	margin-top: 20px;
	text-align: center;
	font-size: .9em;
}
.loginwrp h3{
	margin: 0 0 25px;	
}
.loginbox .item{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 6px;
}
.googlelogin svg{
	width: 24px;
	height: 24px;
}
.googlelogin{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60px;
	gap: 4px;
	min-width: auto;
	font-weight: 600;
	font-size: 1em;
	border-radius: 16px;
	color: var(--black);
	background: var(--bg);
	border: 1px solid var(--line);
	box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px;
}
.account {
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
}
.account .toolbar{
	display: flex;
	gap: 18px;
}
.account .toolbar a{
	display: flex;
	align-items: center;
	gap: 4px;
}
.account .toolbar a svg{
	width: 22px;
	height: 22px;
	color: var(--main);
}

nav#site-navigation ul li a, .account a {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3em;
	font-weight: 800;
}
.searchwrap {
	position: relative;
	width: 100%;
	max-width: 250px;
	margin-left: auto;
}
.searchwrap button svg{
	height: 16px;
}
.searchwrap input {
	padding: 0 20px 0 45px;
	font-size: 17px;
}
.searchwrap button {
	color: var(--textgrey);
	background: transparent;
	position: absolute;
	border: 0;
	left: 0;
	top: 0;
	height: 100%;
	width: 40px;
	padding: 0;
}
main {
	margin: 0 auto;
}
.list {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 0;
}
.list .dayposts{
	margin-bottom: 50px;
}
.list .dayposts:last-child{
	margin-bottom: 0;
}
.widget .list {
	gap: 0;
}
.list .ad{
	margin: 10px 0 -10px;
}
.list .ad iframe{
	width: 100%;
}
.list .days:first-child{
	margin-top: 0;
}
.list .days{
	border-bottom: 1px solid var(--text);
	padding: 0 0 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 40px;
}
.type-post{
	position: relative;
	border-bottom: 1px solid var(--line);
}
.type-post:has(+ .ad) {
  border-bottom: 0;
}
.type-post .permalink{
	position: relative;
	display: flex;	
	justify-content: space-between;
	gap: 30px;
	padding: 20px 0;
}
.list.latest{
	grid-template-columns: repeat(4, 1fr);
	gap: 30px 20px;
}
.list.latest .type-post{
	border-bottom: 0;
}
.list.latest .type-post .permalink{
	flex-direction: column;
	gap: 10px;
	padding: 0;
}
.list.latest .type-post h3{
	font-size: 1.1em;
	-webkit-line-clamp: 2;
	margin: 0 0 5px;
}
.list.latest .type-post .author{
	margin: 0;
	font-size: .9em;
}
.list.latest .type-post .thumb{
	order: -1;
	width: 100%;
}
.related .list .type-post .permalink{
	flex-direction: row;
	justify-content: flex-start;
	padding: 0;
	gap: 20px;
}
.type-post h3, .type-post h2{
	margin-top: 0;
	word-break: auto-phrase;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	word-wrap: break-word;
}
.type-post a:hover h3, .type-post a:hover h2{
	text-decoration: underline;
}
.type-post p {
	color: var(--textsub);
	margin: 10px 0;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	word-wrap: break-word;
}
.new.type-post:first-child .permalink{
	padding-top: 0;
}
.new.type-post:last-child{
	border-bottom: 0;
}
.new.type-post .thumb{
	width: 410px;
}
.new.type-post h2{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	word-wrap: break-word;
}
.new.type-post p{
	-webkit-line-clamp: 3;
}
.type-post .thumb{
	position: relative;
	flex: 0 0 auto;
	width: 150px;
	height: 100%;
}
.type-post .thumb .ratio, .commentList .item .thumb .ratio{
  position: relative;
	width: 100%;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}
.type-post .thumb .ratio:after{
	content: '';
	width: 100%;
	height: 100%;
	background: rgb(0 0 0 / 2%);
	position: absolute;
	top: 0;
	left: 0;	
}
.type-post .thumb img, .commentList .item .thumb img{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.001);
	transition: transform .2s;	
}
.list.board .days{
	text-align: left;
	grid-template-columns: 1fr;
	margin: 40px 0 0;
	padding: 0 15px 15px;
	border-color: var(--main);
}
.list.board .days > *{
	padding: 0;
}
.list.board > *{
	width: 100%;
	display: grid;
	align-items: center;
	grid-template-columns: 70px auto 100px 80px 90px;
}
.related .list.board > *{
	grid-template-columns: auto 60px 60px;
	border-bottom: 1px solid var(--line);
}
.related .list.board > *:last-child{
	border-bottom: 0;
}
.related_search_wrp .list.board > *{
	grid-template-columns: 50px auto 60px 60px;	
	font-weight: 400;
	font-size: .9em;
	text-align: left;
}
.related_search_wrp .list.board{
	border: 3px solid var(--line);
	border-radius: 6px;
	padding: 8px;
	max-height: 235px;
	overflow-y: auto;
}
.related_search_wrp .list.board.related_selected_list{
	border-color: var(--main);
}
.related_search_wrp .list.board > *:last-child{
	border-bottom: 0;
}
.related_search_wrp .list.board .title{
	text-align: left;
	font-weight: 400;
}
.related_search_wrp .list.board > * button{
	padding: 0;
	z-index: 1;
	position: relative;
	width: 100%;
	min-height: 26px;
	font-size: .86em;
}
.list.board .permalink:hover .title{
	text-decoration: underline;
}
.list.board > * > *{
	padding: 15px 10px;
}
.related_search_wrp .list.board > * > *, .related .list.board > * > *{
	padding: 7px 5px;
}
.related_search_wrp .tablehd > .title{
	text-align: left;
}
.list.board .type-post .author{
	margin-top: 0;
	margin-left: auto;
}
.list.board{
	margin: 0;
}
.list.board .title{
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: left;
	font-weight: 500;
}
.tablehd{
	border-bottom: 1px solid var(--text);
	font-weight: 600;
}
.list.board > *{
	text-align: center;
}
.brd .type-post .counts > *{
	white-space: nowrap;
}
.type-post .author {
	display: flex;
	align-items: center;
	margin-top: 12px;
	font-size: .9em;
}
.type-post .counts {
	display: flex;
}
.type-post .counts > * {
	color: var(--textgrey);
	border-right: 1px solid var(--line);
	margin-right: 8px;
	padding-right: 8px;
}
.type-post .counts > *:last-child{
	border-right: 0;
	margin-right: 0;
	padding-right: 0;
}
.type-post .cat {
	color: var(--main);
	font-weight: 700;	
	border-right: 1px solid var(--line);
	margin-right: 8px;
	padding-right: 8px;
}
.type-post .ttsready{
	font-size: .9em;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	padding: 0 10px;
	border-radius: 4px;
	height: 22px;
	margin-left: -5px;
	border: 1px solid var(--text);
}

#pagination {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

#pagination .arrows {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

#pagination .page-numbers.current {
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 45px;
	min-width: 45px;
	color: var(--white);
	background: var(--main);
	border: 1px solid var(--main);
}
#pagination .numbar {
	display: flex;
	align-items: center;
	gap: 6px;
}
#pagination .numbar a, #pagination .numbar span, #pagination .page-numbers.prev, #pagination .page-numbers.next {
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 45px;
	min-width: 45px;
	border: 1px solid var(--linedeep);
	border-radius: 6px;
	background: var(--bg);
}
/* #pagination a{
	transition: opacity .15s, color .15s, background-color .15s;
} */
#pagination a:hover{
	border-color: var(--text)!important;
}
#pagination a svg{
	height: 18px;
}
.pgnwrp{
	display: flex;
	align-items: center;
	justify-content: space-around;
	padding: 30px;
	margin: 0 0 30px;
}
.pgnwrp .counts {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	white-space: nowrap;
	color: var(--textgrey);
	order: -1;
	scale: .86;
}
.pgnwrp .counts #pagego{
	color: var(--text);
	background: var(--bg);
	border: 1px solid var(--linedeep);
	font-weight: 400;
}
.pgnwrp .counts input {
	text-align: center;
	padding: 0 4px;
	width: 40px;
	flex: 0 0 auto;
}
.pgnwrp .counts input:focus {
	border-color: var(--primary);
}
.pgnwrp .counts input::-webkit-inner-spin-button,
.pgnwrp .counts input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
}
/* .layoutbtns{
	display: flex;
	align-items: center;
	gap: 6px;
	position: absolute;
	right: 0;
	top: 0;
}
.layoutbtns > div svg{
	height: 18px;
}
.layoutbtns > .filter{
	width: 100px;
	height: 40px;
	display: flex;
	align-items: center;	
	justify-content: space-between;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 0 14px;	
}
.layoutbtns > .filter svg{
	height: 16px;
	color: var(--textgrey);
}
.layoutbtns > .gridch{
	display: flex;
	align-items: center;
	justify-content: center;	
	border: 1px solid var(--line);
	border-radius: 8px;
	width: 40px;
	height: 40px;
	cursor: pointer;
	transition: opacity .15s, color .15s, background-color .15s;
}
.layoutbtns > div:hover{
	border-color: var(--text);
}
.layoutbtns > div.active{		
	background: var(--text);
	border-color: var(--text);
	color: var(--bg);
} */
.arct .catimg{
	display: none;
	position: absolute;
	bottom: 0;
	right: 0;
	height: calc(100% + 60px);
	width: 200px;
	object-fit: cover;
	z-index: -1;
}
.acrtwrp{
	position: sticky;
	top: 55px;
	background: var(--bg);
}
.arct{
	position: relative;
	margin: 40px 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.arct h1{
	margin: 0;
}
.archive-meta{
	color: var(--textgrey);
}
.archive-meta span{
	font-size: 2em;
	font-weight: 700;
	line-height: normal;
	color: var(--text);
}
.archive-description{
	word-break: auto-phrase;
	display: none;
}
.archive-description p{
	max-width: 640px;
}
#alert{
	opacity: 0;
	position: fixed;
	bottom: 60px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--text);
	color: var(--bg);
	box-shadow: var(--shadowlg);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 32px;
	padding: 0 25px;
	height: 58px;
	transition: opacity .3s;
	white-space: nowrap;
}

main .title h1 {
	margin-top: 10px;
}

.page main .title h1{
	margin-top: 0;
}
main .path {
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 5px;
	font-weight: 600;
	color: var(--textsub);
}
main .path > span svg{
	height: 18px;
	color: var(--linedeep);
}
main .path > *{
	display: flex;
	align-items: center;
}
main .path > *:first-child svg{
	height: 18px;
	fill: var(--main);
	color: var(--main);
}
main .path #selcat.drop{
	cursor: pointer;
	border: 1px solid var(--linedeep);
	border-radius: 6px;
	padding: 0 10px;
	font-size: .9em;
	font-weight: 400;
	line-height: normal;
	gap: 4px;
	height: 32px;
}
main .path #selcat.drop:hover{
	border-color: var(--text);
}
main .path #selcat.drop svg{
	height: 16px;
	color: var(--linedeep);
}
main .vsform  .path{
	color: var(--text);
}

main .content {
	color: var(--text);
	word-break: keep-all;
	word-wrap: break-word;
}
main .content h2, main .content h3{
	margin: 45px 0 0;
}
main .content p {
	font-size: 17px;
	margin: 20px 0;
}
main .vsform .content{
	font-size: 17px;
	padding: 40px 0;
	min-height: 220px;
}
.related_search_result_wrp{
	margin: 0 0 30px;
}
.related_search_wrp h4{
	margin-top: 0;
	font-weight: 700;
}
.related_search_wrp .empty{
	grid-template-columns: 1fr!important;
	padding: 20px;
	color: #aaa;
	font-size: .86em!important;
}

main .content p strong {
	font-weight: 700;
}
main .content blockquote{
	font-family: serif;
	font-style: italic;
}

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

main .publisher{
	font-size: 18px;
	line-height: 1.7;
	color: var(--text);
}

main .publisher a{
	font-weight: 700;
}
.vsform .articlemeta{
	margin-bottom: 0;
}
.vsform .tagsinput{
	padding: 20px 0;
	border-top: 1px solid var(--line);
}
.vsform .related_search_wrp{
	border-top: 1px solid var(--line);	
}
.vsform .related_search_wrp .relatedinput{
	padding: 20px 0;
}
.vsform .submitwrp{
	padding: 20px 0 0;
	display: flex;
	justify-content: flex-end;
}
.vsform .submitwrp .submit{
	width: 130px;
	height: 50px;
	font-size: 1.1em;
}
.vsinput:empty::before {
  content: attr(data-placeholder);
  color: #aaa;
  pointer-events: none;
}

.related_search_wrp .related{
	margin: 0 0 20px;
}

.related{
	padding: 20px;	
	margin-top: 40px;
	border-radius: 8px;
	border: 1px solid var(--line);
}

.related h4{
	font-weight: 700;	
	margin: 0 0 20px;
}
.related .list{
	gap: 20px;
}
.related .list.board{
	gap: 0;
}
.related .type-post{
	border: 0;
}
.related .type-post a{	
	padding: 0;
	gap: 26px;
}
.related .type-post h3{
	font-weight: 700;
	font-size: 18px;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	word-wrap: break-word;
	margin-bottom: 0;
}
.related .type-post p, .related .type-post .cat{
	display: none;
}
.related .type-post .author{
	margin-top: 5px;
}
.related .type-post .thumb{
	flex: 0 0 130px;
	width: 130px;
	order: -1;
	margin-bottom: 0;
}
.related .type-post .permalink{
	position: relative;
}

.single main .tags{
	margin: 50px 0;
}

.single main .rwrap{
	position: relative;
	padding: 40px 0;
	margin: 40px 0;
	border-bottom: 1px solid var(--line);
	border-top: 1px solid var(--line)	;
	margin-bottom: 40px;
	font-size: 14px;
}
.single main .rwrap .label{
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: -12px;
	background: var(--bg);
	padding: 0 20px;
	white-space: nowrap;
}
.single main #reaction{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
}
.single main #reaction .item{
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--textsub);
}
.single main #reaction .item .icon{
	font-size: 42px;
}

.list .additional{
	margin-top: 20px;
}
.list .additional .tags{
	height: 26px;
	overflow: hidden;
}
#mobiletoolbar {
	margin-left: auto;
}
#mobiletoolbar .item{
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: opacity .15s,color .15s,background-color .15s;
}
.articletoolbarwrap{
	position: absolute;
	top: 150px;
	left: -100px;
}
.articletoolbar{
	display: flex;
	flex-direction: column;
	gap: 10px;
	position: fixed;
	z-index: 10;
	padding: 16px;
	border-radius: 20px;
	transition: opacity .3s ease;
}
.articletoolbar .item{
	width: 55px;
	height: 55px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	cursor: pointer;
	transition: opacity .15s,color .15s,background-color .15s;
	background: var(--bg);
	border: 1px solid var(--line);
}
.articletoolbar .item:hover{
	background: var(--bggrey);
}
.articletoolbar .item#favorite.added{
	color: var(--main);
}
.articletoolbar .item#favorite.added svg{
	fill: var(--main);
}
.articletoolbar .item#voice.active.playing,
.articletoolbar .item#voice.active.paused{
	overflow: hidden;
	position: relative;
	background: transparent;
	border-color: var(--bg);
}
.articletoolbar .item#voice.active.playing::before,
.articletoolbar .item#voice.active.paused::before{
	content: '';
	position: absolute;
	inset: -60%;
	background: conic-gradient(from 0deg, var(--bg), var(--bg) 40%, var(--main) 100%);
	animation: ai_border_spin 3s linear infinite;
	z-index: -2;
}
.articletoolbar .item#voice.active.paused::before{
	animation-play-state: paused;
}
.articletoolbar .item#voice.active.playing::after,
.articletoolbar .item#voice.active.paused::after{
	content: '';
	position: absolute;
	inset: 4px;
	background: var(--bg);
	border-radius: 50%;
	z-index: -1;
}    

@keyframes ai_border_spin{
	to{ transform: rotate(360deg); }
}
/* TTS voice 버튼 상태 토글 */
/* 기본: start만 표시 */
.articletoolbar .item#voice .loading,
.articletoolbar .item#voice .pause,
.articletoolbar .item#voice .play { display: none; }
.articletoolbar .item#voice .start { display: inline-flex; }

/* 로딩중 (.active만): loading 표시 */
.articletoolbar .item#voice.active .start,
.articletoolbar .item#voice.active .play { display: none; }
.articletoolbar .item#voice.active .loading { display: inline-flex; }
.articletoolbar .item#voice.active .loading svg{
	width: 20px;
	height: 20px;
}

/* 재생중 (.active.playing): pause 표시 */
.articletoolbar .item#voice.active.playing .loading { display: none; }
.articletoolbar .item#voice.active.playing .pause { display: inline-flex; }

/* 일시정지 (.active.paused): play 표시 */
.articletoolbar .item#voice.active.paused .start,
.articletoolbar .item#voice.active.paused .loading,
.articletoolbar .item#voice.active.paused .pause { display: none; }
.articletoolbar .item#voice.active.paused .play { display: inline-flex; }
.articlebottom{
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 30px;
	border-top: 1px solid var(--line);
	overflow: hidden;
}
.articlebottom nav{
	width: 100%;
}
.user {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 14px;
	width: fit-content;
}

.user .avatar {
	border-radius: 50%;
	object-fit: cover;
}
.exit{
	cursor: pointer;
	position: absolute;
	right: 30px;
	top: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.exit svg{
	width: 28px;
	height: 28px;
}
#comments{		
	width: 100%;
	transition: .3s;
}
#comments h3{
	margin: 0 0 20px;
	font-weight: 700;
}
#comments h3 span{
	font-weight: 300;
	color: var(--textgrey);
}
#comments.active{
	transform: translateX(0);
}

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

.commentWrite {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	gap: 10px;
}
.commentWrite .idea {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
	border: 1px solid var(--linedeep);
	padding: 20px;
	border-radius: 8px;
}
.commentWrite .idea textarea {
	border: 0;
	padding: 0;
}
.commentWrite .idea .col{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

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

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

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

.commentWrite .control button {
	width: 90px;
}

.commentList {
	display: flex;
	flex-direction: column;
}
.commentList .item {
	font-size: 15px;
	border-bottom: 1px solid var(--line);
	padding: 20px 0;
}
.commentList .item .avatar{
	width: auto;
	flex: 0 0 auto;
	border-radius: 50%;
}
.commentList .item:last-child{
	border-bottom: 0;
}
.commentList .item .user {
	width: 100%;
	height: auto;
	align-items: flex-start;
	gap: 10px;
}
.commentList .item .user .name {
	line-height: normal;
	display: flex;
	align-items: center;
	flex-direction: row;
	gap: 5px;
	margin: 0;
}
.commentList .item .user .name .nickname {
	font-weight: 700;
}
.commentList .item .user .name .date{
	font-size: 13px;
	color: var(--textgrey);
}
.commentList .item p {
	font-size: 15px;
	line-height: 1.4;
	margin: 5px 0;
}
.widget .commentList .item p{
	word-wrap: break-word;
	word-break: keep-all;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;	
	margin-bottom: 0;
}
.widget .commentList .item .ori{
	font-size: .9em;
	color: var(--textgrey);
}
.widget .commentList .item .ori span{
	font-weight: 700;
	color: var(--black);
	word-wrap: break-word;
	word-break: keep-all;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}
.widget .commentList .item:hover .ori span{
	text-decoration: underline;
}
.widget .commentList .item{
	padding: 0;
}
.widget .commentList .item a{
	height: 76px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.widget .commentList .item a .avatar{
	border-radius: 50%;
}
.widget .commentList .item a:hover p{
	text-decoration: underline;
}
.comset {
	background: transparent;
	color: var(--textsub);
}
.comset svg{
	width: 16px;
	width: 16px;
}

.post-navigation .nav-links {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 1px;
	background: var(--line);
}
.post-navigation .nav-links > * > * {
	height: 48px;
	width: 100%;
	background: var(--bg);
	color: var(--text);
	transition: opacity .15s, color .15s, background-color .15s;
	border-radius: 0;
	justify-content: flex-start;
	padding: 0 10px;
	gap: 10px;
	display: flex;
	align-items: center;
}
.post-navigation .nav-links > * > * svg{
	height: 16px;
	color: var(--linedeep);
}
.post-navigation .nav-links > * > *:hover {
	background: var(--bggrey);
}
.post-navigation .nav-links > * > * span{
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: calc(100% - 50px);
}
footer {
	margin: 60px 0 0;
	padding: 60px 0;
	font-size: .9em;
	color: var(--textgrey);
	border-top: 1px solid var(--line);
}
footer a.logo{
	flex: 0 0 auto;
	font-size: 1.9em;
	font-weight: 900;
	line-height: normal;
}
.footerwis{
	display: flex;
	gap: 30px;
}
.footerwis .logo svg{
	height: 32px;
	width: auto;
	fill: #b2b2b7;
}
footer .companyinfo{
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
}
footer .companyinfo > *{
	margin: 0;
	display: flex;
	flex-wrap: wrap;	
	gap: 4px;
}
footer .info{
	display: flex;
	flex-direction: column;	
}
footer .copyright{
	margin-top: 12px;
	font-size: .96em;
}
html[data-theme="dark"] .footerwis .logo svg{
	fill: #5f6264;
}

.form {
	display: flex;
	flex-direction: column;
}

.form #wpcontent {
	margin-top: -3px;
}

.form .submitWrrap {
	margin-top: -3px;
	border: 3px solid var(--black);
	padding: 20px;
}

.form .submitWrrap button {
	height: 50px;
	width: 100%;
	max-width: 170px;
	min-width: 170px;
	color: var(--bg);
	font-weight: 600;
	margin-left: auto;
}

.modal{
	position: fixed;
}

@media screen and (max-width: 1280px) {
	header section{
		padding: 0 20px;
	}
}

@media screen and (max-width: 1170px) {
	.new.type-post .thumb{
		width: 400px;
	}
	section.wis.grid3 .list.opgrid-list{
		gap: 10px;
	}	
}

@media screen and (max-width: 1024px) {
	.new.type-post .thumb{
		width: 300px;
	}
	section.wis{
		grid-template-columns: auto 260px;
	}
	
}

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

	#site-navigation{
		display: none;
	}
	#mobiletoolbar{
		display: flex;
		margin-right: -12px;
		order: 1;
	}		
	.new.type-post h2{
		margin: 2px 0 12px;
	}
	.type-post .permalink{
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}	
	.type-post .thumb, .new.type-post .thumb{
		order: -1;
		flex: auto;
		width: 100%;
		margin-bottom: 12px;
	}	

}

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

	header{	
		padding: 0;	
	}
	header.sty{
		box-shadow: var(--shadowlg);
	}
	header section{
		padding: 0 18px;
		gap: 5px;
	}
	.site-branding svg{
		height: 32px;
	}
	html[data-theme="dark"] .site-branding svg{
		fill: var(--logo);
	}
	#mobiletoolbar .item{
		color: var(--black);
	}
	html[data-theme="dark"] #mobiletoolbar .item{
		color: var(--text);
	}
	.alonelogo svg{
		height: 32px;
	}
	header .account{
		display: none!important;
	}
	header .searchwrap input{
		height: 36px;
	}		
	section.wis.grid3 .list.opgrid-list{
		grid-template-columns: repeat(2, 1fr);
    gap: 10px;
	}
	section.wis.grid3 .list.opgrid-list .type-post .permalink h3, section.wis.grid3 .list.opgrid-list .type-post .permalink h2{
		font-size: 1em;
	}
	article .ad{
		bottom: 80px;
	}
	.pgnwrp{
		flex-direction: column;
	}
	.account .toolbar a{
		color: var(--black);
	}
	h1{
		font-size: 28px;
		line-height: 1.25;
	}
	.account{
		margin-left: auto;
	}
	section.wis, section.wis.read{
		grid-template-columns: 100%;
		gap: 0;
		padding-top: 30px;
	}		
	article{
		padding: 0 0 0;
		border: 0;
	}
	.single main .related .type-post a{
		flex-direction: row;
		gap: 20px;
	}
	.single main .related .type-post .thumb{
		flex: 0 0 110px;
		width: 110px;
	}
	.single main .related .type-post h3{
		font-size: 16px;
	}
	.related .list .type-post .permalink{
		gap: 16px;
	}
	.single main #reaction .item .icon{
		font-size: 36px;
	}
	#alert{
		bottom: 90px;
	}
	.articletoolbar{
		left: 0;
		bottom: 20px;
		flex-direction: row;
		width: 100%;
		border-radius: 0;
		padding: 0 16px;
	}
	.articletoolbar .item{
		border: 0;
		box-shadow: var(--shadowlg);
	}
	.commentWrite .idea .col{
		grid-template-columns: repeat(1, 1fr);
	}
	.archive-description{
		text-wrap: auto;
	}
	.archive-meta{
		bottom: auto;
		top: 10px;
	}
	.archive-meta span{
		font-size: 1.5em;
	}
	.pgnwrp {
		flex-direction: column;
		gap: 20px;
	}
	.footerwis{
		flex-direction: column;
		gap: 20px;
	}
	.grd::after, .single article::after{
		display: none;
	}
	aside.horizontal .sticky{
		grid-template-columns: repeat(1, 1fr);
	}
	.list.latest{
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
	}
}
