/* Local Override */

/* Hero section */

@media only screen and (max-width: 480px) {
	#main .section.section-welcome {
		padding-bottom: 25px;
	}

	.viewport-content.centered-text.welcome-copy-container {
		margin-top: 29px;
	}

	#overview-welcome-hero-endframe-1.overview-welcome-hero-endframe {
		margin-top: -30px;
	}
}

@media only screen and (min-width: 382px) and (max-width: 480px) {
	.viewport-content.centered-text.welcome-copy-container {
		margin-top: 39px;
	}

	#overview-welcome-hero-endframe-1.overview-welcome-hero-endframe {
		margin-top: -25px;
	}
}

@media only screen and (min-width: 481px) and (max-width: 734px) {
	.viewport-content.centered-text.welcome-copy-container {
		margin-top: 69px;
	}
}

@media only screen and (min-width: 735px) and (max-width: 856px) {
	.viewport-content.centered-text.welcome-copy-container {
		margin-top: 55px;
	}

	#overview-welcome-hero-endframe-1.overview-welcome-hero-endframe {
		margin-top: -7px;
	}

	.section.section-welcome-custom {
		height: auto;
		margin-bottom: 46px;
	}
}

/* Banner Section CTA */

@media (max-width: 349px) {
	.section-banner .banner-card-ctas a {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media only screen and (min-width: 1069px) {
	.media-gallery-wrapper
		.gallery-item.media-gallery-item-2
		.typography-media-card-gallery-headline {
		max-width: 410px;
	}
}

/* intelligence-gallery */

@media only screen and (min-width: 1069px) {
	li#intelligence-gallery-item-4 .card-caption-content {
		max-width: 315px;
	}
}

@media only screen and (min-width: 735px) {
	li#intelligence-gallery-item-1 .card-caption-content {
		max-width: 400px;
	}
	li#intelligence-gallery-item-5 .card-caption-content {
		max-width: 294px;
	}
}

/* retouching-gallery */

@media only screen and (min-width: 735px) {
	li#retouching-gallery-item-1 .card-caption-content {
		max-width: 430px;
	}
	li#retouching-gallery-item-4 .card-caption-content {
		max-width: 460px;
	}
}

/* vector-gallery */

@media only screen and (min-width: 735px) {
	li#vector-gallery-item-4 .card-caption-content {
		max-width: 312px;
	}
}

/* section-integration */

@media only screen and (min-width: 1068px) {
	section.section-integration
		.viewport-content
		.section-header-w-copy
		.typography-label {
		max-width: 700px;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	section.section-integration
		.viewport-content
		.section-header-w-copy
		.typography-label {
		max-width: 600px;
	}
}

/* design gallery */

@media only screen and (min-width: 1069px) {
	.caption-tile-gallery
		.caption-tile.wide[data-analytics-gallery-item-id="templates and mockups"]
		.card-caption-content {
		width: 448px;
	}
}

@media only screen and (max-width: 389px) {
	#highlights-gallery-item-1
		.card
		.caption-container
		.typography-media-card-gallery-headline {
		margin: 30px;
	}

	#highlights-gallery-item-5
		.card
		.caption-container
		.typography-media-card-gallery-headline {
		margin: 28px;
	}
}
