/*
Theme Name: Cretamel
Theme URI: https://iam.yiannismakrakis.gr
Description: Cretamel is a fast, standalone WordPress theme built for Elementor. It supports the full Elementor Theme Builder: header, footer, single, archive, search, 404 and WooCommerce locations. No parent theme required.
Author: Yiannis M
Author URI: https://iam.yiannismakrakis.gr
Version: 3.9.6
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: cretamel
Tags: elementor, page-builder, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks, rtl-language-support
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* ==========================================================================
   Add your custom styles below.
   The theme base styles live in assets/css/. Do not edit those on updates -
   override them here instead.
   ========================================================================== */

/* Keep the home footer newsletter fields aligned when Turnstile inserts its
   widget inside Elementor's narrow submit column. The widget remains visible
   and part of the form, on a full row beneath the email and submit button. */
#newsletter_form .elementor-form-fields-wrapper {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
	align-items: center;
}

#newsletter_form .elementor-field-group-email {
	grid-column: 1;
	grid-row: 1;
	width: 100%;
}

#newsletter_form .e-form__buttons {
	display: contents;
}

#newsletter_form .e-form__buttons > button {
	grid-column: 2;
	grid-row: 1;
	justify-self: start;
}

#newsletter_form .e-form__buttons > .elementor-turnstile-field {
	grid-column: 1 / -1;
	grid-row: 2;
	width: 100% !important;
	margin: 12px 0 0 !important;
	display: flex !important;
	justify-content: left;
}

@media (max-width: 767px) {
	#newsletter_form .elementor-form-fields-wrapper {
		grid-template-columns: minmax(0, 1fr);
	}

	#newsletter_form .e-form__buttons > button {
		grid-column: 1;
		grid-row: 2;
		margin-top: 12px;
	}

	#newsletter_form .e-form__buttons > .elementor-turnstile-field {
		grid-column: 1;
		grid-row: 3;
	}
}
