/* Highlights section disclaimer styling */
.media-card-caption {
	display: block;
	margin-top: 3px;
}

.typography-media-card-caption {
	font-size: 19px;
	line-height: 1.2105263158;
	font-weight: 400;
	letter-spacing: 0.012em;
}

@media (max-width: 1068px) {
	.typography-media-card-caption {
		font-size: 14px;
		line-height: 1.2857742857;
		font-weight: 400;
		letter-spacing: -0.016em;
	}
}

@media (max-width: 734px) {
	.typography-media-card-caption {
		font-size: 12px;
		line-height: 1.3333733333;
		font-weight: 400;
		letter-spacing: -0.01em;
	}
}

/* FIX: Localnav expanded height adjustment for non-monthly pricing locales */
@media (min-width: 735px) {
	.localnav-container .content-expand-wrap .product-action .product-cta .pricing {
		height: auto;
	}
}

/* FIX: A19 Chip section static fix for M- and L-viewports */
.performance-video .video-wrapper picture > img {
	width: 100%;
}

/* FIX: iOS Card Set */
@media only screen and (min-width: 1069px) {
	.gallery.ios-gallery-gallery .card-set {
		grid-auto-columns: 372px;
	}
}

/* FIX: Compare performance */
section.section-performance .inline-compare-wrap .ps-stat .gradient-wrapper {
	line-height: 1.4;
}

section.section .ps-stat .gradient-wrapper {
	line-height: 1.2;
}

/* FIX: Compare upgrade gallery */
section.section.section-upgrade .inline-wrap .compare-tile-battery .ps-stat .battery-icon-wrap .bg-upgrade-image {
	bottom: 0.3em;
}

@media (max-width: 734px) {
	section.section.section-upgrade .inline-wrap .compare-tile-battery .ps-stat .battery-icon-wrap .bg-upgrade-image {
		bottom: 0.4em;
	}
}

section.section.section-upgrade .inline-compare-option .ps-stat .gradient-wrapper:lang(th) {
	line-height: 1.4;
}

section.section.section-upgrade .inline-wrap .compare-tile-battery .ps-stat .large-hide {
	display: none;
}

@media (max-width: 1068px) {
	section.section.section-upgrade .inline-wrap .compare-tile-battery .ps-stat .medium-show {
		display: block;
	}

	section.section.section-upgrade .inline-wrap .compare-tile-battery .ps-stat .medium-hide {
		display: none;
	}
}

@media only screen and (max-width: 734px) {
	section.section.section-upgrade .inline-wrap .compare-tile-battery .ps-stat .small-show {
		display: block;
	}

	section.section.section-upgrade .inline-wrap .compare-tile-battery .ps-stat .small-hide {
		display: none;
	}
}

/* FIX: Contextual Compare */
#compare-gallery-wrapper #compare-gallery-battery-slide-1 .copy-container .callout {
	line-height: 44px;
	margin-top: 10px;
}

/* FIX: Highlights Gallery */
.typography-media-card-gallery-headline:lang(th) {
	line-height: 1.35;
}

@media only screen and (min-width: 1069px) {
	.media-gallery .media-gallery-item-intelligence .media-container {
		padding-top: 20px;
	}
}

/* FIX: Rear Cameras Headline */
@media only screen and (min-width: 735px) {
	.camera-headline-fix {
		line-height: 1.5;
	}
}

/* FIX: Rear Upgrade */
@media (max-width: 1068px) {
	section.section.section-upgrade .inline-wrap .compare-tile-battery .ps-stat .battery-icon-wrap {
		--battery-padding-offset: 0px;
	}
}

@media (max-width: 734px) {
	section.section.section-upgrade .inline-wrap .compare-tile-battery .ps-stat .battery-icon-wrap {
		--battery-padding-offset: 4px;
	}
}

/* FIX: Welcome Hero */
.section-welcome .marquee .header-headline {
	line-height: 1.2;
}

/* FIX: Play Pause Button */
@media (max-width: 1068px) {
	.section-welcome .welcome-video.with-media-ui-button .inline-media-ui-button .play-pause-button {
		margin-bottom: 20px;
	}
}

@media (max-width: 734px) {
	.section-welcome .welcome-video.with-media-ui-button .inline-media-ui-button .play-pause-button {
		margin-bottom: 50px;
	}
}

/* FIX: Highlight Content Width */
[data-component-list*="MediaCardGallery"]:not(
	[data-component-list*="MediaCardGalleryControl"]
),
[data-media-card-gallery] {
	--caption-width: 600px;
}

@media (max-width: 1068px) {
	[data-component-list*="MediaCardGallery"]:not(
		[data-component-list*="MediaCardGalleryControl"]
	),
	[data-media-card-gallery] {
		--caption-width: 555px;
	}
}

@media (max-width: 734px) {
	[data-component-list*="MediaCardGallery"]:not(
		[data-component-list*="MediaCardGalleryControl"]
	),
	[data-media-card-gallery] {
		--caption-width: calc(100% - var(--caption-left));
	}
}

html.text-zoom
	[data-component-list*="MediaCardGallery"]:not(
		[data-component-list*="MediaCardGalleryControl"]
	),
html.text-zoom [data-media-card-gallery] {
	--caption-width: calc(100% - var(--caption-left) - 40px);
}
