
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', 'Roboto', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
	background-color: #fef7f5;   /* 柔和底色，衬托红色主调 */
	color: #2c2c2c;
	line-height: 1.5;
}

/* 整体容器，控制最大宽度及居中 */
.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
}

/* ========= 头部菜单区域 ========= */
.header {
	background-color: #ffffff;
	box-shadow: 0 4px 12px rgba(190, 40, 30, 0.08);
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 2px solid #e53e30;
}

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding: 16px 0;
}

.logo-area {
	display: flex;
	align-items: center;
	gap: 12px;
}

.logo-icon {
	font-size: 32px;
	color: #c52a1c;
	background: #fff1ef;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s;
}

.logo-text h1 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #b12b1e;
	letter-spacing: 1px;
}

.logo-text p {
	font-size: 0.9rem;
	color: #a03e32;
	letter-spacing: 1px;
	margin-top: 2px;
}

/* 导航菜单 */
.nav-menu {
	display: flex;
	gap: 8px;
	list-style: none;
	flex-wrap: wrap;
}

.nav-menu li a {
	display: inline-block;
	padding: 10px 20px;
	font-weight: 500;
	color: #3a2c2a;
	text-decoration: none;
	border-radius: 40px;
	transition: all 0.25s ease;
	font-size: 1.2rem;
}

.nav-menu li a:hover,
.nav-menu li a.active {
	background-color: #e53e30;
	color: white;
	box-shadow: 0 4px 10px rgba(229, 62, 48, 0.3);
}

