/* Local Overrides */
h3.typography-ps-headline-elevated.subsection-features-headline.gradient-text.gradient-text-70.gradient-copy.ric-large-6.ric-small-10.large-centered {
	width: 90%;
}

/* Ribbon */

.ribbon {
	z-index: 9999;
	position: relative;
}

html:not(.text-zoom) .ribbon {
	margin-top: calc(var(--localnav-total-height) * -1);
}

.ribbon {
	--ribbon-link-inline-color: inherit;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.4285914286;
	font-weight: 400;
	letter-spacing: -0.016em;
	font-family:
		SF Pro Text,
		SF Pro Icons,
		Helvetica Neue,
		Helvetica,
		Arial,
		sans-serif;
	--ribbon-link-color: rgb(0, 102, 204);
	--ribbon-focus-color: #0071e3;
	--ribbon-text-color: rgb(29, 29, 31);
	--ribbon-background-color: rgb(245, 245, 247);
	--ribbon-content-padding-top: 16px;
	--ribbon-content-padding-bottom: var(--ribbon-content-padding-top);
	--ribbon-content-width: 83.33333%;
	--ribbon-content-minimum-width: 320px;
	width: var(--ribbon-width);
	padding-top: var(--ribbon-padding-top);
	padding-bottom: var(--ribbon-padding-bottom);
}

.ribbon-content-wrapper {
	background-color: var(--ribbon-background-color);
	-webkit-backdrop-filter: blur(var(--ribbon-background-blur));
	backdrop-filter: blur(var(--ribbon-background-blur));
	padding-top: var(--ribbon-content-padding-top);
	padding-bottom: var(--ribbon-content-padding-bottom);
	border-radius: var(--ribbon-border-radius);
}

.ribbon-content-wrapper {
	text-align: center;
}

/*Section Welcome */

.ribbon + .section-welcome {
	margin-top: 20px;
}

/* Screen */
section.section.section-upgrade
	.inline-wrap
	.compare-tile-center-stage
	.bg-upgrade-image.ready-to-load {
	background-size: 148px 306px;
	background-repeat: no-repeat;
	background-image: url(/cl/iphone-air/images/overview/upgrade/center_stage__btzzlh82i7qq_large.jpg);
}

@media (min-resolution: 1.5dppx), (min-resolution: 144dpi) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-center-stage
		.bg-upgrade-image.ready-to-load {
		background-image: url(/cl/iphone-air/images/overview/upgrade/center_stage__btzzlh82i7qq_large_2x.jpg);
	}
}

@media (max-width: 1068px) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-center-stage
		.bg-upgrade-image.ready-to-load {
		background-size: 90px 182px;
		background-repeat: no-repeat;
		background-image: url(/cl/iphone-air/images/overview/upgrade/center_stage__btzzlh82i7qq_medium.jpg);
	}
}

@media (max-width: 1068px) and (min-resolution: 1.5dppx),
	(max-width: 1068px) and (min-resolution: 144dpi) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-center-stage
		.bg-upgrade-image.ready-to-load {
		background-image: url(/cl/iphone-air/images/overview/upgrade/center_stage__btzzlh82i7qq_medium_2x.jpg);
	}
}

@media (max-width: 734px) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-center-stage
		.bg-upgrade-image.ready-to-load {
		background-size: 86px 176px;
		background-repeat: no-repeat;
		background-image: url(/cl/iphone-air/images/overview/upgrade/center_stage__btzzlh82i7qq_small.jpg);
	}
}

@media (max-width: 734px) and (min-resolution: 1.5dppx),
	(max-width: 734px) and (min-resolution: 144dpi) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-center-stage
		.bg-upgrade-image.ready-to-load {
		background-image: url(/cl/iphone-air/images/overview/upgrade/center_stage__btzzlh82i7qq_small_2x.jpg);
	}
}

section.section.section-upgrade
	.inline-wrap
	.compare-tile-display
	.bg-upgrade-image.ready-to-load {
	background-size: 114px 340px;
	background-repeat: no-repeat;
	background-image: url(/cl/iphone-air/images/overview/upgrade/display__fjsw7dzyjyqa_large.jpg);
}

