/*
 * One header for every page, matching the About page.
 *
 * The home stylesheet (master-ai-agency.css) is also loaded on the Blog and inner pages. It widens the
 * header container to the full screen, uses 18px capitalised links and draws a border under the header.
 * The About, Services and Contact stylesheets do not. These rules restore the About values on every page.
 * Header markup is shared (header.php), so this file only changes how the header looks.
 */

/* Container width: Bootstrap's responsive widths, plus the large-screen width from master-about.css. */
.header-area .container.large {
	max-width: 100%;
}

@media (min-width: 576px) {
	.header-area .container.large { max-width: 540px; }
}

@media (min-width: 768px) {
	.header-area .container.large { max-width: 720px; }
}

@media (min-width: 992px) {
	.header-area .container.large { max-width: 960px; }
}

@media (min-width: 1200px) {
	.header-area .container.large { max-width: 1140px; }
}

@media (min-width: 1400px) {
	.header-area .container.large { max-width: 1320px; }
}

@media (min-width: 1800px) {
	.header-area .container.large { max-width: 1750px; }
}

/* No divider line under the header (About page has none). */
.header-area .header-area__inner {
	border-bottom: 0;
}

/* Top-level links: same size, case and padding as the About page. */
.header-area .main-menu > ul > li > a {
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	padding: 37px 15px;
}

/* Keep the purple current-page colour from custom.css. */
.header-area .main-menu > ul > li > a:not(.current) {
	color: var(--primary);
}

.header-area .main-menu > ul > li:hover > a {
	color: var(--primary);
}

/* Current page: purple on every page, as on the About page (same colour as custom.css). */
.header-area .main-menu > ul > li > a.current,
.header-area .main-menu > ul > li.current-menu-item > a {
	color: purple;
}
