/*
Theme Name: CSLB | IFA
Author: 
Author URI: 
Theme URI: 
Tags: full-site-editing, block-patterns
Text Domain: cslb-ifa
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 100.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

/* Ensure vertically centered columns can stretch to full height (opt-in). */
.cslb-full-height-columns.wp-block-columns {
	align-items: stretch;
}

.cslb-full-height-columns .wp-block-column.is-vertically-aligned-center {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.cslb-full-height-columns .wp-block-column.is-vertically-aligned-center > .wp-block-group {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Allow slider to escape constrained layout when overlap is used (desktop only). */
@media (min-width: 1024px) {
	.cslb-full-height-columns .card-slider {
		max-width: none;
		margin-right: 0 !important;
		margin-left: -10% !important;
		width: calc(100% + 10%);
	}
}
