/*
Theme Name: Marigold
Theme URI: https://demos.southerncreativeco.com/marigold/
Description: Marigold is a website template for home cleaning, organizing and moving businesses by Southern Creative Co. Keep the free Astra theme installed as the parent theme. Your colors and fonts live in Elementor > Site Settings > Global Colors and Global Fonts, so you can change them once and the whole site updates.
Author: Southern Creative Co
Author URI: https://southerncreativeco.com
Template: astra
Version: 1.0.5
Text Domain: marigold
*/

/* ------------------------------------------------------------------
   Design polish. These small fixes have no setting in Elementor.
   They never override a color, font or size you set in a panel.
   ------------------------------------------------------------------ */

/* remove the extra baseline gap under button widgets */
.elementor-widget-button,.elementor-widget-button .elementor-button-wrapper{line-height:0;font-size:0}
/* bold inside body copy and headings uses the lighter medium weight */
.elementor-widget-text-editor strong,.elementor-heading-title strong{font-weight:500}
/* balanced line breaks on text given the "mg-pretty" CSS class (Advanced tab) */
.mg-pretty .elementor-heading-title,.mg-pretty p{text-wrap:pretty}
/* blockquotes inside blog posts follow Site Settings > Global Fonts and Colors */
.elementor-widget-wpr-post-content blockquote,.single-post .entry-content blockquote{margin:12px 0;padding:8px 0 8px 28px;border:0;border-left:2px solid var(--e-global-color-accent);
  font-family:var(--e-global-typography-primary-font-family),sans-serif;font-weight:300;font-size:26px;line-height:1.4;color:var(--e-global-color-primary);font-style:normal}
.elementor-widget-wpr-post-content blockquote p{margin:0}
/* sticky header on desktop and tablet, as in the design */
@media(min-width:768px){.ehf-header #masthead{position:sticky;top:0;z-index:50}.admin-bar.ehf-header #masthead{top:32px}}
/* 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,.fluentform button{
  font-family:var(--e-global-typography-text-font-family,"Figtree"),Helvetica,Arial,sans-serif}
/* post grid titles follow Site Settings > Global Fonts (headings) */
.wpr-grid-item-title a,.wpr-grid-item-title .inner-block>*{
  font-family:var(--e-global-typography-primary-font-family,"Josefin Sans"),Helvetica,Arial,sans-serif}

/* newsletter form: email field and button stay on one line at every screen size */
.mg-inline-form .ff-t-container{display:flex;flex-direction:row;gap:0}
.mg-inline-form .ff-t-container .ff-t-cell{margin:0;flex:0 0 auto;width:auto;max-width:none}
.mg-inline-form .ff-t-container .ff-t-cell:first-child{flex:1 1 auto;min-width:0}
.mg-inline-form .ff-el-group{margin-bottom:0}
.mg-inline-form .ff-t-cell .ff_submit_btn_wrapper,.mg-inline-form .ff-t-cell .ff-btn-submit{height:100%;margin:0}

/* contact form: "I'm interested in" options shown as pill buttons (colors follow Global Colors) */
.mg-chips .ff-el-input--content{display:flex;flex-wrap:wrap;gap:10px}
.mg-chips .ff-el-form-check{margin:0}
.mg-chips .ff-el-form-check-label{display:inline-block;border:1px solid var(--e-global-color-primary);border-radius:999px;padding:10px 18px;
  font-size:14px;line-height:normal;color:var(--e-global-color-secondary);cursor:pointer;transition:background-color .2s,color .2s}
.mg-chips .ff-el-form-check-input{position:absolute;opacity:0;width:1px;height:1px}
.mg-chips .ff-el-form-check-label:has(input:checked){background:var(--e-global-color-primary);color:var(--e-global-color-mgcream)}

/* blog post body spacing (Royal Post Content has no spacing controls) */
.elementor-widget-wpr-post-content .wpr-post-content>*,.elementor-widget-wpr-post-content .elementor-widget-container>*{margin:0 0 24px}
.elementor-widget-wpr-post-content h2{margin-top:40px}
.elementor-widget-wpr-post-content figure img{width:100%;height:380px;object-fit:cover}
/* blog post featured image: same height range as the design (add the "mg-post-hero" CSS class) */
.mg-post-hero img{width:100%;height:clamp(320px,45vw,600px);object-fit:cover;object-position:50% 40%}

/* phone overlay menu: center the text on the Contact button */
.hfe-flyout-content .menu-item a.hfe-menu-item.elementor-button{justify-content:center!important;text-align:center;margin-top:12px}
