/* Local Overrides*/

/* Welcome Section */
@media (max-width: 734px) {
	.section-welcome {
		min-height: 760px;
	}
}

/* Dynamic Pricing Footnote */
.sosumi-link-follows,
.sosumi-link-follows ~ .footnote {
	display: none;
}

.sosumi-link-follows[data-pricing-loaded],
.sosumi-link-follows[data-pricing-loaded] ~ .footnote {
	display: inline;
}

/* ribbon XS */
@media only screen and (max-width: 340px) {
	.ribbon .ribbon-content-wrapper .ribbon-content .column {
		max-width: 300px;
	}
}
/* Hero AI Copy Padding */
/*
@media only screen and (min-width: 735px) {
	.section-welcome .apple-intelligence-container {
		margin-top: 115px;
	}

	html.no-enhanced .section-welcome .apple-intelligence-container {
		margin-top: 30px;
	}
}
@media only screen and (max-width: 734px) {
	.section-welcome .apple-intelligence-container {
		margin-top: 75px;
	}

	html.no-enhanced .section-welcome .apple-intelligence-container {
		margin-top: 20px;
	}
}

/* hello banner */

.custom-footnote,
.custom-footnote a {
	text-decoration: none !important;
	color: rgb(0, 102, 204);
}
#footnote-products {
	text-decoration: none !important;
}

/* Hero */
/*
@media only screen and (min-width: 1069px) {
	.section-welcome:has(.marquee-custom-container.ANNOUNCE) {
		min-height: 940px;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.section-welcome:has(.marquee-custom-container.ANNOUNCE) {
		min-height: 943px;
	}
}

@media only screen and (max-width: 734px) {
	.section-welcome:has(.marquee-custom-container.ANNOUNCE) {
		min-height: 783px;
	}
}

/* Hero Section Height - Avail */
/*
@media only screen and (min-width: 1069px) {
	.section-welcome:has(.marquee-custom-container.AVAIL) {
		min-height: 922px;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.section-welcome:has(.marquee-custom-container.AVAIL) {
		min-height: 923px;
	}
}

@media only screen and (max-width: 734px) {
	.section-welcome:has(.marquee-custom-container.AVAIL) {
		min-height: 760px;
	}
}
*/

@media only screen and (min-width: 1069px) {
	.section-welcome .marquee-custom-container {
		top: 234px;
	}
}

.viewport-content.marquee-custom-content .marquee-milestone-cta {
	margin-top: var(--sk-paragraph-plus-element-margin, 0.8em);
}

.marquee-detail p + * {
	margin-top: unset;
}

@media only screen and (min-width: 1024px) {
	.section-highlights .media-gallery .caption {
		--caption-width: 660px;
	}
}

/* AI headline */
.section-apple-intelligence .logo-apple-intelligence {
	padding-bottom: 25px;
	--p-width: 635px;
	--p-height: 177px;
}

@media (max-width: 1068px) and (max-width: 1068px) {
	.section-apple-intelligence .logo-apple-intelligence {
		padding-bottom: 15px;
		--p-width: 510px;
		--p-height: 147px;
	}
}

@media (max-width: 734px) and (max-width: 734px) {
	.section-apple-intelligence .logo-apple-intelligence {
		padding-bottom: 10px;
		--p-width: 360px;
		--p-height: 100px;
	}
}

.section-apple-intelligence .logo-apple-intelligence {
	margin-top: 12px;
}
.apple-intelligence-container .apple-intelligence-text {
	text-align: center;
}

/* keynote superscript */
.section-highlights
	.section-header-cta-list.typography-section-header-link
	.section-header-cta-item-cta1
	.footnote
	a {
	color: var(--sk-body-link-color, rgb(0, 102, 204));
	text-decoration: none;
}

.section-design .dimensions-container .dimensions-height::after,
.section-design .dimensions-container .dimensions-width::after {
	content: " cm";
}

