/*------------------------------------*\
   LOCAL SCREENS
\*------------------------------------*/

section.section.section-upgrade .inline-wrap .compare-tile-display .bg-upgrade-image.ready-to-load { background-image:url(/euro/iphone-17/a/screens_alt/images/overview/upgrade/display__byzcm0i4kxaq_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(/euro/iphone-17/a/screens_alt/images/overview/upgrade/display__byzcm0i4kxaq_large_2x.jpg); }
}
@media (max-width:1068px) {
  section.section.section-upgrade .inline-wrap .compare-tile-display .bg-upgrade-image.ready-to-load { background-image:url(/euro/iphone-17/a/screens_alt/images/overview/upgrade/display__byzcm0i4kxaq_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(/euro/iphone-17/a/screens_alt/images/overview/upgrade/display__byzcm0i4kxaq_medium_2x.jpg); }
}
@media (max-width:734px) {
  section.section.section-upgrade .inline-wrap .compare-tile-display .bg-upgrade-image.ready-to-load { background-image:url(/euro/iphone-17/a/screens_alt/images/overview/upgrade/display__byzcm0i4kxaq_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(/euro/iphone-17/a/screens_alt/images/overview/upgrade/display__byzcm0i4kxaq_small_2x.jpg); }
}
/*------------------------------------*\
   END LOCAL SCREENS
\*------------------------------------*/ 




/*------------------------------------*\
   LOCAL FIXES
\*------------------------------------*/

.localnav-container .content-expand-wrap .product-list .product-wrap .badge {
   width: auto;
}


.section-welcome .marquee-detail .pricing-product {
	flex-direction: initial;
}

@media (min-width:735px) {
	.localnav-container .content-expand-wrap .product-action .product-cta .pricing {
		height: 18px;
	}
}

@media (max-width:420px) {
  .section-cameras .back-camera-wrapper .typography-ps-headline span {
    max-width: 280px;
  }
}

#compare-gallery-wrapper .copy-container .headline {
  font-size: 16px;
}

#compare-gallery-wrapper .copy-container .headline ~ .feature {
    margin-top: 4px;
}

#compare-gallery-wrapper .copy-container .feature {
  font-size: 11px;
}

.section-upgrade .compare-tile-wrap .compare-tile-graphics {
  padding-right: 8px;
  padding-left: 8px;
}


@media (max-width:1068px) {
	.section-welcome .welcome-video.with-media-ui-button .inline-media-ui-button {
		top: calc(48% + 5px + var(--welcome-section-height)/2);
	}
}

@media (max-width:734px) {
	.section-welcome .welcome-video.with-media-ui-button .inline-media-ui-button {
		top: calc(50% + 20px + var(--welcome-section-height)/2);
	}
}

/* Deep Link */

.section-shared-features .subsection-ai-gallery {
    scroll-margin-top: var(--localnav-total-height);
}

/* End deep link */

/* AI MEDIA CARD DISCLAIMER */

.media-gallery-item-intelligence .card .caption-container {
	display: block;
}

.media-gallery-item-intelligence .card .caption-container .caption.typography-callout-keyline-headline {
	color: var(--sk-glyph-gray-secondary);
	font-weight: 400;
	margin-top: 0px;
	width: auto;
}

.media-gallery-item-intelligence .card .caption-container .caption.typography-media-card-gallery-headline {
	margin: var(--pin-offset-y) auto;
	margin-bottom: 5px;
}

.section-highlights [data-ac-gallery-item].media-gallery-item-intelligence .media-block {
	margin-top: 12px;
}

@media (max-width:1068px) {
	.media-gallery-item--intelligence .card .caption-container .caption.typography-media-card-gallery-headline {
		width: auto;
	}
}

@media (max-width:734px) {
	.media-gallery-item-intelligence .card .caption-container .caption.typography-callout-keyline-headline {
		margin: auto;
		font-size: 15px;
	}
}

/* END AI MEDIA CARD DISCLAIMER */

/* AI SECTION HEADLINE DISCLAIMER */

.subsection-ai-gallery .section-header .section-header-disclaimer {
	color: var(--sk-glyph-gray-tertiary);
	margin-top: 0px;
}

@media (max-width:734px) {
	.subsection-ai-gallery .section-header .section-header-disclaimer {
		font-size: 17px;
	}
}

.subsection-ai-gallery .section-header .section-header-headline {
	min-width: 100%;
	margin-top: 10px;
}

@media (max-width:1068px) {
	.subsection-ai-gallery .section-header .section-header-headline {
		margin-top: 0px;
	}
}

@media (max-width:734px) {
	.subsection-ai-gallery .section-header .section-header-headline {
		min-width: 100%;
	}
}

@media (min-width:735px)and (max-width:1068px) {
	.section-shared-features .subsection-ai-gallery .feature-gallery .section-header.row {
		flex-wrap: wrap;
	}
}

/* END AI SECTION HEADLINE DISCLAIMER */

/* SHARED FEATURES 2 TILES */

.caption-tile-gallery .wide:nth-child(1) .card {
	background-color: #FFFFFF
}

.caption-tile-gallery .wide:nth-child(2) .card {
	background-color: #1D1D1F
}

/* END SHARED FEATURES 2 TILES */

.section-welcome .marquee-detail {
	padding: 0;
}

#compare-gallery-and-controller-wrapper .tabnav-items {
	justify-content: space-between;
}



/* IOS26 GALLERY */

#ios-gallery-gallery .caption-tile:first-child:nth-last-child(n + 3), #ios-gallery-gallery .caption-tile:first-child:nth-last-child(n + 3) ~ .caption-tile {
    max-width: 372px;
}

#ios-gallery-gallery .card-set {
	grid-template-columns: repeat(3, 372px);
}

@media (max-width:1068px) {
	#ios-gallery-gallery .card-set {
		grid-template-columns: repeat(3, 344px);
	}
}

@media (max-width:734px) {
	#ios-gallery-gallery .card-set {
		grid-template-columns: repeat(3, 260px);
	}
}

/* END IOS26 GALLERY */


/*------------------------------------*\
   END LOCAL FIXES
\*------------------------------------*/ 