/**
 * Styling for the Pichimapu Info Highlights Elementor widget.
 *
 * The desktop layout keeps both fixed-icon messages visible. On mobile the
 * messages share one grid cell so the frontend script can cross-fade them.
 */

.pmm-info-highlights,
.pmm-info-highlights *,
.pmm-info-highlights *::before,
.pmm-info-highlights *::after {
	box-sizing: border-box;
}

.pmm-info-highlights {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	color: var(--color-brand-950, #013044);
	font-family: var(--font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.pmm-info-highlights__track {
	display: flex;
	align-items: center;
	width: 100%;
	min-width: 0;
	gap: 32px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.pmm-info-highlights__item {
	display: flex;
	align-items: center;
	min-width: 0;
	flex: 1 1 0;
	gap: 8px;
	margin: 0;
	padding: 0;
	color: inherit;
	list-style: none;
}

.pmm-info-highlights__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	color: var(--color-teal-700, #047d7b);
	line-height: 1;
}

.pmm-info-highlights__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.pmm-info-highlights__text {
	min-width: 0;
	color: var(--color-brand-950, #013044);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.45;
}

@media (max-width: 767px) {
	.pmm-info-highlights__track {
		display: grid;
		align-items: center;
		gap: 0;
	}

	.pmm-info-highlights__item {
		grid-area: 1 / 1;
		width: 100%;
		flex: none;
		justify-content: center;
		text-align: center;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 400ms ease, visibility 400ms ease;
	}

	.pmm-info-highlights__item.is-active {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pmm-info-highlights__item {
		transition: none;
	}
}
