/**
 * 全球商标服务页 — 恢复时光机版式（左栏导航 + 右栏国旗卡片）。
 */
.page-template-page-trademark-service-php .top-banner {
	display: none;
}

.page-template-page-trademark-service-php .ed-tm-page {
	font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
	overflow-x: clip;
}

.page-template-page-trademark-service-php #main-content.ed-tm-main-wrap {
	min-height: 0;
	padding-bottom: 0;
}

/* ----- Canvas Hero（对齐 About-Us / 子品牌页） ----- */
.ed-tm-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-tm-hero {
		min-height: 620px;
		padding-top: 8rem;
		padding-bottom: 5rem;
	}
}

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

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

.ed-tm-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-tm-hero__inner {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 56rem;
	margin: 0 auto;
	padding: 0 1rem;
}

.ed-tm-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-tm-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-tm-hero__inner h1 {
		font-size: 3rem;
	}
}

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

.ed-tm-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-tm-hero__lead {
		font-size: 1.25rem;
	}
}

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

/* ----- Layout ----- */
.ed-tm-container {
	max-width: 1140px;
	padding-top: 2rem;
	padding-bottom: 2.5rem;
}

.ed-tm-layout {
	display: flex;
	align-items: flex-start;
	gap: 1.75rem;
}

.ed-tm-sidebar {
	flex: 0 0 25%;
	max-width: 280px;
	min-width: 200px;
	position: sticky;
	top: 80px;
	align-self: flex-start;
}

.ed-tm-content {
	flex: 1 1 auto;
	min-width: 0;
	background: #fff;
	border-radius: 10px;
	padding: 1.75rem 1.5rem 2rem;
	box-shadow: 0 4px 24px rgba(14, 0, 24, 0.06);
}

/* ----- Sidebar nav ----- */
.ed-tm-nav {
	background: #f8f8f8;
	border-radius: 10px;
	padding: 1.75rem 1.15rem 1.5rem;
}

.ed-tm-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.ed-tm-nav__list li + li {
	border-top: none;
}

.ed-tm-nav__link {
	display: block;
	padding: 1.05rem 0.85rem;
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.4;
	color: #444;
	text-decoration: none;
	border-radius: 8px;
	transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 992px) {
	.ed-tm-nav__link {
		font-size: 1.5rem;
		padding: 1.15rem 0.9rem;
	}
}

.ed-tm-nav__link:hover {
	color: #8200fa;
	background: rgba(130, 0, 250, 0.06);
}

.ed-tm-nav__link.is-active {
	padding: 1.1rem 0.9rem;
	margin: 0;
	border-radius: 8px;
	background: linear-gradient(105deg, #8200fa 0%, #b45eff 42%, #f024f6 100%);
	color: #fff !important;
	box-shadow: 0 6px 20px rgba(130, 0, 250, 0.35);
}

.ed-tm-nav__cta,
.ed-tm-region__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem 1.25rem;
	font-size: 1.1875rem;
	font-weight: 700;
	color: #444;
	background: #eee;
	border-radius: 8px;
	text-decoration: none;
	box-sizing: border-box;
	transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 992px) {
	.ed-tm-nav__cta,
	.ed-tm-region__cta {
		padding: 1.1rem 1.35rem;
		font-size: 1.25rem;
	}
}

.ed-tm-nav__cta {
	width: 100%;
	margin-top: 1.75rem;
}

.ed-tm-nav__cta .fa,
.ed-tm-region__cta .fa {
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	font-size: 1.15em;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}

.ed-tm-nav__cta:hover,
.ed-tm-region__cta:hover {
	background: linear-gradient(105deg, #8200fa 0%, #b45eff 42%, #f024f6 100%);
	color: #fff;
	box-shadow: 0 6px 20px rgba(130, 0, 250, 0.3);
}

/* ----- Intro ----- */
.ed-tm-intro {
	margin: 0 0 2rem;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid #8200fa;
	background: linear-gradient(90deg, rgba(130, 0, 250, 0.06), transparent);
	border-radius: 0 8px 8px 0;
}

.ed-tm-intro p {
	margin: 0;
	font-size: 16px;
	line-height: 30px;
	color: #666;
}

/* ----- Regions ----- */
.ed-tm-region {
	margin-bottom: 2.5rem;
	padding-bottom: 0.5rem;
	scroll-margin-top: 100px;
}

.ed-tm-region__title {
	margin: 0 0 1.25rem;
	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-tm-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

/* ----- Country card ----- */
.ed-tm-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1.25rem 1rem 1rem;
	border: 1px solid #efefef;
	border-radius: 8px;
	background: #fff;
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.ed-tm-card:hover {
	border-color: rgba(130, 0, 250, 0.25);
	box-shadow: 0 8px 24px rgba(130, 0, 250, 0.1);
}

.ed-tm-card__flag {
	text-align: center;
	margin-bottom: 0.75rem;
}

.ed-tm-card__flag img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	border: 1px solid #ddd;
	border-radius: 50%;
	padding: 5px;
	background: #fff;
}

.ed-tm-card__title {
	margin: 0 0 0.75rem;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	color: #2c3e50;
	text-align: center;
}

.ed-tm-card__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1 1 auto;
}

.ed-tm-card__meta li {
	font-size: 14px;
	line-height: 26px;
	color: #666;
	text-align: left;
}

.ed-tm-card__meta li span {
	color: #999;
	margin-right: 0.15rem;
}

.ed-tm-region__cta-wrap {
	margin: 1.5rem 0 0;
	text-align: center;
}

/* ----- Mobile ----- */
@media (max-width: 991px) {
	.ed-tm-layout {
		flex-direction: column;
	}

	.ed-tm-sidebar {
		flex: none;
		max-width: none;
		width: 100%;
	}

	.ed-tm-sidebar {
		position: static;
	}

	.ed-tm-nav {
		padding: 1rem;
	}

	.ed-tm-nav__list {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.5rem;
	}

	.ed-tm-nav__list li {
		border: none;
	}

	.ed-tm-nav__link {
		padding: 0.55rem 0.85rem;
		font-size: 1.0625rem;
		background: #fff;
		border-radius: 6px;
		border: 1px solid #e8e8e8;
	}

	.ed-tm-nav__link.is-active {
		margin: 0;
	}

	.ed-tm-nav__cta {
		width: 100%;
	}

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

	.ed-tm-content {
		padding: 1.25rem 1rem 1.5rem;
	}
}

@media (max-width: 575px) {
	.ed-tm-grid {
		grid-template-columns: 1fr;
	}

	.ed-tm-container {
		padding-top: 1.25rem;
	}
}
