/* Waterberg Document Library 1.1 */

/* In Elementor containers, fill the width (like Elementor's own Video and Maps widgets) unless a width is set under Advanced. */
.e-con .elementor-widget-wdm-document-library {
	width: 100%;
}

.wdl {
	container: wdl / inline-size;
	--wdl-accent: #0f7b3e;
	--wdl-text: #1f2328;
	--wdl-muted: #5f6b76;
	--wdl-surface: #fff;
	--wdl-head-bg: #f6f7f8;
	--wdl-head-text: #5f6b76;
	--wdl-border: #e3e6ea;
	--wdl-row-hover: #f8faf9;
	--wdl-control-border: #d0d5db;
	--wdl-control-height: 44px;
	--wdl-radius: 10px;
	--wdl-row-pad: 16px;
	color: var(--wdl-text);
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
}

.wdl *,
.wdl *::before,
.wdl *::after {
	box-sizing: border-box;
}

.wdl-sr,
.wdl .wdl-list a.wdl-btn--icon .wdl-btn__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.wdl .wdl-icon {
	display: inline-block;
	flex: none;
	width: 1em;
	height: 1em;
	vertical-align: middle;
}

.wdl a:focus-visible,
.wdl button:focus-visible,
.wdl input:focus-visible,
.wdl select:focus-visible {
	outline: 2px solid var(--wdl-accent);
	outline-offset: 2px;
}

/* ---------------------------------------------------------------- note for administrators */

.wdl .wdl-admin-note {
	margin: 0 0 16px;
	padding: 10px 14px;
	border: 1px dashed #d4a72c;
	border-radius: 8px;
	background: #fff8e1;
	color: #5c4400;
	font-size: 14px;
	line-height: 1.5;
}

.wdl .wdl-admin-note a {
	color: inherit;
	font-size: inherit;
	text-decoration: underline;
}

/* ---------------------------------------------------------------- toolbar: search, dropdowns, sort, year buttons */

.wdl .wdl-toolbar {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0 0 22px;
	padding: 0;
	border: 0;
	background: none;
}

.wdl .wdl-toolbar__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
}

.wdl .wdl-search {
	position: relative;
	flex: 1 1 280px;
	min-width: 200px;
	margin: 0;
}

.wdl .wdl-search .wdl-icon--search {
	position: absolute;
	top: 50%;
	left: 14px;
	transform: translateY(-50%);
	color: var(--wdl-muted);
	font-size: 18px;
	pointer-events: none;
}

.wdl .wdl-toolbar .wdl-search input.wdl-search__input,
.wdl .wdl-toolbar select.wdl-select {
	display: block;
	width: 100%;
	height: var(--wdl-control-height);
	min-height: 0;
	margin: 0;
	border: 1px solid var(--wdl-control-border);
	border-radius: var(--wdl-radius);
	background-color: var(--wdl-surface);
	box-shadow: none;
	color: var(--wdl-text);
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: normal;
	line-height: normal;
	text-transform: none;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wdl .wdl-toolbar .wdl-search input.wdl-search__input {
	padding: 0 14px 0 42px;
}

.wdl .wdl-toolbar .wdl-search input.wdl-search__input::placeholder {
	color: var(--wdl-muted);
	opacity: 0.85;
}

.wdl .wdl-toolbar select.wdl-select {
	padding: 0 36px 0 12px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235f6b76' stroke-width='1.5'/%3E%3C/svg%3E");
	background-position: right 12px center;
	background-repeat: no-repeat;
	background-size: 12px 8px;
	font-size: 14px;
	cursor: pointer;
}

.wdl .wdl-toolbar .wdl-search input.wdl-search__input:hover,
.wdl .wdl-toolbar select.wdl-select:hover {
	border-color: #aab2bb;
}

.wdl .wdl-toolbar .wdl-search input.wdl-search__input:focus,
.wdl .wdl-toolbar select.wdl-select:focus {
	border-color: var(--wdl-accent);
	box-shadow: 0 0 0 3px rgba(15, 123, 62, 0.15);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wdl-accent) 18%, transparent);
}

.wdl .wdl-field {
	flex: 0 1 200px;
	min-width: 150px;
	margin: 0;
}

.wdl .wdl-sortby {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 0 auto;
}

.wdl .wdl-sortby label {
	margin: 0;
	color: var(--wdl-muted);
	font-size: 14px;
	font-weight: 400;
	white-space: nowrap;
}

