/*
Theme Name: UROSPOT
Theme URI: https://urospot.com/
Author: Giant Creative Inc.
Author URI: https://giantcreative.ca/
Description: UROSPOT child theme for Beanstalk.
Version: 1.3.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.0
Template: beanstalk
Text Domain: beanstalk-child
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Shared container gutters, with UROSPOT's 32px compact desktop spacing. */
:root {
	--urospot-site-gutter: var(--wp--preset--spacing--16);
}

@media (min-width: 768px) {
	:root {
		--urospot-site-gutter: var(--wp--preset--spacing--24);
	}
}

@media (min-width: 1024px) {
	:root {
		--urospot-site-gutter: var(--wp--preset--spacing--32);
	}
}

@media (min-width: 1281px) {
	:root {
		--urospot-site-gutter: var(--wp--preset--spacing--48);
	}
}

@media (min-width: 1439px) {
	:root {
		--urospot-site-gutter: var(--wp--preset--spacing--64);
	}
}

/* Shared primary and outline interaction states, including keyboard focus. */
.wp-block-button:where(.is-style-primary, :not([class*="is-style-"])) .wp-block-button__link:is(:hover, :focus-visible) {
	background: transparent !important;
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary) !important;
}

.wp-block-button:where(.is-style-primary, .is-style-outline, .is-style-scroll-text-outline, :not([class*="is-style-"])) .wp-block-button__link:is(:hover, :focus-visible)::before {
	display: none;
}

.wp-block-button:where(.is-style-outline, .is-style-scroll-text-outline) .wp-block-button__link:is(:hover, :focus-visible) {
	background: var(--wp--preset--color--white) !important;
	border-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--black) !important;
}

/* Match the attachment-backed pin to the copper interaction text. */
.wp-block-button:where(.is-style-primary, :not([class*="is-style-"])) .wp-block-button__link:is(:hover, :focus-visible) img[src$="/urospot-scroll-text-clinic-location.png"] {
	filter: brightness(0) saturate(100%) invert(73%) sepia(24%) saturate(678%) hue-rotate(338deg) brightness(94%) contrast(89%);
}
