/**
 * Site-wide Cookie consent presentation.
 * Desktop: short bottom bar. Mobile: compact bottom sheet.
 * Consent storage and tag activation remain owned by the consent component.
 */
[data-jcr-consent].jcr-consent {
	position: fixed;
	z-index: 9999;
	inset: auto 0 0;
	display: grid;
	grid-template-columns: minmax(18rem, 1.35fr) minmax(15rem, .9fr) minmax(16rem, auto);
	grid-template-rows: auto auto auto;
	column-gap: clamp(1.25rem, 3vw, 3rem);
	row-gap: .35rem;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	min-height: 156px;
	max-height: 200px;
	margin: 0;
	padding: 1rem max(1rem, calc((100vw - 1180px) / 2));
	border: 0;
	border-top: 1px solid #c9d7e0;
	border-radius: 0;
	background: #fff;
	color: #172033;
	box-shadow: 0 -12px 34px rgba(18, 48, 74, .16);
	font-size: .82rem;
	line-height: 1.45;
}
[data-jcr-consent][hidden].jcr-consent { display: none; }
[data-jcr-consent].jcr-consent h2 {
	grid-column: 1;
	grid-row: 1;
	margin: 0;
	color: #12304a;
	font-size: 1rem;
	line-height: 1.35;
}
[data-jcr-consent].jcr-consent > p { margin: 0; }
[data-jcr-consent].jcr-consent > p:first-of-type {
	grid-column: 1;
	grid-row: 2;
	max-width: 44rem;
	color: #3f5261;
}
[data-jcr-consent].jcr-consent label {
	display: inline-flex;
	grid-column: 2;
	align-items: center;
	gap: .45rem;
	margin: 0;
	padding: .2rem 0;
	background: transparent;
	color: #172033;
	font-size: .8rem;
	font-weight: 700;
	cursor: pointer;
}
[data-jcr-consent].jcr-consent label:first-of-type { grid-row: 1; align-self: end; }
[data-jcr-consent].jcr-consent label:nth-of-type(2) { grid-row: 2; align-self: start; }
[data-jcr-consent].jcr-consent input[type="checkbox"] {
	width: 1.05rem;
	height: 1.05rem;
	margin: 0;
	accent-color: #146c94;
}
[data-jcr-consent].jcr-consent > p:nth-of-type(2) {
	grid-column: 1;
	grid-row: 3;
}
[data-jcr-consent].jcr-consent a {
	color: #0c6189;
	font-weight: 700;
	text-underline-offset: 3px;
}
[data-jcr-consent].jcr-consent .jcr-consent__choices {
	grid-column: 3;
	grid-row: 1 / span 2;
	display: grid;
	grid-template-columns: repeat(2, minmax(7.5rem, 1fr));
	gap: .65rem;
	align-self: center;
	margin: 0;
}
[data-jcr-consent].jcr-consent button {
	min-height: 44px;
	padding: .65rem 1rem;
	border: 2px solid #12304a;
	border-radius: .5rem;
	font: inherit;
	font-size: .8rem;
	font-weight: 850;
	cursor: pointer;
}
[data-jcr-consent].jcr-consent .jcr-consent__accept {
	background: #12304a;
	color: #fff;
}
[data-jcr-consent].jcr-consent .jcr-consent__decline {
	background: #fff;
	color: #12304a;
}
[data-jcr-consent].jcr-consent button:hover { box-shadow: 0 6px 16px rgba(18, 48, 74, .16); }
[data-jcr-consent].jcr-consent button:focus-visible,
.jcr-consent-reopen:focus-visible {
	outline: 3px solid #f29f05;
	outline-offset: 3px;
}
[data-jcr-consent].jcr-consent .jcr-consent__note {
	grid-column: 2 / span 2;
	grid-row: 3;
	color: #60717e;
	font-size: .72rem;
	text-align: right;
}
.jcr-consent-reopen {
	position: fixed;
	z-index: 9998;
	right: 1rem;
	bottom: 1rem;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	min-height: 38px;
	padding: .5rem .95rem;
	border: 1px solid #d5e0e7;
	border-radius: 999px;
	background: #fff;
	color: #172033;
	font-size: .76rem;
	font-weight: 700;
	box-shadow: 0 .5rem 1.25rem rgba(18, 48, 74, .14);
	cursor: pointer;
}
.jcr-consent-reopen:before {
	content: "";
	width: .5rem;
	height: .5rem;
	border-radius: 50%;
	background: #f29f05;
}
@media (max-width: 960px) {
	[data-jcr-consent].jcr-consent {
		grid-template-columns: minmax(0, 1fr) minmax(16rem, .65fr);
		grid-template-rows: repeat(5, auto);
		max-height: 240px;
		padding: .9rem 1rem;
	}
	[data-jcr-consent].jcr-consent h2 { grid-column: 1; grid-row: 1; }
	[data-jcr-consent].jcr-consent > p:first-of-type { grid-column: 1; grid-row: 2; }
	[data-jcr-consent].jcr-consent label:first-of-type { grid-column: 1; grid-row: 3; }
	[data-jcr-consent].jcr-consent label:nth-of-type(2) { grid-column: 1; grid-row: 4; }
	[data-jcr-consent].jcr-consent > p:nth-of-type(2) { grid-column: 1; grid-row: 5; }
	[data-jcr-consent].jcr-consent .jcr-consent__choices { grid-column: 2; grid-row: 1 / span 5; }
	[data-jcr-consent].jcr-consent .jcr-consent__note { display: none; }
}
@media (max-width: 600px) {
	[data-jcr-consent].jcr-consent {
		display: block;
		max-height: min(58vh, 430px);
		padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
		border-radius: 1rem 1rem 0 0;
		overflow-y: auto;
	}
	[data-jcr-consent].jcr-consent h2 { margin-bottom: .35rem; }
	[data-jcr-consent].jcr-consent > p:first-of-type { margin-bottom: .45rem; }
	[data-jcr-consent].jcr-consent label {
		display: inline-flex;
		margin: .2rem 1rem .35rem 0;
	}
	[data-jcr-consent].jcr-consent > p:nth-of-type(2) { margin: .1rem 0 .55rem; }
	[data-jcr-consent].jcr-consent .jcr-consent__choices {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: .55rem;
	}
	[data-jcr-consent].jcr-consent .jcr-consent__note {
		display: block;
		margin-top: .45rem;
		font-size: .68rem;
		text-align: left;
	}
	.jcr-consent-reopen { right: .65rem; bottom: .65rem; }
}
@media print {
	[data-jcr-consent].jcr-consent,
	.jcr-consent-reopen { display: none; }
}
