/* START : Fix Evergreen Ribbon */
.ribbon-evergreen {
	padding-top: var(--r-globalnav-height);
}
/* END : Fix Evergreen Ribbon */

/* START : Fix Hero */
@media (max-width: 734px) {
	section.section-welcome .marquee-top-wrapper > .marquee {
		padding-top: 51px;
		padding-bottom: 0;
	}
}

@media (min-width: 735px) {
	section.section-welcome .marquee-top-wrapper .marquee-header .header-headline:lang(th) {
		line-height: 1.5 !important;
	}
}

section.section-welcome {
	margin-top: calc(var(--r-globalnav-height) * -1);
}

@media (max-width: 1068px) {
	section.section-welcome {
		margin-top: calc((var(--r-globalnav-height) + 51px) * -1);
	}
}

@media (max-width: 502px) {
	section.section-welcome {
		margin-top: calc((var(--r-globalnav-height) + 70px) * -1);
	}

	section.section-welcome .marquee-top-wrapper > .marquee {
		padding-top: 70px;
	}
}
/* END : Fix Hero */

/* BEGIN : Apple Intelligence alt section */
.section-apple-intelligence .hero-area .copy {
	padding-top: 0;
}

.section-apple-intelligence .hero-area .copy .eyebrow picture {
	--p-width: 623px;
	--p-height: 153px;
}

@media (max-width: 1068px) {
	.section-apple-intelligence .hero-area .copy .eyebrow picture {
		--p-width: 448px;
		--p-height: 110px;
	}
}

@media (max-width: 734px) {
	.section-apple-intelligence .hero-area .copy .eyebrow picture {
		--p-width: 384px;
		--p-height: 105px;
	}
}

@media (max-width: 440px) {
	.section-apple-intelligence .hero-area .copy .eyebrow picture {
		--p-width: 280px;
		--p-height: 77px;
	}
}

@media only screen and (min-width: 1069px) {
	.section-apple-intelligence .hero-area {
		flex-direction: column;
	}

	.section-apple-intelligence .hero-area .copy {
		text-align: center;
		margin-inline-start: var(--ric-column-width-0);
	}

	.section-apple-intelligence .hero-area .apple-intelligence-hero-media {
		--centering-offset-as-float: 0.1124;
		margin-left: auto;
		margin-right: auto;
		inset-inline-start: 0;
		transform: translateX(15%);
	}
}

/* END : Apple Intelligence alt section */

/* Dropdown box fix for upgrade section */

@media (max-width: 1068px) {
	.form-dropdown-select {
		width: 110%;
	}

	section.section .inline-compare-wrap .form-dropdown-chevron {
		left: 50%;
		transform: translate(108%, -50%);
	}
}

@media (max-width: 734px) {
	.form-dropdown-select {
		width: 100%;
	}
	section.section .inline-compare-wrap .form-dropdown-chevron {
		left: initial;
		transform: translateY(-50%);
	}
}

/* END: Dropdown box fix for upgrade section */

/* lineheight fix for copy */
.lineheight-fix {
	line-height: 1.2;
}

.lineheight-fix2 {
	line-height: 1.25;
}

/* gradient fix for AI section copy  */
html.inline-media .section-apple-intelligence .privacy-area .ai-gradient-text {
	background-size: 205% 100%;
}

/* Start AI discliamer Apple Intelligence section */

.ps-swatch-tertiary, .section.theme-dark .ps-swatch-secondary {
	color: #86868b;
}

.typography-ps-card-disclaimer {
	font-size: 14px;
	line-height: 1.4285914286;
	font-weight: 600;
	letter-spacing: -0.016em;
	font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial,
		sans-serif;
}

.typography-ps-card-disclaimer:lang(ar) {
	letter-spacing: 0em;
	font-family: SF Pro AR, SF Pro AR Text, SF Pro Text, SF Pro Gulf,
		SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
}

.typography-ps-card-disclaimer:lang(ja) {
	line-height: 1.4;
	letter-spacing: 0em;
	font-family: SF Pro JP, SF Pro Text, SF Pro Icons, Hiragino Kaku Gothic Pro,
		ãƒ’ãƒ©ã‚®ãƒŽè§’ã‚´ Pro W3, ãƒ¡ã‚¤ãƒªã‚ª, Meiryo, ï¼­ï¼³ ï¼°ã‚´ã‚·ãƒƒã‚¯,
		Helvetica Neue, Helvetica, Arial, sans-serif;
}

.typography-ps-card-disclaimer:lang(ko) {
	line-height: 1.5714285714;
	letter-spacing: 0em;
	font-family: SF Pro KR, SF Pro Text, SF Pro Icons, Apple Gothic, HY Gulim,
		MalgunGothic, HY Dotum, Lexi Gulim, Helvetica Neue, Helvetica, Arial,
		sans-serif;
}

.typography-ps-card-disclaimer:lang(zh) {
	line-height: 1.5;
	letter-spacing: 0em;
}

.typography-ps-card-disclaimer:lang(th) {
	line-height: 1.3571828571;
	letter-spacing: 0em;
	font-family: SF Pro TH, SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica,
		Arial, sans-serif;
}

.typography-ps-card-disclaimer:lang(zh-CN) {
	font-family: SF Pro SC, SF Pro Text, SF Pro Icons, PingFang SC,
		Helvetica Neue, Helvetica, Arial, sans-serif;
}

.typography-ps-card-disclaimer:lang(zh-HK) {
	font-family: SF Pro HK, SF Pro Text, SF Pro Icons, PingFang HK,
		Helvetica Neue, Helvetica, Arial, sans-serif;
}

.typography-ps-card-disclaimer:lang(zh-MO) {
	font-family: SF Pro HK, SF Pro TC, SF Pro Text, SF Pro Icons, PingFang HK,
		Helvetica Neue, Helvetica, Arial, sans-serif;
}

.typography-ps-card-disclaimer:lang(zh-TW) {
	font-family: SF Pro TC, SF Pro Text, SF Pro Icons, PingFang TC,
		Helvetica Neue, Helvetica, Arial, sans-serif;
}

/* END AI discliamer Apple Intelligence section */
