/*
Theme Name: WhenWiz
Theme URI: https://whenwiz.com
Author: WhenWiz
Description: Block theme for WhenWiz.
Version: 1.0.2
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: whenwiz
*/

header .wp-block-group.is-layout-flex,
header .wp-block-buttons.is-layout-flex,
header .wp-block-navigation .wp-block-navigation__container {
	flex-wrap: nowrap;
	align-items: center;
}

header .wp-block-image {
	flex: 0 0 auto;
	margin: 0;
}

header .wp-block-navigation-item__content,
header .wp-block-button__link {
	white-space: nowrap;
}

header .wp-block-button__link {
	padding: 8px 14px;
}

.whenwiz-modal {
	width: min(28rem, calc(100vw - 32px));
	margin: auto;
	padding: 28px;
	border: 2px solid #191928;
	border-radius: 28px;
	background: #fdfaf4;
	color: #191928;
	font-family: "Bricolage Grotesque", sans-serif;
}

.whenwiz-modal::backdrop {
	background: rgba(25, 25, 40, 0.45);
}

.whenwiz-modal h2 {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.15;
}

.whenwiz-modal p {
	margin: 0 0 20px;
	font-size: 17px;
	line-height: 1.4;
}

.whenwiz-modal-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.whenwiz-modal button {
	margin: 0;
	padding: 14px 24px;
	border: 2px solid #191928;
	border-radius: 99px;
	background: transparent;
	color: #191928;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.whenwiz-modal [data-whenwiz-modal-confirm] {
	background: #f97c3d;
}
