/* ============================================================
   国际展会日历 · /expos
   独立页面，跟随 theme.css 的浅色/深色变量
   ============================================================ */

.exp-body {
	background: var(--ct-bg-soft);
	color: var(--ct-text);
	font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.exp-page {
	max-width: 1180px;
	margin: 0 auto;
	padding: 26px 20px 60px;
}

/* ---------------- Hero ---------------- */
.exp-hero {
	position: relative;
	overflow: hidden;
	border-radius: 22px;
	padding: 34px 36px 30px;
	background: linear-gradient(135deg, #14181f 0%, #1d232c 52%, #2a1416 100%);
	box-shadow: 0 18px 50px rgba(9, 14, 22, .28);
	color: #fff;
}

.exp-hero-bg {
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 88% 12%, rgba(225, 29, 42, .42) 0%, rgba(225, 29, 42, 0) 46%),
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: auto, 42px 42px, 42px 42px;
	pointer-events: none;
}

.exp-hero-inner {
	position: relative;
	z-index: 1;
}

.exp-kicker {
	display: inline-block;
	font-size: 11px;
	letter-spacing: 3px;
	font-weight: 600;
	color: rgba(255, 255, 255, .58);
}

.exp-hero h1 {
	margin: 10px 0 0;
	font-size: 34px;
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -.5px;
	color: #fff;
}

.exp-lead {
	margin: 12px 0 0;
	max-width: 620px;
	font-size: 14px;
	line-height: 1.8;
	color: rgba(255, 255, 255, .66);
}

.exp-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-top: 26px;
	max-width: 700px;
}

.exp-stat {
	padding: 12px 14px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, .1);
	background: rgba(255, 255, 255, .055);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.exp-stat b {
	display: block;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.1;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.exp-stat span {
	display: block;
	margin-top: 3px;
	font-size: 11.5px;
	color: rgba(255, 255, 255, .52);
	white-space: nowrap;
}

.exp-stat.is-accent b { color: #ff5a64; }

/* ---------------- 工具栏 ---------------- */
.exp-toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin: 20px 0 0;
	padding: 12px 14px;
	border-radius: 16px;
	border: 1px solid var(--ct-border-soft);
	background: var(--ct-surface);
	box-shadow: var(--ct-shadow);
}

.exp-search {
	position: relative;
	display: flex;
	align-items: center;
	flex: 1 1 260px;
	min-width: 0;
	height: 40px;
	padding: 0 12px;
	border-radius: 11px;
	border: 1px solid var(--ct-border);
	background: var(--ct-surface-2);
	transition: border-color .16s, box-shadow .16s;
}

.exp-search:focus-within {
	border-color: var(--ct-accent);
	box-shadow: 0 0 0 3px rgba(230, 0, 18, .1);
}

.exp-search i {
	font-size: 13px;
	color: var(--ct-muted);
	margin-right: 9px;
}

.exp-search input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: none;
	background: transparent;
	color: var(--ct-text);
	font-size: 13.5px;
}

.exp-search input::placeholder { color: var(--ct-muted); }

.exp-search-clear {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	border: 0;
	border-radius: 50%;
	background: var(--ct-border);
	color: var(--ct-text-soft);
	font-size: 13px;
	line-height: 18px;
	cursor: pointer;
}

.exp-selects {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.exp-select {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 40px;
	padding: 0 10px 0 12px;
	border-radius: 11px;
	border: 1px solid var(--ct-border);
	background: var(--ct-surface-2);
}

.exp-select > span {
	font-size: 11.5px;
	color: var(--ct-muted);
	white-space: nowrap;
}

.exp-select select {
	-webkit-appearance: none;
	appearance: none;
	border: 0;
	outline: none;
	background: transparent;
	color: var(--ct-text);
	font-size: 13px;
	cursor: pointer;
	padding-right: 16px;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 2px center;
	max-width: 150px;
}

.exp-select select option { background: var(--ct-surface); color: var(--ct-text); }

.exp-view {
	display: inline-flex;
	padding: 3px;
	border-radius: 11px;
	border: 1px solid var(--ct-border);
	background: var(--ct-surface-2);
}

.exp-view-btn {
	height: 32px;
	padding: 0 16px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--ct-muted);
	font-size: 13px;
	cursor: pointer;
	transition: background-color .16s, color .16s;
}

