/* Local Overrides */

/* PRICING */

@media only screen and (min-width: 1069px) {
	section.section-media-hero.media-layout-background
		.marquee.links-platter
		.marquee-detail
		.detail-group {
		max-width: 450px;
	}
}

@media only screen and (max-width: 1068px) and (min-width: 393px) {
	section.section-media-hero.media-layout-background
		> .marquee-platter-theme-dark
		.marquee.links-platter
		.marquee-detail
		.detail-copy {
		max-width: 290px;
	}
}

@media only screen and (max-width: 425px) {
	section.section-media-hero.media-layout-background
		> .marquee-platter-theme-dark
		.marquee.links-platter
		.marquee-detail
		.detail-copy {
		max-width: 140px;
	}
}

@media only screen and (max-width: 1068px) {
	section.section-media-hero.media-layout-background
		.marquee.links-platter
		.marquee-detail
		.detail-copy
		.media-hero-pricing {
		line-height: 21px;
	}
}

@media only screen and (min-width: 445px) {
	.product-tile .product-tile-price {
		max-width: 250px;
	}
}

@media only screen and (max-width: 734px) {
	.product-tile .product-tile-price {
		max-width: 110px;
	}
}

.localnav-container
	.content-expand-wrap
	.product-action
	.product-cta
	.pricing:has([data-toggle="acmi"]) {
	max-width: 300px;
}

/* DISCLAIMER */

.tv-disclaimer {
	font-size: 12px;
	line-height: 16px;
	text-align: center;
	font-weight: 600;
	color: #959495;
}

.tv-disclaimer a {
	color: #959495;
}

/* ID: highlights gallery - Card 5 */

@media only screen and (max-width: 734px) {
	.media-gallery-item-5
		.caption.caption-sosumi.typography-media-card-gallery-caption-sosumi {
		margin-top: 5px;
	}
}

/* HERO  */

body {
	--localnav-offset: var(--r-localnav-height);
}

body[data-component-list*="LocalnavTrigger"] {
	--localnav-offset: 0px;
}

.ribbon.ribbon-full-screen {
	top: calc(
		var(--ribbon-height) + var(--ribbon-spacing) +
			var(--r-globalnav-height, 0px) + var(--localnav-offset)
	);
}

.media-hero-wrapper {
	position: relative;
	padding-bottom: var(--ribbon-height, 0);
}

section.section-media-hero {
	--gradient-color: #000;
	--section-height-min: 680px;
	--section-height-max: 1440px;
	--marquee-padding: 64px;
	--marquee-padding-reduced: 24px;
	--section-height: max(
		var(--section-height-min),
		calc(
			var(--section-height-default) -
				var(--r-globalnav-segmentbar-height, 0px) -
				var(--r-localeswitcher-height, 0px)
		)
	);
	margin-top: calc(var(--r-localnav-height, 0px) * -1);
	padding-top: 0;
	width: 100%;
	height: max(
		var(--section-height-min),
		var(--section-height) - var(--r-globalnav-height, 0px) -
			var(--ribbon-height, 0px) - var(--localnav-offset)
	);
	top: var(--ribbon-height);
	overflow: hidden;
	position: relative;
}

body:not([data-component-list*="LocalnavTrigger"]) section.section-media-hero {
	margin-top: 0;
}

section.section-media-hero.media-layout-background .marquee.full-screen {
	padding-top: calc(
		var(--marquee-padding) + var(--r-globalnav-height) +
			var(--ribbon-height, 0px) + var(--ribbon-spacing) +
			var(--localnav-offset)
	);
}

/* HERO - BUTTONS */
@media (min-width: 1069px) and (max-width: 1440px) {
	section.section-media-hero.media-layout-background:has(.marquee.full-screen)
		.media.ui-large-top
		.inline-media-ui-button {
		transform: translateY(
			calc(
				var(--r-globalnav-height) + var(--ribbon-height, 0px) +
					var(--ribbon-spacing) + var(--localnav-offset)
			)
		);
	}
}

@media (min-width: 1441px) {
	section.section-media-hero.media-layout-background:has(.marquee.full-screen)
		.media.ui-xlarge-top
		.inline-media-ui-button {
		transform: translateY(
			calc(
				var(--r-globalnav-height) + var(--ribbon-height, 0px) +
					var(--ribbon-spacing) + var(--localnav-offset)
			)
		);
	}
}

@media (min-width: 735px) and (max-width: 1068px) {
	section.section-media-hero.media-layout-background:has(.marquee.full-screen)
		.media.ui-medium-top
		.inline-media-ui-button {
		transform: translateY(
			calc(
				var(--r-globalnav-height) + var(--ribbon-height, 0px) +
					var(--ribbon-spacing) + var(--localnav-offset)
			)
		);
	}
}

@media (max-width: 734px) {
	section.section-media-hero.media-layout-background:has(.marquee.full-screen)
		.media.ui-small-top
		.inline-media-ui-button {
		transform: translateY(
			calc(
				var(--r-globalnav-height) + var(--ribbon-height, 0px) +
					var(--ribbon-spacing) + var(--localnav-offset)
			)
		);
	}
}

/* RIBBON */
html.text-zoom .media-hero-wrapper:has(.ribbon) {
	margin-top: calc(var(--localnav-total-height) + 1em);
}

html.ac-gn-segmentbar-visible .media-hero-wrapper:has(.ribbon) {
	margin-top: 0;
}

html.ac-gn-segmentbar-visible .media-hero-wrapper .ribbon {
	display: none;
}

@media (min-width: 1441px) {
	section.section-media-hero {
		--section-height-min: 840px;
		--section-height-max: 1692px;
		--marquee-padding: 80px;
	}
}

@media (max-width: 1068px) {
	section.section-media-hero {
		--section-height-min: 576px;
		--section-height-max: 1200px;
		--marquee-padding: 48px;
	}
}

@media (max-width: 734px) {
	section.section-media-hero {
		--section-height-min: 475px;
		--section-height-max: 800px;
		--marquee-padding: 32px;
	}
}

section.section-media-hero {
	--welcome-margin-top: calc(var(--localnav-total-height) * -1);
	--section-height-default: clamp(
		var(--section-height-min),
		100svh,
		var(--section-height-max)
	);
	--section-height-min: 780px;
	--section-height-max: 1080px;
}

@media (min-width: 1441px) {
	section.section-media-hero {
		--section-height-min: 860px;
		--section-height-max: 1300px;
	}
}

@media (max-width: 1068px) {
	section.section-media-hero {
		--section-height-min: 600px;
		--section-height-max: 900px;
	}
}

@media (max-width: 734px) {
	section.section-media-hero {
		--section-height-min: 696px;
		--section-height-max: 900px;
	}
}

body:not([data-component-list*="LocalnavTrigger"])
	.media-hero-wrapper
	section.section-media-hero {
	margin-top: var(--welcome-margin-top);
}
