/* 高水平教师页专用样式 */

.majors-hero {
	width: 1360px;
	margin: 24px auto 8px;
	padding: 0 24px;
}

.majors-hero__overlay {
	position: static;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 4px 10px;
	background: none;
	color: #0f172a;
}

.majors-hero__titlebar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.majors-hero__title {
	margin: 0;
	font-size: 26px;
	font-weight: 900;
	letter-spacing: .02em;
}

.majors-hero__title::after {
	content: "";
	display: block;
	width: 120px;
	height: 3px;
	background: #1e40af;
	border-radius: 2px;
	margin-top: 6px;
}

.majors-hero__actions {
	display: flex;
	gap: 10px;
}

.hero-action-btn {
	border: 1px solid rgba(30, 64, 175, .25);
	background: #ffffff;
	color: #1e40af;
	padding: 6px 12px;
	border-radius: 999px;
	font-weight: 700;
}

.hero-action-btn:hover {
	background: #1e40af;
	color: #fff;
}

.majors-hero__crumbs {
	margin-left: auto;
	font-size: 14px;
	color: #64748b;
}

.content-divider {
	max-width: 1360px;
	margin: 8px auto 16px;
	padding: 0 24px;
}

.content-divider__line {
	height: 1px;
	background: rgba(0, 0, 0, .12);
}

.teachers-layout {
	max-width: 1360px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 24px;
}

.teachers-aside {
	position: sticky;
	top: 16px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
	padding: 14px;
}

.side-chips {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.side-chip {
	border: 1px solid rgba(30, 64, 175, .25);
	background: #ffffff;
	color: #1e40af;
	padding: 6px 10px;
	border-radius: 999px;
	font-weight: 700;
	cursor: pointer;
	width: 100%;
}

.side-chip:hover {
	background: #1e40af;
	color: #fff;
}

.teachers-main {
	min-width: 0;
}

.majors-header {
	position: sticky;
	top: var(--header-height);
	z-index: 10;
	background: #ffffffcc;
	backdrop-filter: blur(8px);
	border-bottom: none;
}

.majors-header__inner {
	max-width: 1360px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	gap: 18px;
}

.majors-tabs {
	display: flex;
	gap: 12px;
}

.majors-crumbs-inline {
	margin-left: auto;
	color: #4b5563;
	font-size: 14px;
}

.tab-btn {
	border: 1px solid rgba(30, 64, 175, .25);
	background: #ffffff;
	color: #1e40af;
	padding: 8px 16px;
	border-radius: 10px;
	font-weight: 700;
	cursor: pointer;
}

.tab-btn.is-active {
	background: #1e40af;
	color: #fff;
	box-shadow: 0 8px 20px rgba(30, 64, 175, .25);
}

.majors-list {
	max-width: 1360px;
	margin: 24px auto;
	padding: 0 24px 40px;
}

.major-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px 28px;
	align-items: start;
}

.major-card {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 18px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
}

.major-media {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	overflow: hidden;
}

.major-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.major-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.major-head {
	display: flex;
	align-items: center;
	gap: 8px;
}

.major-title {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
}

.major-badge,
.title-badge {
	background: #1e40af;
	color: #fff;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	font-weight: 800;
}

.major-meta {
	display: flex;
	gap: 16px;
	color: #64748b;
	font-size: 14px;
}

.major-desc,
.major-field {
	margin: 0;
	color: #475569;
	line-height: 1.7;
}

.major-link {
	align-self: flex-end;
	color: #0e4c97;
	font-weight: 700;
	text-decoration: none;
}

.major-link:hover {
	color: #3b82f6;
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 1024px) {
	.major-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	.teachers-layout {
		grid-template-columns: 1fr;
	}

	.teachers-aside {
		margin-bottom: 16px;
	}
}

@media (max-width: 768px) {
	.majors-hero {
		padding: 0 16px;
		max-width: 100%;
	}

	.majors-hero__title {
		font-size: 22px;
	}

	.majors-hero__title::after {
		width: 90px;
	}

	.majors-hero__crumbs {
		font-size: 13px;
	}

	.majors-hero__actions {
		flex-wrap: wrap;
	}

	.hero-action-btn {
		padding: 6px 10px;
		font-size: 13px;
	}

	.majors-header__inner {
		flex-wrap: wrap;
		gap: 10px;
		max-width: 100%;
		padding: 12px 16px;
	}

	.majors-tabs {
		flex-wrap: wrap;
	}

	.majors-crumbs-inline {
		width: 100%;
		margin-left: 0;
		font-size: 13px;
	}

	.major-card {
		grid-template-columns: 96px 1fr;
		padding: 12px 14px;
		gap: 12px;
	}

	.major-media {
		width: 96px;
		height: 96px;
	}

	.major-head {
		flex-wrap: wrap;
		gap: 6px;
	}

	.major-title {
		font-size: 17px;
	}

	.content-divider {
		max-width: 100%;
		padding: 0 16px;
	}
}

