/**
 * Luxia Dental — Elementor layout for Careers & Partner With Us
 *
 * The pages are Elementor documents. This file styles the Elementor widgets
 * that carry the static sections so they match the approved design tokens
 * already used by luxia-careers.css:
 *
 *   H1        70px / 70px, 600, uppercase, white
 *   H2        35px / 35px, 600, sentence case
 *   H3        21px / 25.2px, 600
 *   body      Inter 17px / 25.5px, #7A7A7A
 *   buttons   Helvetica, 600, radius 5px (primary) / 3px (light)
 *   gold      #BAA36D, text #8A7444 — never a fill
 *
 * Specificity note. Elementor's generated post CSS and its kit CSS ship these
 * rules, all of which would otherwise win:
 *
 *   .elementor-widget-heading .elementor-heading-title   (0,2,0) colour
 *   .elementor-widget-button  .elementor-button          (0,2,0) background
 *   .elementor-4664 .elementor-element.elementor-element-x (0,3,0) --display
 *
 * So every rule here is anchored to `body` plus the `lx-e` class that is set on
 * each top-level container, giving (0,3,1) or better without !important.
 */

.lx-e-hero,
.lx-e-section {
	--lx-ink: #0e0e0e;
	--lx-ink-2: #1d1d1d;
	--lx-body: #7a7a7a;
	--lx-body-strong: #4a4a4a;
	--lx-gold: #baa36d;
	--lx-gold-text: #8a7444;
	--lx-line: #e5e5e5;
	--lx-tint: #f7f7f7;
	--lx-head: Helvetica, sans-serif;
	--lx-sans: Inter, sans-serif;

	font-family: var(--lx-sans);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--lx-body);
	-webkit-font-smoothing: antialiased;
}

.lx-e-hero *,
.lx-e-section * {
	box-sizing: border-box;
}

/* The theme prints a page-title bar above the content; the hero carries the H1. */
body.page-id-4664 .page-header,
body.page-id-4665 .page-header {
	display: none;
}

/* --------------------------------------------------------- boxed wrapper */

body .lx-e .e-con-boxed > .e-con-inner {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	align-items: stretch;
}

body .lx-e .lx-e-wrap--narrow > .e-con-inner {
	max-width: 880px;
}

/* ------------------------------------------------------------- headings */

body .lx-e-hero .elementor-widget-heading h1.elementor-heading-title {
	font-family: var(--lx-head);
	font-weight: 600;
	letter-spacing: normal;
	font-size: clamp(38px, 4.9vw, 70px);
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
	max-width: 15em;
	margin: 0 0 0.34em;
}

body .lx-e-section .elementor-widget-heading h2.elementor-heading-title {
	font-family: var(--lx-head);
	font-weight: 600;
	letter-spacing: normal;
	font-size: clamp(26px, 2.5vw, 35px);
	line-height: 1;
	color: var(--lx-ink);
	margin: 0 0 18px;
}

body .lx-e-section .elementor-widget-heading h3.elementor-heading-title {
	font-family: var(--lx-head);
	font-weight: 600;
	letter-spacing: normal;
	font-size: clamp(19px, 1.5vw, 21px);
	line-height: 1.2;
	color: var(--lx-ink);
	margin: 0 0 10px;
}

body .lx-e-section.lx-e-section--dark .elementor-widget-heading h2.elementor-heading-title,
body .lx-e-section.lx-e-section--dark .elementor-widget-heading h3.elementor-heading-title {
	color: #fff;
}

/* --------------------------------------------------------------- labels */

body .lx-e .lx-e-eyebrow p {
	font-family: var(--lx-head);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	color: var(--lx-gold-text);
	margin: 0 0 10px;
}

body .lx-e-hero .lx-e-eyebrow p,
body .lx-e-section--dark .lx-e-eyebrow p {
	color: var(--lx-gold);
}

