/*
Theme Name: Donat Child (Palistory)
Template: donat
Description: Palistory child theme. Adds the Stories posts page and single post templates.
Version: 1.0.5
Text Domain: donat-child
*/

/* Home: FREE KEFFIYEH banner -> Our Story Tellers.
   The original site cancels .st-section's -60px pull-up with
   `.gift-section + .ws-st-bgwrap .st-section`, which needs the two blocks to be
   direct siblings. In Elementor each sits in its own container, so match that. */
.e-con:has(.gift-section) + .e-con .ws-st-bgwrap > .st-section {
	margin-top: 0;
}

/* Contact form: Turnstile between message and submit */
.wpcf7-form .pa-turnstile { margin: 4px 0 20px; min-height: 65px; }

/* Footer newsletter (Contact Form 7): keep the original look */
.newsletter-widget .wpcf7 .screen-reader-response { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.newsletter-form.wpcf7-form .wpcf7-form-control-wrap { display:block; }
.newsletter-form.wpcf7-form .wpcf7-not-valid-tip,
.newsletter-form.wpcf7-form .wpcf7-response-output,
.newsletter-form.wpcf7-form .wpcf7-spinner { display:none !important; }
.newsletter-form.wpcf7-form .form-control.wpcf7-not-valid { border-color:#ffb4ab; }

/* Footer newsletter input text */
/* dark on the white field */
.newsletter-widget .form-group.style-dark .form-control,
.newsletter-widget .form-group.style-dark .form-control:focus {
	color: var(--title-color, #1F1F1F);
	-webkit-text-fill-color: var(--title-color, #1F1F1F);
	caret-color: var(--title-color, #1F1F1F);
}
.newsletter-widget .form-group.style-dark .form-control:-webkit-autofill {
	-webkit-text-fill-color: var(--title-color, #1F1F1F);
	-webkit-box-shadow: 0 0 0 1000px #fff inset;
}

/* Footer newsletter: Turnstile below the email field */
.newsletter-form.wpcf7-form .pa-nl-turnstile { margin-top: 16px; min-height: 65px; }
