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

@media only screen and (max-width: 1068px) {
	section.section.section-apple-fitness div.hero-heading-headline-bottom h3 {
		max-width: 380px;
	}
}

@media only screen and (min-width: 1069px) {
	section.section.section-apple-one.updated-apple-one-router p {
		width: 522px;
	}
}

/* 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: 390px) {
	.button-neutral {
		margin-bottom: 13px;
	}
	.section-apple-one .button-neutral {
		margin-bottom: 0px;
	}
}

@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: 332px) {
	.button.button-neutral.custom {
		margin-bottom: 12px;
	}
}

/* some buttons stack and need to have additional margin at small sizes */

@media only screen and (max-width: 1068px) {
.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;
	}
}

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

/* fitness */

/* AMP ribbon overrides */

/* Buttons in row for custom sections */

/* Size for the CTA section "name:apple news+" */
@media only screen and (min-width: 1069px) and (max-width: 1110px){
	#main > section.section.section-apple-news-plus > div > div.hero-heading-block > div > div > div.hero-heading-cta-container{
		transform: translateX(6px);
	}
}
@media only screen and (min-width: 1111px){
	#main > section.section.section-apple-news-plus > div > div.hero-heading-block > div > div > div.hero-heading-cta-container{
		transform: translateX(36px);
	}
}

@media only screen and (min-width: 734px) and (max-width: 1068px){
	.tile-cta-wrapper.links-inline{
		display: flex;
		flex-direction: column;
		gap: 18px;
	}

	.links-inline li{
		margin: unset;
	} 

	.section-apple-one .tile-cta-wrapper li:last-child {
        margin-left: unset;
    }

}

@media only screen and (max-width: 346px) {
    .section-apple-one.updated-apple-one-router .subhead {
        max-width: 82%;
    }
}