/* hero pricing */

@media only screen and (min-width: 735px) {
	.section-hero .content-container .marquee .pricing-copy-container {
		padding-right: 23px;
	}
}

@media only screen and (min-width: 375px) {
	.section.section-hero .pricing-copy-container.typography-hero-pricing p br {
		display: none;
	}
}

@media only screen and (max-width: 375px) {
	.section-hero .content-container .marquee .pricing-copy-container {
		padding-right: 8px;
	}
}

@media only screen and (min-width: 390px) {
	section.section-hero
		.pricing-copy-container.typography-hero-pricing
		p
		span
		:nth-child(1) {
		display: unset;
		white-space: unset;
	}
}

/* Performance */
@media only screen and (min-width: 1069px) {
	article.section-performance .badge.badge1 {
		margin-right: 54px;
	}

	article.section-performance .badge.badge2 {
		margin-right: 54px;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	article.section-performance .badge.badge1 {
		margin-right: 42px;
	}

	article.section-performance .badge.badge2 {
		margin-right: 42px;
	}

	article.section-performance .badge {
		max-width: 140px;
	}
}

/* live translation card */

.card-footnote-content {
	--caption-padding-sides: 16px;
	--caption-padding-top: 28px;
	--caption-link-padding: 14px;
	--sk-glyph-gray-secondary: #6e6e73;
}

.typography-caption-tile-footnote {
	font-size: 12px;
	line-height: 1.3333733333;
	font-weight: 400;
	letter-spacing: -0.01em;
	font-family:
		SF Pro Text,
		SF Pro Icons,
		Helvetica Neue,
		Helvetica,
		Arial,
		sans-serif;
}

.card-footnote-content {
	order: 4;
	margin-top: var(--caption-link-padding);
	padding: 0 var(--caption-padding-sides) var(--caption-padding-top);
	color: var(--sk-glyph-gray-secondary);
	padding-bottom: 0;
}

.gallery-item.card.live-translation.tile-narrow .gallery-item-description {
	padding-bottom: 0;
}

/* environment section */

#gallery-item-renewable-2 .tile-content {
	padding-right: 60px;
}

/* CPU performance gallery Section */

@media only screen and (min-width: 735px) {
	.performance-modal-content .subsection-gallery .gallery-container .tabnav {
		height: 150px;
	}
	.performance-modal-content
		.subsection-gallery
		.vs-previous-models-gallery
		.gallery-container
		.tabnav-item:nth-child(n + 2),
	.performance-modal-content
		.subsection-gallery
		.gallery-container
		.compare-modal-gallery
		.tabnav-item:nth-child(n + 4) {
		position: relative;
		top: -26px;
	}
	.performance-modal-content
		.subsection-gallery
		.gallery-container
		.compare-modal-gallery
		.tabnav-item:first-child {
		position: relative;
		top: -16px;
	}

	.performance-modal-content
		.subsection-gallery
		.gallery-container
		.separator {
		display: inline-block;
		height: 30px;
		width: 10px;
		position: relative;
		top: -26px;
	}
}

@media only screen and (max-width: 734px) {
	.performance-modal-content
		.subsection-gallery
		.gallery-container
		.tablist-wrapper
		.tabnav {
		height: 166px;
	}
	.performance-modal-content
		.subsection-gallery
		.vs-previous-models-gallery
		.gallery-container
		.tabnav-item:nth-child(n + 2),
	.performance-modal-content
		.subsection-gallery
		.gallery-container
		.compare-modal-gallery
		.tabnav-item:nth-child(n + 6) {
		position: relative;
		top: -22px;
	}
	.performance-modal-content
		.subsection-gallery
		.gallery-container
		.compare-modal-gallery
		.tabnav-item:nth-child(5) {
		position: relative;
		top: -10px;
	}

	.performance-modal-content
		.subsection-gallery
		.gallery-container
		.separator {
		display: inline-block;
		height: 30px;
		width: 10px;
		position: relative;
		top: -22px;
	}
}

@media only screen and (max-width: 424px) {
	.performance-modal-content
		.subsection-gallery
		.graph-gallery
		.tablist-wrapper
		.tabnav
		.tabnav-items
		a {
		font-size: 19px;
	}
}

/* End CPU performance gallery Section */

/* Styles for div with id="overview-design-design-hero-static-1" */

article.section-design .picture-wrapper {
	overflow: visible;
}

/* Size for div with id id="macbook-air-m1-gallery-item-1" */

.section-upgraders .upgraders-content .upgraders-gallery .bento-grid {
	width: 924px;
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.section-upgraders .upgraders-content .upgraders-gallery .bento-grid {
		width: 692px;
	}
}

@media only screen and (min-width: 465px) and (max-width: 734px) {
	.section-upgraders .upgraders-content .upgraders-gallery .bento-grid {
		width: 406px;
	}
}

@media only screen and (max-width: 465px) {
	.section-upgraders .upgraders-content .upgraders-gallery .bento-grid {
		width: auto;
	}
}

/**/
#gallery-item-recycled-1 .tile-content {
	padding-right: 32px;
}

/* Custom lenguage disclaimer for section with class "section section-routers" */

.section-routers
	.typography-feature-card-body.feature-card-body.custom-disclaimer-vp {
	font-family: "SF Pro Text";
	line-height: 16px;
	color: #0000008f;
	font-weight: 400;
}

.section-routers
	.typography-feature-card-body.feature-card-body.custom-disclaimer-vp {
	margin-inline: auto;
	max-width: unset;
}

.trade-in .typography-feature-card-body.feature-card-body.custom-disclaimer-vp {
	max-width: 355px;
	height: unset;
	padding-bottom: 10px;
	margin-top: 0px;
}

.trade-in a {
	margin-top: 0;
	margin-bottom: 0;
}

/* comopare */

@media only screen and (max-width: 1068px) {
	section.section-routers
		.violator.violator-frameless.violator-frameless-reduced {
		text-wrap: wrap;
		top: -30px;
	}
}
