:root {
	--ps-font-title: Lora, Georgia, serif;
	--ps-font-body: Lato, Arial, Helvetica, sans-serif;

	--ps-color-title: #1a1a1a;
	--ps-color-body: #333333;
	--ps-color-muted: #5f5346;
	--ps-color-accent: #9b641f;
	--ps-color-accent-dark: #183f34;
	--ps-color-bg: #f9f9f9;
	--ps-color-bg-warm: #fffdf9;
	--ps-color-border: #eadcc8;

	--ps-text-base: 17px;
	--ps-line-base: 28.9px;
	--ps-h1-size: 37px;
	--ps-h1-line: 48.1px;
	--ps-h2-size: 28px;
	--ps-h2-line: 30.24px;
	--ps-h3-size: 22px;
	--ps-h3-line: 1.2;
	--ps-h4-size: 20px;
	--ps-h4-line: 1.3;

	--ps-space-xs: 8px;
	--ps-space-sm: 14px;
	--ps-space-md: 24px;
	--ps-space-lg: 32px;
	--ps-space-xl: 48px;
	--ps-space-2xl: 64px;
	--ps-space-3xl: 96px;

	--ps-radius-sm: 4px;
	--ps-radius-md: 8px;
	--ps-radius-lg: 12px;
	--ps-radius-pill: 999px;

	--ps-transition-fast: 0.1s ease;
	--ps-transition-base: 0.15s ease;
	--ps-transition-slow: 0.25s ease;

	--ps-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
	--ps-shadow-md: 0 8px 20px rgba(244, 160, 45, 0.22);
	--ps-shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
	--ps-focus-ring: 0 0 0 3px rgba(244, 160, 45, 0.45);

	--ps-link-color: var(--ps-color-accent);
	--ps-link-hover-color: var(--ps-color-accent-dark);
	--ps-link-decoration: none;

	--ps-btn-bg: #f4a02d;
	--ps-btn-bg-hover: #e08a1c;
	--ps-btn-color: #1a1a1a;
	--ps-btn-border: #f4a02d;
	--ps-btn-padding: 14px 24px;
	--ps-btn-min-height: 48px;
	--ps-btn-font-size: 16px;
	--ps-btn-font-weight: 700;

	--ps-card-bg: #ffffff;
	--ps-card-title-bg: #fafafa;
	--ps-card-border: #ececec;
	--ps-card-radius: var(--ps-radius-md);
	--ps-card-shadow: var(--ps-shadow-sm);
	--ps-card-shadow-hover: var(--ps-shadow-lg);
	--ps-card-padding: var(--ps-space-md);

	--ps-form-bg: #f9f6f2;
	--ps-form-border: #ebe5dd;
	--ps-form-label-color: #5c4033;
	--ps-form-input-color: #2f2f2f;
	--ps-form-placeholder-color: #a1a1a1;
	--ps-form-description-color: #5c4033;

	--ps-editorial-bg: #fffdf9;
	--ps-editorial-border: #eadcc8;
	--ps-editorial-accent: #c9862b;
	--ps-editorial-cta-bg: #183f34;
	--ps-editorial-cta-bg-hover: #235948;

	--ps-checklist-icon-bg: #dd9933;
	--ps-checklist-icon-color: #ffffff;

	--ps-btn-secondary-bg-hover: #fff7ec;
}

/* Tipografía -------------------------------------------------------------- */
.fusion-body #main h1,
.fusion-body #main .fusion-title h1,
.fusion-body #main .fusion-title-size-one .fusion-title-heading,
.fusion-body #main .fusion-title-heading {
	font-family: var(--ps-font-title) !important;
	font-size: var(--ps-h1-size) !important;
	line-height: var(--ps-h1-line) !important;
	color: var(--ps-color-title) !important;
}

.fusion-body #main h2,
.fusion-body #main .fusion-title h2,
.fusion-body #main .fusion-title-size-two .fusion-title-heading,
.fusion-body #main .post-content .reading-box h2,
.fusion-body #main .fusion-portfolio-content .fusion-post-title {
	font-family: var(--ps-font-title) !important;
	font-size: var(--ps-h2-size) !important;
	line-height: var(--ps-h2-line) !important;
	color: var(--ps-color-title) !important;
}

