/*
 * Responsive styling for the Windows 11 right-click-menu article.
 * This stylesheet is page-scoped so the legacy global stylesheet remains
 * unchanged for the rest of the site.
 */

body.legacy-right-click-page,
.legacy-right-click-page *,
.legacy-right-click-page *::before,
.legacy-right-click-page *::after {
	box-sizing: border-box;
}

body.legacy-right-click-page {
	min-width: 0;
	max-width: 100%;
	overflow-x: hidden;
	background: #fff;
	color: #434950;
	font-family: 'Maven Pro', Arial, Helvetica, sans-serif;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

.legacy-right-click-page .skip-link {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 3000;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
	background: #343a41;
	color: #fff;
}

.legacy-right-click-page .skip-link:focus {
	width: auto;
	height: auto;
	padding: 10px 14px;
	margin: 0;
	overflow: visible;
	clip: auto;
	white-space: normal;
	text-decoration: none;
}

/* The shared header reveals the button at its tablet/mobile breakpoint. */
.legacy-right-click-page .menu-toggle {
	display: none !important;
}

.legacy-right-click-page .legacy-main {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	background: #fff;
}

.legacy-right-click-page .legacy-article {
	width: calc(100% - 40px);
	max-width: 820px;
	margin: 0 auto;
	padding: 28px 0 48px;
}

.legacy-right-click-page .article-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin: 0 0 20px;
	color: #6b7278;
	font-size: 14px;
	line-height: 1.4;
}

.legacy-right-click-page .article-breadcrumb a {
	color: #6cc195 !important;
	font-weight: 700;
	text-decoration: none;
}

.legacy-right-click-page .article-breadcrumb a:hover,
.legacy-right-click-page .article-breadcrumb a:focus {
	color: #343a41 !important;
	text-decoration: underline;
}

.legacy-right-click-page .article-header {
	position: static;
	margin: 0;
	padding: 0 0 24px;
	border-bottom: 1px solid #e5e5e5;
	text-align: left;
}

.legacy-right-click-page .article-eyebrow {
	margin: 0 0 8px;
	color: #6cc195;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1.3px;
	line-height: 1.3;
	text-transform: uppercase;
}

.legacy-right-click-page .article-header h1 {
	float: none;
	width: auto;
	margin: 0 0 12px;
	padding: 0;
	color: #343a41;
	font-family: 'Maven Pro', Arial, Helvetica, sans-serif;
	font-size: clamp(30px, 5vw, 46px);
	font-weight: 700;
	letter-spacing: -1.3px;
	line-height: 1.08;
	text-align: left;
}

.legacy-right-click-page .article-header h1 span,
.legacy-right-click-page .section-heading h2 span {
	color: #6cc195;
}

.legacy-right-click-page .article-lead {
	max-width: 700px;
	margin: 0;
	color: #666d73;
	font-size: 18px;
	line-height: 1.55;
}

.legacy-right-click-page .article-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin: 24px 0;
	border: 1px solid #dfe3e5;
	border-radius: 2px;
	background: #dfe3e5;
	overflow: hidden;
}

.legacy-right-click-page .article-facts > div {
	min-width: 0;
	padding: 13px 15px;
	background: #f8faf9;
}

.legacy-right-click-page .article-facts span,
.legacy-right-click-page .article-facts strong {
	display: block;
}

.legacy-right-click-page .article-facts span {
	margin-bottom: 3px;
	color: #6b7278;
	font-size: 12px;
	letter-spacing: .6px;
	text-transform: uppercase;
}

.legacy-right-click-page .article-facts strong {
	color: #343a41;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.legacy-right-click-page .instruction-card {
	margin: 0 0 22px;
	padding: 24px 26px 26px;
	border: 1px solid #dfe3e5;
	border-radius: 2px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(52, 58, 65, .06);
}

.legacy-right-click-page .section-heading {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e5e5e5;
}

.legacy-right-click-page .section-kicker {
	flex: 0 0 auto;
	margin: 0;
	color: #6cc195;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1px;
}

.legacy-right-click-page .section-heading h2 {
	margin: 0;
	color: #343a41;
	font-family: 'Maven Pro', Arial, Helvetica, sans-serif;
	font-size: clamp(22px, 3vw, 29px);
	font-weight: 700;
	letter-spacing: -.6px;
	line-height: 1.2;
}

