/*
Theme Name: Wesley Music Blog Theme
Theme URI: http://wes-mus-blog.wesleychan.net
Author: Wesley Chan
Author URI: http://wes-mus-blog.wesleychan.net
Description: WordPress theme for Wesley Music Blog
Version: 1.1.21
License: GNU General Public License v2 or later
Text Domain: wmstheme
*/

body {
	font-family: "Noto Sans HK", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 12pt;
	color: #000000;
	background-color: #FFFFFF;
	margin-top: 0px;
	margin-bottom: 0px;
    margin-left: 0px;
	margin-right: 0px;
    min-width: 320px;
}

header {
	background-color: #FDCD04;
	padding-top: 30px;
	padding-bottom: 30px;
}

#header-flex {
	display: flex;
    padding-left: min(100px, 5%);
	padding-right: min(100px, 5%);
    flex-wrap: wrap;
}

header h1 {
	margin-top: 0px;
	margin-bottom: 0px;
	font-weight: 800;
	font-size: 30pt;
}

header a:link, header a:visited, header a:hover {
	text-decoration: none;
}

h2 {
	font-weight: 700;
	font-size: 26pt;
}

h2.wp-block-heading {
	font-weight: 700;
	font-size: 20pt;
}

#site-title {
	width: 60%;
	min-width: 500px;
}

#header-search-box {
	width: 40%;
	min-width: 300px;
}

main {
	background-color: #FFFFFF;
}

a:link, a:visited {
	color: #000000;
}

a:hover {
	color: #333333;
}

#site-banner img {
	width: 100%;
	height: auto;
}

#latest-post-abstract {
	padding-left: min(100px, 5%);
	padding-right: min(100px, 5%);
}

#latest-post-box:hover {
	background-color: #EEEEEE;
}

.latest-post-image img, .recent-post-image img {
	max-width: 100%;
	height: auto;
	border-radius: 20px;
}

.latest-post-date, .recent-post-date, .archive-post-date {
	text-align: right;
	color: #333333;
}

.read-post-link {
	text-align: right;
}

.recent-posts-flex {
	padding-left: min(100px, 5%);
	padding-right: min(100px, 5%);
	display: flex;
    flex-wrap: wrap;
}

.recent-posts-flex div {
	width: min(100%, max(49%, 480px));
	padding-left: 5px;
	padding-right: 5px;
}

.recent-post-box:hover {
	background-color: #EEEEEE;
}

footer {
	background-color: #31679b;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: min(100px, 5%);
	padding-right: min(100px, 5%);
	color: #FFFFFF;
}

footer h3 {
	margin-top: 0px;
}

footer a:link, footer a:visited {
	color: #FFFFFF;
}

footer a:hover {
	color: #CCCCCC;
}

#footer-flex {
	display: flex;
	flex-wrap: wrap;
}

#footer-flex div {
	width: min(100%, max(33%, 260px));
	margin-top: 5px;
	margin-bottom: 15px;
}

.page_item {
	list-style: none;
}

.archive-box-flex {
	padding-left: min(100px, 5%);
	padding-right: min(100px, 5%);
	margin-top: 10px;
	margin-bottom: 10px;
	display: flex;
    flex-wrap: wrap;
}

.archive-box-flex:hover {
	background-color: #EEEEEE;
}

.archive-thumbnail {
	width: 29%;
}

.archive-thumbnail img {
	max-width: 100%;
	height: auto;
}

.archive-excerpt {
	width: 69%;
	padding-left: 10px;
}

.archive-excerpt h2 {
	margin-top: 0px;
}

#post-box {
	padding-left: min(100px, 5%);
	padding-right: min(100px, 5%);
}