/* 主题海报区 (大视觉) */
.hero {
	background: linear-gradient(135deg, #c52a1c 0%, #9e2a1f 100%);
	margin: 32px 0 48px 0;
	border-radius: 32px;
	overflow: hidden;
	box-shadow: 0 20px 35px -12px rgba(180, 40, 30, 0.4);
	position: relative;
}

.hero-grid {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.hero-text {
	flex: 1.2;
	min-width: 260px;
	color: white;
}

.hero-text .badge {
	background: rgba(255,255,240,0.25);
	backdrop-filter: blur(4px);
	display: inline-block;
	padding: 6px 16px;
	border-radius: 40px;
	font-size: 0.85rem;
	font-weight: 500;
	margin-bottom: 24px;
	border-left: 3px solid #ffcd3c;
}

.hero-text h2 {
	font-size: 2.6rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 20px;
	letter-spacing: -0.5px;
}

.hero-text p {
	font-size: 1.1rem;
	opacity: 0.92;
	margin-bottom: 32px;
	max-width: 90%;
}

.hero-btn {
	background-color: #ffcd3c;
	color: #a82b1c;
	border: none;
	padding: 12px 32px;
	font-weight: 700;
	font-size: 1rem;
	border-radius: 48px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
	box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.hero-btn:hover {
	transform: translateY(-3px);
	background-color: #ffe08c;
	box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}

/* 右侧“主题图片”抽象图形 + 党徽元素 (满足主题海报或图片) */
.hero-graphic {
	flex: 0.8;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.hero-graphic .illustration {
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(2px);
	border-radius: 48px;
	padding: 20px 24px;
	text-align: center;
	width: 100%;
	max-width: 260px;
	border: 1px solid rgba(255,215,150,0.4);
}

.illustration i {
	font-size: 70px;
	color: #ffdf8c;
	margin-bottom: 12px;
}

.illustration .party-symbols {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 16px 0;
}

.party-symbols i {
	font-size: 32px;
	color: #ffcd78;
	margin: 0;
}

.illustration p {
	font-size: 0.9rem;
	color: #fff3e0;
	font-weight: 500;
	margin-top: 8px;
}

/* 主内容区: 通知公告 + 活动安排 - 改为上下结构 */
.content-stack {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin: 40px 0 60px;
}

/* 通用卡片样式 */
.card {
	background: #ffffff;
	border-radius: 28px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
	border: 1px solid #ffe3df;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 30px -12px rgba(197, 42, 28, 0.2);
}

.card-header {
	padding: 22px 28px 12px 28px;
	border-bottom: 2px solid #f0e0de;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
}

.card-header h3 {
	font-size: 1.6rem;
	font-weight: 700;
	color: #b12b1e;
	display: flex;
	align-items: center;
	gap: 12px;
}

.card-header h3 i {
	font-size: 1.6rem;
	color: #e5533f;
}

.more-link {
	color: #c0392b;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: 0.2s;
}

.more-link i {
	font-size: 0.75rem;
	transition: transform 0.2s;
}

.more-link:hover {
	color: #921f12;
}

.more-link:hover i {
	transform: translateX(4px);
}

/* 通知公告列表 */
.notice-list {
	padding: 12px 28px 28px 28px;
}

.notice-list .notice-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	border-bottom: 1px solid #f5e2df;
	transition: background 0.2s;
}

.notice-item:last-child {
	border-bottom: none;
}

.notice-info {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.notice-date {
	background-color: #fef0ed;
	color: #c0392b;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 30px;
	min-width: 85px;
	text-align: center;
}

.notice-title {
	font-weight: 500;font-size: 1.1em;
	color: #2d2a2a;
	text-decoration: none;
	transition: color 0.2s;
}

.notice-title:hover {
	color: #c52a1c;
}

.notice-tag {
	background: #fff0ea;
	color: #b34434;
	font-size: 0.7rem;
	padding: 2px 10px;
	border-radius: 30px;
}

/* 活动安排卡片样式 */
.events-list {
	padding: 12px 28px 28px 28px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.event-card {
	background: #fefaf9;
	border-radius: 20px;
	padding: 18px 20px;
	border-left: 5px solid #e5533f;
	transition: all 0.2s ease;
	box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.event-card:hover {
	background: #fff6f4;
	border-left-width: 7px;
	border-left-color: #b12b1e;
}

.event-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: #c0392b;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.event-details {
	display: flex;letter-spacing: 1px;line-height: 30px;width:1080px;font-size: 1.1em;
	flex-wrap: wrap;
	gap: 18px;
	margin-top:15px;margin-left:35px;
	color: #5c4b48;
}

.event-details span i {
	width: 20px;
	color: #c55a4a;
	margin-right: 6px;
}

.event-status {
	display: inline-block;margin-left: 35px;
	background: #fbe9e5;
	color: #c0392b;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 40px;
}

.event-btn {
	margin-top: 12px;
	text-align: right;
}

.event-btn a {
	color: #c0392b;
	font-weight: 500;
	text-decoration: none;
	font-size: 0.85rem;
	border-bottom: 1px dashed #e0aaa0;
}

.event-btn a:hover {
	color: #8f2a1d;
}

.list-num{
	width: 36px;height: 36px;
	border-radius: 50%;background-color: #c0392b;color: #fff;
	display: flex;align-items: center;justify-content: center;
}

 /* 内页小banner */
.page-header {
	background: linear-gradient(135deg, #c52a1c 0%, #9e2a1f 100%);
	border-radius: 28px;
	margin: 32px 0 32px;
	padding: 32px 40px;
	color: white;
}

.page-header h2 {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 8px;
}

.breadcrumb {
	font-size: 0.9rem;
	opacity: 0.85;
}

.breadcrumb a {
	color: #ffdfb3;
	text-decoration: none;
}

/* 详情卡片 */
.detail-card {
	background: #ffffff;
	border-radius: 28px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
	margin-bottom: 60px;
	border: 1px solid #ffe3df;
	overflow: hidden;
}

.detail-header {
	padding: 32px 40px 20px 40px;
	border-bottom: 1px solid #f0e0de;
}

.detail-header h1 {
	font-size: 1.9rem;
	color: #b12b1e;
	margin-bottom: 20px;
	font-weight: 700;
}

.detail-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	color: #9c7c74;
	font-size: 0.9rem;
	margin-bottom: 8px;
}

.detail-meta i {
	margin-right: 6px;
	color: #c55a4a;
}

.detail-tags {
	margin-top: 12px;
}

.tag {
	background: #fef0ed;
	padding: 4px 14px;
	border-radius: 40px;
	font-size: 0.75rem;
	color: #c0392b;
	margin-right: 12px;
}

.detail-content {
	padding: 32px 40px;
	font-size: 1.05rem;
	color: #2d2a2a;
}

.detail-content p {
	margin-bottom: 20px;
}

.detail-content h3 {
	font-size: 1.3rem;
	color: #b12b1e;
	margin: 28px 0 16px 0;
	border-left: 4px solid #e5533f;
	padding-left: 16px;
}

.attach-box {
	background: #fef7f4;
	border-radius: 20px;
	padding: 20px;
	margin: 28px 0 16px;
	border: 1px solid #ffe0d9;
}

.attach-title {
	font-weight: 700;
	margin-bottom: 12px;
	color: #c0392b;
}

.attach-list {
	list-style: none;
}

.attach-list li {
	margin: 8px 0;
}

.attach-list a {
	color: #c55a4a;
	text-decoration: none;
}

.back-btn {
	margin-top: 24px;cursor: pointer;
	display: inline-block;
	background: #fff1ef;
	padding: 10px 28px;
	border-radius: 40px;
	color: #c0392b;
	font-weight: 600;
	text-decoration: none;
	transition: 0.2s;
}
.back-btn:hover {
	background: #e53e30;
	color: white;
}

/* 搜索栏 */
.search-section {
	margin-bottom: 28px;
	background: #ffffff;
	border-radius: 28px;
	padding: 20px 28px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	border: 1px solid #ffe3df;
}

.search-form {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
}

.search-input-wrapper {
	flex: 1;
	position: relative;
}

.search-input-wrapper i {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: #c55a4a;
	font-size: 1rem;
}

.search-input {
	width: 100%;
	padding: 14px 20px 14px 48px;
	border: 1px solid #ffe0d9;
	border-radius: 60px;
	font-size: 1rem;
	outline: none;
	transition: all 0.2s;
	background-color: #fefaf9;
}

.search-input:focus {
	border-color: #e53e30;
	box-shadow: 0 0 0 2px rgba(229, 62, 48, 0.2);
}

.search-btn {
	background-color: #e53e30;
	color: white;
	border: none;
	padding: 0 28px;
	height: 52px;
	border-radius: 60px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.2s;
	display: flex;
	align-items: center;
	gap: 8px;
}

.search-btn:hover {
	background-color: #c52a1c;
}

.search-reset {
	background-color: #f5e2df;
	color: #c0392b;
	border: none;
	padding: 0 20px;
	height: 52px;
	border-radius: 60px;
	font-weight: 500;
	cursor: pointer;
	transition: 0.2s;
}

.search-reset:hover {
	background-color: #eccbc4;
}

/* 公告列表卡片 */
.notice-list-page {
	background: #ffffff;
	border-radius: 28px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
	margin-bottom: 60px;
	overflow: hidden;
	border: 1px solid #ffe3df;
}

.notice-list-header {
	padding: 24px 32px 8px 32px;
	border-bottom: 2px solid #f0e0de;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
}

.notice-list-header h3 {
	font-size: 1.4rem;
	font-weight: 700;
	color: #b12b1e;
}

.total-count {
	color: #c55a4a;
}

.notice-items {
	padding: 8px 32px 32px 32px;
}

.list-notice-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding: 20px 0;
	border-bottom: 1px solid #f5e2df;
	transition: background 0.2s;
}

.list-notice-item:last-child {
	border-bottom: none;
}

.notice-content {
	flex: 1;
}

.list-notice-item .notice-title {
	font-size: 1.2rem;
	font-weight: 600;
	color: #2d2a2a;
	text-decoration: none;
	display: inline-block;
	margin-bottom: 8px;cursor: pointer;
}

.notice-title:hover {
	color: #c52a1c;
}

.notice-summary {
	color: #5e5a5a;
	font-size: 1rem;
	margin: 6px 0 8px 0;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis; width:900px;
}

.notice-meta {
	display: flex;
	gap: 20px;
	color: #9c7c74;
}

.notice-meta i {
	margin-right: 4px;
	color: #c55a4a;
}

.notice-side {
	text-align: right;
	min-width: 100px;
}

.detail-link {
	margin-top: 8px;
	display: inline-block;
	color: #c0392b;
	font-weight: 500;
	text-decoration: none;
	font-size: 1rem;cursor: pointer;
}

.detail-link i {
	transition: transform 0.2s;
}

.detail-link:hover i {
	transform: translateX(4px);
}

/* 分页 */
.pagination {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 20px;
	padding: 20px 0 32px;
}

.pagination a {
	padding: 8px 16px;
	background: #fff1ef;
	border-radius: 40px;
	color: #c0392b;
	text-decoration: none;
	font-weight: 500;
	transition: 0.2s;
}

.pagination a.active-page,
.pagination a:hover {
	background-color: #e53e30;
	color: white;
}

/* 底部 */
.footer {
	background: #2e1f1c;
	color: #eccbc4;
	margin-top: 40px;
	padding:24px;
	text-align: center;
	font-size: 0.85rem;
	border-top: 4px solid #e5533f;
}

.footer p {
	opacity: 0.8;
}

.footer a {
	color: #ffc6bb;
	text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 900px) {
	.container {
		padding: 0 24px;
	}
	.navbar {
		flex-direction: column;
		gap: 16px;
	}
	.hero-grid {
		flex-direction: column;
		text-align: center;
		padding: 36px 28px;
	}
	.hero-text p {
		max-width: 100%;
	}
	.hero-graphic {
		margin-top: 28px;
	}
	.card-header h3 {
		font-size: 1.4rem;
	}
}

@media (max-width: 550px) {
	.notice-info {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	.event-details {
		flex-direction: column;
		gap: 8px;
	}
	.hero-text h2 {
		font-size: 1.8rem;
	}
}

