/*Local Overrides*/

/* Hero */
@media only screen and (max-width: 465px) {
	.welcome__lockup-secondary-copy {
		max-width: 227px;
		margin: auto;
	}
}

@media only screen and (min-width: 735px) {
	.custom-placeholder {
		height: 30px;
	}
}

@media only screen and (max-width: 734px) {
	.custom-placeholder {
		display: none;
	}
}

@media only screen and (max-width: 734px) {
	#main > section.section.section-welcome > div {
		margin-top: 0px;
	}
}

@media only screen and (max-width: 350px) {
	section.section.section-welcome
		div.lockup-wrap
		div.welcome__lockup
		p.welcome__lockup-intelligence.typography-overview-hero-intelligence {
		max-width: 310px;
	}
}

/* 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;
	}
}

/* Custom break */

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

/* Subsection iPadOS*/

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

/*AI message */

.section-welcome .lockup-wrap > div.welcome__lockup > p:nth-child(5) {
	min-width: 270px;
}

/* Compare section */

/* Compare */

@media only screen and (max-width: 734px) {
	.section-contrast .product-tile-ipad-air .product-tile-positioning {
		flex-grow: 1;
	}
	.product-tile-price {
		width: 70px;
	}
}

@media only screen and (min-width: 1069px) {
	.two-lines-large {
		height: 40px;
	}
}
@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.two-lines-medium {
		height: 40px;
	}
	.three-lines-medium {
		height: 60px;
	}
}

@media only screen and (max-width: 734px) {
	.two-lines-small {
		height: 40px;
	}
}

@media only screen and (min-width: 456px) 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 {
		margin-bottom: 20px;
	}
}

@media only screen and (min-width: 370px) and (max-width: 426px) {
	.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 {
		margin-bottom: 20px;
	}
}

@media only screen and (min-width: 326px) and (max-width: 375px) {
	.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
		> div.product-tile-plus.product-tile-padding
		> div.product-tile-plus-cell.product-tile-plus-1
		> ul
		> li:nth-child(1)
		> p {
		margin-bottom: 12px;
	}
}

@media only screen and (max-width: 325px) {
	.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
		> div.product-tile-plus.product-tile-padding
		> div.product-tile-plus-cell.product-tile-plus-1
		> ul
		> li:nth-child(1)
		> p {
		margin-bottom: 42px;
	}
}

@media only screen and (min-width: 375px) and (max-width: 399px) {
	li.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-bottom: 20px;
	}
}

@media only screen and (max-width: 357px) {
	.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
		> p.product-tile-positioning.product-tile-padding {
		margin-bottom: 20px;
	}
}

/* Slide Button */

@media only screen and (max-width: 353px) {
	#main
		> section.section.section-themes
		> section.subsection.subsection-two-sizes
		> div.subsection-wrapper
		> div
		> div.gallery-wrap.mounted
		> div.toggle-wrap {
		height: 44px;
		min-width: 277px;
	}
}

/* Chip static alt */

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

/*Apple Pencil Section*/

@media only screen and (max-width: 330px) {
	#aap-apple-pencil-pro > div > button > span.aap-base__text {
		max-width: calc(100vw - 124px);
	}
}

@media only screen and (max-width: 734px) {
	.subsection-two-sizes .gallery-wrap .toggle-wrap .toggle-button {
		padding: 13px 12px;
	}
}

/* Incentive Section */

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

/* XS break */

@media only screen and (min-width: 372px) {
	.custom_xs-break {
		display: none;
	}
}

/* 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;
	}
}

/* welcome section height */

html.no-enhanced .section-welcome div.welcome__lockup > p:nth-child(4) {
	margin-bottom: 30px;
}
