/*
Theme Name: Johannes Child
Template: johannes
Version: 1.0.0
Description: Child theme con correzioni SEO/tecniche.
*/

/* Hero: pulsante secondario leggibile su sfondo chiaro */
.johannes-button-secondary { color: #a1247d; box-shadow: inset 0 0 0 2px #a1247d; background: transparent; }
.johannes-button-secondary:hover { color: #fff; background: #a1247d; }

/* Testimonianze: modulo allineato al testo della pagina */
.strong-view.strong-form { max-width: none; margin: 0; padding: 0; }
.strong-view.strong-form .wpmtst-form { margin: 0; padding: 0; }
.strong-view.strong-form .wpmtst-form-field { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
.strong-view.strong-form .wpmtst-form-field input[type="text"],
.strong-view.strong-form .wpmtst-form-field textarea { width: 100%; box-sizing: border-box; }
.strong-view.strong-form .form-field-required-notice, .strong-view.strong-form .required-notice { margin-left: 0; padding-left: 0; }
.strong-view.strong-form .strong-form-inner { padding: 0; }

/* Consenso: casella, testo e asterisco sulla stessa riga */
.strong-view.strong-form .wpmtst-field-consenso .wpmtst-field-wrap { display: flex; align-items: flex-start; gap: .7em; }
.strong-view.strong-form .wpmtst-field-consenso input[type="checkbox"] { flex: 0 0 auto; margin-top: .3em; }
.strong-view.strong-form .wpmtst-field-consenso .wpmtst-checkbox-label { margin: 0; flex: 1 1 auto; }

/* Testimonianze: titolo in alto, testo, nome piccolo in fondo */
.strong-view .wpmtst-testimonial-inner { display: flex; flex-direction: column; }
.strong-view .wpmtst-testimonial-inner > * { order: 1; }
.strong-view .wpmtst-testimonial-inner > .wpmtst-testimonial-content { order: 2; }
.strong-view .wpmtst-testimonial-inner > .testimonial-name {
	order: 3; margin: .2em 0 0; font-size: 1rem; font-weight: 600; letter-spacing: 0;
	text-transform: none; color: #6b7280;
}
.strong-view .wpmtst-testimonial-inner > .testimonial-name::before { content: "— "; }
