/* RMS Cookie Consent. Themes override the --rcc-* variables on .rcc. */
.rcc {
	--rcc-bg: #fff;
	--rcc-text: #222;
	--rcc-muted: #5f6b7a;
	--rcc-accent: #24548a;
	--rcc-on-accent: #fff;
	--rcc-line: #e3e8ee;
	--rcc-radius: 12px;
	--rcc-shadow: 0 18px 44px rgb(16 24 40 / 18%);
	--rcc-font: inherit;
	font-family: var(--rcc-font);
	font-size: 14px;
	line-height: 1.5;
	color: var(--rcc-text);
}

.rcc [hidden] {
	display: none !important;
}

.rcc__banner {
	position: fixed;
	z-index: 2147483000;
	box-sizing: border-box;
	padding: 18px 20px;
	background: var(--rcc-bg);
	border: 1px solid var(--rcc-line);
	border-radius: var(--rcc-radius);
	box-shadow: var(--rcc-shadow);
}

.rcc--box .rcc__banner {
	bottom: 16px;
	left: 16px;
	width: min(420px, calc(100vw - 32px));
}

.rcc--bar .rcc__banner {
	right: 16px;
	bottom: 16px;
	left: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	align-items: center;
}

.rcc--bar .rcc__banner .rcc__text {
	flex: 1 1 420px;
	margin: 0;
}

.rcc--bar .rcc__banner .rcc__title {
	flex-basis: 100%;
}

.rcc__title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--rcc-text);
}

.rcc__text {
	margin: 0 0 14px;
	color: var(--rcc-muted);
}

.rcc__text a {
	color: var(--rcc-accent);
	text-decoration: underline;
}

.rcc__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.rcc__btn {
	flex: 1 1 auto;
	min-height: 40px;
	padding: 8px 16px;
	font: inherit;
	font-weight: 600;
	color: var(--rcc-on-accent);
	cursor: pointer;
	background: var(--rcc-accent);
	border: 1px solid var(--rcc-accent);
	border-radius: calc(var(--rcc-radius) * 0.67);
}

.rcc__btn:hover {
	filter: brightness(1.1);
}

.rcc__link {
	padding: 8px 4px;
	font: inherit;
	color: var(--rcc-accent);
	text-decoration: underline;
	cursor: pointer;
	background: none;
	border: 0;
}

.rcc__btn:focus-visible,
.rcc__link:focus-visible,
.rcc__close:focus-visible,
.rcc__switch input:focus-visible {
	outline: 2px solid var(--rcc-accent);
	outline-offset: 2px;
}

.rcc__dialog {
	box-sizing: border-box;
	width: min(560px, calc(100vw - 32px));
	max-height: calc(100dvh - 32px);
	padding: 0;
	overflow: auto;
	color: var(--rcc-text);
	background: var(--rcc-bg);
	border: 0;
	border-radius: var(--rcc-radius);
	box-shadow: var(--rcc-shadow);
}

.rcc__dialog::backdrop {
	background: rgb(10 16 24 / 50%);
}

.rcc__panel {
	padding: 22px 24px;
}

.rcc__head {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	justify-content: space-between;
}

.rcc__close {
	width: 32px;
	height: 32px;
	margin: -6px -8px 0 0;
	font-size: 24px;
	line-height: 1;
	color: var(--rcc-muted);
	cursor: pointer;
	background: none;
	border: 0;
	border-radius: 50%;
}

.rcc__cats {
	padding: 0;
	margin: 0 0 18px;
	list-style: none;
	border-top: 1px solid var(--rcc-line);
}

.rcc__cat {
	padding: 12px 0;
	border-bottom: 1px solid var(--rcc-line);
}

.rcc__cat p {
	margin: 4px 0 0 30px;
	color: var(--rcc-muted);
}

.rcc__switch {
	display: flex;
	gap: 10px;
	align-items: center;
	font-weight: 600;
	cursor: pointer;
}

.rcc__switch input {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--rcc-accent);
}

.rcc__switch input:disabled + span {
	cursor: default;
}

@media (max-width: 480px) {
	.rcc--box .rcc__banner,
	.rcc--bar .rcc__banner {
		right: 8px;
		bottom: 8px;
		left: 8px;
		width: auto;
	}
}

@media print {
	.rcc {
		display: none;
	}
}
