/**
 * VDuma announcement bar — scrolls away; navbar sticks to top: 0 (Duma Official).
 */

/* ── Announcement: normal flow, NOT fixed ── */
body.header-vduma .vduma-announcement-bar {
	position: relative;
	z-index: 1040;
	width: 100%;
	overflow: hidden;
	white-space: normal;
	border-bottom: 1px solid #ebe9e6;
	box-sizing: border-box;
	background-color: #f7f6f4;
}

body.header-vduma .vduma-announcement-bar__link,
body.header-vduma .vduma-announcement-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 8px 16px;
	text-decoration: none;
	box-sizing: border-box;
}

body.header-vduma .vduma-announcement-bar__text {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto !important;
	max-width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	animation: none !important;
	transform: none !important;
	text-align: center;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0.06em;
	white-space: normal;
}

body.header-vduma .vduma-announcement-bar__text span {
	display: inline;
}

body.header-vduma .vduma-announcement-bar__icon {
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	object-fit: contain;
}

body.header-vduma .vduma-announcement-bar.marquee {
	overflow: hidden;
	white-space: normal;
}

body.header-vduma .vduma-announcement-bar .marquee-text {
	padding-left: 0 !important;
	width: auto !important;
	white-space: normal !important;
}

/* ── Navbar: sticky top 0 (announcement scrolls away first) ── */
body.header-vduma.has-vduma-announcement .rwot-header-container,
body.header-vduma.has-vduma-announcement .rwt-header-container {
	position: sticky !important;
	top: 0 !important;
	left: auto !important;
	right: auto !important;
	width: 100% !important;
	z-index: 1030;
}

/* Home + announcement: sticky (not fixed) so bar can scroll off; white bg on scroll via .active */
body.header-vduma.home.has-vduma-announcement .rwot-header-container,
body.header-vduma.home.has-vduma-announcement .rwt-header-container {
	position: sticky !important;
	top: 0 !important;
	background-color: transparent !important;
	box-shadow: none !important;
}

body.header-vduma.home.has-vduma-announcement .rwot-header-container.active,
body.header-vduma.home.has-vduma-announcement .rwt-header-container.active,
body.header-vduma.home.has-vduma-announcement .rwot-header-container:hover,
body.header-vduma.home.has-vduma-announcement .rwt-header-container:hover {
	background-color: #ffffff !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Pull hero/content up under transparent home navbar (announcement stays above) */
body.header-vduma.home.has-vduma-announcement #primary.content-area {
	margin-top: calc(-1 * var(--vduma-header-h, 72px));
}

@media (max-width: 991.98px) {
	body.rwot-vduma-product.header-vduma.has-vduma-announcement .rwot-header-container,
	body.rwot-vduma-product.header-vduma.has-vduma-announcement .rwt-header-container {
		position: sticky !important;
		top: 0 !important;
		background: #ffffff !important;
		box-shadow: none !important;
	}
}

@media (max-width: 767.98px) {
	body.header-vduma .vduma-announcement-bar__link,
	body.header-vduma .vduma-announcement-bar__inner {
		padding: 8px 12px;
	}

	body.header-vduma .vduma-announcement-bar__text {
		font-size: 10px;
		letter-spacing: 0.04em;
	}
}
