@charset "utf-8";

body {
	margin: 0;
	background: #f3f5f8;
}

/* 财务部官网 - 白底主导航 */
.finance-header {
	background: #fff;
	border-bottom: 1px solid #eee;
	text-align: left;
	padding: 0;
	font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
}

.finance-header__inner {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 18px 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 24px;
}

/* 左侧：校名 + 竖线 + 部门名 */
.finance-header__brand {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: 0 1 auto;
	min-width: 0;
	margin-left: 0;
	padding-left: 70px;
}

.finance-header__school {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: inherit;
	flex-shrink: 0;
}

.finance-header__school img {
	display: block;
	height: 56px;
	width: auto;
}

.finance-header__school-cn {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a6fc4;
	letter-spacing: 0.06em;
}

.finance-header__school-en {
	margin: 4px 0 0 0;
	font-size: 9px;
	line-height: 1.3;
	color: #1a6fc4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: nowrap;
}

.finance-header__divider {
	width: 1px;
	height: 52px;
	background: #d8d8d8;
	flex-shrink: 0;
}

.finance-header__dept {
	flex-shrink: 0;
}

.finance-header__dept-cn {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.15;
	color: #111;
	letter-spacing: 0.12em;
}

.finance-header__dept-en {
	margin: 6px 0 0 0;
	font-size: 11px;
	line-height: 1.2;
	color: #888;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* 联系我们弹窗 */
.finance-contact-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.finance-contact-modal.is-open {
	display: flex;
}

.finance-contact-modal__mask {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.finance-contact-modal__box {
	position: relative;
	width: min(360px, 100%);
	padding: 36px 32px 32px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 16px 48px rgba(0, 43, 94, 0.18);
	text-align: center;
}

.finance-contact-modal__close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	font-size: 24px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	transition: color 0.2s ease;
}

.finance-contact-modal__close:hover {
	color: #333;
}

.finance-contact-modal__title {
	margin: 0 0 20px;
	font-size: 22px;
	font-weight: 700;
	color: #1a6fc4;
	letter-spacing: 0.08em;
}

.finance-contact-modal__label {
	margin: 0 0 10px;
	font-size: 14px;
	color: #888;
}

.finance-contact-modal__phone {
	display: inline-block;
	font-size: 28px;
	font-weight: 700;
	color: #111;
	text-decoration: none;
	letter-spacing: 0.06em;
	transition: color 0.2s ease;
}

.finance-contact-modal__phone:hover {
	color: #1a6fc4;
}


/* 右侧导航：靠右 + 菜单项均等间距 */
.finance-nav {
	flex: 1 1 auto;
	margin-left: 32px;
	min-width: 0;
	display: flex;
	justify-content: flex-end;
	padding-right: 70px;
}

.finance-nav__list {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	justify-content: space-between;
	width: min(760px, 100%);
	margin: 0 0 0 auto;
	padding: 0;
	list-style: none;
}

.finance-nav__item {
	flex: 1 1 0;
	min-width: 0;
	text-align: center;
}

.finance-nav__item a {
	display: block;
	padding: 6px 4px;
	font-size: 16px;
	font-weight: 400;
	color: #111;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.finance-nav__item a:hover,
.finance-nav__item.is-active a {
	color: #1a6fc4;
}

.finance-nav__item.is-active a {
	font-weight: 500;
}

@media (max-width: 1100px) {
	.finance-header__inner {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.finance-header__brand {
		padding-left: 20px;
	}

	.finance-nav {
		flex: 1 1 100%;
		margin-left: 0;
		padding-right: 20px;
		justify-content: flex-start;
	}

	.finance-nav__list {
		width: 100%;
		max-width: none;
		margin-left: 0;
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 4px 20px;
	}

	.finance-nav__item {
		flex: 0 0 auto;
		text-align: left;
	}

	.finance-nav__item a {
		font-size: 15px;
		padding: 6px 0;
	}
}

@media (max-width: 640px) {
	.finance-header__brand {
		flex-wrap: wrap;
		gap: 12px;
	}

	.finance-header__divider {
		display: none;
	}

	.finance-header__school-cn {
		font-size: 22px;
	}

	.finance-header__dept-cn {
		font-size: 24px;
	}

	.finance-nav__list {
		gap: 4px 16px;
	}

	.finance-nav__item a {
		font-size: 14px;
	}
}
