/* Cookie banner: a slim bar across the full width, flush with the bottom of the screen.
   Its text and buttons line up with the site's content column.
   The font is set directly because the banner may sit outside the page body. */

.webmason-consent {
	position: fixed;
	top: auto;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	max-width: none;
	margin: 0;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 24px;
	padding: 12px max(36px, calc((100% - 1200px) / 2 + 36px));
	background: #fff;
	color: #1d2b3a;
	border: 0;
	border-top: 1px solid #dde4ee;
	border-radius: 0;
	box-shadow: 0 -6px 24px #1d2b3a14;
	font-family: "Nunito", "Avenir Next", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	z-index: 40
}

.webmason-consent-message {
	flex: 1 1 300px;
	margin: 0;
	color: #4b5666;
	font-family: inherit;
	font-size: 14px
}

.webmason-consent-privacy {
	color: #2f6fde;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px
}

.webmason-consent-actions {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
	margin: 0
}

.webmason-consent-button {
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	padding: 9px 18px;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background .2s, border-color .2s
}

.webmason-consent-accept {
	background: #2f6fde;
	color: #fff
}

	.webmason-consent-accept:hover {
		background: #2359bd
	}

.webmason-consent-decline {
	background: transparent;
	color: #1d2b3a;
	border-color: #cbd7ea
}

	.webmason-consent-decline:hover {
		border-color: #2f6fde
	}

.webmason-consent-button:focus-visible, .webmason-consent-privacy:focus-visible {
	outline: 3px solid #ffd166;
	outline-offset: 3px
}

/* Tablets */

@media(max-width:850px) {
	.webmason-consent {
		padding: 12px 24px
	}
}

/* Phones: text on top, buttons side by side below */

@media(max-width:620px) {
	.webmason-consent {
		padding: 14px 16px
	}

	.webmason-consent-message {
		flex-basis: 100%
	}

	.webmason-consent-actions {
		width: 100%
	}

		.webmason-consent-actions .webmason-consent-button {
			flex: 1
		}
}

@media print {
	.webmason-consent, .webmason-consent-settings {
		display: none !important
	}
}