.legacy-right-click-page .instruction-list {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: instruction;
}

.legacy-right-click-page .instruction-list > li {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 12px;
	min-width: 0;
	margin: 0;
	color: #434950;
	font-size: 16px;
	line-height: 1.55;
	counter-increment: instruction;
}

.legacy-right-click-page .instruction-list > li::before {
	content: counter(instruction);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin-top: 1px;
	border-radius: 50%;
	background: #6cc195;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.legacy-right-click-page .instruction-list > li > .step-content {
	grid-column: 2;
	min-width: 0;
}

.legacy-right-click-page .instruction-list p {
	margin: 0 0 10px;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

.legacy-right-click-page .instruction-list strong {
	color: #343a41;
	font-weight: 700;
}

.legacy-right-click-page .command-card {
	width: 100%;
	min-width: 0;
	margin: 8px 0 0;
	border: 1px solid #4b535a;
	border-radius: 2px;
	background: #343a41;
	overflow: hidden;
}

.legacy-right-click-page .command-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-width: 0;
	padding: 8px 10px 8px 14px;
	border-bottom: 1px solid #4b535a;
	color: #dfe8e3;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
}

.legacy-right-click-page .copy-command {
	flex: 0 0 auto;
	min-height: 44px;
	padding: 8px 13px;
	border: 1px solid #6cc195;
	border-radius: 2px;
	background: #6cc195;
	color: #343a41;
	font: 700 13px/1.2 'Maven Pro', Arial, sans-serif;
	cursor: pointer;
}

.legacy-right-click-page .copy-command:hover,
.legacy-right-click-page .copy-command:focus {
	border-color: #fff;
	background: #fff;
	outline: none;
}

.legacy-right-click-page .copy-command:focus-visible {
	outline: 2px solid #f90;
	outline-offset: 2px;
}

.legacy-right-click-page .command-card pre {
	max-width: 100%;
	margin: 0;
	padding: 16px 14px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	background: #343a41;
	color: #f5f7f6;
	font: 400 14px/1.55 Consolas, Monaco, monospace;
	white-space: pre;
}

.legacy-right-click-page .command-card code {
	font: inherit;
}

.legacy-right-click-page .copy-status {
	display: block;
	min-height: 18px;
	padding: 0 14px 7px;
	color: #9fdbb9;
	font-size: 12px;
}

.legacy-right-click-page .article-figure {
	margin: 0 0 22px;
	padding: 14px;
	border: 1px solid #dfe3e5;
	border-radius: 2px;
	background: #f8faf9;
	text-align: center;
}

.legacy-right-click-page .article-figure img {
	display: block;
	width: 100%;
	max-width: 720px;
	height: auto;
	margin: 0 auto;
	border: 1px solid #cfd5d8;
	border-radius: 2px;
}

.legacy-right-click-page .article-figure figcaption {
	margin-top: 10px;
	color: #6b7278;
	font-size: 13px;
	line-height: 1.4;
}

.legacy-right-click-page .instruction-card > p {
	margin: 0 0 14px;
	color: #434950;
	font-size: 16px;
	line-height: 1.55;
}

.legacy-right-click-page .article-note {
	margin: 0;
	padding: 16px 18px;
	border-left: 4px solid #6cc195;
	background: #eef8f2;
	color: #434950;
	font-size: 15px;
	line-height: 1.55;
}

.legacy-right-click-page .article-note strong {
	color: #343a41;
}

/* Partner logos and footer follow the current KB/index treatment. */
.legacy-right-click-page .article-partner-strip {
	width: 100%;
	max-width: 962px;
	margin: 0 auto;
	border-top: 1px solid #e5e5e5;
}

.legacy-right-click-page .article-partner-logos {
	display: flex;
	align-items: center;
	justify-content: space-around;
	gap: 22px;
	min-width: 0;
	padding: 18px 20px 12px;
}

.legacy-right-click-page .article-partner-logos img {
	display: block;
	width: auto;
	max-width: 22%;
	height: auto;
	max-height: 56px;
	padding: 0 !important;
	object-fit: contain;
}

.legacy-right-click-page .footer-main {
	width: 100%;
	max-width: 962px;
	margin: 0 auto;
	background: #343a41 !important;
}