.exp-view-btn.is-on {
	background: var(--ct-surface);
	color: var(--ct-text);
	font-weight: 600;
	box-shadow: 0 1px 4px rgba(15, 23, 42, .12);
}

html[data-theme="dark"] .exp-view-btn.is-on {
	background: rgba(255, 255, 255, .12);
	box-shadow: none;
}

/* ---------------- 结果条 ---------------- */
.exp-result-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 4px 12px;
	font-size: 12.5px;
	color: var(--ct-muted);
}

.exp-reset {
	height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	border: 1px solid var(--ct-border);
	background: transparent;
	color: var(--ct-text-soft);
	font-size: 12px;
	cursor: pointer;
}

.exp-reset:hover { border-color: var(--ct-accent); color: var(--ct-accent); }
.exp-reset[hidden] { display: none !important; }

.exp-ics-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	height: 30px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid var(--ct-border);
	background: var(--ct-surface-2);
	color: var(--ct-text-soft);
	font-size: 12.5px;
	cursor: pointer;
	transition: all .16s;
}

.exp-ics-all i { font-size: 12px; }

.exp-ics-all:hover {
	border-color: var(--ct-accent);
	color: var(--ct-accent);
}

/* ---------------- 列表 ---------------- */
.exp-month-block { margin-bottom: 26px; }

.exp-month-block[hidden] { display: none !important; }

.exp-month-title {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 4px 12px;
	font-size: 15px;
	font-weight: 700;
	color: var(--ct-text);
	letter-spacing: .2px;
}

.exp-month-title::after {
	content: "";
	order: 2;
	flex: 1;
	height: 1px;
	background: var(--ct-border-soft);
	transform: translateY(-3px);
}

.exp-month-title em {
	font-style: normal;
	font-size: 12px;
	font-weight: 500;
	color: var(--ct-muted);
}

