/*!
Theme Name: Frugal Noodle Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Brian Shim
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 2.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/* HEADINGS */
h2, h3, h4, h5, h6 {
	clear: left;
}
h3#reply-title,
h4.widget-title {
	font-size: 26px;
}
#subscribe-text p {
	margin-bottom: 1em;
}
.archive.category h2 a {
	font-size: 20px;
}

/* PREVENT AD OVERFLOW */
#main {
	overflow: hidden;
}

/* FIX FOR DROPDOWN MENUS */
.header-navigation ul ul.sub-menu, .header-navigation ul ul.submenu {
	top: auto;
}

/* HOME PAGE BLOG FEEDS */
@media screen and (max-width: 540px) {
	.home .wp-block-latest-posts__featured-image.alignleft {
		float: left;
		}
}


/* MAKE TEXT CONTENT NARROWER THAN IMAGES AND ADS */
figure.wp-block-embed iframe {
	margin-left: auto !important;
	margin-right: auto !important;
}
.single-post .wp-block-jetpack-subscriptions__subscount,
.single-post figure.wp-block-audio,
.single-post iframe.instagram-media,
.single-post blockquote.wp-block-quote,
.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4, 
.single-post .entry-content h5,
.single-post .entry-content h6,
.single-post .entry-content ol,
.single-post .entry-content ul,
.single-post .entry-content .kt_simple_share_container,
.single-post .entry-content p {
	max-width: 730px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left:10px;
	padding-right: 10px;
}
.single-post .entry-content .wp-block-columns {
	max-width: 730px;
	margin-left: auto;
	margin-right: auto;
}

/* MAKE IMAGES SLIGHTLY WIDER THAN TEXT */
.single-post .entry-content figure.wp-block-jetpack-image-compare,
.single-post .entry-content .wp-block-columns.has-background,
.single-post .entry-content hr.wp-block-separator,
.single-post .entry-content figure.wp-block-gallery,
.single-post .entry-content .wp-block-jetpack-tiled-gallery,
.single-post .entry-content .wp-block-image {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.content-width-narrow .alignwide {
	margin-left: auto !important;
	margin-right: auto !important;
}

@media (max-width: 767px) {
	/* GIVE SOME SIDE PADDING TO POST NAV ON MOBILE */
	.post-navigation {
		padding: 0 10px;
	}
}

/* CENTER ADS ON DESKTOP */
@media (min-width: 768px) {
	.ezoic-ad .adsbygoogle,
	.amzn-native-container {
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

/* INDENT LISTS */
.single-post .entry-content ol,
.single-post .entry-content ul {
	padding-left: 2em;
}

/* FIX KADENCE CSS INTERFERENCE WITH WP DISCUZ */
.comment .avatar {
	position: static;
}
/* GIVE SOME SIDE MARGIN TO COMMENTS */
#comments {
	margin-left: 10px;
	margin-right: 10px;
}
/* PREVENT WRAP OF COMMENT HEADLINE AREA */
@media screen and (max-width: 600px) {
#wpdcom .wpd-thread-head .wpd-thread-info {
  flex-basis: unset;
}
}

/* GENERIC TOP MARGIN */
#main .single-content .margin-top-2em {
	margin-top: 2em;
}





a.wp-block-latest-posts__post-title {
	text-decoration: none;
}

/* CAPTIONS */
figcaption {
	text-align: center;
	font-style: italic;
}

/* IMAGES */
.single-content .wp-block-column  .wp-block-image {
	margin-left: 0;
	margin-right: 0;
}
.wp-block-image img {
	box-shadow: 5px 5px 10px rgba( 0, 0, 0, .6);
}

/* FIX FOR GAP IN GALLERIES BETWEEN IMAGES */
.single-content figure.tiled-gallery__item {
	margin-bottom: 0;
}

/* RELATED ARTICLES BOXES */
.loop-entry .entry-content-wrap {
    padding: 1rem;
}

/* GOOGLE ADS */
.google-ad {
	text-align: center;
	margin-bottom: 1em;
}

/* LAZY BLOCK CHECKLIST */
ul.lazy-block-checklist {
	margin-bottom: 1em !important;
	padding-left: 20px;
}
ul.lazy-block-checklist li {
	list-style: none;
	margin-bottom: 1em;
}
ul.lazy-block-checklist li label {
	cursor: pointer;
	user-select:none;
	font-weight: bold;
}
ul.lazy-block-checklist li input {
	width: 22px;
	height: 22px;
	vertical-align: top;
	margin-right: 10px;
	cursor: pointer;
}
ul.lazy-block-checklist li label .label {
	display: inline-block;
	width: calc(100% - 50px);
}
ul.lazy-block-checklist li .label div {
	font-weight: normal;
}

/* FOOTER */
.widget-area .widget-title {
	text-transform: none;
	text-align: center;
}
.widgets-list-layout-links {
	line-height: 1.3em;
}