/**
 * Plantilla taxonomy-tipo_propiedad — testimonios y copy de Por qué.
 * Bicolor (crema ↔ azul): assets/css/components/bicolor.css
 */

/* Por qué (tax): --mwm-tax-copy lo define bicolor.css (crema / azul). */
body .mwm-por-que.mwm-por-que--tax-bicolor-sync h2.mwm-por-que__kicker.has-foreground-color,
body .mwm-por-que.mwm-por-que--tax-bicolor-sync p.mwm-por-que__intro.has-foreground-color,
body .mwm-por-que.mwm-por-que--tax-bicolor-sync .mwm-benefits-grid__card h3.has-foreground-color {
	color: var(--mwm-tax-copy) !important;
}

.mwm-tax-testimonios-wrap {
	margin-top: 0 !important;
}

.mwm-tax-testimonios-wrap .wp-block-nerjavillas-testimonios {
	background-color: transparent;
	margin-top: 0 !important;
}

/* Fase azul (bicolor activo): texto claro sobre quaternary — Figma 4118:50711. */
body.has-bicolor-phase-blue .mwm-tax-testimonios-wrap .testimonios-header__title h2,
body.has-bicolor-phase-blue .mwm-tax-testimonios-wrap .testimonios-description,
body.has-bicolor-phase-blue .mwm-tax-testimonios-wrap .testimonios-description em {
	color: var(--wp--preset--color--background);
	transition: color 0.65s cubic-bezier(0.45, 0, 0.55, 1);
}

body.has-bicolor-phase-blue .mwm-tax-testimonios-wrap .testimonios-rating,
body.has-bicolor-phase-blue .mwm-tax-testimonios-wrap .testimonios-rating__text {
	color: var(--wp--preset--color--background);
	transition: color 0.65s cubic-bezier(0.45, 0, 0.55, 1);
}

body.has-bicolor-phase-blue .mwm-tax-testimonios-wrap .testimonios-rating__icon svg {
	color: var(--wp--preset--color--background);
	transition: color 0.65s cubic-bezier(0.45, 0, 0.55, 1);
}

body.has-bicolor-phase-blue .mwm-tax-testimonios-wrap .testimonios-nav__btn {
	background-color: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.45);
	color: var(--wp--preset--color--background);
	transition:
		background-color 0.65s cubic-bezier(0.45, 0, 0.55, 1),
		border-color 0.65s cubic-bezier(0.45, 0, 0.55, 1),
		color 0.65s cubic-bezier(0.45, 0, 0.55, 1);
}

body.has-bicolor-phase-blue .mwm-tax-testimonios-wrap .testimonios-nav__btn:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

body.has-bicolor-phase-blue .mwm-tax-testimonios-wrap .testimonios-card {
	background-color: transparent;
}

body.has-bicolor-phase-blue .mwm-tax-testimonios-wrap .testimonios-card::before {
	border-top-color: rgba(255, 255, 255, 0.35);
	border-bottom-color: rgba(255, 255, 255, 0.35);
	transition: border-color 0.65s cubic-bezier(0.45, 0, 0.55, 1);
}

body.has-bicolor-phase-blue .mwm-tax-testimonios-wrap .testimonios-card::after {
	background-color: rgba(255, 255, 255, 0.35);
	transition: background-color 0.65s cubic-bezier(0.45, 0, 0.55, 1);
}

body.has-bicolor-phase-blue .mwm-tax-testimonios-wrap .testimonios-card__header,
body.has-bicolor-phase-blue .mwm-tax-testimonios-wrap .testimonios-card__date {
	color: var(--wp--preset--color--background);
	transition: color 0.65s cubic-bezier(0.45, 0, 0.55, 1);
}

body.has-bicolor-phase-blue .mwm-tax-testimonios-wrap .testimonios-card__quote {
	color: rgba(255, 255, 255, 0.82);
	transition: color 0.65s cubic-bezier(0.45, 0, 0.55, 1);
}

body.has-bicolor-phase-blue .mwm-tax-testimonios-wrap .testimonios-card__toggle {
	color: var(--wp--preset--color--background);
	transition: color 0.65s cubic-bezier(0.45, 0, 0.55, 1);
}

body.has-bicolor-phase-blue .mwm-tax-testimonios-wrap .testimonios-card__toggle-line {
	color: var(--wp--preset--color--background);
	transition: color 0.65s cubic-bezier(0.45, 0, 0.55, 1);
}

body.has-bicolor-phase-blue .mwm-tax-testimonios-wrap .testimonios-card__toggle:focus-visible {
	outline-color: var(--wp--preset--color--background);
}
