/* Local overrides */

/* Hero */

@media only screen and (max-width: 734px) {
	.section-welcome .overview-welcome-hero-apple-intelligence-headline {
		margin-top: -60px;
	}
}

@media only screen and (max-width: 734px) {
	.section-welcome .overview-welcome-hero-apple-intelligence-headline {
		margin-top: -60px;
		--p-height: 165px;
	}
}

/* Ribbon */

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.ribbon-bts-2024 .ac-ribbon__bts-2024-content {
		width: 60%;
	}
}

@media only screen and (max-width: 517px) {
	.ribbon-bts-2024 .ac-ribbon__bts-2024-content {
		width: 50%;
	}
}

@media only screen and (max-width: 382px) {
	.ribbon-bts-2024 .ac-ribbon__bts-2024-content {
		width: 72%;
	}
}

/* Watch the keynote styles */

.section-highlights .section-header .section-header-cta-item a {
	text-decoration: none;
}

.section-highlights .footnote.footnote-supglyph a {
	color: #2997ff;
}

/* --- */

.section-contrast .product-tile .product-tile-padding.product-tile-price {
	max-width: 230px;
}

@media only screen and (max-width: 500px) {
	.subsection-camera-audio
		.camera-audio-gallery
		.tablist-wrapper
		.tabnav-items {
		justify-content: left;
	}
}

@media only screen and (min-width: 380px) {
	.subsection-apple-intelligence .custom-nowrap-xs {
		white-space: nowrap;
	}
}

@media only screen and (min-width: 1069px) {
	.section-welcome .overview-welcome-hero-apple-intelligence-headline {
		margin-inline: initial;
		margin-left: 40px;
	}
}

/* local animation */

.section-highlights
	[data-component-list*="HighlightsGallery"]
	.media-gallery
	.item-container
	.media-gallery-item-camera
	.positioned-media-element.endframe {
	background-image: url("/br/macbook-pro/images/overview/highlights/highlights_center_stage_endframe__f1foahen7y62_large.jpg");
}

@media (min-resolution: 1.5dppx), (min-resolution: 144dpi) {
	.section-highlights
		[data-component-list*="HighlightsGallery"]
		.media-gallery
		.item-container
		.media-gallery-item-camera
		.positioned-media-element.endframe {
		background-image: url("/br/macbook-pro/images/overview/highlights/highlights_center_stage_endframe__f1foahen7y62_large_2x.jpg");
	}
}

@media (max-width: 1068px) {
	.section-highlights
		[data-component-list*="HighlightsGallery"]
		.media-gallery
		.item-container
		.media-gallery-item-camera
		.positioned-media-element.endframe {
		background-image: url("/br/macbook-pro/images/overview/highlights/highlights_center_stage_endframe__f1foahen7y62_medium.jpg");
	}
}

@media (max-width: 1068px) and (min-resolution: 1.5dppx),
	(max-width: 1068px) and (min-resolution: 144dpi) {
	.section-highlights
		[data-component-list*="HighlightsGallery"]
		.media-gallery
		.item-container
		.media-gallery-item-camera
		.positioned-media-element.endframe {
		background-image: url("/br/macbook-pro/images/overview/highlights/highlights_center_stage_endframe__f1foahen7y62_medium_2x.jpg");
	}
}

@media (max-width: 734px) {
	.section-highlights
		[data-component-list*="HighlightsGallery"]
		.media-gallery
		.item-container
		.media-gallery-item-camera
		.positioned-media-element.endframe {
		background-image: url("/br/macbook-pro/images/overview/highlights/highlights_center_stage_endframe__f1foahen7y62_small.jpg");
	}
}

@media (max-width: 734px) and (min-resolution: 1.5dppx),
	(max-width: 734px) and (min-resolution: 144dpi) {
	.section-highlights
		[data-component-list*="HighlightsGallery"]
		.media-gallery
		.item-container
		.media-gallery-item-camera
		.positioned-media-element.endframe {
		background-image: url("/br/macbook-pro/images/overview/highlights/highlights_center_stage_endframe__f1foahen7y62_small_2x.jpg");
	}
}

.section-highlights
	[data-component-list*="HighlightsGallery"]
	.media-gallery
	.item-container
	.media-gallery-item-camera
	.positioned-media-element.static {
	background-image: url("/br/macbook-pro/images/overview/highlights/highlights_center_stage_endframe__f1foahen7y62_large.jpg");
}

@media (min-resolution: 1.5dppx), (min-resolution: 144dpi) {
	.section-highlights
		[data-component-list*="HighlightsGallery"]
		.media-gallery
		.item-container
		.media-gallery-item-camera
		.positioned-media-element.static {
		background-image: url("/br/macbook-pro/images/overview/highlights/highlights_center_stage_endframe__f1foahen7y62_large_2x.jpg");
	}
}

@media (max-width: 1068px) {
	.section-highlights
		[data-component-list*="HighlightsGallery"]
		.media-gallery
		.item-container
		.media-gallery-item-camera
		.positioned-media-element.static {
		background-image: url("/br/macbook-pro/images/overview/highlights/highlights_center_stage_endframe__f1foahen7y62_medium.jpg");
	}
}

@media (max-width: 1068px) and (min-resolution: 1.5dppx),
	(max-width: 1068px) and (min-resolution: 144dpi) {
	.section-highlights
		[data-component-list*="HighlightsGallery"]
		.media-gallery
		.item-container
		.media-gallery-item-camera
		.positioned-media-element.static {
		background-image: url("/br/macbook-pro/images/overview/highlights/highlights_center_stage_endframe__f1foahen7y62_medium_2x.jpg");
	}
}

