/*	==================================================
Theme Name:   Phlox Child
Theme URI:    https://mentamorph.com/
Description:  Child theme of Phlox, for MentaMorph. 
Author:       XIMBALO
Template:     phlox-pro
Version:      1.0.0
Text Domain:  phlox-child
 *	================================================== */
/*	--------------------------------------------------
	Child Theme Custom CSS (D-027)
	Style in Elementor first; add CSS here only when it is required.
	Required CSS: A level of customization not possible in Elementor.
	Organization: one section per page or component; 
	comment each rule with the page	or element it targets.
 *	-------------------------------------------------- */


/*	--------------------------------------------------
	Home: feature boxes (class "mm-feature-card" on the three
	card widgets). The button turns white while its box is
	hovered. Elementor/Phlox can only react to hovering the
	button itself, and has no button text color setting.
	Colors follow Elementor's global colors.
 *	-------------------------------------------------- */
.mm-feature-card .aux-button,
.mm-feature-card .aux-button * {
	transition: background-color .3s ease, color .3s ease;
}
.mm-feature-card:hover .aux-button,
.mm-feature-card:hover .aux-button .aux-overlay::after {
	background-color: var(--e-global-color-accent, #FFFFFF) !important;
}
.mm-feature-card:hover .aux-button,
.mm-feature-card:hover .aux-button .aux-text,
.mm-feature-card:hover .aux-button .aux-icon {
	color: var(--e-global-color-text, #292929) !important;
}

/* Phlox's button skin uses Questrial in bold, a weight that font does not have: the browser fakes it
   and the label looks doubled. The widget's own typography setting does not reach the button. */
.mm-feature-card .aux-button,
.mm-feature-card .aux-button .aux-text {
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0;
	text-shadow: none;
	-webkit-text-stroke: 0;
}

/*	--------------------------------------------------
	Site-wide "Request a Demo" banner (top block of the global
	footer): not shown on Sign Up (page 588), the page it
	links to. Free Elementor has no display conditions.
 *	-------------------------------------------------- */
.page-id-588 .mm-global-cta {
	display: none !important;
}

/*	--------------------------------------------------
	Header (template 648): shrinks to about half height once
	the page is scrolled. Phlox adds .aux-sticky to the fixed
	header; free Elementor has no scroll effects.
 *	-------------------------------------------------- */
.elementor-648 .e-con,
.elementor-648 .e-con-inner,
.elementor-648 .elementor-widget-image,
.elementor-648 .elementor-widget-image img,
.elementor-648 .elementor-button {
	transition: all .25s ease;
}
.aux-elementor-header.aux-sticky .elementor-648 > .e-con {
	--padding-top: 6px;
	--padding-bottom: 6px;
}
.aux-elementor-header.aux-sticky .elementor-648 .elementor-widget-image {
	width: 150px !important;
	--container-widget-width: 150px;
}
.aux-elementor-header.aux-sticky .elementor-648 .elementor-widget-image img {
	width: 150px !important;
}
.aux-elementor-header.aux-sticky .elementor-648 .elementor-button {
	padding-top: 10px;
	padding-bottom: 10px;
}
@media (max-width: 767px) {
	.aux-elementor-header.aux-sticky .elementor-648 .elementor-widget-image,
	.aux-elementor-header.aux-sticky .elementor-648 .elementor-widget-image img {
		width: 120px !important;
		--container-widget-width: 120px;
	}
}

/*	--------------------------------------------------
	Long text blocks (class "mm-rich" on text widgets):
	sub-headings, lists and quotes inside one text box,
	which the widget's Style tab cannot set.
 *	-------------------------------------------------- */
.mm-rich p { margin: 0 0 14px; }
.mm-rich p:last-child, .mm-rich ul:last-child, .mm-rich ol:last-child { margin-bottom: 0; }
.mm-rich h4 {
	font-family: "Poppins", sans-serif; font-size: 1.2em; font-weight: 600; line-height: 1.35;
	color: var(--e-global-color-primary, #6027CE); margin: 18px 0 8px;
}
.mm-rich h4:first-child { margin-top: 0; }
.mm-rich ul, .mm-rich ol { margin: 0 0 14px; padding-left: 22px; }
.mm-rich ul li { list-style: disc; margin-bottom: 6px; }
.mm-rich ol li { list-style: decimal; margin-bottom: 6px; }
.mm-rich a { color: var(--e-global-color-primary, #6027CE); font-weight: 600; }
.mm-rich blockquote { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; font-style: italic; color: var(--e-global-color-primary, #6027CE); }
.mm-rich blockquote p, .mm-rich blockquote { font-size: 1em; line-height: 1.7; }
.mm-rich blockquote::before, .mm-rich blockquote::after { display: none; content: none; }

/*	--------------------------------------------------
	Form popup (assets/mm-popup.js)
 *	-------------------------------------------------- */
.mm-dialog {
	width: min(760px, 96vw); height: min(900px, 92vh); max-width: 96vw; max-height: 92vh; padding: 0; margin: auto;
	border: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px rgba(46, 18, 112, .45);
}
.mm-dialog[open] { display: flex; flex-direction: column; }
.mm-dialog::backdrop { background: rgba(46, 18, 112, .72); }
.mm-dialog-bar {
	display: flex; align-items: center; gap: 16px; padding: 10px 14px 10px 20px;
	background: var(--e-global-color-primary, #6027CE); color: #fff; font-family: "Poppins", sans-serif;
}
.mm-dialog-bar strong { flex: 1; font-size: 16px; font-weight: 600; }
.mm-dialog-bar a { color: #fff; font-size: 13px; text-decoration: underline; }
.mm-dialog-bar button {
	width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #fff;
	color: #292929; font-size: 24px; line-height: 1; cursor: pointer;
}
.mm-dialog iframe { flex: 1; width: 100%; border: 0; }
.mm-dialog-open { overflow: hidden; }
@media (max-width: 767px) {
	.mm-dialog { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; border-radius: 0; }
	.mm-dialog-bar a { display: none; }
}

/*	--------------------------------------------------
	Home feature boxes: buttons on one line (texts differ in
	length) and a quick, clean hover fade.
 *	-------------------------------------------------- */
@media (min-width: 768px) {
	.mm-feature-card .widget-content { min-height: 4.95em; }
}
.mm-feature-card .aux-widget-advanced-text,
.mm-feature-card .aux-widget-advanced-text *,
.mm-feature-card .aux-button .aux-overlay::after {
	transition-duration: .2s !important;
	transition-delay: 0s !important;
}

/* Contact Us: the GoHighLevel form stacks into one column on phones and needs more height there. */
@media (max-width: 767px) {
	iframe[src*="leadconnectorhq.com/widget/form"] { height: 1420px !important; }
}
