/*
 Theme Name:   Twenty Twenty Child
 Theme URI:    http://drhayton.com/twenty-twenty-child/
 Description:  Twenty Twenty Child Theme
 Author:       Darin Hayton
 Author URI:   http://drhayton.com
 Template:     twentytwenty
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         
 Text Domain:  twentytwentychild
*/


/*	Table of Contents
*
*	1. Fonts
*	2. Spacing
*	3. Styling
*
*/


/*
*	1. FONTS
*/


/* Smaller Heading Font for List of Blog Posts */
@media (min-width: 700px) {
  h2.entry-title { font-size: 3.8rem; }
}

/* Smaller Heading Font for Blog Posts */
@media (min-width: 700px) {
  h1, .heading-size-1 { font-size: 3.8rem; }
  h2, .heading-size-2 { font-size: 3.2rem; }
  h3, .heading-size-3 { font-size: 2.8rem; }
  h4, .heading-size-4 { font-size: 2.5rem; font-weight: 500; }
}

/* Larger Heading for Site Title */
@media (min-width: 700px) {
	h1.site-title {
		font-size: 3.2rem;
		font-weight: 700; }
	.site-title.faux-heading {
		font-size: 3.2rem;
		font-weight: 700;
	}
}

/* Change font for the various parts of a post */
@media (min-width: 700px) {
.entry-content, .entry-content p, .entry-content ol, .entry-content ul, .entry-content dl, .entry-content dt {
	font-family: NonBreakingSpaceOverride, Inter, sans-serif;
	letter-spacing: normal;
	font-size: 2.0rem; }
}

.wp-block-pullquote.is-style-solid-color blockquote p {
	font-size: 2.5rem;
	line-height: 130%;
}

/* Change the copyright font */
@media (min-width: 700px) {
	p.footer-copyright { font-weight: 600;}
}



/*
*	2. SPACING
*/

/* Reduce white space around stuff */
@media (min-width: 700px) {
	.widget .widget-title { margin-bottom: 2rem; }
	.post-inner { padding-top: 3rem; }
	.footer-widgets-outer-wrapper { padding: 3rem 0; }
	#site-footer { padding: 3rem 0; }
}

.singular .entry-header {
  padding: 2rem 0;
}

body:not(.singular) main > article:first-of-type {
  padding: 2rem 0 0;
}

.archive-header {
  padding: 2rem 0;
}

.error404 #site-content {
  padding-top: 2rem;
}

/* Adjust the hr tag between post summaries */
hr.post-separator, section-inner {
	margin: 4rem auto; /* Spacing above and below */
	max-width: 80rem; /* Maximum length */
}

.post-meta-wrapper,
.post-meta-wrapper.post-meta-single-bottom {
	margin-top: 2rem;
}

/* Adjust the hr tag between post body and footnotes */
hr.wp-block-separator {
	margin: 5rem auto;
}

/* Remove space below and above hr tags at bottom of posts */
.pagination-single hr:first-child {
	margin: 1rem 0 2rem 0;
}
.pagination-single hr:last-child {
	margin: 2rem 0 1rem 0;
}




/*
*	3. STYLING
*/

/* Restore the citation to a basic italic face */
cite {
	font-size: inherit;
	font-style: italic;
	font-weight: 500;
}

/* Remove author byline from posts */
.post-author.meta-wrapper {
	display: none;
}

/* Remove categories from posts */
.entry-categories-inner {
    display: none;
}

/* Remove the Featured Image from single posts */

.featured-media-inner {
	display: none;
}


/* Adjust the fonts on the Recent Posts block from GitWid */
.wp-block-getwid-recent-posts__post-title {
	font-weight: 600;
}

.wp-block-getwid-recent-posts__post-content {
	font-size: 1.6rem;
	line-height: 1.2;
}



/* Pullquote styling */
.wp-block-pullquote blockquote p {
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 100%;
	}
.has-subtle-background-background-color {
	border-radius: 2.0rem;
	}
	
.is-style-solid-color {
	border-radius: 2.0rem;
}

/* Footnote reference and reverse style */
.footnote, .reversefootnote{
	vertical-align: super;
	font-size: 80%;
}