@media (max-width: 734px) {
	.section-highlights
		[data-component-list*="HighlightsGallery"]
		.media-gallery
		.item-container
		.media-gallery-item-camera
		.positioned-media-element.static {
		background-image: url("/br/macbook-pro/images/overview/highlights/highlights_center_stage_endframe__f1foahen7y62_small.jpg");
	}
}

@media (max-width: 734px) and (min-resolution: 1.5dppx),
	(max-width: 734px) and (min-resolution: 144dpi) {
	.section-highlights
		[data-component-list*="HighlightsGallery"]
		.media-gallery
		.item-container
		.media-gallery-item-camera
		.positioned-media-element.static {
		background-image: url("/br/macbook-pro/images/overview/highlights/highlights_center_stage_endframe__f1foahen7y62_small_2x.jpg");
	}
}

.section-highlights
	[data-component-list*="HighlightsGallery"]
	.media-gallery
	.item-container
	.media-gallery-item-camera
	.positioned-media-element.startframe {
	background-image: url("/br/macbook-pro/images/overview/highlights/highlights_center_stage_startframe__dsa5cos9gt6q_large.jpg");
}

@media (min-resolution: 1.5dppx), (min-resolution: 144dpi) {
	.section-highlights
		[data-component-list*="HighlightsGallery"]
		.media-gallery
		.item-container
		.media-gallery-item-camera
		.positioned-media-element.startframe {
		background-image: url("/br/macbook-pro/images/overview/highlights/highlights_center_stage_startframe__dsa5cos9gt6q_large_2x.jpg");
	}
}

@media (max-width: 1068px) {
	.section-highlights
		[data-component-list*="HighlightsGallery"]
		.media-gallery
		.item-container
		.media-gallery-item-camera
		.positioned-media-element.startframe {
		background-image: url("/br/macbook-pro/images/overview/highlights/highlights_center_stage_startframe__dsa5cos9gt6q_medium.jpg");
	}
}

@media (max-width: 1068px) and (min-resolution: 1.5dppx),
	(max-width: 1068px) and (min-resolution: 144dpi) {
	.section-highlights
		[data-component-list*="HighlightsGallery"]
		.media-gallery
		.item-container
		.media-gallery-item-camera
		.positioned-media-element.startframe {
		background-image: url("/br/macbook-pro/images/overview/highlights/highlights_center_stage_startframe__dsa5cos9gt6q_medium_2x.jpg");
	}
}

@media (max-width: 734px) {
	.section-highlights
		[data-component-list*="HighlightsGallery"]
		.media-gallery
		.item-container
		.media-gallery-item-camera
		.positioned-media-element.startframe {
		background-image: url("/br/macbook-pro/images/overview/highlights/highlights_center_stage_startframe__dsa5cos9gt6q_small.jpg");
	}
}

@media (max-width: 734px) and (min-resolution: 1.5dppx),
	(max-width: 734px) and (min-resolution: 144dpi) {
	.section-highlights
		[data-component-list*="HighlightsGallery"]
		.media-gallery
		.item-container
		.media-gallery-item-camera
		.positioned-media-element.startframe {
		background-image: url("/br/macbook-pro/images/overview/highlights/highlights_center_stage_startframe__dsa5cos9gt6q_small_2x.jpg");
	}
}

/* announcement-banner -image */

/*XL*/
@media only screen and (min-width: 1441px) {
	.section-film-announcement .overview-film-announcement-banner-hello {
		width: 632px;
		height: 320px;
	}
}

@media only screen and (min-width: 735px) {
	.section-contrast
		.product-tile-set
		.product-tile.has-plus-rows-4:last-child
		.product-tile-plus {
		margin-top: 0;
	}
}

/*L*/
@media only screen and (max-width: 1440px) and (min-width: 1069px) {
	.section-film-announcement .overview-film-announcement-banner-hello {
		width: 468px;
		height: 320px;
	}
}

/*M*/
@media only screen and (max-width: 1068px) and (min-width: 735px) {
	.section-film-announcement .overview-film-announcement-banner-hello {
		width: 412px;
		height: 286px;
	}
	.section-themes .subsection-chips-hero .subsection-eyebrow {
		font-size: 19px;
	}
}

/*S*/
@media only screen and (max-width: 734px) and (min-width: 481px) {
	.section-film-announcement .overview-film-announcement-banner-hello {
		width: 267px;
		height: 192px;
	}
	.section-themes .subsection-chips-hero .subsection-eyebrow {
		font-size: 17px;
	}
}

/*XS*/
@media only screen and (max-width: 480px) {
	.section-film-announcement .overview-film-announcement-banner-hello {
		width: 267px;
		height: 192px;
	}
}

@media (min-width: 356px) and (max-width: 425px) {
	.section-welcome .welcome__lockup-primary-copy {
		margin: 16px auto;
		max-width: 78%;
	}
}

@media (max-width: 355px) {
	.section-welcome .welcome__lockup-primary-copy {
		margin: 16px auto;
		max-width: 87%;
	}
}

/* Themes-apps */
@media (min-width: 421px) and (max-width: 500px) {
	.subsection-apps .pro-apps-gallery .captions-gallery {
		min-height: 223px;
	}
}
