/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.1.6
Text Domain: hello-elementor-child
*/

/*
 * Only styles Elementor has no control for live here.
 * Everything else (layout, colours, typography, spacing) is set in Elementor.
 */

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
.sp h1.elementor-heading-title,
.sp h2.elementor-heading-title,
.sp h3.elementor-heading-title { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--e-global-color-accent); outline-offset: 3px; border-radius: 4px; }

/* Frosted-glass header (no backdrop-filter control in Elementor) */
.sp-header { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* Coloured accent word (<em>) inside a heading */
.sp-em-accent em { font-style: italic; font-weight: 400; color: var(--e-global-color-accent); }
.sp-em-secondary em { font-style: italic; color: var(--e-global-color-secondary); }
.sp-em-deep em { font-style: italic; color: var(--e-global-color-honeydeep); }

/* Button: arrow sits 10px from the label and nudges right on hover */
.sp-btn .elementor-button { transition-property: transform, background-color, box-shadow; transition-timing-function: ease; }
.sp-btn .elementor-button-text { display: inline-flex; align-items: center; gap: 10px; }
.sp-btn .arrow { font-family: 'Helvetica Neue', Arial, sans-serif; transition: transform .18s ease; }
.sp-btn .elementor-button:hover .arrow { transform: translateX(4px); }

/* Micro text under the buttons: 6px between rows when the items wrap */
.sp-micro .elementor-icon-list-items { row-gap: 6px; }

/* Hero photo crop (the image widget only offers the nine preset positions) */
.sp-hero-photo img { object-position: center 30% !important; }

/* Icons and the footer logo: no line-box padding around them, so they are exactly as tall as drawn */
.sp .elementor-icon-wrapper, .sp-lh0 { line-height: 0; }

/* Hero glows: blurred colour discs (no blur control for a plain colour overlay); they never catch clicks */
.sp-glow { pointer-events: none; }
.sp-glow::before { filter: blur(70px); }

/* Strike-through line colour (done items in the portal mockup) */
.sp-done { text-decoration-color: var(--e-global-color-sand); }

/* Mind/Business circles: blend where they overlap, and slide together once (venn.js toggles .apart) */
.elementor .sp-venn .sp-venn-mind,
.elementor .sp-venn .sp-venn-biz { transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.sp-venn .sp-venn-biz { mix-blend-mode: multiply; }
.sp-venn.apart .sp-venn-mind { transform: translateX(-46px); }
.sp-venn.apart .sp-venn-biz { transform: translateX(46px); }
@media (max-width: 760px) {
	.sp-venn.apart .sp-venn-mind { transform: translateY(-34px); }
	.sp-venn.apart .sp-venn-biz { transform: translateY(34px); }
}

/* Closing section: blurred photo bleeds past the edges so the blur has no soft border */
.sp-final::before { inset: -30px; width: auto; height: auto; transform: scale(1.1); }

/* FAQ: round badge behind the + icon; it turns 45° into × when open */
.sp-faq.elementor-widget-n-accordion .e-n-accordion-item-title-icon {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--e-global-color-tint);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .2s ease, background .2s ease;
}
.sp-faq.elementor-widget-n-accordion .e-n-accordion-item[open] .e-n-accordion-item-title-icon {
	transform: rotate(45deg);
	background: var(--e-global-color-secondary);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.sp-btn .elementor-button, .sp-btn .arrow, .sp-venn .sp-venn-mind, .sp-venn .sp-venn-biz,
	.sp-faq.elementor-widget-n-accordion .e-n-accordion-item-title-icon { transition: none !important; }
}
