/* START : Fix Evergreen Ribbon */
.ribbon {
	margin-top: var(--r-globalnav-height) !important;
}
/* END : Fix Evergreen Ribbon */

.section-hero .content-container {
	padding-top: 52px;
}

@media only screen and (max-width: 1068px) {
	.section-hero .content-container {
		padding-top: 90px;
	}
}

@media only screen and (max-width: 734px) {
	.section-hero .content-container {
		padding-top: 40px;
	}
}

/* start: environment */
.section-routers .router-item-environment .router-item-headline {
	max-width: 980px;
}

html.text-zoom .section-routers .router-item-environment .router-item-headline {
	max-width: unset;
}

.router-item-environment .router-item-copy {
	max-width: 980px;
}

.section-routers .router-item-environment .router-item-content {
	margin-top: 67px;
	margin-bottom: 68px;
}

@media only screen and (max-width: 1068px) {
	.section-routers .router-item-environment .router-item-content {
		margin-top: 51px;
		margin-bottom: 50px;
	}
}

@media only screen and (max-width: 734px) {
	.section-routers .router-item-environment .router-item-content {
		margin-top: 52px;
		margin-bottom: 50px;
	}
}
/* end: environment */

.section-routers .section-compare .grid-container.apple-intelligence-summer24 {
	grid-template-areas: "mba1315-hw 		mbp1416-hw" "mba1315-swatch 	mbp1416-swatch" "mba1315-headline  	mbp1416-headline" "mba1315-pricing 	mbp1416-pricing" "mba1315-display 	mbp1416-display" "mba1315-processor 	mbp1416-processor" "mba1315-memory 	mbp1416-memory" "mba1315-storage 	mbp1416-storage" "mba1315-battery 	mbp1416-battery" "mba1315-intelligence 	mbp1416-intelligence" "mba1315-biometrics mbp1416-biometrics" "mba1315-btn 		mbp1416-btn" "mba1315-cta 		mbp1416-cta";
}

@media only screen and (max-width: 734px) {
	.section-routers .section-compare .grid-container.apple-intelligence-summer24 {
		grid-template-areas: "mba1315-hw 	mbp1416-hw" "mba1315-swatch 	mbp1416-swatch" "mba1315-headline 	mbp1416-headline" "mba1315-pricing 	mbp1416-pricing" "mba1315-display	mbp1416-display" "mba1315-processor 	mbp1416-processor" "mba1315-memory 	mbp1416-memory" "mba1315-storage 	mbp1416-storage" "mba1315-battery 	mbp1416-battery" "mba1315-intelligence 	mbp1416-intelligence" "mba1315-biometrics mbp1416-biometrics" "mba1315-btn 	mbp1416-btn" "mba1315-cta 	mbp1416-cta";
	}
}

html.text-zoom .section-routers .section-compare .grid-container.apple-intelligence-summer24 {
	grid-template-areas: "mba1315-hw 	mbp1416-hw" "mba1315-swatch 	mbp1416-swatch" "mba1315-headline 	mbp1416-headline" "mba1315-pricing 	mbp1416-pricing" "mba1315-display	mbp1416-display" "mba1315-processor 	mbp1416-processor" "mba1315-memory 	mbp1416-memory" "mba1315-storage 	mbp1416-storage" "mba1315-battery 	mbp1416-battery" "mba1315-intelligence 	mbp1416-intelligence" "mba1315-biometrics mbp1416-biometrics" "mba1315-btn 	mbp1416-btn" "mba1315-cta 	mbp1416-cta";
}

.ai-announce {
	margin-top: 1.6em;
	color: #86868b;
}

/* trade-in */
.router-grid-wrapper .router-item-tradein {
	grid-column-start: 1;
	grid-column-end: 3;
}

@media only screen and (max-width: 734px) {
	.router-grid-wrapper .router-item-tradein {
		grid-column-start: 1;
		grid-column-end: 1;
	}
}

@media only screen and (min-width: 735px) {
	.router-grid-wrapper .router-item-tradein .router-content-wrapper {
		flex-direction: row;
		justify-content: center;
		text-align: left;
		padding-right: 50px;
	}

	.router-grid-wrapper .router-item-tradein .router-content-wrapper .router-item-copy {
		margin-left: 0;
		margin-right: 0;
	}

	.router-grid-wrapper .router-item-tradein .router-content-wrapper .router-item-picture {
		flex-grow: 1;
	}

	.router-grid-wrapper .router-item-tradein .router-content-wrapper .router-item-content {
		margin-bottom: 52px;
		padding-left: 50px;
		padding-right: 50px;
	}
}

@media only screen and (min-width: 940px) {
	.router-grid-wrapper .router-item-tradein .router-content-wrapper {
		padding-right: 50px;
	}

	.router-grid-wrapper .router-item-tradein .router-content-wrapper .router-item-content {
		padding-left: 50px;
		padding-right: 50px;
		margin-top: 102px;
		margin-bottom: 102px;
	}
}

@media only screen and (min-width: 1069px) {
	.router-grid-wrapper .router-item-tradein .router-content-wrapper {
		padding: 0 50px;
	}

	.router-grid-wrapper .router-item-tradein .router-content-wrapper .router-item-picture {
		flex-grow: 0;
	}

	.router-grid-wrapper .router-item-tradein .router-content-wrapper .router-item-content {
		padding-left: 0;
		padding-right: 50px;
		max-width: 500px;
	}
}

@media only screen and (max-width: 870px) {
	.router-grid-wrapper .router-item-tradein .router-content-wrapper {
		padding-right: 20px;
		padding-left: 20px;
	}

	.router-grid-wrapper .router-item-tradein .router-content-wrapper .router-item-content {
		padding-left: 30px;
		padding-right: 10px;
		margin-top: 52px;
	}
}

@media only screen and (max-width: 734px) {
	.router-grid-wrapper .router-item-tradein .router-content-wrapper .router-item-content {
		margin-top: 36px;
	}

	.router-item.router-item-tradein .router-item-picture.align-middle {
		padding-bottom: 0;
	}
}

@media only screen and (max-width: 734px) {
	.router-grid-wrapper .router-item-tradein .router-content-wrapper {
		margin-right: 0;
	}

	.router-grid-wrapper .router-item-tradein .router-content-wrapper .router-item-content {
		padding-left: 0;
		padding-right: 0;
	}
}

.overview-routers-trade-in {
	width: 463px;
	height: 282px;
	--p-width: 463px;
	--p-height: 282px;
}

.overview-routers-trade-in img {
	width: 100%;
	height: auto;
}

@media only screen and (max-width: 1068px) {
	.router-grid-wrapper .router-item-tradein .router-content-wrapper .router-item-content {
		max-width: 400px;
	}

	.overview-routers-trade-in {
		width: 356px;
		height: 216px;
		--p-width: 356px;
		--p-height: 216px;
	}
}
