/*
 * Fitness Living Magazine site header: a larger main menu and a Get Featured
 * button. Loaded on every page (functions.php) so the header matches site-wide.
 * Three id-weight parts outrank the per-page header rules.
 */
@media (min-width: 1025px) {
	html body #site-header #site-navigation #menu-flm-heritage-main > li > a {
		padding-left: 14px !important;
		padding-right: 14px !important;
		font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif !important;
		font-size: 15px !important;
		font-weight: 700 !important;
		line-height: 1 !important;
		letter-spacing: .04em !important;
		text-transform: uppercase !important;
		color: #171512 !important;
	}

	html body #site-header #site-navigation #menu-flm-heritage-main > li > a:hover,
	html body #site-header #site-navigation #menu-flm-heritage-main > li > a:focus-visible {
		color: #8d692a !important;
	}

	/* Get Featured: a solid button at the end of the menu, no divider. */
	html body #site-header #site-navigation #menu-flm-heritage-main > li:last-child {
		display: flex !important;
		align-items: center !important;
		margin-left: 18px !important;
		padding-left: 0 !important;
		border-left: 0 !important;
	}

	html body #site-header #site-navigation #menu-flm-heritage-main > li:last-child > a {
		height: auto !important;
		min-height: 44px !important;
		padding: 0 22px !important;
		background: #241f1a !important;
		border: 1px solid #241f1a !important;
		color: #fff !important;
		letter-spacing: .08em !important;
		transition: background-color .2s ease, border-color .2s ease !important;
	}

	html body #site-header #site-navigation #menu-flm-heritage-main > li:last-child > a:hover,
	html body #site-header #site-navigation #menu-flm-heritage-main > li:last-child > a:focus-visible {
		background: #8d692a !important;
		border-color: #8d692a !important;
		color: #fff !important;
	}
}

/* Narrower laptops: one size down so the menu stays on one line. */
@media (min-width: 1025px) and (max-width: 1439px) {
	html body #site-header #site-navigation #menu-flm-heritage-main > li > a {
		padding-left: 11px !important;
		padding-right: 11px !important;
		font-size: 14px !important;
		letter-spacing: .03em !important;
	}

	html body #site-header #site-navigation #menu-flm-heritage-main > li:last-child > a {
		padding: 0 18px !important;
	}
}

@media (min-width: 1025px) and (max-width: 1279px) {
	html body #site-header #site-navigation #menu-flm-heritage-main > li > a {
		padding-left: 8px !important;
		padding-right: 8px !important;
		font-size: 13px !important;
		letter-spacing: .02em !important;
	}

	html body #site-header #site-navigation #menu-flm-heritage-main > li:last-child {
		margin-left: 10px !important;
	}

	html body #site-header #site-navigation #menu-flm-heritage-main > li:last-child > a {
		min-height: 40px !important;
		padding: 0 14px !important;
	}
}

@media (min-width: 1025px) and (max-width: 1199px) {
	html body #site-header #site-navigation #menu-flm-heritage-main > li > a {
		padding-left: 6px !important;
		padding-right: 6px !important;
		font-size: 12px !important;
		letter-spacing: .01em !important;
	}

	html body #site-header #site-navigation #menu-flm-heritage-main > li:last-child {
		margin-left: 6px !important;
	}

	html body #site-header #site-navigation #menu-flm-heritage-main > li:last-child > a {
		min-height: 38px !important;
		padding: 0 12px !important;
		letter-spacing: .04em !important;
	}
}

/* Article and archive headers (Elementor header 1954) carry a search field
   beside the menu. It moves up into the masthead row, at the right, so the
   full homepage menu fits on one line under the logo. */
@media (min-width: 1025px) {
	html body #site-header .elementor-1954 .elementor-element-0557791 > .elementor-widget-container {
		padding-right: 0 !important;
	}

	html body #site-header .elementor-1954 .flm-article-search.flm-compact-search {
		top: auto !important;
		right: 0 !important;
		bottom: calc(100% + 26px) !important;
	}
}

@media (min-width: 1025px) and (max-width: 1279px) {
	html body #site-header .elementor-1954 .flm-article-search.flm-compact-search {
		width: 180px !important;
	}
}
