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

@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");
}

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

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

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

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

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

.ast-plain-container.ast-no-sidebar #primary.phomi-news,
#primary.phomi-news,
.phomi-news {
	background: #f9f9f9;
	color: #000;
	font-family: var(--phomi-font);
	margin: 0;
	max-width: 100vw;
	min-height: 100vh;
	overflow: hidden;
	padding: 0;
	width: 100%;
}

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

.phomi-news h1,
.phomi-news h2,
.phomi-news h3,
.phomi-news p {
	color: inherit;
	overflow-wrap: break-word;
}

.phomi-news 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: 30;
}

.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-nav .phomi-mega-card {
	color: #fff;
	display: block !important;
	left: 455px;
	position: absolute;
	text-decoration: none;
	top: 50px;
	transition: filter 0.28s ease, transform 0.28s ease;
	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-align: left;
	/* 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: 280px;
}

.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: 620px;
}

.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: 960px;
}

.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: 1300px;
}

.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: 450px;
	top: 310px;
}

.phomi-nav .has-mega-menu--application .phomi-mega-card:nth-child(6),
.phomi-nav .has-mega-menu--case .phomi-mega-card:nth-child(6) {
	left: 790px;
	top: 310px;
}

.phomi-nav .has-mega-menu:hover .phomi-mega-menu,
.phomi-nav .has-mega-menu:focus-within .phomi-mega-menu,
.phomi-header.is-mega-active .has-mega-menu.is-mega-open .phomi-mega-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
	visibility: visible;
}

.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;
}


/* =========================================================
   PHOMI News — Figma 3:2571 · 1920 画布等比缩放
   ========================================================= */

.phomi-stage {
	width: 100%;
	overflow: hidden;
	background: #fff;
}

.phomi-page {
	width: 1920px;
	min-height: 680px;
	margin: 0;
	background: #fff;
	position: relative;
	transform-origin: top left;
}

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

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

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

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

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

.phomi-news-hero__title {
	bottom: clamp(32px, 3.645833vw, 70px);
	color: #fff;
	font-size: clamp(44px, 3.645833vw, 70px);
	font-weight: 700;
	left: clamp(22px, 3.645833vw, 70px);
	line-height: 1;
	margin: 0;
	max-width: min(1216px, calc(100% - 7.291666vw));
	position: absolute;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	/* text-transform: uppercase; */
	z-index: 2;
}

/* ---------- Newsroom · 1737 ---------- */
.phomi-newsroom {
	width: 1920px;
	min-height: 1000px;
	background: #fff;
	padding: 120px 340px 10px;
	box-sizing: border-box;
}

.phomi-newsroom__title {
	font-weight: 400;
	font-size: 48px;
	line-height: 25px;
	text-align: center;
	/* text-transform: uppercase; */
	color: #000;
	margin: 0 0 70px;
}

.phomi-news-grid {
	display: grid;
	grid-template-columns: repeat(3, 396px);
	gap: 40px 26px;
	width: 1240px;
}

.phomi-news-card {
	width: 396px;
	min-height: 404px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
	padding: 18px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
}

.phomi-news-card__media {
	height: 209px;
	overflow: hidden;
	width: 360px;
}

.phomi-news-card__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
	width: 100%;
}

.phomi-news-card:hover .phomi-news-card__media img,
.phomi-news-card:focus-visible .phomi-news-card__media img {
	transform: scale(1.1);
}

