.ed-brand-page-main a:hover {
	color: #f024f6;
}
/**
 * 隽永子品牌页：Canvas Hero + 正文中间区（与官网主色、企业页字号对齐）。
 */
.page-template-page-eastdigi-brand-php .top-banner {
	display: none;
}

.page-template-page-eastdigi-brand-php .ed-brand-page {
	overflow-x: clip;
}

.page-template-page-eastdigi-brand-php #main-content.main-content.ed-brand-page-main {
	padding: 0;
	min-height: 0;
	max-width: none;
	width: 100%;
	margin: 0;
	background: transparent;
	box-sizing: border-box;
	overflow-x: clip;
}

.ed-brand-modules {
	width: 100%;
	padding-bottom: 0;
}

/* WPBakery 旧四子品牌区由模板矩阵接管 */
.ed-brand-modules--legacy {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ----- 子品牌矩阵（Canvas + 四宫格玻璃卡片） ----- */
.ed-brand-matrix {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #0e0018;
	padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 5rem);
}

.ed-brand-matrix__canvas-wrap {
	position: absolute;
	inset: 0;
	z-index: 0;
}

#ed-brand-matrix-canvas {
	display: block;
	width: 100%;
	height: 100%;
}

.ed-brand-matrix__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(14, 0, 24, 0.35) 0%, rgba(34, 0, 65, 0.15) 45%, rgba(14, 0, 24, 0.45) 100%),
		url(../images/bg-violet-floral.svg);
	background-repeat: no-repeat, repeat;
	background-size: 100% 100%, 420px 420px;
	opacity: 0.92;
	animation: ed-brand-matrix-floral 48s linear infinite;
}

@keyframes ed-brand-matrix-floral {
	0% {
		background-position: 0 0, 0 0;
	}
	100% {
		background-position: 0 0, 420px 420px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ed-brand-matrix__scrim {
		animation: none;
	}
}

.ed-brand-matrix__inner {
	position: relative;
	z-index: 2;
	max-width: 1200px;
	margin: 0 auto;
}

.ed-brand-matrix__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.ed-brand-matrix__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}

@media (min-width: 1200px) {
	.ed-brand-matrix__grid {
		gap: 1.75rem;
	}
}

.ed-brand-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 1.75rem 1.35rem 1.65rem;
	border-radius: 1.25rem;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(180, 94, 255, 0.35);
	box-shadow:
		0 4px 24px rgba(14, 0, 24, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	transition:
		transform 0.35s ease,
		border-color 0.35s ease,
		box-shadow 0.35s ease;
	animation: ed-brand-card-in 0.7s ease both;
	animation-delay: calc(0.08s * var(--ed-brand-i, 0));
}

@keyframes ed-brand-card-in {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ed-brand-card {
		animation: none;
	}
}

.ed-brand-card__glow {
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	pointer-events: none;
	opacity: 0;
	background: linear-gradient(135deg, rgba(130, 0, 250, 0.35), rgba(240, 36, 246, 0.2));
	transition: opacity 0.35s ease;
}

.ed-brand-card:hover,
.ed-brand-card:focus-within {
	transform: translateY(-4px);
	border-color: rgba(240, 36, 246, 0.55);
	box-shadow:
		0 12px 40px rgba(130, 0, 250, 0.28),
		0 0 0 1px rgba(240, 36, 246, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.ed-brand-card:hover .ed-brand-card__glow,
.ed-brand-card:focus-within .ed-brand-card__glow {
	opacity: 1;
}

/* 与时光机原站一致：200×200 正圆（勿用 width:100%，否则会拉成椭圆） */
.ed-brand-card__logo-link {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
	text-decoration: none;
}

.ed-brand-card__logo-link--circle {
	box-sizing: border-box;
	width: var(--ed-logo-display, 200px);
	height: var(--ed-logo-display, 200px);
	min-width: var(--ed-logo-display, 200px);
	min-height: var(--ed-logo-display, 200px);
	flex-shrink: 0;
	border-radius: 50%;
	overflow: hidden;
	border: 1px solid rgba(180, 180, 180, 0.65);
	box-shadow: 0 4px 16px rgba(14, 0, 24, 0.25);
	background: #fff;
}

.ed-brand-card__logo-ring {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 0.75rem;
	box-sizing: border-box;
	background: transparent;
	box-shadow: none;
}

.ed-brand-card__logo {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 0;
}

.ed-brand-card--fiorgolf .ed-brand-card__logo-link--circle {
	background: rgba(255, 255, 255, 0.95);
	border-color: rgba(240, 36, 246, 0.35);
}

.ed-brand-card__title {
	margin: 0 0 0.85rem;
	padding: 0;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.4;
	border: none;
}

.ed-brand-card__title a {
	color: #f5f0ff;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	border-image: linear-gradient(90deg, #b45eff, #f024f6) 1;
	transition: color 0.25s ease;
}

.ed-brand-card__title a:hover {
	color: #fff;
}

.ed-brand-card__desc {
	width: 100%;
}

.ed-brand-card__desc p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.75;
	color: rgba(237, 233, 254, 0.88);
	text-align: left;
}

.ed-brand-card--fiorgolf {
	background: rgba(8, 0, 18, 0.55);
	border-color: rgba(240, 36, 246, 0.4);
}

.ed-brand-card--fiorgolf .ed-brand-card__title a {
	color: #fff;
}

.ed-brand-card--fiorgolf .ed-brand-card__desc p {
	color: rgba(255, 255, 255, 0.9);
}

/* 正文内重复 CTA（页脚已有 home-contact） */
.ed-brand-modules :is(
		> .vc_row-fluid,
		> .wpb-content-wrapper > .vc_row-fluid,
		> .vc_row,
		> .wpb-content-wrapper > .vc_row
	):is(:has(h4), :has(.vc_btn3), :has(.vc_btn3-container)) {
	display: none !important;
}

.ed-brand-modules .vc_empty_space {
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	line-height: 0 !important;
}

/* ----- Hero ----- */
.ed-brand-page {
	font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

.ed-brand-hero {
	position: relative;
	min-height: 560px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 7rem 1rem 4rem;
}

@media (min-width: 768px) {
	.ed-brand-hero {
		min-height: 620px;
		padding-top: 8rem;
		padding-bottom: 5rem;
	}
}

.ed-brand-hero__canvas-wrap {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

#ed-brand-hero-canvas {
	display: block;
	width: 100%;
	height: 100%;
	vertical-align: top;
}

.ed-brand-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(14, 0, 24, 0.72) 0%,
		rgba(34, 0, 65, 0.35) 42%,
		rgba(14, 0, 24, 0.55) 100%
	);
}

