/* LOCAL OVERRIDES */

/* hero */
@media only screen and (max-width: 1130px) and (min-width: 1069px) {
	.section-hero .typography-hero-headline {
		font-size: 90px;
	}
}
@media only screen and (max-width: 760px) and (min-width: 735px) {
	.section-hero .typography-hero-headline {
		font-size: 60px;
	}
}

/* Buttons */
@media only screen and (max-width: 369px) {
	.hero-heading-cta-container .button-custom {
		font-size: 14px;
	}
}
@media only screen and (max-width: 369px) {
	.hero-heading-block-background .hero-heading-cta-container a.button {
		font-size: 14px;
	}
}
@media only screen and (max-width: 734px) {
	.play-pause-button.has-background {
		top: 30px;
	}
}

/* some buttons stack and need to have additional margin at small sizes */
@media only screen and (max-width: 734px) {
	.fix-01 {
		margin-bottom: 13px;
	}
}

@media only screen and (max-width: 1068px) {
	.marquee-subtitle {
		white-space: inherit;
		text-overflow: inherit;
	}

	.section-apple-tv-plus .dynamic-gallery-item-container {
		height: 250px;
	}
}

@media only screen and (max-width: 734px) {
	.section-apple-tv-plus .dynamic-gallery-item-container {
		height: 195px;
	}
}

@media screen and (max-width: 438px) and (min-width: 369px) {
	.button.button-neutral {
		margin-bottom: 12px;
	}
}

@media only screen and (max-width: 360px) {
	.button.button-neutral {
		margin-bottom: 12px;
	}
	.section-apple-one .button.button-neutral {
		margin-bottom: 0px;
	}
}

/* Apple Books */

.section-apple-books {
	margin-bottom: 62px;
}

@media only screen and (max-width: 1068px) {
	.section-apple-books {
		margin-bottom: 88px;
	}
}
@media only screen and (max-width: 734px) {
	.section-apple-books {
		margin-bottom: 75px;
	}
}

/* Apple one */
@media only screen and (max-width: 743px) {
	.section-apple-one.updated-apple-one-router .subhead {
		max-width: 90%;
	}
}

/* Apple Fitness+ */
@media only screen and (min-width: 1069px) {
	section.section.section-apple-fitness .typography-heading-subheadline {
		max-width: 470px;
	}
}

/* Marquee CTA */
.section-apple-fitness .dynamic-gallery .marquee-tile .marquee-link {
	pointer-events: none;
	cursor: default;
	text-decoration: none;
}

/* Buttons in row for custom sections */

@media only screen and (min-width: 1069px) {
	section.custom-section.section-apple-arcade
		.typography-heading-subheadline {
		max-width: 470px;
	}
}

@media only screen and (min-width: 1069px) {
	section.custom-section.section-apple-arcade
		.typography-heading-subheadline {
		flex-shrink: 1;
	}
}

@media only screen and (max-width: 500px) {
	section.custom-section .xs-hide {
		display: none;
	}
}

section.custom-section .hero-heading-cta-container {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	row-gap: 14px;
	flex-shrink: 0;
}
section.custom-section .hero-heading-cta-container a {
	flex-shrink: 0;
	padding: 8px 15px;
	text-align: center;
	line-height: 1.1764805882;
}

section.custom-section .button-neutral {
	margin-bottom: 0;
}

@media (max-width: 350px) {
	section.custom-section .hero-heading-cta-container a:first-of-type {
		margin-right: 16px;
	}
}

section.custom-section .hero-heading-cta-container a.button:first-of-type,
.hero-heading-cta-container button:first-of-type {
	margin-right: 16px;
}

@media (max-width: 369px) {
	section.custom-section .hero-heading-cta-container a.button:first-of-type,
	.hero-heading-cta-container button:first-of-type {
		margin-right: 12px;
	}
}

@media (max-width: 350px) {
	section.custom-section .hero-heading-cta-container a.button:first-of-type,
	.hero-heading-cta-container button:first-of-type {
		margin-right: 8px;
	}
}
