/* Header resilience layer: Elementor may add/remove an inner container when
 * a button link is edited. Keep the three functional areas aligned either
 * way, without depending on .e-con-inner being present. */
.vds-header {
	box-sizing: border-box;
	width: 100%;
	max-width: 100vw;
	overflow: visible;
}
.vds-header > .vds-logo-white,
.vds-header > .vds-logo-dark {
	flex: 0 0 96px;
	width: 96px;
	min-width: 0;
}
.vds-header > .vds-logo-white img,
.vds-header > .vds-logo-dark img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: contain;
}
.vds-header > .vds-header-nav-wrap {
	flex: 1 1 auto;
	min-width: 0;
	max-width: none;
}
.vds-header > .vds-header-nav-wrap > .e-con-inner {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
}
.vds-header > .vds-header-actions {
	flex: 0 0 auto;
	min-width: 0;
	max-width: 100%;
	margin-left: auto;
}
.vds-header > .vds-header-actions > .e-con-inner {
	box-sizing: border-box;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	min-width: 0;
	max-width: 100%;
}
.vds-header > .vds-header-actions > .e-con-inner > .e-con {
	flex: 0 0 auto;
	min-width: 0;
}

@media (min-width: 1280px) {
	.vds-header {
		display: grid !important;
		grid-template-columns: 96px minmax(0, 1fr) max-content !important;
		column-gap: 22px !important;
		align-items: center !important;
		padding: 12px max(18px, calc((100vw - 1800px) / 2)) !important;
	}
	.vds-header > .vds-logo-white,
	.vds-header > .vds-logo-dark { grid-column: 1; grid-row: 1; }
	.vds-header > .vds-header-nav-wrap { grid-column: 2; grid-row: 1; }
	.vds-header > .vds-header-actions { grid-column: 3; grid-row: 1; }
	.vds-header > .vds-header-nav-wrap .elementor-nav-menu--main,
	.vds-header > .vds-header-nav-wrap .elementor-nav-menu {
		width: auto !important;
		max-width: 100%;
		margin-left: auto !important;
		justify-content: flex-end !important;
	}
}

@media (max-width: 1279px) {
	.vds-header { gap: 12px !important; padding-inline: 18px !important; }
	.vds-header > .vds-logo-white,
	.vds-header > .vds-logo-dark { flex-basis: 72px; width: 72px; }
	.vds-header > .vds-logo-white img,
	.vds-header > .vds-logo-dark img { width: 60px; height: 60px; }
	.vds-header .elementor-nav-menu--main .elementor-item { padding-inline: 5px !important; font-size: .72rem !important; }
}

@media (max-width: 1100px) {
	.vds-header .vds-header-phone { display: none !important; }
}

@media (max-width: 767px) {
	.vds-header {
		display: grid !important;
		grid-template-columns: 58px minmax(0, 1fr) max-content !important;
		grid-template-rows: auto auto !important;
		min-height: 70px !important;
		height: auto !important;
		padding: 8px 14px !important;
		gap: 8px !important;
	}
	.vds-header > .vds-logo-white,
	.vds-header > .vds-logo-dark { grid-column: 1; grid-row: 1; width: 58px; flex-basis: 58px; }
	.vds-header > .vds-logo-white img,
	.vds-header > .vds-logo-dark img { width: 52px; height: 52px; }
	.vds-header > .vds-header-actions { grid-column: 3; grid-row: 1; }
	.vds-header > .vds-header-nav-wrap { grid-column: 1 / -1; grid-row: 2; }
	.vds-header > .vds-header-nav-wrap .elementor-nav-menu--main { display: none !important; }
	.vds-header > .vds-header-nav-wrap .elementor-menu-toggle { display: flex !important; margin-left: auto; }
}
