/*
Theme Name: Convesio Refresh
Theme URI: https://convesio.com
Author: Convesio
Author URI: https://convesio.com
Description: Ollie child theme implementing the Convesio design system via theme.json.
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.2.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: ollie
Text Domain: convesio-refresh
Tags: full-site-editing, block-patterns, block-styles
*/

/* Site header — sticky in document flow; transparent over hero, frosted once scrolled. */
.is-style-header-shell.convesio-site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	width: 100%;
	max-width: none;
	margin-left: 0 !important;
	margin-right: 0 !important;
	z-index: 100;
	box-sizing: border-box;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition:
		background-color 220ms cubic-bezier(0.2, 0.6, 0.2, 1),
		border-color 220ms cubic-bezier(0.2, 0.6, 0.2, 1),
		backdrop-filter 220ms cubic-bezier(0.2, 0.6, 0.2, 1),
		-webkit-backdrop-filter 220ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

.is-style-header-shell.convesio-site-header.is-scrolled {
	background: rgba(250, 251, 252, 0.88);
	border-bottom-color: rgba(11, 18, 32, 0.08);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
}

@media (prefers-reduced-motion: reduce) {
	.is-style-header-shell.convesio-site-header {
		transition: none;
	}
}

/* Ollie core/quote: border width 0 0 0 5px !important — wins over child theme.json merge. */
.wp-block-quote {
	border-width: 1px !important;
	border-style: solid !important;
	border-color: var(--wp--preset--color--border-light, #ececec) !important;
}

.wp-block-quote.is-style-quote-card {
	border-color: var(--wp--custom--color--hairline, rgba(11, 18, 32, 0.08)) !important;
}
