/*
 * MiraeLaw Contact page — Hero section
 *
 * Same recipe as the Home/Team/Areas of Expertise/Offices Heroes (navy
 * background, absolutely-positioned "未來" watermark, fluid H1/lead) — kept
 * as its own class set rather than reusing another page's, per this
 * project's established convention (every existing hero file independently
 * repeats this pattern; see offices-hero.css's own comment on this same
 * choice). Two things are new here versus every prior Hero: the section's
 * own padding is measured slightly smaller in this design
 * (clamp(48px,7vw,80px), not the 56-96px used elsewhere), and a breadcrumb
 * replaces the eyebrow line — no Elementor-built Hero has needed one before
 * (Team Single's near-identical breadcrumb is rendered by PHP shortcode
 * markup, not an Elementor widget, so its CSS isn't reusable here as-is).
 *
 * The H1 rule targets the nested .elementor-heading-title element directly
 * from the start — not the wrapper — per the invisible-text bug found and
 * fixed on the Offices page Hero (a wrapper-only rule never reaches
 * Elementor's actual rendered <h1>, since color/font-size are inherited
 * properties that a direct rule on the descendant always wins over).
 */

.ml-contact-hero-root {
	position: relative;
	overflow: hidden;
	/* z-index (even 0) makes position:relative establish its own stacking
	   context, so the watermark's negative z-index stays local — same
	   technique as home-hero.css's .ml-hero-root. */
	z-index: 0;
	background: var( --ml-primary );
}

.ml-contact-hero-watermark {
	margin: 0;
	font-size: clamp( 160px, 22vw, 280px );
	line-height: 1;
	pointer-events: none;
	user-select: none;
}

.ml-contact-hero-inner {
	max-width: var( --ml-container-width );
	margin: 0 auto;
	/* Fluid clamp() measured directly from the source design — smaller than
	   the 56-96px range used by every other Hero on this project. */
	padding: clamp( 48px, 7vw, 80px ) 24px;
	position: relative;
}

.ml-contact-hero-breadcrumb {
	margin: 0 0 24px;
}

.ml-contact-hero-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var( --ml-font-mono );
	font-size: 13px;
	color: var( --ml-neutral-300 );
}

.ml-contact-hero-breadcrumb a {
	color: var( --ml-neutral-200 );
	text-decoration: none;
	transition: color var( --ml-transition-base );
}

.ml-contact-hero-breadcrumb a:hover,
.ml-contact-hero-breadcrumb a:focus-visible {
	color: var( --ml-accent-light );
}

.ml-contact-hero-breadcrumb [aria-current] {
	color: var( --ml-background );
}

@media ( prefers-reduced-motion: reduce ) {
	.ml-contact-hero-breadcrumb a {
		transition: none;
	}
}

.ml-contact-hero-h1 {
	margin: 0 0 22px;
}

.ml-contact-hero-h1 .elementor-heading-title {
	font-family: var( --ml-font-heading ) !important;
	font-size: clamp( 38px, 5.4vw, 64px ) !important;
	font-weight: 600 !important;
	line-height: 1.06 !important;
	letter-spacing: var( --ml-tracking-tight ) !important;
	color: var( --ml-background ) !important;
}

.ml-contact-hero-lead {
	margin: 0;
	/* !important: Elementor's own `.e-con > .elementor-widget { max-width:
	   100% }` rule outranks a single class selector on specificity alone —
	   same fix already applied in every other Hero's lead paragraph. */
	max-width: 42em !important;
	font-size: clamp( 17px, 2vw, 20px );
	line-height: var( --ml-leading-relaxed );
	color: var( --ml-neutral-200 );
}

.ml-contact-hero-lead a {
	color: var( --ml-accent-light );
}
