/* Orion CMS Content — privacy-policy.html / terms-condition.html
   Source: .cms-content h1/h4/p rules in orion-2 tailwind.css + global
   heading/paragraph schedules. Breakpoints: sm=640, md=769, lg=992,
   xl=1199, 1xl=1380, 2xl=1752. */

/* Title alignment variants (per-page Elementor classes). */
.orion-cms-content__title--start { text-align: start; }
.orion-cms-content__title--center { text-align: center; }
.orion-cms-content__title--responsive { text-align: center; }
@media (min-width: 640px) {
	.orion-cms-content__title--responsive { text-align: start; }
}

/* Vertical section padding — HTML: container lg:py-[70px] md:py-[60px]
   sm:py-[38px] py-[34px]. Beat Elementor .elementor-widget.container
   `padding: 0 X !important` with a 3-class selector. */
.elementor-widget.cms-content.orion-cms-content-py {
	padding-top: 34px;
	padding-bottom: 34px;
	padding-left: 16px;
	padding-right: 16px;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
	font-family: var(--orion-font-body, Lexend, sans-serif);
	color: #000;
	background: #fff;
}
@media (min-width: 640px) {
	.elementor-widget.cms-content.orion-cms-content-py {
		max-width: 640px;
		padding-top: 38px;
		padding-bottom: 38px;
	}
}
@media (min-width: 769px) {
	.elementor-widget.cms-content.orion-cms-content-py {
		max-width: 769px;
		padding-top: 60px;
		padding-bottom: 60px;
	}
}
@media (min-width: 992px) {
	.elementor-widget.cms-content.orion-cms-content-py {
		max-width: 992px;
		padding-top: 70px;
		padding-bottom: 70px;
	}
}
@media (min-width: 1199px) {
	.elementor-widget.cms-content.orion-cms-content-py { max-width: 1199px; }
}
@media (min-width: 1380px) {
	.elementor-widget.cms-content.orion-cms-content-py { max-width: 1380px; }
}
@media (min-width: 1752px) {
	.elementor-widget.cms-content.orion-cms-content-py { max-width: 1752px; }
}

/* Elementor text-editor inner wrappers inherit kit styles — reset them. */
.cms-content.elementor-widget-text-editor,
.cms-content .elementor-widget-container,
.cms-content .elementor-text-editor {
	font-family: var(--orion-font-body, Lexend, sans-serif);
	color: #000;
}

/* ── h1 (cms-content override = h2-like schedule, not global h1) ────
   28/30/35/40/46/60 · lh 36/40/40/50/55/70 · fw 500 · mb 20
   Default align: center → start from sm (HTML .cms-content h1). */
.cms-content h1,
.cms-content .orion-cms-content__title {
	margin: 0 0 20px;
	font-family: var(--orion-font-heading, "El Messiri", serif);
	font-weight: 500;
	color: #000;
	font-size: 28px;
	line-height: 36px;
	text-align: center;
}
@media (min-width: 640px) {
	.cms-content h1,
	.cms-content .orion-cms-content__title {
		text-align: start;
		font-size: 30px;
		line-height: 40px;
	}
}
@media (min-width: 769px) {
	.cms-content h1,
	.cms-content .orion-cms-content__title {
		font-size: 35px;
		line-height: 40px;
	}
}
@media (min-width: 1199px) {
	.cms-content h1,
	.cms-content .orion-cms-content__title {
		font-size: 40px;
		line-height: 50px;
	}
}
@media (min-width: 1380px) {
	.cms-content h1,
	.cms-content .orion-cms-content__title {
		font-size: 46px;
		line-height: 55px;
	}
}
@media (min-width: 1752px) {
	.cms-content h1,
	.cms-content .orion-cms-content__title {
		font-size: 60px;
		line-height: 70px;
	}
}

/* Explicit alignment modifiers still win over the default schedule. */
.cms-content h1.orion-cms-content__title--start,
.cms-content .orion-cms-content__title--start {
	text-align: start;
}
.cms-content h1.orion-cms-content__title--center,
.cms-content .orion-cms-content__title--center {
	text-align: center;
}
.cms-content h1.orion-cms-content__title--responsive,
.cms-content .orion-cms-content__title--responsive {
	text-align: center;
}
@media (min-width: 640px) {
	.cms-content h1.orion-cms-content__title--responsive,
	.cms-content .orion-cms-content__title--responsive {
		text-align: start;
	}
}

/* ── h4 (global h4 + cms pt/pb) ────────────────────────────────────
   Size: 20 / md:22 / xl:24 / 2xl:30
   LH: 28 / xl:32 / 1xl:36 / 2xl:42
   Padding: pt-5 (20) / xl:pt-7 (28), pb-1 (4). mb: 0. fw: 500. */
.cms-content h4 {
	margin: 0;
	font-family: var(--orion-font-heading, "El Messiri", serif);
	font-weight: 500;
	color: #000;
	font-size: 20px;
	line-height: 28px;
	padding-top: 20px;
	padding-bottom: 4px;
}
@media (min-width: 769px) {
	.cms-content h4 {
		font-size: 22px;
		line-height: 28px;
	}
}
@media (min-width: 1199px) {
	.cms-content h4 {
		font-size: 24px;
		line-height: 32px;
		padding-top: 28px;
	}
}
@media (min-width: 1380px) {
	.cms-content h4 {
		line-height: 36px;
	}
}
@media (min-width: 1752px) {
	.cms-content h4 {
		font-size: 30px;
		line-height: 42px;
	}
}

/* ── p (global p + cms py + text-black) ────────────────────────────
   Size: 14 / lg:15 / 2xl:18
   LH: 23 / lg:25 / xl:26 / 1xl:28 / 2xl:32
   Padding: py-2 (8) / xl:py-[10px]. mb: 0. fw: 300. */
.cms-content p {
	margin: 0;
	font-family: var(--orion-font-body, Lexend, sans-serif);
	font-weight: 300;
	color: #000;
	font-size: 14px;
	line-height: 23px;
	padding-top: 8px;
	padding-bottom: 8px;
}
@media (min-width: 992px) {
	.cms-content p {
		font-size: 15px;
		line-height: 25px;
	}
}
@media (min-width: 1199px) {
	.cms-content p {
		line-height: 26px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
}
@media (min-width: 1380px) {
	.cms-content p {
		line-height: 28px;
	}
}
@media (min-width: 1752px) {
	.cms-content p {
		font-size: 18px;
		line-height: 32px;
	}
}

/* Links — HTML: underline underline-offset-2 hover:text-primary-900 */
.cms-content a {
	color: #000;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.2s ease;
}
.cms-content a:hover,
.cms-content a:focus {
	color: var(--orion-primary, var(--orion-primary));
}

/* Kill Elementor text-editor default paragraph spacing helpers. */
.cms-content .elementor-widget-container > *:last-child {
	margin-bottom: 0;
}
