/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* ==========================================================================
   Whizzo custom styles
   Moved from Appearance > Customise > Additional CSS (19 Nov 2026)
   ========================================================================== */

/* Buttons – hover and focus state
   -------------------------------------------------------------------------- */
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
a.button:hover,
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
a.button:focus,
a.wp-block-button__link:not(.has-background):active,
a.wp-block-button__link:not(.has-background):focus,
a.wp-block-button__link:not(.has-background):hover {
	color: #ffffff;
	background-color: #5db5ff;
}

/* Header – nav links and mobile menu button
   -------------------------------------------------------------------------- */
.whz-nav a {
	font: 600 15.5px/1 "Figtree", sans-serif;
	color: #0a2340;
	margin-left: 30px;
	text-decoration: none;
}

.whz-nav a:hover {
	color: #053880;
	text-decoration: underline;
	text-underline-offset: 5px;
}

@media (max-width: 1024px) {
	.whz-burger {
		display: flex;
		flex-direction: column;
	}
}

@media (max-width: 880px) {
	.whz-nav {
		display: none;
	}
}

/* Inner page heroes – the Roo standing bottom right on desktop
   (heroes without a right-hand column)
   -------------------------------------------------------------------------- */
.wz-hero:not(:has(.wz-hero-right)) {
	--min-height: 0px !important;
	min-height: 0 !important;
}

@media (min-width: 1025px) {
	.wz-hero:not(:has(.wz-hero-right)) {
		min-height: 560px !important;
		--min-height: 560px !important;
	}

	.wz-hero:not(:has(.wz-hero-right)) > .e-con-inner::after {
		content: "";
		position: absolute;
		z-index: 1;
		bottom: 0;
		right: max(24px, calc(50% - 560px));
		width: 250px;
		height: 390px;
		background: url(/wp-content/uploads/2026/11/image-2.png) no-repeat center bottom / contain;
		pointer-events: none;
		filter: drop-shadow(0 18px 30px rgba(30, 64, 175, 0.18));
	}
}

/* Free concept form – card heading
   -------------------------------------------------------------------------- */
.wzd-cardhead-title {
	font-size: 30px !important;
	line-height: 1.15;
}

@media (max-width: 767px) {
	.wzd-cardhead-title {
		font-size: 26px !important;
	}
}

/* Ask the Roo chat bot – avatar (full face, nose included)
   -------------------------------------------------------------------------- */
.wzbot-face {
	background: url(/wp-content/uploads/2026/11/roo-face-full.png) center / cover no-repeat #eaf3ff !important;
}

/* Client area (My account) – stop GP Premium WooCommerce styles overriding
   the Whizzo client area plugin's menu
   -------------------------------------------------------------------------- */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
	width: auto !important;
	float: none !important;
}

body .woocommerce-MyAccount-navigation ul {
	border: 3px solid var(--wzc-navy);
}

body .woocommerce-MyAccount-navigation li {
	border: 0;
}

body .woocommerce-MyAccount-navigation li a {
	padding: 11px 14px;
	font-size: 15px;
	border: 0;
}
