/* The card that stands in for another company's embed until the visitor asks for it (src/Privacy/EmbedGate.php).
   Tokens from theme.json; the fallbacks are the same values. */
.bnjc-embed {
	box-sizing: border-box;
	display: grid;
	place-items: center;
	inline-size: 100%;
	min-block-size: 220px;
	padding: 16px;
	overflow: auto;
	place-items: safe center;
	background: var(--wp--preset--color--cream-deep, #F6EBDD);
	color: var(--wp--preset--color--navy, #191B6F);
	border-radius: var(--wp--custom--radius--md, 8px);
	text-align: center;
}
.bnjc-embed--video:not(.is-fill) {
	aspect-ratio: 16 / 9;
}
/* Given the iframe's own box (a padded wrapper, the iframe positioned inside it, about 190px high on a phone): fill it, with less around the words,
   and let the card scroll rather than clip. */
.bnjc-embed.is-fill {
	min-block-size: 0;
	padding: 8px 12px;
}
.bnjc-embed.is-fill .bnjc-embed__card {
	gap: 4px;
}
.bnjc-embed.is-fill .bnjc-embed__title {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.bnjc-embed__card {
	display: grid;
	gap: 8px;
	max-inline-size: 36rem;
}
.bnjc-embed__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--heading-s, 1.25rem);
	font-weight: 700;
	line-height: 1.2;
}
.bnjc-embed__privacy {
	margin: 0;
	font-size: var(--wp--preset--font-size--small, 1rem);
	line-height: 1.4;
}
.bnjc-embed__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 16px;
	margin: 4px 0 0;
}
.bnjc-embed__btn {
	min-block-size: var(--wp--custom--layout--touch-min, 44px);
	padding: 0 24px;
	background: var(--wp--preset--color--navy, #191B6F);
	color: var(--wp--preset--color--white, #FFFFFF);
	border: 0;
	border-radius: var(--wp--custom--radius--pill, 999px);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.bnjc-embed__btn:hover {
	background: var(--wp--preset--color--navy-darkest, #0B0C38);
}
.bnjc-embed__link {
	display: inline-flex;
	align-items: center;
	min-block-size: var(--wp--custom--layout--touch-min, 44px);
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.bnjc-embed__btn:focus-visible,
.bnjc-embed__link:focus-visible {
	outline: 2px solid var(--wp--preset--color--navy, #191B6F);
	outline-offset: 3px;
	box-shadow: 0 0 0 5px var(--wp--preset--color--white, #FFFFFF);
}
