/* ==========================================================================
   MHB Batam – HQ Design. Mobile-first.
   Design system of the Maruho headquarters site (maruho-htj.co.jp):
   floating pill header · IBM Plex Sans JP body with wide tracking · light geometric
   display words (Jost ≈ Futura) · ◉ section labels · navy / sky-blue gradient ·
   rounded photo sections · navy footer.
   Breakpoints: ≥600 · ≥782 (core columns side by side) · ≥1024 desktop header + section nav · ≥1440
   ========================================================================== */

:root {
	--hq-navy: var(--wp--preset--color--primary, #003b8f);
	--hq-blue: var(--wp--preset--color--secondary, #0665b7);
	--hq-deep: var(--wp--preset--color--accent, #000d6e);
	--hq-sky: var(--wp--preset--color--accent-light, #6abded);
	--hq-pale: var(--wp--preset--color--light-gray, #e5ebf4);
	--hq-off: var(--wp--preset--color--surface, #f8f9fa);
	--hq-ink: var(--wp--preset--color--black, #222);
	--hq-muted: #5b6472;
	--hq-line: #dfe5ee;
	--hq-grad: linear-gradient(130deg, #6abded 0%, #0665b7 40%, #000d6e 80%);
	--hq-grad-navy: linear-gradient(135deg, #0a6cc0 0%, #003b8f 52%, #00226b 100%);
	--hq-display: var(--wp--preset--font-family--display, Jost, Futura, sans-serif);
	--hq-wrap: 1200px;
	--hq-gutter: clamp(1rem, 4vw, 2.5rem);
	--hq-section: clamp(4rem, 10vw, 8rem);
	--hq-radius: 16px;
	--hq-radius-lg: clamp(28px, 5vw, 64px);
	--hq-bar-h: 60px;
	--hq-ease: cubic-bezier(.2, .7, .2, 1);
	--hq-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M2 1l6 7-6 7' fill='none' stroke='%23003b8f' stroke-width='1.4'/%3E%3C/svg%3E");
	--hq-chev-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M2 1l6 7-6 7' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:lang(ja) body, body:lang(ja) { line-height: 1.95; letter-spacing: .05em; }
img { max-width: 100%; height: auto; }
:where(a) { text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--hq-blue); outline-offset: 3px; }
.wp-site-blocks { padding: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.wp-site-blocks > .mhb-main { flex: 1 0 auto; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

/* ---------- Typographic building blocks ------------------------------------ */
/* Display word: "About us", "Products", "Contact" … */
.mhb-display,
.wp-block-heading.is-style-mhb-display {
	margin: 0;
	font-family: var(--hq-display);
	font-weight: 300;
	font-size: clamp(3.25rem, 1.9rem + 6vw, 7.5rem);
	line-height: 1;
	letter-spacing: .005em;
	color: var(--hq-ink);
	overflow-wrap: anywhere;
}
/* ◉ Label */
.wp-block-heading.is-style-mhb-label,
.wp-block-post-title.is-style-mhb-label,
.mhb-band__label {
	display: flex;
	align-items: baseline;
	gap: .55em;
	margin: 0;
	font-family: var(--wp--preset--font-family--base);
	font-weight: 400;
	font-size: clamp(1.05rem, .95rem + .45vw, 1.375rem);
	line-height: 1.5;
	letter-spacing: .08em;
	color: var(--hq-navy);
}
.wp-block-heading.is-style-mhb-label::before,
.wp-block-post-title.is-style-mhb-label::before,
.mhb-band__label::before,
.mhb-subnav__root a::before,
.mhb-kv > .wp-block-heading:first-child::before,
.mhb-kv__tagline::before {
	content: "";
	flex: none;
	width: .62em;
	height: .62em;
	border-radius: 50%;
	border: 1.5px solid currentColor;
	background: radial-gradient(circle, currentColor 0 30%, transparent 34%);
	transform: translateY(-.05em);
}
.wp-block-heading.is-style-mhb-label a { color: inherit; text-decoration: none; }
.wp-block-heading.is-style-mhb-label a:hover { text-decoration: underline; }
/* • Eyebrow */
.is-style-mhb-eyebrow { margin: 0 0 .25rem !important; font-family: var(--hq-display); font-size: .8125rem; font-weight: 500; letter-spacing: .08em; color: var(--hq-blue); }
.is-style-mhb-eyebrow::before { content: "• "; }
.mhb-lead { font-size: clamp(1.2rem, 1rem + .9vw, 1.75rem); line-height: 1.75; letter-spacing: .09em; color: var(--hq-ink); }
:lang(ja) .mhb-lead { line-height: 1.9; }

/* Buttons */
.wp-block-button .wp-block-button__link {
	padding: .95rem 2rem;
	font-size: .9375rem;
	border: 1px solid transparent;
	text-decoration: none;
	transition: background-color .2s var(--hq-ease), color .2s var(--hq-ease), border-color .2s var(--hq-ease);
}
.wp-block-button.is-style-mhb-outline .wp-block-button__link { background: #fff; color: var(--hq-navy); border-color: var(--hq-navy); }
.wp-block-button.is-style-mhb-outline .wp-block-button__link:hover { background: var(--hq-navy); color: #fff; }
/* Circle arrow "View more" */
.wp-block-button.is-style-mhb-more .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	padding: 0;
	background: transparent !important;
	color: var(--hq-ink);
	font-family: var(--hq-display);
	font-weight: 500;
	font-size: .9375rem;
	letter-spacing: .06em;
	border: 0;
}
.wp-block-button.is-style-mhb-more .wp-block-button__link::after {
	content: "";
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 1px solid var(--hq-navy);
	background: var(--hq-chev) center / 8px no-repeat;
	transition: background-color .25s var(--hq-ease), transform .25s var(--hq-ease);
}
.wp-block-button.is-style-mhb-more .wp-block-button__link:hover::after { background: var(--hq-navy) var(--hq-chev-w) center / 8px no-repeat; transform: translateX(4px); }
.mhb-arrow-link { margin: 0; text-align: right; font-size: .8125rem; }
.mhb-arrow-link a { color: var(--hq-ink); text-decoration: none; font-family: var(--hq-display); font-weight: 500; letter-spacing: .06em; }
.mhb-arrow-link a::after { content: ""; display: inline-block; width: 6px; height: 10px; margin-left: .55rem; background: var(--hq-chev) center / contain no-repeat; transition: transform .2s var(--hq-ease); }
.mhb-arrow-link a:hover { color: var(--hq-navy); }
.mhb-arrow-link a:hover::after { transform: translateX(3px); }
.mhb-center { justify-content: center; }

/* ---------- Header: floating pill ------------------------------------------ */
.mhb-header {
	position: sticky;
	top: 0;
	z-index: 100;
	margin: 0;
	padding: 10px clamp(.5rem, 2.5vw, 2.5rem) 0;
	pointer-events: none;   /* the transparent strip around the pill stays click-through */
}
.admin-bar .mhb-header { top: var(--wp-admin--admin-bar--height, 0); }
.mhb-bar {
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: .75rem;
	height: var(--hq-bar-h);
	margin: 0 !important;
	padding: 0 .5rem 0 clamp(.9rem, 2vw, 1.25rem);
	position: relative;
	isolation: isolate;
	border-radius: 999px;
	box-shadow: 0 0 0 1px rgba(0, 59, 143, .06), 0 4px 18px rgba(0, 25, 70, .05);
	transition: box-shadow .3s var(--hq-ease);
}
/* frosted background on a pseudo-element: backdrop-filter on .mhb-bar itself would trap the
   position:fixed mobile menu overlay inside the pill */
.mhb-bar::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: rgba(255, 255, 255, .95);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
}
.is-scrolled .mhb-bar { box-shadow: 0 0 0 1px rgba(0, 59, 143, .07), 0 10px 30px rgba(0, 25, 70, .12); }
.mhb-bar > * { margin: 0 !important; }
.mhb-brand { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; }
.mhb-logo { display: inline-flex; line-height: 0; }
.mhb-logo img { width: clamp(168px, 44vw, 250px); height: auto; }

/* language switch: EN | ID | JP */
.mhb-lang { order: 2; margin-left: auto !important; }
.mhb-lang ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; font-family: var(--hq-display); font-size: .75rem; font-weight: 500; letter-spacing: .06em; line-height: 1; }
.mhb-lang li + li { border-left: 1px solid #c5ccd8; }
.mhb-lang a, .mhb-lang span[aria-current] { display: block; padding: .3rem .45rem; color: #8a93a2; text-decoration: none; }
.mhb-lang a:hover { color: var(--hq-navy); }
.mhb-lang span[aria-current] { color: var(--hq-navy); font-weight: 600; }

/* navigation (mobile: hamburger + white overlay) */
.mhb-nav { order: 3; }
.mhb-nav .wp-block-navigation__responsive-container-open {
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--hq-navy);
	color: #fff;
}
.mhb-nav .wp-block-navigation__responsive-container-open svg { width: 22px; height: 22px; }
.mhb-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: clamp(1.25rem, 6vw, 2.5rem);
	background: #fff !important;
	color: var(--hq-ink) !important;
	animation: mhb-fade .22s var(--hq-ease);
}
@keyframes mhb-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mhb-nav .is-menu-open .wp-block-navigation__responsive-container-close { color: var(--hq-navy); }
.mhb-nav .is-menu-open .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }
.mhb-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3.5rem; align-items: stretch !important; }
.mhb-nav .is-menu-open .wp-block-navigation__container { width: 100%; gap: 0 !important; align-items: stretch !important; }
.mhb-nav .is-menu-open .wp-block-navigation-item { width: 100%; align-items: stretch !important; border-bottom: 1px solid var(--hq-line); }
.mhb-nav .is-menu-open .wp-block-navigation-item__content { display: block; padding: 1rem .25rem !important; font-size: 1.125rem; letter-spacing: .08em; color: var(--hq-ink); text-decoration: none; }
.mhb-nav .is-menu-open .wp-block-navigation__submenu-container { padding: 0 0 .75rem 1rem !important; gap: 0 !important; background: transparent !important; border: 0 !important; }
.mhb-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border: 0; }
.mhb-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .45rem .25rem !important; font-size: .9375rem; color: var(--hq-muted); }
.mhb-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content::before { content: "–"; margin-right: .5em; color: var(--hq-sky); }
.mhb-nav .is-menu-open .wp-block-navigation__submenu-icon { display: none; }
.mhb-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content,
.mhb-nav .is-menu-open .current-menu-ancestor > .wp-block-navigation-item__content { color: var(--hq-navy); }
.mhb-nav-global .wp-block-navigation-item__label::after {
	content: "";
	display: inline-block;
	width: .7em;
	height: .7em;
	margin-left: .4em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1 1 11' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1 1 11' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: .6;
}

/* Core switches to the desktop menu at 600px – keep the hamburger until 1024px. */
@media (min-width: 600px) and (max-width: 1023.98px) {
	.mhb-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.mhb-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}

@media (min-width: 1024px) {
	:root { --hq-bar-h: 72px; }
	.mhb-header { padding-top: 14px; }
	.mhb-bar { padding: 0 1.25rem 0 1.5rem; gap: 1.25rem; }
	.mhb-nav { order: 2; margin-left: auto !important; }
	.mhb-lang { order: 3; margin-left: 0 !important; }
	.mhb-nav .wp-block-navigation__responsive-container-open { display: none !important; }
	.mhb-nav-home { display: none !important; }
	.mhb-nav .wp-block-navigation__container { gap: clamp(1rem, 2vw, 2rem) !important; }
	.mhb-bar .mhb-nav .wp-block-navigation-item__content {
		position: relative;
		padding: .5rem 0 !important;
		font-size: .875rem;
		letter-spacing: .06em;
		color: var(--hq-ink);
		text-decoration: none;
		white-space: nowrap;
		transition: color .2s var(--hq-ease);
	}
	.mhb-bar .mhb-nav .wp-block-navigation-item__content:hover { color: var(--hq-navy); }
	.mhb-bar .mhb-nav > .wp-block-navigation__responsive-container .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
		content: "";
		position: absolute;
		left: 50%;
		bottom: -2px;
		width: 5px;
		height: 5px;
		border-radius: 50%;
		background: var(--hq-navy);
		transform: translateX(-50%) scale(0);
		transition: transform .2s var(--hq-ease);
	}
	.mhb-bar .mhb-nav .current-menu-item > .wp-block-navigation-item__content,
	.mhb-bar .mhb-nav .current-menu-ancestor > .wp-block-navigation-item__content { color: var(--hq-navy); }
	.mhb-bar .mhb-nav .current-menu-item > .wp-block-navigation-item__content::after,
	.mhb-bar .mhb-nav .current-menu-ancestor > .wp-block-navigation-item__content::after { transform: translateX(-50%) scale(1) !important; }
	.mhb-bar .mhb-nav .wp-block-navigation__submenu-icon { width: .6em; height: .6em; margin-left: .3em; color: var(--hq-muted); }

	/* dropdown card */
	.mhb-bar .mhb-nav .wp-block-navigation__submenu-container {
		top: calc(100% + 14px) !important;
		left: 50% !important;
		min-width: 250px !important;
		padding: .5rem !important;
		border: 0 !important;
		border-radius: 14px;
		background: #fff !important;
		box-shadow: 0 0 0 1px rgba(0, 59, 143, .06), 0 18px 40px rgba(0, 25, 70, .14);
		transform: translate(-50%, 6px);
		transition: opacity .18s var(--hq-ease), transform .18s var(--hq-ease), visibility 0s linear .18s !important;
	}
	.mhb-bar .mhb-nav .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
	.mhb-bar .mhb-nav .has-child:hover > .wp-block-navigation__submenu-container,
	.mhb-bar .mhb-nav .has-child:focus-within > .wp-block-navigation__submenu-container {
		transform: translate(-50%, 0);
		transition: opacity .18s var(--hq-ease), transform .18s var(--hq-ease), visibility 0s !important;
	}
	.mhb-bar .mhb-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: block;
		padding: .6rem .9rem !important;
		border-radius: 8px;
		font-size: .8125rem;
		white-space: normal;
	}
	.mhb-bar .mhb-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
	.mhb-bar .mhb-nav .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content { background: var(--hq-off); color: var(--hq-navy); }
}

/* ---------- Main + page head -------------------------------------------- */
.mhb-main { position: relative; margin: 0; isolation: isolate; overflow-x: clip; }
.mhb-main > * { margin-block: 0; }
/* faint ring watermark (HQ uses a giant pale logo mark) */
.mhb-main::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: clamp(2rem, 8vw, 6rem);
	right: calc(-1 * clamp(8rem, 22vw, 22rem));
	width: clamp(22rem, 60vw, 54rem);
	aspect-ratio: 1;
	border-radius: 50%;
	border: clamp(2.5rem, 7vw, 6.5rem) solid #f3f6fa;
	pointer-events: none;
}
.mhb-main--home::before { top: clamp(40rem, 110vw, 72rem); }

.mhb-page-head {
	max-width: calc(var(--hq-wrap) + 2 * var(--hq-gutter));
	margin: 0 auto !important;
	padding: clamp(2.5rem, 8vw, 5.5rem) var(--hq-gutter) clamp(2rem, 5vw, 3.5rem);
}
.mhb-page-head > * { margin: 0; }
.mhb-page-head .wp-block-post-title, .mhb-page-head h1 { margin-top: clamp(.75rem, 2vw, 1.25rem) !important; }

.mhb-page-body {
	max-width: calc(var(--hq-wrap) + 2 * var(--hq-gutter));
	margin: 0 auto !important;
	padding: 0 var(--hq-gutter) var(--hq-section);
}
.mhb-page-body > * { margin-block: 0; }

/* section sub navigation (mobile: chips) */
.mhb-subnav { margin: 0 calc(-1 * var(--hq-gutter)) 2rem !important; }
.mhb-subnav ul { display: flex; gap: .5rem; margin: 0; padding: 0 var(--hq-gutter) .25rem; list-style: none; overflow-x: auto; scrollbar-width: none; }
.mhb-subnav ul::-webkit-scrollbar { display: none; }
.mhb-subnav li { flex: none; }
.mhb-subnav a { display: block; padding: .45rem 1rem; border: 1px solid var(--hq-line); border-radius: 999px; font-size: .8125rem; line-height: 1.4; color: var(--hq-ink); text-decoration: none; white-space: nowrap; background: #fff; }
.mhb-subnav .is-current a { background: var(--hq-navy); border-color: var(--hq-navy); color: #fff; }
.mhb-subnav__root a::before { display: none; }

@media (min-width: 1024px) {
	.mhb-page-body:has(> .mhb-subnav) {
		display: grid;
		grid-template-columns: 220px minmax(0, 1fr);
		gap: clamp(2.5rem, 4vw, 4.5rem);
		align-items: start;
	}
	.mhb-subnav {
		position: sticky;
		top: calc(var(--hq-bar-h) + 40px);
		margin: 0 !important;
		padding: 1.1rem 1.1rem .6rem;
		background: rgba(255, 255, 255, .9);
		border: 1px solid #e8edf4;
		border-radius: 12px;
		box-shadow: 0 6px 20px rgba(0, 25, 70, .04);
	}
	.admin-bar .mhb-subnav { top: calc(var(--hq-bar-h) + 72px); }
	.mhb-subnav ul { display: block; padding: 0; overflow: visible; }
	.mhb-subnav a { padding: .6rem .35rem .6rem .75rem; border: 0; border-radius: 0; background: none; white-space: normal; font-size: .8125rem; }
	.mhb-subnav__item { border-bottom: 1px solid #edf0f5; }
	.mhb-subnav__item:last-child { border-bottom: 0; }
	.mhb-subnav__root a { display: flex; align-items: baseline; gap: .5em; padding: 0 0 .6rem; font-size: .875rem; font-weight: 700; color: var(--hq-navy); }
	.mhb-subnav__root a::before { display: block; }
	.mhb-subnav .is-current a { background: none; color: var(--hq-navy); }
	.mhb-subnav__item.is-current a::before { content: "• "; }
	.mhb-subnav__root.is-current a { color: var(--hq-navy); }
	.mhb-subnav a:hover { color: var(--hq-navy); }
}

/* ---------- Page content (same blocks as the legacy theme, HQ styling) ----- */
.mhb-content > * { margin-block: 0 !important; }
.mhb-content > * + * { margin-top: clamp(2.25rem, 5vw, 4rem) !important; }
.mhb-content :where(p) { margin-block: 0 0 1em; }
.mhb-content :where(p:last-child) { margin-bottom: 0; }
.mhb-content p { font-size: .9375rem; }
.mhb-content .has-small-font-size { font-size: .8125rem !important; line-height: 1.85; color: var(--hq-muted); }
.mhb-content .has-primary-background-color .has-small-font-size,
.mhb-content .has-secondary-background-color .has-small-font-size { color: rgba(255, 255, 255, .85); }

.mhb-content > .wp-block-group > * { margin-block: 0 0 1rem; }
.mhb-content > .wp-block-group > :last-child { margin-bottom: 0; }
/* full-width photo banners at the top of a page */
.mhb-content > .wp-block-group.has-background { padding: 0; background: none !important; }
.mhb-content > .wp-block-group.has-background .wp-block-image img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--hq-radius); }
.mhb-content .wp-block-image { margin-inline: auto; }
.mhb-content .wp-block-image img { border-radius: 10px; }
.mhb-icon { max-width: 60px; }
.mhb-icon img { width: 60px; border-radius: 0 !important; }

/* headings from the legacy content → HQ hierarchy */
.mhb-content .wp-block-heading { overflow-wrap: break-word; hyphens: auto; }
.mhb-content .is-bold { font-weight: 700; }
.mhb-content h2.has-huge-font-size:not(.has-white-color) {
	font-size: clamp(1.45rem, 1.05rem + 1.5vw, 2.25rem) !important;
	line-height: 1.55;
	letter-spacing: .08em;
	color: var(--hq-navy) !important;
}
/* small heading directly above a big one = ◉ label */
.mhb-content .wp-block-heading.has-x-large-font-size:not(.has-white-color):has(+ .wp-block-heading) {
	display: flex;
	justify-content: center;
	align-items: baseline;
	gap: .55em;
	font-size: clamp(.95rem, .9rem + .3vw, 1.125rem) !important;
	letter-spacing: .1em;
	color: var(--hq-navy) !important;
	margin-bottom: .5rem !important;
}
.mhb-content .wp-block-heading.has-x-large-font-size:not(.has-white-color):has(+ .wp-block-heading)::before {
	content: "";
	flex: none;
	width: .62em;
	height: .62em;
	border-radius: 50%;
	border: 1.5px solid currentColor;
	background: radial-gradient(circle, currentColor 0 30%, transparent 34%);
}
.mhb-content h4.has-xx-large-font-size { font-family: var(--hq-display); font-weight: 400 !important; letter-spacing: .04em; color: var(--hq-navy); }

/* Columns = rounded cards with gaps */
.mhb-content .wp-block-columns {
	gap: clamp(1rem, 2.2vw, 1.75rem) !important;
	margin-inline: 0 !important;
	margin-bottom: 0 !important;
	align-items: stretch !important;
}
.mhb-content > .wp-block-group:has(+ .wp-block-columns) { margin-bottom: calc(-1 * clamp(.75rem, 2.5vw, 2rem)) !important; }
.mhb-content .wp-block-column {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-width: 0;
	padding: 0;
	border-radius: var(--hq-radius);
}
.mhb-content .wp-block-column > * { margin-block: 0 0 1rem; }
.mhb-content .wp-block-column > :last-child { margin-bottom: 0; }
.mhb-content .wp-block-column.has-background { padding: clamp(1.75rem, 4vw, 3rem); justify-content: center; overflow: hidden; }
.mhb-content .has-light-gray-background-color { background-color: var(--hq-off) !important; }
.mhb-content .wp-block-column.has-primary-background-color,
.mhb-content .wp-block-column.has-secondary-background-color,
.mhb-content .wp-block-column.has-accent-background-color {
	position: relative;
	isolation: isolate;
	background: var(--hq-grad-navy) !important;
	color: #fff;
}
.mhb-content .wp-block-column.has-primary-background-color { background: linear-gradient(135deg, #003b8f 0%, #00226b 100%) !important; }
.mhb-content .wp-block-column.has-primary-background-color::after,
.mhb-content .wp-block-column.has-secondary-background-color::after {   /* faint ring like the HQ recruit panel */
	content: "";
	position: absolute;
	z-index: -1;
	right: -18%;
	bottom: -30%;
	width: 70%;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 2.5rem solid rgba(255, 255, 255, .05);
	pointer-events: none;
}
.mhb-content .has-primary-background-color a,
.mhb-content .has-secondary-background-color a { color: #fff; }
.mhb-content .has-white-color.wp-block-heading { letter-spacing: .08em; }
.mhb-content .has-white-color.has-xx-large-font-size { font-family: var(--hq-display); font-weight: 300; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem) !important; letter-spacing: .03em; }

/* media panels: image/map fills a rounded card */
.mhb-content .wp-block-column.is-media { padding: 0; justify-content: stretch; overflow: hidden; background-color: var(--hq-off); }
.mhb-content .is-media > .wp-block-image,
.mhb-content .is-media > .wp-block-html { flex: 1; margin: 0 !important; display: flex; }
.mhb-content .is-media > .wp-block-image img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; display: block; border-radius: 0; }
.mhb-map { display: block; width: 100%; min-height: 320px; height: 100%; border: 0; }
/* product tiles (transparent PNG labels) on navy cards */
.mhb-content .wp-block-column.is-media.has-primary-background-color,
.mhb-content .wp-block-column.is-media.has-secondary-background-color { padding: clamp(.75rem, 2vw, 1.25rem); }
.mhb-content .is-media.has-background > .wp-block-image img { object-fit: contain; min-height: 0; transition: transform .35s var(--hq-ease); }
.mhb-content .is-media.has-background:hover > .wp-block-image img { transform: scale(1.04); }

/* 4 navigation tiles: 2×2 cards on phones, 4 across on desktop */
.mhb-content .wp-block-columns:has(> .wp-block-column:nth-child(4):last-child) { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mhb-content .wp-block-columns:has(> .wp-block-column:nth-child(4):last-child) > .wp-block-column {
	flex-basis: auto !important;
	text-align: center;
	transition: transform .25s var(--hq-ease), box-shadow .25s var(--hq-ease);
}
.mhb-content .wp-block-columns:has(> .wp-block-column:nth-child(4):last-child) > .wp-block-column:not(.is-media) { padding: clamp(1.5rem, 4vw, 2.5rem) clamp(.75rem, 2vw, 1.25rem); }
.mhb-content .wp-block-columns:has(> .wp-block-column:nth-child(4):last-child) > .wp-block-column:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 34, 107, .22); }
.mhb-content .wp-block-columns:has(> .wp-block-column:nth-child(4):last-child) a { text-decoration: none; }
.mhb-content .wp-block-columns:has(> .wp-block-column:nth-child(4):last-child) .wp-block-heading { font-size: clamp(.95rem, .85rem + .6vw, 1.2rem) !important; line-height: 1.45; letter-spacing: .08em; }
@media (min-width: 1024px) {
	.mhb-content .wp-block-columns:has(> .wp-block-column:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Company info table: HQ "lined" table */
.wp-block-table.is-style-mhb-info { margin: 0; }
.wp-block-table.is-style-mhb-info table { border-collapse: collapse; width: 100%; font-size: .875rem; line-height: 1.7; color: inherit; }
.wp-block-table.is-style-mhb-info td { padding: .8rem 0; border: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.wp-block-table.is-style-mhb-info tr:last-child td { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.wp-block-table.is-style-mhb-info strong { display: inline-block; margin-bottom: .1rem; font-weight: 400; font-size: .75rem; letter-spacing: .12em; opacity: .75; }
.mhb-content :not(.has-background) > .wp-block-table.is-style-mhb-info td { border-color: var(--hq-line); }
.mhb-content :not(.has-background) > .wp-block-table.is-style-mhb-info strong { color: var(--hq-navy); opacity: 1; }

/* Call-to-action button (e.g. "Inquiry Form", form submit): navy; white inside navy panels */
.mhb-cta .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.5rem 1rem 2rem;
	background: var(--hq-navy);
	color: #fff;
	text-decoration: none;
}
.mhb-cta .wp-block-button__link::after { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 1px solid currentColor; background: var(--hq-chev-w) center / 6px no-repeat; transition: transform .2s var(--hq-ease); }
.mhb-cta .wp-block-button__link:hover { background: var(--hq-blue); }
.mhb-cta .wp-block-button__link:hover::after { transform: translateX(3px); }
.has-primary-background-color .mhb-cta .wp-block-button__link,
.has-secondary-background-color .mhb-cta .wp-block-button__link { background: #fff; color: var(--hq-navy); }
.has-primary-background-color .mhb-cta .wp-block-button__link::after,
.has-secondary-background-color .mhb-cta .wp-block-button__link::after { background-image: var(--hq-chev); }
.has-primary-background-color .mhb-cta .wp-block-button__link:hover,
.has-secondary-background-color .mhb-cta .wp-block-button__link:hover { background: var(--hq-pale); }

.mhb-content .wp-block-list { padding-inline-start: 1.25em; }

/* ---------- Home: key visual ---------------------------------------------- */
.mhb-content--home > * + * { margin-top: 0 !important; }
.mhb-kv {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(2.25rem, 7vw, 5rem) 0 0 !important;
	background: none !important;
	color: var(--hq-ink);
}
.mhb-kv > * { width: 100%; max-width: calc(var(--hq-wrap) + 2 * var(--hq-gutter)); margin: 0 auto !important; padding-inline: var(--hq-gutter); text-shadow: none; }
.mhb-kv > .wp-block-heading:first-child {
	display: flex;
	align-items: baseline;
	gap: .55em;
	font-size: clamp(.95rem, .9rem + .35vw, 1.2rem) !important;
	letter-spacing: .1em;
	color: var(--hq-navy) !important;
}
.mhb-kv > .wp-block-heading:nth-child(2) {
	margin-top: clamp(.75rem, 2vw, 1.25rem) !important;
	font-size: clamp(1.9rem, 1.15rem + 3.4vw, 3.9rem) !important;
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: .02em;
	color: var(--hq-navy) !important;
	background: var(--hq-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	padding-bottom: .1em;
}
:lang(ja) .mhb-kv > .wp-block-heading:nth-child(2) { font-size: clamp(1.6rem, 1rem + 2.6vw, 3.1rem) !important; line-height: 1.45; }
@media (max-width: 599.98px) { .mhb-kv:not(:lang(ja)) br { display: none; } }
.mhb-kv__tagline {
	display: flex;
	align-items: baseline;
	gap: .6em;
	margin-top: clamp(1rem, 2.5vw, 1.75rem) !important;
	font-family: var(--hq-display);
	font-size: clamp(.7rem, .65rem + .3vw, .95rem);
	font-weight: 400;
	letter-spacing: .18em;
	color: var(--hq-navy);
	opacity: .9;
}
.mhb-kv__photos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: none !important;
	height: clamp(280px, 52vw, 680px);
	margin-top: clamp(1.75rem, 5vw, 3.5rem) !important;
	padding: 0 !important;
	position: relative;
}
.mhb-kv__photos::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 10, 40, .45)); pointer-events: none; }
.mhb-kv__photo { background-size: cover; background-position: center; animation: mhb-kv-in 1.1s var(--hq-ease) both; }
.mhb-kv__photo--1 { background-position: 60% 50%; }
.mhb-kv__photo--2 { animation-delay: .12s; }
.mhb-kv__photo--3 { animation-delay: .24s; background-color: #fff; background-size: 85% auto; background-repeat: no-repeat; }
@keyframes mhb-kv-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.mhb-kv__ring {
	position: absolute;
	right: max(var(--hq-gutter), calc((100% - var(--hq-wrap)) / 2));
	top: clamp(1.5rem, 5vw, 3.5rem);
	width: clamp(110px, 11vw, 160px) !important;
	padding: 0 !important;
	overflow: visible;
	animation: mhb-spin 40s linear infinite;
}
.mhb-kv__ring text { font-family: var(--hq-display); font-size: 12.5px; letter-spacing: 2.6px; fill: var(--hq-blue); }
@keyframes mhb-spin { to { transform: rotate(360deg); } }
@media (max-width: 1023.98px) { .mhb-kv__ring { display: none; } }

/* ---------- Home sections ------------------------------------------------- */
.mhb-home { margin: 0; }
.mhb-home > * { margin-block: 0 !important; }
.mhb-section {
	max-width: calc(var(--hq-wrap) + 2 * var(--hq-gutter));
	margin-inline: auto !important;
	padding: var(--hq-section) var(--hq-gutter);
}
.mhb-section > * { margin-block: 0; }

/* location band (HQ "Important News" strip) */
.mhb-band {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: .35rem clamp(1.5rem, 5vw, 4.5rem);
	padding: 1.15rem var(--hq-gutter);
	background: var(--hq-pale);
}
.mhb-band > * { margin: 0 !important; }
.mhb-band__label { font-size: 1.0625rem; }
.mhb-band__text { font-size: .8125rem; color: var(--hq-ink); }

/* About */
.mhb-about__cols { gap: clamp(2rem, 6vw, 6rem) !important; margin: 0 !important; }
.mhb-about__cols > .wp-block-column > * { margin-block: 0; }
.mhb-about .is-style-mhb-label { margin-top: .5rem !important; }
.mhb-about .mhb-lead { margin-top: clamp(2rem, 5vw, 3.5rem) !important; }
.mhb-about .wp-block-buttons { margin-top: clamp(2rem, 5vw, 3.5rem) !important; }
.mhb-about__body p { font-size: .875rem; line-height: 2; margin: 0 0 1.5em !important; }
@media (min-width: 782px) { .mhb-about__body { padding-top: clamp(6rem, 16vw, 15rem); } }

/* Products */
.mhb-products { display: flex; flex-direction: column; }
.mhb-products__head > * { margin-block: 0; }
.mhb-products__head .is-style-mhb-label { margin-top: .5rem !important; }
.mhb-products__head .mhb-lead { margin-top: 1.5rem !important; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); }
.mhb-products__list { margin-top: clamp(2rem, 5vw, 3.5rem) !important; border-bottom: 1px solid var(--hq-line); }
.mhb-products__list > * { margin: 0 !important; }
.mhb-product { gap: clamp(1.25rem, 4vw, 3rem) !important; padding: clamp(1.75rem, 4vw, 2.5rem) 0; border-top: 1px solid var(--hq-line); align-items: center !important; }
.mhb-product > .wp-block-column > * { margin-block: 0 0 .75rem; }
.mhb-product > .wp-block-column > :last-child { margin-bottom: 0; }
.mhb-product p:not([class]) { font-size: .875rem; line-height: 1.95; color: var(--hq-muted); }
.mhb-product .is-style-mhb-label { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); margin-bottom: 1rem !important; }
.mhb-product__img { margin: 0 !important; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--hq-line); }
.mhb-product__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 6%; border-radius: 0 !important; transition: transform .5s var(--hq-ease); }
.mhb-product:hover .mhb-product__img img { transform: scale(1.05); }
.mhb-products > .wp-block-buttons { margin-top: clamp(2rem, 5vw, 3rem) !important; }
@media (max-width: 781.98px) {
	.mhb-product > .wp-block-column:last-child { order: -1; }
	.mhb-product__img img { aspect-ratio: 16 / 10; }
}
@media (min-width: 1024px) {
	.mhb-products { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(3rem, 6vw, 7rem); }
	.mhb-products__head { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: row-reverse; gap: 1rem; align-self: start; position: sticky; top: calc(var(--hq-bar-h) + 48px); }
	.mhb-products__head .is-style-mhb-display, .mhb-products__head .is-style-mhb-label { writing-mode: vertical-rl; }
	.mhb-products__head .is-style-mhb-label { margin-top: 0 !important; align-items: center; }
	.mhb-products__head .mhb-lead { display: none; }
	.mhb-products__list { grid-column: 1; grid-row: 1; margin-top: 0 !important; }
	.mhb-products > .wp-block-buttons { grid-column: 1; }
}

/* Global network: rounded navy section */
.mhb-global {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: var(--hq-section) var(--hq-gutter);
	border-radius: var(--hq-radius-lg) var(--hq-radius-lg) 0 0;
	background: radial-gradient(120% 80% at 0% 0%, rgba(106, 189, 237, .45), transparent 60%), var(--hq-grad-navy);
	color: #fff;
}
.mhb-global::after { content: ""; position: absolute; z-index: -1; right: -12rem; bottom: -18rem; width: 44rem; aspect-ratio: 1; border-radius: 50%; border: 5rem solid rgba(255, 255, 255, .05); }
.mhb-global__inner { max-width: var(--hq-wrap); margin: 0 auto !important; }
.mhb-global__cols { gap: clamp(2rem, 6vw, 6rem) !important; margin: 0 !important; align-items: center !important; }
.mhb-global__text > * { margin-block: 0 0 1.25rem; }
.mhb-global .is-style-mhb-display, .mhb-global .is-style-mhb-label, .mhb-global a { color: #fff; }
.mhb-global__text p { font-size: .9375rem; line-height: 2; }
.mhb-global__places { font-family: var(--hq-display); font-size: .8125rem !important; letter-spacing: .12em; opacity: .8; }
.mhb-global .wp-block-buttons { margin-top: 2rem !important; }
.mhb-global .is-style-mhb-more .wp-block-button__link { color: #fff; }
.mhb-global .is-style-mhb-more .wp-block-button__link::after { border-color: #fff; background-image: var(--hq-chev-w); }
.mhb-global .is-style-mhb-more .wp-block-button__link:hover::after { background-color: #fff; background-image: var(--hq-chev); }
.mhb-global__photos { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.5rem, 1.5vw, 1rem) !important; margin: 0 !important; }
.mhb-global__photos > .wp-block-column > * { margin: 0 !important; }
.mhb-global__photos img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; }
.mhb-global__photos .mhb-offset { margin-top: clamp(1.5rem, 5vw, 3.5rem) !important; }

/* ISO box (HQ "mnet" box) */
.mhb-iso-wrap { padding-block: var(--hq-section) !important; }
.mhb-iso { padding: clamp(1.75rem, 5vw, 3rem) clamp(1.5rem, 5vw, 3.5rem); background: var(--hq-pale); border-radius: 20px; }
.mhb-iso .wp-block-columns { gap: clamp(1.5rem, 4vw, 3rem) !important; margin: 0 !important; align-items: center !important; }
.mhb-iso .wp-block-column > * { margin-block: 0 0 1rem; }
.mhb-iso .wp-block-column > :last-child { margin-bottom: 0; }
.mhb-iso .is-style-mhb-display { color: var(--hq-navy); font-weight: 400; font-size: clamp(3rem, 2rem + 4vw, 5rem); }
.mhb-iso p { font-size: .875rem; line-height: 1.9; }
.mhb-iso__buttons { gap: .75rem !important; }
.mhb-iso__buttons .wp-block-button { flex: 1 1 200px; }
.mhb-iso__buttons .wp-block-button__link { width: 100%; padding: .85rem 1.25rem; font-size: .875rem; }

/* ---------- Footer: contact band + navy footer ---------------------------- */
.mhb-footer { margin: 0; }
.mhb-footer > * { margin: 0 !important; }
.mhb-cta-band {
	position: relative;
	isolation: isolate;
	padding: clamp(4rem, 10vw, 7.5rem) max(var(--hq-gutter), calc((100% - var(--hq-wrap)) / 2));
	border-radius: var(--hq-radius-lg) var(--hq-radius-lg) 0 0;
	background: linear-gradient(100deg, rgba(0, 20, 70, .78), rgba(0, 34, 107, .45)), url("../images/contact-bg.jpg") center / cover no-repeat;
	color: #fff;
}
.mhb-cta-band > * { margin-block: 0; max-width: 640px; }
.mhb-cta-band .is-style-mhb-display { color: #fff; }
.mhb-cta-band__text { margin-top: 1.25rem !important; font-size: .9375rem; line-height: 1.9; }
.mhb-cta-band__buttons { margin-top: 2rem !important; gap: .75rem !important; }
.mhb-cta-band__buttons .wp-block-button__link { background: #fff; color: var(--hq-navy); }
.mhb-cta-band__buttons .wp-block-button__link:hover { background: var(--hq-pale); }
.mhb-cta-band__buttons .is-style-mhb-outline .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.mhb-cta-band__buttons .is-style-mhb-outline .wp-block-button__link:hover { background: #fff; color: var(--hq-navy); }
.mhb-cta-band__tel { margin-top: 1.25rem !important; font-family: var(--hq-display); font-size: 1rem; letter-spacing: .08em; }
.mhb-cta-band__tel a { color: #fff; text-decoration: none; }
.mhb-cta-band__tel a:hover { text-decoration: underline; }
@media (min-width: 1024px) {
	.mhb-cta-band::after {   /* envelope circle, like the HQ contact block */
		content: "";
		position: absolute;
		right: max(var(--hq-gutter), calc((100% - var(--hq-wrap)) / 2));
		top: 50%;
		width: 120px;
		height: 120px;
		border-radius: 50%;
		border: 1px solid rgba(255, 255, 255, .85);
		transform: translateY(-50%);
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 28'%3E%3Cpath d='M1 1h38v26H1zM1 1l19 15L39 1' fill='none' stroke='%23fff' stroke-width='1.3'/%3E%3C/svg%3E") center / 40px no-repeat;
	}
}

.mhb-footer-navy { padding: clamp(3.5rem, 8vw, 5.5rem) var(--hq-gutter) 1.5rem; background: var(--hq-navy); color: #fff; }
.mhb-footer-navy > * { margin-block: 0; }
.mhb-footer-main { max-width: var(--hq-wrap); margin: 0 auto !important; gap: clamp(2rem, 6vw, 5rem) !important; }
.mhb-footer-col > * { margin-block: 0 0 1.25rem; }
.mhb-footer-col > :last-child { margin-bottom: 0; }
.mhb-logo--footer img { width: clamp(220px, 60vw, 280px); }
.mhb-footer-address, .mhb-footer-contact { font-size: .8125rem; line-height: 1.85; }
.mhb-footer-address strong { display: inline-block; margin-bottom: .25rem; font-size: .9375rem; }
.mhb-footer-navy a { color: #fff; text-decoration: none; }
.mhb-footer-navy a:hover { text-decoration: underline; }
.mhb-footer-tagline { font-size: clamp(1.35rem, 1rem + 1.6vw, 2.25rem); line-height: 1.6; letter-spacing: .06em; }
:lang(ja) .mhb-footer-tagline { line-height: 1.75; }
.mhb-footer-nav ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; list-style: none; font-size: .8125rem; letter-spacing: .06em; }
.mhb-footer-nav a { opacity: .9; }
.mhb-footer-bottom { max-width: var(--hq-wrap); margin: clamp(2.5rem, 6vw, 4rem) auto 0 !important; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .15); text-align: center; }
.mhb-footer-bottom > * { margin: 0; }
.mhb-copyright { font-family: var(--hq-display); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

/* ---------- Inquiry form -------------------------------------------------- */
.mhb-inquiry { max-width: 820px; margin-inline: 0 auto !important; }
.mhb-content .wp-block-group:has(.mhb-inquiry) > * { max-width: 820px; margin-inline: 0 auto !important; }
.mhb-form { display: grid; gap: 1.25rem 1.5rem; grid-template-columns: 1fr; margin-top: 1.5rem; }
.mhb-form > p { margin: 0 !important; }
.mhb-field { display: flex; flex-direction: column; gap: .4rem; }
.mhb-field label { font-weight: 700; font-size: .875rem; letter-spacing: .06em; }
.mhb-req { color: #c62828; }
.mhb-field input, .mhb-field textarea {
	width: 100%;
	padding: .85rem 1rem;
	font: inherit;
	font-size: 1rem;              /* ≥16px: no zoom-on-focus on iOS */
	letter-spacing: .03em;
	color: #111;
	background: var(--hq-off);
	border: 1px solid #d3dae5;
	border-radius: 6px;
	transition: border-color .15s var(--hq-ease), box-shadow .15s var(--hq-ease), background-color .15s var(--hq-ease);
}
.mhb-field textarea { resize: vertical; min-height: 10rem; }
.mhb-field input:focus, .mhb-field textarea:focus { outline: none; background: #fff; border-color: var(--hq-navy); box-shadow: 0 0 0 3px rgba(6, 101, 183, .18); }
.mhb-field.has-error input, .mhb-field.has-error textarea { border-color: #c62828; }
.mhb-error { color: #c62828; font-size: .8125rem; }
.mhb-privacy { font-size: .8125rem; color: var(--hq-muted); }
.mhb-submit { justify-self: start; }
.mhb-submit button { border: 0; cursor: pointer; font: inherit; }
.mhb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.mhb-notice { padding: 1rem 1.25rem; border-radius: 8px; border-left: 4px solid; margin: 1rem 0 0; }
.mhb-notice--ok { background: #e8f3ec; border-color: #2e7d32; color: #1b4d20; }
.mhb-notice--warn { background: #fff6e0; border-color: #e0a100; color: #5c4300; }
.mhb-notice--error { background: #fdecea; border-color: #c62828; color: #6d1b1b; }
@media (min-width: 600px) {
	.mhb-form { grid-template-columns: 1fr 1fr; }
	.mhb-field--message, .mhb-privacy, .mhb-submit { grid-column: 1 / -1; }
}

/* ---------- Click-to-load map ---------------------------------------------- */
.mhb-map-consent {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 320px;
	padding: 1.5rem;
	text-align: center;
	color: #fff;
	background:
		radial-gradient(circle at 30% 20%, rgba(106, 189, 237, .35), transparent 55%),
		var(--hq-grad-navy);
}
.mhb-map-consent__inner { display: flex; flex-direction: column; align-items: center; gap: .7rem; max-width: 36ch; }
.mhb-map-consent__btn { padding: .8rem 1.6rem; font: inherit; font-weight: 700; letter-spacing: .06em; color: var(--hq-navy); background: #fff; border: 0; border-radius: 2px; cursor: pointer; }
.mhb-map-consent__btn:hover { background: var(--hq-pale); }
.mhb-map-consent__link { color: #fff !important; font-size: .875rem; }
.mhb-map-consent small { font-size: .75rem; opacity: .85; line-height: 1.5; }

/* ---------- Editor tweaks -------------------------------------------------- */
.editor-styles-wrapper .mhb-header { position: relative; pointer-events: auto; }
.editor-styles-wrapper .mhb-main::before { display: none; }
