/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
.site-content {
	padding: 0 10px !important;
}
.site-content .content-area {
  width: 75% !important;
  float: left;
  box-sizing: border-box;
}

.is-right-sidebar {
  width: 25% !important;
  float: left;
  box-sizing: border-box;
}
.page-header { padding: 0px !important; }
.inside-article { padding: 0px 5px !important; }
.entry-header { padding: 30px !important; }
.entry-content { padding: 0 30px !important; }
.entry-content img:not(.emoji) {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin-bottom: 10px !important;
}


@media (max-width: 859px) {
	.site-content {
		display: block !important;
		padding: 0 10px !important;
	}
	.site-content .content-area {
	  width: 100% !important;
	  float: left;
	  box-sizing: border-box;
	}
	
	.entry-header { padding: 10px !important; }
	.entry-content { padding: 0 10px !important; }
	
	.entry-content ul {
	  margin-left: 20px !important;
	}

	.is-right-sidebar {
	  width: 100% !important;
	  float: left;
	  box-sizing: border-box;
	}
	.is-right-sidebar li a {
		font-size:15px;
	}
}
@media (max-width: 500px) {
	.custom-post-box {
		flex-direction: column;
	}
	.custom-thumb {
		display: block !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	
	.entry-header { padding: 10px !important; }
	.entry-content { padding: 0 10px !important; }
	.entry-content ul {
	  margin-left: 20px !important;
	}
	.is-right-sidebar {
	  width: 100% !important;
	  float: left;
	  box-sizing: border-box;
	}
	.is-right-sidebar li a {
		font-size:15px;
	}
}

.widget ul li {
  list-style-type: disc !important;
}

#right-sidebar ul li {
  font-size: 14px;
  border-bottom: 1px solid #e5e5e5;
  padding: 6px 0; 
}

/* 마지막 li는 밑줄 제거 */
#right-sidebar ul li:last-child {
  border-bottom: none;
}

/* 기본 상태에서는 밑줄 제거 */
a {
  text-decoration: none;
}

/* 마우스 오버 시 밑줄 표시 */
a:hover {
  text-decoration: underline;
}

.widget-title { font-size:18px !important; }
h1 {
  font-size: 24px;
  font-weight:bold;
  line-height: 1.4;
  margin-bottom: 1em;
}
h2 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 1em;
}
h3 { font-weight: bold !important; }
h5 { font-size:18px !important; }


/* ------------------------------
   <code> 태그에 코드 스타일 적용
------------------------------ */
code {
  font-family: 'Courier New', Courier, monospace;
  background-color: #f4f4f4;
  padding: 2px 4px;
  font-size: 14px;
  color: #c7254e;
  border-radius: 4px;
}

.related-posts {
	border: 2px solid #e9e9e9;
	border-radius: 20px;
	padding: 20px;
}