/* Supportivo cookie consent banner */

.cookie-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9998;
	background: var(--ink);
	color: var(--paper);
	padding: 16px 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	box-shadow: 0 -10px 30px -12px rgba(11, 11, 12, .25);
	font-family: var(--font);
}

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

.cookie-consent__text {
	flex: 1 1 320px;
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

.cookie-consent__text a {
	color: var(--paper);
	text-decoration: underline;
}

.cookie-consent__actions {
	display: flex;
	gap: 10px;
	flex: 0 0 auto;
}

.cookie-consent__btn {
	padding: 10px 20px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14px;
	border: 1px solid transparent;
	white-space: nowrap;
	transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.cookie-consent__btn--accept {
	background: var(--accent);
	color: #fff;
}

.cookie-consent__btn--accept:hover {
	background: var(--accent-dark);
}

.cookie-consent__btn--decline {
	background: transparent;
	border-color: rgba(245, 243, 238, .4);
	color: var(--paper);
}

.cookie-consent__btn--decline:hover {
	background: rgba(245, 243, 238, .12);
	border-color: var(--paper);
}

@media (max-width: 560px) {
	.cookie-consent {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.cookie-consent__actions {
		justify-content: center;
	}
}