.exp-cards {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.exp-card {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	padding: 15px 18px;
	border-radius: 16px;
	border: 1px solid var(--ct-border-soft);
	background: var(--ct-surface);
	box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
	transition: border-color .18s, box-shadow .18s, transform .18s;
	scroll-margin-top: 90px;
}

.exp-card:hover {
	border-color: var(--ct-border);
	box-shadow: var(--ct-shadow);
	transform: translateY(-1px);
}

.exp-card[hidden] { display: none !important; }

.exp-card.is-flash {
	border-color: var(--ct-accent);
	box-shadow: 0 0 0 3px rgba(230, 0, 18, .12);
}

.exp-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	height: 66px;
	border-radius: 13px;
	background: linear-gradient(158deg, #e11d2a 0%, #a80412 100%);
	box-shadow: 0 6px 16px rgba(190, 18, 32, .22);
	color: #fff;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.exp-date b {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.5px;
}

.exp-date span { font-size: 11px; opacity: .94; }
.exp-date i { font-size: 10px; font-style: normal; opacity: .74; letter-spacing: .4px; }

.exp-date.is-today {
	background: linear-gradient(158deg, #f59e0b 0%, #d97706 100%);
	box-shadow: 0 6px 16px rgba(217, 119, 6, .26);
}

.exp-main { min-width: 0; }

.exp-name {
	margin: 0;
	font-size: 16px;
	font-weight: 650;
	line-height: 1.42;
	color: var(--ct-text);
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.exp-name-en {
	margin: 3px 0 0;
	font-size: 11.5px;
	letter-spacing: .3px;
	color: var(--ct-muted);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.exp-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin-top: 8px;
}

.exp-when,
.exp-where {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	color: var(--ct-text-soft);
	font-variant-numeric: tabular-nums;
}

.exp-when i,
.exp-where i { font-size: 11px; color: var(--ct-muted); }

.exp-where {
	max-width: 320px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.exp-tag {
	padding: 2px 9px;
	border-radius: 999px;
	border: 1px solid rgba(230, 0, 18, .28);
	background: rgba(230, 0, 18, .07);
	color: #d81b26;
	font-size: 11.5px;
	font-style: normal;
	white-space: nowrap;
}

html[data-theme="dark"] .exp-tag {
	border-color: rgba(255, 90, 100, .3);
	background: rgba(255, 90, 100, .12);
	color: #ff8a92;
}

.exp-tag.is-ghost {
	border-color: var(--ct-border);
	background: transparent;
	color: var(--ct-muted);
}

.exp-note {
	margin: 7px 0 0;
	font-size: 12.5px;
	line-height: 1.66;
	color: var(--ct-muted);
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.exp-act {
	display: flex;
	align-items: center;
	gap: 8px;
}

.exp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 33px;
	padding: 0 15px;
	border-radius: 999px;
	border: 1px solid transparent;
	background: var(--ct-accent);
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: filter .16s, background-color .16s, border-color .16s, color .16s;
}

.exp-btn:hover { filter: brightness(1.08); color: #fff; }

.exp-btn.is-ghost {
	background: transparent;
	border-color: var(--ct-border);
	color: var(--ct-text-soft);
}

.exp-btn.is-ghost:hover {
	border-color: var(--ct-accent);
	color: var(--ct-accent);
	filter: none;
}

.exp-btn.is-off {
	background: transparent;
	border-color: var(--ct-border-soft);
	color: var(--ct-muted);
	font-weight: 500;
	cursor: default;
}

.exp-empty {
	padding: 56px 20px;
	text-align: center;
	border: 1px dashed var(--ct-border);
	border-radius: 18px;
	background: var(--ct-surface);
	color: var(--ct-muted);
}

.exp-empty[hidden] { display: none !important; }
.exp-empty i { font-size: 30px; opacity: .5; }
.exp-empty p { margin: 12px 0 0; font-size: 13.5px; }

/* ---------------- 月历 ---------------- */
.exp-cal {
	border-radius: 18px;
	border: 1px solid var(--ct-border-soft);
	background: var(--ct-surface);
	box-shadow: var(--ct-shadow);
	overflow: hidden;
}

.exp-cal[hidden] { display: none !important; }

.exp-cal-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--ct-border-soft);
}

.exp-cal-nav {
	display: flex;
	align-items: center;
	gap: 10px;
}

.exp-cal-nav strong {
	min-width: 110px;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	color: var(--ct-text);
	font-variant-numeric: tabular-nums;
}

.exp-cal-arrow {
	width: 30px;
	height: 30px;
	border-radius: 9px;
	border: 1px solid var(--ct-border);
	background: transparent;
	color: var(--ct-text-soft);
	font-size: 17px;
	line-height: 1;
	cursor: pointer;
	transition: all .15s;
}

.exp-cal-arrow:hover { border-color: var(--ct-accent); color: var(--ct-accent); }

.exp-cal-today {
	height: 30px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid var(--ct-border);
	background: transparent;
	color: var(--ct-text-soft);
	font-size: 12.5px;
	cursor: pointer;
}

.exp-cal-today:hover { border-color: var(--ct-accent); color: var(--ct-accent); }

.exp-cal-scroll { padding: 0 10px 12px; }

.exp-cal-grid,
.exp-cal-body {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.exp-cal-grid span {
	padding: 10px 4px;
	text-align: center;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--ct-muted);
}

.exp-cal-body { grid-auto-rows: minmax(96px, auto); }

.exp-day {
	padding: 6px 5px 7px;
	border-top: 1px solid var(--ct-border-soft);
	border-right: 1px solid var(--ct-border-soft);
	min-width: 0;
}

.exp-day:nth-child(7n) { border-right: 0; }

.exp-day.is-pad { background: var(--ct-bg-soft); }

.exp-day.is-today .exp-day-num {
	background: var(--ct-accent);
	color: #fff;
}

.exp-day-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 21px;
	height: 21px;
	padding: 0 4px;
	border-radius: 7px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ct-text-soft);
	font-variant-numeric: tabular-nums;
}

.exp-day.is-pad .exp-day-num { opacity: .35; }

.exp-chip {
	display: block;
	width: 100%;
	margin-top: 4px;
	padding: 3px 6px;
	border-radius: 6px;
	border: 0;
	border-left: 2px solid var(--ct-accent);
	background: rgba(230, 0, 18, .08);
	color: #c81a24;
	font-size: 11px;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

html[data-theme="dark"] .exp-chip {
	background: rgba(255, 90, 100, .13);
	color: #ff9aa1;
}

.exp-chip:hover { background: rgba(230, 0, 18, .16); }

.exp-chip.is-mid {
	border-left-style: dashed;
	opacity: .72;
	background: rgba(230, 0, 18, .045);
}

.exp-more-chip {
	display: block;
	margin-top: 3px;
	font-size: 10.5px;
	color: var(--ct-muted);
	background: none;
	border: 0;
	padding: 0 0 0 6px;
	cursor: pointer;
}

.exp-cal-hint {
	display: none;
	margin: 0;
	padding: 0 0 12px;
	text-align: center;
	font-size: 11.5px;
	color: var(--ct-muted);
}

.exp-foot-note {
	margin: 22px 4px 0;
	font-size: 12px;
	line-height: 1.8;
	color: var(--ct-muted);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
	.exp-card { grid-template-columns: 68px minmax(0, 1fr) auto; gap: 14px; }
	.exp-where { max-width: 220px; }
	.exp-hero h1 { font-size: 28px; }
}

@media (max-width: 760px) {
	.exp-page { padding: 16px 12px 48px; }
	.exp-hero { padding: 24px 20px 22px; border-radius: 18px; }
	.exp-hero h1 { font-size: 24px; }
	.exp-lead { font-size: 13px; }
	.exp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
	.exp-stat b { font-size: 20px; }

	.exp-toolbar { padding: 10px; gap: 10px; border-radius: 14px; }
	.exp-search { flex: 1 1 100%; }
	.exp-selects { flex: 1 1 100%; }
	.exp-select { flex: 1 1 0; min-width: 0; padding: 0 8px; }
	.exp-select > span { display: none; }
	.exp-select select { width: 100%; max-width: none; font-size: 12.5px; }
	.exp-view { flex: 1 1 100%; }
	.exp-view-btn { flex: 1; }

	.exp-card {
		grid-template-columns: 58px minmax(0, 1fr);
		gap: 12px;
		padding: 13px 14px;
	}
	.exp-date { height: 58px; border-radius: 11px; align-self: start; }
	.exp-date b { font-size: 20px; }
	.exp-name { font-size: 15px; }
	.exp-where { max-width: none; }
	.exp-act { grid-column: 1 / -1; }
	.exp-btn { flex: 1; }
	.exp-month-title { font-size: 14px; }

	.exp-cal-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.exp-cal-grid,
	.exp-cal-body { min-width: 560px; }
	.exp-cal-bar { padding: 12px; }
	.exp-cal-hint { display: block; }
	.exp-cal-nav strong { font-size: 14px; min-width: 92px; }
}

/* ---------------- 窄屏导航：避免右上角「联系我们」被挤出屏幕 ---------------- */
@media (max-width: 460px) {
	.exp-body .navbar { padding: 0 6px; gap: 4px; }
	.exp-body .logo { width: 76px; }
	.exp-body .menu ul { gap: 9px; }
	.exp-body .right-section { gap: 6px; }
	.exp-body .contact-buttonn .btnn { padding: 3px 9px; font-size: 12px; }
	.exp-body .menu .dropdown .arrow-down { display: none; }
}
