/* CBLA Messaging Spacing */
.section-welcome .welcome-content {
	justify-content: space-between;
}

/* Apple Intelligence Headline Sizing */
.section-apple-intelligence .section-apple-intelligence-hero .overview-apple-intelligence-hero-apple-intelligence-headline {
	width: 100%;
	margin: 0 auto;
	height: auto;
}

/* Highlights section: Camera Control line break in S view */
@media (max-width: 734px) {
	.page-overview .section-media-card .media-card-gallery-content .media-gallery-wrapper ul li.media-gallery-item-1 .caption-container .caption {
		white-space: nowrap;
		padding-right: 2px;
	}
}

/* Highlights section: A18 chip line break adjustments */
@media (min-width: 1069px) {
	#media-card-gallery-item-4 > div > p {
		width: 459px;
	}
}

/* Camera System Hero Title line break adjustments */
@media (min-width: 1440px) and (max-width: 1458px) {
	#main > section.section.section-product-stories.no-pad-top.no-pad-bottom.staggered-end > section.section.section-camera-system > div.camera-system-hero > div.hero-base > div > div > h4 {
		width: min(
			73.916667vw - var(--global-scrollbar-width) / 12 * 10,
			1400px
		);
	}
}

/* Photographic styles footer line break adjustments */
@media (min-width: 1069px) {
	.section-photographic-styles .styles-footer {
		width: 100%;
	}
}

/* Ray Tracing copy line break adjustments */
@media (min-width: 1069px) {
	#main > section.section.section-product-stories.no-pad-top.no-pad-bottom.staggered-end > section.section.section-chip.no-pad-top > div > div.gaming-content.ric-large-8.ric-medium-10.large-centered > div.gaming-description > p {
		width: 100%;
	}
}

@media (max-width: 1144px) {
	.rt-break-specific {
		display: none;
	}
}

/* Fix Welcome Section */
.detail-milestone .milestone-secondary {
	padding-top: 43px;
}

.section-welcome .welcome-content-container .welcome-content .welcome-headline-container .welcome-headline {
	display: none;
}

/* Upgrader */
section.section .inline-compare-wrap {
	padding-block: var(--ps-spacing-80);
}

@media (max-width: 1068px) {
	section.section .inline-compare-wrap {
		padding-block: var(--ps-spacing-72);
	}
}

@media (max-width: 734px) {
	section.section .inline-compare-wrap {
		padding-block: var(--ps-spacing-48);
	}
}

@media (max-width: 480px) {
	section.section-upgrade .inline-compare-wrap .inline-wrap .compare-tile-battery .stat .battery-icon-wrap {
		--battery-padding-offset: 2px;
	}
}

/* BEGIN: #compare-upgrade-gallery */
@media (max-width: 925px) {
	section.section-upgrade .inline-compare-wrap .inline-wrap .compare-tile .stat-reduced strong {
		font-size: 27px;
	}
}
@media (max-width: 830px) {
	section.section-upgrade .inline-compare-wrap .inline-wrap .compare-tile .stat-reduced strong {
		font-size: 21px;
	}
}
@media (max-width: 735px) {
	section.section-upgrade .inline-compare-wrap .inline-wrap .compare-tile .stat-reduced strong {
		font-size: 32px;
	}
}
@media (max-width: 675px) {
	section.section-upgrade .inline-compare-wrap .inline-wrap .compare-tile:nth-child(2) {
		padding: 10px;
	}
	section.section-upgrade .inline-compare-wrap .inline-wrap .compare-tile .stat-reduced strong {
		font-size: 20px;
	}
}
@media (max-width: 435px) {
	section.section-upgrade .inline-compare-wrap .inline-wrap .compare-tile .stat-reduced strong {
		font-size: 19px;
	}
}
/* END: #compare-upgrade-gallery */

/* Fix Logo headline */
@media (max-width: 734px) {
	.welcome-content-container .viewport-content {
		width: 100%;
	}
}

/* Fix Camera Control */
.section-camera-control .subsection-copy-intro {
	margin-top: var(--caption-space-above);
}