/*
Theme Name:     Buttercup
Theme URI:      https://shop.tcndesignstudio.com/buttercup/
Template:       kadence
Author:         Camila Rojas
Author URI:     https://tcndesignstudio.com/
Description:    Buttercup is a child theme for the Kadence framework, designed for food bloggers who want a clean, fresh, and customizable website. Fully responsive and mobile-friendly, Optimized for fast loading speeds, Pre-designed layouts for blog posts and pages, Customizable colors, fonts, and styles, SEO-ready structure, Lightweight and performance-focused.
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/
.wp-block-kadence-posts.kb-posts .post-thumbnail, .wp-block-kadence-postgrid .kadence-post-image, .cat-hover li.kadence-blocks-gallery-item {
    transition: all 0.3s ease-in-out 0s;
}
.wp-block-kadence-posts.kb-posts .post-thumbnail:hover, .wp-block-kadence-postgrid .kadence-post-image:hover, .cat-hover li.kadence-blocks-gallery-item:hover {
    transform: scale(1.035);
    -webkit-transform: scale(1.035);
    -ms-transform: scale(1.035);
    transform: scale(1.035);
}
.kb-button.kt-button.button {
    border-radius: 10px 1px 10px 1px;
}
.fave-counter {
    counter-reset: article 1;
}
.fave-counter article::before {
    counter-increment: article;
    content: counter(article);
    font-size: 1.25em;
    font-weight: bold;
    color: #ffffff;
    position: absolute;
    z-index: 1;
    background-color: var(--global-palette2);
    padding: 3px;
    border: 5px solid var(--global-palette9);
    border-radius: 50px;
    width: 50px;
    height: 50px;
    text-align: center;
    margin-left: 3%;
    Margin-top: -25px;
}
.fave-counter-2 {
    counter-reset: article;
}
.fave-counter-2 article::before {
    counter-increment: article;
    content: counter(article);
    font-size: 1.25em;
    font-weight: bold;
    color: #ffffff;
    position: absolute;
    z-index: 1;
    background-color: var(--global-palette2);
    padding: 3px;
    border: 5px solid var(--global-palette9);
    border-radius: 50px;
    width: 50px;
    height: 50px;
    text-align: center;
    margin-left: -25px;
    Margin-top: 10%;
}
.tcn-custom-pad .loop-entry .entry-content-wrap {
    padding: 1rem;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
}
@media screen and (max-width: 768px) {
    .tcn-img-left.grid-lg-col-1.item-image-style-beside article.loop-entry.has-post-thumbnail:not(.kb-post-no-image) {
        display: grid;
        grid-template-columns: 1fr 2fr;
    }
}
.tcn-new-recipe.wp-block-kadence-posts .kb-post-list-item:nth-of-type(4n+1) .entry-title:before {
    background-color: var(--global-palette1);
}
.tcn-new-recipe.wp-block-kadence-posts .kb-post-list-item:nth-of-type(4n+2) .entry-title:before {
    background-color: var(--global-palette2);
}
.tcn-new-recipe.wp-block-kadence-posts .kb-post-list-item:nth-of-type(4n+3) .entry-title:before {
    background-color: var(--global-palette10);
}
.tcn-new-recipe.wp-block-kadence-posts .entry-title:before {
    content: 'new';
	  background-color: var(--global-palette5);
	  color: var(--global-palette9);
	  font-size: 16px;
	  letter-spacing: 0.5px;
    z-index: 9;
    display: block;
    width: 60px;
    height: 30px;
    text-align: center;
    margin: 0px 0 5px -5px;
    position: relative;
	  rotate: -5deg;
}
.tcn-latest-home-2.tcn-new-recipe.wp-block-kadence-posts .entry-title:before {
    margin: -35px auto 15px;
	
}
.img-rotate-left img {
    rotate: -10deg;
}
.img-rotate-right img {
    rotate: 10deg;
}
.main-categories-img .wp-block-kadence-image, .main-categories-img .wp-block-kadence-imageoverlay {
    border: 6px solid #ffffff;
}
.main-categories-img .kt-inside-inner-col {
    transition: all 0.3s ease-in-out 0s;
}
.main-categories-img .kt-inside-inner-col:hover {
    transform: scale(1.025);
	  opacity: 0.75;
}
.kadence-blocks-form-field .kb-field::placeholder {
    color: var(--global-palette4);
}
.tcn-popular-post.wp-block-kadence-posts .entry-content-wrap {
    margin: -50px 25px 0;
    z-index: 2;
    position: relative;
    background-color: var(--global-palette9);
}
.tcn-50-alt-border-img-1.wp-block-kadence-posts img {
    border-radius: 1px 50px 1px 50px;
}
.tcn-50-alt-border-img-1.wp-block-kadence-posts img {
    border-radius: 50px 1px 50px 1px;
}
.tcn-20-alt-border-img-2 img {
	border: 3px solid #fff;
	border-radius: 1px 20px 1px 20px;
}
.tcn-20-alt-border-img-1 img {
	border: 3px solid #fff;
	border-radius: 20px 1px 20px 1px;
}
.tcn-index-accordion{
  height: 120px;
}
.tcn-favorite-feature .wp-post-image {
    border: 5px solid var(--global-palette9);
}
.tcn-img-left-grid-col-2.grid-cols {
    display: grid;
    column-gap: 2rem;
    row-gap: 2rem;
}
.archive-description {
    max-width: 900px;
	  margin-bottom: 25px;
}
.icon-hover .kb-gallery-figure:hover {
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-name: headShake;
  animation-name: headShake;
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
@media screen and (min-width: 1025px) {
	.tcn-favorite-feature .kt-blocks-post-grid-item-inner {
    margin-top: 25%;
    margin-bottom: 25%;
    margin-left: -150px;
    background-color: #fff;
    z-index: 2;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tcn-favorite-feature .kt-blocks-post-readmore-wrap {
    margin-top: 25%;
    text-align: right;
}
.tcn-favorite-feature .entry-title::before {
    content: "\2605  My Favorite";
    position: absolute;
    top: 0;
    left:0;
    display: inline-block;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: .095em;
    color: var(--global-palette3);
    margin-bottom: 1rem;
    font-family: var(--global-body-font-family);
    width: 100%;
}
	.tcn-latest-home-2.grid-lg-col-4 {
        column-gap: 1.5rem;
        row-gap: 1.5rem;
    }
	.tcn-latest-home-2 .loop-entry .entry-content-wrap {
    padding: 1rem 1.75rem;
    text-align: center;
}
}
@media screen and (max-width: 1024px) {
.tcn-index-accordion{
  height: auto;
}
	.tcn-favorite-feature .kt-blocks-post-grid-item-inner {
        margin-top: -100px;
        margin-bottom: 0;
        margin-left: 15px;
        margin-right: 15px;
        background-color: #fff;
        z-index: 2;
        padding: 25px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
    }
.tcn-favorite-feature .kt-blocks-post-readmore-wrap {
    margin-top: 25%;
    text-align: right;
}
.tcn-favorite-feature .entry-title::before {
    content: "\2605  My Favorite";
    position: absolute;
    top: 0;
    left:0;
    display: inline-block;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: .095em;
    color: var(--global-palette3);
    margin-bottom: 1rem;
    font-family: var(--global-body-font-family);
    width: 100%;
}
}
@media screen and (max-width: 782px) {
	.search-toggle-open-container .search-toggle-open {
    color: var(--global-palette9);
}
.two-col-grid.grid-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    -webkit-column-gap: 1.25rem !important;
    -moz-column-gap: 1.25rem !important;
    column-gap: 1.25rem !important;
    row-gap: 2.75rem !important;
}
#archive-container.grid-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	  -webkit-column-gap: 1.25rem !important;
    -moz-column-gap: 1.25rem !important;
    column-gap: 1.25rem;
    row-gap: 1.5rem;
}
	.fave-counter article::before {
    margin-left: 15%;
}
}
@media screen and (min-width: 768px) {
	  .tcn-img-left-grid-col-2.grid-lg-col-1 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
	  .tcn-img-left-grid-col-2.grid-lg-col-1.item-image-style-beside article.loop-entry.has-post-thumbnail:not(.kb-post-no-image) {
        grid-template-columns: 1fr 2fr !important;
			  align-items: center;
    }
	.tcn-featured-recipe.grid-lg-col-1.item-image-style-beside article.loop-entry.has-post-thumbnail:not(.kb-post-no-image) {
			  display: grid;
        grid-template-columns: 1fr 1fr !important;
        align-items: center;
    }
	.tcn-featured-recipe article img {
    border-radius: 50px 1px 1px 1px;
}
.tcn-featured-recipe article {
    border-radius: 50px 1px 50px 1px;
}
	.kb-form .kadence-blocks-form-field {
    margin-bottom: 0px;
}
}
.accent-font{  
    font-style: normal;
    margin-left: -10px !important;
    font-weight: 400;
    transform: rotateZ(-4deg);
    z-index: 2;
    position: relative;
}
@-webkit-keyframes headShake {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  6.5% {
    -webkit-transform: translateX(-6px) rotateY(-9deg);
    transform: translateX(-6px) rotateY(-9deg);
  }

  18.5% {
    -webkit-transform: translateX(5px) rotateY(7deg);
    transform: translateX(5px) rotateY(7deg);
  }

  31.5% {
    -webkit-transform: translateX(-3px) rotateY(-5deg);
    transform: translateX(-3px) rotateY(-5deg);
  }

  43.5% {
    -webkit-transform: translateX(2px) rotateY(3deg);
    transform: translateX(2px) rotateY(3deg);
  }

  50% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@keyframes headShake {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  6.5% {
    -webkit-transform: translateX(-6px) rotateY(-9deg);
    transform: translateX(-6px) rotateY(-9deg);
  }

  18.5% {
    -webkit-transform: translateX(5px) rotateY(7deg);
    transform: translateX(5px) rotateY(7deg);
  }

  31.5% {
    -webkit-transform: translateX(-3px) rotateY(-5deg);
    transform: translateX(-3px) rotateY(-5deg);
  }

  43.5% {
    -webkit-transform: translateX(2px) rotateY(3deg);
    transform: translateX(2px) rotateY(3deg);
  }

  50% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

