/*
 * Restoration-only integration. The historical stylesheet remains the visual
 * specification, including the slide-in menu in full. This file carries only
 * archived spacing corrections and custom-plugin compatibility.
 */

:root {
	--hs-restored-orange: #ef4f15;
}

/* Production gives every section eyebrow a 10px gap before its heading. */
body.jp-restored #page-container #main-content h4 {
	padding-bottom: 10px !important;
}

/*
 * Use the corrected hero hierarchy from the newer Jana build. The archived
 * Divi page reverses these roles, making the long lead a display-size Abril
 * paragraph that collides with the illustration on desktop.
 */
body.jp-restored #page-container #main-content #heilpraktikerin-einleitung .et_pb_text h1 {
	margin: 0 0 15px !important;
	padding: 0 0 4vh !important;
	color: #312782 !important;
	font-family: abril-text, serif !important;
	font-size: calc(24px + (50 - 24) * ((100vw - 468px) / (1640 - 468))) !important;
	font-weight: 300 !important;
	line-height: calc(46px + (65 - 46) * ((100vw - 468px) / (1640 - 468))) !important;
	text-transform: uppercase;
}

body.jp-restored #page-container #main-content #heilpraktikerin-einleitung .et_pb_text p {
	margin: 0 !important;
	color: #312782 !important;
	font-family: interstate, sans-serif !important;
	font-size: calc(16px + (22 - 16) * ((100vw - 468px) / (1640 - 468))) !important;
	font-weight: 400 !important;
	line-height: calc(28px + (40 - 28) * ((100vw - 468px) / (1640 - 468))) !important;
}

@media (min-width: 1641px) {
	body.jp-restored #page-container #main-content #heilpraktikerin-einleitung .et_pb_text h1 {
		font-size: 70px !important;
		line-height: 90px !important;
	}

	body.jp-restored #page-container #main-content #heilpraktikerin-einleitung .et_pb_text p {
		font-size: 25px !important;
		line-height: 40px !important;
	}
}

@media (max-width: 1400px) {
	body.jp-restored #page-container #main-content #heilpraktikerin-einleitung .et_pb_text h1 {
		font-size: calc(28px + (50 - 28) * ((100vw - 468px) / (1640 - 468))) !important;
		line-height: calc(42px + (70 - 42) * ((100vw - 468px) / (1640 - 468))) !important;
	}

	body.jp-restored #page-container #main-content #heilpraktikerin-einleitung .et_pb_text p {
		font-size: calc(16px + (20 - 16) * ((100vw - 468px) / (1640 - 468))) !important;
		line-height: calc(28px + (36 - 28) * ((100vw - 468px) / (1640 - 468))) !important;
	}
}

@media (max-width: 1024px) and (orientation: landscape) {
	body.jp-restored #page-container #main-content #heilpraktikerin-einleitung .et_pb_text h1 {
		font-size: calc(22px + (58 - 22) * ((100vw - 468px) / (1640 - 468))) !important;
		line-height: calc(36px + (75 - 36) * ((100vw - 468px) / (1640 - 468))) !important;
	}

	body.jp-restored #page-container #main-content #heilpraktikerin-einleitung .et_pb_text p {
		font-size: calc(14px + (18 - 14) * ((100vw - 468px) / (1640 - 468))) !important;
		line-height: calc(26px + (32 - 26) * ((100vw - 468px) / (1640 - 468))) !important;
	}
}

@media (max-width: 980px) {
	body.jp-restored #page-container #main-content #heilpraktikerin-einleitung .et_pb_text h1 {
		padding-bottom: 40px !important;
		font-size: calc(31px + (70 - 31) * ((100vw - 468px) / (1640 - 468))) !important;
		line-height: calc(46px + (90 - 46) * ((100vw - 468px) / (1640 - 468))) !important;
	}

	body.jp-restored #page-container #main-content #heilpraktikerin-einleitung .et_pb_text p {
		font-size: calc(18px + (24 - 18) * ((100vw - 468px) / (1640 - 468))) !important;
		line-height: calc(30px + (38 - 30) * ((100vw - 468px) / (1640 - 468))) !important;
	}
}

@media (max-width: 768px) {
	body.jp-restored #page-container #main-content #heilpraktikerin-einleitung .et_pb_text h1 {
		margin-bottom: 0 !important;
		padding-bottom: 25px !important;
		font-size: 31px !important;
		line-height: 46px !important;
	}
}

/*
 * Preserve the archived carousel boxes. The original WP Fastest Cache bundle
 * supplied these final pixels; keeping them here makes the direct, unbundled
 * assets render identically while remaining independently cacheable.
 */
.jp-restored .pac_dcm_column_1 {
	padding-bottom: 20px !important;
}

.jp-restored .pac_dcm_column_2 {
	padding-bottom: 20px !important;
}

@media (min-width: 981px) and (max-width: 1100px) {
	.jp-restored .pac_dcm_column_2 {
		padding-bottom: 49px !important;
	}
}

@media (max-width: 767px) {
	.jp-restored .pac_dcm_column_2 {
		padding-bottom: 78px !important;
	}
}

/* Existing footer link reopens the replacement privacy panel. */
.hs-restored .borlabs-cookie-preference {
	cursor: pointer;
}

.hs-restored .et-l--header a:focus-visible,
.hs-restored .et-l--header [role="button"]:focus-visible,
.hs-restored .borlabs-cookie-preference:focus-visible {
	border-radius: 0.15rem;
	outline: 2px solid var(--hs-restored-orange);
	outline-offset: 4px;
}