body .lx-e-hero .lx-e-eyebrow p {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

body .lx-e-hero .lx-e-eyebrow p::before {
	content: "";
	display: block;
	width: 32px;
	height: 1px;
	background: var(--lx-gold);
	flex: 0 0 auto;
}

/* ----------------------------------------------------------------- copy */

body .lx-e .elementor-widget-text-editor p {
	margin: 0 0 1.2em;
}

body .lx-e .elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

body .lx-e-hero .lx-e-hero__lead p {
	font-size: clamp(18px, 1.5vw, 21px);
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
	max-width: 56ch;
	margin: 0 0 34px;
}

body .lx-e-section .lx-e-lead p {
	font-size: clamp(18px, 1.5vw, 21px);
	line-height: 1.5;
	color: var(--lx-body-strong);
}

body .lx-e-section .lx-e-sub p {
	font-size: 17px;
	line-height: 1.5;
	color: var(--lx-body);
}

body .lx-e-section--dark .elementor-widget-text-editor p {
	color: rgba(255, 255, 255, 0.72);
}

body .lx-e-section .elementor-widget-text-editor a {
	color: var(--lx-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

body .lx-e-section .elementor-widget-text-editor a:hover {
	color: var(--lx-gold-text);
}

body .lx-e-section .lx-e-inline-links p {
	font-size: 15px;
	color: var(--lx-body);
	margin-top: 4px;
}

/* --------------------------------------------------------------- facts */

body .lx-e .lx-e-facts ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 0;
	max-width: 780px;
	margin: 44px 0 0;
	padding: 20px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	list-style: none;
}

body .lx-e .lx-e-facts li {
	font-family: var(--lx-head);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
	padding: 0 20px 0 0;
	border-right: 1px solid rgba(255, 255, 255, 0.16);
}

body .lx-e .lx-e-facts li + li {
	padding-left: 20px;
}

body .lx-e .lx-e-facts li:last-child {
	border-right: 0;
	padding-right: 0;
}

/* -------------------------------------------------------------- buttons */

body .lx-e .lx-e-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}

body .lx-e .elementor-widget-button .elementor-button {
	font-family: var(--lx-head);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	text-decoration: none;
	padding: 14px 27px;
	border: 0;
	border-radius: 5px;
	background-color: var(--lx-ink-2);
	background-image: linear-gradient(rgb(81, 81, 81) 0%, rgb(0, 0, 0) 100%);
	color: #fff;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

body .lx-e .elementor-widget-button .elementor-button:hover,
body .lx-e .elementor-widget-button .elementor-button:focus {
	background-image: linear-gradient(rgb(48, 48, 48) 0%, rgb(0, 0, 0) 100%);
	background-color: var(--lx-ink-2);
	color: #fff;
}

/* Light secondary on the dark hero — 2px white, radius 3px, as in the header. */
body .lx-e .lx-e-btn--light .elementor-button {
	background-color: transparent;
	background-image: none;
	border: 2px solid #fff;
	border-radius: 3px;
	padding: 12px 24px;
	font-size: 15px;
	color: #fff;
}

body .lx-e .lx-e-btn--light .elementor-button:hover,
body .lx-e .lx-e-btn--light .elementor-button:focus {
	background-color: #fff;
	background-image: none;
	color: var(--lx-ink);
}

/* Outline secondary on light surfaces. */
body .lx-e .lx-e-btn--outline .elementor-button {
	background-color: transparent;
	background-image: none;
	border: 1px solid var(--lx-ink);
	border-radius: 3px;
	padding: 13px 26px;
	color: var(--lx-ink);
}

body .lx-e .lx-e-btn--outline .elementor-button:hover,
body .lx-e .lx-e-btn--outline .elementor-button:focus {
	background-color: var(--lx-ink);
	background-image: none;
	color: #fff;
}

/* ----------------------------------------------------------- two column */

body .lx-e .lx-e-two-col {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
	column-gap: clamp(40px, 5vw, 72px);
	align-items: start;
}

body .lx-e .lx-e-two-col--hero {
	grid-template-columns: minmax(0, 1fr) 300px;
	align-items: center;
}

/* ------------------------------------------------------- doctor portrait */

body .lx-e .lx-e-figure .elementor-widget-container {
	position: relative;
	margin-bottom: 26px;
}

body .lx-e .lx-e-figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
}

body .lx-e .lx-e-figure .elementor-widget-container::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid var(--lx-gold);
	pointer-events: none;
}

/* Life at Luxia: the doctor's profile lives in the text column, so the
   portrait sits alone on the right and centres against the copy. */
body .lx-e .lx-e-two-col--life {
	align-items: center;
}

body .lx-e .lx-e-doctor-eyebrow {
	margin-top: 44px;
}

body .lx-e .lx-e-figure-col .lx-e-figure .elementor-widget-container {
	margin-bottom: 0;
}

body .lx-e .lx-e-portrait .elementor-widget-container {
	padding: 9px;
	border: 1px solid rgba(186, 163, 109, 0.55);
	background: rgba(255, 255, 255, 0.03);
}

body .lx-e .lx-e-portrait img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 596 / 765;
	object-fit: cover;
	object-position: 50% 14%;
}

/* --------------------------------------------------------- grow 2 x 2 */

body .lx-e .lx-e-why-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(32px, 4vw, 64px);
	row-gap: clamp(28px, 3.4vw, 48px);
}

body .lx-e .lx-e-why-item {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	column-gap: 18px;
	align-items: start;
}

body .lx-e .lx-e-why-icon svg {
	display: block;
	width: 28px;
	height: 28px;
	stroke: var(--lx-gold);
	fill: none;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

body .lx-e .lx-e-why-item h3 {
	margin: 0 0 8px;
}

body .lx-e .lx-e-why-item p {
	margin: 0;
}

/* ----------------------------------------------------------------- note */

body .lx-e .lx-e-note .elementor-widget-container {
	background: var(--lx-tint);
	border-left: 2px solid var(--lx-gold);
	padding: 20px 24px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--lx-body);
}

body .lx-e .lx-e-note strong {
	color: var(--lx-ink);
	font-weight: 600;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1023px) {
	body .lx-e .lx-e-two-col,
	body .lx-e .lx-e-two-col--hero {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 40px;
	}

	/* Stacked: keep the copy at a readable measure and stop the portrait
	   from blowing up to the full column width. */
	body .lx-e .lx-e-two-col--life > * {
		max-width: 640px;
	}

	body .lx-e .lx-e-two-col--life > .lx-e-figure-col {
		max-width: 380px;
	}

	body .lx-e .lx-e-two-col--hero .lx-e-portrait {
		max-width: 260px;
		order: 2;
	}

	body .lx-e .lx-e-why-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	body .lx-e-hero .lx-e-hero__lead p {
		margin-bottom: 26px;
	}

	body .lx-e .lx-e-facts ul {
		margin-top: 32px;
	}

	body .lx-e .lx-e-facts li {
		font-size: 12px;
		padding-right: 14px;
	}

	body .lx-e .lx-e-facts li + li {
		padding-left: 14px;
	}

	body .lx-e .lx-e-actions {
		gap: 12px;
	}

	body .lx-e .elementor-widget-button .elementor-button {
		width: 100%;
		text-align: center;
	}

	body .lx-e .lx-e-figure .elementor-widget-container::after {
		inset: 0;
	}
}
