/* Room for the regional certificate branch in the existing desktop header.
 * Loaded only where that managed branch exists; mobile controls remain unchanged.
 */
@media (min-width: 981px) {
	body:is(.blog-id-2, .blog-id-3) .pp-site-header__primary-menu > li > a {
		font-size: 14px;
		min-height: 42px;
		padding-left: 7px;
		padding-right: 7px;
	}

	body:is(.blog-id-2, .blog-id-3) .pp-site-header__primary-menu > .menu-item-has-children > a {
		padding-right: 26px;
	}

	body:is(.blog-id-2, .blog-id-3) .pp-site-header__primary-menu > li:last-child > .sub-menu {
		left: auto;
		right: 0;
	}

	body:is(.blog-id-2, .blog-id-3) .pp-site-header__primary-menu > li:last-child > .sub-menu::before {
		left: auto;
		right: 24px;
	}

	body:is(.blog-id-2, .blog-id-3) .pp-site-header__primary-menu > li > .sub-menu:has(> li:only-child) {
		grid-template-columns: 1fr;
		min-width: 240px;
		width: 240px;
	}
}

/* Preserve the existing compact landscape-tablet typography. */
@media (min-width: 981px) and (max-width: 1100px) {
	body:is(.blog-id-2, .blog-id-3) .pp-site-header__primary-menu > li > a {
		font-size: 13px;
	}

	body:is(.blog-id-2, .blog-id-3) .pp-site-header__primary-menu > .menu-item-has-children > a {
		padding-right: 24px;
	}
}

/* Extend the existing compact contact treatment through narrow desktops. */
@media (min-width: 1101px) and (max-width: 1280px) {
	body:is(.blog-id-2, .blog-id-3) .pp-site-header__phone {
		display: none;
	}
}
