/**
 * Sobreescriu la paleta fosc/blava del kit ZipWP per la del logo Espai42.
 */
:root {
	--ast-global-color-0: #00874e;
	--ast-global-color-1: #26b4b4;
	--ast-global-color-2: #231f20;
	--ast-global-color-3: #231f20;
	--ast-global-color-4: #111d25;
	--ast-global-color-5: #faf3e0;
	--ast-global-color-6: #4f5b62;
	--ast-global-color-7: #fff9ef;
	--ast-global-color-8: #f47920;
	--ast-global-dark-bg-style: #faf3e0;
}

html,
body {
	background-color: var(--espai42-bg, #faf3e0) !important;
	color: var(--espai42-ink, #231f20) !important;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
.entry-title a,
.entry-content :where(h1, h2, h3, h4, h5, h6) {
	color: var(--espai42-ink, #231f20) !important;
}

/* Capçalera transparenta: text fosc (abans blanc sobre fons clar) */
.ast-theme-transparent-header .main-header-menu .menu-link,
.ast-theme-transparent-header .main-header-menu .menu-item > .menu-link,
.ast-theme-transparent-header .ast-builder-menu .menu-link,
.ast-theme-transparent-header .site-title a,
.ast-theme-transparent-header .site-header .site-title a,
.ast-theme-transparent-header .ast-site-identity .site-title a,
.ast-theme-transparent-header .ast-header-account-wrap,
.ast-theme-transparent-header .ast-header-search-icon a,
.ast-theme-transparent-header .ast-header-html-1,
.ast-theme-transparent-header .ast-header-html-2 {
	color: var(--espai42-ink, #231f20) !important;
}

.ast-theme-transparent-header .main-header-menu .menu-link:hover,
.ast-theme-transparent-header .main-header-menu .menu-link:focus,
.ast-theme-transparent-header .main-header-menu .current-menu-item > .menu-link {
	color: var(--espai42-green-mid, #00874e) !important;
}

.site-header,
.site-header .site-primary-header-wrap,
.ast-primary-header-bar,
.ast-above-header-bar,
.ast-below-header-bar {
	background-color: rgba(250, 243, 224, 0.92) !important;
	backdrop-filter: blur(8px);
}

/* Seccions Elementor del kit amb fons negre per defecte */
body.elementor-page .elementor-section,
body.elementor-page .e-con,
body.elementor-page .e-con-inner {
	background-color: var(--espai42-bg, #faf3e0) !important;
}

body.elementor-page .elementor-section .elementor-background-overlay {
	background-color: rgba(250, 243, 224, 0.55) !important;
	opacity: 1 !important;
}

/* Peu */
.site-footer,
.site-below-footer-wrap,
.site-above-footer-wrap {
	background-color: var(--espai42-bg-soft, #fff9ef) !important;
	color: var(--espai42-ink, #231f20) !important;
}

.site-footer a {
	color: var(--espai42-green-mid, #00874e);
}