@media (min-resolution: 1.5dppx), (min-resolution: 144dpi) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-display
		.bg-upgrade-image.ready-to-load {
		background-image: url(/cl/iphone-air/images/overview/upgrade/display__fjsw7dzyjyqa_large_2x.jpg);
	}
}

@media (max-width: 1068px) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-display
		.bg-upgrade-image.ready-to-load {
		background-size: 72px 214px;
		background-repeat: no-repeat;
		background-image: url(/cl/iphone-air/images/overview/upgrade/display__fjsw7dzyjyqa_medium.jpg);
	}
}

@media (max-width: 1068px) and (min-resolution: 1.5dppx),
	(max-width: 1068px) and (min-resolution: 144dpi) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-display
		.bg-upgrade-image.ready-to-load {
		background-image: url(/cl/iphone-air/images/overview/upgrade/display__fjsw7dzyjyqa_medium_2x.jpg);
	}
}

@media (max-width: 734px) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-display
		.bg-upgrade-image.ready-to-load {
		background-size: 74px 220px;
		background-repeat: no-repeat;
		background-image: url(/cl/iphone-air/images/overview/upgrade/display__fjsw7dzyjyqa_small.jpg);
	}
}

@media (max-width: 734px) and (min-resolution: 1.5dppx),
	(max-width: 734px) and (min-resolution: 144dpi) {
	section.section.section-upgrade
		.inline-wrap
		.compare-tile-display
		.bg-upgrade-image.ready-to-load {
		background-image: url(/cl/iphone-air/images/overview/upgrade/display__fjsw7dzyjyqa_small_2x.jpg);
	}
}

/* IOS SECTION */

.scroll-gallery .custom-width {
	width: min-content;
	min-width: auto;
}

/* CONNECTIVITY SECTION */

.custom-white {
	background-color: white;
}
.custom-black {
	background-color: #1d1d1f;
}

/* highligths cards */

@media only screen and (max-width: 424px) {
	li#media-card-gallery-item-6
		p.caption.pin-offset.typography-media-card-gallery-headline {
		margin: 0 20px 15px 20px;
	}
	li#media-card-gallery-item-2
		p.caption.pin-offset.typography-media-card-gallery-headline {
		margin: 30px 0 15px 0;
	}
}

@media only screen and (max-width: 734px) {
	#overview-highlights-highlights-apple-intelligence-endframe-3 {
		top: -40px;
		position: relative;
	}

	picture#overview-highlights-highlights-chip-endframe-3 {
		position: relative;
		left: 20px;
	}
}

@media only screen and (min-width: 735px) and (max-width: 780px) {
	.ai-gallery-gallery-wrapper .section-header.row {
		column-gap: 25px;
	}
}

/* HIGHLIGHTS SLIDER */
@media only screen and (max-width: 450px) {
	li#media-card-gallery-item-6
		p.caption.pin-offset.typography-media-card-gallery-headline {
		margin: 0 15px 15px 15px;
	}
}

@media only screen and (max-width: 734px) {
	li#media-card-gallery-item-4 .ps-spacing-small-24 {
		margin-right: 120px;
	}
}

@media only screen and (max-width: 350px) {
	#overview-highlights-highlights-apple-intelligence-endframe-3 {
		position: relative;
		bottom: 40px;
	}
}
@media only screen and (min-width: 351px) and (max-width: 734px) {
	#overview-highlights-highlights-apple-intelligence-endframe-3 {
		position: relative;
		bottom: 20px;
	}
}

/* Hero pricing */

@media only screen and (min-width: 735px) {
	.marquee-pricing {
		width: 324px;
		margin-left: auto;
		margin-right: auto;
	}
}
@media only screen and (max-width: 734px) {
	.marquee-pricing {
		width: 270px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* RIBBON AVAIL */

@media only screen and (max-width: 1170px) and (min-width: 1160px) {
	.ribbon .ribbon-drop-wrapper .ribbon-content-wrapper {
		padding-right: 100px;
		padding-left: 100px;
	}
}

@media only screen and (max-width: 450px) {
	.column.large-centered.ric-small-12.ric-large-12 a.ribbon-link.more {
		white-space: nowrap;
	}
}
