/**
 * UltraBuilder Frontend Styles
 */

/* Template Wrappers */
.ehfa-template-wrap {
	width: 100%;
	position: relative;
	box-sizing: border-box;
}

/* Header Wrapper */
header.ehfa-template-header {
	width: 100%;
	z-index: 999;
}

/* Sticky Header */
header.ehfa-sticky-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 9999;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Admin bar compensation */
body.admin-bar header.ehfa-sticky-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar header.ehfa-sticky-header {
		top: 46px;
	}
}

/* Transparent Header */
header.ehfa-transparent-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
	z-index: 999;
}

/* Shrink effect on scroll */
header.ehfa-shrink-header {
	transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

header.ehfa-shrink-header.ehfa-is-shrunk {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

header.ehfa-shrink-header.ehfa-is-shrunk .elementor-section {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	transition: padding 0.3s ease;
}

/* Footer Wrapper */
footer.ehfa-template-footer {
	width: 100%;
	position: relative;
	z-index: 10;
	clear: both;
}

/* Single & Archive Content Wrappers */
.ehfa-content-wrapper {
	width: 100%;
	min-height: 400px;
}

.ehfa-single-wrapper,
.ehfa-archive-wrapper {
	width: 100%;
	position: relative;
}
