/*Local Overrides*/

/* Welcome hero */

@media (max-width: 375px) {
	.section-welcome .headline-lockup {
		top: -20px;
		margin-bottom: -40px;
	}
}

@media only screen and (max-width: 520px) {
	.section-welcome .welcome__lockup .welcome__lockup-secondary-copy {
		max-width: 265px;
		margin-left: auto;
		margin-right: auto;
	}
}
@media only screen and (min-width: 735px) {
	#main > section.section.section-welcome {
		padding-top: 40px;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.section-welcome .headline-lockup .headline-wrap:before {
		left: 0px;
	}
}

/* medium */
@media only screen and (max-width: 935px) and (min-width: 735px) {
	.section-welcome .headline-lockup .typography-overview-hero-headline {
		max-width: 600px;
	}
}
/* small */
@media only screen and (max-width: 734px) {
	.section-welcome .headline-lockup,
	.section-welcome .welcome__lockup {
		padding-left: 15px;
		padding-right: 15px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media only screen and (max-width: 370px) {
	.section-welcome .headline-lockup .typography-overview-hero-headline {
		font-size: 73px;
	}
}
@media only screen and (max-width: 567px) {
	.section-welcome .overview-hero-hero-intro-logo {
		margin-top: 45px;
	}
}
/* Custom break */

@media only screen and (max-width: 380px) {
	.custom_break {
		display: none;
	}
}

/* Two sizes */
@media only screen and (min-width: 1069px) {
	.section-themes
		section.subsection.subsection-two-sizes
		div.stats-container.large-centered.stats
		div:nth-child(3) {
		margin-top: 0px;
	}
}

/* Subsection iPadOS*/

@media (max-width: 734px) {
	.modal-l2.ipados-modal .subsection-2 .app-marquee-caption.caption-3 {
		left: 16px;
	}
}

@media (min-width: 1069px) and (max-width: 1195px) {
	.modal-l2.ipados-modal .subsection-2 .app-marquee-caption.caption-3 {
		left: 65px;
		max-width: 180px;
		text-align: center;
	}
}

/* AI message*/
@media only screen and (max-width: 460px) {
	.section-welcome .lockup-wrap > div.welcome__lockup > p:nth-child(5) {
		max-width: 260px;
	}
}

/*Highlights section */

@media only screen and (min-width: 1069px) {
	#media-gallery-item-4 > div > div > p {
		margin-right: 83px;
		max-width: 516px;
	}
}

@media only screen and (max-width: 375px) {
	#media-gallery-item-4 > div > div > p {
		padding-right: 10px;
	}
}

@media only screen and (min-width: 1115px) {
	#media-gallery-item-5 div div p {
		min-width: 304px;
	}
}

@media only screen and (min-width: 1069px) and (max-width: 1114px) {
	#media-gallery-item-5 div div p {
		padding-left: 35px;
		min-width: 304px;
	}
}

