/**
 * Theme Name:       Mai Terrafiniti
 * Theme URI:        https://bizbudding.com/mai-theme/
 * Description:      Mai Sparkle theme for the Genesis Framework.
 * Author:           BizBudding
 * Author URI:       https://bizbudding.com/
 * Version:          2.0.3
 * Text Domain:      mai-theme
 * Template:         genesis
 * Template Version: 3.3.1
 * License:          GPL-2.0-or-later
 * License URI:      http://www.gnu.org/licenses/gpl-2.0.html
 */

 :root {
    --font-scale: 1.15;
    --menu-font-weight: 400;
    --menu-text-transform: uppercase;
    --menu-item-link-color: var(--color-secondary);
    --menu-item-link-color-hover: var(--color-primary);
    /*--site-header-wrap-width: 100%;*/
    --site-header-wrap-max-width: 100%;
    --menu-font-size: var(--font-size-sm);
    --menu-item-link-padding: 16px 10px;
 }

 /* Header */
.before-header {
 z-index: 14;
}

.before-header .wp-block-group__inner-container {
    max-width: 100%;
}

/* Home page */
.home-hero .home-resources {
    background: rgba(92,93,138,0.74);
    padding: 10px;
    border-radius: 10px;
}

.equal-height-columns > .wp-block-column {
    display: flex;
    margin-left: 0;
}

.three-colour {
    background: linear-gradient(to right, #E00095 0%,#E00095 50%,#5d5e8b 50%,#5d5e8b 100%)
}

.latest-articles .wp-block-column {
    display: flex;
    flex-direction: column;
}

.latest-articles .wp-block-column .entries-grid {
    display: flex;
    flex-grow: 1;
}

.latest-articles .wp-block-column .entries-grid .entry-excerpt {
    flex-grow: 1;
}


/* Content */
.content.has-content-sidebar .archive-description,
.content.has-content-sidebar .entry,
.content.has-content-sidebar .comment-respond {
    background: #fff;
    padding: 40px;
}

.blog, .single {
    background: #e5e9ea url('./images/T9B-80.png') no-repeat top 200px center;
    background-size: 1600px 815px;
}

/* Custom Sidebars */
.sidebar > .widget.widget_lightpurple {
	background-color: #908ac2;
	color: #fff;
}

.sidebar .widget_calltoaction {
	padding: 0;
	height: 99px;
	background-color: transparent;
	border-left: 0;
	box-shadow: none;
}

.sidebar > .widget {
    border-left: 3px solid #d80092;
    padding: 30px;
    background-color: #fff;
}

.sidebar > .widget_media_image {
    background: transparent;
}

.sidebar .widget_recent_comments ul,
.sidebar .widget_recent_entries ul,
.sidebar .widget_categories ul {
    list-style-type: none;
}

.sidebar .widget_recent_comments .widget-wrap > ul,
.sidebar .widget_recent_entries .widget-wrap > ul,
.sidebar .widget_categories .widget-wrap > ul {
    margin-left: 0;
}

.sidebar .featured-content .entry,
.sidebar .widget_nav_menu .menu-item,
.sidebar .widget_recent_comments ul > li,
.sidebar .widget_recent_entries ul > li,
.sidebar .widget_categories ul > li {
    border-bottom: 1px solid #cdd4d8;
}

.sidebar .featured-content .entry {
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.sidebar .featured-content .entry:last-child,
.sidebar .widget_nav_menu .menu-item:last-child,
.sidebar .widget_categories ul.children > li,
.sidebar .widget_recent_comments ul > li:last-child,
.sidebar .widget_recent_entries ul > li:last-child,
.sidebar .widget_categories ul > li:last-child {
    border-bottom: none;
}

.sidebar .widget_nav_menu .menu-item-link {
    color: #d80092;
    text-transform: none;
}

.sidebar .widget_nav_menu .menu-item-link:focus,
.sidebar .widget_nav_menu .menu-item-link:hover {
    color: var(--body-color);
}

.sidebar .widget_media_image {
    border: none;
    padding: 0;
}

.sidebar .search-form-input {
    min-width: 130px;
    font-size: var(--font-size-sm);
}

.fbf-widget .subscription_btn {
    width: 100%;
    margin-top: 10px;
}

/* Featured Content Widget styling same as others &*/
.sidebar .featured-content .entry-title {
	font-family: var(--body-font-family );
	font-size: var(--sidebar-font-size);
	font-weight: var(--body-font-weight);
	line-height: var(body-line-height);
}

hr {
    margin-top: 20px;
}

/* Block Pattern Styling */
/* Services Block */
.services-block {
	border: 1px solid #657177;
	box-shadow: 8px 8px 8px #ccc;
}

.services-block .wp-block-cover .wp-block-cover__image-background {
	bottom: 0px;
	right: 0px;
	top: auto;
	left: auto;
	left: none;
}

.services-block .wp-block-cover img.wp-block-cover__image-background {
	width: 255px;
	height: 255px;
	transform: scale(0.80, 0.80);
}

/* Contact CTA */
.contact-cta img.wp-block-cover__image-background {
	width: 140px;
	height: 140px;
	right: -25px;
	bottom: auto;
	left: auto;
	clip-path: inset(30px 30px 0px 0px);
	margin-top: -25px;
}

/* Lead Magnet */
.lead-magnet a:after {
	content: "\2192";
	margin-left: var(--spacing-xs);
}

 /* Footer */

 .site-footer .menu {
     font-weight: 300;
     text-transform: none;
 }

 .site-footer p {
     font-size: var(--font-size-sm);
 }


  /* media Queries */
 @media (max-width: 782px) {
	.home .three-colour {
		padding: 0;
	}
	.home .three-colour .wp-block-columns {
		display: block;
	}
	.home .latest-articles .wp-block-column {
			flex-basis: 100%!important;
	}
	.home .wp-block-column:nth-child(2n) {
		margin-left: 0 !important;
	}
	.wp-block-image figcaption, figcaption {
		word-break: break-word;
	}
 }