* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    background-color: #e8f0f7;
}

.container {
    width: 100%;
    min-width: 1000px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 顶部链接 */
.top-links {
    background-color: #e8f0f7;
    text-align: right;
    padding: 8px 50px;
    font-size: 12px;
}

.top-links a {
    color: #666;
    text-decoration: none;
    margin: 0 8px;
}

.top-links a:hover {
    color: #1a5c8c;
}

/* 头部 */
.header {
    background-color: #1a5c8c;
    padding: 20px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    margin-right: 35px;
}

.logo-icon {
    width: 65px;
    height: 65px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1a5c8c;
    font-size: 11px;
    margin-right: 15px;
    flex-shrink: 0;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    line-height: 1.5;
}

.project-title {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* 水平导航 */
.main-nav {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.main-nav li {
    flex: 1;
    text-align: center;
}

.main-nav a {
    display: block;
    padding: 15px 30px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: #1a5c8c;
    border-bottom-color: #1a5c8c;
}

/* 内容区域 */
.content-wrapper {
    flex: 1;
    max-width: 1200px;
    margin: 20px auto;
    width: calc(100% - 40px);
    background-color: #fff;
    padding: 20px;
    min-height: 600px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow-x: hidden;
    box-sizing: border-box;
}

/* 面包屑 */
.breadcrumb {
    padding: 10px 0 15px 0;
    font-size: 13px;
    color: #666;
    border-bottom: 1px dashed #ddd;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #1a5c8c;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 内页布局 */
.page-layout {
    display: flex;
    gap: 20px;
    max-width: 100%;
    overflow: hidden;
}

/* 左侧子菜单 */
.sub-menu {
    width: 220px;
    flex-shrink: 0;
}

.sub-menu-title {
    background-color: #1a5c8c;
    color: #fff;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.sub-menu-list {
    list-style: none;
}

.sub-menu-list li {
    border-bottom: 1px solid #eee;
}

.sub-menu-list a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sub-menu-list a:hover {
    background-color: #f5f9ff;
    color: #1a5c8c;
}

.sub-menu-list a.active {
    background-color: #e8f0f7;
    color: #1a5c8c;
    border-left-color: #1a5c8c;
    font-weight: bold;
}

/* 右侧内容 */
.page-content {
    flex: 1;
    padding: 0 20px;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.page-content-title {
    font-size: 20px;
    color: #1a5c8c;
    border-bottom: 2px solid #1a5c8c;
    padding-bottom: 10px;
    margin-bottom: 25px;
    display: inline-block;
}

.page-content h3 {
    font-size: 18px;
    color: #1a5c8c;
    margin: 20px 0 10px 0;
}

.page-content h4 {
    font-size: 16px;
    color: #333;
    margin: 15px 0 8px 0;
}

.page-content p {
    margin-bottom: 15px;
    text-indent: 2em;
    text-align: justify;
}

.page-content .info-card {
    background-color: #f5f9ff;
    border-left: 4px solid #1a5c8c;
    padding: 20px;
    margin: 20px 0;
}

/* ====== 首页样式 ====== */

/* 首页横幅区 */
.home-hero {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(180deg, #e8f0f7 0%, #f5f9ff 100%);
    position: relative;
}

.home-hero-left {
    flex: 1;
    padding-top: 20px;
}

.home-hero-left h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.5;
}

.home-hero-left p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.home-hero-left .btn-more {
    display: inline-block;
    padding: 8px 25px;
    border: 1px solid #1a5c8c;
    color: #1a5c8c;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.home-hero-left .btn-more:hover {
    background-color: #1a5c8c;
    color: #fff;
}

.home-hero-right {
    flex: 1;
    max-width: 450px;
}

.home-hero-right .img-placeholder {
    border-radius: 8px;
    overflow: hidden;
    border: none;
}

.home-hero-right .img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 风采展示 */
.section-title {
    text-align: center;
    font-size: 18px;
    color: #1a5c8c;
    margin: 30px 0 20px;
    padding-bottom: 10px;
}

.section-title::before {
    content: "\1f4c4";
    margin-right: 5px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.showcase-item {
    text-align: center;
}

.showcase-item .placeholder-img {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #ddd 0%, #eee 100%);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 13px;
    margin-bottom: 8px;
    border: 1px solid #e0e0e0;
}

.showcase-item .placeholder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.showcase-item span {
    font-size: 12px;
    color: #666;
}

/* 双栏区块 */
.dual-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.section-block {
    position: relative;
}

.section-block-header {
    position: relative;
    height: 80px;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: center;
    padding: 0 20px;
    overflow: hidden;
}

.section-block-header .block-title {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.section-block-header .arrow-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.section-block-header .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26,92,140,0.8) 0%, rgba(26,92,140,0.6) 100%);
}

.section-block-body {
    background-color: #fff;
    border: 1px solid #eee;
    border-top: none;
    padding: 15px 20px;
}

.section-block-body ul {
    list-style: none;
}

.section-block-body li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.section-block-body li::before {
    content: ">";
    color: #1a5c8c;
    margin-right: 8px;
    font-weight: bold;
}

.section-block-body li:last-child {
    border-bottom: none;
}

.section-block-body li a {
    color: #333;
    text-decoration: none;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
}

.section-block-body li a:hover {
    color: #1a5c8c;
}

.section-block-body li .date {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
}

/* 底部 */
.footer {
    background-color: #1a5c8c;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 13px;
    margin-top: auto;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

/* 数据表格样式（项目列表等） - 排除 info-card 中的表格 */
.page-content > h3 + table,
.page-content > h3 + h4 + table,
.page-content > h3 + h4 + table + h4 + table,
.page-content > h3 + .table-container > table,
.page-content > h3 + h4 + .table-container > table,
.page-content > .table-container > table,
.page-content > table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 14px;
    table-layout: fixed;
    max-width: 100%;
}

.page-content > h3 + table th,
.page-content > h3 + table td,
.page-content > h3 + h4 + table th,
.page-content > h3 + h4 + table td,
.page-content > h3 + h4 + table + h4 + table th,
.page-content > h3 + h4 + table + h4 + table td,
.page-content > h3 + .table-container > table th,
.page-content > h3 + .table-container > table td,
.page-content > h3 + h4 + .table-container > table th,
.page-content > h3 + h4 + .table-container > table td,
.page-content > .table-container > table th,
.page-content > .table-container > table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.page-content > h3 + table th,
.page-content > h3 + h4 + table th,
.page-content > h3 + h4 + table + h4 + table th,
.page-content > h3 + .table-container > table th,
.page-content > h3 + h4 + .table-container > table th,
.page-content > .table-container > table th {
    background-color: #1a5c8c;
    color: #fff;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.page-content > h3 + table tr:nth-child(even),
.page-content > h3 + h4 + table tr:nth-child(even),
.page-content > h3 + h4 + table + h4 + table tr:nth-child(even),
.page-content > h3 + .table-container > table tr:nth-child(even),
.page-content > h3 + h4 + .table-container > table tr:nth-child(even),
.page-content > .table-container > table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* 数据表格列宽控制 - 序号列不换行 */
.page-content > h3 + table th:first-child,
.page-content > h3 + table td:first-child,
.page-content > h3 + h4 + table th:first-child,
.page-content > h3 + h4 + table td:first-child,
.page-content > h3 + h4 + table + h4 + table th:first-child,
.page-content > h3 + h4 + table + h4 + table td:first-child,
.page-content > h3 + .table-container > table th:first-child,
.page-content > h3 + .table-container > table td:first-child,
.page-content > h3 + h4 + .table-container > table th:first-child,
.page-content > h3 + h4 + .table-container > table td:first-child,
.page-content > .table-container > table th:first-child,
.page-content > .table-container > table td:first-child {
    width: 60px;
    min-width: 60px;
    white-space: nowrap;
    text-align: center;
}

/* info-card 中的信息表格（紧凑布局） */
.info-card table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    font-size: 13px;
}

.info-card table td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.5;
}

.info-card table td:first-child,
.info-card table td:nth-child(3) {
    width: 100px;
    white-space: nowrap;
    background-color: #f5f9ff;
}

/* 数据表格中确保单元格正确换行 */
.page-content > h3 + table td,
.page-content > table td {
    max-width: 0;
}