.fusion-body #main p,
.fusion-body #main .fusion-text p,
.fusion-body #main .fusion-content-tb p,
.fusion-body #main .post-content p,
.fusion-body #main .post-content .fusion-text p,
.fusion-body #main .post-content .fusion-content-tb p,
.fusion-body #main .post-content .fusion-checklist,
.fusion-body #main .post-content .fusion-checklist .fusion-li-item-content,
.fusion-body #main .post-content .fusion-checklist .fusion-li-item-content p {
	font-family: var(--ps-font-body) !important;
	font-size: var(--ps-text-base) !important;
	line-height: var(--ps-line-base) !important;
	color: var(--ps-color-body) !important;
}

/* Espaciado de primera sección ------------------------------------------- */
#main .post-content > .fusion-fullwidth:first-child,
#main .post-content > .fusion-flex-container:first-child {
	padding-bottom: 0 !important;
}

/* Enlaces de contenido ---------------------------------------------------- */
.fusion-body #main .fusion-text a:not(.fusion-button):not(.parksinta-cta):not(.parksinta-editorial-cta):not(.parksinta-btn),
.fusion-body #main .post-content a:not(.fusion-button):not(.parksinta-cta):not(.parksinta-editorial-cta):not(.parksinta-btn) {
	color: var(--ps-link-color) !important;
	text-decoration: var(--ps-link-decoration) !important;
	transition: color var(--ps-transition-base) !important;
}

.fusion-body #main .fusion-text a:hover:not(.fusion-button):not(.parksinta-cta):not(.parksinta-editorial-cta):not(.parksinta-btn),
.fusion-body #main .fusion-text a:focus:not(.fusion-button):not(.parksinta-cta):not(.parksinta-editorial-cta):not(.parksinta-btn),
.fusion-body #main .post-content a:hover:not(.fusion-button):not(.parksinta-cta):not(.parksinta-editorial-cta):not(.parksinta-btn),
.fusion-body #main .post-content a:focus:not(.fusion-button):not(.parksinta-cta):not(.parksinta-editorial-cta):not(.parksinta-btn) {
	color: var(--ps-link-hover-color) !important;
	outline: none !important;
}

.fusion-body #main .fusion-text a:focus-visible:not(.fusion-button):not(.parksinta-cta):not(.parksinta-editorial-cta):not(.parksinta-btn),
.fusion-body #main .post-content a:focus-visible:not(.fusion-button):not(.parksinta-cta):not(.parksinta-editorial-cta):not(.parksinta-btn) {
	box-shadow: var(--ps-focus-ring) !important;
	border-radius: var(--ps-radius-sm) !important;
}



/* Imágenes ---------------------------------------------------------------- */
.fusion-body #main .post-content > .fusion-fullwidth:first-child > .fusion-builder-row img:first-of-type,
.fusion-body #main .post-content > .fusion-fullwidth:first-child img:first-of-type,
.fusion-body #main .post-content > .fusion-flex-container:first-child > .fusion-builder-row img:first-of-type,
.fusion-body #main .post-content > .fusion-flex-container:first-child img:first-of-type {
	margin-top: 0 !important;
}

/* Normalizar separación entre imagen hero y título */
.fusion-body #main .post-content > .fusion-fullwidth:first-child .fusion-image-element,
.fusion-body #main .post-content > .fusion-flex-container:first-child .fusion-image-element {
	margin-bottom: 0 !important;
}

.fusion-body #main .post-content > .fusion-fullwidth:first-child .fusion-image-element img,
.fusion-body #main .post-content > .fusion-flex-container:first-child .fusion-image-element img {
	margin-bottom: var(--ps-space-md) !important;
}

/* Espaciado hero: título + subtítulo -------------------------------------- */
.fusion-body #main .post-content > .fusion-fullwidth:first-child h1,
.fusion-body #main .post-content > .fusion-flex-container:first-child h1 {
	margin-bottom: 0 !important;
}

.fusion-body #main .post-content > .fusion-fullwidth:first-child .fusion-title:has(> h1),
.fusion-body #main .post-content > .fusion-fullwidth:first-child .fusion-title:has(h1),
.fusion-body #main .post-content > .fusion-flex-container:first-child .fusion-title:has(> h1),
.fusion-body #main .post-content > .fusion-flex-container:first-child .fusion-title:has(h1) {
	margin-bottom: 0 !important;
}

