/* local overrides */

/* hero headline */

@media only screen and (max-width: 330px) {
	.section-hero-pricing
		.headline-container
		.typography-hero-pricing-headline {
		max-width: 265px;
	}
}

/* hero pricing copy */

@media only screen and (min-width: 1069px) {
	.section-hero-pricing .hero-headline-wide {
		max-width: 753px;
	}
}

@media (max-width: 1068px) {
	.section-hero-pricing .hero-headline-wide {
		max-width: 648px;
	}
}

@media (max-width: 435px) {
	.section-hero-pricing .hero-headline-wide {
		max-width: 350px;
	}
}

/* item preferences */

@media only screen and (min-width: 1069px) {
	.grid-item-preferences .tile .tile-content {
		padding-right: 58px;
	}
}

/* inspiration */

@media only screen and (min-width: 1069px) {
	.section-inspiration
		.grid-item-join
		.tile-copy
		.typography-section-headline {
		max-width: 781px;
	}
}

/* Apple One */

@media only screen and (min-width: 1069px) {
	.section-routing .tile .cta:first-child {
		margin-inline-end: 28px;
	}
}

/* apple music */

@media only screen and (min-width: 1069px) {
	.section-routing .tile-music .custom {
		flex-direction: column;
	}
	.section-routing .tile-music .router-ctas .cta.custom:nth-child(2) {
		margin-top: 12px;
	}
}

@media only screen and (min-width: 1069px) and (max-width: 1256px) {
	@media only screen and (min-width: 1069px) {
		.section-routing .tile-apple-one .custom {
			flex-direction: column;
		}
		.section-routing .tile-apple-one .router-ctas .cta.custom:nth-child(2) {
			margin-top: 12px;
		}
	}
}

/* custom plans tile */

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.section-get-started .tile-custom-plans.stacked .tile-content .tile-image {
		align-self: end;
	}
	.section-get-started
		.tile-custom-plans.plan-full-width
		.typography-tile-gallery-headline,
	.section-get-started
		.tile-personalized-suggestions
		.typography-tile-headline {
		font-size: 30px;
	}
	.section-get-started
		.tile-personalized-suggestions
		.overview-for-you::after {
		padding-bottom: 128.36%;
	}
	.section-get-started .tile-custom-plans .tile-content {
		padding-top: 28px;
	}
	.section-get-started .tile-custom-plans .tile-copy {
		padding-bottom: 28px;
	}
}

/* custom br tag in Fitness section */

.custom-display {
	display: none;
}

@media only screen and (max-width: 480px) {
	.section-inspiration .grid-item-join .tile-copy .typography-tile-copy {
		max-width: 317px;
	}
	.custom-display {
		display: block;
	}
}
