/* ===== Core header ===== */
.new-hc-header {
	height: 100px;
	width: 100%;
	background: transparent !important;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	transition: background-color 0.3s ease;
}

.new-hc-header.scrolled {
	background-color: rgba(0, 0, 0, 0.8) !important;
}

/* ===== Header row ===== */
.hc-header-row {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 0 50px !important;
	gap: 0 !important;
	height: 100px !important;
	max-width: 100% !important;
	position: relative !important;
}

/* ===== Logo centered ===== */
.hc-header-logo-wrap {
	position: absolute !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	z-index: 1 !important;
}

/* ===== Buttons ===== */
.hc-header-buttons-wrap {
	z-index: 2 !important;
	height: 100px !important;
	display: flex !important;
	align-items: center !important;
}

.hc-header-buttons-wrap .hc-header-buttons {
	height: 100px !important;
	display: flex !important;
	align-items: center !important;
}

/* ===== Hamburger ===== */
.hc-header-hamburger-wrap {
	z-index: 2 !important;
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
	.new-hc-header {
		height: 60px;
	}

	.hc-header-row {
		height: 60px !important;
		padding: 0 20px !important;
	}

	.hc-header-buttons-wrap,
	.hc-header-buttons-wrap .hc-header-buttons {
		height: 60px !important;
	}
}

.wp-block-template-part.new-hc-header {
	display: flex !important;
	align-items: center !important;
	height: 100px !important;
}

.hc-header-hamburger-wrap,
.hc-header-buttons-wrap {
    margin: 0 !important;
    padding: 0 !important;
}

.wp-block-hc-blocks-header-hamburger,
.wp-block-hc-blocks-header-buttons {
    margin: 0 !important;
    padding: 0 !important;
}

.hc-header-row {
	align-items: stretch !important;
}

.wp-block-hc-blocks-header-booking-button {
	height: 100% !important;
	display: flex !important;
	align-items: stretch !important;
}

.wp-block-hc-blocks-header-booking-button,
.wp-block-hc-blocks-header-opening-hours,
.wp-block-hc-blocks-header-hamburger {
	height: 100px !important;
	display: flex !important;
	align-items: stretch !important;
	padding: 0 !important;
	margin: 0 !important;
}

@media (max-width: 767px) {
	.wp-block-hc-blocks-header-booking-button,
	.wp-block-hc-blocks-header-opening-hours,
	.wp-block-hc-blocks-header-hamburger {
		height: 60px !important;
	}
}

.hc-header-buttons-row {
	margin-top: 20px !important;
	margin-right: 50px !important;
}

/* Inner pages use a compact left logo, including older saved header markup. */
body:not(.home) .new-hc-header .hc-header-logo-wrap {
	top: 0;
	left: clamp(24px, 3vw, 56px) !important;
	transform: none !important;
}
body:not(.home) .new-hc-header .hc-header-logo__link {
	width: 160px;
	margin: 20px 0 0;
}
body.admin-bar:not(.home) .new-hc-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}
@media (max-width: 782px) {
	body.admin-bar:not(.home) .new-hc-header { top: var(--wp-admin--admin-bar--height, 46px); }
}

/* Mobile controls must leave a separate lane for the logo. */
@media (max-width: 767px) {
	.new-hc-header .wp-block-hc-blocks-header-opening-hours {
		display: none !important;
	}
	.new-hc-header .hc-header-logo-wrap {
		left: 16px !important;
		top: 0;
		transform: none !important;
	}
	.new-hc-header .hc-header-logo__link {
		margin-left: 0;
		max-width: calc(100vw - 172px);
	}
	.new-hc-header .hc-header-controls { right: 12px; }
	.new-hc-header .hc-booking-btn__link {
		padding-inline: 12px;
		font-size: .9375rem;
		letter-spacing: .06em;
	}
	body:not(.home) .new-hc-header .hc-header-logo-wrap { left: 16px !important; }
	body:not(.home) .new-hc-header .hc-header-logo__link { width: 140px; margin-top: 16px; }
	body:not(.home) .new-hc-header.scrolled .hc-header-logo__link { width: 120px; margin-top: 6px; }
}

