/**
 * Elementor Page Support Styles
 */

/* Page Template Styles */
.qf-page-content {
	background: #fff;
	padding: 40px 0;
}

.qf-page-content .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.qf-page-content .entry-content {
	font-size: 16px;
	line-height: 1.8;
}

/* Elementor Full Width Support */
.qf-elementor-full-width {
	width: 100%;
	max-width: 100%;
}

.qf-elementor-full-width .entry-content {
	width: 100%;
	max-width: 100%;
	padding: 0;
	margin: 0;
}

/* Elementor Canvas Support */
.qf-elementor-canvas {
	width: 100%;
	max-width: 100%;
	padding: 0;
	margin: 0;
}

body.elementor-template-canvas {
	padding: 0;
	margin: 0;
}

/* Remove theme padding/margins for Elementor pages */
.elementor-page .qf-main,
.elementor-editor-active .qf-main {
	padding: 0;
	background: transparent;
}

.elementor-page .container,
.elementor-editor-active .container {
	max-width: 100%;
	padding: 0;
}

/* Elementor Section Compatibility */
.elementor-section {
	position: relative;
	width: 100%;
}

.elementor-container {
	max-width: 1200px;
	margin: 0 auto;
}

/* Ensure Elementor widgets display correctly */
.elementor-widget {
	position: relative;
}

/* Fix for Elementor editor mode */
.elementor-editor-active .qf-header,
.elementor-editor-active .qf-footer {
	display: none !important;
}

/* Page built with Elementor indicator */
.page-template-default.elementor-page .entry-content {
	width: 100%;
	max-width: 100%;
}

/* Single Post Elementor Support */
.single-post.elementor-page .entry-header {
	display: none;
}

.single-post.elementor-page .post-thumbnail {
	display: none;
}

/* Front Page Elementor Support */
.home.page.elementor-page .qf-main {
	padding: 0;
}

/* Responsive */
@media (max-width: 767px) {
	.qf-page-content {
		padding: 20px 0;
	}

	.qf-page-content .container {
		padding: 0 15px;
	}
}

/* Elementor Pro Theme Builder Support */
.elementor-location-header,
.elementor-location-footer,
.elementor-location-single,
.elementor-location-archive {
	width: 100%;
}

/* Hide default header/footer when Elementor takes over */
body.elementor-template-full-width .qf-header,
body.elementor-template-canvas .qf-header,
body.elementor-template-full-width .qf-footer,
body.elementor-template-canvas .qf-footer {
	display: none;
}

/* Page Links (Multi-page content) */
.page-links {
	clear: both;
	margin: 30px 0;
	padding: 20px 0;
	border-top: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
}

.page-links a,
.page-links > span {
	display: inline-block;
	padding: 8px 15px;
	margin: 0 5px;
	background: #f3f4f6;
	border-radius: 4px;
	text-decoration: none;
	color: #1f2937;
	transition: all 0.3s ease;
}

.page-links a:hover {
	background: #9333ea;
	color: #fff;
}

.page-links > span {
	background: #9333ea;
	color: #fff;
}
