.dma-info-trigger {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .35em;
	border: 0;
	background: transparent;
	padding: 0;
	margin: 0;
	color: inherit;
	font: inherit;
	line-height: 1;
	cursor: pointer;
}

.dma-info-trigger:focus-visible {
	outline: 3px solid rgba(14, 168, 216, .35);
	outline-offset: 4px;
	border-radius: 999px;
}

.dma-info-trigger--icon {
	width: 1.4em;
	height: 1.4em;
	border: 2px solid currentColor;
	border-radius: 50%;
	font-size: .78em;
	font-weight: 900;
}

.dma-global-modal[hidden] {
	display: none !important;
}

.dma-global-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 24px;
	opacity: 0;
	transition: opacity .18s ease;
}

.dma-global-modal.is-open {
	opacity: 1;
}

.dma-global-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 15, 30, .62);
	backdrop-filter: blur(3px);
}

.dma-global-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(620px, 100%);
	max-height: min(82vh, 760px);
	overflow: auto;
	padding: 38px 42px 40px;
	background: #fff;
	border: 1px solid rgba(19, 33, 58, .08);
	border-radius: 20px;
	box-shadow: 0 28px 90px rgba(8, 15, 30, .30);
	color: #13213a;
	transform: translateY(10px) scale(.985);
	transition: transform .18s ease;
}

.dma-global-modal.is-open .dma-global-modal__dialog {
	transform: translateY(0) scale(1);
}

.dma-global-modal__title {
	margin: 0 42px 18px;
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.2;
	text-align: center;
	color: #13213a;
}

.dma-global-modal__content {
	font-size: 16px;
	line-height: 1.7;
	color: #5d6677;
}

.dma-global-modal__content > :first-child {
	margin-top: 0;
}

.dma-global-modal__content > :last-child {
	margin-bottom: 0;
}

.dma-global-modal__close {
	position: absolute;
	top: 16px;
	left: 18px;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #13213a;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.dma-global-modal__close:hover,
.dma-global-modal__close:focus-visible {
	background: #f3f6f9;
}

body.dma-modal-open {
	overflow: hidden;
}

.dma-modal-source {
	display: none !important;
}

@media (max-width: 600px) {
	.dma-global-modal {
		padding: 16px;
	}

	.dma-global-modal__dialog {
		padding: 54px 24px 28px;
		border-radius: 16px;
	}

	.dma-global-modal__title {
		margin: 0 0 16px;
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dma-global-modal,
	.dma-global-modal__dialog {
		transition: none;
	}
}

/* Video testimonial support for the reusable DMA modal. */
.dma-global-modal__video {
	position: relative;
	width: min(900px, 82vw);
	aspect-ratio: 16 / 9;
	background: #020617;
	border-radius: 18px;
	overflow: hidden;
}
.dma-global-modal__video iframe,
.dma-global-modal__video video {
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
	object-fit: contain;
}
@media (max-width: 767px) {
	.dma-global-modal__video { width: 88vw; }
}

/* The same global lightbox becomes a cinema-style dialog for testimonials. */
.dma-global-modal.has-video .dma-global-modal__dialog {
	width: min(980px, calc(100vw - 32px));
	max-height: 92vh;
	padding: 54px 24px 24px;
	background: #071629;
	border-color: rgba(255,255,255,.1);
	overflow: hidden;
}
.dma-global-modal.has-video .dma-global-modal__title {
	color: #fff;
	margin: 0 52px 18px;
}
.dma-global-modal.has-video .dma-global-modal__close {
	color: #fff;
	left: auto;
	right: 16px;
}
.dma-global-modal.has-video .dma-global-modal__close:hover,
.dma-global-modal.has-video .dma-global-modal__close:focus-visible {
	background: rgba(255,255,255,.12);
}
.dma-global-modal.has-video .dma-global-modal__video {
	width: 100%;
	max-height: calc(92vh - 110px);
}


/* Native MP4/WebM/OGG videos keep their real shape instead of being forced
   into a 16:9 iframe box. This is especially important for phone-shot,
   portrait testimonials. */
.dma-global-modal.has-video .dma-global-modal__dialog {
	width: fit-content;
	max-width: calc(100vw - 32px);
}
.dma-global-modal.has-video .dma-global-modal__content {
	display: flex;
	justify-content: center;
}
.dma-global-modal__video--native {
	width: auto !important;
	height: min(72vh, 780px);
	max-width: calc(100vw - 80px);
	max-height: calc(92vh - 118px);
	aspect-ratio: var(--dma-video-ratio, 9 / 16);
	background: #000;
}
.dma-global-modal__video--native video {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
}
.dma-global-modal__video--native.is-landscape {
	width: min(900px, calc(100vw - 80px)) !important;
	height: auto;
}
.dma-global-modal__video--native.is-square {
	height: min(68vh, 720px);
}
@media (max-width: 767px) {
	.dma-global-modal.has-video .dma-global-modal__dialog {
		max-width: calc(100vw - 20px);
		padding: 48px 10px 10px;
	}
	.dma-global-modal.has-video .dma-global-modal__title {
		margin: 0 42px 12px 8px;
		font-size: 17px;
		text-align: left;
	}
	.dma-global-modal__video--native {
		height: min(76vh, 720px);
		max-width: calc(100vw - 40px);
		max-height: calc(100vh - 125px);
	}
	.dma-global-modal__video--native.is-landscape {
		width: calc(100vw - 40px) !important;
	}
}
