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

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

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

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

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

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

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

.ast-plain-container.ast-no-sidebar #primary.phomi-authorized-partners-page,
#primary.phomi-authorized-partners-page,
.phomi-authorized-partners-page {
	background: #f9f9f9;
	color: #000;
	font-family: var(--phomi-font);
	margin: 0;
	min-height: 100vh;
	padding: 0;
	--phomi-auth-text-base: clamp(13px, 0.833333vw, 16px);
	--phomi-auth-text-base-lh: clamp(15px, 0.9375vw, 18px);
	--phomi-auth-text-md: clamp(14px, 0.9375vw, 18px);
	--phomi-auth-text-md-lh: clamp(20px, 1.458333vw, 28px);
	--phomi-auth-text-heading: clamp(28px, 2.083333vw, 40px);
	--phomi-auth-text-heading-lh: clamp(34px, 2.5vw, 48px);
	--phomi-auth-hero-title: clamp(28px, 3.645833vw, 70px);
	--phomi-auth-hero-sub: clamp(13px, 1.041667vw, 20px);
}

.phomi-authorized-partners-page *,
.phomi-authorized-partners-page *::before,
.phomi-authorized-partners-page *::after {
	box-sizing: border-box;
}

.phomi-authorized-partners-page img {
	display: block;
	max-width: 100%;
}

.phomi-header {
	height: 90px;
	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: 11px;
	width: 8.333333vw;
}

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

.phomi-nav {
	left: 26.822917vw;
	position: absolute;
	top: 35px;
	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: 5px;
	margin-left: 8px;
	position: relative;
	top: -1px;
	transform: rotate(45deg);
	transition: transform 0.24s ease;
	width: 5px;
}

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

.phomi-nav .has-mega-menu--about .phomi-mega-card:nth-child(2),
.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;
}

.phomi-nav .has-mega-menu--about .phomi-mega-card:nth-child(3),
.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;
}

.phomi-nav .has-mega-menu--about .phomi-mega-card:nth-child(4),
.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;
}

