/*
 * Turio Child: visual fixes from the staging review (step 2).
 * Loaded after the parent styles, so these rules override them.
 */

/* 1. Hero headline: replace the outline text with solid, readable type.
 *    The parent uses -webkit-text-stroke with a transparent fill, which is hard to read over photos. */
.hero-style-one .hero-single-slide .hero-content-bg .hero-content h2 {
	color: #ffffff;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.hero-style-one .hero-single-slide .hero-content-bg .hero-content h2 span {
	-webkit-text-stroke: 0;
	-webkit-text-fill-color: var(--c-primary, #5aa45a);
	color: var(--c-primary, #5aa45a);
}

/* 2. Hero background: never show the flat grey fallback. Darken the photo slightly
 *    so the white and green text stays legible on phones. */
.hero-style-one .hero-single-slide .hero-content-bg {
	background-color: #1d2a1f;
}

.hero-style-one .hero-single-slide .hero-content-bg::before {
	background: linear-gradient(180deg, rgba(10, 20, 12, 0.35) 0%, rgba(10, 20, 12, 0.7) 100%);
}

/* 3. Phones: smaller headline so long titles don't fill the first screen. */
@media (max-width: 767px) {
	.hero-style-one .hero-single-slide .hero-content-bg .hero-content h2 {
		font-size: 2.1rem;
		line-height: 1.15;
		letter-spacing: 0.02em;
	}
}

/* 4. Floating buttons: keep the WhatsApp button clear of the bottom edge and safe-area inset.
 *    The chat widget removal is handled in the plugin audit. */
@media (max-width: 767px) {
	body {
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
}
