/* Cookie banner (includes/consent.php). Both buttons look the same on purpose: no nudging. */
.cc-consent {
	position: fixed;
	z-index: 1000;
	left: 16px;
	right: 16px;
	bottom: 16px;
	max-width: 640px;
	margin-inline: auto;
	padding: 1rem 1.2rem;
	border-radius: 12px;
	border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
	background: var(--wp--preset--color--base, #fff);
	color: var(--wp--preset--color--contrast, #111);
	box-shadow: 0 8px 30px rgb(0 0 0 / 0.18);
	font-size: 0.95rem;
	line-height: 1.45;
}

.cc-consent[hidden] {
	display: none;
}

.cc-consent__text {
	margin: 0 0 0.8rem;
}

.cc-consent__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.6rem;
}

.cc-consent__actions button {
	min-height: 44px;
	border: 1px solid var(--wp--preset--color--contrast, #111);
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.cc-consent__actions button:focus-visible {
	outline: 3px solid color-mix(in srgb, currentColor 55%, transparent);
	outline-offset: 2px;
}
