/*
 * BRN Cookies — elements that live in the page itself: placeholders for
 * blocked embeds and the output of the shortcodes.
 */

.brn-cookies-ph {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	max-width: 100%;
	min-height: 180px;
	padding: 24px;
	background: #f2f3f5 center / cover no-repeat;
	color: #2b2f33;
	text-align: center;
	font-size: 15px;
	line-height: 1.5;
	border-radius: 4px;
	overflow: hidden;
}

.brn-cookies-ph.brn-cookies-ph-fill {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	z-index: 2;
}

.brn-cookies-ph-thumb::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .6);
}

.brn-cookies-ph-thumb {
	color: #fff;
}

.brn-cookies-ph-inner {
	position: relative;
	max-width: 440px;
}

.brn-cookies-ph-inner p {
	margin: 0 0 14px;
	color: inherit;
}

.brn-cookies-ph .brn-cookies-ph-btn {
	display: inline-block;
	padding: 9px 20px;
	border: 0;
	border-radius: 4px;
	background: var(--brn-cookies-ph-btn-bg, #1863dc);
	color: var(--brn-cookies-ph-btn-text, #fff);
	font: inherit;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
}

.brn-cookies-ph .brn-cookies-ph-btn:hover {
	opacity: .9;
}

.brn-cookies-ph .brn-cookies-ph-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* [brn_cookies_table] */
.brn-cookies-table-wrap {
	overflow-x: auto;
	margin: 0 0 1.5em;
}

.brn-cookies-table-wrap h3 {
	margin: 1.4em 0 .4em;
}

.brn-cookies-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .92em;
}

.brn-cookies-table th,
.brn-cookies-table td {
	padding: 8px 10px;
	border: 1px solid rgba(0, 0, 0, .12);
	text-align: start;
	vertical-align: top;
}

.brn-cookies-table th {
	background: rgba(0, 0, 0, .04);
	font-weight: 600;
}

.brn-cookies-table td:first-child {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	word-break: break-all;
}

/* [brn_cookies_settings] */
.brn-cookies-settings-btn {
	cursor: pointer;
}
