/* Hero section */

@media only screen and (max-width: 734px) {
	.section-welcome .welcome__lockup-primary-copy {
		width: 280px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media only screen and (max-width: 365px) {
	section.section.section-welcome
		div.lockup-wrap
		div.headline-lockup
		h2.typography-overview-hero-headline {
		font-size: 70px;
	}
}

@media only screen and (max-width: 365px) {
	html.safari
		section.section.section-welcome
		div.lockup-wrap
		div.headline-lockup
		h2.typography-overview-hero-headline {
		font-size: 70px;
	}
}

/* hero small */
@media only screen and (max-width: 434px) {
	.section-welcome .welcome__lockup {
		max-width: 350px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Highlights section */

@media only screen and (min-width: 1069px) {
	#media-gallery-item-3 > div > div > p {
		max-width: 588px;
	}
}
@media only screen and (max-width: 734px) {
	#media-gallery-item-3 > div > div > p {
		max-width: 250px;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	#media-gallery-item-5 > div > div > p {
		max-width: 360px;
	}
}

/* Closer look section */
@media only screen and (max-width: 365px) {
	.section-closer-look .viewer-label {
		margin-left: -13px;
	}
}

/*Chip section */

@media only screen and (min-width: 735px) and (max-width: 780px) {
	.modal-l2.modal-scrim.theme-light.chip-modal.modal-scrim-blur.modal-open
		.subsection-wrapper
		.subsection.subsection-1
		> div {
		padding-left: 20px;
	}
}

/*Apple Pencil Pro*/

@media only screen and (min-width: 735px) and (max-width: 780px) {
	.modal-l2.modal-scrim.theme-light.apple-pencil-pro-modal.modal-scrim-blur.modal-open
		.subsection-wrapper
		> div.content-wrapper.pencil-section.pencil-hero.theme-dark
		> div
		> div
		> h2 {
		padding-left: 20px;
	}
}

/* Two-sizes section */

@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-1
		.intro-wrap
		> p {
		padding-right: 20px;
	}
}

/* Compare section */

.section-contrast
	> div.responsive-content
	li.product-tile.product-tile-ipad-air.has-image-link-row.has-badge-row.has-swatches-row.has-headline-row.has-plus-rows-7
	> div.product-tile-plus.product-tile-padding {
	margin-top: 0px;
}

@media only screen and (min-width: 415px) and (max-width: 734px) {
	.section-contrast
		> div.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 {
		padding-right: 36px;
	}
}

/* Compare Pricing */

@media only screen and (max-width: 355px) {
	.section-contrast
		> div.responsive-content
		.product-tile.product-tile-ipad-pro.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: 735px) and (max-width: 1068px) {
	.section-contrast .product-tile-price {
		max-width: 210px;
	}
}

@media only screen and (max-width: 734px) {
	.section-contrast .product-tile-price {
		width: 130px;
	}
}

@media only screen and (max-width: 355px) {
	.section-contrast .product-tile-price {
		width: 100px;
	}
}

/* Compare CTA buttons */

@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: 16px;
		padding-inline-end: 16px;
	}
}

@media only screen and (max-width: 830px) and (min-width: 735px) {
	.section-contrast .product-tile .product-tile-ctas a.icon-wrapper {
		margin-inline-start: 6px;
	}
}

/* sosumi sup */

.ac-gf-sosumi sup {
	top: 0px;
	font-size: 0.7em;
}

/* Incentive Section */

.icon-card-content {
	padding-right: 30px;
}

#icon-card-specialist .icon-container:first-child {
	height: 62px;
}

/* Compare Pricing */
@media only screen and (min-width: 1069px) {
	section.section.section-contrast
		div.responsive-content
		li.product-tile.product-tile-ipad-pro
		p.product-tile-price.product-tile-padding.has-dynamic-content,
	section.section.section-contrast
		div.responsive-content
		li.product-tile.product-tile-ipad-air
		p.product-tile-price.product-tile-padding.has-dynamic-content {
		padding-right: 40px;
		padding-left: 40px;
	}
}

/* Compare */

@media only screen and (min-width: 1069px) {
	section.section.section-contrast
		div.responsive-content
		ul
		li.product-tile.product-tile-ipad-pro.has-image-link-row.has-badge-row.has-swatches-row.has-headline-row.has-plus-rows-7
		.product-tile-plus.product-tile-padding
		.product-tile-plus-cell.product-tile-plus-1
		ul
		li:nth-child(6)
		p {
		max-width: 280px;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	section.section.section-contrast
		div.responsive-content
		ul
		li.product-tile.product-tile-ipad-pro.has-image-link-row.has-badge-row.has-swatches-row.has-headline-row.has-plus-rows-7
		.product-tile-plus.product-tile-padding
		.product-tile-plus-cell.product-tile-plus-1
		ul
		li:nth-child(6)
		p {
		min-width: 255px;
	}
}

/* iPadOS section apps */
@media only screen and (max-width: 365px) {
	div.modal-l2.modal-scrim.theme-light.ipados-modal.modal-scrim-blur.modal-open
		div.subsection-wrapper
		div.subsection.subsection-2
		div.app-marquee-wrap
		div.app-marquee-row.row-bottom
		div
		div:nth-child(1)
		> p {
		left: 20px;
	}
}

@media only screen and (max-width: 325px) {
	div.modal-l2.modal-scrim.theme-light.ipados-modal.modal-scrim-blur.modal-open
		div.subsection-wrapper
		div.subsection.subsection-2
		div.app-marquee-wrap
		div.app-marquee-row.row-bottom
		div
		div:nth-child(1)
		p {
		left: 23px;
	}
}

@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;
	}
}

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

/* Subsection Chip*/

@media only screen and (min-width: 1069px) {
	.section.section-themes
		.subsection.subsection-chip
		.subsection-wrapper
		.section-content.chip-hero
		.chip-stats.row
		.large-8.large-centered.medium-10.small-12
		.chip-stats-grid {
		padding: 0;
	}
}

/* Education VP */

@media only screen and (max-width: 325px) {
	#icon-card-modal-content-education p.typography-site-modal-headline {
		min-width: 284px;
	}
}

/* Section Highlights */

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.section-highlights .media-gallery-item-1 .caption-container {
		--hlts-glry-caption-width: 500px;
	}
}
