/**
 * The notice an outside video or form shows in its own place while the
 * visitor's consent choice does not cover it. Loaded only while GatorCo >
 * Settings > Analytics > Consent required is ticked. Drawn by consent.js.
 */

.gatorco-consent-notice {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	box-sizing: border-box;
	min-height: 220px;
	margin: 0 0 24px;
	padding: 24px 20px;
	background: var(--color-ink, #221f20);
	color: #fff;
	font-size: 15px;
	line-height: 1.45;
	text-align: center;
}

/* Over a video's still, inside the 16:9 box the player will take. */
.gatorco-video__item > .gatorco-consent-notice {
	position: absolute;
	inset: 0;
	z-index: 2;
	min-height: 0;
	margin: 0;
	background: rgba(34, 31, 32, 0.92);
}

.gatorco-consent-notice__text {
	max-width: 34em;
	margin: 0;
	color: inherit;
}

.gatorco-consent-notice__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0;
}

.gatorco-consent-notice__allow,
.gatorco-consent-notice__settings {
	min-height: 44px;
	padding: 10px 20px;
	border: 2px solid #fff;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.gatorco-consent-notice__allow {
	border-color: var(--color-brand-primary, #be3437);
	background: var(--color-brand-primary, #be3437);
}

.gatorco-consent-notice__allow:hover,
.gatorco-consent-notice__allow:focus-visible,
.gatorco-consent-notice__settings:hover,
.gatorco-consent-notice__settings:focus-visible {
	border-color: #fff;
	background: #fff;
	color: var(--color-ink, #221f20);
}

.gatorco-consent-notice__allow:focus-visible,
.gatorco-consent-notice__settings:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/*
 * The site's own cookie settings panel, opened from the footer link under the
 * regional rule (no consent tool installed). Drawn by consent.js.
 */

.gatorco-consent-panel {
	box-sizing: border-box;
	width: min(460px, calc(100vw - 32px));
	padding: 24px;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: var(--color-ink, #221f20);
	font-size: 15px;
	line-height: 1.5;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.gatorco-consent-panel::backdrop {
	background: rgba(34, 31, 32, 0.6);
}

.gatorco-consent-panel__title {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.2;
}

.gatorco-consent-panel__text,
.gatorco-consent-panel__note {
	margin: 0 0 16px;
}

.gatorco-consent-panel__note {
	font-weight: 700;
}

.gatorco-consent-panel__choice {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	margin: 0 0 16px;
	font-weight: 700;
	cursor: pointer;
}

.gatorco-consent-panel__choice input {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--color-brand-primary, #be3437);
}

.gatorco-consent-panel__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.gatorco-consent-panel__save,
.gatorco-consent-panel__close {
	min-height: 44px;
	padding: 10px 20px;
	border: 2px solid var(--color-ink, #221f20);
	border-radius: 0;
	background: transparent;
	color: var(--color-ink, #221f20);
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.gatorco-consent-panel__save {
	border-color: var(--color-brand-primary, #be3437);
	background: var(--color-brand-primary, #be3437);
	color: #fff;
}

.gatorco-consent-panel__save:hover,
.gatorco-consent-panel__save:focus-visible {
	border-color: var(--color-brand-primary-hover, #96292b);
	background: var(--color-brand-primary-hover, #96292b);
}

.gatorco-consent-panel__close:hover,
.gatorco-consent-panel__close:focus-visible {
	background: var(--color-ink, #221f20);
	color: #fff;
}

.gatorco-consent-panel__save:focus-visible,
.gatorco-consent-panel__close:focus-visible,
.gatorco-consent-panel__choice input:focus-visible {
	outline: 2px solid var(--color-ink, #221f20);
	outline-offset: 2px;
}

@media (max-width: 599px) {
	.gatorco-consent-notice {
		gap: 10px;
		padding: 12px;
		font-size: 13px;
	}

	.gatorco-consent-notice__allow,
	.gatorco-consent-notice__settings {
		padding: 8px 14px;
	}
}
