/**
 * Cretamel fallback header and footer.
 *
 * These styles apply only until you publish an Elementor Pro header or footer
 * template. Once you do, Elementor replaces this markup completely.
 */

.site-header,
.site-footer {
	--cretamel-hf-gap: 24px;
	--cretamel-hf-width: 1140px;
	--cretamel-hf-border: #e4e6eb;
}

/* Header ------------------------------------------------------------------ */

.site-header {
	background-color: #fff;
	border-bottom: 1px solid var(--cretamel-hf-border);
}

.site-header .header-inner {
	align-items: center;
	display: flex;
	gap: var(--cretamel-hf-gap);
	justify-content: space-between;
	margin-inline: auto;
	max-width: var(--cretamel-hf-width);
	padding-block: 16px;
	padding-inline: var(--cretamel-hf-gap);
	width: 100%;
}

.site-branding {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.site-logo img {
	display: block;
	height: auto;
	max-height: 60px;
	width: auto;
}

.site-title {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
}

.site-title a {
	color: inherit;
	text-decoration: none;
}

.site-description {
	color: #6b7280;
	font-size: 0.875rem;
	margin: 0;
}

/* Menus ------------------------------------------------------------------- */

.site-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--cretamel-hf-gap);
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-navigation a {
	color: inherit;
	text-decoration: none;
}

.site-navigation a:hover,
.site-navigation .current-menu-item > a {
	text-decoration: underline;
}

/* Mobile toggle ----------------------------------------------------------- */

.site-navigation-toggle-holder {
	display: none;
}

.site-navigation-toggle {
	background: none;
	border: 1px solid var(--cretamel-hf-border);
	border-radius: 6px;
	cursor: pointer;
	height: 40px;
	padding: 0;
	position: relative;
	width: 44px;
}

.site-navigation-toggle-icon,
.site-navigation-toggle-icon::before,
.site-navigation-toggle-icon::after {
	background-color: currentColor;
	border-radius: 2px;
	content: "";
	display: block;
	height: 2px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease, opacity 0.2s ease;
	width: 20px;
}

.site-navigation-toggle-icon::before {
	transform: translate(-50%, calc(-50% - 6px));
}

.site-navigation-toggle-icon::after {
	transform: translate(-50%, calc(-50% + 6px));
}

.site-navigation-toggle[aria-expanded="true"] .site-navigation-toggle-icon {
	opacity: 0;
}

.site-navigation-toggle[aria-expanded="true"] .site-navigation-toggle-icon::before {
	opacity: 1;
	transform: translate(-50%, -50%) rotate(45deg);
}

.site-navigation-toggle[aria-expanded="true"] .site-navigation-toggle-icon::after {
	opacity: 1;
	transform: translate(-50%, -50%) rotate(-45deg);
}

.site-navigation-dropdown {
	display: none;
}

.site-navigation-dropdown[aria-hidden="false"] {
	background-color: #fff;
	border-top: 1px solid var(--cretamel-hf-border);
	display: block;
	padding: var(--cretamel-hf-gap);
}

.site-navigation-dropdown ul {
	flex-direction: column;
	gap: 12px;
}

@media (max-width: 767px) {
	.site-header .header-inner > .site-navigation {
		display: none;
	}

	.site-navigation-toggle-holder {
		display: block;
	}
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
	border-top: 1px solid var(--cretamel-hf-border);
	margin-top: 64px;
}

.site-footer .footer-inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--cretamel-hf-gap);
	justify-content: space-between;
	margin-inline: auto;
	max-width: var(--cretamel-hf-width);
	padding-block: 32px;
	padding-inline: var(--cretamel-hf-gap);
	width: 100%;
}

.site-copyright {
	color: #6b7280;
	font-size: 0.875rem;
	margin: 0;
}

/* Elementor Canvas hides the theme header and footer completely. */
.elementor-template-canvas .site-header,
.elementor-template-canvas .site-footer {
	display: none;
}