.wdl .wdl-toolbar .wdl-sortby select.wdl-select {
	width: auto;
	min-width: 180px;
}

.wdl .wdl-toolbar .wdl-submit {
	height: var(--wdl-control-height);
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: var(--wdl-radius);
	background: var(--wdl-accent);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.wdl.wdl--js .wdl-toolbar .wdl-submit {
	display: none;   /* search, filters and sorting apply instantly when JavaScript runs */
}

.wdl .wdl-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wdl .wdl-chips a.wdl-chip {
	display: inline-flex;
	align-items: center;
	height: 34px;
	margin: 0;
	padding: 0 15px;
	border: 1px solid var(--wdl-control-border);
	border-radius: 999px;
	background: var(--wdl-surface);
	color: var(--wdl-text);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: normal;
	line-height: 1;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.wdl .wdl-chips a.wdl-chip:hover {
	border-color: var(--wdl-accent);
	color: var(--wdl-accent);
}

.wdl .wdl-chips a.wdl-chip.is-active {
	border-color: var(--wdl-accent);
	background: var(--wdl-accent);
	color: #fff;
}

/* ---------------------------------------------------------------- summary line */

.wdl .wdl-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 16px;
	margin: 0 0 10px;
}

.wdl .wdl-count {
	margin: 0;
	color: var(--wdl-muted);
	font-size: 14px;
}

.wdl .wdl-count strong {
	color: var(--wdl-text);
	font-weight: 600;
}

.wdl .wdl-summary a.wdl-clear {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--wdl-accent);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: normal;
	line-height: 1.4;
	text-decoration: none;
	text-transform: none;
}

.wdl .wdl-summary a.wdl-clear:hover {
	text-decoration: underline;
}

/* ---------------------------------------------------------------- the list */

.wdl .wdl-results {
	position: relative;
}

.wdl .wdl-list {
	display: grid;
	grid-template-columns: var(--wdl-cols-fixed);
	margin: 0;
	border: 1px solid var(--wdl-border);
	border-radius: var(--wdl-radius);
	background: var(--wdl-surface);
	overflow: hidden;
}

.wdl .wdl-list .wdl-row {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: var(--wdl-cols-fixed);
	align-items: center;
	border-top: 1px solid var(--wdl-border);
}

@supports (grid-template-columns: subgrid) {
	.wdl .wdl-list {
		grid-template-columns: var(--wdl-cols);
	}

	.wdl .wdl-list .wdl-row {
		grid-template-columns: subgrid;
	}
}

.wdl .wdl-list .wdl-row:first-child {
	border-top: 0;
}

.wdl .wdl-list .wdl-row--head {
	background: var(--wdl-head-bg);
}

.wdl .wdl-list .wdl-row:not(.wdl-row--head):hover {
	background: var(--wdl-row-hover);
}

.wdl .wdl-list .wdl-cell {
	min-width: 0;
	padding: var(--wdl-row-pad) 16px;
}

.wdl .wdl-list .wdl-row--head .wdl-cell {
	padding-top: 11px;
	padding-bottom: 11px;
	color: var(--wdl-head-text);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-transform: uppercase;
	white-space: nowrap;
}

.wdl .wdl-list .wdl-cell--type {
	padding-right: 0;
}

.wdl .wdl-list .wdl-cell--year,
.wdl .wdl-list .wdl-cell--date,
.wdl .wdl-list .wdl-cell--size {
	color: var(--wdl-muted);
	font-size: 14px;
	white-space: nowrap;
}

.wdl .wdl-list .wdl-row:not(.wdl-row--head) .wdl-cell--year {
	color: var(--wdl-text);
}

.wdl .wdl-list .wdl-cell--actions {
	padding-left: 8px;
}

/* sortable headings */
.wdl .wdl-list .wdl-row--head a.wdl-sort {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-decoration: none;
	text-transform: inherit;
}

.wdl .wdl-list .wdl-row--head a.wdl-sort .wdl-icon {
	font-size: 14px;
	opacity: 0.4;
	transition: opacity 0.15s ease;
}

.wdl .wdl-list .wdl-row--head a.wdl-sort:hover,
.wdl .wdl-list .wdl-row--head a.wdl-sort.is-active {
	color: var(--wdl-text);
}

.wdl .wdl-list .wdl-row--head a.wdl-sort:hover .wdl-icon {
	opacity: 0.8;
}

