/* general */

* {
	line-break: strict;
}

@media (max-width: 734px) {
	br.small {
		display: block !important;
	}
}

html.ios #ac-localnav .ac-ln-button, .ios .button-reduced {
	padding-top: 4px;
	padding-bottom: 2px;
}

@media only screen and (max-width: 1068px) {
	html.touch #ac-localnav .ac-ln-button {
		padding-top: 4px;
		padding-bottom: 2px;
	}
}

.aap-base-button__text {
	padding: 16px 0 15px;
}

/* section-welcome */
.section-welcome .typography-callout.apple-intelligence-text {
	padding-left: 0.45em;
}

@media (max-width: 734px) {
	.section-welcome .typography-callout.apple-intelligence-text {
		text-align: center;
		padding-left: 0;
	}
}

.section-welcome .detail-ctas-link.button {
	padding-top: 9px;
	padding-bottom: 7px;
}

@media (min-width: 735px) {
	.section-welcome .welcome-media:not(.fallback) + .marquee-custom-container .apple-intelligence-container {
		margin-top: 54px;
	}
}

/* section-performance  */
.section-performance .tabnav-gallery .captions-gallery .gallery-caption {
	width: 100%;
}

@media (max-width: 734px) {
	.section-performance .tout-container .tout:nth-child(2) {
		max-width: 300px;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.section-performance .tout-container {
		grid-gap: 52px 100px;
		gap: 52px 100px;
	}
}

/* section-mac-iphone */
.section-mac-iphone .tabnav-gallery .captions-gallery .gallery-caption {
	width: 100%;
}

/* section-upgraders */
.section-upgraders .section-ps-headline-container {
	max-width: 900px;
}

.form-tooltip-wrapper .form-tooltip {
	top: -2px;
}

@media (max-width: 1068px) {
	.section-upgraders .upgraders-gallery .gallery-item .bento-item.apple-intelligence .copy-wrapper {
		max-width: 228px;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.section-upgraders .upgraders-gallery .gallery-item .bento-item.ports .icon-wrapper {
		margin-inline-end: 8px;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.upgraders-content .upgraders-gallery .bento-item {
		padding: 40px 15px 40px 40px;
	}
}

.upgraders-content .upgraders-gallery .bento-item:nth-of-type(1) .bento-item-content-wrapper {
	display: contents;
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.upgraders-content .upgraders-gallery .bento-item:nth-of-type(1) {
		padding: 40px 10px 40px 10px;
	}
}

@media (max-width: 734px) {
	.upgraders-content .upgraders-gallery .bento-item {
		padding: 30px 12px 30px 30px;
	}
}

@media (max-width: 734px) {
	.upgraders-content .upgraders-gallery .bento-item:nth-of-type(1) {
		padding: 30px 30px 30px 30px;
	}
}

@media (max-width: 734px) {
	.upgraders-content .upgraders-gallery .bento-item:nth-of-type(1) .bento-item-content-wrapper {
		display: block;
	}
}

@media (max-width: 320px) {
	.upgraders-content .upgraders-gallery .bento-item:nth-of-type(1) {
		padding: 30px 12px 30px 30px;
	}
}

/* section-contrast */
.section-contrast .product-tile-ctas .button:lang(ja) {
	padding-top: 12px;
	padding-bottom: 10px;
}

/* section-product-stories */

.section-product-stories .section-ps-headline-container .section-ps-headline .jp-headline-adjust {
	margin-right: -0.45em;
	display: inline-flex;
}
.section-product-stories .section-ps-headline-container .section-ps-headline .jp-headline-adjust.large-hide {
	display: none;
}
@media only screen and (max-width: 1068px) {
	.section-product-stories .section-ps-headline-container .section-ps-headline .jp-headline-adjust.medium-hide {
		display: none;
	}
	.section-product-stories .section-ps-headline-container .section-ps-headline .jp-headline-adjust.medium-show, .section-product-stories .section-ps-headline-container .section-ps-headline .jp-headline-adjust.medium-show-inline, .section-product-stories .section-ps-headline-container .section-ps-headline .jp-headline-adjust.medium-show-inlineflex {
		display: inline-flex;
	}
}
@media only screen and (max-width: 734px) {
	.section-product-stories .section-ps-headline-container .section-ps-headline .jp-headline-adjust.small-hide {
		display: none;
	}
	.section-product-stories .section-ps-headline-container .section-ps-headline .jp-headline-adjust.small-show, .section-product-stories .section-ps-headline-container .section-ps-headline .jp-headline-adjust.small-show-inline, .section-product-stories .section-ps-headline-container .section-ps-headline .jp-headline-adjust.small-show-inlineflex {
		display: inline-flex;
	}
}

/* section-design */
.section-design .typography-ps-dimensions {
	font-size: 96px;
}

@media (max-width: 1068px) {
	.section-design .typography-ps-dimensions {
		font-size: 70px;
	}
}

@media (max-width: 734px) {
	.section-design .typography-ps-dimensions {
		font-size: 60px;
	}
}

.section-design .dimensions-container .dimensions-height::after, .section-design .dimensions-container .dimensions-width::after {
	content: "cm";
	font-size: 0.5em;
	width: 3em;
	bottom: 0.2em;
	right: -3em;
}

html.design .section-design .dimensions-container .dimensions-width, .section-design .dimensions-container .dimensions-width {
	margin-top: 420px;
	margin-left: -54px;
}

@media (max-width: 1068px) {
	html.design .section-design .dimensions-container .dimensions-width, .section-design .dimensions-container .dimensions-width {
		margin-top: 294px;
		margin-left: -40px;
	}
}

@media (max-width: 734px) {
	html.design .section-design .dimensions-container .dimensions-width, .section-design .dimensions-container .dimensions-width {
		margin-top: 234px;
		margin-left: -34px;
	}
}

html.design .section-design .dimensions-container .dimensions-height, .section-design .dimensions-container .dimensions-height {
	margin-top: 64px;
	margin-left: -418px;
}

@media (max-width: 1068px) {
	html.design .section-design .dimensions-container .dimensions-height, .section-design .dimensions-container .dimensions-height {
		margin-top: 54px;
		margin-left: -298px;
	}
}

@media (max-width: 734px) {
	html.design .section-design .dimensions-container .dimensions-height, .section-design .dimensions-container .dimensions-height {
		margin-top: 42px;
		margin-left: -234px;
	}
}

/* section-apple-intelligence */
.section-apple-intelligence .logo-apple-intelligence {
	--p-width: 670px;
	--p-height: 85px;
	margin: auto;
}

@media (max-width: 1068px) {
	.section-apple-intelligence .logo-apple-intelligence {
		--p-width: 540px;
		--p-height: 66px;
		margin: auto;
	}
}

@media (max-width: 734px) {
	.section-apple-intelligence .logo-apple-intelligence {
		--p-width: 372px;
		--p-height: 47px;
	}
}

@media only screen and (min-width: 735px) {
	.section-apple-intelligence .section-ps-headline-container .section-ps-headline:not(:first-child) {
		margin-top: 8px;
	}
}

@media only screen and (max-width: 734px) {
	.section-apple-intelligence .section-ps-headline-container .section-ps-headline:not(:first-child) {
		margin-top: 0px;
	}
}

@media only screen and (max-width: 734px) {
	.section-apple-intelligence .subsection-copy div {
		--column-width: 0px;
	}
}

/* section-values */
.section-values .section-ps-headline-container span {
	display: inline;
}

/* modal-performance */
.modal-performance .l2-performance-wrapper .typography-ps-headline-super:lang(ja) {
	font-size: 80px;
	line-height: 1.05;
	font-weight: 700;
	letter-spacing: -0.015em;
	font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial,
		sans-serif;
}

@media (max-width: 1068px) {
	.modal-performance .l2-performance-wrapper .typography-ps-headline-super:lang(ja) {
		font-size: 64px;
		line-height: 1.0625;
		font-weight: 700;
		letter-spacing: -0.009em;
		font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica,
			Arial, sans-serif;
	}
}

@media (max-width: 734px) {
	.modal-performance .l2-performance-wrapper .typography-ps-headline-super:lang(ja) {
		font-size: 48px;
		line-height: 1.0834933333;
		font-weight: 700;
		letter-spacing: -0.003em;
		font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica,
			Arial, sans-serif;
	}
}

.modal-performance .graph-gallery-item-container .gallery-item .bars-container .stat-unit, .graph-gallery-item-container .gallery-item .bars-container .stat-unit {
	font-size: 32px;
	position: relative;
	top: 3px;
}
@media only screen and (max-width: 1068px) {
	.modal-performance .graph-gallery-item-container .gallery-item .bars-container .stat-unit, .graph-gallery-item-container .gallery-item .bars-container .stat-unit {
		font-size: 19px;
		position: relative;
		top: 2px;
	}
}
@media only screen and (max-width: 734px) {
	.modal-performance .graph-gallery-item-container .gallery-item .bars-container .stat-unit, .graph-gallery-item-container .gallery-item .bars-container .stat-unit {
		font-size: 19px;
		position: relative;
		top: 3px;
	}
}

.modal-performance .ric-modal-content-wrapper .footnote-number {
	right: 0.08em;
}

/* ric-modal-product-story */
.ric-modal-product-story .l2-design-wrapper .carbon-headline em::before {
	background-size: 444px 13px;
	--p-width: 444px;
	--p-height: 13px;
	top: 53px;
}

@media (max-width: 1068px) {
	.ric-modal-product-story .l2-design-wrapper .carbon-headline em::before {
		background-size: 380px 12px;
		--p-width: 380px;
		--p-height: 12px;
		top: 45px;
	}
}

@media (max-width: 734px) {
	.ric-modal-product-story .l2-design-wrapper .carbon-headline em::before {
		display: none;
	}
}

[data-component-list="MediaCardGallery"] .media-gallery .media-gallery-item-design .positioned-media-element.endframe, [data-component-list="MediaCardGallery"] .media-gallery .media-gallery-item-design .positioned-media-element.startframe, [data-media-card-gallery] .media-gallery .media-gallery-item-design .positioned-media-element.endframe, [data-media-card-gallery] .media-gallery .media-gallery-item-design.positioned-media-element.startframe {
	opacity: 1;
}

.mac-mini-global-avail.milestone-secondary {
	padding-top: 5px;
	padding-bottom: 5px;
}

@media (min-width: 735px) {
	.film-announcement-banner .banner-card-header {
		max-width: 100%;
	}
}


@media only screen and (max-width: 735px) {
	.section-welcome .marquee.marquee-milestone-cta {
		padding-top: 10px;
	}
}
@media only screen and (max-width: 365px) {
	.section-welcome .typography-callout.apple-intelligence-text {
		font-size: 19px;
	}
	.section-welcome .marquee.marquee-milestone-cta {
		font-size: 14px;
	}
}