/* 热门活动 list + detail (portal announcements). Scoped; loaded only on /announcements/.
   The list follows the site's other list pages (/mediation/, /regulators/): open page
   header with breadcrumb, a "共 N 条" result bar, a 3/2/1-column card grid and numbered
   pagination. Colour covers, a 4.5:1 text palette and an 8px spacing scale. */
.fxm-ann-page {
	--ann-ink: #1f2a3d;
	--ann-copy: #4b5568;
	--ann-muted: #667085;
	--ann-line: var(--color-outline-variant, #e2e7ff);
	--ann-border: #e6e8f0;
	--ann-accent: var(--color-primary, #4f34d9);
	--ann-teal: var(--color-accent-teal, #89dfd7);
	--ann-tint: #f7f5ff;
	min-height: 70vh;
	padding: 92px 0 88px;
	background: linear-gradient(180deg, #fbfaff 0, #fff 420px);
	color: var(--ann-ink);
	font-family: var(--font-family-body);
}
.fxm-ann-shell { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.fxm-ann-page a { touch-action: manipulation; }
.fxm-ann-page a:focus-visible { outline: 2px solid var(--ann-accent); outline-offset: 4px; border-radius: 8px; }

/* ---------- breadcrumb ---------- */
.fxm-ann-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; line-height: 1.5; color: var(--ann-muted); }
.fxm-ann-crumbs a { color: inherit; transition: color .15s ease; }
.fxm-ann-crumbs a:hover { color: var(--ann-accent); }
.fxm-ann-crumbs svg { flex: 0 0 auto; color: #b4b9c6; }
.fxm-ann-crumbs [aria-current] { min-width: 0; max-width: 420px; overflow: hidden; color: var(--ann-ink); text-overflow: ellipsis; white-space: nowrap; }

/* ---------- list: page header ---------- */
.fxm-ann-list-page { padding: 72px 0 80px; background: #fff; }
.fxm-ann-head { position: relative; isolation: isolate; overflow: hidden; padding: 20px 0 32px; border-bottom: 1px solid #eef0f6; background: linear-gradient(180deg, #f7f6ff 0%, #fbfbff 70%, #fff 100%); }
/* Same dotted world map as the /mediation/ header. */
.fxm-ann-head::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: var(--fxm-img-world-map-dots-v2, url("../images/world-map-dots.svg?v=2")) no-repeat right -60px top -40px / 720px auto;
	opacity: .28;
	-webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 80%);
	mask-image: linear-gradient(90deg, transparent 40%, #000 80%);
}
.fxm-ann-head-title { margin: 24px 0 0; color: var(--ann-ink); font-family: var(--font-family-heading); font-size: 32px; font-weight: 700; line-height: 1.3; letter-spacing: 0; text-wrap: balance; }
.fxm-ann-head-desc { max-width: 640px; margin: 8px 0 0; color: var(--ann-copy); font-size: 15px; line-height: 1.7; text-wrap: pretty; }

/* ---------- list: result bar ---------- */
.fxm-ann-body { padding-top: 24px; }
.fxm-ann-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 32px; margin-bottom: 16px; }
.fxm-ann-total { margin: 0; color: var(--ann-copy); font-size: 14px; line-height: 1.5; }
.fxm-ann-total strong { margin: 0 2px; color: var(--ann-ink); font-size: 18px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }

/* ---------- list: card grid ---------- */
.fxm-ann-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.fxm-ann-grid-item { display: flex; min-width: 0; animation: fxm-ann-rise .4s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--fxm-ann-i, 0) * 50ms); }
@keyframes fxm-ann-rise {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}
.fxm-ann-card {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--ann-border);
	border-radius: 16px;
	background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.fxm-ann-card:hover { border-color: #d6cffa; box-shadow: 0 12px 32px -16px rgba(31, 42, 61, .24); }
/* The title link covers the card; its focus ring is drawn on the card. */
.fxm-ann-card:has(.fxm-ann-card-link:focus-visible) { outline: 2px solid var(--ann-accent); outline-offset: 2px; }
.fxm-ann-card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #ede9ff 0%, #f6f4ff 55%, #e3f7f5 100%); }
.fxm-ann-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fxm-ann-card:hover .fxm-ann-card-media img { transform: scale(1.03); }
.fxm-ann-card-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: rgba(79, 52, 217, .4); }
.fxm-ann-badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; border-radius: 6px; background: rgba(255, 255, 255, .94); box-shadow: 0 1px 3px rgba(17, 24, 39, .16); color: var(--ann-ink); font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap; }
.fxm-ann-badge.is-pinned { background: var(--ann-accent); color: #fff; }
.fxm-ann-card-body { display: flex; flex: 1; flex-direction: column; padding: 16px 20px 0; }
.fxm-ann-card-text { flex: 1; }
.fxm-ann-card-title { display: -webkit-box; overflow: hidden; margin: 0; color: var(--ann-ink); font-family: var(--font-family-heading); font-size: 17px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; text-wrap: pretty; transition: color .2s ease; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.fxm-ann-card:hover .fxm-ann-card-title { color: var(--ann-accent); }
.fxm-ann-card-link { color: inherit; text-decoration: none; }
.fxm-ann-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.fxm-ann-page .fxm-ann-card-link:focus-visible { outline: none; }
.fxm-ann-card-summary { display: -webkit-box; overflow: hidden; margin: 8px 0 0; color: var(--ann-copy); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.fxm-ann-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 14px 0 16px; border-top: 1px solid #f0f1f6; font-size: 13px; line-height: 1.4; }
.fxm-ann-card-foot time { display: inline-flex; align-items: center; gap: 6px; color: var(--ann-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fxm-ann-card-foot time svg { flex: 0 0 auto; color: #98a0b3; }
.fxm-ann-card-cta { display: inline-flex; flex-shrink: 0; align-items: center; gap: 4px; color: var(--ann-accent); font-weight: 500; white-space: nowrap; }
.fxm-ann-card-cta svg { transition: transform .2s ease; }
.fxm-ann-card:hover .fxm-ann-card-cta svg { transform: translateX(2px); }

/* Detail-page tag chip. */
.fxm-ann-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; background: var(--ann-teal); box-shadow: 0 1px 2px rgba(17, 24, 39, .08); color: #111827; font-size: 11px; font-weight: 500; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }

/* ---------- list: numbered pagination (as /regulators/, /mediation/) ---------- */
.fxm-ann-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 40px; }
.fxm-ann-pager > :is(a, span) { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--ann-border); border-radius: 10px; background: #fff; color: var(--ann-copy); font-size: 14px; font-variant-numeric: tabular-nums; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.fxm-ann-pager > a:hover { border-color: #cfc5f7; color: var(--ann-accent); }
.fxm-ann-pager > a[aria-current="page"] { border-color: var(--ann-accent); background: var(--ann-accent); box-shadow: 0 4px 12px -4px rgba(79, 52, 217, .45); color: #fff; font-weight: 600; }
.fxm-ann-pager > .fxm-ann-pager-step { padding: 0; }
.fxm-ann-pager > .is-disabled { opacity: .4; }
.fxm-ann-pager > .fxm-ann-pager-gap { min-width: 20px; padding: 0; border-color: transparent; background: none; color: var(--ann-muted); }

/* ---------- empty / unavailable / not found ---------- */
.fxm-ann-state { display: flex; flex-direction: column; align-items: center; margin-top: 20px; padding: 72px 24px; border: 1px dashed #d9dcef; border-radius: 26px; background: #fff; text-align: center; }
.fxm-ann-state-icon { display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin-bottom: 20px; border-radius: 50%; background: rgba(79, 52, 217, .07); color: rgba(79, 52, 217, .45); }
.fxm-ann-state :is(h1, h2) { margin: 0; color: var(--ann-ink); font-family: var(--font-family-heading); font-size: 22px; font-weight: 600; line-height: 1.45; }
.fxm-ann-state p { max-width: 440px; margin: 10px 0 0; color: var(--ann-muted); font-size: 14px; line-height: 1.8; text-wrap: pretty; }
.fxm-ann-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; padding: 11px 22px; border-radius: 999px; background: var(--ann-accent); box-shadow: 0 18px 34px -20px rgba(79, 52, 217, .55); color: #fff; font-size: 14px; transition: transform .2s ease, opacity .2s ease; }
.fxm-ann-btn:hover { opacity: .94; transform: translateY(-1px); }

/* ---------- detail ---------- */
.fxm-ann-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 40px; margin-top: 20px; }
.fxm-ann-detail-layout.is-single { grid-template-columns: minmax(0, 880px); justify-content: center; }
.fxm-ann-article { min-width: 0; overflow: hidden; border: 1px solid var(--ann-line); border-radius: 30px; background: #fff; box-shadow: 0 20px 46px -38px rgba(79, 52, 217, .22); }
.fxm-ann-article-cover { position: relative; height: 320px; overflow: hidden; background: linear-gradient(135deg, #ede9ff 0%, #f6f4ff 55%, #e3f7f5 100%); }
.fxm-ann-article-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fxm-ann-article-cover.is-broken img { display: none; }
.fxm-ann-article-cover::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 45%; background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0)); pointer-events: none; }
.fxm-ann-article-body { position: relative; padding: 4px 40px 36px; }
.fxm-ann-article > .fxm-ann-article-body:first-child { padding-top: 36px; }
.fxm-ann-article-body > .fxm-ann-tag { margin-bottom: 14px; }
.fxm-ann-article h1 { margin: 0; color: var(--ann-ink); font-family: var(--font-family-heading); font-size: clamp(22px, 2.3vw, 28px); font-weight: 600; line-height: 1.42; letter-spacing: -.005em; overflow-wrap: anywhere; text-wrap: pretty; }
.fxm-ann-article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; color: var(--ann-muted); font-size: 13px; }
.fxm-ann-article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.fxm-ann-article-meta svg { flex: 0 0 auto; color: #a3a9ba; }
.fxm-ann-article-meta time { font-variant-numeric: tabular-nums; }
.fxm-ann-article-rule { height: 1px; margin: 24px 0 28px; background: linear-gradient(90deg, var(--ann-line), rgba(226, 231, 255, 0)); }
.fxm-ann-article-foot { margin-top: 36px; padding-top: 24px; border-top: 1px solid #eff0f6; }
.fxm-ann-btn-ghost { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border: 1px solid var(--ann-line); border-radius: 999px; background: #fff; color: var(--ann-copy); font-size: 13.5px; transition: color .15s ease, border-color .15s ease; }
.fxm-ann-btn-ghost:hover { border-color: #cfc2f7; color: var(--ann-accent); }

/* CMS body. pc-dist ships Tailwind preflight (no list markers, no heading sizes) and no `prose`. */
.fxm-ann-content { color: #36405a; font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.fxm-ann-content > :first-child { margin-top: 0; }
.fxm-ann-content > :last-child { margin-bottom: 0; }
.fxm-ann-content p { margin: 0 0 1.1em; }
.fxm-ann-content :is(h2, h3, h4) { margin: 1.9em 0 .7em; color: var(--ann-ink); font-family: var(--font-family-heading); font-weight: 600; line-height: 1.45; }
.fxm-ann-content :is(h2, h3) { position: relative; padding-left: 14px; }
.fxm-ann-content :is(h2, h3)::before { content: ""; position: absolute; top: .3em; bottom: .3em; left: 0; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--ann-accent), var(--ann-teal)); }
.fxm-ann-content h2 { font-size: 21px; }
.fxm-ann-content h3 { font-size: 18.5px; }
.fxm-ann-content h4 { font-size: 16.5px; }
.fxm-ann-content strong, .fxm-ann-content b { color: var(--ann-ink); font-weight: 600; }
.fxm-ann-content a { color: var(--ann-accent); text-decoration: underline; text-decoration-color: rgba(79, 52, 217, .35); text-underline-offset: 3px; transition: text-decoration-color .15s ease; }
.fxm-ann-content a:hover { text-decoration-color: currentColor; }
.fxm-ann-content :is(ul, ol) { margin: 0 0 1.2em; padding-left: 1.4em; }
.fxm-ann-content ul { list-style: disc; }
.fxm-ann-content ol { list-style: decimal; }
.fxm-ann-content li { margin: .45em 0; padding-left: .2em; }
.fxm-ann-content li::marker { color: var(--ann-accent); font-weight: 600; }
.fxm-ann-content li > :is(ul, ol) { margin: .4em 0 0; }
.fxm-ann-content blockquote { margin: 1.6em 0; padding: 16px 20px; border-left: 3px solid var(--ann-teal); border-radius: 0 14px 14px 0; background: #f4fbfa; color: var(--ann-copy); font-size: 14.5px; line-height: 1.8; }
.fxm-ann-content blockquote > :last-child { margin-bottom: 0; }
.fxm-ann-content img { display: block; max-width: 100%; height: auto; margin: 1.4em auto; border-radius: 16px; }
.fxm-ann-content figure { margin: 1.4em 0; }
.fxm-ann-content figure img { margin: 0 auto; }
.fxm-ann-content figcaption { margin-top: 8px; color: var(--ann-muted); font-size: 12.5px; text-align: center; }
.fxm-ann-content table { display: block; max-width: 100%; margin: 1.4em 0; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
.fxm-ann-content :is(th, td) { padding: 10px 14px; border: 1px solid var(--ann-line); text-align: left; vertical-align: top; }
.fxm-ann-content th { background: var(--ann-tint); font-weight: 600; }
.fxm-ann-content hr { margin: 2em 0; border: 0; border-top: 1px solid var(--ann-line); }
.fxm-ann-content pre { max-width: 100%; margin: 1.4em 0; padding: 14px 16px; overflow-x: auto; border-radius: 12px; background: #f5f6fa; font-size: 13px; line-height: 1.7; }
.fxm-ann-content code { padding: .1em .35em; border-radius: 6px; background: #f1f0fb; font-size: .9em; }
.fxm-ann-content pre code { padding: 0; background: none; }
.fxm-ann-content-empty { margin: 0; color: var(--ann-muted); font-size: 14px; line-height: 1.8; }

/* ---------- detail sidebar ---------- */
.fxm-ann-aside { position: sticky; top: 88px; min-width: 0; }
.fxm-ann-more { padding: 22px; border: 1px solid var(--ann-line); border-radius: 24px; background: #fff; box-shadow: 0 20px 46px -38px rgba(79, 52, 217, .18); }
.fxm-ann-more h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; color: var(--ann-ink); font-family: var(--font-family-heading); font-size: 17px; font-weight: 600; line-height: 1.5; }
.fxm-ann-more h2::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ann-teal); box-shadow: 0 0 0 4px rgba(137, 223, 215, .3); }
.fxm-ann-more ul { margin: 0; padding: 0; list-style: none; }
.fxm-ann-more li + li { border-top: 1px solid #f0f1f6; }
.fxm-ann-more-item { display: flex; gap: 12px; padding: 14px 0; color: inherit; }
.fxm-ann-more-thumb { display: flex; flex: 0 0 72px; align-items: center; justify-content: center; width: 72px; height: 54px; overflow: hidden; border-radius: 12px; background: linear-gradient(135deg, #ede9ff 0%, #f6f4ff 55%, #e3f7f5 100%); color: rgba(79, 52, 217, .4); }
.fxm-ann-more-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .5s ease; }
.fxm-ann-more-item:is(:hover, :focus-visible) .fxm-ann-more-thumb img { filter: none; }
.fxm-ann-more-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fxm-ann-more-title { display: -webkit-box; overflow: hidden; color: var(--ann-ink); font-size: 13.5px; font-weight: 500; line-height: 1.55; overflow-wrap: anywhere; transition: color .2s ease; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.fxm-ann-more-item:hover .fxm-ann-more-title { color: var(--ann-accent); }
.fxm-ann-more-copy time { color: var(--ann-muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.fxm-ann-more-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; padding: 10px; border-radius: 12px; background: var(--ann-tint); color: var(--ann-accent); font-size: 13.5px; font-weight: 500; transition: background-color .15s ease; }
.fxm-ann-more-all:hover { background: #efebff; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) and (min-width: 1024px) {
	.fxm-ann-detail-layout { grid-template-columns: minmax(0, 1fr) 285px; gap: 28px; }
}
@media (max-width: 1023px) {
	.fxm-ann-shell { padding: 0 24px; }
	.fxm-ann-head-title { font-size: 28px; }
	.fxm-ann-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.fxm-ann-detail-layout, .fxm-ann-detail-layout.is-single { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.fxm-ann-aside { position: static; }
}
@media (max-width: 767.98px) {
	.fxm-ann-page { padding: calc(var(--fxm-m-header, 60px) + 12px) 0 48px; }
	.fxm-ann-shell { padding: 0 16px; }
	.fxm-ann-crumbs { flex-wrap: nowrap; gap: 4px; overflow: hidden; font-size: 12px; white-space: nowrap; }
	.fxm-ann-crumbs svg { width: 12px; height: 12px; }
	.fxm-ann-crumbs [aria-current] { flex: 1 1 auto; max-width: none; }
	.fxm-ann-list-page { padding: var(--fxm-m-header, 60px) 0 48px; }
	.fxm-ann-head { padding: 12px 0 20px; }
	.fxm-ann-head::before { background-position: right -180px top 10px; background-size: 520px auto; opacity: .2; }
	.fxm-ann-head-title { margin-top: 12px; font-size: 24px; line-height: 1.35; }
	.fxm-ann-head-desc { margin-top: 6px; font-size: 14px; line-height: 1.65; }
	.fxm-ann-body { padding-top: 16px; }
	.fxm-ann-toolbar { min-height: 0; margin-bottom: 12px; }
	.fxm-ann-total { font-size: 13px; }
	.fxm-ann-total strong { font-size: 16px; }
	.fxm-ann-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.fxm-ann-card { border-radius: 14px; }
	.fxm-ann-badge { top: 10px; left: 10px; }
	.fxm-ann-card-body { padding: 14px 16px 0; }
	.fxm-ann-card-title { font-size: 16px; }
	.fxm-ann-card-summary { margin-top: 6px; font-size: 13.5px; line-height: 1.6; }
	.fxm-ann-card-foot { margin-top: 12px; padding: 12px 0 14px; font-size: 12.5px; }
	.fxm-ann-pager { gap: 6px; margin-top: 28px; }
	.fxm-ann-pager > :is(a, span) { min-width: 34px; height: 34px; padding: 0 8px; font-size: 13px; }
	.fxm-ann-state { padding: 48px 20px; border-radius: 20px; }
	.fxm-ann-state :is(h1, h2) { font-size: 19px; }
	.fxm-ann-detail-layout { gap: 20px; margin-top: 12px; }
	.fxm-ann-article { border-radius: 20px; box-shadow: 0 14px 30px -28px rgba(79, 52, 217, .35); }
	.fxm-ann-article-cover { height: 200px; }
	.fxm-ann-article-body { padding: 2px 18px 24px; }
	.fxm-ann-article > .fxm-ann-article-body:first-child { padding-top: 22px; }
	.fxm-ann-article h1 { font-size: 20px; line-height: 1.45; }
	.fxm-ann-article-meta { gap: 6px 14px; margin-top: 10px; font-size: 12px; }
	.fxm-ann-article-rule { margin: 18px 0 20px; }
	.fxm-ann-content { font-size: 15.5px; line-height: 1.85; }
	.fxm-ann-content h2 { font-size: 18px; }
	.fxm-ann-content h3 { font-size: 16.5px; }
	.fxm-ann-content blockquote { padding: 14px 16px; font-size: 14px; }
	.fxm-ann-article-foot { margin-top: 28px; padding-top: 18px; }
	.fxm-ann-more { padding: 16px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.fxm-ann-grid-item { animation: none; }
	.fxm-ann-page :is(.fxm-ann-card, .fxm-ann-card-title, .fxm-ann-card-media img, .fxm-ann-card-cta svg, .fxm-ann-pager > a, .fxm-ann-more-thumb img, .fxm-ann-btn) { transition: none; }
	.fxm-ann-page :is(.fxm-ann-card:hover .fxm-ann-card-media img, .fxm-ann-card:hover .fxm-ann-card-cta svg, .fxm-ann-btn:hover) { transform: none; }
}
