h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.5em;
}
h3 {
	font-size: 1.17em;
}
h4 {
	font-size: 1em;
}
h5 {
	font-size: 0.83em;
}
h6 {
	font-size: 0.67em;
}

/* 폰트 변경 */

@import url('https://fonts.googleapis.com/css?family=Nanum+Gothic:400,700&subset=korean');
body,h1,h2,h3,h4,h5,h6,li,a,textarea,p,span,dl,dt,dd,td,th,button,strong,label,input { font-family: 'Nanum Gothic','Open Sans',dashicons, IcoMoon !important; }

/* PC환경에서 레이아웃 적용 */
@media (min-width: 769px) {
	/* GeneratePress 테마 사이드바 고정 */
	.site-content {
		display: flex;
		justify-content: space-around;
		align-items: flex-start;
	}
	#right-sidebar {
		position: -webkit-sticky;
		position: sticky;
		bottom: 0.1rem;
		align-self: flex-end;
	}
	
	/* 2컬럼 으로 표시 */
	article:has(.post-image) {
		width: 50% !important;
		float: left !important;
		padding: 0px; !important;
		margin: 0px; !important;
	}
	
	.entry-meta {
		margin-top: 0em !important;
	}
}

.inside-article, .entry-header{
	display: flex;
	flex-direction: column;
}

.post-image:not(:first-child), .entry-meta {
    margin-top: 0em !important;
}

/*  */
.inside-article:has(.post-image) > .entry-header{
	order: 1;
}
.inside-article:has(.post-image) > .entry-meta{
	order: 2;
}
/* 날짜와 제목의 위치 변경 */
.entry-header > .entry-title{
  order: 1;
}
.entry-header > entry-meta {
  order: 2;
}

/* 이미지와 제목의 위치 변경 */
/* .inside-article > .entry-header {
	order: 2;
}
.inside-article > .post-image {
	order: 1;
} */

/* 게시글 padding 사이즈 조절 */
.inside-article {
	padding: 15px !important;
}

/* 목록 화면에 보이는 내용 미리보기 안보이게 하기 */
span.byline, span.cat-links, div.entry-summary{
	display: none; !important;
}

/* 사이드바 마진 */
#block-2, #block-3 {
	padding: 10px;
}
/* 최근글 div 벗어나는현상 수정 */
#block-3:after {
  display:block;
	visibility: hidden;
	clear: both;
	content: "";	
}
/* 최근글 썸네일과 text 가까이붙이기 */
.wp-block-latest-posts__featured-image{
	margin-right: 7px !important;
}
.wp-block-latest-posts__post-title {
	text-decoration: none;
	color: black;
	/* 한 줄 자르기 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  /* 여러 줄 자르기 추가 스타일 */
  white-space: normal;
  line-height: 1.2;
  height: 3.6em;
  text-align: left;
  word-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
/* .wp-block-latest-posts__featured-image {
	line-height: 200% !important;	
	
} */

/* 사이드바 검색 버튼 */
.wp-block-search__button {
	word-break: keep-all;
}

/* 테이블css */
.tg_style {
  width: 100%;
  table-layout: fixed;
  box-shadow: 2px 2px 2px 2px rgb(209, 209, 209);
  margin-top: 5px;
}
.tg {
  border-collapse: collapse;
  border-spacing: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tg th {
  padding: 3px 5px;
  border-color: #AEAEAE;
  border-style: solid;
  border-width: 1px;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: normal;
  overflow: hidden;
  word-break: normal;
  background-color: #f7f7f7;
  text-align: center;
  vertical-align: middle;
  border-width: 0.1px;
}
.tg td {
  padding: 3px 5px;
  border-color: #AEAEAE;
  font-family: Arial, sans-serif;
  /* font-size: 14px; */
  font-size: 1rem;
  overflow: hidden;
  /* padding: 10px 5px; */
  word-break: normal;
  border-style: solid;
  /* border-width: 0.1em; */
  border-width: 0.1px;
  /* text-align: center; */
  vertical-align: middle;
}

/* 포스팅 상단 이미지 제거 */
.featured-image {
	display: none;
}

/* 포스팅 목록에 보이는 이미지 가운데정렬*/
.post-image {
	text-align: center;
}

.entry-content h2 {
  text-align: left;
  border-left: #d60d0d 15px solid;
  border-bottom: 1px solid #d60d0d;
  padding: 3px 0 10px 10px;
  margin: 30px 0 20px 0;
}

.entry-content h3 {
  text-align: left;
  border-left: #d60d0d 7px solid;
  border-bottom: 1px solid #d60d0d;
  padding: 3px 0 10px 10px;
  margin: 30px 0 20px 0;
}

/* 제목 3줄까지만 보이게 */
.entry-title{
	width: 100%;
	height: 3.8em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* 썸네일 이지미 width를 100%로 채운다 */
.post-image a img{
	width: 100%;
}

/* Attitude 테마와 Interface 테마에서 Copyright 부분 변경하기 */

.site-info{
	background-color: #E51B23;
}
footer .copyright-bar {
  visibility: hidden;
  line-height: 0;
	width: auto;
	font-size: 0;
}
footer .copyright {
	visibility: visible;
	content: '© 2023 주식선생님의 블로그';
	line-height: 1.2em;
	color: #FFFFFF;
	font-size: 1rem;
}
.customize-unpreviewable {
	display: none;
}