/*
 * Panos Tours: the cookie question. A quiet wine panel fixed to the bottom, clear of the mobile action bar; only when
 * Analytics is on. Accept is the one lamp (primary) action. Square corners, pill buttons, 3px lamp focus from base.css.
 */

.pt-consent {
	position: fixed;
	z-index: 60; /* above the action bar (40) and the header over the hero (45) */
	left: var(--gutter);
	right: var(--gutter);
	bottom: 16px;
	max-width: 560px;
	padding: 22px 24px 24px;
	background: var(--wine2);
	border: 1px solid var(--line);
	border-left: 3px solid var(--lamp);
	box-shadow: 0 18px 48px rgba(10, 4, 8, .55);
	font-size: 17px;
	line-height: 1.5;
}
.pt-consent[hidden] { display: none; }
.pt-consent p { margin: 0 0 14px; max-width: 60ch; }
.pt-consent__title { font: 300 26px/1.25 var(--serif); color: var(--marble); margin-bottom: 8px; }
.pt-consent__text { color: var(--marble-soft); }
.pt-consent a { color: var(--marble); text-decoration-color: var(--mute); }
.pt-consent a:hover { text-decoration-color: var(--marble); }
.pt-consent__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pt-consent__actions .pt-btn { flex: 1 1 140px; }

@media (max-width: 819px) {
	/* Above the fixed action bar, never over its buttons. */
	.pt-consent {
		bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px) + 12px);
		max-width: none;
		padding: 16px 16px 18px;
		font-size: 16px;
	}
	.pt-consent__title { font-size: 22px; }
}

/* The footer item that reopens the question looks like the other footer links. */
.pt-linklike {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--mute);
	font: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
	text-decoration-color: var(--marble-edge);
	cursor: pointer;
}
.pt-linklike:hover { color: var(--marble); text-decoration-color: currentColor; }
