/* SW Consent retains behavior; the active theme supplies its existing tokens. */
.sw-consent {
	border-top-color: var(--wp--preset--color--champagne);
	background: var(--wp--preset--color--ivory);
	color: var(--wp--preset--color--navy);
	font-family: var(--wp--preset--font-family--instrument-sans);
}

.sw-consent__inner {
	width: min(calc(100% - 2 * var(--wp--custom--layout--page-gutter)), var(--wp--style--global--wide-size));
}

.sw-consent__button,
.sw-consent-settings-button {
	min-height: 44px;
	border: 1px solid var(--wp--preset--color--navy);
	border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--ivory);
	color: var(--wp--preset--color--navy);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.sw-consent__button:hover,
.sw-consent-settings-button:hover {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--ivory);
}

.sw-consent__button:focus-visible,
.sw-consent-settings-button:focus-visible,
.sw-consent a:focus-visible,
.sw-consent__category input:focus-visible {
	outline: 3px solid var(--wp--preset--color--navy);
	outline-offset: 4px;
}

.sw-consent__category input {
	accent-color: var(--wp--preset--color--navy);
}

.sw-consent a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.epb-footer .sw-consent-settings-button {
	max-width: 100%;
	padding: 0.625rem 1rem;
	border-color: var(--wp--preset--color--champagne);
	background: transparent;
	color: var(--wp--preset--color--ivory);
}

.epb-footer .sw-consent-settings-button:hover {
	background: var(--wp--preset--color--ivory);
	color: var(--wp--preset--color--navy);
}

.epb-footer .sw-consent-settings-button:focus-visible {
	outline-color: var(--wp--preset--color--ivory);
}