.fusion-body #main .post-content > .fusion-fullwidth:first-child .fusion-title:has(> h1) + h3,
.fusion-body #main .post-content > .fusion-fullwidth:first-child .fusion-title:has(h1) + h3,
.fusion-body #main .post-content > .fusion-fullwidth:first-child .fusion-title:has(> h1) + .fusion-text h3,
.fusion-body #main .post-content > .fusion-fullwidth:first-child .fusion-title:has(h1) + .fusion-text h3,
.fusion-body #main .post-content > .fusion-flex-container:first-child .fusion-title:has(> h1) + h3,
.fusion-body #main .post-content > .fusion-flex-container:first-child .fusion-title:has(h1) + h3,
.fusion-body #main .post-content > .fusion-flex-container:first-child .fusion-title:has(> h1) + .fusion-text h3,
.fusion-body #main .post-content > .fusion-flex-container:first-child .fusion-title:has(h1) + .fusion-text h3 {
	margin-top: var(--ps-space-md) !important;
	font-family: var(--ps-font-body) !important;
	font-size: var(--ps-h3-size) !important;
	font-weight: 400 !important;
	line-height: var(--ps-h3-line) !important;
	color: var(--ps-color-body) !important;
}

/* Centrar H1 y H2 del hero ------------------------------------------------ */
.fusion-body #main .post-content > .fusion-fullwidth:first-child .fusion-title-size-one,
.fusion-body #main .post-content > .fusion-fullwidth:first-child .fusion-title-size-one .fusion-title-heading,
.fusion-body #main .post-content > .fusion-fullwidth:first-child .fusion-title-size-two,
.fusion-body #main .post-content > .fusion-fullwidth:first-child .fusion-title-size-two .fusion-title-heading,
.fusion-body #main .post-content > .fusion-flex-container:first-child .fusion-title-size-one,
.fusion-body #main .post-content > .fusion-flex-container:first-child .fusion-title-size-one .fusion-title-heading,
.fusion-body #main .post-content > .fusion-flex-container:first-child .fusion-title-size-two,
.fusion-body #main .post-content > .fusion-flex-container:first-child .fusion-title-size-two .fusion-title-heading {
	text-align: center !important;
	justify-content: center !important;
}

/* Enlaces de tarjetas de especialidades no deben subrayarse ---------------- */
.fusion-body #main .post-content .parksinta-home-card-grid-item a:not(.fusion-button):not(.parksinta-cta):not(.parksinta-editorial-cta):not(.parksinta-btn),
.fusion-body #main .post-content .parksinta-home-card-grid-item a:not(.fusion-button):not(.parksinta-cta):not(.parksinta-editorial-cta):not(.parksinta-btn):hover,
.fusion-body #main .post-content .parksinta-home-card-grid-item a:not(.fusion-button):not(.parksinta-cta):not(.parksinta-editorial-cta):not(.parksinta-btn):focus,
.fusion-body #main .post-content .parksinta-home-card-grid-item a:not(.fusion-button):not(.parksinta-cta):not(.parksinta-editorial-cta):not(.parksinta-btn):visited,
.fusion-body #main .post-content .parksinta-home-card-grid-item a:not(.fusion-button):not(.parksinta-cta):not(.parksinta-editorial-cta):not(.parksinta-btn) * {
	text-decoration: none !important;
}

/* Homogeneizar H3 del contenido ------------------------------------------------ */
.fusion-body #main .post-content h3,
.fusion-body #main .post-content .fusion-title h3,
.fusion-body #main .post-content .fusion-title-size-three .fusion-title-heading {
	font-family: var(--ps-font-title) !important;
	font-size: var(--ps-h3-size) !important;
	line-height: var(--ps-h3-line) !important;
	color: var(--ps-color-title) !important;
}

/* H4 ---------------------------------------------------------------------- */
.fusion-body #main .post-content h4,
.fusion-body #main .post-content .fusion-title h4,
.fusion-body #main .post-content .fusion-title-size-four .fusion-title-heading {
	font-family: var(--ps-font-title) !important;
	font-size: var(--ps-h4-size) !important;
	line-height: var(--ps-h4-line) !important;
	color: var(--ps-color-title) !important;
}

/* Cards de especialidades (home) ------------------------------------------ */
.fusion-body.home #main .post-content > .fusion-fullwidth:first-child > .fusion-builder-row {
	row-gap: 0 !important;
}

.fusion-body.home #main .parksinta-home-card-grid-item {
	margin-top: var(--ps-space-lg) !important;
}