@media (max-width: 480px) {
	.majors-hero {
		padding: 0 12px;
	}

	.majors-hero__overlay {
		padding: 0 2px 8px;
	}

	.majors-hero__title {
		font-size: 20px;
	}

	.majors-hero__title::after {
		width: 72px;
	}

	.majors-hero__crumbs {
		font-size: 12px;
	}

	.majors-header__inner {
		padding: 10px 12px;
	}

	.side-chips {
		grid-template-columns: 1fr 1fr;
	}

	.content-divider {
		padding: 0 12px;
	}
}

.aside-toggle {
	border: 1px solid rgba(30, 64, 175, .25);
	background: #ffffff;
	color: #1e40af;
	padding: 8px 16px;
	border-radius: 10px;
	font-weight: 700;
	cursor: pointer;
	display: none;
}

.aside-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .45);
	display: none;
	z-index: 50;
}

.aside-modal--open {
	display: block;
}

.aside-sheet {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background: #fff;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -8px 28px rgba(0, 0, 0, .12);
	padding: 16px;
	max-height: 72vh;
	overflow: auto;
}

.aside-sheet__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	font-weight: 800;
	color: #1e40af;
}

.aside-close {
	border: 0;
	background: transparent;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: #1e40af;
}

@media (max-width: 900px) {
	.teachers-aside {
		display: none;
	}

	.aside-toggle {
		display: inline-flex;
	}
}

/*zhuanyejiehsao*/
.majors-hero {
	width: 1360px;
	margin: 24px auto 8px;
	padding: 0 24px
}

.majors-hero__overlay {
	position: static;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 4px 10px;
	background: none;
	color: #0f172a
}

.majors-hero__titlebar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px
}

.majors-hero__title {
	margin: 0;
	font-size: 26px;
	font-weight: 900;
	letter-spacing: .02em
}

.majors-hero__title::after {
	content: "";
	display: block;
	width: 120px;
	height: 3px;
	background: #1e40af;
	border-radius: 2px;
	margin-top: 6px
}

.majors-hero__actions {
	display: flex;
	gap: 10px
}

.hero-action-btn {
	border: 1px solid rgba(30, 64, 175, .25);
	background: #ffffff;
	color: #1e40af;
	padding: 6px 12px;
	border-radius: 999px;
	font-weight: 700
}

.hero-action-btn:hover {
	background: #1e40af;
	color: #fff
}

.content-divider {
	max-width: 1360px;
	margin: 8px auto 16px;
	padding: 0 24px
}

.content-divider__line {
	height: 1px;
	background: rgba(0, 0, 0, .12)
}

.majors-header {
	position: sticky;
	top: var(--header-height);
	z-index: 10;
	background: #ffffffcc;
	backdrop-filter: blur(8px);
	border-bottom: none
}

.majors-header__inner {
	max-width: 1360px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	gap: 18px
}

.majors-tabs {
	display: flex;
	gap: 12px
}

.majors-crumbs-inline {
	margin-left: auto;
	color: #4b5563;
	font-size: 14px
}

.tab-btn {
	border: 1px solid rgba(30, 64, 175, .25);
	background: #ffffff;
	color: #1e40af;
	padding: 8px 16px;
	border-radius: 10px;
	font-weight: 700;
	cursor: pointer
}

.tab-btn.is-active {
	background: #1e40af;
	color: #fff;
	box-shadow: 0 8px 20px rgba(30, 64, 175, .25)
}

.majors-list {
	max-width: 1360px;
	margin: 24px auto;
	padding: 0 24px 40px
}

.major-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px 28px;
	align-items: start
}

.major-card {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 18px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .08)
}

.major-media {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	overflow: hidden
}

.major-media img {
	width: 100%;
	height: 100%;
	object-fit: cover
}

.major-body {
	display: flex;
	flex-direction: column;
	gap: 8px
}

.major-head {
	display: flex;
	align-items: center;
	gap: 8px
}

.major-title {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	color: #000;
}

.major-badge {
	background: #1e40af;
	color: #fff;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	font-weight: 800
}

.major-meta {
	display: flex;
	gap: 16px;
	color: #64748b;
	font-size: 14px
}

.major-desc {
	margin: 0;
	color: #475569;
	line-height: 1.7
}

.major-link {
	align-self: flex-end;
	color: #0e4c97;
	font-weight: 700;
	text-decoration: none
}

.major-link:hover {
	color: #3b82f6;
	text-decoration: underline;
	text-underline-offset: 2px
}

@media (max-width:1024px) {
	.major-grid {
		grid-template-columns: 1fr
	}
}

@media (max-width:768px) {
	.majors-hero__actions {
		flex-wrap: wrap
	}

	.hero-action-btn {
		padding: 6px 10px;
		font-size: 13px
	}

	.majors-header__inner {
		flex-wrap: wrap;
		gap: 10px
	}

	.majors-tabs {
		flex-wrap: wrap
	}

	.majors-crumbs-inline {
		width: 100%;
		margin-left: 0;
		font-size: 13px
	}

	.major-card {
		grid-template-columns: 96px 1fr;
		padding: 12px 14px;
		gap: 12px
	}

	.major-media {
		width: 96px;
		height: 96px
	}

	.major-head {
		gap: 6px;
		flex-wrap: wrap
	}

	.major-title {
		font-size: 17px
	}
}