@font-face {
	font-display: swap;
	font-family: "GTF Adieu TRIAL";
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/GTFAdieuTRIAL-Regular.otf") format("opentype");
}

@font-face {
	font-display: swap;
	font-family: "GTF Adieu TRIAL";
	font-style: normal;
	font-weight: 700;
	src: url("../fonts/GTFAdieuTRIAL-Bold.otf") format("opentype");
}

@font-face {
	font-display: swap;
	font-family: "Source Han Sans CN";
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/SourceHanSansCN-Regular.otf") format("opentype");
}

:root {
	--phomi-blue: #70c7d1;
	--phomi-font: "GTF Adieu TRIAL";
}

html,
body {
	margin: 0;
	overflow-x: hidden;
}

body.page-template-page-edisplay-application,
body.page-template-page-edisplay-application #page,
body.page-template-page-edisplay-application #content,
body.page-template-page-edisplay-application .site-content,
body.page-template-page-edisplay-application .ast-container,
body.page-template-page-edisplay-application .content-area,
body.page-template-page-edisplay-application .site-main,
body.page-template-page-edisplay-application .entry-content,
body:has(#primary.phomi-edisplay),
body:has(#primary.phomi-edisplay) #page,
body:has(#primary.phomi-edisplay) #content,
body:has(#primary.phomi-edisplay) .site-content,
body:has(#primary.phomi-edisplay) .ast-container,
body:has(#primary.phomi-edisplay) .content-area,
body:has(#primary.phomi-edisplay) .site-main,
body:has(#primary.phomi-edisplay) .entry-content {
	margin: 0;
	max-width: none;
	padding: 0;
}

html:has(body.page-template-page-edisplay-application),
html:has(#primary.phomi-edisplay) {
	margin-top: 0 !important;
}

body.page-template-page-edisplay-application .site-header,
body.page-template-page-edisplay-application .site-footer,
body.page-template-page-edisplay-application #wpadminbar,
body:has(#primary.phomi-edisplay) .site-header,
body:has(#primary.phomi-edisplay) .site-footer,
body:has(#primary.phomi-edisplay) #wpadminbar {
	display: none;
}

.ast-plain-container.ast-no-sidebar #primary.phomi-edisplay,
#primary.phomi-edisplay,
.phomi-edisplay {
	background: #fff;
	color: #000;
	font-family: var(--phomi-font);
	margin: 0;
	min-height: 100vh;
	padding: 0;
}

.phomi-edisplay *,
.phomi-edisplay *::before,
.phomi-edisplay *::after {
	box-sizing: border-box;
}

.phomi-edisplay img {
	display: block;
	max-width: 100%;
}

.phomi-header {
	height: 4.6875vw;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 40;
}

.phomi-header__inner {
	height: 100%;
	margin: 0 auto;
	max-width: 1920px;
	position: relative;
}

.phomi-logo {
	aspect-ratio: 2269 / 875;
	display: block;
	left: 15.104167vw;
	line-height: 0;
	position: absolute;
	top: 0.572917vw;
	width: 8.333333vw;
}

.phomi-logo img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.phomi-nav {
	left: 26.822917vw;
	position: absolute;
	top: 1.822917vw;
	white-space: nowrap;
}

.phomi-nav ul {
	align-items: flex-start;
	display: flex;
	gap: 2.1875vw;
	list-style: none;
	margin: 0;
	padding: 0;
}

.phomi-nav li {
	line-height: 1;
	position: relative;
}

.phomi-nav a {
	align-items: center;
	color: #fff;
	display: inline-flex;
	font-size: 0.729167vw;
	font-weight: 400;
	line-height: 1.041667vw;
	text-decoration: none;
	transition: color 0.28s ease, opacity 0.28s ease, transform 0.28s ease;
}

.phomi-nav > ul > li:nth-child(-n+6) > a,
.phomi-nav > ul > li:last-child > a {
	/* text-transform: uppercase; */
}

.phomi-nav .has-menu > a::after {
	border-bottom: 1px solid currentColor;
	border-right: 1px solid currentColor;
	content: "";
	height: 0.260417vw;
	margin-left: 0.416667vw;
	position: relative;
	top: -0.026042vw;
	transform: rotate(45deg);
	transition: transform 0.24s ease;
	width: 0.260417vw;
}

.phomi-nav > ul > li > a:hover,
.phomi-nav > ul > li > a:focus-visible {
	color: #fff;
	opacity: 1;
	transform: translateY(-1px) scale(1.08);
}

.phomi-nav .has-menu:hover > a::after,
.phomi-nav .has-menu:focus-within > a::after {
	transform: rotate(225deg);
}

.phomi-mega-menu {
	background: #fff;
	height: 346px;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	top: 90px;
	transform: translateY(-8px);
	transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
	visibility: hidden;
	width: 100vw;
	z-index: 20;
}

.phomi-mega-menu::before {
	pointer-events: none;
	content: "";
	height: 90px;
	left: 0;
	position: absolute;
	top: -90px;
	width: 100%;
}

.phomi-mega-menu__panel {
	background: #1a1a1a;
	height: 320px;
	position: relative;
	width: 100%;
}

.phomi-menu-scrim {
	background: rgba(0, 0, 0, 0.5);
	bottom: 0;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	right: 0;
	top: 436px;
	transition: opacity 0.24s ease, visibility 0.24s ease;
	visibility: hidden;
	z-index: 15;
}

.phomi-header:has(.has-mega-menu:hover) ~ .phomi-menu-scrim,
.phomi-header:has(.has-mega-menu:focus-within) ~ .phomi-menu-scrim {
	opacity: 0;
	visibility: hidden;
}

.phomi-nav .phomi-mega-card {
	color: #fff;
	display: block;
	left: 455px;
	position: absolute;
	text-decoration: none;
	top: 50px;
	width: 310px;
}

.phomi-nav .phomi-mega-card img {
	height: 186px;
	object-fit: cover;
	width: 310px;
}

.phomi-nav .phomi-mega-card span {
	color: #fff;
	display: block;
	font-size: 14px;
	font-weight: 400;
	line-height: 28px;
	margin-top: 8px;
	/* text-transform: capitalize; */
}

.phomi-nav .phomi-mega-card:nth-child(2) {
	left: 805px;
}

.phomi-nav .phomi-mega-card:nth-child(3) {
	left: 1155px;
}

.phomi-nav .has-mega-menu--about .phomi-mega-card:nth-child(1) {
	left: 295px;
}

.phomi-nav .has-mega-menu--about .phomi-mega-card:nth-child(2) {
	left: 635px;
}

.phomi-nav .has-mega-menu--about .phomi-mega-card:nth-child(3) {
	left: 975px;
}

.phomi-nav .has-mega-menu--about .phomi-mega-card:nth-child(4) {
	left: 1315px;
}

.phomi-nav .has-mega-menu--case .phomi-mega-menu {
	height: 596px;
}

.phomi-nav .has-mega-menu--case .phomi-mega-menu__panel {
	height: 570px;
}

.phomi-nav .has-mega-menu--application .phomi-mega-card:nth-child(1),
.phomi-nav .has-mega-menu--case .phomi-mega-card:nth-child(1) {
	left: 295px;
	top: 50px;
}

.phomi-nav .has-mega-menu--application .phomi-mega-card:nth-child(2),
.phomi-nav .has-mega-menu--case .phomi-mega-card:nth-child(2) {
	left: 635px;
	top: 50px;
}

.phomi-nav .has-mega-menu--application .phomi-mega-card:nth-child(3),
.phomi-nav .has-mega-menu--case .phomi-mega-card:nth-child(3) {
	left: 975px;
	top: 50px;
}

.phomi-nav .has-mega-menu--application .phomi-mega-card:nth-child(4),
.phomi-nav .has-mega-menu--case .phomi-mega-card:nth-child(4) {
	left: 1315px;
	top: 50px;
}

.phomi-nav .has-mega-menu--application .phomi-mega-card:nth-child(5),
.phomi-nav .has-mega-menu--case .phomi-mega-card:nth-child(5) {
	left: 295px;
	top: 304px;
}

.phomi-nav .has-mega-menu--application .phomi-mega-card:nth-child(6) {
	left: 635px;
	top: 304px;
}

.phomi-header:has(.has-mega-menu--case:hover) ~ .phomi-menu-scrim,
.phomi-header:has(.has-mega-menu--case:focus-within) ~ .phomi-menu-scrim {
	top: 686px;
}

.phomi-header.is-mega-active {
	background: #fff;
}

.phomi-header.is-mega-active .phomi-nav > ul > li > a {
	color: #000;
}

.has-mega-menu.is-mega-open > a {
	color: var(--phomi-blue) !important;
}

.has-mega-menu.is-mega-open .phomi-mega-menu {
	opacity: 1 !important;
	pointer-events: auto !important;
	transform: translateY(0) !important;
	visibility: visible !important;
}

.phomi-edisplay-hero {
	background: none;
	color: #fff;
	display: block;
	height: auto;
	min-height: 0;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.phomi-edisplay-hero__media {
	line-height: 0;
	position: relative;
	width: 100%;
}

.phomi-edisplay-hero__media::after {
	background: rgba(0, 0, 0, 0.15);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.phomi-edisplay-hero__media img {
	display: block;
	height: auto;
	width: 100%;
}

.phomi-edisplay-hero .phomi-header,
.phomi-edisplay-hero .phomi-menu-scrim {
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 2;
}

.phomi-edisplay-hero__content {
	bottom: clamp(32px, 3.489583vw, 67px);
	color: #fff;
	left: clamp(22px, 3.645833vw, 70px);
	max-width: min(1216px, calc(100% - 7.291666vw));
	position: absolute;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	z-index: 2;
}

.phomi-edisplay-hero h1 {
	color: #fff;
	font-size: clamp(44px, 3.645833vw, 70px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	margin: 0 0 4px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	/* text-transform: uppercase; */
}

.phomi-edisplay-hero p {
	font-size: 20px;
	line-height: 1.2;
	margin: 0;
	/* text-transform: capitalize; */
}

/* 底部留白统一交给下方 .phomi-inquiry 的 padding-top，这里不再叠加，
   否则案例列表和询盘区之间会出现大段空白（禅道 #3745）。 */
.phomi-edisplay-application {
	background: #fff;
	padding-bottom: 0;
}

.phomi-edisplay-tabs {
	background: #f9f9f9;
	border: 1px solid #f2eded;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 620px));
	justify-content: center;
	min-height: 80px;
}

.phomi-edisplay-tabs a,
.phomi-edisplay-tabs button {
	align-items: center;
	background: transparent;
	border: 0;
	border-left: 1px solid #f2eded;
	border-right: 1px solid #f2eded;
	color: #000;
	cursor: pointer;
	display: flex;
	font-family: inherit;
	font-size: 16px;
	justify-content: center;
	line-height: 18px;
	padding: 0;
	text-decoration: none;
	/* text-transform: uppercase; */
	width: 100%;
}

.phomi-edisplay-tabs a.is-active,
.phomi-edisplay-tabs button.is-active {
	background: #fff;
}

.phomi-edisplay-panel[hidden] {
	display: none !important;
}

.phomi-edisplay-cards {
	display: grid;
	gap: 29px;
	grid-template-columns: repeat(3, minmax(0, 394px));
	justify-content: center;
	margin: 40px auto 0;
	max-width: 1240px;
}

.phomi-edisplay-card {
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 20px 80px rgba(0, 0, 0, 0.06);
	min-height: 480px;
	padding: 24px 24px 25px;
}

.phomi-edisplay-card__media {
	margin: 0;
	overflow: hidden;
}

.phomi-edisplay-card img {
	display: block;
	height: 184px;
	object-fit: cover;
	transition: transform 0.28s ease;
	width: 100%;
}

.phomi-edisplay-card__media:hover img {
	transform: scale(1.05);
}

.phomi-edisplay-card span {
	align-items: center;
	background: var(--phomi-blue);
	color: #fff;
	display: flex;
	font-size: 20px;
	height: 40px;
	justify-content: center;
	line-height: 18px;
	margin-top: 26px;
	width: 40px;
}

.phomi-edisplay-card h2 {
	color: #000;
	font-size: 18px;
	font-weight: 400;
	line-height: 18px;
	margin: 24px 0 24px;
	/* text-transform: capitalize; */
}

.phomi-edisplay-card div {
	background: #000;
	height: 3px;
	margin-bottom: 22px;
	width: 29px;
}

.phomi-edisplay-card p {
	color: #666;
	font-size: 12px;
	font-weight: 400;
	line-height: 18px;
	margin: 0;
}

/* 整段案例列表的上方留白放在容器上，交替色块本身只保留很小的内边距；
   下方不留白，与询盘区的间距由 .phomi-inquiry 自己的 padding-top 决定。 */
.phomi-edisplay-cases {
	background: #fff;
	padding: clamp(72px, 10.48vw, 130px) 0 0;
}

/* 案例为后台动态添加，用白/灰交替底色区分相邻案例；相邻案例之间纵向间距 10px（上下各 5px）。 */
.phomi-edisplay-case {
	--phomi-case-bg: #fff;
	background: var(--phomi-case-bg);
	padding: 5px clamp(24px, 5.65vw, 70px);
}

.phomi-edisplay-case:nth-of-type(even) {
	--phomi-case-bg: #f9f9f9;
}

.phomi-edisplay-case__inner {
	display: grid;
	gap: clamp(40px, 6.61%, 82px);
	grid-template-columns: minmax(0, 673fr) minmax(0, 485fr);
	margin: 0 auto;
	max-width: 1240px;
	width: 100%;
}

.phomi-edisplay-case__media {
	aspect-ratio: 673 / 791;
	position: relative;
	width: 100%;
}

.phomi-edisplay-case__image {
	height: 85.082%;
	left: 0;
	object-fit: cover;
	position: absolute;
	top: 0;
	width: 100%;
}

.phomi-edisplay-case__swatch {
	aspect-ratio: 16 / 9;
	left: 87%;
	overflow: hidden;
	position: absolute;
	top: 67.7%;
	width: 52.31%;
	z-index: 0;
}

.phomi-edisplay-case__swatch img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 0.28s ease;
	width: 100%;
}

.phomi-edisplay-case__swatch:hover img {
	transform: scale(1.05);
}

.phomi-edisplay-specs {
	align-self: start;
	background: var(--phomi-case-bg, #fff);
	column-gap: clamp(16px, 6.39%, 31px);
	display: grid;
	grid-template-columns: minmax(0, 182fr) minmax(0, 272fr);
	margin: 0;
	position: relative;
	row-gap: clamp(14px, 2.26%, 28px);
	z-index: 1;
}

.phomi-edisplay-specs div {
	display: contents;
}

.phomi-edisplay-specs dt,
.phomi-edisplay-specs dd {
	font-size: clamp(12px, 1.13vw, 14px);
	line-height: 1.29;
	margin: 0;
}

.phomi-edisplay-specs dt {
	color: #666;
}

.phomi-edisplay-specs > div:nth-child(5) dt,
.phomi-edisplay-specs > div:nth-child(5) dd {
	margin-top: clamp(18px, 2.82%, 35px);
}

.phomi-edisplay-specs dd {
	color: #000;
	font-size: clamp(13px, 1.29vw, 16px);
}

























.phomi-footer {
	background: #000;
	color: #d1d5db;
	display: grid;
	gap: 40px;
	grid-template-columns: repeat(6, 1fr);
	min-height: 480px;
	padding: 100px 70px 95px;
}

.phomi-footer strong {
	color: #82cdd0;
	display: block;
	font-size: 20px;
	font-weight: 400;
	line-height: 28px;
	margin-bottom: 42px;
	/* text-transform: capitalize; */
}

.phomi-footer a {
	color: #d1d5db;
	display: block;
	font-size: 14px;
	line-height: 30px;
	text-decoration: none;
	transition: color 0.24s ease;
}



.phomi-footer a:hover,
.phomi-footer a:focus-visible,
.phomi-edisplay-tabs a:hover,
.phomi-edisplay-tabs a:focus-visible,
.phomi-edisplay-tabs button:hover,
.phomi-edisplay-tabs button:focus-visible {
	color: var(--phomi-blue);
}

@media (prefers-reduced-motion: reduce) {
.phomi-edisplay *,
	.phomi-edisplay *::before,
	.phomi-edisplay *::after {
		transition-duration: 0.01ms !important;
	}
}


@media (max-width: 1440px) {
.phomi-edisplay-cards {
		max-width: 1120px;
	}
}


@media (max-width: 1200px) {
.phomi-edisplay-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.phomi-edisplay-card {
		min-height: 0;
	}
}


/* 1024px 以下右侧规格表已经窄到会挤成一团，改为上下堆叠：图片占满整行在上，规格表在下自然换行。 */
@media (max-width: 1023px) {
	.phomi-edisplay-case__inner {
		gap: 32px;
		grid-template-columns: minmax(0, 1fr);
	}

	/* 单列下图片已占满整行，色板改为贴右，避免溢出。 */
	.phomi-edisplay-case__swatch {
		left: auto;
		right: 0;
	}
}


@media (max-width: 767px) {
	.phomi-logo {
		left: 50%;
		transform: translateX(-50%);
		width: 120px;
	}

	.phomi-nav {
		left: 0;
		padding: 0 14px;
		top: 70px;
		width: 100%;
	}

	.phomi-nav ul {
		flex-wrap: wrap;
		gap: 10px 14px;
		justify-content: center;
	}

	.phomi-nav a {
		font-size: 10px;
		line-height: 14px;
	}

	.phomi-nav .has-menu > a::after,
	.phomi-mega-menu,
	.phomi-menu-scrim {
		display: none;
	}

	.phomi-edisplay-hero__content {
		bottom: 80px;
		left: 24px;
		position: absolute;
		right: 24px;
		z-index: 2;
	}

	.phomi-edisplay-hero h1 {
		font-size: 40px;
		line-height: 42px;
		white-space: normal;
	}

	.phomi-edisplay-hero p {
		font-size: 16px;
	}

	.phomi-edisplay-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		justify-content: stretch;
		min-height: 80px;
		width: 100%;
	}

	.phomi-edisplay-tabs a,
	.phomi-edisplay-tabs button {
		font-size: 16px;
		min-height: 80px;
	}

	.phomi-edisplay-application {
		padding: 0;
	}

	.phomi-edisplay-cards {
		gap: 24px;
		grid-template-columns: 1fr;
		margin-top: 64px;
	}

	.phomi-edisplay-card {
		padding: 20px;
	}

	.phomi-edisplay-card h2 {
		line-height: 24px;
	}

	.phomi-edisplay-cases {
		padding: 72px 0 0;
	}

	.phomi-edisplay-case {
		padding: 5px 24px;
	}

	.phomi-edisplay-specs > div:nth-child(5) {
		margin-top: 0;
	}

	.phomi-edisplay-specs > div:nth-child(5) dt,
	.phomi-edisplay-specs > div:nth-child(5) dd {
		margin-top: clamp(18px, 2.82%, 35px);
	}

	

	

	

	

	

	

	

	

	.phomi-footer {
		gap: 30px;
		padding: 56px 24px;
	}

	.phomi-footer strong {
		margin-bottom: 12px;
	}
}