.wdl .wdl-list .wdl-row--head a.wdl-sort.is-active .wdl-icon {
	color: var(--wdl-accent);
	opacity: 1;
}

/* file-type badge */
.wdl .wdl-badge {
	--wdl-badge: #5f6368;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: #f1f3f4;
	background: color-mix(in srgb, var(--wdl-badge) 11%, #fff);
	color: var(--wdl-badge);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
}

.wdl .wdl-badge--pdf { --wdl-badge: #c5221f; }
.wdl .wdl-badge--doc { --wdl-badge: #1f5aa6; }
.wdl .wdl-badge--xls { --wdl-badge: #137333; }
.wdl .wdl-badge--ppt { --wdl-badge: #c2410c; }
.wdl .wdl-badge--img { --wdl-badge: #7b3fb3; }

/* name, category and labels */
.wdl .wdl-list .wdl-eyebrow {
	display: block;
	margin: 0 0 2px;
	color: var(--wdl-muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wdl .wdl-list .wdl-title {
	color: var(--wdl-text);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: normal;
	line-height: 1.4;
	overflow-wrap: anywhere;
	text-decoration: none;
	text-transform: none;
}

.wdl .wdl-list a.wdl-title:hover {
	color: var(--wdl-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wdl .wdl-list .wdl-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.wdl .wdl-list .wdl-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 22px;
	padding: 2px 9px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
}

.wdl .wdl-list .wdl-tag--new {
	background: rgba(15, 123, 62, 0.1);
	background: color-mix(in srgb, var(--wdl-accent) 12%, transparent);
	color: var(--wdl-accent);
}

.wdl .wdl-list .wdl-tag--open { background: #e6f4ea; color: #137333; }
.wdl .wdl-list .wdl-tag--soon { background: #fef3e0; color: #8a5100; }
.wdl .wdl-list .wdl-tag--closed { background: #f1f3f4; color: #5f6368; }

.wdl .wdl-list .wdl-tag--open::before,
.wdl .wdl-list .wdl-tag--soon::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

/* buttons */
.wdl .wdl-list .wdl-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.wdl .wdl-list a.wdl-btn,
.wdl .wdl-empty a.wdl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 38px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--wdl-control-border);
	border-radius: calc(var(--wdl-radius) - 2px);
	background: var(--wdl-surface);
	color: var(--wdl-text);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: normal;
	line-height: 1;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.wdl .wdl-list a.wdl-btn .wdl-icon {
	font-size: 18px;
}

.wdl .wdl-list a.wdl-btn:hover,
.wdl .wdl-empty a.wdl-btn:hover {
	border-color: var(--wdl-accent);
	color: var(--wdl-accent);
}

.wdl .wdl-list a.wdl-btn--download {
	border-color: transparent;
	background: rgba(15, 123, 62, 0.1);
	background: color-mix(in srgb, var(--wdl-accent) 11%, transparent);
	color: var(--wdl-accent);
}

.wdl .wdl-list a.wdl-btn--download:hover {
	border-color: var(--wdl-accent);
	background: var(--wdl-accent);
	color: #fff;
}

.wdl .wdl-list a.wdl-btn--icon {
	width: 38px;
	padding: 0;
	color: var(--wdl-muted);
}

/* ---------------------------------------------------------------- nothing found */

.wdl .wdl-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 48px 20px;
	border: 1px dashed var(--wdl-control-border);
	border-radius: var(--wdl-radius);
	color: var(--wdl-muted);
	text-align: center;
}

.wdl .wdl-empty .wdl-icon--empty {
	margin-bottom: 6px;
	color: var(--wdl-muted);
	font-size: 40px;
	opacity: 0.6;
}

.wdl .wdl-empty__title {
	margin: 0;
	color: var(--wdl-text);
	font-size: 17px;
	font-weight: 600;
}

.wdl .wdl-empty__hint {
	margin: 0 0 10px;
	font-size: 14px;
}

/* ---------------------------------------------------------------- pages */

.wdl .wdl-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin-top: 20px;
}

.wdl .wdl-pagination .wdl-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid transparent;
	border-radius: calc(var(--wdl-radius) - 2px);
	color: var(--wdl-text);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: normal;
	line-height: 1;
	text-decoration: none;
}

.wdl .wdl-pagination a.wdl-page:hover {
	border-color: var(--wdl-control-border);
	color: var(--wdl-accent);
}

.wdl .wdl-pagination .wdl-page.is-current {
	background: var(--wdl-accent);
	color: #fff;
	font-weight: 600;
}

.wdl .wdl-pagination .wdl-page .wdl-icon {
	font-size: 18px;
}

.wdl .wdl-pagination .wdl-page.is-disabled {
	opacity: 0.35;
}

.wdl .wdl-pagination .wdl-page--gap {
	min-width: 24px;
	padding: 0;
}

/* ---------------------------------------------------------------- loading */

.wdl.is-loading .wdl-results::before {
	content: "";
	position: absolute;
	z-index: 2;
	top: -8px;
	right: 0;
	left: 0;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, transparent, var(--wdl-accent), transparent) no-repeat;
	background-size: 40% 100%;
	animation: wdl-loading 1s ease-in-out infinite;
}

.wdl.is-loading .wdl-list,
.wdl.is-loading .wdl-empty,
.wdl.is-loading .wdl-pagination {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

@keyframes wdl-loading {
	from { background-position: -40% 0; }
	to { background-position: 140% 0; }
}

@media (prefers-reduced-motion: reduce) {
	.wdl.is-loading .wdl-results::before {
		animation: none;
		background-size: 100% 100%;
		opacity: 0.5;
	}
}

/* ---------------------------------------------------------------- narrow: each document becomes a card
   Based on the widget's own width, so it also works in a narrow column on a desktop screen. */

@container wdl (max-width: 760px) {
	.wdl .wdl-field {
		flex: 1 1 calc(50% - 6px);
	}

	.wdl .wdl-sortby {
		flex: 1 1 100%;
		margin: 0;
	}

	.wdl .wdl-toolbar .wdl-sortby select.wdl-select {
		flex: 1 1 auto;
		width: 100%;
		min-width: 0;
	}

	.wdl .wdl-list {
		display: block;
	}

	.wdl .wdl-list .wdl-row.wdl-row--head {
		display: none;
	}

	.wdl .wdl-list .wdl-row--head + .wdl-row {
		border-top: 0;
	}

	.wdl .wdl-list .wdl-row {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 2px 12px;
		position: relative;
		min-height: 72px;
		padding: 16px 16px 16px 72px;
	}

	.wdl .wdl-list .wdl-row::before {
		content: "";
		order: 3;
		flex: 0 0 100%;
		height: 0;
	}

	.wdl .wdl-list .wdl-cell {
		min-width: 0;
		padding: 0;
	}

	.wdl .wdl-list .wdl-cell.is-empty {
		display: none;
	}

	.wdl .wdl-list .wdl-cell--type {
		position: absolute;
		top: 16px;
		left: 16px;
	}

	.wdl .wdl-list .wdl-cell--title {
		order: 1;
		flex: 0 0 100%;
		margin-bottom: 4px;
	}

	.wdl .wdl-list .wdl-cell--year,
	.wdl .wdl-list .wdl-cell--date,
	.wdl .wdl-list .wdl-cell--size {
		order: 2;
		font-size: 13px;
	}

	.wdl .wdl-list .wdl-cell--year:not(.is-empty) ~ .wdl-cell--date::before,
	.wdl .wdl-list .wdl-cell--year:not(.is-empty) ~ .wdl-cell--size::before,
	.wdl .wdl-list .wdl-cell--date:not(.is-empty) ~ .wdl-cell--size::before {
		content: "·";
		margin-right: 12px;
		color: var(--wdl-muted);
	}

	.wdl .wdl-list .wdl-cell--actions {
		order: 4;
		margin-top: 12px;
		padding: 0;
	}

	.wdl .wdl-list .wdl-actions {
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	.wdl .wdl-list a.wdl-btn--download {
		order: -1;
	}

	.wdl .wdl-list a.wdl-btn--icon {
		width: auto;
		padding: 0 14px;
		color: var(--wdl-text);
	}

	.wdl .wdl-list a.wdl-btn--icon .wdl-btn__label {
		position: static;
		width: auto;
		height: auto;
		margin: 0;
		overflow: visible;
		clip: auto;
	}
}

/* The same card layout, switched on by the script when the list still doesn't fit its space
   (wider fonts or long headings). Generated from the rules above by the build script: edit those. */

.wdl.wdl--cards .wdl-field {
	flex: 1 1 calc(50% - 6px);
}

.wdl.wdl--cards .wdl-sortby {
	flex: 1 1 100%;
	margin: 0;
}

.wdl.wdl--cards .wdl-toolbar .wdl-sortby select.wdl-select {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
}

.wdl.wdl--cards .wdl-list {
	display: block;
}

.wdl.wdl--cards .wdl-list .wdl-row.wdl-row--head {
	display: none;
}

.wdl.wdl--cards .wdl-list .wdl-row--head + .wdl-row {
	border-top: 0;
}

.wdl.wdl--cards .wdl-list .wdl-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 12px;
	position: relative;
	min-height: 72px;
	padding: 16px 16px 16px 72px;
}

.wdl.wdl--cards .wdl-list .wdl-row::before {
	content: "";
	order: 3;
	flex: 0 0 100%;
	height: 0;
}

.wdl.wdl--cards .wdl-list .wdl-cell {
	min-width: 0;
	padding: 0;
}

.wdl.wdl--cards .wdl-list .wdl-cell.is-empty {
	display: none;
}

.wdl.wdl--cards .wdl-list .wdl-cell--type {
	position: absolute;
	top: 16px;
	left: 16px;
}

.wdl.wdl--cards .wdl-list .wdl-cell--title {
	order: 1;
	flex: 0 0 100%;
	margin-bottom: 4px;
}

.wdl.wdl--cards .wdl-list .wdl-cell--year,
.wdl.wdl--cards .wdl-list .wdl-cell--date,
.wdl.wdl--cards .wdl-list .wdl-cell--size {
	order: 2;
	font-size: 13px;
}

.wdl.wdl--cards .wdl-list .wdl-cell--year:not(.is-empty) ~ .wdl-cell--date::before,
.wdl.wdl--cards .wdl-list .wdl-cell--year:not(.is-empty) ~ .wdl-cell--size::before,
.wdl.wdl--cards .wdl-list .wdl-cell--date:not(.is-empty) ~ .wdl-cell--size::before {
	content: "·";
	margin-right: 12px;
	color: var(--wdl-muted);
}

.wdl.wdl--cards .wdl-list .wdl-cell--actions {
	order: 4;
	margin-top: 12px;
	padding: 0;
}

.wdl.wdl--cards .wdl-list .wdl-actions {
	flex-wrap: wrap;
	justify-content: flex-start;
}

.wdl.wdl--cards .wdl-list a.wdl-btn--download {
	order: -1;
}

.wdl.wdl--cards .wdl-list a.wdl-btn--icon {
	width: auto;
	padding: 0 14px;
	color: var(--wdl-text);
}

.wdl.wdl--cards .wdl-list a.wdl-btn--icon .wdl-btn__label {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
}


/* ---------------------------------------------------------------- print: just the list */

@media print {
	.wdl .wdl-toolbar,
	.wdl .wdl-pagination,
	.wdl .wdl-actions,
	.wdl .wdl-clear,
	.wdl .wdl-admin-note {
		display: none !important;
	}
}

/* ---------------------------------------------------------------- preview window */

.wdl-dialog {
	--wdl-accent: #0f7b3e;
	width: min(1000px, 94vw);
	max-width: none;
	height: min(90vh, 1200px);
	max-height: none;
	padding: 0;
	border: 0;
	border-radius: 12px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
	overflow: hidden;
}

.wdl-dialog[open] {
	display: flex;
	flex-direction: column;
}

.wdl-dialog::backdrop {
	background: rgba(17, 24, 39, 0.6);
}

.wdl-dialog .wdl-dialog__bar {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 8px 8px 20px;
	border-bottom: 1px solid #e3e6ea;
	background: #fff;
}

.wdl-dialog .wdl-dialog__title {
	flex: 1;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	color: #1f2328;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: normal;
	line-height: 1.3;
	text-overflow: ellipsis;
	text-transform: none;
	white-space: nowrap;
}

.wdl-dialog .wdl-dialog__open {
	color: var(--wdl-accent);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.wdl-dialog .wdl-dialog__open:hover {
	text-decoration: underline;
}

.wdl-dialog .wdl-dialog__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #1f2328;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.wdl-dialog .wdl-dialog__close:hover,
.wdl-dialog .wdl-dialog__close:focus-visible {
	background: #f1f3f4;
}

.wdl-dialog .wdl-dialog__body {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	min-height: 0;
	background: #525659;
}

.wdl-dialog .wdl-dialog__body iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
}

.wdl-dialog .wdl-dialog__body img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
