/*
Theme Name:     Cupcakes & Kale Chips on Kadence
Theme URI:      n/a
Template:       kadence
Author:         Highly Responsive Technologies
Author URI:     https://highlyresponsive.com
Description:    An updated, lightweight child theme for Cupcakes &amp; Kale Chips built on Kadence
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/




.grid-container {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}
.grid-container.slider {
	display: block;
	overflow: hidden;
}
.grid-container.slider .gdlr-core-item-list {
	display: inline-block;
}


.grid-6{ width: 16.6666%; }
.grid-5{ width: 20%; }
.grid-4{ width: 25%; }
.grid-3{ width: 33.3333%; }
.grid-2{ width: 50%; }
.grid-1{ width: 100%; }

@media screen AND (min-width:545px) AND (max-width:1023px){
	.tablet-grid-2 {
		width: 50%;
	}
	.tablet-grid-3 {
		width: 33.33%;
	}
	.tablet-grid-4 {
		width: 25%
	}
	.tablet-grid-5 {
		width: 20%;
	}
	.grid-tablet-limit-4 .grid-item:nth-of-type(n+5) {
		display: none;
	}
}
@media screen AND (max-width:544px){
	.grid-6, .grid-5, .grid-4, .grid-3, .grid-2 {
		width: 100%;
	}
	.mobile-two-column .grid-6, .mobile-two-column .grid-5, .mobile-two-column .grid-4, .mobile-two-column .grid-3, .mobile-two-column .grid-2 {
		width: 50%;
	}
	.mobile-grid-2 {
		width: 50%;
	}
	.mobile-grid-3 {
		width: 33.33%;
	}
	.grid-mobile-limit-4 .grid-item:nth-of-type(n+5) {
		display: none;
	}
}
/*mediavine mobile fix*/

@media only screen and (max-width: 359px) {
.yoku-content-container {
    padding-left:3px !important;
    padding-right: 3px !important;
}
li .remove_padding {
    margin-left: -35px !important;
}
.wprm-recipe {
    border: unset !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}
}

/* SHM adjustments to image captions and blur effect*/

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
    color: #ffffff; /* White text color for better contrast */
    padding: 8px 10px; /* Adds space around the text */
    display: block;
    width: 100%; /* Ensures it covers the width */
    position: absolute; /* If needed to position over the image */
    bottom: 0; /* Aligns it to the bottom of the figure */
    left: 0;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before {
  max-height: 9%;
}

/* Custom CSS Start */
/* Breadcrumbs */
.yoast-bc-wrap a {
	text-decoration: none;
}
.yoast-bc-wrap .breadcrumb_last {
	color: var(--global-palette4);
}
/* Comments */
.comment-body {
	border-bottom-color: #e6e6e6;
	margin-bottom: 2em;
}
.comment-reply-link {
	text-transform: uppercase;
	font-weight: bold;
	color: var(--global-palette4);
}
.comment-list .comment-content p {
	font-size: 16px;
}
.comment-author {
	font-size: 1.2em;
}
.comment-author .says {
	display: none;
}
.bypostauthor, .comment-author-brianneizzo {

}
.bypostauthor > .comment-body, .comment-author-brianneizzo > .comment-body {
    background-color: #fdf9f5;
		padding: 10px;
}
.bypostauthor .comment-author .fn a, .comment-author-brianneizzo .comment-author .fn a {
	color: var(--global-palette1);
}
.bypostauthor .comment-author .fn a:hover, .comment-author-brianneizzo .comment-author .fn a:hover {
	color: var(--global-palette2);
}
.comment-metadata {
	font-weight: bold;
}
.comments-area .comment-respond {
    background: #fdf9f5;
    padding: 36px 36px 30px;
    margin-bottom: 40px;
}
/* Sidebar */
@media screen and (min-width: 1025px) {
    .has-sidebar .content-container {
			grid-gap: var(--global-lg-spacing);
	}
}
.primary-sidebar h2, .primary-sidebar h3 {
	font-size: 22px;
}
.primary-sidebar .wp-block-search .wp-block-search__input {
	border: 0;
}
.primary-sidebar .wp-block-social-link {
	border-radius: 25%;
}
/* Footer */
footer .site-bottom-footer-inner-wrap ul#footer-menu li:not(:last-child) a::after {
  content: " |";
  margin-left: 10px;
}
