/*
Theme Name: Fresh
Theme URI: https://demos.southerncreativeco.com/fresh/
Author: Southern Creative Co
Author URI: https://southerncreativeco.com
Description: Fresh is a bright, playful food blog website template for recipe creators, hosts and caterers, with a recipe index, recipe post layout and WP Recipe Maker recipe cards. Keep the free Astra parent theme installed alongside this child theme. All colors and fonts live in Elementor - Site Settings - Global Colors and Global Fonts, so you can rebrand the whole site in a few clicks.
Version: 1.0.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fresh-spread
Template: astra
*/
/* ---------------------------------------------------------------
   Fresh design polish
   The only CSS that ships with this template. Each rule fixes
   something that has no Elementor panel setting. Nothing here
   overrides a value you set yourself in Elementor.
   --------------------------------------------------------------- */

/* remove the extra baseline gap under button widgets */
.elementor-widget-button,.elementor-widget-button .elementor-button-wrapper{line-height:0;font-size:0}

/* nicer line breaks in headings */
.elementor-heading-title{text-wrap:pretty}

/* keep button labels on one line on desktop */
@media(min-width:768px){.elementor-widget-button .elementor-button{white-space:nowrap}}

/* clickable cards should not underline their text */
a.e-con,a.e-con:hover{text-decoration:none;color:inherit}

/* form fields follow Site Settings > Global Fonts */
.elementor-widget-wpr-search input,.elementor-widget-wpr-search button,.elementor-widget-wpr-search select,
.fluentform input,.fluentform select,.fluentform textarea{
  font-family:var(--e-global-typography-text-font-family,"Figtree"),Helvetica,Arial,sans-serif}
/* form buttons follow Site Settings > Global Fonts (buttons) */
.fluentform .ff-btn,.elementor-widget-wpr-search button{
  font-family:var(--e-global-typography-accent-font-family,"Josefin Sans"),Helvetica,Arial,sans-serif}

/* post grid titles follow Site Settings > Global Fonts (headings) */
.wpr-grid-item-title a,.wpr-grid-item-title .inner-block>*,.wpr-post-title,.wpr-archive-title{
  font-family:var(--e-global-typography-primary-font-family,"Antonio"),"Arial Narrow",sans-serif}

/* recipe cards: category label sits top-left and badge bottom-right on the photo
   (Royal Addons free has no vertical position setting for these labels).
   The badge is a circle sized from its font size (change it in the grid's Tag 2 style). */
.wpr-grid .wpr-grid-media-hover .wpr-cv-inner{vertical-align:top}
.wpr-grid .wpr-grid-media-hover .wpr-cv-container,.wpr-grid .wpr-grid-media-hover .wpr-cv-outer,
.wpr-grid .wpr-grid-media-hover .wpr-cv-inner,.wpr-grid .wpr-grid-media-hover .wpr-grid-media-hover-middle{position:static}
/* The badge scales with the card: about a third of the photo width, never cut off by the rounded frame. */
.wpr-grid .wpr-grid-media-wrap{container-type:inline-size}
.wpr-grid .wpr-grid-media-hover-middle .wpr-grid-item-post_tag.wpr-grid-tax-style-2{position:absolute;right:5cqw;bottom:5cqw;width:auto;margin:0;line-height:0}
.wpr-grid .wpr-grid-tax-style-2 .inner-block a{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:clamp(54px,34cqw,112px);aspect-ratio:1;margin:0!important;padding:.5em!important;
  font-size:clamp(9px,4.8cqw,15px)!important;line-height:1.05;text-align:center;white-space:normal;transform:rotate(-8deg)}

/* header menu: one line, same position on every page */
.hfe-nav-menu__layout-horizontal .hfe-nav-menu{flex-wrap:nowrap}
.hfe-nav-menu__layout-horizontal .hfe-nav-menu li{white-space:nowrap}
@media (min-width:1025px) and (max-width:1279px){
  .hfe-nav-menu__layout-horizontal .hfe-nav-menu>li{margin-right:12px!important}
  .hfe-nav-menu__layout-horizontal .hfe-nav-menu .hfe-menu-item{font-size:12px!important;letter-spacing:.12em!important}
  .fs-header-search{display:none}
  .fs-header-right{--width:auto!important;width:auto!important}
  .fs-header-logo{--width:210px!important;width:210px!important}
  .fs-header-logo .elementor-widget-text-editor{display:none}
}

/* blog post content: even spacing between paragraphs, headings, lists, images, quotes and callout boxes.
   Change the rhythm by editing --fs-flow (space between blocks). */
.wpr-post-content,.single .entry-content{--fs-flow:26px;max-width:760px;margin-left:auto;margin-right:auto}
.wpr-post-content>*,.single .entry-content>*{margin-top:0;margin-bottom:var(--fs-flow)}
.wpr-post-content>:last-child,.single .entry-content>:last-child{margin-bottom:0}
.wpr-post-content>h2,.wpr-post-content>h3,.wpr-post-content>h4,
.single .entry-content>h2,.single .entry-content>h3,.single .entry-content>h4{margin-top:calc(var(--fs-flow)*1.85);margin-bottom:14px}
.wpr-post-content>:first-child,.single .entry-content>:first-child{margin-top:0}
.wpr-post-content>figure,.wpr-post-content>.wp-block-image,.wpr-post-content>.wp-block-group,.wpr-post-content>blockquote,.wpr-post-content>.wp-block-quote,.wpr-post-content>.wp-block-pullquote,.wpr-post-content>.wprm-recipe-container,
.single .entry-content>figure,.single .entry-content>.wp-block-group,.single .entry-content>blockquote,.single .entry-content>.wprm-recipe-container{margin-top:calc(var(--fs-flow)*1.4);margin-bottom:calc(var(--fs-flow)*1.4)}
.wpr-post-content .wp-block-group>*:last-child{margin-bottom:0}
.wpr-post-content .wp-block-group>*{margin-top:0}
.wpr-post-content figure img{display:block}
.wpr-post-content ol,.wpr-post-content ul{padding-left:1.4em}
.wpr-post-content li+li{margin-top:.35em}

/* no grey drop shadow behind post images (Astra adds one by default).
   Shadows set on an Elementor image widget still work. */
.ast-article-single figure,.ast-article-single img:not(figure img),.ast-article-single figure img{box-shadow:none}