.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(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.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-authorized-hero {
	background: none;
	color: #fff;
	display: block;
	height: auto;
	min-height: 0;
	overflow: hidden;
	position: relative;
	width: 100%;
}

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

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

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

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

.phomi-authorized-hero__content {
	bottom: clamp(32px, 3.645833vw, 70px);
	left: clamp(22px, 3.645833vw, 70px);
	max-width: min(1216px, calc(100% - 7.291666vw));
	position: absolute;
	z-index: 2;
}

.phomi-authorized-hero h1 {
	color: #fff;
	font-size: var(--phomi-auth-hero-title);
	font-weight: 700;
	line-height: 1;
	margin: 0;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	/* text-transform: uppercase; */
}

.phomi-authorized-hero p {
	color: #fff;
	font-size: var(--phomi-auth-hero-sub);
	font-weight: 400;
	line-height: 1.2;
	margin: 4px 0 0;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	/* text-transform: capitalize; */
}

.phomi-authorized-directory {
	background: #f9f9f9;
	min-height: 600px;
	padding: 0 0 130px;
}

.phomi-authorized-tabs-wrap {
	background: #f9f9f9;
	border-bottom: 1px solid #f2eded;
	margin-bottom: 70px;
}

.phomi-authorized-tabs {
	display: grid;
	grid-template-columns: repeat(4, 310px);
	height: clamp(56px, 4.166667vw, 80px);
	justify-content: center;
	margin: 0 auto;
	max-width: 1240px;
}

.phomi-authorized-tab {
	align-items: center;
	appearance: none;
	background: #f9f9f9;
	background-color: #f9f9f9;
	border: 0;
	border-left: 1px solid #d9d9d9;
	border-radius: 0;
	box-shadow: none !important;
	color: #000 !important;
	cursor: pointer;
	display: flex;
	font-family: var(--phomi-font);
	font-size: var(--phomi-auth-text-base);
	font-weight: 400;
	justify-content: center;
	line-height: var(--phomi-auth-text-base-lh);
	outline: none !important;
	outline-offset: 0 !important;
	padding: 0 clamp(14px, 1.25vw, 24px);
	text-align: center;
	/* text-transform: uppercase; */
	transition: background-color 0.28s ease, color 0.28s ease;
	-webkit-tap-highlight-color: transparent;
}

.phomi-authorized-tabs-wrap .phomi-authorized-tab,
.phomi-authorized-tabs-wrap .phomi-authorized-tab:hover,
.phomi-authorized-tabs-wrap .phomi-authorized-tab:focus,
.phomi-authorized-tabs-wrap .phomi-authorized-tab:focus-visible,
.phomi-authorized-tabs-wrap .phomi-authorized-tab:active {
	border-color: #d9d9d9;
	border-top: 0;
	border-right: 0;
	border-bottom: 0;
	box-shadow: none !important;
	color: #000 !important;
	outline: none !important;
	outline-offset: 0 !important;
}

.phomi-authorized-tab:first-child,
.phomi-authorized-tabs-wrap .phomi-authorized-tab:first-child:focus,
.phomi-authorized-tabs-wrap .phomi-authorized-tab:first-child:active {
	border-left: 0;
}

.phomi-authorized-tab:hover,
.phomi-authorized-tab:focus,
.phomi-authorized-tab:focus-visible,
.phomi-authorized-tab:active {
	background: #fff;
	background-color: #fff !important;
	color: #000 !important;
}

.phomi-authorized-tab.is-active,
.phomi-authorized-tab.is-active:hover,
.phomi-authorized-tab.is-active:focus,
.phomi-authorized-tab.is-active:focus-visible,
.phomi-authorized-tab.is-active:active {
	background: #fff;
	background-color: #fff !important;
	border-bottom: 1px solid #fff;
	color: #000 !important;
	margin-bottom: -1px;
	position: relative;
	z-index: 1;
}

.phomi-authorized-panels {
	margin: 0 auto;
	max-width: 1240px;
}

.phomi-authorized-panel[hidden] {
	display: none;
}

.phomi-authorized-card-grid {
	display: grid;
	gap: 70px 40px;
	grid-template-columns: repeat(3, 378px);
}

.phomi-authorized-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 0;
	height: 272px;
	margin: 0;
	padding: 14px 14px 0;
	transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.phomi-authorized-card:hover {
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
	transform: translateY(-4px);
}

.phomi-authorized-card img {
	height: 197px;
	object-fit: cover;
	width: 350px;
}

.phomi-authorized-card__link {
	display: block;
	line-height: 0;
}

.phomi-authorized-card h2 {
	color: #000;
	font-size: var(--phomi-auth-text-base);
	font-weight: 400;
	line-height: var(--phomi-auth-text-base-lh);
	margin: clamp(12px, 0.9375vw, 18px) 0 0;
	text-align: center;
	/* text-transform: capitalize; */
}

.phomi-authorized-empty {
	align-items: center;
	background: #fff;
	border: 1px solid #e5e5e5;
	color: #666;
	display: flex;
	font-size: var(--phomi-auth-text-md);
	height: 272px;
	justify-content: center;
	line-height: var(--phomi-auth-text-md-lh);
	margin: 0;
	text-align: center;
}

.phomi-authorized-album {
	background: #fff;
	padding: 130px 0;
}

.phomi-authorized-album h2 {
	color: #000;
	font-size: var(--phomi-auth-text-heading);
	font-weight: 400;
	line-height: var(--phomi-auth-text-heading-lh);
	margin: 0 0 clamp(42px, 4.895833vw, 94px);
	text-align: center;
	/* text-transform: uppercase; */
}

.phomi-authorized-album__grid {
	display: grid;
	gap: 8px;
	grid-auto-flow: dense;
	grid-template-columns: repeat(12, 96px);
	grid-auto-rows: 96px;
	margin: 0 auto;
	max-width: 1240px;
}

.phomi-authorized-album__item {
	margin: 0;
	overflow: hidden;
}

.phomi-authorized-album__item--small {
	grid-column: span 3;
	grid-row: span 3;
}

.phomi-authorized-album__item--large {
	grid-column: span 4;
	grid-row: span 4;
}

.phomi-authorized-album__item img {
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
	width: 100%;
}

.phomi-authorized-album__item:hover img {
	transform: scale(1.04);
}

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

.phomi-footer strong {
	color: #82cdd0;
	display: block;
	font-size: 20px;
	font-weight: 400;
	line-height: 28px;
	margin-bottom: 40px;
}

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

.phomi-nav .phomi-mega-card:hover,
.phomi-nav .phomi-mega-card:focus-visible {
	filter: brightness(1.08);
	outline: none;
	transform: translateY(-4px);
}

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

.phomi-authorized-tab, .phomi-authorized-card, .phomi-authorized-album__item img, .phomi-footer a {
	transition: background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, color 0.28s ease, filter 0.45s ease, opacity 0.28s ease, transform 0.28s ease;
}

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

@media (max-width: 1320px) {
	#primary.phomi-authorized-partners-page > section.phomi-authorized-directory {
		padding: 0 60px 130px !important;
	}

	.phomi-authorized-tabs,
	.phomi-authorized-panels,
	.phomi-authorized-album__grid {
		max-width: 100%;
	}

	#primary.phomi-authorized-partners-page > section.phomi-authorized-album {
		padding: 130px 60px !important;
	}

	.phomi-authorized-tabs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.phomi-authorized-card-grid {
		gap: 44px 26px;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.phomi-authorized-card {
		height: auto;
		min-height: 272px;
	}

	.phomi-authorized-card img {
		aspect-ratio: 350 / 197;
		height: auto;
		width: 100%;
	}

	.phomi-authorized-album__grid {
		grid-template-columns: repeat(12, 1fr);
		grid-auto-rows: minmax(60px, 7.5vw);
	}
}