.legacy-right-click-page .footer-main footer {
	width: 100%;
	padding: 18px 20px 20px;
	background: #343a41 !important;
}

.legacy-right-click-page .footer-inner {
	overflow: visible;
}

.legacy-right-click-page .footer-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 34px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.legacy-right-click-page .footer-menu li {
	padding: 0 !important;
}

.legacy-right-click-page .footer-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #fff !important;
	font-size: 14px;
	text-decoration: none !important;
}

.legacy-right-click-page .footer-menu a:hover,
.legacy-right-click-page .footer-menu a:focus {
	color: #6cc195 !important;
}

.legacy-right-click-page .footertext-bot {
	padding-top: 8px;
	color: #a1a4a8;
	font-size: 12px;
	line-height: 1.5;
}

.legacy-right-click-page .footertext-bot .copyright-link {
	color: transparent !important;
}

@media screen and (max-width: 1023px) {
	.legacy-right-click-page .legacy-article {
		width: calc(100% - 32px);
		padding-top: 24px;
	}

	.legacy-right-click-page .instruction-card {
		padding: 22px 20px 22px;
	}

	.legacy-right-click-page .article-partner-logos {
		gap: 16px;
		padding-right: 16px;
		padding-left: 16px;
	}
}

@media screen and (max-width: 680px) {
	.legacy-right-click-page .legacy-article {
		width: calc(100% - 24px);
		padding-top: 20px;
		padding-bottom: 32px;
	}

	.legacy-right-click-page .article-breadcrumb {
		margin-bottom: 15px;
		font-size: 13px;
	}

	.legacy-right-click-page .article-header {
		padding-bottom: 18px;
	}

	.legacy-right-click-page .article-header h1 {
		font-size: clamp(28px, 9vw, 38px);
	}

	.legacy-right-click-page .article-lead {
		font-size: 16px;
	}

	.legacy-right-click-page .article-facts {
		grid-template-columns: minmax(0, 1fr);
		margin: 18px 0;
	}

	.legacy-right-click-page .article-facts > div {
		padding: 11px 13px;
	}

	.legacy-right-click-page .instruction-card {
		margin-bottom: 16px;
		padding: 18px 14px 18px;
	}

	.legacy-right-click-page .section-heading {
		gap: 9px;
		margin-bottom: 16px;
	}

	.legacy-right-click-page .section-heading h2 {
		font-size: 23px;
	}

	.legacy-right-click-page .instruction-list {
		gap: 16px;
	}

	.legacy-right-click-page .instruction-list > li {
		grid-template-columns: 28px minmax(0, 1fr);
		gap: 9px;
		font-size: 15px;
	}

	.legacy-right-click-page .instruction-list > li::before {
		width: 28px;
		height: 28px;
		font-size: 13px;
	}

	.legacy-right-click-page .command-toolbar {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
		padding: 10px;
	}

	.legacy-right-click-page .copy-command {
		width: 100%;
	}

	.legacy-right-click-page .command-card pre {
		padding: 14px 10px;
		font-size: 13px;
	}

	.legacy-right-click-page .copy-status {
		padding-right: 10px;
		padding-left: 10px;
	}

	.legacy-right-click-page .article-figure {
		padding: 8px;
	}

	.legacy-right-click-page .article-figure figcaption {
		font-size: 12px;
	}

	.legacy-right-click-page .article-note {
		padding: 13px 14px;
		font-size: 14px;
	}

	.legacy-right-click-page .article-partner-logos {
		flex-wrap: wrap;
		justify-content: center;
		gap: 14px 20px;
	}

	.legacy-right-click-page .article-partner-logos img {
		width: calc(50% - 20px);
		max-width: 160px;
		max-height: 50px;
	}

	.legacy-right-click-page .footer-main footer {
		padding-right: 16px;
		padding-left: 16px;
	}

	.legacy-right-click-page .footer-menu {
		gap: 16px;
	}
}

@media screen and (max-width: 380px) {
	.legacy-right-click-page .legacy-article {
		width: calc(100% - 20px);
	}

	.legacy-right-click-page .article-header h1 {
		font-size: 28px;
	}

	.legacy-right-click-page .footer-menu {
		gap: 8px;
	}
}
