/* Local overrides */

@media only screen and (max-width: 400px) {
	.section-routers .router-grid {
		padding-left: 0;
		padding-right: 0;
	}
}

/* hero */
html
	.page-overview
	.section-hero
	.cta-wrap
	.mac-studio-global-avail.custom-ai-messaging {
	margin-top: 0.5rem;
}

/* section-performance */
@media only screen and (max-width: 734px) {
	.subsection-intro .modal-trigger-container .button {
		max-width: 200px;
	}
}

/* section-apple-intelligence */
section.section-apple-intelligence .apple-intelligence-headline {
	margin-bottom: 20px;
}
section.section-apple-intelligence .apple-intelligence-messaging {
	color: #86868b;
	font-weight: 600;
	margin-bottom: 30px;
}

/* section-design */
@media only screen and (max-width: 1068px) {
	.bento-grid-thermals .section-thermals .typography-headline-plays-cool {
		max-width: 9em;
	}
}

/* section-upgraders */
@media only screen and (min-width: 735px) {
	.upgraders-content
		.upgraders-gallery
		.gallery-item:not(:nth-child(2))
		.bento-item.graphics {
		padding-left: 25px;
		padding-right: 25px;
	}
	.section-upgraders
		.upgraders-content
		.upgraders-gallery
		.bento-grid
		.bento-item:nth-child(3),
	.section-upgraders
		.upgraders-content
		.upgraders-gallery
		.bento-grid
		.bento-item:nth-child(4) {
		height: fit-content;
	}
}

/* section-routers */
.section-routers {
	margin-top: 170px;
}
@media only screen and (max-width: 1068px) {
	.section-routers {
		margin-top: 140px;
	}
}
@media only screen and (max-width: 734px) {
	.section-routers {
		margin-top: 100px;
	}
}

/* compare */
.section-compare .compare-link {
	margin-top: 35px;
}

/* environment */
@media only screen and (min-width: 1069px) {
	.router-item-environment {
		height: 593px;
	}
	.router-item-environment .router-item-headline {
		max-width: 420px;
	}
}
@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.router-item-environment {
		height: 427px;
	}
}

/* Local screens */

/* environment */
.router-item-environment .accent-green::before {
	bottom: -8px;
	left: -14px;
}
@media only screen and (max-width: 1068px) {
	.router-item-environment .accent-green::before {
		bottom: -6px;
		left: -10px;
	}
}
@media only screen and (max-width: 734px) {
	.router-item-environment .accent-green::before {
		bottom: -5px;
		left: -5px;
	}
}
.section-routers .accent-green:before {
	width: 190px;
	height: 60px;
	background-size: 190px 60px;
	background-image: url(/la/mac-studio/images/overview/routers/environment_highlight__edulvmndbz42_large.png);
}
@media (-webkit-min-device-pixel-ratio: 1.5),
	(min-resolution: 144dpi),
	only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (min-resolution: 1.5dppx) {
	.section-routers .accent-green:before {
		background-image: url(/la/mac-studio/images/overview/routers/environment_highlight__edulvmndbz42_large_2x.png);
	}
}
@media only screen and (max-width: 1068px) {
	.section-routers .accent-green:before {
		width: 158px;
		height: 49px;
		background-size: 158px 49px;
		background-image: url(/la/mac-studio/images/overview/routers/environment_highlight__edulvmndbz42_medium.png);
	}
}
@media only screen and (max-width: 1068px) and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (max-width: 1068px) and (min-resolution: 1.5dppx),
	only screen and (max-width: 1068px) and (min-resolution: 144dpi) {
	.section-routers .accent-green:before {
		background-image: url(/la/mac-studio/images/overview/routers/environment_highlight__edulvmndbz42_medium_2x.png);
	}
}
@media only screen and (max-width: 734px) {
	.section-routers .accent-green:before {
		width: 123px;
		height: 40px;
		background-size: 123px 40px;
		background-image: url(/la/mac-studio/images/overview/routers/environment_highlight__edulvmndbz42_small.png);
	}
}
@media only screen and (max-width: 734px) and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (max-width: 734px) and (min-resolution: 1.5dppx),
	only screen and (max-width: 734px) and (min-resolution: 144dpi) {
	.section-routers .accent-green:before {
		background-image: url(/la/mac-studio/images/overview/routers/environment_highlight__edulvmndbz42_small_2x.png);
	}
}
