/**
 * Typeout Highlight Block Styles
 *
 * @package made-to-thrive-2026-base
 * @since 1.0.0
 */

.typeout-highlight {
	position: relative;
	width: 100%;
	padding: 3rem 2rem;
	background-image: url('../../assets/images/gray-topo2.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.typeout-highlight-container {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	max-width: 672px;
	border: 5px solid #D3B055;
	border-radius: 12px;
	background: #F8F2DF;
	padding: 35px 30px 26px;
}

/* Top Title */
.typeout-highlight-top-title {
	font-family: var(--wp--preset--font-family--sunrider, sans-serif);
	font-size: 35px;
	font-weight: 400;
	color: var(--wp--preset--color--dark-brown, #2F2E2C);
	text-transform: uppercase;
	letter-spacing: 0;
	margin: 0;
	line-height: 1.2;
}

/* SVG Wrapper */
.typeout-highlight-svg-wrapper {
	position: relative;
	width: 100%;
	max-width: 580px;
	margin: 1rem 0;
}

.typeout-highlight-svg {
	width: 100%;
	height: auto;
	display: block;
}

.typeout-highlight-svg svg {
	/* Force responsiveness even if the pasted SVG includes width/height or inline styles */
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	display: block;
}

/* Hide paths initially for animation */
.typeout-highlight-svg path {
	opacity: 0;
	transition: opacity 0.3s ease;
}

/* Show paths when animated */
.typeout-highlight-svg path.animated {
	opacity: 1;
}

/* Screen reader text */
.typeout-highlight-svg-wrapper .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* Bottom Title */
.typeout-highlight-bottom-title {
	font-family: var(--wp--preset--font-family--sunrider, sans-serif);
	font-size: 35px;
	font-weight: 400;
	color: var(--wp--preset--color--dark-brown, #2F2E2C);
	text-transform: uppercase;
	letter-spacing: 0;
	margin: 0;
	line-height: 1.2;
}

/* Responsive Styles */
@media (max-width: 768px) {
	.typeout-highlight {
		padding: 3rem 1.5rem;
	}

	.typeout-highlight-container {
		gap: 1.5rem;
	}

	.typeout-highlight-top-title,
	.typeout-highlight-bottom-title {
		font-size: 1.25rem;
	}

	.typeout-highlight-svg-wrapper {
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.typeout-highlight {
		padding: 2rem 1rem;
	}

	.typeout-highlight-top-title,
	.typeout-highlight-bottom-title {
		font-size: 1rem;
	}
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
	.typeout-highlight-svg path {
		opacity: 1;
		transition: none;
	}
}

