/*
Theme Name: VisualCasino
Theme URI: https://visualcasino.net/
Author: VisualCasino
Description: Block theme for visualcasino.net. Colors, type, and spacing come from theme.json presets.
Version: 3.0.3
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: visualcasino
*/

/* Block styles, type, and color live in theme.json. */

/*
 * Chromium collapses word spaces in Mona Sans when @font-face declares a
 * font-stretch range. Lock stretch and keep a visible word gap.
 */
html,
body,
.wp-site-blocks {
	font-stretch: 100%;
	font-variation-settings: "wdth" 100;
	word-spacing: 0.2em;
}

footer.wp-block-template-part {
	display: block;
	width: 100%;
	align-self: stretch;
	box-sizing: border-box;
}

.vc-footer-grid {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 900px) {
	.vc-footer-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.vc-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

form.apt-contact-form,
form.vc-contact-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.apt-contact-form input,
.apt-contact-form textarea {
	width: 100%;
	box-sizing: border-box;
	background: #17171e;
	color: #f4f4f6;
	border: 1px solid #3a3a47;
	border-radius: 10px;
	padding: 12px 14px;
	font: inherit;
	font-stretch: 100%;
	font-variation-settings: "wdth" 100;
	word-spacing: 0.2em;
}

.wp-block-group.is-layout-flex.is-vertical:has(> .is-layout-grid),
.wp-block-group.is-layout-flex.is-vertical:has(> .wp-block-columns),
.wp-block-group.is-layout-flex.is-vertical:has(> .is-content-justification-space-between) {
	align-items: stretch;
	width: 100%;
}

.wp-block-group.is-layout-grid,
.wp-block-columns {
	width: 100%;
	min-width: 0;
	align-self: stretch;
}
