/*
Theme Name: Rife Free Child
Theme URI: https://apollo13themes.com/rife/free/
Description: Child theme for local customizations on top of the official Rife Free theme.
Author: Local
Template: rife-free
Version: 1.0.0
Requires at least: 4.7
Requires PHP: 5.3
Text Domain: rife-free-child
*/

:root {
	--rife-child-system-font: -apple-system, BlinkMacSystemFont, "Segoe UI",
		"PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
		"Noto Sans CJK SC", "Source Han Sans SC", Arial, sans-serif;
	--rife-child-h1-font-size: 33px;
	--rife-child-h2-font-size: 26px;
	--rife-child-h3-font-size: 22px;
	--rife-child-h4-font-size: 15px;
	--rife-child-h5-font-size: 14px;
	--rife-child-h6-font-size: 13px;
}

body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
.menu,
.navigation,
.post-title,
.entry-title,
.widget-title {
	font-family: var(--rife-child-system-font) !important;
}

body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
dt,
dd,
blockquote,
figcaption,
caption,
td,
th,
.menu,
.navigation,
.post-title,
.entry-title,
.widget-title,
.has-small-font-size,
.has-medium-font-size,
.has-large-font-size,
.has-x-large-font-size,
[class*="has-"][class*="-font-size"] {
	line-height: 1.6 !important;
}

h1,
.h1 {
	font-size: var(--rife-child-h1-font-size) !important;
}

h2,
.h2 {
	font-size: var(--rife-child-h2-font-size) !important;
}

h3,
.h3 {
	font-size: var(--rife-child-h3-font-size) !important;
}

h4,
.h4 {
	font-size: var(--rife-child-h4-font-size) !important;
}

h5,
.h5 {
	font-size: var(--rife-child-h5-font-size) !important;
}

h6,
.h6 {
	font-size: var(--rife-child-h6-font-size) !important;
}

@media (max-width: 767px) {
	:root {
		--rife-child-h1-font-size: 26px;
		--rife-child-h2-font-size: 23px;
		--rife-child-h3-font-size: 20px;
		--rife-child-h4-font-size: 14px;
		--rife-child-h5-font-size: 13px;
		--rife-child-h6-font-size: 12px;
	}
}

.single-post .real-content.entry-content p,
.single-post .entry-content p,
body.page .real-content p,
body.page .entry-content p {
	text-indent: 2em;
}

/* Single post images with alignment set to "None" should not inherit centered figure spacing. */
.single-post .real-content.entry-content figure.wp-block-image:not(.alignleft):not(.aligncenter):not(.alignright):not(.alignwide):not(.alignfull),
.single-post .real-content.entry-content .wp-caption.alignnone {
	clear: both;
	display: block;
	float: none;
	margin: 1.5em 0;
	text-align: left;
}

.single-post .real-content.entry-content figure.wp-block-image:not(.alignleft):not(.aligncenter):not(.alignright):not(.alignwide):not(.alignfull) img,
.single-post .real-content.entry-content .wp-caption.alignnone img,
.single-post .real-content.entry-content img.alignnone,
.single-post .real-content.entry-content p > img:not(.alignleft):not(.aligncenter):not(.alignright):not(.alignwide):not(.alignfull) {
	clear: both;
	display: block;
	float: none;
	margin-left: 0;
	margin-right: auto;
}

/* Hide the archive title text on all blog category archive pages. */
body.category .title-bar .page-title {
	display: none;
}