.ed-brand-hero__inner {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 56rem;
	margin: 0 auto;
	padding: 0 1rem;
}

/* 与 About-Us Hero 对齐：badge text-sm，标题 text-4xl/5xl/6xl，副文案 text-lg/xl/2xl */
.ed-brand-hero__badge {
	display: inline-block;
	margin-bottom: 1rem;
	padding: 0.375rem 1rem;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #ede9fe;
	background: rgba(130, 0, 250, 0.25);
	border: 1px solid rgba(180, 94, 255, 0.5);
	box-shadow: 0 10px 15px -3px rgba(130, 0, 250, 0.2);
}

.ed-brand-hero__inner h1 {
	margin: 0 0 1.5rem;
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: #fff;
	text-shadow: 0 4px 24px rgba(14, 0, 24, 0.45);
}

@media (min-width: 768px) {
	.ed-brand-hero__inner h1 {
		font-size: 3rem;
	}
}

@media (min-width: 1024px) {
	.ed-brand-hero__inner h1 {
		font-size: 3.75rem;
	}
}

.ed-brand-hero__lead {
	margin: 0 auto;
	font-size: 1.125rem;
	line-height: 1.625;
	color: rgba(237, 233, 254, 0.95);
	max-width: 48rem;
	text-shadow: 0 2px 12px rgba(14, 0, 24, 0.35);
}

@media (min-width: 768px) {
	.ed-brand-hero__lead {
		font-size: 1.25rem;
	}
}

@media (min-width: 1024px) {
	.ed-brand-hero__lead {
		font-size: 1.5rem;
	}
}

/* ----- WPBakery：不覆盖栅格 margin/padding，避免多列 LOGO 错位 ----- */
.ed-brand-page-main .vc_row-fluid > .vc_column_container {
	min-width: 0;
}

.ed-brand-page-main .wpb_row,
.ed-brand-page-main .vc_row {
	max-width: 100%;
}

.ed-brand-page-main .wpb_text_column .wpb_wrapper,
.ed-brand-page-main .wpb_wrapper {
	max-width: 100%;
}

.ed-brand-page-main > .vc_row:first-child .wpb_wrapper > h1:first-child {
	display: none;
}

.ed-brand-page-main h2,
.ed-brand-page-main .wpb_wrapper h2 {
	margin: 2.5rem 0 1rem;
	padding-bottom: 0.5rem;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.375;
	color: #1c1917;
	border-bottom: 2px solid transparent;
	border-image: linear-gradient(90deg, #8200fa, #f024f6) 1;
}

.ed-brand-modules > .vc_row-fluid:not(:has(h4)):not(:has(.vc_btn3)) h2:first-of-type,
.ed-brand-page-main h2:first-of-type {
	margin-top: 0;
}

.ed-brand-page-main h3,
.ed-brand-page-main .wpb_wrapper h3 {
	margin: 1.75rem 0 0.65rem;
	font-size: 20px;
	font-weight: 600;
	color: #2c3e50;
}

.ed-brand-page-main h4,
.ed-brand-page-main .wpb_wrapper h4 {
	margin: 1.25rem 0 0.5rem;
	font-size: 18px;
	font-weight: 600;
	color: #8200fa;
}

.ed-brand-page-main p,
.ed-brand-page-main li,
.ed-brand-page-main .wpb_wrapper p {
	font-size: 16px;
	line-height: 30px;
	color: #666;
}

.ed-brand-page-main ul,
.ed-brand-page-main ol {
	margin: 0.75rem 0 1.25rem;
	padding-left: 1.25rem;
}

.ed-brand-page-main a {
	color: #8200fa;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ed-brand-page-main a:hover {
	color: #f024f6;
}

.ed-brand-page-main img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}