/* Camera Section */
@media only screen and (max-width: 734px) {
	.section-themes
		> section.subsection.subsection-cameras
		> div.subsection-wrapper
		> div
		> h3
		> span {
		padding-right: 36px;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.modal-l2.modal-scrim.theme-light.two-sizes-modal.modal-scrim-blur.modal-open
		.subsection-wrapper
		.subsection.subsection-2
		.stats.stats-2 {
		width: 300px;
	}
}

@media only screen and (max-width: 1068px) {
	.section-highlights .media-gallery-wrapper .media-gallery-item-chip {
		--hlts-glry-caption-width: 560px;
	}
}

/*Connectivity */

@media only screen and (min-width: 1069px) {
	.modal-l2.modal-scrim.theme-light.connectivity-modal.modal-scrim-blur.modal-open
		.subsection-wrapper
		.subsection.subsection-1
		> div.medium-offset-1.small-offset-0
		> ul
		> li.feature.feature-feature2.typography-site-body.description-copy-color.column.large-6.small-12
		> div
		> p {
		padding-right: 20px;
	}
}

/*Section iPadOS*/
@media only screen and (max-width: 325px) {
	.section-themes
		> section.subsection.subsection-ipados
		> div.subsection-wrapper
		> div
		> h3
		> span {
		width: 266px;
	}

	#main
		> section.section.section-themes
		> section.subsection.subsection-ipados
		> div.subsection-wrapper
		> div
		> h3 {
		margin: 0px 10px;
	}
}

@media only screen and (min-width: 1069px) {
	.modal-l2.modal-scrim.theme-light.chip-modal.modal-scrim-blur.modal-open
		.subsection-wrapper
		.subsection.subsection-2
		> div
		> p {
		margin-right: 24px;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.modal-l2.modal-scrim.theme-light.chip-modal.modal-scrim-blur.modal-open
		.subsection-wrapper
		.subsection.subsection-2
		> div
		> p {
		margin-left: 34px;
		margin-right: 34px;
	}
}

/* Apple Pencil */
@media only screen and (max-width: 325px) {
	.modal-l2
		.apple-pencil-pro-l2-wrapper
		.pencil-section.pencil-features
		.pencil-features-intro {
		width: 89.5%;
	}
}

/* SECTION COMPARE */

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.section-contrast .product-tile .product-tile-ctas {
		padding-inline-start: 20px;
		padding-inline-end: 20px;
	}
}

@media (max-width: 734px) {
	.section-contrast
		.product-tile-set
		li.product-tile-ipad-air
		.product-tile-plus.product-tile-padding {
		margin-top: 0px;
	}
}

@media only screen and (max-width: 1068px) and (min-width: 735px) {
	.icon-card-content {
		padding-inline-end: 53px;
	}
}

@media only screen and (min-width: 1069px) {
	.section-contrast .product-tile .product-tile-ctas {
		padding-inline-start: 30px;
		padding-inline-end: 30px;
	}
}

@media only screen and (max-width: 1068px) and (min-width: 735px) {
	.section-contrast .product-tile .product-tile-ctas {
		padding-inline-start: 20px;
		padding-inline-end: 20px;
	}
	.section-contrast .product-tile-ctas .button + a {
		margin-inline-start: 15px;
	}
}

@media only screen and (max-width: 335px) {
	.section-contrast .product-tile .product-tile-padding {
		padding-inline-end: 6px;
	}
}

@media only screen and (min-width: 1069px) {
	.section-contrast .product-tile-price.custom_pricing {
		padding-left: 75px;
		padding-right: 75px;
	}
}
@media only screen and (min-width: 455px) and (max-width: 734px) {
	.section-contrast .product-tile-price.custom_pricing {
		padding-right: 35px;
	}
}

@media only screen and (min-width: 398px) and (max-width: 734px) {
	.section-contrast
		.responsive-content
		.product-tile.product-tile-ipad-air.has-image-link-row.has-badge-row.has-swatches-row.has-headline-row.has-plus-rows-7
		> p.product-tile-positioning.product-tile-padding {
		margin-bottom: 20px;
	}
}

@media only screen and (min-width: 392px) and (max-width: 482px) {
	.section-contrast .product-tile-ipad-pro .product-tile-positioning {
		padding-inline-end: 25px;
	}
}

@media only screen and (min-width: 735px) {
	.custom_spacing {
		display: none;
	}
}

/* Environment */
@media only screen and (min-width: 1069px) {
	.section-decarbonizing .section-header .section-header-headline-wrapper {
		max-width: 100%;
	}
}

/* Chip static alt */

.subsection-chip.custom_static
	.inline-media-component-container
	.video-wrapper
	.end-frame#overview-chip-chip-top-endframe-2 {
	opacity: 1;
}

@media (min-width: 1069px) {
	.section-header .section-header-headline-wrapper {
		max-width: 100%;
	}
}
