/**
 * Cookie choice banner. Deliberately quiet: it sits at the bottom, does not block the
 * page, and both answers carry identical visual weight — declining must be exactly as
 * easy as accepting, or the consent is not real.
 */

.bgm-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99990;
	background: #152033;          /* midnight navy */
	color: #fff9f4;               /* warm ivory */
	box-shadow: 0 -2px 16px rgba(0, 0, 0, .18);
	font: 14px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	padding: 16px 20px;
	box-sizing: border-box;
	/* The copy has to name Google and Meta to be honest, which makes it longer than
	   a one-liner. Cap the height so it can never swallow a short phone screen, and
	   let it scroll rather than pushing the buttons out of reach. */
	max-height: 70vh;
	overflow-y: auto;
}

.bgm-consent[hidden] { display: none; }

.bgm-consent-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.bgm-consent-text {
	margin: 0;
	flex: 1 1 460px;
	min-width: 260px;
}

.bgm-consent-text a {
	color: #c8a56a;               /* champagne gold */
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bgm-consent-actions {
	display: flex;
	gap: 10px;
	flex: 0 0 auto;
}

/* Same size, same padding, same prominence for both choices. */
.bgm-consent-btn {
	font: 600 14px/1 inherit;
	padding: 11px 20px;
	border-radius: 6px;
	cursor: pointer;
	border: 1px solid #c8a56a;
	min-width: 118px;
	min-height: 44px;             /* comfortable tap target */
}

.bgm-consent-yes { background: #c8a56a; color: #152033; }
.bgm-consent-no  { background: transparent; color: #fff9f4; }

.bgm-consent-btn:hover  { opacity: .88; }
.bgm-consent-btn:focus-visible {
	outline: 3px solid #fff9f4;
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.bgm-consent { font-size: 13px; padding: 14px 16px; }
	.bgm-consent-inner { gap: 14px; }
	.bgm-consent-actions { width: 100%; }
	.bgm-consent-btn { flex: 1 1 0; }
}

/* ---------------------------------------------------------- per-purpose choice */

/* A text-weight third option: "Let me choose" must be available but must not
   compete with the two real answers, or the banner starts nudging. */
.bgm-consent-link {
	background: none;
	border: 0;
	padding: 4px 0;
	color: #c8a56a;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
	flex: 0 0 auto;
}
.bgm-consent-link:focus-visible { outline: 3px solid #fff9f4; outline-offset: 2px; }

.bgm-consent-choices {
	flex: 1 1 100%;
	border-top: 1px solid rgba(255, 249, 244, .18);
	margin-top: 4px;
	padding-top: 14px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.bgm-consent-choices[hidden] { display: none; }

.bgm-consent-choice {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	line-height: 1.5;
	cursor: pointer;
}
.bgm-consent-choice input {
	margin: 3px 0 0;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	accent-color: #c8a56a;
}

.bgm-consent-save { align-self: flex-start; background: #c8a56a; color: #152033; }

@media (max-width: 600px) {
	.bgm-consent-save { width: 100%; }
}