.phomi-news-card h3 {
	margin-top: 16px;
	width: 360px;
	font-weight: 300;
	font-size: 16px;
	line-height: 25px;
	/* text-transform: capitalize; */
	color: #000;
	display: -webkit-box;
	min-height: 50px;
	max-height: 50px;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.phomi-news-card__excerpt {
	margin-top: 5px;
	width: 360px;
	font-weight: 300;
	font-size: 12px;
	line-height: 20px;
	/* text-transform: capitalize; */
	color: #666;
}
.phomi-news-card .phomi-news-card__excerpt {
	height: 60px;
	color: #666;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;  /* 可选：处理长单词换行 */
}

.phomi-news-card__date {
	display: block;
	margin-top: auto;
	padding-top: 12px;
	width: 360px;
	font-weight: 300;
	font-size: 12px;
	line-height: 20px;
	/* text-transform: capitalize; */
	color: #666;
}

/* ---------- Pager · Figma 3:2571 ---------- */
.phomi-news-pager {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 50px;
	margin-bottom: 10px;
	width: 1240px;
}

.phomi-news-pager .page-numbers,
.phomi-news-pager span.page-numbers {
	align-items: center;
	background: #fff;
	border: var(--phomi-btn-border-width) solid #000;
	box-sizing: border-box;
	color: #000;
	display: inline-flex;
	font-size: var(--phomi-btn-font-size);
	font-weight: 400;
	height: var(--phomi-btn-square);
	justify-content: center;
	line-height: var(--phomi-btn-line-height);
	text-decoration: none;
	width: var(--phomi-btn-square);
}

.phomi-news-pager .page-numbers.prev,
.phomi-news-pager .page-numbers.next,
.phomi-news-pager span.page-numbers.prev,
.phomi-news-pager span.page-numbers.next {
	/* text-transform: uppercase; */
	width: var(--phomi-btn-pager-wide);
}

.phomi-news-pager .page-numbers.current,
.phomi-news-pager span.page-numbers.current {
	background: #000;
	color: #fff;
}

.phomi-news-pager .page-numbers.dots,
.phomi-news-pager span.page-numbers.dots {
	border: 0;
	width: 14px;
}

/* ---------- Motion: opacity only ---------- */
@keyframes phomi-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.phomi-news-hero__title {
	animation: phomi-fade-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.anim {
	opacity: 0;
	transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--anim-delay, 0ms);
}

.anim.is-in {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.phomi-news-hero__title,
	.anim {
		animation: none !important;
		transition: none !important;
		opacity: 1 !important;
	}
}

.phomi-footer {
	background: #000;
	display: grid;
	gap: 60px;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	padding: 5.625vw 3.645833vw 6.25vw;
}

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

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



@media (max-width: 1200px) {
	.phomi-logo {
		left: 24px;
		top: 10px;
		width: 132px;
	}

	.phomi-nav {
		left: 190px;
		top: 32px;
	}

	.phomi-nav ul {
		gap: 14px;
	}

	.phomi-nav a {
		font-size: 12px;
		line-height: 18px;
	}

	.phomi-footer {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.phomi-news .phomi-page,
	.phomi-news .phomi-newsroom {
		height: auto;
		min-height: 0;
		width: 100%;
	}

	.phomi-news .phomi-newsroom {
		padding: 48px 20px 56px;
	}

	.phomi-news .phomi-newsroom__title {
		font-size: clamp(28px, 8vw, 40px);
		line-height: 1.2;
		margin-bottom: 28px;
	}

	.phomi-news .phomi-news-grid,
	.phomi-news .phomi-article-related-grid {
		gap: 20px;
		grid-template-columns: 1fr;
		max-width: 100%;
		min-width: 0;
		width: 100%;
	}

	.phomi-news .phomi-news-card {
		max-width: 100%;
		min-height: 0;
		min-width: 0;
		width: 100%;
	}

	.phomi-news .phomi-news-card__media,
	.phomi-news .phomi-news-card__excerpt,
	.phomi-news .phomi-news-card__date {
		height: auto;
		max-width: 100%;
		width: 100%;
	}

	.phomi-news .phomi-news-card h3 {
		display: -webkit-box;
		height: auto;
		max-height: 50px;
		min-height: 50px;
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		width: 100%;
	}

	.phomi-news .phomi-news-card__media {
		aspect-ratio: 360 / 209;
		overflow: hidden;
	}

	.phomi-news .phomi-news-card__media img {
		height: 100%;
		object-fit: cover;
		width: 100%;
	}

	.phomi-news .phomi-news-pager {
		justify-content: flex-start;
		max-width: 100%;
		width: 100%;
	}

	.phomi-news-detail .phomi-article,
	.phomi-news-detail .phomi-article-related {
		padding-left: 20px;
		padding-right: 20px;
		width: 100%;
	}

	.phomi-news-detail .phomi-article__content img {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.phomi-header {
		height: 78px;
	}

	.phomi-logo {
		left: 24px;
		width: 140px;
	}

	.phomi-nav,
	.phomi-mega-menu,
	.phomi-mega-menu__panel,
	.phomi-nav .phomi-mega-card {
		display: none !important;
	}

	.phomi-footer {
		gap: 32px;
		grid-template-columns: 1fr;
		padding: 72px 24px;
	}

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

.phomi-news-detail {
	background: #fff;
}

.phomi-news-detail .phomi-header {
	background: #fff;
	border-bottom: 1px solid #d9d9d9;
	position: fixed !important;
}

.phomi-news-detail .phomi-nav > ul > li > a {
	color: #000;
}

.phomi-news-detail .phomi-header .phomi-logo__default {
	opacity: 0;
}

.phomi-news-detail .phomi-header .phomi-logo__active {
	opacity: 1;
}


.phomi-news-article,
.phomi-related-news {
	background: #fff;
}

/* =========================================================
   PHOMI News Detail — Figma 3:2655 · 1920 画布等比缩放
   ========================================================= */

.phomi-news-detail .phomi-page {
	min-height: auto;
}

.phomi-article {
	width: 1920px;
	background: #fff;
	padding: 120px 340px 0;
	box-sizing: border-box;
}

.phomi-article__title {
	width: 1240px;
	margin-left: 7px;
	font-weight: 400;
	font-size: 24px;
	line-height: 32px;
	/* text-transform: capitalize; */
	color: #000;
}

.phomi-article__meta {
	margin-top: 8px;
	margin-left: 7px;
	width: 849px;
	font-weight: 300;
	font-size: 16px;
	line-height: 32px;
	/* text-transform: capitalize; */
	color: #000;
}

.phomi-article__meta a {
	/* text-transform: lowercase; */
	color: inherit;
	text-decoration: underline;
}

.phomi-article__social {
	margin-top: 8px;
	margin-left: 7px;
	width: 185px;
	height: 43px;
	object-fit: contain;
	display: block;
}

.phomi-article__hero {
	margin-top: 39px;
	margin-left: 7px;
	width: 1240px;
	height: 698px;
	object-fit: cover;
	display: block;
}

.phomi-article__content {
	margin-top: 40px;
	margin-left: 7px;
	width: 1240px;
	font-weight: 300;
	font-size: 14px;
	line-height: 24px;
	/* text-transform: capitalize; */
	color: #333;
}

.phomi-article__content p {
	margin: 0 0 24px;
}

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

.phomi-article__content img {
	margin: 40px 0 0;
	width: 1240px;
	height: auto;
	object-fit: cover;
	display: block;
}

.phomi-article__content ul {
	list-style: disc;
	padding-left: 21px;
	margin: 0 0 24px;
}

.phomi-article__content li {
	margin-bottom: 24px;
}

.phomi-article__content strong {
	font-weight: 400;
	color: #000;
}

/* ---------- Related Posts ---------- */
.phomi-article-related {
	background: #fff;
	padding: 0 340px;
}

.phomi-article-related__title {
	margin-top: 50px;
	font-weight: 400;
	font-size: 28px;
	line-height: 25px;
	/* text-transform: capitalize; */
	color: #000;
	margin-bottom: 40px;
}

.phomi-article-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 396px);
	gap: 26px;
	width: 1240px;
	margin-bottom: 130px;
}

/* ---------- Motion: opacity only ---------- */
.anim {
	opacity: 0;
	transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--anim-delay, 0ms);
}

.anim.is-in {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.anim {
		animation: none !important;
		transition: none !important;
		opacity: 1 !important;
	}
}