@media (max-width: 1180px) {
	.phomi-header {
		background: rgba(0, 0, 0, 0.5);
		height: auto;
	}

	.phomi-header__inner {
		align-items: center;
		display: flex;
		gap: 24px;
		justify-content: space-between;
		padding: 18px 28px;
	}

	.phomi-logo,
	.phomi-nav {
		left: auto;
		position: relative;
		top: auto;
	}

	.phomi-logo {
		width: 140px;
	}

	.phomi-nav {
		overflow-x: auto;
	}

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

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

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

	#primary.phomi-authorized-partners-page > section.phomi-authorized-directory {
		min-height: 0;
		padding: 0 50px 96px !important;
	}

	.phomi-authorized-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#primary.phomi-authorized-partners-page > section.phomi-authorized-album {
		padding: 96px 50px !important;
	}

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

@media (max-width: 767px) {
	.phomi-authorized-hero__content {
		bottom: 56px;
		left: 24px;
		right: 24px;
	}

	.phomi-authorized-hero h1 {
		line-height: 1.1;
		max-width: min(330px, 86vw);
		white-space: normal;
		word-break: normal;
	}

	.phomi-authorized-hero p {
		line-height: 1.4;
		margin-top: 8px;
	}

	#primary.phomi-authorized-partners-page > section.phomi-authorized-directory {
		padding: 0 40px 72px !important;
	}

	.phomi-authorized-tabs-wrap {
		margin-bottom: 52px;
	}

	.phomi-authorized-tabs {
		grid-auto-columns: 190px;
		grid-auto-flow: column;
		grid-template-columns: none;
		justify-content: start;
		max-width: 100%;
		overflow-x: auto;
	}

	.phomi-authorized-tab {
		min-width: 190px;
	}

	.phomi-authorized-panels,
	.phomi-authorized-album__grid {
		max-width: 100%;
	}

	.phomi-authorized-card-grid, .phomi-footer {
		grid-template-columns: 1fr;
		max-width: none;
	}

	.phomi-authorized-card-grid {
		gap: 28px;
	}

	.phomi-authorized-card {
		box-sizing: border-box;
		height: auto;
		max-width: 100%;
		min-height: 0;
		padding: 14px;
		width: 100%;
	}

	.phomi-authorized-card img {
		height: auto;
		max-width: 100%;
		width: 100%;
	}

	.phomi-authorized-card h2 {
		margin: clamp(12px, 0.9375vw, 14px) 0 4px;
	}

	#primary.phomi-authorized-partners-page > section.phomi-authorized-album {
		padding: 72px 40px !important;
	}

	.phomi-authorized-album h2 {
		padding: 0 24px;
	}

	.phomi-authorized-album__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: auto;
	}

	.phomi-authorized-album__item--small,
	.phomi-authorized-album__item--large {
		aspect-ratio: 1;
		grid-column: span 1;
		grid-row: span 1;
	}

	.phomi-footer {
		gap: 36px;
		padding: 72px 24px;
	}
}
