/* ==========================================================
   LawyerAI sitewide heading typography
   ========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

/* Highlighted words in headings: brand gradient, same face and weight as the heading. */
:is(h1, h2, h3, h4, h5, h6) :is(em, i, .lai-serif),
.sd404__serif {
	font-family: inherit !important;
	font-style: normal !important;
	font-weight: inherit !important;
	letter-spacing: inherit !important;
	background: linear-gradient(90deg, #6545e7 0%, #8358ea 46%, #a96fed 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

/* ==========================================================
   Content text links — brand middle purple + bold
   (overrides Divi default a { color:#2ea3f2 })
   ========================================================== */

:root {
	--lai-brand-middle-purple: #7655e9;
}

body a {
	color: var(--lai-brand-middle-purple);
	font-weight: 700;
}

/* Preserve nav / footer treatments (they set their own colors/weights) */
#laiNavAtlas a {
	color: inherit;
	font-weight: inherit;
}

/* ==========================================================
   Privacy / Terms legal hero under fixed desktop nav
   NOTE: Divi TB body layout on these pages uses .et-l--post (not .et-l--body)
   ========================================================== */

/* Kill Divi flex-section padding around the purple hero band */
body.page-id-2942 .et-l--post .et_pb_section_1,
body.page-id-2949 .et-l--post .et_pb_section_1,
body.page-id-2942 #main-content .et_pb_section_1,
body.page-id-2949 #main-content .et_pb_section_1,
body.page-id-2942 .et_pb_section_1.et_flex_section,
body.page-id-2949 .et_pb_section_1.et_flex_section {
	padding-top: 0 !important;
	padding-bottom: 72px !important;
	margin-top: 0 !important;
	--section-padding: 0px !important;
}

/* Mobile: shrink purple hero ~30% (20vh → 14vh) */
@media (max-width: 767px) {
	.lawyerai-legal-hero {
		height: 14vh !important;
		height: 14svh !important;
	}
}
