/* Header menu follows the theme colours (the menu widget stores fixed colours). */
.elementor-location-header .elementor-nav-menu a.elementor-item,
.elementor-location-header .elementor-nav-menu--dropdown a { color: var(--c-text-muted) !important; }
.elementor-location-header .elementor-nav-menu a:hover { color: var(--c-text) !important; }
.elementor-location-header .elementor-nav-menu a.elementor-item-active { color: var(--c-primary) !important; }
.elementor-location-header .elementor-nav-menu--dropdown,
.elementor-location-header .elementor-nav-menu--dropdown a { background-color: var(--c-bg-card) !important; }
.elementor-location-header .elementor-menu-toggle,
.elementor-location-header .elementor-menu-toggle.elementor-active { color: var(--c-text) !important; background-color: var(--c-bg-card) !important; }
.elementor-location-header .elementor-menu-toggle svg { fill: var(--c-text) !important; }

/* Mobile and tablet: toggle centred next to the theme switch, menu over the full width. */
@media (max-width: 1024px) {
	.elementor-location-header header { position: relative; z-index: 50; }
	.elementor-location-header .elementor-widget-nav-menu { position: static; align-self: center; }
	.elementor-location-header .elementor-menu-toggle { margin-left: auto; }
	.elementor-location-header nav.elementor-nav-menu--dropdown { position: absolute; left: 0; right: 0; top: 100%; }
}

/* Posts without a featured image get no empty frame. */
img.e-image-base:not([src]), img.e-image-base[src=""] { display: none !important; }

/* Editor content uses the site font and starts without extra space. */
.elementor-widget-theme-post-content, .elementor-widget-theme-post-content h2, .elementor-widget-theme-post-content h3 { font-family: Inter, system-ui, sans-serif; }
.elementor-widget-theme-post-content h2 { font-weight: 700; }
.elementor-widget-theme-post-content > :first-child, .elementor-widget-theme-post-content .elementor-widget-container > :first-child { margin-top: 0; }