.section-design .dimensions-container .dimensions-width {
	margin-left: -110px;
}

.section-design .dimensions-container .dimensions-height {
	margin-top: 115px;
}

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

	.section-design .dimensions-container .dimensions-width {
		margin-top: 294px;
		margin-left: -80px;
	}
}

@media (max-width: 734px) {
	.section-design .dimensions-container .dimensions-height {
		margin-top: 69px;
		margin-left: -240px;
	}

	.section-design .dimensions-container .dimensions-width {
		margin-top: 234px;
		margin-left: -70px;
	}
}

html.design
	.section-design
	.dimensions-container.typography-ps-dimensions
	.dimensions-width {
	margin-top: 140px;
}

html.design
	.section-design
	.dimensions-container.typography-ps-dimensions
	.dimensions-height {
	margin-left: -150px;
}

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

	html.design
		.section-design
		.dimensions-container.typography-ps-dimensions
		.dimensions-width {
		margin-top: 126px;
	}

	html.design
		.section-design
		.dimensions-container.typography-ps-dimensions
		.dimensions-height {
		margin-left: -96px;
	}
}

@media only screen and (max-width: 768px) {
	.typography-ps-dimensions {
		font-size: 50px;
	}

	html.design
		.section-design
		.dimensions-container.typography-ps-dimensions
		.dimensions-width {
		margin-top: 75px;
	}

	html.design
		.section-design
		.dimensions-container.typography-ps-dimensions
		.dimensions-height {
		margin-left: -70px;
	}
}

html.design
	.section-design
	.ports-sticky-container
	.flipbook
	.flipbook-time-group {
	margin-bottom: 30px;
}

@media only screen and (max-width: 1068px) {
	html.design
		.section-design
		.ports-sticky-container
		.flipbook
		.flipbook-time-group {
		margin-bottom: 18px;
	}
}

.l2-design-wrapper .carbon-headline em::before {
	background-size: 324px 13px;
}

@media only screen and (max-width: 1068px) {
	.l2-design-wrapper .carbon-headline em {
		display: block;
	}
	.l2-design-wrapper .carbon-headline em::before {
		background-size: 288px 12px;
	}
}

/* Design Modal */
@media only screen and (max-width: 1400px) {
	.modal-l2 .bento-content-width .carbon-stats.stats {
		display: flex;
		flex-direction: column;
	}
}

@media only screen and (max-width: 1400px) {
	.modal-l2 .bento-content-width .carbon-stats.stats {
		display: flex;
		flex-direction: column;
	}
}

/* M4 Modal */
@media only screen and (max-width: 1068px) and (min-width: 735px) {
	.modal-l2 .bento-content-width span.feature-item.typography-ps-callout {
		max-width: 150px;
	}
}

/* Highlights */
.section-highlights .footnote.footnote-diamond a {
	color: rgb(0, 102, 204);
}

/* Highlights endframe */
#overview-highlights-highlights-design-endframe-1 {
	visibility: visible;
}

/* headline */
@media screen and (min-width: 320px) and (max-width: 325px) {
	#media-card-gallery-item-3 > figure {
		margin-top: 31px;
	}
}

@media screen and (min-width: 326px) and (max-width: 328px) {
	#media-card-gallery-item-3 > figure {
		margin-top: 20px;
	}
}

/* announcement-banner */
.film-announcement-banner {
	background-color: #000000 !important;
}

.banner-card .banner-card-headline {
	color: #f5f5f7 !important;
}

/* announcement-banner -image */

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

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

/*M*/
@media only screen and (max-width: 1068px) and (min-width: 735px) {
	.film-announcement-banner .banner-card-image {
		width: 412px;
		height: 286px;
	}
}

/*S*/
@media only screen and (max-width: 734px) and (min-width: 481px) {
	.film-announcement-banner .banner-card-image {
		width: 267px;
		height: 192px;
	}
}

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