.dmb-banner {
	--dmb-bg: #416fbd;
	--dmb-text: #fff;
	position: relative;
	z-index: 999999;
	display: grid;
	grid-template-rows: 0fr;
	color: var(--dmb-text);
	background: var(--dmb-bg);
	direction: ltr !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-language-override: "ENG";
	font-feature-settings: "locl" 0, "ss01" 0, "ss02" 0, "lnum" 1, "tnum" 1 !important;
	font-variant-numeric: lining-nums tabular-nums !important;
	visibility: hidden;
	transition: grid-template-rows 560ms cubic-bezier(.22, 1, .36, 1), visibility 0s linear 560ms;
}

.dmb-banner[hidden] {
	display: none !important;
}

.dmb-banner,
.dmb-banner * {
	font-family: Arial, Helvetica, sans-serif !important;
	font-language-override: "ENG";
	font-feature-settings: "locl" 0, "ss01" 0, "ss02" 0, "lnum" 1, "tnum" 1 !important;
	font-variant-numeric: lining-nums tabular-nums !important;
	box-sizing: border-box;
}

.dmb-banner.is-open {
	grid-template-rows: 1fr;
	visibility: visible;
	transition: grid-template-rows 560ms cubic-bezier(.22, 1, .36, 1), visibility 0s linear 0s;
}

.dmb-banner__clip { min-height: 0; overflow: hidden; }

.dmb-banner__inner {
	position: relative;
	direction: ltr;
	display: grid;
	grid-template-columns: minmax(0, 1.32fr) minmax(280px, .68fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
	width: min(1200px, calc(100% - 40px));
	margin-inline: auto;
	padding: clamp(42px, 6vw, 76px) 0;
}

.dmb-banner__copy { min-width: 0; }

.dmb-banner__title {
	margin: 0 0 12px;
	padding-inline-end: 38px;
	color: inherit;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.03em;
}

.dmb-banner__highlight {
	max-width: 700px;
	margin: 0 0 8px;
	color: inherit;
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 850;
	line-height: 1.45;
	letter-spacing: -.012em;
}

.dmb-banner__message {
	max-width: 760px;
	margin: 0;
	color: inherit;
	font-size: clamp(16px, 1.65vw, 19px);
	font-weight: 550;
	line-height: 1.6;
	opacity: .94;
}

.dmb-banner__actions {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
}

.dmb-banner__button {
	display: flex;
	direction: ltr;
	unicode-bidi: isolate;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 12px 22px;
	border: 0 !important;
	border-radius: 6px;
	overflow: hidden;
	color: #13204f;
	background: #fff;
	box-shadow: 0 8px 24px rgba(13, 28, 76, .08);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition: background-color 460ms cubic-bezier(.22, .61, .36, 1), color 360ms ease, box-shadow 460ms cubic-bezier(.22, .61, .36, 1);
}

.dmb-banner__button:hover,
.dmb-banner__button:focus-visible {
	color: #fff;
	background-color: #cc0000;
	border: 0 !important;
	box-shadow: 0 10px 24px rgba(13, 28, 76, .12);
}

.dmb-banner__button:hover { outline: 0 !important; }

.dmb-banner__button:focus-visible,
.dmb-banner__close:focus-visible {
	outline: 3px solid #fff !important;
	outline-offset: 3px;
}

.dmb-banner__close {
	position: absolute;
	inset-block-start: 18px;
	inset-inline-end: 0;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 2px solid currentColor;
	border-radius: 999px;
	color: inherit;
	background: transparent;
	font: inherit;
	font-size: 30px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	opacity: .96;
	transition: transform 160ms ease, opacity 160ms ease;
}

.dmb-banner__close:hover { transform: rotate(8deg) scale(1.04); opacity: 1; }

/* Mobile and tablet follow the desktop layout: the banner stays in normal document flow,
   so opening it pushes page content down instead of covering it. */
@media (max-width: 1024px) {
	.dmb-banner {
		width: 100%;
		max-width: none;
		margin: 0;
		/* Keep mobile/tablet sticky headers above the banner when they overlap. */
		z-index: auto;
		box-shadow: 0 12px 30px rgba(13, 28, 76, .18);
	}
}

@media (min-width: 761px) and (max-width: 1024px) {
	.dmb-banner__inner {
		grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
		gap: 22px;
		width: calc(100% - 48px);
		max-width: 900px;
		padding: 30px 0 calc(24px + env(safe-area-inset-bottom, 0px));
	}

	.dmb-banner__copy { max-width: none; padding-inline-end: 0; }
	.dmb-banner__title { font-size: clamp(28px, 3.5vw, 38px); }
	.dmb-banner__message { font-size: 16px; line-height: 1.45; }
	.dmb-banner__button { min-height: 50px; padding-inline: 14px; }
}

@media (max-width: 760px) {
	.dmb-banner__inner {
		grid-template-columns: 1fr;
		gap: 14px;
		width: calc(100% - 24px);
		padding: 38px 0 calc(20px + env(safe-area-inset-bottom, 0px));
	}

	.dmb-banner__copy { max-width: 520px; padding-inline-end: 0; }
	.dmb-banner__title {
		margin-bottom: 8px;
		padding-inline-end: 38px;
		font-size: clamp(26px, 7vw, 34px);
		line-height: 1.02;
	}
	.dmb-banner__highlight { margin-bottom: 5px; font-size: 16px; line-height: 1.35; }
	.dmb-banner__message { font-size: 14px; line-height: 1.45; }
	.dmb-banner__actions { grid-template-columns: 1fr; gap: 8px; }
	.dmb-banner__button { min-height: 46px; padding: 9px 12px; border-radius: 5px; font-size: 15px; line-height: 1.15; touch-action: manipulation; }
	.dmb-banner__close { inset-block-start: 7px; inset-inline-end: 0; width: 34px; height: 34px; font-size: 27px; }
}

@media (max-width: 760px) and (hover: none) and (pointer: coarse) {
	.dmb-banner__button:hover { color: #13204f; background-color: #fff; box-shadow: 0 5px 16px rgba(13, 28, 76, .08); }
	.dmb-banner__button:active { color: #fff; background-color: #cc0000; transition-duration: 80ms; }
}

@media (prefers-reduced-motion: reduce) {
	.dmb-banner, .dmb-banner__button, .dmb-banner__close { transition: none; }
}
