/* Job details page (single job_listing) — approved scoped CSS (Karthick, 2026-09-24).
   Values match design-files-approved/Job_Pages/Job Details - Associated Dentists.html.
   Colours and fonts come from the Elementor kit globals.
   - .ad-job-prose       Post Content widget: the job description written in the WordPress editor.
   - .ad-job-benefits    Text Editor showing the ACF "Benefits" field (a bulleted list).
   - .ad-job-benefits-box / .ad-job-others  hide themselves when the job has no benefits / there
                          are no other openings. */

/* ---- job description ---- */
.elementor-kit-8 .ad-job-prose { color: var(--e-global-color-text); } /* width 70ch = the widget's Custom Width */
.elementor-kit-8 .ad-job-prose p { margin: 0 0 18px; }
.elementor-kit-8 .ad-job-prose p:first-child {
	font-size: var(--e-global-typography-ad0lead-font-size, clamp(1.05rem, 1.35vw, 1.18rem));
	line-height: 1.7;
}
.elementor-kit-8 .ad-job-prose h2 {
	margin: 40px 0 14px;
	font-family: var(--e-global-typography-ad0d3h3-font-family), Georgia, serif;
	font-size: var(--e-global-typography-ad0d3h3-font-size);
	font-weight: var(--e-global-typography-ad0d3h3-font-weight);
	line-height: var(--e-global-typography-ad0d3h3-line-height);
	letter-spacing: var(--e-global-typography-ad0d3h3-letter-spacing);
	color: var(--e-global-color-primary);
	text-wrap: balance;
}
.elementor-kit-8 .ad-job-prose h3 {
	margin: 26px 0 10px;
	font-family: var(--e-global-typography-ad0d4h4-font-family), Georgia, serif;
	font-size: 1.16rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -.015em;
	color: var(--e-global-color-primary);
	text-wrap: balance;
}
.elementor-kit-8 .ad-job-prose ul {
	display: grid;
	gap: 10px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}
.elementor-kit-8 .ad-job-prose li {
	position: relative;
	padding-left: 24px;
	text-wrap: pretty;
}
.elementor-kit-8 .ad-job-prose li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .66em;
	width: 7px;
	height: 7px;
	border-radius: 1px;
	background: var(--e-global-color-secondary);
}
.elementor-kit-8 .ad-job-prose strong,
.elementor-kit-8 .ad-job-prose b { color: var(--e-global-color-d68b0057); }

/* ---- benefits list (round check bullets, two columns when there is room) ---- */
.elementor-kit-8 .ad-job-benefits ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 12px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.elementor-kit-8 .ad-job-benefits li {
	position: relative;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: .9375rem;
	line-height: 1.5;
	color: var(--e-global-color-d68b0057);
}
.elementor-kit-8 .ad-job-benefits li::before {
	content: "";
	flex: none;
	box-sizing: border-box;
	width: 24px;
	height: 24px;
	border: 1px solid var(--e-global-color-78c7cdf8);
	border-radius: 50%;
	background: var(--e-global-color-da21db90);
}
/* check mark (design sprite i-check), coloured with the Ocher global */
.elementor-kit-8 .ad-job-benefits li::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 6px;
	width: 12px;
	height: 12px;
	background: var(--e-global-color-accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.4 6.2 12 13.5 4.5' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%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 16 16'%3E%3Cpath d='M2.5 8.4 6.2 12 13.5 4.5' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.elementor-kit-8 .ad-job-benefits p:empty { display: none; }

/* ---- hide empty blocks ---- */
.ad-job-benefits-box:not(:has(li)),
.ad-job-others:not(:has(.ad-jb-card)) { display: none !important; }
